<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>ruby &amp;mdash; Thoughts from a serf</title>
    <link>https://blog.durehed.se/tag:ruby</link>
    <description>Working in tech. Writing on different matters. Sometimes in Swedish other times in English.</description>
    <pubDate>Tue, 14 Apr 2026 08:38:20 +0000</pubDate>
    <item>
      <title>An update on my project</title>
      <link>https://blog.durehed.se/an-update-on-my-project</link>
      <description>&lt;![CDATA[I&#39;ve started to build on my project during my vacation. And even though I have not made a lot of progress in terms of getting something up and running for show I have made progress on a personal level.&#xA;&#xA;It has been a long time, plus 8 years, since I did anything remotely web-based and development-like. I&#39;m not a developer and so I&#39;ve had to find a CSS framework to use, because I&#39;m can&#39;t cope with doing anything in CSS from scratch. &#xA;&#xA;I found Bulma which I chose for two reasons. The license (MIT) and the fact that I found that it was quite easy to get my head around. Also, a bonus is that it is not a project from Google or any such big player.&#xA;Another benefit is that it is only CSS and quite a large community.&#xA;&#xA;Also, somebody have made a Gem to make it very easy to install with a Ruby on Rails application. Which I managed. &#xA;&#xA;And that is kind of the progress I have made. Getting myself accustom to the Rails ecosystem, to web development with CSS and such, and so on.&#xA;&#xA;I have also made progress in finding resources where I can get data about prices for electricity in the EU and so on. I also managed to import a CSV that I had exported from my solar power system.&#xA;&#xA;And finally I also found a charting Gem, ChartKick that uses Chart.js so that I can start building nice graphs rather effortless with Rails.&#xA;&#xA;Just being able to create a layout, data imports and showing a table with the imported data is quite powerful. This I managed in about 4-8 hours over the course of a week. Generally I can tinker early in the morning or when my children are tired and just wanna watch TV.&#xA;&#xA;But perhaps most important I have now some idea of how I can build my app. I have decided to create a micro service that is responsible for fetching electricity prices. I will probably not do that right away, but I think that my app will be much easier to maintain with a simple API request to my own creation managed in a separate repository. On reason is also that one does not have more than 400 requests per hour to the API at Entsoe. So I will store the results in my backend and let my app be able to fetch the data when needed. This way I can control limitations better I reckon.&#xA;&#xA;In general I find that Ruby fits me. I think it really fits me, not much code has to be written to perform quite large tasks. And with the Rails framework you get so much done. If I had been working with web development for ages I might have had a different take on this. Perhaps I would have more objections to how things are done in Rails. But for me the opinionated approach of using a framework that pushes or nudges you in the right directions suits me. &#xA;&#xA;I hope I will be able to get a working demo of what I want to achieve in a 1.0 version of the application in like two or three months time. &#xA;&#xA;#ruby #rubyonrails #buildinganapp&#xA;&#xA;Joakim Durehed&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>I&#39;ve started to build on my project during my vacation. And even though I have not made a lot of progress in terms of getting something up and running for show I have made progress on a personal level.</p>

<p>It has been a long time, plus 8 years, since I did anything remotely web-based and development-like. I&#39;m not a developer and so I&#39;ve had to find a CSS framework to use, because I&#39;m can&#39;t cope with doing anything in CSS from scratch.</p>

<p>I found <a href="https://bulma.io">Bulma</a> which I chose for two reasons. The license (MIT) and the fact that I found that it was quite easy to get my head around. Also, a bonus is that it is not a project from Google or any such big player.
Another benefit is that it is only CSS and quite a large community.</p>

<p>Also, somebody have made a <a href="https://github.com/joshuajansen/bulma-rails">Gem</a> to make it very easy to install with a Ruby on Rails application. Which I managed.</p>

<p>And that is kind of the progress I have made. Getting myself accustom to the Rails ecosystem, to web development with CSS and such, and so on.</p>

<p>I have also made progress in finding resources where I can get data about prices for electricity in the EU and so on. I also managed to import a CSV that I had exported from my solar power system.</p>

<p>And finally I also found a charting Gem, <a href="https://chartkick.com/">ChartKick</a> that uses <a href="https://www.chartjs.org/">Chart.js</a> so that I can start building nice graphs rather effortless with Rails.</p>

<p>Just being able to create a layout, data imports and showing a table with the imported data is quite powerful. This I managed in about 4-8 hours over the course of a week. Generally I can tinker early in the morning or when my children are tired and just wanna watch TV.</p>

<p>But perhaps most important I have now some idea of how I can build my app. I have decided to create a micro service that is responsible for fetching electricity prices. I will probably not do that right away, but I think that my app will be much easier to maintain with a simple API request to my own creation managed in a separate repository. On reason is also that one does not have more than 400 requests per hour to the API at <a href="https://transparency.entsoe.eu/">Entsoe</a>. So I will store the results in my backend and let my app be able to fetch the data when needed. This way I can control limitations better I reckon.</p>

<p>In general I find that Ruby fits me. I think it really fits me, not much code has to be written to perform quite large tasks. And with the Rails framework you get so much done. If I had been working with web development for ages I might have had a different take on this. Perhaps I would have more objections to how things are done in Rails. But for me the opinionated approach of using a framework that pushes or nudges you in the right directions suits me.</p>

<p>I hope I will be able to get a working demo of what I want to achieve in a 1.0 version of the application in like two or three months time.</p>

<p><a href="https://blog.durehed.se/tag:ruby" class="hashtag"><span>#</span><span class="p-category">ruby</span></a> <a href="https://blog.durehed.se/tag:rubyonrails" class="hashtag"><span>#</span><span class="p-category">rubyonrails</span></a> <a href="https://blog.durehed.se/tag:buildinganapp" class="hashtag"><span>#</span><span class="p-category">buildinganapp</span></a></p>

<p>Joakim Durehed</p>
]]></content:encoded>
      <guid>https://blog.durehed.se/an-update-on-my-project</guid>
      <pubDate>Sat, 20 Jul 2024 14:53:51 +0000</pubDate>
    </item>
  </channel>
</rss>