News for hackers. Stuff that matters.
Re:Heavy SSD Writes from Firefox by raverbashing on Friday September 23, 2016 @11:24AM (#12565284)
Replace Browser Crash with: Accidentally pressing Ctrl-w

And yes, there are browser crashes without Flash

Re:Heavy SSD Writes from Firefox by pawadu on Friday September 23, 2016 @11:33AM (#12565362)
Why should it save the whole page when it only needs to remember the URL? At most, maybe also any form data you have entered. Small enough to keep thousands of pages in memory.
Re:Heavy SSD Writes from Firefox by Yoric on Friday September 23, 2016 @12:51PM (#12566020)
It doesn't save the whole page. Just the url, scrolling position, form data and session cookies. If you're browsing with 500 tabs, most of which contain nested frames, including Facebook "Like" icons and the like, that's actually quite a lot.
Re:Heavy SSD Writes from Firefox by gcp on Friday September 23, 2016 @12:07PM (#12565623)
And what if the server sends something different back when you visit the URL again?

The internet allows it to do that.

Re:Heavy SSD Writes from Firefox by qznc on Friday September 23, 2016 @12:27PM (#12565815)
The job of a browser is to view the internet. Not to cache it.
Re:Heavy SSD Writes from Firefox by gcp on Friday September 23, 2016 @01:15PM (#12566244)
It needs to save enough state to give you the same view.
Re:Heavy SSD Writes from Firefox by tedmielczarek on Friday September 23, 2016 @01:56PM (#12566617)
Go disable your browser cache and try browsing the internet for a while and tell me if you really believe that.
Re:Heavy SSD Writes from Firefox by blinkingled on Friday September 23, 2016 @11:27AM (#12565309)
Hmm I really haven't had FF or Chrome crash on me since a long time - I do browse a lot. I can't be that lucky. I am not saying it doesn't happen - I am saying it's so infrequent that it's just better to deal with it when it happens instead of killing your SSD with constant writes of 15GB per day. Most people don't do anything that needs to be recovered by a crashed browser.
Re:Heavy SSD Writes from Firefox by witty_username on Friday September 23, 2016 @12:54PM (#12566046)
I don't remember the last time Chrome crashed. Rarely one tab crashes (usually due to Adobe Flash).
Re:Heavy SSD Writes from Firefox by garaetjjte on Friday September 23, 2016 @11:40AM (#12565426)
Ctrl-W is not that bad, but I sometimes want to close tab by Ctrl-W but instead hit Ctrl-Q...
Re:Heavy SSD Writes from Firefox by sdkmvx on Friday September 23, 2016 @12:03PM (#12565588)
I've been setting browser.showQuitWarning to true for years to stop ^Q from killing the browser and with it my state.
Re:Heavy SSD Writes from Firefox by digi_owl on Friday September 23, 2016 @05:44PM (#12568203)
Could have sworn that has crap all effect if you also have Firefox save your tabs on quit.
Re:Heavy SSD Writes from Firefox by jhasse on Friday September 23, 2016 @12:03PM (#12565593)
Re:Heavy SSD Writes from Firefox by Osmose on Friday September 23, 2016 @11:46AM (#12565468)
I use https://addons.mozilla.org/en-US/firefox/addon/cmd-q-catcher... to force me to hit it twice to actually quit. Dunno if it works on platforms besides Mac though.
Re:Heavy SSD Writes from Firefox by nathancahill on Friday September 23, 2016 @11:48AM (#12565488)
Thanks, I do that all the time. Installed.
Re:Heavy SSD Writes from Firefox by copperx on Friday September 23, 2016 @03:01PM (#12567113)
Or learn Dvorak. The Q and W are pretty far apart.
Re:Heavy SSD Writes from Firefox by nathancahill on Sunday September 25, 2016 @05:24PM (#12577532)
You're right. One second thought, learning Dvorak is the easier solution.
Re:Heavy SSD Writes from Firefox by raverbashing on Friday September 23, 2016 @11:57AM (#12565550)
Ah that's what I mean
Re:Heavy SSD Writes from Firefox by rayiner on Friday September 23, 2016 @11:29AM (#12565332)
Who really cares about restoring browser state? Maybe I lose part of an HN or Facebook post I'd been writing, but that's it. The feature should be opt-in, IMHO.
Re:Heavy SSD Writes from Firefox by MikeTV on Friday September 23, 2016 @11:48AM (#12565486)
Hadn't thought about it until now, but this feature may be why I don't see "I wrote you a long message but accidentally closed the tab / hit the back button / my computer crashed and I lost it, so here's the highlights I remember" emails from friends and family anymore. I would much rather discover this caveat and opt out than expect my grandmother to know it's even possible to opt in.
Re:Heavy SSD Writes from Firefox by finnh on Friday September 23, 2016 @12:27PM (#12565816)
At this point, isn't that responsiblity larged handled by server-based autosave? GMail / Google Docs being the big ones, I assume FB and other social networking sites do the same.
Re:Heavy SSD Writes from Firefox by mverwijs on Friday September 23, 2016 @03:53PM (#12567476)
Also, couldn't this session-restore feature be triggered for this specific tab _after_ I've started to type text in a box?
Re:Heavy SSD Writes from Firefox by pjc50 on Friday September 23, 2016 @11:37AM (#12565397)
I certainly care about it, although it's possible that my 50-odd browser tabs would be considered "clutter" by other people.

I stopped using Edge because it only saves your tab session if you turn off the PC, not if you quit the browser.

Mind you, for a while I ran Firefox using a RAMdisc for the profile simply because all that flushing makes a big negative impact on PC performance.

Re:Heavy SSD Writes from Firefox by copperx on Friday September 23, 2016 @03:06PM (#12567148)
I also keep 50-100 tabs open at all times. How do you manage your tabs?
Re:Heavy SSD Writes from Firefox by tofflos on Friday September 23, 2016 @12:00PM (#12565568)
You're in good shape. I'm at 337 tabs. ;-)
Re:Heavy SSD Writes from Firefox by weaksauce on Friday September 23, 2016 @12:15PM (#12565701)
I made a simple firefox/chrome extension for people like you and me that horde tabs. You might find it useful to find tabs and quickly navigate to them by clicking on the link in the list. It's free and open source. The github page has a gif showing usage.

Chrome Extension: https://chrome.google.com/webstore/detail/tabist/hdjegjggiog...

Firefox Extension: https://addons.mozilla.org/en-US/firefox/addon/tabist/

source code: https://github.com/fiveNinePlusR/tabist

Let me know if you find it useful or have any suggestions.

Re:Heavy SSD Writes from Firefox by Houshalter on Friday September 23, 2016 @12:22PM (#12565767)
Your chrome link is broken.

Anyway I used an extension like this for awhile, called session buddy. But now I just use control+D and bookmark all my tabs. Then you get bookmark syncing, and you can save your tabs when you export bookmarks, or wget them to have a local archive, etc. It's just more convenient, and one less extension I have to worry about stealing my personal information or bugging and corrupting my data.

Re:Heavy SSD Writes from Firefox by weaksauce on Friday September 23, 2016 @01:19PM (#12566281)
That's fair and the extension is not for everyone. It's not really meant for saving sessions or anything like that it's more for finding lost tabs in a sea of windows like I typically have. This is more for tabs that are not worth saving to bookmarks but that you have open for a long time as a transient bookmark.

FWIW, Mozilla looks at all extensions before fully approving them and the app is fully open source and fairly easily vetted if people are worried about that sort of thing.

Thanks for the feedback!

Re:Heavy SSD Writes from Firefox by sandGorgon on Friday September 23, 2016 @12:51PM (#12566023)
this is brilliant. P.S. your chrome link is broken.

On suggestion - please give a button to save all of this as a "session" or something. I'm a tab hoarder and sometimes I just want to dump it somewhere and start afresh.

Please help me !

Re:Heavy SSD Writes from Firefox by weaksauce on Friday September 23, 2016 @01:14PM (#12566232)
Thanks! the link is fixed now... I actually did just this thing the other day but didn't know if other people would want it. I will update the addon with it.
Re:Heavy SSD Writes from Firefox by sandGorgon on Friday September 23, 2016 @03:15PM (#12567202)
if you could do one more thing - allow me to search within the "sessions". that would be awesome (search should work both on domain and title)

thanks!

Re:Heavy SSD Writes from Firefox by tunichtgut on Friday September 23, 2016 @06:42PM (#12568468)
I had about ~250 tabs and i closed them now. Bookmarked before. This "feature" of FF is rly cucking. I have tons of GB written to my SSD without any benefit (i not a "safety critical user"). And the worst thing is, all of this data was written into 40 GB of SSD space.

this session restore feature, lets just save the urls in a list. that data structure cant be GB of GB right! ;) I think thats enough for the, lets say, typical FF user.

Now, that i know about this issue, i will bring down my tab usage to no more than 10 tabs.

Re:Heavy SSD Writes from Firefox by Houshalter on Friday September 23, 2016 @12:21PM (#12565757)
I really care about it. I take advantage of it everyday. I close tabs and use ctrl+shift+t to reopen them, I reopen my browsers previous state after closing it, and after computer crashes I don't have to worry about losing any of my precious tabs.
Re:Heavy SSD Writes from Firefox by raverbashing on Friday September 23, 2016 @11:57AM (#12565545)
Yeah, if you only write on Fb or HN I see why you're not missing nothing