Managers
you are viewing a single comment's thread
view the rest of the comments
[–] 121 points 5 months ago (17 children)

One time at work I was tasked with writing a python script to compare two data sources. Like, you give it two CSVs and a primary key, and it tells you what data is in one but not the other, or mismatched, and so on. This worked fine and was in git, so anyone can use it.

My boss then asks if I can "put it on a website so anyone can use it".

This team has never done web development. Nothing for that is set up. Like, I could spin up a quick Django app or similar, but there's a lot of stuff to do and potentially fuck up.

I said "that sounds like a lot of research and ongoing maintenance costs. I think it'd be better to just check out and run the script"

Luckily for me he said "oh, okay"

  • source
  • hideshow 17 child comments
  • [–] 84 points 5 months ago (3 children)
  • [–] 34 points 5 months ago (4 children)

    I had a boss who read an article about APIs and then came to me and ordered me to start using them. I said I would research it and he went away and never mentioned it again. This was in 2010.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 18 points 5 months ago* (1 child)

    Pretty sure he read the famous Bezos email ordering everyone to implement and use APIs in Amazon

  • source
  • parent
  • hideshow 1 child comment
  • [–] 9 points 5 months ago

    No, he actually showed me the article later. It was remarkable because it never said what an API actually was, or even stated what the initials stood for. In my memory it seems like it was obviously written by AI, but it couldn't have been 16 years ago (as far as I know).

  • source
  • parent
  • [–] 14 points 5 months ago (3 children)

    How big were the CSVs? That sounds like a standard thing most spreadsheet apps can do already, unless the data size made traditional apps unusable.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 23 points 5 months ago (1 child)

    The biggest ones I've seen are 1.2GB.

    Why this company uses gigabyte CSVs is a separate problem.

    (Also sometimes they want to compare a CSV to what's in a database, which the script can also do but I didn't mention in the post)

  • source
  • parent
  • hideshow 1 child comment
  • [–] 8 points 5 months ago

    That makes sense. I have been asked to write a program that does a standard spreadsheet function on multiple occasions, so I was just curious. Sometimes people just don't know the tools at hand, want to offload their work, or think an over complicated workflow is a better workflow. I can see how it was actually useful in your case though.

  • source
  • parent
  • [–] 4 points 5 months ago

    I have an easier time doing that shit in powershell than I do in Excel which are the only tools I have available at work. I'm probably doing something wrong but I don't do it often enough to remember what that is. My PS script just works.

  • source
  • parent