<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>free software on Wonderings of a SAT geek</title>
    <link>https://www.msoos.org/tags/free-software/</link>
    <description>Recent content in free software on Wonderings of a SAT geek</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Sun, 18 Oct 2015 18:36:23 +0000</lastBuildDate>
    <atom:link href="https://www.msoos.org/tags/free-software/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CryptoMiniSat: 8000 commits later</title>
      <link>https://www.msoos.org/2015/10/cryptominisat-8000-commits-later/</link>
      <pubDate>Sun, 18 Oct 2015 18:36:23 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=2821</guid> 
      <description>&lt;p&gt;The GitHub &lt;a href=&#34;https://github.com/msoos/cryptominisat&#34;&gt;repository&lt;/a&gt; for CryptoMiniSat just hit 8000 commits. To celebrate this rather weird and crazy fact, let me put together a bit of a history.&lt;/p&gt;
&lt;h2 id=&#34;the-beginnings&#34;&gt;The Beginnings&lt;/h2&gt;
&lt;p&gt;CryptoMiniSat began as a way of trying to prove that a probabilistic cryptographic scheme was not possible to break using SAT solvers. This was the year 2009, and I was working in Grenoble at &lt;a href=&#34;http://www.inria.fr/en/centre/grenoble&#34;&gt;INRIA&lt;/a&gt;. It was a fun time and I was working really hard to prove what I wanted to prove, to the point that I created a probabilistic SAT solver where one could add probability weights to clauses. The propagations and conflict engine would only work if the conflict or propagation was supported by multiple clauses. Thus began a long range of my unpublished work in SAT. This SAT solver, curiously, still works and solves problems quite well. It&amp;rsquo;s a lot of fun, actually &amp;ndash; just add some random clause into the database that bans the only correct solution and the solver will find the correct solution. A bit of a hackery, but hey, it works. Also, it&amp;rsquo;s so much faster than doing that solving with the &amp;ldquo;right&amp;rdquo; systems, it&amp;rsquo;s not even worth comparing.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>The Cathedral</title>
      <link>https://www.msoos.org/2010/11/the-cathedral/</link>
      <pubDate>Sun, 07 Nov 2010 20:09:59 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=514</guid> 
      <description>&lt;figure&gt;&lt;a href=&#34;http://www.flickr.com/photos/paukrus/&#34;&gt;
    &lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/11/cathedral1.jpg&#34;
         alt=&#34;Cathedral of Transfiguration in Habarovsk (picture credit: paukrus)&#34;/&gt; &lt;/a&gt;&lt;figcaption&gt;
            &lt;p&gt;Cathedral of Transfiguration in Habarovsk (picture credit: paukrus)&lt;/p&gt;
        &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;Last week I visited &lt;a href=&#34;http://research.microsoft.com/en-us/labs/cambridge/&#34;&gt;Micosoft Reasearch&lt;/a&gt; in Cambridge, where I gave a &lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/11/soos_microsoft_pres.pdf&#34;&gt;talk&lt;/a&gt; on SAT solvers, Grobner basis algorithms, and Cryptography. It was nice to visit Microsoft, and in particular I enjoyed seeing how &amp;ldquo;the cathedral&amp;rdquo; works. The kind of software development carried out at Microsoft and almost all large software companies is called the cathedral model due to the book &amp;ldquo;&lt;a href=&#34;http://en.wikipedia.org/wiki/The_Mythical_Man-Month&#34;&gt;The Mythical Man-Month&lt;/a&gt;&amp;rdquo;. It&amp;rsquo;s a very interesting book that talks about how software (and in particular, a &amp;ldquo;Programming Systems Product&amp;rdquo;) is developed. All Windows variants, and e.g. the IBM System/360 fall into the category of programming systems products: they are all tested, documented, extensible, have predefined inputs and outputs, come with predefined interfaces, etc. The development of these software is called the cathedral model simply because that&amp;rsquo;s the example the book uses, and it got stuck in the literature.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Configuration management at IRILL days</title>
      <link>https://www.msoos.org/2010/10/configuration-management-at-irill-days/</link>
      <pubDate>Mon, 04 Oct 2010 16:17:42 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=481</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/10/Logotype-IRILL.jpg&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/10/Logotype-IRILL.jpg&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Today I attended the &lt;a href=&#34;http://www.irill.org/events/irill-days-2010&#34;&gt;IRILL days&lt;/a&gt; here in Paris. IRILL&amp;rsquo;s goal is to bring together high level researchers and scientists, FOSS (Free and Open Source) developers, and FOSS industry players to tackle the three fundamental challenges that FOSS poses:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;scientific&lt;/em&gt;: study problems raised by the development and maintenance of FOSS code&lt;/li&gt;
&lt;li&gt;&lt;em&gt;educational&lt;/em&gt;: adapt the teaching curriculum to FOSS&lt;/li&gt;
&lt;li&gt;&lt;em&gt;economic&lt;/em&gt;: help create a sustainable ecosystem for FOSS innovations&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The most interesting part of the conference for me was Debian &lt;a href=&#34;http://www.debian.org/doc/FAQ/ch-pkgtools.en.html&#34;&gt;package dependency management&lt;/a&gt;, which currently is done by a number of ad-hoc algorithms, a problem that the &lt;a href=&#34;http://mancoosi.org/&#34;&gt;Mancoosi Project&lt;/a&gt; is tacking. Essentially, there are a number of program packages that need different libraries and services, and we need to decide which ones we need to install in order to satisfy those dependencies when installing/upgrading a package. This dependency graph and the package to be installed/upgraded is capture in a language called &lt;a href=&#34;http://www.mancoosi.org/cudf/primer/&#34;&gt;CUDF&lt;/a&gt; (complete PDF description &lt;a href=&#34;http://www.mancoosi.org/reports/tr3.pdf&#34;&gt;here&lt;/a&gt;). When deciding which packages to retain,upgrade or install, there are some goals which we must achieve, such as minimising the number of new packages as much a possible: the different optimisation criterias are described &lt;a href=&#34;http://www.mancoosi.org/misc-2010/criteria/&#34;&gt;here&lt;/a&gt;. There is a competition associated with this computationally difficult problem, the &lt;a href=&#34;http://www.mancoosi.org/misc-2010/&#34;&gt;MISC Competition&lt;/a&gt;, which was first conducted this year, during the &lt;a href=&#34;http://www.floc-conference.org/&#34;&gt;FLoC&lt;/a&gt; conference.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Open source software? Free software?</title>
      <link>https://www.msoos.org/2010/09/open-source-software-free-software/</link>
      <pubDate>Thu, 30 Sep 2010 18:40:27 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/?p=472</guid> 
      <description>&lt;p&gt;&lt;a href=&#34;http://www.nuxeo.com/en/about/events/owf2010&#34;&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://www.msoos.org/wordpress/wp-content/uploads/2010/09/owf2010.jpg&#34;&gt;&lt;/a&gt; Today I attended the &lt;a href=&#34;http://www.openworldforum.org/&#34;&gt;Open World Forum&lt;/a&gt; conference here in Paris. Basically, it&amp;rsquo;s a business-oriented conference to do networking for folks in the free/open source industry. Some of the panelists were sometimes really boring, such as the &amp;ldquo;French Secretary of State responsible for the Digital Economy&amp;rdquo; who seemed to have deeply confused &amp;ldquo;&lt;a href=&#34;http://en.wikipedia.org/wiki/Free_software&#34;&gt;free as in speech&lt;/a&gt;&amp;rdquo; and &amp;ldquo;&lt;a href=&#34;http://en.wikipedia.org/wiki/Open_source_software&#34;&gt;open source&lt;/a&gt;&amp;rdquo; software &amp;ndash; a &lt;em&gt;grave&lt;/em&gt; mistake by my book. The panelist, who knew the difference of course, regularly overemphasised the use of &amp;ldquo;open source&amp;rdquo; software, but the notion of &amp;ldquo;free as in speech&amp;rdquo; was lost, and mentioned rarely, with the notable exception of the &lt;a href=&#34;http://www.redhat.com/&#34;&gt;Red Hat&lt;/a&gt; folks. With the release of CryptoMiniSat, which I explicitly released under a free software licence, &lt;a href=&#34;http://www.gnu.org/licenses/gpl.html&#34;&gt;GPLv3&lt;/a&gt;, I of course disagreed.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Creating a SAT solver from scratch</title>
      <link>https://www.msoos.org/2010/09/creating-a-sat-solver-from-scratch/</link>
      <pubDate>Sun, 05 Sep 2010 16:53:28 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=348</guid> 
      <description>&lt;p&gt;I have lately been having a small chat with &lt;a href=&#34;http://www.spirtech.com/fgr/index.htm&#34;&gt;Francois Grieu&lt;/a&gt; and it inspired me to think about how difficult it would be to create a new SAT solver from scratch. Let&amp;rsquo;s take it for granted that the person who embarks on such a difficult task understands the basics well, and wishes to create a (nowadays very popular) Conflict-Driven Clause-Learning (or simply, CDCL) type SAT solver. The main parts of  these solvers are:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tools that I often use</title>
      <link>https://www.msoos.org/2010/04/tools-that-i-use-often/</link>
      <pubDate>Mon, 19 Apr 2010 20:23:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=27</guid> 
      <description>&lt;p&gt;I used to use &lt;a href=&#34;http://en.wikipedia.org/wiki/Perl&#34;&gt;Perl&lt;/a&gt; a lot in the old days. Martin Albrecht, through the &lt;a href=&#34;http://www.sagemath.org/&#34;&gt;sage&lt;/a&gt; mathematics software, showed me Python. I first really hated Python. But then, I realised I can simply type away in it, as in C++, but without all the hassle of C++. I saw a little of &lt;a href=&#34;http://en.wikipedia.org/wiki/AWK&#34;&gt;AWK&lt;/a&gt; once, and I got madly in love with it &amp;ndash; when it comes to simple scripts like counting numbers printed by programs, AWK is unbeatable. I use &lt;a href=&#34;http://http//en.wikipedia.org/wiki/Grep&#34;&gt;grep&lt;/a&gt; a lot, and recently I realised how great a combination grep and &lt;a href=&#34;http://en.wikipedia.org/wiki/Wc_%28Unix%29&#34;&gt;wc&lt;/a&gt; (a very dumb utility that counts lines/words) are. For instance, I can simply do: &amp;ldquo;grep &amp;ldquo;s SAT&amp;rdquo; *.output | wc -l&amp;rdquo; to find how many problems have been solved by CryptoMiniSat. I am also finding myself using grep and AWK together to create shell scripts that I run later. For example, I can do: &amp;ldquo;ls *.cnf | awk &amp;lsquo;{print &amp;ldquo;./cryptominisat &amp;quot; $1 &amp;quot; &amp;gt; &amp;quot; $1.output&amp;rdquo; }&amp;rsquo; &amp;gt; script.sh&amp;rdquo; which, when executed, solves all CNF files in the directory, and generates a *.cnf.output file for each, containing the output of CryptoMiniSat. An interesting utility in UNIX is &lt;a href=&#34;http://ss64.com/bash/ulimit.html&#34;&gt;ulimit&lt;/a&gt;, with which can limit the memory and time (and stack, etc.) usage of a process. Putting a &amp;ldquo;ulimit -t 10000&amp;rdquo; at the beginning of our &amp;ldquo;script.sh&amp;rdquo; we can simply limit CryptoMiniSat to 10000 seconds for each instance.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Why do I use Linux?</title>
      <link>https://www.msoos.org/2008/11/why-do-i-use-linux/</link>
      <pubDate>Sat, 01 Nov 2008 13:11:00 +0000</pubDate>
       <guid isPermaLink="false">http://www.msoos.org/wordpress/?p=35</guid> 
      <description>&lt;p&gt;I used to be quite an expert on Windows, I even used to hang out on the #windows-help IRC channel. So why do I use Linux uniquely nowadays?&lt;/p&gt;
&lt;p&gt;First, I tried Linux out of curiosity. What made me interested initially is that I am a control freak: I like to know what happens with my computer. With windows there were always a billion things running in the background, and I had no clue what they were doing. With linux you always know what does what. &amp;ldquo;man programname&amp;rdquo; and you have a complete documentation. This was a real kick for me. I could read these manuals for days, literally. I hate when things &amp;ldquo;just work&amp;rdquo; - I want to know *why?*. Simple curiosity. However, this doesn&amp;rsquo;t explain why I have stuck with Linux for such a long time.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
