Recent submissions

Comment · 3 years ago
Well, wouldn't the program itself be an input on which a human is unable to determine the result (i.e., if the program halts)? I'm curious on your thoughts here, maybe there's something here I'm missing.

The function we are trying to compute is undecidable. Sure we as humans understand that there's a dichotomy here: if the program halts it won't halt; if it doesn't halt it will halt. But the function we are asked to compute must have one output on a given input. So a human, when given this program as input, is also unable to assign an output.

So humans also can't solve the halting problem, we are just able to recognize that the problem is undecidable.

Comment · 4 years ago
it's a _necessary_ but _not sufficient_ condition for a recession. so it does provide you information. if the yield curve does not invert, it is unlikely there will be a recession.
Comment · 4 years ago
lepton number does not need to be conserved. it is an approximate symmetry of nature. if lepton number were conserved, neutrinos could not oscillate.

quarks, the particles composing protons and neutrons, have fractional charge; these would be the particles that would interact with an electron or positron. the charges wouldn't work out (charge is conserved (as far as we known...)) so there wouldn't be a fundamental electromagnetic interaction between a single quark and a e+/e- (i.e., an annihilation). But there are fundamental weak interactions between quarks and e+/e-; these processes are known as inverse beta decay and are used for pet scans.

Comment · 4 years ago
Comment · 5 years ago
Comment · 5 years ago
a huge part of it is trying to solve / formulate easier versions of the problem, or problems that are similar or related to the original problem. Or making some stronger assumptions to get rid of the clutter / all of the moving variables and distill it down to the smallest form a human brain can handle! For many of the "huge" unsolved problems, there tends to be a program of "dominos" or "ledges" you hope to work on in some order that will make the original problem fall.

that way you don't just meander idolly from day to day, but instead gain some intuition for the central problem (and of course have publishable work to appease the grant gods / the university).

trying to code up some of the work to experiment is also useful, but that can be a research problem of its own :-)

Comment · 5 years ago
but then the heap would grow down in such a diagram...

btw my understanding is that the heap came first in the logical development of C and other systems programming. so it made sense to have .text and other program data at the lowest virtual memory addresses and then have the heap grow towards higher memory addresses.

then when the stack became a thing it had to grow down...

Comment · 5 years ago
Comment · 5 years ago
XOR is used a ton in the theoretical underpinnings of cryptography. It's used in the one time pad which is essentially the "smallest" cryptographic scheme that is perfectly secure (perfectly secure has a mathematical definition in this context, it's not saying there can never be any attacks).

In general the reason why is that if you have two random variables x and y, where x has any distribution (so for example x could even be "attack normandy on june 6" with certainty) and y is uniformly distributed across all n-bit strings (so it could be any string of n zeros and ones with equal probability), then you can show that x ^ y appears as if it is also uniformly distributed across all n-bit strings as well.

Because of this property it's used frequently in many higher order methods as well.

Comment · 5 years ago
chess is actually not very easy to check.

chess is in exp, the class of problems requiring exponential time to solve and exponential time to check. unlike p vs np we do know that exp \neq p.

Comment · 5 years ago
i second tristan needham's visual complex analysis.

some other good ones:

* the one we used in my undergrad course was fisher's complex variables which is great if you're learning for the purposes of applications. it's a cheap dover book.

* rudin's real and complex analysis (if theory is your thing. note that rudin's books, while great, do require a good background in math).

* as the article mentions, eli stein has a series of books on the four main branches of analysis. i believe the second book is on complex analysis.

Comment · 5 years ago
you might be able to do something like "predict the next prime number" or "predict the next zero of the Riemann zeta function".

you could try something like this for statements in a formal axiomatic system, but know that you're running up against things like the halting problem / entscheidungsproblem / godel incompleteness. so it may be possible to train a neural net to decide the veracity of a statement and do so more quickly than a human might, but you would inevitably be running up against things that are truly undecidable in nature. which is not like go or chess where although they are difficult, they are decidable.

Comment · 5 years ago
think more like you're on the surface of the balloon as it's getting inflated. the "fabric" or elastic material on which you're standing is the thing that's expanding while the balloon inflates. you're still constrained to the surface of the balloon, however.
Comment · 5 years ago
hah i was taught that style is "pointless"...

it comes from topology, no?

Comment · 5 years ago
Incidentally one of the biggest benefits I see of using a text editor like vim / emacs is that it really encourages good code management.

It's not to save the ~10 minutes per year in faster key strokes to manipulate your code. It's about the way it shapes your thinking about how you code.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton