this post was submitted on 08 Apr 2024
532 points (97.5% liked)

Programmer Humor

32175 readers
850 users here now

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

Rules:

founded 5 years ago
MODERATORS
532
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 

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

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

[–] [email protected] 6 points 5 months ago

Perfect! You're a data saver.

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

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

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