Better HN
topnewbestaskshowjobs
Log inSign up

ritchiey

14 karma · joined Nov 11, 2014 (12y ago) · 22 submissions

[ my public key: https://keybase.io/ritchiey; my proof: https://keybase.io/ritchiey/sigs/D8h9umhrr2wGx-Df2besBhAdJswqY4o0fLJVt5kHgBw ]
Submissions

comment 2w ago · link · parent

China can generate an enormous amount of electricity so a GPU is worth more to them on home soil.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

7.

Live-reload your static website with no server at all(livereload.net ↗)

3 points · by ritchiey · 3y ago · 1 comment

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

I personally know at least one person who had his Google account locked with no explanation.

comment 3y ago · link · parent

The killer tab feature I would like to see is a keystroke to switch to the previously focused tab in the current window. That’s it.

I frequently find myself jumping between two tabs (for example filling a form with details from another page) and no browser I know of makes it easy.

comment 4y ago · link · parent

I imagine they’d find it no more annoying than do Frank, Bob, Doug or Russell.

In fact I might call my next project Karen. Because things can only get better for her.

comment 4y ago · link · parent

Ignite is running a VM per container. Docker for Windows/Mac runs all containers in a single VM.

comment 4y ago · link · parent

Nixon did, but then other things happened.

https://en.m.wikipedia.org/wiki/Project_Independence

comment 4y ago · link · parent

Or Australia. Border agents here can now compel you to hand over your phone and credentials.

comment 5y ago · link · parent

You can also compile OCAML/ReasonML to Erlang.

https://caramel.run/

comment 6y ago · link · parent

Tanks on the starter disk is my favourite couch co-op game.

Not sure how long it is though because you always have to start from the beginning so we’ve never completed it.

comment 7y ago · link · parent

Even better, plant trees, cut them down, build things out of them and grow more.

comment 8y ago · link · parent

You don’t need to wait for web-assembly to solve these problems.

TA mentions 3 languages (Elm, Reason & Purescript) that combine sound type-checking and immutability right now.

None of these bring the cognitive overhead of Rust’s borrow checker and, in the case of Reason at least, compile at lightning speed to readable (though optimised) JS.

comment 8y ago · link · parent

IPhone 7 Using WebGL ver: 1 Open ControlsWarning: No color buffer floats. Water will look bad. Try Chrome >= 64.

60 FPS. Looks ok to me but have to zoom to fill the screen with the canvas.

21.

Better BDD with RSpec-Varys(vimeo.com ↗)

2 points · by ritchiey · 11y ago · discuss

22.

How to Have an Argument(medium.com ↗)

1 points · by ritchiey · 12y ago · discuss