Tiefling IRL
link
fedilink
614d

The most cryptic status code I’ve received is 403: OK, while the entire app fails to load

@Venat0r@lemmy.world
link
fedilink
4
edit-2
14d

That means you’re not allowed in, and that’s OK 😂

@cone_zombie@lemmy.ml
link
fedilink
English
314d

“Shhh, it’s okay”

Hey FYI this Blinking Guy is on Mastodon!

mastodon.gamedev.place/@drewscanlon

@mosiacmango@lemm.ee
link
fedilink
18
edit-2
14d

He worked for the gaming site/podcast “Giantbomb” years ago. Pretty sure the image macro is pulled from one of their podcast videos.

I always thought it was Cary Elwes.

I once had a bug in a C# program I wrote. It made a HTTP request and if the user agent was left to default (whatever that was), the server just gave back an empty string as a reply. I took way to long until I understood what was going on and I kept chasing async, thinking I had messed it up some how.

this happens with so many scripts I’ve tried to debug with strace because strace requires to run as root or sudo which elevates the niceness of process which prevents certain errors from occuring when the script is run with root permissions and so it runs flawlessly without bugs and you sit wondering wtf

I found the solution, we’re running debug builds in prod from now on

Ya, fuck legacy aggrid

Haha, heisenbugs, always a fun time.

More seriously, I’d be surprised if this wasn’t a classic race condition

BlueKey
creator
link
fedilink
214d

It wasn’t :D
See my comments below.

Well, technically it was a race condition. Just one between two different programs.

Heisenbugs are the worst. My condolences for being tasked with diagnosing one.

@ambitiousslab@lemmy.ml
link
fedilink
English
7414d

Perfect, now you just have to wrap your program inside a debugger in production!

@henfredemars@infosec.pub
link
fedilink
English
46
edit-2
14d

We test AND develop in production. Get on my level.

There’s a name for that: DEVELOPMESTUCTION

One of our customers does that. It happened multiple times already that one dev fixed an issue in production, and the next regular deployment overwrote everything.

But fortunately, it’s just critical infrastructure and nothing important.

When I left my last job they were using the zip file method for version control and one creative developer managed to link two versions of libc at the same time.

Software is so useful that the standard for utility is extremely low.

For those of you who’ve never experienced the joy of PowerBuilder, this could often happen in their IDE due to debug mode actually altering the state of some variables.

More specifically, if you watched a variable or property then it would be initialised to a default value by the debugger if it didn’t already exist, so any errors that were happening due to null values/references would just magically stop.

Another fun one that made debugging difficult, “local” scoping is shared between multiple instances of the same event. So if you had, say, a mouse move event that fired ten times as the cursor transited a row and in that event you set something like integer li_current_x = xpos the most recent assignment would quash the value of li_current_x in every instance of that event that was currently executing.

Just run your prod env in debug mode! Problem solved.

Lupec
link
fedilink
2714d

Lol my workplace ships Angular in debug mode. Don’t worry though, the whole page kills itself if a dubious third-party library detects the console is open. Very secure and not brittle at all! Please send help

Now I’m curious how this detection would work.

I’ve seen some that activate an insane number of breakpoints, so that the page freezes when the dev tools open. Although Firefox let’s you disable breaking on breakpoints all together, so it only really stops those that don’t know what they’re doing.

Blink-blink-blink. Blink. Blink. Blink. Blink-blink-blink.

No, I don’t have something in my eyes, I swear I’m fine looks nervously at boss.

@slacktoid@lemmy.ml
link
fedilink
English
213d

Hang tight help is on the way.

You can imagine how many node projects there are running in production with npm run. I have encountered js/ts/node devs that don’t even know that you should like, build your project, with npm build and then ship and serve the bundle.

I just died a little inside. Thank you.

i have absolutely seen multiple projects on github that specifically tell you to do “npm run” as part of deploying it.

When I write APIs I like to set endpoints to return all status codes this way no matter what you’re doing you can always be confident you’re getting the expected status code.

Sound like a critical race condition or bad memory access (this latter only in languages with pointers).

Since it’s HTTP(S) and judging by the average developer experience in the domain of multi-threading I’ve seen even for people doing stuff that naturally tends to involve multiple threads (such as networked access by multiple simultaneous clients), my bet is the former.

PS: Yeah, I know it’s a joke, but I made the serious point anyways because it might be useful for somebody.

This is why we shouldn’t ban Critical Race Theory.

Yeah! Nobody uses CRT monitors anymore.

Lazy load exception anyone?

Fear kepts the bits in line

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.5K Comments
  • Modlog