I’m a PhD student at University Grenoble Alpes. In this blog you’ll find some of my thoughts on topic that interest me, as well as some guides and reviews of the tools I use in my daily activities.
An unexpected return to blogging
The third year of my PhD is arriving at it’s end and now all my forces are focused on the final manuscript writing, alongside with several side projects (done in collaboration with other PhD students). My experience of updating the blog on everyday basis at the start of February 2022 was more distracting from the work than I though, although it helped to keep the writing-oriented state of mind. This time, in order to boost my writing productivity I’ll attempt to return here more often with work related and personal updates.
By Nikita Gusarov
read moreCoreboot update
It seems that I’ve taken quite a long time since the last post to return here. Such a long pause is mainly explained by my work on the thesis and participation in the Discrete Choice Analysis (DCA) school organised at EPFL. Probably I should make some posts with a more academic content, but it’s something for future projects.
Today I wanted to document the procedure for updating a Coreboot firmware on my X220. To give some context I should say that after I bought the laptop the summer of 2021, I nearly immediately swapped the proprietary Lenovo BIOS for the Coreboot. At that time it was done mostly for testing purposes, but as it worked pretty fine I started to use the X220 as my main laptop. Now I’ve decided to explore the procedure a little more.
By Nikita Gusarov
read moreMetaprogramming in R
While reworking the DCE Simulation package for my Thesis, I’ve discovered one more interesting topic to speak about. We have already seen how to create a package, write documentation and implement OOP in R. Now it comes the time of Metaprogramming. But don’t be afraid of this unfamiliar term, we are going to see that the concepts behind it are fairly simple.
Most of the materials presented are adopted from this mazing book about advanced R. My task here is mostly the vulgarisation of the material.
By Nikita Gusarov
read morePinephone daily driving
I’ve decided to break my streak of posts about R programming language, to write something more personal. This autumn, I’ve got a Pinephone for my birthday to tinker with and which had some software issues present at that time. About the same time I’ve deGoogled another old home to use with Lineage OS. So it was only in December that I managed to switch over to using my Pinephone for some time.
By Nikita Gusarov
read moreOOP in R
In previous publications we have seen how to create a package with R: (1) the project’s structure generation, (2) the unit tests and their automation and (3) the documentation management. Now its time to dive deeper into programming with R. Today we are going to explore how one can use Object Oriented Programming (OOP) paradigm in R.
There exist multiple object types and programming conventions, each with a particular idea behind it. In this post we are going to explore their differences and see when each of them is more appropriate.
By Nikita Gusarov
read morePackage documentation in R
Previously we have seen how to create a package: how to structure your code, what files to include and how to test your code.
The next step in package creation is the documentation.
We have spoken about its existence, but only briefly.
Now we have some more time to describe the documentation mantainace procedure more in detail.
For this we are going to use the roxygen2 package, which is included in devtool suite.
By Nikita Gusarov
read more