HNHacker News
TopNewBestAskShowJobs

throwawayabcdef

19 karma · joined October 20, 2022

submissionscomments
throwawayabcdef··on The FPGA turns 40
Its how I saved cost and schedule on this project.
throwawayabcdef··on The FPGA turns 40
No need. I gave ChatGPT this prompt: "Write a data mover in Xilinx HLS with Vitis flow that takes in a stream of bytes, swaps pairs of bytes, then streams the bytes out"

And it did a good job. The code it made probably works fine and will run on most Xilinx FPGAs.

throwawayabcdef··on Highly efficient matrix transpose in Mojo
The next operation might need the data in column major order to read it fast. So you might have to transpose first. And these maybe be concurrent stages of a processing pipeline.
throwawayabcdef··on I want a good parallel computer
The AIE arrays on Versal and Ryzen with XDNA are a big grid of cores (400 in an 8 x 50 array) that you program with streaming work graphs.

https://docs.amd.com/r/en-US/am009-versal-ai-engine/Overview

Each AIE tile can stream 64 Gbps in and out and perform 1024 bit SIMD operations. Each shares memory with its neighbors and the streams can be interconnected in various ways.

throwawayabcdef··on Finland's National Allergy Program Successfully Reduces Allergic Diseases
There is more to it than this. My children have had severe food allergies since birth: we know this b/c they had reactions to breast milk based on what mom would eat.

The also have had eczema since birth and one developed life threatening asthma at one year old. His trigger is the normal cold virus which he is constantly exposed to.

With that said, however, my kids are filthy all the time and play outside constantly in the dirt. One of the seven allergies has resolved completely and one appears to be resolved (haven't done a full challenge yet). No luck with the other five foods yet though.

We don't know about the asthma. Seems better but its managed with meds. Its also way scarier than anaphylaxis (and will be triggered by anaphylaxis and gets worse over the course of a week until he is in the hospital unless we aggressively treat it the moment he has breathing symptoms). The eczema comes and goes. Sometimes it responds to various treatments but usually it doesn't.

Its complicated. But kids should be filthy most of the time.

throwawayabcdef··on LwIP – Lightweight IP Stack
see also uip and contiki as well as the other creations from Mr. Dunkles:

https://dunkels.com/adam/software.html

throwawayabcdef··on Memory Mapping an FPGA from an STM32
This is dope. I work with Zynq/Versal quite a bit and respect and understand (conceptually) the decisions you have made!

You get to own every aspect of your toolchain and with that will come a lot of power.

Are you familiar with:

https://github.com/corundum/corundum

Perhaps you can build a support package for your platform.

throwawayabcdef··on Landfills Leak More Planet-Baking Methane Than We Thought
Yes, MethaneSAT:

https://www.methanesat.org/

throwawayabcdef··on No safe efficient ways to do three-way string comparisons in Go
https://github.com/golang/go/commit/fd4dc91a96518fdbb47781f9...

I interpret this as replacing a strange but more optimal call to the runtime with a straight forward but less fast stdlib implementation. rsc's comment seems more like a todo note than and ideological stance (to me at least). Something like: "I removed this weird fast way to do this that was breaking stuff b/c of linker things and replaced it with some straightforward code that's slower. If we want this to be more optimal in the future we can fix it at the compiler level.". But I'm just reading into it. Someone should ask him and tell him to explain himself :) It's been 8 years. What have you been doing?

throwawayabcdef··on Screeps – MMO strategy sandbox game for programmers
I would play screeps with golang using gopherjs. it worked out well. I'm sure using WASM would work well.

I quickly got to the point where I'd have to do a lot of coding to get competitive; there are some seriously impressive players on that game.