Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
iclelland
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
iclelland
14y ago
He didn't say that Office 2008 didn't run on Intel -- he said that it ran on PPC, which it did. 2004 was PPC-only, 2008 was a universal binary, and 2011 is Intel-only
32.
▲
by
iclelland
14y ago
That almost hurts to look at -- It looks like a botched attempt at a recursive method to iterate through the array. I can imagine some poor developer, unable to figure out why it seems to always throw a StackOverflowException, putting that
33.
▲
by
iclelland
14y ago
No, this is completely different. Modern. Revolutionary. Facebook lighting is directly overhead; Windows 3.1 was off to the left a bit :)
34.
▲
by
iclelland
14y ago
The background image is here: http://lab.hailpixel.com/static/1/img/box.jpg It looks like it just uses the raw RGB values from the image, sampled in a 25x25 grid spanning the image. The orientation isn't random, but is chosen to avoid the
35.
▲
by
iclelland
14y ago
Thanks for that link -- I was pretty sure that Fresnel lenses were refractive, and I ended up reading most of the article trying to reconcile the plastic lenses that I've seen with the copper diffraction grating that it seemed to be describ
36.
▲
by
iclelland
14y ago
Pinch to zoom out. The bird is probably off-screen.
37.
▲
by
iclelland
14y ago
And this: >>> dis.dis(exec_code_object_and_return_x) 2 0 LOAD FAST 0 (codeobj) 3 LOAD_CONST 0 (None) 6 DUP_TOP 7 EXEC_STMT 3 8 LOAD_FAST
38.
▲
by
iclelland
15y ago
You'd think so, but then every other calculation in that paragraph is based on bytes: 1MB for 8192 identifiers (as opposed to 128K as strings, or 64K as ints) 384GB for 3 billion identifiers (rather than 38GB strings, or 19GB ints) 119GiB i
39.
▲
by
iclelland
15y ago
Yes it does, actually: "per cent" means "per 100", so, divide by 100. 50% is 50/100, or 0.5 of the whole 0.004% of the sky is 0.004/100, or 0.00004 of the whole sky.
40.
▲
by
iclelland
15y ago
I travelled through Frankfurt in 1999, and was just as surprised at the very-well-armed airport security. In the US and Canada, I can't recall ever seeing anything more than a holstered pistol.
41.
▲
by
iclelland
15y ago
Also, it should have read from menagerie.cat import models as cat_models from menagerie.dog import models as dog_models from menagerie.mouse import models as mouse_models Because otherwise it doesn't match the code in the f
42.
▲
by
iclelland
15y ago
> During all my years at MSFT, employees were always told that patents were necessary for the reasons Paul Vick stated - you had people like Eolas and zillions of other trolls trying to get you and you needed a portfolio to play defence
43.
▲
by
iclelland
15y ago
To allow them to monitor tornadoes in your area, obviously.
44.
▲
by
iclelland
15y ago
> I was eager that the service would let me search for the client names and get reviews on them quickly. That's what I was expecting -- I tried to search for "Martinez" and "Padbury"; two of the names prominently featured in the front p
45.
▲
by
iclelland
15y ago
The idea was that DNSSEC would make SOPA impossible -- proper implementation of the standard would mean that if the US legislated a 'blackout' of a particular name within the US, then clients would just naturally seek out other trusted serv
46.
▲
by
iclelland
15y ago
Pardon? The code is right there in the article -- in this case, for this specific kind of string, at the C level, they very clearly are null-terminated strings. No, you don't get to see that at the Ruby level, it's all nicely abstracted a
47.
▲
by
iclelland
15y ago
That might be the argument elsewhere in the email thread, but it's not apparent from the actual page linked to. Without any other explanation, I'd go with the assumption that the poster thought that this particular email contained an intere
48.
▲
by
iclelland
15y ago
I don't think that assumption has been true since Python 2.4 (released 7 years ago); it's just a persistent myth about Python performance.
49.
▲
by
iclelland
15y ago
Most of the methods are still valid (you'll find out that the results are definitely dated, though) You also need to keep in mind that strings in Python 3 are Unicode-only, so much of the processing will be different. The equivalent to a Py
50.
▲
by
iclelland
15y ago
I would justify that by pointing out that web pages tend to scroll vertically; even (especially?) in landscape aspect, the rendered page is usually taller than it is wide. If you really need to just design the first screenful of a page in l
51.
▲
by
iclelland
15y ago
So, is this the real story behind this post? https://news.ycombinator.com/item?id=3310904 From the original response: "In cleaning up spam on the old site we got a bit overeager and decided it wouldn't make sense to leave the broken remai
52.
▲
by
iclelland
15y ago
Maybe a better question for them to ask is "Why are Ubuntu users staying away from DistroWatch.com in droves?"
53.
▲
by
iclelland
15y ago
Nope. That quote's not on the page that I received (updated content? A/B testing? geographical segmentation? who knows) I did notice this bit, though: "Little Printer sits in your home, but it’s BERG Cloud that does the heavy lifting. Becau
54.
▲
by
iclelland
15y ago
Do you know what else happened with the release of 11.10? They switched from Python 2.7.1 to python 2.7.2 . And it shows the exact same correlation to this sag in downloads as the Unity UI. Clearly, Canonical can't do anything right. Oh,
55.
▲
by
iclelland
15y ago
Sure -- this is like playing roulette, (game A, a constant-losing-odds game,) while simultaneously watching the blackjack table (game B,) waiting for the deck to become favorable. As soon as the card count gets high enough, switch games. On
56.
▲
by
iclelland
15y ago
You can, it just looks like this: map(functools.partial(operator.add,2), [1, 2, 3])
57.
▲
by
iclelland
15y ago
http://en.wikipedia.org/wiki/Ice_IX
58.
▲
by
iclelland
15y ago
Better yet, do this several times per day -- see how long it takes to get your numbers into Google Suggest :)
59.
▲
by
iclelland
15y ago
Not necessarily "all the commits", as I understand it (there's some debate in the thread, so I could be wrong) As long as at least one commit in each merged branch has a generation stored, it's simple to compute without going all the wa
60.
▲
by
iclelland
15y ago
Yes -- almost, but not quite. If you and I each create a branch off of a commit with gen #123, then, as I understand it, the subsequent commits in my branch would be #124, #125, etc., and your commits in your branch would also be #124, #1
More ›