Better HN
topnewbestaskshowjobs
Log inSign up

cbrake

39 karma · joined Aug 26, 2021 (5y ago) · 30 submissions

Helping small teams transition to OSS IoT technology.

https://bec-systems.com

Submissions

comment 1mo ago · link · parent

Enjoyed this article, lots I can relate to.

One thing that seems to help for me is to do the docs before plans (collaboratively edit with agent). Then I understand what this change is going to look like from the user's perspective before we start implementation. This seems to help keep things on track.

While I don't use this plugin a lot anymore, I think doc-driven development is one of the most effective ways to do development in any paradigm, I should probably refresh this plugin and use it more:

https://github.com/tmpdir-org/tmpdir-claude-code-marketplace...

comment 5mo ago · link · parent

Thanks for the detailed explanation!

comment 5mo ago · link · parent

Agreed, building on the typical target is a terrible idea. None of my suggestions are to build on target, but rather specific units on some capable hardware of the same architecture. The main build will still run on your own workstation of any architecture. Only specific units get farmed out to another machine, but worst case can be run in QEMU user mode emulation if there is no native machine runner available.

This remote build runner is not implemented yet, just ideas.

comment 5mo ago · link · parent

Is this similar to QEMU user mode emulation?

comment 5mo ago · link · parent

I wrote the orignal draft, but used Claude to integrate some feedback. In hindsight, this was a mistake, and I will not do that again. Thanks for the frank feedback.

I'm glad Yocto is working for you.

I'm by no means a Yocto expert like many of you, but I've used OpenEmbedded/Yocto since the start, so I'm quite familiar with it. I started the following project, which Khem mostly maintains these days:

https://yoedistro.org/

comment 5mo ago · link · parent

Thanks, I was not aware of this - will look into this more.

comment 5mo ago · link · parent

https://yoebuild.org/faq/#is-yoe-created-with-ai

Yes, much of Yoe build is implemented using Claude Code, driven by specs.

comment 5mo ago · link · parent

https://docs.yoebuild.org/comparisons.html#vs-bazel

Note, this is generated by Claude as I've not used Bazel and may not be 100% accurate. PR's welcome.

comment 5mo ago · link · parent

There are several ways to compile for the target:

1) Cross compile. Yoe build still does this where it makes sense. (Go apps, likely kernel builds in the future) 2) QEMU user mode - 5-20x slow, but fine for some things. 3) Run yoe-build on any ARM machine (AWS, rPI5, Jetson) 4) Farm unit builds out to runners on cloud ARM machines. (future)

The yoe-build architecture allows for this. Choose the container, host architecture, and location that makes the most sense on a unit-by-unit basis.

Caching is also part of the vision, so we never rebuild something twice, unless it changes.

comment 5mo ago · link · parent

I’ve been experimenting with what a next-generation embedded Linux build system might look like: native builds on the target architecture, modern language package managers as first-class citizens, and AI as a primary interface to the system.

Instead of cross-compiling with a large meta-layer stack, the tool builds kernel, rootfs, and applications together using one engine, with a CLI, TUI, and AI assistant talking to the same core. All you need is the tool, Docker, and Git — no global SDKs or hidden state.

It’s pre-1.0 and rough around the edges; I’m sharing it early to get feedback from people who live in Yocto/OpenEmbedded, Buildroot, Nix, etc. I’d love to hear where this breaks on your boards, what workflows feel wrong, and whether the “native builds + AI-aware build graph” direction seems promising.

11.

Is it time for a new Embedded Linux build system?(yoebuild.org ↗)

83 points · by cbrake · 5mo ago · 85 comments

comment 1y ago · link · parent

For me, it is a lot simpler to host at Linode (or simpler) than figure out the AWS/GCP crazy complex IAM stuff.

However, there are cases where being able to spin down the server, and not pay for downtime is useful - like 36-core Yocto build machines.

13.

Human friendly industrial device IDs(bec-systems.com ↗)

1 points · by cbrake · 1y ago · discuss

14.

Changed my mind: AI is good for coding(justinjackson.ca ↗)

2 points · by cbrake · 1y ago · discuss

comment 1y ago · link · parent

I tried this yesterday and set it up for my wife. I was amazed at how many birds it picked up. There must be some amazing technology in the audio processing.

comment 1y ago · link · parent

When we want to advance something, we often need to simplify it first. Piling on layers of complexity will only get us so far — at times, we need to go back to ground zero and re-think things.

There are many ways to specify contracts between systems, such as APIs and schemas. A more fundamental contract focuses on a more granular unit of data. Points in an IoT system are like atoms in matter. A Node tree in an IoT system is like the DNA in a living organism. The composition of points and structure of nodes (like atoms and DNA) is infinitely flexible. It is this simplicity and flexibility that allows atoms and DNA to define so many different types of matter and species of organisms. It is time to throw out the custom struct as the defined unit of data between systems and focus on something more granular, flexible, and scalable.

17.

Struggling to scale your IoT system? Simplify your data(bec-systems.com ↗)

1 points · by cbrake · 1y ago · 1 comment

18.

Do vertical monitors make you more productive?(community.tmpdir.org ↗)

3 points · by cbrake · 2y ago · 1 comment

19.

Want an easier way to update your Embedded Linux device?(github.com ↗)

1 points · by cbrake · 2y ago · discuss

comment 2y ago · link · parent

If you don’t continually improve, you soon lose the ability to do so …

This article discusses how a culture of improvement is essential and provides compounding returns, several case studies, and ingredients for improvement.

21.

The Ability to Improve(bec-systems.com ↗)

2 points · by cbrake · 2y ago · 1 comment

comment 2y ago · link · parent

Some thoughts on why companies are turning to OSS for parts of their software stack.

23.

Why Open Source for Product Development(bec-systems.com ↗)

2 points · by cbrake · 2y ago · 1 comment

comment 3y ago · link · parent

Backend: Go, Frontend: Elm.

Both languages are simple to read, easy to maintain, and very fast/efficient.

https://docs.simpleiot.org/docs/ref/vision.html#technology-c... http://bec-systems.com/site/2048/go-for-iiot-systems http://bec-systems.com/site/1625/why-are-go-applications-so-...