There are a few one-liners that I use in the shell to do some really nifty stuff. I struggle to quickly find and reuse these and asked for a solution on Mastodon.
There are a few one-liners that I use in the shell to do some really nifty stuff. I struggle to quickly find and reuse these and asked for a solution on Mastodon.
2022 was my best year for running to date. In 2021, my goal was to run 2021 km. For 2022, I wanted to see if I could run 2500 km and also to run 50 HM-or-more distance runs. I managed both and ended the year on a total of 2734 km. I also bagged two PBs for half marathon. Of course, if you subscribe to Strava or VeloViewer or whatever, you can get a nice data visualisation of your year in running.
Another post looking at Twitter data in R. It follows this one and this one. I wanted to look again at my tweeting frequency over the 12 years on Twitter, but this time do it in a calendar view. Something like a GitHub commit calendar would be perfect. I have used a library for this in the past.
Another post about my time on Twitter. I will post the code in a separate post so that the R-bloggers don’t syndicate this one, which is about music . In my time on Twitter I occasionally posted about what I was listening to. I did this with a #NowPlaying hashtag. I wanted to preserve these tweets – and they can all be found below.
Please consider this a “supplementary analysis” to my previous post looking at the frequency of tweets from my personal account over the last 12 years. I was curious about what times I was active on Twitter (measured by when I tweeted). Others might be interested in a solution to look at this in R. The code As in the previous post, we need to get the data into R and then make sure we have a date object to work with.
At the time of writing, I have essentially left Twitter. It was a fun ride and without going into what’s happening there now, this is a good opportunity to look at my 12 years on the platform. Early in November, I downloaded my data and locked my Twitter account. This gave me all the data I needed. Using R, a few nifty libraries and the tweets.js file that was part of the download, I could gain quite a lot of insight.
There’s plenty of guides to getting going on Mastodon, aimed at people leaving Twitter. I just wanted to post a couple of technical points about making the switch that might be of interest to people who maintain webpages with Twitter content (feeds, embeds). Mastodon status updates (feed/timeline) Twitter provided a widget that meant that an account’s timeline could be embedded on a website.
There are lots of ways for runners and cyclists to analyse training data. A key question most fitness enthusiasts want to know is “how am I doing?”. “How you are doing” is referred to as form . Unsurprisingly, form can be estimated in many ways. One method is using training stress scores (acute training load and chronic training load) to assess form as training stress balance.
By 30th September 2022, I had clocked up a total of over 2000 km of running in 2022. This milestone was a good opportunity to look at how I got to this point. The code is shown below. First, we can make a histogram to look at the distance of runs. From this type of plot it’s clear that my runs this year consist of a lot of 4-5 km runs and then a chunk of 21 km plus.
Here is a summary of the info I gleaned from asking for recommendations for the best human cell line. These were my criteria: For context, we currently use a number of human cell lines in the lab: HeLa, RPE1, HCT116, SKOV3; as well as many others in the past: HEK293, DLD-1, U2OS. I consider HeLa to be the almost perfect cell line.