Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Luyt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
241.
▲
by
Luyt
14y ago
Yes, you are correct. I meant something like: animal->move_random(), where animal can be a dog, cat, or even a bird (with an extra z coordinate ;-).
242.
▲
Adobe demands 7,000 years a day from humankind
(theregister.co.uk)
2 points
by
Luyt
14y ago
|
0 comments
243.
▲
by
Luyt
14y ago
I once got this question from an interviewer, who was a senior dev on the project: "What is a vtable?" My answer was that it was the way in which a C++ compiler makes it possible to do polymorphism (calling base member methods through poi
244.
▲
by
Luyt
14y ago
print "foo=%(foo)s bar%(bar)s" % {foo:123,bar:321} is incorrect. It should read: print "foo=%(foo)s bar%(bar)s" % {"foo": 123, "bar": 321}
245.
▲
by
Luyt
14y ago
That's funny, I wanted something completely opposite: use Django's ORM in a non-web application. I have succeeded in this, thanks to the modularity of Django.
246.
▲
by
Luyt
14y ago
Yes, and no: from the PEP8 style guide: (my emphasis) "Consistency with this style guide is important. Consistency within a project is more important . Consistency within one module or function is most important. But most importantly: kno
247.
▲
by
Luyt
14y ago
Indeed. In this context I must post: http://www.youtube.com/watch?v=N4vf8N6GpdM
248.
▲
VPN ban makes for nervy times behind Great Firewall
(theregister.co.uk)
4 points
by
Luyt
14y ago
|
0 comments
249.
▲
by
Luyt
14y ago
"It's never going to happen because it's lost on them just how hard programming is." This. Becoming a software developer takes an enormous amount of tenacity and patience, and willingness to dive into things you'd rather not dive into. So
250.
▲
by
Luyt
14y ago
> "the first permanent European settlements were port towns for exporting resources like furs and minerals back to Europe" That, or fugitives (either criminal or religious). I don't see a religious group on Earth yet who wants to flee
251.
▲
by
Luyt
14y ago
Mars atmosphere is also very sparse, almost like a vacuum. "The highest atmospheric density on Mars is equal to the density found 35 km above the Earth's surface." source: http://en.wikipedia.org/wiki/Mars#Atmosphere
252.
▲
by
Luyt
14y ago
I use a very simple color scheme for Textmate. Basically black text on a light-yellowish background, with only string literals and comments in a subdued color. I have found that syntax highlighting with many colors distracts from the code.
253.
▲
by
Luyt
14y ago
It had a built-in watchdog with automatic restart of the program: "The normal alarm gives a warning if the computer is inactive for 30-60 seconds. The delayed alarm returns the computer to the beginning of the programme when a period of in
254.
▲
by
Luyt
14y ago
I found some manuals on how to program this computer: Programming manual: http://www.computerconservationsociety.org/Wolv-Manual.pdf Example programs: http://www.computerconservationsociety.org/witch4.htm http://www.computerconservatio
255.
▲
Patent suit targets Formlabs and Kickstarter
(theregister.co.uk)
3 points
by
Luyt
14y ago
|
0 comments
256.
▲
by
Luyt
14y ago
Reminds me of http://www.anybrowser.org/campaign/
257.
▲
by
Luyt
14y ago
Worse, they have animated GIFs in their ads in the right column. Totally detracts from reading.
258.
▲
by
Luyt
14y ago
From http://wikitravel.org/en/Belize this interesting tidbit: "Internet cafes can be found in larger tourist areas, but are infrequent in rural areas. The government does not allow Skype and forces tourists to call out of the country usi
259.
▲
by
Luyt
14y ago
I used this small Python program to download the entire set of PDFs: import urllib for i in range(14173, 14197): url = "http://jacquesricher.com/NEETS/%d.pdf" % i print url urllib.urlretrieve(url, "%d.pdf" % i)
260.
▲
by
Luyt
14y ago
I too, started young. This is from my personal site: I was born in the mid-sixties and got in touch with software programming at an early age. It became my hobby, along with the field of electronics. I was very keen to get to know exactly
261.
▲
Cogs, know when to fall off your wheels
(rachelbythebay.com)
39 points
by
Luyt
14y ago
|
7 comments
262.
▲
by
Luyt
14y ago
Razer is experimenting with a new business model: gathering personal and usage data from players and the PC's they use, to sell to interested third parties.
263.
▲
by
Luyt
14y ago
You could operate a remote vehicle on the back of the Moon from Earth via relay stations in L2 and L4.
264.
▲
by
Luyt
14y ago
The idea is that their electrolysis unit is fed by the generator, which is in turn fed by the hydrogen from the electrolysis unit. To make the contraption somewhat more scientific-looking (and less suspect), they've put two water filters in
265.
▲
by
Luyt
14y ago
What's more, they're leading small (?) quantities of hydrogen into a metal container which (presumably) hasn't been vacuum-emptied beforehand, and so will after a while contain an air+hydrogen mixture, which while technically not oxyhydroge
266.
▲
by
Luyt
14y ago
You can't electrolyze urea by solving it in water and passing electricity through the solution, for that you'd have to melt pure urea and electrolyze that. Problem is that it will decompose above its melting point. So, even when urea is sol
267.
▲
by
Luyt
14y ago
The existing logo is quite good, however, it could be spiced up using a more beautiful font ;-) http://www.michielovertoom.com/pictures/y-combinator-shirt.j...
268.
▲
by
Luyt
14y ago
Yup, and your files you got via FTP. You searched for them using Archie. There was no web; but there was Gopher, and Veronica was the search engine for Gopherspace. Instead of Twittering, everybody was chatting on IRC. And the internet was
269.
▲
by
Luyt
14y ago
Remote backup is indeed very important. Imagine a fire in the server room. Where was the backup tape? Lying on top of the server? Oops...
270.
▲
by
Luyt
14y ago
TRIM/UNMAP. A common problem with SSDs is that a host file system could erase free data but didn't have a way of telling the storage device it no longer needed that data. The TRIM/UNMAP interface lets the SSD clear the LBA (logical block a
More ›