Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Deestan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
571.
▲
by
Deestan
17y ago
> I wish Python just had some kind of anonymous function syntax that was more rich than lambdas A lot of people keep saying this, including the article author, and I'm having trouble understanding why. Lambdas are for "one-liners", fun
572.
▲
by
Deestan
17y ago
It's one thing to work for "free" for Science. It's another thing to work for "free" for company owners who already own three yachts and a personal helicopter.
573.
▲
by
Deestan
17y ago
This is the soon-to-be-dead spam post linking to a page selling cheap replica watches.
574.
▲
by
Deestan
17y ago
This comment shamelessly replies something vaguely relevant to the highest scoring root comment in the hope of attracting trickle-down karma.
575.
▲
by
Deestan
17y ago
Does the article mix his quotes up a bit to "spark controversy", as journalists are so fond of? The gist his quoted statements seem to be "Google are evil because they compete with one of our products". I thought it was common knowledge th
576.
▲
by
Deestan
17y ago
To add to the evidence, I'm an experienced Python programmer who is currently waiting very impatiently for his Amazon shipment of "Real World Haskell" and "Purely Functional Data Structures". (Oh, and "Garfield Minus Garfield".)
577.
▲
by
Deestan
17y ago
Bored Python programmer: def fact(l): return sum(map(bool,reduce(lambda I,l:''.join([l for I in I]), ['+'+'+'*l for l in xrange(l)]))) assert fact(6)==720
578.
▲
by
Deestan
17y ago
> You need to switch back when using other peoples’ computers. I find it's exactly like speaking two languages. I have no problem just typing QWERTY on other people's keyboards, though it is slow going for the first minute if it's been
579.
▲
by
Deestan
17y ago
Yes, I mean something else. :) When "--close-branch"-ing or merging back to "default" are closed and hidden in the branch list, but still present in the revision tree, and you get warnings if you try to create a new branch later with the s
580.
▲
by
Deestan
17y ago
Not really. In my subjective(+) opinion, Hg Queues are designed to work around the suboptimal design of branches in Hg. Mucking about with a lot of small commits is a Good Habit and very useful when working from two different computers,
581.
▲
by
Deestan
17y ago
I know, but it should still be enough for me to tell the guy at the accounting that "this is my primary job" and possibly "I estimate earning 500k total this year.". Though I'll be quick to admit the tax card is not a very big problem. :)
582.
▲
by
Deestan
17y ago
Hello former fellow countryman. :) We can do most corrections online now. The only major thing to complain about with the paperwork now is the taxation card describing how much of your wages should go directly to the government. Essential
583.
▲
by
Deestan
17y ago
A lot of people seem to think using light switches for anything is a good idea. Popular sins off the top of my head: - Light switch used as apartment doorbell. Mine sits right beside the hall lightswitch. - Light switch used as door opene
584.
▲
by
Deestan
17y ago
http://pyglet.org/ is a nice OpenGL-and-stuff-wrapper for Python. In my opinion it is a very easy API to work with.
585.
▲
by
Deestan
17y ago
To his defence, he did specify it was for XP only.
586.
▲
by
Deestan
17y ago
Design documents and complex diagrams don't belong in code, but a simple ASCII diagram right there in the code to illustrate how the transformation tree is created: - is always within easy reach of the eye. - is harder to forget about when
587.
▲
by
Deestan
17y ago
I recommend reading on; he goes on to argue how it is generally a Good Thing.
588.
▲
by
Deestan
17y ago
Warning: If you have 64-bit Vista, explorer will crash and restart when trying to draw the folder icon. In other words, do not create this folder on your desktop. I had to reboot into safe-mode-commandline to get rid of it. :-/
589.
▲
by
Deestan
17y ago
You should take inspiration from Progress Quest: http://www.progressquest.com/ They've masterfully abstracted away every part of your standard MMORPG that doesn't require thinking.
590.
▲
by
Deestan
17y ago
Anything that is part of the programming routine should be severely optimized. Every little bit not only adds up, it often multiplies in big enough projects. In one of our big products, we have several build steps that touch upon the so
591.
▲
by
Deestan
17y ago
Funny, but not a correct answer. The XKCD comic is based on the point that getRandomNumber() gives you a random (i.e. selected randomly at coding time) number, but it isn't a random number generator like its name implies. The Dilbert troll
592.
▲
by
Deestan
17y ago
And it should(+) always be refactored to match the new assumptions in a meaningful way. I get your point, I just meant that "doesn't work" is quite a stretch from "doesn't allow ugly global variable hacks". (+) http://xml.resource.org/publ
593.
▲
by
Deestan
17y ago
Being forced to re-design code written with the wrong assumptions doesn't qualify as proof that (purely) functional programming "doesn't work".
594.
▲
by
Deestan
17y ago
> The complex knowledge required to develop such software is subject to intellectual property rights, making it difficult to turn into a commercial product. Intellectual property rights aren't a security mechanism. If the people in powe
595.
▲
by
Deestan
17y ago
Excellent point. Why are people discussing 250$ for a game-able keyboard when you can buy a decent gamepad for less than 50$?
596.
▲
by
Deestan
17y ago
Article appears to be deleted. Cannot find anything with similar title in recent archives either.
597.
▲
by
Deestan
17y ago
> Is uber-productivity significantly enhanced by choosing the right development methodology (e.g. test-driven development)? Yeees...-ish. All methodologies have their pros and cons. Therefore you should be experienced in as many of th
598.
▲
by
Deestan
17y ago
> I just saw that i did write "OOP is better than other paradigms" and corrected that. Good. :) I guess it was mainly that sentence that got me into the wrong mindset. I read through the rest believing that it was along the same lines
599.
▲
by
Deestan
17y ago
I think this article is uneducated and useless. He declares OO superior to all other paradigms by giving a few scenarios where it is better than procedural programming. As far as I can see, all the Good Things he points out in OO are (oft
600.
▲
by
Deestan
17y ago
Thanks for the link. I've just watched a sunrise from the surface of Mercury. :)
More ›