Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jepler
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
391.
▲
by
jepler
9y ago
Another simple proof of the non-field-ness of floating point numbers. in this case for the IEEE "double precision" type, that associativity doesn't hold: >>> a, b, c = 2 ** -53, 2 ** -53, 1 >>> (a+
392.
▲
by
jepler
9y ago
Retire.
393.
▲
by
jepler
9y ago
Look at charging rates in watts (watt hours per hour) instead of in percentage; those semis have much larger capacity batteries, so they need a higher charging rate in W to charge 80% in 30 minutes than a vehicle with a smaller battery.
394.
▲
by
jepler
9y ago
This looks cool, anybody used it yet?
395.
▲
by
jepler
9y ago
The Debian project has been investigating several alternatives to Alioth's version control functionality. I have not 100% kept up on the discussion, but I think gitlab is either selected for sure or is a leading candidate. https:&#x
396.
▲
by
jepler
9y ago
Back when I was binge watching a lot of TV shows I would do the same thing -- run them at anywhere from 1.6x to 2.5x (though most often no more than 2x), with close captions on. In fact, I was surprised to hear that the "super-fast&qu
397.
▲
by
jepler
9y ago
hm, now I wonder what happens if you take 'any old function', add it to a reversed and shifted version of itself, and normalize. do you eventually get one of these self-replicating functions, or are there functions that 'div
398.
▲
by
jepler
9y ago
Without supporting calculations, I don't believe the numbers very much. Of course Quantum, as a manufacturer of tapes and tape drives, will have chosen assumptions that support using their product lines. At $0.022/GB, the cheapes
399.
▲
by
jepler
9y ago
"The LLDB debugger APIs are exposed as a C++ object oriented interface in a shared library. The lldb command line tool links to, and uses this public API… The entire API is also then exposed through Python script bindings which allow t
400.
▲
by
jepler
9y ago
I couldn't tell whether the author was making a good point, because their facts were badly askew. Historically, there were multiple UNIX debuggers. It's true, gdb largely exterminated them (and anyway, when people say UNIX they o
401.
▲
by
jepler
9y ago
IBM full-size Thinkpads could be configured with a second battery or a second 2.5" hard drive in the spot we think of as where the optical drive goes -- user-interchangeable, even. There have been superportables all along without built
402.
▲
by
jepler
9y ago
No, I can honestly say I've never worked on a software project that dealt directly with currency values. Personally, in the kinds of projects I do, explicit support for units of measurement would be more beneficial: you'd like to
403.
▲
by
jepler
9y ago
Yes, I tried to be careful in what I stated, but here's what I meant: "$" is the everyday currency symbol of far fewer people than "¥". "USD" is the everyday currency of only about as many people as "
404.
▲
by
jepler
9y ago
Sarcastically cute. It appears very parochial (in the sense of "limited or narrow outlook") to think that having a single "currency type" is useful, or that using a "$" to denote it is appropriate. While &quo
405.
▲
by
jepler
9y ago
It's cute that the spec believes money is denoted by "$".
406.
▲
by
jepler
9y ago
https://wiki.nesdev.com/w/index.php/PPU_registers#Controller... states that bit 7 of the register at $2000 (which they call PPUCTRL, and this disassembly calls PPU_CTRL_REG1) will "generate an NMI at the star
407.
▲
by
jepler
9y ago
You can see that just above the endless loop, the code will "enable NMIs". I'm not sure about the nomenclature here (because normally NMI stands for non-maskable interrupts, meaning you can't disable them) but basically
408.
▲
by
jepler
9y ago
pssst here's a dirty secret or two every piece of software out there that is X years old has bug reports that have gone unfixed for nearly X years. sometimes it's a bug that impacts you directly and that's sad. it does not he
409.
▲
by
jepler
9y ago
It seems to be this preprint: https://arxiv.org/abs/1709.09724
410.
▲
by
jepler
9y ago
It creates a type called "G" which is simply "interface{}".
411.
▲
by
jepler
9y ago
Someone needs to read http://web.mit.edu/2.75/resources/random/How%20Complex%20Sys... and also probably just stop talking
412.
▲
by
jepler
9y ago
It's simply begging for a 3d printable version! (you would have to press or melt in the metal pins) It reminds me strongly of this design which I like, though it doesn't have the pins and is not designed for 'side mounting&#
413.
▲
by
jepler
9y ago
We're talking euclidean distance measure, right? If you are performing many queries against the same set of points {pi}, then yes. Create a structure such as a BSP or quadtree containing all N points {pi} in O(n log n) time, then you
414.
▲
by
jepler
9y ago
The shortest is the first one, since it extends into the fewest text columns. the last one is the easiest one to maintain, because it can be done on a keyboard with only 15 distinct symbols, while the other variants require 16 and 18. I don
415.
▲
by
jepler
9y ago
Are you lazy-loading your (thumbnail) images? this js library seems to be highly recommended by its author: https://github.com/ApoorvSaxena/lozad.js but I don't have any experience with it. If users typically vie
416.
▲
by
jepler
9y ago
A friend recommends using a long s (ſ) until the problem is resolved. Refer to your operating system documentation to find out how to type it.
417.
▲
by
jepler
9y ago
True enough, so I wondered: on a corpus of reasonable size, will the "sophisticated" python solution beat the "classic UNIX shell" solution. #!/usr/bin/env python3 import collections, sys if
418.
▲
by
jepler
9y ago
I use "sort | uniq -c | sort -n | tail" all the time to find the most frequent items, so McIlroy's program is no surprise. Compared to something like python's heapq.nlargest, though, there's a key difference: The fi
419.
▲
by
jepler
9y ago
you guys already killed it.
420.
▲
by
jepler
9y ago
After reading about the case the author knew was not right (negative zero), I wonder why the relevant "equality" test wasn't more like if(isfinite(testValue.f) && isfinite(refValue.f) ? testValue.i
More ›