HN user

jlrubin

777 karma

Bitcoin Core Developer, Cryptography, Functional Programming, building judica.org. Co-Founder MIT Bitcoin Project, MIT Digital Currency Initiative, and Scaling Bitcoin.

Email me at [username] dot mit dot edu.

Posts28
Comments168
View on HN
github.com 1y ago

Data Structure for Dynamic Discrete Probability Distributions

jlrubin
1pts1
rubin.io 4y ago

Rubin's 2021 Bitcoin Advent Calendar

jlrubin
12pts4
stacker.news 5y ago

Bitcoin News Powered by the Lightning Network

jlrubin
3pts0
www.nancyhua.com 5y ago

Startup Lessons I Needed to Learn First Hand (But Maybe You Don’t)

jlrubin
8pts0
scorevoting.net 7y ago

Quadratic Voting Is Flawed

jlrubin
2pts0
www.eff.org 7y ago

Yes, You Can Name a Website “Fucknazis.us”

jlrubin
19pts5
clinic.cyber.harvard.edu 7y ago

Eliminating Seven Words Policy for .US Domain Names with FuckNazis.US

jlrubin
7pts1
medium.com 7y ago

Interstellar: Chain Merges with Lightyear, Goes All-In on Stellar

jlrubin
3pts0
bitcoinedge.org 8y ago

Bitcoin Bootcamp at Stanford Nov 2nd-3rd

jlrubin
1pts0
techcrunch.com 9y ago

Krypt.co raises 1.2M to securely store your SSH private key on your phone

jlrubin
77pts42
rubin.io 9y ago

Bitcoin's ASICBOOST Problem Explained [pdf]

jlrubin
152pts123
bitcoinmagazine.com 9y ago

The Bug That Knocked Out Bitcoin Unlimited

jlrubin
2pts0
news.ycombinator.com 9y ago

All your friends aren't dead: Facebook bug memorializes users

jlrubin
3pts0
scalingbitcoin.org 9y ago

Scaling Bitcoin Milan Day 1 Video

jlrubin
3pts2
medium.com 10y ago

Improving the Bitcoin Development Process

jlrubin
1pts0
benlevinmusic.itch.io 10y ago

Interactive Music Video: Bad Chemicals

jlrubin
1pts0
medium.com 10y ago

Bitcoin Scalability: An Outside Perspective

jlrubin
7pts0
www.youtube.com 11y ago

MIT Bitcoin Expo Livestream

jlrubin
84pts6
css.csail.mit.edu 11y ago

MIT 6.858 Computer Systems Security Final Projects

jlrubin
118pts28
medium.com 11y ago

Catching Up is Irrelevant

jlrubin
9pts1
mitbitcoinproject.org 12y ago

MIT BitComp Round 1 Winners

jlrubin
1pts0
mitbitcoinproject.org 12y ago

MIT BitComp: $15,000 in Prizes for Bitcoin Hacks

jlrubin
4pts0
mtgoxlive.com 12y ago

Mt.Gox Live Chart & API Is Still Up

jlrubin
2pts1
randomacts.media.mit.edu 12y ago

Reddit Machine Learning Project

jlrubin
2pts0
500sw.github.io 12y ago

Dance Dance Intoxication - 500SW BarBot

jlrubin
1pts0
github.com 13y ago

Show HN: Weekend Project, Tornado "Trails"

jlrubin
2pts0
news.ycombinator.com 13y ago

Ask HN: Intern Housing in Sunnyvale/Mountain View?

jlrubin
1pts3
jeremyrubin.github.com 13y ago

Show HN: Gistify for Finder

jlrubin
2pts0

one thing i've found, is that i've regretted not blogging more via PDFs.

This is because Google Scholar treats PDFs as first class citizen, so your Important blog posts can get added to academia.

maybe a plugin can solve this particular gripe...

@dang title has been changed to "The (successful) end of the kernel Rust experiment", since there were complaints in the articles comments from the committee members that that was a sensationalization of what actually happened.

The fraction turned out to be approximately 69%, making the graphs neither common nor rare.

The wording kinda bothers me... Either 31% or 69% is exceedingly common.

Rare would be asymptotically few, or constant but smaller than e.g. 1 in 2^256.

I guess the article covers it's working definition of common, ever so briefly:

that if you randomly select a graph from a large bucket of possibilities, you can practically guarantee it to be an optimal expander.

So it's not a reliable property, either way.

anecdotally, i had a professor (if you're reading this, hi) who would wink in conversation at exactly the right point to add a little "isn't the world a funny place" comedy to whatever he was saying... wasn't clear if intentional or a tic for when he thought he had said something clever. I noticed that habit to have transferred to me for a while after, though I think now it's faded.

that'd cause an org wide panic, and you might lose key personel in your actually profitable business units. cutting costs at this scale is not just reducing employees, it's getting rid of employees who are working in areas you need to cut. the secrecy lets management retain control.

my experience with python's optional type system was that the simple stuff works very well, but when you try to go down a type rabbit hole for more advanced stuff involving generics it becomes really unworkable, inconsistent, and hard to dig yourself out of.

but for little things, like just function signatures, it's great!

note that it is measured in SLOC.

You can do in 500 lines of rust what might take 5000 lines of C.

I would be interested to see this as a stack chart showing overall LoC.

The free market is usually better at allocating resources than the government.

Plus, the government already has much more than $125M it could use to fund AI research, why do we need to take away Schmidt's funds to do so?

like them or not, analogies are one of the pillars of the American legal system. Being able to reason about them and create them (usually with motivated reasoning) is a highly valuable skill.

For those unaware, in a legal case where there is no precedant (something us technologists encounter often), you make the case that what you are doing is just like what X had done, and should be treated in kind.

you got it flipped. Dependendent types enable you to do things like "takes a nonempty list" and "returns a nonempty list of greater size".

Linear types lets you do things like "this data can only be written to a file once".

my point is that these are the fat tail + survivor bias of cases where you do actually care about performance to this degree, so it probably is actually more common in practice when you're looking into it.

even though precise control is the exception, if you can't do it, you can't use your language in a lot of critical contexts (and end up linking C, Zig, Rust, etc).

it's very likely that it's one of the cases that when reducing cache misses does really matter it's very different from using as little space as possible, and the degree to which it matter dwarfs the degree to which it's not a frequent concern (i.e. fat tail).

for example, if I have a struct that contains a bunch of atomic fields, I may actually want to control the layout to ensure they are far apart (even inserting padding) to prevent e.g. false sharing https://en.wikipedia.org/wiki/False_sharing.

I dont like raft personally.

I think it does way too much "all in one shot" v.s. a layered abstraction approach you have to do with Paxos where you build up from the basics of consensus.

The evidence that raft is more "understandable" rest on IIRC a multiple choice question test not on actually implementing the thing working correctly. But (without having seen the test, but being familiar with both algorithms) it is easier to answer questions about what raft is supposed to be doing than paxos, but paxos actually confronts you with the edge cases more explicitly that are still present in raft.

Granted, both are hard to implement correctly! I just think that learning Paxos does lead to a more detailed understanding of consensus than raft.

just my 2¢ and no one asked ;)

i'm assuming she purchased what she thought was percocet and it was actually fentanyl, not that she mixed up her pills

I think that Julia lacks a native tagged enum, which is what rust has. Unions are more akin to a local trait T that you box and implement for all the return types, which is strictly worse. If instead explicit unions were optimized to be tagged enums you could get the big performance gains of rust.

Calling code would, of course, have to destructure the return. But destructures of a return value can be very efficient using match (jump tables internally where possible).