Hacker Newsnew | past | comments | ask | show | jobs | submit | more lambdaone's commentslogin

I've written my own autoplacer/autorouter. Placement is where you put the components on the board, routing is how you shape the traces to interconnect them.

It does a pretty decent job on small hobby-project boards of ~40 components (which is my use case at the moment), and I'm working part-time in the background on scaling it further.

The resulting designs pass all the KiCad electrical and geometry checks. Granted, I've spent about a year working on this problem, and it's hard, but not that hard a problem, providing you can avoid falling off the exponential cliff by decomposing it into hierarchical subproblems.

Quick-and-dirty unsupervised whole-board synthesis from schematic takes about 5 minutes, longer if you want cleaner output with nicer-looking better-routed traces.

As others here have said, placing is the real problem to solve, and that's where the magic happens. Place the components right, and routing is a relatively easy loosely-coupled constraint programming problem, place them wrongly, and you will have to get used to seeing the word UNFEASIBLE in your log output.


This project sounds very cool. Is it open source? If yes, can you share a link to the repo?


That is fascinating. Thanks!


The answer to grandfathering things in is not to give them an indefinite examption from the rules; instead, give them, say, a 10 year period of exemption, giving the owner enough time to fix the defect and to spread the expense of doing so over time. It's not perfect, but eventually everything ends up being fixed.


It depends a lot on context. That's certainly a reasonable approach in some situations. However in this instance it's not clear to me that there's any possible way to comply with modern regulations. My impression is that in general it isn't permitted to keep massive tanks of hazardous industrial chemicals 500 feet from residential housing units in the middle of the city.

I think this is an example where it might have been reasonable for the taxpayers to foot a bill to facilitate their relocation 20 or 30 years ago.


Take this into context with the outsourcing of all such work to China though. Environmental regulations are assessed to be one of the largest impacts US GDP. We take that hit to protect human life, and then by all the stuff from China that they make without those regulations. We minimize any risk of harm to our citizens at the cost of their jobs, while putting the citizens of China at risk instead. My only point is that there is no right answer. It is a judgement call about how much risk we think is acceptable in trade for what modern conveniences. If paying to move the plant would cost more than what it produces provides us, we should decide whether we do without, or just accept that sometimes industrial accidents kill a few hundred people.


"Probably the wrong framework for most use-cases" is not that much of a recommendation.


SPAs are a monster that grew and grew; an idea that at first seemed like a clever optimization has generated huge and complex systems that are a nightmare to work with, and are bloated, slow and insecure.

Web components are the next big idea. I hope they have a chance to work.


> Web components are the next big idea. I hope they have a chance to work.

This comment could work equally well in any of the past 15 years. And for all we know, any of the next 15.


Angular supports web components as first class, as do frameworks like Blazor.

It is mostly the React crowd that dislikes them.


I hate spas everywhere too but if you needed to build one for valid reasons React is probably a good bet due to large ecosystem and adoption. I personally avoided React as much as I could and luckily I won’t have to have to work with it.


There is a medical treatise, "On Assholes", just waiting to be written here, in much the same way that Harry G. Frankfurt introduced us to the technical academic concept of 'bullshit' in his book "On Bullshit".


Not medical, but there is a book: https://www.onassholes.com/


While looking for that in the local libraries I saw there's an update? variant? "Assholes: A theory of Donald Trump". Looks to be mostly the same book, just with Trump's face added to the cover. There's also quite a lot of other books about dealing with assholes. "I knew it! I'm surrounded by (books about) assholes!".


There's not much information about transfluxors available, although a patent for them goes into quite a lot of technical detail, and is referenced in the Wikipedia article.[0] If anyone knows more about this, the Wikipedia article is definitely in need of expansion:

[0] https://en.wikipedia.org/wiki/Transfluxor


This is truly disturbing, and trying to sneak it in like this without public discussion is disingenous. Hopefully it will be shot down like last time - at the very least, there are surely antitrust issues here.


Last time they tried this they laundered it though an employee's personal github to distance it from google itself, then framed the proposal in the most disingenuous manner possible, as if it was something that users wanted rather than another mechanism for google to exercise control


I agree on the antitrust issues, but I’m not convinced that’s seen as a serious barrier these days.


There are so many ways around this - for a start, you can use some other working fluid that boils at a lower temperature. Or you can choose a different thermodynamic cycle that doesn't involve phase change.


I once aspired to American citizenship, and was dazzled by its wealth, opportunity, can-do attitude and freedom. Now I can't imagine wanting to go there - everything I see or hear, from both American and other sources, right or left, suggests a deeply unhappy country at war with itself.


I agree that you should stay where you are (in general) - but America is not what you hear about on the news or online - unless you make it so.

I don't recommend moving here, but taking the time to travel for a good month across America on train or by RV could be interesting.


If you just don't partake in the omniscient, pervasive, manufactured negativity in the news cycle and online, America is objectively fucking awesome. I love living here.


This is like when I was in college and you'd think from the Facebook groups that everyone is depressed and failing classes. Then got a cushy tech job where the internal forums made it seem like it's slave labor.


Where else have you lived?


"If you ignore reality, reality is awesome!"


The internet isn't reality


Anyone with the opportunity to visit the US that hasn't done so absolutely should. Admittedly now maybe not the greatest time in history for that, but the place is almost nothing like how the media like to portray it, especially once you leave almost any major city.


Yes the land is beautiful but the media portrays it pretty accurately. I visted LA before covid ~2018 and it was dystopian. It was dirty, the infrastructure was very poor and the wealth divide was unlike anything id seen before. I had a great time still because I had money to spend.


It seems obvious to me that there should now be a concerted and open effort to detect malware in supply chains based on AI-based scanning. Sure, there will be an arms race in malware obfuscation, but that was coming anyway. Manual review is useless at this scale - it is just not happening.


This is actually where LLMs could be in advantage. Any code which is not clean (i.e. could be obfuscated) will trigger alarms and deeper inspection. It is much more difficult to create a good "underhanded" exploit that LLM will miss than it is to do the same for humans, imho.


LLMs are vulnerable to prompt injection attacks, so I'm not sure they are in advantage.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: