Awesome work, I've developed my own projects which are fairly similar to this. I would say that the auto router is the most important aspect for this to work well, and unfortunately one of the most complex areas :)
The only minor complaint is that the wires / nets / traces are also components themselves. JSX can only build tree structures but wires turn circuits into graphs, so for those I would have used plain js classes or hooks like useWire and then pass the + and - into the components. That gives you the added benefit of warning when you haven't wired up a component fully. Also allows for required and optional wire inputs on components.
useWire and other type-safe routing features are coming soon! You are 100% correct that the way it’s currently being done can’t leverage the type system. I also agree that autorouting and auto-layout are critical (in the same way flex is important for web!!)
I like the idea of autolayout like flex for routing wires. There needs to be things like busses etc., feels like there is something there that could be flexed. Problem is the multiple dimensions of connections, so maybe something inspired by grid layout and grid template area?
Exactly! I'm hoping to expose autorouter/autolayout to userland (e.g. "drop your function here") and see what clever people come up with. I have some ideas but there's so many fun ways to do it so I'm cautious to sink too much time in. But it's a super important problem and I do think a new multi-layer flexbox/cssgrid could make wiring work really well.
Also checkout projects like spinalhdl, it's not really for PCBs and doesnt have JSX but the concepts are similar. Has things like wire bundles which is where the payback from these approaches really kick in.
Do you think some form of memory would help, i.e. RAG using semantic lookup of prior situations and thoughts and outcomes. I feel like this is something humans do intuitively to bring similar scenarios to the front of mind so we can get a basis for how to deal with novel situations...
Youtube is promoting this video as number 1 in my feed. It looks obviously like a scam to me but it's getting serious upvotes so I presume most are falling for it....
The model generates a prompt that's sent to SDXL, but it’s “seeded” with some randomness, we have an array of adjectives & colours that we input to try to make the output different.
Primarily the model is trying to generate “abstract publication cover art for a research paper covering the following topics…”.
Of course working from home is a privilege. Lots of workers in various industries and communities don't get a choice. Literally the definition of privilege by not addressing that.
reply