Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
to3m
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
421.
▲
by
to3m
10y ago
But this ignores the other way of looking at it: if system A is slower, how come it managed to run more quickly?
422.
▲
by
to3m
10y ago
What's wrong with using the best result? If you're concerned the code could run faster than possible: don't be :)
423.
▲
by
to3m
10y ago
I've been using Unix on and off for 20 years, and I've done a bunch of Unix development work here and there (and more than just "did some programming and it was on a Unix system") - but I've no idea how to write a b
424.
▲
by
to3m
10y ago
I assume the war destroyed all the decent smartphones then, along with the vaping devices. Those photos look worse than ones taken on my Moto G.
425.
▲
by
to3m
10y ago
Lisp is marginally better, because it tries less hard to work around type mismatches (so something like (+ 1 "") is an error). But it suffers from the same fundamental problem: no type checks until runtime. It's fine to have
426.
▲
by
to3m
10y ago
"a variable is not required to have its type declared nor are types associated with properties" (ECMAScript 2016 spec, 4.2)
427.
▲
by
to3m
10y ago
Parent comment has been updated, but it's too late to edit mine, turning my mildly amusing mockery into an unhinged-sounding non sequitur. Well, this is what happens when you take the low road...
428.
▲
by
to3m
10y ago
Hello. I'm part of the secretive cabal of leftists that push the mainstream liberal agenda. I downvoted you because it is our mission to silence conservative-friendly voices wherever we see them. We pay particular attention in forums s
429.
▲
by
to3m
10y ago
Probably not huge - my MBP's battery is 644 days old, and I use it plugged in pretty much all the time. So it's had 34 cycles. But it's still got 92.4% of its capacity left.
430.
▲
by
to3m
10y ago
Roughly speaking, find index of most significant set bit. (So 255 gives you 7, 254 gives you 7, 256 gives you 8, etc.) At a guess, they are comparing things 8/16 bytes at a time, and getting a packed set of byte flags where bytes are s
431.
▲
by
to3m
10y ago
I always read that sort of if block as the mark of somebody who's been round the block a few times. Because they know that one day you'll want to place a breakpoint on one case or the other, and they know that one day they'll
432.
▲
by
to3m
10y ago
Same in the UK - the amount quoted is before any tax is deducted. It is usual for the employer to deduct the income taxes themselves, though... businesses in the UK bear some tax collection responsibilities, of which this is one. On top of
433.
▲
by
to3m
10y ago
As far as I can remember, this being 3.5 years (and several projects) ago, I had a lot of problems putting things in lists, because some list functions seemed to be cavalier about turning things into strings, and I'd end up with my car
434.
▲
by
to3m
10y ago
For automatic-type mirrors, no. That sort of mirror has a hinge to let the mirror rotate forwards and backwards on one axis. This is there to fold the mirror in, and to help absorb whacks. The mirror angle itself is adjusted by a separate,
435.
▲
by
to3m
10y ago
The "10' wide" fire engine there supposedly conforms to the AASHTO BUS-14 standard... which means 2.6m wide. (This is the widest type of vehicle in the list.) 2.6m = 102"; 102" = 8.5'. Go figure, as they say. P
436.
▲
by
to3m
10y ago
https://en.wikipedia.org/wiki/Speed_limits_in_the_United_Sta... suggests that 50mph would be unsually high for a residential street. As for the rear view mirror hinges: what on earth did you think they were there for,
437.
▲
by
to3m
10y ago
Oops... it IS a MDA metaphor!
438.
▲
by
to3m
10y ago
I used Tcl a few years ago. I quickly came to the conclusion that its assumption that everything can be converted to a string and (losslessly) back is insane, and I haven't used it since. However I found it much more pleasant to use th
439.
▲
by
to3m
10y ago
"Most adults can hear sounds between 20 Hz and 20,000 Hz" - 9 year old adults, perhaps... I'm not an alarm designer, but my understanding is that if you want pretty much everybody to be able to hear something, not just your k
440.
▲
by
to3m
10y ago
The idea that the console screen is an MxN matrix is pretty embedded in the API... it's not a MDA display adapter metaphor, not a Unix-style typewriter. I'm guessing they just felt they had bigger fish to fry. (Everybody I know t
441.
▲
by
to3m
10y ago
I've left the system files invisible at least since installing Windows 10, and it hasn't once been a problem. I can't remember if it was always this way, or if it's a recent addition, but there's a separate option f
442.
▲
by
to3m
10y ago
If you've got enough displays, cable length can become a factor! This is much easier to solve if you've got your PC on your desk, and it's much easier to fit your PC on your desk if it's smaller rather than larger.
443.
▲
by
to3m
10y ago
But not popping the last allocation when the function returns is kind of the whole point... it is (or certainly was...) common to double-buffer these, so that one frame's data is built up, and then consumed by another thread/the G
444.
▲
by
to3m
10y ago
A pretty substantial flaw in the piece, almost enough to sink it, is the suggestion that Looper is somehow more worthy of calling out than Primer. Tsk... somebody sack the fact checkers... Primer: http://www.imdb.com/title&#
445.
▲
by
to3m
10y ago
VC++ pops a CDQE in there. For ``p=(int *)malloc(1000);'', with no prototype for malloc, it generates this: mov ecx, 1000 call malloc cdqe mov QWORD PTR p$[rsp], rax I'll have t
446.
▲
by
to3m
10y ago
You can add "open source contributions" to your CV now ;) I'm going to add "thought leader".
447.
▲
by
to3m
10y ago
It's a strange omission given that CEF is free and seemingly in rude health while Awesomium, number 1 on the list (if only by dint of its name), looks dead, even though you have to pay for it. I'm using it for off-screen rendering
448.
▲
by
to3m
10y ago
The standard explicitly permits documented behaviour, even though it doesn't have to, because "undefined" covers that option, along with anything else you care to imagine: http://port70.net/~nsz/c/c1
449.
▲
by
to3m
10y ago
What hassle? If you need a current account, open a Tesco one, and you're getting free money. (If you opening multiple ones, and juggling money between them or whatever, you're probably just the sort of person who gets a kick out o
450.
▲
by
to3m
10y ago
You'd have an emulator, same as the 680x0->PPC and PPC->x86 transitions. I'm not sure how well this would work in practice. The reasons for the previous changes were that performance of the existing line had reached a dead e
More ›