News for hackers. Stuff that matters.
Re:Show HN: Save Memory in Google Chrome by revelation on Monday March 11, 2013 @11:07AM (#5357157)
This is the equivalent of closing all tabs, with the added bonus of having a list of what you just closed.

I refuse to compromise on functionality because Chrome can't get its memory deal together.

Re:Show HN: Save Memory in Google Chrome by btown on Monday March 11, 2013 @11:20AM (#5357237)
I wouldn't be too quick to blame Chrome. What if each open background tab is running a computation/upload that requires the DOM? What if you're listening to music in the background? Point is, Chrome can't just arbitrarily decide to pause execution and free up memory for background tabs.

Me, I'm a documentation-holic. I need to have all the references for whatever project I'm working on a single click away. Sometimes that will be working with a very specific library, so there's no point in replacing my entire bookmarks bar with all the documentation links for that. I'd normally just leave everything in tabs, and when I run out of memory when I need to launch a memory-heavy app, I'd go to Chrome's Task Manager and kill those tabs. So this is a godsend for me.

Re:Show HN: Save Memory in Google Chrome by DennisP on Monday March 11, 2013 @11:25AM (#5357277)
There are very few cases where I actually want tabs running in the background, and I'd be happy to add those cases to a whitelist in exchange for Chrome not eating my computer.

But as long as no browser does that, OP's option looks like a huge timesaver for me.

Re:Show HN: Save Memory in Google Chrome by joshmlewis on Monday March 11, 2013 @12:30PM (#5357783)
But you're a power user, most users wouldn't want the hassle of adding sites to a whitelist.
Re:Show HN: Save Memory in Google Chrome by Sunlis on Monday March 11, 2013 @11:11PM (#5359850)
If something like that was implemented, I would hope that it would be turned off by default and hidden away under the "here be dragons" section of Chrome's settings.
Re:Show HN: Save Memory in Google Chrome by DennisP on Tuesday March 12, 2013 @06:43AM (#5361081)
Depends on the interface. An item in the wrench menu saying "run page in background" would be easy enough for anyone.
Re:Show HN: Save Memory in Google Chrome by waxjar on Monday March 11, 2013 @11:18AM (#5357226)
Chrome actually already has this built in, too. If you close your window, you'll get a browsable "x tabs" entry in your browsing history. An additional 20-30 MB of memory could be saved by not installing this extension.
Re:Show HN: Save Memory in Google Chrome by mrcharles on Monday March 11, 2013 @11:31AM (#5357330)
Yes but if you forget to open them all up, Chrome will lose that grouping in short order. Which has bitten me more times than I can count.
Re:Show HN: Save Memory in Google Chrome by srgseg on Monday March 11, 2013 @11:23AM (#5357264)
True, but this extension will help you distinguish between the tabs you want to close forever and the tabs you want to return to later.
Re:Show HN: Save Memory in Google Chrome by roc on Monday March 11, 2013 @12:03PM (#5357555)
So do bookmarks. And this overlap becomes obvious as people inevitably ask for Chrome or OneTab to allow them to cluster tabs by topic/project -- because a linear scan is never going to 'work' for people who leave enough tabs open that it becomes a 'problem'.

The underlying problem here is workflow.

People are leaving tabs open as a reminder of things to which they intend to return. (Regardless of whether they will or not; that's another discussion.) And they're not bookmarking, because bookmarking begs organizational overhead, which leads to its own mess. (neither tags nor folders are great or sufficient)

And who knows if a bookmark will still point to the content you intended, when you finally get back to it?

So the problem is ultimately that bookmarking is broken, both for quick reference and longer-term storage. So why not fix that?

Why not a system where bookmarking a site saves a copy to a (cloud-stored) cache. [1] And then searches can be done on the content in that cache. And hits can be served both from the cache, and a simultaneously downloaded 'live' result, available with a toggle. [2]

So that one can bookmark a brag-post about a neat jquery-enabled dropdown list and not have to worry about categorizing it, nor whether or not it will be there in a year, and be confident that they can refer to it again with a simple search of any of the key words that occur to them. [3]

[1] Because one can never know what will happen to content online (changes, broken links, takedowns, etc) and doing a federated search across thousands of bookmarked sites looking for 'jquery dropdown' is going to be a nightmare.

[2] Room here for a great feature of non-trivial difficulty: change-detection and display of diffs (if any) rendered in-line.

[3] Or even searching by meta-data such as date-of-bookmark, location or source-device. "That thing I was reading on my phone last spring, when I was stuck in Chicago on business..." can be surprisingly useful when searching.

Re:Show HN: Save Memory in Google Chrome by roc on Monday March 11, 2013 @12:26PM (#5357743)
Thinking on this more, the cloud-stored cache would wind up eventually being a subset of google's whole-internet-database. From which you could run a pretty awesome search service.

Because it wouldn't consist of randomly spidered or submitted noise. It would only be things explicitly identified as useful or interesting.

And you could rank by how many people bookmarked it, when the bookmarks happened, who they are, etc -- alongside already-useful PageRank attributes.

It'd be like +1 data, but the +1 would have meaning behind it.

Re:Show HN: Save Memory in Google Chrome by T-hawk on Monday March 11, 2013 @01:32PM (#5358254)
Until the SEO optimizers and bot nets themselves start bookmarking their own spammy noise in this cache too. Then we're back to the usual arms race of trying to identify quality content and providers pointing to other quality content and providers while all the junk vendors are trying to masquerade as quality.
Re:Show HN: Save Memory in Google Chrome by roc on Monday March 11, 2013 @02:48PM (#5358821)
Is there a lot of SEO that relies on 'like' or '+1' spam? Because that's the more apt comparison. Particularly when you consider the implementation of even a trivial 'karma' system.

The very creation of a network of mannequins would seem to run counter to the big goal of most SEO (traffic, now) as the mannequins would require months-to-years of seemingly-valid traffic of build-up to become relevant and then a very slow-and-cautious release of bookmarks to the desired spam to even attempt to avoid detection and thus nullification of all the preceding effort.

And the user-expectation of such a search would be heavily weighted to prior personal activity [1]. So even if mannequins were successfully pumping bookmarks to promote some site that just scraped stack-exchange, if you and I were bookmarking stack-exchange, we should always get the real links bubbling to the top.

[1] Yes, this would raise a lot of the same "echo chamber" concerns that people have with Google search, but if it matches the user expectation, I don't see a problem with it.

Re:Show HN: Save Memory in Google Chrome by scholia on Monday March 11, 2013 @01:06PM (#5358065)
In passing, one reason bookmarking is broken is that "infinite pages" usually don't return you to where you were, as they should, but to the top of the page.

"Infinite pages" are also breaking search. Google finds a hit but you die of boredom before you can actually scroll down that far....

Re:Show HN: Save Memory in Google Chrome by andybak on Monday March 11, 2013 @12:34PM (#5357822)
This.

1. I bookmark lots of sites but rarely go back to them (mainly because it's hard to find what I'm looking for)

2. Sometimes I spend ages looking through my history to find something I remember seeing but didn't bookmark

3. I leave dozens of tabs open because I think I'm going to refer back to them but 50% of the time never do. The order and which window they were grouped with is info I need for context.

So I want -

1. a full-text search of history or bookmarks (I haven't decided which)

2. someway to really quickly convert my open tabs to history/bookmarks

3. A psychic computer that knows when I meant to bookmark something ;-)

I know some extensions can help with this but I've never found the ideal one yet. Suggestions appreciated.

Re:Show HN: Save Memory in Google Chrome by roc on Monday March 11, 2013 @12:53PM (#5357972)
Tracking history would bound right into the 'creepy' range of data collection IMO. But if you were fine with that, it's not hard to imagine such a solution tracking how much time you spent on a given page and using that to make an educated guess that you 'meant' to bookmark it. Or at least weight search results accordingly.

Though the logistics of cloud-storing every single page every user visits would quickly become non-trivial.

And your want #2 seems like a simple UI task. IE already has/had a "bookmark all open tabs"-style menu option -- and I thought the others did too, but I'm not seeing it at the moment.

Re:Show HN: Save Memory in Google Chrome by andybak on Tuesday March 12, 2013 @04:39AM (#5360822)
It's only creepy if it's retained or used against my wishes. In a fantasy world of free data storage, the ability to have a complete history of my life and an ability to search it instantly is incredibly useful. And yes - incredibly dangerous but I'd like the option.
Re:Show HN: Save Memory in Google Chrome by bzxbot on Monday March 11, 2013 @01:00PM (#5358017)
I was looking into this problem lately, the two solutions that come close to what you are describing, from what I found are:

https://kippt.com http://pinboard.in

Pinboard already has archiving, Kippt archiving is in beta.

Still, there's room for improvement.

Re:Show HN: Save Memory in Google Chrome by calgaryeng on Monday March 11, 2013 @12:23PM (#5357716)
Fairly certain this is called Evernote :)
Re:Show HN: Save Memory in Google Chrome by redhatter on Monday March 11, 2013 @11:31AM (#5357331)
I like it. Was actually looking for something like this.
Re:Show HN: Save Memory in Google Chrome by Zarel on Monday March 11, 2013 @11:23AM (#5357258)
It should be noted that Chrome has a built-in "Bookmark All Tabs" button which will bookmark all tabs in the window into a folder... This extension doesn't seem to add any functionality on top of that.
Re:Show HN: Save Memory in Google Chrome by srgseg on Monday March 11, 2013 @11:25AM (#5357279)
I used to do that sometimes, but it suffered from the "out of sight, out of mind" problem.
Re:Show HN: Save Memory in Google Chrome by Schlaefer on Monday March 11, 2013 @01:01PM (#5358020)
I sorely miss a "save all open tabs into one bookmark file".

End of the day: save it to your project folder where all other project files live. Later when you work on the project again: double click to reopen all your tabs.

"Bookmark All Tabs" is nearly there, but I also tend to forget about it if I don't see it.

Re:Show HN: Save Memory in Google Chrome by danneu on Monday March 11, 2013 @12:54PM (#5357975)
This extension just adds a new workflow option.

For instance, your workflow doesn't work for me because "bookmark" in my life pretty much means "lose this page in my junk drawer of pages that I'll probably never read again, but I might if I'm ever stranded on an island with nothing but my cached bookmarks."

So I have a completely different workflow that you'd probably find equally extraneous, but it works for me.

Re:Show HN: Save Memory in Google Chrome by cevaris on Monday March 11, 2013 @11:55AM (#5357491)
Agreed. There is no bonus here. Now if you can hot switch between tabs, or rather use some key shortcuts to better manage the switching, that would bee good.
Re:Show HN: Save Memory in Google Chrome by nwenzel on Monday March 11, 2013 @12:03PM (#5357556)
On a Mac, cmd-1 or cmd-2 or cmd-3 or cmd-n jumps to the 1st, 2nd, 3rd, nth tab.
Re:Show HN: Save Memory in Google Chrome by naner on Monday March 11, 2013 @01:42PM (#5358341)
Compromise on functionality? Too many tabs is a usability problem in Chrome. This just provides additional functionality.
Re:Show HN: Save Memory in Google Chrome by IgorPartola on Monday March 11, 2013 @11:14AM (#5357193)
Firefox seems to be no better: http://www.arewesmallyet.com/
Re:Show HN: Save Memory in Google Chrome by jlongster on Monday March 11, 2013 @11:19AM (#5357228)
You just link to a graph showing the sizes of the Firefox binary on various platforms across different versions. It has nothing to do with RAM.

Firefox definitely wins out in memory with more tabs because Chrome's process-per-tab model accumulates overhead for every process, while Firefox's tabs are more lean.

Re:Show HN: Save Memory in Google Chrome by revelation on Monday March 11, 2013 @11:17AM (#5357213)
Thats alright. A single chrome tab is regularly >150MiB, and thats for plain sites!

(edit: this seems to measure the size of the installer binary. I think you wanted to link https://areweslimyet.com/ which shows Firefox using <512MiB with 30 tabs for popular websites open)

Re:Show HN: Save Memory in Google Chrome by IgorPartola on Monday March 11, 2013 @12:55PM (#5357989)
Yes, you are right. That's the one I was aiming for. Need more coffee...