HN user

akalin

1,906 karma

[ my public key: https://keybase.io/akalin; my proof: https://keybase.io/akalin/sigs/_BapYatproGRDzp2ygAPyhlpneyEYfx-wOj8t4dkBps ]

Posts89
Comments67
View on HN
paintastreet.com 3mo ago

Bid to name a street in San Francisco

akalin
2pts0
github.com 8mo ago

Dwarf support for macOS and Linux · OCaml/OCaml

akalin
4pts1
www.youtube.com 10mo ago

Stanford CS336 Language Modeling from Scratch I 2025

akalin
1pts0
alexkontorovich.github.io 10mo ago

Introduction to Real Analysis

akalin
2pts0
bactra.org 1y ago

G, a Statistical Myth (2007)

akalin
22pts4
thehighergeometer.wordpress.com 1y ago

Diophantine Fruit

akalin
3pts0
www.curbed.com 1y ago

NYC's Idling Complaint Law Can Earn You Six Figures

akalin
5pts0
www.youtube.com 2y ago

Patio11 on Japan, hiring, and his long, odd road to fame [video]

akalin
3pts0
www.sandofsky.com 2y ago

Fast Crimes at Lambda School

akalin
12pts2
www.theinformation.com 2y ago

Dave Clark’s Last Days at Flexport

akalin
1pts0
www.akitasoftware.com 3y ago

Akita Has Joined Postman

akalin
2pts0
mitchellh.com 3y ago

My approach to building large technical projects

akalin
233pts27
www.wsj.com 3y ago

Mark Zuckerberg Says Meta Will Slow Hiring, Won’t Rule Out Future Layoffs

akalin
1pts0
twitter.com 3y ago

The purported proof of the four color theorem has been retracted

akalin
7pts2
www.theatlantic.com 3y ago

ChatGPT Will End High-School English

akalin
2pts0
www.benkuhn.net 3y ago

Be Less Scared of Overconfidence

akalin
79pts27
words.filippo.io 3y ago

Age and Authenticated Encryption

akalin
56pts19
www.youtube.com 3y ago

Blockchain Solutionism – Guest Lecture at UT Austin by Molly White

akalin
3pts0
www.engadget.com 4y ago

You can now play 'Doom' inside 'Doom II'

akalin
4pts0
slate.com 4y ago

David Imus’ “The Essential Geography of the United States of America”

akalin
3pts1
blog.mollywhite.net 4y ago

The Axie Infinity hack, what happened, and why people keep talking about bridges

akalin
2pts0
criticallyconsciouscomputing.org 4y ago

Critically Conscious Computing: Methods for Secondary Education

akalin
11pts5
vimeo.com 4y ago

Farewell – Etaoin Shrdlu

akalin
2pts0
danluu.com 4y ago

Some Reasons to Measure

akalin
14pts1
bottomfeeder.substack.com 5y ago

The Useless-Boomer Guide to the Stock Market

akalin
2pts0
arxiv.org 5y ago

Dissolving the Fermi Paradox

akalin
50pts71
www.theverge.com 5y ago

‘Misogynistic’ Apple hire is out hours after employees call for investigation

akalin
77pts148
www.coderelay.io 5y ago

Fontemon

akalin
2pts0
www.nytimes.com 5y ago

Arianna Rosenbluth Dies at 93; Pioneering Figure in Data Science

akalin
1pts0
steve-yegge.medium.com 5y ago

Hurricane China: How to Prepare

akalin
2pts0

In this case, the same way I would -- calling out to SymPy.

Once you verify (with SymPy or another CAS, like Mathematica) that the given function has the claimed Jacobian determinant (which involves only taking partial derivatives and taking a determinant) and the given inputs map to the same output (which involves only evaluating polynomials with some inputs), you're done.

No, parchive v1 also used Reed-Solomon. The main difference between v1 and v2 was that v1 worked on the file level, but v2 divided the set of files into blocks.

Also, the parity matrix for v1 would be sometimes singular (non-invertible), which v2 tried to fix but it didn't quite work.

I guess I'm not being too clear, so I'll try again. There are two concepts:

1) Positive and negative numbers (defined in terms of comparison to 0)

2) The negation of a number (i.e., the additive inverse)

They're related in that when both concepts are defined, a negative number is the negation of a positive number. However, the two concepts don't coincide. I'm sure you know this, but even over the reals '-x' is the negation of a number, but not necessarily a negative number.

(-a) * (-b) = a * b is an equation about #2, and it holds in any ring/field, even ones where #1 doesn't make sense, e.g. Z mod 5. If #1 makes sense, then this immediately implies that the product of two negative numbers is positive.

My original point was that the blog post is talking about real numbers, for which #1 and #2 are both defined. However, if it's generalized to arbitrary rings/fields, where only #2 is defined, then you can't really refer to the equation '(-a) * (-b) = a * b' as 'the product of two negative numbers is positive'.

That's precisely the subtlety I'm talking about, in which additive inverses and real numbers less than 0 can both be referred to as 'negatives', and that the operation of taking additive inverses and real numbers less than 0 both use the symbol '-'.

It's pretty standard, though, that a 'negative number' is one that is less than 0, and a 'positive number' is one that is greater than 0, where a 'number' is an element of some subring of the reals.

There's a subtle point to keep in mind when generalizing to rings/fields. The concept of 'positive' and 'negative' are defined in terms of an order relation, e.g., 'positive' means >0 and 'negative' means <0. The integers / real numbers have the usual order relation such that the additive inverse of a positive number is negative and vice versa, but an arbitrary ring or field might not even have an order relation.

For example, the integers mod n is a ring, so (-a) * (-b) = a * b holds, but it doesn't make sense to call a number mod n positive or negative, since -a mod n effectively means n - a mod n.

(posted an earlier version of this comment on susam.in.)

When I worked on Chrome Sync, we spent some time making sure that unknown fields were preserved properly. Glad to see that someone noticed, cheers!

I'm also going to have to strongly disagree with you in regards to Euler's proofs. Analysis as a discipline is far more mature than it was in Euler's time, but Euler still clearly proved the things we attribute to him. I'm not really sure what your expectation is here - we have more sophisticated means of articulating proofs, and likewise much more mathematical scaffolding to support new theories. But Euler's work is rigorous.

What about the Euler product formula and using it to prove the infinitude of primes? At best it has gaps that can be easily filled, but it wouldn't meet modern standards of rigor. See http://www.math.harvard.edu/~elkies/M259.06/euler.pdf (the best source I can find on my phone)

Over the years I've audited a lot of math classes and tried various ways of taking notes.

I've found that live-TeXing lets me keep half my attention at best on the lecture. The people I've talked to about it agree. Also, when the professor requests for the class to be transcribed, the live-TeXing duty is rotated among the students as to not unduly impose on one of us.

I eventually gave up and moved to taking notes with an iPad and an Apple pencil, which has the quickness of handwritten notes, and the availability of digitized notes -- if I'm looking for something I can usually find it pretty quickly by navigating to the class and the (labeled) lectures.

Of course if live-TeXing works for someone, more power to them!

Thanks! It doesn't explain Gallager codes since I don't know much about them (but will look into them now!). It only briefly mentions RS decoding, since the RS erasure code uses Vandermonde matrices, and Cauchy matrices seem more foolproof for an intro article. I was planning on writing a follow-up article on PAR1 (which uses RS erasure codes, but slightly incorrectly) but alas, my free time isn't what it used to be...

If you try to define a vector space over a set without multiplicative closure, the vector space cannot be closed under scalar multiplication. Among other things, linear combinations stop being invertible (or even possible in general), and linear relations don't exist.

Mind clarifying this part? As someone else already pointed out, the integers are multiplicatively closed, but I suspect you're using "multiplicatively closed" to also mean "closed under multiplicative inverses". But I don't see how linear combinations stop being possible, e.g., "3x + 2y" is still a linear combination in a Z-module, or what it means for a linear combination to be invertible.

(Also not sure what exactly you mean by linear relations not existing if you have a module and not a vector space...)

My “foolproof” comment was based on Vandermonde matrices not always being invertible during decoding without an extra step, which tripped up multiple implementations. (PAR1 suffered from this problem, then they tried to fix it with PAR2 but still failed!)

I think we discussed a while ago doing Vandermonde decoding without matrix inversion, so that’s one advantage that Vandermonde matrices have. (Although I haven’t seen an implementation do that optimization.)

I don’t actually know if Cauchy matrices apply for error correction and not just erasure codes —- I’d be interested if other people know!

I prefer to think about it as there are three special types of numbers: zero, units (invertible elements), and prime numbers, which exclude zero and units. In the integers, the units are +/-1, so that’s why they are not prime. In the rationals, every non-zero element is a unit, which is why there are no prime numbers in the rationals.

The coordinate-free concept behind transposes is the adjoint, which shows up in multiple places in mathematics. Basically, you have a formula:

<Ax, y> = <x, By>

where <,> is some inner product, and you say that the the linear transformation A is adjoint to B. If you take the usual inner product, then A is B^T.

A previous conversation: https://news.ycombinator.com/item?id=15948153

As for 2, norms (and general inner products) show up in more theoretical parts of math that use linear algebra. Maybe an applications-focused treatment doesn't need to focus so much on it?

Thank you, this is fantastic news! PBR has always been one of my favorite textbooks.

Your road map says:

We plan to release updated versions of the book roughly once a year, starting a year or so from now.

Out of curiosity, do you guys still plan to release new print editions?

Not necessarily -- with the right editor, e.g. Emacs, you can have it automatically convert "\alpha" to "α" (built-in TeX input mode), or if you're using AUCTeX, you can type "`a", which would be easier than "\alpha" or "α"!

Edit: Oops, saw the sibling post. That also works, although sadly I can't take always advantage of that since I'm not always on Linux.