25
jdevs
7y

When You Write approx 1000 lines of code without save, and then kernal panic... I'm exhausted 😑

Comments
  • 4
    Turns out Hard drive failing, clicking noise
  • 8
    @jaydevs I press Ctrl+S every 20 seconds even when I didnt do anything... I dont know why...
  • 11
    @jaydevs I can't even write 0.5 lines without saving
  • 1
    As far as i know, there's autosave feature in some of recent Editors, if you guys have any in mind please suggest me.
  • 1
    @jaydevs languge?
  • 0
    @aritzh i am coding in multiple languages, but mostly Ruby, python and C++
  • 0
    What kind of hardware do you have that you get kernel panics? Anyway, vim is fine with a sudden shutdown, it keeps shit in a swap file as it calls it.
  • 0
    @ColonelPhantom Hard drive crashed, beeping clicking noise, header stucked in platter. That's the main reason i guess
  • 4
    I think I have a reflex that makes me click CTRL+S every time I see a editor open... 🤔
  • 1
    @jaydevs then any (or maybe even all) JetBrains IDE, which I think has support for all those languages (and autosaves by default)
    RubyMine for Ruby.
    CLion for C/C++.
    PyCharm for Python.
    The last one has a "free" version, which could be a good way to get started. Also, all of them are free while being a student.
  • 2
    @olback I have a problem, because I do that even when I see a text field on a website, and then an annoying save dialog pops up... Entirely my fault, though.
  • 2
    Autosave ftw although in this case that wouldn't really help since the data is on the failed drive and hasn't been pushed yet.

    I hit Ctrl+s anytime I stop typing. This has almost saved me many web pages to my HDD, especially when I'm hacking up sites built with GoDaddy builder/wix/shopify/etc.
  • 1
    I hit save after every 3-5 lines, usually.
Add Comment