programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Dentarthurdent, in I'll just be a quick 3h

Same feel as “how long is this going to take to pull?” Well I don’t know if part of what you’re asking for exists, how clean it is, and if can join the data you’re talking about, so anywhere from 5 minutes to never?

cybersandwich,

That’s exactly how you should respond. I’ve been on the requester for some of these and if my team gave me that as a response I’d just say “let me know what you find out or when you know more.”

pao, in 10 months later bill revisits his spaghetti code. forgets absolutely everything and refuses to elaborate. this wouldn't have happened if Bill forgot to comment on his code

10 months? More like a weekend for me.

BarrierWithAshes, in Dev rule
@BarrierWithAshes@kbin.social avatar

Hey if it works, it works!

bruhduh, in Dev rule
@bruhduh@lemmy.world avatar

New AAA games be like

NoneYa, in I'll just be a quick 3h

I hate these requests so fucking much. I’ve learned a lot of SQL because of it but I’m sick of it. Especially sick of the users who ask for the same data over and over again.

One guy asked me to run a report every first of the month and then he wouldn’t respond when I would send it so I stopped sending it. Additionally because he would request it AGAIN later in the month after I already sent it at the beginning of the month.

Guess it’s too much to search your fucking emails before requesting a new report to be run. A report that I’ve told you countless times will slow down everything for everyone else who’s using the system.

But tHis iS uRgENt aSAp to run a report asking for all data for the last 3 years.

dan,
@dan@upvote.au avatar

Especially sick of the users who ask for the same data over and over again.

Use something like Apache Airflow to automate it :)

pomodoro_longbreak,
@pomodoro_longbreak@sh.itjust.works avatar

If it’s regular, I recommend cron + mailutils. Have the cron job call a script with a variable sleep in it if you want to make it look more manual.

snowe, in Dev rule
@snowe@programming.dev avatar

Initially I thought he was tossing the sewing needle and it popped the balloon

lorty, in I'll just be a quick 3h
@lorty@lemmygrad.ml avatar

You forgot the 3 paragraph WHERE clause to get every data point of a wednesday of an even year of a person who stubbed their toes on a roomba in their parent’s basement.

pomodoro_longbreak, (edited ) in I'll just be a quick 3h
@pomodoro_longbreak@sh.itjust.works avatar

Man I don’t regret leaving this behind at my last job. You start out by doing someone a one-off like “sure I can pull the top 5 promotional GICs broken down by region for your blog article - I love supporting my co-workers!”

Then requests become increasingly esoteric and arcane, and insistent.

You try to build a simple FE to expose the data for them, but you can’t get the time approved so you either have to do it with OT or good ol’ time theft, and even then there’s no replacement for just writing SQL, so you’ll always be their silver bullet.

applebusch,

At that point you teach them how to do it themselves. Isn’t there a way to give them an account that only has read access so they can’t inadvertently screw up the database?

lazyslacker,

In Oracle you’d just set up a user that has limited access and give them those credentials. Creating a few views that pulls in the data they want is a bonus.

pomodoro_longbreak,
@pomodoro_longbreak@sh.itjust.works avatar

I like that idea, and it actually did work for our Marketing guy (Salesforce has a kind of SQL). Near the end there, I just had to debug a few of his harder errors, or double check a script that was going to be running on production.

Never thought of it for Postres or Mysql, etc, but I suppose there’s got to be an easy enough way to get someone access

4am,

phpmysqladmin 😆

PizzaMane, (edited ) in I'll just be a quick 3h

At work, I am currently dealing with a table that has no primary key, no foreign key, duplicate (almost) serial numbers, booleans stored as strings, and so on. It’s a nightmare of a table.

Entity framework is acting like I’m on meth for using such a table.

SaintWacko, (edited )

How about a date stored as an integer?

Edit: and I’m not taking about a timestamp

PizzaMane, (edited )

No, we have worse. Dates sometimes stored as strings, sometimes as datetimes, and sometimes as integers. There is no consistency, logic, or forethought to the schema.

It’s rough.

peyotecosmico,

I’ve been there and you know what’s worse about it? When you fix it only you or a handful of people notice the astronomical labor you did.

“It worked before why did you change it? You are just doing busywork”

PizzaMane,

Yeah. Luckily the work I am doing is to fix some really bad work that the entire company has been complaining about. So once it’s fixed it will hopefully be a little bit more recognition than that. Plus my boss is pretty level headed.

But who fucking knows? There is always the likelihood that people will say things along those lines. And it ain’t my job to fight them on that.

ChickenLadyLovesLife,

My all-time favorite database table was a table named STATE, meant to store all US states. It had 531 rows.

Melatonin,

Confusion … Your medical condition Disorganized

outcide,
@outcide@lemmy.world avatar

Relatable. 🤣

reverendsteveii,

well, there’s confusion, paranoia, agitation and so many others…

psud,

I have been trying to get people in my area to make their new table generically named, since it’s going to be the only table that can map a date range to a different date range, but I’m on holidays now, and they can’t imagine anything other than their little project needing this table, so it’s going to be named for this one project, and it’s columns will be named for the specific data they’ll hold :(

Crashumbc, in I'll just be a quick 3h

Worked on a enterprise medical database, had thousands of tables, and some of the most corrupt data possible. This triggers me :(

kd45, (edited ) in I'll just be a quick 3h

Oh no! How dare they ask you to do your job? Just get on with it and do what they pay you for

parlaptie,

This is a programming community. The joke is that you’re asked to do something that isn’t part of your job, to do someone else’s job for them.

cybersandwich, in I'll just be a quick 3h

How many widgets have we transferred to acme this year?

Simple enough question right?

But then when you look at the data, each region works with acme’s local offices differently. Some transfer using one method, some offices mark the transfer in the system as “other firm”. Oh, and we don’t even get a data feed from the north west region because they still haven’t upgraded their shit so I can request a spreadsheet but it’s in a different format than everything else.

Then inevitably Acme has a different number of widgets that have been transfered. Because if a transfer gets kicked back or cancelled, it’s easier to just create a new transfer rather than go fix an old one because that process is laborious and requires tons of approvals so they just create a new transfer and send it over.

But yea, 20 minutes should be enough time to get you that before your meeting with Acme.

Mango, in I'll just be a quick 3h

Well if organizing things in pristine tables makes things quick, why can’t we have nice things?

Patches, (edited )

Because Jen in accounting doesn’t believe in it, and Tom the CIO likes his data stored raw in TXT Amphibious Delineated. Then our biggest client prefers data as Jason so we swapped half of our database to that to speed things up.

But the real problem is high turnover because we don’t pay anyone enough to work on things they are proud of. After 2 years we stop doing even 3% COL raises so they go elsewhere. So every 2-4 years each position gets a new opinionated asshole.

reverendsteveii,

our biggest client prefers data as Jason so we swapped half of our database to that

the app I work with currently stores json as the only column in a sql table and it hurts me so very much. like watching someone pick up a screwdriver and try to bash a nail in with the handle.

stufkes, in I'll just be a quick 3h

Garcia From Criminal Minds: consider it done 😂

reverendsteveii,

Enhance

nintendiator,

Hang on, what’s that? Click on the ip_address column!

JPJones, in I'll just be a quick 3h

It’s OKAY to say no.

DinosaurSr,

I’ve gotta get better at this…

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #