Jeremy Côté

Bits, ink, particles, and words.

Timing

The best way to speed up your code is to figure out which parts are running the slowest.

If you spend two hours halving the speed of part A in your code, but part A only takes up two seconds of a minute computation, you’ve shaved off one second. On the other hand, if you spend a few hours halving part B which contributes to the other fifty-eight seconds, then your computation time is only 31 seconds now, almost a 2x improvement.

This is why saying, “My code sure is running slow” is true, but useless.

Continue reading ⟶

The Journey to Completion

As a scientist, the usual “proof of work” is the paper1, a small artifact that encapsulates the essence of a problem and its resolution (or at least, progress the scientist makes). But the process of going from an initial idea to a finished paper is less clear for outsiders.

My goal here is to shed some light on the topic of projects, and all the work that goes into a paper. This is similar in spirit to how writers have gaps in between books in a series. Between publications dates, they need to plan, write, and edit their next book! It’s a lot of work, and makes for the long period between when a writer begins working on a book and when it goes out on shelves.

  1. I’m not necessarily a fan of having this be the unit of work that scientists judge each other by, but that’s another essay. 

Continue reading ⟶

The Language of Science

When communicating a new idea to someone, use the language they’re familiar with.

Seems reasonable, but as soon as you go out into the world, you see plenty of examples where this doesn’t happen. In this essay, I want to describe what happens when we commit this error in the realm of science.

Grab a physicist, and force them to sit through a mathematics seminar. Assuming they know the basics of the topic to follow the equations, I bet they will tell you, “I don’t know what this person was going on about! The way they presented things was just…weird.”

Continue reading ⟶

Good Questions

I’ve been thinking a lot about how I present my work. When a family member or friend asks what I do, the interaction tends to look like this:

Them: “So, what do you do?”

Me, looking away and mumbling: “Research.”

A long pause, and then them: “Teacher?”

Wrong, but close enough. “Sure, in a way.”

But I’m a scientist, not just a teacher. Working on puzzles is what I do. So I want to take a crack at describing what I do, and what I don’t do.

Continue reading ⟶