Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Software AI Programming

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

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).

'Just Have AI Build an App For That'

Comments Filter:
  • 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.
  • SVG? (Score:5, 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.

    • by dfghjk ( 711126 )

      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.

    • 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...

        • 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.
    • 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

  • 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@NoSPam.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!

    • 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 o

  • 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.

  • 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.

  • 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 a

  • 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).

According to the latest official figures, 43% of all statistics are totally worthless.

Working...