Better HN
topnewbestaskshowjobs
Log inSign up

nulltype

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

Submissions

comment 11y ago · link · parent

I bet the tourists are pretty scared now.

comment 11y ago · link · parent

Why are these ships manned?

comment 11y ago · link · parent

I think the real solution might be to reduce the number of classifications, but I doubt it would be particularly popular.

comment 11y ago · link · parent

You'd think so, but if you try the tunnel burritos you can really taste the difference.

comment 11y ago · link · parent

I don't use C++, so I have no idea.

comment 11y ago · link · parent

I use makeheaders: http://www.hwaci.com/sw/mkhdr/

It's pretty amazing.

If you can't use makeheaders, I prefer the Plan 9 include style where header files are not allowed to include header files: http://doc.cat-v.org/bell_labs/pikestyle

comment 11y ago · link · parent

I've heard that the prices are egregious only in bandwidth charges and that other things were not as bad. Does anyone have concrete numbers to compare?

comment 11y ago · link · parent

What about bandwidth costs?

comment 11y ago · link · parent

It seems like renting computers by the minute is pretty cheap these days. I'm surprised more people don't just have one machine per test, run them all in parallel. Testing seems to be embarrassingly parallel in that usually your tests don't depend on other tests at all.

comment 11y ago · link · parent

Interesting! How does Toyota's code compare to other car manufacturers?

comment 11y ago · link · parent

But instead the words just blew your mind as you scrolled down the page.

comment 11y ago · link · parent

If you like this dude (or maybe if you don't like him) you can help send him to Antarctica: https://www.kickstarter.com/projects/431908798/send-idle-wor...

comment 11y ago · link · parent

So I'm a little confused about "points". Those are owned by the employee, not the employer, right? Even though the employer pays for the expenses?

comment 11y ago · link · parent

Yeah, looking at the graph in the article is really weird. Wait, you can query 10k phone numbers per second with a single crappy linode machine, why does it need to be faster than that?

comment 11y ago · link · parent

I interpreted that as they meant "amorphous solid" because they said it was not crystalline. But calling it a liquid if that's what they meant is a bit...wrong.

comment 11y ago · link · parent

This one is so blatant maybe it would be supermarine advertising.

comment 11y ago · link · parent

Also featured in the Outer Limits episodes "Demon with a Glass Hand": https://en.wikipedia.org/wiki/Demon_with_a_Glass_Hand

comment 11y ago · link · parent

Why don't you want to live in Mountain View?

comment 11y ago · link · parent

I watched one of these a few days ago get stuck at a 4 way stop near Castro St. I think the human driver had to take over.

comment 11y ago · link · parent

I think that is solved by the vendor thing. You can have two versions of the dependency, e.g. "vendor/dependency" and "vendor/library/vendor/dependency" and, with the caveats mentioned elsewhere (global name conflicts, similar-looking but different types, etc) it should work fine.

comment 11y ago · link · parent

One that definitely happens is if, for instance, a library returns datastore.ErrNoSuchEntity, but vendored the "datastore" package. If you have your own version of "datastore" then you do "err == datastore.ErrNoSuchEntity" and it's false, because there are two copies of ErrNoSuchEntity in memory.

This seems pretty solvable though. If you vendor a package, you need to make sure you don't do this. If we do gb-style everyone vendors stuff themselves (not in libraries), then it's not an issue.

comment 11y ago · link · parent

That would be nice, but that is not true in Go. You can register with a function like this one: http://golang.org/pkg/database/sql/#Register (mentioned in the article) and run it in your init() function or any similar function that a client calls.

That will collide with any other package that also uses that registration function for the same value of 'name'.

comment 11y ago · link · parent

If by "same side effects" you mean multiple versions of the same library causing issues, I don't think so. Using "go get" you will end up with only a single version of a library for a given path.

comment 11y ago · link · parent

What are remote packages?

comment 11y ago · link · parent

I think it does support multiple versions of a package, as long as the package supports multiple versions of a package. The problem is if a package registers some global name, and another copy of the package also registers the same global name, that could cause an error.

The name conflict is a compiler error message, not anything to do with vendoring.

Having a package.json file is a separate issue, but there is a proposal for that here: https://groups.google.com/forum/#!msg/golang-dev/nMWoEAG55v8...

Having a file like that doesn't solve the vendoring issues though. This new vendoring scheme seems almost identical to NPM's node_modules.

266.

Send Idle Words to Antarctica(kickstarter.com ↗)

1 points · by nulltype · 11y ago · discuss

comment 11y ago · link · parent

According to this graph: https://pbs.twimg.com/media/CJatKFQUkAE5qcR.png:large

It's about 0.3ms per MB, so 1ms isn't that different.

1
8910
16