Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Erwin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
661.
▲
by
Erwin
16y ago
Sounds like a reasonable amount compared to what RIAA is trying to get in a full suit. Here the penalty for taking public transportation without a valid ticket is roughly 50 times the cost of the ticket (and the excuse that you wouldn't hav
662.
▲
by
Erwin
16y ago
Just vitamin D -- deficiency (if you're not getting enough by being out in the sun) may cause all sorts of mild but strange nervous system symptoms, like passing numbness in various parts of your body and weak muscles (unfortunately these a
663.
▲
by
Erwin
16y ago
Assuming the .dk domain means he's Danish, I can tell you that there's no common Danish expression that would translate to "rape". We're not Vikings anymore. More likely that choice of word comes from online first-person shooter games lingo
664.
▲
by
Erwin
17y ago
This was no ordinary police raid, but apparently some kind of special task force designed to deal with computer/high-tech crimes, trade secrets violations etc. Google cache link (they seem to be getting a lot of attention right now..): htt
665.
▲
by
Erwin
17y ago
We must be running different versions of sar then, as "sar" by itself here (RHEL 5) shows information about the time split between user/system/waitIO/idle -- that certainly does not come from /proc/loadavg. If you run "sar -q" you could get
666.
▲
by
Erwin
17y ago
I prefer looking at output of "sar" which shows you nicely, in 10-minute increments, how idle the system was today (and I think usually this data captured is rotated daily for a month), and gives you also a good idea of whether you have pro
667.
▲
by
Erwin
17y ago
Related ebook about pushups: http://www.lulu.com/product/download/the-little-book-of-push... I've found occasional pushups a rather convenient exercise to do when working from home.
668.
▲
by
Erwin
17y ago
I find it incredible that he's a Japanese Salaryman having recently read another such peron's Q&A on reddit: http://www.reddit.com/r/IAmA/comments/bewof/iama_salaryman_僕... Seems like once you've finished working 10 hours every day fo
669.
▲
by
Erwin
17y ago
Do you need subdomains specificially, or just different addresses that resolve to localhost? If so you could use e.g http://127.1:3000/ , http://127.2:3000/ etc. (or the full 127.0.0.1 127.0.0.2 if your browser doesn't like 127.1).
670.
▲
by
Erwin
17y ago
The berkeley interfaces that come out of the box with e.g. Python don't have any of the advanced features that the sqlite interface has, e.g. concurrent access. Any advanced usage of Berkeley DB is far more complex than sqlite, e.g. try ope
671.
▲
by
Erwin
17y ago
Cool. I wonder what's happening with KLM 7021: http://i.imgur.com/ulwdC.png -- it seems to have taken off Amsterdam, then flew to the coast of Norway where it flew in circles.. then decreased the height while flying to Billund, Denmark, t
672.
▲
by
Erwin
17y ago
This affects the exception that causes the program to exit only. It does not affect exceptions caught and handled.
673.
▲
by
Erwin
17y ago
Note that the vast majority of the sqlite tests are functional tests written in TCL and are not "real" unit tests. His test test stuff like "does select (this, this, this) return that under these circumstances. There's some test setup stuff
674.
▲
by
Erwin
17y ago
To post a comment the first option you can select is "Optional: Sign in with Facebook" which opens a Facebook login window. Which is why most of those commenters had that [f] in their comments. So perhaps they thought they were somehow log
675.
▲
by
Erwin
17y ago
I've installed it on two RHEL/Centos machines so far, I'm planning to put it in some production systems in a maintenance period just to be sure of no issues (though I wouldn't be surprised if my datacenter vendor (whose name I won't reveal
676.
▲
by
Erwin
17y ago
Python (and probably every other dynamically typed language that does use the tagged pointers trick) has the same issue, even worse on 64-bit. Allocating [sys.maxint-1 for x in xrange (1000 * 1000)] takes up 36 megabytes of memory. Allocati
677.
▲
by
Erwin
17y ago
This sounds rather similar in principle to Python's Shedskin compiler, which turns ordinary Python code in C++ code, using C++-based runtime replacing the ordinary Python runtime. This works extremely very well on a certain class of problem
678.
▲
by
Erwin
17y ago
I ran the Python script through Shedskin, a partial Python implementation that compiles Python to machine code via an intermediate layer of C++. I did not have to declare any types for any variables, or add declarations for speed/safety; Sh
679.
▲
by
Erwin
17y ago
Agreed, when searching for some kind of library that might potentially be of use to me, it's extremely annoying to have to fill in a form requiring name, position, phone, address, fax number and whatnot; or to go through a lengthy registrat
680.
▲
by
Erwin
17y ago
It has a basic web browser, but for international customers it seems most sites are restricted -- I can only browse Wikipedia (it uses the mobile version, http://en.m.wikipedia.org/ ) I suspect the deals they've had to do with however man
681.
▲
by
Erwin
17y ago
I'm pretty sure someone built a Python like that, but it did not work out. Someone whose name I don't recall from the #python freenode channel. I think perhaps C module were one of the issues, or sharing of global scopes (which then need fi
682.
▲
by
Erwin
17y ago
Interestingly, a trivial production program, http://pastebin.com/m6eb5ac73 became several times as slow with it. A simple affair that removes entries in file A that are in file B, by reading contents of B into a set then iterating over A,
683.
▲
by
Erwin
17y ago
Is the code editor they're using something publicly available? I'm looking around for a light in-browser code editor with programmer-oriented features (e.g. syntax highlighting, this also seems to auto-indent Python code to some degree).
684.
▲
by
Erwin
17y ago
NSA has been contributing to Linux development for longer: http://www.nsa.gov/research/selinux/
685.
▲
by
Erwin
17y ago
64-bit made things worse, especially if using interpreted languages which often have convenient but complexly indirect structures. E.g. creating this: d = dict((x,x * 42) for x in xrange(100000)) a dictionary with 100k items in
686.
▲
by
Erwin
17y ago
Well, if you acted in good faith I'm sure that would be a fair defense. For example, buying stolen goods is illegal in most countries. If you're buying something used for 60% of retail price off a classifieds site that turns to be stolen, t
687.
▲
by
Erwin
17y ago
I've found this addition to BeatifulSoup useful: http://code.google.com/p/soupselect/ which lets you use CSS expressions to find what you want.
688.
▲
by
Erwin
17y ago
Asimov wrote a novel about this: http://en.wikipedia.org/wiki/Nemesis_(Isaac_Asimov_novel) Not to be confused with the "Nemesis" by Clarke which is about something different apparently.
689.
▲
by
Erwin
17y ago
Read the fine print though -- it seems like the 3G access can only be used for books outside of US (I checked UK and Denmark, and both say "Blogs and the experimental web browser are currently not available for your country"). Not sure abou
690.
▲
by
Erwin
17y ago
Looking at amazon.com's store, many books are not available in Europe .e.g. "The Angel's Game" or even Dan Brown's latest. Comparing the top sellers list (assuming you buy a Kindle hoping to get new books for $10 kindle prize rather than $2
More ›