Better HN
topnewbestaskshowjobs
Log inSign up

krebspsycho

9 karma · joined Feb 1, 2020 (6y ago) · 4 submissions

Submissions

comment 3y ago · link · parent

Y2K's kin are still out there...

I work with an electronic health records system. Recently they delivered a patch to customers because on Nov 8th 2023 around 0100 in the morning their time field internally would exceed its number of characters allowed.

This was weird to hear about nowadays but I was still not surprised.

They botched the patch and it was not a good time when it happened.

A big chunk of their older code based systems use an epoch of Mar 1,1980, another newer code chunk uses Mar 1, 1992 as their epoch. And I've been told their newest platform uses yet another epoch, or calculates times in such a way to not be concerned.

So while their patch increased the field size for the seconds counter, it has done so a few times only fixing the fields that use the epoch about to be hit, rather than all of them. In top of that, after the counter grew by a digit on Nov 8th,2023, they then realized, much to many hospital customer displeasure, that not all their code the displayed medical documentation/results, often sorted by most recent, accounted for the field size correctly, requiring two more patches last week.

Math with time is hard, and even harder to know what systems have moved forward with enough future thought to still not have these surprises sitting in wait deep in their codebase.

comment 5y ago · link · parent

Generally yes. The RandomX dev seems to have some issues getting to to work well on apple silicon, however the Xmrig dev has it working, but seems it caps out at 2.3kh/s due to not being able to take advantage of JIT or large pages. (At least from what I read of their respective GitHub repos https://github.com/tevador/RandomX/issues/196

And

https://github.com/xmrig/xmrig/issues/1991).

RandomX mining is better at the moment, but that may be because nobody's developed a GPU minter tailored to the uniqueness of apple's GPU, if that's even possible.

comment 5y ago · link · parent

It's not crazy, but it's telling the software that it's an intel GPU, and taking into account no optimizations targeted at the GPU's strengths. I could see this becoming more useful if it was coded to apple's GPU characteristics, but I'm not even sure anyone outside of Apple knows what those are right now and how to optimize mining software on their GPU.

comment 6y ago · link · parent

Running with the argument that the EU wants the plug that plugs into the phone standardized... what about an Apple Watch that can make LTE calls? Would that be considered under this? Where would you force a company to add a port of any kind to a device that size?