Join Nostr
2026-09-08 01:58:30 UTC

Bern on Nostr: Running some C++ code I wrote a decade ago to do some complex data analysis. Fails ...

Running some C++ code I wrote a decade ago to do some complex data analysis.

Fails when I feed it one particular data file that is a (working) file with a few extra rows of data inserted.

But a different version of that data file with the data rows in a slightly different order works.

So I copied the failing file, deleted the offending new data, then pasted it back in from the original source, and now it works.

As best I can tell, there is no difference between the file that failed and the one that now works.

Ah, I had a thought. I'm using Excel to prep the data files, and save them as .CSV files. So I re-exported the original version, and it failed again. Opened the (failing) CSV in Excel, did nothing but save it under a new filename, and voila, it works.

The re-exported file is also ~25% smaller. Clearly the CSV import in Excel strips out a lot of crap that Excel leaves in when you save a workbook as CSV.

Sigh...

#ITfail