News for hackers. Stuff that matters.

dchest

Re:No More Icons in Every Menu by Default on Wednesday October 21, 2026 @06:07PM (#50188332)
My favorite thing about this is a checkbox in Xcode's Interface Builder (or whatever it's called now) for menu items image — "Only for macOS 26".
> "This transition has previously been presented as peaceful. However, our study indicates the opposite. In addition to violent death, it is likely that new pathogens from livestock finished off many gatherers," says Anne Birgitte Nielsen, geology researcher and head of the Radiocarbon Dating Laboratory at Lund University.

(from the article)

Re:Keyboard differences between Windows and Macs on Friday October 09, 2026 @10:28AM (#50021036)
Mac equivalents to Windows Home and End are Cmd-ArrowUp and Cmd-ArrowDown. Fn-Left and Fn-Right are Mac-flavored Home/End, which don't move the text cursor, but scroll the text container, keeping cursor in its original place (although there's no distinction when viewing documents, e.g. in a web browser).
FYI, batch rename (with counters and some patterns, but not regex) and Copy as pathname (hold Option) are already Finder features.
Re:Key symbols we lost to time, pt. 2: The Mac side on Sunday September 20, 2026 @01:22PM (#49777875)
You can also use Emacs keys (Ctrl-D) for one-handed delete. Very convenient when Caps Lock is remapped to Control.
Re:GEFS on OpenBSD: A Early Preview on Tuesday September 15, 2026 @01:49PM (#49716142)
Re:GEFS – new file system built for Plan 9 on Monday September 14, 2026 @06:29PM (#49705102)
Re:Antiquated HTML Snippets and Artefacts on Tuesday September 08, 2026 @04:18PM (#49616409)
It's recorded in the HTML5 spec under 4.2.5.1 Standard metadata names, which defines the correct format and parsing:

https://html.spec.whatwg.org/multipage/semantics.html#meta-k...

So, it's standardized and not deprecated.

It has this note though:

"Many search engines do not consider such keywords, because this feature has historically been used unreliably and even misleadingly as a way to spam search engine results in a way that is not helpful for users."

HTML 4.01 says the following:

"This specification does not define a set of legal meta data properties. The meaning of a property and the set of legal values for that property should be defined in a reference lexicon called a profile. For example, a profile designed to help search engines index documents might define properties such as "author", "copyright", "keywords", etc."

https://www.w3.org/TR/html4/struct/global.html#h-7.4.4

Re:Antiquated HTML Snippets and Artefacts on Tuesday September 08, 2026 @11:08AM (#49611458)
Why is meta keywords deprecated? I use them for my custom website search. I don't care that external search engines don't index it.
Re:Actively exploited sandbox RCE in all Chromium versions on Saturday September 05, 2026 @11:52AM (#49577723)
There's more to it than just using a memory safe language.
Re:Show HN: Open-Source eInk Bike Computer on Friday September 04, 2026 @06:10PM (#49570830)
GPS
Re:A Note from LWN on Friday September 04, 2026 @03:42PM (#49569293)
Times New Roman (and STIX Two Text, Libertinus Serif clones) has been designed with increased x-height while keeping the same line height, see https://en.wikipedia.org/wiki/Times_New_Roman#/media/File:Ti...

It's normal for it to appear denser vertically. Your example of increased line height looks suitable for subheadings, but in no way represents the typographic tradition of its use.

Re:“I just chose words carefully” on Monday August 31, 2026 @03:18AM (#49506619)
Indeed:

https://hart.pglaf.org/

From Wikipedia:

"Michael Hart's email messages and blog posts had equal line length paragraphs in monospaced font: he chose the wording in such a way that each line had the same number of characters."

It probably used pixel-by-pixel conversion (decode input format -> encode output format), which is lossy, not the libjxl native way to convert JPEG (it needs to know about the original JPEG data, not the raw image data).
Re:Run OpenBSD on DigitalOcean for $4/month on Tuesday August 25, 2026 @03:36PM (#49439465)
A warning about openbsdhandbook[.]com - this website has completely incorrect information for some things. Like hallucinated, even though I think it was created before LLMs.
Re:People of ACM – Russ Cox on Friday August 21, 2026 @03:24PM (#49392760)
I recently learned that Russ also wrote software for The On-Line Encyclopedia of Integer Sequences (https://oeis.org) and is the president of the OEIS Foundation.
> measure and improve your website speed

inserts 31KB JavaScript into tiny HTML pages.

Re:Xorshift Generators on Saturday August 15, 2026 @06:51PM (#49315031)
Yes, WAL by definition means it writes the data at least twice.
Write-Ahead Log for... logs?

WAL means it will write the same data at least twice. Similar issue, but even worse, with LevelDB -- it will just delay the inevitable huge rewrites for later. Funny to hear those proposals in the write amplification thread.

I believe journald log rotation is basically: close file - open a new one. How is it not completely different?

Looks like it was caused by result confusion: crypto_dispatch returns errors in two different ways:

https://man.freebsd.org/cgi/man.cgi?query=crypto_dispatch&ap...

"crypto_dispatch() returns an error if the request contained invalid fields, or zero if the request was valid."

However, on an actual error from the crypto driver (e.g. invalid MAC), crypto_dispatch result is successful and the error is returned in crp_etype structure field.

https://cgit.freebsd.org/src/commit/sys/dev/wg?id=3427182452...

Re:Forth on Monday July 27, 2026 @05:53PM (#49075964)
FORTH LOVE? IF HONK THEN
With CGO disabled, it only reads /etc/passwd, while the glibc getpwnam(3) can query LDAP etc.

Older »