HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ritchiey

no profile record

Submissions

Live-reload your static website with no server at all

livereload.net
3 points·by ritchiey·3 yıl önce·1 comments

comments

ritchiey
·3 yıl önce·discuss
I have the same concern. Something might be worth looking into is replacing docker with Podman because it runs as the authenticated user rather than using a daemon running as root. Also, I believe Podman desktop allows for multiple VMs.

Also consider QubesOS. Where everything runs in a VM (if you can find appropriate hardware on which to run it).

Less flexible but easier to install is ChromeOS FLEX (or a high end Chromebook). Like QubesOS, ChromeOS lets you run Linux in a VM but with the ability to open native windows.
ritchiey
·3 yıl önce·discuss
WSL probably is good but I believe it still has access to the whole Windows file system.

Linux on ChromeOS is probably better because its file system is separate. Files and directories must be explicitly shared from the main OS.

I think both have the ability to open windows on the main desktop so you can run graphical IDEs and the like in the VM which is nice.
ritchiey
·3 yıl önce·discuss
To me the big difference between the two is security.

WSL2 mounts the windows file systems. A VM in crostini is completely isolated and yet it can still display windows on the main desktop.

The only other thing I know that does that is QubesOS.
ritchiey
·3 yıl önce·discuss
I can see it being useful in a corporate setting to limit which sites you can visit with Chrome to just your secure admin panels and internal apps. Then use Firefox to go to dangerous places like… the Internet.

That way if one of your users clicks a link in a phishing email Chrome simply won’t open it.
ritchiey
·3 yıl önce·discuss
This works similarly to any live-reloading local server except that there is no server. All you need is a text editor and a web-browser.
ritchiey
·3 yıl önce·discuss
I'd be interested to hear if anyone has learned Rust without first understanding memory addressing and pointers.

Although I think Rust is a better way to write safe code and the industry is right to adopt it, it seems like a heavy lift to learn about heaps, stacks and pointers whilst also learning about ownership and lifetimes.

I don't really think that C++ is worth learning unless you have to work on an existing C++ codebase.
ritchiey
·3 yıl önce·discuss
The reason usually cited for why not BitTorrent for software packages is because it makes public what package versions you have and haven’t downloaded.

This information could be useful to an attacker.