Better HN
topnewbestaskshowjobs
Log inSign up

nulltype

738 karma · joined Oct 15, 2013 (13y ago) · 478 submissions

Submissions

comment 11y ago · link · parent

If I took a 500k plot of land and built a 100k house on it, why does it need to be priced at 1.5m?

comment 11y ago · link · parent

I think it is likely that the rush becomes longer

comment 11y ago · link · parent

I think slices are actually passed by value.

From "Effective Go":

"We must return the slice afterwards because, although Append can modify the elements of slice, the slice itself (the run-time data structure holding the pointer, length, and capacity) is passed by value."

comment 11y ago · link · parent

I guess what sort of domains do people like to play around with in their own time? For games there's 3d rendering, physics and AI which seem fun (at least to me) but I'm not sure how to necessarily make fun challenges out of them.

For non-direct-games things fancier AI like deep learning, audio synthesis, making compilers/parsers/transpilers, math stuff like project euler, puzzle/board game solvers/bots (https://gist.github.com/christopherhesse/51e9baf0e3d440d8aff...) come to mind.

Some of the stuff in the 3rd stripe CTF was pretty interesting like making a search engine or dealing with distributed system consensus problems (raft).

Maybe using the coolest new framework is fun for some people, like a challenge could involve angular.js so you could get some experience using it without having to go full-on side project or put it in at work without having any real idea if you should.

Implementing things that you are familiar with but that you don't understand the internals of has been fun for me in the past (for instance like https://www.mikeash.com/pyblog/friday-qa-2015-02-20-lets-bui...). Maybe you always wondered how this thing works, and now you can figure it out and solve this challenge at the same time.

comment 11y ago · link · parent

I use GCP and the support I've gotten with a silver plan (their lowest) has been surprisingly good. Low priority stuff like bug reports have been forwarded to developers and occasionally fixed.

High priority tickets I've seen a very good response time on (far better than the minimum guaranteed), though I am going to upgrade to the next level plan to get better response times on the weekend.

I have not used AWS support so I can't compare, but GCP support has been pretty good in my experience.

Merely being a customer is not enough though, without a paid support plan you're basically on your own. This might be standard for cloud providers though from what I can tell.

comment 11y ago · link · parent

I'm not an athlete, but I'll run a mile against anyone who claims to be 10X faster than me.

comment 11y ago · link · parent

Okay, but how do I prevent spammers from signing up with randomly generated email addresses?

comment 11y ago · link · parent

Then I guess we need a new name. The engine is "readable source"

comment 11y ago · link · parent

The only difference is that finding the dependencies can be a pain if they changed location, or github is down, or the specific version isn't a specific git commit or something like that.

Since there's no real difference, it doesn't really matter if you check in deps or have specific versions in a config file, either solution solves the underlying problem of having non-precise dependencies (i.e. just a github repo, or a version selector like >= 2.6)

comment 11y ago · link · parent

I think microsoft calls this "Shared Source"

comment 11y ago · link · parent

http://www.nyc.gov/html/doh/downloads/pdf/vs/vs-mortality-20...

If I'm reading this correctly, homicide still kills more people than traffic accidents. So while the injury rate may be higher for traffic, death rate still seems to be biased toward homicide.

As for how to make the traffic better, your source indicates 1/4 of fatalities are from drivers failing to yield right of way. One idea is that if intersections in cities had turn arrows and different parts of the cycle for turning cars and pedestrians, that could reduce that significantly. Doing an analysis of why people get hit even though they're in the crosswalk or whatever might be informative here rather than just going straight for speed limit or installing airbags on the fronts of cars.

Of course, I think the real solution is not better traffic laws, but self-driving cars. People are fundamentally poorly suited to driving cars and only a machine can do a consistent job without getting bored or impatient. Once we have a decent number of self driving cars, any ways to improve pedestrian safety will probably look totally different.

It might save a lot of lives to focus less on new traffic laws and more on making autonomous cars a reality (the legal side of that seems to be progressing very slowly).

comment 11y ago · link · parent

I'm not sure that ticket is crazy. Having fixed price tickets disproportionally punishes the poor. Having them based on income seems much more fair. $500 may be worth more to someone who can barely afford gas for their car to get to their minimum wage job than $100,000 is to a guy who can't decide which yacht to buy.

comment 11y ago · link · parent

Well what if the people enforcing this particular law do so only because they are getting some percentage of the ticket fee?

It could lead to, for instance, inappropriately low speed limits and an inordinate amount of police work on traffic violations instead of things that are more dangerous but make less money.

comment 11y ago · link · parent

If they were going 5mph at all times, there would be even less people dying in traffic. Unless you count wasting their time waiting in 5mph traffic.

comment 11y ago · link · parent

It's a pretty good course on how to be not merely technically skilled, but effective. For example, how technological progress usually works and the importance of back of the envelope calculations. He teaches with a lot of personal narratives which are easier to relate to and remember.

The book is easier to read than watching the videos, though you could rip the audio and it would be an okay audio book.

comment 11y ago · link · parent

Yeah except now you can't move out of your current house. If you move across the street to a house worth as much as your current house you could end up paying 5x property taxes.

comment 11y ago · link · parent

Is a 10% speedup optimistic? I find it odd that the hand-optimized assembly prototype had no detectable speed difference.

comment 11y ago · link · parent

How does this trick save you money? I'm not really clear on the details of enterprise payments.

comment 11y ago · link · parent

If you think Javascript is bad for complex software, you should try C++.

comment 11y ago · link · parent

Git makes it way harder than necessary to do all these things and has a steep learning curve (generally a euphemism for bad design).

I'm proposing that you can get all the benefits you talk about but in a far more usable manner. I like a clean master branch with atomic sensible commit messages as much as the next man. Git just makes it a real chore to get there.

You seemed confused about the history and branch navigation, so maybe I can explain that one better.

What I want is to visually view the history of a file, and trace, for instance, a function as it moves through my project, into different files, etc. I also want to easily find code that I deleted in the past to use as a reference for implementing a new version of the code, rather than keeping it in some "obsolete" folder in source control. I have seen people who do that. There are ways to do these things now involving searching git logs and viewing diffs or checking out old branches, but the interface is very poor. Even the interface on Time Machine is better than git, and that thing isn't build to source code.

But perhaps you are correct. Maybe most people use git primarily as a backup service for code. If so I guess git should make that a way better process. I will point out that github actually offers a way better interface to git than git does. It just still has a long way it can go.

comment 11y ago · link · parent

Nice! Yeah that's along the lines I was thinking. There have been attempts at visualizations, like I remember clearcase had one that was probably pretty advanced 30 years ago.

I think it's very doable without any serious R&D, and you could build it on top of git/maybe github. The real question to me is: is it worth the effort, and would anyone actually pay for it.

People pay for tower and kaleidoscope so I assume it's possible. I think this is totally something GitHub should make but they seem to be focussing on other things.

comment 11y ago · link · parent

Git is pretty atrocious, so I like the idea here, but I'm not sure it goes far enough. My main complaints about git are probably

having to commit changes manually (I haven't had to do this in Dropbox)

terrible history and branch navigation (chrome does a better job and that's not even like an important feature of a browser)

confusing command structure and options

history rewriting and the resulting issues

no merge tool (I feel like kaleidoscope is the minimum here)

submodules

Gitless seems to address #3 there but not the others. Actually making a tool that improves git to where it could be would probably be a huge undertaking, and most people do alright with git so maybe it's not worth it. Or maybe there's some graphical git client like tower that fixes all this stuff.

comment 11y ago · link · parent

http://xkcd.com/1200/

comment 12y ago · link · parent

What about the assumption that intelligence can be reduced to an IQ number?

comment 12y ago · link · parent

If they sell it as plumbing the hourly rate wouldn't even be that suspicious.

comment 12y ago · link · parent

Then don't allow large banks.

comment 12y ago · link · parent

Glide sounds pretty cool, but how is it better than just setting your GOPATH on a per-project basis?

comment 12y ago · link · parent

What problems does dynamic linking with sane versioning solve?

comment 12y ago · link · parent

What about after gzip?

comment 12y ago · link · parent

I just played the demos in Chrome on the website and they run really well, except Dustforce which has a warning on it about only working well in Firefox.
1
1213141516