Better HN
topnewbestaskshowjobs
Log inSign up

nulltype

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

Submissions

comment 11y ago · link · parent

This seems weird to me. While it's true that I don't want dependencies to mess up my git diff, I can't say that a dependency change has "nothing to do with the project". A change in dependencies almost always means a change in the behavior of my project.

I guess what you're saying is that submodules means that the diffs are better somehow, but I can't remember ever enjoying using submodules. This whole thing seems more like a git problem than anything else.

comment 11y ago · link · parent

If you live reasonably close to a grocery store, you can actually go once per day and don't need to carry that much at any one time. On the plus side the food is more fresh because it didn't have to sit around for a week or two.

Though of course, you can always get a cart or something.

comment 11y ago · link · parent

Looks like this is the new version of http://www.amazonsupply.com/ which is now shutting down.

comment 11y ago · link · parent

Where did you get this cost estimate? Does that include expansion packs and patches?

comment 11y ago · link · parent

Go seems to be heavily optimized for write-time efficiency instead of runtime efficiency.

comment 11y ago · link · parent

I'm not sure a company can be personally sued.

comment 11y ago · link · parent

Thanks for all the info! Very informative.

"Updating dependencies across all services is somewhat of an anti pattern in microservices, this chain of dependencies shouldn't exist."

But what about, say, your tracing library. It seems like that would be shared across all your services, right?

comment 11y ago · link · parent

In Go, defer basically serves this use case.

comment 11y ago · link · parent

Endless arguing over 2 vs 4 spaces or spaces vs tabs has not really advanced the programming industry very much, despite being highly democratic. For a lot of these small decisions, it doesn't really matter what you choose as long as a choice is made and it's consistent.

comment 11y ago · link · parent

A good point. I've seen people say that the Go designers are designing a language for "bad programmers", but maybe they're just designing for humans. Maybe code readability is more important than conciseness.

comment 11y ago · link · parent

I guess that makes Go the inverse of Perl. I assume if a Perl programmer shakes hands with a Go programmer, they cancel each other out.

comment 11y ago · link · parent

That's a lot of microservices. How do you handle changing the interface of a service in a backward incompatible way? Or updating a dependency across all services?

comment 11y ago · link · parent

I'm using Go on App Engine, decently large scale site. It's a pretty good setup. Includes a task queue, database, file storage, almost everything you need. Not having to manage those things yourself is pretty fantastic.

No need to use godeps, setup logging, create a deployment system, or manage linux machines with a bunch of scripts. You can even pipe your logs into BigQuery for serious analysis (and copy your database there too, though this might be expensive for large databases).

Main downside of App Engine is that network stuff has to go over urlfetch/socket api unless you use Managed VM, which is not really production ready yet.

As for frameworks, the builtin http package is fine. Just make some http.Handler structs or wrappers and you're basically done.

comment 11y ago · link · parent

Can kids do homework outside?

comment 11y ago · link · parent

The filtering done in this article is actually run on the server, not the client.

comment 11y ago · link · parent

http://rethinkdb.com/docs/rethinkdb-vs-mongodb/

comment 11y ago · link · parent

Here's a similar thing I made that just generates these sorts of triangles with some diffuse lighting: http://christopherhesse.github.io/delaunay-experiment/

comment 11y ago · link · parent

Intrade doesn't seem to exist, so I think by definition it's more interesting than that.

comment 11y ago · link · parent

I think I'd rather just manipulate HTML with Javascript. At least then I only have one problem, which is HTML with inline styles. No separate CSS file to maintain or CSS rule precedence to worry about.

comment 11y ago · link · parent

This doesn't seem to mention one of the more interesting prediction markets: https://www.predictit.org/

comment 11y ago · link · parent

Raw SQL still needs to be parsed and converted into some data structure. The difference I think is that in RQL you are just making the data structure on the client side then sending it to the server.

comment 11y ago · link · parent

Here's a comparison between RethinkDB and MongoDB (written by RethinkDB) http://rethinkdb.com/docs/rethinkdb-vs-mongodb/ and the FAQ for "When is RethinkDB not a good choice": http://rethinkdb.com/faq/#when-is-rethinkdb-not-a-good-choic...

A lot of the things would also apply to PostgreSQL

comment 11y ago · link · parent

I used to listen to FM radio all the time. I personally think podcasts are way better and would not be surprised if most consumers agree.

comment 11y ago · link · parent

Is there a way to remove the distinction between employee and contractor? It feels artificial to me, like everyone should be one or the other. Removing the link between health care and employment seems like a good start.

Does the distinction serve a useful purpose? It seems like they are both "people you hire to do work".

comment 11y ago · link · parent

https://www.youtube.com/watch?v=qKXy1FPTdvg

comment 11y ago · link · parent

https://github.com/sourcegraph/sourcegraph-atom/issues/24
1
1213141516