#weirdbugs
Weird - updated one of my servers to tmux 3.6 and it stopped being able to connect to my old session from tmux 3.5. Just in case anyone else tries to tmux -S $HOME/.tmux new-session -A -s username and it says open terminal failed: not a terminal.
I found a dead Beelzebub Bee-Eater (Mallophora leschenaulti) on the ground today! Poor bug has seen better days, but there's a remarkable new species for the life list.
#inaturalist #wildlife #nature #naturephotography #yardbugs #weirdbugs #robberflies #asilidae
Das Pfingstwochenende steht vor der Tür, doch zuvor haben wir hier noch die #Job und #Funding Schätze der letzten Tage für euch gesammelt.
I discovered a crazy bug today trying to import data from an Excel file into a Laravel app.
Modern Excel files are actually zip files containing several XML files in a specific directory structure, but it seems that within the zip file the "directory structure" is not real, so each XML file just has some directory structure like stuff prepended to its file name.
In the particular Excel file I'm importing, the XML file that knows about the different worksheets in the Excel workbook was saved with the "/" characters in its directory structure as backslashes. This seems very unexpected, none of the Excel packages I tried for PHP could read it.
In the end I used PHP's built-in ZipArchive class to rename the XML file in the Excel archive, then it could be imported properly.
That wasn't how I expected to spend my afternoon!
#UntrustedData #PHP #DataIngestion #WeirdBugs #DeveloperLife