Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Luyt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
211.
▲
by
Luyt
14y ago
He's using the incorrect datatype for ap_list. This is apprently the collection of AP's already seen, and used with this pattern: ap_list = [] if AP not in ap_list: ap_list.append(AP) print AP It works, but does a linea
212.
▲
by
Luyt
14y ago
On top of the hassle of using ports... I have a nearly friction-free experience with FreeBSD ports. portsnap fetch && portsnap extract cd /usr/ports/lang/python && make install clean cd /usr/ports/www/nginx &&#
213.
▲
by
Luyt
14y ago
What kind of projects do you want coded? Could you be more specific? [Your email is not in your profile so I couldn't email you privately]
214.
▲
Python speed optimization in the real world
(esr.ibiblio.org)
4 points
by
Luyt
14y ago
|
0 comments
215.
▲
by
Luyt
14y ago
What's wrong with using SQL in your program? As long as your database layer is able to perform parameter substitutions to avoid SQL injection, this is a pretty efficient way to get stuff out of the database (and only the stuff you want). Wh
216.
▲
by
Luyt
14y ago
When I read 'demystified', I expected something that would explain the Fourier Transform in simple terms... something like http://betterexplained.com/articles/an-interactive-guide-to-... does.
217.
▲
by
Luyt
14y ago
Reminds me of 'Towers of Hanoi' somewhat... http://www.youtube.com/watch?v=aGlt2G-DC8c http://en.wikipedia.org/wiki/Tower_of_Hanoi
218.
▲
by
Luyt
14y ago
My one-liner: a = {"fred": 4, "wilma": 8} b = {"t-shirt": 6, "fred": 0} print ", ".join(sorted(set(a).union(b))) or "<none>"
219.
▲
by
Luyt
14y ago
Yes, and when your article appears on Reddit at the same time, be prepared. This happened two years ago with a (rather simple) article I wrote, http://www.michielovertoom.com/python/pastebin-abused/ . I got 35.000 hits that day, almost usi
220.
▲
by
Luyt
14y ago
Ah, "If many believe so, it is so", the Argumentum Ad Populum [1]. In Roman times, 1 million people believed that you could foretell the future by 'reading' the entrails of animals. That so many people believed this, doesn't make it neces
221.
▲
by
Luyt
14y ago
This happened to my bicycle. A thief tried to break the lock, didn't succeed, and instead decided to kick in the wheels and knife the saddle. That left me with €100 damage, almost the cost of the bicycle (a simple city bicycle).
222.
▲
by
Luyt
14y ago
Except the silly 'False = True' at the end. How's that useful?
223.
▲
by
Luyt
14y ago
Also, the dot on the 'i' is missing.
224.
▲
by
Luyt
14y ago
C++Builder and Delphi offer this too, with the '__property' declarator.
225.
▲
by
Luyt
14y ago
I use FreeBSD on my servers, most of them with ZFS. I wish there was some facility (like in Solaris) than as soon as a harddisk in a mirrorset fails, a spare is automatically swapped in. I will probably have to write that myself ;-)
226.
▲
by
Luyt
14y ago
Or, a JSON AddOn for your browser, like http://jsonview.com/
227.
▲
by
Luyt
14y ago
I've made a transcription of the famous 'MongoDB is web scale' video, a humorous conversation between a NoSQL fanboy and a more cautious, conventional database developer: "'And in conclusion, we have found MySQL to be an excellent database
228.
▲
by
Luyt
14y ago
Prop up an actor in a lab coat and you gain instant credibility because it looks so 'scientific'.
229.
▲
by
Luyt
14y ago
"I am not born member of the US "Nation", and feel excluded by this wording." If you want to prevent your screen from going black, you can add ' http://www.causes.com/moment_of_silence.js to your adblocker rules.
230.
▲
by
Luyt
14y ago
A quick meal (10 minutes preparation time) I eat about three times a week. It's highly parallelized: - chop up mixed vegetables and put in bowl, cover with lid, place in microwave, set it for 4 minutes. - put a pan on the stove with some ol
231.
▲
by
Luyt
14y ago
Indeed, and it was still on their agenda in 1998. Microsoft saw Linux as their worst enemy and developed business strategies to eradicate it (by means of 'de-commoditizing'). Then, the 'Halloween Documents' leaked. ESR writes: "In the last
232.
▲
How do we tell truths that might hurt? (E. Dijkstra, 1975)
(cs.utexas.edu)
66 points
by
Luyt
14y ago
|
67 comments
233.
▲
by
Luyt
14y ago
Brrr, reminds me of http://en.wikipedia.org/wiki/The_Metamorphosis (A novel by Franz Kafka, in which a traveling salesman, Gregor Samsa, wakes to find himself transformed into a monstrous vermin.)
234.
▲
by
Luyt
14y ago
I always found it surprising that certain people and governments from the East condemn the West for everything and anything, while embracing the technologies which were invented and developed in that same West.
235.
▲
by
Luyt
14y ago
Although 'strongly typed' shouldn't be confused with 'dynamic typed'.
236.
▲
by
Luyt
14y ago
Birds are often cantankerous and mischievous. Could this be because they evolved form the dinosaurs?
237.
▲
by
Luyt
14y ago
The goes my weekend ;-) Level 7 already
238.
▲
by
Luyt
14y ago
But python code is compiled (and saved as *.pyc files). The compiled code is then executed by a VM, in the same way as Ruby, Java and C# and a lot of other languages work. Therefore, it is a bit stange to see people referring to Ruby or P
239.
▲
by
Luyt
14y ago
You are not the only one. I couldn't keep my eye focus on the text due to the rotating background, and closed the website after reading the first two paragraphs.
240.
▲
Liquid Robotics' marine robot completes 9,000 mile cross-Pacific journey
(liquidr.com)
1 points
by
Luyt
14y ago
|
0 comments
More ›