Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
to3m
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
to3m
9y ago
I had a bottle of red wine a few months ago that smelt very distinctively like 1980s Star Wars toys! (Perhaps there were other toys of the era that smelled the same, but after some initial difficulty in placing this slightly unwelcome, some
122.
▲
by
to3m
9y ago
That was true for DFS, but not ADFS.
123.
▲
by
to3m
9y ago
They cover the active window if the active window covers the top right of the screen...
124.
▲
by
to3m
9y ago
Attract mode is where a game cycles between front end, intro video, rolling gameplay demo, and so on: https://en.wikipedia.org/wiki/Glossary_of_video_game_terms#A (I expect what they had in mind was using it in shops,
125.
▲
by
to3m
9y ago
Right, yes, sure, whatever. Since you've evidently got the experience that I apparently lack, you'll know that this point is irrelevant, since the topic at hand is Standard C, and not whatever some random implementation happens to
126.
▲
by
to3m
9y ago
I worked on an Xbox title many years ago, when I was still a bit inexperienced, and one of the requirements was that it had to run the attract mode for a week without fucking up. The other guy working on it was even worse than me, so no p
127.
▲
by
to3m
9y ago
The function called at program startup is named main, which this translation unit defines. No other may therefore define it. Binaries that don't run main are out of the scope of the standard, and so irrelevant to the discussion. Anyway
128.
▲
by
to3m
9y ago
Other UB 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, you're not
129.
▲
by
to3m
9y ago
Mate, you share 50% of your genes with a fucking banana . I double dare you to tell me with a straight face that you never believed the official story that bananas aren't even sentient.
130.
▲
by
to3m
9y ago
Droll. But wasn't context unawareness part of the problem too?
131.
▲
by
to3m
9y ago
But typically you specifically "dish the dirt". "Dish" on its own is not a valid verb, at least not in the version of English I speak. I don't know why. (Interestingly, OS X's Dictionary app says that a British
132.
▲
by
to3m
9y ago
You can get started, sort of, from the white paper: https://urbit.org/posts/ (TL;DR: "Urbit also invents a lot of alien technical jargon. We admit that this is annoying. Abstractly, it’s part of the clean-slate pr
133.
▲
by
to3m
9y ago
No, it doesn't do anything like that - it just does word wrap. Comment Reflower: https://marketplace.visualstudio.com/items?itemName=codebeas... (page says it works up to VS2015, but I've got it in VS2017 too - so
134.
▲
by
to3m
9y ago
I gave up on proportional fonts after a while. That was about 15 years ago, though... I think using clang-format and Comment Reflower/Emacs M-q/etc. would solve most of the problems I had with creating code that looked sensible wh
135.
▲
by
to3m
9y ago
The UK does the same thing, too: https://www.gov.uk/expenses-and-benefits-parking-spaces/what... I could never quite figure this out. It seems to be actually more hassle, in terms of paperwork and reporting, to pay for
136.
▲
by
to3m
9y ago
But according to this theory, it sounds as if one should ask for the receipt afterwards?
137.
▲
by
to3m
9y ago
For another view: http://dtrace.org/blogs/wesolows/2014/12/29/golang-is-trash/ I'm partly with the dtrace guy, but it is nice to see somebody not propagating that gcc inline asm shite... s
138.
▲
by
to3m
9y ago
Photon Storm Ltd is a corporation.
139.
▲
by
to3m
9y ago
These are reliably at least fairly good in the UK, too, along with cherry tomatoes (about the same size, but round). Plum tomatoes are a bit firmer and cherry tomatoes are a bit sweeter.
140.
▲
by
to3m
9y ago
Nobody can answer this question other than you... well, you, AND #YOLO
141.
▲
by
to3m
9y ago
If it's the same, it's the same, so there's no reason to do one rather than the other. Why not just create a thread?
142.
▲
by
to3m
9y ago
pthread_sigmask always operates on the current thread.
143.
▲
by
to3m
9y ago
Interesting point about the stack size! As for the signal mask, I'm pretty sure you can just set that using pthreads, and it will apply to the current thread. This is certainly true for the pthreads thread name, which is as deeply as I
144.
▲
by
to3m
9y ago
This is good advice and should never have attracted a downvote! I'm not actually sure that the C++ library does anything that pthreads doesn't - maybe std::lock, perhaps? - but it's more convenient to use (and it's not l
145.
▲
by
to3m
9y ago
I'm sorry, "legal" is not a term defined by the standard.
146.
▲
by
to3m
9y ago
I do indent my code, but I very rarely insert syntactically irrelevant spaces. I don't mind if clang-format (etc.) puts them in for me, but I don't add them by pressing keys myself and I don't have a problem reading code that
147.
▲
by
to3m
9y ago
I think you mean "so", not "but" :)
148.
▲
by
to3m
9y ago
"These people simply don't understand what C programmers want": https://groups.google.com/forum/#!msg/boring-crypto/48qa1kWi... "please don't do this, you're not producing value&
149.
▲
by
to3m
9y ago
And just think how much easier it would be if it wasn't a dynamic language!
150.
▲
by
to3m
9y ago
Yes, if you were concerned about battery life, you'd typically not update until input or app state changes. As for building up to your own retained mode system: not really, at least not in my view. Whether you update at a constant rate
More ›