Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davnola
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
davnola
15y ago
For Ruby there's httparty, https://github.com/jnunemaker/httparty , curb, and a couple of others that escape me right now.
32.
▲
by
davnola
15y ago
It's not the core, it's just the webui. I never use it, choosing in preference the REPL and the `knife` command.
33.
▲
by
davnola
15y ago
Yes it does - good point, but the sigil-tastic snippet in the parent reads the whole file into an array, too - it's just harder to tell. Plus the parent snippet is not Ruby 1.9 compatible. Anyways, my version was just to illustrate that sys
34.
▲
by
davnola
15y ago
Cool. That hurts my eyes. ruby -e "print ARGF.readlines.last(10)"
35.
▲
by
davnola
15y ago
Good question, but the T&Cs do state you can operate in "off-cloud" direct site-access mode http://amzn.to/qHBhqP
36.
▲
by
davnola
15y ago
opscode now have a hosted chef server platform https://manage.opscode.com/
37.
▲
by
davnola
15y ago
Hi Peter, this looks great. Was the decision to make a video rather than an ebook a commercial one or personal preference?
38.
▲
by
davnola
15y ago
Sure and I agree with your point about his example - it's not a good example. Did you read this: We've already added a new feature: any collection can now be displayed as a dictionary I think this a very weak motivation for creatin
39.
▲
by
davnola
15y ago
Your general point about a one-line may be well made but your one-liner doesn't do what Steve's code does. Idiomatic or not, your dictionary will only have letters that correspond to posts' first letters. The OP has the right idea but the w
40.
▲
by
davnola
15y ago
> I personally have no idea why this stuff hits this site that often. May I clue you in? You create interesting quality projects like Mongrel, Mongrel2, Tir, and LPTHW. You are also entertaining. If that's self-promotion, let's have mor
41.
▲
by
davnola
15y ago
Not just the special numbers. Kaprekar's operation always results in a multiple of 9. Given a > b > c > d. Kaprekar's operation gives: 1000a + 100b + 10c + d - (1000d + 100c + 10b + a) =999(a - d) + 90(b - c) =9(11
42.
▲
by
davnola
15y ago
The source is linked from the OP. Here it is: http://slightlynew.blogspot.com/2011/05/who-writes-wikipedia... The author draws a wonderful parallel between bots in the Wikipedia ecosystem and bacteria in the human body.
43.
▲
by
davnola
15y ago
The 3rd paragraph does http://psychology.stanford.edu/~lera/papers/sci-am-2011.pdf
44.
▲
by
davnola
16y ago
Here in the UK top-shelf content means adult-only. Perhaps you meant top-drawer?
45.
▲
by
davnola
16y ago
2 concepts I think are missing from this list: * Tramp for remote/sudo editing: http://www.emacswiki.org/cgi-bin/wiki/TrampMode * emacsclient if you want emacs everywhere all the time: http://www.emacswiki.org/emacs/EmacsClient
46.
▲
by
davnola
16y ago
I love Magit, but don't miss git blame: vc-annotate works really well. P and N navigate the git history of the buffer.
47.
▲
by
davnola
16y ago
> Now you know exactly how the code works (this is the method name, it returns a boolean) No you don't. You know it returns something falsey e.g. nil.
48.
▲
by
davnola
16y ago
Major thanks for html5boilerplate, for Modernizr, and especially for maintaining this page: https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-brow... !
49.
▲
by
davnola
16y ago
Off the top of my head: Amnesty International Greenpeace WWF Red Cross and ICRC Oxfam Numerous planned parenthood organisations Numerous medical foundations Gates Foundation Grameen Bank Numerous arts organisations and Rockefeller/Tate/etc
50.
▲
by
davnola
16y ago
Great article. Recommends building on conventional hash-less URIs and using progressive enhancement e.g onClick handlers to implement hash-bang URIs. Three particularly interesting ideas: * sites should support the _escaped_fragment_ query
51.
▲
by
davnola
16y ago
As I commented below, I expect the translation "move" makes it sound worse than it did in the original. If he means "are self-propelled" or "are mobile", it's slight less wrong.
52.
▲
by
davnola
16y ago
> According to a survey this summer from the National Employment Law Project, only a third of the jobs lost in 2008-2009 were in industries paying less than $15 an hour, but fully three-quarters of the job growth in 2010 came in these s
53.
▲
by
davnola
16y ago
Although I cannot find the original text, I expect the word "move" is not a precise translation because he goes on to say: > Animals, which move, have limbs and muscles; the earth has no limbs or muscles, therefore it does not move. It
54.
▲
by
davnola
16y ago
Is it ready for the mainstream? Apart from not being supported in IE - the browsers that do support it still have quirks e.g. your code has to manually track scroll state.
55.
▲
by
davnola
16y ago
Well caveat visitor and all that! opening-times.co.uk doesn't looks like it carries museum opening hours. Actually a semweb data source of visitor attractions and their opening hours would be a very valuable resource. I don't think one exis
56.
▲
by
davnola
16y ago
Sir John Soane's museum. Quietest on Monday, because it's closed on Monday :) Spotted that immediately, but smart work anyway.
57.
▲
by
davnola
16y ago
Documentation is freaking awesome, but _executable_ documentation is even more awesome e.g. http://relishapp.com/rspec
58.
▲
by
davnola
16y ago
Hashima, AKA Gunkanjima or "Battleship Island". The kind of place that exists in dreams. http://www.ne.jp/asahi/saiga/yuji/gallary/1974/1974-html/07-... http://www.cabinetmagazine.org/issues/7/hashima.php http://gakuranman.com/gunkanji
59.
▲
by
davnola
16y ago
That's the beauty of a DVCS (Git in this case) _not_ Github.
60.
▲
by
davnola
16y ago
"leeb-roffis" works for me
More ›