Readit News logoReadit News
erkkonet commented on Java 25 officially released   mail.openjdk.org/pipermai... · Posted by u/mkurz
eastbound · 3 months ago
It all failed when .stream() appeared. Why make people use .stream() for functional programming, plus streams aren’t even reusable, I almost wish they invented a new operator based on an exotic UTF-8 character than those 9 extra characters. Fonts should have a ligature for .stream().

And now let’s talk about .collect(toList())…

And records which look like ugly beans…

Java is the land of the verbose. But it can probably be solved with 9 extra characters on every line.

erkkonet · 3 months ago
starting with JDK 16, Stream has .toList() that will save you ten characters for the .collect()
erkkonet commented on Triple Density Floppy, Anyone?   vogons.org/viewtopic.php?... · Posted by u/zdw
erkkonet · a year ago
In the late nineties I had a laptop that supported SuperDisk¹ floppies that could store up to 120 MB. The disks were pretty expensive and the same laptop even had a CD-RW drive so I never got around to try it.

[1] https://en.wikipedia.org/wiki/SuperDisk

erkkonet commented on Tell HN: iPhone mirroring on iOS/macOS breaks screenshot protection on all apps    · Posted by u/mintone
erkkonet · a year ago
Couldn't you already do that with a USB-C HDMI cable? Stream the screen and record it.
erkkonet commented on Dual-screen laptops make more sense with this spiral notebook-like hinge   arstechnica.com/gadgets/2... · Posted by u/LorenDB
ndsipa_pomu · a year ago
Yeah, I got it with the (Bluetooth) keyboard stand but without the stylus as I never use one (I've got a collection of about 5 unused styluses from other devices). I'm still in the process of setting it up, but I'm pleased with the performance for web browsing (I got the 32GB ram with 2TB disk model) and the build quality is great. Delivery was surprisingly quick - 5 days after ordering to the UK.
erkkonet · a year ago
Looks pretty impressive. I couldn't find the weight listed anywhere on the page, how much does it weigh? Light enough to lug around every day?
erkkonet commented on I'm forking Ladybird and stepping down as SerenityOS BDFL   awesomekling.substack.com... · Posted by u/zmodem
awesomekling · 2 years ago
Thank you so much for sponsoring me! :)

As I wrote in the announcement, I've already been working primarily on Ladybird for ~2 years already, so you have indeed been sponsoring Ladybird development by sponsoring me.

SerenityOS doesn't have a GitHub Sponsors itself, but it does use Polar to allow anyone to directly sponsor work on specific issues. See https://polar.sh/SerenityOS

And don't worry, there won't be some VC investment or big company buyout.

erkkonet · 2 years ago
> And don't worry, there won't be some VC investment or big company buyout.

That reminds me of Torvalds' statement on Linux: "just a hobby, won't be big and professional like gnu"

erkkonet commented on AI Photo Geolocation   geospy.ai/... · Posted by u/hubraumhugo
erkkonet · 2 years ago
Funny enough it was accurate all while citing items that were not in the picture (not even cropped out), like tall buildings and signs in a specific language. I'm sure there will be refined versions that are scarily accurate. Another OSINT tool for better or worse.
erkkonet commented on Hetzner changes prices based on IP    · Posted by u/DonnyV
DonnyV · 2 years ago
Weird, I'm not logged in at home. I don't even have an account. But it gives me the €114.23 price
erkkonet · 2 years ago
At the top of the page there is a VAT selector. If you pick US there you see prices without VAT no matter where you are.
erkkonet commented on Apple unveils the new MacBook Pro featuring the M3 family of chips   apple.com/newsroom/2023/1... · Posted by u/mfiguiere
geokon · 2 years ago
Honest question,but how do you live with 8GB or RAM? I have 16 now and I run out regularly without doing anything too crazy (though in large part because Emacs and CIDER leak memory like crazy)

Doesn't having to close background applications constantly absolutely maddening ?

erkkonet · 2 years ago
You can get up to 24GB RAM on the Air.
erkkonet commented on EurKEY: The European Keyboard Layout – For Europeans, Coders and Translators   eurkey.steffen.bruentjen.... · Posted by u/thunderbong
erkkonet · 2 years ago
I use US layout with Caps Lock mapped to toggle to my "native" layout. This way I can easily code without RSI-inducing combinations to get the frequently used {}[]\, and just tap caps when I'm writing emails without needing to retrain my muscle memory of where åäö are located.

On Windows there's also a setting to get each app to remember the selected keyboard layout (Set-WinLanguageBarOption -UseLegacySwitchMode) so I don't even need to switch most times.

u/erkkonet

KarmaCake day36May 22, 2018View Original