Hacker News new | ask | show | jobs
by esaym 3567 days ago
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
1 comments

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.

can't bind to Ctrl-` because of some limitation of the browser and Ctrl-Space didn't work for some reason as well. I ended up using (ctrl/comamnd)+Shift+E as it didn't seem to have a shortcut assigned to it and it is very easy to use with one hand. Hopefully that works well for most people. I'll update the extensions today but it takes a few days to get code approval on firefox. Chrome update should be available within a few hours of submitting.
>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.