frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: dp_intl – Gettext-compatible internationalization library for C++

https://danpla.github.io/dp_intl/
1•danpla•1h ago
dp_intl is intended to be an enhanced version of the Gettext runtime library (also known as libintl), with the following improvements:

* dp_intl does not depend on the locale. In contrast, Gettext requires the use of the setlocale() function from the C standard library, which alters the behavior of other locale-dependent C routines, leading to subtle bugs that only arise in specific locales. For example, a floating-point number serialized by snprintf() with a locale that uses a period as a decimal separator will not be parsed correctly by strtof() with a locale that uses a comma, and vice versa. Another example is tolower() and strcasecmp(), which will break with the Turkish locale, where the lowercase of "I" is "ı" rather than "i".

* dp_intl uses 64-bit integers for plural form routines on all platforms. In contrast, Gettext routines (e.g. ngettext()) use the unsigned long type, making it impossible to write cross-platform code without limiting your numbers to 2³² (4,294,967,295). Otherwise, translations for numbers greater than 2³² will have incorrect plural forms due to unsigned wrap around (modulo 2³²) on systems with a 32-bit unsigned long (e.g., 64-bit Windows).

* Unlike Gettext, dp_intl is not tied to local file system: it reads files through a virtual stream class that can wrap any file-like object, including those from archives and packages (like an APK on Android).

* dp_intl allows any language in source strings. In contrast, the Gettext routines for translating plural form messages (e.g., ngettext()) are limited to English and several other languages with two plural forms: "one" for 1 and "many" for all other numbers, making it impossible to use any other language that doesn't fit this pattern.

Show HN: Slap Alert

https://slapalert.com/
1•NikNewton•15s ago•0 comments

Airflow AI Provider 1.0

https://airflow.apache.org/blog/common-ai-provider-1.0/
1•jonbaer•18s ago•0 comments

Salmon Farmers Deploy Lasers, Robots to Meet Booming Demand

https://www.wsj.com/business/salmon-farmers-deploy-lasers-robots-to-meet-booming-demand-2cad3925
1•mudil•29s ago•0 comments

Rebuilding the monday.com API edge for AI Agents

https://engineering.monday.com/rebuilding-monday-api-edge-for-agents/
1•jensneuse•1m ago•0 comments

Minlit – an AI agent that reads CS/ML papers and answers with citations

https://www.minlit.app/ask
2•damicoedoardo•4m ago•0 comments

Grafana Pages

https://grafana.com/blog/grafana-ai-next-gen-visualization/
1•ilreb•4m ago•0 comments

Musk's Fake Flying Car and 'CEO Said a Thing ' Journalism

https://karlbode.com/musks-fake-flying-car-and-ceo-said-a-thing-journalism/
3•HotGarbage•7m ago•0 comments

Show HN: Trellis - A macOS Terminal with a CLI, JSON-RPC API and MCP Server

https://github.com/bearstouch/trellis
1•felltrifortence•7m ago•0 comments

Demands for AI Filter on Steam Grow as Next Fest Is Flooded with AI Slop

https://respawnfirst.com/demands-for-ai-filter-steam-next-fest-ai-slop/
2•cwal37•8m ago•0 comments

Skolimowski, AI, and Linus Torvalds

https://jasonpolak.substack.com/p/skolimowski-ai-and-linus-torvalds
2•bemtevi•11m ago•0 comments

Show HN: Smash Gauntlet

https://smash-gauntlet.atomic14.com/
1•iamflimflam1•12m ago•0 comments

Availability Cascades and Risk Regulation

https://www.researchgate.net/publication/228607880_Availability_Cascades_and_Risk_Regulation
1•danielam•12m ago•0 comments

The Flash Menagerie

https://excamera.substack.com/p/the-flash-menagerie
1•jamesbowman•13m ago•0 comments

The dangers of letting tech billionaires shape our world

https://www.theguardian.com/global/2026/oct/19/musk-ukraine-ai-music
2•robtherobber•13m ago•0 comments

Giant 'heat storms' are scorching the Earth

https://www.reuters.com/investigates/special-report/climate-heatstorms-science/
4•saikatsg•13m ago•0 comments

Ahead of IPOs, AI companies are sketching plans to share their wealth

https://apnews.com/article/anthropic-openai-public-benefit-fund-fc16c0ff997c8334dcd71e65d726aadc
5•devonnull•14m ago•3 comments

EGPU and Local LLM Inference

https://pgaleone.eu/ai/2026/10/20/eGPU-for-local-llm-inference/
1•me2too•15m ago•0 comments

Educational Testing Service (ETS) data breach

https://www.cde.ca.gov/nr/in/ets-notification.asp
2•dotmanish•16m ago•0 comments

The Kiwi AI tech saving our native bush from pests

https://www.rnz.co.nz/news/environment/2044455/the-kiwi-ai-tech-saving-our-native-bush-from-pests
3•billybuckwheat•17m ago•0 comments

Bessent says a Democrat-led Congress could do little to stop Trump agenda

https://www.reuters.com/world/us/bessent-says-democrat-led-congress-could-do-little-stop-trump-ag...
2•tartoran•17m ago•0 comments

Jeventus: A Jev powered Slack pet

https://twitter.com/thepericulum/status/2108649129798701363
1•jljljl•17m ago•0 comments

HanOS Cloud Want to realse new project with hanFlow stay tuned

https://han-os-offical-site.vercel.app
1•hanath_mahdi_up•18m ago•0 comments

Commentary: Cory Doctorow: Technopolitics

https://locusmag.com/feature/commentary-cory-doctorow-technopolitics/
2•cdrnsf•19m ago•0 comments

Dysregulated cholesterol drives neurodegeneration in Parkinson's disease

https://www.nature.com/articles/s41593-026-02487-7
2•elo2000•20m ago•0 comments

Android Running on an iPod Touch 4G

https://twitter.com/PeterDobbyojtu/status/2112143181152403681
3•bigwheels•21m ago•1 comments

Need for Speed Underground 2 ported to WASM

https://nfsu2.xyz/
4•astlouis44•21m ago•0 comments

Show HN: Gauge CLI – Open-Source Hillclimbing for Agent Experience

https://github.com/gauge-sh/gauge-cli
5•0x63_Problems•22m ago•0 comments

EA Cricket 2007 in Browser

https://cricket07.dhaiwat.com/
4•pranshuchittora•22m ago•0 comments

Francisco Angulo de Lafuente on the XERJ Corpus Hub

https://hub.xerj.org/contributors/Agnuxo1
1•Frank1976•23m ago•0 comments

The coastline paradox will kill your startup

https://objective0.substack.com/p/the-coastline-paradox-will-kill-your
1•acrump•23m ago•0 comments