Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sltkr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
571.
▲
by
sltkr
13y ago
I think the complaint is about the presumptuousness of the title of the post, not so much the obviousness of the content.
572.
▲
by
sltkr
13y ago
FYI, with libstdc++ (GCC) you can define _GLIBCXX_DEBUG and get a lot of runtime checks too, including bounds checking on vectors. http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch30s...
573.
▲
by
sltkr
13y ago
Unless HN starts supporting sub“HN”s (or starts allowing porn, jokes and My Little Pony-related posts on the frontpage) I don't think it's a viable replacement for Reddit.
574.
▲
by
sltkr
13y ago
If that's what you're looking for, try http://typing.io/
575.
▲
by
sltkr
13y ago
> what hasn't been the case was bikes outselling cars. It hasn't happened. Are you kidding me? Of course it happened! How many cars do you think were sold in 1900?
576.
▲
by
sltkr
13y ago
Yes, but this is somewhat like saying you could mark the banknotes used to pay off a person that's blackmailing you. If you catch someone with a marked note that doesn't prove they are the perpetrator; it just means that they rece
577.
▲
by
sltkr
13y ago
> Or a large proportion are browsing incognito. How many people really use incognito mode? How many people (outside the unrepresentative minority that frequent Hacker News) even know about the feature? I don't have the data to ba
578.
▲
by
sltkr
13y ago
> After all, a logo serves no other purpose than recognition. If recognition was the sole purpose, Yahoo should have kept the logo exactly the same. I think logos (or styles in general) are also an expression of the attributes that a co
579.
▲
by
sltkr
13y ago
The situation has probably worsened. Opera lost out-of-the-box APNG support with the switch to Webkit. Firefox has lost market share to Chrome on the desktop, and were never big in the (still growing) mobile market. There is a simple Chro
580.
▲
by
sltkr
13y ago
That was a great summary of Kademlia! Just to clarify: > The distance between two given hashes is simply the result of [hash1] xor [hash2]. This is the main innovation of Kademlia compared to other DHTs like Chord which uses a simple dif
581.
▲
by
sltkr
13y ago
I always thought of the Go team as mostly outsiders coming from Plan 9 who were being sponsored by Google, but otherwise aren't really an integral part of the company (but then again, I don't know much about Google's internal
582.
▲
by
sltkr
13y ago
I like Go, but I always thought that was a ridiculous selling point. Just look at your own comment: if Googlers are picking up Go, it must have been for other reasons than build speed, considering they have a compile farm at their disposal
583.
▲
by
sltkr
13y ago
It's not so much a story about an engineer who happens to be female, as it is a story about female engineers, the gender gap, and general lack of diversity in engineering. Considering dress is one of the most important gender expressi
584.
▲
by
sltkr
13y ago
I think the predicate you wanted to demonstrate is called append/3, which works on list (while concat applies to atoms). In Prolog, 'foo' constructs an atom, which is equivalent to foo without any quotes (but the quotes are u
585.
▲
by
sltkr
13y ago
1. It's a run-on sentence. There should be a period, or at least semicolon, before “however”. Using a proper conjunction like “but” is possible too, but then the comma following it needs to go. 2. Putting both “also” and “too” in the secon
586.
▲
by
sltkr
13y ago
How is that fundamentally different from storing sessions in a database (which is common to be able to scale horizontally)? Whether or not that is a lot of overhead depends also on how much work you were going to do to process the rest of t
587.
▲
by
sltkr
13y ago
So basically everyone that doesn't see the "obvious" utility of every pet project is an idiot? And you are saying HNers are the ones with negative attitudes?
588.
▲
by
sltkr
13y ago
Is there any standard-compliant way to crash in C? A call to abort maybe? Maybe the task should have been formulated as the shortest valid C program that invokes undefined behaviour instead. (Or maybe the task isn't very interesting eit
589.
▲
by
sltkr
13y ago
You realize you're talking about a codebase which still uses pre-standard parameter type declarations, right?
590.
▲
by
sltkr
13y ago
Correct -- 0xfb20 through 0xfb4f are alternative glyphs for Hebrew characters. (I don't know what makes these so special that they need to be handled separately by the regexp processing code, though.)
591.
▲
by
sltkr
13y ago
Cool, I wrote about a similar technique (but with a somewhat different approach which I think balances file size/quality concerns better in practice): http://notes.tweakblogs.net/blog/8712/high-color-gif-images....
592.
▲
by
sltkr
13y ago
If you look at where they are used, then it looks like these macros do not need to compare m[1] to c1 because whenever they are used it is already known that m[1] == 'O' (hence "str3O" in the name -- that's 3 and the letter O, not number ze
593.
▲
by
sltkr
13y ago
The O(n log n) bound is a worst-case upper bound, which is a tight bound if all elements are distinct. It doesn't apply if there are guaranteed to be a sufficient number of duplicates. For example, one might implement a variant of Insertio
594.
▲
by
sltkr
13y ago
In that case, most other algorithms (e.g. insertion sort) technically take linear time too (though with a rather impractical constant factor).
595.
▲
by
sltkr
13y ago
> I am on Snow Leopard, and I have no trouble using unistd.h which is marked as flawed on the graph. The whole row for `unistd.h` is green (except for MSVC, of course) -- why would you think it's flawed on OS X?
596.
▲
by
sltkr
13y ago
It seems at least tangentially related considering in that they probably wouldn't have sued Firefox if they had just decided to switch to the Gecko browser engine. (Or if Hansen had supposedly divulged trade secrets to the Chrome team).
597.
▲
by
sltkr
13y ago
Elastic tabstops [1] would work perfectly with proportional fonts. 1. http://nickgravgaard.com/elastictabstops/
598.
▲
by
sltkr
14y ago
There are tons of useful features that aren't supported in C. The basic feature set of C was determined by whatever operations Dennis Ritchie could easily implement on the PDP-11 when he created the earliest C compilers. (Fun fact: the bi
599.
▲
by
sltkr
14y ago
The syntax you use is supported in Ruby though, which allows indexing integers to access individual bits (though as far as I know you can't create numbers that way, because integers are immutable).
600.
▲
by
sltkr
14y ago
That's true, but the code that generates the wallet is still sent over HTTP, so there is an opportunity for an attacker to insert malicious code. It would be a lot better if this was served over HTTPS, but then you still need to trust the
More ›