Hacker News new | ask | show | jobs
by lucb1e 3567 days ago
> I’m happily walking away from this with an extra 21GB in my pocket! And now I ask you: is your Chrome bigger than mine?

Given I don't have to rely on third party updaters, I doubt it. Let's see...

    $ let size=0; dpkg -L chromium | while read path; do if [ -f "$path" ]; then let size=$size+$(du -sb "$path" | awk '{print $1}'); echo $size bytes, $(($size/1024/1024)) megabytes; fi; done;
    172060669 bytes, 164 megabytes
    $ du -sh .{cache,config}/chromium
    8.4M  .cache/chromium
    25M	  .config/chromium
So the cache is 8M, config files 25M and program files 164M (listed by dpkg -L, then some command line magic to add up file sizes). A grand total of just under 200MB.
1 comments

heh, nice

    user@t61:~$ let size=0; dpkg -L chromium | while read path; do if [ -f "$path" ]; then let size=$size+$(du -sb "$path" | awk '{print $1}'); echo $size bytes, $(($size/1024/1024)) megabytes; fi; done;
    162190110 bytes, 154 megabytes
    user@t61:~$ du -sh .{cache,config}/chromium
    386M    .cache/chromium
    84M     .config/chromium
I win? :P

    zod@DESKTOP MINGW64 ~/AppData/Local/Google
    $ du -sh ~/AppData/Local/Google
    2.9G    /c/Users/Zod/AppData/Local/Google
Edit: I do have 885 tabs open. (yikes! D:)
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

Cool! Is it possible to bring up Tabist with a hotkey? (Ideally configurable, but I'll take whatever I can get.) I'd use it all the time then.
It sure it is... any idea what it should be? Firefox has a problem with re-assigning keys but in chrome you can change them inside the extension manager area. There's a bug filed for firefox to fix this.
Any shortcut that could be pressed with one hand on a qwerty keyboard would probably be good.

I'm partial to Ctrl-` since it's cross-platform and seems to be unused, but some international keyboards might have difficulty with that.

Ctrl-Space would also be pretty nice.

>885 tabs

is that intentional, or do you just never close tabs? How do you navigate tabs without losing your mind?

Well it's part laziness (and priortising) and part working on an abstraction layer for the DOM API which can be quite hairy (it is known :P). So I have 10 windows open in total.

I have lots and lots of pages open of DOM documentation from many sources and many GitHub code searches to see how others' code deals with the mess. ~30% tabs are probably StackOverflow. The rest is (potentially useful) Google searches, programming blog posts and the usual pinned tabs (Gmail etc.).

I use a AutoHotKey script to make the scroll wheel switch between tabs (this is the default behavior on Ubuntu but I'm on Window), this way I can quickly scroll/look for the desired tab through an entire 100-150 tab window in 10-15 seconds. Thinking of this.. I would have probably indeed gone insane without the AHK script.. (or just kept fewer tabs opened instinctively? :P).

Please share your autohotkey script!
or without losing his Chrome ? - to a crash, I mean. Idda thought it would crash well before 885.