HNHacker News
TopNewBestAskShowJobs

rsaxvc

391 karma · joined July 26, 2015

submissionscomments
rsaxvc··on Artificial Intelligence and Copyright: Request for comments
Do you see #1 and #3 conflicting at all? Ex: you produce a model, run it, publish and copyright some output. I can then use that as training data for another model in the style of your existing model?
rsaxvc··on GCC always assumes aligned pointer accesses (2020)
> memory like

I meant memcpy()-like

rsaxvc··on GCC always assumes aligned pointer accesses (2020)
> If the compiler is so smart, I guess it could insert a memcpy when needed?

If I'm reading your comment and the blog post correctly, the compiler would need a memory like access on every multibyte pointer argument where the compiler cannot otherwise prove alignment. Is that correct?

rsaxvc··on GCC always assumes aligned pointer accesses (2020)
I've used several pre-C99 embedded compilers that supported restrict. IIRC, probably of mid 90s vintage.
rsaxvc··on Inception: A simple XOR can cause a Microarchitectural Stack Overflow
It seems like this would only allow reading memory resident for some other reason. Still bad, but I do not think it would allow directly reading files that weren't already in memory.

As for /etc/shadow, it would be loaded any time someone attempts to login, and might even stick around in the page cache...

rsaxvc··on Ask HN: What boosted your confidence as a new programmer?
First week on the job during new software engineer training I asked the architect of our RTOS what ended up being a silly question and he gave me a patient answer in front of my peers explaining why it worked that way currently and the challenges doing it differently.

About four years after he reviewed a series of changes me and two coworkers put together to rework this handling.

rsaxvc··on Ask HN: Any hardware startups here?
This would've been so nice when I was rebuilding an RV. I had converted nearly everything to 12V(before Dell & IBM did charger authentication) and ended up with little 12V fused distribution blocks everywhere.
rsaxvc··on ZFS 2.2.0 (RC): Block Cloning merged
Pretty much same setup here except I used a Lacie atom NAS, added a USB stick to the motherboard for booting.
rsaxvc··on Milk-V Mars: RISC-V credit card size SBC
There are memory map and SFR differences. I bet it's similar to how Linux on Arm/PowerPC/MIPS handle it with device trees.
rsaxvc··on Submarine missing near Titanic used a $30 Logitech gamepad for steering
Guess: weight and cost savings
rsaxvc··on LCD TVs won’t see any further development
Sure, but at least for RGB subpixel displays common to LCD TVs, each subpixel has neighboring dark-area not only in the form of the black matrix, but effectively also that of the two other colors.
rsaxvc··on Titanic tourist submersible goes missing with search under way
Probably not pressurized much in the scale of things.

Humans are incompatible with nearly every gas at 13000feet/400 atm and beyond. Nobody has done it.

Cabin pressurization might get you to ~50atm, but that's around the extreme limit, so regardless of cabin pressurization the hull has to handle most of it.

Here's hoping it has and they can be found quickly.

rsaxvc··on Titanic tourist submersible goes missing with search under way
From Australia: "The uploader has not made this video available in your country"
rsaxvc··on PostgreSQL reconsiders its process-based model
https://github.com/rsaxvc/tinycc-multithreaded

This is the multi-threaded compiler: https://github.com/rsaxvc/tcc-swarm

With the multi-threaded tcc above it scales about as well as multiprocess. With mainline it doesn't scale well at all.

So far I haven't gotten around to reusing anything across libtcc handles/instances, but would eventually like to share mmap()'d headers across instances, as well as cache include paths, and take invocation arguments through stdin one compilation unit per line.

rsaxvc··on LCD TVs won’t see any further development
I said pixel aspect ratio, but what I meant was pixel aperture ratio. I hope that's clear from the context.
rsaxvc··on LCD TVs won’t see any further development
You don't want small pixels. This causes optical aliasing and associated problems.

Edit: By small pixels I mean a low pixel aspect ratio(area of lit pixel vs total area per pixel). If you consider this as a DSP problem(instead of a time series problem, a brightness value over distance or angle), there's effectively no reconstruction low pass filter. You can think of small lit pixel area with larger distance between like zero padding. This can make some things appear sharper, but by doing so it'll appear less like the image source wants it to.

rsaxvc··on PostgreSQL reconsiders its process-based model
This is how I made my fork of libtcc lock-free.

Mainline has a lock so that all backends can use global variables, but only one instance can do codegen at a time.

It was a giant refactoring Especially fun was when multiple compilation units used the same static variable name, but it all worked in the end.

rsaxvc··on Titanic tourist submersible goes missing with search under way
Yes, that sounds a lot better.

From: https://www.forbes.com/sites/katherinehamilton/2023/06/19/he...

"Pogue also shows the vessel uses construction pipes as ballast."

I'm having trouble finding the interview video, but dropping ballast involves the crew and passengers rocking the vessel to drop the pipes off the side.

rsaxvc··on How I feel quitting my own startup
This echos some of my feelings planning to move on after 14 years at the same(non-startup) place. Thank you for writing it.
rsaxvc··on Myths Programmers Believe about CPU Caches (2018)
Ages ago had a mathematician shard image processing across cores.

Started with a pair of loops for each image, foreach col, foreach row.

Problem: C++ 2d arrays are row-col not col-row.

Halfway through multi-threaded performance was much worse than single threaded.

Eventually we switched to row-col processing, single-threaded was fast enough, back to two loops per image.

rsaxvc··on First people sickened by Covid-19 were scientists at WIV: US government sources
No, the US one is basically error(like noise) injection and has been disabled: https://www.gps.gov/systems/gps/modernization/sa/

The Chinese one is effectively a warped coordinate system, see GCJ02: https://en.m.wikipedia.org/wiki/Restrictions_on_geographic_d...

rsaxvc··on Milk-V Duo is a $9.00 RISC-V tiny embedded computer
Oops, you're right. More about it here: https://milkv.io/docs/duo/getting-started/cv1800b and https://milkv.io/docs/duo/resources/mmf
rsaxvc··on Milk-V Duo is a $9.00 RISC-V tiny embedded computer
More about the soc here: https://riscv.org/blog/2022/06/xuantie-c906-tops-mlperf-tiny...
rsaxvc··on Milk-V Duo is a $9.00 RISC-V tiny embedded computer
C906 is twice as wide(64 vs 32 bit) and a 128bit vector unit(closer to ARM NEON than M0 in terms of capability).

Dunno about power consumption.

rsaxvc··on ARM or x86? ISA Doesn’t Matter (2021)
You could even get an AMD chip in your XPPhone https://www.umpcportal.com/products/XPPhone/XPPhone :p
rsaxvc··on Unity builds lurked into the Firefox Build System
Not necessarily - I've been prototyping a fork of tcc that does both. It's multi-threaded rather than multiprocess.
rsaxvc··on AT&T Wireless traffic shaping apparently making some websites unusable
On chrome-based mobile browsers your traceroutes are getting stuck in a small non scrollable iframe-type-thing.
rsaxvc··on AT&T Wireless traffic shaping apparently making some websites unusable
When I had AT&T VDSL they had weak peering. Some traffic that should have gone across town would routinely get routed several states away before coming back to town, because they hadn't peered with the local exchanges. Some traffic was ok.

When I switched to an ISP with local peering, ping times between my home and my server downtown dropped to a few milliseconds. It's like being on my LAN.

If this is still an issue for AT&T, traceroute+reverse DNS of each router may indicate it.

This poor peering isn't directly a throughput problem, but really increases the chance of being routed through a congested link, which you could sometimes guestimate from ping times and peeringdb.

rsaxvc··on FCC warns Portland church to shut down pirate FM operating under its steeple
Dunno - they don't break it down any further.

This may have some amount of survivorship bias in that remediated interference won't count toward those failures.

rsaxvc··on FCC warns Portland church to shut down pirate FM operating under its steeple
That seems rather limited compared to EAS in practice, since some EAS stations will relay appropriate alerts, and since EAS runs over both broadcast FM, AM, and TV stations.
← PreviousPage 4 of 7Next →