frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Glue teams vs. back-office teams

https://posthog.com/newsletter/glue-teams-vs-back-office-teams
1•runningamok•2m ago•0 comments

Keynesian Beauty Contest

https://en.wikipedia.org/wiki/Keynesian_beauty_contest
1•call-me-al•5m ago•0 comments

7-Eleven robot trial targets labor shortages

https://www3.nhk.or.jp/nhkworld/en/news/20250910_B1/
1•Improvement•6m ago•0 comments

AI cut new hire onboarding from 91 to 49 days

https://newsletter.getdx.com/p/ai-cuts-developer-onboarding-time-in-half
1•mustaphah•7m ago•0 comments

The radical plan to prevent overdoses with better drugs

https://www.theguardian.com/society/ng-interactive/2025/sep/10/drug-overdose-crisis-dulf-vancouver
1•n1b0m•10m ago•0 comments

Kerberoasting

https://blog.cryptographyengineering.com/2025/09/10/kerberoasting/
2•feross•11m ago•0 comments

Americans' junk-filled garages are hurting EV adoption, study says

https://arstechnica.com/cars/2025/08/junk-filled-garages-hurt-ev-sales-as-people-dont-have-room-f...
1•PaulHoule•13m ago•0 comments

Electric cars: Tax benefits and incentives (2025)

https://www.acea.auto/fact/electric-cars-tax-benefits-and-incentives-2025/
1•andsoitis•15m ago•0 comments

Effects as Capabilities in Scala

https://nrinaudo.github.io/articles/capabilities.html
2•Bogdanp•15m ago•0 comments

If Apple cared about privacy

https://herman.bearblog.dev/apple-privacy/
3•HermanMartinus•17m ago•1 comments

Show HN: React Kickstart – Interactive CLI for pre-configured React projects

https://github.com/gavbarosee/react-kickstart
1•gavb•18m ago•0 comments

New Mexico becomes first state to offer free childcare for all

https://www.theguardian.com/us-news/2025/sep/09/new-mexico-free-universal-childcare
1•andsoitis•19m ago•0 comments

Video of US missile fired at mystery orb shown at UFO hearing

https://www.bbc.co.uk/news/videos/cj07rg34l62o
2•zh3•19m ago•1 comments

Effective Rust

https://effective-rust.com/
1•pykello•19m ago•0 comments

The First Time Scientists Have Seen Decisionmaking in a Brain

https://www.wired.com/story/this-is-the-first-time-scientists-have-seen-decision-making-in-a-brain/
1•beardyw•20m ago•0 comments

Trump Cracks Down on Drug Ads–But U.S. Remains an Outlier

https://time.com/7315848/drug-advertising-pharmaceutical-companies-trump-executive-order-side-eff...
1•koolba•20m ago•0 comments

A custom iPhone quote widget that runs for free on GitHub Pages

https://github.com/angx1/weekly-quote
1•angxl•23m ago•0 comments

Show HN: Drizzle Cube – embeddable MIT licensed analytics

https://try.drizzle-cube.dev/
1•cliftonc•23m ago•0 comments

Lutnick says U.S. should take 50% of universities' patent revenue

https://www.axios.com/2025/09/10/howard-lutnick-university-patents-research
2•aredox•24m ago•0 comments

Claude Code CLI with GLM-4.5

https://www.nibzard.com/claude-zhipu/
1•nkko•24m ago•0 comments

Nano Banana in Java

https://glaforge.dev/posts/2025/09/09/calling-nano-banana-from-java/
1•nkko•26m ago•0 comments

The rewilding milestone Earth has already passed

https://www.bbc.com/future/article/20250909-the-rewilding-milestone-earth-has-already-passed
1•andsoitis•26m ago•0 comments

Survey: Most IT Teams Not Prepared to Manage AI Workloads

https://devops.com/survey-most-it-teams-not-prepared-to-manage-ai-workloads/
1•nkko•27m ago•0 comments

Lung function as we age and wider affects on health

https://www.bbc.com/future/article/20250908-the-simple-test-to-check-how-old-your-lungs-are
1•1659447091•28m ago•0 comments

The government approved Cambridge's sewage treatment plant upgrade, then withd

https://takes.jamesomalley.co.uk/p/build-stevie-build
2•fanf2•31m ago•0 comments

Why feature selection methods rarely agree (I tested five side by side)

https://aayushig950.substack.com/p/the-ultimate-guide-to-feature-selection
1•Cermank•32m ago•0 comments

Show HN: An app that organizes your content for you

https://apps.apple.com/us/app/oktonote/id6749813362
1•vasanthps•32m ago•0 comments

Malicious NPM Versions (chalk, debug, strip-ANSI) Found in September 2025 Attack

https://blog.firstpoint.com.tr/securing-repos-after-the-september-2025-npm-supply-chain-attack/
1•cosmodev•34m ago•1 comments

Scaling Asyncio on Free-Threaded Python

https://labs.quansight.org/blog/scaling-asyncio-on-free-threaded-python
1•todsacerdoti•37m ago•0 comments

LLM Chat Scraper – AI Share URL Extractor

https://github.com/andreasc1/LLM-Chat-Scraper-AI-Share-URL-Extractor
1•megahz•37m ago•1 comments
Open in hackernews

A love letter to the CSV format (2024)

https://medialab.sciencespo.fr/en/news/a-love-letter-to-the-csv-format/
61•jordigh•2h ago

Comments

ayhanfuat•2h ago
Previously: A love letter to the CSV format (https://github.com/medialab/xan/blob/master/docs/LOVE_LETTER...)

708 points | 5 months ago | 698 comments (https://news.ycombinator.com/item?id=43484382)

klinch•2h ago
Hot take: I prefer xlsx over CSV

I used to work on payment infrastructure and whenever a vendor offered us the choice between CSV and some other format we always opted for that other format (often xlsx). This sounds a bit weird, but when using xlsx and a good library for handling it, you never have to worry about encoding, escaping and number formatting.

This is one of these things that sound absolutely wrong from an engineering standpoint (xlsx is abhorrently complex on the inside), but works robustly in practice.

Slightly related: This was a German company, with EU and US payment providers. Also note that Microsoft Excel (and therefore a lot of other tools) produces "semicolon-separated values" files when started on a computer with the locale set to German...

n4r9•1h ago
Works okay until someone opens the file in Excel, writes "2-9" into a cell, and saves it without realising it's been changed to "02/09/2025" behind the scenes.
chungy•1h ago
Wait until you find out that "02/09/2025" is actually 45697 behind the scenes ;)
cluckindan•1h ago
And thus, with some semantic leeway, -7 = 45697
personalityson•1h ago
It should have been semicolon from the start
IanCal•1h ago
There's ascii characters for field and record delimiters which would be perfect.

I tried using them once after what felt like an aeon of quoting issues, and the first customer file I had had them randomly appearing in their fields.

olive-n•1h ago
I'll take csv over xlsx any time.

I work a lot with time series data, and excel does not support datetimes with timezones, so I have to figure out the timezone every time to align with other sources of data.

Reading and writing them is much slower than csv, which is annoying when datasets get larger.

And most importantly, xlsx are way more often fucked up in some way than any other format. Usually, because somebody manually did something to them and sometimes because the library used to write them had some hiccup.

So I guess a hot take indeed.

imtringued•1h ago
This is the correct take. I've never had any significant problems with xlsx. You may call it abhorrently complex, but for me it is just a standardized way to serialize tabular data via XML.
porker•34m ago
> when using xlsx and a good library for handling it

Which good libraries did you find? That's been my pain point when dealing with xlsx.

hiAndrewQuinn•2h ago
I like CSV because its simplicity and ubiquity make it an easy Schelling point in the wide world of corporate communication. Even very non-technical people can, with some effort, figure out how to save a CSV from Excel, and figure out how to open a CSV with Notepad if absolutely necessary.

On the technical side libraries like pandas have undergone extreme selection pressure to be able to read in Excel's weird CSV choices without breaking. At that point we have the luxury of writing them out as "proper" CSV, or as a SQLite database, or as whatever else we care about. It's just a reasonable crossing-over point.

heresie-dabord•1h ago
CSV is a flexible solution that is as simple as possible. The next step is JSONL.

https://jsonlines.org/

https://medium.com/@ManueleCaddeo/understanding-jsonl-bc8922...

mcdonje•1h ago
>Excel hates CSV. It clearly means CSV must be doing something right.

Use tabs as a delimiter and excel interops with the format as if natively.

tacker2000•1h ago
The problem is that nobody in the real world uses tabs.

Everyone uses , or ; as delimiters and then uses either . or , for decimals, depending on the source.

It shouldnt be so hard to auto-detect these different formats, but somehow in 2025, Excel still cannot do it.

sfn42•1h ago
You don't need to auto-detect the format. The delimiter can be declared at the top of the file as for example sep=;
yrro•1h ago
But now that's not CSV. It's CSV with some kind of ad-hoc header...
pragmatic•1h ago
Pipe enters the chat.

For whatever reason, pipe seems to be support common in health care data.

gentooflux•1h ago
Use tabs as a delimiter and it's not CSV anymore, that's TSV.
mcdonje•1h ago
They're essentially the same format. Same with PSV. They're all DSVs.

Most arguments for or against one apply to all.

https://en.m.wikipedia.org/wiki/Delimiter-separated_values

roelschroeven•34m ago
It still can't properly deal with CSVs that use different decimal separators than the UI setting in Excel / Windows. It's still too stupid to understand that UI localization and interoperation should never be mixed.
sevensor•32m ago
I was writing a program a little while ago that put data on the clipboard for you to paste into Excel. I tried all manner of delimiters before I figured out that Excel really loves HTML tables. If you wrap everything in <tr> and <td>, and put it up on the clipboard, it pastes flawlessly.
vim-guru•1h ago
Excel hates CSV

It clearly means CSV must be doing something right.

wkat4242•1h ago
Especially in Europe because we use the comma as a decimal point. So every csv file opened in Excel is screwed up.
guzik•1h ago
I am glad that we decided to pick CSV as our default format for health data (even for heavy stuff like raw ECG). Yeah, files were bigger, but clients loved that they could just download them, open in Excel, make a quick chart. Meanwhile other software was insisting on EDF (lighter, sure) but not everything could handle it.
untrimmed•1h ago
This is a great defense, but I feel like it misses the single biggest reason CSV will never die: your boss can open it. We can talk about streaming and Parquet all day, but if the marketing team can't double-click the file, it's useless.
imtringued•1h ago
With what software? LibreOffice? Excel doesn't support opening CSV files with a double click. It lets you import CSV files into a spreadsheet, but that requires reading unreasonably complicated instructions.
jowea•1h ago
How is that not opening?
imtringued•1h ago
You are creating a new spreadsheet that you can save as an xlsx. What you are looking at is not the CSV file itself.
NoboruWataya•1h ago
This is a distinction that does not matter to most non-technical people.
tokai•1h ago
You are missing the point so hard its hilarious.
john_the_writer•58m ago
Well I mean unless you're inspecting it with a hex editor, you're not looking at the csv file itself. Even then, I suppose you could say that's not even the file itself. An electron microscope perhaps? But then you've got the whole Heisenberg issue, so there's that.
eviks•56m ago
That's not true either, try it yourself with a simple csv file, open it, add a row and save - you'll see the original update

(there are some limitations)

john_the_writer•1h ago
What are you talking about? Excel opens csv with zero issue. In windows, and mac. Mac you right click and "open with". Or you open excel, and click file/open and find the csv. I do the first one a dozen times a day.
1wd•1h ago
Only if the Windows Regional Settings List Separators happens to be "comma", which is not the case in most of Europe (even in regions that use the decimal point) so only CSV files with SEP=, as the first line work reliably with Excel.
john_the_writer•55m ago
Literally did this all day today. Took a csv file, parsed it in elixir, processed it and created a new csv file, then opened that in excel, to confirm the changes. At least 100 times today.
efitz•1h ago
Excel absolutely can open csv files with a double click if you associate the file type extension.
boshomi•49m ago
You should never blindly trust Excel when using CSV files. Try this csv file:

    COL1,COL2,COL3 
    5,"+A2&C1","+A2*8&B1"
ertgbnm•1h ago
On windows, csv's automatically open in Excel through the file explorer. Almost all normal businesses use windows so the OPs claim is pretty reasonable.
tommica•20m ago
Depends on the country/locale - I just generate them with semicolons to enable easy opening
delta_p_delta_x•1h ago
> Excel doesn't support opening CSV files with a double click

Yes, it does. When Excel is installed, it installs a file type association for CSV and Explorer sets Excel as the default handler.

femto•1h ago
CSV is good for debugging C/C++ real-time signal processing data paths.

Add cout or printf lines, which on each iteration print out relevant intermediate values separated by commas, with the first cell being a constant tag. Provided you don't overdo it, the software will typically still run in real-time. Pipe stdout to a file.

After the fact, you can then use grep to filter tags to select which intermediate results you want to analyse. This filtered data can be loaded into a spreadsheet, or read into a higher level script for analysis/debugging/plotting/... In this way you can reproducibly visualise internal operation over a long period of time and see infrequent or subtle deviations from expected behaviour.

matt_daemon•1h ago
Agree this is the main use for it
joz1-k•1h ago
Except that the "comma" was a poor choice for a separator, the CSV is just a plain text that can be trivially parsed from any language or platform. That's its biggest value. There is essentially no format, library, or platform lock-in. JSON comes close to this level of openness and ease, but YAML is already too complicated as a file format.
jstanley•1h ago
JSON has the major annoyance that grep doesn't work well on it. You need tooling to work with JSON.
theknarf•1h ago
grep is a tool. jq is a good tool for json.
kergonath•50m ago
grep is POSIX and you can count on it being installed pretty much anywhere. That’s not the case for jq.
whizzter•25m ago
Do people contain themselvs to a POSIX conformant grep subset in practice, or do you mean GNU grep that probably doesn't behave according to spec unless POSIXLY_CORRECT is set?
re•19m ago
As soon as you encounter any CSVs where field values may contain double quotes, commas, or newlines, you need tooling to work with CSV as well.

(TSV FTW)

john_the_writer•1h ago
100%.. xml also worked here too..

YAML is a pain because it has every so slightly different versions, that sometimes don't play nice.

csv or TSV's are almost always portable.

humanfromearth9•1h ago
And the best thing about CSV is that it is a text file with a standardized, well known, universally shared encoding, so you don't have to guess it when opening a CSV file. Exactly in the same way as any other text file. The next best thing with CSV is that separators are also standardized and never positional, you never have to guess.
whizzter•22m ago
Almost missed the sarcasm :)
thw_9a83c•20m ago
The notion of a "platform" caught my attention. Funny story: About five years ago, I got a little nostalgic and wanted to retrieve some data from my Atari Basic computer (8-bit) from my preteen years. Back then, I created primitive software that showed a map of my village with notable places, like my friends' homes. I was able to transform all the BASIC files (stored on cassette tape) from the Atari computer to my PC using a special "SIO2PC" cable, but the mapping data were still locked in the BASIC files. So I had the idea to create a simple BASIC program that would run in an Atari 8-bit PC emulator, linearize all the coordinates and metadata, and export them as a CSV file. The funny thing is that the 8-bit Atari didn't even use ASCII, but an unusual ATASCII encoding. But it's the same for letters, numbers, and even for the comma. Finally, I got the data and wrote a little Python script to create an SVG map. So yes, CSV forever! :)
IanCal•1h ago
Counterpoint - CSV is absolutely atrocious and should be cast into the Sun.

It's unkillable, like many eldritch horrors.

> The specification of CSV holds in its title: "comma separated values". Okay, it's a lie, but still, the specification holds in a tweet and can be explained to anybody in seconds: commas separate values, new lines separate rows. Now quote values containing commas and line breaks, double your quotes, and that's it. This is so simple you might even invent it yourself without knowing it already exists while learning how to program.

Except that's just one way people do it. It's not universal and so you cannot take arbitrary CSV files in and parse them like this. You can't take a CSV file constructed like this and pass it into any CSV accepting program - many will totally break.

> Of course it does not mean you should not use a dedicated CSV parser/writer because you will mess something up.

Yes, implementers often have.

> No one owns CSV. It has no real specification

Yep. So all these monstrosities in the real world are all... maybe valid? Lots of totally broken CSV files can be parsed as CSV but the result is wrong. Sometimes subtly.

> This means, by extension, that it can both be read and edited by humans directly, somehow.

One of the very common ways they get completely fucked up, yes. Someone goes and sorts some rows and boom broken, often unrecoverable data loss. Someone doesn't correctly add or remove a comma. Someone mixes two files that actually have differently encoded text.

> CSV can be read row by row very easily without requiring more memory than what is needed to fit a single row.

CSV must be parsed row by row.

> By comparison, column-oriented data formats such as parquet are not able to stream files row by row without requiring you to jump here and there in the file or to buffer the memory cleverly so you don't tank read performance.

Sort of? Yes if you're building your own parser but who is doing that? It's also not hard with things like parquet.

> But of course, CSV is terrible if you are only interested in specific columns because you will indeed need to read all of a row only to access the part you are interested in.

Or if you're interested in a specific row, because you're going to have to be careful about parsing out every row until you get there.

CSV does not have a row separator. Or rather it does but it also lets you have that row separator appear and not mean "separate these rows" so you can't simply trust it.

> But critics of CSV coming from this set of pratices tend to only care about use-cases where everything is expected to fit into memory.

Parquet uses row groups which means you can stream chunks easily, those chunks contain metadata so you can easily filter rows you don't need too.

I much more often need to keep the whole thing in memory working with CSV than parquet. With parquet I don't even need to be able to fit all the rows on disk I can read the chunk I want remotely.

> CSV can be appended to

Yeah that's easier. Row groups means you can still do this though, but granted it's not as easy. *However* I will point out that absolutely nothing stops someone completely borking things by appending something that's not exactly the right format.

> CSV is dynamically typed

Not really. Everything is strings. You can do that with anything else if you want to. JSON can have numbers of any size if you just store them as strings.

> CSV is succinct

Yes, more so than jsonl, but not really more than (you guessed it) parquet. Also it's horrific for compression.

> Reverse CSV is still valid CSV

Get a file format that doesn't absolutely suck and you can parse things in reverse if you want. More usefully you can parse just sections you actually care about!

> Excel hates CSV

Helpfully this just means that the most popular way of working with tabular data in the world doesn't play that nicely with it.

cluckindan•1h ago
Or just forget about the quotes which open a new can of worms, and use TSV while escaping newlines and tabs in values.
cogman10•18m ago
I agree with all this and will just add. CSV is slow. Like really slow.

Partially due to the bloat, but also partially because the format doesn't allow for speed.

And because CSV is untyped, you have to either trust the producer or put in mountains of guards to ensure you can handle the weird garbage that might come through.

My company deals with a lot of CSV and we literally built tools and hire multiple full time employees whose entire job is handling CSV sucking in new and interesting ways.

Parquet literally eliminates 1/2 of our our data ingestion pipeline simply by being typed, consistent, and fast to query.

One example of a problem we constantly run into is that nobody likes to format numbers the same way. Scientific notation, no scientific notation, commas or periods, sometimes mixed formats (scientific notation when a number is big enough, for example).

Escaping is also all over the board.

CSV SEEMS simple, but the lack of a real standard means it's anything but.

I'd take xml over CSV.

efitz•1h ago
I don’t think I ever heard anyone say “csv is dead”.

Smart people (that have been burned once too many times) put quotes around fields in csv if they aren’t 100% positive the field will be comma-free, and escape quotes in such fields.

eviks•1h ago
> Okay, it's a lie,

Indeed, a lie only a lover would believe,,,

xbmcuser•1h ago
I did not care for CSV format much till I started using them with llm and python scripts.
jcattle•57m ago
If you don't care that much about the accuracy of your data (like only caring about a few decimals of accuracy in your floats), you don't generate huge amounts of data, you do not need to work with it across different tools and pass it back and forth, then yes CSV CAN be nice.

I wouldn't write it a love letter though. There's a reason that parquet exists.

christophilus•48m ago
CSV is just a string serialization, so you can represent floats with any accuracy you choose. It’s streamable and compressible, so large files are fine, though maybe not “huge” depending on how you define “huge”. It works fine passing back and forth between various tools, so…

Without more specifics, I disagree with your take.

jcattle•29m ago
It's only fine passing between various tools if you tell each tool exactly how they should serialize your values. Each tool will interpret column values in some way and if you want to work with those values in any meaningful way it will convert to their representation of the data type that is likely present in a column.

Going from tool to tool will leave you with widely different representations of the original data you've put in. Because as you said yourself. All of this data does not have any meaning. It's just strings. The csv and the tools do not care if one column was ms-epoch and another was mathematical notation floating point. It'll all just go through that specific tools deserialization - serialization mangle and you'll have completely different data on the other end.

bsghirt•13m ago
How would you deserialise the entity "0.4288"?
lan321•56m ago
I hate parsing CSV. There are so many different implementations it's a constant cat and mouse.. Literally any symbol can be the separator, then the ordering starts getting changed, then since you have to guess what's where you go by type but strings, for example, are sometimes in quotations, other times not, then you have some decimal split with a comma when the values are also separated with commas so you have to track what's a split and what's a decimal comma.. Then you get some line with only 2 elements when you expect 7 and have no clue what to do because there's no documentation for the output and hence what that line means..

If the CSV is not written by me it's always been an exercise in making things as difficult as possible. It might be a tad smaller as a format but I find the parsing to be so ass you need really good reason to use it.

Edit: Oh yeah, and some have a header, others don't and CSV seems to always come from some machine where the techs can come over to do an update, and just reorder everything because fuck your parsing and then you either get lucky and the parser dies, or since you don't really have much info the types just align and you start saving garbage data to your database until a domain expert notices something isn't quite right so you have to find when was the last time someone touched the machines and rollback/reparse everything..

roland35•56m ago
To people saying that "your boss can open it" being an benefit of csv, well I have a funny story!

Back in the early 2000s I designed and built a custom data collector for a air force project. It saved data at 100 Hz on an SD card. The project manager loved it! He could pop the SD card out or use the handy USB mass storage mode to grab the csv files.

The only problem... Why did the data cut off after about 10 minutes?? I couldn't see the actual data collected since it was secret, but I had no issue on my end, assuming there was space on the card and battery life was good.

Turns out, I learned he was using excel 2003 to open the csv file. There is a 65,536 row limit (does that number look familiar?). That took a while to figure out!!