Messaggi di Rogue Scholar

language
Pubblicato in quantixed

A colleague sent me a coding challenge. This is a short post to describe how I tackled it. Edit: a follow-up post is here. This is the challenge: With an eye on b, and since I code fastest in Igor, I went with Igor over python or R. I knew this would lose me major points for c since Igor code is not very compact. It took me 22 minutes to write a solution, slowed down a bit by helping a small person with their homework.

Pubblicato in quantixed

Some journals sound like they should be bands. Whereas some journal titles ARE in fact the same as band names. I wondered… how many journal titles are also band names. Let’s find out! The journals cited in PubMed could be downloaded as a text file from here. This list includes every MEDLINE journal – even defunct ones – as well as non-MEDLINE journals where content is is in PMC. This will do for now, but is obviously limited.

Pubblicato in quantixed

The Retropie project is a wonderful way to play retro games on a Raspberry Pi (see previous post). A number of handheld units are available to make a convincing retro gaming experience. One of these is the Retroflag GPi case, modelled on Nintendo’s Game Boy. It’s possible to order one of these pre-built and even loaded with games, but where is the fun in that? Here is a quick guide to building one.

Pubblicato in quantixed

I have a long-running project Raspberry Pi project to make time-lapse movies of a countryside view (see previous posts). It’s been running for over two years and the results are great. The camera takes images every ten minutes and by assembling movies with different time intervals, you can see seasons change, trees growing or the sun setting and snow melting. The sky is mesmerising to watch.

Pubblicato in quantixed

Reading about someone else’s recovery-after-injury story can be a bit dull. At least that was my conclusion after pressing delete on my story a moment ago. Having spared you the details, the summary is: I got injured. It hurt. It took me a year to recover because I didn’t tackle the recovery properly.

Pubblicato in quantixed

Many running races and events have been cancelled or disrupted due to the pandemic. To fill the void, I’ve been taking on Garmin’s “Challenges”. In Garmin Connect, you can accept a challenge set by Garmin (I think users can challenge each other too). Completion of these challenges gives the user points, which I’ve become somewhat obsessed with.

Pubblicato in quantixed

The IQ Block game is a puzzle where the player must fit eight shapes into a square space. The challenge is to find as many ways as possible to do it. The box says there are more than 40 solutions! So how many are there? I wrote a solver to crack the IQ Block game. The code is available here and a detailed description is at the end of the post. The solver found 264 solutions from 33 placements.

Pubblicato in quantixed

I have a long-running project to make timelapse movies using a Raspberry Pi Zero with camera module. I’m capturing a countryside view and have images for two years. The uptime on the Pi is seriously impressive, but nonetheless I wanted to upgrade the Pi so that it would send me updates of how it’s going, so that I would know if it image capture had failed. Here is my solution.

Pubblicato in quantixed

One of several features that Strava put behind a paywall was the ability to compare performance on similar courses. I miss this comparison tool and wondered how hard it would be to code my own. This post is a walkthrough of how I approached the problem. The code is available here. It uses the trackeR library in R to convert the GPX tracks to a huge dataframe. This is then processed by IgorPro.

Pubblicato in lab.sub - Articles

In our University - and also our Data-Center GWDG we use Open-Source Software whenever it is possible. So, instead of using proprietary Video Conferencing Services, such as Zoom, Google Meet or Microsoft Teams / Skype, the GWDG provided us a reliable Big Blue Button Service. This Software is - compared to the proprietary solutions mentioned above - limited in its functionality, especially the fun part!