anandoza's comments

anandoza | 4 years ago | on: How to take credit for someone else's work on GitHub

Could someone also write bad code and commit it using someone else's email address in the commit message, thus making the commit link to the other person's Github profile? (Sort of the reverse problem -- "giving blame" instead of "taking credit")

anandoza | 4 years ago | on: Advent of Code 2021

You don't understand how something can sound appealing at first, but then in practice isn't enjoyable?

anandoza | 4 years ago | on: Advent of Code 2021

Well, you can apply the theorem to the problem. Or apply its principles to the problem.

anandoza | 4 years ago | on: Project Euler

Do you know if it's the same people, or just two significant (but possibly disjoint) populations of people?

anandoza | 4 years ago | on: Thoughts on chess improvement, after gaining 600 points in 6 months

Doesn't gaining 600 points mean that you are able to beat the "old you" (or more precisely, people who you used to be even with) with 99% probability? (Or perhaps more meaningfully, you can now beat someone who could beat someone who could beat someone who could beat someone who can beat the old you, all with 80% probability?)

(I made up the exact numbers, but the idea is there.)

That seems like a meaningful interpretation of "600 points" that applies to anyone -- though the difficulty of actually making this improvement definitely varies with your starting rating.

anandoza | 4 years ago | on: Much less than, Much greater than symbols

Yep, this blog post is in the context of using these symbols in mathematics, where this is the only usage of << and >> that I've seen.

I agree that programming languages, it can mean various things, just like < and > mean different things in C++ vs bash vs drawing arrows.

anandoza | 4 years ago | on: Much less than, Much greater than symbols

It seems pretty correct to me (excluding a few things I'm not familiar enough with to evaluate).

Is it possible that you misinterpreted this as a post about << and >> in code rather than their usage in mathematics?

anandoza | 5 years ago | on: 'changeme' is valid base64

> I always thought that it would fail to decode the string since the probability that changeme is actually valid base64 encoding must be very low

I'm a bit confused, I thought any string with only lowercase letters was "valid base64" (more precisely, I thought "valid base64" is equivalent to "string consists only of the 64 special characters we're using to represent digits 0-63").

anandoza | 5 years ago | on: Google Interview Questions Deconstructed: The Knight’s Dialer

Draw a graph with vertices labeled 0 through N, then add edges i->(i+1) and i->(i+2). The answer is the number of paths from 0 to N.

This is still pretty specific to counting paths in the same way the original knight problem is, though.

The other comment is talking about how you represent each state for the recursive function as a vertex, then connect it to its dependencies (basically taking the recursion tree, but merging identical calls).

anandoza | 5 years ago | on: Profitably Unemployed

> People’s general focus on the hose rather than the hole is well demonstrated by the fact that anyone you ask will be able to tell you how much money they make by some unit of time but almost no one will be able to tell you the same in terms of their costs.

I mean, this is just because most people have 1-2 income sources and way more expense sinks, so this is just rhetoric.

page 1