<?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: Piotr Słupski</title>
    <description>The latest articles on DEV Community by Piotr Słupski (@piotroxp).</description>
    <link>https://dev.to/piotroxp</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%2F19490%2Fb5bd441e-0a3d-4c91-872f-318c9f2fcad1.jpg</url>
      <title>DEV Community: Piotr Słupski</title>
      <link>https://dev.to/piotroxp</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/piotroxp"/>
    <language>en</language>
    <item>
      <title>Now I'm here - 5 years badge on dev.to. Where were you 5 years ago ? :)</title>
      <dc:creator>Piotr Słupski</dc:creator>
      <pubDate>Fri, 27 May 2022 07:59:35 +0000</pubDate>
      <link>https://dev.to/piotroxp/now-im-here-5-years-badge-on-devto-where-were-you-5-years-ago--23b7</link>
      <guid>https://dev.to/piotroxp/now-im-here-5-years-badge-on-devto-where-were-you-5-years-ago--23b7</guid>
      <description>&lt;h1&gt;
  
  
  What were you doing 5 years ago?
&lt;/h1&gt;

&lt;p&gt;I recently got a notification about my 5 years on dev.to. It hit me really hard, as I was not active here once I switched careers from scientist to software engineer. &lt;/p&gt;

&lt;p&gt;Back then, dev.to was a startup, I was amidst going from being a Technology Wizard at a high tech perovskite solar cell technology company &lt;a href="https://drive.google.com/file/d/1u0FPsoW_9E9BPXbQvPTBJxMLhmf7x7Ei/view?usp=sharing"&gt;towards my own startup, which is kinda in zombie state now - we did invent smart functional materials that can be used for a Black Panther suit, amongst other things&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;Some year later, I was freelancing and looking for a job. 3 and a half years ago, landed my current job. &lt;strong&gt;Now - I'm here.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Whats your story?&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>Going online in 5 minutes with Netlify</title>
      <dc:creator>Piotr Słupski</dc:creator>
      <pubDate>Wed, 31 Oct 2018 10:44:27 +0000</pubDate>
      <link>https://dev.to/piotroxp/going-online-in-5-minutes-with-netlify-3fk5</link>
      <guid>https://dev.to/piotroxp/going-online-in-5-minutes-with-netlify-3fk5</guid>
      <description>&lt;h1&gt;
  
  
  I'm finally &lt;a href="https://piotrslupski.pl"&gt;online&lt;/a&gt; and it took 5 minutes
&lt;/h1&gt;

&lt;p&gt;Yesterday, it turned out that a personal website for my consulting company is a must, in order to apply to various projects in the realm of innovation and actual hard R&amp;amp;D. &lt;/p&gt;

&lt;h2&gt;
  
  
  What I wanted
&lt;/h2&gt;

&lt;p&gt;Sitting in front of the screen, it dawned upon me - it's 2018, and the web has changed. How do I host my own website with minimal effort? I could land an AWS EC2 instance. I could buy a hosting service somewhere, and upload files. There are all sorts of &lt;em&gt;classical&lt;/em&gt; ways of doing things. This time, I wanted to check out the promises of the infrastructure we're all building.&lt;/p&gt;

&lt;h2&gt;
  
  
  I found &lt;a href="https://netlify.com"&gt;Netlify&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;After looking around, &lt;a href="https://www.reddit.com/r/webdev/comments/5m8tr4/how_do_i_host_the_website_i_just_built/"&gt;I stumbled upon this reddit thread&lt;/a&gt; which pointed me to Netlify. &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--J9HROp5F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/b6fp0vkfr4sxuy5dl6z5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--J9HROp5F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/b6fp0vkfr4sxuy5dl6z5.png" alt="Indeed"&gt;&lt;/a&gt; &lt;br&gt;
The &lt;em&gt;deploy your site in seconds&lt;/em&gt; portion of the landing sold me. After registering the account, you need to connect to GitHub and choose a repository for a CI deployment. After that, Netlify let's you use the build command you want.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5W8zEwOe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/qeiy2zir2aocd6gwsoer.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5W8zEwOe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/qeiy2zir2aocd6gwsoer.png" alt="Yes"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can allow netlify to access your account or a specific repository. I chose my personal website repository, which is &lt;a href="https://www.creative-tim.com/product/vue-material-kit"&gt;based on a free Vue.js / Material Design template.&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I also bought a domain from my local provider, &lt;a href="https://home.pl"&gt;home.pl&lt;/a&gt;. After setting the A DNS record in the domain configuration to point to cocky-lichterman, Netlify's deployment, waiting a minute or so, I was up and running with my new personal website, hosted with Netlify.&lt;/p&gt;

&lt;p&gt;Out of the box, you get Continous Integration. After pushing the changes to master, Netlify automatically rebuilds the Vue.js app and deploys to production.&lt;/p&gt;

&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;The combination of Vue.js, Netlify and GitHub seems to work for me since yesterday. &lt;a href="https://www.netlify.com/pricing/"&gt;Netlify is free for personal projects&lt;/a&gt; and right now it seems like the best option for me. I hope you found this post informative! &lt;/p&gt;

</description>
      <category>vue</category>
      <category>netlify</category>
      <category>ci</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Utopia - keep finishing this story. Dev.to writing a dystopia.</title>
      <dc:creator>Piotr Słupski</dc:creator>
      <pubDate>Sun, 14 Oct 2018 12:30:13 +0000</pubDate>
      <link>https://dev.to/piotroxp/utopia---keep-finishing-this-story-devto-writing-a-dystopia-124k</link>
      <guid>https://dev.to/piotroxp/utopia---keep-finishing-this-story-devto-writing-a-dystopia-124k</guid>
      <description>&lt;h1&gt;
  
  
  Hi, finish this story:
&lt;/h1&gt;

&lt;p&gt;Some times, when conciousness hits, one feels the overwhelming weight of one's own gravity. It's like suddenly being under Niagara Falls, sans the water. J has slowly opened his eyes, letting the weight crush him into his bed, feeling every moment of waking up. He noticed what has come up overnight - there was a Terminal just above his bed, so the first thing he saw was a list of tasks for the day. After scrolling through the Feed, J quickly assessed that he was already late, even though he just got up as planned by the System.&lt;/p&gt;

&lt;p&gt;Instead of springing out of bed and doing the 100 pushups, pullups and situps that he usually did, this morning J decided to forgo the benefits of excercise and make himself a cup of coffee. Waking up is never easy, yet coffee is still a thing in 3099, and humans still enjoy the taste. There are no specialties, though.&lt;/p&gt;

&lt;p&gt;There is only One Coffee.&lt;/p&gt;

&lt;p&gt;With a little thought, J ordered a fresh brew - his Feeder prepared the chemistry, heated the solution up to a comfortable 90 degrees, and after a couple moments the delicate smell of freshly roasted and just ground beans filled the Lockup. He quickly grabbed the container and walked outside, taking sips while arriving at the Transport Station. His current work was related to technology, and the reason he felt the gravity stronger today was due to his lack of Performance with the project he was working on. With every sip, J was going through strategies that would stop the endeavour from burning down in flames.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"What's your status, J?"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The ringing of the Overseer was uninterruptible in any way. J had his Connector replaced recently, leaving him with a nice scar behind the left ear. Not everyone does this, but J was always a man of principle - when he was offered this job, he went all in.&lt;/p&gt;

&lt;p&gt;-"Finishing my coffee at S25. When I arrive at S27 I'll be 4 minutes away from the location"&lt;br&gt;
-"Did you prepare for the mission?"&lt;br&gt;
-"I did. As usual."&lt;br&gt;
-"Did you equip the Disruptor?"&lt;br&gt;
-"Indeed. I still don't understand why we need to evaporate this time"&lt;br&gt;
-"That's precisely why we choose you for these projects. Overseer out."&lt;/p&gt;

&lt;p&gt;With the taste of coffee still lingering in his mouth, he grinded his teeth a bit. No one ever told him that part of being a Technology Consultant was evaporation, and he really disgusted himself in the thought of evaporating. This time, however, the case was truly staggering, and several Overseers found it to be of utmost importance. When all the peaceful measures of counteracting adversary technology fail, the one solution that the System overly enjoys is evaporation.&lt;/p&gt;

&lt;p&gt;J never understood why someone wants to live outside of the System. What's better than waking up, already knowing what to do? How easy can life get, when you just get orders directly into your cortex? How enjoyable life is, when you just enjoy the submission? He also never got around to understanding why humans still resist the System. The system was beautiful in it's design, pristine in the concepts.&lt;/p&gt;

&lt;p&gt;The Unison required J to [...]&lt;/p&gt;

&lt;h3&gt;
  
  
  Continue in the comments below and let's see if we can crowdsource a dystopian technological thriller ;P
&lt;/h3&gt;

</description>
      <category>scifi</category>
      <category>story</category>
      <category>art</category>
    </item>
    <item>
      <title>Three Appalling Cases of bad development</title>
      <dc:creator>Piotr Słupski</dc:creator>
      <pubDate>Mon, 26 Feb 2018 11:22:25 +0000</pubDate>
      <link>https://dev.to/piotroxp/three-appalling-cases-of-bad-development--44k</link>
      <guid>https://dev.to/piotroxp/three-appalling-cases-of-bad-development--44k</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--RC_mgtq2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.ssl2buy.com/wiki/wp-content/uploads/2015/12/encryption-vs-hashing.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--RC_mgtq2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.ssl2buy.com/wiki/wp-content/uploads/2015/12/encryption-vs-hashing.png" alt="test" title="brain"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  A base64 in base64 in base64
&lt;/h1&gt;

&lt;p&gt;Recently I've been doing some more web development, which turned to be a lot of fun with modern develoments like &lt;a href="https://developers.google.com/web/progressive-web-apps/"&gt;Progressive Web Apps&lt;/a&gt;, &lt;a href="https://en.wikipedia.org/wiki/Single-page_application"&gt;Single Page Applications&lt;/a&gt;, Vue.js as the latest fad, as well as the tools that enabled me into the modern world of development like npm and composer.&lt;/p&gt;




&lt;h2&gt;
  
  
  How to leave a ticking time bomb
&lt;/h2&gt;

&lt;p&gt;So I was challenged by a friend to debug an application. I can't share the code due to NDA, but I will try to describe it best as I can.&lt;/p&gt;

&lt;p&gt;The website had to do with dealership searches. When the buddy who brought this to the table noticed that PHP was as old as 2004, he contacted me to clear stuff up. &lt;/p&gt;

&lt;p&gt;It turned out, that not only was the server software older than archlinux's Time Machine, but the search bar was shooting direct requests at mysql_* functions. In order to get to the gist of the issues, a specific pattern of base64_encode and decode were used to &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Decode part of hidden instructions&lt;/li&gt;
&lt;li&gt;Encode some other part, while decoding another&lt;/li&gt;
&lt;li&gt;Encode yet antoher part, while decoding the result of the previous computation&lt;/li&gt;
&lt;li&gt;Upon contacting the developer, he said that because we don't have mcrypt installed or running on our PHP7 install, we must've badly installed PHP5. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I gave up after an hour of going endlessly in base64 encoding/decoding, and decided to write better code for future generations. Acting like a little bitch makes you a little bitch - the code was as delicious as a donut filled with nails.&lt;/p&gt;




&lt;h2&gt;
  
  
  How to badly manage your developers
&lt;/h2&gt;

&lt;p&gt;The most interesting thing I came across were managers who "didn't give a fuck about technology". &lt;/p&gt;

&lt;p&gt;This leads to:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Increased time of development ( not taking the necessary duration of development into account before, say, a demo )&lt;/li&gt;
&lt;li&gt;No possibility to delegate ( not understanding tech means not being able to delegate tasks properly, as well as not being able to determine the skills of your coworkers or employees )&lt;/li&gt;
&lt;li&gt;No safety net - technical responsibility will fall only on the tech people, while the manager can proudly say "you were JUST supposed to add LinkedIn integration".&lt;/li&gt;
&lt;li&gt;Lack of trust in the cooperation as a whole.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Hire technical managers. It's easier for technical people to learn fast. &lt;/p&gt;

&lt;p&gt;Your lack of mathematical and logical prowess is not an excuse while doing technological projects. Tech Culture is lacking - work on it.&lt;/p&gt;




&lt;h3&gt;
  
  
  Never ending starts
&lt;/h3&gt;

&lt;p&gt;The last most inconvienient issue I have is the constant feeling of "building anew". Most devs and business persons expect that their groundbreaking idea is just around the corner, you just have to take this and that and voila, then you just add this and that, and boom, we're already on Ibiza, whilst in fact its raining outside and your life is still shit.&lt;/p&gt;

&lt;p&gt;Development and research require TIME. Especially, development requires time. As with any human activity, we find the first possible pattern to deal with, measure the outcomes and optimize the operational pattern. &lt;/p&gt;

&lt;p&gt;In order to become good at something (for instance, developing applications), one must develop applications. In order to build a product, you need people who no longer need to prove themselves in development - they get shit done without losing precious time.&lt;/p&gt;

&lt;p&gt;Instead, most people just talk, without putting in the singe-daily-step-forward (SDSF) needed to achieve the goal. It's persistency that delivers apps, not inspiration. Inspiration is needed to map that first pattern, then reiterating over your model kicks in.&lt;/p&gt;




&lt;p&gt;This is my first dev.to, I hope you enjoyed it. Thanks for reading!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
