lainwashere's comments

lainwashere | 6 years ago | on: Ask HN: Resources to grok Emacs and use it well?

As others have said, the tutorial is the best place to start (C-h t). After that for any other thing you need to learn in emacs the info will probably have it (C-h i or M-x info). Emacs users usually spend much time configuring their “operating system” till they’re satisfied, by modifying the init.el, but you can get a popular config already made [0][1]. My biggest recommendation after understanding how emacs works, if you use/prefer vi binds, is install evil-mode [2]. It’s essentially a vi layer on top of emacs, and is very functional.

edit: If you use MacOS, Yamamoto Mitsuharu‘s emacs-mac [3] is my recommendation, as for linux the version from your distros package manager should be apt. ;)

[0] https://github.com/hlissner/doom-emacs

[1] https://github.com/syl20bnr/spacemacs

[2] https://github.com/emacs-evil/evil

[3] https://bitbucket.org/mituharu/emacs-mac

lainwashere | 6 years ago | on: Apple Music Web Client

This is great, no longer trying to get iTunes working in wine on linux, just play the music straight from the browser, and if you want a native app, Windows and MacOS has iTunes, no electron non-sense.

lainwashere | 6 years ago | on: Launch HN: SannTek (YC S19) – Breathalyzer for Cannabis

I'm sorry, but I'll have to state my discontent with your product. Firstly, I question it's usability from the beginning. How accurate is it? Can you get something similar to a BAC with it? Also how often/likely is it that a false positive will happen? More importantly I fear that the "Cannabis Breathalyzer" will become like a polygraph, which can't tell whether your actually lying or not, but is merely used as a tool by police that's used against people. Comparing Alcohol to Cannabis also isn't right. These are vastly different chemicals with different effects on people. Over ~10000 people died in 2017 from alcohol impaired driving[0], can anything remotely similar be said of Cannabis? Don't get me wrong driving under the influence of any drug can be dangerous, and is why on most prescription bottles you'll have a "Do not operate heavy machinery" warning on it, but that doesn't stop everyone on medication from driving. Prohibiting Cannabis has caused much grief in the past that this tool, without accurate results and proper use, is likely going to cause more harm than good. If anything it will probably just help increase the incarceration rate to meet the status quo.

[0] https://crashstats.nhtsa.dot.gov/Api/Public/ViewPublication/...

lainwashere | 6 years ago | on: Standard Ebooks: Free public-domain ebooks, carefully produced

I ended up using this to download all the azw3 files for my kindle, it's probably not the best you could do, so feel free to use it as reference for yourself if you might do something similar.

  curl -s https://standardebooks.org/opds/all | grep -oE "/(.*).azw3" | sed -e"s/^/https:\/\/standardebooks.org/" | xargs -n 1 curl -O
P.S. Calibre seems to only work with them and the kindle when you send over USB (I keep my paperwhite in airplane mode, signed out, ads disabled)[0]

[0]https://news.ycombinator.com/item?id=20596300

page 1