Recent submissions

Comment · 11 months ago
Code submissions either meet the standards of the project or they don't. Whether it was generated by human or AI is irrelevant.
Comment · 1 year ago
How do you deal with Hawking radiation?
Comment · 2 years ago
It's all really just basic calculus, with a couple nifty tricks layered on top:

1) Create a bunch of variables and initialize them to random values. We're going to add and multiply these variables. The specific way that they're added and multiplied doesn't matter so much, though it turns out in practice that certain "architectures" of addition and multiplication patterns are better than others. But the key point is that it's just addition and multiplication.

2) Take some input, or a bunch of numbers that convey properties of some object, say a house (think square feet, number of bedrooms, number of bathrooms, etc) and add/multiply them into the set of variables we created in step 1. Once we plug and chug through all the additions and multiplications, we get a number. This is the output. At first this number will be random, because we initialized all our variables to random numbers. Measure how far the output is from the expected value corresponding to the given inputs (say, purchase price of the house). This is the error or "loss". In the case of purchase price, we can just subtract the predicted price from the expected price (and then square it, to make the calculus easier).

3) Now, since all we're doing is adding and multiplying, it's very straight-forward to set up a calculus problem that minimizes the error of the output with respect to our variables. The number of multiplication/addition steps doesn't even matter, since we have the chain rule. It turns out this is very powerful: it gives us a procedure to minimize the error of our system of variables (i.e. model), by iteratively "nudging" the variables according to how they affect the "error" of the output. The iterative nudging is what we call "learning". At the end of the procedure, rather than producing random outputs, the model will produce predictions of house prices that correlate with the distribution input square footage, bedrooms, bathrooms, etc. we saw in the training set.

In a sense, ML and AI are really just the next logical step of calculus once we have big data and computational capacity.

Comment · 2 years ago
You don't always want to use them right away.
Comment · 3 years ago
The probability of [HEADS, TAILS] is always the same as the probability of [TAILS, HEADS], no matter how the coin is weighted.
Comment · 3 years ago
You're not testing for "basic math skills" here. What you're testing for is more like "immediately retrieves an irrelevant math fact after many years of having no need to think about it."

Look, if you think this sort of thing allows you to identify great candidates, good for you. But in my experience, not only is this kind of practice stupid on its face, but it leads to engineering orgs packed with people who are good at memorizing trivia but terrible at solving real problems.

Comment · 3 years ago
Having "extremely basic understanding" of prime numbers immediately at one's command is important for approximately 0% of software engineering jobs. If you instant-fail a candidate for this, it says a lot more about you and your organization than the candidate.
Comment · 3 years ago
"There’s a lot of collaboration and spontaneous connection that happens in hallways and kitchenettes."

I've seen this idea repeated many times, but in over 20 years in the tech industry, I've never once seen a meaningful collaboration spring up in a kitchenette or hallway. It's invariably "how was your weekend?" fare. Don't get me wrong, there's value in connecting that way, but it's never the sort of thing that directly leads to any of the productivity gain that the anti-remote crowd would like you to believe.

Comment · 4 years ago
If crypto has an "ethos", it's decentralization and departure from human institutions. The FTX fiasco is the opposite of that.
Comment · 4 years ago
Exchanges and trading firms are not "Crypto". They're human institutions which happen to sit atop cryptocurrency instruments. What we're seeing play out in realtime is what happens when unregulated human institutions come to possess fantastical amounts of wealth -- in short, they go pathological.
Comment · 5 years ago
Yes. Implicit in these "free speech" arguments is the idea that the government should be able to force private companies to publish user content that violates their policies. This is the sort of thing that the 1st Amendment is actually supposed to protect us from.
Comment · 6 years ago
I've been doing this for a long time, and I've never seen any kind of correlation between how well someone solves silly algorithm puzzles in a 45 minute window and any kind of real-world performance. Also, there's no apparent a prior reason why this would be the case. It might be that the way performance rating is done at Google is constructed so as to be correlated with silly brain teaser performance.
Comment · 6 years ago
I've worked remotely for almost a decade on my own. It works.
Comment · 7 years ago
I'm guessing he's relying on common knowledge of variance here. If you know that variance is always nonnegative, and you also know that variance can be defined as (mean square - square of the mean), then it's obvious.
Comment · 7 years ago
That 90%+ of the hiring signal can be projected onto "hours spent on leetcode" is exactly why this process has become a parody of itself.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton