Forum
    • Categories
    • Register
    • Login
    1. Home
    2. David Healey
    3. Posts
    • Profile
    • Following 1
    • Followers 85
    • Topics 1,098
    • Posts 25,967
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Why all the "Vibe Coding" Haters?

      @CyberGen I was just working on something today and noticed an efficiency gain I could make in my code. I've included a reduced example of it here.

      // Version 1
      const knbRand = Content.addKnob("Rand", 0, 0);
      
      function onTimer()
      {
          local rand = knbRand.getValue();
          Console.print(rand);
      }
      
      // Version 2
      reg rand = 0;
      
      const knbRand = Content.addKnob("Rand", 0, 0);
      knbRand.setControlCallback(onknbRandControl);
      
      inline function onknbRandControl(component, value)
      {
          rand = value;
      }
      
      function onTimer()
      {
          Console.print(rand);
      }
      

      Both version do exactly the same thing, and for a user there is no difference.

      But for a developer the two options differ in efficiency and maintainability.

      If the knob is going to be moved a lot and the timer is not going to run often, then version 1 is likely to be more efficient.

      If the timer runs often or quickly and the knob isn't interacted with much, then version 2 is more efficient.

      This is just an example so the efficiency difference in the real-world is negligible, it's just to illustrate a point. An LLM could choose either of these options, and in isolation either would be fine. But the larger architecture of the program could make it better to choose one over the other.

      LLMs aren't very good at looking at the big picture (yet), this is why complex programs written by AI end up as spaghetti code if not managed well.

      posted in AI discussion
      David HealeyD
      David Healey
    • RE: Why all the "Vibe Coding" Haters?

      @CyberGen said in Why all the "Vibe Coding" Haters?:

      Good point, but do you develop for developers or for users?

      Both. I'm a developer so I need to be able to understand and maintain my code, but I want other people to buy my stuff, so I make it appealing. As I said above, developers want the same thing as users, plus extra stuff.

      It's like when I buy a used car, I care that it's clean and tidy, not too many miles on the clock, and it has cup holders. If I was a mechanic I would have totally different priorities, but I'd still care about the other stuff.

      I wouldn't knowingly run a vibe-coded app made by someone else (although I do run my own). This is the same reason I wouldn't run a human made app from a random person, I don't trust it. If the chef doesn't even know what's in the soup why would I taste it?

      posted in AI discussion
      David HealeyD
      David Healey
    • RE: Why all the "Vibe Coding" Haters?

      @CyberGen said in Why all the "Vibe Coding" Haters?:

      good apps

      The definition of a good app varies depending on the person. To users it means something different than to a developer.

      Both want it to look good, sound good, and be easy to use. Additionally, developers want it to be efficient, easy to maintain, and portable - amongst many other things.

      A vibe coded plugin or app can absolutely meet the needs of a user, without meeting the needs of a developer.

      posted in AI discussion
      David HealeyD
      David Healey
    • RE: Why all the "Vibe Coding" Haters?

      @CyberGen it's not the number of lines of code, it's the methodology used to instruct the llm. The whole thing can be written by ai and not be vibe coded.

      Human code and ai code can both be garbage if the developer doesn't follow good programming practices. It doesn't matter who or what writes it.

      posted in AI discussion
      David HealeyD
      David Healey
    • RE: Why all the "Vibe Coding" Haters?

      @CyberGen vibe coding is fine for your own use but not commercial. Vibe coding complex apps produces crappy code.

      This is in complete contrast to AI assisted coding which can produce very good code.

      posted in AI discussion
      David HealeyD
      David Healey
    • RE: Preset browser font size

      @Jeetender can you show me a screenshot?

      posted in General Questions
      David HealeyD
      David Healey
    • RE: VST3 Inconsistent, pluginval says *** FAILED WITH EXIT CODE: 1

      @qyptox Sounds sus to me. Plenty of VST3s on Windows are not using the bundle format. Try my Rhapsody plugin, see if it works in Reason.

      posted in General Questions
      David HealeyD
      David Healey
    • RE: Let's talk about data storage

      @dannytaurus said in Let's talk about data storage:

      I use them for bootable macOS versions, which I greatly prefer over virtualisation.

      I don't spend enough time in Mac land to feel the benefit of bare metal. But if I ever do that sounds like a good solution - until Apple make it ARM only anyway.

      posted in General Questions
      David HealeyD
      David Healey
    • RE: Let's talk about data storage

      @dannytaurus I have a bunch of 1tb and 2tb ssds that I use for my projects. I also have an 8tb external ssd for local backups and I use BorgBase for cloud backups. I built a nas a few years ago with a couple of 8tb spinning disks but I haven't really used it. I also have an external usb3 enclosure that can hold four drives if I ever need it.

      posted in General Questions
      David HealeyD
      David Healey
    • RE: VST3 compiled plugins not working.

      @Chazrox what does pluginval say? Compiling with debug symbols enabled might give more useful data. Does it work as standalone?

      posted in Scripting
      David HealeyD
      David Healey
    • RE: Problem with Projucer/microsoft viual studio

      @stijn45 I think Compile Project will show the wizard, but I use Export as instrument

      posted in General Questions
      David HealeyD
      David Healey
    • RE: Setting the playback position of an Audio Loop Player

      @Yinxi Try a sampler instead of a loop player.

      posted in Scripting
      David HealeyD
      David Healey
    • RE: Problem with Projucer/microsoft viual studio

      @stijn45 that's fftw, it's unrelated to Faust. If you're following my videos I demonstrate building with and without fftw

      posted in General Questions
      David HealeyD
      David Healey
    • RE: Crash when compiling AU

      @Yannrog Try commenting that out and see if the error goes away

      posted in General Questions
      David HealeyD
      David Healey
    • RE: Crash when compiling AU

      @Yannrog Are you referencing any of your images in your script?

      posted in General Questions
      David HealeyD
      David Healey
    • RE: Crash when compiling AU

      @Yannrog How did you get that crash report?

      posted in General Questions
      David HealeyD
      David Healey
    • RE: Crash when compiling AU

      @Yannrog said in Crash when compiling AU:

      The crash is a EXC_CRASH (SIGABRT)

      Where is this coming from?

      posted in General Questions
      David HealeyD
      David Healey
    • RE: Crash when compiling AU

      @Yannrog The projects that compile successfully have images/filmstrips?

      posted in General Questions
      David HealeyD
      David Healey
    • RE: Crash when compiling AU

      @Yannrog Have you enabled the option in project preferences to embed the images?

      posted in General Questions
      David HealeyD
      David Healey
    • RE: Problem with Projucer/microsoft viual studio

      @stijn45 No the latest version of HISE requires VS26

      posted in General Questions
      David HealeyD
      David Healey