Rendered at 17:57:52 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
bgnn 23 hours ago [-]
I thought this is a better general purpose spice, but it looks like a hobbyist grade simoftware with a very unpractical GUI. Still waiting for something to kill Cadence's Spectre.
arwidV 20 hours ago [-]
I don't understand why you think that. It has more features then every other fully fledged SPICE sim. Tell me what you think is missing and what its doing wrong and I will work on implementing those features.
Spectre is about 100x more complex and detailed than this. It will take a lot more time and resources for even vibe-coders to replace it and other commercial EDA tools.
bgnn 23 hours ago [-]
Funny thing is, it's mainly written by one person, Ken Kundert. At least the core.
dan10400 14 hours ago [-]
It was definitely not 'mainly written' by one person, even just the core.
roeles 24 hours ago [-]
I would love to see a spice simulator that can simulate failure modes and their consequences (and subsequent failures).
That would enable monte carlo simulation and estimation of reliability.
arwidV 19 hours ago [-]
Good idea, putting it on the to-do list, if you got any more details on this ideal would love to hear it.
I already have monte carlo and tolerances, but this more "intense" failure mode seems like good idea.
roeles 58 seconds ago [-]
I would like to be able to simulate the circuit not only with a normal model of the components, but also with their components in a failure mode. Where these are not known I would use MIL-STD 217.
For each component keep track of its current state and the probability of each failure mode (may depend on the circumstances, for example voltage).
bgnn 23 hours ago [-]
Wgat do you mean by this? TDDB? Latch-up?
It's not even possible to predict some of these failure modes, because of the scarcity of the events and lack of good models.
roeles 23 hours ago [-]
Ideally I would want to estimate what the probability is that some property holds.
For example: I measure the voltage drop through a current shunt on the high side of a load, using an IC. What is the probability (given all the failure modes of the components used) that the load does not receive power?
It's not about being perfect. It's about being able to estimate. We can always expand and improve the component models.
wildzzz 18 hours ago [-]
There's enough data from the vendor to probably give you a good idea but their MTBFs are all proprietary and you're gonna need to sweettalk them into letting you sign an NDA to have that. Of course you're welcome to just make assumptions and have it act accordingly. Make up what you think might be a realistic MTBF and apply that to a series 0ohm resistor drastically changes value when the RNG says today is the day.
Or, since trying to model probabilities in SPICE means massive sim times to produce meaningful results, just step the value of the resistor between 0 and 1Tohm (and any interesteing values between) to mimic failure states of the downstream part. For AC stuff, you can mess with shitty transmission lines or caps doing weird stuff. Lots of fun, it's like circuit bending in spice. It's not going to match perfectly to real world results but it's close enough to at least see where you can shore up your failure modes.
roeles 3 hours ago [-]
Better to be conservative than too optimistic. MIL-STD-217 is a nice and pessimistic source.
0_____0 22 hours ago [-]
Like an auto-FMEA to predict likelihood?
roeles 20 hours ago [-]
Yeah I guess it's similar to that.
kalinkochnev 1 days ago [-]
As someone who has really struggled understanding electronics and wanted good visuals, the post and comments are gold.
Scene_Cast2 1 days ago [-]
Looks neat. I wonder how it compares to the other two similar tools in my toolbox - Qucs-s and falstad's circuitjs.
astahlx 1 days ago [-]
I like it a lot and it would be an important addition to the agent loop. Hope the project will keep its pace up and find some contributors. It can definitely benefit from some better harness focusing on code quality. Still want good readable and well maintainable, for me but also for the agents.
arwidV 1 days ago [-]
I am working on 1.1.0 right now. I'ts about half way, mainly some auditing and fixes. Then 1.2.0 will have some more features added. I am waiting mainly on feedback from people and the in-app bug reports.
alex7o 22 hours ago [-]
Man one thing I would love you to fix is the fact that Analog devices parts can only be loaded in lt-spice and TI ones in pspice. And I want to mix and match I don't want to only use analog devices or Texas instruments ones.
arwidV 18 hours ago [-]
Plain, unencrypted Analog Devices and TI models run in the desktop app. For encrypted models of TiSPICE if you have PSpice for TI you can simulate them in BetterSPICE directly with the install, haven't done LTspice yet encrypted models yet... i really do not want to break encryptions and maybe I will integrate if you have LTspice installed to run them in the same way.
Joel_Mckay 1 days ago [-]
One may also download the upgraded LTSpice next generation, to use full granularity QSpice GPU simulation for free.
I know the homepage reeks of slop, but I encourage people to try this software.
The MCP integration is _superb_, I'm running it on a moderately complex kicad design, and the interaction between HITL and agent is really impressive. Very inspirational desktop design.
arwidV 1 days ago [-]
If i knew it would pick up this fast I woulda upgraded the homepage a bit more,lol. I have a few revisions of the website to make it less slop-y. Some stuff is over explained etc. I have pretty strict lint, but some stuff still goes through the gaps lol.
bityard 1 days ago [-]
Protip: You can fix most of the sloppiness by just removing most of the text. Showing a screenshot is good, but then adding a caption that says, "parts list on the left, circuit in the middle" is just beyond useless.
arwidV 19 hours ago [-]
I worked in Marketing for a long time, i guess its a force of habit for over-selling stuff lol. I will clean it up a bit. I just wanted to get the most info possible on the main page so people get an idea without having to jump through like 5 pages.
gspr 1 days ago [-]
Licensing conditions are a complete joke though. And that's not just because the author misleadingly calls this "open source", it's because they haven't even understood the licenses they've chosen.
hn_submit 1 days ago [-]
The only thing I'm missing is a THD analyzer. Would it be feasible to add it?
arwidV 1 days ago [-]
I will add it, its next feature on the list :)
runningmike 1 days ago [-]
This title is misleading. This is not a valid osi open source license. Its Commons Clause. With a strange mix of agpl.
But great software and great example of using AI to create a nice tool.
postalrat 1 days ago [-]
When most of the source code is written by an LLM can it even have a license? If challenged it's probably public domain code.
arwidV 1 days ago [-]
Its "basically" open-source. I just don't want people to take it an monetize it without modifying it at all and package it as their own. If they modify it enough and meaningfully change it then yeah they can sell it. But they can't just copy-paste, change some branding and images and sell it.
mort96 1 days ago [-]
It's not "basically open source". It's source-available proprietary software.
Which is fine. Just don't lie.
tagrun 21 hours ago [-]
While Commons Clause does not fit the "OSI open source" definition (the rebranding of free software for corporate adoption, which is not equal to "open source", and is a topic of debate on its own, as many people didn't like how Bruce Perens, Eric Raymond and others forcefully declared their interpretation of "open source" as THE "open source" definition back in ~1998, in a way that conveniently encapsulated + distinguished them from Richard Stallman and FSF, and cheered by corporate shills & backers and everyone else who saw open source mainly as a tool to profit, managing to sideline Stallman) or copyleft, it is definitely not Proprietary Software: https://en.wikipedia.org/wiki/Proprietary_software
As anyone in their 40+s here can recall, the concept of "open source" existed long before OSI and the criteria they defined; the freedoms and licensing, which cover the question of whether you could commercialize someone else's open-source code, were orthogonal concepts to open source. That is why Stallman had to introduce free software and GPL in the first place, and that is also partially why he has been critical of the OSI.
blagie 50 minutes ago [-]
This is incorrect.
The concept of "open source" did not exist prior to OSI.
While OSI / open source was created to "conveniently... sideline Stallman" and "as a tool to profit," it was created in the late nineties. They coined the term precisely so they could define it. The open source definition is THE open source definition. The term didn't exist before then.
You can't redefine it, any more than you can redefine Microsoft's "Shared Source Initiative."
People invent terms for specific reasons, good and bad, but if they invent a term, they get to control it. Open source is open source is open source.
And "not proprietary" does not equal "open source." There are many models. Commons Clause does not fit any free software or open-source definition.
And Commons Clause + AGPL, as used here, is just a legal contradiction:
> Software under the Commons Clause cannot typically be combined with software under copyleft licenses like GPL
You have confused open source with public domain or copyleft, which are a specific kind of open source called communism.
mort96 1 days ago [-]
No, you have confused "open source" with "source available". They have never meant the same thing.
Also, I believe you're confusing "public domain" with permissive licenses. Something under the MIT license is permissively licensed. Something under the GPL is copyleft licensed. Something under a license with the Commons Clause is proprietary source-available software. A work dedicated to the public domain is something else entirely and depends on jurisdiction, with many jurisdictions not even allowing a person to dedicate a work to the public domain. Things typically enter the public domain after some time has passed.
Please don't speak so confidently on things you don't understand. At least have your chat bot fact check it for you before you post.
blagie 1 days ago [-]
> The source is available.
> You have confused open source with public domain or copyleft, which are a specific kind of open source called communism.
This is the most confused, ignorant comment I've read in a while.
Go and educate yourself. Read the open source definition:
It literally starts with "Open source doesn’t just mean access to the source code"
There's about 2-4 hours of education you need in what open source is, what free software is, and how it works, why it's designed the way it is, and the history. I'd also read about communism, while you're at it, since you're also confused there.
You don't even need to agree. You just don't want to appear an idiot in conversations.
21 hours ago [-]
n3xyf 1 days ago [-]
I know nothing and I must larp
medler 1 days ago [-]
Speaking as the creator of many vibe-coded projects, I wouldn’t worry about someone monetizing your AI code. Anyone could prompt an AI with a paragraph-long description of what this thing is doing and generate something substantially similar without even looking at the code. And I don’t mean to denigrate the project, which looks very cool and which surely did take a lot of prompting work to create.
blagie 1 days ago [-]
None of this is true. It's not basically open-source. And people can't sell it even if they modify it "enough."
You don't understand your own license.
The reaction you'll get ("Just don't lie" in the other comment) won't be uncommon, and is probably actively harmful to whatever goals you have for the project, which aren't well-articulated.
This could be a nice teaching tool, but the license precludes it:
- Try to pull it into Canvas? Not without spending a few grand on a lawyer.
- Try to use it a tuition-charging course? Call a lawyer. That might be selling "consulting/ support services related to the Software," or fall under the "without limitation" clause.
- Want to contribute? Call a lawyer to figure out what that means.
That list goes on.
Most people with a legal department won't touch this with a 10-foot-pole. Most people without a legal department, but with enough background in how the law works, also won't touch this without speaking to a lawyer first.
And if you accept your first PR, the question is whether the license binds you (probably, "yes"), and you can't use it in any of those ways either! You've basically tied your own hands at that point.
The reason we have mainstream licenses is:
- Interoperability and network effects. All GPLv3/AGPLv3/permissive/etc. code can be used together.
- Shared understanding. Everyone knows what CC-SA, GPL, MIT, etc. mean.
- Extensive legal review. You have some of the best legal minds in the world (e.g. Moglen and Lessig) drafting these, in consulation with an army of advisors, and thinking through things like jurisdictional issues and other not-so-corner corner cases.
This is a legal foot-gun.
kragen 1 days ago [-]
> You don't understand your own license.
Given that they are fraudulently claiming that the license is an open-source license, it would be unsurprising if they were making other fraudulent claims about the license, rather than failing to understand it.
blagie 1 days ago [-]
Hanlon's Razor applies: "Never attribute to malice that which is adequately explained by stupidity."
If the license brought any sort of advantage to the author, or they might somehow brought benefit from it, I might agree. However, the license is clearly bad legal language.
The best-case outcome for the author that someone researching the author on social media discovers that they did something dumb, and they lose a job or consulting gig. The worst-case outcome -- well, I can think of a half-dozen ways they might inadvertently expose themselves to legal liability.
The best description in this thread so far is gspr's "It's a layercake of stupid :)"
If you don't know what you're doing, don't try drafting your own legal language. The author should pick the AGPL, which will preclude the vast majority of the kinds of use the author is concerned about, while being legally vetted and, well, sane.
Most commercial providers won't touch AGPL code with a 10-foot pole, so de facto, it does the same thing. Adding a trademark, as well as making full use of the power of AGPL section 7, gets it almost the rest of the way there.
This is a time to educate, not attack.
gspr 1 days ago [-]
Very much this.
Here's another example of how terribly they're misunderstanding their own license. They write
> Which text applies first: this Commons Clause condition limits the license below. Where the text of the GNU Affero
General Public License (its preamble included) speaks of charging for copies, selling or charging a fee, that right is
not granted for BetterSPICE.
Yet the AGPL clearly states:
> All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term.
So, if the author insists that the code is "insane bespoke license + AGPL", then the recipient has the right to remove restrictions from the bespoke license.
Completely moronic shitshow.
MrMorden 1 days ago [-]
The licensing is even stupider than that. All of the above is accurate for human-produced code, but AI-produced code is uncopyrightable, and based on the text it appears that the code is 100% AI-produced. The prompts are copyrightable, but that doesn't make a difference.
The end result is that none of this code has a copyright and it's public-domain, except for whichever parts Claude may have regurgitated verbatim from copyrighted training data. And those parts may have incompatible open-source licenses or even be proprietary.
blagie 1 days ago [-]
... that's not quite how it works.
First of all, we can talk about the US.
In the US, machine-generated, including AI-generated, work is not copyrightable, but a lot of work is not purely LLM-generated, but LLM-assisted. If I give an AI a prompt:
"Make a picture of a monkey"
That's clearly not copyrightable. If I give a prompt:
"Make a comic, with two monkeys playing ping-pong. In the first frame, a monkey says, 'Catch!' In the second frame, ...."
I might hold the copyright to the script, while the visual choices of the AI might not be copyrightable. A lot of this has no case law yet, but I suspect the key question will be about where the creative contribution comes from. An LLM held on a short leash, where it translates ideas into the mechanics of code, is likely to produces something with a lot of human copyright, whereas one given a spec to implement might produce something with no or de minis copyright.
Now the harder part: The world isn't the US. Every country's legal system has its own opinions here. The internet is global. If you screw this up, you might be facing a lawsuit in Zambezia, Zubrowka, Sokovia, Ishtar, or Montequinto.
gspr 21 hours ago [-]
I'm not arguing against the point you're making about copyrightability. You're probably right.
But I struggle to see how the status quo is sustainable if there's a gadget you can point at something and say "make me me something like that" and not be incumbered by that something's copyright.
blagie 21 hours ago [-]
That's exactly what's happening to an AGPL tool I wrote. A company pirated it -- same tool, minor code changes, name stripped out, copyright stripped out, renamed.
After 6 months of violation letters, they decided to come into "compliance" by having an LLM clone it.
Feels dirty. Took all the fun out of the project. It's a big-fish-in-small-pond kind of situation, so all sorts of users are confused, mislead, and there's all sorts of other fraud going on (ergo, "compliance" in quotes).
But very little in the status quo feels sustainable. Right now, capital beats labor, and education is being massively devalued. Either we're heading for a communist utopia, mass starvation, AI takeover, or, probably, something completely different. No one knows.
gspr 8 hours ago [-]
Aye. And when someone on this site points out how unfair the process that happened to you is, they'll say we've misunderstood the hacker spirit, and that we finally have a future where everything is in everyone's hands.
You know, I'd almost agree. If it weren't for the fact that it's happening in a wildly asymmetric way!!! Why do people think the GTA6 recompilers are hiding in secrecy? How do they think Disney would react if you had an LLM watch their movie and "make" an "inspired" "recreation"? Of course you'd be sued out of oblivion!
So no, we don't have the hacker's dream. We have a nightmare in which our best defensive measures (copyleft licenses) are being rendered ineffective, and where anything with visible source written by the little guy will be cloned by the big guys, with the reverse process blocked.
This is not utopia. It's the undoing of four decades of progress. I wanna scream out of frustration that people can't fucking see this!
I'm beginning to think we'll need a EULA-like defensive tool. It makes me extremely sad, but maybe FOSS needs to curtail one freedom and ban ingesting of the code into an LLM. It's draconian, but whatever we have now is a path to oblivion.
blagie 7 hours ago [-]
I actually wouldn't feel bad about it, if not for the financial aspect:
* As a free software author, I have a $100/month plan on OpenAI and on Anthropic
* The sleazy competitor has millions of dollars in federal grant funding, likely based on fraud, which means once the tooling for someone non-technical is there, they'll be able to run who swarms of agents.
In January, non-technical person + agent was a non-starter. Today, they can build things which kind of don't work, but good enough to fake it for demos. In another 6 months, I'm probably screwed. Especially given the LLMs are training on the logic going into my code.
If this was available to everyone on an equal basis, I wouldn't mind. Copyright could, effectively, go away as a relic of the past. It's a social construct which didn't exist prior to 1500, was originally pragmatically designed to "promote technological progress," and began to be treated as an ethical thing only decades ago, based on aggressive RIAA/MPAA/BSA campaigns targeting grade school kids.
Promoting technological progress is no longer the problem -- indeed, today, many more people are asking how we slow it down than how we speed it up further.
gspr 1 days ago [-]
Of course. It's a layercake of stupid :)
kragen 1 days ago [-]
Being "basically open-source" would allow anyone to take it and monetize it without modifying it at all and package it as their own, as long as they acknowledge you. "Open source" is a term that was invented specifically to market free software whose licensing strongly protects its users' freedom to modify and repackage it, because they found that the term "free software" was a problem for marketing to businesses.
By calling it "open-source", you are attempting to free-ride on the good will that the resulting movement has accrued over the ensuing 29 years, and deceive potential users into believing that their freedom is protected by open-source licensing, when in fact you are deceptively sneaking non-open-source terms into the purported copyright license.
You are lying in an effort to commit fraud, and you should stop immediately.
samatman 1 days ago [-]
I guess it depends on if you care about the success of your project.
If you do, this is exceptionally stupid behavior. No sane person will do more than kick the tires on this, ever. Every place it's posted, the discussion will be drowned out by people (rightfully) dragging the license. Any lawyer shown this code will advise their client to kill it with fire. The ill will you're generating will follow you around until you give up.
But if you don't care about the success of your project, well. I don't understand what you're doing. But I suppose then, it doesn't matter.
You're optimizing for the wrong thing here. Please listen to me: this is existential for the future of your project. Pick a normal license.
blagie 1 days ago [-]
To me, this is the make-or-break. The ironically-named Commons Clause license prevents a license; it means this can't reasonably integrate with much of anything. It's license-incompatible with the universe, with people wanting to make external contributions, or with anything I'd want to develop integrating it.
mdayan 1 days ago [-]
[dead]
charan345 1 days ago [-]
[dead]
kennywinker 1 days ago [-]
Seems like A vibe coded ripoff of falstad's circuitjs... they didn't even bother to change the look, just made the whole thing horribly cluttered and slopified.
Looking at the repos they don't seem architecturally similar.
At a glance the look seems the same as everycircuit. CircuitJs has quite a few user interface eccentricities.
kennywinker 24 hours ago [-]
Llm-laundered code
dionyziz 1 days ago [-]
You passed on the opportunity to call it SPICIER?
aeve890 1 days ago [-]
This is the kind of things llms would never come up with.
lopotubez 1 days ago [-]
Was excited to see a new electronics tool, but I dislike this dark-pattern behavior of claiming "free, open source" making people think it is FOSS.
Thankfully this comment section already noticed that.
bowsamic 1 days ago [-]
At least write the stuff on your landing page by hand. This is intensely and offputtingly LLM written
crabmusket 1 days ago [-]
It feels too easy to criticise AI web design, and I know it's frowned upon in HN culture. But the new ways that sites look uncanny now is fascinating to me.
Like in this page, the bright and bolded "5,767" and de-emphasized context is just such a weird little tic. Like someone who doesn't know what the sentence is for, but knows it needs to have emphasis on one big number.
They at least changed the colour scheme away from Claude Orange, but structurally, it's pure slop.
pelasaco 1 days ago [-]
Destroying small SaaS one vibe coding session at a time...
bemtevi 1 days ago [-]
I just avoid projects that are vibe-coded like this. Is it because they're not useful? No. Is it because they could have security flaws? No. It's because, what's even the point of supporting a world that just spends endless energy on clones of clones of clones. It seems so very disrespectful to support a new technology that uses so much energy when we've already entrenched so many inefficient technologies that are hardly improving the world at all.
Plus, there's clearly very little human effort involved here, and who knows if these projects will be maintained? What's the point?
arwidV 1 days ago [-]
Dude, that's fine that's your right, but like if you think there is no effort on this i spend so much effort on this that i barely sleep, its just a different type of effort, i am fighting decisions, ui/ux choices, structural choices, wording choices, functional choices rather then fighting a function for not compling.
bemtevi 1 days ago [-]
If you barely sleep then maybe AI is an addiction and you should just do something else because that's really not healthy.
blagie 1 days ago [-]
It depends on how long it goes on for.
I spent 2 months like that when Fable came out, and then burned out. It was fun for a while. I learned a lot. It wasn't unhealthy.
bemtevi 1 days ago [-]
Everyone says they've learned a lot. But I wonder if that is true and if that knowledge will even stick or go anywhere.
I think it's more likely you're just justifying it after the fact with some nebulous statement about learning when in reality it was just like gambling....which might teach a little about probabilities.
blagie 1 days ago [-]
My experience is that in any experience, there is a rapid initial learning curve, and then diminishing returns.
I feel like those two months gave that rapid initial learning curve, but if I kept it up much longer, I'd get pretty dumb long-term. At least at what I was doing.
I can see other activities which would lead to a longer or shorter learning curve, so that's a comment about me and what I was doing -- not generalizable. The generalizable comment is to try most things for a little bit, where "little bit" might be a 1-hour class, or a 2-year intensive dive.
The knowledge definitely does inform how I do things now.
gspr 1 days ago [-]
Poor you. Maybe have your slopmachine do that too then?
excannuk 1 days ago [-]
A glance at the landing page and the AI slop glare had me hitting the back button.
Its the same feeling Ive gotten the few times Ive entered a casino - the neon lights triggering too many cheap dopamine.
AIShill101 2 days ago [-]
Hmm, the website and GitHub repo trigger my ai-slop filter unfortunately.
Tho I really was looking for a nice circuitsim.
ViktorEE 1 days ago [-]
I've just added real time simulation to PCBJam ( https://www.pcbjam.com/ ).
It's just KiCad with Ngspice, and a layer above it for visuals.
Here's a video about it:
https://www.youtube.com/watch?v=AQ_pAV7nnvI
As you can see you can do thermal simulations, and run an esp32 ( or Arduino Uno ).
It's quite early, we'll improve it a ton in the future ( real time audio simulation, more MCUs, more components ). It's aight as it is I think.
while this is perhaps hand-weaved, it is definitely not better looking or more complete than the vibe thing.
delusional 1 days ago [-]
Doesn't matter to me. Personally, I don't want to expose my brain to slop. I don't care if the product is better.
larodi 24 hours ago [-]
one's personal choice reg. how exactly are things produced does not necessarily correctly conclude/infer their objective qualities, perhaps you would agree?
delusional 22 hours ago [-]
I would argue that how something is produced is an "objective quality".
kennywinker 22 hours ago [-]
It’s subjectively like looking at a casino floor.
pbmonster 1 days ago [-]
QUCS Studio has a python API. It's so ancient, not only is it certainly not slop, it comes with years of FOSS drama pre-build.
No, but seriously. QUCS works for most projects, it's pretty impressive.
Joel_Mckay 1 days ago [-]
The key feature in QUCS, is using NanoVNA or LiteVNA64 to model actual stock components. It can often hit below 12% error on the first try if done right. =3
noah32 1 days ago [-]
I cooked up this slop a little while ago. https://turbospice.net/
It's still slop and probably not as good but maybe less chaotic looking
AI wrote significantly better. But not so if it is system architecture type of multi component software. But if the setup is in a continous loop, then it blows thru what human can do in that amount of time. This is already well known in senior engineers circle in big tech. You can just look at vectorcraft. Hard to find anyone with 20 years experience to manually code that out even if given them 5 years to do so.
gobdovan 1 days ago [-]
Could you show some AI code that you consider better than human code + in which way is it better?
Haven880 1 days ago [-]
Vectorcraft? You have to factor in time contraint. If you use an enginer working on the software for 20 years and vs a 1mth old software AI generated, it isnt a fair comparison. Or if one work in cybersec doing software analysis, no humans able to code better than AI when it comes to exploit+loop.
gobdovan 1 days ago [-]
Is Vectorcraft considered better than Illustrator? I like the cybersec one, because if AI finds same vuln as human, if AI found it faster AI is just better. There's not much difference in how the exploit code looks like or how performant it is. Probably why AI seems so nice for math proofs as well.
cwillu 1 days ago [-]
> You have to factor in time contraint.
You really don't.
rurban 1 days ago [-]
rurban/rcc is definitely better in the target features, than similar human code. The goal was to be faster in compilation, and having less bugs than gcc and clang
gobdovan 1 days ago [-]
But aren't you responsible for the target features? Is there a particular piece of code or algorithm the AI came up with that you consider better than what you or another competent programmer would have written?
rurban 1 days ago [-]
Yes, I favored correctness over execution speed.
I also favored compile-time speed, because I couldn't compile my own huge library anymore on a 32MB laptop with gcc or clang, only with tcc, which has huge holes still.
Special pieces:
builtin preprocessor tokenizes only once, and interns all the identifiers. So not much strcmp needed later. And -E synthesizes the code from the tokens.
Much simplier and faster codegen without the optimizer. Heuristic optimizer, compared to the exact cost-based optimizer in the huge compilers. Like, much easier inliner. No auto-vectorizer, the user can vector his code very easily by himself. No silent dead-code removal, which is safety critical.
Compile-time conversion of large sparse switch cases to perfect hashes is unique. The AI wouldn't have come to it by itself, it needed to be guided.
The test runner is much better and much faster than anything else. I hate waiting for regression test results. Gcc is perf horror, clang way overarchitectured.
Simple -g avoids libdwarf overhead.
1 days ago [-]
gobdovan 1 days ago [-]
Thanks for the elaborate response. It seems AI is better at building software for small user base. Clang may be better for general usecases, but AI made it possible to build software around your specific preferences without spending years developing it.
rurban 1 days ago [-]
Nonsense. AI is better at building software in general as long as you follow proper software development principles.
AI slop coders, like ccc, dont do that, so their code sucks. They cannot even maintain it.
gcc decided against AI, so they are outpaced and are doomed. More and more bugs creeping on, it will only get worse.
nitros 1 days ago [-]
The rate of bugs creeping in to gcc is going to increase?
Since GCC is not allowing AI contributions, that should just mean that the development trajectory continues somewhat unchanged from if LLMs didn't exist. Is that a problem?
rurban 1 days ago [-]
The rate of gcc bugs is increasing, and they are not favoring fixing them. Their only priority is to add more features and more bugs. It is a big problem. clang is not doing better, even worse. They get even more bigger, with more bugs than gcc already. Perf also got much worse.
Sorry. Although I can argue that calling someone's hard work AI slop isn't cool either.
tomhow 1 days ago [-]
We don’t like shallow dismissals, and they’re against the guidelines too. But it’s important for project creators to present their work in a way that engenders respect from the audience when asking for their time and attention (and maybe money).
I haven’t looked deeply into at this project so I don’t know if the critique is fair or valid. But on HN we are awash with projects that haven’t had much time or effort put into building them, and it’s understandable that a lot of people are succumbing to some fatigue.
Really we want everyone to be kind and respectful, but that includes project creators being respectful towards the audience.
That would enable monte carlo simulation and estimation of reliability.
I already have monte carlo and tolerances, but this more "intense" failure mode seems like good idea.
It's not even possible to predict some of these failure modes, because of the scarcity of the events and lack of good models.
For example: I measure the voltage drop through a current shunt on the high side of a load, using an IC. What is the probability (given all the failure modes of the components used) that the load does not receive power?
It's not about being perfect. It's about being able to estimate. We can always expand and improve the component models.
Or, since trying to model probabilities in SPICE means massive sim times to produce meaningful results, just step the value of the resistor between 0 and 1Tohm (and any interesteing values between) to mimic failure states of the downstream part. For AC stuff, you can mess with shitty transmission lines or caps doing weird stuff. Lots of fun, it's like circuit bending in spice. It's not going to match perfectly to real world results but it's close enough to at least see where you can shore up your failure modes.
https://www.qorvo.com/design-hub/calculators-simulation/qspi...
A very nice tool if you like to learn about electronics, and want to avoid nonsense. =3
> How does the performance running under Linux compare to running under Windows?
> Every Linux user you ask will tell you that LTspice runs better under Linux than Windows.
> Wow, cool! Does it really?
> No.
https://ltwiki.org/files/LTspiceHelp.chm/html/Running_Under_...
The MCP integration is _superb_, I'm running it on a moderately complex kicad design, and the interaction between HITL and agent is really impressive. Very inspirational desktop design.
But great software and great example of using AI to create a nice tool.
Which is fine. Just don't lie.
As anyone in their 40+s here can recall, the concept of "open source" existed long before OSI and the criteria they defined; the freedoms and licensing, which cover the question of whether you could commercialize someone else's open-source code, were orthogonal concepts to open source. That is why Stallman had to introduce free software and GPL in the first place, and that is also partially why he has been critical of the OSI.
The concept of "open source" did not exist prior to OSI.
While OSI / open source was created to "conveniently... sideline Stallman" and "as a tool to profit," it was created in the late nineties. They coined the term precisely so they could define it. The open source definition is THE open source definition. The term didn't exist before then.
You can't redefine it, any more than you can redefine Microsoft's "Shared Source Initiative."
People invent terms for specific reasons, good and bad, but if they invent a term, they get to control it. Open source is open source is open source.
And "not proprietary" does not equal "open source." There are many models. Commons Clause does not fit any free software or open-source definition.
And Commons Clause + AGPL, as used here, is just a legal contradiction:
> Software under the Commons Clause cannot typically be combined with software under copyleft licenses like GPL
https://fossa.com/glossary/commons-clause/
You have confused open source with public domain or copyleft, which are a specific kind of open source called communism.
Also, I believe you're confusing "public domain" with permissive licenses. Something under the MIT license is permissively licensed. Something under the GPL is copyleft licensed. Something under a license with the Commons Clause is proprietary source-available software. A work dedicated to the public domain is something else entirely and depends on jurisdiction, with many jurisdictions not even allowing a person to dedicate a work to the public domain. Things typically enter the public domain after some time has passed.
Please don't speak so confidently on things you don't understand. At least have your chat bot fact check it for you before you post.
> You have confused open source with public domain or copyleft, which are a specific kind of open source called communism.
This is the most confused, ignorant comment I've read in a while.
Go and educate yourself. Read the open source definition:
https://opensource.org/osd
It literally starts with "Open source doesn’t just mean access to the source code"
There's about 2-4 hours of education you need in what open source is, what free software is, and how it works, why it's designed the way it is, and the history. I'd also read about communism, while you're at it, since you're also confused there.
You don't even need to agree. You just don't want to appear an idiot in conversations.
You don't understand your own license.
The reaction you'll get ("Just don't lie" in the other comment) won't be uncommon, and is probably actively harmful to whatever goals you have for the project, which aren't well-articulated.
This could be a nice teaching tool, but the license precludes it:
- Try to pull it into Canvas? Not without spending a few grand on a lawyer.
- Try to use it a tuition-charging course? Call a lawyer. That might be selling "consulting/ support services related to the Software," or fall under the "without limitation" clause.
- Want to contribute? Call a lawyer to figure out what that means.
That list goes on.
Most people with a legal department won't touch this with a 10-foot-pole. Most people without a legal department, but with enough background in how the law works, also won't touch this without speaking to a lawyer first.
And if you accept your first PR, the question is whether the license binds you (probably, "yes"), and you can't use it in any of those ways either! You've basically tied your own hands at that point.
The reason we have mainstream licenses is:
- Interoperability and network effects. All GPLv3/AGPLv3/permissive/etc. code can be used together.
- Shared understanding. Everyone knows what CC-SA, GPL, MIT, etc. mean.
- Extensive legal review. You have some of the best legal minds in the world (e.g. Moglen and Lessig) drafting these, in consulation with an army of advisors, and thinking through things like jurisdictional issues and other not-so-corner corner cases.
This is a legal foot-gun.
Given that they are fraudulently claiming that the license is an open-source license, it would be unsurprising if they were making other fraudulent claims about the license, rather than failing to understand it.
If the license brought any sort of advantage to the author, or they might somehow brought benefit from it, I might agree. However, the license is clearly bad legal language.
The best-case outcome for the author that someone researching the author on social media discovers that they did something dumb, and they lose a job or consulting gig. The worst-case outcome -- well, I can think of a half-dozen ways they might inadvertently expose themselves to legal liability.
The best description in this thread so far is gspr's "It's a layercake of stupid :)"
If you don't know what you're doing, don't try drafting your own legal language. The author should pick the AGPL, which will preclude the vast majority of the kinds of use the author is concerned about, while being legally vetted and, well, sane.
Most commercial providers won't touch AGPL code with a 10-foot pole, so de facto, it does the same thing. Adding a trademark, as well as making full use of the power of AGPL section 7, gets it almost the rest of the way there.
This is a time to educate, not attack.
Here's another example of how terribly they're misunderstanding their own license. They write
> Which text applies first: this Commons Clause condition limits the license below. Where the text of the GNU Affero General Public License (its preamble included) speaks of charging for copies, selling or charging a fee, that right is not granted for BetterSPICE.
Yet the AGPL clearly states:
> All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term.
So, if the author insists that the code is "insane bespoke license + AGPL", then the recipient has the right to remove restrictions from the bespoke license.
Completely moronic shitshow.
The end result is that none of this code has a copyright and it's public-domain, except for whichever parts Claude may have regurgitated verbatim from copyrighted training data. And those parts may have incompatible open-source licenses or even be proprietary.
First of all, we can talk about the US.
In the US, machine-generated, including AI-generated, work is not copyrightable, but a lot of work is not purely LLM-generated, but LLM-assisted. If I give an AI a prompt:
"Make a picture of a monkey"
That's clearly not copyrightable. If I give a prompt:
"Make a comic, with two monkeys playing ping-pong. In the first frame, a monkey says, 'Catch!' In the second frame, ...."
I might hold the copyright to the script, while the visual choices of the AI might not be copyrightable. A lot of this has no case law yet, but I suspect the key question will be about where the creative contribution comes from. An LLM held on a short leash, where it translates ideas into the mechanics of code, is likely to produces something with a lot of human copyright, whereas one given a spec to implement might produce something with no or de minis copyright.
Now the harder part: The world isn't the US. Every country's legal system has its own opinions here. The internet is global. If you screw this up, you might be facing a lawsuit in Zambezia, Zubrowka, Sokovia, Ishtar, or Montequinto.
But I struggle to see how the status quo is sustainable if there's a gadget you can point at something and say "make me me something like that" and not be incumbered by that something's copyright.
After 6 months of violation letters, they decided to come into "compliance" by having an LLM clone it.
Feels dirty. Took all the fun out of the project. It's a big-fish-in-small-pond kind of situation, so all sorts of users are confused, mislead, and there's all sorts of other fraud going on (ergo, "compliance" in quotes).
But very little in the status quo feels sustainable. Right now, capital beats labor, and education is being massively devalued. Either we're heading for a communist utopia, mass starvation, AI takeover, or, probably, something completely different. No one knows.
You know, I'd almost agree. If it weren't for the fact that it's happening in a wildly asymmetric way!!! Why do people think the GTA6 recompilers are hiding in secrecy? How do they think Disney would react if you had an LLM watch their movie and "make" an "inspired" "recreation"? Of course you'd be sued out of oblivion!
So no, we don't have the hacker's dream. We have a nightmare in which our best defensive measures (copyleft licenses) are being rendered ineffective, and where anything with visible source written by the little guy will be cloned by the big guys, with the reverse process blocked.
This is not utopia. It's the undoing of four decades of progress. I wanna scream out of frustration that people can't fucking see this!
I'm beginning to think we'll need a EULA-like defensive tool. It makes me extremely sad, but maybe FOSS needs to curtail one freedom and ban ingesting of the code into an LLM. It's draconian, but whatever we have now is a path to oblivion.
* As a free software author, I have a $100/month plan on OpenAI and on Anthropic
* The sleazy competitor has millions of dollars in federal grant funding, likely based on fraud, which means once the tooling for someone non-technical is there, they'll be able to run who swarms of agents.
In January, non-technical person + agent was a non-starter. Today, they can build things which kind of don't work, but good enough to fake it for demos. In another 6 months, I'm probably screwed. Especially given the LLMs are training on the logic going into my code.
If this was available to everyone on an equal basis, I wouldn't mind. Copyright could, effectively, go away as a relic of the past. It's a social construct which didn't exist prior to 1500, was originally pragmatically designed to "promote technological progress," and began to be treated as an ethical thing only decades ago, based on aggressive RIAA/MPAA/BSA campaigns targeting grade school kids.
Promoting technological progress is no longer the problem -- indeed, today, many more people are asking how we slow it down than how we speed it up further.
By calling it "open-source", you are attempting to free-ride on the good will that the resulting movement has accrued over the ensuing 29 years, and deceive potential users into believing that their freedom is protected by open-source licensing, when in fact you are deceptively sneaking non-open-source terms into the purported copyright license.
You are lying in an effort to commit fraud, and you should stop immediately.
If you do, this is exceptionally stupid behavior. No sane person will do more than kick the tires on this, ever. Every place it's posted, the discussion will be drowned out by people (rightfully) dragging the license. Any lawyer shown this code will advise their client to kill it with fire. The ill will you're generating will follow you around until you give up.
But if you don't care about the success of your project, well. I don't understand what you're doing. But I suppose then, it doesn't matter.
You're optimizing for the wrong thing here. Please listen to me: this is existential for the future of your project. Pick a normal license.
Just use https://www.falstad.com/circuit/circuitjs.html
At a glance the look seems the same as everycircuit. CircuitJs has quite a few user interface eccentricities.
Thankfully this comment section already noticed that.
Like in this page, the bright and bolded "5,767" and de-emphasized context is just such a weird little tic. Like someone who doesn't know what the sentence is for, but knows it needs to have emphasis on one big number.
They at least changed the colour scheme away from Claude Orange, but structurally, it's pure slop.
Plus, there's clearly very little human effort involved here, and who knows if these projects will be maintained? What's the point?
I spent 2 months like that when Fable came out, and then burned out. It was fun for a while. I learned a lot. It wasn't unhealthy.
I think it's more likely you're just justifying it after the fact with some nebulous statement about learning when in reality it was just like gambling....which might teach a little about probabilities.
I feel like those two months gave that rapid initial learning curve, but if I kept it up much longer, I'd get pretty dumb long-term. At least at what I was doing.
I can see other activities which would lead to a longer or shorter learning curve, so that's a comment about me and what I was doing -- not generalizable. The generalizable comment is to try most things for a little bit, where "little bit" might be a 1-hour class, or a 2-year intensive dive.
The knowledge definitely does inform how I do things now.
Its the same feeling Ive gotten the few times Ive entered a casino - the neon lights triggering too many cheap dopamine.
Tho I really was looking for a nice circuitsim.
No, but seriously. QUCS works for most projects, it's pretty impressive.
You really don't.
I also favored compile-time speed, because I couldn't compile my own huge library anymore on a 32MB laptop with gcc or clang, only with tcc, which has huge holes still.
Special pieces:
builtin preprocessor tokenizes only once, and interns all the identifiers. So not much strcmp needed later. And -E synthesizes the code from the tokens.
Much simplier and faster codegen without the optimizer. Heuristic optimizer, compared to the exact cost-based optimizer in the huge compilers. Like, much easier inliner. No auto-vectorizer, the user can vector his code very easily by himself. No silent dead-code removal, which is safety critical.
Compile-time conversion of large sparse switch cases to perfect hashes is unique. The AI wouldn't have come to it by itself, it needed to be guided.
The test runner is much better and much faster than anything else. I hate waiting for regression test results. Gcc is perf horror, clang way overarchitectured.
Simple -g avoids libdwarf overhead.
AI slop coders, like ccc, dont do that, so their code sucks. They cannot even maintain it.
gcc decided against AI, so they are outpaced and are doomed. More and more bugs creeping on, it will only get worse.
I haven’t looked deeply into at this project so I don’t know if the critique is fair or valid. But on HN we are awash with projects that haven’t had much time or effort put into building them, and it’s understandable that a lot of people are succumbing to some fatigue.
Really we want everyone to be kind and respectful, but that includes project creators being respectful towards the audience.