Better HN
topnewbestaskshowjobs
Log inSign up

kortex

8,487 karma · joined Feb 1, 2017 (9y ago) · 2,549 submissions

Submissions

comment 6y ago · link · parent

But how antilockdown? Like, everyone can do what they want, no new rules, back to pre-covid?

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

It's also one of the few things that readily stops a bleeding nail if you are clipping a pet's nails and hit the quick (blood vessel region). Corn starch is supposed to, but I find CA is faster for deep cuts.

comment 6y ago · link · parent

They probably go to the Shop Vacuum Power Rating school of specs. Oh you hit 40A of inrush current for 30 ms? 4500W, call it 6 HP.

They probably hit 2 gbps for 30ms on the same duplex with zero interference.

comment 6y ago · link · parent

This would make for a great 3blue1brown visualization.

comment 6y ago · link · parent

Maybe we can institute a work-recovery program where inmates can do high-exposure work (once they are truly recovered). give them experience and a feeling of duty and purpose.

Nah, they'll probably just keep using em for slave labor.

comment 6y ago · link · parent

My productivity stack:

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

Histdb is amazing, but requires zsh. I have one continuous history. I'm working on figuring out multi-host history for One True History.

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

> anything more complicated than launching executables

mv is a simple executable. GP is talking about stuff like generating reports or sophisticated orchestration in .sh

comment 6y ago · link · parent

This is my workhorse, 'to'.

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

I just want to say, I've been following Capn for a few years now, excellent work, keep it up! I feel it's a better architecture overall than protobuf and wish I had more time to contribute to the project.

comment 6y ago · link · parent

Recently got some UX whiplash after being in engineer world for years and long ago migrated to .md/.rst over rich text editors. To quote the Matrix, "I don't even see the markdown anymore, I just see bold, italic, header..."

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

My experience mirrors yours. Could never get double-click on .deb to work, same symptoms, and Software Center was always buggy/frustrating. dpkg -i all the way, but that's definitely a ux hit for broader adoption of Ubuntu.

comment 6y ago · link · parent

This is really refreshing to read. I feel like despite being home nearly all the time, I'm simultaneously logging less work hours, getting fewer chores done, exercising less, and overall more tired. I think I am playing with the dog more at least but I feel like I'm in a time warp.

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

Oh! I actually used this before switching to histdb. IIRC it works-ish but there was less polish than histdb.

comment 6y ago · link · parent

> One of the not-ideal aspects of the design is that SHISHUA is not reversible.

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

Have you tried zsh with histdb? It's been an absolute gamechanger. Having a complete, precise, and effectively infinite history is like a second brain.

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)

https://github.com/larkery/zsh-histdb

comment 6y ago · link · parent

This was fascinating. I'd condense the overall sentiment to, "Pleasure is desireable and pain is inevitable. When and where do you get pleasure and avoid pain?" Also, these definitions are different than the common definitions. Here's a rough digest:

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

Viral load V, dV/dt = rV. This loosely solves to V = a*exp(rt). The bigger your V0, the faster the initial rate of increase.

The Vmin to be detected by your immune system is small. You want the most time between Vdetected and Vdanger.

comment 6y ago · link · parent

Could take a page out of the biologist's book. "what's this thing?" Transcriptase - enzyme (-ase) which transcribes - DNA to RNA. "What about this" Reverse transcriptase - does the reverse of transcriptase.

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

Not a network engineer, but I expect TCP and UDP traffic are currently shaped differently by ISPs, possibly with preference to TCP. If your connection is solid, there isn't a huge benefit to QUIC, so you may end up seeing a slight degradation.

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

I take it as a tongue-in-cheek spec, much like Capn Proto's claim of infinity times faster than gRPC.

comment 6y ago · link · parent

I really enjoy your writing style. Flows extremely well.

comment 6y ago · link · parent

Log(dX)/log(X) shows how the outbreak behaves compared to pure exponential growth ( y = x) so any deviation shows how effective a country is at preventing exponential growth. It's super useful.

comment 6y ago · link · parent

If you switch "you" get to "open" two doors in fact, not one. It's just that Monty picks which one for you. And since your choice is random, you might as well let an RNG do it for you.

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

Plastics are very chemically difficult to degrade. The nearest biological polymer is probably lignin, and even though it's part of a very porous matrix, it still takes years to break down.

I'm not too worried about PE, PET, PU, or nylon "rotting"

comment 6y ago · link · parent

It's possible but I doubt they would change their artist name. Usually when artists have multiple handles, for both legal and artistic reasons, they re-release a song using the original name.

The exception is when a solo artist wants to "cover" a song they wrote as part of a band.

comment 6y ago · link · parent

I think you and I posted this within seconds of each other :p

comment 6y ago · link · parent

Actually it's a type of sequencer used to make music for sound chips.

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

comment 6y ago · link · parent

I really enjoy being able to write about 90-95% of python with type hints, the static checking and IDE autocomplete is fantastic, and the remaining just be like "ok computer just trust me".

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.

comment 6y ago · link · parent

Former process chemist here. Yep, you could produce trainloads of this stuff within the month if you bypass the FDA, and even if you do play by the book, current capacity could easily crank out kilos of GMP HQ a day.
1
747576
85