frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

DoNotNotify is now Open Source

https://donotnotify.com/opensource.html
43•awaaz•1h ago•7 comments

Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

https://github.com/localgpt-app/localgpt
204•yi_wang•7h ago•86 comments

Haskell for all: Beyond agentic coding

https://haskellforall.com/2026/02/beyond-agentic-coding
98•RebelPotato•7h ago•27 comments

Roger Ebert Reviews "The Shawshank Redemption" (1999)

https://www.rogerebert.com/reviews/great-movie-the-shawshank-redemption-1994
23•monero-xmr•3h ago•22 comments

SectorC: A C Compiler in 512 bytes (2023)

https://xorvoid.com/sectorc.html
293•valyala•15h ago•57 comments

LLMs as the new high level language

https://federicopereiro.com/llm-high/
106•swah•4d ago•189 comments

Software factories and the agentic moment

https://factory.strongdm.ai/
227•mellosouls•18h ago•386 comments

Speed up responses with fast mode

https://code.claude.com/docs/en/fast-mode
182•surprisetalk•15h ago•186 comments

The Architecture of Open Source Applications (Volume 1) Berkeley DB

https://aosabook.org/en/v1/bdb.html
23•grep_it•5d ago•3 comments

Moroccan sardine prices to stabilise via new measures: officials

https://maghrebi.org/2026/01/27/moroccan-sardine-prices-to-stabilise-via-new-measures-officials/
19•mooreds•5d ago•0 comments

LineageOS 23.2

https://lineageos.org/Changelog-31/
46•pentagrama•3h ago•9 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
192•AlexeyBrin•21h ago•36 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
195•vinhnx•18h ago•19 comments

Brookhaven Lab's RHIC concludes 25-year run with final collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
79•gnufx•14h ago•62 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
360•jesperordrup•1d ago•105 comments

uLauncher

https://github.com/jrpie/launcher
22•dtj1123•4d ago•6 comments

Substack confirms data breach affects users’ email addresses and phone numbers

https://techcrunch.com/2026/02/05/substack-confirms-data-breach-affecting-email-addresses-and-pho...
57•witnessme•4h ago•17 comments

Wood Gas Vehicles: Firewood in the Fuel Tank (2010)

https://solar.lowtechmagazine.com/2010/01/wood-gas-vehicles-firewood-in-the-fuel-tank/
48•Rygian•3d ago•19 comments

First Proof

https://arxiv.org/abs/2602.05192
145•samasblack•17h ago•89 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
102•momciloo•15h ago•23 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
606•theblazehen•3d ago•219 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
113•thelok•17h ago•25 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
338•1vuio0pswjnm7•22h ago•551 comments

Show HN: A luma dependent chroma compression algorithm (image compression)

https://www.bitsnbites.eu/a-spatial-domain-variable-block-size-luma-dependent-chroma-compression-...
43•mbitsnbites•3d ago•7 comments

The Scriptovision Super Micro Script video titler is almost a home computer

http://oldvcr.blogspot.com/2026/02/the-scriptovision-super-micro-script.html
11•todsacerdoti•7h ago•1 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
919•klaussilveira•1d ago•280 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
311•isitcontent•1d ago•39 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
174•speckx•4d ago•259 comments

Selection rather than prediction

https://voratiq.com/blog/selection-rather-than-prediction/
40•languid-photic•4d ago•20 comments

FDA intends to take action against non-FDA-approved GLP-1 drugs

https://www.fda.gov/news-events/press-announcements/fda-intends-take-action-against-non-fda-appro...
123•randycupertino•10h ago•252 comments
Open in hackernews

The macOS LC_COLLATE hunt: Or why does sort order differently on macOS and Linux (2020)

https://blog.zhimingwang.org/macos-lc_collate-hunt
97•g0xA52A2A•3mo ago

Comments

OptionOfT•3mo ago
Updated link to the file as https://opensource.apple.com/source/adv_cmds/adv_cmds-118/us... doesn't work anymore: https://github.com/apple-oss-distributions/adv_cmds/blob/adv...
loeg•3mo ago
(2020)
skopje•3mo ago
So the ISO way is the right way, right?
dataflow•3mo ago
I wondered the same. What's the right ordering?
monerozcash•3mo ago
The right way is the one that you choose yourself and suits your needs.

There's no default right answer to this, as the answer depends entirely on what you're sorting and how you want it sorted. Even for a given character set the "correct" alphabetical sorting is still locale dependent.

And even knowing all that, "correct" programmatic sorting might still be essentially impossible. Some digraphs may be sorted differently depending on the specific word. For example A vs Aa, where Aa means Å. But Aa won't always necessarily mean Å, so good luck figuring that out.

asveikau•3mo ago
Sorting is language specific even if you're restricted to languages using Latin characters. Eg. How do you sort N relative to Ñ? How do you treat the Turkish variations on the letter I?

Doing a dumb sort by character or byte values is obviously the wrong call for any diacritics, but the right call may also depend on the language.

dmurray•3mo ago
And that's why there are a hundred different possible values for LC_COLLATE, and it's completely normal that two popular Unix distributions picked different default values for that setting...right?

It would have been reasonable to conclude the article a third of the way through, and say "sorting is locale-dependent, if what you value is consistent behaviour between different OSs (instead of sorting based on the user's preferences) you need to implement the sorting yourself."

harrall•3mo ago
LC_ALL=C which gives you consistent sorting behavior.

The article does mention it but in passing.

encom•3mo ago
Before the Danish language adopted the letter "å" (in 1948), the vowel was written as "aa". In the Danish alphabet, "å" is the last letter. Therefore a list of three Danish city names would be correctly sorted as:

  * Albertslund
  * Odense
  * Aarhus
This feels like material for another Tom Scott video.
tpmoney•3mo ago
Not Tom Scott, but Dylan Beattie has done a handful of interesting talks[1] effectively on "there's no such thing as plain text" which in part covers this sort of thing. In fact, I think your Danish cities list is actually one of his examples.

[1]: https://www.youtube.com/watch?v=gd5uJ7Nlvvo

encom•3mo ago
Finally had time to watch it, that was excellent. Thanks for the link.

Pike matchbox.

plufz•3mo ago
Haha. Like it was enough with ” tooghalvfems”.
qw•3mo ago
And to make it more interesting, Sweden also has the letter "å", but it's in the 27th place in the alphabet (followed by "ä" and "ö"). In the Danish/Norwegian alphabet, the letter "å" is the last letter of the alphabet.
tracker1•3mo ago
Beyond that, are what/why you are sorting... should File1.foo come before File005.foo or file020.foo? I've honestly thought about creating my own file manager just to case-insensitively sort files where sequences of numbers are padded to the same length, and only if there's an identical match is case-sensitivity put lower first, then upper on first original difference.

My worry is that it would perform badly on really large directories... That said, for where it's a pain, it would be helpful to say the least.

1718627440•3mo ago
It isn't even language/nation dependent, there are also different official sorting orders in a single language dependent on the context, e.g. phone book vs. dictionary.

And then a lot of languages are used in different countries with different rules.

pjmlp•3mo ago
Yet another one of those POSIX and ISO things that most people don't bother to know about.

https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1...

greesil•3mo ago
It's not a stable sort?
o11c•3mo ago
Minor note: on Debian (and possibly other distros), you don't have to use `locale-gen` to dynamically build things into `$complocaledir/locale-archive` (which, incidentally, can cause random breakage for programs that happen to start during system upgrades).

The `locales-all` package works more like macOS. It's only a ~10MB download but unpacks to take ~250MB of disk space (these numbers will vary based on your libc version and packaging format).

There are a lot of sparse arrays and UTF32 character data in compiled locales.

Incidentally, the command to dump a locale's data is:

  LC_ALL=whatever locale -ck `locale | sed 's/=.*//; /LANG\|LC_ALL/d'`
1a527dd5•3mo ago
Ask anyone who did a postgres upgrade. The words "collate" and "glibc" are enough to cause me to pause now. Learnt loads, never going to really use it again, but man do I understand the pain that causes now.
bluedino•3mo ago
Now I'm remembering all the fun we had a long time ago with php websites that used an AS/400 for a data source. They didn't sort the same, and the mom and pop web dev shop that was hired to create the web site didn't understand the issue and hacked around it and failed.
kenada•3mo ago
When I updated the Darwin SDK and source releases in nixpkgs last year, I tried using the FreeBSD locale data. It worked in a technical sense, but it broke things that depended on the quirks in the Apple’s locale data. That statement about compatibility is unfortunately true.
kbd•3mo ago
In my Zsh startup on Mac I had to worry about collation, as I expected ~ to sort last (I have a directory prefixed with ~ to load plugins that need to be loaded last). Idk why a locale of utf-8 has it sorting differently, but I needed LC_COLLATE=C to have it sort as expected:

    # source all shell config
    export LC_COLLATE=C # ensure consistent sort, ~ at end
    for file in ~/bin/shell/**/*.(z|)sh; do
      source "$file";
    done