Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
to3m
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
361.
▲
by
to3m
10y ago
Carnivore meat you can eat: cat, crocodile, alligator. I'm sure there are others. Not very common in the west - if nothing else, herbivores and omnivores are easier to factory farm - but people do eat them. What about fish? Tuna, salmo
362.
▲
by
to3m
10y ago
Emoji in the commit messages. I've seen a few projects doing this now and I don't know what to think. What should I think? Is this best practice?
363.
▲
by
to3m
10y ago
Also, Ford Probe vs Ferrari 456: https://en.wikipedia.org/wiki/Ferrari_456#/media/File:1995Fe... , https://en.wikipedia.org/wiki/File:97ProbeGTS.JPG (Ferrari have since moved a bit more u
364.
▲
by
to3m
10y ago
Thanks for the note. I'll (try to remember to!) take a closer look at the popup next time it pops up. I know I'll be up to date with the revelant updates, because I've had no damn option ;)
365.
▲
by
to3m
10y ago
Dude .
366.
▲
by
to3m
10y ago
When you get the little popup, your options appear to be: "ok, update now" and "ok, update at 3am". That stops a mid-day reboot, but it's useless if you want to leave your computer overnight so that it's where
367.
▲
by
to3m
10y ago
How many driving seats does this car have?!
368.
▲
by
to3m
10y ago
I do the standard shoelace knot the other way round from his page ( http://www.fieggen.com/shoelace/standardknot.htm ). I bet I've saved at least 1 minute over the past 35 years from doing this. 1. start with left
369.
▲
by
to3m
10y ago
Good riddance? Good fucking riddance, more like. Tapes are shit. Hiss, flutter, wow, head misalignment, Dolby NR. "Ah, which Dolby NR?" - well, exactly . And we haven't even got onto Type I vs Type II vs Type IV, and your
370.
▲
by
to3m
10y ago
Interesting! Can you at least opt to go straight for the breathalyzer? If you've not been drinking, it seems a bit of a waste of time to have to stand on one leg (etc.), when you could just use the breathalyzer and have the question an
371.
▲
by
to3m
10y ago
"Naive" might be the word you're looking for. And indeed, whenever important people leave, it is always significant. In fact, it can be significant even when they're not important at all. But you do need to wait a year t
372.
▲
by
to3m
10y ago
Can anybody say whether the ANSI-style keyboard shown is the "Internal US/International Qwerty Backlit Keyboard" option that's available on Dell's shop on the website, or whether this place just got sent a US-spec l
373.
▲
by
to3m
10y ago
Compared to the code in the linked post, I guess I'm a lot more strongly in favour of type safety, which this solution has too. But as a bear of very little brain, I really must insist on no extra cognitive overhead while debugging! Sa
374.
▲
by
to3m
10y ago
Shallow copies aren't important to me, and after years of using C++ templates and C# generics I've come to quite like having the type where I can see it! As for why I didn't use this approach in general, a couple of reasons:
375.
▲
by
to3m
10y ago
Thanks for trying it out - my post was assembled by copying bits out of the (rather gnarlier) code that I actually used, so I'm glad it mostly survived the process ;) Interesting point about the type checking; my thinking was that the
376.
▲
by
to3m
10y ago
ARRAY_PARAM (as I assume you mean?) has no problem with two arrays. You just give them different names. Suppose you do this: void CopyIntArray(ARRAY_PARAMS(int,*dest),ARRAY_PARAMS(int,src)) Now you end up with this: void Copy
377.
▲
by
to3m
10y ago
This sort of approach is a pain to use, because you keep having to cast when you're in the debugger, and there's zero type safety. And I'm afraid I don't have much positive to say about something like "((Vector2i *
378.
▲
by
to3m
10y ago
I'll be interested to hear why epoll and kqueue are so very different. Strikes me that both are quite similar: you attach waitobject-specific events to fds, and then wait on the waitobject until one of the events occurs. Much like one
379.
▲
by
to3m
10y ago
Modern OS Xs appear to have two extra things to help with this: - kqueue_qos - lets you do an atomic poll+receive of a Mach message on a Mach port - EV_ONESHOT - once you get the event, it's gone, and you have to reactivate it. I think
380.
▲
by
to3m
10y ago
The compiler may also assume undefined behaviour can happen, and do something documented, that programmers would probably expect. Even though the standard imposes no specific requirements, it explicitly calls that out at something you coul
381.
▲
by
to3m
10y ago
Any time anybody tells you that POSIX isn't terrible, the subject of this article is the sort of thing you need to bear in mind. (For a long time, I thought that literally the only thing that POSIX didn't fuck up is the way they d
382.
▲
by
to3m
10y ago
I've found this too. I've been using Kaspersky for a few years (most of the contracts I've had for contract work have specified they want an AV program running), and I have to say it's been much less painful than the McA
383.
▲
by
to3m
10y ago
I concur. I don't expect that to convince anybody, but a post needs an opening, and this is as good as any. Regarding unique_ptr and move semantics, I used both quite a lot on a recent project (VC++/clang/gcc) and have been p
384.
▲
by
to3m
10y ago
If the shoe fits, wear it. And if it doesn't... don't?
385.
▲
by
to3m
10y ago
Move semantics, man. I don't personally divide my life into "before move semantics" and "after move semantics" - but thanks to move semantics, I have to anyway. And I feel like I'm all the better for it.
386.
▲
by
to3m
10y ago
When writing 32-bit Windows programs, I'm pretty sure it was basically the same as working on Windows 2000: separate address spaces per process, virtualized address space, swap file. In terms of ReadProcessMemory and the like (or whate
387.
▲
by
to3m
10y ago
No.
388.
▲
by
to3m
10y ago
What percentage of people are Navy SEALs? If I were a tiger, I'd probably think this island sounded like an excellent place for a fun adventure holiday with my tiger friends, and I'd be right to do so. Most likely outcome: good fo
389.
▲
by
to3m
10y ago
OK, so I ignore Einstein, and I miss general relativity. And then what? If it's proven true before I die, then I accept it; if it isn't, or if it is and I continue to ignore it, I die anyway. And then it's 2015 and it's
390.
▲
by
to3m
10y ago
Have you used vim? . is much closer to running a keyboard macro than it is to C-x z - only you don't have to record anything ahead of time, nor necessarily even realise until afterwards that you might want to reuse what you've jus
More ›