<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: kateleext</title>
    <description>The latest articles on DEV Community by kateleext (@kateleext).</description>
    <link>https://dev.to/kateleext</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F630137%2F8333da2a-3360-4d9c-949b-159669fc1e8d.png</url>
      <title>DEV Community: kateleext</title>
      <link>https://dev.to/kateleext</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kateleext"/>
    <language>en</language>
    <item>
      <title>You don't have to scaffold it all!</title>
      <dc:creator>kateleext</dc:creator>
      <pubDate>Sun, 06 Apr 2025 04:40:03 +0000</pubDate>
      <link>https://dev.to/kateleext/you-dont-have-to-scaffold-it-all-2n9j</link>
      <guid>https://dev.to/kateleext/you-dont-have-to-scaffold-it-all-2n9j</guid>
      <description>&lt;p&gt;I always sensed that not all of the views/controllers generated via scaffold would end up being used, and that it would be a headache to clean up later on. &lt;/p&gt;

&lt;p&gt;Of course, I just learned that there's a distinction between models you want to scaffold vs. those that you don't — and in fact, if you scaffold models that don't need all the RCAVs, you might introduce security holes.&lt;/p&gt;

&lt;p&gt;Duh!&lt;/p&gt;

</description>
      <category>software</category>
      <category>security</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Mom's Blood Sugar Log</title>
      <dc:creator>kateleext</dc:creator>
      <pubDate>Wed, 12 May 2021 15:44:34 +0000</pubDate>
      <link>https://dev.to/kateleext/mom-s-blood-sugar-log-3107</link>
      <guid>https://dev.to/kateleext/mom-s-blood-sugar-log-3107</guid>
      <description>&lt;p&gt;Last week, I signed up for Codecademy out of a sudden nudge. I didn't expect to be building anything remotely useful that soon, yet a short 5 days later, I ended up with a simple yet functional blood glucose log that I'd always wanted to build for my diabetic mother. Here is my first ever terminal program, built as my portfolio project for Codecademy's CS101 course.&lt;/p&gt;

&lt;p&gt;First, I created a class &lt;code&gt;Records&lt;/code&gt; to contain all the variables that come with a blood glucose record, including the timestamp and conversion calculation from my mom's mg/dL reading to the more widely used mmol/L metric. Class variables such as the start times of different meal periods also allow the data to be automatically tagged across the three meals + midnight instances when my mom gets her dose of insulin.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--J0dIIlAM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sm5exnwpksltmsfxexet.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--J0dIIlAM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sm5exnwpksltmsfxexet.png" alt="the class Records"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The bulk of the program includes three main functionalities, including:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a new log by entering the latest reading&lt;/li&gt;
&lt;li&gt;Retrieve all logs from a given date&lt;/li&gt;
&lt;li&gt;Calculate the 2-week average reading (that is indicative of overall glucose levels) &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The records are all stored in a .csv file that could be easily printed for my mom to take to the doctor's office. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xPDvbWaI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5gvlnkm15dxv3gnlqpvk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xPDvbWaI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5gvlnkm15dxv3gnlqpvk.png" alt="3 Main Functionalities"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Last but not least, I put the running program into a loopable &lt;code&gt;script()&lt;/code&gt; that called the functionalities previously defined. With the &lt;code&gt;rerun()&lt;/code&gt; function, my mom can also return to the main menu and check the log after putting in the record.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8IUCAzE8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a38ym9qz7nn6t61cyj0l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8IUCAzE8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a38ym9qz7nn6t61cyj0l.png" alt="Script"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Though the datetime and csv modules took a lot of googling to get around, I am thoroughly pleased with the result of this project. I look forward to learning other languages in the future that will enable me to create a more user-friendly GUI, such that my mom could actually use the application!&lt;/p&gt;

&lt;p&gt;Here's the program running in full:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CR8LDyGn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9tu6lfm5n62tevyttukp.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CR8LDyGn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9tu6lfm5n62tevyttukp.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The code file and version history can be found on &lt;a href="https://github.com/kateleext/blood_log"&gt;https://github.com/kateleext/blood_log&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>python</category>
      <category>codenewbie</category>
      <category>codecademy</category>
    </item>
  </channel>
</rss>
