15,021 karma · joined Mar 23, 2015 (11y ago) · 2,729 submissions
comment 1y ago · link · parent
As an experienced audio developer, it's a distinction without a difference. We get used to reading code and deciphering how to use or improve it (wait until you start working with other's DSP code!), and some features and conventions of C/C++, like the segregation of declarations from definitions, make it especially self-documenting for those that are fluent in it.
Having integrated SFZero myself (albeit to a deadend; it's very middling-to-poor), I was surprised to discover that there was not more explicit documentation when you announced it as the library you were referring to, specifically because I remember the work of integrating it was relatively trivial (maybe half a day or so).
For a complete outsider to audio development, JUCE, C++, of course the LLM helped you get done what you needed to get done, far faster than you could have hoped otherwise. And that's great if you're just toying around. On the other hand, you absolutely would have sharpened your skills with all three of those things more had you the luxury to muddle through and force yourself to make sense of it all yourself.
Assuming skills development is your goal (otherwise, you should be using different tools here! C++ and JUCE are not where to start if your personal goal is music making, synthesis, or MIDI), there's a balancing act between making sure you don't get discouraged and committing to the hard work of learning things in-depth. The LLM gave you a way to avoid feeling stuck and discouraged, and perhaps represents the difference between you sticking with the project or just throwing your hands up. But keep in mind the tradeoff that it implies for skill development and consider only turning to it when the frustration starts to get too high to bear.
comment 1y ago · link · parent
Assuming your original question was not rhetorical and was asked in good faith, other people who've used SFZero before the advent of LLM's made sure they understood juce::Synthesizer (despite its many warts, juce's public interfaces are well documented and represent a strong point) as this just defines a specific implementation, and either referenced the provided example or read the headers, which are pretty straightforward.
It's great that the LLM was able to get you to where you wanted to be, and congratulations on getting your project to that milestone. Especially for not having worked in C++ before! But to the point of the person you were responding to, the LLM was not fulfilling a generally unmet need. Everything a professional or practiced amateur needs was there already.
comment 1y ago · link · parent
If that were true, you might be right.
What happens in reality is that things are promised to work and (at best) fulfill that promise so long as no developers or deployers or underlying systems or users deviate from a narrow golden path, but fail in befuddling ways when any of those constraints introduce a deviation.
And so what we see, year over year, is continued enshittening, with everything continuously pushing the boundaries of unreliability and inefficiency, and fewer and fewer people qualified to actually dig into the details to understand how these systems work, how to diagnose their issues, how to repair them, or how to explain their costs.
> If the cost of an easily managed solution is low enough, why do the details matter?
Because the patience that users have for degraded quality, and the luxury that budgets have for inefficiency, will eventually be exhausted and we'll have collectively led ourselves into a dark forest nobody has the tools or knowledge to navigate out of anymore.
Leveraging abstractions and assembling things from components are good things that enable rapid exploration and growth, but they come with latent costs that eventually need to be revisited. If enough attention isn't paid too understanding, maintaining, refining, and innovating on the lowest levels, the contraptions built through high-level abstraction and assempbly will eventually either collapse upon themselves or be flanked by competitors who struck a better balance and built on more refined and informed foundations.
As a software engineer who wants a long and satisfying career, you should be seeking to understand your systems to as much depth as you can, making informed, contextual choices about what abstractions you leverage, exactly what they abstract over, and what vulnerabilities and limitations are absorbed into your projects by using them. Just making naive use of the things you found a tutorial for, or that are trending, or that make things look easy today, is a poison to your career.
comment 1y ago · link · parent
Which "Soundfont lib for JUCE" are you talking about? How did you find it in the first place? Why did you decide to use it if there was no documentation? How did you know it was appropriate or capable for your use case? How did you know it was mature, stable, or safe? Did you read the headers for the library? Did they have comments? Did you read the technical specification for the Soundfont format to understand how it modeled sample libraries?
I work in this stuff all the time, and I'm so very puzzled by what you're even suggesting here.
comment 1y ago · link · parent
Maybe so for you, but you might want to think about why your work involved so much boilerplate and routine content in the first place. If so much of it is easily completed by an LLM already, was your employer really paying you some large share of your 5-6 digits of compensation for every year? Do you think most of your value to the company has just been in typing boilerplate and mindlessly generating tests until now?
Personally, I'd feel pretty insecure in my career and underdeveloped in my trade if I could answer yes to that.
If it does apply to you (or others reading this), hopefully you can exploit this brief window of gained personal productivity to develop more valuable skills and get your tasked to more valuable roles asap. Software engineering as a profession isn't going anywhere, but the people most helped by today's fairly primitive LLM coding assistants are the ones that are actually vulnerable to be squeezed out of the trade because it means they're the not actually contributing very much specific expertise.
The productivity change you've experienced should be taken as a bright red warning flag that you've unwittingly settled into a role as an technician getting paid highly because of ephemeral demand bubble rather than the valuable engineer you might imagine yourself to be.
comment 1y ago · link · parent
Public Arduino, RPi, Pico communities are basically peak cargo cult, with the blind leading the blind through things they don't understand. The noise is vastly louder than the signal.
There's a basically giant chasm between expereinced or professional embedded developers that mostly have no need to ever touch those things or visit their forums, and the confused hobbyists on those forums randomly slapping together code until something sorta works while trying to share their discoveries.
Presumably, those communities and their internal knowledge will mature eventually, but it's taking a long long time and it's still an absolute mess.
If you're genuinely interested in embedded development and IoT stuff, and are willing to put in the time to learn, put those platforms away and challenge yourself to at least learn how to directly work with production-track SoC'a from Nordic or ESP or whatever. And buy some books or take some courses instead of relying on forums or LLM's. You'll find yourself rewarded for the effort.
comment 1y ago · link · parent
They usually start as modest settlements of like-minded people, drawing in more members as they thrive and bleeding off members if/when politics and drama spoil the relationships among the people that live in them. Many collapse, others transform and sustain, and others eventually integrate back into a world that moves closer to them. Along the way, in their isolation and because of their strict rejection of prevailing norms, they naturally get kind of incestuous and weird in terms of ideology, practice, etc.
While you're free to try to start a new one on your own, if you're inspired to do so, you can also probably find some that are more or less practicing the kind of lifestyle you have mind. But it probably won't be an exact match for your dream, as no two people have quite the same vision of escape or prosperity, which is something that would apply to your hypothetical community as well.
comment 1y ago · link · parent
What's your control group for a study that might confidently determine that one way or another? Where are food-plastics held off but everything else about modernity and its potential blights adopted?
Ultimately, there are numerous terrible trends in health and wellness that we see accumulate over the course of the 20th century, consistently echoed in developing communities as they join into modern practices. Some causes of death go way down, some experience of luxury goes way up, but misery and previously uncommon forms chronic illness seem sweep across each and every such community.
We don't have a good, scientific handle on what the specific causes are because there are so many simultaneous radical changes that are introduced into a community as it "modernizes", and while we can sort of flail about and speculate about individual mechanisms and test them individually, as in this study, it's consistently a limited and almost blind search among the innumerable unknown unknowns that we don't have the capability, finances, or will to explore at population scale or over decades-long periods of time.
We'll presumably catch up on some of our horrifically dumb mistakes, as the GP noted for things like asbestos, and plastics may or may not prove to be among them, but right now we mostly just know that we face huge new problems and most of us will probably be gone by the time society learns what it did to cause many of them.
comment 1y ago · link · parent
Hot take: you could have professinal journalists who have trafficked in the incidents but reserved publication of them investigate patterns of misbehavior in community institutions like the police.
I mean, you can't now, as we seem to have crossed some kind of rubicon and abandoned investigative professional journalism for blogspam and tabloid, but that had been the functioning alternative for a while there. Maybe we can find a new functioning alternative?
comment 1y ago · link · parent
It was exactly this understanding that allowed closeted public figures in politics, entertainment, to navigate a time when it wasn't okay for their personal lives to be made public. Journalists and editors were often aware of stories that could be told, but believed that their duty wouldn't be served by reporting on them.
Journalism did not always look like that, and did not everywhere look like that, but it was the prevailing norm.
We're now in a very different time again, where any "scoop" that stirs moral outrage, earns lurid eyeballs, or undermines a public figure is not only fair game, but the ideal career-making story.
comment 1y ago · link · parent
More likely (but not necessarily), Nordic's early example was either bugged or conditionally valid (benefiting from other implicit details of their implementation) and then was revised either because the mistake was identified or something else about the example change.
That's all pretty common in this domain. Inadvertently stumbling because you uncritically followed some vendor example is also pretty common and completely understandable. Better tools, like using a language with richer semantics, are indeed something that can help with that.
comment 1y ago · link · parent
There are a lot of contingencies that need to be satisfied to be able to do that, some about the bridge, some about the environment (people, resources, conviction, interest, etc) around the bridge.
And among those environmental contingencies, because they're so numerous and imprecise, the failing bridge increasingly invites people advocating to just accelerate retirement of the bridge on their preferred terms, towards their preferred replacement.
Ultimately, there is some point of no return, where you can no longer reasonably expect anybody to be able to gather enough resources to repair the bridge as it stands, even though it still hasn't spontaneously collapsed just yet.
It's very hard to know where you are on this progression though, and for many people, they don't have much effective potency in doing anything about it anyway. Hence, they just kinda get by and hope that they still have some way to cross the river tomorrow, with the inkling sense that they very well may not.
comment 1y ago · link · parent
Shielding marginal or non-voting investors from disproportionate responsibility for things essentially out of their control transfers risk from them, and makes it easier to move money to useful places. That's great!
Shielding key decision-makers and large-stake owners from responsibility for actions performed at their behest is not so much. And in fact, the pure "design" of limited liability has means for "piercing the veil" and keeping these individuals responsible and for wholly disolving corporate charters.
It just turns out that once commercial enterprise grows big enough, or is steered by influential enough leadership, capturing regulation and enforcement to serve their own interests, they can undermine those safeguards and assert a kind of wholesale corporate immortality and immunity that completely undermines the "design" -- a bug in the implementation of that design, if you would.
comment 1y ago · link · parent
But the custom Rust wrapper was composed as a game of telephone (ugh), with the author blindly mimicking "Jonathan" who seemed to have been blindly mimicking a sloppy (and later repaired) example from Nordic.
The argument is that if the library and its internals were originally written in Rust, which has richer semantics for object lifetimes, Rust would have been able to formally convey that the input data needed to outlive the individual function call, throwing an error at compile time.
The wrapper could have enforced this constraint itself, as it probably does now, but the handoff between Rust and C needs somebody to account for and understand the by convention stuff in C so that it can be expressed formally in Rust, and that human process failed to happen here.