this post was submitted on 20 Nov 2024
796 points (97.5% liked)

Programmer Humor

19623 readers
2490 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 1 year ago
MODERATORS
(page 2) 50 comments
sorted by: hot top controversial new old
[–] wowwoweowza@lemmy.world 14 points 4 hours ago
[–] burak29@endlesstalk.org 3 points 3 hours ago (1 children)

"Microsoft Please Fix" ifadesi, kullanıcıların Microsoft ürünlerinde karşılaştıkları hatalar veya sorunlar nedeniyle şirketten çözüm talep ettiği bir internet meme'idir. Nakkaştepe Millet Bahçesi Menu

[–] tetris11@lemmy.ml 3 points 2 hours ago* (last edited 2 hours ago)

It also plays on the weird trope of people swearing at devs in foreign languages

https://github.com/ruffle-rs/ruffle/issues/17205

[–] kamen@lemmy.world 19 points 6 hours ago (2 children)

That has the same energy as complaining that a file manager has "Delete" in the context menu.

[–] Anticorp@lemmy.world 0 points 3 hours ago (4 children)

I clicked delete and then clicked confirm when it asked me if I'm sure I want to delete, and all my files disappeared! What the fuck?!? Fuck this fucking operating system!!!!1!!1one!!!

load more comments (4 replies)
load more comments (1 replies)
[–] AusatKeyboardPremi@lemmy.world 32 points 7 hours ago* (last edited 7 hours ago) (2 children)

I always found Git GUIs, especially the ones built into IDEs, to be more confusing and clunkier than working with Git on a terminal. It often feels like unlearning what one knows about Git, and relearning it the way that specific GUI demands.

Heck, I am going through the aforementioned feeling as I force myself to use Magit on Emacs. It just does not feel intuitive. But I will not give up until I have made an honest and full attempt.

The only sensible Git GUI I ever used is Sublime Merge[0], after a coworker praised it immensely. Even that is reserved for the rarest of the rare times when the changes in the workspace gets unwieldy and unruly. For every other instance: Git CLI on a terminal.

[0] https://www.sublimemerge.com/

E: typo, and link to mentioned GUI.

[–] Traister101@lemmy.today 3 points 2 hours ago* (last edited 2 hours ago)

JetBrains has really nice Git integration. Interactive rebaseses and merges are quite pleasant but I'm still dipping into the command line to do stuff occasionally. Most commonly a git reset HEAD~ cause I want to split a commit though I had to dig through the reflog the other day cause I suddenly realized I lost an important branch that ended up being over a hundred commits back.

[–] BehindTheBarrier@programming.dev 4 points 6 hours ago (1 children)

How do you view diffs and merges when you say you don't use git GUIs? External tool or terminal/command line?

I use Jetbrains IDEs and most of my life has been IDE based git interaction. And I honestly love it, easy access to see my diffs, the most common commit, push and stage(or shelve as Jetbrains does it, which is better than visual studio). Hassle free and available beats writing anything to me.

[–] AusatKeyboardPremi@lemmy.world 11 points 5 hours ago

How do you view diffs and merges when you say you don't use git GUIs? External tool or terminal/command line?

Terminal.

I use Jetbrains IDEs and most of my life has been IDE based git interaction. And I honestly love it, easy access to see my diffs, the most common commit, push and stage(or shelve as Jetbrains does it, which is better than visual studio). Hassle free and available beats writing anything to me.

Perhaps, it is a mix of learned behaviour and cognitive fixation, as I started out my development journey predominantly using a terminal, that I cannot fathom Git GUI being hassle free.

Nice to read a different perspective on such a fundamental thing that I take for granted while working. Thank you for sharing it.

[–] kamen@lemmy.world 4 points 5 hours ago* (last edited 5 hours ago)

I agree with the "learn the CLI", but to newcomers I'll also suggest to look at the IDE/editor's output channel - if there's GUI for Git, there are also most likely logs for what's happening under the hood - even if a little noisy, it can be a good learning resource. And of course if you're learning and unsure of what's happening (with the CLI or through a GUI), do so in a non-destructive manner (by having proper backups).

[–] ICastFist@programming.dev 4 points 5 hours ago (1 children)

Same account that complained about the christmas santa hat

[–] CanadaPlus@lemmy.sdf.org 6 points 3 hours ago* (last edited 3 hours ago)

Link? It being "ghost" just means the user has been deleted so I can't actually go looking.

[–] RobotZap10000@feddit.nl 61 points 10 hours ago (4 children)

5000 files

0 backups

Someone's got their priorities mixed up.

[–] TheNSFWConnoisseur@lemmynsfw.com 24 points 7 hours ago (1 children)

having 5000 backups of 0 files is also kinda pointless.

[–] Reil@beehaw.org 3 points 2 hours ago

Yeah, those are novice numbers. I have infinite backups of my 0 files!

[–] QuazarOmega@lemy.lol 12 points 8 hours ago (1 children)

You have to lose it all to know what matters (speaking from experience 😭)

[–] Vanshaj@lemmy.world 4 points 3 hours ago

I once lost three hours of work early on during my learning, not much that I lost but it was a moment when I learnt a lesson. Never lost work after that ever.

load more comments (2 replies)
[–] PanArab@lemm.ee 0 points 4 hours ago* (last edited 4 hours ago) (7 children)

So VS Code isn't just slow and bloated, it also deletes your files. So glad I was turned off by its excessive memory consumption and deleted it before it deleted my files.

Edit: also why I only ever used git from the command line, I never found a git UI that is easy to understand, and never trusted them.

[–] Ledivin@lemmy.world 9 points 4 hours ago (1 children)

VS Code slow and bloated? Someone hasn't been spending nearly enough time in IntelliJ

[–] PanArab@lemm.ee 1 points 2 hours ago (1 children)

Two things can be right at the same time. I remember when I used to run VS6, IE and WinAmp in 128MB with KBs to spare. Even today, proper VS is a much better product than VSCode while being a full fledged IDE and not just a glorified text editor.

[–] auzy@lemmy.world 2 points 2 hours ago

Vscode is an ide

If vs6 is so great, feel free to use it

It's also about productivity, Notepad uses less ram, but is not productive. This runs fine on any machine really

And the point of ram is to be used.. You can't check the ram usage and simply assume it's bloated, because most apps also cache too. RAM is meant to be used

load more comments (6 replies)
[–] computerscientistII@lemm.ee 23 points 9 hours ago

No backup, no sympathy.

[–] Michal@programming.dev 4 points 6 hours ago (3 children)

If the files were already staged then git should have blobs in the git folder, so they should be recoverable.

[–] Anticorp@lemmy.world 3 points 3 hours ago (2 children)

Sounds like they weren't even using version control, and had no business anywhere near a project that size.

load more comments (2 replies)
[–] marcos@lemmy.world 11 points 6 hours ago (1 children)

Looks like they weren't staged. He clicked on the staging option, it showed it would stage thousands of files, he said "hey I should fix my .gitignore" and clicked on what looked like either a "don't stage" or a "forget" button, and it was a "checkout --force" button.

The most impressive thing is all the people doubling down on the idea that a "checkout --force" button in a main interaction screen is a great idea, there's nothing wrong with the software, and the user is a moron.

[–] JohnEdwa@sopuli.xyz 4 points 5 hours ago* (last edited 5 hours ago)

"discard changes" button - the 5000 "new file created" changes, specifically.

load more comments (1 replies)
[–] merthyr1831@lemmy.ml 0 points 3 hours ago* (last edited 3 hours ago) (3 children)

This is 2000% user error lmao even tho VS Code is a pain in the ass on w*ndows

load more comments (3 replies)
load more comments
view more: ‹ prev next ›