this post was submitted on 10 Aug 2023
1092 points (97.4% liked)

Programmer Humor

32443 readers
940 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
[–] [email protected] 181 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

[–] [email protected] 123 points 1 year ago* (last edited 1 year ago)

Someone fishing for compliments about their IDE setup

[–] [email protected] 21 points 1 year ago (1 children)

I only accept photographs of the screen

[–] [email protected] 16 points 1 year ago (1 children)
[–] [email protected] 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)
[–] [email protected] 6 points 1 year ago (1 children)

Uses vim

copies console text feed

Evil knows no bounds >:)

[–] [email protected] 6 points 1 year ago (1 children)

With embedded terminal escapes? True evil indeed.

[–] [email protected] 4 points 1 year ago (1 children)

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

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (2 children)
load more comments (2 replies)
[–] [email protected] 79 points 1 year ago (6 children)

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

[–] [email protected] 50 points 1 year ago

That's like common sense

[–] [email protected] 30 points 1 year ago
[–] [email protected] 19 points 1 year ago

Finally a good answer on that website

[–] [email protected] 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**"

[–] [email protected] 7 points 1 year ago

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

[–] [email protected] 5 points 1 year ago

Just run it through OCR. Super efficient! 😅

[–] [email protected] 3 points 1 year ago

On stackoverflow, they will answer aggressively

Just leave it there tbh

[–] [email protected] 50 points 1 year ago (1 children)

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

[–] [email protected] 15 points 1 year ago

Seriously, what the fuck kind of animal does that.

[–] [email protected] 44 points 1 year ago (4 children)

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

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 15 points 1 year ago

Oh, finally an ed user!

[–] [email protected] 2 points 1 year ago

Haha teletype goes clickclickclickclickclickclickclickclickclick

[–] [email protected] 31 points 1 year ago (1 children)

I use light mode. Compliments are not forthcoming.

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 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)
[–] [email protected] 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)
[–] [email protected] 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)
[–] [email protected] 28 points 1 year ago (2 children)
[–] [email protected] 30 points 1 year ago (1 children)

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

[–] [email protected] 7 points 1 year ago

It just needs dark mode to turn it 2020s

[–] [email protected] 7 points 1 year ago

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

[–] [email protected] 17 points 1 year ago

Please, make sure to ALWAYS include line numbers.

Makes discussion much easier

[–] [email protected] 16 points 1 year ago
[–] [email protected] 15 points 1 year ago (4 children)

You guys use IDEs?

/me coding in notepad

[–] [email protected] 13 points 1 year ago
[–] [email protected] 3 points 1 year ago (1 children)

Can I tempt you over to Notepad++?

[–] [email protected] 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)
[–] [email protected] 7 points 1 year ago

The emacs drip is just too real

[–] [email protected] 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.

[–] [email protected] 3 points 1 year ago (2 children)

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

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 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!?

[–] [email protected] 5 points 1 year ago

you should avoid posting pictures of code tho.

load more comments
view more: next ›