Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cobbal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
241.
▲
by
cobbal
13y ago
Still, when lightsabers clash you never see them bending as the article claims they would.
242.
▲
by
cobbal
13y ago
Well, yes and no. If you're just talking about integer primes then sure. If you consider gaussian integers though (a + b*i where a and b are integers) then you would have to say "the gaussian prime numbers that aren't 1, -1,
243.
▲
by
cobbal
13y ago
It would be harder, but the developer console has access to closures as well: http://stackoverflow.com/a/16048707/73681
244.
▲
by
cobbal
13y ago
Another fun thing to do with that phrase is consider its contrapositive: That which doesn't make you stronger, kills you. Which is equivalent, but more obviously absurd.
245.
▲
by
cobbal
13y ago
Yeah, but it's not always easy to see every possible security issue. For instance, your proposed solution of just rounding the distance to the tenth of a mile is scarcely better. The attacker will just need more than 3 points to be abl
246.
▲
by
cobbal
13y ago
Which was in no way influenced by c++
247.
▲
by
cobbal
13y ago
Yes, but I suspect the NSA has had the foresight to backdoor most major brands of lava lamp. Same problem as before, you can't easily verify the hardware.
248.
▲
by
cobbal
13y ago
Actually, I've used Stack Overflow to learn things by trying answering questions I don't know much about. Most of the time I don't succeed in answering them, but I always find out a lot while trying to research/figure it
249.
▲
by
cobbal
13y ago
personally I use HEAD quite often in the form of `curl -I` if I want to check the size or mime type of a particular resource.
250.
▲
by
cobbal
13y ago
I'm not sure, could get confused with the web template framework in WebKit. https://github.com/WebKit/webkit/tree/master/Source/WTF/wtf
251.
▲
by
cobbal
13y ago
My take on this has always been the pointerness is semantically part of the type, but syntactically it belongs with the variable. Therefore I annoy both parties by putting a space on either side to protest the fact that everyone is wrong.
252.
▲
by
cobbal
13y ago
The beginning of the proof starts with "Suppose to obtain a contradiction, that mathematics is inconsistent". From that assumption, they derived a contradiction, therefore the assumption can't be true, and math must be consis
253.
▲
by
cobbal
13y ago
It probably refers to the fact that variables by default are global. If you prefix them with var they're function scoped, but there's no way to make them local to the curly braces of an "if" statement. In scheme, lexical
254.
▲
by
cobbal
13y ago
Yes and no. You could argue that use of passwords or private keys is security through obscurity, but that definition is pretty meaningless. Security through obscurity doesn't really apply when you can make the search space arbitrarily
255.
▲
by
cobbal
13y ago
True, but purely mathematically every cipher is vulnerable to the "get lucky and guess the key right the first time" attack (OTP excepted of course). Almost all crypto operates in the realm of absurdly close to certain.
256.
▲
by
cobbal
13y ago
I think the criticism of the loop is a bit unfair. If your random number generator returns >250 a thousand times in a row, you have bigger problems than slowness.
257.
▲
by
cobbal
14y ago
Actually, make works in tramp by default if you use 'M-x compile' and friends.
258.
▲
by
cobbal
14y ago
Pure speculation, but I would assume Apple will be a "whitelisted developer".
259.
▲
by
cobbal
14y ago
related: you can set it to be silent by default in System Preferences; then shift will make it not silent.
260.
▲
by
cobbal
14y ago
10.7.4 is when it was reintroduced I believe: http://apple.stackexchange.com/a/53073/8035
261.
▲
by
cobbal
14y ago
Unfortunately, what Amazon has to secure is almost every account. 2 factor authentication is great for the more security-conscious, but that's a very small percentage of Amazon's customers. All the scammers would have to do is hit one of th
262.
▲
by
cobbal
14y ago
What's worse about the __sub__ method is that it will work in unpredictable ways, for instance >>> ExpressiveList(item, [2], [3]) - item will either be [[2], [3]] if item isn't a list, or something different if item is a
263.
▲
by
cobbal
14y ago
There's also a ceiling around the integral (⌈...⌉), so it evaluates to 2013
264.
▲
by
cobbal
14y ago
I have a small script named `pman' #!/bin/bash man -t $@ | ps2pdf - | open -fa Preview it opens a man page formatted as a PDF in Preview
265.
▲
by
cobbal
14y ago
Another benefit of hosting something like this on GitHub is you get instant scaling in case you hit the front page of HN (or similar sites) and suddenly get thousands more visitors than some blog software can handle.
266.
▲
by
cobbal
14y ago
I think the title is fairly accurate if you read it as "never use a hash when you need a MAC". MACs have nice provable security properties that you get for free, so you don't get surprises like extension attacks.
267.
▲
by
cobbal
14y ago
I'm not sure of the details here, but it wouldn't be too hard to make sure the reset call arrived in the middle of another call.
268.
▲
by
cobbal
14y ago
Unfortunately, this isn't entirely true. - (unichar)characterAtIndex:(NSUInteger)index will return the UTF-16 "characters" (codepoints or half-codepoints)
269.
▲
by
cobbal
15y ago
I've never written an LLVM backend, but one difficulty that immediately jumps out at me is the 16-bit architecture. LLVM specifies types with bitwidths and 32 is most commonly used, meaning a backend would have to either emulate 32 bits, fo
270.
▲
by
cobbal
15y ago
I'm not sure about you, but I also find 1:00 PM to be a great hour for hacking.
More ›