this post was submitted on 09 Dec 2023
658 points (100.0% liked)

Programmer Humor

420 readers
13 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 2 years ago
MODERATORS
top 14 comments
sorted by: hot top controversial new old
[–] Truck_kun 54 points 1 year ago (1 children)

That SELECT and WHERE are all caps, but from is not is bugging me.

I don't care if you choose to uppercase keywords or lowercase, but consistency please.

Also, great, love it.

[–] cupcakezealot@lemmy.blahaj.zone 6 points 1 year ago (1 children)

it also implies that naughty or nice is an either or thing and not a weighted thing from an incidents table. the good place lied to us.

[–] ursakhiin 3 points 1 year ago

It could be a materialized view that is generated off of a weighting where you are nice until you have a certain number of incidents.

[–] GBU_28@lemm.ee 50 points 1 year ago (2 children)

No closing semicolon, anyone got any extras to throw on this thing?

[–] pruwybn@discuss.tchncs.de 6 points 1 year ago* (last edited 1 year ago)

Need to normalize the database. I would add a join to a BehaviorTypes table.

Edit: or, if the only options are naughty or nice, make it a boolean.

[–] fmstrat@lemmy.nowsci.com 1 points 1 year ago

Can we get a SIMILARITY?

[–] ApexHunter@lemmy.ml 22 points 1 year ago

I can't be the only one disappointed by the lack of an order by clause after being told the list was being sorted (twice!)...

[–] cupcakezealot@lemmy.blahaj.zone 18 points 1 year ago

dammit bobby tables is on the naughty list again

[–] Akrenion@programming.dev 9 points 1 year ago (4 children)

Can anyone recommend a cheap receipt printer that takes pictures from a pc or phone? I want to print mtg tokens on the fly.

[–] jasondj@ttrpg.network 2 points 1 year ago

Gameboy Pocket. Gameboy Camera. Gameboy Printer.

Both the perfect balance of “nostalgia” and “ridiculous”.

load more comments (3 replies)
[–] BolexForSoup@kbin.social 8 points 1 year ago* (last edited 1 year ago)

He sees you when you’re bashing

He’s hacked your VPN

[–] neuracnu@lemmy.blahaj.zone 7 points 1 year ago (1 children)

I was reading that to the tune of the chorus of The Distance by Cake. It worked until the last line.

[–] Cwilliams 1 points 1 year ago

Lol that actually works so well