Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
twic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2989 ms
·
7231.
▲
by
twic
14y ago
Ken Regan, who is some kind of computerologist, has a really interesting post pointing out that TSP is actually one of the easier NP-complete problems, and even an O(n) solution only reduces the interesting NP-complete problems to really ha
7232.
▲
by
twic
14y ago
Well, you probably wouldn't do it that way, for starters. There is a mature toolkit of techniques for narrowing down the interesting bits of the genome, so you have less sequence to look at. But yes, the day will come when it's feasible to
7233.
▲
by
twic
14y ago
Even genomics isn't really that big. The human genome is three billion base pairs; that's 750 MB if packed as tightly as can be. The largest genome (that of _Paris japonica_) is 150 billion base pairs, 37.5 GB. You might be storing multiple
7234.
▲
by
twic
14y ago
Indeed. That would be hell on one's quads.
7235.
▲
by
twic
14y ago
Porn?
7236.
▲
by
twic
14y ago
The only way they never go outside of the author's personal computer is if the author squashes (or discards!) them before pushing. Otherwise, they will go outside of the author's personal computer. However, they will never be a head out
7237.
▲
by
twic
14y ago
What? No. If Sally has already merged her commits into master, then those commits will never look like they've come from your branch. If i'm misunderstanding this, then a worked example would be a really great way of clarifying it.
7238.
▲
by
twic
14y ago
Can this be paraphrased as "our architecture for serving raw views is terrible, so we took a feature away from our users"?
7239.
▲
by
twic
14y ago
The company where i work manages >90% of its servers that way. This company is blessed with some extraordinarily bloody-minded sysadmins who made the time to sharpen the saw in the face of mounting piles of wood to cut.
7240.
▲
by
twic
14y ago
I don't think browsers do use HEAD to determine whether or not to re-request cached content; they make a conditional GET, ie a GET with an If-Modified-Since header (or one of its relatives). Are there some situations where browsers use HEAD
7241.
▲
by
twic
14y ago
I get the impression that Go partisans are like this too.
7242.
▲
by
twic
14y ago
Well, at least it's not cathedral.
7243.
▲
by
twic
14y ago
AdultCofounderFinder.com?
7244.
▲
by
twic
14y ago
So what happened when he got to Oxford? I'm on the edge of my seat here!
7245.
▲
by
twic
14y ago
We created the Internet?
7246.
▲
by
twic
14y ago
Is each one of those little grey cuboids an virtual machine? If so, that is rather a lot of virtual machines. I am surprised so many were necessary. What kind of load was this system handling?
7247.
▲
by
twic
14y ago
I hope you'll be able to share your findings with us, even if they're negative. As someone who has no stake in Heroku, i have the luxury of finding this problem simply interesting! My hypothesis is that tenant-specific intelligent load bala
7248.
▲
by
twic
14y ago
Not a wrong thing to build initially, but perhaps a wrong thing to advertise a feature based on, unless you have a plan for how to continue to deliver that feature as you scale up.
7249.
▲
by
twic
14y ago
There is exactly one such reason: programmers. Python programmers were given operator overloading, and did a good job with it. C++ and Scala programmers were given operator overloading, and did a bad job with it (eg << in C++'s stre
7250.
▲
by
twic
14y ago
As a Java programmer, i agree that the catch blocks around parsing are annoying, but i'm not sure a method that returns an error code is any better. Wasn't that tried back in the '80s? The way Scala (and probably other functional languages,
7251.
▲
by
twic
14y ago
Also, an abstract class can have a constructor (and instance initializers, and initialization expressions for its fields), which an interface can't. That means an abstract class can do work when it is created. Although it's probably a good
7252.
▲
by
twic
14y ago
Bob Martin's recent "And I'm very sorry that when you finally brute-force your way to some modicum of success that you will credit your bad behavior, and recommend it to others" has sprung unbidden into my mind once again ...
7253.
▲
by
twic
14y ago
Good work, sir. People know about the Three Hundred Million Dollar button < http://www.uie.com/articles/three_hund_million_button/ >, right? Right?
7254.
▲
by
twic
14y ago
This sounds like a subset of what Mercurial's ACL extension ( http://mercurial.selenic.com/wiki/AclExtension ) supports. ACL allows you to restrict by branch, but also by file path within the repository (so you can, say, reject any change
7255.
▲
by
twic
14y ago
If i think about what scares me most about using a noSQL database, it's the loss of expressivity. I believe noSQL databases can be fast, compact, and well-behaved. But SQL is a phenomenal query language; it anticipates Alan Kay's (alleged)
7256.
▲
by
twic
14y ago
I don't believe this is correct. SQL certainly includes some things which don't exist in the pure relational model (LIMIT, stored procedures, array types), but i am not aware of anything in SQL which prevents you using a pure relational mod
7257.
▲
by
twic
14y ago
Am i missing something, or is this nothing to do with Git? You could do this with any source control tool, or indeed with simple copies of the files. I've used exactly this approach without Git for years.