Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sltkr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
601.
▲
by
sltkr
14y ago
There are a number of other similar offers. Just Google for "free raspberry pi hosting" (+ your country, maybe). For example, here's a Dutch hosting company: https://www.pcextreme.nl/en/ http://raspberrycolocation.com/home/ You
602.
▲
by
sltkr
14y ago
It isn't -- it's just a typical 32-bit signed integer overflow that gets sign-extended to create a 64-bit unsigned integer. The previous size was probably just under 2 GB for this string. My guess is that “4296822784 bytes allocated” (whi
603.
▲
by
sltkr
14y ago
In other words: you are not willing to put your money on anything; you just want to post baseless predictions so you can gloat later on the off-chance that you're right. If you actually believed the Bitcoin market will crash in June, you wo
604.
▲
by
sltkr
14y ago
Arguably both Gates and Zuckerberg got rich by starting a company -- there are plenty of Microsoft and Facebook programmers that didn't get rich, and plenty of CEOs of tech companies that earned money without writing a single line of code.
605.
▲
by
sltkr
14y ago
So to avoid leaking any private data to third parties, I should send all my private data to a third party using a proprietary protocol?
606.
▲
by
sltkr
14y ago
I thought that Emberwind port that Opera wrote/commissioned to show off their HTML5 support was pretty impressive already (and that was in 2010): http://operasoftware.github.com/Emberwind/
607.
▲
by
sltkr
14y ago
The first two methods don't.
608.
▲
by
sltkr
14y ago
Actually, that GIF file seems to be 11 MB, not 7 MB! But here's the same thing in 340 KB (courtesy of Gifsicle): http://i.imgur.com/ozZhyu4.gif
609.
▲
by
sltkr
14y ago
I wouldn't say that Linux was "deliberately designed to be unlike Minix" -- after all, Torvalds' original announcement [1] was in comp.os.minix and he admitted that his OS "resembles [Minix] somewhat". It's more accurate to say that Linux e
610.
▲
by
sltkr
14y ago
I think you're missing /my/ point, which is that BitCoin is useful as a currency, and these ASICs are strengthening the system, so by extension they are useful too. If you think the BitCoin project is entirely useless, even as a proof-of-co
611.
▲
by
sltkr
14y ago
It's not useless; BitCoin security depends on the majority of hashing power being in the hands of benevolent users. People who invest in ASICs and other mining hardware have an implicit incentive to be benevolent (because a collapse of the
612.
▲
by
sltkr
14y ago
Even if it was a joke, that behaviour is obnoxious. Not to be that guy, but XKCD is very relevant here: http://xkcd.com/322/
613.
▲
by
sltkr
14y ago
> GNU sort is designed to sort on disk though. If you actually watch it working on a giant file, you'll see it generating lots and lots of files in /tmp containing the merge lists. The number of files created is just an implementation d
614.
▲
by
sltkr
14y ago
To be fair, QuickSort is particularly suitable for imperative languages that allow in-place modification of arrays. For functional languages, merge sort is a much more natural solution that is simple to implement, guaranteed to be efficient
615.
▲
by
sltkr
14y ago
How does it differ? It just gives the size of the whole object -- that doesn't mean it's not an array of arrays...
616.
▲
by
sltkr
14y ago
> It is only Euro-centrism which treats them as separate languages while dumping diverse tongues into Chinese. This couldn't be further from the truth; it is the Chinese government that insists that all different Chinese languages are m
617.
▲
by
sltkr
14y ago
> Even easier: just add _ before you import How is that an improvement? That's just as much work as commenting the line out.
618.
▲
by
sltkr
14y ago
No, you really can't do this. If you think you can, tell me what you think the output of this program will be: class X { int a; public: X() : a(123) { } int get_a() { return this ? a : 1; } }; class Y { int b
619.
▲
by
sltkr
14y ago
And when the dimensions aren't defined, then progressively encoded JPEGs don't offer an advantage either, because with both progressive and non-progressive images, browsers reserve space for images as soon as their size is known, i.e. when
620.
▲
by
sltkr
14y ago
But good design is hard too.
621.
▲
by
sltkr
14y ago
Why do you assume this happens by design?
622.
▲
by
sltkr
14y ago
The ratio of people that does this is something that you could accurately measure if you have a somewhat popular website. (The reason why not so much, of course. I doubt many people have a conscious reason for this behaviour anyway. I don
623.
▲
by
sltkr
14y ago
Bug report: if I hit backspace at the end of a line, I'm not allowed to correct my mistakes!
624.
▲
by
sltkr
14y ago
Ah yes. The real world. Where people with pointless skills get hired by Google, even though the ability to design and implement clever algorithms is an irrelevant programmer skill.
625.
▲
by
sltkr
14y ago
> it's just a matter of time until someone uses NotSet as a legitimate value assigned to a variable/attribute, just like None is today. No, because the NotSet value (unlike None!) isn't global; it's private to the package (or even class
626.
▲
by
sltkr
14y ago
I love comments like these just because they reveal how many people don't actually read the comments they reply to (even if they're only two sentences long!)
627.
▲
by
sltkr
14y ago
So basically just IFF/RIFF with fields exchanged? See: http://en.wikipedia.org/wiki/Interchange_File_Format http://en.wikipedia.org/wiki/Resource_Interchange_File_Format
628.
▲
by
sltkr
14y ago
That's hardly a fool-proof solution, because you still end up with a document that's has a very large logical size (even if you represent it in a very compact way in memory) and any non-trivial operation on the resulting string that needs t
629.
▲
by
sltkr
14y ago
> the article above is about a very basic language feature of JS that hopefully anyone who has every touched JS already knows about. Hopefully, yes, but I think reality is much more depressing than that. Unfortunately, the JavaScript p
630.
▲
by
sltkr
14y ago
I'm pretty sure it's this one: http://www.pcworld.co.uk/gbuk/samsung-series-3-xe303c12-11-6... But it's 300 GBP, or 484 USD (excluding shipping), almost twice the price advertised!
More ›