Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
limmeau
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
331.
▲
by
limmeau
16y ago
Nah, too expensive if done correctly. In STTNG, people always give their pads away.
332.
▲
Mental hashing for paper address books (with Python)
(lists.canonical.org)
49 points
by
limmeau
16y ago
|
11 comments
333.
▲
by
limmeau
16y ago
What differences between Army and Marines do you see?
334.
▲
by
limmeau
16y ago
Example video with piano: http://vimeo.com/8732631 .
335.
▲
by
limmeau
16y ago
1) Good example for a one-off object implementation; however, creating a one-off class and then an instance is just one more line. 2) Actually, I don't mind if adding methods to other developers' objects is hard; it always seemed to me like
336.
▲
by
limmeau
16y ago
And even in its small size, Lua has its ways of being complicated. The interaction of multiple return values with varargs, for example. Or having to use pcall when you want exception handling. Or the distinction between the length and the s
337.
▲
by
limmeau
16y ago
I don't see much difference between a duck-typed language in which callables with capitalized name are just expected to produce objects which obey a certain duck type, and a prototype language. The problem to which super is a (general and t
338.
▲
by
limmeau
16y ago
Splitting the same hair from the other side: If an experimental fine-grained locking variant of CPython scales better for, say, CPU-intensive multi-threaded programs on eight-cores, then the decision to use a GIL instead of fine-grained loc
339.
▲
by
limmeau
16y ago
And, while we're at it, multiple inheritance: http://www.google.com/codesearch?hl=de&lr=&q=class\s...
340.
▲
by
limmeau
16y ago
The GIL is actually a way of keeping Python internally un complicated at the price of lost efficiency. String formatting: that's a case of the "explicit is better than implicit" dogma. As for "complicated": I'd rather explain to a newbie t
341.
▲
by
limmeau
16y ago
So why use OpenSSL, then? It's been written by people I don't know. Some of them may be Vigilants. Some of them may be secret members of the Wikileaks team. One of them even studied only 12km from the BND headquarters. It has had exploitabl
342.
▲
by
limmeau
16y ago
I recommend C because it will improve your understanding of what happens below the hood. (I'm not against learning a functional language, but that direction has been recommended enough by now)
343.
▲
by
limmeau
16y ago
If by "program", you mean something computable in the usual Turing-equivalent sense, and without access to a physical random number generator, then the output is always trivially predictable by recreating the initial conditions somewhere an
344.
▲
by
limmeau
16y ago
What's in that starter kit for $50? Just tea? (BTW: another gift idea: an infrared thermometer and a copy of Cooking for Geeks.)
345.
▲
by
limmeau
16y ago
Ideas for the range below 10EUR/$10: a TI LaunchPad for the future microcontroller enthusiast ($4.30) a bag of Sugru ( http://www.sugru.com ) Ideas for the near-zero range: a hand-made pen-and-USB-stick etui ( http://zeughaus.pechfunk.de/p
346.
▲
by
limmeau
16y ago
Nice web design, looks very professional. (Although I'm not the target market because I don't mind installing Handbrake and Evom) On the custom encoding options, I only see 4:3 sizes, no 16:9. Is that intentional?
347.
▲
by
limmeau
16y ago
A late-90s playstation role-playing game I've never heard of. I like it when codenames trigger a Wikipedia binge.
348.
▲
by
limmeau
16y ago
Even for billing and to detect fraud, it should be sufficient to just record the date and fare and delete them after one billing cycle.
349.
▲
by
limmeau
16y ago
But still, BMW gets associated with technological innovation (if only in the field of cinema advertisement).
350.
▲
by
limmeau
16y ago
My guess: for those cases when you want to invite someone. You could either tell them "just click yourself through mail.google.com" or send them a ready-made link in one go. Some people may prefer the latter.
351.
▲
by
limmeau
16y ago
Sometimes I find language features "exciting" although they're not brand-new.
352.
▲
by
limmeau
16y ago
Generics that aren't erased. Properties. Iterators. LINC. Lambdas.
353.
▲
by
limmeau
16y ago
Self-upvoting is at least bad style. I'm not advocating to do it, just trying to estimate the minimum price if one wants to get karma somehow. As for negative karma, does HN actively detect sock puppets to punish them?
354.
▲
by
limmeau
16y ago
The price of one karma point is upper-bounded by the cost of making it yourself. Since you could just create a sock puppet to upvote yourself (assuming newbies may vote -- haven't kept track of the catalog) in a minute, and the minute is wo
355.
▲
by
limmeau
16y ago
Isn't? Both my Java course and the competing C++ course used Subversion. (Well, at least for submissions).
356.
▲
by
limmeau
16y ago
At least version control and writing good documentation are orthogonal to the choice of language.
357.
▲
by
limmeau
16y ago
Having taught/TA'd first-year university programming courses in both Scheme and Java, I find the idea of a teachability-oriented imperative OO programming language quite appealing. Our first-semester course used DrScheme, and the simplicity
358.
▲
by
limmeau
16y ago
I don't get how subclasses are super sets of their parents. The set of instances of a subclass is a (usually proper) subset of the set of instances of its superclass (in any mainstream class-OO language). Also, writing a subclass definitio
359.
▲
by
limmeau
16y ago
Yes, I agree. I wasn't actually suggesting to sprinkle instanceof-checks throughout the code. What I was trying to get to: if you accept the existence of single-method ducktypes (like "things that have a walk() method" oder "things that hav
360.
▲
by
limmeau
16y ago
What exactly is the bad idea here? Having more than one method in a duck-type?
More ›