this post was submitted on 08 Apr 2024
526 points (97.6% liked)

Programmer Humor

32495 readers
46 users here now

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

Rules:

founded 5 years ago
MODERATORS
526
submitted 7 months ago* (last edited 7 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] 38 points 7 months ago* (last edited 7 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 7 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 7 months ago

Perfect! You're a data saver.

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