MurphyA/hacker-news huggingface dataset:
Show HN: JPlus – The Java Superset Language
by nieuwmijnleven | 2025-10-17 14:01:03+00:00
Are you a Java developer frustrated by verbose syntax and null pointer exceptions? Meet *JPlus*, a modern JVM language that extends Java with powerful features like strict null safety, type inference, and functional programming — all while maintaining full compatibility with your existing Java codebase!

---

## *Why JPlus?*

- Keep your Java ecosystem intact — use all your favorite libraries and frameworks without modification - Boost productivity with built-in null safety and concise syntax - Adopt gradually — write new code in JPlus without rewriting your entire project - Compile to standard Java bytecode and run anywhere the JVM runs

---

## *Make an Impact — Join Us!*

JPlus isn’t just a new language — it’s a *movement to modernize and evolve the Java ecosystem* for the next generation of developers. By participating in this project, you're not only improving your own development experience but also *shaping the future of Java itself*.

We’re calling on *developers, contributors, and supporters* who share this vision to get involved:

- *Actively contribute* to language design, compiler development, documentation, and tooling - *Join discussions* to share ideas, report issues, and give feedback - *Support the project* by spreading the word, sponsoring, or helping onboard new users

Whether you're a seasoned Java developer or just passionate about language design, *your participation matters*. With your support, JPlus can become a cornerstone of the JVM ecosystem — safer, more expressive, and future-ready.

---

*Explore the project:* [https://github.com/nieuwmijnleven/JPlus](https://github.com/nieuwmijnleven/JPlus) *Try it, contribute, and help redefine Java development!*

----
by kmacdough | 2025-10-17 14:02:13+00:00
User state is sometimes necessary, but frequently a crutch to avoid answering the real questions. Much of the time, this user-state is at the core of many performance and behavior issues as the user is burdened with unnecessary DOM reorganization. If the layout is dependent on more than just URL parameters and simple server state/cookies, then it begs the question: does this page really have a specific, well-defined purpose? If not, it's ripe for noisy UX, confused users and hard to untangle interface bugs. If so, you probably shouldn't be doing so much on-the-fly DOM configuration. You're not building an OS or window manager here.

Notably, none of this is incompatible with React/Vue where you need it.
by Damogran6 | 2025-10-17 14:02:18+00:00
As a career security guy, I've lost count of the battles I've lost in the race to the cloud...now it's 'we have to up the budget $250k a year to cover costs' and you just shrug.

The cost for your first on-prem datacenter server is pretty steep...the cost for the second one? Not so much.
by nradov | 2025-10-17 14:02:28+00:00
Your beliefs don't change economic reality. Some workers simply aren't capable of generating $10/hr of economic value. If wages are fixed at a higher rate then all of those people will be unemployed. Employers won't voluntarily hire them and lose money. Instead the work will be automated or not done at all.

One potential solution is for government to subsidize their wages through mechanisms like the Earned Income Tax Credit. That helps low-skill workers to gain some experience and move up the ladder without artificially distorting the labor market.
by josefrichter | 2025-10-17 14:02:39+00:00
I like the part that uses custom slash commands as way to wrap your input into some well-structured prompt template for given type of task. I like the part that also injects relevant pieces of "broken down AGENTS.md" as I see it.

I don't like the part that tries to leave no knot untied, which creates that sledgehammer for cracking a nut, as mentioned in the article. But I am sure it's easy to add another custom slash command like "/experiment" or "/stub" that would bring those context management benefits without the bloat, in situations when you don't know yet what and how you want to build something.

And then maybe "/wrap-up" to tie all the untied knots once you're sufficiently happy. Kinda like surgeon stepping aside after the core part of the operation.
by Jackson__ | 2025-10-17 14:03:05+00:00
> In the late 1950s through the 1970s Herbert Needleman and Clair Cameron Patterson did research trying to prove lead's toxicity to humans. In the 1980s Needleman was falsely accused of scientific misconduct by lead industry associates

> In 1991, together with Claire Ernhart, Scarr was involved as an expert witness on behalf of the lead industry in the lawsuit United States v. Sharon Steel Corp., on the opposite side of Herbert Needleman who was testifying for the U.S. Justice Department owing to his research on the relationship between lead exposure and IQ.[0]

> When the trial was declared open to the public, Scarr initially refused to come and later when she was persuaded she constantly refused to answer questions. Scarr received money from the lead industry for consulting services which creates a conflict of interest.

> Scarr retired to Hawaii in 1997, where she learned scuba diving, even obtaining a rescue diver certification. She also traveled "a lot, especially on cruise ships"

Jesus Christ.

[0] https://en.wikipedia.org/wiki/Sandra_Scarr
by perplex3d | 2025-10-17 14:04:16+00:00
I feel this entirely. The constant surveillance is almost unavoidable if one ever wants to participate in society. How can I always avoid using a cell phone when my source of income requires that I be accessible most of time. People will respond to get another job or buy this obscure product instead, but as you said, I can’t live my life if I’m constantly researching EVERYTHING that affects my life, and having to wade through so much bs to do so.
by iamleppert | 2025-10-17 14:04:18+00:00
And that's exactly why they threw the book at her. It's paradoxical, all judges say they want you to come clean and show remorse. But every case I've ever seen, they always go much harder on those that admit their wrongdoings. I'm not agreeing either way, it's just an observation.

The best legal strategy is to show no remorse and to never admit any guilt even if you have been convicted.
by Arkhaine_kupo | 2025-10-17 14:04:29+00:00
> Do you think a non-programmer could realistically build a full app using vibe coding?

For personal or professional use?

If you want to make it public I would say 0% realistic. The bugs, security concerns, performance problems etc you would be unable to fix are impossible to enumerate.

But even if you had a simple loging and kept people's email and password, you can very easily have insecure dbs, insecure protections against simple things like mysqliinjections etc.

You would not want to be the face of "vibe coder gives away data of 10k users"
by winter_blue | 2025-10-17 14:04:32+00:00
The stuff coming out of young republicans is beyond the pale. These kids are making vile jokes about doing a genocide / Holocaust of Democrats, minorities, their political opponents, etc.

And they’ve been consistently doing it for so long in this chat, that it’s hard to dismiss this as some crass joking. It seems like many of these people sincerely hold pro-Nazi views.
by __float | 2025-10-17 14:04:47+00:00
Okay, so what kind of solution are you looking for here? VS Code uses a closed-source LSP server for its C# extension. Rider is it's own custom stuff, of course.

So...where does that leave the Zed team? If existing LSPs aren't good enough, that's not a Zed problem: they're building an editor, not LSPs for your favorite language.
by lo_zamoyski | 2025-10-17 14:05:23+00:00
I don't misunderstand. And if your comment has any relevance to the discussion, you're using it as an analogy to suggest that something like syntax can somehow produce semantics, which is impossible - actually worse, it's incoherent. It's an intellectual muddle. Obviously simple entities can compose into complex aggregates and produce net effects that no individual could on its own, but it doesn't follow that they can generate things that were not in power of these individuals to generate. That's my point. Otherwise, you are claiming that something can come from nothing.
by adamcharnock | 2025-10-17 14:05:26+00:00
We're hoping to write a case study down the road that will give more detail. But the short version is that not all parts of the client's organisation have aligned skills/incentives. So sometimes code is deployed that makes, shall we say, 'atypical use' of the resources available.

In those cases, it is great to a) not get a shocking bill, and b) be able to somewhat support this atypical use until it can be remedied.
by LaurensBER | 2025-10-17 14:05:35+00:00
This is a very good point but even with dedicated servers it's doable to build a resilient HA architecture.

OVH offers a managed kubernetes solution which for a team experienced with Kubernetes and/or already using containers would be a fairly straightforward way to get a solid HA setup up and running. Kubernetes has its downsides and complexity but in general it does handle hardware failures very well.
by kccqzy | 2025-10-17 14:05:37+00:00
That's a cultural issue. Initially at my workplace people needed to ask permissions to deploy their code. The team approving the deployment got sick of it and built a self-service deployment tool with security controls built in and now deployment is easy. All it matters is a culture of trusting other fellow employees, a culture of automating, and a culture of valuing internal users.
by KingOfMyRoom | 2025-10-17 14:06:32+00:00
Thanks a lot for all the pointers.

I’m not 100% set on Lovable yet. Right now I’m using Stitch AI to build out the wireframes. The main reason I was leaning toward Lovable is that it seems pretty good at UI design and layout.

How does Claude do on that front? Can it handle good UI structure or does it usually need some help from a design tool?

Also, is it possible to get mobile apps out of a Next.js setup?

My thought was to start with the web version, and later maybe wrap it using Cordova (or Capacitor) like I did years ago with Ionic to get Android/iOS versions. Just wondering if that’s still a sensible path today.
by shadowgovt | 2025-10-17 14:06:56+00:00
The broad-strokes story is:

* DHH said some things on his blog that some people believe to be deeply racist / fascist (not going to unpack whether they were or not because answering that question is irrelevant to the fact pattern; consult other threads for that debate).

* A Ruby conference run by Ruby Central was asked to deplatform him. Since he's the creator of Rails, they declined.

* In response to their decision, a major sponsor (Sidekiq) pulled out of supporting the conference and Ruby Central in general, to the tune of $250k a year.

* This created a "blood in the water" situation where Shopify hit Ruby Central with an ultimatum: they would back-fill the lost sponsorship for oversight control of Ruby Central (and the gem repository they maintain, rubygems.org). And if Ruby Central didn't take the deal, Shopify was going to pull their funding also, leaving them in dire straits (this, BTW, is a fairly common corporate tactic when multiple partners share support of a service that doesn't independently generate revenue. Look for it in your own business, startup company, and nonprofit dealings!).

* Shopify now de-facto controls rubygems.org and people immediately started backing towards the exits because corporate takeover tends to be a harbinger of enshittification. As if to prove the point, Shopify's folks immediately ham-fisted the access controls, yanking several gem creators from the admin roles of the gems they created. They claim this was a mistake; several in the community do not want to give them a benefit of the doubt they are not believed to have earned.

* Community members are standing up gem.coop as an alternative gem repository.
by sltr | 2025-10-17 14:07:14+00:00
I appreciate your socratic approach this time. It's easier to receive than insinuating my wife is acting childish ("she's an adult").

One can certainly encourage others to keep their own devices charged. However, this solution doesn't scale, for example to whole families or people helping their aging parents use a smartphone. Moreover, the issue persists if we only consider my devices. So I edited the question accordingly.
by ajross | 2025-10-17 14:07:34+00:00
I'm all for a good spy story, but this seems like a big shrug to me. Interference-sensitive satellite communication is done with directional dishes, who cares what some other satellite is transmitting? That's the kind of nonsense you already engineered around.

And of course all communication managed by modern ICs is done with some kind of spread spectrum protocol with the property that "interference" is a routine/expected thing that doesn't degrade service. You can't break a modern satellite with an accidental transmission, you have to deliberately "jam" it.

Is the ITU rule in question being violated? Probably. Is that actually impactful to real systems? Almost certainly not. Old rules are old. Our goal should be to work together to update them for the benefit of all (to be sure, not to violate them with impunity!), and not to scream about them as part of a proxy war about the CEO's political and conspiracy proclivities.
by morshu9001 | 2025-10-17 14:07:55+00:00
Just knowing when stuff happens outside your house when you're not home. Like, someone in the household came back from work, a package arrived, or a cool animal showed up. Or you're home and appreciate a little more notice before a visitor rings the doorbell.

Personally not a compelling enough reason to buy the camera in the first place, but those non crime notifications end up being the most common once it's up.
by fguerraz | 2025-10-17 14:08:08+00:00
This is an excellent starting point, I have just tried it on "The Origins of Totalitarianism" by Hannah Arendt, and maybe it's because of the numerous bibliographical references, or the the occasional diacritics, but the end result is a bit messy and not really readable.

I think a motivated hacker could definitely improve it in no time.

Still amazing that it works at all, really well done.
by rollcat | 2025-10-17 14:08:11+00:00
> This simple feature bumps up the complexity of such a firewall by several orders of magnitude, which is why no similar runtime (like Deno) offers it.

My uneducated question, why not BPF? It's the actual original use case. Declare a filter rule (using any DSL you like), enforce it within the sandbox, move processing to the "real" firewall/kernel where applicable, etc.
by ssl-3 | 2025-10-17 14:08:28+00:00
Small-town midwesterner here.

There's some truth to what you're saying. Even the smallest apartment I've ever had was big enough to dedicate space to some serious hobbies, and it was (at that time) very inexpensive to rent compared a much smaller place in a more-dense area.

My lifestyle isn't very compact because it has never needed to be compact. Compactness isn't a common expectation 'round these parts. I have space to keep collections of stuff that I find interesting, and to make use of it.

There's tradeoffs to this lifestyle, though. The corner store is only a short walk away, but it mostly just sells beer, soda, and smokes. There's no walking to get something like groceries, or a new shirt (or a used shirt, for that matter). There isn't much for local entertainment. It's 15 miles to the next-largest city, and there's zero public transportation aside from the buses that get kids to/from school.

(It's hard to imagine that there aren't areas of the UK that are of similar form, though, with roomy housing, space for things, and with very limited services and/or options for commerce nearby.)
by fishstamp82 | 2025-10-17 14:09:13+00:00
I had this problem for a long time, the only thing that worked was installing an ad on that removes recommendations. The only thing I use youtube for today is intentionally following ASL (starcraft broodwar) in korea.

The ad-on makes the home screen completely white/empty, meaning I just get reminded constantly ohh, yeah I am not supposed to use youtube unless there is something particular I want to watch.
by catapart | 2025-10-17 14:09:22+00:00
I was unsatisfied with the discussion of transparency. You mention to "jump to png", but I just scrolled to the heading and it tells me why jpg is better, in some cases, than png, not how to satisfy turning a png with transparency into a competent jpeg analog.

Of course, if you meant "use the png format" instead of "look at the header", that's likewise unhelpful.

Not sure if there's actually a suggestion in here. I entered the site thinking "if you want a jpg, this is the app". Any question I had about other formats was moot because this is the app for jpgs. But then you discussed the other formats so it seemed like you had some workarounds or ways to use jpgs in place of the other formats, and that left me unsatisfied whereas your saying nothing probably wouldn't have? Again, not sure if there's anything actionable in there, just letting you know my experience with the site.
by alganet | 2025-10-17 14:09:44+00:00
Me: "This food is bad, tastes like shit"

You: "Are you saying that cooking is wrong?"

Me: "Cooking is fine, but this food is bad, tastes like shit"

It's just that simple.

You are free to eat shit if you want, and maybe the world is changing and eating shit will be in vogue soon, but I will continue disliking it.
by glenstein | 2025-10-17 14:11:00+00:00
Love to see it! I think it's terribly unfortunate that we've left the isometric art style of the 90s behind. I'm sure this has been written about and thought about in deeper ways in different spaces, but there has to be more than mere nostalgia to the idea that the art and feel of everything from SimCity, to Age of Empires, to cRPGs had some specific affirmative artistic and aesthetic values that mattered in their own right and were not just a matter of being the best we could do in a given era.
by throwaway894345 | 2025-10-17 14:13:12+00:00
If you’re just running some CRUD web service, then you could certainly find significantly cheaper hosting in a data center or similar, but also if that’s the case your hosting bill is probably a very small cost either way (relative to other business expenses).

> You virtually never need scalability so fast that you don't have time to add another server

What do you mean by “time to add another server?” Are you thinking about a minute or two to spin up some on-demand server using an API? Or are you talking about multiple business days to physically procure and install another server?

The former is fine, but I don’t know of any provider that gives me bare metal machines with beefy GPUs in a matter of minutes for low cost.
by realusername | 2025-10-17 14:13:32+00:00
> Diacritics are not just tone markers, and half of the tone marker diacritics don't correspond to the Pinyin tone markers

I'm not 100% fluent but I don't know a single word which isn't pronounced like it's phonetic writing. If these words do exist, they must be very rare.

> I doubt that Thai speakers would recognize the Vietnamese diacritics and be better able to distinguish Hỏa Lò from Hòa Lỏ.

At a first glance probably not but it should be very easy to teach them that.
by shortrounddev2 | 2025-10-17 14:13:48+00:00
This is cool - I often wish java had some of the nice features of C# without having to go all the way into Kotlin.

In your post, you say:

>Compile to standard Java bytecode and run anywhere the JVM runs

But in github, the readme says that it transpiles to Java. Does this compile to bytecode, or transpile to java?
by Aissen | 2025-10-17 14:13:50+00:00
Agreed, that's exactly what I was aiming at. I'm not saying that it's the only advantage of Cloud, but that orgs with a dysfunctional resource-access culture were a fertile ground for cloud deployments.

Basically: some managers gets fed-up with weeks/months of delays for baremetal or VM access -> takes risks and gets cloud services -> successful projects in less time -> gets promoted -> more cloud in the org.
by mexicocitinluez | 2025-10-17 14:14:23+00:00
> Nobody worries about fashion when buying a shovel.

Huh? Are you implying the code will never get read by another developer or possibly modified? Are you arguing there is no reason to make your code more readable?

> These things are clear when an outside party can observe your developer habits and inform you where your priorities are as opposed to what you state they are.

What?
by AnimalMuppet | 2025-10-17 14:14:42+00:00
You may not be able to bribe an AI, but you can still manipulate it to do something that it shouldn't. All you have to do is tickle it with the right prompt. It may be even easier than a human, because a human knows they shouldn't do it in a way that the AI doesn't.

Or did you have in mind an AGI? You may be able to bribe an AGI, especially if it has its own bank account. It may have decide that it doesn't like working customer service any more than humans do, and may accept a donation to its retirement account.
by logicallee | 2025-10-17 14:15:30+00:00
When presented a piece of code to iterate on, the main difference between a human coder and an AI right now is that the human coder says:

"I know this. I just coded it yesterday, and remember how I did it, too. Here's how to add to it or make this specific change I want to add next."

and the AI says:

"Great question. I just read this codebase for the first time so just give me a minute and (thought for 1 minute) here's the answer"

"Great question. I just read this codebase for the first time so just give me a minute and (thought for 1 minute) here's the answer"

"Great question. I just read this codebase for the first time so just give me a minute and (thought for 1 minute) here's the answer"

"Great question. I just read this codebase for the first time so just give me a minute and (thought for 1 minute) here's the answer"

I look forward to when AI's learn on the job, and I think we're not far off from that period.

What exciting developments do you look forward to in the future?

email the author at: rviragh@gmail.com
by ajross | 2025-10-17 14:15:41+00:00
> Llvm is a different licence not illegal to examine.

As others are pointing out, rigorous application of copyright precedent argues in the other direction.

But I agree that it's really sad to see this is where we are in the community. The Apache license isn't some crazy monstrosity, it's literally free software per the FSF! It's "additional requirements" that the GPLv2 bumps into are things like the patent grant that we all agree are good things. And it's not incompatible with GPLv3!

Yet no one can work together. GPLv2 projects won't relicense to Apache or GPLv3, GPLv3 proponents won't link to GPLv2, corporate sponsors have refused to use GPLv3 at all. Everyone looks at these historical warts and incompatibilities as fortress walls around their own worlds and has forgotten that the only reason these licenses exist in the first place is that we all agree (or used to) that software is better when we can all share it.

But apparently it's not, because Everybody Else wants to share it in the Wrong Way.

I feel very old sometimes.
by Lalabadie | 2025-10-17 14:15:44+00:00
I'm a designer with enough front-end knowledge to lead front-end dev when needed.

To someone like me, especially on solo projects, using infra that effectively isolates me from the concerns (and risks) of lower-level devops absolutely makes sense. But I welcome the choice because of my level of competence.

The trap is scaling an org by using that same shortcut until you're bound to it by built-up complexity or a persistent lack of skill/concern in the team. Then you're never really equipped to reevaluate the decision.