Better HN
topnewbestaskshowjobs
Log inSign up

dannyboland

78 karma · joined Dec 19, 2021 (4y ago) · 22 submissions

[ my public key: https://keybase.io/dannyboland; my proof: https://keybase.io/dannyboland/sigs/OPQUfx6Nwi0erW7guwBujRcSv1vgEy2U-l-lCR7Le0A ]
Submissions

comment 1d ago · link · parent

Yeah, the PCB as designed could have some firmware flashed to pair with a BLE controller, linking that to the SNES. It's very much an area 8bitdo have already nailed down though.

comment 1d ago · link · parent

That's amazing. I knew of the FXPAK Pro (my flash cart is much older), but not the link add-on or the Tensou-kun. That one-piece dongle form factor is what I was aiming for, I need to figure out how it was manufactured!

comment 1d ago · link · parent

The save is sent to the adapter, which uploads it to a remote WebDAV server. I have one hosted on a Hetzner box but any would do.

RetroArch emulator supports sync’ing saves to/from WebDAV, which is how the game can be continued on a mobile device.

comment 1d ago · link · parent

Thanks! The LLM-generated NPC comments were the original motivation, but the save sync has actually got me using my SNES more.

The initial prototype used a Raspberry Pi Pico 2 W dev board, as the RP2350 on it can handle the 5V logic of the SNES without level shifting. It also maintains the link using hardware PIO, with a separate wi-fi coprocessor so it can't interfere. When I designed the PCB, I kept the proven design, so the RP2350 for the link and swapping in the ESP32-C3 as the wi-fi coprocessor. A single ESP32-S3 would've needed level shifters and likely some careful timing, so I'd have had to rebuild and prove a new prototype for that first.

5.

Building a wireless network adapter for the Super Nintendo(boland.dev ↗)

88 points · by dannyboland · 1d ago · 19 comments

comment 2w ago · link · parent

Cloud save sync between a real Super Nintendo and emulators.

I’ve just got back into hobby electronics after a fifteen year diversion into software. I set up my workbench this week and this is my first project, something I first imagined building twenty years ago!

I spent the weekend wiring the spare controller port to a microcontroller to act as WiFi bridge. I have a flash cart, so I patch the reset vector to a small save sync routine that talks to the microcontroller.

It was especially magical having Claude read from a logic analyser and flash firmware tweaks iteratively. I still got to wield the soldering iron at least.

7.

Show HN: Sturnus, a latency-based LLM load balancer(github.com ↗)

1 points · by dannyboland · 4w ago · discuss

comment 1mo ago · link · parent

After the last LiteLLM compromise, I took my requirement (an OpenAI compatible endpoint routing across multiple providers based on latency) and built that as a small static Rust binary - https://github.com/sturnus-dev/sturnus

Now that AI makes it cheaper to build such tools in-house, the case for adopting a maximalist framework and trusting that entire supply chain is a lot weaker.

comment 2mo ago · link · parent

The principle behind a lot of good advice here is “creating the conditions for solder to naturally go where you want it to”. Cleaning, tinning, preheating are all part of creating those conditions.

So the moment you find yourself fighting or forcing the solder, it’s better to step back and create the right conditions.

comment 2mo ago · link · parent

Bleak. This flat and fast structure assumes that ICs are all senior devs, able to be largely autonomous. Who supports the junior engineer who is struggling?

There’s a lot of talk about how AI shifted the job market away from junior roles, but companies had already removed the management capacity for them.

comment 2mo ago · link · parent

“Drop” is a loaded verb in a SQL context. “Add” or “paste” might avoid the raised eyebrow.

comment 2mo ago · link · parent

I use Hetzner - reasonable prices, EU based and one of the best benefits of AI is that running a pet server is no longer a real burden.

13.

Show HN: Sturnus – OpenAI-compatible LLM proxy routing to the fastest provider(github.com ↗)

3 points · by dannyboland · 5mo ago · discuss

comment 5mo ago · link · parent

I've been using this loop for a while now and I'm impressed at the variety of what I've learned (from cooking to control loops).

I'd highly recommend it - the Socratic approach of putting me on the spot to guess is a refreshing break from the habit of just looking things up.

15.

Claude, Teach Me Something(hugotunius.se ↗)

36 points · by dannyboland · 5mo ago · 5 comments

comment 8mo ago · link · parent

There looks to be some errors in the conversion from PDF -> web in this report. For example, the web version of Figure 7 has the legend colours reversed.

comment 3y ago · link · parent

Would publishing code under a limited company be a viable approach to avoid liabilities from OSS?

Of course it shouldn’t be necessary, I’m just trying to think of a practical way for an individual to avoid this scenario.

comment 3y ago · link · parent

This is a lot of fun!

I took a stab at doing something similar with virtualising an ML model for an arbitrary text classification task: https://mastodon.scot/@danny/109452332918910028

> I want you to act as a machine learning classifier. The training set consists of news topics and the label categories are “politics”, “celebrity” and “finance”. I will type text input and you will reply with what the classifier output would be. I want you to only reply with the output and nothing else. Do no write explanations.

Example training data:

Topic: Barack Obama

Label: politics

Topic: Kim Kardashian

Label: celebrity

Topic: Dow Jones

Label: finance

Topic: Tony Blair

Label:

comment 4y ago · link · parent

Yeah, I adopted the “src” dir layout after reading this post some time back:

https://blog.ionelmc.ro/2014/05/25/python-packaging/#the-str...

It describes some of the outdated motivations for the other layouts commonly seen with python, as well as the many benefits of the “src” layout.

comment 4y ago · link · parent

This is almost exactly how I set up python projects; it’s reassuring to see it set out in one place.

I started using tox-poetry-installer[1] to make tox pick up pinned versions from the lock file and reuse the private package index credentials from poetry.

[1] https://github.com/enpaul/tox-poetry-installer

comment 4y ago · link · parent

I recommend reading the Tao Te Ching for some ancient advice on getting out of the rat race mindset:

https://github.com/lovingawareness/tao-te-ching/blob/master/...

Excess wealth just means more things to lose.