frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The Invisible Character That Cost Me Too Much Debugging Time

https://blog.dochia.dev/blog/the-invisible-character/
23•ludovicianul•1h ago

Comments

Agent766•1h ago
A common issue I've come across is an invisible character added when you copy a certificate fingerprint in Windows. https://support.microsoft.com/en-us/topic/certificate-thumbp...
docsaintly•1h ago
Self promotion, and seems somewhat fake? The front page of their websites has user testimonials from 2026.
basilgohar•1h ago
It literally says, 'user@dev:~$ tail -f future-happy-customers.log [INFO] What engineers will be saying (when they're not debugging)', so the future part is intentional. Do with that information what you will.
ludovicianul•1h ago
Author here. I've just launched the tool and wanted to have some simple dev humor in it. It intentional says future testimonials. The story is real though. And it happened with other types of hidden chars in different forms.
Igrom•1h ago
Somewhat related: a coworker of mine recently wrestled with unexpected output coming from the company's internal CLI tool. What he was seeing did not match the flags that were specified in the command.

Lo and behold, his input method automatically collapsed two consecutive dashes into an en-dash (`–-f`), and the "option" was instead treated as a regular positional argument.

dspillett•1h ago
I've hit something similar recently though thankfully it didn't cause significant problems¹: a left-to-right indicator, U+200E, at the end of a user's name.

Apparently Word has a habit of inserting these in fields, whether needed or not in the context, with any right-to-left language supporting language packs are installed. Once added they are silently maintained and depending on exactly what you select may get included when you copy the text out to paste elsewhere, or get included if you use some form of automation to read the field value directly from the document or Word itself.

--------

[1] I noticed it while digging into some output to analyse a related issue, the file had been mashed together from content with different codepages in a way that meant it included invalid code points.

mattmanser•1h ago
One company I worked with we use to import data from other systems into our project management system for clients to help them get set up.

This was the 2000s so it was all scripts (SQL scripts and vbscripts I seem to remember). As part of it, we ended up cleaning the customer data from a myriad of bugs. Inconsistent capitalization, leading and trailing spaces, and this. Weird characters you didn't even know exists.

Over time more and more of these hidden characters were added to the script, because back then it wasn't a case of googling it or asking on SO.

I have a friend who works as a data analyst for a local council. He hates the school reports season as the data from the schools comes in with all sorts of weird problems in consistency.

crazygringo•1h ago
This is really just an ad for Dochia's testing product.

But the first half of the post really is an interesting problem -- what to do about invisible Unicode characters that wind up in a username login field, thus becoming an invalid user, because the username was copied-pasted from a source that inserted things. The post lists potential sources as:

> Copy-paste from PDFs or Word docs: Rich-text formats often inject hidden control characters.

> Email clients and chat apps: Some insert soft hyphens, directionality markers, or non-breaking spaces.

> Keyboards and IMEs: Certain language input systems add combining marks or zero-width joiners.

But of course it's part of a broader Unicode problem, like the fact that there are two ways of representing common accented characters (precomposed vs decomposed) that are also not equivalent, or that multiple accents can be in a different order. Normalization handles those cases, but it doesn't do anything about nonprinting characters.

Is there not any common method for Unicode we should be using to check for, essentially, "grapheme comparison" that doesn't just normalize but ignores non-printing codepoints?

kawsper•1h ago
Something like that made it into a colleagues Ruby code, and it blew up! I think he lost half a day to it.

It was back in the 1.8.7 days, just before proper Unicode support in 1.9, but I don’t remember if that was relevant to this story.

He was deleting code until the bug disappeared, and then we zeroed in and found the character.

It was in the Textmate days, and it didn’t highlight such characters.

aezart•1h ago
Microsoft is terrible about this kind of stuff. We have a big problem with MS Teams replacing tabs with nbsps in XML code snippet blocks. It breaks our pom files. We've also had similar issues with pasting excel tables into emails.

The Race Is on to Make Rare Earth Magnets Outside China

https://www.nytimes.com/2025/09/19/business/china-rare-earths-magnets.html
1•corvad•29s ago•0 comments

First AI-designed viruses a step towards AI-generated life

https://www.nature.com/articles/d41586-025-03055-y
1•Brajeshwar•3m ago•0 comments

The Useful Idiots of AI Doomsaying

https://www.theatlantic.com/books/archive/2025/09/what-ais-doomers-and-utopians-have-in-common/68...
2•Jtsummers•4m ago•0 comments

Is there a simple uptime bot with customizable status pages?

1•vinserello•5m ago•0 comments

Meta Pushes into Power Trading as AI Boom Sends Demand Soaring

https://www.bloomberg.com/news/articles/2025-09-19/meta-files-with-us-regulators-to-start-selling...
1•Brajeshwar•5m ago•0 comments

Astronomers discover previously unknown quasi-moon near Earth

https://www.cnn.com/2025/09/16/science/earth-quasi-moon-2025-pn7
1•Brajeshwar•6m ago•0 comments

Could AI unlock the creation of more bespoke software?

https://medium.com/@SoCohesive/could-ai-unlock-the-creation-of-more-bespoke-experiences-3acdf6f25f0c
1•socohesive•7m ago•1 comments

Cloudflare: You don't need quantum hardware for post-quantum security

https://blog.cloudflare.com/you-dont-need-quantum-hardware/
1•bwesterb•9m ago•0 comments

Resemver: Using AI to rewrite semver based on actual breaking changes

https://fossa.com/changes/
1•robszumski•10m ago•0 comments

New Wave of Recognition: Palestine on the Eve of the UN General Assembly

https://govars.com/blog/107402004490988/18/New%20Wave%20of%20Recognition:%20Palestine%20on%20the%...
1•mazwar•11m ago•0 comments

Giant redwoods: largest trees 'thriving in UK' (2024)

https://www.bbc.co.uk/news/science-environment-68518623
1•Lio•11m ago•1 comments

Google AI Workers Were Fired Amid Fight over Working Conditions

https://www.wired.com/story/hundreds-of-google-ai-workers-were-fired-amid-fight-over-working-cond...
1•plotti•11m ago•0 comments

Doyensec – Systemic SQL Injection in PREST

https://github.com/prest/prest/security/advisories/GHSA-p46v-f2x8-qp98
1•tony-ds•12m ago•0 comments

Verbalized Algorithms

https://arxiv.org/abs/2509.08150
1•PaulHoule•13m ago•0 comments

The Commodity and the Moneymaker

https://theaiunderwriter.substack.com/p/the-commodity-and-the-moneymaker
1•participant1138•14m ago•0 comments

How the Octopus Came to Earth

https://www.themarginalian.org/2023/05/30/verany-mediterranean-mollusks/
2•tortilla•16m ago•0 comments

Ask HN: Feasibility of AI that converts user workflows into local ML apps?

1•iamnnk•16m ago•0 comments

Slow Liquid

https://www.robinsloan.com/lab/slow-liquid/
14•thomasjb•21m ago•5 comments

Some Notes I Took on Software Architecture

https://lautarolobo.xyz/blog/some-notes-i-took-on-software-architecture/
2•lautarolobo•22m ago•0 comments

Type Branding in TypeScript

https://azraelsec.sh/2025/09/06/Typescript-Branding/
3•Bogdanp•22m ago•0 comments

The Veil of Romance in Work – A Reflective Spoken-Word Piece

https://soundcloud.com/alnewkirk/the-veil-of-romance-in-work
1•alnewkirkcom•24m ago•0 comments

Year of Independence

https://zeux.io/2024/12/31/year-of-independence/
1•andsoitis•24m ago•0 comments

Progressive Mermaid and streaming diff code blocks – 100x faster render

1•simon_he•25m ago•0 comments

Reddit is blocking comments with em dashes assuming they're AI generated

https://imgur.com/a/2iwOrIR
3•rglover•25m ago•3 comments

Pentagon Bans Tech Vendors from Using China-Based Personnel

https://www.propublica.org/article/pentagon-dod-microsoft-digital-escorts-china-ban-cybersecurity
4•tysone•25m ago•1 comments

When Not to Do Microservices: A Reality Check

https://ainchishty.substack.com/p/when-not-to-do-microservices-a-reality
1•chishtyain•27m ago•0 comments

Why Do LLMs Design Mediocre Architecture?

https://www.recurse.ml/blog/arch
1•ashvardanian•28m ago•0 comments

Suspect Asks for a 'Lawyer, Dog,' Willfully Ignorant Court Denies Comma, Counsel

https://abovethelaw.com/2017/10/suspect-asks-for-a-lawyer-dog-willfully-ignorant-court-denies-com...
2•deegles•28m ago•0 comments

Show HN: Ray3 AI Video – A New Model That Can Makes Realistic Videos (Ray3.run)

https://ray3.run
1•combineimages•29m ago•0 comments

VektorGame: Strategic Vector Combat

https://vektorgame.ca
1•amichail•29m ago•0 comments