News for hackers. Stuff that matters.

erkkonet

Re:Java 25 Officially Released on Wednesday September 17, 2025 @10:05AM (#45275999)
starting with JDK 16, Stream has .toList() that will save you ten characters for the .collect()
Re:Triple Density Floppy, Anyone? on Tuesday November 05, 2024 @01:31AM (#42049083)
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

Couldn't you already do that with a USB-C HDMI cable? Stream the screen and record it.
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?
Re:I'm forking Ladybird and stepping down as SerenityOS BDFL on Wednesday June 05, 2024 @02:55AM (#40582108)
> 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"

Re:AI Photo Geolocation on Thursday May 02, 2024 @08:39AM (#40235483)
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.
Re:Hetzner changes prices based on IP on Wednesday January 31, 2024 @02:52AM (#39201207)
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.
Re:MacBook Pro M3 on Tuesday October 31, 2023 @05:24AM (#38082137)
You can get up to 24GB RAM on the Air.
Re:Doom for 16-bit DOS computers on Thursday August 31, 2023 @02:34PM (#37341788)
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.

Re:RePalm on Monday April 10, 2023 @08:32AM (#35511518)
Great writeup. For those interested in the subject there is also PumpkinOS (https://github.com/migueletto/PumpkinOS) with accompanying blog posts going in to details.
I seem to remember successfully upgrading a machine with IBM PC DOS 7 and Windows 3.1 to Windows 95. There were issues with a few DOS commands later as some had been upgraded and others remained the IBM version.
Re:HTML over DNS: Serving Blog Content over DNS on Thursday August 19, 2021 @07:13AM (#28232456)
All sites on the .tel domain used to be rendered from DNS. It seems to have changed in 2017 but Wikipedia still says[1]:

"In contrast to other top-level domains, .tel information is stored directly within the Domain Name System (DNS) [...] as opposed to the DNS simply returning details (such as IP addresses)"

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

Re:Why Evernote failed to realize its potential on Tuesday April 02, 2019 @09:53AM (#19554053)
I like the concept - do you have any plans for a mobile client and how the UX would translate to smaller displays? In terms of essentials, version history would be on my list, perhaps using git as a backend so that you can access the notes with other tools as well.
Re:Ask HN: Best textbooks for learning operating systems on Friday February 15, 2019 @03:01AM (#19169251)
As far as textbooks go "The Design and Implementation of the FreeBSD Operating System" by McKusick is a good resource on the UNIX side of things.
You say shamelessly but it could also be "cluelessly" (which doesn't excuse the company in any way). When I interview candidates, one of the questions I ask is if they know anything about licenses and if they can describe differences between for instance MIT and GPL. In my experience a surprisingly large number have no clue of the implications on a product and use code/libraries without considering the license. Either way, it's prudent to have someone review projects for this kind of liabilities before shipping anything.