Better HN
topnewbestaskshowjobs
Log inSign up

Arterialist

18 karma · joined Apr 5, 2023 (3y ago) · 20 submissions

Submissions

comment 3w ago · link · parent

Alright, now this is way better than a web app

https://x.com/Arterialist/status/2117908253955023297

DOOM is next I guess?

comment 4w ago · link · parent

I tried to push it as far as I could, there's an example app in the repo. Build a fullstack reactive web app, running as 3 services/4 pods - db, api, web and hud, with persistence. Handled several users in parallel, sub-200ms SSE and API response times, realtime keystrokes from Cardputer on all online clients. That was a hard one to fit, but I think it can be pushed even further. All of that was running on Cardputer and esp32-s3 devboard.

comment 4w ago · link · parent

I've got some k3s measurements here, it's really heavy for Rpi, damn

https://arterialist.github.io/kube32/benchmarks/#on-a-comput...

comment 4w ago · link · parent

Shipped, wired parts are now Kubernetes Devices (https://kubernetes.io/docs/concepts/extend-kubernetes/comput...)

You now should be able to just plug in whatever peripherals you want, label a k8s Service and your app will select them. Tested with a BME688, a Mini Scales and an RFID2 on a Cardputer.

More info at https://arterialist.github.io/kube32/devices/

comment 4w ago · link · parent

Based on some measurements, compute in a pod is ~30-90x slower compared to native C. Wasm gas metering adds ~45% on top, sensor driver takes up to 25KB on a board without PSRAM.

More on the benchmarks here - https://arterialist.github.io/kube32/benchmarks/

comment 4w ago · link · parent

Yes! This is the philosophy. Omw to ship!

comment 4w ago · link · parent

True, for RPI it makes more sense. For microcontrollers it's a different story :D

I think it'd be great to put some effort into this, as a separate project perhaps.

comment 4w ago · link · parent

Exactly, and I discarded the idea of porting k8s, building k8s-compatible system instead. It still carries some overhead, yes, and I'm yet to measure it fully, but it's a good trade-off for the applications it unlocks. If we remove the overhead form equation, do you think the capabilities I mentioned are unlocked with k8s-like system, or do you have a way to achieve all of them at the same time using something else in mind?

comment 4w ago · link · parent

I'll measure and let you know later, would appreciate if can do measurements on your hardware too as I only have a few options to test on

comment 4w ago · link · parent

there are few imo:

- trustless code execution on someone's hardware (kube32 supports gpio permissions, amongst other stuff) - your standard Kubernetes cluster can now reach the physical world natively - OTA updates at arbitrary scale - fault-tolerance in the physical world, orchestration of workloads based on physical proximity or other sensor data

those are just a few that come to mind

comment 4w ago · link · parent

Hmm, have you tried k3s? It promises low ram, but it could still be too much, I'm not sure about your requirements. In the meanwhile I'll see if it can be pushed further, but I guess we both know the answer :)

comment 1mo ago · link · parent

Hey guys, I had a few esp32 boards around for a while and always thought - how do we go beyond just one device, would it be possible to apply cloud-native thinking to distributed edge computing?

Result is Kube32. I got the cluster and a full-stack web app with real-time sync running on esp32 s3 dev board and cardputer - https://7f0c-180-74-71-21.ngrok-free.app/ (may go down) (should support at least a few concurrent users - break it)

You won't see one cool thing though, which is the hud pod that uses Cardputer as a keyboard that syncs keystrokes to all clients in real-time.

Honestly, it opens so many possibilities for distributed edge computing and multi-device systems. Let me know what use-cases do you think would benefit from kube32 the most.

13.

Show HN: I rebuilt Kubernetes for ESP32 microcontrollers(github.com ↗)

53 points · by Arterialist · 1mo ago · 22 comments

14.

Two lines of code for making your MCPs compatible with OpenAI libs(github.com ↗)

2 points · by Arterialist · 10mo ago · discuss

15.

Seamless codebase-relevant context enrichment for prompts(github.com ↗)

1 points · by Arterialist · 10mo ago · discuss

comment 1y ago · link · parent

I've developed a model that incorporates STDP and neuromodulation under a single computational unit. A network of the neurons like these solves MNIST with ~96% accuracy without backprop in under 5 epochs of unsupervised feature extraction, or ~92% after just 1 epoch. I have integrated it into pytorch to use traditional benchmarking methods locally.

A GitHub repo with the non-pytorch implementation is available, along with tooling - https://github.com/arterialist/neuron-model

comment 2y ago · link · parent

Callegram team just released their free trial that allows their users to try out one of the paid features - Google Calendar synchronization - for free. All Telegram users can seamlessly view their meetings, get notified about them, and quickly jump into the call without leaving the messenger.

18.

Show HN: Callegram – Telegram Mini App for scheduling calls with ease(github.com ↗)

2 points · by Arterialist · 3y ago · discuss