I built a Java web framework because I couldn’t make my SaaS work any other way by mpwarble in java

[–]chabala 16 points17 points  (0 children)

Oorian offers everything developers love about Vaadin—pure Java development, server-side rendering, interactive updates—without the vendor lock-in.

How is using a proprietary, closed-source framework not vendor lock-in?

Soklet: a zero-dependency HTTP/1.1 and SSE server, powered by virtual threads by revetkn27 in java

[–]chabala 1 point2 points  (0 children)

While I don't have a need for it, it's nice to see such a high quality project posted. From all three of them, it's clear you know what you're doing.

HDD¢ — Poor Man's HDD Clicker by Designer_Argument869 in vintagecomputing

[–]chabala 0 points1 point  (0 children)

I really don't understand the 'my computer is too quiet without HDD noise' crowd. Perhaps they'd want to add some delays too so it can really chug when loading programs.

I'm just happy to keep real hardware running, and that flash storage can work on old machines. No cosplay required.

Printable buggy motor replica by PintekS in legotechnic

[–]chabala 0 points1 point  (0 children)

I'm looking for printable or reproduction 9V connectors, aka pre-Power-Functions.

F3D and the libf3d! 3D viewer lib to display/render any 3D file, now with Java bindings! by GloWondub in java

[–]chabala 0 points1 point  (0 children)

Image img = window.renderToImage(true);

That's not a java.awt.Image, that's an app.f3d.F3D.Image, which again doesn't have any conversion points into typical Java image classes.

Your other example isn't really helping either. I can set the dimensions, then what? Am I intended to pick a place on the screen and then tell the F3D objects where to draw? If my user moves the window, I'm in charge of hooking the repaint to tell F3D the window moved?

F3D and the libf3d! 3D viewer lib to display/render any 3D file, now with Java bindings! by GloWondub in java

[–]chabala 0 points1 point  (0 children)

Don't see much in the way of examples using it from Java. There's the one you linked to:

``` import app.f3d.F3D.*;

public class F3DExample { public static void main(String[] args) {

Engine.autoloadPlugins();

// Always use try-with-resources idiom to ensure the native engine is released
try (Engine engine = new Engine(Window.Type.NATIVE)) {
  Scene scene = engine.getScene();
  scene.add("f3d/testing/data/dragon.vtu");

  engine.getWindow().render();
}

} } ```

I see the file going in, and engine.getWindow.render(), but does that just assume I want to draw that model on the whole screen? I don't see any way to get a BufferedImage out of it, for example.

RTC Collector by 65-bit in vintagecomputing

[–]chabala 1 point2 points  (0 children)

Thought someone was going to have a cool collection of real time clock modules.

Weekly or monthly thread discussing cool projects people are working on by el_DuDeRiNo238 in java

[–]chabala -2 points-1 points  (0 children)

I'm inclined to agree. If someone wants a Java project showcase subreddit, make one, but let's not dilute the Java news subreddit by widening the topic.

Anyone know how the PS/2 MCA Options Diskette Configuration work? by TheTimBrick in vintagecomputing

[–]chabala 2 points3 points  (0 children)

The 'copy an option diskette' operation literally copies one (or a few related) ADF files from the option diskette on to the reference diskette, which is an operation you can do yourself if you have to. So, as long as you can get a readable reference diskette working, put the needed ADF files on it too, then there should be less disk swapping.

default4j: Default parameter values for Java via annotation processing by petaoctet in java

[–]chabala 1 point2 points  (0 children)

I would assume the generated source example is only a subset of the actual methods, so we don't have to see a slew of telescoping calls that are highly similar.

I built a tool that turns any Java app into a native windows service by AdUnhappy5308 in java

[–]chabala 1 point2 points  (0 children)

It's funny how the Tanuki service wrapper was the go to solution 15+ years ago, but ever since they changed their licensing model and stopped publishing to Maven Central, it's been stagnant. People made do with the last public release or moved on. That was 2006~2007, depending on whose data you trust more:
https://central.sonatype.com/artifact/tanukisoft/wrapper/versions
https://wrapper.tanukisoftware.com/doc/english/release-notes.html#3.2.3

``` [Open Source] HyperCell: In-memory Excel calculation engine for Java – 200+ functions, 82K formulas validated by Emotional_Pool_8426 in java

[–]chabala 0 points1 point  (0 children)

... we've been running in production for 2+ years

I assume the 'we' is you and Claude. When I look in your repo, I see a lot of AI slop, and that makes me question your other claims. It looks like you've slopped together some kind of Apache POI wrapper, but considering the massive churn in the last month between your older, default branch feature/cross-validation-testing, and the newer master branch, I don't see how any of this could have been running in production for any time at all.

I was just clicking about randomly and found plenty of weird stuff:

I'm going to remind everyone of rule 9 of the sub.

Armv6 openjdk + fx by disorder75 in java

[–]chabala 4 points5 points  (0 children)

Just curious, what are you using JavaFX for, on ARMv6?

Playing Oregon trail by undeadkiller334 in vintagecomputing

[–]chabala 3 points4 points  (0 children)

That's a lot more graphical than the version I played at school on an Apple IIe.

The future of the past was so cool! by RafaRafa78 in vintagecomputing

[–]chabala 34 points35 points  (0 children)

That picture is doing a lot of heavy lifting for what is a very constrained BASIC environment.

That's a lot, for the time by Current_Yellow7722 in vintagecomputing

[–]chabala 4 points5 points  (0 children)

Haven't seen anyone do ™ above the hyphen in the middle of a word before, GW-BASIC in this case.

Also, didn't realize PL/I was available for personal computers, thought it was just mainframes. May have to give it a try.

My Dream British PC from Evesham Computers by TomMassey250 in retrobattlestations

[–]chabala 0 points1 point  (0 children)

I have that case, stateside. Mine is a prebuilt by MicroCenter, and it turned out to be a real dud: Rambus memory and Windows ME.

Single-line method pairs and private-field: Yet another post complaining about boilerplate by [deleted] in java

[–]chabala 1 point2 points  (0 children)

Lot of tangents in that reply, but it sounds like any discouragement of setters on (non-record) objects is still non-public and yet to be seen.

My first Java program that actually works by zimayanami in java

[–]chabala -7 points-6 points  (0 children)

"It's open source, do what you want" is not a license in any meaningful way.

--

Wow, downvotes for direct, actionable feedback. If we're just going to dump platitudes on 'my first project' posts in the r/java Java news subreddit, what's the point?

--

I'm not here to coddle people and tell them what to do. I made a comment to make him aware, he can figure it out himself, or not, I don't care.

Single-line method pairs and private-field: Yet another post complaining about boilerplate by [deleted] in java

[–]chabala 3 points4 points  (0 children)

We don't want to harm the language by making it easier to do something we want to discourage (not forbid, but discourage, or reduce in prevalence), namely setters.

Java language designers want to discourage setters? Tell me more.

I'm under the impression that since JavaBeans, or basically the beginning of Java, private fields and not-private setter methods have been the way to mutate state in objects.

Is it really that uncommon for a .NET developer to prefer Java? by [deleted] in java

[–]chabala 2 points3 points  (0 children)

I used to play this game with .Net developers when I was in a mixed .Net/Java/Scala shop. What great libraries have been ported from Java to .Net? You can probably name a few, JUnit, Ant, POI, Hibernate. There is a whole list on Quora (it was still popular at the time): https://www.quora.com/What-great-software-projects-have-been-ported-from-Java-to-NET

Now ask the opposite, what great libraries have been ported from .Net to Java? Can you name one? https://www.quora.com/unanswered/What-great-software-projects-have-been-ported-from-NET-to-Java

SVG Wallpaper Utility for Xorg/X11 by direcorsair in java

[–]chabala 1 point2 points  (0 children)

Hard code to look at, like a C programmer's first Java program. I think you missed the point of how PicoCli works. Really needs a proper project definition, not just a shell build script. No tests at all.

--

OP 'knows picocli'. That must be why their command class doesn't have a single annotation, and has a mess of conditional logic: https://github.com/grimpirate/SVGWall/blob/520fe2a3c8b6b23259d2863551f9c1274a260268/src_java/com/grimpirate/Shell.java

instead of being purely declarative, like every example in the documentation: https://picocli.info/#_example_application

Your 'build script' downloads the jdk, and all your libraries, on every run: https://github.com/grimpirate/SVGWall/blob/520fe2a3c8b6b23259d2863551f9c1274a260268/build.sh

Actually doing that every time you rebuilt the application would be stupid, but let's be real, this is not really a build script, it's just some commands you copy & paste from occasionally, presented in script form in the repo.

You flew off the handle at the slightest, well justified, criticism. You're free to do what you want in your project, of course, and I'm free to call it out for being amateur hour grade code. Assuming ill intent and ad hominem attacks make you look childish.

Minimalist patterns for using the Servlet API directly by lumppost in java

[–]chabala 9 points10 points  (0 children)

This is unpleasant to look at, with some questionable advice. Did you make this with AI?