frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: Extract text and translate on every PR

1•danielandrews43•1y ago
One of the most tedious parts of frontend dev for our team is making sure all text is extracted to query strings for translation. We use i18n, and it’s great, but a lot falls through the cracks.

Have you set something up for your org on every pull request that pulls out text?

Comments

not_your_vase•1y ago
The last time I worked on a localized project, we had a technical fake language present in non-release envs. It was generated with every build (it was just a simple .po file, so easy to handle), and it was the same as English, but had an "x" at the start and end of each text, so you knew that it was "translated" (or at least it was translatable, and not hardcoded). QA included checking this fake language - if they found any text without X's around it, it was a clear sign of a i18n bug.
danielandrews43•1y ago
That's cool! We used machine translate to hindi for this which made it super obvious what was english / not as it was different character set (but made it hard to navigate)

Looking for something to help with DX though here, not QA

I think I can get the original reasoning of Claude models. Is this real?

https://thinking-signature-demo-5g65bijswq-de.a.run.app/
1•bayes-song•3m ago•0 comments

Bun vs. Deno vs. Node.js: which JavaScript runtime wins in 2026?

https://botmonster.com/web-dev/bun-vs-deno-vs-nodejs-javascript-runtime-2026/
1•enz•6m ago•0 comments

Show HN: Prompt Injection as an Egress Problem

https://www.vaibot.io/blog/prompt-injection-is-an-egress-problem
1•bcampbell88•7m ago•0 comments

AI changes the economics of software rewrites

https://thetruthasiseeitnow.com/ai-slop-starts-with-the-codebase-itself/
3•cinooo•10m ago•0 comments

LisaFPGA: The Apple Lisa computer implemented inside an FPGA

https://github.com/alexthecat123/LisaFPGA
1•signa11•11m ago•0 comments

Samsung chip division's 1-year profit beat past 40 years of profits, combined

https://www.tomshardware.com/tech-industry/samsungs-chip-division-expects-to-out-earn-its-entire-...
3•theanonymousone•11m ago•0 comments

Accelerating Harbor with Tensorlake

https://www.tensorlake.ai/blog/accelerating-harbor-with-tensorlake
1•cooleel•13m ago•0 comments

Why LLMs get dates and times wrong (and how to fix it)

https://www.cronofy.com/blog/why-llms-get-dates-and-times-wrong
1•ColinEberhardt•17m ago•0 comments

SpaceX closes below debut price in two-day slide after Nasdaq-100 inclusion

https://www.cnbc.com/2026/07/08/spacex-stock-nasdaq-100-ipo.html
1•1vuio0pswjnm7•17m ago•0 comments

Show HN: Computer Use with any models Clanker Secretary

https://twitter.com/tekbog/status/2075086378459898210
2•tekbog•19m ago•0 comments

AI is creating economic winners, says IMF

https://www.axios.com/2026/07/08/imf-ai-energy-iran
1•TMWNN•20m ago•0 comments

How Donkey Kong Toppled Atari

https://dfarq.homeip.net/how-donkey-kong-toppled-atari/
1•giuliomagnifico•22m ago•0 comments

Book: RISC-V System-on-Chip Design

https://www.amazon.com/RISC-V-Microprocessor-System-Chip-Design/dp/0323994989
3•xlmnxp•29m ago•0 comments

Artificial Climate Controls Might Become Ineffective – Because of Climate Change

https://scripps.ucsd.edu/news/artificial-climate-controls-might-become-ineffective-because-climat...
1•SiempreViernes•30m ago•0 comments

An off switch for dual use knowledge in AI models

https://www.anthropic.com/research/off-switch-dual-use
1•DeveloperErrata•34m ago•0 comments

The Unlikely Journalist Who Looked into the Heart of War

https://www.newyorker.com/books/page-turner/the-unlikely-journalist-who-looked-into-the-heart-of-war
1•petethomas•35m ago•0 comments

What Scientists Learned by Eavesdropping on Thousands of People

https://www.newyorker.com/culture/annals-of-inquiry/what-scientists-learned-by-eavesdropping-on-t...
2•petethomas•37m ago•0 comments

AI software that generates 'rage bait' developed by Germany's far-right AfD

https://www.irishtimes.com/world/europe/2026/07/08/ai-software-that-generates-rage-bait-developed...
3•giuliomagnifico•40m ago•0 comments

Companies must address self-driving car interference with emergency vehicles

https://www.reuters.com/world/us/companies-must-address-self-driving-car-interference-with-emerge...
1•1vuio0pswjnm7•40m ago•0 comments

Pg_re2: Postgres extension for fast, RE2-powered regular expressions in Postgres

https://clickhouse.com/blog/introducing-pg_re2-regex-in-postgres
2•saisrirampur•40m ago•0 comments

Spider venom kills varroa mites without harming honeybees

https://connectsci.au/news/news-parent/9703/Spider-venom-kills-varroa-mites-without-harming
31•Jedd•42m ago•7 comments

Microsoft's gaming strategy has misfired badly

https://www.economist.com/business/2026/07/08/microsofts-gaming-strategy-has-misfired-badly
4•petethomas•48m ago•0 comments

Reload Rust code without app restarts. For faster feedback cycles

https://github.com/rksm/hot-lib-reloader-rs
2•vlovich123•48m ago•0 comments

Show HN: Embeddable visual HTML/CSS page editor

https://neikiri.dev/page-editor/
1•neikiri•49m ago•0 comments

OpenCode Bug: "I did not say that you did"

https://www.williamangel.net/blog/2026/07/08/OpenCode-Bug-I-did-not-say-that-you-did.html
2•datadrivenangel•53m ago•0 comments

Compendium – Shared workspace for teams and AI agents

https://www.cerenovus.ai/
1•Azimuth05•1h ago•1 comments

The AI Policy That Never Shipped

https://mendelevium.github.io/the-policy-never-shipped/
1•bobbybidon•1h ago•0 comments

Global Cancer Observatory – interactive visualization and data explore

1•andsoitis•1h ago•1 comments

EU's border check needs complete 'overhaul', says Greek airports chief

https://www.ft.com/content/83ae0ca8-ccce-4253-abfb-4c204f24bbbd
1•JumpCrisscross•1h ago•0 comments

FarRail Tours

https://www.farrail.com/
1•Svip•1h ago•0 comments