Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
to3m
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
481.
▲
by
to3m
10y ago
Y>>24 will be the byte at +3 on a little-endian system, or +0 on a big-endian system. It's therefore the digit in the 10^0 column in the former case, or the 10^3 column in the latter. So it actually looks like it currently assume
482.
▲
by
to3m
10y ago
malloc/free/etc. will only cost when they're called; GC can be a continuous expense even when there's no collection.
483.
▲
by
to3m
10y ago
I've got a little thingy I made myself with a Minimus AVR, to replace a parallel port to BBC Micro cable I bought about 12 years ago, when PCs still had parallel ports. USB cable connects PC to AVR, also providing power, and a bunch of
484.
▲
by
to3m
10y ago
I only ever log in to Facebook in private browsing mode.
485.
▲
by
to3m
10y ago
sleep blocks the calling thread: http://pubs.opengroup.org/onlinepubs/009695399/functions/sle...
486.
▲
by
to3m
10y ago
Not very common at the time but they did exist! Here's a review of one from 2012: http://www.anandtech.com/show/6124/the-intel-ssd-910-review/... The SATA III bottleneck is still common today, but Mac la
487.
▲
by
to3m
10y ago
1. It was 3 words... trust me, it didn't take long to write 2. The comment would be "More white people " - note the emphasis, it's kind of the key thing 3. I always heard virtue was a good thing. And here I am displayin
488.
▲
by
to3m
10y ago
Yes, it's true - sometimes I do go a bit far with my outlandish suggestions :(
489.
▲
by
to3m
10y ago
More black people .
490.
▲
by
to3m
10y ago
Well if you don't like the Z80 models, there's a 6809 one too! That should be more to 6502 programmer tastes. The weird thing about the range is how none of them is compatible with any of the others.
491.
▲
by
to3m
10y ago
If the cost of a hash function is related to anything, it is more usually the number of bits in the input.
492.
▲
by
to3m
10y ago
I've always liked Control just fine where it is. Maybe my hands are weird, but I find it easier to reach than Caps Lock. I just curl my little finger a bit, and push the key with my knuckle. The layout is also symmetrical.
493.
▲
by
to3m
10y ago
1. place hand on mouse 2. move mouse cursor to desired position 3. click mouse If you're just looking to put the cursor somewhere you can see, this is actually quite quick.
494.
▲
by
to3m
10y ago
Just a question of practice, I found. I was a regular vim user in the past, and this was my criticism of in when first starting out - but after a while I found myself unthinkingly coming up with surprisingly complicated sequences of keypres
495.
▲
by
to3m
10y ago
Even if you fix the pid reuse problem, you'll still have difficulties parsing things like /proc/PID/maps. Unless your pseudo-file consists of fixed-size records - and as I recall, /proc/PID/maps doesn'
496.
▲
by
to3m
10y ago
http://man7.org/linux/man-pages/man5/proc.5.html - "On 32-bit platforms, 32768 is the maximum value for pid_max. On 64-bit systems, pid_max can be set to any value up to 2^22 (PID_MAX_LIMIT, approximatel
497.
▲
by
to3m
10y ago
The post isn't even by Joel. It's a forum (or more precisely an ex-forum). Random people were allowed to post there... Wait... you do know we're not all Paul Graham... right?
498.
▲
by
to3m
10y ago
Sure, but the post is by some random guy on his forum.
499.
▲
by
to3m
10y ago
I just assumed the author had split up with his girlfriend, she turned out to be insane (poisoned his cat, set fire to his car, accused him of all manner of unspeakable things, etc.), and he was still a bit sore about it.
500.
▲
by
to3m
10y ago
Yes, it's awful - and you're making a huge mistake by actually doing it yourself. There are plenty of people that love this stuff, as unfathomable as that is. Why not let them do it?
501.
▲
by
to3m
10y ago
It's in user mode too - as the return type of GetTickCount64, for example: https://msdn.microsoft.com/en-gb/library/windows/desktop/aa3...
502.
▲
by
to3m
10y ago
Well, uint64_t ;) - but ULONGLONG is uint64_t, so it's the same thing. The real "problem" here is presumably that ULONGLONG is a Windows-specific type, probably. (I say probably, because you can always make your own type call
503.
▲
by
to3m
10y ago
Since we're sharing, here are some good addons that I like: - https://github.com/tom-seddon/VSScripts (disclaimer: written by me - however I didn't write it because I think it's useless!) - insert text b
504.
▲
by
to3m
10y ago
Ahem... "police work is much less dangerous than many other civilian jobs".
505.
▲
by
to3m
10y ago
Well, I used to use it, at least! I actually came to quite like it, but the workflow was sometimes a bit tiresome :( When I found myself the situation you describe, potentially wanting to make an additional change while already working on a
506.
▲
by
to3m
10y ago
Well, you don't, so... don't do that. Same thing goes for Perforce; you can already create multiple changelists that you commit independently, so it's easy enough to create a bad commit, because it contains only some of the c
507.
▲
by
to3m
10y ago
Dude.
508.
▲
by
to3m
10y ago
Not at all - the reasoning is that the overlap between programmers and users is tiny, the programmers won't use it in the way artists do, and so problems don't get noticed. This is just what happens when you don't eat your ow
509.
▲
by
to3m
10y ago
$145K take home pay is surely like $200+K/year? (In the UK, if you earn ~£110K+/year after tax, you're in the top 1% of taxpayers.) If your spouse is going to work too, I admit that is a lot more doable. If not, well... looks
510.
▲
by
to3m
10y ago
"involved in" - a very weaselly phrase!
More ›