Images as x-axis labels (updated)

They say “if you want to find an answer on the internet, just present a wrong one as fact. Then wait.“ It didn’t take long, actually. Despite my searches while trying to get images into x-axis labels it seems I overlooked a working, significantly less hacky implementation. My … Continue reading

Images as x-axis labels (updated)

They say "if you want to find an answer on the internet, just present a wrong one as fact. Then wait." It didn't take long, actually. Despite my searches while trying to get images into x-axis labels it seems I overlooked a working, significantly less hacky implementation. My Google-fu had in fact … Continue reading

Images as x-axis labels

Open-source software is awesome. If I found that a piece of closed-source software was missing a feature that I wanted, well, bad luck. I probably couldn’t even tell if was actually missing or if I just didn’t know about it. When the source is available, maintained, and documented … Continue reading

Images as x-axis labels

Open-source software is awesome. If I found that a piece of closed-source software was missing a feature that I wanted, well, bad luck. I probably couldn't even tell if was actually missing or if I just didn't know about it. When the source is available, maintained, and documented however, things … Continue reading

Bad Neighbours (no, not the movie)

Another day, another compulsion to see if I can do any better than someone's solution. This one also comes from the FiveThiryEight Puzzler challenge courtesy of Xi'an The original challenge this time was The misanthropes are coming. Suppose there is a row of some number, N, of houses in a new, … Continue reading

Bad Neighbours (no, not the movie)

Another day, another compulsion to see if I can do any better than someone’s solution. This one also comes from the FiveThiryEight Puzzler challenge courtesy of Xi’an The original challenge this time was The misanthropes are coming. Suppose there is a row of some number, N, of houses … Continue reading

Solving Inequality (the math kind)

This neat approach showed up recently as an answer to a FiveThirtyEight puzzle and of course I couldn’t help but throw it at dplyr as soon as I could. Turns out that’s not a terrible idea. The question posed is optimise 200a + 100b + 50c + 25d under the constraints 400a + 400b + 150c + … Continue reading

Solving Inequality (the math kind)

This neat approach showed up recently as an answer to a FiveThirtyEight puzzle and of course I couldn't help but throw it at dplyr as soon as I could. Turns out that's not a terrible idea. The question posed is optimise 200a + 100b + 50c + 25d under the constraints 400a + 400b + 150c + 50d ≤ … Continue reading