polyphonicist's comments

polyphonicist | 6 years ago | on: From Tower of Hanoi to Counting Bits (2011)

From the article:

> We will be dealing with arbitrary precision integers (bignums) in the problem, so let us also make a few assumptions:

> Addition or subtraction of an m-bit integer and an n-bit integer (m <= n) takes O(n) time.

> Counting the number of 1-bits in an n-bit integer takes O(n) time.

polyphonicist | 6 years ago | on: From Perl to Pi

Here is the fun bit hidden away in the comments page of this post:

> Randal L. Schwartz said:

> 27 Apr 2008 02:30 AM GMT (#1 of 1 comment)

> Glad you enjoyed that bit. That was Tom's humor on that one. I could never have been that clever. :)

It is heartwarming to see the author of a popular Perl book providing credit for a joke to his co-author in the comments of an early 2000 blog post by an independent blogger.

polyphonicist | 6 years ago | on: Mathematics for the Adventurous Self-Learner

Like other sibling comments, I would also like to know how you have used Anki to transform your career.

I like Anki but I have never been able to figure out how to capture complex and often long business related information in tiny cards.

polyphonicist | 6 years ago | on: Mathematics for the Adventurous Self-Learner

I am going to suggest something that might go against this idea of self-studying math.

Do not do it alone. I mean, it is okay to self-learn mathematics as much as possible but don't let that be the only way to learn. Find a self-study group where you can discuss what you are learning with others.

I think the social-effect can be profound in learning. I realized this when I used to learn calculus on my own. My progress was slow. But when I found a few other people who were also studying calculus, my knowledge and retention grew remarkably. I think the constant discussion and feedback-loop helps.

With round the clock internet connectivity, it is easier to find a self-study group now than ever.

polyphonicist | 6 years ago | on: Show HN: Search code in GitHub repos using regular expressions

Can you provide detailed steps to reproduce? What strings did you search? Two examples of repos that appeared in the results? What is the link to your repo that did not appear in the results?

Details like this would help the OP to track down the exact cause of why it has indexed the forks but not the original repo.

polyphonicist | 6 years ago | on: Inrupt, Tim Berners-Lee's Solid, and Me

> Even if you do hand your pod over to some company, it'll be like letting them host your domain name or manage your cell phone number. If you don't like what they're doing, you can always move your pod -- just like you can take your cell phone number and move to a different carrier. This will give users a lot more power.

The domain name analogy scares me rather than reassures me. Sure, DNS was created in good faith to be as distributed as possible, but is it? There are recent stories that show that individuals do not have as much control on domain names as one would ideally like. See these stories -

- Sinkholed: https://susam.in/blog/sinkholed/ (domain name hijack by German authority by accident)

- The duck tape holding the internet together: https://medium.com/thisiscala/the-duct-tape-holding-the-inte... (loss of control on domain name due to registrar error)

While the idea behind Solid sounds solid but the moment they talk about outsourcing pod hosting to third-party pod hosting providers, I get worried. Would it lead to walled gardens of pods? (Example GMail for emails) Would they add non-standard convenience features to create vendor lock-ins (Example GitHub for Git)? Would they abuse their power due to vendor lock-in (Example Sourceforge for SVN)?

polyphonicist | 6 years ago | on: Should you self-host Google Fonts?

> For example, most people don't consider that the W and the M in your font must look distinctly different, and not just vertical mirrors of each other.

Why isn't relying on default fonts provided by the user's system good enough for that?

polyphonicist | 6 years ago | on: More bosses give four-day workweek a try

I have a regular five-day workweek but to be honest, I work productively only 4 days a week. I find it hard to work productively all 5 days. On the day's I am not working productively, I just pretend to look busy to my manager. It would be nice to formalize this working pattern as a four-day workweek.

Where can I find such four-day workweek jobs?

polyphonicist | 6 years ago | on: Of Modes and Men (2005)

Actual quote from the article for context:

> Modeless: Computer scientists when writing code typically worked in different modes; you might have an insert mode, a delete mode, or a replace mode. You would first select the mode, then select the point on the screen at which the action was to occur, then perform the action. Tesler, in user experiments, proved that modes were confusing for nonscientific users and championed the “modeless” interface.

For non-technical users, sure modeless editing may be better. But for computer scientists, modeful editing may be better. The article mentions modeless editing to be better for no scientific users only, not necessarily for everyone.

polyphonicist | 6 years ago | on: Of Modes and Men (2005)

VSCode has a plug-in for Vim keybindings. Does not emulate Vim entirely but good enough to feel at home. Gives you best of both worlds: IDE-like features of VSCode and ergonomic manipulation of code of Vim.

polyphonicist | 6 years ago | on: How to write the perfect pull request (2015)

> If you share a development branch with someone, then you should prefer merging over rebasing

Your parent comment is suggesting rebase only for pulling latest changes in master into your pull request.

For merging someone's pull request to the team's master, sure use a merge commit.

But if you are working on a pull request and while you are working on it, the team's master gets updated and now you want to base your work on the recent master, by all means, use git rebase. That is what it is meant for, to rebase your work on another work. It's in the name itself.

Right tool for the right job.

polyphonicist | 6 years ago | on: Rust Ghost, Signing Off

Yes. And now this whole code-of-conduct business would probably have these perfectly reasonable greybeards banned from their own projects. Gone are the good old days of open source.

polyphonicist | 6 years ago | on: Learning from Turing’s silver hoard (2016)

Can you elaborate this more? I know about continental drifts and I know they occur at a scale much larger than a tiny box. Does it have any effect on the small scale a tiny box would be buried in if we are not burying the box near fault lines?

polyphonicist | 6 years ago | on: Benford's Law

Came here to say the same thing. Certainly haven't seen such depiction of infinity earlier. But this is a nice way. I am going to use it myself.
page 1