@regehr There's an insidious problem on targets where the ISA has a few instructions which rely on alignment (e.g some SSE/AVX and even recent ARM). Unaligned access works until the optimizer figures out a way to save a cycle by using the faster vector op, and then it breaks. This turns into a heisenbug where any attempt to track it down breaks the optimization.
Notices by John Ripley (jripley@mastodon.social)
-
Embed this notice
John Ripley (jripley@mastodon.social)'s status on Saturday, 25-Jan-2025 10:43:21 JST John Ripley -
Embed this notice
John Ripley (jripley@mastodon.social)'s status on Friday, 24-Jan-2025 10:16:23 JST John Ripley @mekkaokereke This would mean that the largest fund managers voted against the proposal. This is interesting, because that means even the people in charge of a large fraction of the world’s wealth think DEI is a good idea.
Individuals and employees have zero (rounding error) influence in shareholder votes. The sum of all Costco insiders is something like 0.2%, and that’s likely almost all C-suite.
-
Embed this notice
John Ripley (jripley@mastodon.social)'s status on Monday, 02-Dec-2024 04:55:15 JST John Ripley @ryanc I imagine it's like this (sadly) common setup:
* Receiver is a for() loop, either pulling bytes out of a UART, or executing a command.
* UART is either a 1 byte FIFO, or emulated GPIO.
* While executing a command, UART is dropped.
* Accessory, vice versa situation.
* This all "works" because the protocol will have a "documented" AC timing spec: T_inter_command_gap>=20ms.There's nonsense like this common in devices everywhere, but to be fair it sure makes things cheaper.
-
Embed this notice
John Ripley (jripley@mastodon.social)'s status on Monday, 02-Dec-2024 03:33:26 JST John Ripley @ryanc Rule of thumb is the firmware in any large appliance was written by a hardware engineer, who generally stop at “it works now”.
This reminded me of working on ID over HDMI, which uses I2C. Turns out for a large fraction of devices, if you spam I2C, e.g waiting for boot, their single work loop never gets around to doing anything other than I2C, including booting. You need to leave arbitrary gaps like you did there :(
-
Embed this notice
John Ripley (jripley@mastodon.social)'s status on Monday, 21-Oct-2024 15:50:24 JST John Ripley -
Embed this notice
John Ripley (jripley@mastodon.social)'s status on Monday, 21-Oct-2024 07:29:42 JST John Ripley @fivetonsflax It also strongly attempts to imply the entire conflict is the fault of one person, which is such baby thinking.
-
Embed this notice
John Ripley (jripley@mastodon.social)'s status on Tuesday, 16-Jul-2024 01:44:27 JST John Ripley The GOP, and largely the whole of the nebulous fascist movement, is approaching a deadline when they likely cease to be viable through democratic means, so of course everything is getting dialed up.
Especially when the consequences are after the king is installed.
-
Embed this notice
John Ripley (jripley@mastodon.social)'s status on Sunday, 28-Jan-2024 20:03:41 JST John Ripley @mjg59 Some ISPs have magic TTL values which they use as an obfuscated way to route traffic differently (e.g no caps). Could be it’s accidentally tripping into that.
-
Embed this notice
John Ripley (jripley@mastodon.social)'s status on Friday, 22-Dec-2023 08:00:18 JST John Ripley @ryanc Unwanted entity in the middle of an exchange, claiming credit for what each person is saying but introducing something bad in the process, and potentially taking it over. Fairly accurate.
-
Embed this notice
John Ripley (jripley@mastodon.social)'s status on Sunday, 26-Nov-2023 05:08:32 JST John Ripley @ryanc 48VDC with negotiated power and comms side channel (pretty much USBC) would be wonderful and relatively low current. But it would need all your lighting cables re-installed. Still thin enough that if you needed more than, say 3A, you could run multiple bundles as necessary.