<?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: Ricardo Rojo</title>
    <description>The latest articles on DEV Community by Ricardo Rojo (@ricardorojor).</description>
    <link>https://dev.to/ricardorojor</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%2F888489%2F6afe9c63-18e1-4ac2-b45a-a3fe9bfbfd5b.jpg</url>
      <title>DEV Community: Ricardo Rojo</title>
      <link>https://dev.to/ricardorojor</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ricardorojor"/>
    <language>en</language>
    <item>
      <title>Maybe i should rebuild it?</title>
      <dc:creator>Ricardo Rojo</dc:creator>
      <pubDate>Thu, 07 Jul 2022 10:45:26 +0000</pubDate>
      <link>https://dev.to/ricardorojor/maybe-i-should-rebuild-it-185n</link>
      <guid>https://dev.to/ricardorojor/maybe-i-should-rebuild-it-185n</guid>
      <description>&lt;p&gt;Two months creating the code and then one day, you wake up in the morning and you think that. Did i rebuild it?. This is the story of how i created &lt;a href="https://contratospublicos.eu" rel="noopener noreferrer"&gt;https://contratospublicos.eu&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The context
&lt;/h2&gt;

&lt;p&gt;Two years ago. Pandemic. Not many job opportunities.&lt;/p&gt;

&lt;p&gt;My options where:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Freelance jobs. Discarded too many people in the same situation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Working for a company. Discarded because companies stopped contracting people due to the uncertainty of the future.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Make an onlyfans account. Discarded because even I wouldn't pay to see myself.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Found the platform for public contracts in Spain. Tried to find programming jobs and saw it was horrrible.&lt;/p&gt;

&lt;p&gt;I decided i was going to make a better version for me to get the better jobs. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fywvgytbdcfva2vazom7h.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fywvgytbdcfva2vazom7h.gif" alt="baby running"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My first mistake
&lt;/h2&gt;

&lt;p&gt;Started programming. The contracts could be found in the website so i created a scrapper to get the Programming jobs. Took me about 2 months to create a scrapper. Create a website and added ElasticSearch to find the contracts.&lt;/p&gt;

&lt;p&gt;Found many problems.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;It could take a lot to get the information. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Since they publish jobs many times a day, you have to keep getting the information all the time. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The contracts don´t have an strict format so sometimes you don´t get the information. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The plattform is not very fast.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Now is working
&lt;/h2&gt;

&lt;p&gt;After 2 months everything seems to work reasonably well. Scraping the info is painful but works. Not all the info is correct but enough for me.&lt;/p&gt;

&lt;p&gt;Yes. Two full months working on this. I have to say that while i was working on it, saw the utility of it and decided to create something for me but also for others. &lt;/p&gt;

&lt;p&gt;I found that this was a real problem and that there are other companies who has portals similar to mine. So i decided to create a SAAS.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4pmcpwh413zf3s7mnnqr.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4pmcpwh413zf3s7mnnqr.gif" alt="Big mistake"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A slap in my face
&lt;/h2&gt;

&lt;p&gt;One day, i discover they have an open data page. Yes, i was so concentrated in how to get the data scraping it that didn´t see that. &lt;/p&gt;

&lt;p&gt;First though. You are stupid.&lt;br&gt;
Second though. You are the most stupid person in the world.&lt;br&gt;
Third though. What do i do now? 3 options&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Throw it all by the toilet&lt;/li&gt;
&lt;li&gt;Keep building what i was building&lt;/li&gt;
&lt;li&gt;Throw it all, loose 2 months of work and do it properly using the open data.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After a week thinking about it (and a little bit depressed, to be honest) i decided to throw it all and start again.&lt;/p&gt;

&lt;p&gt;18 months later i don´t regret what i did. Yes, I lost 2 months of work but now it works great and users keep coming everyday and registering.&lt;/p&gt;

&lt;p&gt;Have you ever done something like this or am I the only lout in here? :)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8hucdb6hgqq03bkev1ir.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8hucdb6hgqq03bkev1ir.gif" alt="Homer"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>productivity</category>
      <category>devjournal</category>
    </item>
  </channel>
</rss>
