Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jmgao
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
jmgao
6mo ago
MCPRUE sells shameless ripoffs of the Mac Pro case, but with support for standard motherboard sizing, if you really want your PC to double as a cheese grater: https://www.mcprue.com/case
2.
▲
by
jmgao
6mo ago
> For the longest time (and for good reasons), floating point operations were considered unsafe for deterministic purposes. That is still true to some extent, but the picture is more nuanced than that. I have since learned a lot about fl
3.
▲
by
jmgao
8mo ago
> I was expecting a unified interface across all architectures, with perhaps one or two architecture-specific syscalls to access architecture-specific capabilities; but Linux syscalls are more like Swiss cheese. There's lots of hist
4.
▲
by
jmgao
8mo ago
> I use about 1500kWh a year, but I don’t need aircon and heating is district heating. That's 171 W on average, that's about the same as my refrigerator (~150 W on average).
5.
▲
by
jmgao
9mo ago
Well, except for inf, -inf, and nan.
6.
▲
by
jmgao
9mo ago
> Compilers can do whatever they want when they see UB, and accessing an unassigned and unassiganble (file-local) variable is UB, therefore the compiler can just decide that *foo is in fact always 42, or never 42, or sometimes 42, and al
7.
▲
by
jmgao
9mo ago
There are some even funnier cases like this one: https://gcc.godbolt.org/z/cbscGf8ss The compiler sees that foo can only be assigned in one place (that isn't called locally, but could called from other object file
8.
▲
by
jmgao
10mo ago
Wrong way around: UDP sockets are datagram sockets, there are datagram sockets that are not UDP.
9.
▲
by
jmgao
10mo ago
Describing it as 'Google' is misleading, because different arms of the company might as well be completely different companies. The Chrome org seems to have had the same stance as Firefox with regards to JPEG XL: "we don'
10.
▲
by
jmgao
10mo ago
It doesn't seem obvious to me that this is actually a bug in the Android implementation, it seems like this is due to AirPods violating the spec and requiring a special handshake before responding to standard requests. It doesn't
11.
▲
by
jmgao
11mo ago
I've found 0.8mm to make much more reliable connections, since the specification says that the tongue should be 0.7mm. 0.6mm will disconnect if the cable is angled in any way.
12.
▲
by
jmgao
1y ago
Seconding this, it's the only editor other than emacs that has a vim-mode that feels like it's maintained by a long term vim user.
13.
▲
by
jmgao
1y ago
C89: https://port70.net/%7Ensz/c/c89/c89-draft.html If the size of the space requested is zero, the behavior is implementation-defined; the value returned shall be either a null pointer or a unique pointer.
14.
▲
by
jmgao
2y ago
Oops, no, it isn't, it's 39 MB/s, not Mb/s.
15.
▲
by
jmgao
2y ago
I'm currently paying for 2Gbps symmetric fiber via 10Gbps XGS-PON that's multiplexed to 32 users, which is a mere 39 Mbps per user. In practice, this is absolutely fine and I have never run into any bandwidth limitations, because
16.
▲
by
jmgao
2y ago
There's also the entire Java standard library, which was a hilarious fuck you response to Oracle's lawsuit.
17.
▲
by
jmgao
2y ago
They were renumbered in x86_64 so that the syscalls that are frequently used together have their function pointers live in the same cacheline in the lookup table: https://lkml.iu.edu/hypermail/linux/kernel/010
18.
▲
by
jmgao
2y ago
This is absolutely false. This only became common when wireless networking became ubiquitous, which wasn't until probably a decade later.
19.
▲
by
jmgao
2y ago
The firewall was disabled by default in XP until SP2...
20.
▲
by
jmgao
2y ago
Back in the days of blaster, if you were connected to a network with infected machines or had a public IP address because you were connected straight into your cable modem, you would get infected in the windows installer before it finished
21.
▲
by
jmgao
2y ago
The CoreWeave number is completely wrong, but Azure and Google Cloud appear to be exactly correct at 730 hours per month, which happens to be the number of hours in 365 / 12 days.
22.
▲
by
jmgao
3y ago
I've found CadQuery to be a pretty good replacement for my purposes, but I haven't done anything complicated with it yet, just designing 3D printed/laser cut electronics enclosures.
23.
▲
by
jmgao
3y ago
I'm pretty sure it was go.corp.google.com, with corp.google.com configured as one of the search domains.
24.
▲
by
jmgao
3y ago
Google used AMD GPUs for Stadia, not NVIDIA.
25.
▲
by
jmgao
3y ago
It is especially not suitable for adb, one of the primary use cases of which is pushing a multi-gigabyte system image to the device. You can get 200+ MB/s of real-life throughput with bulk transfers, whereas the theoretical limit of HI
26.
▲
by
jmgao
3y ago
I wish that the people that wrote it at the beginning of Android had left it as a socket multiplexer over USB and delegated to ssh for everything else. adb started out extremely barebones, but it grew to reimplement basically all of ssh.
27.
▲
by
jmgao
3y ago
> Going through my personal collection of Pixels, MODs support seems to have started between Pixel 2 (2017) and Pixel 3a (2019) (sorry, I don't have a Pixel 3 to test). This definitely would have made it to Pixel 3, per the commit m
28.
▲
by
jmgao
3y ago
No, the backup plan was to switch the implementation of the Java core libraries from Apache Harmony to the already-GPLed OpenJDK.
29.
▲
by
jmgao
3y ago
puts isn't applicable here because you actually need to format the %d, but any compiler worth using (i.e. not MSVC: https://gcc.godbolt.org/z/zx74vY1za ) will optimize a printf of a constant string ending in a newl
30.
▲
by
jmgao
3y ago
Whoops, forgot to mention the name. The company making the sensors is InfiRay. Doogee doesn't even have a product listing for the V20 Pro on their website currently, although you can find one on archive.org that says they're using
More ›