Hacker Newsnew | past | comments | ask | show | jobs | submit | mdavid626's commentslogin

I’d be happier if this could run as one binary without Docker. Java is so much harder to setup.

Getting Java to run is a base requirement for running most software written in Java.

However, there is a dedicated Dockerfile for creating a native image (Java words for "binary") that shouldn't require a JVM. I haven't tested running the binary myself so it's possible there are dependencies I'm not aware of, but I'm pretty sure you can just grab the binary out of the container image and run there locally if you want to.

It'll produce a Linux image of course, if you're on macOS or Windows you'd have to create a native image for those platforms manually.


Yeah, compare this with downloading single binary approach.

Downloading JDK, setting up the correct env variables, or running Docker, all this is just pain, compared to single binary approach.


Isn't a docker image basically a universal binary at this point? It's a way to ship a reproducible environment with little more config than setting an ENV var or two. All my local stuff runs under a docker compose stack so I have a container for the db, a container for redis, LocalStack, etc

Is it though?

On my Mac Docker runs Linux virtualized. It’s a resource hog.

Compare that with simple native binary.


I'm not saying it's ideal, just saying that's what we've shifted to for repeatable programs. Your Linux "universal" binary certainly won't work on your Mac directly either...

Firefox doing everything, but being a good browser.

Sigh… that’s not how it works.

How what works?

JPEG still rules the world. Many new alternatives were developed, none of them really that much better than JPEG.

JPEG XL is a superior replacement for JPEG. It is better in basically every way to JPEG.

Except compatibility, but the biggest gap is browser support, which is in the process of getting closed. Chrome has shipped JXL support behind a flag. Firefox are in the process of implementing support.

In Chrome you can enable JXL from here: chrome://flags/#enable-jxl-image-format

You can track Firefox progress from here: https://bugzilla.mozilla.org/show_bug.cgi?id=1539075


There is much better than JPEG, however, because still images are not really a problem in terms of bandwidth and storage, we just use bigger JPEGs if we need more quality. The extra complexity and breaking standards is not worth it.

This is different for video, as video uses a whole lot more bandwidth and storage, it means we are more ready to accept newer standards.

That's where webp comes from, the idea is that images are like single frame videos and that we could use a video codec (webm/VP8) for still images, and it will be more efficient than JPEG.

That's also the reason why JPEG-XL is taking so long to be adopted. Because efficient video codecs are important, browsers want to support webm, and they get webp almost for free. JPEG-XL is an entirely new format just for still images, it is complex and unlike with video, there is no strong need for a better still image format.


IMO most of JPEG-XL's value is in the feature set. Having a format that can do transparency, proper HDR, and is efficient for everything from icons to pixel art to photographs is a really strong value prop. JPEG, Webp, and AVIF all have some of these, but none have all. (AVIF is the closest, but as a video codec it still has a pretty significant overhead for small images like icons).

A lot of them are better in many areas. JPEG is just good enough (tm)

Mixed feelings.

I use Opus 4.6 with pi.dev (one agent). I give detailed instructions what to do. I essentially use it to implement as I do it manually. Small commits, every commit tested and verified. I don’t use plan mode, just let the agent code - code review is faster than reading plan. This approach works only if you make small changes. I create mental model of the code same way, as when writing it manually.

Some people on my team codes with AI without reading code. That’s mostly a mess. No mental model, lower quality. They are really proud of it though and think they are really smart. Not sure how this will turn out.


No, they can’t.

It has nothing to do with inconvenience.

I really like that layman now make these statements - they know better than people working in the industry for decades.


None of them understand the first thing about what the job actually is, or they wouldn't try to brag about the 200K LoC they generated lol

It feels like to me that junior devs don’t understand what they even need to learn. They just use agentic coding to get things done, without any deeper knowledge.

The worst is, they think they know exactly what they need to learn, and also think they can make good decisions.


Can you add “made with AI” to the GitHub repo?

It’s time to make this mandatory.

Nothing against AI - just to inform people about quality, maintainability and future of this library. No human has mental model of the code, so don’t waste your time creating it - the original author didn’t either.


what would be the point ? why should this be mandatory ?

none of your arguments make sense here


GP literally tells you the point in the last paragraph. Makes perfect sense to me.


and why should that be solved by "made by AI" being mandatory label when pretty much all of coding now involves it


i ban the use of AI generated code in my projects. at least one of my projects uses libxml and someone could propose to switch to an alternative. a label would make it easier to avoid this library.


Involves and made only by, are 2 different things.

I use agentic coding in my daily work. I do make mental model of the code I write and I also test the code, exactly the same way, as when written completely manually.


Ah, so the code doesn't need an AI label as long as you promise you thought really hard about it before copy-pasting.


I understand it can be difficult to label, and there's an inconveniently large grey area here, but there is a difference between plain vibe-coded software and software built with AI under the control, direction and validation of a developer.

The distinction is probably not very important for small applications, as nobody cares if a minor script or a one-shot data processor has been vibe-coded, but for large applications it surely matters in the long term.


Either it works, or it doesn’t.

You’ll figure it out.


I feel the same way. Once I worked with junior developer, who was really eager to develop stuff. He was tasked to create a development environment, where we can tests features. Nothing fancy, just some scripts and simple containers.

He used copies of the production database, but forgot to set the admin password. The machine in ec2, public on the internet.

It was fixed few weeks later. But the connection still doesn’t use SSL, sends passwords plain text.

Yeah, he doesn’t really like criticism about his work…

I always think about the phrase:

“Security is our highest priority”

Sure.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: