Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
termie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
termie
12y ago
Your refactor is wrong. You've reversed the ternary and removed the socket() return check. The consolation prize is that you've reinforced the issue of lack of clarity in the code.
32.
▲
by
termie
12y ago
Not sure if whooshed, but just in case anyone else doesn't get it, you're not going to see Comic Sans unless you load it from a Windows machine or a Unix distribution that's installed the font. IOW, it's just a gentle j
33.
▲
by
termie
12y ago
Stuff like this is going to scare a lot of people away, sadly.
34.
▲
by
termie
13y ago
A more recent trend is to use several points of data assumed to be unique to a user, in place of cookies. Your IP address, browser, UserAgent string, screen dimensions, fonts, other factors, when combined together via simple hashing, usua
35.
▲
by
termie
13y ago
Currently the Rift does not do positional tracking. So, in other words, the Rift can't tell when you move your head in space forwards or backwards. The quality of tracking up/down/left/right is good enough right now.
36.
▲
by
termie
13y ago
Yeah. Which makes it even more irritating.. MS is still off in the double-wide stix 11 years later and still promoting UTF-16LE in userland. From http://msdn.microsoft.com/en-us/library/dd374081%28VS.85%29.... "Unicode-enabled functions
37.
▲
by
termie
13y ago
UTF-16 everywhere doesn't help either. M\0o\0r\0e\0 \0d\0a\0t\0a.\0
38.
▲
by
termie
13y ago
I'm sure many people were pissed with Office 2010 since the 'upgrade' from Office 2003 to 2010 was a full-price affair (see http://www.computerworld.com/s/article/9143103/Microsoft_dum... ). (EDIT: that was for retail, but you get the id
39.
▲
by
termie
14y ago
Matz talks about mruby here http://www.youtube.com/watch?v=OubzA8Q25jQ#t=1508s Here is more info on RiteVM http://www.reddit.com/r/ruby/comments/k9jce/ruby_ritevm_faq_...
40.
▲
Booting an Intel Architecture System, Part I
(drdobbs.com)
66 points
by
termie
15y ago
|
3 comments
41.
▲
by
termie
15y ago
Weird -- today my 68 year old mother asked me if I had heard of it and that she loved it. She mentioned it was great for foodie sites. The compete numbers may be exaggerated but it seems to strike a chord across a broad audience.
42.
▲
by
termie
15y ago
There is certainly a ton of press around this coming from several reputable media outlets for months. Google for 'yelp extortion'. So you shouldn't be surprised. This is a real problem for them. At minimum, here is a documented case of
43.
▲
by
termie
15y ago
What a shame. Overriding a shell built-in is a fucking horrible idea. While it might be technically innocuous -- and I'm sure for most people it is -- philosophically and politically this is a design failure that will taint RVM forever.
44.
▲
by
termie
17y ago
user system total real str.casecmp(x): 0.150000 0.000000 0.150000 ( 0.147026) str.include?(x): 0.220000 0.000000 0.220000 ( 0.224157) str =~ /x/: 0.620000 0.000000 0.6
45.
▲
Performance of ruby 1.9.1 string matching methods
(pastie.org)
1 points
by
termie
17y ago
|
1 comments
46.
▲
by
termie
17y ago
This guy is already @366M objects and growing... halving or quartering the number for file i/os in a large system like this has real, observable and proven benefit. It's definitely not for the meek, but adding another directory (and adding
47.
▲
by
termie
17y ago
You'll just adding more long stats and pushing more metadata into cache if you add another directory level. You should look probably into a Haystack-like approach where you have a single file blob (or several large blobs) and then maintai
48.
▲
by
termie
17y ago
No, I recently resurrected this handle from my 80s BBS days.
49.
▲
by
termie
17y ago
the unsung heroes who don't make time for brown-nosing and fame-whoring
50.
▲
by
termie
17y ago
<Perl> #!perl use DBI; use Blah; ... push @{ $VirtualHost{'*'} }, { ServerAdmin => "webmaster\@$domain", ServerName => "$domain", ServerSignature => "Off", ServerAlia
51.
▲
by
termie
17y ago
macro for gcc __builtin_expect? http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
52.
▲
by
termie
17y ago
I hear the argument about browsers blowing up on MySpace all over the interwebs, but it really depends on the company you keep, to some degree. In other words, they give people freedom and some pages are horrendous, but some people's profi
53.
▲
Base52 url shortener perfect hash function in C
(lambdajones.com)
15 points
by
termie
17y ago
|
11 comments
54.
▲
by
termie
17y ago
There's a kernel mode HTTP listener in Windows, which has its own cache and logging .. IIS (more specifically w3wp.exe worker processes) get requests and respond through named pipes.
55.
▲
by
termie
18y ago
Please god don't make yet another GUI toolkit. Pick one and start coding.