this post was submitted on 08 Apr 2024
535 points (97.3% liked)

Programmer Humor

32054 readers
1589 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

Unfortunately I'm not in the path of totality but I am pretty close

Alt: A picture of the (almost but not totally covered) eclipse

you are viewing a single comment's thread
view the rest of the comments
[–] metacolon@lemmy.blahaj.zone 14 points 5 months ago (1 children)
[–] avidamoeba@lemmy.ca 39 points 5 months ago* (last edited 5 months ago) (3 children)

I don't like having to unplug my computer to exit the IDE. Takes a while and I often lose my changes.

[–] user224@lemmy.sdf.org 23 points 5 months ago (1 children)

Pro tip: Press Esc, then type :w which means "write" to save the changes, and then unplug the computer and reboot.

[–] avidamoeba@lemmy.ca 6 points 5 months ago

Perfect! You're a data saver.

[–] phorq@lemmy.ml 11 points 5 months ago (1 children)

That's the oldest joke in the book. Everybody knows you don't need to unplug your computer, you can run "sudo reboot" from within vim just fine!

[–] theherk@lemmy.world 7 points 5 months ago

!sudo shutdown -r now. Or just :x or ZZ, but I guess those don’t fit the motif of this very tired silly joke.

[–] TheGalacticVoid@lemm.ee 2 points 5 months ago

I find it quicker to turn off the power through the breaker box. It's faster so you can get back to working sooner.