News for hackers. Stuff that matters.
Re:VS Code Roadmap 2018 by mrweasel on Wednesday November 01, 2017 @06:56AM (#15600116)
Don't it get lost or closed by mistake all the time? To me much of the value of a separate app is being able to cmd+tab between application and I frequently just close my browser be get remove all windows and tabs.

I like the compartmentalisation of separate apps, but I doesn't really care if it's written as an Electron app, as long as reacts fast enough.

Re:VS Code Roadmap 2018 by Vinnl on Wednesday November 01, 2017 @08:53AM (#15600675)
Not OP, but my browser is open pretty much all the time, and pinning tabs ensures they don't get lost.
Re:VS Code Roadmap 2018 by teh_klev on Wednesday November 01, 2017 @09:45AM (#15601052)
So today I just learned you can pin tabs :)
Re:VS Code Roadmap 2018 by Vinnl on Thursday November 02, 2017 @07:32AM (#15609411)
Next lesson: you can switch to the n'th tab using Alt+<n> (or perhaps a different modifier key depending on browser and OS). Since pinned tabs appear on the left-hand side, that means you'll always have e.g. Alt+1 for email, Alt+2 for calendar, etc.

(Nice and related is that you can do Super+<n> for window switching in at least Windows and Ubuntu.)

Re:VS Code Roadmap 2018 by nojvek on Wednesday November 01, 2017 @12:01PM (#15602532)
I have GitHub, slack, Gmail, calendar and JIRA always pinned. That’s my most used web apps.

Can’t imagine them each having a desktop app. I would just get lost switching tabs.

Re:VS Code Roadmap 2018 by mikewhy on Wednesday November 01, 2017 @02:04PM (#15603847)
Pinned tabs still get closed with Ctrl/Cmd+Shift+W, which is a bit of a drag.

I make SSB apps for my most used websites, for me it's much faster than:

- switch to chrome

- switch to chrome window with pinned tab

- switch to pinned tab

Re:VS Code Roadmap 2018 by Zacru on Friday November 03, 2017 @12:14AM (#15616641)
I just use the --app flag for Chrome. Basically gets me an SSB, but still lets me right-click to open links in different profiles.
Re:VS Code Roadmap 2018 by and0 on Wednesday November 01, 2017 @04:03PM (#15604949)
SSB?
Re:VS Code Roadmap 2018 by mikewhy on Wednesday November 01, 2017 @05:33PM (#15605655)
"Single-site browser", or "site specific browser".

Basically a very thin wrapper over the systems web view.

Re:VS Code Roadmap 2018 by veidr on Wednesday November 01, 2017 @06:32PM (#15606097)
Me, too. For instance, I use a site-specific browser for:

- CircleCI

- GitHub

- JIRA (blecch, but I have to use it...)

- AWS

- Google Docs (for work, and the rare personal use of Google stuff can just happen in one of the general browsers I am using)

...and others.

The OS does a much better job of partitioning windows and groups of windows than a browser typically does. You can easily keep switch between groups of windows, or keep them in their own workspace/desktop, etc.

Plus you can keep your cookies and saved passwords isolated between the environments... the browser handling AWS doesn't need to store or have access to the pasword for my Google account, and so on. For production type apps you can disable saved passwords entirely.

It is incredibly useful, and the only thing I worry about is that on macOS (my main workstation OS) there is only one good solution for this I know of: Epichrome, which seems to be a one-man side project:

https://github.com/dmarmor/epichrome

Other solutions that I know of don't save passwords, or don't keep password/cookie stores separated between the browser instances.

(I think Chrome can do this by itself on other platforms.)

Re:VS Code Roadmap 2018 by mikewhy on Thursday November 02, 2017 @10:53AM (#15610916)
See MacPin (https://github.com/kfix/MacPin/tree/swift2.3) and FluidApp (http://fluidapp.com/).

And yes, Chrome, at least on windows, has an `--app` switch.

Re:VS Code Roadmap 2018 by veidr on Saturday November 04, 2017 @07:09AM (#15624546)
The Chrome --app switch doesn't work on Mac.

FluidApp can't save passwords.

MacPin looks interesting! Thanks, will check it out. However, Safari-based browsers have a horrible show-stopping flaw; they don't (yet) support pasting images into web applications. This is why I love Safari for browsing and reading, but can't bear to use it for JIRA, GitHub, etc.

In Chrome (and thus Epichrome), you just hit your screen capture shortcut (Cmd-Shift-Ctrl-4 by default on macOS), select a rect of the screen to copy, and paste. Boom! Your bug report or GitHub comment now has an image pasted into it.

In Safari, you have to hit your screen capture shortcut, open Preview or similar app, create a new image, save it as a file, then go back to the web app and upload the image.

There's something deeply, horrifically wrong with that workflow.

Re:VS Code Roadmap 2018 by NocturnalWaffle on Monday November 06, 2017 @10:46PM (#15640952)
Uh, I believe Cmd-Shift-4 saves the image directly to the desktop, then I usually hit one of my hot corners that shows the desktop, grab it, hit the corner again and drop in the image. It's usually pretty quick. I did not know about holding Ctrl copies the file, I'll probably use that more often now because it probably is a little faster. But if you want to save an image you don't have to open up preview to save it or anything.