Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jjs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
jjs
16y ago
protected members when everything is immutable is pointless. Except when used to mark the boundary between a stable public API and an internal API that is free to change between releases.
152.
▲
by
jjs
16y ago
I think that's the challenge ITA wants you to solve - recursing 300 levels deep into a list of 1000 movies will literally take forever. As you can see with the 2nd linked article, brute-force just doesn't work. You're not recursing 300 le
153.
▲
by
jjs
16y ago
You're on the right track with the recursive dictionary search. For the Sling Blade Runner problem, I would make a trie ( http://en.wikipedia.org/wiki/Trie ) out of hash tables, like this: trie = { 'dracula': {'': None,
154.
▲
by
jjs
16y ago
Until you get to multiple-word anagrammatic phrases, when it becomes a search problem. (You could index a list of phrases the same way, but users wouldn't be able to type in their name and find out what phrases it jumbles into.)
155.
▲
by
jjs
16y ago
That was just one of many, most of which simply can't be done as iPhone apps (and several of which already exist for Android).
156.
▲
by
jjs
16y ago
He must be using COBOL on Crutches.
157.
▲
by
jjs
16y ago
You should've seen what was going through my head while watching the original iPhone keynote speech... This was before we knew that the iPhone wasn't planned to ship with a native API (or that the eventual API and the phone itself would be
158.
▲
by
jjs
16y ago
Dave != XML; Dave == RSS RSS ⊂ XML
159.
▲
by
jjs
16y ago
I'm excited about the prospect of seeing this on the iPad...
160.
▲
by
jjs
16y ago
IN AUSTRALIA, no less...reminded frequently in school to live in fear from terror falling from the skies http://en.wikipedia.org/wiki/Skylab
161.
▲
by
jjs
16y ago
Wouldn't the mass in the star's chewy nougat center* escape as energy at the speed of light? (* IANAP)
162.
▲
by
jjs
16y ago
REST, by a mile. I've written programs and frameworks that handled both SOAP and REST before, and no, you can't have them, because SOAP needs to die.
163.
▲
by
jjs
16y ago
A few Universe lifetimes, and my .emacs will be all yours. Got it: http://github.com/jrockway/dotfiles/blob/master/emacs
164.
▲
by
jjs
16y ago
You'd think they would have noticed... http://imgur.com/hJ38i.jpg http://imgur.com/b0KjN.jpg
165.
▲
by
jjs
16y ago
Use the machine on yourself first. Then you're guaranteed to make the moral decision.
166.
▲
by
jjs
16y ago
TIM (about six years), while busily engaged in licking a pot, asked, “Papa, how can we be sure that everything is not a dream?” (p. 1) Am I Chuang-Tzu, dreaming I am a butterfly, or a butterfly, dreaming I am Chuang-Tzu?
167.
▲
by
jjs
16y ago
His thesis reduces to: adding any interactivity to art automatically makes it Not Art. I wonder if he's willing to make the same statements about participatory theatre.
168.
▲
by
jjs
16y ago
Read it online: http://craphound.com/littlebrother/Cory_Doctorow_-_Little_Br...
169.
▲
by
jjs
16y ago
On the contrary: http://www.google.com/search?hl=en&q=%22a%20person%20who...
170.
▲
by
jjs
16y ago
How about when your coworker is a Linux genius who is younger than Linux!
171.
▲
by
jjs
16y ago
Some niggling little thing in the back of my mind is saying human remains are one of the few things explicitly prohibited by the US Postal Service. Like this, perhaps? http://news.ycombinator.com/item?id=1270582
172.
▲
by
jjs
16y ago
I saw the live interview and it was great. It seems to me that the charges of fluffiness come not necessarily from "softball" questions, but from the impression that the questions are strictly softball. Seeing you interview, it's very obv
173.
▲
by
jjs
16y ago
It's much less expensive to look for other trees of life on Earth, but is there any reason why a second one on Earth would be any more likely than a first one on, say, Europa or Titan? It might be less likely, as we (you, me, and a couple
174.
▲
by
jjs
16y ago
To answer those questions conclusively, you'll have to write to the Postmaster General.
175.
▲
by
jjs
16y ago
To be "remains", it needn't be indelibly human, just originally human. (e.g. cremated ashes). I don't think the rule specified that it had to be physical remains, although that would certainly make it easier to package.
176.
▲
by
jjs
16y ago
They'd have a hard time getting them from U.S.-based customers: souls, being human remains, cannot be sent by US Mail. ( http://improbable.com/airchives/paperair/volume6/v6i4/postal... )
177.
▲
by
jjs
16y ago
But then the program is still not originally written in JavaScript, so no dice. I believe he meant as a web app.
178.
▲
by
jjs
17y ago
By definition there is only one universe. Ontology recapitulates tautology.
179.
▲
by
jjs
17y ago
The old woman is a normal layperson. If the monk wanted her to act in a more enlightened way, he should have taught her how! She's also justifiably angry. She just realized that she spent the fruits of her own decades of toil to cure a st
180.
▲
by
jjs
17y ago
Story 6 is about the worthlessness of wisdom (Prajñā) without compassion (Karuṇā). In Mahayana Buddhism, both wisdom and compassion are necessary for the Bodhisattva path: wisdom brings enlightenment, but compassion keeps you "in the world
More ›