Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
to3m
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
241.
▲
by
to3m
9y ago
1. Signals are bad. All the bad bits of IRQs, and you're not even working in assembly language, so they're twice as hard. Just say no. 2. The forking model is seductive, but wrong-headed. It's hard to make the file descriptor
242.
▲
by
to3m
9y ago
I've always been a bit wary of doing that, as I've seen infected EXEs committed to version control a number of times because of it :( What I have done - well, what I think I have done! - the UI is appalling - is added SourceTree.e
243.
▲
by
to3m
9y ago
SourceTree is pretty much unusable on my laptop, because every time it does anything the antimalware service springs into life and uses up anything from 20%-80% of the CPU power available. I've had it take 30 seconds to revert 1 line
244.
▲
by
to3m
9y ago
Meh. Like, who the hell wants to have to restate their conditions twice? Not me, that's for sure. What you need is something more like this. (I'll write out one case, and you can figure out the rest.) It's more lines, but I d
245.
▲
by
to3m
9y ago
There is no generic pointer-to-pointer in C. You get an incompatible-pointer-types warning in gcc when trying to use void * * : https://godbolt.org/g/vxWFvl There is probably scope for use of C11 _Generic, but I don&#x
246.
▲
by
to3m
9y ago
Newer things only break in strange ways because they're broken. So rather than break the old stuff, why not fix the new stuff?? - because after all, approximately the only criticism you can't level at the Windows NUL/PRN&#x
247.
▲
by
to3m
9y ago
If you can blithely produce the sentence (if you can call it that), "This is not a meaningful phrase, you know that?", I think you ought to be able to find it in your heart to accept the use of full stops as an indication of a len
248.
▲
by
to3m
9y ago
Eventually they'll just shoot you at the airport when you turn up, then throw your carcass into an incinerator, because aeroplane travel will have become so inconvenient that only the most devoted of terrorist would bother.
249.
▲
by
to3m
9y ago
Article about this: http://thelastpsychiatrist.com/2011/11/luxury_branding_the_f... (worth your time)
250.
▲
by
to3m
9y ago
Perhaps it's using one of those luminance-from-RGB vectors somewhere in the calculation? That could overrate the contribution of green to the appearance.
251.
▲
by
to3m
9y ago
It'
252.
▲
by
to3m
9y ago
Going by the screenshot, it looks like you can do a bit more than the System Preferences keyboard shortcut page lets you! Looks more like something like AutoHotkey, I'd say, but with a non-insane interface.
253.
▲
by
to3m
9y ago
I still use MacPorts, so I don't worry about it either.
254.
▲
by
to3m
9y ago
I still use MacPorts, because I find cutesy metaphors offputting.
255.
▲
by
to3m
9y ago
This has always been my experience too. I've installed Linux irregularly numerous times over the years and it's never worked 100% properly on any PC I've tried it on. It suffers I guess from having to run on the same wide ran
256.
▲
by
to3m
9y ago
Have you read the whole series?
257.
▲
by
to3m
9y ago
But the UK isn't like most of Europe, as it has control of a fairly productive sector of the North Sea: https://en.wikipedia.org/wiki/North_Sea_oil This was one of the drivers behind a switch to gas for electricit
258.
▲
by
to3m
9y ago
My favourite UB-related links: "These people simply don't understand what C programmers want": https://groups.google.com/forum/#!msg/boring-crypto/48qa1kWi... "please don't do this, y
259.
▲
by
to3m
9y ago
The BBC Micro game `Exile' used a mostly-randomly-generated map, with some manually-created areas here and there: https://www.stairwaytohell.com/gamehelp/MAP-Exile-BC.png (very large PNG) The patterns are quite ap
260.
▲
by
to3m
9y ago
It would be complying with the standard if it compiled the whole program into one single call to abort! And yet it didn't do that. I wonder why not.
261.
▲
by
to3m
10y ago
This sort of decision is probably why John Carmack is now CTO of multi-billion dollar corporation Oculus VR, and John Romero is... umm... well, I think he lives in Ireland now? Mind you, you might also like to count how many awesome genre-d
262.
▲
by
to3m
10y ago
The point is: people are quick to say that taking advantage of undefined behaviour in the modern style is necessary to get best performance, and that this is worth the bother. But others (and I expect this person to be one of them) feel tha
263.
▲
by
to3m
10y ago
> In 1975, Wilson was part of the team that developed the 6502 You can get a better summary of her early career from her computer history museum oral history interview: http://www.computerhistory.org/collections/cata
264.
▲
by
to3m
10y ago
I've found this too. Also: my code formatting has always been a bit unusual, in that I never put spaces in. Compared to what most people do, this is easier to type, because it doesn't require pressing the space bar as much. So cod
265.
▲
by
to3m
10y ago
But are the games a letdown? That's probably the question you need to ask...
266.
▲
by
to3m
10y ago
Yes, because it will check for you before you run the code, and you can be certain as you can be about anything that no case was missed.
267.
▲
by
to3m
10y ago
I used IRC a bit in the mid 90s when I first encountered this whole internet thingy. Even though I was young and dumb, it struck me as a bit lame: nerd bullshit with fiddly setup. The async aspects of usenet and email struck me as more scal
268.
▲
by
to3m
10y ago
> Just run your IRC client in screen/tmux like we've done for a quarter century. Wait... did you just tell me to go fuck myself?
269.
▲
by
to3m
10y ago
But they're good features, mftb. I have to say that as an experienced (some might even say skilled) C++ developer I would go for pretty much all of them.
270.
▲
by
to3m
10y ago
The point is that "oversold" is not the appropriate term.
More ›