Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Software AI Programming

'Just Have AI Build an App For That' (davidgomes.com) 75

Software engineer David Gomes writes in a blog post: I sometimes need to search for a website that will "convert a PNG to SVG", or "remove page from PDF" or "resize svg". And these apps are... okay. I don't really trust most of them with my data, and also a lot of times they just don't work or have too many ads. So, I've been noticing a trend of people just using AI agents to create full blown apps for these simple use cases.

I decided to try it myself for a "resize SVG" app since I recently had to go through a bunch of websites to do this. So, I pulled up Replit Agent and even though I've used it before, it doesn't cease to amaze me just how insanely good it is. The level of polish on this product is unlike any other AI agent out there right now. It starts off by drawing up a plan and asking you for feedback on that plan. Then, it'll just go to town and try to build the app. But what's super clever about it is that the agent asks you for feedback along the way. Effectively, the Replit Agent guides you, not the other way around (as one might have expected).

This discussion has been archived. No new comments can be posted.

'Just Have AI Build an App For That'

Comments Filter:
  • by xack ( 5304745 ) on Thursday November 07, 2024 @01:21PM (#64928289)
    Before companies realized that extensions were giving people too much power over the internet and nerfed extensions first with XUL's removal and then manifestv3. I still use browser extensions to convert webp and avif files to more established formats and to add back features that "telemetry" said had "no users". It's ironic that we "simplified" software over the last 20 years and are now using AI to restore functionality.
    • by will4 ( 7250692 ) on Thursday November 07, 2024 @01:41PM (#64928383)

      There's dozens (hundreds?) of web services which just repackage Imagemagick and other command line tools and wrap them in a paid WebAPI service.

      • There's dozens (hundreds?) of web services which just repackage Imagemagick and other command line tools and wrap them in a paid WebAPI service.

        Anyone who works with images that much should have GIMP on their desktop. Unless they (or their employer) are gullible enough to shell out what Adobe wants for Photoshop these days. I can't keep up, but apparently it is getting worse by the month.

        • by AvitarX ( 172628 )

          Does gimp have adjustment layers yet?

          They're a pretty crucial feature from 1996 that makes gimp a complete non starter for all but the most basic of work.

          • Apparently it does: https://www.youtube.com/watch?... [youtube.com]
            • by AvitarX ( 172628 )

              Adjusting an entirely new layer and saving it is hardly as useful as adjustment layers.

              It's basically saving a backup in the same file.

              In Photoshop you can have adjustment layers, adjust their transparency with brushes, rearrange their order, and tweak the adjustments.

              This is a fake version of what Photoshop did nearly 30 years ago.

              • Not sure why that is hard to emulate in GIMP.
                You can create layers with different alpha and opacities, use brushes to paint in different areas of effect and rearrange the order of layers if you so wish.
                You'd hope that using a piece of software that costs hundreds of dollars would have a bit of an edge over something that is entirely free, but that is the kind of difference usually only affects those who work in dedicated design environments (and those trying to learn the tools for those environments).
                If
                • by AvitarX ( 172628 )

                  In Photoshop the adjustment is the layer, not an adjusted layer.

                  I can add layers behind or in front of the adjustment layer and have it applied or not without rendering the adjustment.

                  I can apply an adjustment layer, go back later and change the adjustment that I have rather than starting from scratch.

                  I'm not saying GIMP is useless though, simply that Photoshop has value, and this is one specific thing that's decades old in Photoshop that is definitely worth $25/month (or whatever it costs now) if you do an

    • XUL was an absolute turd

  • SVG? (Score:4, Informative)

    by Joce640k ( 829181 ) on Thursday November 07, 2024 @01:25PM (#64928299) Homepage

    Um, the whole point of SVG is that it doesn't need resizing.

    The file will be exactly the same size after you "rescale" it.

    • by gweihir ( 88907 )

      Indeed. The person from the story seems to not be very smart or competent and not only because he does not seem to know what SVG stands for.

    • Re:SVG? (Score:4, Interesting)

      by dfghjk ( 711126 ) on Thursday November 07, 2024 @01:31PM (#64928333)

      Sometimes the less you know, the more easily impressed you are. The "software engineer" here apparently doesn't know what the S in SVG means.

      • by gweihir ( 88907 )

        Indeed. Utterly pathetic.

      • by AvitarX ( 172628 )

        That doesn't mean they don't have a size.

        I actually don't know if they do, but EPS files definitely have sizes even though they're similarly scalable.

    • It also speaks for the quality of submissions here on /. and its editors that such a story gets accepted.
      • The submission itself feels like an ad for a paid blog post. Shit, the blog post itself feels like it was written by either an AI or a sales derp. It's funny it talks about going from PNG to SVG (not trivial) and then writing an "app" for scaling an SVG (trivial to the point of "why fucking bother?")

        This is exactly the kind of shit "no code" rpa salesmen are known for.

    • (Pedant: Unless the "dimensions" in the XML header need less ASCII characters...)

    • by ceoyoyo ( 59147 )

      Not exactly the same. ChatGPT seems to know this. I asked it how to resize an SVG and it suggested I man up, open the file in my text editor, and change the "width" and "height" properties in the svg tag.

      • That proves how chatgpt has been falling far behind these new AI startups that are driving the next wave of innovation.

        Chatgpt is approximating an average informed redditor answer from the gazillion reddit posts asking roughly the same on its training data from /r/svg. Helpful and accurate for some cases but its hardly a tech productivity revolution compared with a google search.

        But this, this is approximating a fully trained software professional: instead of giving the client a direct answer, agents can pl

        • by ceoyoyo ( 59147 )

          Lol. Maybe the LLMs are following the usual human career evolution and realized there's more money in creating problems than in solving them.

    • the data is dimensionless yes, but svg has height and width (or just ratio) attributes in plain text.

      resizing an svg is thus very easy. but the point is that the ai "knows" how to use whatever image library to do this, and that might be easier than, say, bothering to look and realize that SVG does indeed have image size attributes. *ahem*

      • by gweihir ( 88907 )

        resizing an svg is thus very easy.

        You know, with the accelerated pace towards idiocracy, "very easy" may be to hard for the average IT person...

        • Re: SVG? (Score:5, Funny)

          by smooth wombat ( 796938 ) on Thursday November 07, 2024 @04:51PM (#64928905) Journal
          You know, with the accelerated pace towards idiocracy, "very easy" may be to hard for the average IT person...

          As is using the correct 'too' in a sentence.
          • by gweihir ( 88907 )

            The spelling-nazi is identifiable by his inability to recognize a simple typo ...

            • by cwatts ( 622605 )

              I think the spelling nazi called out a rather common grammatical error which happens to be a homophone of the correct form. This arguably makes said grammatical error even more egregious.

              csw

        • All part of the plan.

          If people were still intelligent, our stumbling attempts at "AI" would not impress them... And "AI" contributes to GDP, as opposed to human cognition. Hell, human cognition can sometimes be actively destructive to GDP if/when the plebs realize they're being shafted and (at least potentially) do something about it.

          Mr. President, we cannot allow a stupidity gap!

    • I think this is an AI generated advertisement for an AI product. You see what they did there?!

      We can happily ignore this because it's just another ad.
    • by Hentes ( 2461350 )

      My guess is that his AI-generated SVG converter just embedded the PNG source as a bitmap in the SVG instead of vector tracing.

    • Why didn't the AI app output: SVG does not need resizing, dumbass! I swear everyone that earns a decent living because they have skills is going to be laid off so companies can hire a stupid dumb ass for cheap.
    • Scalable Vector Graphics. Yep, someone just randomly typed in "image formats" into Google and typed the first ones that showed up. That or an AI chatbot is responsible for this front page slashvertisement.
  • The mind boggles. Stupid, more stupid, people that rely on LLMs for real work.

    I expect we will soon see LLMs code the malware and backdoors right in. Or we already have that and people did not notice.

    • by war4peace ( 1628283 ) on Thursday November 07, 2024 @02:41PM (#64928551)

      Furthermore, the article is a shameless ad for that solution.
      Replit Agent is only available to customers with a subscription. Not to mention it's "early access", which means you may or may not gain access to it, even if you subscribe.
      Their "free" plan has Basic workspace, Basic AI features (whatever that means) and 3 public projects (which, I guess, is very much like Tableau Free: everything you do there is immediately available to everyone, no control over privacy).
      Stinks of cash-grab.

      • by gweihir ( 88907 )

        And the picture becomes clear. Thanks for pointing that out. I find I am less and less willing to do actual research on AI crap stories. The wording should have tipped me off though. Far too positive.

        • I am interested in such, ahem, "solutions", but that's because I have way too many hobbies.
          With way too many hobbies comes usage of way too many different software stacks.
          This application is proprietary and missing some small functionalities, which I have to fix through... Powershell scripting (since ot's Windows-only).
          That application uses YAML.
          The other one has some TOML config files.
          Yet another thingie only accepts JSON.
          That one right there is made with Go.
          Look, there's some Python too.
          This one communica

          • by gweihir ( 88907 )

            In such cases, I apply the "wait and see" method. If it's that good, it will make a big splash, and I'll hear it.

            Indeed. I basically do the same thing.

            What I ignore is praise from people that want to sell me something. It is not information, just noise. FOMO is not applicable for big technical advances, you can always get into them once they are proven. Millions of students do it all the time, a year or two really does not matter. Being able to pick up something new by yourself is already quite the valuable skill, you do not have to be fast at it.

  • A tool to "create full blown apps for these simple use cases"?

    Simple use cases that have been done many times before need new, "full blown" apps? Is this progress?

    How well does this tool work in creating apps for tasks that have never been done before? How well does this tool do in identifying a need for an app to do a task? This is what a programmer actually does. A "software engineer" does more than turn a crank.

    • Time was, an "engineer" was someone who used engines, but didn't create engines. They shoveled coal into a boiler and watched pressure dials.

      This Grimes person seems like an example of the modern-day version of this kind of lower-level labor monkey. "I push the buttons!"

      Heck, his patent ignorance about what he's working with (SVGs are inherently resizable, ya dipshit) is vicariously embarrassing. This is no tech expert. Resizing doesn't need a full-blown app — just resize your image dimensions, o

  • by Rendus ( 2430 ) <rendus&gmail,com> on Thursday November 07, 2024 @01:32PM (#64928341)

    Resizing an SVG isn't a thing in the first place. It's a vector graphic - The name MEANS Scaleable Vector Graphic.

    The input and output of this program should be identical.

    • ,p>The input and output of this program should be identical.

      Hey, I could write that!

    • by serviscope_minor ( 664417 ) on Thursday November 07, 2024 @02:27PM (#64928525) Journal

      If you're going to be pedantic, do it right (leaving myself wide open here...)

      Resizing an SVG is very much a thing, you simply don't get rasterisation artifacts when you do the resize.

      If you're doing it naively, you can simply wrap the graphics in a transform element and adjust the viewsize accordingly. If you're being less naive, you might instead directly change the attributes of various elements as much as possible without using a transform element, e.g. altering font sizes, changing line widths and so on. Good editors like inkscape do in fact resize the non naive way.

      Coordinates in SVG has units, and you can definitely scale numbers.

    • Resizing an SVG isn't a thing in the first place. It's a vector graphic - The name MEANS Scaleable Vector Graphic.

      The input and output of this program should be identical.

      Well, you might still need to change <svg width="123" height="456"> to some other values to change the default dimensions of the image. But you can do that with plain old Notepad.

  • ...when you don't know how to make it yourself.

  • by Anonymous Coward
    This dude isn't much of a Software "Engineer", let alone a developer or even a lowly code monkey if he's got search for a website that will convert an image or remove a page from a PDF. I know my Mac can do that natively, and a few "apt install" commands when I setup Linux and I've got those same tools; hell, looking at my Windows 10 box I use for work, I've also got those same tools natively! I weep for our future if idiots like this are what are going to be developing our code.
  • Regarding the impossible resizing of an SVG file tells you everything you need to know about the author and people who attempt to use AI for such tasks in general.

    • by gweihir ( 88907 )

      Indeed. Well said. One wonders how they manage to tie their shoelaces with an IQ close to absolute zero. Velcro-sneakers, likely.

  • by Dracos ( 107777 ) on Thursday November 07, 2024 @01:46PM (#64928403)

    1. Looking for websites to accomplish rudimentary tasks that should be done locally. If you're a software engineer, you should be able to whip up a script for yourself... ImageMagick, Inkscape, pdftoppm, and other similar things exist.

    2. Rightfully not trusting the websites, but using them anyway.

    3. Throwing more "AI" at the wall for a quick solution, and hoping its furry (beyond fuzzy) logic vomits as intended.

    I'm sure there are more fails. I would use any of these scenarios as an interview sieve to eliminate candidates whose first instinct is to find a website or an app that can do it for them.

    • by Ecuador ( 740021 )

      I mean, not knowing what vector graphics even is is the biggest fail of all...

      • by gweihir ( 88907 )

        There is soooo much fail here, it must be AI! At least some things are no surprise and dependable.

  • We'll know we've arrived when AI-generated custom apps come with ads that are tailored specifically to you... ... and they appear in your dreams.

  • Desktop applications (Score:4, Interesting)

    by dhasenan ( 758719 ) on Thursday November 07, 2024 @02:46PM (#64928557)

    PNG to SVG? Inkscape can do this. It's kind of a weird thing to do and it's not going to scale up all that well. OP doesn't understand the difference between vector and raster graphics.

    Scale an SVG? If you really need to do that, you can use Inkscape.

    Remove pages from a PDF? LibreOffice can do this.

    This isn't software developer territory either. This is along the lines of MS Office Power User stuff. As a developer, I use pdftk to alter PDFs for routine things, pikepdf for more complex stuff that I need to apply to a large number of documents.

    • by gweihir ( 88907 )

      This isn't software developer territory either. This is along the lines of MS Office Power User stuff.

      For very small levels of "power".

    • by AvitarX ( 172628 )

      I converted raster images to vector quite a bit when I worked for in print. It does a pretty decent job, especially if you don't need to scale it that much.

      It'll take a logo, split it into a few pieces that need maybe a touch of clean up, but usually not, then assign spot colors to the pieces.

  • There are a few Reddit threads where people report this AI is every bit as good at writing apps as you would expect if you know the state of AI.

    In other words, not very good at all.

  • by quantaman ( 517394 ) on Thursday November 07, 2024 @03:12PM (#64928635)

    The example is a bit odd (and I have zero interest in checking out that tool which sounds like a slashvertisement) but mini-tools is an interesting LLM application.

    I'm doing some Arduino development where I'm networking several boards together and I wanted to monitor the serial output of multiple boards at the same time to see how they were communicating.

    I spent 10-15 minutes looking for a tool that could show each board's output in a single window/terminal but didn't find anything, so I went into ChatGPT and in 5 minutes had a nice little python curses application that did exactly what I wanted.

    I'm sure there was a more proper solution out there, but it's become easier to just build it on the fly.

  • Sure, OK... SVG shouldn't need to be 'resized'. Maybe they were inventing an issue for the article, or they don't know everything like you all seem to.

    And is the solution they were pushing a good one? Is it unique as they claimed?

    I haven't had the resources or interest to push myself to try out these AI coding tools, but they seem to be improving (or at least changing).

    • Maybe they were inventing an issue for the article, or they don't know everything like you all seem to.

      When you claim the title of "Software Engineer" then go on to demonstrate you are anything but, then you deserve every last crumb of ridicule and derision coming your way.

      Dumbest thing I have read in a long time. Why the hell is it even here?

      /. really scraping the barrel.

  • AI is the new app, no coding needed, just tell it what you want. Might be expensive to run in the same way as an app though. On the other hand there may be efficiencies in having all apps instead be one AI app (hey, we could call it an "assistant" or "agent"!). This could end up being the ultimate code bloat, e.g., use an AGI and remote data center as a simple timer. Think of the profit.
  • Something was bugging me about this and thank goodness the comments got right to it. I am getting older, I expect more things like this to happen.

    Oddly, setting the render size of a Scalable Vector Graphics file is as easy as setting two attributes in the XML. Almost as if the point of the format was to easily, err, scale?

  • I had an issue where the media player I'm working on didn't support WebVTT subtitles, there wasn't much I could do as the subtitle renderer was 3rd party code and I didn't really the resources to add support for the WebVTT format myself.

    I looked into the WebVTT format and it was not that different from the very popular SRT format. I then asked ChatGPT's o1 preview to write a function that takes a .VTT file as input and outputs an .SRT file.

    o1 preview thought for about a 30 seconds and then wrote the code wi

Remember the good old days, when CPU was singular?

Working...