Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
to3m
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
151.
▲
by
to3m
9y ago
How about ECC RAM too.
152.
▲
by
to3m
9y ago
It is in dollar terms, but not in BTC terms...
153.
▲
by
to3m
9y ago
bookchin: https://www.reddit.com/r/storj/comments/6llxpn/so_long_frien... I followed the storj reddit for a while, since I bought into the crowdsale with Bitcoin. (Since sold. There was some kind of pump
154.
▲
by
to3m
9y ago
If the measurements are all over the place, why not take the fastest? The average is no good, because it'll be influenced by the times it wasn't running as fast as possible. I don't myself lose much sleep over worrying about
155.
▲
by
to3m
9y ago
This is specifically about hcreate/hsearch, which are utterly useless, since you only get one hash table at a time. The reason you don't want crap like this is just that: it's crap. The _r versions look perfectly sensible.
156.
▲
by
to3m
9y ago
OK... so how did junk like this ever get into enough implementations that people were forced to include it in the standard? ;)
157.
▲
by
to3m
9y ago
The hcreate nonsense is POSIX, not C99, so a conforming C implementation might not include it.
158.
▲
by
to3m
9y ago
https://hal.inria.fr/hal-01100647 suggests it might use an improved version of the TAGE scheme referred to in the article.
159.
▲
by
to3m
9y ago
People could bid to buy the info, and the car owner(s) could bid against them to keep the info secret?
160.
▲
by
to3m
9y ago
I found this too when I tried running my PC with a 30Hz display. I was surprised how bad it was. Windows '9x's default mouse sampling rate was 35Hz, and that was perfectly tolerable. 25Hz/30Hz games are playable. 60Hz will be
161.
▲
by
to3m
9y ago
Go forth and spread the word!
162.
▲
by
to3m
9y ago
The key is to wrap them up somehow (I put mine in freezer bags) so they don't get tangled while in storage. The parent post's comment about a ball of cables suggests they don't do this. That can make storing lots of cables fe
163.
▲
by
to3m
9y ago
Yes it does, and no there isn't, in that order. CMake is pretty horrid in many respects - I won't deny that - but it gets a few key things right, and it has a good-size ecosystem. That's enough to make up for its notable defi
164.
▲
by
to3m
9y ago
I like bison and I never minded flex. (ANTLR? Did not enjoy; would not use again. But it was a while ago now and maybe newer versions are improved.) I wonder if I'm the only one...
165.
▲
by
to3m
9y ago
I wrote a few lines about 6502 vs Z80 a couple of years ago: https://news.ycombinator.com/item?id=10766264 (parent of linked-to comment may also be of interest) - the discussion there was about relative efficiency of the tw
166.
▲
by
to3m
9y ago
Well if there isn't, you can start the EXE and do Debug|Attach from VS. Or (I think?), you can go to File|Open Solution, open the EXE directly, and let VS create a temporary solution for you that will let you run the EXE as a debuggee
167.
▲
by
to3m
9y ago
Because the discussions end up repetitive, unproductive, and boring. (Flagged this thread for the same reasons. Sorry! But trust me, it's for the best.)
168.
▲
by
to3m
9y ago
I was moved to try Emacs with my own test file and (somewhat to my surprise - it's normally pretty crap with long lines) it had no problem loading a 3GByte file consisting of 3,000,000 1K lines. For short lines it's generally fine
169.
▲
by
to3m
9y ago
God, I hope people get over this shit soon!
170.
▲
by
to3m
9y ago
I'd say $2000 would seem more likely, assuming it's some monster thing that draws 2KW when running flat out. 1 watt-year in the US costs around $0.75-$2.
171.
▲
by
to3m
9y ago
> As far as I can tell you can’t step through tests in the debugger Rant time. What to do when you write a test framework. 1. When test fails, print everything possible: desired expression, desired value, actual exression, actual value,
172.
▲
by
to3m
9y ago
See also this, which is (as far as I can tell) the JVM for the Apple II: http://forum.6502.org/viewtopic.php?f=2&t=2224&p=20418
173.
▲
by
to3m
9y ago
It's a set of register settings. The code in the game looks like a bunch of function calls; the stuff the emulator has to deal with is a bunch of opcodes in the FIFO. There's no interpretation per se in the shader - it's not
174.
▲
by
to3m
9y ago
Yes, sure - any time different people will be getting different sets of warnings, -Werror (or equivalent) is just going to make your life harder. You should always strive for zero warnings on all builds across all compilers. It's a rea
175.
▲
by
to3m
9y ago
I did a CEF-based project last year. I didn't built Chromium myself; I used a pre-build copy, from Spotify I think. The CEF build process sets this all up for you, so I expect this is typical. So this should mean that provided the clan
176.
▲
by
to3m
9y ago
And this is why the intersection area in the Venn diagram of "people that use -Werror" and "people that use multiple compilers" is labeled "people who are making their own lives difficult, for no obvious reason"
177.
▲
by
to3m
9y ago
The post says that the debugging experience stays... so perhaps clang outputs PDBs now, and/or you can interface it with Windows gdb somehow.
178.
▲
by
to3m
9y ago
My car will probably go (at its best) about 300m on a tablespoon of fuel. About a fifth of a mile. But it weighs about 20 times as much as I do, so I think that's pretty good going. With a rolling start and flat ground it will pass thi
179.
▲
by
to3m
9y ago
Similar approach, I think, by Russ Cox: https://research.swtch.com/ftoa Starts with an int->string conversion, then does the rest with string manipulation - strings, of course, being bignums with a somewhat wasteful BCD
180.
▲
by
to3m
9y ago
Well, it definitely takes all sorts, because I use 2 side by side in portrait mode and I'm quite happy with it ;) You're right about the length of the longer axis, though... I've rarely found it all that useful to have one vi
More ›