379 karma · joined Oct 18, 2024 (2y ago) · 144 submissions
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
const { latitude = "0", longitude = "0" } = Astro.locals.runtime.cf || {};
I gather you're using some cloudflare feature wrapped in astro to provide lat/long but I don't see the actual plumbing that gets it to you (and I did try to spelunk through a decent amount of documentation to find it). Can you elaborate?comment 1y ago · link · parent
comment 1y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
Hundreds of thousands of linux-based smartnic cards, actually. Fun stuff. Those particular ones were EOLd and have been replaced with ARM but the MIPS based ones will live on in the datacenters until they die, I'm sure.
> Like previous you, I have to admit I'm skeptical but would be happy to be wrong
Seriously, you are going to be delighted to be wrong. On your linux machine, go write a go program and write "GOOS=darwin GOARCH=arm64 go build ..." and you will have yourself an ARM mac binary. Or for going the other way, use GOOS=linux GOARCH=amd64. It really is that simple.
comment 2y ago · link · parent
comment 2y ago · link · parent
Edit: I also note that the tariff levels he's talking about are absolutely beyond sanity. I saw an interview where he said "100%, 200%, even 2000%" when throwing out numbers for EV tariffs on China. I have to assume this is hyperbolic but he's talking about it as if he's serious. The only ways I can see supporting these wild numbers are either 1) assuming he's joking, or 2) being truly financially illiterate.
143.
Subvert – Collectively owned music marketplace(subvert.fm ↗)
230 points · by cloudfudge · 2y ago · 136 comments
comment 2y ago · link · parent
I've been doing this for 35 years and cross compiling anything nontrivial was always a toolchain nightmare. Discovering a world where all I had to do was set GOARCH=mips64 (and possibly GOOS=darwin if I wanted mac binaries) before invoking the compiler is so magical I was extremely skeptical when I first read about it.