1
370
2
253
3
131
4
562
Job Openings (lemmy.nz)
5
870
6
98

MPV doesn't seem to suffer from post traumatic stress, so it's making something up at the speed of 23.976024 frames per second.

7
996
8
654
9
61
10
667
11
1050
12
61
chad.c (lemmy.nz)
13
471
this me (lemmy.nz)
14
697
another CVE (lemmy.nz)
15
148

So I set my password to

sudo rm -rf --no-preserve-root /
16
404
17
542
18
366
99.9% accurate (lemmy.nz)
19
71
submitted 1 week ago* (last edited 1 week ago) by akunohana@piefed.blahaj.zone to c/programmer_humor@programming.dev

RULES
It's okay to laugh and ridicule me in relation to the matter described below.

THE MATTER

reader friendly format
I usually program and study programming/hardware/electricity and the likes on a cheap Samsung A9+, to which I attach a Deltaco WK90B (GAM-111B-W) keyboard with a USB cable. Today, after work, as per my usual routine, I go to my favorite coffee shop, sit down, set everyting up and... oh no:

I have left my cable pouch at home. It contains the above mentioned USB cable, a USB mouse, an HDMI cable and the likes.

I try a few other cables that I happen to have on me, but all are power only, no data. I finally dig one up from the bottom of my backpack that definitely has data lanes. Nothing. Usually, upon connected, the keyboard lights up, indicating power up. It's dark. Fuck me.

I really don't want to go home just to grab a freakin' cable pouch. My depression will not allow me to step outside another time today. There is an electronics shop just a few hundred meters from the cafe. But wait. A data cable already failed us today. Maybe there is a certain protocol that needs to be supported by the cable. Really? With USB? For a keyboard? I'm not exactly trying to interface a... I dunno... end-to-end encrypted dildo with my tablet...?!

I start researching USB add-ons/protocols. I'm getting aggrevated. I DON'T HAVE ALL DAY, I WANT TO PROGRAM FFS. Fuck this.

I run to the electronics shop, buy a USB cable that carries data, run back to the cafe and... dark. Utter darkness. The tablet doesn't light up, the keyboard is silent as the grave. I give up. I pack my things together, ready to go home. But let's just give it one more attempt, using my phone. It's also an Android unit, so...

The motherfucking keyboard lights up. IS MY TABLET BROKEN?! I order another coffee. I'm gonna vet the fucker, check whether I inadvertently removed a component, library or whatever that the USB stack needs to function. I click on the power button to turn on the screen in order to then type in my password. Haha, good thing its battery is massive. I still have 46% left, even though I had left it on when I put it in my backpack the other day after having done some programming.

"Unlock the device to use USB."

Your momma is "Unlock the device to use USB."

I usually program and study programming/hardware/electricity and the likes on a cheap Samsung A9+, to which I attach a Deltaco WK90B (GAM-111B-W) keyboard with a USB cable. Today, after work, as per my usual routine, I go to my favorite coffee shop, sit down, set everyting up and... oh no. I have left my cable pouch at home. It contains the above mentioned USB cable, a USB mouse, an HDMI cable and the likes. I try a few other cables that I happen to have on me, but all are power only, no data. I finally dig one up from the bottom of my backpack that definitely has data lanes. Nothing. Usually, upon connected, the keyboard lights up, indicating power up. It's dark. Fuck me. I really don't want to go home just to grab a freakin' cable pouch. My depression will not allow me to step outside another time today. There is an electronics shop just a few hundred meters from the cafe. But wait. A data cable already failed us today. Maybe there is a certain protocol that needs to be supported by the cable. Really? With USB? For a keyboard? I'm not exactly trying to interface a... I dunno... end-to-end encrypted dildo with my tablet...?! I start researching USB add-ons/protocols. I'm getting aggrevated. I DON'T HAVE ALL DAY, I WANT TO PROGRAM FFS. Fuck this. I run to the electronics shop, buy a USB cable that carries data, run back to the cafe and... dark. Utter darkness. The tablet doesn't light up, the keyboard is silent as the grave. I give up. I pack my things together, ready to go home. But let's just give it one more attempt, using my phone. It's also an Android unit, so... The motherfucking keyboard lights up. IS MY TABLET BROKEN?! I order another coffee. I'm gonna vet the fucker, check whether I inadvertently removed a component, library or whatever that the USB stack needs to function. I click on the power button to turn on the screen in order to then type in my password. Haha, good thing its battery is massive. I still have 46% left, even though I had left it on when I put it in my backpack the other day after having done some programming.

"Unlock the device to use USB."

Your momma is "Unlock the device to use USB."

ANALYSIS & THEORY
The tablet shouldn't have been BFU, because I never rebooted it or shut it down before putting it in my backpack the other day. Auto restart is off. Is there a timer acting as a security measure for the USB port that locks it down as if it were in before first unlock (BFU) state? I got nothing. But my mental health is not better for it. I'll fire up Termux and read some code and maybe do a line or two. God, I'm exhausted.

20
200

A while back I was developing a workflow scheduler. However the run duration kept coming back negative. The runs kept finishing like 15 seconds before they started. Eventually I figured out why; the company had configured a policy to use their custom NTP server, but it was 16.7 seconds off. So my Windows laptop's time was in the future, but the WSL VM (which ran the program) used another NTP server and was correct. In the end I just added a bodge that made the program request the time from an external server on startup to calculate an offset.

21
790
Token Friends (lemmy.nz)
22
159
submitted 1 week ago* (last edited 1 week ago) by akunohana@piefed.blahaj.zone to c/programmer_humor@programming.dev
23
99
Namesilo (lemmy.nz)

For those who haven't heard: Namesilo took down codeberg.

https://www.privacyaffairs.com/codeberg-domain-outage/

24
751
Excel (lemmy.nz)

Lol. Lmao, even. So true.

25
1049
Algorithm (lemmy.nz)
view more: next ›

Programmer Humor

34316 readers
1656 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS