frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Moldova broke our data pipeline

https://www.avraam.dev/blog/moldova-broke-our-pipeline
29•almonerthis•2d ago

Comments

nivertech•2d ago
just use TSV instead of CSV by default
franciscop•1h ago
This very clearly seems like a bug either in their DMS script, or in the DMS job that they don't directly control, since CSV clearly allows for escaping commas (by just quoting them). Would love to see a bug report being submitted upstream as well as part of the "fix".
zarzavat•1h ago
CSV quoting is dialect dependent. Honestly you should just never use CSV for anything if you can avoid it, it's inferior to TSV (or better yet JSON/JSONL) and has a tendency to appear like it's working but actually be hiding bugs like this one.
j16sdiz•1h ago
Most CSV dialects have no problem having double quoted commas.

The "dialect dependent" part is usually about escaping double quotes, new lines and line continuations.

Not a portable format, but it is not too bad (for this use) either considering the country list is mostly static

shalmanese•1h ago
Did you really name your breakaway republic Sealand'); DROP TABLE Countries;--?
davecahill•1h ago
I was expecting a Markdown-related .md issue. :)
Surac•45m ago
I personaly would shy away from binary formats whenever possible. For my column based files i use TSV or the pipe char as delimiter. even excel allowes this files if you include a "del=|" as first line
inevletter•36m ago
Huge skill issue. Nothing to see here.
aquafox•31m ago
I really don't understand why people think it's a good idea to use csv. In english settings, the comma can be used as 1000-delimiter in large numbers, e.g. 1,000,000 for on million, in German, the comma is used as decimal place, e.g. 1,50€ for 1 euro and 50 cents. And of course, commas can be used free text fields. Given all that, it is just logical to use tsv instead!
cyberax•26m ago
"Sanitize at the boundary"

Ah, but what _is_ the boundary, asks Transnistria?

rglover•21m ago
Considering the scope, this could be more easily resolved by just stripping ", Republic of" from that specific string (assuming "Moldova" on its own is sufficient).
vasco•20m ago
The majority of countries official names are in this format. We just use the short forms. "Republic of ..." is the most common formal country name: https://en.wikipedia.org/wiki/List_of_sovereign_states
simula67•4m ago
RFC 4180 [1] Section 2.6 says:

"Fields containing line breaks (CRLF), double quotes, and commas should be enclosed in double-quotes."

If the DMS output isn’t quoting fields that contain commas, that’s technically invalid CSV.

A small normalization step before COPY (or ensuring the writer emits RFC-compliant CSV in the first place) would make the pipeline robust without renaming countries or changing delimiters.

That way, if/when the DMS output is fixed upstream, nothing downstream needs to change.

[1] https://www.rfc-editor.org/rfc/rfc4180.html

Meta’s AI smart glasses and data privacy concerns

https://www.svd.se/a/K8nrV4/metas-ai-smart-glasses-and-data-privacy-concerns-workers-say-we-see-e...
931•sandbach•8h ago•530 comments

British Columbia is permanently adopting daylight time

https://www.cbc.ca/news/canada/british-columbia/b-c-adopting-year-round-daylight-time-9.7111657
701•ireflect•10h ago•344 comments

Daily Driving GrapheneOS

https://blog.matthewbrunelle.com/8-4-months-of-daily-driving-grapheneos/
43•zdw•1h ago•14 comments

Ars Technica fires reporter after AI controversy involving fabricated quotes

https://futurism.com/artificial-intelligence/ars-technica-fires-reporter-ai-quotes
188•danso•5h ago•105 comments

Simple screw counter

https://mitxela.com/projects/screwcounter
73•jk_tech•2d ago•17 comments

Buckle Up for Bumpier Skies

https://www.newyorker.com/magazine/2026/03/09/buckle-up-for-bumpier-skies
12•littlexsparkee•1h ago•2 comments

Intent-Based Commits

https://github.com/adamveld12/ghost
28•adamveld12•2h ago•16 comments

Show HN: I built a sub-500ms latency voice agent from scratch

https://www.ntik.me/posts/voice-agent
330•nicktikhonov•9h ago•97 comments

DOS Memory Management

https://www.os2museum.com/wp/dos-memory-management/
10•ingve•2d ago•0 comments

Moldova broke our data pipeline

https://www.avraam.dev/blog/moldova-broke-our-pipeline
29•almonerthis•2d ago•13 comments

Guilty Displeasures

https://www.hopefulmons.com/p/what-are-your-guilty-displeasures
53•aregue•1d ago•57 comments

Seed of Might Color Correction Process (2023) [pdf]

https://andrewvanner.github.io/som/SoM_CC_Process_Day.pdf
84•haunter•8h ago•20 comments

Elevated Errors in Claude.ai

https://status.claude.com/incidents/yf48hzysrvl5
77•LostMyLogin•3h ago•53 comments

First in-utero stem cell therapy for fetal spina bifida repair is safe: study

https://health.ucdavis.edu/news/headlines/first-ever-in-utero-stem-cell-therapy-for-fetal-spina-b...
288•gmays•16h ago•51 comments

New iPad Air, powered by M4

https://www.apple.com/newsroom/2026/03/apple-introduces-the-new-ipad-air-powered-by-m4/
367•Garbage•16h ago•582 comments

Physicists developing a quantum computer that’s entirely open source

https://physics.aps.org/articles/v19/24
81•tzury•7h ago•20 comments

I built an RGB controller with Arduino

https://svana.name/2026/02/i-built-an-rgb-controller-with-arduino/
4•msvana•2d ago•0 comments

Launch HN: OctaPulse (YC W26) – Robotics and computer vision for fish farming

95•rohxnsxngh•14h ago•33 comments

The Excommunicated Devs Making Games with AI

https://www.tyleo.com/blog/the-excommunicated-devs-making-games-with-ai
35•tyleo•4h ago•16 comments

Motorola announces a partnership with GrapheneOS

https://motorolanews.com/motorola-three-new-b2b-solutions-at-mwc-2026/
2152•km•1d ago•778 comments

Show HN: Govbase – Follow a bill from source text to news bias to social posts

https://govbase.com
184•foxfoxx•13h ago•74 comments

Guido van Rossum Interviews Thomas Wouters (Python Core Dev)

https://gvanrossum.github.io/interviews/Thomas.html
10•azhenley•1d ago•1 comments

iPhone 17e

https://www.apple.com/newsroom/2026/03/apple-introduces-iphone-17e/
251•meetpateltech•17h ago•348 comments

Against Query Based Compilers

https://matklad.github.io/2026/02/25/against-query-based-compilers.html
56•surprisetalk•1d ago•32 comments

The 185-Microsecond Type Hint

https://blog.sturdystatistics.com/posts/type_hint/
64•kianN•8h ago•7 comments

Inside the M4 Apple Neural Engine, Part 1: Reverse Engineering

https://maderix.substack.com/p/inside-the-m4-apple-neural-engine
317•zdw•1d ago•89 comments

The Cathode Ray Tube site

https://www.crtsite.com/didactic-crt.html
31•joebig•1d ago•2 comments

RCade: Building a Community Arcade Cabinet

https://www.frankchiarulli.com/blog/building-the-rcade/
72•evakhoury•4d ago•14 comments

Programmable Cryptography (2024)

https://0xparc.org/writings/programmable-cryptography-1
64•fi-le•2d ago•35 comments

Ask HN: Who is hiring? (March 2026)

200•whoishiring•15h ago•236 comments