Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lubutu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
181.
▲
by
lubutu
15y ago
How about putting two random Street Views side by side and letting people pick the best view?
182.
▲
by
lubutu
15y ago
I agree. I write Python all the time, and I would have expected something like list(*a).
183.
▲
by
lubutu
15y ago
I wonder whether it would be possible to optimise the Python interpreter to make deep copies copy-on-write. I suppose that would involve a lot of work for relatively little gain.
184.
▲
by
lubutu
15y ago
I always found iBooks' attempt at skeuomorphism really off-putting, at least on the iPad: the size of each page will change depending on whether you hold it portrait or landscape, and so the number of pages, and on which pages text can be f
185.
▲
by
lubutu
15y ago
So if we have polymorphic types, and now polymorphic kinds, if we call those first- and second-order polymorphism, why can't we extend this to higher orders? For instance, third-order would be when our kinds' types are also polymorphic.
186.
▲
by
lubutu
15y ago
Well, in this instance you wouldn't need any work factor, since it would always take half a second. And if a zero work factor hash is taking half a second to complete, something is very wrong... But granted, for almost all cases it would
187.
▲
by
lubutu
15y ago
My earlier comment (which was for some reason downvoted) also solves this problem: you will always sleep for half a second, timer resolution is irrelevant, and if an attacker bogs down the system such that bcrypt takes longer than half a se
188.
▲
by
lubutu
15y ago
Just set a half-second timer, run bcrypt (or don't), and then respond when the timer goes off.
189.
▲
by
lubutu
15y ago
Admiring nature and animals doesn't lead to my becoming a biologist, nor drinking beer lead to my founding a brewery. You can appreciate something without having to really understand what is going on beneath the surface. We are just predisp
190.
▲
by
lubutu
15y ago
I much prefer to have vocals in my music, so my solution is to listen to songs in a language I don't understand or no language at all — Faye Wong, Cocteau Twins, Sigur Rós, etc.
191.
▲
by
lubutu
15y ago
Nitpick: you mean /dev/zero. /dev/null is an empty void.
192.
▲
by
lubutu
15y ago
This is why I think the subdomain should be included...
193.
▲
by
lubutu
15y ago
It's impressive how lossy-compressed that PNG image is. The button artwork really needs some love...
194.
▲
by
lubutu
15y ago
Thank you for posting this. I'd not heard of David Foster Wallace, but having read this and watched an interview, I've ordered a copy of Infinite Jest. Sounds like he was a brilliant man. Thanks.
195.
▲
by
lubutu
15y ago
The only language I know which actually uses "colour" in its standard library, is Occam, designed in Bristol. Are there any others? (Nitpick: "socialize" is the original spelling; "socialise" was a change in spelling on our side of the pond
196.
▲
by
lubutu
15y ago
The poignant guide was whimsical until chapter 6, at which point _why becomes the true "bipolar artist programmer". It's beautiful, in its own terrifying way.
197.
▲
by
lubutu
15y ago
Aside from all the hatred for Odio, in utilitarian terms this outcome may have been better than if the experiment were just to continue. One can complain that it's all about higher horses, but I doubt the children who may be fed or clothed
198.
▲
by
lubutu
15y ago
"Polyglot" in this case is referring to a person who can write in multiple languages, not a program written in multiple languages.
199.
▲
by
lubutu
15y ago
These tables are comprehensive, but the authors don't seem to actually understand the languages' idioms. Over on the ISWIM-family page the Haskell "command line args" program is ten lines long, when it could be: import System main = g
200.
▲
by
lubutu
15y ago
Despite what this article says, "cd --" is equivalent to "cd", which is equivalent to "cd ~".
201.
▲
by
lubutu
15y ago
The problem with FTP starts with the protocol. It's tragic that this startup doesn't use something like SFTP.
202.
▲
by
lubutu
15y ago
Some of these stories are really enjoyable. They remind me of the tales told by the Young Lady's Primer in Neal Stephenson's "The Diamond Age". I wonder how plausible it would be to write an entire book with a long and colourful tale of wiz
203.
▲
by
lubutu
15y ago
I suppose there are, but I'm not so sure they have fancy open conferences devoted to chemical plant terrorism. Like I said, I don't know where I stand.
204.
▲
by
lubutu
15y ago
I'm unsure where I stand on this subject, but this excerpt from Jaron Lanier's "You Are Not A Gadget" seems relevant: "There are respectable academic conferences devoted to methods of violating sanctities of all kinds. The only criterion is
205.
▲
by
lubutu
15y ago
I really think the two paradigms can be combined: you can have a command line which makes suggestions as to what you mean (like tab completion), but also just takes what you've typed and works out what to display in response, even before yo
206.
▲
by
lubutu
15y ago
Ctrl is a modifier key. You'd really prefer not to have Ctrl-C, Ctrl-V, etc? Each to their own, I suppose.
207.
▲
by
lubutu
15y ago
I think it comes down to whether you want to teach programming, or computer science. If it's the former, just teach to POKE with BASIC. If it's the latter, I think you'll quickly find yourself in want of a more sophisticated language, in or
208.
▲
by
lubutu
15y ago
musl's abort() is quite elegant: http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=sr...
209.
▲
by
lubutu
16y ago
fine fine, i've changed the code slightly. sometimes i wonder whether i am too imprecise for a programmer. :o
210.
▲
by
lubutu
16y ago
that is very confusing, but fair enough. it at least seems to work in the sample code.
More ›