Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adamtj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
151.
▲
by
adamtj
14y ago
This lacks vision. Petition to make locking cell phones illegal. This is also misdirected. Legislators make and unmake law. Petition them.
152.
▲
by
adamtj
14y ago
This is exactly what Linus was complaining about. Your argument is like trying to claim that twenty lines of string munging is more readable than a straightforward regex. That's only true if you don't really get regular expressions. If you
153.
▲
by
adamtj
14y ago
But "any" short-circuits: that smells the same as a list comprehension for side effects. The beauty of Python is that the one, obvious way to do something is usually the right way. When you try to force something like this, you either run
154.
▲
by
adamtj
14y ago
Everything is unnecessary. Some things are nice. Some of the nicest things are those which reduce cognitive load. Anything that makes it easier for my brain to "lex" the wall of text in front of my face is very nice indeed. The fact that
155.
▲
by
adamtj
14y ago
The argument is over whether the challenge is identical with its spirit or with its statement. Patrick clearly failed the spirit of the challenge. He tried to exploit a loophole in the statement of the challenge. So what which is the act
156.
▲
by
adamtj
14y ago
"new favorite word" not "favorite new word". Also, see http://xkcd.com/1053/
157.
▲
by
adamtj
14y ago
Your "technical person" is incompetent in the same way in which you are accusing the courts: He or she knows nothing about the law. No legal person would throw out a case as you suggest. This is what courts do. They hear cases. They don
158.
▲
by
adamtj
14y ago
2. If you change the thing you're testing, you need to restart the test. Otherwise, you'll have a meaningless jumble of results from two separate things.
159.
▲
by
adamtj
14y ago
The idea that Unix is or should be a collection of small tools is only a corollary to the real point, which is that Unix is not a machine, but a language. A machine can only do what it has buttons for. A language can express ideas that ha
160.
▲
by
adamtj
14y ago
That's some pretty bad typography. Is that really from Apple?
161.
▲
by
adamtj
14y ago
You're confusing things. Strings cannot be utf-8 any more than you can be your signature. "strings" are abstract data structures. They are lists of characters. Not bytes, not integers, but characters. Often, we use the Unicode character
162.
▲
by
adamtj
15y ago
I would argue with Mr Langewiesche that it's not at all useless for the pilot to understand that the top surface of the wing sucks air down. Ice doesn't cause plane crashes just due to adding extra weight. It also changes the shape of the
163.
▲
by
adamtj
15y ago
The main thrust seems to be that if you think CLIs are better, that's only because you haven't seed any good GUIs. To illustrate the point, the author shows an image of cmd.exe (in which somebody is playing an implementation of Zork writte
164.
▲
by
adamtj
15y ago
If it's not working out because wsgi.input can't be read twice, then write a middleware that turns it into a StringIO, and write another middleware that rewinds it. Nothing is going to save you from the fact that you either need to buffer y
165.
▲
by
adamtj
15y ago
That's exactly what WSGI does. Well, except for one brilliant improvement: It doesn't pass around raw HTTP, it passes around pre-parsed HTTP data structures. There are three structures: a response code ("200 Ok"), a list of headers, and
166.
▲
by
adamtj
15y ago
WSGI is _not_ a framework. It's a gateway interface , like CGI. Django is a web application framework . You don't (usually) write apps using a raw gateway interface like WSGI or CGI. You write web applications in a framework like Djan
167.
▲
by
adamtj
15y ago
Life expectancy might not be what you think it is. Life expectancy is average expected lifetime at a particular age. We usually talk about life expectancy at birth . If a population has a high infant mortality rate, then life expectancy
168.
▲
by
adamtj
15y ago
It's a tradeoff. On the other hand, you can more easily implement backup systems that copy directory trees, using hardlinks for files that haven't changed. For example. I don't know the details of how specific filesystems are implemented,
169.
▲
by
adamtj
15y ago
I've read that people sleep less deeply when they've had alcohol.
170.
▲
by
adamtj
15y ago
http://www.thoughtcrime.org/software/sslstrip/ DNS has nothing to do with it. They can arp-spoof your machine into thinking their machine is the gateway. Then all your traffic goes through their machine. If you don't verify certificate
171.
▲
by
adamtj
15y ago
Remember that they would have burned a lot of fuel by that point, so they would no longer be a max gross weight.
172.
▲
by
adamtj
16y ago
http://kodos.sourceforge.net/
173.
▲
by
adamtj
16y ago
Here's what he's using it for: http://vulnarb.com/ It's not for communicating with web developers. It's for publicly and provably, but responsibly exposing vulnerabilities in software. The people/entities who write such software are lik
174.
▲
by
adamtj
16y ago
That's not a percentage. It's likely per 1,000 or 100,000 or something.
175.
▲
by
adamtj
16y ago
That's right, thank you.
176.
▲
by
adamtj
16y ago
There are no ASCII characters > 127. ASCII is a 7-bit encoding. That's why you run into cp1252 all the time if you work with Western European languages, such as English. cp1252 is an 8-bit superset of ASCII designed for Western Europ
177.
▲
by
adamtj
16y ago
General, yes, but useful? You can easily get wildly different numbers by arbitrarily adding and removing steps. "Of those, 20% don't get too discouraged after educating themselves about the process" Now there are 320. Or combine start a
178.
▲
by
adamtj
16y ago
Christopher McDougall, in his book "Born to Run" and in various talks, tells us that humans maintain their endurance until a surprising age. A 49 year old has the endurance of an 18 year old.
179.
▲
by
adamtj
16y ago
"The entire dataset is in RAM." How can they guarantee that, when RAM is little more than a disk cache on modern operating systems? Is there a syscall that prevents specified pages of virtual memory from being paged out to disk? Or is Red
180.
▲
by
adamtj
16y ago
I'm waiting for a tablet that has a physical keyboard with a hinge so I can type fast, with two hands, and with an uptilted screen for readability. As soon as tablets can do that, goodbye netbook!
More ›