Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tomku
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
361.
▲
by
tomku
14y ago
Generic titles get more clicks, because the reader needs to click through and read the article to find out whether they're affected by the ruling. For the most clicks, headlines need to be specific enough to pique your interest, but vague
362.
▲
by
tomku
14y ago
I think you mean 12.10, if you're linking to Quantal.
363.
▲
by
tomku
14y ago
If the ball cost $0.10, the bat would need to cost $1.10 (a dollar more than $0.10), which would mean that the pair together would cost $1.20, which we know isn't true. To get the right answer, you have to solve the simple algebra equation
364.
▲
by
tomku
14y ago
That's a bash-ism that's controlled by the $HISTCONTROL environment variable, not universally-applicable advice. $HISTCONTROL set to "ignorespace" or "ignoreboth" may or may not be the default, depending on your distribution.
365.
▲
by
tomku
14y ago
The ECMAscript standard[1] and the creator of the language[2] are pretty clear about it. From what I know of parsing, anything phrased in terms of adding tokens post-lexing in order to make an invalid parse tree valid as opposed to encodin
366.
▲
by
tomku
14y ago
For anyone who's interested in the Linux versions, Canonical also announced[1] today that HIB5 purchases will be redeemable via Ubuntu Software Centre. [1]: http://blog.canonical.com/2012/05/31/humble-indie-bundle-5-c...
367.
▲
by
tomku
14y ago
For your Supervisor deployment to actually be secure, you need to make a couple changes. First, you should be using a separate root-owned virtualenv for Supervisor itself. If you use a virtualenv owned by another user, that user can effect
368.
▲
by
tomku
14y ago
You're comparing two solutions that solve completely different problems, and complaining that Comcast (and other ISPs) chose the one that solves their problem rather than yours. I don't know why this surprises you. Comcast's goal is not t
369.
▲
by
tomku
14y ago
This is very questionable reporting. The changes that Comcast are making are flat-out improvements. The old plan is 250gb of usage, then dire consequences. The new plans start at a minimum of 300gb usage, and add extra 50gb chunks for a
370.
▲
by
tomku
14y ago
It's important to note that this is a development release, something that's not immediately apparent from the linked page. This does not replace or obsolete 1.2.0 that came out last month and it is not intended for production use. Rather,
371.
▲
by
tomku
14y ago
For anyone else who was interested, Yehuda Katz gave some more information on Twitter[1]: bundler will give an error if your current Ruby version doesn't match. rvm and rbenv support is forthcoming Looking forward to it! [1]: htt
372.
▲
by
tomku
14y ago
Very interesting. Since bundler's Gemfile is involved in specifying the version, does this mean that bundler itself is going to be jumping into the world of Ruby version management in 1.2, or is it just acting as a dumb conduit to make the
373.
▲
by
tomku
14y ago
Two main points: 1) Exclusive genre is artificial and arbitrary, an incidental relic of the physical book-selling process. It would die whether e-books became popular or not, because people were already shifting their physical book purchas
374.
▲
by
tomku
14y ago
Since you seem to know your database books, is there anything you can tell me about Date's latest, "Database Design and Relational Theory"[1]? [1]: http://shop.oreilly.com/product/0636920025276.do
375.
▲
by
tomku
14y ago
They're looooooong. I read through "Learning Python" and came out a better Python programmer because of it, but it was an epic journey that may as well have involved hobbits and a wizard. I also strongly disliked the author's choice of exa
376.
▲
by
tomku
15y ago
These services are not VPSs. They're basically selling RDP access to pre-installed copies of Windows, where the service provider handles all the licensing and serial keys. The idea is to target non-technical users who want to run MS Offic
377.
▲
by
tomku
15y ago
Important addition to the headline: "in India". TorrentFreak loves vague headlines like this, because you have to click through and read the article to find out whether it's YOUR country.
378.
▲
by
tomku
15y ago
This looks like a cool technique, but what happens if the process gets stuck in a loop somewhere (maybe in third-party code, or waiting on I/O) where you can't put calls to the check method in? Maybe it'd be a good idea to check to see if
379.
▲
by
tomku
15y ago
I was aware of that, but it seems silly to have a separate installation of Scala just for the REPL when the stack includes most of the important stuff already. I guess that I'd be better off just using the individual components instead, for
380.
▲
by
tomku
15y ago
Not much of a fan of the new Typesafe Stack. It doesn't seem to install the scala, play and akka command-line tools like the old versions did. Is there a way to get a straight Scala REPL, or does everything have to go through giter8 and s
381.
▲
by
tomku
15y ago
You should also mention that it adds vi-style keybindings for the main page, which is at least as awesome as the killfile. I use RES on Reddit mainly for its keybinds, and I've been looking for something similar for HN for ages. Thanks!
382.
▲
by
tomku
15y ago
His postscript is a debatable improvement, as input() in Python 2.x (which was what the article was written using) actually evaluates the input as a Python expression before storing it. It's equivalent to wrapping the input functions that
383.
▲
by
tomku
15y ago
The factorial itself is only defined for non-negative integers. This may seem pedantic, but what you've defined there is actually Gauss's pi function, which has many interesting mathematical properties, but is not equivalent to the factori
384.
▲
by
tomku
15y ago
Two answers, really. 1) The Python community doesn't really like lambdas. It's almost always considered better style to declare a named function, even if it's a short one-liner. If it's already available in the standard library, use that
385.
▲
by
tomku
15y ago
The "Python expert" version doesn't run, but it's not hard to fix: import operator as op import functools as f fact = lambda x: f.reduce(op.mul, range(1, x + 1)) print(fact(6)) If you're using Python 2.x, you can make it a bit
386.
▲
by
tomku
15y ago
$125/user is the amount it costs to add another user to a Dropbox for Teams account after your first five users. https://www2.dropbox.com/teams/pricing
387.
▲
by
tomku
15y ago
Did you guys (or the MRI guys, not sure where the bug was) ever fix whatever forced the use of JRuby on Windows in previous versions, or is it just bundled with the installer now? Either way, grats on the release, Vagrant is a really usefu
388.
▲
by
tomku
15y ago
Your link should probably be to: https://twitter.com/#!/timberners_lee/status/160414269173800... The mobile link brings up a signup page for some reason.
389.
▲
by
tomku
15y ago
This is absolutely awful reporting. They didn't "break into the document" and change the links, they just posted a version with links to their trojaned version, and got it going around on social networks competing with the original. The "u
390.
▲
by
tomku
15y ago
I hadn't tried it before, but VLC 2.0 is a very impressive improvement over 1.x. I don't have an extensive library of files with crazy features, but it handled everything I threw at it fine. Hopefully they'll keep improving, it's good for
More ›