HNHacker News
TopNewBestAskShowJobs

the_clarence

589 karma · joined September 8, 2018

Pre-school Texas, ordinance at Alabama Rust foundation.
submissionscomments
the_clarence··on Bitcoin puzzle #66 was solved: 6.6 BTC (~$400k) withdrawn
Half of 2^66 is 2^65
the_clarence··on Monolith First (2015)
Yes strive to find one good language and use it everywhere. Then when greater languages like Rust come out you have a problem.
the_clarence··on Bitcoin puzzle #66 was solved: 6.6 BTC (~$400k) withdrawn
Wait Pollard rho runtime is based on the order of the group not the size of the private key. Maybe there's more to it? This strikes me as more of a hidden number problem. But to make it work you need to observe something using that small number. A transaction might have been enough.
the_clarence··on Bitcoin puzzle #66 was solved: 6.6 BTC (~$400k) withdrawn
You need 2^65 operations so this is likely not what happened. What you're thinking about is the birthday attack that only works to find collisions and not to find a specific "pre-image"
the_clarence··on Capturing Linux SSL/TLS plaintext without a CA certificate using eBPF
What is the point of eBPF? It seems like it can really do anything
the_clarence··on Why I'm Writing a Book on Cryptography (2020)
This is a post from 2020, the author actually released their book more recently: https://www.manning.com/books/real-world-cryptography
the_clarence··on Ask HN: How do you solve bottleneck engineers?
what a condescending comment
the_clarence··on Ask HN: How do you solve bottleneck engineers?
This book has been recommended to me a number of times! And I have it on my desk as I'm typing this comment :) Do you remember how they fixed the problem without annoying the Brent too much? (if Brent quits it's not good)
the_clarence··on Katakana, Hiragana, and Unicode
I wrote a unicode library for Pascal back when I was in my 40's, it is challenging
the_clarence··on Learn TLA+
I've been writing TLA+ for like 10 years, it's been a great tool and I found many bugs in protocols thanks to it
the_clarence··on Ken Thompson really did launch his "trusting trust" trojan attack in real life
Ken Thompson really did something great in there
the_clarence··on Ask HN: Autistic employees think they’re better than everyone
Not sure why you’re being downvoted
the_clarence··on Ask HN: Autistic employees think they’re better than everyone
I agree but this doesn’t help gamma-male. I’ve dealt with people who were producing more than everyone else and must have been on the autism spectrum. It’s not a bad thing per se, but it makes you wonder “can non-autistic people achieve as much and compete with their asperger coworkers?”
the_clarence··on Ask HN: Autistic employees think they’re better than everyone
OP didn’t say he was the one responsible for bad code. Autistic here probably means that he seems better than most people and most engineers can’t compete with his output
the_clarence··on Lessons from Writing a Compiler
I really like Golang’s inference which is much dumber than Rust (left type = right type)
the_clarence··on Lessons from Writing a Compiler
Just use Arc
the_clarence··on Lessons from Writing a Compiler
OCaml really messes with you if you try to prototype as you can’t have two modules that depend on one another. Rust is def. much better.
the_clarence··on Lessons from Writing a Compiler
I’ve always wondered why Rust creates a unique id per atom and keeps track of type information in a hashmap using that unique id as key (instead of storing the type information within the atoms themselves). I guess it is to keep things flat, or reuse the same structure for different passes.

Other approaches like the nanopass approach creates different structs for each pass: https://legacy.cs.indiana.edu/~dyb/pubs/nano-jfp.pdf

the_clarence··on Lessons from Writing a Compiler
Interesting post! Personally I discovered all of these things by just making up some language and trying to compile it. I realized that parsing things was hard because of line breaks and words and whitespaces, so I wrote a lexer without knowning that it was a lexer and later realized that I had reinvented the wheel. Then I needed to store the spot in the source where each token had originated from, learned that it’s usually called span, and on and on. At some point I realized it was hard to figure out how to parse an expression without documenting the grammar, and then I learned about BNF. It’s actually not too hard to figure everything yourself and then read about how people usually solve a problem if you get stuck. Learn by doing.

Another good way to learn is to check the compiler of a language you already know and use. Then you grasp common terms like “kind” and “ty” and “span” that you can reuse.

You then realize things like: it’s better to have expressions be statements, as long as they don’t return a value. Otherwise you end up duplicating code for parsing statements and expressions (for example, for function calls)

> because importing the Error module would be a circular dependency. This is a problem as new types of errors are added.

This is really only a problem with OCaml, which is why it’s not a great language to write any big program in IMO (as you can’t easily prototype or split your logic into many modules easily without hitting dependency cycles)

the_clarence··on When my wife developed Alzheimer’s, the story of our marriage kept us connected
Hopping I won't offend anyone here. There's a history of alzheimer in my family and I actually know a number of families that had to deal with the third generation going cuckoo. I've always thought that, if it would happen to me, or to one of my parents, perhaps the only sane solution would be to kill them. I'm wondering if I'm the only one thinking this. It seems like most of today's culture is about keeping people alive as long as possible, even if they're not themselves anymore, even if they're suffering.
the_clarence··on The Security Engineer Handbook
Mark Wisde is one of the most talented security engineer I know and his handbook, while short, genuinely represents the state of mind of a typical security engineer in a security team. I read this in a day and I would recommend it to anyone who's interested in having a more "security-oriented" mindset, even if not working in a security team.
the_clarence··on Instacart paying 80 cents an hour because worker received a large tip
tipping culture has died in part of the country. As another comment pointed out, most people don't tip in San Francisco.
the_clarence··on Instacart paying 80 cents an hour because worker received a large tip
I think this is great. It makes tipping useless.
the_clarence··on Instacart paying 80 cents an hour because worker received a large tip
I live in SF. I don't tip, most of my acquaintances don't tip either.
the_clarence··on Instacart paying 80 cents an hour because worker received a large tip
generally people don't give tips for these things. It's just the default for a lot of these square point of sales. I don't know why square would do this honestly, this is just encouraging wrong behavior.
the_clarence··on Instacart paying 80 cents an hour because worker received a large tip
exactly. Most people don't tip on Instacart so doing the right thing would be to make sure they pay their employees well.
the_clarence··on Instacart paying 80 cents an hour because worker received a large tip
I think this is a good step towards de-incentivizing people to tip for everything.
the_clarence··on If San Francisco Is So Great, Why Is Everyone I Love Leaving?
You are not answering my question. What is your proposed solution to avoid having a landlord doubling your rent in a week?
the_clarence··on Rust 2019 and beyond: limits to some growth
Big fan of Rust as well, but this is why both Go and Rust are going to co-live. They are both amazing languages.
the_clarence··on If San Francisco Is So Great, Why Is Everyone I Love Leaving?
Having lived in London, Paris and SF I would disagree. SF is freaking disgusting. Paris is messy and has some crazies. London is a nice city.
← PreviousPage 5 of 16Next →