News for hackers. Stuff that matters.

cryptos

Re:Lombok Is Still Relevant in the Age of Java Records on Monday October 19, 2026 @12:56PM (#50154785)
Lombok offers more than data classes, so Java records obviously cannot replace it completely. However, @RequiredArgsConstructor makes the code harder to understand. I prefer a visible constructor that shows which parameters a class needs. With modern tools like IntelliJ IDEA, generating (and updating) a constructor is easy, and the visual noise can be reduced by folding the constructor when it is of no interest.

Annotations like @RequiredArgsConstructor also encourage poor style, because there is no room for validation inside the constructor. At most, @NonNull adds null checks, and that is all. Lombok still offers many annotations that promote bad practice or have been superseded by the language itself, e.g. @Setter (mutability without protecting invariants), @Value (records) or @Cleanup (try-with-resources).

@Slf4j can easily be replaced by a single line of code (with the Log4j 2 API, even without specifying the class name).

Lombok's builders are actually useful, since Java has no named parameters with default values (as Kotlin does).

Regarding the "Dark Magic" section: just because other frameworks like Hibernate apply their own flavour of dark magic doesn't make it any better. Such magic should be kept out of the functional core of application code. The more magic is applied, the more problems can occur (e.g., the correct order in which tools apply their magic). This is essentially accidental complexity introduced to improve developer experience, but in the age of AI this may be the wrong optimization.

If you write modern Java, Lombok really doesn't add much.

Re:Java sealed classes and exhaustive pattern matching on Monday October 19, 2026 @04:39AM (#50149899)
But you could save some token with Kotlin, too. The language is a bit less "magic" and compiles faster. So, Kotlin might be a sweetspot for AI code generation. Go is probably another good candidate.
Re:Java sealed classes and exhaustive pattern matching on Monday October 19, 2026 @04:36AM (#50149866)
I liked Scala a lot, but it also caused some real world problems like different, partly incomprehensible coding syles or compatibility issues. Although the concise syntax could help to save some token, I guess that Scala is not the best language for AI. Other languages like Java or Go are more explicit and clear to the reader - and the AI. The elegance and conciseness simply doesn't matter so much anymore.
Re:Docker Agent on Friday October 09, 2026 @06:57AM (#50018758)
I could imagine some AI powered personal portal. This would basically answer the question "What is important and interesting today?". But that would have nothing in common with the old portals like Lycos.
Re:Docker Agent on Thursday October 08, 2026 @03:15AM (#50002730)
This was also my first reaction. I'm always doubtful if projects add features that are not really close to the core use case.

Does anyone remember all these web portals from 2000? What people mostly wanted was a search engine but they added everything else and lost focus.

Re:Generic Methods in Go 1.27 on Friday August 21, 2026 @09:33AM (#49387831)
And in the end it might be a culture problem in the contexts Java is used in.
Re:What's the best programming language for coding agents? on Tuesday August 11, 2026 @09:50AM (#49258344)
I've experience severe problems with Scala in teams with different skill levels or programming styles. Sometimes Scala code was very cryptic. As much as I like the elegance of the language as such, I've given up on it completely because it is not a good fit for industrial software development in my opinion.
Re:What's the best programming language for coding agents? on Tuesday August 11, 2026 @09:47AM (#49258300)
The error messages are just advertising for Oracle consulting!
Re:Because It's Not Fun Enough: why languages fail on Monday August 10, 2026 @09:03AM (#49243088)
An interesting example to look at is Java vs. Kotlin. While Kotlin is a bit easier and definetly more fun, it didn't manage to gain a big market share in the Java space so far. I guess that this is the case, because Java is good enough and seems to be the safer bet (at least for managers).
I know and like Java for almost 30 years now. It is amazing how carefully the language is beeing refined. For the cultural aspect, yes, that is sadly true, but I have the feeling that the culture changes. More and more developers realize that there is a better way now (e. g. records instead of dumb classes full of getters and setters). Maybe the main problem is bloated frameworks and their stickyness. The Helidon framework, for example, is a breath of fresh air compared to Spring. Go developers complaining about huge Java frameworks and boilplate could be happy with it.
Re:Why the future is local app on Thursday July 30, 2026 @03:04AM (#49106872)
This article looks a bit superficial to me. The cloud has definitely advantages, like having the same data on all devices and it provides some kind of backup. The mentioned downsides could be adressed by better software archticture or e2e encryption.
Somehow money seem to damage personality. It's the same with David Heinemeier Hansson (who know Tobias Lütke in person), Elon Musk and many other folks.
Re:Web-based cryptography is always snake oil on Monday July 06, 2026 @09:58AM (#48804678)
That is basically true for every such system. Trust Signal? They could ship a backdoor in the next release. Same with Threema, WhatsApp (if you want to trust it today) and other services. You can expand that to the operating system as well. And who able to verify hardware security, anyway?
Re:Do you hate XML? (2010) on Monday July 06, 2026 @09:02AM (#48804011)
The right reason to hate XML would be some technical limitation or technical issues with it. But XML works quite well and is reasonable powerful. So the complaints usually boil down to: It is ugly and verbose.
Re:Do you hate XML? (2010) on Sunday July 05, 2026 @03:29PM (#48797193)
Interesting point of view. JSON is also not the right thing to use in many scenarios, but it is the de-facto standard now. Maybe something like protobuf is the way to go.
Re:Do you hate XML? (2010) on Sunday July 05, 2026 @03:26PM (#48797176)
At least XML is hated for the wrong reasons (e.g. verbosity, esthetics) most of the time. There was for sure an era where it was overused (see Apache Cocoon from 2006 https://en.wikipedia.org/wiki/Apache_Cocoon). But XML is still a pretty good format to exchange (and store) data and make sure the data conforms to a certain schema. JSON Schema in comparison is not nearly as powerful.
Maybe Peter Thiel and Elon Musk will meet again cryogenically preserved ;-) https://fortune.com/2023/05/04/peter-thiel-cryonics-cryogeni...
Everything will be folded in "X" eventually, anyway.
Re:GitHub Actions down again today on Tuesday May 26, 2026 @09:19AM (#48279465)
Looks good, but I'm not sure about security: https://bearyangry.com/2026/04/29/carrot-disclosure-forgejo-...
Re:The Quiet Renovation at Bitwarden on Wednesday May 20, 2026 @02:54PM (#48212332)
It works as long as your are the only user. Sharing passwords with shared keepass files didn't work properly for me. It was the main reason to move to 1Password (and I never looked back).
Re:The Quiet Renovation at Bitwarden on Tuesday May 19, 2026 @03:46PM (#48198460)
Passbolt https://www.passbolt.com/ might be an interesting alternative. The feature set looks pretty good at first sight. The only real downside I see so far is that it doesn't have macOS and Linux apps. Other than Bitwarden it is real open source.
Re:The Quiet Renovation at Bitwarden on Tuesday May 19, 2026 @02:47AM (#48190062)
It is limited to ... well ... Firefox! Sometimes you need passwords elsewhere. Besides that Firefox (or other browser password managers) doesn't support more advanced use cases like shared vaults.
Re:What Async Promised and What It Delivered on Monday April 27, 2026 @05:37AM (#47919524)
I think that Java has a really good solution to offer: Virtual Threads. They share the same interface with native threads and free developers from the burdens of async programming. You only need to take care of some things like accidental thread pinning (through legacy code) and the use of ThreadLocal, but otherwise this complexity is hidden.

https://docs.oracle.com/en/java/javase/21/core/virtual-threa...

Re:What is jj and why should I care? on Tuesday April 14, 2026 @10:14AM (#47765943)
Might be true, but Subversion was also good enough and a de-facto standard.
Re:Java is fast, code might not be on Monday March 23, 2026 @01:34PM (#47492588)
`var` has nothing to do with dynamic typing. It is still statically (compile time) typed, so the type can not change at runtime. Compare that to JavaScript where you could easily switch the type of a variable from Number to String.
Re:Java is fast, code might not be on Saturday March 21, 2026 @02:40PM (#47469929)
It is not like auto-wiring would turn Java magically into a dynamically typed language!
In my opinion Helidon is the most refreshing of these frameworks. It supports virtual threads from the ground up and comes with clean, function, mostly annotation free APIs. It really looks like a Java framework should look today.
Re:MacBook Neo Is a 'Shock' to the PC Industry: Asus Co-CEO on Wednesday March 11, 2026 @03:59AM (#47332779)
Windows reputation is declining, so the operating system might be the actual crisis. Linux with modern desktops (e.g. Gnome 3) might fill the gap, but the market is far from broad adoption. Promoting and improving Linux desktop and apps would be a long endeavour, but betting only on Windows which degrades to a cloud and AI advertising surface might be fatal.
Re:Sneak peek at the redesigned Stack Overflow on Thursday March 05, 2026 @07:23AM (#47260801)
I fear that a redesign won't help in this (terminal) stage.
Re:A case for Go as the best language for AI agents on Tuesday March 03, 2026 @04:27AM (#47230164)
Do have any links to back this up? I'd be really interested.

Older »