News: 0175425929

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

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

(Thursday November 07, 2024 @05:50PM (msmash) from the times,-they-are-a-changin' dept.)


Software engineer David Gomes [1]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).



[1] https://davidgomes.com/just-have-ai-build-an-app-for-that/



The original idea behind browser extentions (Score:2)

by xack ( 5304745 )

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.

and also packaging Imagamagick as a web service (Score:5, Informative)

by will4 ( 7250692 )

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

Re: (Score:2)

by Kiaser Zohsay ( 20134 )

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

Re: (Score:2)

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.

Re: (Score:1)

by SigmaTao ( 629358 )

Apparently it does: [1]https://www.youtube.com/watch?... [youtube.com]

[1] https://www.youtube.com/watch?v=eGY_py_Dnuo

Re: (Score:2)

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.

Re: (Score:2)

by TheRealMindChild ( 743925 )

XUL was an absolute turd

SVG? (Score:5, Informative)

by Joce640k ( 829181 )

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.

Re: (Score:2)

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: (Score:2)

by Darinbob ( 1142669 )

The person from the story could be... AI!

Re: (Score:2)

by gweihir ( 88907 )

Well, in _that_ case, I am impressed at the high level of skill and the genius approach!

Re: (Score:3)

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.

Re: (Score:2)

by gweihir ( 88907 )

Indeed. Utterly pathetic.

Re: (Score:2)

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.

Re: (Score:1)

by rsBS35$-ax ( 7476630 )

It also speaks for the quality of submissions here on /. and its editors that such a story gets accepted.

Re: SVG? (Score:2)

by ArmoredDragon ( 3450605 )

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.

Re: (Score:2)

by Joce640k ( 829181 )

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

Re: (Score:3)

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.

Re: SVG? (Score:2)

by retchdog ( 1319261 )

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*

Re: (Score:2)

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: (Score:2)

by smooth wombat ( 796938 )

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.

Re: (Score:2)

by ceoyoyo ( 59147 )

I was going to download it to see how big it was. While scrolling through his blog post to see if there was a download link I saw

"Installed flask, flask-sqlalchemy, psychopg2,..."

Uh oh. Scroll to bottom:

> Do you want to try it for yourself? Have at it! I deployed it here: [1]https://svg-resizer-david-gome... [replit.app]. But it's costing me a bit of money so I don't expect it'll be around for too long.

So to resize an SVG he needs a whole web host with Python support, a postgres database, and whatever else comes after those

[1] https://svg-resizer-david-gomes.replit.app/

Re: (Score:2)

by narcc ( 412956 )

That's modern software in a nutshell. Kids these days can't write 'hello world' without a framework, an IDE, and a set of libraries to do the 'heavy lifting'.

We're doomed.

Re: (Score:2)

by russotto ( 537200 )

Even in the old days lazy people would LDA 'H'; JSR $FDED rather than put the character in the frame buffer memory. COUT did an indirect jump and COUT1 + VIDOUT was like 100 instructions.

Re: (Score:2)

by dgatwood ( 11270 )

> I actually went thru and tested using this guy's app, and yes, it does actually scale viewbox and path coordinates. The output file is not exactly the same. It's totally unnecessary of course to do this, since scaling the width and height is sufficient...

Maybe. I'm not certain if that approach actually works in every use case, e.g. CNC milling.

Re: (Score:2)

by VeryFluffyBunny ( 5037285 )

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.

Re: (Score:2)

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.

Re: (Score:2)

by jerryjnormandin ( 1942378 )

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.

Re: (Score:2)

by codebase7 ( 9682010 )

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.

And you trust that _more_? (Score:2, Insightful)

by gweihir ( 88907 )

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.

Re:And you trust that _more_? (Score:5, Insightful)

by war4peace ( 1628283 )

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.

Re: (Score:1)

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.

Re: (Score:2)

by war4peace ( 1628283 )

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

what's new here? (Score:1)

by dfghjk ( 711126 )

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.

Devaluation of the "engineer" label (Score:3)

by zooblethorpe ( 686757 )

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

Resizing an SVG... (Score:4, Funny)

by Rendus ( 2430 )

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.

Re: (Score:2)

by ohieaux ( 2860669 )

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

Hey, I could write that!

Re: (Score:3)

by serviscope_minor ( 664417 )

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

Re: (Score:1)

by Narcocide ( 102829 )

Modded down by AI most likely!

Not much of a Software "Engineer" (Score:1)

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.

This story (Score:1)

by thechanklybore ( 1091971 )

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.

Re: (Score:2)

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.

So many fails (Score:3)

by Dracos ( 107777 )

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.

Re: (Score:2)

by Ecuador ( 740021 )

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

Re: (Score:2)

by gweihir ( 88907 )

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

We still haven't arrived (Score:1)

by davidwr ( 791652 )

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:3)

by dhasenan ( 758719 )

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.

Re: (Score:2)

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

Re: (Score:2)

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.

Reports differ (Score:2)

by Baron_Yam ( 643147 )

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.

Dumb Summary, but a real thing (Score:2)

by quantaman ( 517394 )

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

Anyone an expert in the tools to compare? (Score:2)

by OneOfMany07 ( 4921667 )

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

What PROGRAM are they watching?