Better HN
topnewbestaskshowjobs
Log inSign up

SloopJon

2,613 karma · joined Nov 15, 2013 (13y ago) · 775 submissions

Submissions

comment 11y ago · link · parent

It looks like the NYCTaxi dataset is here:

http://www.andresmh.com/nyctaxitrips/

Some background on this data:

http://chriswhong.com/data-visualization/taxitechblog1/

And data for 2014 directly from the city:

https://data.cityofnewyork.us/view/gn7m-em8n

comment 11y ago · link · parent

The output of the demo program, FWIW:

    $ ./demo
    Smooth |=====================================================| ETA: 0h00m06s
    Three Second Task with a long label |========================| ETA: 0h00m03s
    Fast |=======================================================| ETA: 0h00m02s
    Custom <.....................................................> ETA: 0h00m06s
    Indeterminate:                                                           0:00:03
    Status bar with a really long label:                                     0:00:01
    Custom:                                                                  0:00:03

comment 11y ago · link · parent

The picture of the photovoltaic deck led me to a page describing a catamaran powered exclusively by 512 square meters of solar panels:

http://www.planetsolar.org/boat/sections/the_boat

comment 11y ago · link · parent

One of the first things I'm looking at in Go and Rust is compatibility with C. I haven't used D, but this page makes it look as good or better from that perspective:

http://dlang.org/interfaceToC.html

Can anyone comment further?

comment 11y ago · link · parent

The home page describes it as "the foundation for all our tools, with parts of the engine being available to licensees as stand-alone game engine bits."

This post suggests that it is intended to compete with Unreal and CryEngine:

http://blog.molecular-matters.com/2015/08/12/what-happened-t...

One of the posts about runtime-compiled C++ states that iOS is not a target platform.

comment 11y ago · link · parent

As a Rust newbie wrapping a C API, I ran into a baffling error for something like wstr.s[0 .. wstr.len], where the s field is an array, and the len field is a u16.

I like static typing with inference, but I'm still getting the hang of the Rust type system. In this case, a little leniency would have been nice.

comment 11y ago · link · parent

That is a bit of a bummer, but do I understand correctly that the driver only supports a yet-to-be-released version of Parallels?

comment 11y ago · link · parent

If you look at the contents of the .app, you can edit main.scpt in AppleScript Editor, but it's really just doing two things, creating the VM if necessary:

docker-machine create -d virtualbox --virtualbox-memory 2048 default

and populating environment variables for docker:

eval $(docker-machine env default)

Passing --shell zsh to docker-machine env doesn't seem to change its output. Does zsh understand commands like the following?

export DOCKER_MACHINE_NAME="default"

comment 11y ago · link · parent

Thanks for the reply.

I hadn't quit Kitematic by the time I started Quickstart Terminal, but Kitematic had completed the creation of its VM: docker-machine ls showed default as running, and the docker cli button at the bottom of the window opened a usable docker session in that machine.

It looks like Quickstart Terminal looks for the default VM using VBoxManage, rather than docker-machine, and hardcodes its location as /usr/local/bin. Mine's in /usr/bin, so the script failed to detect the existing machine.

I don't have time to report this now, but I'll look at filing an issue this evening.

comment 11y ago · link · parent

I started looking at Docker during vacation last week. I had a slightly outdated copy of Boot2Docker that didn't play well with VirtualBox 5.0. With limited bandwidth, I downloaded the docker-machine executable rather than the whole Boot2Docker package. Worked fine, and I was able to set up a variety of containers.

When I got back to work this week, I started setting some of this up on my work Mac, and found a release candidate for the Docker Toolbox. It looks like it's the docker, docker-machine, and docker-compose executables plus the Kitematic GUI (haven't tried that yet). Looks like a decent package.

Grumpy, off-topic digression after a week with limited Internet: please supply offline docs (Unreal), don't put a git clone command in the configure script to build them (Rust), don't require an external crate in a tutorial (random number generator for Rust), don't put a link to a CDN in your offline docs (Leap Motion SDK), don't require activation after a 2 GB download (Unity Personal). I did luck out and find a WebSocket library in the Go tutorial, which I used to grab JSON from the Leap to load into MongoDB (in a Docker container).

Grumpy, mostly on-topic digression: docker-compose doesn't work on my work Mac, and no one seems to know how to fix it:

https://github.com/docker/compose/issues/271

Haven't yet managed to rebuild it locally as suggested.

Edit: some observations after installing Docker Toolbox.

Kitematic is an Electron app (complete with a Toggle DevTools menu that covers the window with a web dev console). It doesn't tell you what it's doing, but docker-machine shows that it created a machine named default using the VirtualBox driver with the default settings.

Opening the Docker Quickstart Terminal stopped (and deleted?) the machine that Kitematic made and started a new one with the same name and settings.

I think I'd be just as happy with only the docker and docker-machine executables.

comment 11y ago · link · parent

I haven't paid much attention to Maya since Autodesk bought it, but people seemed pretty excited when the price dropped from $7,000 to $2,000. If the other comment about pricing is accurate, it sounds like Stingray is effectively bundled with Maya LT at no extra charge.

comment 11y ago · link · parent

This interface makes a system call at run time to reduce privileges. I wonder if there is a way to do this statically and automatically, either with some header file magic, or by analyzing the symbols in the executable: just assume at link time that any system calls it makes (and only those) are allowed.

comment 11y ago · link · parent

Most clients interact with the database through a standard API like JDBC or REST, but there is an interface for calling functions written in C, and for getting into the database from C. It's kind of similar to Lua's C API. The Node.js binding is based on this interface.

comment 11y ago · link · parent

Keep in mind that MUMPS started around the same time as Unix (a little before, actually), so the same motivation for naming commands like cp, mv, and rm was likely at play in allowing abbreviations: interactive use on remote terminals.

comment 11y ago · link · parent

Sounds to me like Toyota accessed thousands of computers without authorization.

comment 11y ago · link · parent

> The source is the employee himself who did an AMA that was partially censored by Reddit

It looks like Dacvak deleted his own posts: "Edit: I've removed this post. All future discussions regarding this subject will be between me and reddit."

comment 11y ago · link · parent

Didn't see this reply until now. I don't remember whether the repository is configured out of the box, or whether I added one, but I've gotten updates the last couple of times I installed OEL.

You may be right about their kernel, but I'm not interested in that. I run OEL because it's a copy of RHEL.

comment 11y ago · link · parent

My understanding is that AMD and Intel's cross-licensing agreement would terminate if AMD was acquired. Previously this would have discouraged acquisition, but at this point I wonder if Intel needs AMD64 more than AMD needs IA32, SSE, etc. AMD's acquirer could renegotiate the agreement knowing that it could walk away from x86 and focus on ARM and GPUs.

comment 11y ago · link · parent

Our family recently got a coloring book as a gift called Splendid Cities. I thought it was strange that it was filed under self-help. It's subtitled, "Coloring Your Way to Calm." My wife and daughter colored opposite sides of a symmetrical picture of onion domes. Intricate and rewarding, and yes, a relatively calm part of the day.

comment 11y ago · link · parent

Interesting article, but worth noting that it was written well before Oracle's successful appeal.

comment 11y ago · link · parent

Absolutely. In Emacs, I depend heavily on etags and the occasional rgrep to find my way around a fairly large project written mostly in C.

I haven't dealt with a JavaScript project large enough that I've bothered setting up tags, but I imagine something similar is available.

comment 11y ago · link · parent

"Out of the 20 people we interviewed, 14 people expressed the negative impacts of poorly presented output. ... Some of our participants felt, however, that false positives and large volumes of warnings would be less burdensome if the way the output is presented was more user-friendly and intuitive."

Sounds like you're in the majority.

comment 11y ago · link · parent

You're assuming that Valve is trying to make hay somehow by promoting this game, but I wonder if the game's placement is simply a result of a spike in sales by users who can't purchase it on the Mac App Store. I'm guessing it wouldn't take many purchases for the store's logic to pick up a historical strategy game as a trending seller.

comment 11y ago · link · parent

The chart in the results section is interesting. I don't remember reading Raymond Chen's post on branch prediction before, so thanks for that:

http://blogs.msdn.com/b/oldnewthing/archive/2014/06/13/10533...

I especially liked Raymond's comment: "Compiler optimizations may have been carefully selected for expository purposes." Counterintuitive, and interesting that the Swift program demonstrates the effect as clearly as the C program.

comment 11y ago · link · parent

Thanks for commenting, and congratulations on the grant. Looking forward to the release.

comment 11y ago · link · parent

I'd be surprised if it made a difference, but the definition of a dead or comatose server would seem to include failover cluster members.

comment 11y ago · link · parent

Interesting choices:

   * https://wiki.debian.org/ReproducibleBuilds
   * https://fuzzing-project.org/
   * http://trust-in-soft.com/tis-interpreter
Regarding the TIS Interpreter, I hope it is a useful tool in its own right, rather than acting as an advertisement for other TIS products and services.

Edit: updated TIS link per the reply.

comment 11y ago · link · parent

I download ISOs from Oracle mirrors that, as far as I know, are encumbered with no such restrictions, although the list of mirrors is on a wiki that is being shut down:

https://wikis.oracle.com/display/oraclelinux/Downloading+Ora...

comment 11y ago · link · parent

Specifically, "If you use the Red Hat Subscriptions for any other purposes, you are in violation of Red Hat’s Enterprise Agreement set forth below and are required to pay the applicable subscription fees, in addition to any and all other remedies available to Red Hat under applicable law."

I think I'll stick to downloading Oracle's version of RHEL.

comment 11y ago · link · parent

The book of the same name is a decent third book on C: K&R or some other intro, Expert C Programming, then this.
1
212223
26