<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Julia on blog.nath.page</title>
    <link>https://blog.nath.page/tags/julia/</link>
    <description>Recent content in Julia on blog.nath.page</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 25 Aug 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.nath.page/tags/julia/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>SDS Project Configuration 4 - DuckDB</title>
      <link>https://blog.nath.page/posts/sds4/</link>
      <pubDate>Tue, 25 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://blog.nath.page/posts/sds4/</guid>
      <description>&lt;h2 id=&#34;needed-some-sql&#34;&gt;Needed Some SQL&lt;/h2&gt;
&lt;p&gt;Ran into a minor hiccup while performing some exploratory data analysis. The type of my columns was wrong. This is the kind of thing I want fixed before Python, R, or Julia touch the dataset. This is the kind of thing that would be suited for SQL.&lt;/p&gt;
&lt;p&gt;I have used MySQL for a different task that involves frequent updating. DuckDB is more suited for static data analysis. That ended up driving the choice of DuckDB. The CLI outputs are excellent. There are integrations available for Python, R, and Julia.&lt;/p&gt;</description>
    </item>
    <item>
      <title>SDS Project Configuration 3 - Setting Environments Within Notebooks</title>
      <link>https://blog.nath.page/posts/sds3/</link>
      <pubDate>Mon, 24 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://blog.nath.page/posts/sds3/</guid>
      <description>&lt;p&gt;The setup shown in &lt;a href=&#34;https://blog.nath.page/posts/sds2/&#34;&gt;SDS Project Configuration 2&lt;/a&gt; involved opening the org file and running the &lt;code&gt;my/sds...&lt;/code&gt; functions. The order mattered. I frequently found myself defaulting to the wrong environment. Also operating from a different folder was causing issues.&lt;/p&gt;
&lt;p&gt;It is demanding to remember that there exists a function outside that needs to be run for the notebook to work properly. With this update, I have eliminated the need to invoke those functions. This has added some extra lines in the org file itself, but all these are in the relevant notebook files. So while this is extra work during writing, there is less to remember while executing the notebooks.&lt;/p&gt;</description>
    </item>
    <item>
      <title>SDS Project Configuration 2 - Making Sessions Work</title>
      <link>https://blog.nath.page/posts/sds2/</link>
      <pubDate>Sun, 23 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://blog.nath.page/posts/sds2/</guid>
      <description>&lt;p&gt;This is continued from &lt;a href=&#34;https://blog.nath.page/posts/sds1/&#34;&gt;SDS Project Setup&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Earlier, all the three languages were working together, but the values did not transfer across code blocks. For the different blocks to be able to communicate with each other, the language needs to run in the same session. Setting this up for Python and R was straightforward, but Julia had me stuck for a long time.&lt;/p&gt;
&lt;p&gt;The dataset used below is available at &lt;a href=&#34;https://raw.githubusercontent.com/allisonhorst/palmerpenguins/main/inst/extdata/penguins.csv&#34;&gt;Allison Horst&amp;rsquo;s page&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>SDS Project Configuration 1 - Setup</title>
      <link>https://blog.nath.page/posts/sds1/</link>
      <pubDate>Sat, 22 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://blog.nath.page/posts/sds1/</guid>
      <description>&lt;p&gt;Now that I have LaTeX and computations working in Emacs Org Mode (see &lt;a href=&#34;https://blog.nath.page/posts/emacs3/&#34;&gt;LaTeX with Emacs&lt;/a&gt; and &lt;a href=&#34;https://blog.nath.page/posts/emacs4/&#34;&gt;Setting Up Computational Notebook in Emacs&lt;/a&gt;), it is time to create an entire Statistics and Data Science Project covering a variety of topics. This note shall document the setup process.&lt;/p&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.nath.page/posts/emacs2/&#34;&gt;Basic Emacs Configurations&lt;/a&gt;. Note Git (Magit), Org Mode, Org Babel, Vterm, and the programming languages are properly configured.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.nath.page/posts/emacs3/&#34;&gt;Emacs + LaTeX Configuration&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.nath.page/posts/emacs4/&#34;&gt;Emacs + (Python + R + Julia)&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;project-structure&#34;&gt;Project Structure&lt;/h2&gt;
&lt;p&gt;Create the essential folders and files inside the appropriate directory.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Setting Up Computational Notebook Functionality in Emacs Org Mode</title>
      <link>https://blog.nath.page/posts/emacs4/</link>
      <pubDate>Fri, 21 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://blog.nath.page/posts/emacs4/</guid>
      <description>&lt;p&gt;In the equations rendering challenge described in &lt;a href=&#34;https://blog.nath.page/posts/emacs3/&#34;&gt;LaTeX With Emacs&lt;/a&gt;, &lt;code&gt;org-fragtog&lt;/code&gt; came to the rescue, finally providing something to toggle between mathematical symbols and LaTeX code. But a computational notebook needs more than just mathematical equations rendered properly. It needs to be able to display and run code. Specifically, in my case, it needs to be able to run Python, R, and Julia.&lt;/p&gt;
&lt;h2 id=&#34;code-blocks&#34;&gt;Code Blocks&lt;/h2&gt;
&lt;p&gt;In Org Mode, &lt;code&gt;#begin_src language ..... #end_src&lt;/code&gt; allows for code to be written and displayed correctly. For example:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
