News for hackers. Stuff that matters.

electrum

California employees who are discharged must be paid all wages due at the time of termination. (Labor Code § 201)
Re:Why is the x86 undefined instruction called ud2? Why 2? on Sunday September 13, 2026 @11:45PM (#49691727)
> of course you had at least one floppy disk drive, how could you use a computer without one?

IBM PCs, even into the PS/2 days, would boot into Cassette BASIC if you didn't have a floppy drive or boot disk inserted: https://en.wikipedia.org/wiki/IBM_BASIC

My high school had the PS/2 Model 25 SX, introduced in 1992, without hard drives. All of the software ran off of a Novell NetWare file server, but required a bootable floppy disk. If you removed the floppy disk, they would boot into the built-in BASIC from the machine's ROM.

Does Stage work for PRs that have multiple commits? These could be considered "stacked diffs", but in the same PR.
Re:Find SF parking cops on Wednesday September 24, 2025 @02:31AM (#45356999)
According to https://www.sfmta.com/getting-around/drive-park/how-avoid-pa...

> During street sweeping hours, you may not park until the street has been physically swept.

You might be able to use FILE_FLAG_DELETE_ON_CLOSE, but this would likely require calling the Windows API functions directly.
Re:Understanding Parquet, Iceberg and Data Lakehouses on Sunday December 31, 2023 @09:12AM (#38824142)
Trino no longer depends on Hadoop/Hive for any of its data lake connectors. Removing that dependency was a huge effort.
Yeah, URL is from the first release of Java and should be avoided. You want to use URI instead.
tbgs is internal code search for Facebook: https://codesearchguide.org/story/facebook
JLine has a complete terminal library and includes a demo which is a full editor: https://github.com/jline/jline3
Re:New PostgreSQL Interface for Cloud Spanner on Tuesday October 12, 2021 @11:30PM (#28847935)
Procedures are very useful to enforce business logic in the database, rather than in the application. It’s like putting a higher level application-specific API on top of your database schema.

For Cockroach, it could help substantially with latency for multi-statement transactions, since the procedure could be executed on a database node closest to the leaseholder for the data. Executing a multi-statement transaction on the client means incurring per-statement latency between the client and gateway node, and between the gateway node and the leaseholder.

Re:O.mg Cable on Thursday September 02, 2021 @03:13PM (#28396090)
$49 for the device and data: https://blues.io/
The H2 embedded database has compatibility modes for other databases, which seems helpful for testing, but ends up being incompatible in various ways for anything non-trivial. You end up fighting the compatibility and skipping useful native features of the target database, while still not having confidence that the code works on the target database.

We now use the awesome Testcontainers library (available for multiple languages) that makes it easy to launch the real database in a Docker container. Testing applications against multiple databases is now trivial.

The Bing Maps Tile System has a similar projection system: https://docs.microsoft.com/en-us/bingmaps/articles/bing-maps...
Re:Why is it so hard to see code from 5 minutes ago? on Friday February 19, 2021 @02:20AM (#26190567)
This is part of the IntelliJ IDEA platform, so all of the JetBrains IDE products have it. I don’t use it often, since I normally rely on Git, but it’s saved me several times after I accidentally deleted a file or made a mistake with Git.
Re:S3 Strong Consistency on Tuesday December 01, 2020 @09:11PM (#25272511)
Even more confusing, the 404 on GET is caused by doing the HEAD when the object doesn't exist. Without the previous HEAD, the GET would usually succeed.
Re:GM recalling nearly 69,000 Bolt EVs for fire risks on Friday November 13, 2020 @06:50PM (#25088940)
Tesla has a slider for the charge limit with 90%+ being designated as Trip and 50-90% as Daily. Even for a trip, I avoid charging above 90% because regenerative braking stops working when the battery is nearly full, which results in a substantial change to the way the car handles. You get used to one pedal driving and rarely having to use the brakes, so it's very unnerving for the car to not slow down rapidly when you let up on the accelerator pedal.
Re:JDK 15 on Tuesday September 15, 2020 @01:25PM (#24483959)
The indentation is removed at compile time, per the JLS: https://docs.oracle.com/javase/specs/jls/se15/html/jls-3.htm...

> Incidental white space is removed, as if by execution of String.stripIndent on the characters resulting from step 1.

The new stripIndent() method is provided as a convenience to developers.

Re:JDK 15 on Tuesday September 15, 2020 @01:18PM (#24483831)
IntelliJ shows you exactly where the block starts, so if you have a line with less indentation (causing the entire block to start at that column), it is easy to spot.
Re:Home Server Room Power Upgrade and Multi-Room UPS on Monday September 14, 2020 @07:08PM (#24476174)
This is common in home systems where you have a second power source like solar. Mine has markings like this: https://www.jadelearning.com/blog/pv-system-marking-and-labe...
Jdbi works the way you describe: https://jdbi.org/
Re:You don’t need SMS-2FA on Thursday July 30, 2020 @04:40PM (#24002613)
That's not true for SMS-2FA, since text messages are often delivered to the device with the browser. Safari on both macOS and iOS will offer to automatically fill in the code received from SMS.
Re:UTF-8 bit by bit (2001) on Wednesday July 29, 2020 @02:00AM (#23983856)
This special encoding of the null character is Modified UTF-8 and is used by various Java and JVM APIs and in Java class files.

https://en.wikipedia.org/wiki/UTF-8#Modified_UTF-8

Re:New 13-inch MacBook Pro on Monday May 04, 2020 @01:12PM (#23070632)
I've used the Dell U3219Q for over a year for this purpose. Importantly, the monitor provides 90W of power, which is needed for the larger laptops, especially when running power intensive tasks. Most USB-C monitors do not provide enough power.
Azul's ReadyNow! for their commercial Zing JVM does this: https://www.azul.com/products/zing/readynow-technology-for-z...

Older »