Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mhansen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
211.
▲
by
mhansen
16y ago
By 'an AJAX call', do you mean having the client periodically ping the server, and then cleaning up the session if the ping times out?
212.
▲
by
mhansen
16y ago
He suggests keeping the cart clientside in (e.g.) a javascript array.
213.
▲
by
mhansen
16y ago
They're about the same amount of trippiness. Boyer-Moore makes the same kind of jump table, except Boyer-Moore starts comparing at the end of the search string.
214.
▲
by
mhansen
16y ago
ASCII is 7-bit (encoded in 8 bits - the high bit is ignored) and UTF-8 takes 8 bits for most characters, but can take 16+ bits for some characters. Node is built for massive scalability on applications that (mostly) pass text from one sourc
215.
▲
by
mhansen
16y ago
There's a lot of effort been put in to this, I like it. I love that you can hear the bubbling in bubble sort :D
216.
▲
by
mhansen
16y ago
I don't understand. Can you elaborate on what you mean by 'weird' and why the BSD's do better?
217.
▲
by
mhansen
16y ago
It's meaningless to add temperatures when the zero level is at +273. It's like adding years relative to 2010 years ago - it would be meaningless to add this year - 2010 - with (say) 1666 - the year of the Great Fire of London. It's meanin
218.
▲
by
mhansen
16y ago
It could be Layer II routed - then the intermediate hops won't show up in traceroute (a Layer III protocol)
219.
▲
by
mhansen
16y ago
The first sentence in TFA: Oracle Corp. said Thursday it has filed a copyright-infringement lawsuit against Google Inc.
220.
▲
by
mhansen
16y ago
There aren't really Javascript frameworks that aren't explicitly asynchronous. - The browser-based APIs are all asynchronous - The other serverside JavaScript libraries will rely on blocking APIs that aren't supported in Node.JS, so they wo
221.
▲
by
mhansen
16y ago
Hey, Chrome lets you expand it with a resizer on the corner. That's something
222.
▲
by
mhansen
16y ago
Anything for Chrome on Linux?
223.
▲
by
mhansen
16y ago
Fugitive has been the most lifechanging one. Takes working with git to the next level: - view diffs of the current file with vimdiff - stage from within vim - commit from within vim - blame from within vim - repository-wide grep
224.
▲
by
mhansen
16y ago
How does it compare with cygwin? Can I fire up bash with SUA?
225.
▲
by
mhansen
16y ago
Among other things, I learned that: the powerful type system eliminates a large class of bugs the compiler eliminates the long name spaces (and the corresponding run-time look ups) getters/setters actually lead to better
226.
▲
by
mhansen
16y ago
Disqus. Didn't know of the others. Disqus do a great job with the UI, threaded comments, liking, etc.
227.
▲
by
mhansen
16y ago
Didn't they just add that feature? http://www.linode.com/backups/
228.
▲
by
mhansen
16y ago
Most new games I see have cleverly disguised the tutorial as the first few levels (probably because everyone skips them). Instead of explicitly introducing concepts, concepts are introduced in-game one by one. There's a gentle ramp-up, and
229.
▲
by
mhansen
16y ago
Say some "<script>do_bad_stuff();</script>" got through from some source you just expected to have text. (e.g. this happened for youtube the other day) If you insert this into the DOM with html(), it will execute the script,
230.
▲
by
mhansen
16y ago
Git
231.
▲
by
mhansen
16y ago
Scala also, has a standard two-space indentation.
232.
▲
by
mhansen
16y ago
If you can't get festival to work (it wouldn't for me), 'espeak' worked great on my Ubuntu box.
233.
▲
by
mhansen
16y ago
I agree, but you have to jump all over your data when you do a heapsort, blowing your cache. It has nice worst-case guarantees, but a well-implemented quicksort has good cache locality.
234.
▲
by
mhansen
16y ago
That script is in need of some serious optimization, it reduces load times for anything with CSS in it (read: any HTML page) to a 5-second plus wait. Try it on a large HTML file.
235.
▲
by
mhansen
16y ago
The old way doesn't make your tests look like a spec?
236.
▲
by
mhansen
16y ago
The jQuery API docs have something similar with the up/down arrows. http://api.jquery.com/
237.
▲
by
mhansen
16y ago
Any linux equivalent?
238.
▲
by
mhansen
16y ago
It's not really assembler with hashtables, at all. It's got closures FFS. However the hashtables are broken: they say they're empty, but they have 'constructor' as a key when you create them.
239.
▲
by
mhansen
16y ago
Wow, I had no idea there were over 300 ASCII art fonts. Actually, I had no idea there were ASCII Art fonts at all.
240.
▲
by
mhansen
16y ago
The netbook remix UI
More ›