RSSAmplifier

Blog

Domen Kožar

Domen Kožar's thoughts

domenkozar.comRSS feed ↗10 posts

Latest posts

Positive Mindset, Prepare for the Worst

<p>Pessimism has a strange advantage over optimism: it can be wrong and still&#xA;look intelligent.</p>&#xA;<p>If I predict disaster and it happens, I was right. If it does not, I can say&#xA;that vigilance prevented it. The optimist has no such protection. To be&#xA;optimistic is to say what you want, act as if your actions matter, and risk&#xA;looking naïve.</p>&#xA;<p>This makes pessimism hard…

I want extern &#34;fil-c&#34;

<p>Rust&rsquo;s C FFI gives us access to decades of useful software, but the bargain is&#xA;backwards.</p>&#xA;<p>We use Rust to prove memory safety at compile time. Then we cross an <code>unsafe</code>&#xA;boundary and trust the C library to respect a contract that neither language&#xA;can enforce. The legacy code remains the cheap path, while rewriting it is the&#xA;expensive one.</p>&#xA;<p><a…

Cookie Law for Robots

<h2 id='consent-without-choice'><a class='Heading-permalink' href='#consent-without-choice'>Consent without choice</a></h2>&#xA;<p>When a website asks me to accept cookies, I usually click the button before I&#xA;have finished reading it.</p>&#xA;<p>I suspect most people do. When researchers asked participants to join a&#xA;fictitious social network,&#xA;<a…

nixpkgs has a due-process problem

<p>Nixpkgs has a due-process problem.</p>&#xA;<p>A project has a due-process problem when people have real power but the rules&#xA;around it are vague. Nixpkgs committers can merge and close pull requests.&#xA;Reviewers can block them. Teams can remove commit access and decide policy. Yet&#xA;the project does not always say what standard applies, who decides, or how a&#xA;mistake can be…

New laptop - Thinkpad P14s

<p>~4.5 years ago I bought Dell XPS 15. It was a powerhorse without a match for that size/price.</p>&#xA;<p>I must admit that I wasn&rsquo;t happy about it:</p>&#xA;<ul>&#xA;<li>Webcam is positioned below the screen, recording my typing fingers instead of my face.</li>&#xA;<li>Battery getting swollen (and being forced to fly that way wasn&rsquo;t fun), after replacing it happened…

Announcing Cachix - Binary Cache as a Service

<p>In the last 6 years working with <a href='https://nixos.org/nix/'>Nix</a> and mostly in <a href='https://www.enlambda.com/'>last two years full-time</a>,&#xA;I&rsquo;ve noticed a few patterns.</p>&#xA;<p>These are mostly direct or indirect result of not having a &ldquo;good enough&rdquo; infrastructure&#xA;to support how much Nix has grown (1600 contributors, 1500 pull requests per…

Friends sometimes let friends curl to shell

<p>Every now and then (actually quite often), people complain on twitter they&rsquo;re&#xA;afraid of our simple bash installer for <a href='https://nixos.org/nix/'>Nix package manager</a>:</p>&#xA;<pre><code>$ bash <(curl https://nixos.org/nix/install)&#xA;</code></pre>&#xA;<p>Example (from today):</p>&#xA;<p><img src='/images/nixos-tweet.png' alt=''></p>&#xA;<p>There are <a…

Why Puppet/Chef/Ansible aren&#39;t good enough (and we can do better)

<p>This particular blog post was sitting on my mind for a long time. I don&rsquo;t want to start a flame war,&#xA;but at the same time I also don&rsquo;t wish for Linux community to build and grow upon ad-hoc solutions&#xA;that we&rsquo;ve accumulated over the last 30 years to the packaging and deployment problems.</p>&#xA;<h1 id='history-of-linux-automation'><a class='Heading-permalink'…

Getting started with Nix package manager

<p><a href='http://nixos.org/nix/'>Nix</a> is a package manager implemented as a minimalistic functional&#xA;language.</p>&#xA;<p><a href='https://github.com/nixos/nixpkgs'>Nix package</a>, for example&#xA;<a href='https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/http/nginx/default.nix#L39'>Nginx</a>&#xA;is a result of a function <a…

Substance D — Google Summer of Code 2013 week #12, #13 and #14

<div class='document'>&#xA;&#xA;&#xA;<p>Greetings, following is the update for <a class='reference external' href='http://substanced.readthedocs.org/en/latest/'>Substance D</a> project.&#xA;Substance D is an application server built using the Pyramid web framework. It can be used as a base to build&#xA;a general-purpose web application like a blog, a shopping cart application, a scheduling…