<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Code on Janik von Rotz</title>
    <link>https://janikvonrotz.ch/tags/code/</link>
    <description>Recent content in Code on Janik von Rotz</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 11 Jun 2021 19:33:08 +0200</lastBuildDate>
    <atom:link href="https://janikvonrotz.ch/tags/code/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>The value of code</title>
      <link>https://janikvonrotz.ch/2021/06/11/the-value-of-code/</link>
      <pubDate>Fri, 11 Jun 2021 19:33:08 +0200</pubDate>
      <guid>https://janikvonrotz.ch/2021/06/11/the-value-of-code/</guid>
      <description>&lt;p&gt;Being a disciple to the Open Source movement I often have to explain why it is better to make code public than private. Apart from the usual arguments such as &amp;ldquo;access to better security&amp;rdquo;, &amp;ldquo;trust through transparency&amp;rdquo; or &amp;ldquo;the design is the intellectual property&amp;rdquo;, I came up with the argument of true value. Let me explain.&lt;/p&gt;&#xA;&lt;p&gt;Code is collaborative product. Code can complied into a binary and then executed on a computer. If the code is written to solve a problem for one user or organization, it will not be executed very often. If the code can be reused with extensibility in mind by many users and organizations, it will be executed a lot. So which code is more valuable? Is it the private code that will help a company to solve a specific problem or is it the public code that helps multiple companies solving a related problem and has the potential to be improved over time? This could a be question of perspective, but &amp;hellip;&lt;/p&gt;&#xA;&lt;p&gt;The value of code does not depend on the difficulty of the problem it solves, but on how many times it solves a common problem. Computer science has not yet advanced to the point where code does something magical. By making code public it gains the potential to solve a problem multiple times.&lt;/p&gt;&#xA;&lt;p&gt;Note that to run a successful Open Source project, it takes a lot more than making code public. You need people that help building a healthy community, well-written documentations and managing issues.&lt;/p&gt;&#xA;&lt;p&gt;From a business perspective this might be obvious. A problem that is not shared by many is not worth to be solved. In the software industry most of the time one system is built for many people. But do not forget that the value of code still increases if the system is running multiple times for many users.&lt;/p&gt;&#xA;&lt;p&gt;Does this make sense? I am not sure. Help me improve this line of argument in the comment section.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Vagrant - portable development environment</title>
      <link>https://janikvonrotz.ch/2013/07/02/vagrant-portable-development-environment/</link>
      <pubDate>Tue, 02 Jul 2013 11:54:35 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2013/07/02/vagrant-portable-development-environment/</guid>
      <description>&lt;p&gt;Today almost every coder uses git or another vcs and a related service like github for code hosting.&lt;/p&gt;&#xA;&lt;p&gt;As a front end designer twitters bower is the right tool to manage your libary dependencies.&lt;/p&gt;&#xA;&lt;p&gt;And for the backend developer the npm package manager is always on board.&lt;/p&gt;&#xA;&lt;p&gt;Those tools have changed the way of developing websites and webapplication.&lt;/p&gt;&#xA;&lt;p&gt;They&amp;rsquo;ve increased productivity and the flexibilty for your application.&lt;/p&gt;&#xA;&lt;p&gt;So far, there&amp;rsquo;s only one part lagging behind: It&amp;rsquo;s the development environment.&lt;/p&gt;&#xA;&lt;p&gt;And yes, also for this part exists a solution. I&amp;rsquo;m talking about &lt;!-- raw HTML omitted --&gt;vagrant&lt;!-- raw HTML omitted --&gt;&lt;/p&gt;&#xA;&lt;p&gt;It is the lost child in my development workflow, it&amp;rsquo;s the perfect supplement.&lt;/p&gt;&#xA;&lt;p&gt;With vagrant and vm provider of your choice (virtualbox, vmware or amazon so far) you&amp;rsquo;re abble to setup a portable and reproducible development environment. Vargant installs a virtual machine based on virtual appliance, by default vargant syncs your folder with the virtual machines default directory. With this setup you are able to run your code in virtual machine but still code your stuff as it appeals to you on your local host.&lt;/p&gt;&#xA;&lt;p&gt;Well, that looks interesting, where should I start? For newbies the offical documentation should be fine: &lt;!-- raw HTML omitted --&gt;&lt;a href=&#34;https://docs.vagrantup.com/v2/getting-started/index.html&#34;&gt;https://docs.vagrantup.com/v2/getting-started/index.html&lt;/a&gt;&lt;!-- raw HTML omitted --&gt;&lt;/p&gt;&#xA;&lt;p&gt;Follow step by step and you&amp;rsquo;ll run a virtual linux appliance with an apache preinstalled.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
