News for hackers. Stuff that matters.

freidenker

Re:Fefe is back on Monday December 08, 2025 @07:42PM (#46199858)
There’s no need for a full-blown RDBMS for a simple blog
Re:“Coding is basically just ifs and for loops.” on Sunday December 05, 2021 @05:16AM (#29448149)
The snippets actually do the same thing, as long as you add a .findFirst() to the first example to make it valid Java code.

Intermediate stream operations like map or filter are always lazy. And .findFirst() is a short-circuiting terminal operation, that does not need to consume all stream elements.

https://docs.oracle.com/en/java/javase/11/docs/api/java.base...

Re:A warning about 5.12-rc1 on Friday March 05, 2021 @04:29AM (#26354826)
Not always I guess. The 20.04 and 20.10 installer with LUKS enabled created a swap partition for me.
And with Locus maps you can use OpenAndroMaps [1] as a map source.

With their map styles [2] OpenAndroMaps are IMO the best hiking maps you can get. They even added very precise elevation data from LIDAR scans recently.

[1] https://www.openandromaps.org/en

[2] https://www.openandromaps.org/en/legend/elevate-mountain-hik...