Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
to3m
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
331.
▲
by
to3m
10y ago
In the main, people seem to be unfamiliar with what lies underneath C, so they never seem to really get this idea that you might be able to (or want to) expect any behaviour other than that imposed by its own definition.
332.
▲
by
to3m
10y ago
It might at least coerce its operands to bool. As things are, 2&&1 is true, and 2&1 is false; hypothetically, 2^^1 could be false while 2^1 would be (as now) true.
333.
▲
by
to3m
10y ago
Video of apparently reverse-engineered model: https://www.youtube.com/watch?v=HGO8B86PZDg
334.
▲
by
to3m
10y ago
Great find, thanks :) - couldn't find any good action shots when I was searching, and nothing that showed off that unusual outline (that I remembered from the Mercedes my family had when I was a boy).
335.
▲
by
to3m
10y ago
Also in Mercedes Benz wiper arms: the mono wiper: https://www.youtube.com/watch?v=HKGhKrQmK68 (The weather is too nice in this video, though, so you can't really see how much of the windscreen it manages to clean - how
336.
▲
by
to3m
10y ago
I don't see the problem here. Even public displays of principle have a cost/benefit ratio. Meanwhile, what do you think it would imply, if they didn't even do the cheap stuff?
337.
▲
by
to3m
10y ago
I hear ignoring them is the first step.
338.
▲
by
to3m
10y ago
1. Since He threated the F-35 program with closure, I guess we will see more of these. The US$399,792zn that's been spent so far must have left at least some spare for PR 2. There was an unofficial war hardware porn series on HN a whil
339.
▲
by
to3m
10y ago
In case anybody else is wondering - these details are public. Any time you see a story about a UK company, and this one is no exception, you can get some information about it from the company registry at Companies House: https://
340.
▲
by
to3m
10y ago
Don't link to jwz.org from HN :)
341.
▲
by
to3m
10y ago
Don't forget the per-process heap size bar that you had to adjust. If you were used to any 386 version of Windows, it was like going back to a very well-manicured version of the dark ages. I'll freely admit that it was, in the m
342.
▲
by
to3m
10y ago
Poor old Urbit! Learning curve so steep that nobody has the time to figure out that it's bollocks on its own terms, and they are obliged to dismiss it purely on the grounds of who it was created by.
343.
▲
by
to3m
10y ago
I'm not sure... sounds like CQRS (though it's a term I don't think I've ever seen before...) is independent. Like, you can have one data structure for read/write, and you just don't get public access to the wri
344.
▲
by
to3m
10y ago
Probably still good for prototyping...
345.
▲
by
to3m
10y ago
Some evidence that cats and dogs do love (or some approximation thereof) their owners: https://mic.com/articles/104474/brain-scans-reveal-what-dogs... http://www.telegraph.co.uk/science/2016&#
346.
▲
by
to3m
10y ago
Peking, Bombay, Upper Volta, Rhodesia and Burma have all managed to make the transition - and with more than a simple tweak to the transliteration to boot. So I don't see why we can't manage the same with Kiev? Random article: ht
347.
▲
by
to3m
10y ago
I always wonder why this never gets discussed much. We seem to have tons of solutions for storing large files outside the repo, but so what? OK, so I don't deny that storage still isn't cheap enough to just say "oh well"
348.
▲
by
to3m
10y ago
Interesting - PgUp/PgDn stop working when I maximize the window. I've got a 1440x2560 screen. Relevance to Twitter? (a) Twitter as its worst is still 10x better than this sort of thing; (b) Twitter's Following page doesn'
349.
▲
by
to3m
10y ago
I've never used a debugger that's that clever (and I'm not sure debug info gives it enough to work with to deduce this anyway, not with DWARF at least) - the ones I've used just put an unconditional breakpoint on the ins
350.
▲
by
to3m
10y ago
It already is - the function is called "send", and rather than wasting its time just doing one write, it does a whole pile of them at once ;)
351.
▲
by
to3m
10y ago
This is good, but you do still want the multiple returns as well, because then you can breakpoint one case or the other without any performance degradation when the breakpoint is on the rarer case. (Also, at least for C/C++, you genera
352.
▲
by
to3m
10y ago
But there is no "inside": case and default are like (slightly restricted) goto labels. They mark a place in the code, nothing more, and, as with goto labels, they can be inside nested scopes. That's why you need the "bre
353.
▲
by
to3m
10y ago
I can't say for certain regarding this case specifically, but CURLOPT_CONNECT_ONLY (as I recall) does the TLS and proxy shenanigans, and then waits for you to say "HTTP 1.1" and so on. You can send and receive data using a BS
354.
▲
by
to3m
10y ago
Yes - good point. I think the wrapper approach can still make sense for CLOEXEC sometimes, but you should absolutely always ignore what I said about using it for the environment ;) Never having needed to do exactly this myself in practice,
355.
▲
by
to3m
10y ago
Same way anything would be: the set is atomic, and if you the programmer want something specific then you'll have to arrange that. It doesn't have to be magic - it just has not to crash. That's a much lower bar. As for how yo
356.
▲
by
to3m
10y ago
Well, the cassette is certainly probably still where you put it...
357.
▲
by
to3m
10y ago
https://www.washingtonpost.com/news/monkey-cage/wp/2015/11/1...
358.
▲
by
to3m
10y ago
No, the console window is separate from cmd - it's a builtin Windows thing. If your Windows program (that isn't cmd) needs a console, and it doesn't have one, it can call AllocConsole(), and one will be added for it. (A new c
359.
▲
by
to3m
10y ago
The console window is a grid of (char,attr) - see ReadConsoleOutput/WriteConsoleOutput - i.e., CGA text mode. It's only a metaphor. (As for standard handles, you can redirect them without needing cmd, but there's some fiddly
360.
▲
by
to3m
10y ago
Freed from such constraints, the Windows console subsystem metaphor is a CGA-style text mode display from the early 1980s. That's the kind of progress you just don't ever get with POSIX.
More ›