8,487 karma · joined Feb 1, 2017 (9y ago) · 2,549 submissions
comment 6y ago · link · parent
I think that voluntary-only measures will cost a LOT of lives. I think everyone agrees more restriction == more lives saved, this is the classic argument for antiterrorism. Where people are diverging is where the best place to draw that line.
Maybe everyone should begin with a disclaimer of how many people they are willing to let die relative to essential-workers-only.
comment 6y ago · link · parent
Zsh (with all the autocomplete plugins)
Oh-my-zsh zsh-autosuggestions: https://github.com/zsh-users/zsh-autosuggestions
Tmux
Histdb: https://github.com/larkery/zsh-histdb
Zoxide (replace cd): https://github.com/ajeetdsouza/zoxide
Fzf
Rip (replace rm): https://github.com/nivekuil/rip
My personal dotfiles: https://github.com/xkortex/bashbox
Mosh (replaces/augments ssh)
What I'm currently looking for is a better multi-host logging solution.
comment 6y ago · link · parent
https://github.com/larkery/zsh-histdb
I haven't tried it, but the keywords you are looking for is bash history db/sqlite. E.g.:
https://github.com/thenewwazoo/bash-history-sqlite/blob/mast...
comment 6y ago · link · parent
No argument: start fzf (this really should read "to $(fzf)"), jump to that dir.
One arg: if the path is a real file/dir, jump to it, else use zoxide (z in rust) to soft-match it from history.
https://github.com/xkortex/bashbox/blob/master/aliases/core....
comment 6y ago · link · parent
Then I started working with some folks on a Covid mask project and they are massively struggling with MS office docs, dropbox, file versioning, web deployment, wordpress, for something that needs both high uptime and fast updates. I'm like why not just use git, github, and jekyll static sites? Add better looking pages in time.
...
Lets just say they weren't thrilled with that idea.
Sticking to open formats (flat text, odf) is a great start for the individual but it's still a workflow shift for everyone else, which is painful. It was a start reminder for me of the frustration I experienced when shifting my workflow to more open standards. Add to that some serious Hyrum's law when it comes to excel usage.
comment 6y ago · link · parent
I am currently chalking it up to the monotony being quite exhausting subconsciously, even if it doesn't seem like it at first.
comment 6y ago · link · parent
Why is irreversibility a bad thing? Is it just the loss of useful state which reduces the internal entropy?
Is irreversibility ever useful? Wouldn't some amount of discarded bits make it harder for an adversary to infer the state?
comment 6y ago · link · parent
I know not everyone is on the zsh train, but it might be able to be ported to bash (it's just pre-hooks and some sqlite)
comment 6y ago · link · parent
Psychopaths: I don't care about rules, types, or beauty, just get it done (JS)
Obsessives: a little monotony now avoids a lot of pain later (go, java)
Masochists: Look at how disciplined I am! (C)
Sadists: Look at how impotent everyone else is! (perl, regex)
Hysterics: Look at how beautiful this code is! (python)
Fetishists: Have you tried more X? (objects, abstractions, types) (smalltalk, erlang)
Melancholy: Oh, I miss the days when I could write an entire application in 200 lines of Lisp...
comment 6y ago · link · parent
Angiotensin-converting enzyme - does exactly what it says on the tin. You can lex it even further:
- Angio - heart (from ango, vessel)
- Tens - from hypertension, vis tendo, tendere, to stretch.
- (-in) - suffix associated with polypeptides:
- Convertere - turn around, from:
- Con - with
- Vert - turn
- En - inside
- Zyme - from zume/zymē - leavened, loosely, biological thing which causes leavening
It just makes so much sense! Lexemes are so cool. Like digging into linguistic source code.
comment 6y ago · link · parent
Syncthing uses a bunch of protocols by default to find clients, including TCP, QUIC and a few others. If you want to have some insight into how your network behaves with these protocols head-to-head, spin up syncthing and wireshark.
comment 6y ago · link · parent
If you consider it two independent rounds instead of stay/switch,
Stay: you get to roll 1d3, "1" wins
Switch: you get to roll 1d3, "1" loses, "2" or "3" wins
comment 6y ago · link · parent
The exception is when a solo artist wants to "cover" a song they wrote as part of a band.
comment 6y ago · link · parent
Or when I'm doing data wrangling in jupyter and I never use type hints cause it's all just REPL rapid prototyping and I get autocomplete from the objects.