<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>gh on Maëlle Salmon&#39;s personal website</title>
    <link>https://masalmon.eu/tags/gh/</link>
    <description>Recent content in gh on Maëlle Salmon&#39;s personal website</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>Licence: &lt;a href=&#34;https://creativecommons.org/licenses/by-sa/2.0/&#34;&gt;CC BY-SA&lt;/a&gt;</copyright>
    <lastBuildDate>Sat, 15 Dec 2018 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="https://masalmon.eu/tags/gh/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Advent of Code: Most Popular Languages</title>
      <link>https://masalmon.eu/2018/12/15/adventofcode/</link>
      <pubDate>Sat, 15 Dec 2018 00:00:00 +0000</pubDate>
      
      <guid>https://masalmon.eu/2018/12/15/adventofcode/</guid>
      <description>&lt;p&gt;You might have heard of the &lt;a href=&#34;https://adventofcode.com/&#34;&gt;Advent of Code&lt;/a&gt;,
a 25-day challenge involving a programming puzzle a day, to be solved
with the language of your choice. I’ve noted the popularity of this
activity in my Twitter timeline but also in my GitHub timeline where
I’ve seen the creation of a few &lt;code&gt;advent-of-code&lt;/code&gt; or so repositories.&lt;/p&gt;
&lt;blockquote class=&#34;twitter-tweet&#34; data-dnt=&#34;true&#34;&gt;&lt;p lang=&#34;en&#34; dir=&#34;ltr&#34;&gt;AoC is largely an exercise in figuring how to write your favourite language as if were C or C++ 😁, which can be fun ... in moderation&lt;/p&gt;&amp;mdash; Jenny Bryan (@JennyBryan) &lt;a href=&#34;https://twitter.com/JennyBryan/status/1072724282705203201?ref_src=twsrc%5Etfw&#34;&gt;December 12, 2018&lt;/a&gt;&lt;/blockquote&gt;
&lt;script async src=&#34;https://platform.twitter.com/widgets.js&#34; charset=&#34;utf-8&#34;&gt;&lt;/script&gt;


&lt;p&gt;If I were to participate one year, I’d probably use R. Jenny Bryan’s
tweet above inspired me to try and gauge the popularity of languages
used in the Advent of Code. To do that, in this post, I shall use the
search endpoint of GitHub V3 API to identify Advent of Code 2018 repos.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>A tribute to Lucy D&#39;Agostino McGowan&#39;s git commit emoji game</title>
      <link>https://masalmon.eu/2017/05/03/lucysemojis/</link>
      <pubDate>Wed, 03 May 2017 00:00:00 +0000</pubDate>
      
      <guid>https://masalmon.eu/2017/05/03/lucysemojis/</guid>
      <description>&lt;p&gt;Do you know &lt;a href=&#34;https://twitter.com/LucyStats&#34;&gt;Lucy&lt;/a&gt;? She is a very talented biostatistics PhD candidate that I had the chance to e-meet thanks to R-Ladies. One maybe superficial reason to admire her, on top of her other achievements, is her emoji game in git commits. Looking at Lucy&amp;rsquo;s git history (find &lt;a href=&#34;https://github.com/LucyMcGowan&#34;&gt;her on Github&lt;/a&gt;), one wants to start using version control because she makes it look fun!&lt;/p&gt;
&lt;p&gt;In this post, I will download many git commit messages of Lucy&amp;rsquo;s from Github&amp;rsquo;s API via the &lt;code&gt;gh&lt;/code&gt; package, and have a look at the emojis she uses the most frequently.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Sow the seeds, know the seeds</title>
      <link>https://masalmon.eu/2017/04/12/seeds/</link>
      <pubDate>Wed, 12 Apr 2017 00:00:00 +0000</pubDate>
      
      <guid>https://masalmon.eu/2017/04/12/seeds/</guid>
      <description>&lt;p&gt;When you do simulations, for instance in R, e.g. drawing samples from a distribution, it&amp;rsquo;s best to set a random seed via the function &lt;code&gt;set.seed&lt;/code&gt; in order to have reproducible results. The function has no default value. I think I mostly use &lt;code&gt;set.seed(1)&lt;/code&gt;. Last week I received an R script from a colleague in which he used a weird number in &lt;code&gt;set.seed&lt;/code&gt; (maybe a phone number? or maybe he let his fingers type randomly?), which made me curious about the usual seed values. As in my blog post &lt;a href=&#34;https://masalmon.eu/2017/02/21/firstcommit/&#34;&gt;about initial commit messages&lt;/a&gt; I used the Github API via the &lt;a href=&#34;https://github.com/r-pkgs/gh&#34;&gt;&lt;code&gt;gh&lt;/code&gt; package&lt;/a&gt; to get a very rough answer (an answer seedling from the question seed?).&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>First commit or initial commit?</title>
      <link>https://masalmon.eu/2017/02/21/firstcommit/</link>
      <pubDate>Tue, 21 Feb 2017 00:00:00 +0000</pubDate>
      
      <guid>https://masalmon.eu/2017/02/21/firstcommit/</guid>
      <description>&lt;p&gt;When I create a new .git repository, my first commit message tends to be &amp;ldquo;1st commit&amp;rdquo;. I&amp;rsquo;ve been wondering what other people use as initial commit message. Today I used the &lt;a href=&#34;https://github.com/r-pkgs/gh&#34;&gt;&lt;code&gt;gh&lt;/code&gt; package&lt;/a&gt; to get first commits of all repositories of the &lt;a href=&#34;https://github.com/ropensci&#34;&gt;ropensci&lt;/a&gt; and &lt;a href=&#34;https://github.com/ropenscilabs&#34;&gt;ropenscilabs&lt;/a&gt; organizations.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>