HNHacker News
TopNewBestAskShowJobs

rsaxvc

391 karma · joined July 26, 2015

submissionscomments
rsaxvc··on Intel Launches Intel Core 14th Gen Desktop Processors for Enthusiasts
And it took about ten years to go from one OLED to a small embedded display in a stereo.
rsaxvc··on *(char*)0 = 0; – What does the C++ programmer intend with this code? [video]
Many(most?) Cortex-M4 systems boot from the reset vector and stack pointer stored in the first 8B of memory, so it's a valid address on a ton of small systems today.

You can relocate the vector table and to block it off with the MPU if you have one and memory to spare.

rsaxvc··on Trying out C++20's modules with Clang and Make
That's the best(weirdest?) part! I used to have a job porting LabView and matlab to C/C++, since headers don't even have to include full statements, so share our test data and coefficients like so:

static const float FIR_FILTER={

#include "fir_coefs.csv"

};

rsaxvc··on Decline in independent activity as a cause of decline in child mental health
There's a bike path in my suburb, at least a mile from my house, requiring crossing two thoroughfares to reach it.

Since moving here I've effectively stopped riding because of the drivers.

rsaxvc··on Screenshots from Windows 95
USB support even.
rsaxvc··on Why did the Motorola 68000 processor family fall out of use in PCs?
Yep, you could get visual studio processor packs in the mail. At least for ppc and mips.
rsaxvc··on 23andMe says user data stolen in credential stuffing attack
You're not wrong that this wasn't a sophisticated attack. What's disappointing is that it worked well at scale.

> this attack could be done on literally any website. The issue is people re-used passwords, and also did not have 2fa enabled.

While possible to execute at scale on some websites, this type of attack tends to be quite loud on the receiving end once appropriate metrics are selected for monitoring and alerting.

> "We do not have any indication at this time that there has been a data security incident within our systems."

They should probably work on that, given that those systems were used to extract their customer's data, and that they only noticed when their customer's data was being sold.

Given how far behind they are on disclosure I'd guess they may have only found out from media inquiries.

rsaxvc··on Arm’s Cortex A510: Two Kids in a Trench Coat
Architecturally similar to Sun S1 cores found in Niagara/T1 chips, when SMT is disabled.
rsaxvc··on Arm’s Cortex A510: Two Kids in a Trench Coat
Given the memory latency impact on in-order cores, I wonder how much of the gap is core design and how much is Apple's tending to fit much larger caches to their designs.
rsaxvc··on Conversation with Zuckerberg, this time we talked as photorealistic avatars
I'd heard they added legs but this was my first time seeing it.
rsaxvc··on How companies like Amazon and JPMorgan spy on their staff
Issues I ran into on Linux:

MalwareBytes keeps a small structure in memory for every file it found during a scan. Sadly my computer had files on it and ran out of RAM.

SentinelOne's filtering scaled like linear search so as the ignore list got longer everything got slower.

rsaxvc··on Conversation with Zuckerberg, this time we talked as photorealistic avatars
First 10 seconds.
rsaxvc··on Conversation with Zuckerberg, this time we talked as photorealistic avatars
As they kept zooming out I was more and more impressed.
rsaxvc··on Why are websites requesting access to motion sensors on my desktop? (2019)
Aliveness testing for mobile bot farms that got left on for desktop?
rsaxvc··on Raspberry Pi 5
Pi2 with RTLSDR to monitor local flights in the area.

Pi4 for SSH server and general arm64 playground.

Pair of Pi4 running Ardupilot and OpenHD, one on my quadcopter, one driving the base station monitor and antenna tracker.

rsaxvc··on Raspberry Pi 5
Says h265 decode, but nothing about h264. Does VC7 do h264 like VC6, or not at all?
rsaxvc··on A gentle introduction to static analyzers for C
I found one in a supposedly IEC 61508 compiler. It was nasty.

Every so often our OS needed to read a memory mapped asynchronous timer, comparing values it emitted until they stopped changing to confirm that the various system clock demands were safely aligned and that the addition of a periodic tick was not rippling its way through the counter, before using the value. This time I ran at 32.768 kHz, but to see the glitch required reading the timer exactly as the adder rippled. Most of the time the CPU would read in between the ripples and it would work fine.

This driver had worked on several released products with an earlier version of the compiler, we upgraded the compiler slightly to take advantage of a new instruction set in the next chip.

The updated compiler would rarely assume sequential volatile reads from the same address had the same value.

Something like while(v!=v){} would become the equivalent of if(v!=v)while(1){};

This compiler fault meant that our previously working driver would lock up the machine between maybe an hour and a few days, whenever a particular IRQ occurred during the clock domains race.

Normally watchdogs would trap most infinite loops in the system, but it didn't I knew that it had to be this particular IRQ. Disassembled the whole thing, which only had one loop in it (this one). Took me forever to find because the loop structure was essentially correct except that it was branching just past one of the loads that needed redone. So instead of load x, load y, compare y,x, branch if difference to load x, it branches to load y, a difference of two bytes in the branch offset.

The compiler vendor confirmed this and corrected it in the next compiler version. The ticket number used to be on their website but they no longer publish the change log that far back.

rsaxvc··on Lead poisoning causes more death, IQ loss than thought: study
I'm not a plumber, that's what someone told me once a long time ago. But googling some more, systemic pinhole leakage can also depend on several factors like water cleanliness and pH, with some counties finding grounding doesn't cause pinholing and others finding it does.

The subject may be more complicated than my single sentence can capture.

rsaxvc··on Lead poisoning causes more death, IQ loss than thought: study
Also the supply chain: smelting and refining. Herculaneum Missouri has acres bulldozed of what used to be homes once they learned the children were born with lead poisoning. Before the dozing citizens put up warning signs telling people to take off their shoes when they got home and not to let their kids play in the contaminated public spaces.
rsaxvc··on Lead poisoning causes more death, IQ loss than thought: study
Convenient point for PEX: If copper pipes aren't properly grounded they'll tend to develop pinhole leaks within that timeframe.
rsaxvc··on NASA’s New Shortcut to Fusion Power (2022)
In addition to proliferation and other tasks: do not turn into radioactive meteor upon reentry breakup.
rsaxvc··on We have successfully completed our migration to RAM-only VPN infrastructure
Historical: Room 641A at AT&T in the US.
rsaxvc··on F-35 can’t be found after pilot ejected
That would be a worse option, given they share location data.
rsaxvc··on So let’s talk about this Wayland thing
When I first learned about X forwarding we had a modem, and X was responsive. I also played CivII over remote desktop and it was...less responsive.

With Wayland, have you tried out waypipe yet?

rsaxvc··on Demo of megatextures running on n64 hardware
Roughly:

1) 40MB of textures 2) split into mipmaps 3) split into ~32x~32 tiles. 4) streamed in according to camera 5) with the lowest resolution layers always loaded to handle whipping the camera around quickly. 6) and the Z-buffer off to save memory bandwidth.

The video is worth watching too.

rsaxvc··on “I want to use this tactically vs. GOOG/AAPL” (2022)
The other commenter is correct but largely not FOIA, which applies to federal, state, and other public authorities.
rsaxvc··on A Virus for the BBC Micro
I found a thumb drive outside work once. Piped it into a VM and found...coworkers visa renewal paperwork.

Perhaps this is a weakness, but I'm glad I checked.

rsaxvc··on Cache line alignment in C++ – How it makes your program faster
Currently those GCC flags are only about instruction alignment. The article shows a simple example of runtime data alignment.
rsaxvc··on A Virus for the BBC Micro
That's terrific! Ages later I made one for a GoPro using the autoexec.ash script (before they changed CPU vendors).

It copied itself into the internal storage, then back to new SD cards.

I wrote out a little text file explaining what had happened and how to remove it.

Never figured out how to tell them about it.

rsaxvc··on My favourite API is a zipfile on the European Central Bank's website
The CSV was available at https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.csv but isn't up to date.
← PreviousPage 3 of 7Next →