• 17 Posts
  • 273 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2024

help-circle



  • I have been able to outsource low level parsing to third party libraries

    Hahaha!!!

    Today I watched a Java server crash because a library decided it needed more than 3GB of heap space to read a 10MB file. That was after manually removed background colors from around 100,000 cells, which apparently caused the parser to create even more objects in its internal representation of the sheet.


  • bleistift2@sopuli.xyzOPtomemes@lemmy.worldConverting numbers is easy
    link
    fedilink
    English
    arrow-up
    19
    ·
    edit-2
    3 days ago

    1: what the frick are you doing in Excel that needs even 10^2 columns?

    Nothing. Here’s this meme’s origin story:

    At work we have a tool that imports Excel spreadsheets into user-defined data records. We let the user decide which column goes into which record field.

    Today I noticed that when you upload a spreadsheet with more than 26 columns (that is, you enter the double-digit range), the columns aren’t sorted anymore. (When I programmed that, stupid me thought that it was absolutely unreasonable to import 26 columns, given the way the data is processed later.) Instead of A…Z, AA, AB, …, it was A, AA, AB, B, C, ….

    So I thought: I should fix that. It’s easy. Just convert the hexavigesimal system to decimal and sort based on that. I even was happy that I could apply some school knowledge for once. (It wasn’t all useless, yay!) Then my math wasn’t mathing. It took me a few minutes to find the system by which Excel columns are numbered. In the end I was annoyed that a task of 5 minutes took… longer… and made this meme.

    By the way, to come back to the 10² columns: I’ll take any bet that such a spreadsheet will be shoved into the importer before I retire from my current company.