303 karma · joined Nov 24, 2017 (9y ago) · 62 submissions
comment 4w ago · link · parent
Why did my brain store TNG to this level of detail and not, like, quantum mechanics or the names of the people in my church? This is not particularly useful information, brain!
comment 1mo ago · link · parent
[0]: https://github.com/zion-sati/NetWasm/blob/main/docs/size-and...
comment 1mo ago · link · parent
comment 1mo ago · link · parent
I guess I am envisioning the user agent doing all of this. You go to a site and create click account, your browser shows a pop-up: "<website> is asking you create an EasyAuth account. Would you like to create an account on this site?" If you click yes, then the user agent does this in the background:
website: Sure you can have an account. Use this token <token> once and this ID <user_id> forever.
me: Ok, here's your token <token> for ID <user_id> and my public key is <public_key>. Signed, <digital_signature> to prove it works on my end.
Maybe generating a unique public key for each website is not substantially better than generating a password, but at least a signature cannot get stolen on the server side or in transit. You wouldn't have to change your public key if their database got slurped.
Passwords also aren't standardized, so they are pain to generate (special characters required or disallowed?). They don't reliably autofill into a website. You still have to go through a manual flow to login; user-agent doesn't just keep you logged in. I guess I would be fine if the user-agent knew how to authenticate me to every website.
Maybe this is what the passkey system was before it got designed-by-committee'd into oblivion. I am just always amazed by how complex authentication is when the user-agent should be able to handle this rather painlessly.
comment 1mo ago · link · parent
me: Can you show me my stuff?
website: HTTP 401, who are you? I understand EasyAuth 1.0, if that is good for you.
me: Sure, here's my EasyAuth 1.0: Hi <website>, I'm <user_id>. The time is <timestamp>. Signed, <digital_signature>.
comment 1mo ago · link · parent
[0] Windows newlines not withstanding.
comment 1mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
> You have drawn a girl, born in the Ganges Plain in 1628 CE.
> She was born, married at 16, lost her mother at 19, was orphaned at 30, had 8 children, and died at 39 of pneumonic plague, with 6 surviving children.
Nailed it. Though in retrospect, I drew really well. It would have been safer to guess "toddler death".
comment 6mo ago · link · parent
EDIT: Aluminum itself may not be the best counterexample to gold as it was not discovered until the industrial revolution was well underway.
comment 11mo ago · link · parent
n = 1000
a = {}
for i in range(n):
a[i] = str(i)
a = frozendict(a) # O(n) operation can be turned to O(1)
It is relatively easy for the JIT to detect the `frozendict` constructor, the `dict` input, and the single reference immediately overwritten. Not sure if this would ever be worth it.comment 11mo ago · link · parent
I treasure the time I spend with my kids. I can see that this season will be over soon. This won't be my whole life, but it will be a significant fraction of my life. If I were immortal, this would be a tiny blip in the inconceivably far past for 100% of my life.
You may think I could start again every 100 or 1000 or million years, but if a nonzero fraction of people did that, that would be exponential growth. Even ignoring resource constraints, you cannot sustain exponential growth of any kind in a 3D universe.
A universe with kids necessitates a universe with death.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
einsum only being able to do multiplication makes it quite limited. If we leaned into the Einstein notation (e.g. [1]), we could make something that is both quite nice and quite performant.
comment 1y ago · link · parent
Just last week, my two-year-old spied the freezer pops in storage. She pointed out back and said, "Eat on deck!" Clearly, she remembered eating freezer pops on the deck, but the last time she did that was last summer (northern hemisphere) when she didn't know how to talk at all, let alone say "deck".
comment 2y ago · link · parent
comment 2y ago · link · parent
Still, finding that a non-zero fraction of oral history survives on the order of tens of millennia is very cool.