News for hackers. Stuff that matters.
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.