Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dripton
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
241.
▲
by
dripton
15y ago
Obviously, the LICENSE file wasn't there when I posted my snarky comment. Props to the author for adding one, though, since now I know that I can use this code.
242.
▲
by
dripton
15y ago
Neat. I've wanted ZeroMQ in my browser. I checked the README file for a license, but instead it says "ZeroMQ in your brower, yo!" Which tells me that: 1. I can't use it. 2. The author is 12. 3. It probably doesn't work.
243.
▲
by
dripton
15y ago
No, they also asked for my email password, so they could harvest my address book. It was optional, but optional phishing is still phishing. Maybe they've stopped doing that now, but they were doing it a year ago.
244.
▲
by
dripton
15y ago
I tried signing up for a Udacity course once, but they asked for my email password, which I consider phishing. They're on my boycott list now.
245.
▲
by
dripton
15y ago
I am not a lawyer, but the DMCA makes an exception for compatibility. So I believe you have the right to break the DRM on a Kindle book so that you can read it on Linux.
246.
▲
by
dripton
15y ago
It may be a more capable device, but I seriously doubt it's cheaper. Kindle Fire is $199 no strings attached. Android phones costing less than that up-front tend to come with 2-year voice+data contracts at $50+ per month, or at least $120
247.
▲
by
dripton
15y ago
dub-dub-dub
248.
▲
by
dripton
15y ago
I doubt it. For example, there was a famous study a few years ago showing that NFL teams punt way too often. ( http://fifthdown.blogs.nytimes.com/2009/09/17/a-new-study-on... ). It didn't seem to have much effect on play-calling. Being co
249.
▲
by
dripton
15y ago
Where's the link to the actual regulations? I hate articles like this that could easily refer to the primary source, but fail to do so.
250.
▲
by
dripton
15y ago
Hell, I'm a grownup with a job, and I don't have a smartphone. They're very expensive toys.
251.
▲
by
dripton
15y ago
Of course, if you just want to launch programs by typing a word, you don't need Unity. You can just type their names into a terminal.
252.
▲
by
dripton
15y ago
Maybe. cpyext is a hack to let PyPy run Python/C API modules. It works for some, but not all, and it's slow. I'm sure it'll keep getting better, but not sure if it'll ever be good enough to run PyGTK or PyQt. PyPy has good support for cty
253.
▲
by
dripton
15y ago
My grandfather had stomach cancer in the 1960s, when he was in his 40s. He was very fortunate that it was detected quickly and removed successfully. He ended up dying of a heart attack in his 70s. Nobody lives forever, but some people do
254.
▲
by
dripton
15y ago
Yep. The GIL means that individual Python bytecode operations are atomic, and so by extension single Python statements that translate to individual bytecode instructions can be treated as atomic (if you don't care about portability to alte
255.
▲
by
dripton
15y ago
This is why pair programming and code reviews work so well.
256.
▲
by
dripton
15y ago
Pedestrian and bicycle fatalities outnumber car occupant fatalities in Manhattan for this reason. I saw a billboard last time I drove through NYC, explaining why the speed limit is 35 rather than 45. It basically said that if a car hits a
257.
▲
by
dripton
15y ago
3 hours? You're doing something wrong. I just built PyPy in 49 minutes on a $99 3 GHz Phenom II.
258.
▲
by
dripton
15y ago
Last fall I had two roughly equal job offers, one for a telecommute, the other for a job 12 miles away. I took the one 12 miles away, partly to avoid losing my bike commute. I figured losing 90 minutes per day of forced exercise would be b
259.
▲
by
dripton
15y ago
The article seems to make the unstated assumption that every commute is in a car. My bike commute is one of the best parts of my day. In fact, I turned down a telecommute job so that I could continue riding to work.
260.
▲
by
dripton
16y ago
Of course the company is the customer and you are the product. They pay; you don't. Follow the money.
261.
▲
by
dripton
16y ago
My mother-in-law bought me a Lego F1 Ferrari for my birthday a couple of years ago. Probably the best gift I've received since I was a kid. Because it turns out that I still I like playing with Lego, but I no longer think to buy it for my
262.
▲
by
dripton
16y ago
I have a use case for this in a wargame with hidden units. You know the size of an opponent's stacks, and the total forces he commands, but not always which units are in which stacks. But you can observe some, and deduce some, and guess s
263.
▲
by
dripton
16y ago
Yes, I'll include IronPython next time. IronPython is at 2.6. PyPy and Jython are at 2.5. psyco is at 2.6. Most of my Euler solvers are compatible with Python 2.5. The ones that don't work in 2.5 end up getting excluded from the benchmar
264.
▲
by
dripton
16y ago
You want me to port all my Project Euler solutions from Python to Lua so that I can tell you that LuaJIT is much faster than any Python implementation, which you already know?
265.
▲
by
dripton
16y ago
Yes, I will also include peak memory used next time.
266.
▲
by
dripton
16y ago
I thought about that, but decided against subtracting out startup time. This is a real-world benchmark of how long it takes to run some actual code that I care about. Startup time counts, but the cumulative execution time will be dominate
267.
▲
by
dripton
16y ago
As does every other JIT. This is an apples-to-apples comparison.
268.
▲
by
dripton
16y ago
Yes, execution time in seconds. And I throw out any program that fails on any Python, or takes longer than a minute on any Python.