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
Published at
2026-09-08 01:58:30 UTCEvent JSON
{
"id": "2a93d8549e9f1eaee515d6bd1d9314f55e1f22cd221ec97edc6fa3754940d36c",
"pubkey": "d4907e3386145cf14937db941e382e52cfb025c90a0e4841808e9daa5124d9be",
"created_at": 1788832710,
"kind": 1,
"tags": [
[
"t",
"itfail"
],
[
"proxy",
"https://aus.social/@Bern/117232940498965826",
"web"
],
[
"proxy",
"https://aus.social/users/Bern/statuses/117232940498965826",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://aus.social/users/Bern/statuses/117232940498965826",
"pink.momostr"
],
[
"-"
]
],
"content": "Running some C++ code I wrote a decade ago to do some complex data analysis. \n\nFails when I feed it one particular data file that is a (working) file with a few extra rows of data inserted.\n\nBut a different version of that data file with the data rows in a slightly different order works.\n\nSo I copied the failing file, deleted the offending new data, then pasted it back in from the original source, and now it works. \n\nAs best I can tell, there is no difference between the file that failed and the one that now works.\n\nAh, 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. \n\nThe 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.\n\nSigh...\n\n#ITfail",
"sig": "5d04bf5bf4023accfcd8e5e4ebb1b2fddf2d6b9f5b4767a32c34b161869e6ccc445f75da603dd02eeb91a8477af8a646d578c512a992854b1e6575e33b221ed6"
}