this post was submitted on 10 Aug 2023
1062 points (97.3% liked)

Programmer Humor

32558 readers
639 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] uzay@infosec.pub 177 points 1 year ago (3 children)

What kind of maniac posts a screenshot of their code instead of the code itself to ask for help tho

[–] Deiv@lemmy.ca 119 points 1 year ago* (last edited 1 year ago)

Someone fishing for compliments about their IDE setup

[–] can@sh.itjust.works 21 points 1 year ago (1 children)

I only accept photographs of the screen

[–] ALostInquirer@lemm.ee 16 points 1 year ago (1 children)
[–] grue@lemmy.ml 6 points 1 year ago (1 children)

Make sure to print them out and re-photograph them on a wooden table!

load more comments (1 replies)
[–] QuazarOmega@lemmy.world 6 points 1 year ago (1 children)

Uses vim

copies console text feed

Evil knows no bounds >:)

[–] gamma@programming.dev 6 points 1 year ago (1 children)

With embedded terminal escapes? True evil indeed.

[–] QuazarOmega@lemmy.world 4 points 1 year ago (1 children)

Indeed, how else will everyone see my glorious solarized light theme?

[–] nickwitha_k@lemmy.sdf.org 4 points 1 year ago* (last edited 1 year ago) (2 children)
load more comments (2 replies)
[–] mggnn@sh.itjust.works 79 points 1 year ago (6 children)

On stackoverflow, they will answer aggressively: "Don’t post picture of code

[–] lowleveldata@programming.dev 50 points 1 year ago

That's like common sense

[–] Goathound@kbin.social 19 points 1 year ago

Finally a good answer on that website

[–] mggnn@sh.itjust.works 9 points 1 year ago (1 children)

Then, to fix it the user paste the code as text but with awful formatting. Then get another aggressive answer: "** DAMNIT, FORMAT YOUR CODE**"

[–] elxeno@lemm.ee 7 points 1 year ago

Then, when it's properly formatted, CLOSED AS DUPLICATE

[–] beejjorgensen@lemmy.sdf.org 5 points 1 year ago

Just run it through OCR. Super efficient! 😅

[–] Trobador@lemmy.world 3 points 1 year ago

On stackoverflow, they will answer aggressively

Just leave it there tbh

[–] mister_monster@monero.town 50 points 1 year ago (1 children)

If you send me a screenshot of your code I'm not helping you, sorry.

[–] Luvs2Spuj@lemmy.world 15 points 1 year ago

Seriously, what the fuck kind of animal does that.

[–] prayer@lemmy.world 44 points 1 year ago (4 children)

IDEs are bloat. I write my code using command line and concatenating each line into the file.

[–] woof7939@iusearchlinux.fyi 32 points 1 year ago (1 children)

Please, that’s way too high level, I move the file to a hdd, pull it out and then use a fridge magnet to change individual bits. Works like a charm.

[–] JuxtaposedJaguar@lemmy.ml 11 points 1 year ago

Why write code when you can turn the transistors on and off yourself? I have a few thousand buttons connected to the CPU, and some homies and I open or close them on each clock cycle to feed it different instructions and inputs.

[–] marcos@lemmy.world 15 points 1 year ago

Oh, finally an ed user!

load more comments (1 replies)
[–] Matthew@programming.dev 31 points 1 year ago (1 children)

I use light mode. Compliments are not forthcoming.

[–] CoderKat@lemm.ee 3 points 1 year ago (5 children)

Light mode is the best and I think a significant number of people who oppose it are students or hobbyists who only program outside of typical work hours. During work hours, I want bright light to keep me alert. And I work in a well lit office and home mostly during the time of day when there's lots of sunlight. Dark mode just doesn't make sense for professionals.

Plus, if even a single documentation site or Google search uses a light theme (and many do, especially by default), you risk blinding yourself with the sudden flash to light. By comparison, if I'm using light mode and something else is in dark mode, it doesn't hurt me at all.

[–] UnverifiedAPK@lemmy.ml 17 points 1 year ago

You can use Dark Reader for those sites. But I do get where you're coming from.

I'm not in an IDE all day every day, but there are dashboards that I keep in light mode to subconsciously signal to myself to be extra careful in. It's like how some Linux admins set their production shells to bright red.

[–] Racle@sopuli.xyz 15 points 1 year ago (1 children)

Almost every professional developer that I know uses dark mode. Maybe 1% uses light mode and those are people who code in legacy environment.

And for web, you have Dark Reader 🤷 so no bright lights when browsing web.

[–] kogasa@programming.dev 5 points 1 year ago (4 children)

SQL Server Management Studio still has no dark mode, although there is a hidden one that Microsoft really doesn't want you to use (I think you need to change a registry flag, also it sucks). But I think Azure Data Studio might.

load more comments (4 replies)
[–] kogasa@programming.dev 13 points 1 year ago (1 children)

I don't care what you prefer. But:

Dark mode just doesn't make sense for professionals.

Come on.

I use a dark, low contrast theme and work in a nearly unlit room with my monitors on nearly minimum brightness. It's comfortable and totally efficient. I understand wanting to switch to bright mode and use higher contrast when reading unfamiliar material, but code is not that. It is highly structured, repetitive (syntactically) and organized. So you can usually have a clear idea of what you're looking at without relying much on visual details.

you risk blinding yourself with the sudden flash to light

Only if your monitors are way, way too bright for your environment.

load more comments (1 replies)
[–] Fiech@discuss.tchncs.de 5 points 1 year ago

Joke's on you, first thing I do is closing the blinders in my office, when I come in to work.

But really, I just prefer dark themes. I can and will totally work with bright themes, if the GUI supports it, but if I have the choice, I chose dark themes wherever possible (e. g. Not for applications in bright sunlight). And yes, I work during daylight hours...

load more comments (1 replies)
[–] likeaduck@programming.dev 28 points 1 year ago (2 children)
[–] pizzaiolo 31 points 1 year ago (1 children)

I love how you nailed the early 2000s shitty IDE aesthetic 😍

[–] wewbull@feddit.uk 7 points 1 year ago

It just needs dark mode to turn it 2020s

[–] russjr08@outpost.zeuslink.net 7 points 1 year ago

Oh my goodness, is that BlueJ? I haven't seen that thing in ages...

[–] happyhippo@feddit.it 17 points 1 year ago

Please, make sure to ALWAYS include line numbers.

Makes discussion much easier

[–] sirico@feddit.uk 16 points 1 year ago
[–] scottywh@lemmy.world 15 points 1 year ago (4 children)

You guys use IDEs?

/me coding in notepad

[–] JuxtaposedJaguar@lemmy.ml 13 points 1 year ago
[–] grysbok@lemmy.sdf.org 3 points 1 year ago (1 children)

Can I tempt you over to Notepad++?

[–] scottywh@lemmy.world 4 points 1 year ago

I know it's been around for a long time now and offers some features that people like but I'm completely content with the simplicity that notepad provides.

Thanks for the suggestion though!

load more comments (2 replies)
[–] dustyCheese@beehaw.org 7 points 1 year ago

The emacs drip is just too real

[–] saltesc@lemmy.world 6 points 1 year ago* (last edited 1 year ago) (1 children)

I spent 45 mins with ChatGPT trying to give me the quick resolve for something querying with M.

It ended with me telling ChatGPT that if it worked for me, it would be fired because it kept trying to reoptimise my query, resulting in syntax and load errors, then "fixing" them by ignoring my query's criteria.

I ended up going old school and taking an extra 30 mins to just figure it out myself. Now that I know how it's done, it's surprisingly easy to understand.

So I took that as a compliment; or ChatGPT just sucks at PowerQuery.

It probably learned, though. If anyone has transform queries around multi-level filtering criteria and ChatGPT helps, that's because of my suffering.

[–] Ceon@kbin.social 3 points 1 year ago (2 children)

Does chatGPT really learn from user inputs? I thought it was always restarting from the same base

[–] JuxtaposedJaguar@lemmy.ml 4 points 1 year ago

In each session, the last several thousand words (from the user and AI) are kept in a context buffer to be used as additional inputs for the neural network. But I don't think ChatGPT lets you choose the AI's responses for that buffer, so you can't really "train" it in any sense of the word. If you want that functionality, use LLaMa.

[–] usrtrv@lemmy.ml 4 points 1 year ago

It will eventually incorporate user inputs in the model. So yes it won't learn in real time from other users, but at some point those inputs will be fed back into itself.

[–] vox@sopuli.xyz 5 points 1 year ago

you should avoid posting pictures of code tho.

[–] dylanTheDeveloper@lemmy.world 5 points 1 year ago

What kind of monster screenshots his code (I mean Unreal blueprints I understand out of novice) but actual C or java code!?

[–] quadropiss@lemmy.world 2 points 1 year ago

Whenever I show people a screenshot from my ide I get unironically bullied LMAO

load more comments
view more: next ›