<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sound &amp; Complete</title><link>https://piotr.is/</link><description>Recent content on Sound &amp; Complete</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2009—2026 Piotr Kaźmierczak</copyright><lastBuildDate>Sat, 07 Feb 2026 13:58:21 +0000</lastBuildDate><atom:link href="https://piotr.is/index.xml" rel="self" type="application/rss+xml"/><item><title>The Deceptive PR Behind Apple’s “Expanded Protections for Children”</title><link>https://piotr.is/2021/apple-csam/</link><pubDate>Thu, 12 Aug 2021 00:00:00 +0100</pubDate><guid>https://piotr.is/2021/apple-csam/</guid><description>&lt;div class="flex rounded-md bg-primary-100 px-4 py-3 dark:bg-primary-900"&gt;
&lt;span class="pe-3 text-primary-400"&gt;
&lt;span class="icon relative inline-block px-1 align-text-bottom"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"&gt;&lt;path fill="currentColor" d="M506.3 417l-213.3-364c-16.33-28-57.54-28-73.98 0l-213.2 364C-10.59 444.9 9.849 480 42.74 480h426.6C502.1 480 522.6 445 506.3 417zM232 168c0-13.25 10.75-24 24-24S280 154.8 280 168v128c0 13.25-10.75 24-23.1 24S232 309.3 232 296V168zM256 416c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 401.9 273.4 416 256 416z"/&gt;&lt;/svg&gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span class="dark:text-neutral-300"&gt;&lt;strong&gt;Update Dec 7, 2022:&lt;/strong&gt; Apple &lt;a href="https://www.wired.com/story/apple-photo-scanning-csam-communication-safety-messages/" target="_blank" rel="noreferrer"&gt;scrapped the plan&lt;/a&gt; of CSAM-scanning iCloud Photos libraries.&lt;/span&gt;
&lt;/div&gt;
&lt;p&gt;My wife is pretty tech-savvy. While not a software engineer and not a computer scientist, she has a good understanding of computing technologies, statistics, formal methods, and an intuitive (but quickly growing) grasp of machine learning. She&amp;rsquo;s also able to code in R for &lt;a href="http://karolinakrzyzanowska.com/" target="_blank" rel="noreferrer"&gt;her research&lt;/a&gt;, and she&amp;rsquo;s highly addicted to her iPhone 12 Mini, her iPad Pro, and her 12&amp;quot; MacBook, despite its slowly but steadily failing keyboard. With all this being said, I spent about 30 minutes yesterday evening trying to explain to her, what&amp;rsquo;s all the fuss about Apple&amp;rsquo;s new CSAM (child sexual abuse material) prevention &lt;a href="https://www.apple.com/child-safety/" target="_blank" rel="noreferrer"&gt;features&lt;/a&gt; that are being introduced in iOS 15.&lt;/p&gt;
&lt;p&gt;The point of the anecdote is of course not to show that my wife is dim, but rather to illustrate the issue with said CSAM features. In contrast to how easy it is to explain to &amp;ldquo;an average Joe&amp;rdquo; why Google&amp;rsquo;s or Facebook&amp;rsquo;s business models pose a threat to people&amp;rsquo;s privacy, it&amp;rsquo;s very hard to explain why Apple&amp;rsquo;s new mechanism is even worse.&lt;/p&gt;
&lt;p class="aside"&gt;
Actually, as I was working on a draft of this post, Matthew Green and Alex Stamos wrote &lt;a href="https://www.nytimes.com/2021/08/11/opinion/apple-iphones-privacy.html" target="_blank" rel="noreferrer"&gt;an op-ed in the New York Times&lt;/a&gt; that makes a good attempt at trying to concisely explain the issue to a non-technical audience. There&amp;rsquo;s hope.
&lt;/p&gt;
&lt;p&gt;I don&amp;rsquo;t want this blog post to be an exhaustive explanation of what exactly Apple is planning to do, because many &lt;a href="https://stratechery.com/2021/apples-mistake/" target="_blank" rel="noreferrer"&gt;other&lt;/a&gt; &lt;a href="https://www.hackerfactor.com/blog/index.php?/archives/929-One-Bad-Apple.html" target="_blank" rel="noreferrer"&gt;excellent&lt;/a&gt; &lt;a href="https://daringfireball.net/2021/08/apple_child_safety_initiatives_slippery_slope" target="_blank" rel="noreferrer"&gt;articles&lt;/a&gt; have already been written about it over the last week. In essence, iOS 15 will introduce a mechanism that allows for checking user&amp;rsquo;s photographs against a CSAM content database, and this will happen &lt;em&gt;on the device&lt;/em&gt;. That&amp;rsquo;s the big difference between Apple&amp;rsquo;s approach and what every other company that hosts big libraries of photographs online has been doing for a while now. A paragraph from &lt;a href="https://stratechery.com/2021/apples-mistake/" target="_blank" rel="noreferrer"&gt;Ben Thompson&amp;rsquo;s article&lt;/a&gt; that was published yesterday sums it up pretty well:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;(…) instead of adding CSAM-scanning to iCloud Photos in the cloud that
they own and operate, Apple is compromising the phone that you and I
own and operate, without any of us having a say in the matter. Yes,
you can turn off iCloud Photos to disable Apple&amp;rsquo;s scanning, but that is a &lt;em&gt;policy&lt;/em&gt; decision; the &lt;em&gt;capability&lt;/em&gt; to reach into a user&amp;rsquo;s phone
now exists, and there is nothing an iPhone user can do to get rid of
it.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You could of course say that it&amp;rsquo;s &amp;ldquo;a slippery slope&amp;rdquo; sort of argument, and that we should trust Apple that it won&amp;rsquo;t use the functionality for anything else. Setting aside the absurdity of trusting a giant, for-profit corporation over a democratically-elected government, we should bear in mind that Apple&amp;rsquo;s record here is much less stellar than they&amp;rsquo;d like us to think. The company is already cooperating with the Chinese government, e.g., by storing &lt;a href="https://www.nytimes.com/2021/05/17/technology/apple-china-censorship-data.html" target="_blank" rel="noreferrer"&gt;personal data of Chinese citizens&lt;/a&gt; only on servers run by a Chinese company, and has previously cancelled their plans for iCloud backups encryption under &lt;a href="https://www.reuters.com/article/us-apple-fbi-icloud-exclusive-idUSKBN1ZK1CT" target="_blank" rel="noreferrer"&gt;the pressure of FBI&lt;/a&gt;. Apple released an &lt;a href="https://www.apple.com/child-safety/pdf/Expanded_Protections_for_Children_Frequently_Asked_Questions.pdf" target="_blank" rel="noreferrer"&gt;FAQ document&lt;/a&gt; yesterday in which it tried to clarify and address the issues, but if anything, they confirmed what we all assumed to be true: that the only thing stopping any government agency or other malicious actor from substituting some other image hashes (e.g., photographs of homosexual couples in countries where homosexuality is illegal) for CSAM, is Apple&amp;rsquo;s internal policy. The technology that would allow that to happen is already there.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;&lt;img src="https://pbs.twimg.com/media/DwGoq2uV4AA_Aov?format=jpg&amp;amp;name=large" alt="" class="mx-auto my-0 rounded-md" /&gt;&lt;figcaption class="text-center"&gt;Those &lt;a href="https://twitter.com/chrisvelazco/status/1081330848262062080" target="_blank" rel="noreferrer"&gt;posters&lt;/a&gt; won&amp;rsquo;t age well, will they.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;In the world of computer security this technology has a name, it&amp;rsquo;s called &amp;ldquo;a backdoor.&amp;rdquo; A well-documented and well-intended backdoor, but still a backdoor. Installed and enabled by default on millions of devices around the world.&lt;/p&gt;
&lt;p&gt;So why on Earth would Apple, a company that&amp;rsquo;s been building a brand as privacy-protecting over the last few years, go for such a solution? And why now?&lt;/p&gt;
&lt;p&gt;The hypothesis that I have is that Apple wishes to distance itself from checking users&amp;rsquo; data. They&amp;rsquo;ve been fighting with the FBI and the federal government for years, they&amp;rsquo;ve been struggling with not reporting CSAM content to the &lt;a href="https://www.missingkids.org" target="_blank" rel="noreferrer"&gt;NCMEC&lt;/a&gt;, they don&amp;rsquo;t want to be involved in any of this anymore. They want to create a situation in which they could offer end-to-end encryption for iMessage, iCloud Drive, iCloud Photo Library and iCloud Backups, and at the same time remain compliant. This might be the only way to have your cake and eat it, too, in fact. And it gets better: due to how the mechanism is implemented, Apple will never see the actual user data. It will only know whether there&amp;rsquo;s a match against the data on the phone and the data on the server, so in its own marketing campaigns they can still claim to respect the user&amp;rsquo;s privacy. And if this mechanism ever gets used for anything else, they can always claim that they are simply complying with local regulations, and that they themselves neither censor nor even look at the data on their users&amp;rsquo; phones.&lt;/p&gt;
&lt;p&gt;Sadly, due to the intrinsically technical nature of the problem, which I mentioned in the first paragraphs of this article, I believe the public will buy it, and during the next public Apple event Tim Cook will triumphantly announce some privacy-enhancing features, like protecting your personal data against cross-app tracking or offering VPN-like, anonymized connection for Safari or Apple Mail. All this, while there&amp;rsquo;s a backdoor installed on your phone, and you can do nothing about it.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;It pains me as a self-proclaimed Apple fanboy, a loyal customer of many years and even an evangelist of the brand to see the company making a step in such a dangerous direction.&lt;/p&gt;
&lt;p class="aside"&gt;
The worst part is: how do I put my money where my mouth is? Am I going back to using Linux on the desktop (2022 will be the year of Linux on the desktop, remember), debugging wifi drivers and tirelessly trying to make resume-from-suspend work? Am I getting a Pixel and putting GrapheneOS on it like a total nerd? FUCK.
&lt;/p&gt;
&lt;p&gt;I can only hope that the backlash caused by &lt;a href="https://twitter.com/Snowden/status/1423751484081070081" target="_blank" rel="noreferrer"&gt;the screeching voice of the minority&lt;/a&gt;, will make Apple nonetheless reconsider, and perhaps change the implementation in future versions of iOS. &lt;/p&gt;
&lt;small&gt;
&lt;a href="https://news.ycombinator.com/item?id=28160673"&gt;Discussion on HackerNews.&lt;/a&gt;
&lt;/small&gt;</description></item><item><title>The LSP Revolution</title><link>https://piotr.is/2020/the-lsp-revolution/</link><pubDate>Thu, 19 Nov 2020 00:00:00 +0100</pubDate><guid>https://piotr.is/2020/the-lsp-revolution/</guid><description>&lt;p&gt;Remember the days when you had to look for plugins for your editor to support your favourite programming language? Or even the language that isn&amp;rsquo;t your favourite, but which for some reason you need to write in? Well in case you didn&amp;rsquo;t notice, those days are gone. They aren&amp;rsquo;t &amp;ldquo;long gone,&amp;rdquo; but the are gone. I thought they weren&amp;rsquo;t gone, but they are. Gone. For real. Because there&amp;rsquo;s LSP.&lt;/p&gt;
&lt;p&gt;What started as an interface between VS Code and completion engines at &lt;a href="https://microsoft.github.io/language-server-protocol/"&gt;Microsoft&lt;/a&gt;, became the godsend for all of us that want to declare &amp;ldquo;dotfile bankruptcy&amp;rdquo; every couple of months. There are many implementations of LSP for many editors, and so far I tried two for neovim (&lt;a href="https://github.com/neoclide/coc.nvim"&gt;coc&lt;/a&gt; and &lt;a href="https://neovim.io/doc/user/lsp.html"&gt;nvim lsp&lt;/a&gt;) and I&amp;rsquo;m amazed. I was a bit skeptical at first, because LSP runs on Node, and installing a JS runtime as a &lt;em&gt;de facto&lt;/em&gt; dependency for vim feels so wrong, but&amp;hellip; it works! I no longer need multiple plugins with complex configs! The future is here! Just look! I install two plugins for LSP in latest neovim:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;Plug &amp;#39;neovim/nvim-lspconfig&amp;#39;
Plug &amp;#39;nvim-lua/completion-nvim&amp;#39;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;which load support for LSP, which I can then configure:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;autocmd BufEnter * :lua require&amp;#39;completion&amp;#39;.on_attach()
&amp;#34; below we configure which language servers
&amp;#34; we want to support, a more comprehensive
&amp;#34; list is here:
&amp;#34; https://github.com/neovim/nvim-lspconfig#configurations
autocmd BufEnter * :lua require&amp;#39;completion&amp;#39;.on_attach()
lua &amp;lt;&amp;lt;EOF
require&amp;#39;lspconfig&amp;#39;.bashls.setup { }
require&amp;#39;lspconfig&amp;#39;.ccls.setup { }
require&amp;#39;lspconfig&amp;#39;.dockerls.setup { }
require&amp;#39;lspconfig&amp;#39;.gopls.setup { }
require&amp;#39;lspconfig&amp;#39;.hls.setup { }
require&amp;#39;lspconfig&amp;#39;.html.setup { }
require&amp;#39;lspconfig&amp;#39;.jsonls.setup { }
require&amp;#39;lspconfig&amp;#39;.solargraph.setup { }
require&amp;#39;lspconfig&amp;#39;.vimls.setup { }
require&amp;#39;lspconfig&amp;#39;.yamlls.setup { }
EOF
nnoremap &amp;lt;silent&amp;gt; &amp;lt;c-]&amp;gt; &amp;lt;cmd&amp;gt;lua vim.lsp.buf.definition()&amp;lt;CR&amp;gt;
nnoremap &amp;lt;silent&amp;gt; K &amp;lt;cmd&amp;gt;lua vim.lsp.buf.hover()&amp;lt;CR&amp;gt;
nnoremap &amp;lt;silent&amp;gt; gD &amp;lt;cmd&amp;gt;lua vim.lsp.buf.implementation()&amp;lt;CR&amp;gt;
nnoremap &amp;lt;silent&amp;gt; &amp;lt;c-k&amp;gt; &amp;lt;cmd&amp;gt;lua vim.lsp.buf.signature_help()&amp;lt;CR&amp;gt;
nnoremap &amp;lt;silent&amp;gt; 1gD &amp;lt;cmd&amp;gt;lua vim.lsp.buf.type_definition()&amp;lt;CR&amp;gt;
nnoremap &amp;lt;silent&amp;gt; gr &amp;lt;cmd&amp;gt;lua vim.lsp.buf.references()&amp;lt;CR&amp;gt;
nnoremap &amp;lt;silent&amp;gt; g0 &amp;lt;cmd&amp;gt;lua vim.lsp.buf.document_symbol()&amp;lt;CR&amp;gt;
nnoremap &amp;lt;silent&amp;gt; gW &amp;lt;cmd&amp;gt;lua vim.lsp.buf.workspace_symbol()&amp;lt;CR&amp;gt;
nnoremap &amp;lt;silent&amp;gt; gd &amp;lt;cmd&amp;gt;lua vim.lsp.buf.declaration()&amp;lt;CR&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;and we&amp;rsquo;re done!&lt;/p&gt;
&lt;p&gt;OH, complicated? A bit, but the shortcuts above will work for &lt;em&gt;every language supported by LSP&lt;/em&gt;, which essentially means every language. There are even language servers for Bash (hello, &lt;a href="https://www.shellcheck.net"&gt;shellcheck&lt;/a&gt;) and YAML (one more evidence for the existence of &amp;ldquo;YAML programmers&amp;rdquo; ☝️). And once nvim detects that you&amp;rsquo;re loading a file that is supported by LSP, it will even install the appropriate server for you (well, kinda, sometimes, it&amp;rsquo;s a work in progress). Just today I had to dive into a large-ish project in Ruby, which I never worked with, and nvim told me to &lt;code&gt;gem install solargraph&lt;/code&gt; and I was good to go. Code navigation, documentation pop-ups, jumping to definitions like crazy, it all just worked without me needing to configure plugins for Ruby.&lt;/p&gt;
&lt;p&gt;So yeah, LSP is indeed amazing. It works on Emacs, too, and probably a bunch of other editors (not that anyone cares).&lt;/p&gt;
&lt;p&gt;You should start using it &lt;strong&gt;TODAY&lt;/strong&gt;, and shave off hundreds of lines of your &lt;code&gt;init.vim&lt;/code&gt; or &lt;code&gt;init.el&lt;/code&gt;.&lt;/p&gt;
&lt;small&gt;
&lt;em&gt;Thanks to &lt;a href="https://github.com/trekdemo"&gt;Gergő&lt;/a&gt; for introducing me to &lt;code&gt;nvim-lspconfig&lt;/code&gt; 🙇‍♂️&lt;/em&gt;
&lt;/small&gt;</description></item><item><title>Bargaining with my left-wing indulgence</title><link>https://piotr.is/2020/bargaining-with-my-left-wing-indulgence/</link><pubDate>Tue, 17 Nov 2020 00:00:00 +0100</pubDate><guid>https://piotr.is/2020/bargaining-with-my-left-wing-indulgence/</guid><description>&lt;p&gt;Yesterday I read Rutger Bregman&amp;rsquo;s excellent &lt;a href="https://thecorrespondent.com/796/yes-its-all-the-fault-of-big-oil-facebook-and-the-system-but-lets-talk-about-you-this-time/105316520056-9134847d"&gt;opinion piece&lt;/a&gt; in The Correspondent, and today is Tuesday. Tuesday, in my household, is the recycling day. Why Tuesday? Because the island we live on only has 2 paper trash containers. They are emptied on Tuesdays midday-ish, so on Tuesday evenings I pack all the paper trash in the house (along with all the glass and plastic) into the trunk, and I put them into the container before it gets full (it&amp;rsquo;ll be full by Wednesday night at the latest). And then, feeling that my duty as a responsible, eco-conscious citizen has been fulfilled, I reward myself with a short drive over to the Polish store in a different part of town, where I buy 4 cans of &lt;a href="https://www.beeradvocate.com/beer/profile/1781/99580/"&gt;Poland&amp;rsquo;s finest honey beer&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A-HA!&lt;/strong&gt; But hold on there just a second, why did I put trash in the trunk? (Ok that&amp;rsquo;s an easy one, because it&amp;rsquo;s bulky and I don&amp;rsquo;t have a bakfiets) Why do I drive, especially in a city like Amsterdam? Why do I even have a car? Didn&amp;rsquo;t Bregman write just about that?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I&amp;rsquo;m talking about the idealist who, as soon as personal responsibility comes up, starts shouting that we have to talk about the &lt;em&gt;structures&lt;/em&gt; before anything else. That we first need an analysis showing that it can all be blamed on the fossil industry and the multinationals, advertisements and algorithms, capitalism and neoliberalism – anything and everything that lets us avoid looking in the mirror.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Ah, so it&amp;rsquo;d seem all the French and American socialist thinkers of the XXI century have been lying to me all along! I &lt;em&gt;do&lt;/em&gt; have to change my ways!&lt;/p&gt;
&lt;p&gt;But to what degree?&lt;/p&gt;
&lt;p&gt;We don&amp;rsquo;t eat meat and our diary consumption is minimal. Ok, I guess it could be even more minimal. But no eggs, seriously? Fine, what about eggs twice a week? Once a week?&lt;/p&gt;
&lt;p&gt;And the car, come on, it&amp;rsquo;s not like I&amp;rsquo;m driving a GMC Sierra, mine has a small petrol engine. It&amp;rsquo;s small, I promise, I&amp;rsquo;m getting 42 miles to the gallon on average.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;And I don&amp;rsquo;t drive it daily, so that&amp;rsquo;s okay. But does it mean I have to buy an even smaller car next year? Or no car at all? What if I bought an old V8 American muscle car, but drove it once a month? Is that okay? Do I really have to get a Prius? I can&amp;rsquo;t afford an electric car, and living without a car is sad. Oh you&amp;rsquo;re saying I shouldn&amp;rsquo;t have a car? Fine, I could still rent I suppose, for the occasional road-trip. But if I rent, it&amp;rsquo;s okay to rent a BMW 5 series, right?&lt;/p&gt;
&lt;p&gt;And does that mean I cannot go on holidays to the American Southwest next year? It&amp;rsquo;s not like I&amp;rsquo;m a McKinsey consultant, I don&amp;rsquo;t fly often anymore. It&amp;rsquo;s okay to take an inter-continental flight once a year. Ok, once every two years? Three?&lt;/p&gt;
&lt;p&gt;And what&amp;rsquo;s the most reasonable way to visit family in Poland? Driving with two people is surprisingly CO2-efficient on a long-distance journey, especially compared to flying. But I suppose I should be taking a train? Maaan but the train takes forever, it&amp;rsquo;s unreliable in the winter and I&amp;rsquo;d have to stay overnight in Berlin, and&amp;hellip;&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;Everyone goes through this bargaining in their head after they read an article like Bregman&amp;rsquo;s, right?&lt;/p&gt;
&lt;p&gt;Right?&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;50 mpg UK, 5.6 l/100km in normal European countries, 17.8 km/l in weird European countries. I&amp;rsquo;ve no idea why I defaulted to American units, must be the joy from SNL&amp;rsquo;s cheerful &lt;a href="https://www.youtube.com/watch?v=vJYL4Osyipc"&gt;post-election sketches&lt;/a&gt;.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>The Four Stages of Staycation</title><link>https://piotr.is/2020/the-four-stages-of-staycation/</link><pubDate>Sun, 01 Nov 2020 00:00:00 +0100</pubDate><guid>https://piotr.is/2020/the-four-stages-of-staycation/</guid><description>&lt;h3 id="planning" class="relative group"&gt;Planning &lt;/h3&gt;&lt;p&gt;I&amp;rsquo;m gonna read a book a day. I&amp;rsquo;m gonna go through SICP (including all the exercises) and Kurt&amp;rsquo;s new Haskell book. I&amp;rsquo;m gonna learn how to play bass. I&amp;rsquo;m gonna buy that wardrobe for the guest room so that we could get rid of the ugly coat hanger there.&lt;/p&gt;
&lt;h3 id="depression--self-loathing" class="relative group"&gt;Depression &amp;amp; self-loathing &lt;/h3&gt;&lt;p&gt;Weather is really shit, I should have and could have gone somewhere nice. COVID-19 situation in Spain cannot be as bad as they say, people travel after all. Can&amp;rsquo;t get drunk in a pub with Ivan and Félix. SICP is really hard. Haskell tooling sucks. &lt;a href="https://twitter.com/pkazmierczak/status/1318925347216257024" target="_blank" rel="noreferrer"&gt;Bass arrived&lt;/a&gt;, I tried playing scales; it&amp;rsquo;s really hard to press those thick strings. I wish I could have a bass with violin strings (wat). &lt;a href="https://www.economist.com/graphic-detail/2020/10/28/more-bad-news-for-the-arctic-the-laptev-sea-hasnt-frozen"&gt;Laptev Sea hasn&amp;rsquo;t frozen&lt;/a&gt; and &lt;a href="https://www.economist.com/united-states/2020/09/12/donald-trump-could-still-stage-a-comeback-again"&gt;Donald Trump could still stage a comeback (again)&lt;/a&gt; (why do I even pay for that subscription). Oh and my homeland is &lt;a href="https://www.nytimes.com/video/world/europe/100000007425162/warsaw-protests-poland-abortion.html"&gt;on the verge of a civil war&lt;/a&gt;, it seems. I don&amp;rsquo;t like the novel I&amp;rsquo;m reading now, it&amp;rsquo;s very disappointing even though it&amp;rsquo;s written by one of my favorite authors. And Karolina recommended it to me, it&amp;rsquo;s all her fault.&lt;/p&gt;
&lt;p&gt;Everything sucks.&lt;/p&gt;
&lt;h3 id="acceptance" class="relative group"&gt;Acceptance &lt;/h3&gt;&lt;p&gt;Ok, so playing bass is actually straightforward if you&amp;rsquo;ve been playing another stringed instrument for 25 years. Karolina is OK, we play horrific renditions of old Polish rock songs and Audioslave in the evenings; neighbors love us. It&amp;rsquo;s a lot of fun, butchering good music. I started reading another book, it&amp;rsquo;s good. I gave up on programming, I code for work so a week away from vim won&amp;rsquo;t kill me. An &lt;a href="https://en.wikipedia.org/wiki/Oliebol"&gt;oliebollen&lt;/a&gt; stand opened in front of our Albert Heijn. I spend loads of time doing nothing, &lt;a href="https://twitter.com/pkazmierczak/status/1322546113023512583"&gt;playing TTD&lt;/a&gt; and re-watching old House MD episodes.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2020/the-four-stages-of-staycation/staycation_hu_ede2610a61f16de8.webp 330w,https://piotr.is/2020/the-four-stages-of-staycation/staycation_hu_988ae0d0ff49131c.webp 660w
,https://piotr.is/2020/the-four-stages-of-staycation/staycation_hu_c557a783a90f14c7.webp 1024w
,https://piotr.is/2020/the-four-stages-of-staycation/staycation_hu_e75b2da3494db96d.webp 1280w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1280"
height="960"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2020/the-four-stages-of-staycation/staycation_hu_10bc9d892dd22d7a.jpg" srcset="https://piotr.is/2020/the-four-stages-of-staycation/staycation_hu_17c35d20fc140354.jpg 330w,https://piotr.is/2020/the-four-stages-of-staycation/staycation_hu_10bc9d892dd22d7a.jpg 660w
,https://piotr.is/2020/the-four-stages-of-staycation/staycation_hu_890778d65a51c3d4.jpg 1024w
,https://piotr.is/2020/the-four-stages-of-staycation/staycation.jpg 1280w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;I became one with the couch.&lt;/p&gt;
&lt;h3 id="despair" class="relative group"&gt;Despair &lt;/h3&gt;&lt;p&gt;OMG IT&amp;rsquo;S OVER TOMORROW&lt;/p&gt;</description></item><item><title>“Twilight of Democracy”</title><link>https://piotr.is/2020/twilight-of-democracy/</link><pubDate>Fri, 02 Oct 2020 00:00:00 +0100</pubDate><guid>https://piotr.is/2020/twilight-of-democracy/</guid><description>&lt;p&gt;Here&amp;rsquo;s what&amp;rsquo;s good about Anne Applebaum’s &lt;a href="https://www.penguinrandomhouse.com/books/621076/twilight-of-democracy-by-anne-applebaum/" target="_blank" rel="noreferrer"&gt;new book&lt;/a&gt;: it&amp;rsquo;s anecdotal in all the right places.&lt;/p&gt;
&lt;p&gt;This is a book that attempts to explain the authoritarian turns across Europe and in the United States and Applebaum, as you&amp;rsquo;d expect from her, provides a convincing, well-reasoned and insightful explanation as to why they are happening. And since she&amp;rsquo;s a well renowned international journalist and a wife to &lt;a href="https://en.wikipedia.org/wiki/Rados%C5%82aw_Sikorski" target="_blank" rel="noreferrer"&gt;Poland&amp;rsquo;s former minister of foreign affairs&lt;/a&gt;, she&amp;rsquo;s been at the center of many of the important political events of the last decades (hence the anecdotes). It’s a very good book, well worth a read if you&amp;rsquo;d like to get a better understanding of what&amp;rsquo;s going on with the world, and it&amp;rsquo;s so up-to-date that it even covers the beginning of the pandemic.&lt;/p&gt;
&lt;p&gt;One caveat though: Applebaum is what American political scientists would call a neoconservative, and thus her view of the events of the last 20 years is McCainy a bit. It&amp;rsquo;s not wrong and I&amp;rsquo;d say she keeps relatively neutral. But if you want a very different take, try Monbiot’s &lt;a href="https://www.versobooks.com/books/2415-how-did-we-get-into-this-mess" target="_blank" rel="noreferrer"&gt;“How did we get into this mess?”&lt;/a&gt;—a worse book, but a somewhat fresher (i.e. left wing) view on things.&lt;/p&gt;
&lt;p&gt;Ah and one final note: this book is short. Not too-short short, but short enough for people like me who use Piketty as a monitor stand. Digestible, that&amp;rsquo;s the word I was looking for. This book is digestible for software engineers.&lt;/p&gt;</description></item><item><title>VS Code</title><link>https://piotr.is/2020/vs-code/</link><pubDate>Sat, 26 Sep 2020 00:00:00 +0100</pubDate><guid>https://piotr.is/2020/vs-code/</guid><description>&lt;p&gt;The best, most entertaining and immortal topic in software engineering is back! Editor Wars!&lt;/p&gt;
&lt;p&gt;After reading Roben Kleene’s &lt;a href="https://blog.robenkleene.com/2020/09/21/the-era-of-visual-studio-code/" target="_blank" rel="noreferrer"&gt;blog post&lt;/a&gt; I realized that I’ve been using VS Code all-day every-day for over a year now. I’m not willing to admit it because in my mind I’m a die-hard (n)vim user, but the reality is this: VS Code is brilliant. Kleene makes many great points about key ingredients of VS Code’s success (popularity/MS backing, plugin ecosystem, client-server architecture), and you should read his post.&lt;/p&gt;
&lt;p&gt;Then today I read about &lt;a href="https://lwn.net/SubscriberLink/832311/03910e26a3f3e814/" target="_blank" rel="noreferrer"&gt;“modernizing” Emacs&lt;/a&gt;, and I saw the &lt;a href="https://news.ycombinator.com/item?id=24593616" target="_blank" rel="noreferrer"&gt;discussion on HN&lt;/a&gt;, and this comment in particular made me think:&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2020/vs-code/vscode_hu_1b7c8a9d4bdf178.webp 330w,https://piotr.is/2020/vs-code/vscode_hu_1bacd555d1b8b1ee.webp 660w
,https://piotr.is/2020/vs-code/vscode_hu_d2fa1a50f99c4a8a.webp 1024w
,https://piotr.is/2020/vs-code/vscode_hu_eac2643828240c8d.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1340"
height="456"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2020/vs-code/vscode_hu_76d66b674d12b57e.png" srcset="https://piotr.is/2020/vs-code/vscode_hu_340c3fc812b00e2d.png 330w,https://piotr.is/2020/vs-code/vscode_hu_76d66b674d12b57e.png 660w
,https://piotr.is/2020/vs-code/vscode_hu_5e0a1d4f705e6e40.png 1024w
,https://piotr.is/2020/vs-code/vscode_hu_dfc9a968af7de25d.png 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;I think VSCode is more than yet another editor, it’s more than what Textmate and Sublime were. There are two major reasons, I think.&lt;/p&gt;
&lt;p&gt;First, it’s the plug-in ecosystem. Yes, Emacs and vim have had “plug-ins” for a long time, but VSCode makes discovery, installation and development of plug-ins much easier than anything I’ve come across (sans &lt;a href="atom.io"&gt;Atom&lt;/a&gt; perhaps). If I need to setup a new computer for coding, all I need to do is grab VS Code, click “install” on 4 plugins, and I’m ready to go. My only obligatory hand-crafted line of configuration is this:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;&amp;#34;gitlens.currentLine.format&amp;#34;: &amp;#34;${author} wrote that shitty piece of code ${ago}&amp;#34;,
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Compare that to hundreds of lines of my old &lt;code&gt;init.el&lt;/code&gt; or even my current &lt;code&gt;init.vim&lt;/code&gt;, and I start to see the appeal.&lt;/p&gt;
&lt;p&gt;Second, it’s the client-server architecture. This is, surprisingly, a killer feature that made me finally abandon vim. Among many other things the client-server architecture of VS Code enables &lt;a href="https://code.visualstudio.com/docs/remote/containers" target="_blank" rel="noreferrer"&gt;“devcontainers,”&lt;/a&gt; i.e., having a client on your local machine with its nice fonts and working suspend-to-RAM, but compiling and testing continuously on anything from a Docker/WSL container to a Linux host. Having to work with networking equipment I’m at the mercy of horrible router vendors (hello Cisco, Juniper and Arista! 👋 I hate you all!) and my software often depends on low-level libraries that really don’t work well on anything other than Linux. I need to work in containers all the time, and sometimes I need to work on a Linux host in a networking lab (hello &lt;a href="https://www.eve-ng.net" target="_blank" rel="noreferrer"&gt;Eve!&lt;/a&gt; 👋 I hate you too!). Being able to stick to the same UI, same extensions, same keyboard shortcuts, same everything, simply switching the backend is blissful. Of course I can run vim with all my plugins anywhere, I have a script that automates its installation (“Of course you do.”), but it’s a hassle, and VS Code is great at eliminating hassle.&lt;/p&gt;
&lt;p&gt;Ok, there, I did it. I’ve been using Emacs for years, afterwards I’ve been using (n)vim for even more years, and now I’m praising an Electron-based Node.js monstrosity that is VS Code. I didn’t see it coming, but I know I’m not the only one.&lt;/p&gt;</description></item><item><title>Non-classical music playing guide for classically trained musicians</title><link>https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/</link><pubDate>Sat, 16 May 2020 00:00:00 +0100</pubDate><guid>https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/</guid><description>&lt;p&gt;I went to music school as a kid. Ages 7 to 13 I studied classical violin and
basics of music theory. I played in duos, trios, and orchestras. Even as a
college student, despite my amateurish skills, I&amp;rsquo;d still find decent orchestras
I would join and play many concerts with. All this, despite my slight disdain
for classical music with its pompous ethos and pretentious audiences. I stopped
playing after moving abroad about a decade ago, leaving my violin behind
me, thinking the music performing chapter of my life was over.&lt;/p&gt;
&lt;p&gt;Imagine my surprise when some years later I found myself jamming &lt;a href="https://en.wikipedia.org/wiki/This_Is_Cave_Music" target="_blank" rel="noreferrer"&gt;cave
music&lt;/a&gt; with my friends, now a
software engineer at the age of 34.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/rockin_hu_f3ffc85f7d6e0363.webp 330w,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/rockin_hu_88542e0bb7eae3.webp 660w
,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/rockin_hu_5843aeb89fc4b143.webp 1024w
,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/rockin_hu_494af4603a010b3.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="3024"
height="4032"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/rockin_hu_6317a959ac786195.jpg" srcset="https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/rockin_hu_e6cb61fc95f00f3f.jpg 330w,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/rockin_hu_6317a959ac786195.jpg 660w
,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/rockin_hu_d6078006012a0a31.jpg 1024w
,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/rockin_hu_e1582ca9826946ae.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;What if you are, like me, a classically trained musician who&amp;rsquo;d, too, like to
indulge themselves in &lt;em&gt;cave music?&lt;/em&gt; What&amp;rsquo;s your path? And how hard would it be?&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(Before you get upset and start writing angry comments, bear in mind this post
is written in good will. I know that I&amp;rsquo;m not experienced, and that there&amp;rsquo;s a
ton of information this silly little guide doesn&amp;rsquo;t cover. It&amp;rsquo;s fine. I still
think the advice below can be helpful.)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;First thing you need to know, is that you&amp;rsquo;ll have it &lt;em&gt;waaay&lt;/em&gt; easier than people
that never went to music school. You know the basics of music theory, you know
about chords and maybe some harmony, and you can read sheet music. Heck, maybe
you can even play your instrument relatively well! But what nobody ever taught
you is the engineering side of music. You probably don&amp;rsquo;t know how to play with
amplification. And you most likely have no idea about what you need to sound
good with instruments that are amplified, how to be able to hear yourself play,
how to record, and how to venture beyond your own instrument, perhaps into the
realm of synthesizers, samplers, and other magnificent ingredients of
electronic music. In my case, becoming relatively knowledgeable about those
things took a better part of two years, and &lt;em&gt;lots&lt;/em&gt; of trial and error (with an
emphasis on “error”). What follows is my advice, written from a perspective of
a violin player who plays sort-of-jazz, so that you don&amp;rsquo;t have to spend as much
time (and money) on errors of your own.&lt;/p&gt;
&lt;h3 id="electrifying-your-instrument" class="relative group"&gt;Electrifying your instrument &lt;/h3&gt;&lt;p&gt;If you want to play rock or jazz or some sort of electronic music, chances are
you&amp;rsquo;ll need amplification. Even if your instrument is relatively loud, once you
add a drummer into the mix, it likely won&amp;rsquo;t be loud enough. And sure, you can
just play very loudly, but that will make hearing yourself difficult.&lt;/p&gt;
&lt;p&gt;Wind instruments have no choice, and they have it hard: you need a microphone,
a preamp, and then you feed either into the
&lt;a href="https://en.wikipedia.org/wiki/Public_address_system#Small_venue_systems" target="_blank" rel="noreferrer"&gt;PA&lt;/a&gt;
or an amplifier, depending on what sort of sound and control you want. Why is
that hard? Because microphones and preamps aren&amp;rsquo;t cheap, and they aren&amp;rsquo;t
necessarily easy to setup. If you play a brass instrument, for jamming purposes
going without a mic will likely be fine, especially if you talk to your
drummer. (Bribe them with beer!)&lt;/p&gt;
&lt;p&gt;Piano players have it a bit easier. If you really want to, you can rent
rehearsal rooms with grand pianos in them, and if they have grand pianos
there&amp;rsquo;s a solid chance they will be setup with microphones, so you&amp;rsquo;ll have your
work cut out for you. At the same time, if you&amp;rsquo;re a piano player, buying a
good, portable, electric piano or synthesizer will cost you less than €2k,
offer lots of sonic possibilities and usually a built-in preamp that will let
you connect straight to the PA. So just get that &lt;a href="https://www.nordkeyboards.com/products/nord-electro-5" target="_blank" rel="noreferrer"&gt;Nord
electro&lt;/a&gt; and be happy.&lt;/p&gt;
&lt;p&gt;Finally, we get to string instruments. String players have it best, because
they are offered a choice: electric instruments or amplification via pickups
attached to acoustic instruments. You can go either way, but as a beginner you
should probably go for the electric instrument. Here&amp;rsquo;s why.&lt;/p&gt;
&lt;p&gt;Acoustic violins, violas, cellos and double basses are expensive and fragile.
They are fussy when it comes to humidity and temperature, and they don&amp;rsquo;t like
having beer spilled on them in a bar you&amp;rsquo;re playing at. You don&amp;rsquo;t want them
stolen, either. Acoustic guitars are less expensive and offer a vastly
different sound and style, so they&amp;rsquo;re a bit of their own thing, but fragility
argument applies to them as well. An electric violin/cello will cost you a
fraction of what a decent acoustic instrument will, and you can toss it around
without worrying about damaging your precious 100+ year old investment. They
are easy to amplify, they usually come with built-in preamps, and their sound
is easily moldable by effects. Often they are also relatively silent when
unplugged, which makes them handy for practicing at home.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/yamaha_hu_9fc1a1f0fd44874e.webp 330w,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/yamaha_hu_8d9b9f8fdbcf0304.webp 660w
,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/yamaha_hu_b2c1673db3a9821e.webp 1024w
,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/yamaha_hu_b92e54ce4ef41566.webp 1240w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1240"
height="926"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/yamaha_hu_a868290e1dbec883.jpg" srcset="https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/yamaha_hu_a06604e17c5a6809.jpg 330w,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/yamaha_hu_a868290e1dbec883.jpg 660w
,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/yamaha_hu_19d1e657041d2a3d.jpg 1024w
,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/yamaha.jpg 1240w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;figcaption class="text-center"&gt;My Yamaha SV-200 I bought in &lt;a href="https://piotr.is/2012/new-violin/"&gt;2012&lt;/a&gt;. Solid instrument despite somewhat heavy weight (compared to acoustic instruments, not other electric ones which are often heavier) and an abysmal dynamic performance. Also I kinda like the way it looks and I&amp;rsquo;m shallow like that. Also this photo is of poor quality, but I&amp;rsquo;m putting it here anyway because I took it moments after I received the instrument. I think it&amp;rsquo;s in my girlfriend&amp;rsquo;s apartment in Groningen.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Getting a good amplified sound using pickups attached to an acoustic instrument
is expensive. You need a quality pickup and a preamp, which will likely set you
back at least €1k. It&amp;rsquo;s cheaper than buying an electric instrument (guitar
being an exception), though, and a well-amplified acoustic instrument offers
superior dynamic range and sound (unless you &lt;em&gt;really&lt;/em&gt; want that
&lt;a href="https://www.youtube.com/watch?v=bKkMvBvyqvE" target="_blank" rel="noreferrer"&gt;fusion&lt;/a&gt; sound).&lt;/p&gt;
&lt;h3 id="amplifiers" class="relative group"&gt;Amplifiers &lt;/h3&gt;&lt;p&gt;Here&amp;rsquo;s what I learned after a couple of years of playing my electric violin: I
don&amp;rsquo;t &lt;em&gt;need&lt;/em&gt; an amplifier. You may need one, especially if you play the guitar,
but you probably don&amp;rsquo;t need a big expensive one.&lt;/p&gt;
&lt;p&gt;First use case is home practice, and let&amp;rsquo;s be honest, you won&amp;rsquo;t be playing too
loud at home, and you can get by with a small amp. Get a used one and you&amp;rsquo;ll
find something decent for less than a €100. For practicing with a band you&amp;rsquo;ll
likely be renting practice rooms or studios, which will come equipped with PA
systems and amplifiers. For gigs, well, in small venues your small amp will
probably be fine, and bigger venues have their amps and PA systems.&lt;/p&gt;
&lt;h3 id="pedals" class="relative group"&gt;Pedals &lt;/h3&gt;&lt;p&gt;I&amp;rsquo;ve seen musicians plugging their newly acquired electric or amplified
instrument straight into the amplifier, I was one of them. It&amp;rsquo;s OK to do it,
but you&amp;rsquo;re missing out. Effects pedals not only broaden the sonic capabilities
of your instrument, but can also vastly improve the sound quality, allow
looping, controlling other electronic instruments, and all this for relatively
little money. The thing you need to know about pedals (which I did not) is that
their behavior varies significantly from one instrument to another. It&amp;rsquo;s pretty
obvious when you think about it: a sound wave produced by a pluck of an
electric guitar string differs greatly from the one produced by blowing into a
saxophone or bowing a cello. That&amp;rsquo;s why most of the advice you find online
about what pedals you should buy applies mostly to electric and bass guitars,
but not necessarily to bow instruments or the brass section. Here&amp;rsquo;s my advice:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reverb pedals. By far the most important pedal you can buy if you play your
instrument with a bow, also an amazing pedal for wind instruments. Reverb
pedals give your sound room and body, and in my opinion no other pedal will
improve the sound quality of your amplified instrument like a good reverb
pedal will. It&amp;rsquo;s worth spending extra to get
&lt;a href="https://www.thomann.de/intl/strymon_big_sky.htm" target="_blank" rel="noreferrer"&gt;a&lt;/a&gt;
&lt;a href="https://www.strymon.net/bigsky/" target="_blank" rel="noreferrer"&gt;great&lt;/a&gt;
&lt;a href="https://www.thomann.de/intl/strymon_big_sky.htm" target="_blank" rel="noreferrer"&gt;one&lt;/a&gt; if you can afford
it.&lt;/li&gt;
&lt;li&gt;Equalizer (EQ) pedals. EQ pedals let you shape the sound by specifying
which of the frequencies should be boosted or reduced. This can be
particularly useful for violin players that want to get more low- and
mid-range sounds out of their instruments, or cello players that want to
sound more like a double-bass.&lt;/li&gt;
&lt;li&gt;Delay pedals. Short delay can be great for &lt;em&gt;staccato&lt;/em&gt; sounds in wind
instruments, also for &lt;em&gt;pizzicato&lt;/em&gt; in strings.&lt;/li&gt;
&lt;li&gt;Octaver/pitch shifting pedals will possibly allow to expand the range of
your instrument, and can be a powerful creative tool.&lt;/li&gt;
&lt;li&gt;Finally the overdrive pedals—you&amp;rsquo;d think there&amp;rsquo;s no use for them outside of
blues, rock and heavy-metal styles, but you&amp;rsquo;d be wrong. An overdriven sax
or slightly overdriven strings can sound amazing, but they require a good
quality overdrive. Look for midrange-heavy, crunchy ones.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/pedalboard_hu_63daff07234eb349.webp 330w,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/pedalboard_hu_18f867720b1c7563.webp 660w
,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/pedalboard_hu_683217be96102d97.webp 1024w
,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/pedalboard_hu_9afc0f3e5e3b3b24.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="4000"
height="1500"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/pedalboard_hu_82adee98d5f1e979.jpg" srcset="https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/pedalboard_hu_a07ee1238065cc04.jpg 330w,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/pedalboard_hu_82adee98d5f1e979.jpg 660w
,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/pedalboard_hu_390b3b2f4993cbde.jpg 1024w
,https://piotr.is/2020/non-classical-music-playing-guide-for-classically-trained-musicians/pedalboard_hu_56dce11d844bc0d1.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;figcaption class="text-center"&gt;On the left, my small pedalboard from May 2019. Signal comes from a wahwah pedal (not pictured) and goes into a boost pedal, through the overdrive, into the Whammy pitch-shifting pedal, and into the EQ, then delay and finally through the reverb into the amplifier.&lt;br&gt;
On the right, my even smaller “pedalboard” from May 2020. Signal comes into the tuner, and then to Line6 multi-effect stomp box. And there&amp;rsquo;s an expression pedal. And that&amp;rsquo;s it.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;s of course many more types of pedals that can be fun to play with, and I
employ you to dive into the
&lt;a href="https://www.reddit.com/r/guitarpedals/" target="_blank" rel="noreferrer"&gt;/r/guitarpedals&lt;/a&gt; community to learn
more about different setups people have, but at this point you might be asking
yourself: why don&amp;rsquo;t I just buy a multi-effects pedal instead?&lt;/p&gt;
&lt;p&gt;There was a time when you&amp;rsquo;d be sacrificing sound quality, but, controversial as
it may be in some circles to say it, I don&amp;rsquo;t think that&amp;rsquo;s the case anymore.
There are some &lt;a href="https://line6.com/helix/" target="_blank" rel="noreferrer"&gt;great multi-effects pedals&lt;/a&gt; out there
and while they cost plenty, they are still cheaper than buying a lot of
individual good quality pedals, and you don&amp;rsquo;t have to worry about pedal boards,
power supplies, different polarities and voltage requirements, etc. It&amp;rsquo;s a
matter of personal preference and to some degree convenience. I&amp;rsquo;ve actually
been using a multi-effects pedal for a while now, and while I appreciate the
fact that it&amp;rsquo;s compact and easy to setup, the directness of controls of
individual pedals is certainly something I miss.&lt;/p&gt;
&lt;h3 id="recording" class="relative group"&gt;Recording &lt;/h3&gt;&lt;p&gt;Recording is hard.&lt;/p&gt;
&lt;p&gt;If you just want to record yourself, all you need is an audio interface for
your computer (those needn&amp;rsquo;t be expensive) and some way to connect your
instrument into it. This is where it gets slightly tricky. If you play an
amplified instrument, like an electric bass or generally something with a
pickup, all you need is an amp that has a line out, or, preferably, a &lt;a href="https://en.wikipedia.org/wiki/DI_unit" target="_blank" rel="noreferrer"&gt;DI
box&lt;/a&gt;. Here&amp;rsquo;s a pro-tip: many
multi-effects pedals come with line-out and built-in DI capabilities, some even
serve as audio interfaces so that you can plug your instrument on one end and
connect USB to a computer on the other. Think about it if you&amp;rsquo;re on a budget
and recording is important to you.&lt;/p&gt;
&lt;p&gt;Now, if your instrument cannot be easily amplified with pick-ups and you
require a microphone, you&amp;rsquo;re in trouble. Microphones are expensive. And
recording via microphone requires an audio interface that supports 48v phantom
power, so make sure you don&amp;rsquo;t get a very cheap one that don&amp;rsquo;t. And on top of
that once you record using a microphone, you need to take into account the
acoustic properties of the room you&amp;rsquo;re recording in. Like I said, it&amp;rsquo;s hard.
But there are some &lt;a href="https://www.thomann.de/intl/sennheiser_e609_evolution.htm" target="_blank" rel="noreferrer"&gt;cheap and
reasonable&lt;/a&gt; options
out there, so do some research, talk to the people on reddit, and you&amp;rsquo;ll be
fine.&lt;/p&gt;
&lt;p&gt;Finally, we come to the sad topic of recording bands. Recording bands sucks.
It&amp;rsquo;s very hard to do right, and… my unpopular opinion is that you shouldn&amp;rsquo;t
even aim at that. &lt;a href="https://www.thomann.de/intl/zoom_h5.htm" target="_blank" rel="noreferrer"&gt;Cheap-ish&lt;/a&gt; portable
recorders will do a great job, hell, even new smartphones (iPhones are
particularly good at that) will record a band well enough so that you can use
it for tracking down mistakes and learning from them. Because that&amp;rsquo;s what you
really want, you need to record your band continuously so that you know what to
improve. It&amp;rsquo;s your best “debugging” tool. Once you have enough material and are
ready to record something, my advice would actually be to… rent a &lt;em&gt;real&lt;/em&gt;
recording studio with &lt;em&gt;real&lt;/em&gt; sound engineers. I know it sounds silly, but in
western Europe rates are around €1000 per three hours of recording which should
do the job for an amateur. It&amp;rsquo;s certainly possible to build a recording studio
for under a grand, but it will involve a lot of work, cost a lot of time,
and require tons of knowledge. So, food for thought.&lt;/p&gt;
&lt;h3 id="playing-something-else-than-your-main-instrument" class="relative group"&gt;Playing something else than your main instrument &lt;/h3&gt;&lt;p&gt;Now that you amplified your sound, found an amp or connected to a PA system,
chose your pedals and you are able to record, it&amp;rsquo;s time to figure out how to
build a “band” on your own. And I mean a band where you play all the
instruments.&lt;/p&gt;
&lt;p&gt;I mention this because my target audience is adult, which means that perhaps
the ability to play with friends on a regular basis isn&amp;rsquo;t something that should
be taken for granted. I know it wasn&amp;rsquo;t in my case, and I&amp;rsquo;d imagine I&amp;rsquo;m not
alone here. So how do you play on your own and not be bored? Let me walk you
through what I&amp;rsquo;ve experienced.&lt;/p&gt;
&lt;p&gt;First, &lt;a href="https://www.thomann.de/intl/looper.html" target="_blank" rel="noreferrer"&gt;loopers&lt;/a&gt;. Loopers can be
amazing, and are an invaluable practice tool. Think of them as metronomes that
aren&amp;rsquo;t boring first, and the best exercise in harmony second. Loopers come in
all shapes and sizes, the bigger they are, the more complicated they get. There
are videos all over YouTube of creative musicians doing amazing things with
loopers, but they do have a limitation, namely that it&amp;rsquo;s tricky to make
interesting music that consists of more than 3 chord progressions even with the
most advanced looper. Which brings us to computers.&lt;/p&gt;
&lt;p&gt;Most of us have some sort of laptops or desktops that are fairly new. They
don&amp;rsquo;t even need to be particularly powerful these days, unless you&amp;rsquo;re mixing
Kanye&amp;rsquo;s latest album. Any relatively new computer will be able to run a digital
audio workstation (DAW) of your choice effortlessly, and that DAW in turn will
allow you to create tracks, scenes, patterns, etc. There&amp;rsquo;s &lt;em&gt;a lot&lt;/em&gt; of choice
when it comes to software, and despite it looking very complicated at first,
DAWs aren&amp;rsquo;t hard to learn. And once you know one, you&amp;rsquo;ll be able to adapt to a
different one relatively easily. Pro-tip for Mac users here: every new Mac
comes with Apple&amp;rsquo;s &lt;a href="https://www.apple.com/mac/garageband/" target="_blank" rel="noreferrer"&gt;Garageband&lt;/a&gt;
pre-installed, and it&amp;rsquo;s actually a pretty decent piece of software.&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;s a recent trend online of getting away from a computer for music
production, which it appears to me is particularly strong amongst the
non-professionals. We, amateurs, that is, don&amp;rsquo;t necessarily need the robustness
and feature set of &lt;a href="https://www.avid.com/pro-tools" target="_blank" rel="noreferrer"&gt;Pro Tools&lt;/a&gt;, because we&amp;rsquo;re
not producing music in a professional studio. Our jobs however increasingly
require us to spend whole days in front of a computer, and we appreciate
getting away from it every once in a while. Also it&amp;rsquo;s fun being able to get
that tactile feedback of hardware that&amp;rsquo;s made for making music, it gives a
feeling of playing an instrument rather than operating software. There&amp;rsquo;s great
choice available both when it comes to standalone
&lt;a href="https://www.arturia.com/products/hardware-synths/microfreak/overview" target="_blank" rel="noreferrer"&gt;synthesizers&lt;/a&gt;,
&lt;a href="https://www.elektron.se/products/modelsamples/" target="_blank" rel="noreferrer"&gt;samplers&lt;/a&gt;, or &lt;a href="https://www.akaipro.com/mpc-one" target="_blank" rel="noreferrer"&gt;groove
boxes&lt;/a&gt;, as well as
&lt;a href="https://www.native-instruments.com/en/products/maschine/production-systems/maschine/" target="_blank" rel="noreferrer"&gt;physical&lt;/a&gt;
DAW &lt;a href="https://www.ableton.com/en/push/" target="_blank" rel="noreferrer"&gt;controllers&lt;/a&gt;, and playing with them is a
lot of fun. And then of course there are synthesizers in pedal form, that can
allow you to &lt;a href="https://www.ehx.com/products/bass9" target="_blank" rel="noreferrer"&gt;alter your sound&lt;/a&gt; or even
&lt;a href="https://www.digitech.com/band-creator/" target="_blank" rel="noreferrer"&gt;simulate&lt;/a&gt; a small band. And then of
course there are &lt;a href="https://www.morningstarfx.com" target="_blank" rel="noreferrer"&gt;pedals&lt;/a&gt; that allow you to
control synthesizers and other instruments via MIDI. Possibilities truly are
endless here (watch out for that credit card limit though).&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;After reading all this (if you even made it this far) you might be wondering:
what&amp;rsquo;s the point of me writing an article like this with a classically-trained
musician in mind?&lt;/p&gt;
&lt;p&gt;It has been my somewhat surprising experience that &lt;em&gt;many&lt;/em&gt; people went to some
sort of music school as a child. They play the oboe, the piano, or the trumpet,
and since they stopped their musical education, they stopped playing. I was one
of those people and I thought that my situation was somewhat unique, but it
wasn&amp;rsquo;t. There&amp;rsquo;s so many musicians that don&amp;rsquo;t play anymore. I thought that&amp;rsquo;s
sad, because music is the best thing there is, and I thought I could encourage
those that, like me, thought their best jamming years are long behind them, to
rekindle their relationship with their instruments and make that bass droppp.&lt;/p&gt;
&lt;p&gt;Also, seeing that we&amp;rsquo;re all on lockdown, in the words of the poet:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;It has to start somewhere&lt;br&gt;
It has to start sometime&lt;br&gt;
What better place than here?&lt;br&gt;
What better time than now?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Don&amp;rsquo;t let your dreams be dreams.&lt;/p&gt;</description></item><item><title>Sunk cost of my iPad Pro</title><link>https://piotr.is/2020/sunk-cost-of-my-ipad-pro/</link><pubDate>Tue, 05 May 2020 00:00:00 +0100</pubDate><guid>https://piotr.is/2020/sunk-cost-of-my-ipad-pro/</guid><description>&lt;p&gt;In January 2019 I bought an 11-inch iPad Pro. It&amp;rsquo;s a magnificent piece of
hardware that you can
&lt;a href="https://www.engadget.com/2018-11-09-ipad-pro-2018-review.html" target="_blank" rel="noreferrer"&gt;read&lt;/a&gt;
&lt;a href="https://www.theverge.com/2018/11/5/18062612/apple-ipad-pro-review-2018-screen-usb-c-pencil-price-features" target="_blank" rel="noreferrer"&gt;many&lt;/a&gt;
&lt;a href="https://www.wired.com/review/review-ipad-pro-2018/" target="_blank" rel="noreferrer"&gt;reviews&lt;/a&gt; of online. The
screen is brilliant, the portability and battery life are unmatched, the
performance is swift (until you&amp;rsquo;re trying to perform a long-running
CPU-intensive operation, that is).&lt;/p&gt;
&lt;p&gt;The iPad Pro was always meant to be my “personal computing” device. I don&amp;rsquo;t
really code in my free time anymore, so issues of not being able to run VS Code
on it are not my issues. I do some music production, lightweight photo editing
and I write, that&amp;rsquo;s all I require from my personal computer. (ah yes, and the
“occasional Netflix”) So at first glance the magnificent iPad Pro should be
amazing, shouldn&amp;rsquo;t it? Turns out that for me, it wasn&amp;rsquo;t, for many tiny reasons.
Tech reviewers sometimes refer to this as “the 10%” of things you need to be
able to do on your computer, because indeed the iPad Pro can often handle that
90%. Yet even with iPadOS (aka iOS 13), which made it much more a real computer
than any previous software upgrade, there&amp;rsquo;s still a ton of things that it
either doesn&amp;rsquo;t do well, or doesn&amp;rsquo;t do at all. I agree with
&lt;a href="https://daringfireball.net/2020/01/the_ipad_awkwardly_turns_10" target="_blank" rel="noreferrer"&gt;Gruber&lt;/a&gt;: the
iPad didn&amp;rsquo;t fulfill the potential that was always in the hardware itself, even
after 10 years of being on the market.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2020/sunk-cost-of-my-ipad-pro/ipad-blink-external-display_hu_963b1a620b1674af.webp 330w,https://piotr.is/2020/sunk-cost-of-my-ipad-pro/ipad-blink-external-display_hu_b27df8879728f644.webp 660w
,https://piotr.is/2020/sunk-cost-of-my-ipad-pro/ipad-blink-external-display_hu_1100327a2e165734.webp 1024w
,https://piotr.is/2020/sunk-cost-of-my-ipad-pro/ipad-blink-external-display_hu_a052ba83e6cf3adc.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2048"
height="1536"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2020/sunk-cost-of-my-ipad-pro/ipad-blink-external-display_hu_560a75526f7dd29a.jpg" srcset="https://piotr.is/2020/sunk-cost-of-my-ipad-pro/ipad-blink-external-display_hu_fffb851f8237552c.jpg 330w,https://piotr.is/2020/sunk-cost-of-my-ipad-pro/ipad-blink-external-display_hu_560a75526f7dd29a.jpg 660w
,https://piotr.is/2020/sunk-cost-of-my-ipad-pro/ipad-blink-external-display_hu_cd22026eda90ac8.jpg 1024w
,https://piotr.is/2020/sunk-cost-of-my-ipad-pro/ipad-blink-external-display_hu_b47e4ba993265ba5.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;figcaption class="text-center"&gt;With a bit of effort you can code relatively productively on the iPad, and by “the iPad” I mean a small AWS instance with mosh and some goodies on it. Yes, there are probably some SSH keys leaked in this photograph, HACK ME NOW.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Of all the issues that I&amp;rsquo;ve had, there were two major ones:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Input. Apparently I&amp;rsquo;m not an Apple Pencil person, I find handwriting on the
screen awkward, even with &lt;a href="https://symphonypro.net/static/v5_release/sp5/index.html" target="_blank" rel="noreferrer"&gt;absolutely brilliant
apps&lt;/a&gt; that take
advantage of it in a spectacular way. I need a keyboard, and none of the
keyboard cases I could find pleased me. Probably the new Magic Keyboard
could do the trick, but I won&amp;rsquo;t buy one and I&amp;rsquo;ll get to why in a moment.&lt;/li&gt;
&lt;li&gt;Limited connectivity with external hardware. Yes, the iPad Pro has a usb-c
port which is much better than having a Lightning port, but a) there&amp;rsquo;s only
one, so you&amp;rsquo;ll be living the #donglelyfe even if your peripherals actually
use usb-c, and b) iPadOS limits the kind of protocols it allows the apps to
use for transferring data over usb-c. So if &lt;a href="https://www.native-instruments.com/en/products/maschine/production-systems/maschine/" target="_blank" rel="noreferrer"&gt;your
hardware&lt;/a&gt;
uses a custom protocol, it won&amp;rsquo;t work on the iPad.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;It baffles me now when I think of how much time and money I spent trying to
make my iPad setup work well for me. Any obstacle I encountered I tried finding
a workaround for, or I&amp;rsquo;d buy some accessory to help me deal with it. I also
kept believing that Apple will gradually improve the software and, by doing so,
address all my concerns. To be fair it did happen to a certain degree, but the
starting point of the reasoning was flawed. I bought a product for the
potential of what it &lt;em&gt;could one day be&lt;/em&gt;, and not for what it was. And once I
did, I fully committed to my “investment,” not wanting to face the hard truth
that it simply did not work for me. It&amp;rsquo;s a perfect illustration of two economic
or psychologic principles: &lt;a href="https://en.wikipedia.org/wiki/Choice-supportive_bias" target="_blank" rel="noreferrer"&gt;post-purchase
rationalization&lt;/a&gt; and the
&lt;a href="https://en.wikipedia.org/wiki/Sunk_cost" target="_blank" rel="noreferrer"&gt;sunk cost&lt;/a&gt; fallacy.&lt;/p&gt;
&lt;p&gt;The first one we&amp;rsquo;re all very familiar with, it&amp;rsquo;s the fallacy where humans
generally try to remember their past choices as better than they actually were.
We do this with many of our decisions, and the bigger the cost of making a
choice, the more our brain supports it later. The second one is famously
attributed to Concorde development—the British and French governments took
their past investments as a factor when deciding on whether to continue the
project. It applies to &lt;a href="https://www.npr.org/2015/02/13/385948508/how-sunk-cost-fallacy-applies-to-love" target="_blank" rel="noreferrer"&gt;human
relationships&lt;/a&gt;,
too, and, as I experienced, to consumer decisions.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;This post, then, isn&amp;rsquo;t a caveat emptor, I&amp;rsquo;m not trying to discourage anyone
from buying an iPad, nor am I saying it&amp;rsquo;s a bad purchase in general. On the
contrary, it&amp;rsquo;s amazing in many ways. The reason I wrote all this down is that
it took me by surprise how far I&amp;rsquo;d gone into my sunk cost, and it made me
reevaluate many of my past choices (no, I&amp;rsquo;m not divorcing my wife). I invite
you, dear reader, to do the same, and now please excuse me while I go to the
Apple store online and spend an insane amount of money on a new laptop.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;There is a 3rd but very niche yet infuriating problem that relates to both of the issues above that not many people care about, as it relates to me being Polish. All the Polish Mac users I know install &lt;a href="https://karabiner-elements.pqrs.org" target="_blank" rel="noreferrer"&gt;Karabiner-Elements&lt;/a&gt; as one of the first apps after getting a new Mac. This software allows for remapping the keyboard, most importantly swapping the right &lt;strong&gt;⌘&lt;/strong&gt; with right &lt;strong&gt;⌥&lt;/strong&gt; key, in order to get Alt Gr (which is required to input Polish characters) right next to the space, so that you can press it with your thumb and not die. There is no way to achieve the same thing on the iPad with an external keyboard. Unless you make the keyboard yourself I guess. This niche problem remains niche, but illustrates perfectly what&amp;rsquo;s wrong with the iPad.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Side-note: how often does sunk cost fallacy apply to software projects? How many projects were you part of, dear reader, when a decision was made to stick to old, buggy, messy ways of doing things simply because “we&amp;rsquo;ve already invested so much time and effort into this system”? Food for thought.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>A false sense of security</title><link>https://piotr.is/2020/a-false-sense-of-security/</link><pubDate>Mon, 20 Apr 2020 00:00:00 +0100</pubDate><guid>https://piotr.is/2020/a-false-sense-of-security/</guid><description>&lt;p&gt;Marc Andreessen &lt;a href="https://a16z.com/2020/04/18/its-time-to-build/" target="_blank" rel="noreferrer"&gt;writes&lt;/a&gt; about
how ill-equipped the United States is to handle the ongoing COVID-19 pandemic,
and concludes that it&amp;rsquo;s due to the fact that the America lost its ability to
“build” things, be it medical equipment, infrastructure, or financial
mechanisms that&amp;rsquo;d allow the federal government to support its citizens better.&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;s a particular paragraph that stood out to me and made me think about a
particular lack-of-readiness aspect of COVID-19 epidemic, not only in the US,
but all over the world and in particular in Western Europe:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;We see this today with the things we urgently need but don&amp;rsquo;t have. We don&amp;rsquo;t
have enough coronavirus tests, or test materials — including, amazingly,
cotton swabs and common reagents. We don&amp;rsquo;t have enough ventilators, negative
pressure rooms, and ICU beds. And we don&amp;rsquo;t have enough surgical masks, eye
shields, and medical gowns — as I write this, New York City has put out a
desperate call for rain ponchos to be used as medical gowns. Rain ponchos! In
2020! In America!&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It is indeed unbelievable how poorly is the United States prepared to face an
outbreak such as this. European countries aren&amp;rsquo;t much better, with photographs
of improvised hospital wards and morgues in worst hit areas all over the news,
stories of medical professionals being forced to work without protective gear,
etc.&lt;/p&gt;
&lt;p&gt;I can&amp;rsquo;t stop but think that “the Western world” couldn&amp;rsquo;t fathom this would
happen simply because of its false sense of security. We are the richest
countries with highest medical standards, enormous amounts of money and best
infrastructure in the world. If China, Taiwan and South Korea can handle it,
surely we can, too. Sadly, some of our leaders didn&amp;rsquo;t take the threat
seriously, with Donald Trump famously and foolishly comparing the outbreak to
the common flu. And that&amp;rsquo;s March, when signs that the virus is indeed extremely
contagious were clearly visible already.&lt;/p&gt;
&lt;p&gt;And it&amp;rsquo;s not like there weren&amp;rsquo;t any &lt;a href="https://hbr.org/2006/05/preparing-for-a-pandemic" target="_blank" rel="noreferrer"&gt;warning
signs&lt;/a&gt;. The world knew it
wasn&amp;rsquo;t prepared, and at least in the US &lt;a href="https://www.nbcnews.com/politics/national-security/clinton-trump-20-years-boom-mostly-bust-prepping-pandemics-n1182291" target="_blank" rel="noreferrer"&gt;the last 4 administrations didn&amp;rsquo;t do
anything&lt;/a&gt;
about improving the level of their country&amp;rsquo;s preparedness, and Donald Trump&amp;rsquo;s
administration &lt;a href="https://www.latimes.com/science/story/2020-04-02/coronavirus-trump-pandemic-program-viruses-detection" target="_blank" rel="noreferrer"&gt;cancelled early-warning program to detect
coronaviruses&lt;/a&gt;
just months before the current outbreak. They even did
&lt;a href="https://www.politico.com/news/2020/03/16/trump-inauguration-warning-scenario-pandemic-132797" target="_blank" rel="noreferrer"&gt;pandemic-response-exercises&lt;/a&gt;
that modelled a situation very much like the one we&amp;rsquo;re having now, but the
administration ignored the findings.&lt;/p&gt;
&lt;p&gt;Silliness of Trump aside, many European politicians minimized the threat as
well, with
&lt;a href="https://www.independent.co.uk/news/health/coronavirus-herd-immunity-uk-nhs-outbreak-pandemic-government-a9399101.html" target="_blank" rel="noreferrer"&gt;UK&lt;/a&gt;
or
&lt;a href="https://en.wikipedia.org/wiki/2020_coronavirus_pandemic_in_Sweden#Government_response" target="_blank" rel="noreferrer"&gt;Sweden&lt;/a&gt;
being the most visible examples, and I sincerely believe the real reason behind
the delayed response was a belief that our advanced healthcare systems will
simply “handle it.” Some—like The Netherlands or Germany—indeed avoided
overcrowding its hospitals and ICUs. Others didn&amp;rsquo;t, like Italy, Spain or the
United States, despite having one of the highest &lt;a href="https://www.forbes.com/sites/niallmccarthy/2020/03/12/the-countries-with-the-most-critical-care-beds-per-capita-infographic/" target="_blank" rel="noreferrer"&gt;critical care beds per
capita&lt;/a&gt;
in the world.&lt;/p&gt;
&lt;p&gt;If COVID-19&amp;rsquo;s outbreak could teach us anything, it should change the way we
approach threats, and the way we heed to experts&amp;rsquo; advice. Because our lives and
our economies were turned upside down overnight, which means we&amp;rsquo;re not ready,
and the sense of security is indeed false.&lt;/p&gt;</description></item><item><title>dotGo 2019</title><link>https://piotr.is/2019/dotgo-2019/</link><pubDate>Thu, 25 Apr 2019 18:26:57 +0100</pubDate><guid>https://piotr.is/2019/dotgo-2019/</guid><description>&lt;p&gt;A couple of weeks ago I went to Paris to attend &lt;a href="https://www.dotgo.eu/" target="_blank" rel="noreferrer"&gt;dotGo&lt;/a&gt; (thanks, &lt;a href="https://www.messagebird.com" target="_blank" rel="noreferrer"&gt;MessageBird&lt;/a&gt;!), one of the biggest Go conferences in Europe. dotGo lasts only one day, and it&amp;rsquo;s single-track, but it&amp;rsquo;s a solid offering with great organization, excellent venue and awesome talks. I realize I sound like a dotGo commercial, but as a former academic I remain amazed at how much better professional conferences are, and in the case of dotGo we&amp;rsquo;re talking orders of magnitude.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2019/dotgo-2019/dotgo_hu_f072862023686484.webp 330w,https://piotr.is/2019/dotgo-2019/dotgo_hu_dc9b82c9e48a5e89.webp 660w
,https://piotr.is/2019/dotgo-2019/dotgo_hu_f432269141337c27.webp 1024w
,https://piotr.is/2019/dotgo-2019/dotgo_hu_8325a3da3a25ff8f.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2048"
height="1536"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2019/dotgo-2019/dotgo_hu_a4cb6fbcd9bd4903.jpg" srcset="https://piotr.is/2019/dotgo-2019/dotgo_hu_707fd1dcd940ff14.jpg 330w,https://piotr.is/2019/dotgo-2019/dotgo_hu_a4cb6fbcd9bd4903.jpg 660w
,https://piotr.is/2019/dotgo-2019/dotgo_hu_110e2659b9e001b2.jpg 1024w
,https://piotr.is/2019/dotgo-2019/dotgo_hu_f093f56ae8b5ce63.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Not all of the dotGo 2019 talks were brilliant, but I see even that as an advantage; it&amp;rsquo;s easy to make a good conference by putting an all-star speaker line-up. It doesn&amp;rsquo;t allow for younger, less known people in the community to present anything, though, and I think dotGo organizers&amp;rsquo; decision to present a mix of established engineers and newcomers was very successful. They also succeeded in having a variety of topics, and many of the talks weren&amp;rsquo;t necessarily Go-specific. Sure,&lt;/p&gt;
&lt;h3 id="advanced-go-specific-topics" class="relative group"&gt;advanced, Go-specific topics &lt;/h3&gt;&lt;p&gt;were prominently represented, with Daniel Martí&amp;rsquo;s &lt;a href="https://www.dotconferences.com/2019/03/daniel-marti-optimizing-go-code-without-a-blindfold" target="_blank" rel="noreferrer"&gt;optimization talk&lt;/a&gt; a prime example, and Dave Cheney&amp;rsquo;s &lt;a href="https://www.dotconferences.com/2019/03/dave-cheney-constant-time" target="_blank" rel="noreferrer"&gt;talk about constants&lt;/a&gt;, probably the best talk of the whole conference. There was also &lt;a href="https://www.dotconferences.com/2019/03/bryan-boreham-go-tune-your-memory" target="_blank" rel="noreferrer"&gt;a perfectly mediocre talk&lt;/a&gt; about Go GC, because, as we all know, no Go conference is complete without a GC talk. These are the kind of talks everyone going to a Go-related conference expects. You can learn more about internals of the language and some of its more obscure features, and that&amp;rsquo;s great. But then there&amp;rsquo;s the second kind of talks, my personal favorite, a &amp;ldquo;meetup-talk&amp;rdquo;, or&lt;/p&gt;
&lt;h3 id="i-had-this-problem-and-ive-been-trying-to-solve-it" class="relative group"&gt;&amp;ldquo;I had this problem, and I&amp;rsquo;ve been trying to solve it&amp;rdquo; &lt;/h3&gt;&lt;p&gt;-talk. It&amp;rsquo;s when an engineer comes on stage, and tells us about an unusual problem they&amp;rsquo;ve been having, and they walk us through their reasoning, and iterative attempts at finding a solution. Basically, something we can all easily relate to as developers.&lt;/p&gt;
&lt;p&gt;Ignat Korchagin, a systems engineer at CloudFlare, spoke about his attempts of using Go as a scripting language, and ended up taking a deep dive into how the Linux kernel executes &amp;ldquo;shebang&amp;rdquo; lines that start all scripts. &lt;a href="https://www.dotconferences.com/2019/03/ignat-korchagin-go-as-a-scripting-language-in-linux" target="_blank" rel="noreferrer"&gt;An excellent talk&lt;/a&gt; that everyone should watch, not necessarily only engineers interested in Go.&lt;/p&gt;
&lt;p&gt;But then there was Ellen Körbes&amp;rsquo; &lt;a href="https://www.dotconferences.com/2019/03/ellen-korbes-go-for-phallic-object-generation" target="_blank" rel="noreferrer"&gt;excellent talk&lt;/a&gt; about &amp;ldquo;phallic object generation&amp;rdquo; (oh yeah). Ellen, a transgender woman, gave the coolest background story for her talk:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Installing a vagina makes the body go &amp;ldquo;oh noes there&amp;rsquo;s a huge gash here I better close it asap!!&amp;rdquo; To avoid that happening, there are dilators, and not dilating for even a single day may be catastrophic.
Problem: Airport security loves to take them away. Solution: Let&amp;rsquo;s make 3D printable dilators&amp;hellip; with Go!&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Well if you want to captivate your audience&amp;rsquo;s attention, waving a 3D printed penis-shaped object is definitely one way to do it. And if you thought Körbes just wanted to be sensational and didn&amp;rsquo;t really have much to say, you&amp;rsquo;d be wrong; her &amp;ldquo;let&amp;rsquo;s try to 3d print with Go&amp;rdquo; journey was very interesting and her presentation very well prepared. Go watch it.&lt;/p&gt;
&lt;p&gt;dotGo is of course a major conference, so it naturally attracts big names from big companies, working on huge projects. That&amp;rsquo;s the last talk category, aka&lt;/p&gt;
&lt;h3 id="im-a-big-shot-working-on-big-problems-and-i-wanted-to-show-you-something-cool" class="relative group"&gt;&amp;ldquo;I&amp;rsquo;m a big-shot working on big problems, and I wanted to show you something cool.&amp;rdquo; &lt;/h3&gt;&lt;p&gt;We had three highlights that fall into said category:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.dotconferences.com/2019/03/jean-de-klerk-multi-module-repositories" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Multi-module repositories&amp;rdquo;&lt;/a&gt; by Google&amp;rsquo;s Jean de Klerk, which covers an interesting situation of having multiple Go modules within single repository. A problem, hopefully, nobody but giant corporations should have.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.dotconferences.com/2019/03/jessica-frazelle-a-dive-into-risc-v" target="_blank" rel="noreferrer"&gt;&amp;ldquo;A dive into RISC-V&amp;rdquo;&lt;/a&gt; by Jess Frazelle, of Docker/Google/Microsoft/Github fame. It was a bit of a disappointment, because Jess &amp;ldquo;&lt;code&gt;xrandr&lt;/code&gt; goddess&amp;rdquo; Frazelle&amp;rsquo;s Linux laptop refused to work with the conference beamer, and instead of live demos of &lt;a href="https://twitter.com/jessfraz/status/1108385226609385475" target="_blank" rel="noreferrer"&gt;RISC-V Go binaries&lt;/a&gt;, we got a long historical rant about computer architectures and firmware. &lt;code&gt;¯\_(ツ)_/¯&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;and finally &lt;a href="https://www.dotconferences.com/2019/03/michael-mcloughlin-better-x86-assembly-generation-with-go" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Better x86 Assembly Generation with Go&amp;rdquo;&lt;/a&gt; by Uber&amp;rsquo;s Michael McLoughlin. That one deserves more than a &lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;What McLoughlin presented was, at least to me, jaw-dropping. He works on optimizing cryptographic operations, and is the author of &lt;a href="https://github.com/mmcloughlin/avo" target="_blank" rel="noreferrer"&gt;&lt;code&gt;avo&lt;/code&gt;&lt;/a&gt;, which is basically a DSL for generating assembly from Go. &lt;code&gt;avo&lt;/code&gt; lets the user take advantage of Go native types, function signatures and control structures, thus making writing assembly from within Go (something you should never do unless you work on cray things) much easier and safer. Seeing McLoughlin present how to generate assembly code for SHA-1 hash function with &lt;code&gt;avo&lt;/code&gt; was quite spectacular. 😶➡️💥&lt;/p&gt;
&lt;h3 id="wrapping-it-all-up" class="relative group"&gt;Wrapping it all up, &lt;/h3&gt;&lt;p&gt;going to dotGo was an excellent idea. We got to listen to awesome talks, meet fellow Gophers from all around Europe (actually that&amp;rsquo;s not true, we didn&amp;rsquo;t network, because we&amp;rsquo;re shy), and eat French baguette. Can&amp;rsquo;t put a price on any of that! Or actually you can, and it&amp;rsquo;s not expensive; it&amp;rsquo;s all a 4-hour-long train ride away from Amsterdam and the conference fees are very reasonable, so there&amp;rsquo;s really no reason for other Gophers not to go next year.&lt;/p&gt;
&lt;p&gt;See you all at dotGo 2020!&lt;/p&gt;</description></item><item><title>Auto Emoción</title><link>https://piotr.is/2018/auto-emoci%C3%B3n/</link><pubDate>Wed, 03 Jan 2018 18:26:57 +0100</pubDate><guid>https://piotr.is/2018/auto-emoci%C3%B3n/</guid><description>&lt;p&gt;Most of you probably don’t know, but about 5 months ago, Karolina and I bought a beautiful, red, 2013 Seat Leon coupé. We sold it today, because of our upcoming move to the Netherlands where we won’t need it, and also because it’s a major hassle moving a car to NL (a proper European federation cannot happen soon enough). It was our first car and despite the fact that we’re both pretty left-leaning, bike-riding, train-loving hippies, we were surprised how much our car&amp;ndash;a petrol-burning, city-clogging thing&amp;ndash;grew on us. Here is a couple of observations we made about it.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2018/auto-emoci%C3%B3n/auto-emocion_hu_95a1d9de498663fa.webp 330w,https://piotr.is/2018/auto-emoci%C3%B3n/auto-emocion_hu_35ee86a5a9104508.webp 660w
,https://piotr.is/2018/auto-emoci%C3%B3n/auto-emocion_hu_3a3757aed9e5a37.webp 1024w
,https://piotr.is/2018/auto-emoci%C3%B3n/auto-emocion_hu_f344905856777131.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2048"
height="1365"
class="mx-auto my-0 rounded-md"
alt="Karolina preparing for yet another hike, somewhere in central Italy."
loading="lazy" decoding="async"
src="https://piotr.is/2018/auto-emoci%C3%B3n/auto-emocion_hu_b2d37b1627c42507.jpg" srcset="https://piotr.is/2018/auto-emoci%C3%B3n/auto-emocion_hu_5029d76f2f359fc7.jpg 330w,https://piotr.is/2018/auto-emoci%C3%B3n/auto-emocion_hu_b2d37b1627c42507.jpg 660w
,https://piotr.is/2018/auto-emoci%C3%B3n/auto-emocion_hu_930576413ffc738e.jpg 1024w
,https://piotr.is/2018/auto-emoci%C3%B3n/auto-emocion_hu_13228925c10c4d1a.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;figcaption class="text-center"&gt;Karolina preparing for yet another hike, somewhere in central Italy.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;We didn’t use our car on a daily basis. In fact, it lived in the garage for the great majority of time, even though all of our friends told us we’d start using the car for commuting once we got it. That didn’t happen, but we did end up putting more than 6000 kms on it during our 5 months of ownership, which could be considered &amp;ldquo;a lot&amp;rdquo;. We’re thus happy to report that it is in fact possible and, given that you live in a densely populated city, easy to have a car and not use it on a daily basis. And we’re happy to report that our little Seat completed its mission of taking us on numerous Alpine trips flawlessly.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Cars are expensive. Really expensive. And it’s not only the costs of ownership, but taxes, windscreen replacements (long story), winter tires, check-ups and insurance all put a major dent on a monthly budget. And the thing is, you don’t really realize it until you get rid of the car, take a look at your expenses and see how suddenly you’ve a lot of money to spare. Or at least we didn’t, but food for thought, car owners&amp;ndash;calculate how much money owning a car costs you and if you’re really getting the expected value out of it.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;This being said, we grew attached to our car. Even Karolina, who is definitely not a car person, started referring to it as &amp;ldquo;auto emoción&amp;rdquo; (she even started doing a decent Catalan accent, Sergi), and we kept anthropomorphising it, which is something one should really be ashamed of. I guess I was always a car person, but until recently one without a driver’s license, so I kinda forgot about it, and kinda didn’t realize how deep my love for cars is. Well, it’s deep. It’s deep to such a degree that I’ve spent a whole day today browsing autoscout24.nl and marktplaats.nl. (I’m staying home because I’m sick, okay? I’m not that bad.) So I’m afraid I will buy a car again once we settle down in NL, despite the fact that we don’t need one, and that it makes no sense to own one. I guess I’m embarrassed to admit that a perfectly capable rental VW diesel is so off-putting to me that I’d rather spend much more money on something else, simply because I like it better.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Finally, for all the petrolheads out there: our Seat had a 1.8 petrol engine with 177 bhp, a dual-clutch automatic gearbox, an FR sports trim and was the perfect teenager’s car. And yes, 177 bhp in a golf-sized car is plenty, it went like stink once you put your foot down. Is that an important property of a car used primarily for long-distance trips? Not necessarily, although it is fun, and paradoxically safe, because you will always make it off of the on-ramp on the autobahn, and you’ll never have trouble overtaking trucks. Would I buy a car like this again? Probably not. Sport suspension is cool when you’re 18, or when you actually intend to take the car onto the track on weekends, otherwise it’s just uncomfortable. The whole teenage-targeted features like &amp;ldquo;sport mode&amp;rdquo; and paddle shifters (yeah) end up being used every once in a blue moon, and I wouldn’t go for any of that again. If you’re looking for a relatively cheap, good looking, sporty hatchback, though, I can wholeheartedly recommend the Leon SC. I also recommend going for the 1.8 engine, because it revs so happily, and isn’t that much more expensive to run if driven normally most of the time. (Consumer advice: I’ve driven the 1.4 and it’s fun, too, but lacks oomph. Cupra, on the other hand, is very expensive and too brash. And diesels suck, because, well, they are diesels.)&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So yeah, we bid farewell to our car, and we hope the new owner will treat it well. And since, after finding a job, a flat, and booking a truck, this was our last item on the checklist, we are now fully ready for moving to Amsterdam.&lt;/p&gt;</description></item><item><title>ECM is finally streaming, and I'm here to tell you what's good</title><link>https://piotr.is/2017/ecm-is-finally-streaming-and-im-here-to-tell-you-whats-good/</link><pubDate>Sat, 02 Dec 2017 18:26:57 +0100</pubDate><guid>https://piotr.is/2017/ecm-is-finally-streaming-and-im-here-to-tell-you-whats-good/</guid><description>&lt;p&gt;As some of you might have heard, the legendary Munich label ECM &lt;em&gt;finally&lt;/em&gt; &lt;a href="https://www.ecmrecords.com/public/docs/ECM_and_Streaming.pdf" target="_blank" rel="noreferrer"&gt;jumped&lt;/a&gt; on the streaming bandwagon. Yes, Manfred, I wholeheartedly agree that the beautiful music your label publishes demands to be listened on CDs and LPs, but these are harder and harder to take on a plane. With iPod Classic not sold anymore and iTunes morphing into Apple Music, music lovers will soon be left with only 3rd party solutions to keep actual music files on their smartphones. So thank you, herr Eicher, for allowing us to stream your whole catalog in 96 kbps Ogg Vorbis &lt;a href="https://support.spotify.com/us/article/high-quality-streaming/" target="_blank" rel="noreferrer"&gt;Spotify streams&lt;/a&gt;. (Did Keith Jarrett sign off on that btw? Nevermind, I know he didn&amp;rsquo;t. )&lt;/p&gt;
&lt;p&gt;The New York Times recently published &lt;a href="https://www.nytimes.com/2017/11/17/arts/music/ecm-catalog-streaming-guide.html" target="_blank" rel="noreferrer"&gt;a list&lt;/a&gt; of their 21 “essential” ECM albums, and I agree with many of their picks. But at the end of the day they are just The New York Times, so what would they know? Here are &lt;em&gt;my&lt;/em&gt; favorite ECM albums, which you should listen to at once. My list is of course highly subjective, but my taste is known to be notoriously better than NYT’s. In no particular order:&lt;/p&gt;
&lt;h2 id="chick-corea-miroslav-vitous-roy-haynestrio-music-live-in-europe-1984" class="relative group"&gt;Chick Corea, Miroslav Vitous, Roy Haynes—&amp;ldquo;Trio Music Live In Europe&amp;rdquo; (1984) &lt;/h2&gt;&lt;p&gt;This album, recorder live in Switzerland and published in 1984, captures Chick Corea&amp;rsquo;s trio with Czech bassist Miroslav Vitous and the legendary Roy Haynes in fantastic shape. Corea&amp;rsquo;s rhythmic style is perfectly matched by Vitous&amp;rsquo; virtuosity and Haynes&amp;rsquo; explosive madness. The album contains great interpretations of standards, as well as compositions written by each musician (notably the fantastic &amp;ldquo;Mirovisions&amp;rdquo; which closes the record), but the real gem of &amp;ldquo;Trio Music Live in Europe&amp;rdquo; is Corea&amp;rsquo;s solo piece, which he starts by a heretic interpretation of Scriabin&amp;rsquo;s Prelude No. 2 (Op. 11), and then transitions into a wild improvisation.&lt;/p&gt;
&lt;iframe src="https://open.spotify.com/embed/track/5Y8thWG11MS4CORF4O3eiB" width="100%" height="80" frameborder="0" allowtransparency="true"&gt;&lt;/iframe&gt;
&lt;p&gt;It is, in essence, everything I love about Chick Corea. The untamed energy of rhythm, a complete disregard for the tradition of piano as a classical instrument, and free mixing of musical styles. The man is the Tarantino of jazz piano. ❤️&lt;/p&gt;
&lt;h2 id="keith-jarrett-gary-peacock-jack-dejohnettestandards-vol-1-1983" class="relative group"&gt;Keith Jarrett, Gary Peacock, Jack DeJohnette—&amp;ldquo;Standards, Vol. 1&amp;rdquo; (1983) &lt;/h2&gt;&lt;p&gt;Of all the legendary &amp;ldquo;Standards&amp;rdquo; albums by Jarrett&amp;rsquo;s famous &amp;ldquo;standards trio,&amp;rdquo; this one remains my favorite. Partly for nostalgic reasons (this was the very first time I heard Jarrett&amp;rsquo;s piano), partly because it&amp;rsquo;s perfect in every conceivable way.&lt;/p&gt;
&lt;p&gt;Rumor has it that when they recorded the &amp;ldquo;standards&amp;rdquo; no one understood why would you release a double album consisting solely of standards. Wasn&amp;rsquo;t this a bit boring? Turns out it wasn&amp;rsquo;t, turns out it was a beginning of one of the most famous trios in the history of jazz music. Keith Jarrett Trio, as it&amp;rsquo;s become known as, was all about subtlety and playful improvisation, building tension and emotions with delicate details, careful articulation and subdued dynamics. Here, in their masterful interpretation of Bobby Troup&amp;rsquo;s &amp;ldquo;The Meaning Of The Blues&amp;rdquo; which opens their first &amp;ldquo;standards&amp;rdquo; album, you can hear it all.&lt;/p&gt;
&lt;iframe src="https://open.spotify.com/embed/track/4keHJ3I1HR0Yn0mAdVPla6" width="100%" height="80" frameborder="0" allowtransparency="true"&gt;&lt;/iframe&gt;
&lt;p&gt;If only the pianist kept his mouth shut, right?&lt;/p&gt;
&lt;h2 id="pat-metheny-groupofframp-1982" class="relative group"&gt;Pat Metheny Group—&amp;ldquo;Offramp&amp;rdquo; (1982) &lt;/h2&gt;&lt;p&gt;Pat Metheny was already cool in 1982. He released &amp;ldquo;Bright Size Life&amp;rdquo; with Jaco Pastorius and Bob Moses a couple of years earlier, and the record made him and his bandmates famous in the jazz world. He had a great sound, kinda fusion but somehow more fresh. And he played the guitar—not saxophone, and not trumpet. And he was avant-garde enough to be interesting, but pleasant and easy-to-listen-to enough to become a staple of music libraries of people who don&amp;rsquo;t really care about music, but want to have &amp;ldquo;tasteful&amp;rdquo; albums in their &amp;ldquo;tasteful&amp;rdquo;, post-modern homes.&lt;/p&gt;
&lt;p&gt;This was the very key to success for his new band—the unimaginatively named Pat Metheny Group—which he formed with Lyle Mays, Steve Rodby, Nana Vasconcelos and Dan Gottlieb. But before Pat Metheny Group became stale and boring, they released a couple of great albums, and my favorite of those is &amp;ldquo;Offramp.&amp;rdquo; It&amp;rsquo;s fantastically played, very eclectic in its musical influences, but most importantly it contains &amp;ldquo;Are you going with me?&amp;rdquo;, which might just be the most famous composition of the group.&lt;/p&gt;
&lt;iframe src="https://open.spotify.com/embed/track/5egLKULfhUjwOQjFuKGTdg" width="100%" height="80" frameborder="0" allowtransparency="true"&gt;&lt;/iframe&gt;
&lt;p&gt;It&amp;rsquo;s not only about the amazing sounds of Mays&amp;rsquo; synthesizers and Metheny&amp;rsquo;s guitar, but also the expressive improvisation that spans almost 9 minutes without anything that could resemble a theme. It&amp;rsquo;s a record that really changed the way I think about music. Brad Mehldau says it&amp;rsquo;s his favorite, too.&lt;/p&gt;
&lt;h2 id="keith-jarrettsun-bear-concerts-1978-and-rio-2011" class="relative group"&gt;Keith Jarrett—&amp;ldquo;Sun Bear Concerts&amp;rdquo; (1978) and &amp;ldquo;Rio&amp;rdquo; (2011) &lt;/h2&gt;&lt;p&gt;6 hours and 35 minutes, that&amp;rsquo;s how long this album is. Originally released as a 6 CD set costing around €60, can now be yours for €9,99/month, and you can have it in your car and in your pocket—exciting times we live in. But I digress.&lt;/p&gt;
&lt;p&gt;This is a mostly unknown set of concerts recorded in Japan in 1978, a couple of years after the famous Köln Concert, which established Jarrett as a solo piano improviser emperor (at least it did for me). There are five concerts here, recorded in Kyoto, Osaka, Nagoya, Tokyo and Sapporo, and the 6th CD contains just encores. Here&amp;rsquo;s one from Sapporo:&lt;/p&gt;
&lt;iframe src="https://open.spotify.com/embed/track/5KzRifXkuXxTtrXi1eMQxM" width="100%" height="80" frameborder="0" allowtransparency="true"&gt;&lt;/iframe&gt;
&lt;p&gt;As you can hear, the record captures Jarrett&amp;rsquo;s &amp;ldquo;rhythmic&amp;rdquo; and &amp;ldquo;percussive&amp;rdquo; phase, reminiscent of his Köln sound, but more… free? (&amp;ldquo;Free&amp;rdquo; as in &amp;ldquo;free jazz&amp;rdquo;). It&amp;rsquo;s amazingly good, although I admit I&amp;rsquo;ve never been able to listen through the whole 6 hours. A challenge for my Christmas roadtrip perhaps?&lt;/p&gt;
&lt;p&gt;Anyway, now that we can just click on our laptops browsing through ECM&amp;rsquo;s entire catalogue, it&amp;rsquo;s exciting to observe how Jarrett&amp;rsquo;s solo concert sound and style evolved. There&amp;rsquo;s the &amp;ldquo;percussive&amp;rdquo; phase I mentioned that started the whole &amp;ldquo;solo piano improvisation for over an hour&amp;rdquo; thing with Köln concert being the most famous and prominent example of; there&amp;rsquo;s the &amp;ldquo;classical&amp;rdquo; phase which covers Paris and La Scala concerts, and of course the absolute masterpiece which is Vienna concert (1992); and then there are his new concerts, like &amp;ldquo;The Carnegie Hall Concert&amp;rdquo;, &amp;ldquo;Paris/London (Testament)&amp;rdquo;, and &amp;ldquo;Rio&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Rio&amp;rdquo;, to me, is a special one, because of how mature an improviser it presents. &amp;ldquo;Rio&amp;rdquo; is melodic and playful the way &amp;ldquo;standards trio&amp;rdquo; very often is, classical the way his late eighties/early nineties concerts were, and rhythmic just like the first concerts. &amp;ldquo;Rio&amp;rdquo; captures Jarrett at his very height of improvisational skill, a virtuoso musician with seemingly infinite imagination. Easily one of my favorite albums ever.&lt;/p&gt;
&lt;iframe src="https://open.spotify.com/embed/track/66ZgCgqj8jEWvzj9sT4CvG" width="100%" height="80" frameborder="0" allowtransparency="true"&gt;&lt;/iframe&gt;
&lt;h2 id="tomasz-stańko-quartetsoul-of-things-2002" class="relative group"&gt;Tomasz Stańko Quartet—&amp;ldquo;Soul of Things&amp;rdquo; (2002) &lt;/h2&gt;&lt;p&gt;It&amp;rsquo;s amazing that ECM, being such a prestigious and high-profile label, was always open to artists from, hm, unusual countries, Poland included. ECM helped to promote some of Poland&amp;rsquo;s greatest names in jazz, and Stańko is definitely the biggest of them all.&lt;/p&gt;
&lt;p&gt;I remember I used to hate Stańko&amp;rsquo;s music, because he felt boring and too mainstream (he was always the &amp;ldquo;default&amp;rdquo; jazz musician in Polish media), until I saw him live in Warsaw, and later in Bergen, and later in Munich.&lt;/p&gt;
&lt;p&gt;He was once asked by a talk show host in Poland whether he heard that his music is considered perfect music for sex, to which he answered that if that&amp;rsquo;s true then he considers his work to be done. Well if there&amp;rsquo;s any album of his that would make for great sex music (wait wat?), it&amp;rsquo;s the Soul of Things.&lt;/p&gt;
&lt;iframe src="https://open.spotify.com/embed/track/7kPTTgZxQiU3jHnv9peBro" width="100%" height="80" frameborder="0" allowtransparency="true"&gt;&lt;/iframe&gt;
&lt;h2 id="dave-holland-quintetextended-play-live-at-birdland-2003" class="relative group"&gt;Dave Holland Quintet—&amp;ldquo;Extended Play: Live At Birdland&amp;rdquo; (2003) &lt;/h2&gt;&lt;p&gt;Dave Holland&amp;rsquo;s &amp;ldquo;Extended Play&amp;rdquo; is my go-to record I play to people who say what I claim is jazz doesn&amp;rsquo;t really sound like jazz. Dave Holland Quintet sounds like jazz. In fact, it sounds like a miniature big band, with Robin Eubank&amp;rsquo;s trombone ❤️ and Chris Potter&amp;rsquo;s saxophone, with Steve Nelson&amp;rsquo;s marimba and vibraphone, and Billy Kilson&amp;rsquo;s drums. Dave Holland himself doesn&amp;rsquo;t have to do much here. He plays great, and his compositions are of course awesome, but we&amp;rsquo;ve heard them before and Holland doesn&amp;rsquo;t need to prove anything to anyone anymore. However, on &amp;ldquo;Extended Play&amp;rdquo; we hear that the new jazz, the kind that went through &amp;ldquo;free&amp;rdquo; phase, the kind that abandoned be-bop, hard-bop and post-bop sound, the kind that outgrew fusion, can be very fresh and yet still sound like… jazz.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s also my go-to energy-bomb album. Nothing has the energy of &amp;ldquo;Metamorphos&amp;rdquo;. Except for Shostakovich&amp;rsquo;s 11th symphony of course, but that&amp;rsquo;s too long.&lt;/p&gt;
&lt;iframe src="https://open.spotify.com/embed/track/6i0Kdj301MWdO8IMHiv9kq" width="100%" height="80" frameborder="0" allowtransparency="true"&gt;&lt;/iframe&gt;</description></item><item><title>“And the Weak Suffer What They Must?”</title><link>https://piotr.is/2017/and-the-weak-suffer-what-they-must/</link><pubDate>Tue, 05 Sep 2017 22:26:57 +0100</pubDate><guid>https://piotr.is/2017/and-the-weak-suffer-what-they-must/</guid><description>&lt;p&gt;I always slightly disliked Yanis Varoufakis. Strike that, actually I always thought he&amp;rsquo;s a bit of a clown. Motorbike-riding, leather-jacket-clad, attention-seeking, populist, arrogant clown. Worst of all, he was part of that annoying movement of European politicians that rejected the narrative I believed in, namely that:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;One must &lt;em&gt;always&lt;/em&gt; pay ones debts.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;EU and its institutions &lt;em&gt;always&lt;/em&gt; know what they&amp;rsquo;re doing.&lt;/li&gt;
&lt;li&gt;Countries must be extremely careful with public spending and apply strict austerity measures when facing economic difficulties.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Varoufakis, an outspoken critic of European Union and its institutions, and a prime minister in a populist &lt;a href="https://en.wikipedia.org/wiki/First_Cabinet_of_Alexis_Tsipras" target="_blank" rel="noreferrer"&gt;government&lt;/a&gt; was in stark opposition to that narrative, and thus to everything I knew about public-sector economics (gives you an idea of how deep my knowledge was). I really hated the man, and felt sorry for the Greek people that they had a politician like this, in as critical a function as their finance minister, in the midst of such an enormous crisis.&lt;/p&gt;
&lt;p&gt;But then one day I was stuck on a train in the middle of nowhere. In wealthy Germany, where trains always run on time, and they never stand for hours in completely random villages of Bavaria. And as I was silently swearing to murder every DB employee on the planet, I stumbled upon an article in The New Statesman, by none other than Varoufakis himself. The article, click-baitily titled &lt;a href="http://www.newstatesman.com/world-affairs/2015/07/exclusive-yanis-varoufakis-opens-about-his-five-month-battle-save-greece" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Exclusive: Yanis Varoufakis opens up about his five month battle to save Greece&amp;rdquo;&lt;/a&gt; looked like a perfect way to kill some time and amuse myself a bit at how silly the former Greek finance minister was.&lt;/p&gt;
&lt;p&gt;Then it turned out that maybe he wasn&amp;rsquo;t silly after all. The article was good. It was actually &lt;em&gt;excellent&lt;/em&gt; in the way it shed light on the inner workings of the European Union and its secret, behind-close-doors-only meetings of the informal &amp;ldquo;eurogroup.&amp;rdquo; It didn&amp;rsquo;t play well with my strong belief in the sanctity of EU and Brussels bureaucrats, but something told me there might be some truth to it. Also, I saw no reason for Varoufakis to lie; his political career was over anyway. So when I recently found his book that gives his first-hand account of the €-crisis, I bought it, and read it. And boy was I in for a treat.&lt;/p&gt;
&lt;p&gt;&amp;ldquo;And the Weak Suffer What They Must? Europe&amp;rsquo;s Crisis and America&amp;rsquo;s Economic Future&amp;rdquo; is a fascinating, in-depth dive into the history of the common European currency, but also the history of post-war global economics, and the economic underpinnings of what we now know as the European Union. In a similar way to David Graeber&amp;rsquo;s &lt;a href="https://piotr.is/2013/debt/"&gt;&amp;ldquo;Debt&amp;rdquo;&lt;/a&gt;, Varoufakis&amp;rsquo; book is an enlightening text, especially to a reader unfamiliar with nuances of global economics (i.e., 90% of the world population) and its history. But while Graeber&amp;rsquo;s book dives deep into concepts and ancient history, Varoufakis is all about here and now, and what we can do about it. Why did I find particularly interesting then, and what made me change my mind about Varoufakis?&lt;/p&gt;
&lt;p&gt;For one, he sticks to the facts. Yes, he peddles a certain ideology, but unlike your average TV-populist, Varoufakis actually knows what he&amp;rsquo;s talking about. But secondly, and perhaps more importantly, he points out systemic problems in EU&amp;rsquo;s core design, which allows it to be run by anonymous bureaucrats that aren’t subjected to any political scrutiny or indeed any form of democratic process. The image of European Union that Varoufakis’ account presents is not the European Union I though I knew, and not the one I like. Politics aside, it&amp;rsquo;s a fascinating book that debunks many myths of pop-economics. It describes in detail how the global trade was shaped by the Bretton Woods system and how Nixon&amp;rsquo;s 1971 decision to abandon the gold standard destroyed the world order. It reminds us that the EU that we know today was born out of a &amp;ldquo;European Coal and Steel Community,&amp;rdquo; which Varoufakis calls a &amp;ldquo;cartel&amp;rdquo; and makes a pretty good case for it. It finally offers a very detailed account of how the European Commission, the European Central Bank and the International Monetary Found (mis)-handled the €-crisis. And it&amp;rsquo;s not all horror and despair, oh no—the author actually offers some reasonably compelling political and economic solutions in the appendix (although you still want to pack your bags and flee to Australia after reading the whole book).&lt;/p&gt;
&lt;p&gt;&amp;ldquo;And the Weak Suffer What They Must?&amp;rdquo; is an excellent read, one that every European should get acquainted with (unless of course they are afraid of big spiders; then again I hear Canada is nice, too). It made me hate my continent a little bit more, but I learned a valuable lesson: never judge an economist by his political affiliation, his clothing style or affection for motorcycles. ❤️ you, Yanis!&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Not a big believer in that &lt;a href="https://piotr.is/2013/debt/"&gt;for a while now&lt;/a&gt;.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;This is something that resonates with many Poles, Lithuanians, Latvians and Estonians, because all our economies went through &amp;ldquo;shock-therapy&amp;rdquo; economic plans with extreme belt-tightening policies that, &lt;a href="https://en.wikipedia.org/wiki/Balcerowicz_Plan#Positive" target="_blank" rel="noreferrer"&gt;some say&lt;/a&gt;, saved our economies.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Jazz Music in 2016</title><link>https://piotr.is/2016/jazz-music-in-2016/</link><pubDate>Sat, 31 Dec 2016 19:19:57 +0100</pubDate><guid>https://piotr.is/2016/jazz-music-in-2016/</guid><description>&lt;p&gt;2016 was, as The Verge &lt;a href="http://www.theverge.com/2016/12/10/13902324/weird-jazz-2016-shabaka-hutchings-takuya-kuroda-melanie-di-biasio" target="_blank" rel="noreferrer"&gt;put it&lt;/a&gt;, &amp;ldquo;a good year for weird jazz.&amp;rdquo;&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; I&amp;rsquo;d go even further: both 2015 and 2016 show that jazz is an evolving genre, and that it became more exciting than ever before. Influences of hip-hop and electronic music are becoming more visible, new artists pop-up in places you&amp;rsquo;d never expect (I&amp;rsquo;m looking at you, LA) and push music into new territories. So while I do appreciate The Verge&amp;rsquo;s recommendations (especially &lt;a href="https://shabakaandtheancestors.bandcamp.com/" target="_blank" rel="noreferrer"&gt;Shabaka and The Ancestors&lt;/a&gt;),&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; I had to add some of my own. All of them represent that very shift in jazz&amp;rsquo;s esthetics, so if you&amp;rsquo;re looking for a review of Redman &amp;amp; Mehldau duo, you&amp;rsquo;ll be a bit disappointed. If you enjoy fresh sound, however, read on.&lt;/p&gt;
&lt;iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/252043973&amp;amp;color=ff5500&amp;amp;auto_play=false&amp;amp;hide_related=false&amp;amp;show_comments=true&amp;amp;show_user=true&amp;amp;show_reposts=false"&gt;&lt;/iframe&gt;
&lt;p&gt;My number one most-often listened to jazz album of 2016 is &lt;a href="http://www.moonhooch.com/red-sky/" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Red Sky&amp;rdquo;&lt;/a&gt; by the Brooklyn band Moon Hooch. What Moon Hooch does is difficult to define. Sometimes you find their albums listed under &amp;ldquo;jazz&amp;rdquo;, other times under &amp;ldquo;dance&amp;rdquo; or &amp;ldquo;techno.&amp;rdquo; They got two saxophones (Mike Wilbur and Wenzl McGowen), a drum kit (James Muschler), electronic effects, and &lt;em&gt;tons&lt;/em&gt; of energy. They are funky, and even though they don&amp;rsquo;t improvize much, I&amp;rsquo;d still say it&amp;rsquo;s jazz. The right kind: weird, entertaining, new. Also the kind you can (have to?) dance to.&lt;/p&gt;
&lt;iframe style="border: 0; width: 100%; height: 42px;" src="https://bandcamp.com/EmbeddedPlayer/album=4121043499/size=small/bgcol=ffffff/linkcol=0687f5/track=2011545382/transparent=true/" seamless&gt;&lt;a href="http://dinosaurband.bandcamp.com/album/together-as-one"&gt;Together, As One by Dinosaur&lt;/a&gt;&lt;/iframe&gt;
&lt;p&gt;My second recommendation is from the UK. It&amp;rsquo;s &lt;a href="http://editionrecords.com/releases/together-as-one/" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Together, As One&amp;rdquo;&lt;/a&gt; by a British quartet called Dinosaur. Dinosaur is a new band led by one of my favorite performers and composers, Laura Jurd (of solo-career &lt;a href="https://www.theguardian.com/music/2012/dec/06/laura-jurd-landing-ground-review" target="_blank" rel="noreferrer"&gt;fame&lt;/a&gt;). It features Laura on the trumpet, Elliot Galvin on keyboards, Conor Chaplin on the bass and Corrie Dick on the drums.&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt; All these artists are very young, and I think they are all somewhat associated with &lt;a href="https://www.facebook.com/ChaosCollectiveMusic/" target="_blank" rel="noreferrer"&gt;Chaos Collective&lt;/a&gt;—a label and, huh, a loose association of musicians. I don&amp;rsquo;t know what else to call them, but the bottom line is, these people play together a lot in different bands, various configurations, and it&amp;rsquo;s always at least intriguing, and very often excellent music. Dinosaur&amp;rsquo;s debut is no different. An impressionistic, contemporary jazz with a lot of electronic sound, folk melodies and soul. I know it all sounds unlikely, but they pull it off.&lt;/p&gt;
&lt;iframe style="border: 0; width: 100%; height: 42px;" src="https://bandcamp.com/EmbeddedPlayer/album=3261562806/size=small/bgcol=ffffff/linkcol=0687f5/track=4284740866/transparent=true/" seamless&gt;&lt;a href="http://thecometiscoming.bandcamp.com/album/channel-the-spirits"&gt;Channel The Spirits by The Comet Is Coming&lt;/a&gt;&lt;/iframe&gt;
&lt;p&gt;And finally, we come to the last recommendation, and we&amp;rsquo;re back to square one, i.e., back to &lt;a href="http://www.shabakahutchings.com/" target="_blank" rel="noreferrer"&gt;Shabaka Hutchings&lt;/a&gt;. For those of you who don&amp;rsquo;t know, Hutchings is a London-born, Barbados-raised saxophonist mostly known for being the leader of one of the hottest new jazz bands, &lt;a href="http://sonsofkemet.com/" target="_blank" rel="noreferrer"&gt;Sons of Kemet&lt;/a&gt;, where he plays crazy Caribbean-infused jazz alongside two drummers and a tubist. He is also the leader of the aforementioned &amp;ldquo;Afro-futurist&amp;rdquo; jazz band Shabaka and the Ancestors, and on top of all that he plays with the electronic jazz trio The Comet Is Coming. He is as restless as he is creative. &lt;a href="https://thecometiscoming.bandcamp.com/album/channel-the-spirits" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Channel The Spirits,&amp;rdquo;&lt;/a&gt; trio&amp;rsquo;s debut, is a psychedelic album that takes inspiration from jazz, electronic and science-fiction (yup, you read it right). Much like Dinosaur&amp;rsquo;s strange mixture of styles, The Comet is Coming manages to positively surprise. It can be slightly exhausting, but listening to it is a very rewarding experience nonetheless.&lt;/p&gt;
&lt;p&gt;So these are my three favorite jazz albums of the passing year. I&amp;rsquo;m looking forward to seeing jazz evolve even more in 2017, and I&amp;rsquo;m hoping it will be only musically, and not politically or economically surprising year. Have a great 2017, everyone!&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Seriously, though, how is it that The Verge publishes articles about avant-garde jazz music? And that &lt;a href="http://www.theverge.com/2016/12/29/14113018/adam-driver-kylo-ren-paterson-jim-jarmusch-star-wars" target="_blank" rel="noreferrer"&gt;recent piece&lt;/a&gt; on Adam Driver? Unexpected.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;There are only three compared to last year&amp;rsquo;s six; I didn&amp;rsquo;t really listen to jazz music much this year. &lt;a href="https://whitneychicago.bandcamp.com/album/light-upon-the-lake" target="_blank" rel="noreferrer"&gt;Whitney&lt;/a&gt;, &lt;a href="http://yourbaroness.com/" target="_blank" rel="noreferrer"&gt;Baroness&lt;/a&gt;, Radiohead, Sleater-Kinney, Kendrick Lamar and &lt;a href="https://en.wikipedia.org/wiki/O.S.T.R." target="_blank" rel="noreferrer"&gt;O.S.T.R.&lt;/a&gt; dominated my iPhone in 2016.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;It&amp;rsquo;s worth mentioning that Corrie Dick recorded &lt;a href="https://corriedick.bandcamp.com/" target="_blank" rel="noreferrer"&gt;a magnificent album&lt;/a&gt; last year. I regret I didn&amp;rsquo;t know it earlier, it would&amp;rsquo;ve made the top of my list of best 2015 albums.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>bora—an AWS Cloudformation wrapper</title><link>https://piotr.is/2016/boraan-aws-cloudformation-wrapper/</link><pubDate>Wed, 14 Dec 2016 21:42:23 +0100</pubDate><guid>https://piotr.is/2016/boraan-aws-cloudformation-wrapper/</guid><description>&lt;p&gt;Last weekend I spent some time working on a small project: &lt;a href="https://github.com/pkazmierczak/bora" target="_blank" rel="noreferrer"&gt;bora&lt;/a&gt;.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; It&amp;rsquo;s a simple wrapper around AWS Cloudformation, so obviously everyone&amp;rsquo;s question is: why the hell would I want yet another Cloudformation wrapper? &lt;em&gt;tl;dr&lt;/em&gt; answer is: because all the ones which are available suck. But let me elaborate.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="https://github.com/cloudtools/troposphere" target="_blank" rel="noreferrer"&gt;Troposphere&lt;/a&gt;-based tools are inelegant. Troposphere itself is poorly documented, and I dislike how the Python code mixes with actual Cloudformation JSON code in it. It&amp;rsquo;s also very often non-lintable (or gets unreadable after linting).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I ❤️ Python just like the next guy, but it&amp;rsquo;s not very well suited for things like CI/CD pipelines. I see this a lot in clients&amp;rsquo; setups: first your jenkins job needs to pull the code, then create a &lt;code&gt;virtualenv&lt;/code&gt; and &lt;code&gt;pip&lt;/code&gt; the requirements, then lint (hah!), and then, hopefully, run. With compiled languages (and Golang especially), you only need to download a binary and run it. The only thing you have to care about is the underlying architecture and OS (which, in 99% of the CI/CD cases, is &lt;code&gt;elf x86_64&lt;/code&gt;).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I want to embrace Cloudformation&amp;rsquo;s new neat &amp;amp; clean &lt;a href="https://aws.amazon.com/blogs/aws/aws-cloudformation-update-yaml-cross-stack-references-simplified-substitution/" target="_blank" rel="noreferrer"&gt;YAML capabilities&lt;/a&gt;. JSON is ugly. Troposphere, as mentioned already, is ugly too. Combining YAML with some Jinja-like markup for variables and loops, we could end up with something very elegant and readable.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With these requirements in mind, I began hacking, and I&amp;rsquo;m happy to say that bora, even though it&amp;rsquo;s in its earliest stages of development, fulfills all of them already.&lt;/p&gt;
&lt;p&gt;Bora is written in Golang, which makes it fast, cross-platform, and portable. While you do need to setup a build environment for Golang if you want your jenkins job to build the tool (not sure why, but whatever), you only need to build it once per version. Other than that, all you need to do is put it some place your CI/CD can &lt;code&gt;curl&lt;/code&gt; from, &lt;em&gt;et voilà&lt;/em&gt;, you&amp;rsquo;re ready to run the binary. For pipelines that involve many Cloudformation runs, this saves a significant amount of time, and reduces run-time dependencies to a bare minimum.&lt;/p&gt;
&lt;p&gt;Furthermore, bora takes YAML templates as input, but also accepts YAML &lt;em&gt;meta&lt;/em&gt;-templates augmented with Golang&amp;rsquo;s &lt;code&gt;text/template&lt;/code&gt; &lt;a href="https://golang.org/pkg/text/template/#pkg-examples" target="_blank" rel="noreferrer"&gt;markup&lt;/a&gt;, which allows for setting variables and looping. It&amp;rsquo;s especially convenient when you need to deploy, say, multiple EC2 instances that differ in some details.&lt;/p&gt;
&lt;p&gt;At this point bora is able to generate YAMLs, deploy, update and terminate stacks, and handle errors gracefully (you&amp;rsquo;d be surprised how few Cloudformation wrappers do this). Assuming roles for multi-account deployment is coming soon, along with other neat features. Stay tuned!&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Because &lt;a href="https://en.wikipedia.org/wiki/Bora_%28wind%29" target="_blank" rel="noreferrer"&gt;winds&lt;/a&gt;, because clouds, because cloud formations&amp;hellip;&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>“Between the world and me”</title><link>https://piotr.is/2016/between-the-world-and-me/</link><pubDate>Sat, 19 Nov 2016 21:31:23 +0100</pubDate><guid>https://piotr.is/2016/between-the-world-and-me/</guid><description>&lt;blockquote&gt;
&lt;p&gt;Here is what I would like for you to know: In America, it is traditional to destroy the black body—&lt;em&gt;it is heritage.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;My recent &lt;a href="https://piotr.is/2016/hi-america"&gt;disillusioning trip&lt;/a&gt; notwithstanding, I am still very much in love with the US, but Ta-Nehisi Coates puts things into perspective. Much like sexism is often difficult to notice for males until a woman points it out, white people tend not to realize just how &lt;em&gt;huge&lt;/em&gt; a problem racism in America still is.&lt;/p&gt;
&lt;p&gt;Coates&amp;rsquo; book is bitter and sometimes hard to read (especially that it&amp;rsquo;s in a form of a letter to his son), but you should read it nonetheless. It&amp;rsquo;s one of the best books I&amp;rsquo;ve read in a long time.&lt;/p&gt;
&lt;p&gt;&lt;small&gt;&lt;em&gt;(I wrote this post a couple of weeks ago, so please don&amp;rsquo;t take it as a comment on recent presidential election)&lt;/em&gt;&lt;/small&gt;&lt;/p&gt;</description></item><item><title>iPhone 7 Plus and its Two Lenses</title><link>https://piotr.is/2016/iphone-7-plus-and-its-two-lenses/</link><pubDate>Thu, 08 Sep 2016 00:00:00 +0000</pubDate><guid>https://piotr.is/2016/iphone-7-plus-and-its-two-lenses/</guid><description>&lt;p&gt;To some, Apple&amp;rsquo;s yesterday keynote wasn&amp;rsquo;t all that impressive. After all, the new &lt;a href="http://www.apple.com/iphone-7/" target="_blank" rel="noreferrer"&gt;iPhone 7&lt;/a&gt; doesn&amp;rsquo;t look all that new, the new Apple Watch looks &lt;em&gt;exactly&lt;/em&gt; like the old one, and minor improvements aside (water resistance, GPS for the watch, new processors), there wasn&amp;rsquo;t really anything impressive shown in San Francisco last night. Except one small detail—the camera(s) on the upcoming iPhone 7 Plus.&lt;/p&gt;
&lt;p&gt;This is the photograph Apple showed during the keynote, initially leading everyone to believe it&amp;rsquo;s been taken with a &amp;ldquo;high-end camera&amp;rdquo;:&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2016/iphone-7-plus-and-its-two-lenses/iphone-7plus-sample_hu_acddfa7aa2e7a4a2.webp 330w,https://piotr.is/2016/iphone-7-plus-and-its-two-lenses/iphone-7plus-sample_hu_5f75de9ec507ff77.webp 660w
,https://piotr.is/2016/iphone-7-plus-and-its-two-lenses/iphone-7plus-sample_hu_64a3c3232059970d.webp 1024w
,https://piotr.is/2016/iphone-7-plus-and-its-two-lenses/iphone-7plus-sample_hu_f2b69aae86bde49.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1888"
height="792"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2016/iphone-7-plus-and-its-two-lenses/iphone-7plus-sample_hu_76c50e3813116864.jpg" srcset="https://piotr.is/2016/iphone-7-plus-and-its-two-lenses/iphone-7plus-sample_hu_12c0ba13bcfc674c.jpg 330w,https://piotr.is/2016/iphone-7-plus-and-its-two-lenses/iphone-7plus-sample_hu_76c50e3813116864.jpg 660w
,https://piotr.is/2016/iphone-7-plus-and-its-two-lenses/iphone-7plus-sample_hu_d292a0cfa011dece.jpg 1024w
,https://piotr.is/2016/iphone-7-plus-and-its-two-lenses/iphone-7plus-sample_hu_b3e19d7ed0e04834.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;only to later explain it&amp;rsquo;s been shot with the upcoming iPhone 7 Plus, which features two lenses—one wide-angle, and one tele—that are then used by iPhone&amp;rsquo;s software to infer the depth of field, and to create the &lt;em&gt;bokeh&lt;/em&gt; effect. While far from perfect (there&amp;rsquo;s something wrong with how the face of the model is separated from the background), this, to me, is a &lt;em&gt;major&lt;/em&gt; breakthrough in smartphone photography. As the technology matures, we will see the &amp;ldquo;bokeh software&amp;rdquo; improve, and the dual-lens technology perhaps applied to other areas (VR?), but most importantly it&amp;rsquo;ll render &lt;a href="https://piotr.is/2015/the-dawn-of-my-camera/"&gt;cameras obsolete&lt;/a&gt;, to most people at least.&lt;/p&gt;
&lt;p&gt;I can&amp;rsquo;t wait for this day to come.&lt;/p&gt;</description></item><item><title>Hi, 🇺🇸</title><link>https://piotr.is/2016/hi-america/</link><pubDate>Sun, 28 Aug 2016 00:00:00 +0000</pubDate><guid>https://piotr.is/2016/hi-america/</guid><description>&lt;p&gt;&lt;small&gt;&lt;em&gt;(I&amp;rsquo;m biased towards everything American, so despite a relatively US-critical tone, you may be offended by this post if you&amp;rsquo;re too European.)&lt;/em&gt;&lt;/small&gt;&lt;/p&gt;
&lt;p&gt;I remember watching &amp;ldquo;The Cosby Show&amp;rdquo; with my parents in the nineties. It was a crazy time of massive political change in Poland, and my parents were always pointing at the fictional Huxtables as role models. Me and my father were even replicating Cliff Huxtable&amp;rsquo;s way of making chili, and we&amp;rsquo;d make tons of inside jokes that we&amp;rsquo;d always gladly explain to any guests we&amp;rsquo;d be having. We didn&amp;rsquo;t realize at that point how controversial The Cosby Show was in the 80s in the US. What was lost on Polish viewers was that the show&amp;rsquo;s depiction of black people was atypical to say the least. The Huxtable family wasn&amp;rsquo;t poor, hell, it wasn&amp;rsquo;t even middle class. A lawyer (a &lt;em&gt;black woman!&lt;/em&gt;) and a senior obstetrician, raising a family of 5 in a fantastic brownstone in Brooklyn Heights&amp;mdash;that&amp;rsquo;s how all well-educated Americans lived, right? We didn&amp;rsquo;t see the controversy, and missed out on some of the social commentary, but we still enjoyed Bill Cosby&amp;rsquo;s jokes, his colorful sweaters, his fictional family&amp;rsquo;s great parenting advice, etc. Of course not only the Huxtables were our role models, but the US was depicted as the promised land, which in the 90s it clearly was. They won the cold war, they became the sole superpower, Fukuyama announced &amp;ldquo;the end of history&amp;rdquo;—no one had any doubts.&lt;/p&gt;
&lt;p&gt;Then at the break of the century, a new world begun. 9.11 happened, W. &amp;amp; co. took power,&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; the 2008 banking crisis hit the world hard, the US middle class shrinked, Wall Street was occupied, and, as a proverbial nail to the coffin, they now tell me that Bill Cosby, my beloved Dr. Huxtable, is (allegedly) a sex offender. America of my childhood is gone for good, along with the post-cold-war Reagan-Thatcher world order formerly known as &amp;ldquo;new.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Yet besides all that, there has never been a country I felt so emotionally strong about as the United States.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2016/hi-america/brownstones_hu_31d963606f2143f6.webp 330w,https://piotr.is/2016/hi-america/brownstones_hu_c38665103cae0e69.webp 660w
,https://piotr.is/2016/hi-america/brownstones_hu_3be5293ebf72cebe.webp 1024w
,https://piotr.is/2016/hi-america/brownstones_hu_a6f8aee62a8f77cf.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2048"
height="1536"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2016/hi-america/brownstones_hu_504b61dee4b8d106.jpg" srcset="https://piotr.is/2016/hi-america/brownstones_hu_27a1d6f3fb0ecf3b.jpg 330w,https://piotr.is/2016/hi-america/brownstones_hu_504b61dee4b8d106.jpg 660w
,https://piotr.is/2016/hi-america/brownstones_hu_93a897284fe7f96a.jpg 1024w
,https://piotr.is/2016/hi-america/brownstones_hu_4c36b4ba1fc1f08c.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;figcaption class="text-center"&gt;Brownstones in Park Slope, Brooklyn. The Huxtables lived in a similar one in Brooklyn Heights. Sadly, they wouldn&amp;rsquo;t be able to afford one these days.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;I think the thing that I always found most attractive in the US is its inclusiveness. Yes, there&amp;rsquo;s Donald and the Tea Party, and yes, my view as a white male is definitely biased, but I can&amp;rsquo;t think of any other country in the world where you&amp;rsquo;d be able to blend in like you can in the US.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;I landed on JFK and took a cab to Manhattan from there, and my driver was Tariq, a Pakistani American. &amp;ldquo;Immediately after 9.11 it was really hard for us here,&amp;rdquo; he said while we were stuck in traffic on Grand Central Parkway, &amp;ldquo;but now things have changed and in New York I don&amp;rsquo;t really feel anyone would ever doubt I&amp;rsquo;m as American as gooseberry pie.&amp;rdquo; Tariq spoke very fondly of Europe, too, where some of his relatives live, and was very curious about how we&amp;rsquo;re handling the migrant crisis. He was very happy to hear it&amp;rsquo;s my first time in America, and wished me a great vacation, and in the end offered me his phone so that I could call my friends in East Village from a US number (sadly, there&amp;rsquo;s no T-Mobile store on JFK and all the sim-cards available at the airport aren&amp;rsquo;t exactly good value).&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s a cliché to write it, but the cultural and ethnic &amp;ldquo;melting pot&amp;rdquo; you witness in New York is, again, incomparable to anything I&amp;rsquo;ve ever seen, and I did quite some traveling. From African American Bedford-Stuyvesant, Brooklyn to Asian (mostly Korean and Chinese, I presume) neighborhoods of Flushing, Queens, New York city has it all. All races, all languages, all cuisines. And yes, America definitely has a problem with racism and class society, but from my perspective it seems they are better at acknowledging the problem and trying to do something about it. Can&amp;rsquo;t really say that about, e.g., France or Sweden, or many other European countries.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2016/hi-america/flushing_hu_507e217573961a5d.webp 330w,https://piotr.is/2016/hi-america/flushing_hu_8dcdf45606323263.webp 660w
,https://piotr.is/2016/hi-america/flushing_hu_aeb5e30df6b780c7.webp 1024w
,https://piotr.is/2016/hi-america/flushing_hu_89c9d887e6b71104.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2048"
height="1536"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2016/hi-america/flushing_hu_5b22d231da73d13c.jpg" srcset="https://piotr.is/2016/hi-america/flushing_hu_be59a8ee02661362.jpg 330w,https://piotr.is/2016/hi-america/flushing_hu_5b22d231da73d13c.jpg 660w
,https://piotr.is/2016/hi-america/flushing_hu_827a049589e4f8fe.jpg 1024w
,https://piotr.is/2016/hi-america/flushing_hu_94fdb9c27685b1a7.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;figcaption class="text-center"&gt;Flushing, Queens. You can have great dumplings around here.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve been living in different European countries for about 7 years now, and I felt welcome everywhere. People generally speak good English, and there are little to no bureaucratic or administrative issues moving around thanks to the miracle of the European Union and the Schengen agreement. But somewhere in the back of my head I know I will never be able to become German. Or Norwegian, or Dutch, or French. Probably not even British. Europe&amp;rsquo;s tormented history and still largely national-centric politics take its toll, and it&amp;rsquo;s just much harder, if not impossible, to &amp;ldquo;fully integrate&amp;rdquo; (which can mean different things to different people). US is much simpler in this regard. If you speak at least some basic English, respect American values, wave the flag on 4th of July and eat turkey on Thanksgiving, you&amp;rsquo;re one of them. So much easier in a country built on immigration I guess, where around 80% of population &lt;a href="https://www.census.gov/prod/2004pubs/c2kbr-35.pdf" target="_blank" rel="noreferrer"&gt;identifies with foreign ancestry&lt;/a&gt;, and where millions of immigrant visas are issued and hundreds of thousands of immigrants are naturalized &lt;a href="http://www.migrationpolicy.org/article/naturalization-trends-united-states" target="_blank" rel="noreferrer"&gt;every year&lt;/a&gt;. It&amp;rsquo;s funny that, it would seem to me, Americans are one of the very few nations that is able to reconcile this inclusiveness and multi-culturalism with national pride. In Europe, you&amp;rsquo;re either a nationalist or left-wing, there seem to be less and less room for middle ground.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2016/hi-america/flag_hu_cd8363429b14b35c.webp 330w,https://piotr.is/2016/hi-america/flag_hu_a4f4cb99af57f10a.webp 660w
,https://piotr.is/2016/hi-america/flag_hu_f5e2af2e59460b40.webp 1024w
,https://piotr.is/2016/hi-america/flag_hu_245312d8e8ffb6eb.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2048"
height="1536"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2016/hi-america/flag_hu_512ab73e24e26362.jpg" srcset="https://piotr.is/2016/hi-america/flag_hu_28bcec5342b6b083.jpg 330w,https://piotr.is/2016/hi-america/flag_hu_512ab73e24e26362.jpg 660w
,https://piotr.is/2016/hi-america/flag_hu_dd485590fe002f48.jpg 1024w
,https://piotr.is/2016/hi-america/flag_hu_cb27209ab3fb7580.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;figcaption class="text-center"&gt;American flags are everywhere. Here decorating a façade of a beautiful townhouse in Charlestown, Boston.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;But no matter how much in love with the US I am, I must admit that after the initial elation at seeing the NBC studios building and traveling every day on the N line across Queensboro Bridge faded, disillusion kicked in.&lt;/p&gt;
&lt;p&gt;Greyhound express bus from Boston to New York goes through rural Massachusetts and Connecticut, which are relatively boring, but then enters the state of New York in Bronx county, and the first sight of glorious New York City are housing project high-rises. Plenty of these in Europe, too (though nobody calls them &amp;ldquo;housing projects&amp;rdquo;), but not like this, not like in South Bronx. You can really see the poverty there, although it&amp;rsquo;s difficult to put a finger on how you&amp;rsquo;re able to see it. It doesn&amp;rsquo;t feel safe there, either.&lt;/p&gt;
&lt;p&gt;Crime in New York city and most of the US has been &lt;a href="https://ucr.fbi.gov/crime-in-the-u.s/2014/crime-in-the-u.s.-2014/tables/table-1" target="_blank" rel="noreferrer"&gt;in decline&lt;/a&gt; for many years now, and nothing seems to indicate this trend would change. But income differences get bigger every year, especially &lt;a href="http://www.nytimes.com/2014/09/18/nyregion/gap-between-manhattans-rich-and-poor-is-greatest-in-us-census-finds.html" target="_blank" rel="noreferrer"&gt;in New York&lt;/a&gt;. The issue of America&amp;rsquo;s shrinking middle class is &lt;a href="http://www.forbes.com/sites/timworstall/2016/06/21/sure-the-middle-class-is-shrinking-30-of-americans-are-too-rich-to-be-middle-class-now/" target="_blank" rel="noreferrer"&gt;nuanced&lt;/a&gt;, but from a European visitor&amp;rsquo;s perspective the income differences are vivid. And if you have friends in New York, you know the dinner conversation will be mostly about the insane living cost in the city. The NY Times article I linked to above said that &amp;ldquo;about 45 percent of New York City households said they spent 35 percent or more of their income on housing.&amp;rdquo; Seeing how the new &lt;a href="http://432parkavenue.com/" target="_blank" rel="noreferrer"&gt;432 Park Avenue&lt;/a&gt; (with &lt;a href="http://www.one57.com/" target="_blank" rel="noreferrer"&gt;One57&lt;/a&gt; not far behind) rises like a middle finger towards all the poor in the center of Manhattan, I can see why so many New York residents opposed to its construction.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2016/hi-america/parkav432_hu_51353cef713908c3.webp 330w,https://piotr.is/2016/hi-america/parkav432_hu_b99405adca66d23b.webp 660w
,https://piotr.is/2016/hi-america/parkav432_hu_b3dc18ac4984bb31.webp 1024w
,https://piotr.is/2016/hi-america/parkav432_hu_cc2c2a0ea3b3a0d.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2048"
height="982"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2016/hi-america/parkav432_hu_30ea9993dec12766.jpg" srcset="https://piotr.is/2016/hi-america/parkav432_hu_34307a11c2ce8ab1.jpg 330w,https://piotr.is/2016/hi-america/parkav432_hu_30ea9993dec12766.jpg 660w
,https://piotr.is/2016/hi-america/parkav432_hu_51126ee5a1b2fc22.jpg 1024w
,https://piotr.is/2016/hi-america/parkav432_hu_c5b67f3e0088c4b4.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;figcaption class="text-center"&gt;View on Upper Manhattan, with super tall 432 Park Avenue prominently on the right, and One57 on the left. They were built so that all the billionaires could have a good view on those poor souls who were only able to afford apartments on the Upper West or Upper East Side. Have a look at the &lt;a href="parkav432-big.jpg"&gt;full-size picture&lt;/a&gt;.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;But it&amp;rsquo;s not only that the US Economy has been going through hoops since 2008 that the US became less attractive to us Europeans. It&amp;rsquo;s also because Europe became &lt;em&gt;so&lt;/em&gt; good that we take it for granted. That we have clean, cheap and reliable public transportation, that there&amp;rsquo;s universal free (or very affordable) health care, that 25 days of paid leave per year is nothing special and that decent education is for everyone—we expect all that. From an Eastern European perspective the fascination with the United States is of course easier to explain. For decades, we were very angry with Western Europe, and we felt it&amp;rsquo;s been looking down upon us, whereas the US was the land of opportunity. It still very much seems that way, because reactions to people hearing &amp;ldquo;I&amp;rsquo;m Polish&amp;rdquo; are &lt;em&gt;very&lt;/em&gt; different on both sides of the Atlantic. But it&amp;rsquo;s us, Eastern Europeans, that especially forget how great Europe has become, and how vastly Poland itself improved compared to the country &lt;s&gt;our parents&lt;/s&gt; we grew up in.&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt; So the disillusionment stems from a comparison between how &amp;ldquo;sooper-freaking-awesome&amp;rdquo; we expected the US to be, and how &amp;ldquo;awesome&amp;rdquo; it actually is.&lt;/p&gt;
&lt;p&gt;Because it still, undoubtedly, is.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;This was a very personal trip to me for sentimental reasons (where sentiment comes from watching television and movies, of course), and it couldn&amp;rsquo;t have been as &lt;em&gt;great&lt;/em&gt; as it was if it wasn&amp;rsquo;t for the many friends that made it such. Huge thank you from me and Karolina to Yvonne, Martijn, David, Karen, Friederike, McCoy Tyner, an anonymous fireman from Cambridge, MA (whom we exchanged opinions about firetrucks with), and the whole Cloudreach NY team.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;As Polish neo-conservatists, my whole family was initially a strong supporter of both wars. I am ashamed of it now. We &lt;em&gt;all&lt;/em&gt; are, right?&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Except, perhaps, &lt;a href="https://piotr.is/2015/london/"&gt;London&lt;/a&gt;.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;Let me give some extra context for the non-Polish readers. Poland, these days a strongly anti-socialist country, has always been very close to the US in terms of political cooperation and general admiration. Polish political class has always been looking up to the US, the US has also been historically our strongest ally (or at least it is very often depicted as such). Polish political scene itself is very bizarre by European standards, because it lacks any sort of left-wing party (except for post-communists that don&amp;rsquo;t have any credibility after numerous corruption scandals and young, new parties that haven&amp;rsquo;t gotten much traction yet). So while Poles generally acknowledge higher living standards and better economic conditions in Western Europe, when it comes to socio-political issues they are much closer to the program of the Democratic party in the US (and much more on its conservative than the socialist end of the spectrum; no one would vote for Bernie there). After 50 years of communism the general distrust towards welfare programs and state-owned enterprises is pretty easy to understand, and as a side effect I&amp;rsquo;d say most Poles esteem the US much higher than Western Europe, considering it a more &amp;ldquo;noble&amp;rdquo; emigration destination.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Dehydration—a cautionary tale</title><link>https://piotr.is/2016/dehydration/</link><pubDate>Sun, 10 Jul 2016 00:00:00 +0000</pubDate><guid>https://piotr.is/2016/dehydration/</guid><description>&lt;p&gt;I&amp;rsquo;ve been riding bikes for a very long time, and although I&amp;rsquo;ve had breaks, I can safely say I&amp;rsquo;ve been riding bicycles throughout my whole life. I am lucky to have never had any serious accidents or injuries while cycling, other than the occasional my-shoes-are-still-clipped-into-the-pedals thing,&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; I&amp;rsquo;ve never been &lt;a href="https://en.wikipedia.org/wiki/Door_zone" target="_blank" rel="noreferrer"&gt;doored&lt;/a&gt;, I never smashed with my bike into things that generally don&amp;rsquo;t like being smashed into (that&amp;rsquo;s a lie; it&amp;rsquo;s just that injuries were never serious), and I was rear-ended by other bikers only on a few occasions.&lt;/p&gt;
&lt;p&gt;Today I went for &lt;a href="https://www.strava.com/activities/636403118" target="_blank" rel="noreferrer"&gt;a quick ride&lt;/a&gt;. It was a short one, but since I only got a non-city bike a couple of weeks back,&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; I&amp;rsquo;m still building up my strength and endurance, and, sadly, 50km-long rides are my standard for now. It&amp;rsquo;s a sunny Sunday in Munich, with a temperature of about 31°C (this is like 88°F, &amp;lsquo;Mericans), clear skies, and I decided to explore some trails around the Isar river. It was all going well, until I reached a part of the trail which was really more akin to a single track than a road of any sort. Riding there on my 32c tires, and climbing even small hills, &lt;em&gt;and&lt;/em&gt; being in the proximity of a river which makes the climate hot-and-humid was &lt;em&gt;very&lt;/em&gt; exhausting. When I reached the asphalt road and headed towards Neufahrn, I realized I&amp;rsquo;m running out of water. By the time I turned into Olympiastraße, I was getting a bit weak, and about 10kms from Munich I had to stop.&lt;/p&gt;
&lt;p&gt;What do you do when you have no food, no water, there&amp;rsquo;s little-to-no shade around, the temperature goes up to 32°C, and there&amp;rsquo;s no shop or creek or anything like that within a kilometer?&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt; You &lt;em&gt;call your wife&lt;/em&gt; and cry for help, that&amp;rsquo;s what you do. You call her, apologize for being an idiot who only took one 500ml bottle of water (17oz, &amp;lsquo;Mericans) and no food, and ask her to bring you some. And then you fall on the ground and just lie there, trying not to pass out. And then luckily a group of cyclists stops by seeing you dying, and they give you water and sport-bars (which are just like regular chocolate bars only more expensive and in a more shiny packaging), and you jump on your bike and slowly ride home, and you meet your wife on the way and everything is fine again.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s an embarrassing story with a happy ending, but I&amp;rsquo;m sharing it here as a warning for anyone trying to be as stupid as I was. Dehydration in cycling is a serious problem; it actually is a direct cause of many deaths during famous road races, and should never be taken lightly. I got lucky, because some very good people stopped and helped me (even though I wasn&amp;rsquo;t able to speak; I was in a really bad shape), and because I have a wonderful wife that rode to my rescue like a knight in shiny armor on a white horse. But I was lucky, and it could&amp;rsquo;ve ended in a hospital.&lt;/p&gt;
&lt;p&gt;Stay hydrated, kids!&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;The thought process is always the same: &amp;ldquo;Will I manage to clip-out on time? I surely will. Definitely. There&amp;rsquo;s still time. Just a bit more. Oh shit.&amp;rdquo;&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;There&amp;rsquo;s a post about the bike coming.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;In my defense, years of cycling in Western Norway don&amp;rsquo;t really prepare you for riding in the heat.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>MFA tokens in your terminal</title><link>https://piotr.is/2016/mfa-tokens-in-your-terminal/</link><pubDate>Sun, 26 Jun 2016 00:00:00 +0000</pubDate><guid>https://piotr.is/2016/mfa-tokens-in-your-terminal/</guid><description>&lt;p class="aside"&gt;
All the stuff described here I learned from my dear colleague &lt;a href="https://github.com/giuliocalzolari" target="_blank" rel="noreferrer"&gt;Giulio&lt;/a&gt;. I&amp;rsquo;m sharing it here because it&amp;rsquo;s cool, and because I don&amp;rsquo;t think he&amp;rsquo;d share it anywhere other than our internal mailing list.
&lt;/p&gt;
&lt;p&gt;Do you use MFA a lot? Are you tired of reaching for your phone to check those codes on Google Authenticator app? Perhaps you&amp;rsquo;ve been logging to too many different AWS accounts because your work requires that? 😔 Here&amp;rsquo;s a couple paragraphs of advice that will ease your pain.&lt;/p&gt;
&lt;p&gt;First, install &lt;code&gt;oath-toolkit&lt;/code&gt;. On OS X you can get it with &lt;a href="http://brew.sh" target="_blank" rel="noreferrer"&gt;homebrew&lt;/a&gt;. Once it&amp;rsquo;s installed, you&amp;rsquo;d want to define a function for your shell, like this perhaps:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;function mfa () {
oathtool --base32 --totp &amp;#34;$(cat ~/.aws/$1.mfa)&amp;#34; ;
}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This specifies an &lt;code&gt;mfa&lt;/code&gt; alias which calls &lt;code&gt;oathtool&lt;/code&gt; and expects one argument: name of a file (sans extension) inside your &lt;code&gt;~/.aws/&lt;/code&gt; directory which contains a string that is the base for computing your &lt;a href="https://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm" target="_blank" rel="noreferrer"&gt;time-based one-time passwords&lt;/a&gt;. To continue the AWS-based example, you can find the code in the AWS console while setting up a new virtual MFA device.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2016/mfa-tokens-in-your-terminal/aws-mfa_hu_580ff27bef7b05ce.webp 330w,https://piotr.is/2016/mfa-tokens-in-your-terminal/aws-mfa_hu_dab60e843fa9cda2.webp 660w
,https://piotr.is/2016/mfa-tokens-in-your-terminal/aws-mfa_hu_216e656bbe9cda79.webp 1024w
,https://piotr.is/2016/mfa-tokens-in-your-terminal/aws-mfa_hu_d8c2169c64a9853a.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1576"
height="1368"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2016/mfa-tokens-in-your-terminal/aws-mfa_hu_ba6aa15702ac5fa4.png" srcset="https://piotr.is/2016/mfa-tokens-in-your-terminal/aws-mfa_hu_f67d4c04c0fc6da1.png 330w,https://piotr.is/2016/mfa-tokens-in-your-terminal/aws-mfa_hu_ba6aa15702ac5fa4.png 660w
,https://piotr.is/2016/mfa-tokens-in-your-terminal/aws-mfa_hu_4819ff8039a634c7.png 1024w
,https://piotr.is/2016/mfa-tokens-in-your-terminal/aws-mfa_hu_d8a771dfee01f921.png 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Once you click on &amp;ldquo;Show secret key for manual configuration,&amp;rdquo; you&amp;rsquo;ll be presented with a 64-character string, which you&amp;rsquo;ll need to put in a &lt;code&gt;~/.aws/account-name.mfa&lt;/code&gt; file. After that, whenever prompted for the MFA token, type &lt;code&gt;mfa account-name&lt;/code&gt; in your terminal.&lt;/p&gt;</description></item><item><title>“Hunger makes me a modern girl”</title><link>https://piotr.is/2016/hunger-makes-me-a-modern-girl/</link><pubDate>Thu, 23 Jun 2016 00:00:00 +0000</pubDate><guid>https://piotr.is/2016/hunger-makes-me-a-modern-girl/</guid><description>&lt;p&gt;I know Carrie Brownstein through &amp;ldquo;&lt;a href="http://www.ifc.com/shows/portlandia" target="_blank" rel="noreferrer"&gt;Portlandia&lt;/a&gt;,&amp;rdquo; a quirky sketch show she&amp;rsquo;s been doing with Fred Armisen for the last couple of years. I&amp;rsquo;m a huge fan of how accurately &amp;ldquo;Portlandia&amp;rdquo; pokes fun at alternative-culture so commonly associated with Pacific Northwest.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; What I learned later, only after doing some research on Fred and Carrie, is that they were both well-known before the show even started. Fred, to a perhaps lesser extent, through SNL, and Carrie, probably to a much greater extent, through &lt;a href="https://en.wikipedia.org/wiki/Sleater-Kinney" target="_blank" rel="noreferrer"&gt;Sleater-Kinney&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;SNL is obviously not very popular in Europe, but the fact that during my teenage years I have never heard about Sleater-Kinney was always a bit surprising to me. Sure, alternative-scene rock bands from Seattle like Nirvana, Soundgarden and Pearl Jam made its way to (even Eastern) European radio stations, but the much larger phenomenon of what&amp;rsquo;s known as the &amp;ldquo;Pacific Northwest scene&amp;rdquo; remained rather unknown, or at least not commonly known. This way one could, as it turns out, live one&amp;rsquo;s life all through the crazy 90s and only discover Sleater-Kinney in 2012. Oh, and what a fantastic discovery that was.&lt;/p&gt;
&lt;iframe src="https://embed.spotify.com/?uri=spotify:track:2TV1CEAFvQiiLhqxUOCQnC&amp;view=coverart" width="100%" height="80" frameborder="0" allowtransparency="true"&gt;&lt;/iframe&gt;
&lt;p&gt;&lt;a href="http://www.penguinrandomhouse.com/books/312793/hunger-makes-me-a-modern-girl-by-carrie-brownstein/" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Hunger Makes Me a Modern Girl&amp;rdquo;&lt;/a&gt; is Brownstein&amp;rsquo;s &lt;em&gt;memoir&lt;/em&gt;, but really it&amp;rsquo;s a book about Sleater-Kinney, and what it meant being an indie-rock band member in the 90s US. It&amp;rsquo;s full of personal stories of struggle, yet written in a way that is neither pretentious nor self-loathing. Carrie Brownstein is a very natural and genuine writer, insightful and funny. &amp;ldquo;Hunger Makes Me a Modern Girl&amp;rdquo; is obviously a book aimed at Sleater-Kinney fans, and as such is most enjoyable for readers familiar with the band, but anyone curious about the independent rock scene of the 90s will find it interesting. I certainly did.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Ok, so this blog entry really isn&amp;rsquo;t about &amp;ldquo;Portlandia,&amp;rdquo; but please go watch it. It&amp;rsquo;s absolutely brilliant in every way possible.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>zlib</title><link>https://piotr.is/2016/zlib/</link><pubDate>Tue, 21 Jun 2016 00:00:00 +0000</pubDate><guid>https://piotr.is/2016/zlib/</guid><description>&lt;p&gt;&lt;a href="http://stackoverflow.com/questions/20762094/how-are-zlib-gzip-and-zip-related-what-do-they-have-in-common-and-how-are-they" target="_blank" rel="noreferrer"&gt;Abhishek Jain asks&lt;/a&gt; Stack Overflow about the differences between zlib, gzip and Zip, and gets a fascinating and very insightful response from none other than &lt;a href="https://en.wikipedia.org/wiki/Mark_Adler" target="_blank" rel="noreferrer"&gt;Mark Adler&lt;/a&gt;. I particularly like &lt;a href="http://stackoverflow.com/questions/20762094/how-are-zlib-gzip-and-zip-related-what-do-they-have-in-common-and-how-are-they/20765054#20765054" target="_blank" rel="noreferrer"&gt;the comment&lt;/a&gt; Adler made when the OP asked about referenecs for his answer.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I am the reference, having been part of all of that. This post could be cited in Wikipedia as an original source.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This, to me, is a perfect example of the &lt;em&gt;enormous&lt;/em&gt; impact of open source and free software libraries developed in the 80s and 90s have on modern-day computing. All these small components of Linux or *BSD systems that were developed over the years now play such crucial parts in &lt;em&gt;so many&lt;/em&gt; complex systems we rely on every day.&lt;/p&gt;
&lt;p&gt;Free/open source software developers are the heroes of the internet era, and as such should have monuments built to their glory and schools named after them.&lt;/p&gt;</description></item><item><title>AlphaGo wins with Lee Sedol</title><link>https://piotr.is/2016/alphago/</link><pubDate>Thu, 10 Mar 2016 00:00:00 +0000</pubDate><guid>https://piotr.is/2016/alphago/</guid><description>&lt;p&gt;Google &lt;a href="https://deepmind.com/" target="_blank" rel="noreferrer"&gt;Deep Mind&lt;/a&gt;&amp;rsquo;s AlphaGo won &lt;a href="https://twitter.com/mustafasuleymn/status/707469083458068480" target="_blank" rel="noreferrer"&gt;two&lt;/a&gt; &lt;a href="https://twitter.com/demishassabis/status/707845224731508736" target="_blank" rel="noreferrer"&gt;games&lt;/a&gt; against the world go champion, &lt;a href="https://en.wikipedia.org/wiki/Lee_Sedol" target="_blank" rel="noreferrer"&gt;Lee Sedol&lt;/a&gt;. This is a &lt;em&gt;ginormous&lt;/em&gt; triumph of statistical methods in general and machine learning in particular over &amp;ldquo;symbolic AI.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;I remember writing an essay for a class in philosophy some years ago about the progress of AI game engines and the somewhat unimpressive &lt;a href="https://en.wikipedia.org/wiki/Deep_Blue_versus_Garry_Kasparov#1997_rematch" target="_blank" rel="noreferrer"&gt;achievements of Deep Blue&lt;/a&gt;. It was of course exciting to see a computer beat a reigning chess world champion, but underneath all the heuristics IBM implemented for chess, it was all &amp;ldquo;brute force.&amp;rdquo; Chess has a &lt;a href="https://en.wikipedia.org/wiki/Game_complexity#Game-tree_complexity" target="_blank" rel="noreferrer"&gt;game tree complexity&lt;/a&gt; of 10&lt;sup&gt;123&lt;/sup&gt;, which is huge, but still &amp;ldquo;traversable&amp;rdquo; by modern computers using good heuristic functions. Go, on the other hand, was deemed unsolvable by any &amp;ldquo;brute force&amp;rdquo; methods, because its game tree complexity is 10&lt;sup&gt;360&lt;/sup&gt;—far too big. I don&amp;rsquo;t think anyone in 2006 expected that within ten years a computer program will beat the best Go player (I know I didn&amp;rsquo;t), yet it just happened.&lt;/p&gt;
&lt;p&gt;And most importantly, it happened in a more, hm, &amp;ldquo;intelligent&amp;rdquo; way. AlphaGo doesn&amp;rsquo;t just search the state space, it analyses patterns and &lt;em&gt;learns&lt;/em&gt; how to play. Again, I cannot stress this enough what an incredible achievement this is for deep learning (aka neural networks). The fact that Google Photos can quickly learn what my photos contain so that I can search for &amp;ldquo;mountains&amp;rdquo; even though I didn&amp;rsquo;t tag/categorize anything in my photo library is very impressive. But the fact that AlphaGo can learn patterns of the most complex board game is just mind-blowing.&lt;/p&gt;
&lt;p&gt;All this is not to say that logic-based AI is without merit. Yoav Shoham &lt;a href="http://cacm.acm.org/magazines/2016/1/195730-why-knowledge-representation-matters/fulltext" target="_blank" rel="noreferrer"&gt;is right&lt;/a&gt; that what he calls &amp;ldquo;applied philosophy&amp;rdquo; is an underrated branch of AI these days, but I think the success of machine learning is astonishing in how much it can deliver vs. traditional, logic-based methods, and I don&amp;rsquo;t agree with Shoham when he says that the &amp;ldquo;the pendulum has swung too far,&amp;rdquo; and that there&amp;rsquo;s too much emphasis on ML in AI research. Given how much ML can deliver, I think the emphasis is well justified.&lt;/p&gt;
&lt;p&gt;I, for one, welcome our future AI overlords.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;update, Mar 15, 2016:&lt;/strong&gt; AlphaGo &lt;a href="https://twitter.com/mustafasuleymn/status/709673935428780032" target="_blank" rel="noreferrer"&gt;won&lt;/a&gt; the match 4:1.&lt;/p&gt;</description></item><item><title>Go vs. Scala</title><link>https://piotr.is/2016/go-vs.-scala/</link><pubDate>Sat, 16 Jan 2016 00:00:00 +0000</pubDate><guid>https://piotr.is/2016/go-vs.-scala/</guid><description>&lt;blockquote&gt;
&lt;p&gt;One of Go&amp;rsquo;s features is that it doesn&amp;rsquo;t have an excess of features, and frankly, I think that feature is undervalued.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There&amp;rsquo;s an interesting &lt;a href="https://www.quora.com/Scala-vs-Go-Could-people-help-compare-contrast-these-on-relative-merits-demerits" target="_blank" rel="noreferrer"&gt;discussion on Quora&lt;/a&gt; about the differences between Golang and Scala.&lt;/p&gt;
&lt;p&gt;As a former academic with tendencies towards functional programming, I used to be very tempted by Scala.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; It offers all the functional goodness without the exoticism of Haskell, and came with reasonably good tools and frameworks. Like Clojure, it&amp;rsquo;s a functional language you can actually do some work with.&lt;/p&gt;
&lt;p&gt;The problem with Scala is, the more advanced you get, the more complicated (unreadable?) your code becomes. I remember that back in grad school the dude who was able to doodle the craziest and mathematically most challenging solution to some problem in Haskell was someone everyone looked up to. But it turns out in the &amp;ldquo;real world&amp;rdquo; simplicity &lt;em&gt;always&lt;/em&gt; trumps virtuosity and sophistication, which is one of the many reasons I love Golang so much. A language with no &amp;ldquo;magic,&amp;rdquo; good concurrency support, great documentation and community that compiles into machine code and runs faster than Python? Yes, please.&lt;/p&gt;
&lt;p&gt;Read the whole Quora thread, though, there&amp;rsquo;s a lot of interesting stuff there.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;This is not to say that I don&amp;rsquo;t like Scala. I &lt;em&gt;really&lt;/em&gt; do, it&amp;rsquo;s just that my love for it is, hm, not as unconditional as it used to be.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>No more LaTeX</title><link>https://piotr.is/2016/no-more-latex/</link><pubDate>Sun, 10 Jan 2016 00:00:00 +0000</pubDate><guid>https://piotr.is/2016/no-more-latex/</guid><description>&lt;p&gt;I made &lt;a href="https://piotr.is/2015/done/"&gt;jokes&lt;/a&gt; about this before, but it actually happened: since I no longer use LaTeX, I removed it from my laptop and got rid of the config from my &lt;code&gt;.vimrc&lt;/code&gt;. It&amp;rsquo;s nothing unusual, but I somewhat feel that the departure from LaTeX marks an important &lt;em&gt;(sic!)&lt;/em&gt; moment in my life.&lt;/p&gt;
&lt;p&gt;LaTeX was my &amp;ldquo;gateway drug&amp;rdquo; to programming. I kid you not. Since I was interested in publishing as a teenager (even ran a small but successful magazine for a while), got very disappointed in MS Word&amp;rsquo;s DTP capabilities, had no money or supported OS to run Adobe or Quark, LaTeX was for me, sadly, the only option to put my magazine together. A Polish magazine called Linux+ published an article about LaTeX, I went through the tutorial, then through &lt;a href="https://www.google.com/search?q=lshort2e.pdf" target="_blank" rel="noreferrer"&gt;lshort2e.pdf&lt;/a&gt;, and got hooked. I was of course impressed by the quality of the output, but most importantly I understood the powerful concept of source code and compilation. LaTeX is of course technically &lt;em&gt;markup&lt;/em&gt; and not &lt;em&gt;code&lt;/em&gt;,&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; and it&amp;rsquo;s not exactly &lt;em&gt;compiled&lt;/em&gt; but &lt;em&gt;parsed&lt;/em&gt;, but still the process and concepts are easily translatable to programming. So then came going through &lt;a href="https://en.wikipedia.org/wiki/AWK" target="_blank" rel="noreferrer"&gt;AWK&lt;/a&gt; tutorials, and later came C and Perl. And much later came a lot of other stuff, but it all started with LaTeX.&lt;/p&gt;
&lt;p&gt;I owe LaTeX a lot. It made my silly little magazine look &lt;em&gt;good&lt;/em&gt;, impressing people at the printshop and everyone else who had the slightest idea about publishing. It made writing technical notes on formal logic for my classes in philosophy so much easier. I wrote my master&amp;rsquo;s and my doctoral theses using it. And yeah, it also made my blog&amp;rsquo;s most popular blog post.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; It is then with a heavy heart that I am writing that I really, really hate LaTeX and am very happy that I don&amp;rsquo;t have to use it anymore.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m not saying &lt;a href="https://piotr.is/2014/stop-using-latex-switch-to-ms-word/"&gt;&amp;ldquo;switch to MS Word&amp;rdquo;&lt;/a&gt; or something silly like that, no. But it saddens me that after so many years the open source/free software community did not produce anything more modern, easier to use&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt; and simply more elegant. LaTeX is a mess, and the underlying TeX typesetting systems dates back to the 70s. It comes in &lt;em&gt;huge&lt;/em&gt; tarballs or installers. It has an annoying syntax. Its fonts are as beautiful as they are painful to install. Its error messages are cryptic. The list of problems goes on.&lt;/p&gt;
&lt;p&gt;I was actually hoping that the academic community would adopt &lt;a href="http://pandoc.org/" target="_blank" rel="noreferrer"&gt;Pandoc&lt;/a&gt; and restrict LaTeX usage to its math formulas syntax, but that didn&amp;rsquo;t happen. And I suppose Matthias Ettrich hoped the academic community would adopt &lt;a href="http://www.lyx.org/" target="_blank" rel="noreferrer"&gt;LyX&lt;/a&gt; (which is actually surprisingly good), but that didn&amp;rsquo;t happen either.&lt;/p&gt;
&lt;p&gt;I guess the beauty of leaving the world of academia is that I no longer have to care.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Or rather: it&amp;rsquo;s most commonly used as a markup language, but is in fact a &lt;a href="http://en.literateprograms.org/Turing_machine_simulator_%28LaTeX%29" target="_blank" rel="noreferrer"&gt;Turing complete&lt;/a&gt; programming language.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;It is actually &lt;em&gt;astonishing&lt;/em&gt; how many people read and share this howto. I never expected to end up in lecture notes for CS and physics classes in places like Colorado State, not to mention reddits and HN of course.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;By &amp;ldquo;easier to use&amp;rdquo; I don&amp;rsquo;t necessarily mean a GUI. Having a markup language is good.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Best Jazz Albums of 2015</title><link>https://piotr.is/2016/best-jazz-albums-of-2015/</link><pubDate>Sun, 03 Jan 2016 00:00:00 +0000</pubDate><guid>https://piotr.is/2016/best-jazz-albums-of-2015/</guid><description>&lt;p&gt;In the spirit of &lt;a href="http://www.logophile.org/blog/2016/01/01/2015-reading-record/" target="_blank" rel="noreferrer"&gt;2015 summaries&lt;/a&gt;, I felt like sharing my recommendations for the best, in my view, jazz albums of yesteryear. The list is, of course, highly subjective and biased towards contemporary and European jazz.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; I also admit that the great majority of what I listen to comes from ACT Music label, since many of my favorite artists record for them, and thus it&amp;rsquo;s somewhat easier for me to explore their catalogue. Nevertheless, I tried to be broader in my picks, which was really easy this year thanks to some very surprising albums from relatively unknown artists. Below are my 6 favorites, with three in the &amp;ldquo;must listen&amp;rdquo; category additionally marked with a &amp;ldquo;💣&amp;rdquo; (how did internet function without emoji, eh?).&lt;/p&gt;
&lt;h3 id="-kamasi-washingtonepic-brainfeeder" class="relative group"&gt;💣 Kamasi Washington—&amp;ldquo;Epic&amp;rdquo; (Brainfeeder) &lt;/h3&gt;&lt;iframe src="https://embed.spotify.com/?uri=spotify:track:6dZojGTd9QNpAulk8WUoeW" width="300" height="380" frameborder="0" allowtransparency="true" style="float:left;margin:10px 20px 10px 0px;" &gt;&lt;/iframe&gt;
Ok, get this: a relatively unknown artist from Los Angeles *(wut?)* releases his 3-CDs-2hrs-52minutes-long debut which, in my opinion, is at the same time the best jazz album of 2015. Yeah, "Epic" really is, *nomen omen*, quite epic. Kamasi Washington achieved something unique here: he managed to create a very "mainstream" sounding, easy to listen, contemporary jazz record with a lot of free-jazzy, Ornette Coleman-inspired solos and hard bop rhythms. Oh, and he managed to do all this on a 3hr album and not make it boring in any way. Washington is known for recording with hip-hop artists (most notably for working with Kendrick Lamar), and arguably the biggest advantage of his debut is introducing free jazz to younger audiences, but regardless, the album is as exciting, refreshing and enjoyable to just about any audience I can think of.
Play it at home, in the morning or evening, on the bus, on the plane and at work. Absorb it.
&lt;h3 id="michael-wollny-christian-weber-eric-schaefernachtfahrten-act" class="relative group"&gt;Michael Wollny, Christian Weber, Eric Schaefer—&amp;ldquo;Nachtfahrten&amp;rdquo; (ACT) &lt;/h3&gt;&lt;iframe src="https://embed.spotify.com/?uri=spotify:track:0oCyEUh2QT03XiYKgUXFkq" width="300" height="380" frameborder="0" allowtransparency="true" style="float:left;margin:10px 20px 10px 0px;" &gt;&lt;/iframe&gt;
Michael Wollny is a well-regarded pianist, at least on the European scene, and his "Nachtfahrten" album solidifies his position as the band leader, improviser and composer. A much calmer, contemplative, and less experimental record than his previous [solo albums](http://michaelwollny.com/michael-wollny-wunderkammer-xxl/) or [[em] trio](http://michaelwollny.com/michael-wollny-wasted-wanted/), "Nachtfarhten" brings beautiful melodies with a touch of melancholy, but never boring or smooth-jazzy. Wollny's lyrical piano is actually closer to Jarrett's "standards trio" than anything else on the jazz scene today, which makes me love his music even more.
Play this album in the evenings. Enjoy with a glass of good wine, but skip the book and just contemplate the music.
&lt;h3 id="-adam-bałdych--helge-lien-triobridges-act" class="relative group"&gt;💣 Adam Bałdych &amp;amp; Helge Lien Trio—&amp;ldquo;Bridges&amp;rdquo; (ACT) &lt;/h3&gt;&lt;iframe src="https://embed.spotify.com/?uri=spotify:track:4seF06uMElRFJo3zqDczR4" width="300" height="380" frameborder="0" allowtransparency="true" style="float:left;margin:10px 20px 10px 0px;" &gt;&lt;/iframe&gt;
Another ACT recording artist and my personal favorite-of-all-favorites, Adam Bałdych, this year with a Norwegian trio led by Helge Lien. I am obviously biased towards Bałdych, because I'm Polish and a weekend-violinist, but I honestly think he's the most interesting jazz artist of the European if not worldwide jazz scene. His folk-sounding acoustic violin, his energetic, sometimes post-bopish Seifert-like improvisations, and the wonderfully melodic support of Helge Lien's piano-double-bass-drums trio make "Bridges" the most original and interesting jazz album I've heard in a very long time.
Play it all the time and watch yourself head-banging to the sound of acoustic violin and acoustic double bass. Yeah, that's gonna happen.
&lt;h3 id="sons-of-kemetlest-we-forget-what-we-came-here-to-do-naim-jazz" class="relative group"&gt;Sons of Kemet—&amp;ldquo;Lest We Forget What We Came Here to Do&amp;rdquo; (Naim Jazz) &lt;/h3&gt;&lt;iframe src="https://embed.spotify.com/?uri=spotify:track:6UljHQ0UnRGRhVwa929PDA" width="300" height="380" frameborder="0" allowtransparency="true" style="float:left;margin:10px 20px 10px 0px;" &gt;&lt;/iframe&gt;
Sons of Kemet took the European jazz scene by storm with their 2013 debut ["Burn"](http://www.naimlabel.com/recording-burn.aspx),[^2] so the expectations were really high for their second record. "Lest We Forget..." doesn't dissapoint, but presents the band in a bit of a different style. Yes, they're still a crazy combo of saxophone, tuba (albeit with a new tuba player) and two drum kits, but while "Burn" was pure energy with a small hydrogen bomb on top of that, "Lest We Forget..." is slightly more difficult and much more free in the sense of improvisation and form. To me, it's also more rewarding.
Play it *loudly*.
&lt;h3 id="julian-argüellestetra-whirlwind" class="relative group"&gt;Julian Argüelles—&amp;ldquo;Tetra&amp;rdquo; (Whirlwind) &lt;/h3&gt;&lt;iframe src="https://embed.spotify.com/?uri=spotify:track:7qxyLfZIRInwJnr6W9Sj7d" width="300" height="380" frameBorder="0" allowtransparency="true" style="float:left;margin:10px 20px 10px 0px;"&gt;&lt;/iframe&gt;
Julian Argüelles comes back with a new band called Tetra to introduce an album titled... "Tetra." This is the most mainstream/conservative album of the 5 recommendations I compiled here, but it's still full of Julian's great improvisations and I'm pretty sure many of his pieces will soon become standards.
Play it at a party, play it to people who say they don't like contemporary jazz.
&lt;h3 id="marius-nesetpinball-act" class="relative group"&gt;💣Marius Neset—&amp;ldquo;Pinball&amp;rdquo; (ACT) &lt;/h3&gt;&lt;iframe src="https://embed.spotify.com/?uri=spotify:track:3yV8O5NE72gPZldRVDmB6i" width="300" height="380" frameborder="0" allowtransparency="true" style="float:left;margin:10px 20px 10px 0px;" &gt;&lt;/iframe&gt;
Marius Neset is a genius. He's 30 year old Norwegian saxophonist (from Os near Bergen, mind you), and he likes playing with big bands. "Pinball", his latest album, is full of complicated yet melodic pieces, youthful energy with a touch of "world music" sound. He's got violins, cellos, vibraphones, marimbas, flutes and tambourines, so it is easily the most original sounding jazz album of 2015. And Neset's virtuosity is simply *astonishing*. "Pinball" is fresh and engaging, and next to Bałdych's "Bridges" the album I most frequently listened to last year.
Play it carefully, it's a noisy album. Don't get districted, and don't get carried away; you don't want your neighbors hear you dancing to the sound of tenor saxophone and marimba solos.
&lt;h3 id="honorable-mentions" class="relative group"&gt;Honorable mentions &lt;/h3&gt;&lt;p&gt;There were of course other great albums I enjoyed. Get The Blessing&amp;rsquo;s &lt;a href="https://open.spotify.com/album/5GlFE6RKXeCOMCB8G5flYT" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Astronautilus&amp;rdquo;&lt;/a&gt; (Naim Jazz) was definitely decent, although much less spectacular than 2013 &amp;ldquo;Lope and Antilope&amp;rdquo; and their earlier &amp;ldquo;OC DC&amp;rdquo; (2011) or &amp;ldquo;All is Yes&amp;rdquo; (2008). Another interesting album was &lt;a href="https://letspin.bandcamp.com/album/let-spin" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Let Go&amp;rdquo;&lt;/a&gt; (Efpi) by a young, London-based punk-jazz quartet Let Spin. It&amp;rsquo;s closer to punk than to jazz most of the time, and much more spectacular (and &lt;em&gt;loud&lt;/em&gt;) live than in the studio, but still worth checking out. Finally, Brad Mehldau released a compilation of his solo records called &lt;a href="http://www.bradmehldau.com/10-years-solo/" target="_blank" rel="noreferrer"&gt;&amp;ldquo;10 years solo&amp;rdquo;&lt;/a&gt; (Nonesuch), which is definitely interesting, but to me somewhat exhausting to go through. His interpretations of rock music favorites are still spot on, though.&lt;/p&gt;
&lt;p&gt;I provided Spotify links to all the albums mentioned above (unless they weren&amp;rsquo;t available on Spotify) to make checking them out as easy as possible,&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; but I would kindly ask you to consider buying the albums you enjoy. They are all available on iTunes and Amazon, and if you don&amp;rsquo;t like either you can always use my &lt;a href="http://losslessfinder.herokuapp.com" target="_blank" rel="noreferrer"&gt;LossLessFinder&lt;/a&gt; to get quality files from other sources. Support new jazz, people, and have a great 2016.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Actually the bias is stronger and deserves a longer explanation, even if it&amp;rsquo;s just a footnote. I am slightly opinionated when it comes to jazz music, namely I feel jazz should remain exciting, energetic and involving, and expanding its reach rather than looking back. Thus I despise smooth jazz for its way too laid-back supermarket-friendly sound, and generally avoid swing and big bands. I also prefer jazz music being played in cramped clubs by young artists to concert halls full of older audiences in suits (with a notable exception of Keith Jarrett who can play wherever he likes for whatever ticket price and I will still be a happy camper if I get to go to his concert).&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;I even created &lt;a href="https://open.spotify.com/user/pkazmierczak/playlist/2tCeDYticELqdUwx7PmOg0" target="_blank" rel="noreferrer"&gt;a playlist&lt;/a&gt; which consists of single tracks taken from all the albums recommended here and available on Spotify.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>AWS Cloudformation template for OpenVPN server creation</title><link>https://piotr.is/2015/aws-cloudformation-template-for-openvpn-server-creation/</link><pubDate>Wed, 23 Dec 2015 00:00:00 +0000</pubDate><guid>https://piotr.is/2015/aws-cloudformation-template-for-openvpn-server-creation/</guid><description>&lt;p&gt;Are you traveling for Christmas to a country where Netflix/Hulu isn&amp;rsquo;t available? Are you worried you might resort to violence against your own family once you&amp;rsquo;re fed up with them? Here&amp;rsquo;s a VPN server template to help the situation (and keep you away from prison).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;update Jan 6, 2016:&lt;/strong&gt; &lt;a href="https://media.netflix.com/en/press-releases/netflix-is-now-available-around-the-world" target="_blank" rel="noreferrer"&gt;Oh, well.&lt;/a&gt; VPN servers can still be useful for other purposes.&lt;/p&gt;
&lt;p&gt;Netflix is brilliant and there&amp;rsquo;s no better time to catch up on your &lt;a href="http://www.netflix.com/title/80002311?locale=en-DE" target="_blank" rel="noreferrer"&gt;Jessica Jones&lt;/a&gt; episodes than Christmas break. But what if your family resides in a country where Netflix isn&amp;rsquo;t available yet? 😱 Fear not, there&amp;rsquo;s a way to circumvent geolocation-based legal barriers that protect, in my case, Eastern Europe from excellent comic book-based television. First, you&amp;rsquo;re gonna need a &lt;em&gt;fast&lt;/em&gt; internet connection.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; Second, a VPN server into the country where Netflix is available, e.g., Bundesrepublik Deutschland.&lt;/p&gt;
&lt;p&gt;To create one really quickly and cheaply (and destroy it as easily once it&amp;rsquo;s not needed), it&amp;rsquo;s best to use Cloudformation, an orchestration/templating tool that AWS provides. With Cloudformation, all the details&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; of your stack are included in one JSON file which, once uploaded via AWS Console, deploys the stack defined by the template. The JSON file below defines an EC2 instance together with a security group suited for OpenVPN:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;{
&amp;#34;AWSTemplateFormatVersion&amp;#34;: &amp;#34;2010-09-09&amp;#34;,
&amp;#34;Description&amp;#34;: &amp;#34;OpenVPN server template&amp;#34;,
&amp;#34;Mappings&amp;#34;: {
&amp;#34;AWSRegion2AMI&amp;#34;: {
&amp;#34;ap-northeast-1&amp;#34;: {
&amp;#34;AMI&amp;#34;: &amp;#34;ami-5ea72b5e&amp;#34;
},
&amp;#34;ap-southeast-1&amp;#34;: {
&amp;#34;AMI&amp;#34;: &amp;#34;ami-365c5764&amp;#34;
},
&amp;#34;ap-southeast-2&amp;#34;: {
&amp;#34;AMI&amp;#34;: &amp;#34;ami-831d51b9&amp;#34;
},
&amp;#34;eu-central-1&amp;#34;: {
&amp;#34;AMI&amp;#34;: &amp;#34;ami-507f7e4d&amp;#34;
},
&amp;#34;eu-west-1&amp;#34;: {
&amp;#34;AMI&amp;#34;: &amp;#34;ami-03644074&amp;#34;
},
&amp;#34;sa-east-1&amp;#34;: {
&amp;#34;AMI&amp;#34;: &amp;#34;ami-4fd55f52&amp;#34;
},
&amp;#34;us-east-1&amp;#34;: {
&amp;#34;AMI&amp;#34;: &amp;#34;ami-5fe36434&amp;#34;
},
&amp;#34;us-west-1&amp;#34;: {
&amp;#34;AMI&amp;#34;: &amp;#34;ami-8bf40fcf&amp;#34;
},
&amp;#34;us-west-2&amp;#34;: {
&amp;#34;AMI&amp;#34;: &amp;#34;ami-9fe2f2af&amp;#34;
}
}
},
&amp;#34;Parameters&amp;#34;: {
&amp;#34;InstanceType&amp;#34;: {
&amp;#34;AllowedValues&amp;#34;: [
&amp;#34;t2.micro&amp;#34;,
&amp;#34;t2.medium&amp;#34;,
&amp;#34;m3.medium&amp;#34;,
&amp;#34;m3.large&amp;#34;,
&amp;#34;m3.xlarge&amp;#34;,
&amp;#34;m3.2xlarge&amp;#34;
],
&amp;#34;ConstraintDescription&amp;#34;: &amp;#34;must be a valid EC2 instance type.&amp;#34;,
&amp;#34;Default&amp;#34;: &amp;#34;t2.micro&amp;#34;,
&amp;#34;Description&amp;#34;: &amp;#34;Instance type for EC2 instance.&amp;#34;,
&amp;#34;Type&amp;#34;: &amp;#34;String&amp;#34;
},
&amp;#34;KeyName&amp;#34;: {
&amp;#34;ConstraintDescription&amp;#34;: &amp;#34;must be the name of an existing EC2 KeyPair.&amp;#34;,
&amp;#34;Default&amp;#34;: &amp;#34;openvpn&amp;#34;,
&amp;#34;Description&amp;#34;: &amp;#34;Name of an existing EC2 KeyPair to enable SSH access to the instances&amp;#34;,
&amp;#34;Type&amp;#34;: &amp;#34;AWS::EC2::KeyPair::KeyName&amp;#34;
},
&amp;#34;Project&amp;#34;: {
&amp;#34;AllowedPattern&amp;#34;: &amp;#34;[\\x20-\\x7E]*&amp;#34;,
&amp;#34;ConstraintDescription&amp;#34;: &amp;#34;can contain only ASCII characters.&amp;#34;,
&amp;#34;Default&amp;#34;: &amp;#34;OpenVPN-server&amp;#34;,
&amp;#34;Description&amp;#34;: &amp;#34;OpenVPN-server&amp;#34;,
&amp;#34;MaxLength&amp;#34;: &amp;#34;255&amp;#34;,
&amp;#34;MinLength&amp;#34;: &amp;#34;1&amp;#34;,
&amp;#34;Type&amp;#34;: &amp;#34;String&amp;#34;
}
},
&amp;#34;Resources&amp;#34;: {
&amp;#34;OpenVPNInstance&amp;#34;: {
&amp;#34;Properties&amp;#34;: {
&amp;#34;ImageId&amp;#34;: {
&amp;#34;Fn::FindInMap&amp;#34;: [
&amp;#34;AWSRegion2AMI&amp;#34;,
{
&amp;#34;Ref&amp;#34;: &amp;#34;AWS::Region&amp;#34;
},
&amp;#34;AMI&amp;#34;
]
},
&amp;#34;InstanceType&amp;#34;: {
&amp;#34;Ref&amp;#34;: &amp;#34;InstanceType&amp;#34;
},
&amp;#34;KeyName&amp;#34;: {
&amp;#34;Ref&amp;#34;: &amp;#34;KeyName&amp;#34;
},
&amp;#34;SecurityGroups&amp;#34;: [
{
&amp;#34;Ref&amp;#34;: &amp;#34;VPNSecurityGroup&amp;#34;
}
],
&amp;#34;Tags&amp;#34;: [
{
&amp;#34;Key&amp;#34;: &amp;#34;Name&amp;#34;,
&amp;#34;Value&amp;#34;: {
&amp;#34;Fn::Join&amp;#34;: [
&amp;#34;-&amp;#34;,
[
&amp;#34;EC2-VPN&amp;#34;,
{
&amp;#34;Ref&amp;#34;: &amp;#34;Project&amp;#34;
}
]
]
}
}
],
&amp;#34;UserData&amp;#34;: {
&amp;#34;Fn::Base64&amp;#34;: {
&amp;#34;Fn::Join&amp;#34;: [
&amp;#34;&amp;#34;,
[
&amp;#34;public_hostname=openvpn\n&amp;#34;,
&amp;#34;admin_user=openvpn\n&amp;#34;,
&amp;#34;admin_pw=openvpn\n&amp;#34;,
&amp;#34;reroute_gw=1\n&amp;#34;,
&amp;#34;reroute_dns=1\n&amp;#34;
]
]
}
}
},
&amp;#34;Type&amp;#34;: &amp;#34;AWS::EC2::Instance&amp;#34;
},
&amp;#34;VPNSecurityGroup&amp;#34;: {
&amp;#34;Properties&amp;#34;: {
&amp;#34;GroupDescription&amp;#34;: &amp;#34;Enable SSH access to the instance and VPN access via configured port. &amp;#34;,
&amp;#34;SecurityGroupIngress&amp;#34;: [
{
&amp;#34;CidrIp&amp;#34;: &amp;#34;0.0.0.0/0&amp;#34;,
&amp;#34;FromPort&amp;#34;: &amp;#34;443&amp;#34;,
&amp;#34;IpProtocol&amp;#34;: &amp;#34;tcp&amp;#34;,
&amp;#34;ToPort&amp;#34;: &amp;#34;443&amp;#34;
},
{
&amp;#34;CidrIp&amp;#34;: &amp;#34;0.0.0.0/0&amp;#34;,
&amp;#34;FromPort&amp;#34;: &amp;#34;1194&amp;#34;,
&amp;#34;IpProtocol&amp;#34;: &amp;#34;udp&amp;#34;,
&amp;#34;ToPort&amp;#34;: &amp;#34;1194&amp;#34;
}
],
&amp;#34;Tags&amp;#34;: [
{
&amp;#34;Key&amp;#34;: &amp;#34;Name&amp;#34;,
&amp;#34;Value&amp;#34;: {
&amp;#34;Fn::Join&amp;#34;: [
&amp;#34;-&amp;#34;,
[
&amp;#34;SG-VPN&amp;#34;,
{
&amp;#34;Ref&amp;#34;: &amp;#34;Project&amp;#34;
}
]
]
}
}
]
},
&amp;#34;Type&amp;#34;: &amp;#34;AWS::EC2::SecurityGroup&amp;#34;
}
}
}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You can &lt;a href="https://gist.github.com/pkazmierczak/6886e01508c470934c4d" target="_blank" rel="noreferrer"&gt;download it&lt;/a&gt;, and use it whenever you need to quickly deploy an OpenVPN server. In order to use it, you need:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;an AWS account (this costs money, but not much, and only when it&amp;rsquo;s being used);&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;to accept the terms of use for the &lt;a href="https://aws.amazon.com/marketplace/pp/B00MI40CAE" target="_blank" rel="noreferrer"&gt;OpenVPN Access Service AMI&lt;/a&gt;; it&amp;rsquo;s free for not more than 2 VPN connections at a time;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;to have at least one key pair for the EC2 instance that will be deployed;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;to configure the OpenVPN server and optionally create another user (the default username and password is &lt;code&gt;openvpn&lt;/code&gt; as defined in the template);&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;to configure a VPN client software capable of connecting to OpenVPN servers; on a Mac I recommend &lt;a href="https://www.sparklabs.com/viscosity/" target="_blank" rel="noreferrer"&gt;Viscosity&lt;/a&gt;, Linux users need the OpenVPN plugin for Network Manager, Windows users need to get a grip and change the OS (seriously though, I don&amp;rsquo;t know any VPN clients for Windows, but for sure there are many good ones).&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;That&amp;rsquo;s it! To access the control panel of your VPN server, browse to &lt;code&gt;https://yourEC2_public_IP_address/admin&lt;/code&gt; and accept the OpenVPN license. To get the &lt;code&gt;client.ovpn&lt;/code&gt; configuration file for your client software, look up &lt;code&gt;https://yourEC2_public_IP_address/?src=connect&lt;/code&gt; (you may need to tweak the settings depending on the client you&amp;rsquo;re using).&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;d like to change the Cloudformation template, I recommend using &lt;a href="https://github.com/cloudtools/troposphere" target="_blank" rel="noreferrer"&gt;Troposphere&lt;/a&gt; package for Python rather than editing the raw JSON file. Here&amp;rsquo;s the &lt;a href="https://gist.github.com/pkazmierczak/54146775a1d8f45669c6"&gt;source&lt;/a&gt; I used to generate the template above.&lt;/p&gt;
&lt;p&gt;Merry Christmas everyone!&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Now you&amp;rsquo;d think it&amp;rsquo;s difficult to get a fast enough internet connection in the poor Eastern Block, but my experience shows that on average the quality of internet providers is orders of magnitude better in, say, Poland than in, say, Germany/The Netherlands/Belgium/Norway/UK.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Ordinarily, yes, CF templates &lt;em&gt;should&lt;/em&gt; include all the details of a given stack. The template presented here is as bare as possible, though, using a default VPC, default subnet etc., to keep it simple.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Blogging Again</title><link>https://piotr.is/2015/blogging-again/</link><pubDate>Tue, 22 Dec 2015 00:00:00 +0000</pubDate><guid>https://piotr.is/2015/blogging-again/</guid><description>&lt;p&gt;&lt;a href="http://www.manton.org/2015/11/a-diverse-community-through-writing.html" target="_blank" rel="noreferrer"&gt;Manton Reece:&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;By creating a blog, you’re making a statement that you care about something&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I haven&amp;rsquo;t been blogging on a regular basis for many months now, primarily because I was busy with my PhD, depressed with my PhD, depressed about looking for a job or busy with my new job, but also because &lt;a href="https://piotr.is/2012/11/06/blogging-is-hard/"&gt;I wasn&amp;rsquo;t really sure&lt;/a&gt; there&amp;rsquo;s a point in having a blog in the first place.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve read Manton Reece&amp;rsquo;s post about female bloggers&amp;rsquo; in the tech community (linked to by &lt;a href="http://inessential.com/2015/11/16/blogs_by_women" target="_blank" rel="noreferrer"&gt;Brent Simmons&amp;rsquo; post&lt;/a&gt; on the subject) and the above quote made me think that I do feel like I have something to say on the subjects I care about, and that I do have the need to put it in writing. I also notice a trend of some of my favorite blogs dying out slowly: &lt;a href="http://marco.org" target="_blank" rel="noreferrer"&gt;Marco Arment&amp;rsquo;s blog&lt;/a&gt; has seen much less activitiy recently, because he &lt;a href="http://atp.fm/episodes/145" target="_blank" rel="noreferrer"&gt;prefers podcasting&lt;/a&gt; as a medium, and &lt;a href="http://www.logophile.org/blog/" target="_blank" rel="noreferrer"&gt;Tikitu de Jager&amp;rsquo;s blog&lt;/a&gt; is also rather &lt;a href="http://www.logophile.org/blog/2015/10/10/rust/" target="_blank" rel="noreferrer"&gt;inactive&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;d like to go against the trend and resume blogging, then. I no longer care whether my content is focused on a particular topic or not, as I noticed that blogs which contents reflects the personality of an author are more appealing to me as a reader. This is the true essence of blogging to me, the somewhat personal relationship you can build between the reader and the blogger. I&amp;rsquo;ll do my best to achieve just that.&lt;/p&gt;</description></item><item><title>London</title><link>https://piotr.is/2015/london/</link><pubDate>Mon, 14 Dec 2015 00:00:00 +0000</pubDate><guid>https://piotr.is/2015/london/</guid><description>&lt;p&gt;A couple of weeks ago &lt;a href="http://cloudreach.com"&gt;my company&lt;/a&gt; sent me over to London for 6 weeks to do some project work for one of our clients. I&amp;rsquo;m back in Munich now, but everyone&amp;rsquo;s been asking me how it was and I have surprisingly many things to say about my stay in the UK. Thus, to ease my pain of having to tell everyone the same bunch of observations, I decided to group them all neatly into a blog post. Here goes.&lt;/p&gt;
&lt;h2 id="london-is-big-and-crowded" class="relative group"&gt;London is &lt;em&gt;big&lt;/em&gt; and &lt;em&gt;crowded&lt;/em&gt; &lt;/h2&gt;&lt;p&gt;Depending on the definition, the London metropolitan area has between 8,5 and 14 mln inhabitants. By European standards this makes it a &lt;em&gt;huge&lt;/em&gt; city, and having never lived in a place that had more than 2,5 mln people, you can really feel the difference. The most visible effect of that enormous size is of course overcrowding.&lt;/p&gt;
&lt;p&gt;I remember visiting London a couple of years back, admiring the architecture of old tube stations with the small, &lt;em&gt;nomen omen&lt;/em&gt;, tubular size of the trains, and finding it all adorable. Well, tell you what, it loses all its charm when you try to get on a Jubilee line train at 8:30 AM.&lt;/p&gt;
&lt;p&gt;Moving around the city during morning or evening rush hours means standing in some sort of a line most of the time. You queue for the trains (I never managed to get on the first or even the second Jubilee line train in the morning, not to mention the Central line), you queue to the stairs, and then in many other places you also queue even when you leave the station; for example at Faringdon station if you want to cross the street in the direction of Leather Lane the queue (~50m long) to the zebra crossing starts right at the station exit.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2015/london/london-canary-wharf_hu_5f2a8a7fa3d08e52.webp 330w,https://piotr.is/2015/london/london-canary-wharf_hu_e025e8bb165e90d6.webp 660w
,https://piotr.is/2015/london/london-canary-wharf_hu_1e36d67a543d0d35.webp 1024w
,https://piotr.is/2015/london/london-canary-wharf_hu_b38d14d04b026fc9.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2000"
height="1125"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2015/london/london-canary-wharf_hu_abada9cf6952d709.jpg" srcset="https://piotr.is/2015/london/london-canary-wharf_hu_fff41cdf354af029.jpg 330w,https://piotr.is/2015/london/london-canary-wharf_hu_abada9cf6952d709.jpg 660w
,https://piotr.is/2015/london/london-canary-wharf_hu_afd1bf82ba4bf45d.jpg 1024w
,https://piotr.is/2015/london/london-canary-wharf_hu_5712f563eabe6aa5.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;figcaption class="text-center"&gt;A queue to the first escalators, Canary Wharf station at 8:50 AM. People of Munich, if you think that U6 gets crowded in the mornings, think again.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;This is not to say that &lt;a href="http://tfl.gov.uk" target="_blank" rel="noreferrer"&gt;TfL&lt;/a&gt;, the non-profit organization that runs London&amp;rsquo;s public transportation system, isn&amp;rsquo;t brilliant. For the great majority of the time the trains run on schedule (and even if they don&amp;rsquo;t, TfL is really good at informing passengers about issues on any lines), and they run often, so if I say that I had to wait until the 5th train arrived to get on one it doesn&amp;rsquo;t mean I actually had to wait that long. The problem London has is that there is no limit to the amount of people that want to move there. An example that illustrates this is the contruction of &lt;a href="https://en.wikipedia.org/wiki/Crossrail" target="_blank" rel="noreferrer"&gt;Crossrail&lt;/a&gt;, London&amp;rsquo;s new East-West underground link. The company that builds it expects Crossrail to reach its full capacity &lt;em&gt;on day one&lt;/em&gt; of operation, which will be sometime in 2018, and that Crossrail will improve London&amp;rsquo;s public transportation by mere 10%.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; Another line, Crossrail 2, is planned to alleviate the problem, but if the city&amp;rsquo;s population keeps growing at its current pace, London&amp;rsquo;s gonna need Crossrail 4 by the time Crossrail 2&amp;rsquo;s planned opening.&lt;/p&gt;
&lt;p&gt;The overcrowing obviously translates to traffic jams in central London. It is absolutely bizarre, but you can be stuck in a traffic jam on a Sunday at 11 AM, as well as on Friday at 11 PM, not to mention rush hours. The city center is permanently clogged, its narrow streets completely incapable of handling the amount of traffic despite the congestion charges.&lt;/p&gt;
&lt;h2 id="londons-cultural-offer-is-unmatched" class="relative group"&gt;London&amp;rsquo;s cultural offer is unmatched &lt;/h2&gt;&lt;p&gt;As much as annoying the huge size is, it comes with massive cultural benefits. For a jazz enthusiasts such as myself, the offer is magnificent. &lt;a href="http://www.vortexjazz.co.uk" target="_blank" rel="noreferrer"&gt;The Vortex&lt;/a&gt;, &lt;a href="http://www.ronniescotts.co.uk" target="_blank" rel="noreferrer"&gt;Ronnie Scott&amp;rsquo;s&lt;/a&gt;, and &lt;a href="https://www.cafeoto.co.uk" target="_blank" rel="noreferrer"&gt;Cafe Oto&lt;/a&gt;, just to name a few, have great concerts every weekend (sometimes every day), they&amp;rsquo;re not expensive (modulo Ronnie), and they present a whole spectrum of jazz, from traditional big bands and swing, through post-bop influenced quartets, all the way to the latest avang-garde punk jazz trios. And that&amp;rsquo;s only jazz. There are dozens of classical, rock, electronic, r&amp;amp;b and basically &lt;em&gt;any-other-kind-you-want&lt;/em&gt; music concerts all the time. Visual arts fans can go to Tate Modern which always has great exhibitions, theatre afficionados can choose between 40 different theatres in the West End alone, and really, when it comes to culture, the sky&amp;rsquo;s the limit in the city of London. Or rather, your wallet.&lt;/p&gt;
&lt;h2 id="london-is-beautiful" class="relative group"&gt;London is &lt;em&gt;beautiful&lt;/em&gt; &lt;/h2&gt;&lt;p&gt;Londoners tend to forget about it, because they live their busy lives running from one tube station to another, but London is a beautiful city with magnificent history and a fantastic mixture of the (very) old and the new.&lt;/p&gt;
&lt;h2 id="london-is-diverse" class="relative group"&gt;London is &lt;em&gt;diverse&lt;/em&gt; &lt;/h2&gt;&lt;p&gt;The team in a project I worked on consisted of myself (Pole), a Finnish-Italian, a French-Portugese, an Indian, a Kiwi, a Canadian, and a Brit from South England. And it&amp;rsquo;s not unusual by London standards. The ethnic, cultural and national diversity of the city doesn&amp;rsquo;t just make it more exciting or interesting to be there; it makes becoming a Londoner much, much easier. As a person who left his homeland 7 years ago and has been living in many other countries, I have to say those 6 weeks in London made me feel at home very quickly. Being able to speak fluent English definitely helped, but being surrounded by locals who were either (a) expats like myself or (b) used to interacting with the likes of me really made me feel like I could become an integral part of that, if you pardon my expression, melting pot. Something I cannot really say about Munich or Norway, or Belgium, or The Netherlands, sadly.&lt;/p&gt;
&lt;h2 id="wrapping-it-up" class="relative group"&gt;Wrapping it up &lt;/h2&gt;&lt;p&gt;When I visit places for a longer period of time, I also wonder whether I&amp;rsquo;d be happy to move there. I came to London in the summer of 2012 and back then I thought it&amp;rsquo;s an absolutely perfect city in every way, and that I&amp;rsquo;d move if an opportunity came my way without hesitation. Now, after living there for six week and experiencing the life of an ordinary Londoner,&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; I&amp;rsquo;m not so sure any more. Staying in London for a couple of weeks only made me appreciate Munich&amp;rsquo;s laid back atmosphere much more, and even though I don&amp;rsquo;t have solid data on the subject, I&amp;rsquo;m pretty sure the average living standard here in Bavaria is much higher than in London. Still, even with its terrible overcrowding and ridiculously expensive beer, I can see the appeal of living there. And given many work opportunities for K, we might relocate to London some day.&lt;/p&gt;
&lt;p&gt;Until next time, then.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;This is what &lt;a href="http://www.theguardian.com/uk-news/davehillblog/2013/dec/31/london-underground-writers-on-tube-future" target="_blank" rel="noreferrer"&gt;the Guardian article&lt;/a&gt; says, but apparently it&amp;rsquo;s &lt;a href="http://www.londonreconnections.com/2014/happens-crossrail-full-part-1-problem/" target="_blank" rel="noreferrer"&gt;controversial&lt;/a&gt;.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Well, not entirely ordinary, I got to live in &lt;strong&gt;Zone 1&lt;/strong&gt;, my company got me a really nice apartment. Did I mention &lt;a href="https://www.cloudreach.com/gb-en/careers/" target="_blank" rel="noreferrer"&gt;we&amp;rsquo;re hiring&lt;/a&gt;, and that we have a picture of a naked man on our careers page?&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>New Atheism</title><link>https://piotr.is/2015/new-atheism/</link><pubDate>Wed, 02 Dec 2015 00:00:00 +0000</pubDate><guid>https://piotr.is/2015/new-atheism/</guid><description>&lt;p&gt;&lt;a href="http://www.stephenledrew.com/"&gt;Stephen LeDrew&lt;/a&gt; wrote &lt;a href="http://blog.oup.com/2015/11/legacy-new-atheism/"&gt;an interesting post&lt;/a&gt; about the influence the so-called &amp;ldquo;New Atheism&amp;rdquo; movement had on society, pointing out some intriguing similarities between our militant atheists and, surprisingly, the far right wing conservatism. The one observation which I don&amp;rsquo;t find completely accurate, and I think it&amp;rsquo;s because I live in Europe, is that the &amp;ldquo;New Atheism&amp;rdquo; isn&amp;rsquo;t regarded highly in well-educated circles any more. I found a surprising number of people working in philosophy, logic, computer science and especially in natural sciences to still cherish Dawkins &lt;em&gt;et al.&lt;/em&gt;, which was always rather surprising to me. It most likely has to do with a rather loose coupling between &amp;ldquo;New Atheists&amp;rdquo; and any political movements in Europe (modulo UK perhaps?).&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;In any case, the article is worth a read, and &lt;a href="https://global.oup.com/academic/product/the-evolution-of-atheism-9780190225179"&gt;LeDrew&amp;rsquo;s book&lt;/a&gt; lands on my wishlist.&lt;/p&gt;
&lt;p&gt;&lt;small&gt;&lt;em&gt;Thanks for the link, Truls.&lt;/em&gt;&lt;/small&gt;&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;K made a good comment here by pointing out another difference between aggressive atheists in Europe and in the US: here they don&amp;rsquo;t have an aggressive counterpart. Religious fundamentalism especially in its protestant form is extremely rare in Europe, and there isn&amp;rsquo;t much political debate in which Christian fundamentalists would be visible. This may also explain why &amp;ldquo;New Atheists&amp;rdquo; don&amp;rsquo;t see themselves as &lt;em&gt;avantgarde&lt;/em&gt; on the old continent.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Spacemacs</title><link>https://piotr.is/2015/spacemacs/</link><pubDate>Thu, 03 Sep 2015 00:00:00 +0000</pubDate><guid>https://piotr.is/2015/spacemacs/</guid><description>&lt;p&gt;I was about to write a blog post about how indifferent I became towards different text editors, and how I don&amp;rsquo;t really care anymore whether I edit code with emacs, vim, Sublime or even &lt;a href="http://atom.io" target="_blank" rel="noreferrer"&gt;Atom&lt;/a&gt;. And then this happened:&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2015/spacemacs/spacemacs_hu_81e11e867d21f5d4.webp 330w,https://piotr.is/2015/spacemacs/spacemacs_hu_9ad95824d640497.webp 660w
,https://piotr.is/2015/spacemacs/spacemacs_hu_8242af500e94bdf1.webp 1024w
,https://piotr.is/2015/spacemacs/spacemacs_hu_8ee741ed9802c59f.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1536"
height="1528"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2015/spacemacs/spacemacs_hu_62a6a5a67ea3112f.png" srcset="https://piotr.is/2015/spacemacs/spacemacs_hu_82ecb94dd4c44891.png 330w,https://piotr.is/2015/spacemacs/spacemacs_hu_62a6a5a67ea3112f.png 660w
,https://piotr.is/2015/spacemacs/spacemacs_hu_99230bbb1f422b2e.png 1024w
,https://piotr.is/2015/spacemacs/spacemacs_hu_b70279e15d2aa2b5.png 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s called &lt;a href="https://github.com/syl20bnr/spacemacs/" target="_blank" rel="noreferrer"&gt;Spacemacs&lt;/a&gt; and it&amp;rsquo;s a beautiful hybrid between emacs and vim, or at least it looks like it. Will explore how it works in the course of the next couple of days, i.e., no work will be done and I will spend my days playing with the configuration of a text editor.&lt;/p&gt;
&lt;p&gt;And I thought those days were over. Silly me.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;update, Sep 9:&lt;/strong&gt; I&amp;rsquo;m back on &lt;strike&gt;ST3&lt;/strike&gt; vim with my old config. I still think Spacemacs is a great idea, it&amp;rsquo;s just a bit too bloated for my taste.&lt;/p&gt;</description></item><item><title>The dawn of my camera</title><link>https://piotr.is/2015/the-dawn-of-my-camera/</link><pubDate>Sat, 15 Aug 2015 00:00:00 +0000</pubDate><guid>https://piotr.is/2015/the-dawn-of-my-camera/</guid><description>&lt;div class="lead !mb-9 text-xl"&gt;
I like taking photographs, and I &lt;em&gt;love&lt;/em&gt; cameras.
&lt;/div&gt;
&lt;p&gt;My grandfather was the first professional photographer in my hometown,&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; and I loved playing with his cameras. His darkroom was my favorite place on Earth, filled with cameras, lenses, and a huge &lt;a href="https://en.wikipedia.org/wiki/Enlarger" target="_blank" rel="noreferrer"&gt;enlarger&lt;/a&gt; in the middle of a table. I spent hours playing there, and perhaps that&amp;rsquo;s what sparked my interest in photography, but it was definitely what sparked my interest in photographic gear.&lt;/p&gt;
&lt;p&gt;My grandfather gave me my first camera. It was a DDR-made &lt;a href="http://simonhawketts.com/2014/09/13/vintage-camera-collection-praktica-b100-electronic/" target="_blank" rel="noreferrer"&gt;Praktica B100&lt;/a&gt; semi-automatic SLR with a 50mm Pentacon f/1.8 lens. It was so superior to all the Soviet Zenith SLRs my high-school friends had, and its optical performance made my poorly composed photographs look at least decent. I cherished that camera and enjoyed every minute with it, and I actually still do, although sadly I haven&amp;rsquo;t shot film since 2010.&lt;/p&gt;
&lt;p&gt;I learned a ton&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; shooting film with the Praktica B100, and I learned to love &lt;em&gt;bokeh&lt;/em&gt; of f/1.8 above all, like every mediocre photographer. Shooting film was, unfortunately, expensive, and when I finally got a part-time job in college in 2006, I was able to afford one of the greatest cameras ever made—the Nikon D40.&lt;/p&gt;
&lt;h2 id="nikon" class="relative group"&gt;Nikon &lt;/h2&gt;&lt;p&gt;Nikon D40, which I bought with a first generation, terrible 18-55mm f/3.5-5.6 kit lens, was brilliant because, like its rival Canon EOS 400D, it was &lt;em&gt;very&lt;/em&gt; cheap. It was the first of Nikon&amp;rsquo;s DSLR to &amp;ldquo;feature&amp;rdquo; the lack of AF motor in the body, which meant you had to buy the newer AF-S series lenses if you wanted to use autofocus, and it looked cheap and funny compared to bigger DSLRs. It produced decent images, though (especially the RAW files), it was easy to use and ergonomic, and sold very well. Funny thing about this cheap, entry-level DSLR is that I still have it today. It&amp;rsquo;s been with me on many, many trips, thrown around, used in rain and snow (which I neither recommend nor condone), and it didn&amp;rsquo;t once break.&lt;/p&gt;
&lt;p&gt;I bought a big, &amp;ldquo;all-purpose&amp;rdquo; lens for the Nikon in 2011, which was still optically almost as poor as the kit lens, but gave me the 18-250mm focal length and a sore shoulder every time I had to haul it somewhere. I liked that, though. Despite the fact that my photographs weren&amp;rsquo;t particularly good, I felt that the more &lt;em&gt;gear&lt;/em&gt; I have, and the more serious it looks, the better. I took a lot of nice pictures during the many, many travels, but the more time passed, the more I realized that the Nikon stays at home quite a lot, simply because it&amp;rsquo;s too big, and too heavy.&lt;/p&gt;
&lt;p&gt;It was 2012 and the whole mirrorless revolution was at its peak, with all major manufacturers embracing either the micro 4/3 format or trying to put APS-C (or even &lt;a href="https://en.wikipedia.org/wiki/Sony_Cyber-shot_DSC-RX1" target="_blank" rel="noreferrer"&gt;full frame!&lt;/a&gt;) sensors into smaller bodies. I wanted to jumped on that wagon.&lt;/p&gt;
&lt;h2 id="fujifilm" class="relative group"&gt;Fujifilm &lt;/h2&gt;&lt;p&gt;I bought a Fujifilm X10. It had a sensor smaller than micro 4/3, it rendered pleasing colors (hello, &lt;a href="https://en.wikipedia.org/wiki/Velvia" target="_blank" rel="noreferrer"&gt;Velvia!&lt;/a&gt;), was portable, had a lot of manual controls and was a very enjoyable camera. It had a fixed lens, though and couldn&amp;rsquo;t really produce any shallow depth-of-field, which I, as a still mediocre photographer, really missed. I liked Fujifilm colors and manual controls (and, yes, retro aesthetics), so I bought another mirrorless camera, the X-E1, together with two absolutely brilliant lenses: 14mm f/2.8 and 35mm f/1.4.&lt;/p&gt;
&lt;p&gt;I loved the X-E1 despite its numerous flaws, and I really enjoyed shooting with it; it was a camera that, through its manual controls and well thought-through interface, made you &lt;em&gt;want&lt;/em&gt; to go out and shoot. Still, it wasn&amp;rsquo;t exactly pocketable. Yes, the body was relatively small, but the lenses were big and heavy. So I sold both my Fujifilm cameras, all the lenses and accessories this Spring.&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;h2 id="the-smartphone-revolution" class="relative group"&gt;The smartphone revolution &lt;/h2&gt;&lt;p&gt;I&amp;rsquo;d say there are three types of photographers.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;The type that shoots candid photographs with a smartphone, didn&amp;rsquo;t have a camera before the iPhone era (or had a cheap compact one), doesn&amp;rsquo;t care much about the quality (either artistic or technical) and just &amp;ldquo;takes photos.&amp;rdquo; I.e., the great majority of world&amp;rsquo;s population.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;em&gt;photographer,&lt;/em&gt; and I don&amp;rsquo;t mean that sarcastically. This person takes great photographs and takes great joy and pride in that. The gear is completely secondary. This category is represented by the small minority of world&amp;rsquo;s population, but somewhat includes my girlfriend.&lt;sup id="fnref:4"&gt;&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref"&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;And finally there&amp;rsquo;s the &lt;em&gt;enthusiast.&lt;/em&gt; Enthusiasts know about the gear, know about composition (which doesn&amp;rsquo;t necessarily mean their photos are well composed!), and know about technical aspects of photography. They can distinguish a bad image from a good one, and some of them are also &lt;em&gt;photographers.&lt;/em&gt; Sadly, not all, and I&amp;rsquo;d even say most enthusiasts are in it for the &lt;em&gt;gear.&lt;/em&gt; I am a proud member of this category. I like taking pictures. I envy the &lt;em&gt;photographers&lt;/em&gt; their skill and talent. I take hundreds of photographs and every now and then I take a good one. I&amp;rsquo;d say it&amp;rsquo;s about 1% of all the pictures I take, but that&amp;rsquo;s okay. Once I do get that great shot, though, I want it to be of great technical quality, so that I can print it and proudly hang on my wall. That&amp;rsquo;s why I&amp;rsquo;m into gear. That&amp;rsquo;s why I didn&amp;rsquo;t want to take photographs with my smartphone.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2015/the-dawn-of-my-camera/iphone4-amsterdam_hu_7062c3a45cb14863.webp 330w,https://piotr.is/2015/the-dawn-of-my-camera/iphone4-amsterdam_hu_785743af896885d7.webp 660w
,https://piotr.is/2015/the-dawn-of-my-camera/iphone4-amsterdam_hu_3c91e63b2175193.webp 1024w
,https://piotr.is/2015/the-dawn-of-my-camera/iphone4-amsterdam_hu_2558cc1a6cd0aa36.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2000"
height="1494"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2015/the-dawn-of-my-camera/iphone4-amsterdam_hu_a2506f62791f96c2.jpg" srcset="https://piotr.is/2015/the-dawn-of-my-camera/iphone4-amsterdam_hu_1ca5946c61f59df.jpg 330w,https://piotr.is/2015/the-dawn-of-my-camera/iphone4-amsterdam_hu_a2506f62791f96c2.jpg 660w
,https://piotr.is/2015/the-dawn-of-my-camera/iphone4-amsterdam_hu_121355bb640df795.jpg 1024w
,https://piotr.is/2015/the-dawn-of-my-camera/iphone4-amsterdam_hu_195d5e6283e98aa5.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;figcaption class="text-center"&gt;Fig. 1: Amsterdam covered in snow. Taken in December 2010 with an iPhone 4.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Craig Mod was right when he wrote &lt;a href="http://www.newyorker.com/tech/elements/goodbye-cameras" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Goodbye, cameras&amp;rdquo;&lt;/a&gt; back in 2013 already, but I didn&amp;rsquo;t believe him.&lt;sup id="fnref:5"&gt;&lt;a href="#fn:5" class="footnote-ref" role="doc-noteref"&gt;5&lt;/a&gt;&lt;/sup&gt; I did take some nice shots with my iPhone 4, but they were never really sharp, and the colors never really looked right. Years of using (D)SLRs also made me addicted to using a viewfinder, and I always found framing pictures without it uncomfortable and inaccurate. But the smartphone cameras got better and better, and their displays grew bigger and brighter (which made using them for framing photographs much better) I always had one in my pocket, too.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s not only the optics and sensors of smartphone cameras that are improving as technology progresses, but the software, too. I&amp;rsquo;d go as far as saying that it&amp;rsquo;s the software that lets you get the most out of smartphone photography. Take a look at the photograph below.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2015/the-dawn-of-my-camera/samsung-toblach-lake_hu_fb060bd86212cd8a.webp 330w,https://piotr.is/2015/the-dawn-of-my-camera/samsung-toblach-lake_hu_f41aeee4d62fc5dd.webp 660w
,https://piotr.is/2015/the-dawn-of-my-camera/samsung-toblach-lake_hu_86d1b4fcaee1eafb.webp 1024w
,https://piotr.is/2015/the-dawn-of-my-camera/samsung-toblach-lake_hu_b1ae59b43ebe2193.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2000"
height="1125"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2015/the-dawn-of-my-camera/samsung-toblach-lake_hu_3e8f656a60135c77.jpg" srcset="https://piotr.is/2015/the-dawn-of-my-camera/samsung-toblach-lake_hu_7e33f6b7306d497a.jpg 330w,https://piotr.is/2015/the-dawn-of-my-camera/samsung-toblach-lake_hu_3e8f656a60135c77.jpg 660w
,https://piotr.is/2015/the-dawn-of-my-camera/samsung-toblach-lake_hu_8d4480d6f4adecbd.jpg 1024w
,https://piotr.is/2015/the-dawn-of-my-camera/samsung-toblach-lake_hu_92d326b97843610b.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;figcaption class="text-center"&gt;Fig. 2: View of the Dolomites from Lago di Dobbiaco, shot with Samsung Galaxy S5 (HDR on) last weekend.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;I have shots of the very same place at the very same time taken with the Nikon DSLR. Despite the Nikon having more than twice the size of a sensor, shooting RAW and pulling shadows in post-processing, it can&amp;rsquo;t beat Samsung&amp;rsquo;s subtle-but-effective HDR mode&amp;rsquo;s dynamic range. In these conditions even the Fujifilm&amp;rsquo;s excellent X-Trans sensor would struggle, yet my smartphone&amp;rsquo;s tiny sensor aided by great, built-in HDR software manages very well. Here&amp;rsquo;s another one.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2015/the-dawn-of-my-camera/samsung-dolomites_hu_57faa7adf3996cb4.webp 330w,https://piotr.is/2015/the-dawn-of-my-camera/samsung-dolomites_hu_ea9a7bbdad2ba126.webp 660w
,https://piotr.is/2015/the-dawn-of-my-camera/samsung-dolomites_hu_7387177a8a1960ae.webp 1024w
,https://piotr.is/2015/the-dawn-of-my-camera/samsung-dolomites_hu_a8ee5a28efa139ce.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2000"
height="1152"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2015/the-dawn-of-my-camera/samsung-dolomites_hu_2f401afe7fd2937d.jpg" srcset="https://piotr.is/2015/the-dawn-of-my-camera/samsung-dolomites_hu_eb984089543f904d.jpg 330w,https://piotr.is/2015/the-dawn-of-my-camera/samsung-dolomites_hu_2f401afe7fd2937d.jpg 660w
,https://piotr.is/2015/the-dawn-of-my-camera/samsung-dolomites_hu_f03608c4c187978.jpg 1024w
,https://piotr.is/2015/the-dawn-of-my-camera/samsung-dolomites_hu_e814b0bcf3bc6e61.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;figcaption class="text-center"&gt;Fig. 3: View of the Dolomites from the Drei Zinnen, shot with Samsung Galaxy S5 (panorama mode).&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Galaxy S5&amp;rsquo;s HDR mode gives exactly the amount of detail and dynamic range for photographs to look more than decent, yet the fact they are shot in HDR is not immediately obvious.&lt;/p&gt;
&lt;p&gt;After coming back from the Dolomites I transferred all the photographs to my computer, and realized that the majority of great shots from that trip are from the phone. It renders colors better than the Nikon, it has better dynamic range (thanks to its clever HDR mode), it&amp;rsquo;s orders of magnitude smaller and lighter, I always have it with me, it geotags the photographs, and can back them up to Dropbox on the fly if I so wish. I understand of course that this particular comparison is unfair towards the DSLR, because our D40&amp;rsquo;s sensor is 7 years old.&lt;sup id="fnref:6"&gt;&lt;a href="#fn:6" class="footnote-ref" role="doc-noteref"&gt;6&lt;/a&gt;&lt;/sup&gt; Still, the sole fact that this comparison is possible made me wonder if I still need &lt;em&gt;a camera&lt;/em&gt;. The truth is, I don&amp;rsquo;t. I would actually sell the D40 setup if it was worth any money.&lt;/p&gt;
&lt;h2 id="the-dawn-of-my-camera" class="relative group"&gt;The dawn of my camera &lt;/h2&gt;&lt;p&gt;I love cameras. I love that they&amp;rsquo;re purpose built, precise tools. Modern Japanese DSLR are of course very much like computers, in as much as most of their operation is controlled purely electronically, but then again a lot of camera elements, like shutters and of course lenses require very precise craftsmanship. That&amp;rsquo;s pretty rare when it comes to consumer goods available in the 21st century.&lt;/p&gt;
&lt;p&gt;Smartphones have smaller sensors, which currently causes problems with depth of field control and noise, but as the technology matures, these may no longer be issues in, say, 5 years from now (I&amp;rsquo;m looking at you, &lt;a href="https://www.lytro.com/" target="_blank" rel="noreferrer"&gt;Lytro&lt;/a&gt;). I don&amp;rsquo;t think the problem of having a single focal length will ever be solved, so obviously in situations when you either need a very long lens (nature, sports photography) or a very wide one (architecture, landscape to some extent), good old cameras will remain the best, if not the only option. For the great majority of people, they will stop making sense. Suddenly it turns out, I&amp;rsquo;m one of these people.&lt;/p&gt;
&lt;p&gt;My first thought after coming back from Italy was to go on Amazon and take look at some new cameras to replace the aging D40. I looked at full-frame offerings like the D610 or Sony A7, then also at my favorite Fujifilm with its spectacular X-T1, and then I took another look at the pictures taken with the Samsung, and realized I won&amp;rsquo;t be buying a new camera. And while I feel a bit sad about it, because of how much cameras mean to me, I&amp;rsquo;m feeling optimistic about the future.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s definitely a bad time to be a imaging equipment manufacturer. But it&amp;rsquo;s a very exciting time for photography.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;It is probably worth mentioning that &lt;a href="https://en.wikipedia.org/wiki/Skierniewice" target="_blank" rel="noreferrer"&gt;my hometown&lt;/a&gt; is a bit of a shithole, a city of almost 50,000 inhabitants in central Poland, half way between Warsaw and &lt;a href="https://en.wikipedia.org/wiki/%c5%81%c3%b3d%c5%ba" target="_blank" rel="noreferrer"&gt;Łódź&lt;/a&gt;, essentially a big bedroom for both. Still, I always considered my grandfather&amp;rsquo;s achievement of being a professional photographer no small feat, given his complete lack of education (because war and such).&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;No, really, I learned a lot about photography back then. With my high-school friend Leon we even took some crazy multiple-exposure night shots using flashlights; I&amp;rsquo;m pretty sure he still has these photos somewhere. Great times.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;Actually the direct reason for why I sold all that was because I was in a financial ruin and needed some money. This is what happens when you spend too much money on photography gear, kids.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:4"&gt;
&lt;p&gt;&amp;ldquo;Somewhat,&amp;rdquo; because I don&amp;rsquo;t think she&amp;rsquo;d describe herself as a photographer, since her interest in photography isn&amp;rsquo;t that great. She&amp;rsquo;s also pretty dumb when it comes to technical aspects of photography, but it doesn&amp;rsquo;t matter how poorly the settings are set on her camera—her photographs are always at least good, and sometimes brilliant. Paradoxically this also means that my girlfriend&amp;rsquo;s best photographs came from her iPhone, because there were no settings to set (i.e., mess up).&amp;#160;&lt;a href="#fnref:4" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:5"&gt;
&lt;p&gt;Take a look at his own &lt;a href="http://craigmod.com/journal/photography_hello/" target="_blank" rel="noreferrer"&gt;follow-up essay&lt;/a&gt; as well.&amp;#160;&lt;a href="#fnref:5" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:6"&gt;
&lt;p&gt;Mind you, the Samsung Galaxy S5 is also not the latest generation technology. To see what the iPhone 6 Plus is able to produce, head over to &lt;a href="http://austinmann.com/trek/iphone-6-plus-camera-review-iceland" target="_blank" rel="noreferrer"&gt;Austin Mann&amp;rsquo;s website&lt;/a&gt;.&amp;#160;&lt;a href="#fnref:6" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Ornette Coleman Dies at 85</title><link>https://piotr.is/2015/ornette-coleman-dies-at-85/</link><pubDate>Thu, 11 Jun 2015 00:00:00 +0000</pubDate><guid>https://piotr.is/2015/ornette-coleman-dies-at-85/</guid><description>&lt;p&gt;It is with great sadness that I read &lt;a href="http://www.nytimes.com/2015/06/12/arts/music/ornette-coleman-jazz-saxophonist-dies-at-85-obituary.html" target="_blank" rel="noreferrer"&gt;the news about Ornette Coleman&amp;rsquo;s death&lt;/a&gt;. Ornette was one of the first jazz musicians I ever heard of, an artist that inspired my love for jazz but also profoundly expanded my understanding of improvisation and &lt;em&gt;free&lt;/em&gt; jazz.&lt;/p&gt;
&lt;iframe src="https://embed.spotify.com/?uri=spotify:track:0Ikh30yNidQTMTLrMJXHNL" width="300" height="380" frameborder="0" allowtransparency="true" style="float:left;margin:10px 20px 10px 0px;" &gt;&lt;/iframe&gt;
&lt;p&gt;There are a lot of great anecdotes about Ornette Coleman, like those about other musicians reportedly paying him not to play during his early days, and those about him studying music theory in an elevator while he had a part time job as an elevator operator.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; To me the greatest story about Ornette Coleman is his concert in Warsaw on July 18th, 2007, which was the first &amp;ldquo;big&amp;rdquo; jazz concert I ever went to. I remember I needed to get a leave from my part time call-center job explaining to my manager who Ornette Coleman is,&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; and that I actually needed to save up the money two months in advance to be able to afford two tickets. And when the day came, an elderly man walked on stage of the Roma Music Theatre in Warsaw, and, together with his quartet, performed the most energetic jazz performance I have ever heard in my life, which was even more surprising given the fact that he was already 77 at the time and had difficulty walking.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s a great loss for the world of improvised music, but luckily Ornette Coleman&amp;rsquo;s legacy lives on strong, with so many records, concerts and young musicians inspired by his genius.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Ornette Coleman didn&amp;rsquo;t have any formal music training, and did not know, among other things, that he needs to transpose the saxophone parts before playing with a piano.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;I also remember being &lt;em&gt;shocked&lt;/em&gt; that my American manager &lt;em&gt;did not know who Ornette Coleman was.&lt;/em&gt;&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Done</title><link>https://piotr.is/2015/done/</link><pubDate>Sun, 10 May 2015 00:00:00 +0000</pubDate><guid>https://piotr.is/2015/done/</guid><description>&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2015/done/phd_hu_f4a7b4671cd456c9.webp 330w,https://piotr.is/2015/done/phd_hu_a90d016f03ca7537.webp 660w
,https://piotr.is/2015/done/phd_hu_b35392441ce8d96.webp 1024w
,https://piotr.is/2015/done/phd_hu_f01b37e39c305595.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2048"
height="1365"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2015/done/phd_hu_c56c1cb40f519824.jpg" srcset="https://piotr.is/2015/done/phd_hu_ff8d7148ab21d602.jpg 330w,https://piotr.is/2015/done/phd_hu_c56c1cb40f519824.jpg 660w
,https://piotr.is/2015/done/phd_hu_c2b21dc03dcd678a.jpg 1024w
,https://piotr.is/2015/done/phd_hu_982ae409c3debd3d.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;On Thursday, April 30th I successfully defended my thesis on &lt;a href="https://piotr.is/papers/thesis.pdf"&gt;&amp;ldquo;Agents that Play by the Rules&amp;rdquo;&lt;/a&gt; and was awarded the title of PhD.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; It was 4,5 years of work,&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; and the last week was definitely the most stressful and exhausting one I had in my entire life, but now I&amp;rsquo;m &lt;em&gt;done.&lt;/em&gt; There&amp;rsquo;s no more school to go to, no more exams and no more courses to take.&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;The overwhelming feeling of completion is a very pleasant one. For the first time since March 2010 there is nothing hanging over my head. There are no papers to be finished, and no talks to be given. No students to teach. Hell, I might even comment out &lt;a href="https://github.com/LaTeX-Box-Team/LaTeX-Box" target="_blank" rel="noreferrer"&gt;LaTeX-Box&lt;/a&gt; from my &lt;code&gt;.vimrc&lt;/code&gt;.&lt;sup id="fnref:4"&gt;&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref"&gt;4&lt;/a&gt;&lt;/sup&gt; It feels &lt;em&gt;good.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Completing the PhD was my dream, but at the same time it&amp;rsquo;s the end of my adventure with academia. I reached my goals, and I don&amp;rsquo;t intend to pursue further academic appointments. At the same time I stand by everything I wrote &lt;a href="https://piotr.is/2011/in-defense-of-the-phd/"&gt;back in 2011&lt;/a&gt;, and I don&amp;rsquo;t feel there&amp;rsquo;s any conflict between that and my current situation. Having to choose once more whether to embark on the PhD journey I wouldn&amp;rsquo;t hesitate a second. I was given the opportunity to work on very interesting topics within theoretical computer science, formal logic and game theory, and most importantly I had the pleasure of meeting and working with fantastic people, many of which are now my good friends. If the price to pay for all that is a ~5-year setback to my non-academic career, it&amp;rsquo;s a price I am very glad to pay.&lt;/p&gt;
&lt;p&gt;Last Monday I started a new job, joining a British cloud computing consultancy called &lt;a href="http://cloudreach.co.uk" target="_blank" rel="noreferrer"&gt;Cloudreach&lt;/a&gt; as a systems engineer. It&amp;rsquo;s all very, &lt;em&gt;very&lt;/em&gt; different than academia, but in a good, fast-paced&lt;sup id="fnref:5"&gt;&lt;a href="#fn:5" class="footnote-ref" role="doc-noteref"&gt;5&lt;/a&gt;&lt;/sup&gt; and exciting way.&lt;/p&gt;
&lt;p&gt;The future looks bright, as they say.&lt;/p&gt;
&lt;p&gt;&lt;small&gt;&lt;em&gt;(thanks for the photograph, Hege)&lt;/em&gt;&lt;/small&gt;&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Technically I was &amp;ldquo;recommended for the title&amp;rdquo;, as in Norway PhD defenses do not include any graduation ceremony, and the official letter stating that I am indeed a doctor will be mailed to me soon. Still, there is nothing now that could happen to prevent the degree from being awarded.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;I was about to write &amp;ldquo;&lt;em&gt;hard&lt;/em&gt; work,&amp;rdquo; but let&amp;rsquo;s face it, writing a PhD thesis, while not an easy task, ain&amp;rsquo;t exactly coal mining.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;Except for a driver&amp;rsquo;s license course.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:4"&gt;
&lt;p&gt;I &lt;em&gt;hate&lt;/em&gt; LaTeX. And &lt;a href="https://piotr.is/2014/stop-using-latex-switch-to-ms-word/"&gt;&amp;ldquo;research&amp;rdquo;&lt;/a&gt; shows you should hate it, too.&amp;#160;&lt;a href="#fnref:4" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:5"&gt;
&lt;p&gt;Yes, industry works at a faster pace than academia, or at least the European academia (never been to a US campus, but I heard stories of what pre-tenure jobs in American universities are like), and everyone in my office seems to be working a lot, but as a newbie I&amp;rsquo;m not exactly flooded with obligations or deadlines. I guess this will change soon.&amp;#160;&lt;a href="#fnref:5" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Dr. Karolina</title><link>https://piotr.is/2015/dr.-karolina/</link><pubDate>Wed, 04 Feb 2015 00:00:00 +0000</pubDate><guid>https://piotr.is/2015/dr.-karolina/</guid><description>&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2015/dr.-karolina/phd_hu_79a7e339b995c9f3.webp 330w,https://piotr.is/2015/dr.-karolina/phd_hu_52d200c7d9b013d4.webp 660w
,https://piotr.is/2015/dr.-karolina/phd_hu_85014c13ed38d6c3.webp 1024w
,https://piotr.is/2015/dr.-karolina/phd_hu_3b0756918b1d23e5.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2048"
height="1365"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2015/dr.-karolina/phd_hu_7bfc1f44d9fe1d40.jpg" srcset="https://piotr.is/2015/dr.-karolina/phd_hu_19e1837d4c19358f.jpg 330w,https://piotr.is/2015/dr.-karolina/phd_hu_7bfc1f44d9fe1d40.jpg 660w
,https://piotr.is/2015/dr.-karolina/phd_hu_cae981e9dd7d8e7d.jpg 1024w
,https://piotr.is/2015/dr.-karolina/phd_hu_e8aef755906c8bc4.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;My girlfriend &lt;a href="http://karolinakrzyzanowska.com" target="_blank" rel="noreferrer"&gt;Karolina&lt;/a&gt; defended her PhD on Monday, and shall be referred to as Dr. Karolina from now on. It was an excellent defense and you&amp;rsquo;ve missed out if weren&amp;rsquo;t there. You still can (and should) read her book, however. It&amp;rsquo;s very good (and I&amp;rsquo;m not biased) and &lt;a href="http://karolinakrzyzanowska.com/pdfs/krzyzanowska-phd-final.pdf" target="_blank" rel="noreferrer"&gt;available (for free!) on her website&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>“Under the Skin”</title><link>https://piotr.is/2014/under-the-skin/</link><pubDate>Wed, 31 Dec 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/under-the-skin/</guid><description>&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube-nocookie.com/embed/CcR5KHjoc-0?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;p&gt;In the spirit of 2014-summaries I&amp;rsquo;d like to mention Jonathan Glazer&amp;rsquo;s film &amp;ldquo;Under the skin&amp;rdquo;, which was definitely one of the best movies I&amp;rsquo;ve seen this year, and one of the very best sci-fi movies I have ever seen. If you have some winter holidays now, rent it on iTunes or Amazon or something and watch it. It&amp;rsquo;s very disturbing, but great.&lt;/p&gt;
&lt;p&gt;(Also I think it&amp;rsquo;s a perfect example of that &lt;a href="https://piotr.is/2014/the-rise-of-the-image-the-fall-of-the-word/"&gt;&lt;em&gt;new video&lt;/em&gt; Mitchell Stephens talks about.&lt;/a&gt;)&lt;/p&gt;</description></item><item><title>“The rise of the image, the fall of the word”</title><link>https://piotr.is/2014/the-rise-of-the-image-the-fall-of-the-word/</link><pubDate>Tue, 30 Dec 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/the-rise-of-the-image-the-fall-of-the-word/</guid><description>&lt;p&gt;I&amp;rsquo;ve been trying to read as many books as I can these Christmas holidays since I have plenty of free time and the weather outside is particularly cold,&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; so another book that I&amp;rsquo;ve read is Mitchell Stephens classic: &amp;ldquo;The rise of the image, the fall of the word.&amp;rdquo; It&amp;rsquo;s obligatory reading for anyone studying journalism and new media these days, as it tries to argue for cultural significance of television, or specifically something that Stephens calls the &lt;em&gt;new video&lt;/em&gt;. A very interesting book indeed, and although I don&amp;rsquo;t quite agree with some opinions about montage and fast cutting, Stephens&amp;rsquo; book is well worth reading if only for the very insightful analysis of history and significance of the written word, and then later development of film and video.&lt;/p&gt;
&lt;p&gt;But there&amp;rsquo;s one other interesting thing about this book. The second edition was published in 1998, before the age of ubiquitous high-speed internet, YouTube, Netflix, the iPhone, the iPad, Snapchat, Vine and Instagram, and in the era when television was at its highest—in everyone&amp;rsquo;s home and at the center of home entertainment. It is surprising to see how much things have changed within the last 16 years,&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; and it is &lt;em&gt;astonishing&lt;/em&gt; how accurate are the predictions about the future of video the author makes. Stephens basically predicted YouTube, Netflix, and the iPhone/iPad. He also somewhat predicted the rise in quality of original programming on television, which is what many now refer to as the “&lt;a href="http://www.forbes.com/sites/jeffbercovici/2013/07/02/from-tony-soprano-to-matthew-weiner-the-difficult-men-of-the-great-tv-renaissance/" target="_blank" rel="noreferrer"&gt;renaissance&lt;/a&gt; &lt;a href="http://www.reddit.com/r/television/comments/1ygkmw/what_tv_shows_started_this_new_renaissancegolden/" target="_blank" rel="noreferrer"&gt;of TV&lt;/a&gt;.” The only new, revolutionary technologies he didn&amp;rsquo;t foresee were high-speed internet in our smartphones, and the Kindle-driven e-book revolution&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt; that delays the death of the word,&lt;sup id="fnref:4"&gt;&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref"&gt;4&lt;/a&gt;&lt;/sup&gt; but I guess nobody saw it coming. Stephens also mentioned that video games will become more mature and will evolve into something more than teenager entertainment, which is also happening, although at a pace slower than expected. It would be interesting to see if he&amp;rsquo;d want to change anything in his book if it were to be written now, but I doubt that.&lt;/p&gt;
&lt;p&gt;Again, a recommendation. Read this book especially if you love books and hate TV.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Also, I&amp;rsquo;ve been trying to win a bet with &lt;a href="http://karolinakrzyzanowska.com" target="_blank" rel="noreferrer"&gt;Karolina&lt;/a&gt; (no luck so far I&amp;rsquo;m afraid).&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;I&amp;rsquo;m not an expert here, but I suppose it&amp;rsquo;s even less than that. I&amp;rsquo;d say things started happening really quickly once high-speed internet connectivity became a standard, once internet streaming services appeared (YouTube was created in 2005, Netflix and Hulu started offering video-on-demand streaming in 2007), and once the iPhone came out, so around 2005–2007. So then it&amp;rsquo;s basically the last 7–9 years.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;I wonder if there&amp;rsquo;s any research behind the increased readership and e-book reader sales. Do Kindles increase it, or are they bought solely because they&amp;rsquo;re an attractive gadget?&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:4"&gt;
&lt;p&gt;One could also point out that the internet itself fuels a lot of text creation, with its blogs (who knew there&amp;rsquo;s gonna be so many bloggers in societies in which apparently nobody reads?), tweets, reddits, etc.&amp;#160;&lt;a href="#fnref:4" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Stop using LaTeX, switch to MS Word</title><link>https://piotr.is/2014/stop-using-latex-switch-to-ms-word/</link><pubDate>Sun, 28 Dec 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/stop-using-latex-switch-to-ms-word/</guid><description>&lt;p&gt;A &lt;a href="http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0115069" target="_blank" rel="noreferrer"&gt;hilarious article&lt;/a&gt; appeared in PLOS ONE recently (thanks for the link, Pim). StackOverflow &lt;a href="http://tex.stackexchange.com/questions/219576/does-latex-really-perform-worse-than-word" target="_blank" rel="noreferrer"&gt;already made&lt;/a&gt; some good comments, but here&amp;rsquo;s my two pennies&amp;rsquo; worth.&lt;/p&gt;
&lt;p&gt;While I find the study methodologically flawed&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; and I have a strong dislike for MS Word for numerous (un)sentimental reasons, I cannot disagree with the fact that LaTeX &lt;em&gt;sucks&lt;/em&gt;. It has a complex syntax (take a look at &lt;a href="http://daringfireball.net/projects/markdown/" target="_blank" rel="noreferrer"&gt;Markdown&lt;/a&gt; or &lt;a href="http://docutils.sourceforge.net/docs/user/rst/quickref.html" target="_blank" rel="noreferrer"&gt;reStructuredText&lt;/a&gt; for comparison), meaningless error messages, it comes as a ginormous zip file full of obsolete stuff and it&amp;rsquo;s not exactly easy to customize (even installing new fonts is non-trivial). Yes, it has great syntax for mathematical symbols, very good output file quality by default and good default typographical settings, but it doesn&amp;rsquo;t stop to amaze me that it&amp;rsquo;s been around for so long and no one has come up with a better alternative.&lt;/p&gt;
&lt;p&gt;Well, I guess we should just embrace MS Word and stop wasting taxpayers&amp;rsquo; money, as Markus Knauff and Jelica Nejasmic suggest.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;update, Dec. 29th:&lt;/strong&gt; Also, this:&lt;/p&gt;
&lt;blockquote class="twitter-tweet" lang="en"&gt;&lt;p&gt;The Word vs. LaTex efficiency argument is in line with microwave food vs. actual cooking&lt;/p&gt;&amp;mdash; Michele Lanza (@lanzamichele) &lt;a href="https://twitter.com/lanzamichele/status/548580140226469889"&gt;December 26, 2014&lt;/a&gt;&lt;/blockquote&gt;
&lt;script async src="//platform.twitter.com/widgets.js" charset="utf-8"&gt;&lt;/script&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Copying an already written text is waay different than writing it from scratch, tables are notoriously LaTeX&amp;rsquo;s weakest point, as is customizing &lt;em&gt;anything&lt;/em&gt;, the article doesn&amp;rsquo;t even touch upon the topic of editing long, complex documents, the list goes on&amp;hellip;&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>“Where the Conflict Really Lies”</title><link>https://piotr.is/2014/where-the-conflict-really-lies/</link><pubDate>Thu, 25 Dec 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/where-the-conflict-really-lies/</guid><description>&lt;p&gt;Since it&amp;rsquo;s Christmas, I feel it&amp;rsquo;s only appropriate to share some thoughts about a book on philosophy of religion I recently read.&lt;/p&gt;
&lt;p&gt;Written by contemporary analytic philosophy&amp;rsquo;s chief theist and protestant, &lt;a href="http://en.wikipedia.org/wiki/Alvin_Plantinga" target="_blank" rel="noreferrer"&gt;Alvin Plantinga&lt;/a&gt;, &amp;ldquo;Where the Conflict Really Lies&amp;rdquo; is a careful and systematic study of the (alleged) conflicts between science, naturalism and religion.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; As far as I am aware, this book is the only such comprehensive and earnest account of what &lt;em&gt;exactly&lt;/em&gt; Christianity says about, e.g., theory of evolution and natural selection, among other controversial topics. I don&amp;rsquo;t feel competent enough to argue about some points and original arguments Plantinga makes about naturalism, I think it&amp;rsquo;s best I refer the interested reader to &lt;a href="http://www.nybooks.com/articles/archives/2012/sep/27/philosopher-defends-religion/" target="_blank" rel="noreferrer"&gt;a long review by Thomas Nagel&lt;/a&gt;, but at the same time I can wholeheartedly recommend Plantinga&amp;rsquo;s book to atheists and theists alike—to the former, because it&amp;rsquo;s good to know what you&amp;rsquo;re fighting against, and to the latter, because it&amp;rsquo;s good to know what it is &lt;em&gt;exactly&lt;/em&gt; that you believe in. And it really is surprising to see how poorly researched are the many arguments made by scientific, militant atheists of Dawkins-kind. Actually, regardless of whether you agree with Plantinga&amp;rsquo;s religious stance and his strongly theistic point of view, you have to give him credit for defending theism and Christianity in a strongly atheistic environment which analytic philosophy most definitely is. It really is a shame there&amp;rsquo;s so few serious religious analytic philosophers.&lt;/p&gt;
&lt;p&gt;So, whether you want to feel stronger about your atheism or want to get better at fighting off those pesky atheist&amp;rsquo;s attacks, read Plangina&amp;rsquo;s book. What better time to do this than Christmas holidays?&lt;/p&gt;
&lt;p&gt;Merry Christmas everyone!&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Plantinga argues that his points are not Christianity-centric and can be applied to &lt;em&gt;theism&lt;/em&gt; in general, although he stays away from &amp;ldquo;indecisive deism&amp;rdquo; or agnosticism. And he is himself a Christian, and can&amp;rsquo;t speak for Muslims or Buddhists, or others.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>“I went to jail for my cause”</title><link>https://piotr.is/2014/i-went-to-jail-for-my-cause/</link><pubDate>Thu, 11 Dec 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/i-went-to-jail-for-my-cause/</guid><description>&lt;p&gt;Peter Sunde &lt;a href="http://www.wired.co.uk/news/archive/2014-12/11/peter-sunde" target="_blank" rel="noreferrer"&gt;writes a guest post&lt;/a&gt; for Wired:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Only a few activists left are actually doing things. We&amp;rsquo;re way underfunded, we&amp;rsquo;re getting older and we&amp;rsquo;re getting lazy. We&amp;rsquo;re trying to work smart while still having a family life, managing our lives with boy- and/or girlfriends, thinking about careers.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;A sad piece in which one of &lt;a href="http://en.wikipedia.org/wiki/The_Pirate_Bay" target="_blank" rel="noreferrer"&gt;The Pirate Bay&amp;rsquo;s&lt;/a&gt; founders shares his disheartened view on the status of Internet-related legislation and general public&amp;rsquo;s indifference on the subject.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;The sad part is that it all boils down to convenience. In the world of cheap Netflix, HBO, Spotify, Rdio and others, taking the time (and possibly risk) to download torrents just doesn&amp;rsquo;t make that much sense.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; I don&amp;rsquo;t really have any statistics to back this up, but I observe the same trend amongst desktop linux users/contributors. When I installed linux for the first time on my desktop computer (late 1998, SuSE 6.0), the alternative was the buggy and ugly Windows 98, or the insanely expensive and also buggy MacOS 8. Now lots of developers switch to OS X, with its UNIX-based environment and excellent hardware, or even to Windows, which, beginning with XP I believe, became stable, fast and relatively fuss-free. There&amp;rsquo;s simply no need for linux on the desktop, because it&amp;rsquo;s trying to solve a problem that isn&amp;rsquo;t there. I&amp;rsquo;m afraid it&amp;rsquo;s the same with The Pirate Bay.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;I kinda like Sunde, and sort-of sympathize with his cause(s), but I feel like what The Pirate Bay crew tried to stand for in recent years isn&amp;rsquo;t exactly the same what it represented in the beginning. I feel perfectly fine with using PGP to encrypt my emails, running linux on my home media server, using open formats for documents, supporting government transparency and openness, and yet being opposed to the illegal downloading of TV shows using p2p networks. The fact that people stopped caring that much about The Pirate Bay doesn&amp;rsquo;t necessarily entail they no longer care about other aspects of &lt;em&gt;Internet freedom&lt;/em&gt;.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;That is, unless you&amp;rsquo;re one of those unlucky millions that don&amp;rsquo;t have access to these services. Remember that Netflix, Internet&amp;rsquo;s biggest on-demand video-streaming provider, is available in only 40 countries, excluding such big and potentially lucrative markets as, e.g., Australia &amp;amp; New Zealand. Spotify&amp;rsquo;s slightly better, being available in 59 countries.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>“Shaka, when the walls fell”</title><link>https://piotr.is/2014/shaka/</link><pubDate>Sun, 28 Sep 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/shaka/</guid><description>&lt;p&gt;Ian Bogost writes about a famous Star Trek TNG episode:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;On stardate 45047.2, Jean-Luc Picard leads the crew of the Enterprise in pursuit of a transmission beacon from the El-Adrel system, where a Tamarian vessel has been broadcasting a mathematical signal for weeks. The aliens, also known as the Children of Tama, are an apparently peaceable and technologically advanced race with which the Federation nevertheless has failed to forge diplomatic relations. The obstacle, as Commander Data puts it: &amp;ldquo;communication was not possible.&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The funniest thing about this particular episode is how polarized opinions about it are. &lt;a href="http://en.memory-alpha.org/wiki/Darmok_%28episode%29" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Darmok&amp;rdquo;&lt;/a&gt; is by far the most controversial of all &lt;abbr title="Star Trek: The Next Generation"&gt;TNG&lt;/abbr&gt; episodes. While (as Bogost points out) the episode touches upon the very essence of Star Trek and Gene Rodenberry&amp;rsquo;s vision of utopian human future, most controversy that surrounds it concerns how&amp;hellip; &lt;em&gt;unserious&lt;/em&gt; it is. I think this might be the only TNG episode that I felt slightly uncomfortable watching, because of how silly it felt.&lt;/p&gt;
&lt;p&gt;But Bogost&amp;rsquo;s piece reminded me of a book I read some time ago, which touches upon the issue of understanding vs. comprehension, the nature of intelligence (yes, there&amp;rsquo;s even a discussion about Searle&amp;rsquo;s &lt;a href="http://en.wikipedia.org/wiki/Chinese_room" target="_blank" rel="noreferrer"&gt;Chinese Room&lt;/a&gt; in there) and difficulties of &amp;ldquo;first contact&amp;rdquo; in a much more intellectually demanding yet satisfying way. This book is Peter Watts&amp;rsquo; &lt;a href="http://en.wikipedia.org/wiki/Blindsight_%28Watts_novel%29" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Blindsight&amp;rdquo;&lt;/a&gt;. While I don&amp;rsquo;t agree with many of the points the author makes throughout the novel, I can&amp;rsquo;t think of a better &amp;ldquo;hard sci-fi&amp;rdquo; that I&amp;rsquo;ve read in a long, long time. &amp;ldquo;Blindsight&amp;rdquo; most definitely isn&amp;rsquo;t an easy read, but if you like good old science-fiction that really tries to do science justice and packs loads of facts, you won&amp;rsquo;t be disappointed. Oh and best of all, the novel is available online for free (CC license).&lt;/p&gt;</description></item><item><title>Spotify, Pandora and how streaming music kills jazz and classical</title><link>https://piotr.is/2014/spotify-classical/</link><pubDate>Sat, 26 Jul 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/spotify-classical/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;All of my colleagues — composers and arrangers — are seeing huge cuts in their earnings,&amp;rdquo; says Paul Chihara, a veteran composer who until recently headed UCLA&amp;rsquo;s film-music program. &amp;ldquo;In effect, we&amp;rsquo;re not getting royalties. It&amp;rsquo;s almost amusing some of the royalty checks I get.&amp;rdquo; One of the last checks he got was for $29. &amp;ldquo;And it bounced.&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="http://www.salon.com/2014/07/20/its_not_just_david_byrne_and_radiohead_spotify_pandora_and_how_streaming_music_kills_jazz_and_classical/" target="_blank" rel="noreferrer"&gt;Scott Timberg writes&lt;/a&gt; about how the recent rise of streaming services like Spotify, Rdio or Pandora affects royalties in the world of niche music. It&amp;rsquo;s sad, but not unexpected. However, at least in Europe a jazz/classical music enthusiast observes a growing number of websites that sell uncompressed audio files from small labels. There&amp;rsquo;s the German &lt;a href="http://www.highresaudio.com/" target="_blank" rel="noreferrer"&gt;Highresaudio&lt;/a&gt; and the Norwegian &lt;a href="http://www.gubemusic.com/" target="_blank" rel="noreferrer"&gt;Gubemusic&lt;/a&gt;, and both these services have a pretty big catalogue (at least compared to the American &lt;a href="http://www.hdtracks.com/" target="_blank" rel="noreferrer"&gt;HDTracks&lt;/a&gt;).&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; They are also both targeting the narrow group of listeners, and their catalogues contain mostly jazz and classical music. Which brings us to the second quote from the article:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Here’s a good place to start: Say you’re looking for a bedrock recording, the Beethoven Piano Concertos, with titan Maurizio Pollini on piano. Who is the “artist” for this one? Is it the Berlin Philharmonic, or Claudio Abbado, who conducts them? Is it Pollini? Or is it Beethoven himself? If you can see the entire record jacket, you can see who the recording includes. Otherwise, you could find yourself guessing.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;My question is: why hasn&amp;rsquo;t anyone figured this out yet? It&amp;rsquo;s an at-least-decent business idea, and there&amp;rsquo;s a consumer group that can be easily targeted. Jazz fans complain about Spotify&amp;rsquo;s lack of content all the time. They also tend to be affluent (or pose as such, or are willing to spend more money on music), so you can charge them more. And they&amp;rsquo;re often suffering from &lt;em&gt;audiophiliac&lt;/em&gt; illness.&lt;/p&gt;
&lt;p&gt;Create an &lt;em&gt;elite&lt;/em&gt;, expensive streaming service for jazz and classical lovers. &lt;strong&gt;Take our money!&lt;/strong&gt;&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Yes, I know high-res downloads &lt;a href="http://xiph.org/~xiphmont/demo/neil-young.html" target="_blank" rel="noreferrer"&gt;make no sense&lt;/a&gt;. I don&amp;rsquo;t care. I only care that it&amp;rsquo;s lossless and that they have albums others don&amp;rsquo;t.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Jazz icon Charlie Haden dies at 76</title><link>https://piotr.is/2014/jazz-icon-charlie-haden-dies-at-76/</link><pubDate>Sat, 12 Jul 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/jazz-icon-charlie-haden-dies-at-76/</guid><description>&lt;p&gt;I am very sad to read that Charlie Haden &lt;a href="http://www.theguardian.com/music/2014/jul/12/jazz-icon-charlie-haden-dies-at-76" target="_blank" rel="noreferrer"&gt;died last Friday&lt;/a&gt;.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; He was one of the first jazz musicians I ever heard about, when my dad bought the now legendary &lt;a href="https://en.wikipedia.org/wiki/Beyond_the_Missouri_Sky_%28Short_Stories%29" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Beyond the Missouri Sky&amp;rdquo;&lt;/a&gt; (Verve 1997) record, and I immediately fell in love with his great bass lines and compositions. Then I learned about Charlie Haden&amp;rsquo;s history with Ornette, and I also realized he played with Keith Jarrett&amp;rsquo;s quartet in the 70s. A versatile, curious musician who always enriched any jazz album he appeared on with his lyrical bass lines. His death is a terrible loss. Seems sadly prophetic that his latest duo album with Jarrett is titled &lt;a href="http://www.ecmrecords.com/Catalogue/ECM/2300/2399.php?cat=%2FLabels%2FECM&amp;amp;amp;we_start=0&amp;amp;amp;lvredir=712" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Last Dance&amp;rdquo;&lt;/a&gt; (ECM 2014).&lt;/p&gt;
&lt;p&gt;Below are a couple of my favorite tracks by Charlie Haden or with him as a sideman. Listen and admire.&lt;/p&gt;
&lt;iframe src="https://embed.spotify.com/?uri=spotify:user:pkazmierczak:playlist:3lUZ37foSjnb4pQQ3CH4Kw" width="500" height="330" frameborder="0" allowtransparency="true"&gt;&lt;/iframe&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Not a long time ago Paco de Lucia passed away. Seems 2014 is a very bad year for jazz music.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Speed and aerodynamics</title><link>https://piotr.is/2014/prolly/</link><pubDate>Sat, 14 Jun 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/prolly/</guid><description>&lt;blockquote class="twitter-tweet" lang="en"&gt;&lt;p&gt;Companies selling &amp;quot;speed&amp;quot; and &amp;quot;aerodynamics&amp;quot; to dudes who only ride on the weekends, rather than selling them an experience.&lt;/p&gt;&amp;mdash; John Watson (@JohnProlly) &lt;a href="https://twitter.com/JohnProlly/statuses/476173495353618432"&gt;June 10, 2014&lt;/a&gt;&lt;/blockquote&gt;
&lt;script async src="//platform.twitter.com/widgets.js" charset="utf-8"&gt;&lt;/script&gt;
&lt;p&gt;I used to laugh at people paying $7k for bicycles with handmade steel frames and all the hype that surrounded the whole &lt;a href="http://2014.handmadebicycleshow.com" target="_blank" rel="noreferrer"&gt;NAHBS&lt;/a&gt; community. After some months of reading &lt;abbr&gt;PinP&lt;/abbr&gt; aka &lt;a href="http://theradavist.com" target="_blank" rel="noreferrer"&gt;The Radavist&lt;/a&gt;, however, I&amp;rsquo;ve changed my mind completely.&lt;/p&gt;
&lt;p&gt;Modern competitive cycling is, to me, completely uninteresting sport. I don&amp;rsquo;t watch the big races, I don&amp;rsquo;t care about the pros.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; Doping is so prevalent that following these events makes no sense to me, and in the same way I don&amp;rsquo;t give a shit about carbon frames designed in wind tunnels. What John Watson&amp;rsquo;s community represents is the opposite: yes, it&amp;rsquo;s nice to crush &lt;a href="http://en.wikipedia.org/wiki/King_of_the_Mountains" target="_blank" rel="noreferrer"&gt;KOM&lt;/a&gt;s&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; and go &lt;a href="http://www.velominati.com/the-rules/#10" target="_blank" rel="noreferrer"&gt;as fast as you can&lt;/a&gt;, but that&amp;rsquo;s not why we ride. We ride, because riding a bike is &lt;em&gt;rad&lt;/em&gt;, because the experience of being outdoors in beautiful mountains is fantastic, and because riding a bike is part of our lifestyle—we &lt;em&gt;love&lt;/em&gt; bikes. And yes, if I&amp;rsquo;m to choose between a Taiwan-made carbon frame wind-tunnel-developed bike from one of the major manufacturers versus a steel frame bicycle US/UK-made by guys who &lt;em&gt;love&lt;/em&gt; the work, I&amp;rsquo;m gonna pay those guys, and I&amp;rsquo;m gonna pay them more than I should. And I&amp;rsquo;m still gonna be faster uphill than the 50+ overweight fellas on their Pinarello Dogma bikes.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Except for &lt;a href="http://www.majawloszczowska.pl" target="_blank" rel="noreferrer"&gt;Maja&lt;/a&gt;. Maja is awesome.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Though even Strava says that riding is &lt;a href="http://blog.strava.com/strava-instagram-5584/" target="_blank" rel="noreferrer"&gt;not only about KOMs&lt;/a&gt;.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Strava is helping to build better bike lanes</title><link>https://piotr.is/2014/strava-lanes/</link><pubDate>Fri, 06 Jun 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/strava-lanes/</guid><description>&lt;p&gt;&lt;a href="http://www.wired.com/2014/06/strava-sells-cycling-data/" class="link"&gt;Wired:&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Current methods of counting cyclists take a ton of time or a ton of money. The DOT can videotape traffic and have someone sit at a monitor and count cyclists, or it can send someone to sit on the sidewalk and watch them go by in real time. Neither method is terribly efficient.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You&amp;rsquo;d think that the problem of building cycling lanes is a simple one, right? Well, it&amp;rsquo;s not. Apparently most cities struggle with obtaining data; no one really knows where and how many cyclists ride, and the only method available until now was installing bike counters, but these are expensive and measure bicycle traffic only at fixed points. So now, apparently, you can buy data from Strava, and this is brilliant.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;Strava is my favorite sport-tracking service (I wrote about it &lt;a href="https://piotr.is/2012/03/03/i-ride-because-im-angry-at-other-people/"&gt;before&lt;/a&gt;), and it&amp;rsquo;s found a new and somewhat surprising source of revenue – selling &amp;ldquo;heatmaps&amp;rdquo; to cities.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; Heatmaps are created by analyzing publicly available GPS data from users&amp;rsquo; rides and mapping them to frequency. For example, this is a heatmap for Bergen:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://labs.strava.com/heatmap/#13/5.30730/60.38387/gray/bike" target="_blank" rel="noreferrer"&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2014/strava-lanes/strava-heatmap_hu_b1f8afa619688a29.webp 330w,https://piotr.is/2014/strava-lanes/strava-heatmap_hu_84b8c5a5824af9db.webp 660w
,https://piotr.is/2014/strava-lanes/strava-heatmap_hu_303f7c748a2c3824.webp 1024w
,https://piotr.is/2014/strava-lanes/strava-heatmap_hu_b3e3b73fa1a9aa87.webp 1229w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1229"
height="638"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2014/strava-lanes/strava-heatmap_hu_64f2568385c2d776.png" srcset="https://piotr.is/2014/strava-lanes/strava-heatmap_hu_217d4c7da39ec141.png 330w,https://piotr.is/2014/strava-lanes/strava-heatmap_hu_64f2568385c2d776.png 660w
,https://piotr.is/2014/strava-lanes/strava-heatmap_hu_9f8583dd657ab2fc.png 1024w
,https://piotr.is/2014/strava-lanes/strava-heatmap.png 1229w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Some say that Strava isn&amp;rsquo;t popular amongst commuters, and that it&amp;rsquo;s mainly used by people who treat cycling as sport, and not just a mean of transportation, but as is clearly visible on the screenshot above, racers need to get through town just like anyone else; I&amp;rsquo;d conjecture they need to do this even more often than others.&lt;/p&gt;
&lt;p&gt;Anyways, I just wanted to point everyone&amp;rsquo;s attention to the Wired article, because:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;it&amp;rsquo;s very good and you should read it;&lt;/li&gt;
&lt;li&gt;I envy Strava the brilliant idea of &amp;ldquo;heatmaps&amp;rdquo;;&lt;/li&gt;
&lt;li&gt;it makes me wanna seriously consider a career as a &lt;a href="http://automattic.com/work-with-us/data-wrangler/" target="_blank" rel="noreferrer"&gt;Data Wrangler&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Cheap, too. Only $20000/year.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Some people get upset with &lt;a href="http://www.strava.com" target="_blank" rel="noreferrer"&gt;Strava&lt;/a&gt; selling &amp;ldquo;their&amp;rdquo; data, but they don&amp;rsquo;t realize the data is anonymized completely, very useful, and publicly available anyway.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Wayne Shorter Quartet at USF Verftet (NattJazz 2014)</title><link>https://piotr.is/2014/wayne-shorter-quartet-at-usf-verftet-nattjazz-2014/</link><pubDate>Fri, 06 Jun 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/wayne-shorter-quartet-at-usf-verftet-nattjazz-2014/</guid><description>&lt;p&gt;I first heard about Wayne Shorter when my dad bought the brilliant &lt;a href="http://en.wikipedia.org/wiki/1_%2B_1_%28album%29" target="_blank" rel="noreferrer"&gt;&amp;ldquo;1+1&amp;rdquo;&lt;/a&gt; (Verve 1997) album he recorded with Herbie Hancock. I listened to it and was blown away – the soprano saxophone in the hands of Wayne Shorter sounded like nothing I heard before. I had a &amp;ldquo;jazz band&amp;rdquo; in my music school at the time,&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; and I told the guys &amp;ldquo;Look, Shorter and Hancock play without drums and bass, so we can do it too!&amp;rdquo;, but obviously we couldn&amp;rsquo;t, and we all quickly understood that we know nothing about improvisation.&lt;/p&gt;
&lt;p&gt;I haven&amp;rsquo;t bought any Wayne Shorter records for a couple of years. Some time ago I bought two of his classic albums – &lt;a href="http://en.wikipedia.org/wiki/JuJu_%28Wayne_Shorter_album%29" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Juju&amp;rdquo;&lt;/a&gt; (Blue Note 1964) and &lt;a href="http://en.wikipedia.org/wiki/Speak_No_Evil" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Speak No Evil&amp;rdquo;&lt;/a&gt; (Blue Note 1965) – and enjoyed them, but of course this was the old post- hard-bop sound of late 60s, significantly different to Shorter&amp;rsquo;s current music which I didn&amp;rsquo;t know. That is, until last year&amp;rsquo;s release of his new&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; quartet&amp;rsquo;s &amp;ldquo;Without a Net&amp;rdquo; (Blue Note 2013).&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Without a Net&amp;rdquo; reminds me of &amp;ldquo;1+1&amp;rdquo; a lot, even though it&amp;rsquo;s a quartet with piano (Danilo Perez), double bass (John Patitucci) and drums (Brian Blade), but the music is so much alike – somewhere between aggressive hard-bop and contemplative free, on the intersection of the best of classic 60s jazz, and the new, contemporary, and somewhat intellectually challenging music. I loved the album immediately, even though (as with &amp;ldquo;1+1&amp;rdquo;) I realized that I didn&amp;rsquo;t fully understand it, and it took me some time to fully appreciate the music. So when I heard Wayne Shorter Quartet is coming to town, I knew I had to go and see them live.&lt;/p&gt;
&lt;p&gt;They played last Friday at our local Spring jazz festival &lt;a href="http://nattjazz.no/" target="_blank" rel="noreferrer"&gt;NattJazz&lt;/a&gt;, and the concert was excellent. The music, as Hannah put it, was &amp;ldquo;enchanting&amp;rdquo;.&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt; The contemplative and delicate sound of Wayne Shorter&amp;rsquo;s saxophone juxtaposed with energetic, aggressive sound of the trio created what can only be described as &lt;em&gt;magic&lt;/em&gt;, and it lasted for a 1,5hr concert and three encores. Next to &lt;a href="https://piotr.is/2013/07/08/keith-jarrett-trio-30th-anniversary-tour-at-de-doelen-rotterdam/"&gt;Keith Jarrett Trio&lt;/a&gt;, &lt;a href="https://piotr.is/2012/07/09/im-in-london-for-the-first-time-in-the-uk-2/"&gt;Uri Caine Trio&lt;/a&gt; and Ornette Coleman quartet&amp;rsquo;s performances, Wayne Shorter Quartet&amp;rsquo;s Friday concert was one of the best one&amp;rsquo;s I&amp;rsquo;ve ever been to.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s what their recent concert in Vienna looked like, the Verftet concert was quite similar.&lt;/p&gt;
&lt;iframe width="420" height="315" src="//www.youtube.com/embed/0UeqbMV1d0k?rel=0" frameborder="0"&gt; &lt;/iframe&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;We were 13. It wasn&amp;rsquo;t even remotely close to &amp;ldquo;jazz&amp;rdquo;, we were barely able to play the notes.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Actually, &lt;a href="http://en.wikipedia.org/wiki/Wayne_Shorter#Quartet" target="_blank" rel="noreferrer"&gt;the quartet&lt;/a&gt; isn&amp;rsquo;t so new, they&amp;rsquo;ve been playing for 14 years now. I didn&amp;rsquo;t know.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;&amp;ldquo;It&amp;rsquo;s the PG-13 description. &amp;quot;&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Hit &amp; Run</title><link>https://piotr.is/2014/hit-run/</link><pubDate>Sat, 22 Mar 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/hit-run/</guid><description>&lt;p&gt;Last Sunday night I was walking home and I got hit by a car on a zebra crossing.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; It was pretty late (around 11:30pm) and there was very little traffic. I was on a green light and while I was in the middle of the road, a black car came from behind me (he was making a left turn). I stopped, turned right, and as I was facing the car it hit me on my left leg knocking me down, and then just drove off. Before we get any further, I am happy to assure everyone that I&amp;rsquo;m perfectly fine, and that I did not sustain any serious injuries. But here are some of my thoughts about the accident.&lt;/p&gt;
&lt;p&gt;I remember very vividly how I felt immediately after the accident – I was mad. The guy didn&amp;rsquo;t stop. In Norway. &lt;a href="https://www.google.com/#q=norway&amp;#43;best&amp;#43;country&amp;#43;to&amp;#43;live" target="_blank" rel="noreferrer"&gt;The best country on earth&lt;/a&gt;. I mean, seriously. If this happened in my lovely homeland or anywhere else in the world, I would still be outraged, but perhaps less surprised. But it happened in Norway – someone&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; just hit me with a car on a zebra crossing, and then ran away. So yes, my very first feeling when I was lying there in the middle of the street was outrage mixed with bewilderment. This feeling didn&amp;rsquo;t really pass when another car stopped and called the ambulance – &amp;ldquo;Call the goddamn cops!&amp;rdquo; – I yelled – &amp;ldquo;I don&amp;rsquo;t need a doctor, I&amp;rsquo;m fine, just get that guy who nearly ran me over!&amp;rdquo; Luckily the person who rescued me was a little more lucid and called the ambulance first – &amp;ldquo;You got blood all over your head man, you &lt;em&gt;need&lt;/em&gt; an ambulance.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Right after the rage came fear. I didn&amp;rsquo;t realize what happened until 10 minutes after the accident, I didn&amp;rsquo;t realize how lucky I was and how close to a very serious injury (at best) I was. While sitting in the ambulance and later in the emergency room I kept thinking that it really was a close call – thoughts that the doctor confirmed. And then I also realized that it all felt highly unreal. You know, one of those things that happen to &lt;em&gt;other&lt;/em&gt; people. Like cancer, tsunamis or losing your house. Being hit by a car coming out of nowhere is one of those things. And I immediately realized that I wasn&amp;rsquo;t prepared for it at all. I had medical insurance as anyone who pays taxes in Norway has, but did I have any accident-specific insurance or life insurance? I&amp;rsquo;m not sure, probably not. I think I have some insurance from my work, but does it cover such cases? Unlikely. I don&amp;rsquo;t know. And of course I was lucky that it didn&amp;rsquo;t really cost me much, except for drugs, a cab ride back home and the fact that I need to buy new glasses.&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt; I had a computer in my bag but it sustained only minor injuries. Then again – what if it sustained some serious damage? I wasn&amp;rsquo;t prepared for that. I guess it&amp;rsquo;s like with backups, that there are two categories of people: those that have accident &amp;amp; life insurance, and those that will have it. Now I&amp;rsquo;m becoming the former.&lt;/p&gt;
&lt;p&gt;The police told me there are virtually no chances at finding the driver, because I am uncertain about the car and I haven&amp;rsquo;t seen the registration plates, but they did say they would look for him and even notified the &lt;a href="http://www.bt.no/nyheter/lokalt/--Stakk-av-etter-pakjorsel-3080452.html" target="_blank" rel="noreferrer"&gt;local paper&lt;/a&gt;. It&amp;rsquo;s been almost a week since the accident now and I haven&amp;rsquo;t heard from them, so I assume the driver will not be found, but as time passes I am feeling less angry and more grateful for how benign my injuries were.&lt;/p&gt;
&lt;p&gt;Finally, I was and still am overwhelmed at how friendly, helpful and supportive everyone around me has been. Huge thanks go to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Hannah, for showing up at my apartment the day after, helping me with the police, cooking chicken zoup for me and leasing Toby;&lt;/li&gt;
&lt;li&gt;my parents, for calling me twice a day to check how I&amp;rsquo;m doing (and for my uncle and aunt for calling on their behalf when necessary);&lt;/li&gt;
&lt;li&gt;Truls &amp;amp; Samia, for providing me with premium quality chocolate;&lt;/li&gt;
&lt;li&gt;Karolina, for helping me wash my head in such a way that the bandages stay relatively dry;&lt;/li&gt;
&lt;li&gt;Erik E., for sketching plans of capturing the driver and bringing him to justice (I believe we agreed that the penalty in this case was hanging);&lt;/li&gt;
&lt;li&gt;my sister and her husband, for reminding me that Rambo had it worse;&lt;sup id="fnref:4"&gt;&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref"&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;Erik P., Maja, Pim, Thomas and Beata for being worried and making sure I was alright.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It&amp;rsquo;s really sweet of you all. You made being hit by a car a genuine pleasure, almost. I&amp;rsquo;m not planning on being in a similar accident again, though, and as we know it is &lt;a href="https://xkcd.com/795/" target="_blank" rel="noreferrer"&gt;unlikely&lt;/a&gt; I will have such an accident again. It&amp;rsquo;s just one more thing I can cross off my bucket list.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;For the locals: it was a zebra crossing on the corner of Carl Konows gt and Fyllingsveien.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;As we agreed with Truls and his father while discussing it, it must have been a driver from Oslo (or Poland, or Lithuania), for it is &lt;em&gt;impossible&lt;/em&gt; that this was a local. As pointed out by Hannah, it is also impossible for the driver to be from Kristiansand.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;This one is actually a potentially big expense, but then again I can buy glasses in Poland with my mom. Me and my mom like going glasses shopping. It&amp;rsquo;s our thing.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:4"&gt;
&lt;p&gt;I tried finding a clip from &amp;ldquo;First Blood&amp;rdquo; of Rambo stitching his own arm, but I couldn&amp;rsquo;t find it anywhere. The only thing YouTube has to offer is his &lt;a href="http://www.youtube.com/watch?v=xTgXnDZoYNA" target="_blank" rel="noreferrer"&gt;&amp;ldquo;Nothing&amp;rsquo;s over!&amp;rdquo;&lt;/a&gt; speech.&amp;#160;&lt;a href="#fnref:4" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>put.io</title><link>https://piotr.is/2014/put.io-a-discussion-about-piracy-on-hacker-news/</link><pubDate>Tue, 04 Feb 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/put.io-a-discussion-about-piracy-on-hacker-news/</guid><description>&lt;p&gt;&lt;a href="http://put.io" target="_blank" rel="noreferrer"&gt;put.io&lt;/a&gt; is a service that lets you download and seed torrents, and also watch the downloaded movie files, in the cloud. An obvious question that such a business model raises is a matter of illegal downloads, and that spawned an interesting discussion on HN.&lt;/p&gt;
&lt;p&gt;Whenever I read discussions about illegal torrent downloads, I immediately think of three issues.&lt;/p&gt;
&lt;p&gt;The first one is &lt;a href="http://theoatmeal.com/comics/game_of_thrones" target="_blank" rel="noreferrer"&gt;convenience&lt;/a&gt; – as a Netflix and &lt;a href="http://hbonordic.com/home" target="_blank" rel="noreferrer"&gt;HBO Nordic&lt;/a&gt; customer I miss the comfort of watching great quality mp4 files so much that I&amp;hellip; became an &lt;a href="https://www.ipredator.se" target="_blank" rel="noreferrer"&gt;IPredator&lt;/a&gt; customer, and I download the movies/shows I already payed for simply to be able to watch them without my laptop fan spinning like crazy.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;The second is the whole issue of what&amp;rsquo;s &lt;em&gt;right&lt;/em&gt;, and how human beings aren&amp;rsquo;t necessarily entitled to watch the latest episode of &amp;ldquo;Mad Men&amp;rdquo; whenever and however they want. I used to support this claim and I still think that the argument of &amp;ldquo;I can&amp;rsquo;t get it in any other way so I&amp;rsquo;m gonna download it illegally using bittorrent&amp;rdquo; is weak, but I find it very &lt;a href="http://www.marco.org/2012/02/25/right-vs-pragmatic" target="_blank" rel="noreferrer"&gt;unpragmatic&lt;/a&gt; to simply forbid downloading. I&amp;rsquo;m also starting to believe that contemporary TV shows and movies are becoming a significant part of modern culture to a degree that it&amp;rsquo;s just not &lt;em&gt;right&lt;/em&gt; to deny access to that part to people who don&amp;rsquo;t have Netflix in their countries, or can&amp;rsquo;t afford going to the cinema very often.&lt;/p&gt;
&lt;p&gt;And that brings me to the third issue, which is especially visible in the HN discussion linked above: it&amp;rsquo;s astonishing how many people (mostly Americans I guess) don&amp;rsquo;t realize how little digital content is legally available outside the US and the UK. The &amp;ldquo;if you can afford a modern computer and a fast internet connection, you can afford paying for TV/movies&amp;rdquo; argument is probably one of the weakest arguments against internet piracy, and is in fact the crux of the whole problem. What MPAA or RIAA don&amp;rsquo;t acknowledge is that the vast majority of the world&amp;rsquo;s population simply has no means of paying for a great number of TV shows or movies, because these are unavailable in their respective countries.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; People also seem to forget that high-speed internet became very cheap &lt;a href="http://en.wikipedia.org/wiki/List_of_countries_by_number_of_broadband_Internet_subscriptions" target="_blank" rel="noreferrer"&gt;to most people of the world&lt;/a&gt;, same as computers, but digital goods are still hardly available anywhere outside the US. It&amp;rsquo;s baffling.&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;So yeah, the whole piracy discussion aside, put.io is actually an interesting service, and I wish it well, hoping it won&amp;rsquo;t be seized by the Dutch police any time soon.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Yeah, both HBO Nordic and Netflix&amp;rsquo;s streaming hogs my macbook&amp;rsquo;s CPU incredibly. Both services also regularly crash my Safari.app, either due to bugs in Flash or Silverlight. Also, HBO Nordic&amp;rsquo;s iPad app is one of the worst things in the entire universe.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Or available after years of delays, with terrible dubbing.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;Unless you&amp;rsquo;re a lawyer. Then I guess it&amp;rsquo;s no longer baffling but obvious, because the obstacles are clearly not of technical nature.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Winter Sports</title><link>https://piotr.is/2014/winter-sports/</link><pubDate>Sat, 25 Jan 2014 00:00:00 +0000</pubDate><guid>https://piotr.is/2014/winter-sports/</guid><description>&lt;p&gt;I don&amp;rsquo;t ski,&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; and every winter doing any sorts of sports becomes a major problem. This year I&amp;rsquo;m trying to change that. As anyone will tell you, riding a bike or running in bad weather is simply a matter of attitude. One should just embrace &lt;a href="http://www.velominati.com/the-rules/#9" target="_blank" rel="noreferrer"&gt;Rule #9&lt;/a&gt; and keep on pushing, but I&amp;rsquo;ve never been able to do that myself. Every year I promised myself that I won&amp;rsquo;t be paying any attention to rain or snow, but year after year I failed, bought that monthly bus ticket and locked my bike at home.&lt;/p&gt;
&lt;p&gt;This year, however, things are different. I just got the lamest Strava badge for 150km ridden in a month, but it&amp;rsquo;s the very first time I got any kind of badge for &lt;em&gt;January&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;The surprising thing is, once you convince yourself riding in winter is possible, it&amp;rsquo;s not that bad. Granted, my times on all segments are considerably worse, but I realized that neither rain nor cold bothers me that much.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; The trick is to convince yourself that it&amp;rsquo;s ok to ride in bad weather, and that still comes pretty hard to me, but I found another way – I take an indirect and much longer route home from my office, thus having some extra exercise, because I&amp;rsquo;m carrying a heavy bag on my back, and riding on a cyclocross bike. But it works, I am finally riding in the winter.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Which is kinda wrong. I&amp;rsquo;ve been living in Norway for almost 4 years now, and only went skiing once. I have a tentative plan of trying snowboard this year, but then again I have this plan &lt;em&gt;every&lt;/em&gt; year.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Most of the time winters in Western Norway are very wet, and not that cold, contrary to popular belief.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>How I traveled from Norway to Poland for Christmas this year</title><link>https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/</link><pubDate>Mon, 30 Dec 2013 00:00:00 +0000</pubDate><guid>https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/</guid><description>&lt;p&gt;I traveled by train, and this post is an account of my experiences and a warning for others who might be attempting the same thing. It costed a lot of money, but most importantly, it was a very exhausting and stressful experience. So if you&amp;rsquo;re reading this and planning on doing the same thing – don&amp;rsquo;t.&lt;/p&gt;
&lt;p&gt;First of all: why did I do it? Well, there&amp;rsquo;s a couple of reasons. First was curiosity – I like trains, and I really wanted to try that kind of long international train travel. Second was finance – plane tickets have a tendency of becoming ridiculously expensive before Christmas, and I had a hard time finding the sort of tickets I wanted (BGO–WAW, POZ–BGO), so I figured that trains can be cheaper. In the end they weren&amp;rsquo;t, but they weren&amp;rsquo;t significantly more expensive either, and given that I&amp;rsquo;ve had &lt;strong&gt;a lot&lt;/strong&gt; of flying last month, I decided I&amp;rsquo;ll give the train a chance.&lt;/p&gt;
&lt;p&gt;Secondly: how did I do it? Well I checked a couple of possible connections via &lt;a href="http://bahn.de" target="_blank" rel="noreferrer"&gt;the best railway connection finder in the world&lt;/a&gt;, and I decided to go like this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;morning train from Bergen to Oslo;&lt;/li&gt;
&lt;li&gt;Oslo to Katrineholm;&lt;/li&gt;
&lt;li&gt;night train from Katrineholm to Lund;&lt;/li&gt;
&lt;li&gt;Oresund train accross the sea to Copenhagen;&lt;/li&gt;
&lt;li&gt;ICE 38 from Copenhagen to Berlin;&lt;/li&gt;
&lt;li&gt;and a EuroCity from Berlin to Poznań, where I&amp;rsquo;d meet with my friends and
continue to my parents&amp;rsquo; place by car.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So that was the plan, and it looked good. In the end I managed to arrive in Poznań on time, but there was a lot of stress and some adventures on the way.&lt;/p&gt;
&lt;p&gt;I took off from Bergen at 8am. &lt;a href="http://en.wikipedia.org/wiki/Bergen_Line"&gt;Bergensbana&lt;/a&gt; is probably one of world&amp;rsquo;s most beautiful train routes, but not in December. The sun doesn&amp;rsquo;t rise until ~9:40, so you can&amp;rsquo;t see any of the beautiful fiords of Western Norway.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas1_hu_7379940af81c3e9b.webp 330w,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas1_hu_3934e436cf82cf06.webp 660w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas1_hu_fa16681e27d6ae2a.webp 1024w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas1_hu_de058826727c55a0.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1600"
height="1067"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas1_hu_2e1966c2526e0168.jpg" srcset="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas1_hu_e87d4d24cbc2cc90.jpg 330w,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas1_hu_2e1966c2526e0168.jpg 660w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas1_hu_9336c53ac9e4bdc.jpg 1024w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas1_hu_7d90e4a03564305c.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;By the time it&amp;rsquo;s daylight, the train reaches &lt;a href="http://en.wikipedia.org/wiki/Hardangervidda"&gt;Hardangervidda&lt;/a&gt;, and everything&amp;rsquo;s just &lt;em&gt;white&lt;/em&gt;, but you won&amp;rsquo;t even see that, because the train goes through the snow like a giant plough, and in effect all you see through the windows is a giant white cloud.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas2_hu_b82224ecaae13e99.webp 330w,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas2_hu_bfb2e84f4c716f8a.webp 660w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas2_hu_de6014912d51489.webp 1024w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas2_hu_bc0d79922d21cc79.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1600"
height="1067"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas2_hu_8431b0bd188cf16b.jpg" srcset="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas2_hu_46e335aaf07a02e4.jpg 330w,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas2_hu_8431b0bd188cf16b.jpg 660w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas2_hu_5a879231a7584030.jpg 1024w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas2_hu_361aca99213bb5cf.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;It gets better in Eastern Norway as the train approaches Oslo, but then again the landscape becomes a bit boring there. But apart from all that, the Bergen-Oslo train was one of the best parts of my trip. The train itself is comfy, there are power outlets in 2nd class, and it was on time.&lt;/p&gt;
&lt;p&gt;So, Oslo S. It&amp;rsquo;s nice there. I went upstairs to grab a bite, and while I was waiting for my burger the big display that lists all departures showed that my train to Sweden is cancelled. ‘Fantastic&amp;rsquo;, I thought, ‘but let&amp;rsquo;s finish the burger first and then think what to do next.&amp;rsquo; My immediate thought was to call SAS, book a one-way ticket to WAW and forget about all that train non-sense. This is also the moment of the trip when stress comes into play.&lt;/p&gt;
&lt;p&gt;See, because when you travel by plane, you can book travel with multiple legs operated by different carriers and have it all on one ticket, so if one part of your trip gets cancelled or delayed, the rest of it gets adjusted somehow and it&amp;rsquo;s not your problem. With international train travel it&amp;rsquo;s different. I tried booking everything with Bahn.de, but that&amp;rsquo;s apparently impossible, so I ended up having tickets bought from 3 companies: &lt;a href="http://nsb.no"&gt;NSB&lt;/a&gt;, &lt;a href="http://sj.se"&gt;SJ&lt;/a&gt;, and &lt;a href="http://bahn.de"&gt;DB&lt;/a&gt;. If I got lost somewhere in Sweden due to delays, I&amp;rsquo;d lose my German tickets and seat reservations, because it&amp;rsquo;s not their fault SJ fucked things up. So when I learned that the train to Stockholm is cancelled, I got worried. But I figured it could still all work out fine, because I booked my tickets with generous transfer times.&lt;/p&gt;
&lt;p&gt;I walked towards platform 19 at Oslo S and jumped on a bus&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; to Karlstad, where an inter-city train number 58 to Stockholm would await all the passengers. And despite it being a relatively old and crowded bus, it brought us all to Karlstad pretty quickly. Actually there were two buses – a lot of people. We all stood on the platform and waited for the train (which couldn&amp;rsquo;t have been late, because that where its route started), and then someone announced through the speakers that the train will be delayed, 1 hour. There wasn&amp;rsquo;t even enough room at the station for all of us to fit. The train arrived after about 30 minutes, so it wasn&amp;rsquo;t all that bad, and even though the carriages looked very old from outside, they were very comfortable and modern on the inside. The problem was the train number 58 didn&amp;rsquo;t really move anywhere. We stood in Karlstad for an hour or more, so I was getting worried again that I won&amp;rsquo;t make my night-train connection in Katrineholm. I had 2 hours allocated for the transfer, but in the end I only spent 20 minutes there because of all the delays. Mind you, there was no snow in Sweden, so I&amp;rsquo;ve no idea why there were so many problems with SJ.&lt;/p&gt;
&lt;p&gt;Katrineholm is the Swedish equivalent of &lt;a href="http://en.wikipedia.org/wiki/Koluszki"&gt;Koluszki&lt;/a&gt; – apparently the only reason to be there is to get off of one train and get on another one – but the night train Stockholm-Malmö arrived on time, and it was way more comfortable than I expected. I had a couple of hours of sleep and got up at 5am to get off in Lund Central and make another train – &lt;a href="http://en.wikipedia.org/wiki/%C3%96resundst%C3%A5g"&gt;Øresundståg&lt;/a&gt; to Copenhagen. This part of the trip was relatively uneventful, and when I got to Copenhagen, I finally had a decent morning coffee.&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas3_hu_9f1f510a55836f8.webp 330w,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas3_hu_8d32557641c14ab5.webp 660w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas3_hu_fe409463572807c0.webp 1024w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas3_hu_c7d05af897ed14a0.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1600"
height="1067"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas3_hu_6f260d6101856a73.jpg" srcset="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas3_hu_53641a734f6ce856.jpg 330w,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas3_hu_6f260d6101856a73.jpg 660w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas3_hu_e164f64f71dde41f.jpg 1024w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas3_hu_38ec729e6494a2bc.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Copenhagen station was pretty busy, and, as always, full of junkies. Anyways, I finished my coffee and went to platform 4, where an ICE 38 train to Hamburg/Berlin arrived and took me to Germany.&lt;/p&gt;
&lt;p&gt;So here&amp;rsquo;s the thing about ICE. It&amp;rsquo;s advertised as high-speed, premium service by DB, and it usually is. I mean, I hope it usually is, because my ICE experience was definitely the worst part of the trip.&lt;/p&gt;
&lt;p&gt;First off, ICE 38 is nowhere near high-speed. It&amp;rsquo;s a &lt;em&gt;diesel high-speed train&lt;/em&gt;, geddit? It&amp;rsquo;s diesel, because tracks in southern Denmark aren&amp;rsquo;t electrified, and because it has to be loaded on a ferry (!) in order to cross the Fehrman belt (from Rodbyhavn to Puttgarden).&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas4_hu_ae522674c5939cdb.webp 330w,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas4_hu_bc1365201f0d4b0.webp 660w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas4_hu_822bb2087041f207.webp 1024w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas4_hu_fe34d5af5b34646b.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1600"
height="1067"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas4_hu_4b8d53c31b533065.jpg" srcset="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas4_hu_5a3e1d5c251e8cf0.jpg 330w,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas4_hu_4b8d53c31b533065.jpg 660w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas4_hu_ab40eb3fdda26581.jpg 1024w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas4_hu_c6d5541e8c5f4d54.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;On top of being slow, the ICE 38 was late. It left Copenhagen on time, but was late for the ferry, was 20 minutes late in Hamburg Hbf, and then it simply broke down. It took another 35 minutes before we left for Berlin. The ridiculous thing about ICE is that it was hands-down the most expensive leg of my journey – the ticket from Copenhagen to Berlin costed €140 (in comparison, the NSB ticket from Bergen to Oslo costed 300 NOK (which is ~€35), the SJ ticket from Oslo to Copenhagen costed 800 SEK (which is ~€90), and the last part from Berlin to Poznań was ~€40 (bought that one very late, would have been much cheaper if booked earlier)). For €140 I&amp;rsquo;d expect much more.&lt;/p&gt;
&lt;p&gt;I arrived pretty late in Berlin Hbf and only managed to grab a shot of the Christmas tree:&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas5_hu_3c7b711d8795be48.webp 330w,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas5_hu_8314da134dfdf20.webp 660w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas5_hu_4057296a47917346.webp 1024w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas5_hu_c76bd191818bef9f.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1600"
height="1067"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas5_hu_878a274392bdf2c.jpg" srcset="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas5_hu_4c78301b39bbc2a8.jpg 330w,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas5_hu_878a274392bdf2c.jpg 660w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas5_hu_c4c09e1c986b7c55.jpg 1024w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas5_hu_32ac317d0fe40539.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;and had to run to catch the EuroCity train to Gdynia which was already waiting. Didn&amp;rsquo;t even manage to buy any &lt;a href="http://en.wikipedia.org/wiki/Hanuta"&gt;Hanutas&lt;/a&gt;, and it&amp;rsquo;s all your fault, Deutsche Bahn.&lt;/p&gt;
&lt;p&gt;Now comes the final part: a Polish train operated by &lt;a href="http://en.wikipedia.org/wiki/PKP_Intercity"&gt;PKP InterCity&lt;/a&gt;. If you ever lived in Poland or known any Polish people, you&amp;rsquo;d know that PKP has the worst possible reputation in my homeland. So it came as no surprise when I saw the train looked pretty bad from the outside,&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas6_hu_f1e577941afcdcb5.webp 330w,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas6_hu_194cce007b62327f.webp 660w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas6_hu_4c9b4e21bf33a3d5.webp 1024w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas6_hu_4e489422b3f62cb5.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1600"
height="1067"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas6_hu_91d77aec8091bb1c.jpg" srcset="https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas6_hu_b08e40fc694c8246.jpg 330w,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas6_hu_91d77aec8091bb1c.jpg 660w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas6_hu_b8020eb901a597c5.jpg 1024w
,https://piotr.is/2013/how-i-traveled-from-norway-to-poland-for-christmas-this-year/trainChristmas6_hu_fe7f916e1e5103b.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;but it came as a &lt;em&gt;major&lt;/em&gt; surprise that it was brand new, roomy and comfortable inside. More than that, it was fast, on time, and they served free snacks + coffee/tea/juice in 2nd class. So, yeah, turns out that PKP InterCity was the cheapest and best part of my whole journey, by a fat margin.&lt;/p&gt;
&lt;p&gt;In the end, I wanted an adventure and had one. I remember I used to enjoy traveling crazy routes with many transfers when I was a teenager in Poland, but doing the same on a European scale is much more annoying and possibly much more expensive (thus also stressful). Also, winter in central Sweden is never warm, and people tend to have more than one piece of hand luggage before Christmas. My one-way plane ticket from POZ to BGO with SAS costed less than a €100, and the flights+transfers will most likely take less than 40 hours.&lt;/p&gt;
&lt;p&gt;So if you&amp;rsquo;re thinking of doing what I did, just &lt;em&gt;don&amp;rsquo;t&lt;/em&gt;. Happy New Year.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Kudos to NSB staff by the way. When trains get cancelled/delayed in Poland, no one knows anything. NSB handled everything very well and there was a lot of helpful people that explained where the buses are and where you should get off. &amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>The Best, Most Elegant iPhone Games of 2013</title><link>https://piotr.is/2013/the-best-most-elegant-iphone-games-of-2013/</link><pubDate>Mon, 16 Dec 2013 00:00:00 +0000</pubDate><guid>https://piotr.is/2013/the-best-most-elegant-iphone-games-of-2013/</guid><description>&lt;p&gt;For those of you having Christmas holidays, The New Yorker&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; recommends some &amp;ldquo;elegant&amp;rdquo; iOS games. I must say I&amp;rsquo;m not much of a gamer (except for an occasional &lt;a href="https://en.wikipedia.org/wiki/Counter_strike_source" target="_blank" rel="noreferrer"&gt;CS:Source&lt;/a&gt;), and I actually never played any games on my iPhone or iPad (except for &lt;a href="http://www.atebits.com/letterpress/" target="_blank" rel="noreferrer"&gt;LetterPress&lt;/a&gt;, in which I &lt;em&gt;always&lt;/em&gt; lose to &lt;a href="http://karolinakrzyzanowska.com/" target="_blank" rel="noreferrer"&gt;Karolina&lt;/a&gt;), but still I decided to test some of the games mentioned in the article and, frankly, had my mind blown away. Just like Rothman says: it&amp;rsquo;s unbelievable how beautifully designed and perfectly engineered these small games are. &lt;a href="http://sticketsgame.com/" target="_blank" rel="noreferrer"&gt;Stickets&lt;/a&gt; is a highly annoying (for the less intelligent among us) and innovative puzzle game (a sort of &amp;ldquo;twisted&amp;rdquo; tetris, if you will), &lt;a href="http://simogo.com/games/device6/" target="_blank" rel="noreferrer"&gt;Device 6
&lt;/a&gt; is a work-of-art adventure game, &lt;a href="http://rymdkapsel.com/" target="_blank" rel="noreferrer"&gt;rymdkapsel&lt;/a&gt; is one of the best strategy games I&amp;rsquo;ve ever played (despite its rudimentary, but aesthetically pleasing&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; graphics), and &lt;a href="http://blekgame.com/" target="_blank" rel="noreferrer"&gt;Blek&lt;/a&gt; is super smart and has a fun and original game mechanic. So, in other words, each of the games I&amp;rsquo;ve tested so far is a marvel.&lt;/p&gt;
&lt;p&gt;What perhaps is the most beautiful aspect of all these games is that they were developed by small, independent studios, sometimes even by one or two persons. Just like with games sold by &lt;a href="https://www.humblebundle.com/" target="_blank" rel="noreferrer"&gt;Humble Bundle&lt;/a&gt;, I realize I enjoy these independent titles much more than big, blockbuster games these days, which means I&amp;rsquo;m either getting old, or that I&amp;rsquo;m seeking what Rothman calls &amp;ldquo;elegance&amp;rdquo; in gaming, which big titles seldom provide.&lt;/p&gt;
&lt;p&gt;Anyways, happy Christmas, and play some games when the family starts getting on your nerves.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Mind you: The snobby New Yorker recommends &lt;em&gt;video games&lt;/em&gt;. We live in interesting times.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Like an Ikea table.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>What AI Should And What It Should Not Be</title><link>https://piotr.is/2013/what-ai-should-and-what-it-should-not-be/</link><pubDate>Tue, 10 Dec 2013 00:00:00 +0000</pubDate><guid>https://piotr.is/2013/what-ai-should-and-what-it-should-not-be/</guid><description>&lt;blockquote&gt;
&lt;p&gt;“It depends on what you mean by artificial intelligence.” Douglas Hofstadter is in a grocery store in Bloomington, Indiana, picking out salad ingredients. “If somebody meant by artificial intelligence the attempt to understand the mind, or to create something human-like, they might say—maybe they wouldn’t go this far—but they might say this is some of the only good work that’s ever been done.”&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;via &lt;a href="http://www.theatlantic.com/magazine/archive/2013/11/the-man-who-would-teach-machines-to-think/309529/" target="_blank" rel="noreferrer"&gt;The Man Who Would Teach Machines to Think&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A long and interesting read about AI&amp;rsquo;s most brilliant mind – &lt;a href="http://en.wikipedia.org/wiki/Douglas_Hofstadter" target="_blank" rel="noreferrer"&gt;Douglas Hofstadter&lt;/a&gt; – his &lt;a href="http://www.cogsci.indiana.edu" target="_blank" rel="noreferrer"&gt;FARG&lt;/a&gt; research group, and the current state of &lt;em&gt;mainstream&lt;/em&gt; AI research.&lt;/p&gt;
&lt;p&gt;I must say I was rather conflicted reading the article. While I think &lt;a href="http://en.wikipedia.org/wiki/G%c3%b6del,_Escher,_Bach" target="_blank" rel="noreferrer"&gt;GEB&lt;/a&gt; is probably the most important book I&amp;rsquo;ve ever read,&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; and while Hofstadter is definitely a genius, I&amp;rsquo;m not entirely sure I agree with discrediting the &amp;ldquo;small steps&amp;rdquo; approach present in the article. Coming from a philosophy background into computer science I find that a lot of philosophical research in AI-related fields (like epistemology or logic) is somewhat wishy-washy or superfluous, as is &amp;ldquo;philosophically-inspired computer science&amp;rdquo; research.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; Then again I realize that the single most harmful threat to my own community of logics-for-AI or multi-agent-systems is creating various formalisms (algorithms, logics, diagrams&amp;hellip;) solely because &amp;ldquo;we can&amp;rdquo;, and because it&amp;rsquo;s always better to have more theorems and proofs, even if no one knows what they&amp;rsquo;re for. The article linked above provides a somewhat fresh and broad perspective on what AI is today, while trying to answer a question of what AI should be. And these are the issues keynote speakers at big AI conferences should be addressing, trying to inspire people and make them contemplate on the big-picture issues; we don&amp;rsquo;t need another keynote on SAT solving and ILP.&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Confession: I have never read the whole book. There is a partly interesting story behind it: I started reading it when I was a freshman at &lt;a href="http://mish.uw.edu.pl" target="_blank" rel="noreferrer"&gt;MISH&lt;/a&gt;, but unfortunately there was only one copy on load at the &lt;a href="http://www.buw.uw.edu.pl/en/" target="_blank" rel="noreferrer"&gt;university library&lt;/a&gt;, and I could only borrow it for a month. So I would borrow it, read a couple of chapters, return it within a month, wait until it&amp;rsquo;s available again (someone would always borrow it), and then go back to reading. After some time I got a bit tired of the routine and stopped reading GEB. I bought my own copy when I was finishing my masters, but my knowledge of AI and logic was broader by then, and I found some later chapters of GEB a tad boring, and thus never finished it. Still, GEB was the very main reason I wanted to work in AI.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;By &amp;ldquo;philosophically-inspired&amp;rdquo; CS I mean researchers in computer science who claim doing philosophically relevant work by attempting to capture certain notions in formal ways. Unfortunately, with very few exceptions, these attempts result in work that is philosophically shallow, and not applicable from an engineering/hard-AI point of view. (I feel I just made a lot of enemies by writing this footnote).&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;There you go, now I won&amp;rsquo;t get a post-doc at &lt;a href="http://www.ust.hk/eng/index.htm" target="_blank" rel="noreferrer"&gt;HKUST&lt;/a&gt;. Shit.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>New Zealand</title><link>https://piotr.is/2013/new-zealand/</link><pubDate>Sun, 08 Dec 2013 00:00:00 +0000</pubDate><guid>https://piotr.is/2013/new-zealand/</guid><description>&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2013/new-zealand/nz_hu_58af6e54ad08b204.webp 330w,https://piotr.is/2013/new-zealand/nz_hu_6d5b6e2ef0d3552.webp 660w
,https://piotr.is/2013/new-zealand/nz_hu_1ee55f7418ba049b.webp 1024w
,https://piotr.is/2013/new-zealand/nz_hu_4d8f5080090c958c.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="2048"
height="1366"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2013/new-zealand/nz_hu_1acd3f7ae7e242d1.jpg" srcset="https://piotr.is/2013/new-zealand/nz_hu_deafde96c37147ce.jpg 330w,https://piotr.is/2013/new-zealand/nz_hu_1acd3f7ae7e242d1.jpg 660w
,https://piotr.is/2013/new-zealand/nz_hu_ff736ecb96d9c285.jpg 1024w
,https://piotr.is/2013/new-zealand/nz_hu_a72f3c50d4288dab.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Last week I came to New Zealand for &lt;a href="http://coin2013-prima.tudelft.nl" target="_blank" rel="noreferrer"&gt;COIN@PRIMA workshop&lt;/a&gt; and &lt;a href="http://prima2013.otago.ac.nz" target="_blank" rel="noreferrer"&gt;PRIMA-13&lt;/a&gt; conference. It&amp;rsquo;s the first time I&amp;rsquo;m on the southern hemisphere, and I have a couple of observations about New Zealand and the whole Oceania region I&amp;rsquo;d like to share.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;First off, New Zealand is soooper far away from &lt;em&gt;everything&lt;/em&gt;. It took me more than 45 hours to get here from Bergen,&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; and I just talked to a Kiwi friend who told me that Wellington is &lt;a href="http://en.wikipedia.org/wiki/Extreme_points_of_Earth#Remoteness" target="_blank" rel="noreferrer"&gt;the most remote&lt;/a&gt; capital city in the world, being furthest away from any other capital city. The feeling one has here is that while the country seems rather Western (lots of post-British architecture, English as the official language, lots of familiar products in the shops), it&amp;rsquo;s very exotic. You see Fiji Airways planes at the airports, and there are weird looking trees, birds and plants everywhere. Also, New Zealanders seem to often (implicitly) refer to Australia as the &amp;ldquo;big world.&amp;rdquo; Australia&amp;rsquo;s where the big cities are, it&amp;rsquo;s where you go to do your post-doc or PhD, and it&amp;rsquo;s where many people transfer for intercontinental flights. Still, from a European point of view, Australia is the end of the world in many ways—it&amp;rsquo;s vast, sparsely populated,&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; and very far away from, well, anything.&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;New Zealand has remarkably beautiful nature, but&amp;hellip; somewhat less impressive for someone coming from Norway. They have fiords and mountains, but in contrast to Norway they have nice, sandy beaches, and bush forests with much more biodiversity. You could say that most of New Zealand is geographically &lt;em&gt;perfect&lt;/em&gt;: it has all the beauty of Norway, and at the same time the climate is so much better. Dunedin, where I am right now, is often described as rainy by the Kiwis I know, where in fact it receives half the amount of rainfall Bergen does. It is also significantly warmer, and it&amp;rsquo;s in the south of New Zealand&amp;rsquo;s South Island—North Island is even better. So there you go: perfection. If only it was closer to the rest of the world&amp;hellip;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Traveling to New Zealand from Europe means crossing 12 time zones (UTC+13), which creates a rather weird kind of jetlag, because night and day swap completely. I got used to it much quicker than I thought, and it results in a somewhat optimal work/holiday environment: people in Europe sleep during my day, so I get all the email communication during the night, read my emails in the morning, reply to them, and am not disturbed all day until late evening when they wake up.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On a related note, going to the souther hemisphere in December is a bit confusing, but in a very pleasant way. While my friends in Norway, Netherlands and Poland shiver from cold, I was enjoying a fantastic MTB ride in 23°C yesterday. I thought Christmas decorations in the summer looked silly, but I don&amp;rsquo;t mind anymore.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;It&amp;rsquo;s a surprisingly expensive country. Food/restaurant/beer prices are more or less comparable to Amsterdam.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Finally, I&amp;rsquo;ve fallen in love with Dunedin. It seemed a bit dull at first, but after getting to know it better I really enjoy it. It&amp;rsquo;s compact, has lots of nice restaurants, it&amp;rsquo;s easy to get out and enjoy the mountains or the beach, and it has the most fantastic &lt;a href="http://piotrandkarolina.wordpress.com/2013/12/04/dunedin-botanic-garden/" target="_blank" rel="noreferrer"&gt;botanic garden&lt;/a&gt; I&amp;rsquo;ve ever seen.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So that&amp;rsquo;s it. I&amp;rsquo;m writing this post on a Sunday afternoon (NZDT), and I leave on a plane to AKL-PVG-AMS-BGO tomorrow evening. I&amp;rsquo;m gonna miss you, New Zealand!&lt;/p&gt;
&lt;p&gt;p.s.
For those of you who like photographs, you can take a look at many of the shots I took in New Zealand &lt;a href="http://piotrandkarolina.wordpress.com/category/new-zealand/" target="_blank" rel="noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;To be fair, you can get from BGO to DUD in less than that (I just had some unnecessarily long layovers), but it&amp;rsquo;s way more expensive, and you won&amp;rsquo;t go below ~35hrs anyway.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Interesting factoid: I didn&amp;rsquo;t realize until now that Australia only has approximately 23 mln inhabitants. That&amp;rsquo;s about half the population of Poland, itself not a big country, spread over the area of 7,692,024 km&lt;sup&gt;2&lt;/sup&gt;.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;And yes, technically the most remote capital is a tie between Wellington and, surprise surprise, Canberra.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Breaking Bad finale</title><link>https://piotr.is/2013/breaking-bad/</link><pubDate>Sat, 05 Oct 2013 00:00:00 +0000</pubDate><guid>https://piotr.is/2013/breaking-bad/</guid><description>&lt;p&gt;Despite what you might hear me saying, I like TV shows. I don’t own a TV set (in fact I haven’t lived in an apartment with one for many years), and I avoid mentioning my interest in some shows, but that’s mostly due to my somewhat snobbish nature – I would like to be seen as a person who doesn’t fall for easy entertainment, and isn’t interested in anything less than a Booker prize winning novel, an inaccessible contemporary jazz album, or modern art exhibition. But in the privacy of my own blog I am willing to admit that there are certain things on television that I really enjoy, and one&lt;a id="ref1" href="#1"&gt;&lt;sup&gt;1&lt;/sup&gt;&lt;/a&gt; of these things – AMC’s Breaking Bad – just &lt;em&gt;came to an end&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Breaking Bad is a simple show. It’s not very sophisticated, like Mad Men. It isn’t as spectacular as Game of Thrones, and not as intellectual as Girls. The story is in fact very similar to &lt;a href="http://en.wikipedia.org/wiki/Weeds_(TV_series)"&gt;Weeds&lt;/a&gt; (at least in the beginning), but in contrast to the light-toned Showtime series, Breaking Bad is seldom funny.&lt;a id="ref2" href="#2"&gt;&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt; It is fantastically written, it has great characters, awesome cinematography, and, above all, amazing actors. But all this doesn’t explain the Breaking Bad phenomenon to me, i.e. I can’t understand &lt;em&gt;how&lt;/em&gt; is it possible that a relatively simple TV series like that gets &lt;em&gt;so much&lt;/em&gt; media coverage.&lt;/p&gt;
&lt;p&gt;It’s not just the sheer amount&lt;a id="ref3" href="#3"&gt;&lt;sup&gt;3&lt;/sup&gt;&lt;/a&gt; of words that have been written about the show that amazes me, but also &lt;em&gt;where&lt;/em&gt; the pieces were published. That BoingBoing &lt;a href="http://boingboing.net/author/kmmcfarland"&gt;regularly publishes&lt;/a&gt; posts about Breaking Bad isn’t that surprising (although these are relatively long-form essays, featured columns if you may, unlike most short notes that appear on BoingBoing), but if The New Yorker writes about shows other than Girls and Mad Men, it’s a serious matter. And it’s not only the &lt;a href="http://www.newyorker.com/online/blogs/culture/"&gt;Culture Desk&lt;/a&gt;, oh no. There are &lt;a href="http://www.newyorker.com/arts/critics/television/2012/08/27/120827crte_television_nussbaum"&gt;longer pieces&lt;/a&gt; in the magazine itself, as well as a recently published &lt;a href="http://www.newyorker.com/reporting/2013/09/16/130916fa_fact_friend"&gt;profile&lt;/a&gt; of Bryan Cranston. That &lt;a href="http://tv.nytimes.com/2013/10/01/arts/television/breaking-bad-finale.html"&gt;The New York Times&lt;/a&gt;, &lt;a href="http://www.theguardian.com/tv-and-radio/tvandradioblog/2013/sep/30/vince-gilligan-breaking-bad-finale-felina"&gt;The Guardian&lt;/a&gt; and even &lt;a href="http://www.faz.net/aktuell/feuilleton/medien/das-finale-von-breaking-bad-ich-war-richtig-lebendig-12597740.html"&gt;FAZ&lt;/a&gt; have published articles about the show doesn’t surprise me so much, but once I stumbled upon Breaking Bad in &lt;a href="http://www.economist.com/news/business/21586801-best-show-television-also-first-rate-primer-business-breaking-bad-school"&gt;The Economist&lt;/a&gt;, I realized there’s no where to run, no where to hide.&lt;/p&gt;
&lt;div class="footnotes"&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id="1"&gt;Other shows I admire are Mad Men, Game of Thrones, Girls, and House of Cards. (shit, that’s more than I thought.) &lt;a id="1" href="#ref1"&gt;↩&lt;/a&gt;&lt;/li&gt;
&lt;li id="2"&gt;Despite significant differences between Weeds and BB, Vince Gilligan mentioned that he wouldn’t have made Breaking Bad if he knew about Weeds. Luckily for us, he didn't. &lt;a id="2" href="#ref2"&gt;↩&lt;/a&gt;&lt;/li&gt;
&lt;li id="3"&gt;Apparently you should wear &lt;a href="http://www.newyorker.com/online/blogs/dailycartoon/2013/09/daily-cartoon-monday-september-16th.html"&gt;a spoiler helmet&lt;/a&gt; if you haven’t seen the show yet (thanks, &lt;a href="http://karolinakrzyzanowska.com/"&gt;Karolina&lt;/a&gt;).&lt;a id="3" href="#ref3"&gt;↩&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Switching season</title><link>https://piotr.is/2013/switching-season/</link><pubDate>Thu, 22 Aug 2013 00:00:00 +0000</pubDate><guid>https://piotr.is/2013/switching-season/</guid><description>&lt;blockquote&gt;
&lt;p&gt;Every couple years I get the urge to peek out of my Apple-furnished hole and survey the landscape of alternative devices and operating systems. I call this urge switching season [&amp;hellip;] I figure that the least I can do when the urge to switch strikes me is to share what I’ve learned in the hopes that it saves other people some time.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;via &lt;a href="https://al3x.net/2013/08/12/switching-season-annual-report-2013.html" target="_blank" rel="noreferrer"&gt;Alex Payne — Switching Season Report, 2013 Edition&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I have it exactly like Alex Payne – I&amp;rsquo;ve been living in the Apple-ecosystem for the last 3 years, and I am sorry to admit that the 2010 13&amp;rsquo;&amp;rsquo; Macbook Pro is hands-down the best computer I have ever used. It&amp;rsquo;s fast (especially after having an SSD upgrade last summer), silent, portable, has great keyboard, and its software is boring like hell – it doesn&amp;rsquo;t crash and I don&amp;rsquo;t have to tinker with it to make wifi work after resuming from suspend. Despite all that, whenever I see a nice Thinkpad,&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; I&amp;rsquo;m immediately browsing &lt;a href="http://allegro.pl" target="_blank" rel="noreferrer"&gt;the best second-hand computer store in the world&lt;/a&gt; searching for a used X201 or X220 in good condition. It&amp;rsquo;s partly nostalgia, partly the love of &lt;a href="http://xmonad.org" target="_blank" rel="noreferrer"&gt;XMonad&lt;/a&gt;, and to a small extent dislike of Apple.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; And every time it happens, I&amp;rsquo;m performing an analysis similar to the one Alex Payne did, arriving at mostly the same conclusions: Android sucks, Linux on the desktop mostly sucks, Windows is not considered due to it not being unix-based, and Apple sucks least on all fronts.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s all rather sad.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;A friend just recently bought a used X201 Tablet. He&amp;rsquo;s running Ubuntu on it and says everything&amp;rsquo;s fine and dandy. I love the way this machine looks.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;However, I am not pro-Dell, pro-HP or pro-Google either. All corporations are evil, &lt;a href="http://www.logophile.org/blog/2013/08/07/whats-wrong-with-the-world/" target="_blank" rel="noreferrer"&gt;it&amp;rsquo;s their duty&lt;/a&gt;.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Keith Jarrett Trio 30th Anniversary Tour at De Doelen, Rotterdam</title><link>https://piotr.is/2013/keith-jarrett-trio-30th-anniversary-tour-at-de-doelen-rotterdam/</link><pubDate>Mon, 08 Jul 2013 00:00:00 +0000</pubDate><guid>https://piotr.is/2013/keith-jarrett-trio-30th-anniversary-tour-at-de-doelen-rotterdam/</guid><description>&lt;p&gt;Last Thursday I went to a Keith Jarrett Trio concert in Rotterdam. It was probably the best jazz concert experience I&amp;rsquo;ve ever had.&lt;/p&gt;
&lt;p&gt;The very first &amp;ldquo;contemporary&amp;rdquo; jazz&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; album I’ve listened to was &lt;a href="https://en.wikipedia.org/wiki/Standards_(Jarrett_album)"&gt;&amp;ldquo;Standards, Vol. 1&amp;rdquo; (ECM 1983)&lt;/a&gt;. My dad bought it when I was a teenager and played it to me, because I wanted to know other kinds of jazz than swing and bebop. I didn&amp;rsquo;t like it at first. It seemed chaotic and difficult to listen to. The melodies I knew were lost somewhere, and I didn&amp;rsquo;t understand how is this interpretation better than good old big bands. The more I listened to it, though, the more I understood, and the more I liked it. You could perhaps say that Keith Jarrett Trio&amp;rsquo;s standards taught me most things I know about jazz. I learned a lot about how a jazz trio works, how the bass underlines the chords of the piano, and how the drummer keeps things in control. But most importantly, Keith Jarrett Trio&amp;rsquo;s records opened my mind to a whole new kind of music: contemporary improvisation.&lt;/p&gt;
&lt;p&gt;As I was growing up, I kept listening to all kinds of new jazz music. I bought some John Coltrane records and fell in love with hard-bop, only to discover Ornette Coleman some years later and enjoy the hell out of free jazz.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; I also kept reading about new artists, buying albums and even developed taste for some sorts of &lt;em&gt;avant-garde&lt;/em&gt; music, but when it comes to classic jazz trio consisting of a grand piano, double bass and the drums, I kept coming back to Keith Jarrett&amp;rsquo;s band and always thought of it as the model trio. Sure, there are many great ones, Uri Caine&amp;rsquo;s and Marcin Wasilewski&amp;rsquo;s being among my favorites, but the level of mastery achieved by KJT seems unachievable by anyone else.&lt;/p&gt;
&lt;p&gt;When the concert ended, I realized that writing its &amp;ldquo;review&amp;rdquo; won&amp;rsquo;t be an easy task. Reviewing KJT&amp;rsquo;s concert is like talking about Velázquez&amp;rsquo;s paintings. Of course you enjoy them, otherwise you&amp;rsquo;re an idiot, and of course they&amp;rsquo;re perfect — everyone knows it and there&amp;rsquo;s no point in restating the obvious. The only 2 things that can possibly go wrong when it comes to KJT:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;The condition of their leader, who, be it for mood- or health-related reasons, can sometimes underperform.&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The sound engineers can potentially screw things up.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Last Thursday night it was definitely the latter, but I&amp;rsquo;ll get back to that in a minute. Let me first explain why would one want to &amp;ldquo;review&amp;rdquo; such an event.&lt;/p&gt;
&lt;p&gt;While I was listening to the concert, I realized it is rather hard to put in words why this particular trio is so awesome, and not, for example, Brad Mehldau Trio. &amp;ldquo;How is it better?&amp;rdquo;, I asked myself and tried to come up with an answer in my head.&lt;/p&gt;
&lt;p&gt;KJT is the very, very best jazz trio in existence primarily because of the novelty of interpretations. What I took for chaos and even noise as a teenager is indeed a number of sublime improvisations. Keith Jarrett, being a brilliant fucking pianist, wraps the themes and melodies we all know so well inside his twisted, complex and melodic improvisations like no one else. During Thursday&amp;rsquo;s performance it happened so many times that a known theme emerged out of nowhere, and the audience was left stunned: &amp;ldquo;Where did that come from? How the hell did he do that?&amp;rdquo; All jazz pianists improvise on melodies from &lt;a href="http://en.wikipedia.org/wiki/Great_American_Songbook"&gt;The Great American Songbook&lt;/a&gt;, but neither gets even close to Jarrett&amp;rsquo;s creativity and sensitivity.&lt;/p&gt;
&lt;p&gt;Secondly, KJT&amp;rsquo;s perfection comes from the level of connection between musicians that is hard to match. Some critics argue that Jarrett, Peacock and DeJohnette have been playing standards for too long&lt;sup id="fnref:4"&gt;&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref"&gt;4&lt;/a&gt;&lt;/sup&gt;, and that is somewhat true, but then again by doing so they have reached an absolutely perfect connection. No other trio has this.&lt;/p&gt;
&lt;p&gt;Thirdly, Keith Jarrett Trio is one of the few jazz bands (if not the only one) to be able to easily move between different types of jazz aesthetics in terms of improvisation style. They are equally good at traditional, straight-ahead and free jazz, and they are even able to mix these together during one concert.&lt;/p&gt;
&lt;p&gt;And finally, as you might have expected, there is the way they complement each other. Keith Jarrett plays almost like a classical pianist, and in fact many of his solos resemble something of a classical piano concert. His inclinations towards classical music are the signature of his sound.&lt;sup id="fnref:5"&gt;&lt;a href="#fn:5" class="footnote-ref" role="doc-noteref"&gt;5&lt;/a&gt;&lt;/sup&gt; Then there is Gary Peacock on the bass, who&amp;rsquo;s role here is to do much more than your usual bass player does. Peacock is highly melodious, and his solos are very lyrical, especially for a bass player. Both Jarrett and Peacock are very &lt;em&gt;soft&lt;/em&gt; and that&amp;rsquo;s why they need the big guy on the drums — Jack DeJohnette — who&amp;rsquo;s definitely the most aggressive element of the trio. DeJohnette&amp;rsquo;s style is still rather withdrawn compared to other drummers, but he&amp;rsquo;s the one who adds that chili pepper to the sauce.&lt;/p&gt;
&lt;p&gt;If I were to describe their style with one expression, I&amp;rsquo;d say they&amp;rsquo;re sound is that of subtle, gentle virtuosity. That&amp;rsquo;s what they are, and that is why they are so exceptionally good.&lt;/p&gt;
&lt;p&gt;Back to the concert: it was much longer than I expected, it lasted for more than 2 hours, and there were 3 encores. Jarrett seemed to be in great shape (given his age and health problems), and even though the drums were much too loud during the first part of the concert, sound engineers fixed the issue after the break and the second part was blissful. It was, as I mentioned in the first line of this post, the best jazz concert I&amp;rsquo;ve been to (Ornette Coleman Quartet I heard in Warsaw in the summer of 2007 is the 2nd best now).&lt;/p&gt;
&lt;p&gt;&lt;em&gt;As a final note, I&amp;rsquo;d like to thank my girlfriend &lt;a href="http://karolinakrzyzanowska.com"&gt;Karolina&lt;/a&gt; who got the tickets and invited me to the concert. A fantastic experience I will probably never forget. Thank you.&lt;/em&gt;&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Sorry for the quotation marks, but does anyone really know what is contemporary jazz?&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Speaking of discovering artists, the funny thing is I got my hands on Miles Davis&amp;rsquo; albums pretty late, and for whatever reason he never got the love he apparently deserves from me. I adore &amp;ldquo;Bitches Brew&amp;rdquo;, but not much more. (Weird).&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;Calling Jarrett moody is actually an understatement. Go google him and you&amp;rsquo;ll see plenty of stories about his, hmm, erratic behavior.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:4"&gt;
&lt;p&gt;It is in fact their 30th anniversary tour!&amp;#160;&lt;a href="#fnref:4" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:5"&gt;
&lt;p&gt;That is even more visible in his great solo concerts, the best example being &lt;a href="https://en.wikipedia.org/wiki/Vienna_Concert"&gt;The Vienna Concert&lt;/a&gt;.&amp;#160;&lt;a href="#fnref:5" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>On Racing Bergen-Voss</title><link>https://piotr.is/2013/on-racing-bergen-voss/</link><pubDate>Mon, 01 Jul 2013 00:00:00 +0000</pubDate><guid>https://piotr.is/2013/on-racing-bergen-voss/</guid><description>&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2013/on-racing-bergen-voss/bergen-voss_hu_960a621fad39f8.webp 330w,https://piotr.is/2013/on-racing-bergen-voss/bergen-voss_hu_777a815995b46cc.webp 660w
,https://piotr.is/2013/on-racing-bergen-voss/bergen-voss_hu_a9c90cb5aea2d8c7.webp 1024w
,https://piotr.is/2013/on-racing-bergen-voss/bergen-voss_hu_6f5dcb2266c699b1.webp 1320w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1440"
height="956"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2013/on-racing-bergen-voss/bergen-voss_hu_97c5b06e1f31398b.jpg" srcset="https://piotr.is/2013/on-racing-bergen-voss/bergen-voss_hu_d780fa4a184cfbad.jpg 330w,https://piotr.is/2013/on-racing-bergen-voss/bergen-voss_hu_97c5b06e1f31398b.jpg 660w
,https://piotr.is/2013/on-racing-bergen-voss/bergen-voss_hu_f5afad9ccaeac0f5.jpg 1024w
,https://piotr.is/2013/on-racing-bergen-voss/bergen-voss_hu_a4ab96af10dab8aa.jpg 1320w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s me riding the final climb of Bergen-Voss 2013 race, the famous road from Granvin to Voss and its hairpins around &lt;a href="http://no.wikipedia.org/wiki/Skjervefossen" target="_blank" rel="noreferrer"&gt;Skjervsfossen&lt;/a&gt;. It was the second time I did this race, and although I had a better time than last year, I&amp;rsquo;m still at the very end of the &amp;ldquo;top 4000&amp;rdquo; list.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s a relatively easy, amateur race. The distance is about 165 km, but there is some climbing on the way (about 1800m), with 3 distinct climbs, one of which is rather serious:&lt;/p&gt;
&lt;p&gt;&lt;a href="bergen-voss-map.png"&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2013/on-racing-bergen-voss/bergen-voss-map_hu_bd0e0ee3797c3cb7.webp 330w,https://piotr.is/2013/on-racing-bergen-voss/bergen-voss-map_hu_6aefbab806c1d4d1.webp 660w
,https://piotr.is/2013/on-racing-bergen-voss/bergen-voss-map_hu_c7386daabb883284.webp 1024w
,https://piotr.is/2013/on-racing-bergen-voss/bergen-voss-map_hu_47fb4d3910cb8fd9.webp 1280w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="1280"
height="734"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2013/on-racing-bergen-voss/bergen-voss-map_hu_57b542b0ab69f207.png" srcset="https://piotr.is/2013/on-racing-bergen-voss/bergen-voss-map_hu_227131fbfcc1eca3.png 330w,https://piotr.is/2013/on-racing-bergen-voss/bergen-voss-map_hu_57b542b0ab69f207.png 660w
,https://piotr.is/2013/on-racing-bergen-voss/bergen-voss-map_hu_36ef6d968f637712.png 1024w
,https://piotr.is/2013/on-racing-bergen-voss/bergen-voss-map.png 1280w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There are two types of reactions I get when I tell people I do Bergen-Voss:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&amp;lsquo;Ooh, you must be amazingly fit/strong! I would &lt;em&gt;never&lt;/em&gt; be able to even finish such a race!&amp;rsquo;&lt;/li&gt;
&lt;li&gt;&amp;lsquo;Why the hell would you do such a thing?&amp;rsquo;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Ad 1): You&amp;rsquo;re wrong. Any healthy person can ride 165 km in under 10 hours. Yes, it requires some training and yes, it&amp;rsquo;s best if you have a racing bike (although there are people on mountain bikes, cyclocross and even city bikes too), but no, it does not require superhuman strength, endurance or spending 30000 NOK on gear. You can just do it, if you really want to. Remember &lt;a href="http://www.velominati.com/the-rules/#5" target="_blank" rel="noreferrer"&gt;Rule 5&lt;/a&gt; and &lt;a href="http://www.velominati.com/the-rules/#6" target="_blank" rel="noreferrer"&gt;Rule 6&lt;/a&gt;, and you&amp;rsquo;re good.&lt;/p&gt;
&lt;p&gt;Ad 2): Because I can, and because my job require little to no physical effort from me. I&amp;rsquo;m an academic, and this means (among many other things) that if I don&amp;rsquo;t teach, I don&amp;rsquo;t even have to leave my house. As a kid I was very bad at sports (I&amp;rsquo;m the classic case of a football player who plays for the team that picks last), and never really liked any physical activity, but these days, at the age of 28, I feel restless if I don&amp;rsquo;t bike or run a couple of days a week. &lt;a href="http://karolinakrzyzanowska.com" target="_blank" rel="noreferrer"&gt;Karolina&lt;/a&gt; has the same.&lt;/p&gt;
&lt;p&gt;Also, when it comes to Bergen-Voss in particular, I do it because it&amp;rsquo;s an &lt;em&gt;amazing&lt;/em&gt; experience. The route takes you through the mountains, valleys, and along the fantastic Hardangerfjord. Breath-taking nature, people ringing cowbells on the streets, and great atmosphere all the way. I wouldn&amp;rsquo;t regret it even if I came last.&lt;/p&gt;
&lt;p&gt;Next June I will probably no longer be living in Norway, and thus I probably won&amp;rsquo;t take part in Bergen-Voss again. You should, though. All you need is a roadworthy bike and some months of training. Riding all the way to Voss is not necessary, but doing a couple of 100km-long trips before the race is a good preparation. &lt;a href="https://www.youtube.com/watch?v=2CTPLUcQAjk" target="_blank" rel="noreferrer"&gt;Get on your bike and ride!&lt;/a&gt;&lt;/p&gt;</description></item><item><title>“Cosmos”</title><link>https://piotr.is/2013/cosmos/</link><pubDate>Mon, 06 May 2013 00:00:00 +0000</pubDate><guid>https://piotr.is/2013/cosmos/</guid><description>&lt;p&gt;So here&amp;rsquo;s the thing: I didn&amp;rsquo;t want to read this book. It&amp;rsquo;s been on my girlfriend&amp;rsquo;s shelf for a while, and even though the younger me would certainly read it eagerly, the current me avoids such titles. I read it though, and even worse, I&amp;rsquo;m writing a review.&lt;/p&gt;
&lt;p&gt;The problem with books like &amp;lsquo;Cosmos&amp;rsquo; is that you can either give 5 stars or 2 (or perhaps even 1). Giving 5 makes you a pretentious intellectual, giving 2 means you didn&amp;rsquo;t understand the book and you&amp;rsquo;re trying to rationalize it by saying you don&amp;rsquo;t want to be a pretentious intellectual. Fair enough. I&amp;rsquo;m giving 5 stars primarily because it&amp;rsquo;s been the first book that I managed to read almost in one seating (with interest and joy) in a long, long time, and of course because I &lt;strong&gt;am&lt;/strong&gt; a pretentious intellectual.&lt;/p&gt;
&lt;p&gt;This book is about the relationship between language and meaning, reality and thought. It&amp;rsquo;s a story of two young men visiting the Polish countryside somewhere in Tatra mountains, trying to get away from problems they have in Warsaw. The narrator is a paranoid fella who obsesses over dead sparrows and disfigured lips, and as the story progresses, over his own thoughts and phrases. This is what Cosmos really is about: an illusion of oppression created by human mind, a paranoia fueled by words, sentences and phrases. There is no other plot here, it&amp;rsquo;s essentially a plotless story. While some may find Gombrowicz&amp;rsquo;s style annoying and tedious, I found it absolutely brilliant. It serves the purpose of creating an atmosphere of absurd paranoia perfectly well, and manages to create tension (and humor) out of thin air.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;‘How many sentences can one create out of the twenty-four letters of the alphabet? How many meanings can one gleam from hundreds of weeds, colds of dirt, and other trifles?’&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;(I read the Polish original, so if you&amp;rsquo;re reading the English version you should probably try to get Borchardt&amp;rsquo;s 2005 translation)&lt;/p&gt;</description></item><item><title>What Happens When You Live Abroad</title><link>https://piotr.is/2013/what-happens-when-you-live-abroad/</link><pubDate>Thu, 18 Apr 2013 00:00:00 +0000</pubDate><guid>https://piotr.is/2013/what-happens-when-you-live-abroad/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The anxiousness that was once concentrated on how you’re going to make
new friends, adjust, and master the nuances of the language has become
the repeated question “What am I missing?”&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;via &lt;a href="http://thoughtcatalog.com/2012/what-happens-when-you-live-abroad/" target="_blank" rel="noreferrer"&gt;What Happens When You Live Abroad&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Good post, good observations. As an ex-pat since around 2008 I&amp;rsquo;d like to
add a few of my own.&lt;/p&gt;
&lt;p&gt;Firstly, something weird happens to my &amp;ldquo;national identity&amp;rdquo; sense. I feel
Polish of course, and that means I&amp;rsquo;m interested in what happens in
Poland, I read Polish &lt;a href="http://wyborcza.pl" title="Im nie jest
wszystko jedno!" target="_blank" rel="noreferrer"&gt;newspapers&lt;/a&gt; online, and I&amp;rsquo;m very much interested in Polish
culture&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;, but I no longer use Polish on a daily
basis&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;, I no longer feel that the political situation
of my home country affects me in any way, and I really don&amp;rsquo;t see
a situation in which I&amp;rsquo;d decide to move back to Poland. At the same time
I hardly feel Norwegian, and I don&amp;rsquo;t really think I&amp;rsquo;d ever become one
even if I lived here for 30 years. So I feel somewhat &lt;em&gt;stateless&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Secondly, I think the whole &amp;ldquo;mastering a local language&amp;rdquo; thing is
a myth. Yes, when all the signs suddenly become meaningless and you
can&amp;rsquo;t say if what you&amp;rsquo;re looking at in the grocery store is actually
butter or margarine, it&amp;rsquo;s an obstacle of sorts. Most foreigners I know
here in Norway attended courses of Norwegian as a foreign language (at
least to some degree), but of all of them only &lt;em&gt;one&lt;/em&gt; speaks Norwegian
fluently (and it&amp;rsquo;s a somewhat special case, because this person wanted
to stay in Norway permanently since he got here). The rest is able to
have a basic conversation about how the weather is bad and how beer is
expensive, but that&amp;rsquo;s it. Interestingly, it seems the amount of work put
into studying matters little. While it&amp;rsquo;s obvious that I can&amp;rsquo;t speak
Norwegian (finished only level 1, with a strong D), all my other friends
that finished all the possible levels of the course still don&amp;rsquo;t speak
the language (even if they&amp;rsquo;re German). Same goes for
&lt;a href="http://karolinakrzyzanowska.com" target="_blank" rel="noreferrer"&gt;Karolina&lt;/a&gt; – she completed all
the levels of Dutch, but she still doesn&amp;rsquo;t speak it. We all use English
because it&amp;rsquo;s so natural, convenient and easy. And there&amp;rsquo;s always someone
around who doesn&amp;rsquo;t understand Norwegian at all, so what&amp;rsquo;s the point?
That&amp;rsquo;s why I find the observation made by Thought Catalog so spot on:
ex-pats gather in communities regardless of their origin. I hang out
mostly with Norwegians, but at the same time with folks from India,
Canada, Germany, The Netherlands, Slovakia, Ukraine, Russia, South
Africa, Algeria and China&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;, and we all speak English
fluently. Perhaps this is what happens in Scandinavia simply because the
average level of English fluency is so high, and I guess this wouldn&amp;rsquo;t
happen in France, Spain, Italy or Germany (or any Eastern European
country for that matter). Then again I&amp;rsquo;d still expect ex-pats from many
different countries hanging out together, regardless of their country of
origin.&lt;/p&gt;
&lt;p&gt;Finally, I wonder how different my experiences would be had I not stayed
in academia. Academic environments are naturally diverse when it comes
to nationalities, and unfortunately most contracts are short and tied to
some grant money. This means most people won&amp;rsquo;t consider investing time
and/or money in learning a new language. I&amp;rsquo;d expect this to look
differently in the so-called industry.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;It is somehow sad, that whereas reading news, listening to the radio, buying CDs and books from Poland is fairly easy whilst abroad, watching new Polish movies is &lt;em&gt;very&lt;/em&gt; hard. Foreign cinemas naturally seldom show them, and online services either don&amp;rsquo;t allow foreign IPs or don&amp;rsquo;t have new films. Since &lt;a href="http://en.wikipedia.org/wiki/Polish_diaspora" target="_blank" rel="noreferrer"&gt;there is approximately 20 mln Poles abroad&lt;/a&gt;, I&amp;rsquo;d consider creating a paid online service a reasonable business idea. SV people, get it done (and cut me in for 30% if it works).&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;I skype/facetime with &lt;a href="http://karolinakrzyzanowska.com" target="_blank" rel="noreferrer"&gt;Karolina&lt;/a&gt; ~daily, that&amp;rsquo;s right, but given that she also uses much more English than Polish, our mother tongue is becoming a scary pidgin-like talk. Mind you, this is what happens after ~4 years of continuously living abroad in the age of Internet. It&amp;rsquo;s frightening to think what it was like two decades ago.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;There is of course something special about the Chinese: they &lt;em&gt;always&lt;/em&gt; stick together. But then again, I suspect it&amp;rsquo;s simply because English is so hard for them.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>“Debt”</title><link>https://piotr.is/2013/debt/</link><pubDate>Sat, 02 Feb 2013 00:00:00 +0000</pubDate><guid>https://piotr.is/2013/debt/</guid><description>&lt;p&gt;David Graeber&amp;rsquo;s &lt;em&gt;Debt&lt;/em&gt; is one of the best books I have read in my life.&lt;/p&gt;
&lt;p&gt;It is a thorough historical and anthropological investigation into the nature of money and, &lt;em&gt;nomen omen&lt;/em&gt;, debt. Across about 400 pages Graeber analyzes all aspects of these: moral, economical and philosophical. He lays out a fresh and somewhat bold view that challenges classical economic theories, namely that debt has been the true essence of human economies for at least 5000 years now, and provides lots of compelling evidence to support this claim. His original analysis is very thought-provoking, and makes the reader wonder about the very foundations of our society, global economy, and certain aspects of human nature (like greed and love).&lt;/p&gt;
&lt;p&gt;To a reader unfamiliar with economics and anthropology (such as myself), Graeber&amp;rsquo;s book is also an eye-opener when it comes to explaining &lt;em&gt;how the world works&lt;/em&gt;, and even more, &lt;em&gt;how it has been working&lt;/em&gt; for the last couple of thousands of years. The author is a true erudite in how he manages to show numerous connections between religion, economy, history and human nature. And through last chapters, where he relates his historical presentation to present day and the financial crisis of 2007&amp;ndash;2008, it is also a bit scary to read (again, to a poorly educated person such as myself) about how global economy &amp;lsquo;works&amp;rsquo;.&lt;/p&gt;
&lt;p&gt;I recommend this book to anyone interested in economics and history of money and markets, but also to those who&amp;rsquo;d like to read about the history of the world from a different perspective.&lt;/p&gt;</description></item><item><title>Previewing LaTeX symbols without preview-latex</title><link>https://piotr.is/2012/previewing-latex-symbols-without-preview-latex/</link><pubDate>Thu, 27 Dec 2012 00:00:00 +0000</pubDate><guid>https://piotr.is/2012/previewing-latex-symbols-without-preview-latex/</guid><description>&lt;p&gt;This blog&amp;rsquo;s most popular post is the &lt;a href="https://piotr.is/2010/05/13/emacs-as-the-ultimate-latex-editor/" title="Emacs as the Ultimate LaTeX Editor"&gt;Emacs howto
entry&lt;/a&gt;, so I thought I&amp;rsquo;d share one more
LaTeX-related tip for all your Emacs needs. Besides the traditional
&lt;code&gt;preview-latex&lt;/code&gt; way of generating TeX formulas inside Emacs buffer,
there&amp;rsquo;s a faster and neater way to do this using Emacs&amp;rsquo; unicode support.
My friends Erik Parmann and Pål Drange made a simple
&lt;a href="https://bitbucket.org/mortiferus/latex-pretty-symbols.el" target="_blank" rel="noreferrer"&gt;package&lt;/a&gt; that
turns many math symbols and Greek letters commands into corresponding
unicode characters. Here&amp;rsquo;s a sample of how this looks:&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2012/previewing-latex-symbols-without-preview-latex/emacs-pretty-latex_hu_32b732094d95113e.webp"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="549"
height="800"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2012/previewing-latex-symbols-without-preview-latex/emacs-pretty-latex.png"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re running Emacs 24, you can get the package from
&lt;a href="http://melpa.milkbox.net" target="_blank" rel="noreferrer"&gt;MELPA&lt;/a&gt; repository. Otherwise you can get it
from &lt;a href="https://bitbucket.org/mortiferus/latex-pretty-symbols.el" target="_blank" rel="noreferrer"&gt;Erik&amp;rsquo;s
bitbucket&lt;/a&gt;,
put it somewhere in your load path and load it with &lt;code&gt;(require 'latex-pretty-symbols)&lt;/code&gt;. There, happy TeXing!&lt;/p&gt;
&lt;p&gt;(also, you can make similar tricks with &lt;a href="https://github.com/haskell/haskell-mode" target="_blank" rel="noreferrer"&gt;Haskell
mode&lt;/a&gt; and have all your lambdas
displayed properly).&lt;/p&gt;</description></item><item><title>Blogging is hard</title><link>https://piotr.is/2012/blogging-is-hard/</link><pubDate>Tue, 06 Nov 2012 00:00:00 +0000</pubDate><guid>https://piotr.is/2012/blogging-is-hard/</guid><description>&lt;p&gt;I started blogging quite a long time ago, in 2006. The first platform I used was Polish &lt;a href="http://jogger.pl" target="_blank" rel="noreferrer"&gt;Jogger&lt;/a&gt; &amp;mdash; a blogging engine centered around Jabber (aka &lt;a href="http://xmpp.org" target="_blank" rel="noreferrer"&gt;XMPP&lt;/a&gt;) protocol. It was very cool (and unique) at the time, you could interact with your blog via IM (posting new entries, replying to comments), and it gathered a specific crowd of open-source/linux/free software enthusiasts which made for a nice community. My blog at the time was called &lt;em&gt;Das Nichts&lt;/em&gt;&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;, and it was like most other blogs at that time &amp;mdash; about &lt;strong&gt;everything&lt;/strong&gt;. It was written in Polish and my audience were mostly friends from high school and college. &lt;em&gt;Das Nichts&lt;/em&gt; later moved to Wordpress, and finally evolved into a &lt;a href="http://dasnichts.tumblr.com" target="_blank" rel="noreferrer"&gt;tumblr&lt;/a&gt;, but in 2009 I stopped writing it, considering it too childish and wanting to switch to English.&lt;/p&gt;
&lt;p&gt;I did. I created &lt;em&gt;Sound and Complete&lt;/em&gt;, a blog in English, and hosted it on &lt;a href="http://wordpress.com" target="_blank" rel="noreferrer"&gt;Wordpress.com&lt;/a&gt;. I tried writing about more technical subjects (linux and free software and the like), but quickly realized there&amp;rsquo;s a ton and a half technical blogs on the internet written by people closer to interesting communities (in my case free software communities), with deeper knowledge, and more engaged into certain projects. Obviously I could have become one of those people, but I was just about to start a PhD in logic, so my efforts concentrated more on modal logic, model theory, recursion theory etc. I figured that perhaps I could write about academic subjects, but I ran into trouble. With academic subjects (and logic/mathematics especially) you can either write introductory posts about things you know/you&amp;rsquo;re learned (but that&amp;rsquo;s a bit boring and not really something people want to read; modal logic is not as exciting as quantum physics, so it&amp;rsquo;s hard to become Brian Cox), or you can try publishing posts about details of your work. The latter is definitely more tempting, but in practice not really feasible, because it requires looong texts, lots of technicalities and it&amp;rsquo;s best suited for academic papers. So I ended up writing about everything again, just like in college. And that&amp;rsquo;s in principle ok, as long as there aren&amp;rsquo;t as many social network users as there are today.&lt;/p&gt;
&lt;p&gt;The other day I took a good look at my blog&amp;rsquo;s archive and realized that out of a ~140 posts published here, about 15 is of decent quality.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; The rest are either links to other material on the web or personal entries that would work much better as Facebook updates or tweets. Linking to other sites is, as Guy English writes in &lt;a href="http://the-magazine.org/1/fireballed" target="_blank" rel="noreferrer"&gt;the 1st issue of The Magazine&lt;/a&gt;, specialty of a certain well-known blog, and imitating it isn&amp;rsquo;t easy. &lt;a href="http://marco.org" target="_blank" rel="noreferrer"&gt;Some&lt;/a&gt; &lt;a href="http://thebrooksreview.net" target="_blank" rel="noreferrer"&gt;tech&lt;/a&gt; &lt;a href="http://parislemon.com" target="_blank" rel="noreferrer"&gt;bloggers&lt;/a&gt; find their own formulas, but I wasn&amp;rsquo;t able find mine. I&amp;rsquo;ve tried many platforms, from WordPress through Posterous, &lt;a href="http://octopress.org" target="_blank" rel="noreferrer"&gt;Octopress&lt;/a&gt; and Tumblr to Squarespace, and even &lt;a href="http://medium.com" target="_blank" rel="noreferrer"&gt;Medium&lt;/a&gt;&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt; or &lt;a href="http://branch.com" target="_blank" rel="noreferrer"&gt;Branch&lt;/a&gt;, but it didn&amp;rsquo;t really matter &amp;mdash; my blogging was never not good enough.&lt;/p&gt;
&lt;p&gt;I once asked my friend &lt;a href="http://github.com/ryszard" target="_blank" rel="noreferrer"&gt;Szopa&lt;/a&gt; why he doesn&amp;rsquo;t blog anymore&lt;sup id="fnref:4"&gt;&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref"&gt;4&lt;/a&gt;&lt;/sup&gt;, and then he said something I remember very well &amp;mdash; he said he doesn&amp;rsquo;t blog, because he wouldn&amp;rsquo;t read his own blog. Whereas I used to treat my own blogging very lightly for many years, I&amp;rsquo;ve recently tried looking at it the way I look at texts in The New Yorker, The Magazine&lt;sup id="fnref:5"&gt;&lt;a href="#fn:5" class="footnote-ref" role="doc-noteref"&gt;5&lt;/a&gt;&lt;/sup&gt;, The Economist, or simply the harsh&lt;sup id="fnref:6"&gt;&lt;a href="#fn:6" class="footnote-ref" role="doc-noteref"&gt;6&lt;/a&gt;&lt;/sup&gt; way I review academic papers. Szopa was right &amp;mdash; I wouldn&amp;rsquo;t read my own blog if it wasn&amp;rsquo;t my own.&lt;/p&gt;
&lt;p&gt;This is not to say there were never any good entries here. No, &lt;a href="http://piotrkazmierczak.com/2011/01/09/in-defense-of-the-phd/" target="_blank" rel="noreferrer"&gt;some of them&lt;/a&gt; I actually find insightful, others are &lt;a href="http://piotrkazmierczak.com/2010/05/13/emacs-as-the-ultimate-latex-editor/" target="_blank" rel="noreferrer"&gt;helpful&lt;/a&gt;, and others &lt;a href="http://piotrkazmierczak.com/2012/01/28/new-violin/" target="_blank" rel="noreferrer"&gt;interesting even though personal&lt;/a&gt;. That&amp;rsquo;s why I&amp;rsquo;m keeping them here, but there seldom will be any more posts, unless I really have something to say (i.e. more likely there&amp;rsquo;ll be something long-form). You might be wondering why wouldn&amp;rsquo;t I simply leave the blog as it is. Well, my website used Squarespace lately, and Squarespace is a paid service. That&amp;rsquo;s why I decided to simply move my homepage as a static html file, put it in a Github repository and leave some of the posts I find valuable here as static html as well. That&amp;rsquo;s not to say I won&amp;rsquo;t write anymore, but it does mean posts will appear only a couple of times a year.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;That&amp;rsquo;s due to my favorite TA in our Ontology class in the Institute of Philosophy, who&amp;rsquo;d notoriously ridicule Heidegger&amp;rsquo;s &amp;ldquo;das Nichts nichtet&amp;rdquo; quote (out of context of course).&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;I found some more after trying to be really indulgent with myself.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;Even though still not fully open to the public, Medium seems like the most attractive and innovative publishing platform these days. I&amp;rsquo;m really looking forward to see it launch.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:4"&gt;
&lt;p&gt;He used to have 3 blogs if I correctly recall.&amp;#160;&lt;a href="#fnref:4" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:5"&gt;
&lt;p&gt;&lt;a href="http://the-magazine.org" target="_blank" rel="noreferrer"&gt;The Magazine&lt;/a&gt; is actually something that deserves a blog post (&lt;em&gt;sic!&lt;/em&gt;), because it&amp;rsquo;s a new type of a publication: a periodical distributed solely via Apple&amp;rsquo;s App Store for iOS Newsstand. Featuring texts by known tech bloggers it attempts to become a high-quality publication comparable to good old weekly magazines. Personally I applaud the idea, subscribe and read, but find that even though the texts are of relatively high quality, they&amp;rsquo;re nowhere near the quality of The Economist, The New Yorker or even The Atlantic. I am the worst kind of a critic, obviously, because I would never be able to produce anything even close to what &lt;a href="http://arstechnica.com/author/john-siracusa/" target="_blank" rel="noreferrer"&gt;John Siracusa&lt;/a&gt; or &lt;a href="http://www.marco.org" target="_blank" rel="noreferrer"&gt;Marco Arment&lt;/a&gt; write.&amp;#160;&lt;a href="#fnref:5" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:6"&gt;
&lt;p&gt;Not really.&amp;#160;&lt;a href="#fnref:6" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>How Would You Fix the Linux Desktop?</title><link>https://piotr.is/2012/linux-desktop/</link><pubDate>Thu, 13 Sep 2012 00:00:00 +0000</pubDate><guid>https://piotr.is/2012/linux-desktop/</guid><description>&lt;p&gt;&lt;a href="http://ask.slashdot.org/story/12/09/07/1720206/ask-slashdot-how-would-you-fix-the-linux-desktop" target="_blank" rel="noreferrer"&gt;How Would You Fix the Linux Desktop?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://ask.slashdot.org/comments.pl?sid=3102073&amp;amp;amp;cid=41265629" target="_blank" rel="noreferrer"&gt;aussersterne:&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The culture of Linux remains the culture of 1993 mid-range computing—but we no longer live in a world in which CS students can&amp;rsquo;t afford the hardware/software they use at school and mainstream OSes can&amp;rsquo;t do the fun stuff. Quite the opposite. It&amp;rsquo;s funny to think back at how thrilled I was to have X11 on the desktop (compared to Windows 3.1) versus how I feel now, twenty years on, comparing KDE or GNOME on Fedora or Ubuntu to OS X 10.8. The tables have been exactly turned. Linux is still essentially the same in architecture and philosophy, while the rest of the world has moved to a completely different paradigm in which computing is essentially appliance-driven. In 1993 Linux was ahead of its time. In 2013 Linux is a decade behind.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;These days, I want an complete, polished, turnkey appliance at low cost and with no labor time investment, not a set of building block. Today&amp;rsquo;s appliances are fast, intuitive, stable, durable, powerful, and integrated like the iPad (which I do, yes, use for serious work about 5-6 hours a day). For most users (which is where I have always ultimately fallen), Linux is solution in search of a problem that no longer exists.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Ask Slashdot has an &lt;a href="http://ask.slashdot.org/story/12/09/07/1720206/ask-slashdot-how-would-you-fix-the-linux-desktop"&gt;interesting discussion&lt;/a&gt; about current state of the linux desktop, which has become (again) a heated debate after &lt;a href="http://tech.slashdot.org/story/12/09/02/1437240/torvalds-takes-issue-with-de-icazas-linux-desktop-claims"&gt;Miguel de Icaza&amp;rsquo;s blogpost and Linus Torvalds&amp;rsquo; reply&lt;/a&gt;. There are some very insightful comments, like the one by &lt;a href="http://slashdot.org/~aussersterne"&gt;aussersterne&lt;/a&gt; above, but more importantly the discussion gives a good picture of the linux/FLOSS community, with different views on what linux desktop is or should be, different backgrounds, ideas and problems. The first comment sums up the problem, or meta-problem to me:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://ask.slashdot.org/comments.pl?sid=3102073&amp;amp;cid=41263347"&gt;Hatta:&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I&amp;rsquo;ve been using Linux on my desktop for 13 years now. It works just fine for me.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="http://www.codinghorror.com/blog/2007/03/the-works-on-my-machine-certification-program.html"&gt;Right&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>How the iPad ruins my travel experience</title><link>https://piotr.is/2012/how-the-ipad-ruins-my-travel-experience/</link><pubDate>Sat, 25 Aug 2012 00:00:00 +0000</pubDate><guid>https://piotr.is/2012/how-the-ipad-ruins-my-travel-experience/</guid><description>&lt;p&gt;I travel a lot, be it for work or pleasure, and one of the things I particularly enjoy when I’m transferring at my favorite Schiphol airport is visiting bookstores. I browse magazines, bestsellers and non-fiction, and usually buy an issue of The Economist, The New Yorker or a book. Or actually, I used to buy.&lt;/p&gt;
&lt;p&gt;Ever since I have the iPad&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;, I stopped visiting bookstores. I no longer buy The Economist or The New Yorker, because &lt;em&gt;there’s an app for that&lt;/em&gt;. Well, not only there are apps, but magazines are usually much cheaper if bought in “the newsstand” rather than in printed form. I no longer buy books there either, because I prefer using the Kindle app for reading while traveling (cuts the weight of the bag significantly). You might then say that there are no cons to this situation, and it is indeed a typical first world problem, but there are two observations I made today that I’d like to share here.&lt;/p&gt;
&lt;p&gt;First off, I realized I don’t really read magazines as much as I used to, even though I have them cheaper, everywhere, and whichever I like. It’s a typical paradox of oversupply, so often noticed by music enthusiasts — back in the age of CDs (especially when they were expensive and not so easily available) we used to listen to music more carefully, knowing each album’s track titles, reading booklets that were inserted into CD cases, etc. Nowadays if I want an album, I can click “buy” in the iTunes store, and I have it immediately, but I don’t spend as much time on each record as I used to.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; It’s the same with magazines on my iPad. I subscribe to a couple of them, but don’t have time to read every issue. Some issues I miss completely, unaware that they were downloaded automatically. Some weeks ago the situation was a tad better, because Polish magazines weren’t available in the App Store, but now I can get Gazeta Wyborcza, Polityka and even Uważam Rze there as well, so I don’t buy any paper issues of anything anymore, and, paradoxically, read less magazines.&lt;/p&gt;
&lt;p&gt;The second observation is that I truly miss walking around bookstores, browsing, looking at covers of books, reading abstracts and reviews on the back, and buying. It’s probably just an illusion, but I think I used to read more before I actually had the iPad. I might be reading more blog entries and things I save with &lt;a href="http://www.instapaper.com" target="_blank" rel="noreferrer"&gt;Instapaper&lt;/a&gt;, but less magazines. And I actually don’t like reading books on the iPad, because of reflections, because the Kindle App’s poor design, and because they always ask me to switch it off for &lt;em&gt;taxi, takeoff and landing&lt;/em&gt;. And I won’t buy an ebook reader, because the iPad is more useful for me in other areas, such as emailing, web browsing, and, most importantly, reading and reviewing academic papers.&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;So while thinking about all that and strolling around Schiphol this fine afternoon, I stepped into a bookstore and spent some time there. How lovely it was! I could browse the latest issue of The Economist (pointless, since I have it on my iPad, but still fun), laugh silently at people picking up Very Bad Books from bookshelfs, and finally wandering around the “non-fiction” section, and picking up two titles: &lt;a href="http://www.guardian.co.uk/books/2011/nov/16/quantum-universe-cox-forshaw-review" target="_blank" rel="noreferrer"&gt;one&lt;/a&gt; that is supposed to teach me about modern(-ish) physics once again (never too much of that, quantum mechanics &lt;strong&gt;really&lt;/strong&gt; is twisted), and &lt;a href="http://en.wikipedia.org/wiki/The_Magic_of_Reality" target="_blank" rel="noreferrer"&gt;another one&lt;/a&gt;&lt;sup id="fnref:4"&gt;&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref"&gt;4&lt;/a&gt;&lt;/sup&gt; that is supposed to convince me that Dawkins isn’t as silly as I’d like him to be.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Kindly supplied by Høgskolen i Bergen’s Department of Computing, Mathematics and Physics!&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Not to mention certain Swedish websites that give music for free.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;I honestly haven’t printed out a single PDF ever since I got the iPad.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:4"&gt;
&lt;p&gt;Only now I read that this book is aimed at children and “young adults”. Oh well, buying wrong books is an important element of the whole physically-buying-books-in-a-bookstore experience.&amp;#160;&lt;a href="#fnref:4" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>New Violin</title><link>https://piotr.is/2012/new-violin/</link><pubDate>Sat, 28 Jan 2012 00:00:00 +0000</pubDate><guid>https://piotr.is/2012/new-violin/</guid><description>&lt;p&gt;I’ve been playing violin since I was 7. I went to music school in my hometown, Skierniewice, and spent six years there, finishing what is called a &lt;em&gt;1st stage&lt;/em&gt; music school in Poland. I did not continue to a &lt;em&gt;2nd stage&lt;/em&gt; school and never became a &lt;em&gt;professionally&lt;/em&gt; trained musician, but I’ve spent many years playing in different orchestras, first in Skierniewice, later in Warsaw. I enjoyed improvising jazz&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; with my friends in high school, but that ended when I moved out from Skierniewice. Ever since then my only contact with the instrument was through weekly orchestral rehearsals, some practice in between those, and occasional concerts. And when I moved out from Poland in 2008, I left my violin there and did not play since then.&lt;/p&gt;
&lt;p&gt;Having an electric instrument was always a dream. I enjoyed listening to &lt;a href="http://www.ponty.com/" target="_blank" rel="noreferrer"&gt;Jean-Luc Ponty’s&lt;/a&gt; old albums, I was&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; a big fan of &lt;a href="http://www.myspace.com/matmaneri" target="_blank" rel="noreferrer"&gt;Mat Maneri’s&lt;/a&gt; avant-garde free jazz, and of course I loved (and still love) the very best jazz violinist of all time, &lt;a href="http://en.wikipedia.org/wiki/St%C3%A9phane_Grappelli" target="_blank" rel="noreferrer"&gt;Stéphane Grappelli&lt;/a&gt;&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;. At some point a very good friend of mine (whom I spent many years in a couple of orchestras with) bought herself a &lt;a href="http://www.fender.com/en-PL/products/search.php?partno=0950030232" target="_blank" rel="noreferrer"&gt;Fender electric violin&lt;/a&gt;, I even had a chance to play them, but did not think of buying an electric instrument for myself back then.&lt;/p&gt;
&lt;p&gt;Why have I stopped playing violin after so many years of practice? I guess the main reason was I did not have much time, and I no longer had an orchestra or any other kind of band I could play with. Also, at some point playing violin became a very frustrating experience. Not necessarily because my technical abilities worsened, I feel I’m more or less at the same level of playing technique as I was a couple of years ago, but because my expectations significantly outgrew what I was able to play. I kept listening to a lot of records, and each time I tried playing a piece, I was so disappointed by how bad my performance is that I simply hid the instrument back in the case and played some CDs instead. ‘I am not a professional musician’, I would tell myself, ‘it’s not my job, I shouldn’t be wasting my time on this.’&lt;/p&gt;
&lt;p&gt;Then during one of my visits to Groningen, I met Karolina’s friend Tim. Karolina is a cello player&lt;sup id="fnref:4"&gt;&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref"&gt;4&lt;/a&gt;&lt;/sup&gt;, and Tim sometimes plays oboe. Every second weekend or so, they meet at one’s apartment and play music. (Karolina, Tim, if you’re reading this, please skip this paragraph.) Neither is a professional musician, and, seriously speaking, neither plays good. They’re often out of tune, they miss some bars every now and then, and they make a number of other mistakes. Still, their performances are what I’d call &lt;em&gt;decent&lt;/em&gt;, or what my friend Erik would probably call &lt;em&gt;adequate&lt;/em&gt;. While listening to them I realized it doesn’t really matter if they don’t play like pros, because playing music together and having &lt;em&gt;live&lt;/em&gt; music at home is simply an &lt;em&gt;enormous&lt;/em&gt; joy. I also realized I miss that. I wanted to go back in the game, wanted to go back to playing music.&lt;/p&gt;
&lt;p&gt;There was a problem with an instrument though. Of course I had my old violin back at my parents’ house in Poland, but the instrument was in bad shape (years of neglect) and it actually never was particularly good. One could say that you don’t really need a great instrument if you’re a crappy musician, and that’s one way of looking at it, but then again a bad instrument doesn’t really help if you’re having difficulties playing harmonics or double stops. And then I also recalled that I always dreamed of having an electric violin. I checked the balance of my savings account, looked at how cheap the euro is, went on to &lt;a href="http://thomann.de" target="_blank" rel="noreferrer"&gt;http://thomann.de&lt;/a&gt;, ordered a &lt;a href="http://no.yamaha.com/no/products/musical-instruments/strings/silentviolins/sv_200/?mode=model" target="_blank" rel="noreferrer"&gt;Yamaha SV-200 silent electric violin&lt;/a&gt;, a carbon bow, a good rosin, a decent (or adequate) &lt;a href="http://www.kunrest.com/" target="_blank" rel="noreferrer"&gt;shoulder rest&lt;/a&gt;, and a &lt;a href="http://www.jakob-winter.de/" target="_blank" rel="noreferrer"&gt;lightweight case&lt;/a&gt;, pressed ‘buy’ and waited.&lt;/p&gt;
&lt;p&gt;Before I tell you how the whole setup feels and sounds, let my give a few words of justification: why this violin and not other?&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First off, a &lt;em&gt;silent&lt;/em&gt; violin allows me to practice technically
whenever I want. While unplugged from an amplifier the instrument
produces a hardly audible sound, unnoticeable to anyone in another
room, allowing me to play late at night using headphones.&lt;/li&gt;
&lt;li&gt;Secondly, this instrument has a line-out socket, which makes
recording multiple parts of a string quartet possible without the
need of an expensive microphone (cheap mics + violin = the sound of
slaughtering a cat). I always wanted to play Shostakovich’s 1st
string quartet, but never had a quartet to play it with. This is no
longer a problem.&lt;/li&gt;
&lt;li&gt;The SV-200 can sound any way I want. If I’m practicing Wieniawski’s
caprices, I can make it sound like an ordinary acoustic violin. If I
want to imitate Ponty, it produces a full-blown 70s fusion sound.&lt;/li&gt;
&lt;li&gt;And finally, some practical considerations. It seems it’s much more
difficult to damage this instrument than an acoustic violin. It’s
less fragile and less sensitive to temperature or humidity.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So now, how does it feel? A bit weird. The fingerboard seems to be a tad &lt;em&gt;shorter&lt;/em&gt; than on my acoustic violin. The strings (D’Addario Zyex) seem to be easier to press (the difference is not as big as between an acoustic guitar and an electric one, but still), and of course the sound highly depends on the amplifier. The instrument doesn’t feel at all heavier than an acoustic violin, although according to technical specs it is ~100 grams heavier. I haven’t used a Kun shoulder rest before, but it seems to be better than my old Wolf Forte Secondo. The strings I’ll probably need to replace, I don’t like the sound. In fact I plan on buying a set of Dominants and some Pirastro, and compare which one sounds better. Also, I’ve tested recording a couple of minutes into Garage Band, and it sounded pretty good.&lt;/p&gt;
&lt;p&gt;But most important of all, I played some parts of The Four Seasons together with Karolina today. We played together for the first time in many years. It was by all measures musically terrible. But it was an awful lot of fun, too.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;I suppose calling what we played &lt;em&gt;jazz&lt;/em&gt; is a bit of an insult to any serious jazz musician, but that’s how we thought about it back then.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;It’s not that I don’t like his music anymore, but I guess I wouldn’t consider myself a fan.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;Now that I think about it, I’m not sure if Grappelli ever played an electric violin. Still, his violin sounded electric enough on some records.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:4"&gt;
&lt;p&gt;She’s as amateurish as I am. In fact, we met in the &lt;em&gt;1st stage&lt;/em&gt; music school in my hometown, and played in an orchestra together — me as the 1st violin, she as 1st cello. Doesn’t get any more romantic and cheesy than this.&amp;#160;&lt;a href="#fnref:4" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Disabling a minor mode</title><link>https://piotr.is/2012/disabling-minor-mode/</link><pubDate>Tue, 17 Jan 2012 00:00:00 +0000</pubDate><guid>https://piotr.is/2012/disabling-minor-mode/</guid><description>&lt;p&gt;I like &lt;code&gt;auto-fill-mode&lt;/code&gt; and even have it customized for &lt;code&gt;LaTeX-mode&lt;/code&gt; in my Emacs configuration. However, while working with other people via a distributed version control system, like I do with my friends, &lt;code&gt;auto-fill-mode&lt;/code&gt; can be a real pain if not everyone uses it. Whenever the ones that do commit any code, others are annoyed because it’s difficult to see the changes in the diff file, since &lt;code&gt;auto-fill-mode&lt;/code&gt; reformats paragraphs (hence producing ‘more’ changes).&lt;/p&gt;
&lt;p&gt;The most straightforward solution is to put some local variables into the file, like &lt;code&gt;(auto-fill-mode -1)&lt;/code&gt;, but today at StackOverflow I saw &lt;a href="http://stackoverflow.com/questions/6669373/disabling-auto-fill-mode-on-a-per-file-not-filetype-basis" target="_blank" rel="noreferrer"&gt;a much neater solution&lt;/a&gt;: one can put a function that searches for a specific string inside a file and sets minor-modes accordingly. So now there’s a &lt;em&gt;coauthors search&lt;/em&gt; function in my &lt;code&gt;.emacs&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-lisp" data-lang="lisp"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;; auto-fill is enabled for TeX...&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;add-hook&lt;/span&gt; &lt;span class="ss"&gt;&amp;#39;LaTeX-mode-hook&lt;/span&gt; &lt;span class="ss"&gt;&amp;#39;turn-on-auto-fill&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;; ...unless I work with the gang&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;defun&lt;/span&gt; &lt;span class="nv"&gt;my-auto-fill-disabling-hook&lt;/span&gt; &lt;span class="p"&gt;()&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="s"&gt;&amp;#34;Check to see if we should disable autofill.&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;save-excursion&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;when&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;or&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;re-search-forward&lt;/span&gt; &lt;span class="s"&gt;&amp;#34;truls&amp;#34;&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt; &lt;span class="no"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;re-search-forward&lt;/span&gt; &lt;span class="s"&gt;&amp;#34;sjur&amp;#34;&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt; &lt;span class="no"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;re-search-forward&lt;/span&gt; &lt;span class="s"&gt;&amp;#34;erik&amp;#34;&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt; &lt;span class="no"&gt;t&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;auto-fill-mode&lt;/span&gt; &lt;span class="mi"&gt;-1&lt;/span&gt;&lt;span class="p"&gt;))))&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;add-hook&lt;/span&gt; &lt;span class="ss"&gt;&amp;#39;find-file-hooks&lt;/span&gt; &lt;span class="ss"&gt;&amp;#39;my-auto-fill-disabling-hook&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>A eulogy for Maemo/MeeGo</title><link>https://piotr.is/2011/a-eulogy-for-maemo/meego/</link><pubDate>Mon, 24 Oct 2011 00:00:00 +0000</pubDate><guid>https://piotr.is/2011/a-eulogy-for-maemo/meego/</guid><description>&lt;p&gt;A long, long time ago, when I was still very enthusiastic about desktop linux and free software in general, an idea of a linux-based cellphone or a &amp;lsquo;palmtop&amp;rsquo;, as they were called back in the day, was something the FLOSS community dreamed of. There were numerous software and hardware projects (does anyone still remember &lt;a href="http://en.wikipedia.org/wiki/Openmoko" target="_blank" rel="noreferrer"&gt;OpenMoko&lt;/a&gt;?), and one of them, &lt;a href="http://www.android.com/" target="_blank" rel="noreferrer"&gt;Android&lt;/a&gt;, was acquired by Google in 2005, and later became one of the most popular operating systems for mobile devices in the world.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;I never liked Android. Not because I didn&amp;rsquo;t like the interface or the phones, or the logo, or Google &amp;ndash; no. I didn&amp;rsquo;t like Android because it was a fork of the linux kernel and a linux distribution that didn&amp;rsquo;t (and from what I know still doesn&amp;rsquo;t) support the full set of standard GNU libraries or X window system.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; And because there was a much &lt;em&gt;better&lt;/em&gt; alternative developed by some Gnome project programmers and Nokia, called &lt;a href="http://maemo.org/" target="_blank" rel="noreferrer"&gt;Maemo&lt;/a&gt;, that already in 2005 provided a nice touch-based interface, supported many well-established linux technologies (X.org, Gtk+, ESD, etc.), and was actually used by a device you could buy, namely Nokia&amp;rsquo;s &lt;a href="http://en.wikipedia.org/wiki/Nokia_770_Internet_Tablet" target="_blank" rel="noreferrer"&gt;N770 Internet Tablet&lt;/a&gt;. Granted, it wasn&amp;rsquo;t a phone, but the software was mature compared to Android at that time (first Android devices available to the public were offered in late 2008), and was much more hacker-friendly and linux-friendly. It was easy for desktop linux programmers to integrate their apps with Maemo and to write Maemo software. At least that&amp;rsquo;s the way I thought about it back in 2006.&lt;/p&gt;
&lt;p&gt;In 2009 Nokia released the first smartphone that ran Maemo &amp;ndash; the &lt;a href="http://en.wikipedia.org/wiki/Nokia_N900" target="_blank" rel="noreferrer"&gt;N900&lt;/a&gt;. But that was 2009, and Android already had an established user base, and new Android phones were released every couple of months. I&amp;rsquo;ve seen many N900 phones at FOSDEM in 2010, free software hackers really loved them. I remember everyone being excited about the potential Maemo had, but people also seemed to begin to realize that the battle was lost. Nokia was late, Android was good (or good enough) and popular, and the N900 remained a smartphone good for hackers and hackers only.&lt;/p&gt;
&lt;p&gt;However, in February 2010 Nokia&amp;rsquo;s Maemo and Intel&amp;rsquo;s Moblin &lt;a href="http://www.techradar.com/news/phone-and-communications/mobile-phones/intel-and-nokia-merge-moblin-and-maemo-to-form-meego-670302" target="_blank" rel="noreferrer"&gt;merged&lt;/a&gt;, creating &lt;a href="https://meego.com/" target="_blank" rel="noreferrer"&gt;MeeGo&lt;/a&gt;&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;, and then in June Nokia &lt;a href="http://www.reuters.com/article/2010/06/24/nokia-idUSLDE65N14720100624" target="_blank" rel="noreferrer"&gt;announced&lt;/a&gt; that all its smartphones will run MeeGo. There was hope, but not for long. In February 2011 Nokia &lt;a href="http://www.bbc.co.uk/news/business-12427680" target="_blank" rel="noreferrer"&gt;changed its mind&lt;/a&gt;, and decided to team up with Microsoft, and have its new smartphones run the new Windows Phone 7.&lt;/p&gt;
&lt;p&gt;It therefore saddens me to read the &lt;a href="http://www.engadget.com/2011/10/22/nokia-n9-review/" target="_blank" rel="noreferrer"&gt;review&lt;/a&gt; of the latest MeeGo-based smartphone, the fantastic N9. It seems like a terrific device, both hardware- and software-wise. Engadget sums the software up in the following way:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;MeeGo 1.2 &lt;a href="http://www.engadget.com/tag/Harmattan/" target="_blank" rel="noreferrer"&gt;Harmattan&lt;/a&gt; is such
a breath of fresh air it will leave you gasping &amp;ndash; that is, until you
remember that you&amp;rsquo;re dealing with a dead man walking. It&amp;rsquo;s impossible
to dismiss what&amp;rsquo;s been achieved here &amp;ndash; a thoroughly modern, elegant,
linux-based OS with inspired design that&amp;rsquo;s simple and intuitive to
use, all developed in house by Nokia.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;That&amp;rsquo;s exactly how things are with N9: it&amp;rsquo;s awesome in so many ways, but so fundamentally flawed because it&amp;rsquo;s a dead platform. Dead to most people, that is, because hackers will definitely find ways to upgrade the software, they&amp;rsquo;ll write apps if they need to, and will be happy to use the wonderful hardware that N9 features. The rest probably won&amp;rsquo;t even notice such a phone existed, because Nokia said it will not release the N9 in US, UK, Japan, Germany or Canada.&lt;/p&gt;
&lt;p&gt;And I will shed a tear, because what seems to be the most innovative and fresh mobile platform today is being buried alive. And why? Probably even people at Nokia do not know.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://news.ycombinator.com/item?id=3162429" target="_blank" rel="noreferrer"&gt;Discussion on HackerNews&lt;/a&gt;.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Actually Canalyst &lt;a href="http://www.canalys.com/newsroom/google%E2%80%99s-android-becomes-world%E2%80%99s-leading-smart-phone-platform" target="_blank" rel="noreferrer"&gt;reported&lt;/a&gt; that right now (October 2011) Android is the best selling operating system for smartphones.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;I don&amp;rsquo;t think it&amp;rsquo;s necessarily a good thing for an operating system for smartphones to support all that any more. But in 2005 things looked a bit different.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;It&amp;rsquo;s easy to get lost. Now MeeGo merged with some other projects and became &lt;a href="https://www.tizen.org/" target="_blank" rel="noreferrer"&gt;Tizen&lt;/a&gt;.&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Macbook Pro After 6 Months</title><link>https://piotr.is/2011/macbook-pro-after-6-months/</link><pubDate>Thu, 17 Mar 2011 00:00:00 +0000</pubDate><guid>https://piotr.is/2011/macbook-pro-after-6-months/</guid><description>&lt;p&gt;Some readers of this blog probably know that for a very long time (ca. 1998&amp;ndash;
2010) I&amp;rsquo;ve been a devout linux user. I&amp;rsquo;ve been using this system exclusively on
all the computers until the Fall last year, when I decided to give Macbook Pro
a try (mainly for hardware-related
&lt;a href="https://piotr.is/2010/08/07/growing-linux-frustration/"&gt;reasons&lt;/a&gt;). I&amp;rsquo;ve written about it
a &lt;a href="https://piotr.is/2010/09/26/confessions-of-a-linux-to-mac-convert-week-1/"&gt;couple&lt;/a&gt; of
&lt;a href="https://piotr.is/2010/10/10/confessions-of-a-linux-to-mac-convert-%e2%80%94-week-3/"&gt;times&lt;/a&gt;
already, but it&amp;rsquo;s still a subject I keep thinking about, and about which I&amp;rsquo;m
being asked by my friends constantly. &amp;lsquo;Why have you bought a Mac?&amp;rsquo;, they ask,
&amp;lsquo;how is it any better? Don&amp;rsquo;t you miss &lt;em&gt;freedom?&lt;/em&gt; Don&amp;rsquo;t you miss Gnome?&amp;rsquo;&lt;/p&gt;
&lt;p&gt;Yes and no. But let me elaborate on that.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(This is a rather long post, so if you&amp;rsquo;re not interested in the topic or
simply don&amp;rsquo;t want to read the same old rants over and over again, let me offer
you a one-sentence wrap-up of what&amp;rsquo;s written here: Linux is cool, Mac is
uncool, but then again Mac is also cool or even cooler.)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I miss the &lt;em&gt;freedom of choice&lt;/em&gt; I love so much. When you&amp;rsquo;re running
&lt;a href="http://www.ubuntu.com" target="_blank" rel="noreferrer"&gt;Ubuntu&lt;/a&gt; or &lt;a href="http://www.fedoraproject.org" target="_blank" rel="noreferrer"&gt;Fedora&lt;/a&gt;, or
any other linux distro for that matter, and you&amp;rsquo;re annoyed/bored by your
current graphical interface, you can just switch it to something else. Don&amp;rsquo;t
like &lt;a href="http://www.gnome.org" target="_blank" rel="noreferrer"&gt;Gnome&lt;/a&gt;? Give &lt;a href="http://www.kde.org" target="_blank" rel="noreferrer"&gt;KDE&lt;/a&gt; a try.
Don&amp;rsquo;t like either? Go for &lt;a href="http://lxde.org/" target="_blank" rel="noreferrer"&gt;LXDE&lt;/a&gt;,
&lt;a href="http://openbox.org/" target="_blank" rel="noreferrer"&gt;Openbox&lt;/a&gt;, &lt;a href="http://fluxbox.org/" target="_blank" rel="noreferrer"&gt;Fluxbox&lt;/a&gt;,
&lt;a href="http://windowmaker.org/" target="_blank" rel="noreferrer"&gt;WindowMaker&lt;/a&gt;, &lt;a href="http://www.xfce.org/" target="_blank" rel="noreferrer"&gt;Xfce&lt;/a&gt;,
&lt;a href="http://www.enlightenment.org" target="_blank" rel="noreferrer"&gt;Enlightenment&lt;/a&gt;, &lt;a href="http://www.fvwm.org/" target="_blank" rel="noreferrer"&gt;FVWM&lt;/a&gt;,
&lt;a href="http://awesome.naquadah.org/" target="_blank" rel="noreferrer"&gt;Awesome&lt;/a&gt;, &lt;a href="http://xmonad.org/" target="_blank" rel="noreferrer"&gt;Xmonad&lt;/a&gt; &amp;ndash; you
name it! I know that tweaking and playing with your computer&amp;rsquo;s operating
system kills productivity, but that&amp;rsquo;s just the way I am: I like to be able to
change things a bit. Here on Mac OS X it&amp;rsquo;s either the Apple way, or the
highway.&lt;/p&gt;
&lt;p&gt;Furthermore, it seems like I&amp;rsquo;m a man of habits, and I can&amp;rsquo;t get used to some
OS X-specific features. For example, the distinction between applications and
windows. Let me tell you how this works: in OS X, if you&amp;rsquo;re running Mail.app
(a default e-mail client) and you&amp;rsquo;re having the main program window open plus
you&amp;rsquo;re composing a new email (that&amp;rsquo;s another window), you can&amp;rsquo;t switch between
these two with Cmd+Tab keyboard shortcut. Cmd+Tab will switch you to another
application you&amp;rsquo;re running, for example Firefox. If you want to switch between
windows within the same application, you need to press Cmd+`, and there&amp;rsquo;s no
way around it. You can&amp;rsquo;t disable it, you can&amp;rsquo;t force OS X to cycle through all
the windows of all the apps with Cmd+Tab. I understand some rationale behind
the distinction, I sort of see the point, but&amp;hellip; I hate it. If I&amp;rsquo;m writing
this post in Firefox now, and I want to switch to another window which is
within another application and it&amp;rsquo;s not in the foreground, I need to first
Cmd+Tab and then Cmd+`. In Gnome or KDE it&amp;rsquo;s just one shortcut. Also, if you
minimize a window with Cmd+M, you cannot switch to it either with Cmd+Tab or
Cmd+`, you have to click on it&amp;rsquo;s minimized icon in the Dock, or invoke
&lt;a href="http://en.wikipedia.org/wiki/Expos%C3%A9_%28Mac_OS_X%29" target="_blank" rel="noreferrer"&gt;Exposé&lt;/a&gt;. It may be clean
in terms of design and logic, but it&amp;rsquo;s all just terribly impractical.&lt;/p&gt;
&lt;p&gt;Ok, let&amp;rsquo;s get to the hardware now. The aluminium unibody Macbook Pro is
incredible. It&amp;rsquo;s sturdy, lightweight, compact, beautiful and absolutely
noiseless (unless you&amp;rsquo;re playing Half-Life 2, but then it doesn&amp;rsquo;t really
matter because the noise coming from your shotgun drowns all the other
sounds). It has a fantastic backlit keyboard, and its screen produces a crisp,
vivid image. But: the super-duper-magic-buttonless touchpad is just bad.&lt;/p&gt;
&lt;p&gt;Some features of the touchpad are actually nice. It&amp;rsquo;s nice that it&amp;rsquo;s so big,
and I like the inertial scrolling. But it&amp;rsquo;s imprecise, way less precise than a
proper &lt;a href="http://en.wikipedia.org/wiki/Pointing_stick" target="_blank" rel="noreferrer"&gt;trackpoint&lt;/a&gt;. Also, I
don&amp;rsquo;t usually use the gestures, which are so &lt;em&gt;revolutionary&lt;/em&gt;. They&amp;rsquo;re neat if
you want to show off to some friends who don&amp;rsquo;t have a Macbook, but in daily
use I find them&amp;hellip; difficult to perform. Perhaps it&amp;rsquo;s just something wrong
with my hands, or my fingers &amp;ndash; I don&amp;rsquo;t know. It&amp;rsquo;s just not comfortable. It&amp;rsquo;s
funny that what I was initially afraid of hardware-wise was the super glossy
screen, but I actually got used to it. But not the touchpad.&lt;/p&gt;
&lt;p&gt;And it would be even ok if the touchpad sucked &amp;ndash; they all do &amp;ndash; if OS X was
better suited for keyboard control, but it&amp;rsquo;s not. Many, many things require
mouse usage. You can&amp;rsquo;t open up a terminal and do an &lt;code&gt;apt-get update &amp;amp;&amp;amp; apt-get dist-upgrade&lt;/code&gt;. You can update your Macports from the terminal, but any other
updates you want to perform (via OS X&amp;rsquo;s internal system&amp;rsquo;s update mechanism or
via the Mac App Store) require a mouse. Finder (a file manager and a shell for
OS X user interface) is ok, but again &amp;ndash; you have to click everything, you
can&amp;rsquo;t use the keyboard for most tasks (or at least I don&amp;rsquo;t find it as
comfortable as moving around the filesystem using Gnome&amp;rsquo;s Nautilus). There is
no built-in interface that allows you to run an arbitrary command in OS X,
like Alt+F2 that invokes a &amp;ldquo;Run program&amp;rdquo; window in Gnome/KDE. Sure, there are
great 3rd party apps like &lt;a href="http://qsapp.com/" target="_blank" rel="noreferrer"&gt;Quicksilver&lt;/a&gt;,
&lt;a href="http://www.obdev.at/products/launchbar/index.html" target="_blank" rel="noreferrer"&gt;Launchbar&lt;/a&gt; or
&lt;a href="http://www.alfredapp.com/" target="_blank" rel="noreferrer"&gt;Alfred&lt;/a&gt;, but only Quicksilver is free, and its
development is rather stagnant (maybe not when compared to &lt;a href="http://do.davebsd.com/" target="_blank" rel="noreferrer"&gt;Gnome-Do&lt;/a&gt;, but definitely when compared to
&lt;a href="http://userbase.kde.org/Plasma/Krunner" target="_blank" rel="noreferrer"&gt;Krunner&lt;/a&gt;). Managing windows sucks.
&lt;a href="https://piotr.is/2011/01/31/sizeup/"&gt;There&amp;rsquo;s no way to maximize a window with a keyboard shortcut other than using
a 3rd party application&lt;/a&gt;.
Keyboard shortcuts are sometimes inconsistent amongst even standard apps that
Apple ships with OS X, for example I&amp;rsquo;m never sure whether it&amp;rsquo;s Cmd+F or
Cmd+Shift+F that I should hit to enter fullscreen mode. Oh and one last thing:
in Gnome I can Alt+click any window in its arbitrary point, and then move it.
This is very, very useful, and you can&amp;rsquo;t do it under OS X.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s not all that bad, obviously. The biggest strength of the Mac is the way
the apps are integrated. You can drag and drop everything into/onto anything.
OS X is also very fast compared to Ubuntu+Gnome on a similar (or even
faster&amp;hellip;) hardware. Apple of course makes some other devices than computers
these days (well who knew, huh?) and if you happen to have one of those,
you&amp;rsquo;re living in an ecosystem where everything stays in sync. Your email (and
not only Gmail-based), your contacts, your photos, music, videos, calendars
(and not only Google Calendar!), notes, todos, and what have you. The iPhone
can be a remote for your iTunes, and it can also be a remote for your
presentation if you&amp;rsquo;re using &lt;a href="http://www.apple.com/iwork/keynote/" target="_blank" rel="noreferrer"&gt;Keynote&lt;/a&gt;.
It&amp;rsquo;s being constantly backed-up every time you sync it.&lt;/p&gt;
&lt;p&gt;Another enormous advantage over the FOSS world here are the applications
themselves. Sure, I&amp;rsquo;m just a PhD student and not a graphics designer, and it&amp;rsquo;s
true that most of the time I use free tools available for both platforms, such
as Emacs, TeX, &lt;a href="http://www.mendeley.com/" target="_blank" rel="noreferrer"&gt;Mendeley&lt;/a&gt;, Firefox, etc. But if you
like photography, then no matter how amateur your skills are you will probably
prefer using iPhoto rather than any photo management program for linux. Be it
&lt;a href="http://f-spot.org/" target="_blank" rel="noreferrer"&gt;F-spot&lt;/a&gt;, &lt;a href="http://www.digikam.org/" target="_blank" rel="noreferrer"&gt;Digikam&lt;/a&gt; or
&lt;a href="http://yorba.org/shotwell/" target="_blank" rel="noreferrer"&gt;Shotwell&lt;/a&gt;, they&amp;rsquo;re no match for
&lt;a href="http://www.apple.com/ilife/iphoto/" target="_blank" rel="noreferrer"&gt;iPhoto&lt;/a&gt;. And there really isn&amp;rsquo;t any app
available for linux you could compare to
&lt;a href="http://www.apple.com/aperture/" target="_blank" rel="noreferrer"&gt;Aperture&lt;/a&gt; or &lt;a href="http://www.adobe.com/products/photoshoplightroom/" target="_blank" rel="noreferrer"&gt;Adobe Lightroom&lt;/a&gt;. It&amp;rsquo;s not all
about graphics-related software, there are tons of great productivity apps,
like &lt;a href="http://culturedcode.com/things/" target="_blank" rel="noreferrer"&gt;Things&lt;/a&gt;. And if you hate OpenOffice as
much as I do, you will definitely appreciate the speed, polish and overall
neatness of &lt;a href="http://www.apple.com/iwork/" target="_blank" rel="noreferrer"&gt;iWork&lt;/a&gt; (which is very, very cheap
these days). The App Store has a terrible interface, but it&amp;rsquo;s very easy to buy
programs using it, and most of these programs are cheap and good (quite often
they&amp;rsquo;re brilliant). And in contrast to linux there are even games available
for Macs. I know, there aren&amp;rsquo;t many, but then again compared to the linux
market I feel overwhelmed (not that I buy or play any of these games, but the
sole possibility of buying and downloading CoD feels good). It&amp;rsquo;s also funny
that some of the free apps I know from linux actually run better on a Mac.
Mendeley is more stable here. LyX is faster (probably due to better 2D
graphics support).&lt;/p&gt;
&lt;p&gt;And finally, OS X is stable like hell. Ok, this may not be the best
comparison, but let&amp;rsquo;s just say it&amp;rsquo;s very stable. I reboot it only when I
travel by plane, because I&amp;rsquo;m a very paranoid and obedient person, and when the
flight attendant asks to switch all electronic equipment off, I do actually
switch my Macbook &lt;em&gt;off&lt;/em&gt;. Other than that, it&amp;rsquo;s always on or suspended, or
hibernated, or whatever. I don&amp;rsquo;t care about the uptime, and I&amp;rsquo;m never worried
about any system crashes or colorful artifacts on my screen after I open up
the display lid. Ubuntu 10.04 I&amp;rsquo;m using on my now-office-based HP EliteBook is
generally also stable, but it likes to crash every now and then, especially
after resume. My previous laptop, Dell Latitude D430 liked to crash as well,
especially with the newer versions of Ubuntu. And my Thinkpad T40 was, how to
put it, un-suspendable. I always had to shut it down if I wanted to close the
lid, and then boot it up again.&lt;/p&gt;
&lt;p&gt;Ok, so why have I written it all down in such a lengthy post?&lt;/p&gt;
&lt;p&gt;First and foremost to show to my dear friends at the Dept. of Computer
Engineering, that I&amp;rsquo;m not yet as much of an Apple fan boy as, for example, my
supervisor is.&lt;/p&gt;
&lt;p&gt;Secondly, I wanted to put my thoughts in order, and blogging works miracles for
me in this manner. You see, for me being part of the whole FOSS community was
an important part of my life. The decision of going to Eplehuset, entering my
PIN, confirming and leaving with a white paper box wasn&amp;rsquo;t an easy one. When I
came back home I felt pretty sad, no excitement about the new hardware
whatsoever (that is of course until I finally unpacked it). It took me a couple
of months to convince myself that this was the right decision, and I had to
share this with everyone who reads my blog, because (a) that&amp;rsquo;s the way I am and
(b) because &lt;em&gt;what is written is properly confirmed in existence&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;And finally, I wrote this post as a last of the &lt;em&gt;I bought a Mac, look how
(un)cool it is&lt;/em&gt; series. There will be no posts about these matters, and I
don&amp;rsquo;t want to hear any more questions about it. Cheers.&lt;/p&gt;</description></item><item><title>In Defense Of The PhD</title><link>https://piotr.is/2011/in-defense-of-the-phd/</link><pubDate>Sun, 09 Jan 2011 00:00:00 +0000</pubDate><guid>https://piotr.is/2011/in-defense-of-the-phd/</guid><description>&lt;p&gt;Recently there&amp;rsquo;s been a lively discussion on why do people pursue PhD studies, is it good (for them and for the society), is it optimal (for the society and for the universities), and so on. The whole topic is by no means new, but since The Economist&amp;rsquo;s &lt;a href="http://www.economist.com/node/17723223" target="_blank" rel="noreferrer"&gt;recent publication&lt;/a&gt;, &lt;a href="http://pipeline.corante.com/archives/2011/01/07/the_phd_problem.php" target="_blank" rel="noreferrer"&gt;other&lt;/a&gt; &lt;a href="https://twitter.com/irowan/status/23506930576138240" target="_blank" rel="noreferrer"&gt;people&lt;/a&gt; expressed their opinions.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m 25, I&amp;rsquo;m a full-time PhD student, and I&amp;rsquo;d like to put in my oar now.&lt;/p&gt;
&lt;p&gt;First off, while The Economist&amp;rsquo;s article has a number of valid points, it&amp;rsquo;s very US- and UK-centric. Even though the author refers to some case-studies outside the Anglo-Saxon world, like Germany, Slovakia or Belgium, some of its arguments do not apply at all to most European countries. For example:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;One thing many PhD students have in common is dissatisfaction. Some describe their work as “slave labour”. Seven-day weeks, ten-hour days, low pay and uncertain prospects are widespread. You know you are a graduate student, goes one quip, when your office is better decorated than your home and you have a favourite flavour of instant noodle. “It isn’t graduate school itself that is discouraging,” says one student, who confesses to rather enjoying the hunt for free pizza. “What’s discouraging is realising the end point has been yanked out of reach.”&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;We all read the &lt;a href="http://www.phdcomics.com/comics.php" target="_blank" rel="noreferrer"&gt;PhD Comics&lt;/a&gt; and we all hear about how many hours of coursework or admin-duties a typical US grad student has. I don&amp;rsquo;t know how does it look like in other countries, but in Norway, Denmark, Holland and Belgium this is definitely &lt;strong&gt;not&lt;/strong&gt; the case. At some Dutch universities, even if PhD students want to teach, they can&amp;rsquo;t do that (e.g. because there&amp;rsquo;s too many of them, or because they are considered underqualified, or whatever). My contract clearly states that I have to spend 25% of my time on teaching, and that&amp;rsquo;s exactly what I do. One quarter of my overall work time is not much, yet I still gain valuable teaching experience, so it&amp;rsquo;s a win-win. I know many of my friends who are PhD-students work as TAs for courses taught by their promoters, and that&amp;rsquo;s usually also not too much work. Apart from all that, a little bit of teaching looks good in your CV, especially if you want to apply for post-doc or other academic positions after finishing a PhD.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;There is an oversupply of PhDs. Although a doctorate is designed as training for a job in academia, the number of PhD positions is unrelated to the number of job openings.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There probably is an oversupply of PhDs in the US and in the UK, fair point, but there isn&amp;rsquo;t one in Norway, and as far as I know not in any of the Nordic countries. Maybe it&amp;rsquo;s a peculiar situation here, but then again I hear that there&amp;rsquo;s too many PhD students in The Netherlands, yet all of my friends who recently graduated managed to get post-doc positions in the same country (yes, in some cases it took a while, but still). So let&amp;rsquo;s talk about the subject that generates most controversy: money.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;But universities have discovered that PhD students are cheap, highly motivated and disposable labour. With more PhD students they can do more research, and in some countries more teaching, with less money. A graduate assistant at Yale might earn $20,000 a year for nine months of teaching. The average pay of full professors in America was $109,000 in 2009—higher than the average for judges and magistrates.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Again: US is not the whole world. I&amp;rsquo;m not going to quote numbers here, but a PhD student in Norway gets a very decent salary, even compared to industry salaries in technology sector. I&amp;rsquo;m not saying I earn more than a senior programmer at Google, but the money is more than good enough to rent a nice flat (not shared with anyone), eat out from time to time, travel virtually wherever I want and still being able to save some of my monthly pay. The article fails to understand a basic thing behind PhD students&amp;rsquo; motivations, though: we&amp;rsquo;re not after the money. If we were, we wouldn&amp;rsquo;t be studying philosophy, logic, theoretical computer science or quantum physics. We&amp;rsquo;d go for an MBA, law or something similar, only to end up working our asses off for McKinsey, Boston Consulting, E&amp;amp;Y or PWC. That is simply not our goal, and while many PhD candidates like to whine about how little cash they have, they either lie, or they simply shouldn&amp;rsquo;t be doing a PhD at all.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;One OECD study shows that five years after receiving their degrees, more
than 60% of PhDs in Slovakia and more than 45% in Belgium, the Czech Republic,
Germany and Spain were still on temporary contracts. Many were postdocs. About
one-third of Austria’s PhD graduates take jobs unrelated to their degrees. In
Germany 13% of all PhD graduates end up in lowly occupations. In the
Netherlands the proportion is 21%.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Right, but the OECD study doesn&amp;rsquo;t show how many people without a PhD are on
temporary contracts in Slovakia five years after receiving their degrees, be
it bachelor or master&amp;rsquo;s.&lt;/p&gt;
&lt;p&gt;A major thing the article fails to understand is that most PhD students pursue
an academic career for two reasons: because it&amp;rsquo;s their passion, and because
they don&amp;rsquo;t seem to be able/willing to do anything else. Take a philosophy
graduate for example, with a master&amp;rsquo;s thesis on German, late 18th century
idealism. This person has two choices: either he goes for a &lt;em&gt;lowly
occupation&lt;/em&gt;, as the OECD study puts it, or enroll in a PhD program. Statistics
suggests that our poor philosopher might still end up working for the man,
somewhere in a call center selling insurance to people who don&amp;rsquo;t want to buy
it, but going for a PhD is still better, because he can have 3-4 years of
joyful academic life and then try his luck getting a tenure track job after a
couple of years. Even if he fails, at least he tried.&lt;/p&gt;
&lt;p&gt;PhD students/graduates are usually lousy at finding jobs outside the
universities not because they have a PhD degree, but because they&amp;rsquo;re
&lt;em&gt;different&lt;/em&gt;. Normal people don&amp;rsquo;t study philosophy, and if they&amp;rsquo;re into
computer science, they don&amp;rsquo;t care whether P≠NP &amp;ndash; they just learn
Java, Objective-C, Python or whatever else they find useful for
becoming a successful software engineer.&lt;/p&gt;
&lt;p&gt;And then finally, there&amp;rsquo;s one last thing everyone seems not to understand:
once you finish your PhD, get done with the damn post-doc contract, and become
a tenure-track researcher, you&amp;rsquo;re in the best job there is. You&amp;rsquo;re doing what
you love, you have most of the time a flexible schedule, you supervise
master&amp;rsquo;s and/or PhD students, you go to conferences all over the world. You
write papers others comment on, and at some point you might even write a book
(or co-author one). How amazingly cool is that? Oh you&amp;rsquo;re saying I&amp;rsquo;m a
dreamer, and that simply never happens? Well what about those thousands of
internet start-up companies? They &lt;em&gt;waste&lt;/em&gt; their time as well, trying to become
another Facebook or another Google. Yet they still do it, because it&amp;rsquo;s their
dream to pursue.&lt;/p&gt;
&lt;p&gt;And so is academic career ours.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://news.ycombinator.com/item?id=2085629" target="_blank" rel="noreferrer"&gt;Discussion on HackerNews. &lt;/a&gt;&lt;/p&gt;</description></item><item><title>Why I Can't Stick To One Web Browser</title><link>https://piotr.is/2011/why-i-cant-stick-to-one-web-browser/</link><pubDate>Sun, 02 Jan 2011 00:00:00 +0000</pubDate><guid>https://piotr.is/2011/why-i-cant-stick-to-one-web-browser/</guid><description>&lt;p&gt;Because they &lt;strong&gt;all suck&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I think &lt;a href="http://www.opera.com" target="_blank" rel="noreferrer"&gt;Opera&lt;/a&gt; is my favorite browser. I&amp;rsquo;ve been using
it for many years, it&amp;rsquo;s fast, cross-platform, it was the first browser to
support tabs, [speed dial](&lt;a href="http://en.wikipedia.org/wiki/Features_of_the_Opera" target="_blank" rel="noreferrer"&gt;http://en.wikipedia.org/wiki/Features_of_the_Opera&lt;/a&gt;_
web_browser#Speed_Dial) (with keyboard shortcuts &amp;ndash; very useful!), and it&amp;rsquo;s
always easy to block an arbitrary item of a website with Opera. However, among
all the browser I&amp;rsquo;ve been using, Opera had problems with the biggest number of
websites. Be it banks, Google Picasaweb, or some other sites &amp;ndash; I can&amp;rsquo;t use
Opera as my only browser. It always needs a helper program to handle the sites
it doesn&amp;rsquo;t display properly, and that sucks. Especially that it&amp;rsquo;s always been
a problem with this browser, which, given its other fantastically well
designed features and its maturity as a software product (it&amp;rsquo;s been initially
released in 1996!), doesn&amp;rsquo;t stop to amaze (and sadden) me.&lt;/p&gt;
&lt;p&gt;Then there&amp;rsquo;s &lt;a href="http://www.mozilla.com/en-US/firefox/" target="_blank" rel="noreferrer"&gt;Firefox&lt;/a&gt;, which I&amp;rsquo;ve
first tried when it was still called
&lt;a href="http://en.wikipedia.org/wiki/History_of_Mozilla_Firefox#Naming" target="_blank" rel="noreferrer"&gt;Phoenix&lt;/a&gt;.
Firefox, upon its initial release, appealed to me because it was &amp;ldquo;like Opera,
but more compatible&amp;rdquo;. Unfortunately, even early Phoenix builds seemed slow and
bulky, and current versions are perhaps not as slow, but you can&amp;rsquo;t call them
&lt;em&gt;fast&lt;/em&gt; either. Another flaw of Mozilla&amp;rsquo;s flagship product is the variety of
versions, and incompatibility of extensions from version to version. It
happened to me many times, that after upgrading the package or the whole linux
distro I was using at a time, some or all of my extensions in &lt;code&gt;$HOME/.mozilla&lt;/code&gt;
stopped working and didn&amp;rsquo;t want to upgrade. After one of the upgrades, FF
didn&amp;rsquo;t even want to start, forcing me to erase all my personal settings, and,
in consequence, to stop using it.&lt;/p&gt;
&lt;p&gt;And then a couple of years ago the almighty Google released its Chromium-based
browser: &lt;a href="http://www.google.com/chrome" target="_blank" rel="noreferrer"&gt;Chrome&lt;/a&gt;. Chrome is cool, because it&amp;rsquo;s
fast, renders most websites properly, supports extensions, has something
similar to speed dial (although doesn&amp;rsquo;t support keyboard shortcuts, which is a
bad, bad thing), and it&amp;rsquo;s manufactured by Google, which makes it the trendiest
browser among geeks and hipsters. But jokes aside, Chrome really is a great
browser. The problem I&amp;rsquo;m having with Chrome it is that its tabs freeze quite
often. Or even if they don&amp;rsquo;t freeze, their behavior is very often&amp;hellip; erratic.
I can&amp;rsquo;t explain it any better, and I really can&amp;rsquo;t think of any other reason
not to like Chrome, but when I end up with 12 tabs that suddenly become
unresponsive, I&amp;rsquo;m mad.&lt;/p&gt;
&lt;p&gt;So then I can switch to Apple&amp;rsquo;s browser &amp;ndash;
&lt;a href="http://www.apple.com/safari" target="_blank" rel="noreferrer"&gt;Safari&lt;/a&gt;. I bought a Mac a couple of months ago,
and an iPhone&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; followed, so it&amp;rsquo;s kind of neat having all this
synchronization, speed and&amp;hellip; power efficiency (seriously, my Macbook Pro&amp;rsquo;s
power estimates rise significantly when I&amp;rsquo;m running on battery and I quit
Chrome and start Safari; seems quite reasonable to think that Safari is very
well optimized for Mac OSX). However, Safari doesn&amp;rsquo;t run on linux and it
probably never will, which is a major problem since I&amp;rsquo;m still using Ubuntu on
my office computer (and I&amp;rsquo;m not willing to stop it). Furthermore, there are
these small annoyances, like the fact that you can&amp;rsquo;t tell Safari to remember
tabs&amp;rsquo; contents from session to session, or that it doesn&amp;rsquo;t support keyword-
based search queries in the address bar (or at least I don&amp;rsquo;t know how to make
either of these features work). Oh, and when Safari crashes, or suddenly eats
all the CPU and memory, and I have to kill it, there&amp;rsquo;s no way to recover
anything from the lost session. And no dialog window asking if I want to
submit a crash report either. Weird. Then again
&lt;a href="http://www.quakelive.com" target="_blank" rel="noreferrer"&gt;Quakelive&lt;/a&gt; supports Safari, and that&amp;rsquo;s crucial for
my PhD.&lt;/p&gt;
&lt;p&gt;So here I am: a web-browser-hopper. Frustrated by flaws of one browser and
tempted by advantages of another one, I keep changing them every now and then.
And I sometimes wonder: why isn&amp;rsquo;t there one browser I could simply use all the
time? Or  is it something wrong with me?&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(I apologize my readers for more than 2 months of silence here; blogging is
about writing in regular units of time, but I was a little bit busy lately;
hopefully a hiatus that long will not happen again)&lt;/em&gt;&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;I was actually about to write a post about my iPhone acquisition and related topics, but I realized that writing about how awesome iPhone is would be kinda lame. I might still write something about it at some point, but not today.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Linux frustration</title><link>https://piotr.is/2010/linux-frustration/</link><pubDate>Sat, 07 Aug 2010 00:00:00 +0000</pubDate><guid>https://piotr.is/2010/linux-frustration/</guid><description>&lt;p&gt;I&amp;rsquo;ve already mentioned my linux-related laptop problems &lt;a href="https://piotr.is/2009/11/09/how-ive-stopped-being-a-desktop-linux-enthusiast/"&gt;some time ago&lt;/a&gt;. Some things changed since then. Canonical released a new version of Ubuntu, 10.04, which in my opinion is a huge improvement over 9.10, and I got a new laptop (kindly provided by &lt;a href="http://www.hib.no" target="_blank" rel="noreferrer"&gt;HiB&lt;/a&gt;), an &lt;a href="http://h10010.www1.hp.com/wwpc/no/no/sm/WF25a/321957-321957-64295-3955549-3955549-3688868.html" target="_blank" rel="noreferrer"&gt;HP EliteBook 6930p&lt;/a&gt;. Old problems are gone, but new have arisen.&lt;/p&gt;
&lt;p&gt;At first it all seemed ok. I&amp;rsquo;ve installed Ubuntu 10.04 and didn&amp;rsquo;t have to tweak anything. Wireless, bluetooth, suspend/resume &amp;ndash; all worked automagically. Except graphics.&lt;/p&gt;
&lt;p&gt;My laptop has a built-in Intel 4500 graphics board. Most of the time it works fine, hardware acceleration and dual-display mode included. It&amp;rsquo;s also quite fast for my needs &amp;ndash; flash videos work with no frame-dropping, HD films as well, and Quakelive works smoothly (the last one especially relevant to my research). But from time to time, completely randomly, weird annoying things happen.&lt;/p&gt;
&lt;p&gt;First weird annoying thing is the Non Existing Display problem (which we shall henceforth refer to as NED). It goes like this: I power on the machine, the kernel boots, plymouth loads, and the GDM screen&amp;hellip; well, it also loads, because I can hear the bongos, but it&amp;rsquo;t not visible. The thing is, GDM login window is being displayed on the NED. If I simply press enter and put my password, it will log me in, and in most cases I will see my desktop. If not, I can use Gnome-Do to evoke the display configuration panel. Once it opens, the screen usually flickers and realizes that there&amp;rsquo;s only one display connected, or, ontologically speaking, that the NED indeed does &lt;strong&gt;not&lt;/strong&gt; exist (as the name clearly suggests). If it can&amp;rsquo;t realize the obvious truth immediately, it will do it after a couple of clicks in the display configuration panel. If not after a couple, then after a couple more, but anyway after some time the display works correctly. That doesn&amp;rsquo;t mean Ubuntu won&amp;rsquo;t have any doubts as to the NED&amp;rsquo;s ontological status anymore, and that&amp;rsquo;s the most annoying part.&lt;/p&gt;
&lt;p&gt;The second weird annoying thing is the Proper Resolution Holding problem (which we shall henceforth refer to as PRH). Imagine a situation like this: you have your Emacs open and you&amp;rsquo;re working on some non-trivial piece of code. As any programmer will tell you, this requires utmost concentration. I often have situations like this, perhaps even more often than other people, because most programming problems are non-trivial for me, since I&amp;rsquo;m a bad programmer. Anyway, I have my Emacs open, and I&amp;rsquo;m thinking deeply about some problem. If I keep thinking for more than 9:59 without touching the mouse/keyboard, e.g. reading the algorithm description from a printed article, the screensaver will go on. And then &lt;em&gt;&lt;strong&gt;boom!&lt;/strong&gt;&lt;/em&gt;, the displays go crazy. Oh right, did I mention I&amp;rsquo;m using dual display configuration? I guess I didn&amp;rsquo;t, but I don&amp;rsquo;t think having an external display connected to your laptop is something fancy in 2010. Anyway, when the screensaver wants to switch on, X.Org turns the &lt;em&gt;mirroring mode&lt;/em&gt; for my displays, and sets 1024x768 resolution on both screens. Unfortunately, the only way to solve this situation is to save any work I have, switch to a virtual console 1 with Alt+F1, execute &lt;code&gt;sudo service gdm restart&lt;/code&gt; and hope for the best.&lt;/p&gt;
&lt;p&gt;Display problems occur randomly while trying to change laptop screen&amp;rsquo;s brightness too. And of course after resuming from suspend, but thankfully this happens really seldom, like one in fifty suspends. When it does, however, the only way to bring your display back to work is to forcibly reboot the laptop.&lt;/p&gt;
&lt;p&gt;There are more problems, like the silent microphone (no matter what I do it&amp;rsquo;s just too quiet for most people to hear me via voip), short battery life (i.e. much shorter than on windows), and terribly bad trackpoint/touchpad support (i.e. much worse than on windows), but these problems I could live with. The graphics related annoyances are just too much. And the worst thing is that I no longer know which graphics board should I recommend to people who want the best linux experience. Nvidia? Yes, but only with closed-source drivers, although some people claim that nouveau work well. Ati? Well, I remember both mine and Karolina&amp;rsquo;s problems with our Radeons, so that&amp;rsquo;s a no. Intel? As far as I recall everyone always told me that Intel chipset based products (graphics, wifi, ethernet) are always best for linux, but ever since the introduction of &lt;a href="http://en.wikipedia.org/wiki/Mode-setting#Linux" target="_blank" rel="noreferrer"&gt;KMS&lt;/a&gt;-enabled drivers this is apparently no longer true. By the way, my case is nothing compared to a case of a new PhD student in our department. He&amp;rsquo;s new, so he&amp;rsquo;s got a newer laptop. Good for him? Not quite. Not a single linux distro supports his brand new Intel HD graphics.&lt;/p&gt;
&lt;p&gt;Now the obvious question is: did I try to fix my problems? Yes and no. Yes, I&amp;rsquo;ve searched the forums, and yes, I&amp;rsquo;ve tried some solutions. None of them worked. There probably are some new tips, new kernel releases I could compile, new patches I could apply, but no &amp;ndash; thanks, I don&amp;rsquo;t want to. I&amp;rsquo;m too old. With all my previous computers it was tuning and tweaking all the time. Thinkpad T40 needed a custom TuxOnIce-patched kernel for suspend to disk to work (suspend to ram made no sense, the battery was too old and I was loosing too much power even during suspend). Dell Latitude D430 had huge problems with newer Intel graphics drivers. There was always something I needed to tune. It&amp;rsquo;s like this joke about Lancia owners &amp;ndash; &lt;em&gt;they like tinkering with their cars in a garage&lt;/em&gt;, which is only a nice way of saying that their cars won&amp;rsquo;t work &lt;em&gt;unless&lt;/em&gt; tinkered with.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve been a linux user since about 1999, and during that time I&amp;rsquo;ve been using linux exclusively on all my computers. First it was &lt;a href="http://arstechnica.com/linux/reviews/1q99/suse-1.html" target="_blank" rel="noreferrer"&gt;SuSE 6.0&lt;/a&gt; and RedHat Manhattan (was it 5.1?). Then different RedHat versions for a short while, then Slackware for a long time, then Debian, Gentoo, Arch, and finally Ubuntu, since somewhere around 2005. In fall 2010 I&amp;rsquo;ll stop using a linux-based operating system on my home computer, and I don&amp;rsquo;t mean switching to some BSD (huh, been there!). I need a second computer, so I won&amp;rsquo;t have to carry my laptop in a rucksack all the time (I moved to Fyllingsdalen and I work at HiB &amp;ndash; everyone who knows Bergen sees the reason). It will be some Windows 7 based computer, or a product of one Cuppertino-based company.&lt;/p&gt;
&lt;p&gt;Either way, I feel sad.&lt;/p&gt;</description></item><item><title>Continuous list enumeration throughout the document with LaTeX</title><link>https://piotr.is/2010/continuous-list-enumeration-throughout-the-document-with-latex/</link><pubDate>Mon, 28 Jun 2010 00:00:00 +0000</pubDate><guid>https://piotr.is/2010/continuous-list-enumeration-throughout-the-document-with-latex/</guid><description>&lt;p&gt;Karolina asked me today to create a macro for having a continuous list enumeration throughout the whole document, i.e.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This is the first list:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Item;&lt;/li&gt;
&lt;li&gt;Another item;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;And here goes the second list:&lt;/p&gt;
&lt;ol start="3"&gt;
&lt;li&gt;Third item;&lt;/li&gt;
&lt;li&gt;And yet another item.&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;p&gt;You can obtain an effect like that by using LaTeX counters and a custom definition of your own enumerate environment. First, we need to &lt;code&gt;\usepackage{enumerate}&lt;/code&gt;, and then define the following counter and an environment in the preamble:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-latex" data-lang="latex"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;\newcounter&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;enumi&lt;span class="nb"&gt;_&lt;/span&gt;saved&lt;span class="nb"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;\newenvironment&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;myenumerate&lt;span class="nb"&gt;}&lt;/span&gt; &lt;span class="nb"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="k"&gt;\begin&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;enumerate&lt;span class="nb"&gt;}&lt;/span&gt;&lt;span class="k"&gt;\setcounter&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;enumi&lt;span class="nb"&gt;}{&lt;/span&gt;&lt;span class="k"&gt;\value&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;enumi&lt;span class="nb"&gt;_&lt;/span&gt;saved&lt;span class="nb"&gt;}}}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nb"&gt;{&lt;/span&gt;&lt;span class="k"&gt;\setcounter&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;enumi&lt;span class="nb"&gt;_&lt;/span&gt;saved&lt;span class="nb"&gt;}{&lt;/span&gt;&lt;span class="k"&gt;\value&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;enumi&lt;span class="nb"&gt;}}&lt;/span&gt;&lt;span class="k"&gt;\end&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;enumerate&lt;span class="nb"&gt;}}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;After that, you can use &lt;code&gt;myenumerate&lt;/code&gt; and you&amp;rsquo;ll have a continuous enumeration in the whole document.&lt;/p&gt;
&lt;p&gt;Oh and some credits: I wouldn&amp;rsquo;t come up with a solution if I haven&amp;rsquo;t read &lt;a href="http://texblog.wordpress.com/2007/07/25/counters-in-latex/" target="_blank" rel="noreferrer"&gt;this&lt;/a&gt; post, and &lt;a href="http://www.f.kth.se/~ante/latex.php" target="_blank" rel="noreferrer"&gt;this&lt;/a&gt; website. Huge thanks to the authors for their tips!&lt;/p&gt;</description></item><item><title>On Haskell</title><link>https://piotr.is/2010/on-haskell/</link><pubDate>Sun, 23 May 2010 00:00:00 +0000</pubDate><guid>https://piotr.is/2010/on-haskell/</guid><description>&lt;p&gt;Although I&amp;rsquo;ve always wanted to become a professional programmer, I never
became one. I studied philosophy and went into a PhD programme in computer
science because of my interest in formal logic. I like computers very much, I
have professional experience in UNIX administration, and I&amp;rsquo;ve done a lot of
Perl/Bash/Tcsh scripting, but I&amp;rsquo;ve never actually written any non-trivial
piece of programming code. Whether you want to model something, verify, or
check your proofs, being able to write a computer program that helps you with
some task really comes in handy. And then there&amp;rsquo;s this question: what
programming language should a person interested in logic/mathematics (without
any CS background) learn?&lt;/p&gt;
&lt;p&gt;The first obvious choice for people interested in logic is
&lt;a href="http://en.wikipedia.org/wiki/Prolog" target="_blank" rel="noreferrer"&gt;Prolog&lt;/a&gt;. It&amp;rsquo;s relatively easy to learn,
but after some time playing with it we discover that it&amp;rsquo;s quite limited, and
not too efficient. Java is faster, easy as well and more versatile, but for
&lt;em&gt;very high-level&lt;/em&gt; programming (theorem provers, model checkers) it takes a lot
of time to implement ideas, especially when compared to Prolog. Then there are
other nice suitable languages like Python (very generic), LISP/Scheme (rather
old, yet still very powerful), and finally Haskell.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;Haskell is a general purpose &lt;a href="http://en.wikipedia.org/wiki/Static_types#Static_typing" target="_blank" rel="noreferrer"&gt;statically-
typed&lt;/a&gt; &lt;a href="http://en.wikipedia.org/wiki/Purely_functional" target="_blank" rel="noreferrer"&gt;purely
functional&lt;/a&gt; programming
language. It supports &lt;a href="http://en.wikipedia.org/wiki/Lazy_evaluation" target="_blank" rel="noreferrer"&gt;lazy
evaluation&lt;/a&gt;,
&lt;a href="http://en.wikipedia.org/wiki/Type_class" target="_blank" rel="noreferrer"&gt;typeclasses&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Type_polymorphism" target="_blank" rel="noreferrer"&gt;type
polymorphism&lt;/a&gt;. It provides an
enormous set of tools for the programmer, while being far more efficient and
flexible than, say, Prolog. Due to its nature it also imposes some discipline
on the programmer (for example, static typing prevents a number of errors on
the level of compilation), making programming more rigorous and efficient. ESR
&lt;a href="http://esr.ibiblio.org/?p=1796" target="_blank" rel="noreferrer"&gt;recently wrote&lt;/a&gt; about Haskell:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Haskell is built around a handful of powerful primitive concepts and a &lt;em&gt;pons
asinorum&lt;/em&gt;. The most pervasive of these, purely functional programming without
side effects or variables, is generally described in introductions to Haskell
as the most difficult barrier for most programmers arriving from conventional
imperative or OO languages like C, C++, and Python. And yes, if your mental
model of programming is all about for-loops and static variables — or, for
that matter, objects! — learning to think in Haskell is going to be quite a
wrench. There are reasons to make the effort. Haskellers (Haskellites?
Haskellians? Haskellators? Haskelletons?) maintain that imperative programming
relies heavily on side effects that push proving the correctness of programs
to somewhere between impractically difficult and impossible. They also like to
point out that side effects make programs difficult to automatically
parallelize across multiple processors, an increasingly important
consideration as multicores become the rule rather than the exception.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;That&amp;rsquo;s true, Haskell is not a trivial language to learn. I&amp;rsquo;ve been learning it
for a while now, and I&amp;rsquo;m still far from saying that I actually &lt;em&gt;know&lt;/em&gt; Haskell.
Lazy evaluation and purely functional approach make it especially hard to
switch from imperative way of thinking in the beginning. It&amp;rsquo;s difficult to
learn, but the effort is worth taking. &amp;ldquo;Discrete Mathematics Using a Computer&amp;rdquo;
justifies the effort like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Pure functional languages like Haskell, as well as mathematics itself, are
demanding in that they require you to think through a problem deeply in order
to express its solution with equations. It&amp;rsquo;s always possible to hack an
imperative program by sticking an assignment in it somewhere in order to patch
up a problem, but you cannot do that in a functional program. On the other
hand, if our goal is to build correct and reliable software &amp;mdash; and this
should be our goal! &amp;mdash; then the discipline of careful thought will be repaid
in higher quality software.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I can also add that Haskell forces a programmer to study some aspects of
theoretical computer science in a way other languages don&amp;rsquo;t. It&amp;rsquo;s a bit like
with LISP &amp;ndash; you have to know something about lists, trees, recursion, higher-
order functions, etc., otherwise you won&amp;rsquo;t be able to learn it. On the other
hand I&amp;rsquo;d risk saying that it&amp;rsquo;s possible to learn for example Perl without
getting into theory of programming too much (but perhaps I&amp;rsquo;m wrong here).&lt;/p&gt;
&lt;p&gt;So if it&amp;rsquo;s all so hard, how should one learn Haskell? That very much depends
on your level of programming literacy (in general, not necessarily functional
programming literacy), amount of time you want to spend, and your motivations
behind learning Haskell. I once told my PhD supervisor that I actually know of
3,5 good books on Haskell programming:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&amp;ldquo;&lt;a href="http://learnyouahaskell.com" target="_blank" rel="noreferrer"&gt;Learn you a Haskell for great good&lt;/a&gt;&amp;rdquo;
&amp;ndash; not a book really, rather an online tutorial with lots of funny
pictures; among the free tutorials it&amp;rsquo;s the best one I know;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&amp;ldquo;&lt;a href="http://book.realworldhaskell.org" target="_blank" rel="noreferrer"&gt;Real world Haskell&lt;/a&gt;&amp;rdquo; &amp;ndash;
currently the most famous Haskell book I guess; it&amp;rsquo;s a bit like
Seibel&amp;rsquo;s &amp;ldquo;&lt;a href="http://www.gigamonkeys.com/book/" target="_blank" rel="noreferrer"&gt;Practical Common Lisp&lt;/a&gt;&amp;rdquo;,
only on Haskell; even if you&amp;rsquo;re not into web development or databases,
this book is the best introduction to Haskell and functional
programming I found; oh, and it&amp;rsquo;s free for online reading, but you can
always grab a printed copy for ~$50;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&amp;ldquo;&lt;a href="http://www.dcs.gla.ac.uk/~jtod/discrete-mathematics/" target="_blank" rel="noreferrer"&gt;Discrete Mathematics Using a Computer&lt;/a&gt;&amp;rdquo;
&amp;ndash; this is definitely a must read for anyone interested particularly
in using Haskell for solving logical and/or mathematical problems;
it&amp;rsquo;s really great and focuses on logic, recursion, set theory and so
on, and still provides a good introduction to Haskell;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&amp;ldquo;&lt;a href="http://homepages.cwi.nl/~jve/HR/" target="_blank" rel="noreferrer"&gt;The Haskell Road to Logic, Maths and Programming&lt;/a&gt;&amp;rdquo;
&amp;ndash; another book focusing mainly on logical and mathematical
applications; it&amp;rsquo;s good, but I found it very difficult and although
authors say they don&amp;rsquo;t assume any background in functional
programming, they actually do assume quite a lot (at least that was my
impression).&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;All the books listed above are good, but I think the order in which I put them
corresponds to their difficulty level. Not exactly, though: &amp;ldquo;Real World
Haskell&amp;rdquo; can get pretty dense, but it introduces everything quite gently. &amp;ldquo;The
Haskell Road to Logic&amp;hellip;&amp;rdquo; on the other hand is in my opinion difficult
throughout its whole length.&lt;/p&gt;
&lt;p&gt;I strongly recommend everyone (especially to fellow logicians) to at least
give Haskell a try, it&amp;rsquo;s definitely worth it. And if you happen to live in
Bergen and would like to meet to discuss some Haskell-related stuff, there&amp;rsquo;s
an informal group of people, consisting of me and three of my friends. Let us
know if you&amp;rsquo;d like to join us in &lt;em&gt;haskelling&lt;/em&gt;.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Let me make one thing clear here. This post is not &lt;em&gt;against&lt;/em&gt; other programming languages. I acknowledge Java, Python and Prolog&amp;rsquo;s usefulness. The post is just about emphasizing Haskell&amp;rsquo;s pros. No war intended.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;O&amp;rsquo;Donnell/Hall/Page, &lt;em&gt;Discrete Mathematics Using a Computer&lt;/em&gt;.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Emacs as the Ultimate LaTeX Editor</title><link>https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/</link><pubDate>Thu, 13 May 2010 00:00:00 +0000</pubDate><guid>https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/</guid><description>&lt;div class="flex rounded-md bg-primary-100 px-4 py-3 dark:bg-primary-900"&gt;
&lt;span class="pe-3 text-primary-400"&gt;
&lt;span class="icon relative inline-block px-1 align-text-bottom"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"&gt;&lt;path fill="currentColor" d="M506.3 417l-213.3-364c-16.33-28-57.54-28-73.98 0l-213.2 364C-10.59 444.9 9.849 480 42.74 480h426.6C502.1 480 522.6 445 506.3 417zM232 168c0-13.25 10.75-24 24-24S280 154.8 280 168v128c0 13.25-10.75 24-23.1 24S232 309.3 232 296V168zM256 416c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 401.9 273.4 416 256 416z"/&gt;&lt;/svg&gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span class="dark:text-neutral-300"&gt;This article gets a lot of hits, but it&amp;rsquo;s been a while since I wrote it and I haven&amp;rsquo;t been using Emacs or LaTeX in years. I&amp;rsquo;m sorry, but I can&amp;rsquo;t provide any support and won&amp;rsquo;t reply to emails about it.&lt;/span&gt;
&lt;/div&gt;
&lt;p&gt;Everyone knows, that &lt;a href="http://www.gnu.org/software/emacs/" target="_blank" rel="noreferrer"&gt;GNU Emacs&lt;/a&gt; is &lt;a href="http://www.dina.dk/~abraham/religion/" target="_blank" rel="noreferrer"&gt;THE Best Programmer&amp;rsquo;s Editor&lt;/a&gt;. Not everyone knows, though, that when you combine it with &lt;a href="http://www.gnu.org/software/auctex/" target="_blank" rel="noreferrer"&gt;AUCTeX&lt;/a&gt; macros, it also becomes &lt;strong&gt;THE&lt;/strong&gt; Best Editor for LaTeX.&lt;/p&gt;
&lt;p&gt;The biggest problem with Emacs is that it&amp;rsquo;s not a particularly intuitive piece of software, to say the least, hence many users flee after their first encounter with it. Emacs has its complicated keyboard shortcuts, enormous documentation and config files written in a Lisp dialect (called &lt;a href="http://en.wikipedia.org/wiki/Emacs_lisp" target="_blank" rel="noreferrer"&gt;Emacs lisp&lt;/a&gt;), so at first it might seem very unpleasant using it. However, once &lt;em&gt;tamed&lt;/em&gt;, it becomes your best friend.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;d like to present some tips that customize Emacs making it a perfect and very sophisticated editor for LaTeX. Most of these ideas are taken from various config files, howtos and other resources found on the web. Some of them are mine, but I can no longer tell which.&lt;/p&gt;
&lt;p&gt;First things first: you need to get Emacs and AUCTeX, and get it running.&lt;/p&gt;
&lt;p&gt;Every major linux distro comes with both Emacs and AUCTeX available via package systems. In Ubuntu, you just type &lt;code&gt;sudo apt-get install emacs23 auctex&lt;/code&gt; and you&amp;rsquo;re laughing. Emacs is also &lt;a href="http://ftp.gnu.org/gnu/emacs/windows/" target="_blank" rel="noreferrer"&gt;available&lt;/a&gt; for Windows, and AUCTeX website has &lt;a href="http://www.gnu.org/software/auctex/download-for-windows.html" target="_blank" rel="noreferrer"&gt;instructions&lt;/a&gt; on how to set it up with Windows systems. Mac users have a choice of setting up either &lt;a href="http://homepage.mac.com/zenitani/emacs-e.html" target="_blank" rel="noreferrer"&gt;Carbon Emacs&lt;/a&gt; (a version closer to original GNU Emacs) or &lt;a href="http://aquamacs.org/" target="_blank" rel="noreferrer"&gt;Aquamacs&lt;/a&gt; (an Emacs variant supporting tabs and other nice tweaks; preferred Emacs package by all Mac users I know, Karolina included). Full comparison of Mac Emacs variants is available &lt;a href="http://aquamacs.org/feature-matrix.shtml" target="_blank" rel="noreferrer"&gt;here&lt;/a&gt;, so you can make your own choice. Both Carbon Emacs and Aquamacs come with AUCTeX bundled, so there&amp;rsquo;s no need to download additional packages.&lt;/p&gt;
&lt;p&gt;After running Emacs and loading a TeX file (&lt;code&gt;C-x C-f file_name.tex&lt;/code&gt;), AUCTeX should load itself automatically. If it doesn&amp;rsquo;t happen, you can invoke it with &lt;code&gt;M-x tex-mode&lt;/code&gt;, or you can put the following into your &lt;code&gt;$HOME/.emacs&lt;/code&gt; file:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq TeX-save-query nil)
;(setq TeX-PDF-mode t)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;em&gt;(all the code snippets from this post are available as a &lt;a href="https://gist.github.com/pkazmierczak/4331666" target="_blank" rel="noreferrer"&gt;Github Gist&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The options above will make sure, that AUCTeX macros are loaded every time a TeX file is opened. The last option, &lt;code&gt;;(setq TeX-PDF-mode t)&lt;/code&gt;, is commented (all lines beginning with &lt;code&gt;;&lt;/code&gt; are a comment in Emacs Lisp), but you can uncomment it if you want to have PDFLaTeX mode enabled by default for all documents.&lt;/p&gt;
&lt;p&gt;AUCTeX has a number of nice features, the two I use most often are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;automatic formatting of a section: &lt;code&gt;C-c C-q C-s&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;section preview: &lt;code&gt;C-c C-p C-s&lt;/code&gt;; (see the screenshot on the right)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-latex-preview_hu_cd99c50d700dafde.webp 330w,https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-latex-preview_hu_79244905f9f7eacd.webp 660w
,https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-latex-preview_hu_9dd1b9d4ec5b483c.webp 742w
,https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-latex-preview_hu_9dd1b9d4ec5b483c.webp 742w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="742"
height="890"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-latex-preview_hu_83deea5c0c795f67.png" srcset="https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-latex-preview_hu_ac23aed45b031681.png 330w,https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-latex-preview_hu_83deea5c0c795f67.png 660w
,https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-latex-preview.png 742w
,https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-latex-preview.png 742w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Preview function is very nice, because you can &lt;em&gt;see&lt;/em&gt; the commands that are &lt;em&gt;behind&lt;/em&gt; preview images, edit the code, apply preview again and see the results &amp;mdash; no need to parse the whole file too often, and most importantly no need to switch to a PDF/PS viewer to see if your math formula/xypic tree is formatted correctly. Trust me, this saves a lot of time.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(update 27.12.2012: there’s another way of previewing LaTeX symbols inside an Emacs buffer, take a look &lt;a href="https://piotr.is/2012/12/27/previewing-latex-symbols-without-preview-latex/"&gt;here&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;AUCTeX has many many more features, and you can always consult its &lt;a href="http://www.gnu.org/software/auctex/documentation.html" target="_blank" rel="noreferrer"&gt;documentation&lt;/a&gt; if you want to learn more. It&amp;rsquo;s a little bit overwhelming, but learning it is a very good investment, especially if you work with TeX a lot. But there are more packages that provide features which make your life easier.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://flymake.sourceforge.net/" target="_blank" rel="noreferrer"&gt;Flymake&lt;/a&gt; is one of those packages. It enables Emacs to check the syntax of your TeX file on-the-fly. To turn it on, put the following code in your &lt;code&gt;$HOME/.emacs&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;(require &amp;#39;flymake)
(defun flymake-get-tex-args (file-name)
(list &amp;#34;pdflatex&amp;#34;
(list &amp;#34;-file-line-error&amp;#34; &amp;#34;-draftmode&amp;#34; &amp;#34;-interaction=nonstopmode&amp;#34; file-name)))
(add-hook &amp;#39;LaTeX-mode-hook &amp;#39;flymake-mode)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Beware, though &amp;mdash; flymake consumes quite a lot of CPU power, especially when used with large files (and paradoxically large files make it most useful).&lt;/p&gt;
&lt;p&gt;On the other hand, spell-checking while you type isn&amp;rsquo;t so cpu consuming, and you can turn it on with:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;; could be ispell as well, depending on your preferences
(setq ispell-program-name &amp;#34;aspell&amp;#34;)
; this can obviously be set to any language your spell-checking program supports
(setq ispell-dictionary &amp;#34;english&amp;#34;)
(add-hook &amp;#39;LaTeX-mode-hook &amp;#39;flyspell-mode)
(add-hook &amp;#39;LaTeX-mode-hook &amp;#39;flyspell-buffer)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Another nice package is the &lt;a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Outline-Mode.html" target="_blank" rel="noreferrer"&gt;Outline Mode&lt;/a&gt;. It allows the user to &lt;em&gt;hide&lt;/em&gt; some parts of the text file, which makes working with large files much easier. To enable it, put the following in &lt;code&gt;$HOME/.emacs&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;(defun turn-on-outline-minor-mode ()
(outline-minor-mode 1))
(add-hook &amp;#39;LaTeX-mode-hook &amp;#39;turn-on-outline-minor-mode)
(add-hook &amp;#39;latex-mode-hook &amp;#39;turn-on-outline-minor-mode)
(setq outline-minor-mode-prefix &amp;#34;\C-c \C-o&amp;#34;) ; Or something else
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Now you can &lt;em&gt;fold&lt;/em&gt; sections, subsections, chapters, or the whole document. To hide all the contents of your current section, use &lt;kbd&gt;C-c C-o C-l&lt;/kbd&gt;. You can apply it to a chapter, subsection, etc. You can also move to a next &lt;em&gt;unit&lt;/em&gt; of your document with &lt;code&gt;C-c C-o C-n&lt;/code&gt;, or to a previous one with &lt;code&gt;C-c C-o C-p&lt;/code&gt;. If you&amp;rsquo;re lost and want to see the whole document again, use &lt;code&gt;C-c C-o C-a&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Folding and unfolding parts of the text might be confusing, though, but there&amp;rsquo;s another way to navigate through a big TeX file, and you can use &lt;a href="http://www.gnu.org/software/auctex/reftex.html" target="_blank" rel="noreferrer"&gt;Reftex&lt;/a&gt; mode for it. Reftex is a mode that helps with managing references (&lt;a href="http://www.gnu.org/software/auctex/manual/reftex.index.html" target="_blank" rel="noreferrer"&gt;full documentation&lt;/a&gt;), but it can also be used to create a table of contents for a TeX file and to navigate using it. Here is my configuration for Reftex from my &lt;code&gt;.emacs&lt;/code&gt; file:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;(require &amp;#39;tex-site)
(autoload &amp;#39;reftex-mode &amp;#34;reftex&amp;#34; &amp;#34;RefTeX Minor Mode&amp;#34; t)
(autoload &amp;#39;turn-on-reftex &amp;#34;reftex&amp;#34; &amp;#34;RefTeX Minor Mode&amp;#34; nil)
(autoload &amp;#39;reftex-citation &amp;#34;reftex-cite&amp;#34; &amp;#34;Make citation&amp;#34; nil)
(autoload &amp;#39;reftex-index-phrase-mode &amp;#34;reftex-index&amp;#34; &amp;#34;Phrase Mode&amp;#34; t)
(add-hook &amp;#39;latex-mode-hook &amp;#39;turn-on-reftex) ; with Emacs latex mode
;; (add-hook &amp;#39;reftex-load-hook &amp;#39;imenu-add-menubar-index)
(add-hook &amp;#39;LaTeX-mode-hook &amp;#39;turn-on-reftex)
(setq LaTeX-eqnarray-label &amp;#34;eq&amp;#34;
LaTeX-equation-label &amp;#34;eq&amp;#34;
LaTeX-figure-label &amp;#34;fig&amp;#34;
LaTeX-table-label &amp;#34;tab&amp;#34;
LaTeX-myChapter-label &amp;#34;chap&amp;#34;
TeX-auto-save t
TeX-newline-function &amp;#39;reindent-then-newline-and-indent
TeX-parse-self t
TeX-style-path
&amp;#39;(&amp;#34;style/&amp;#34; &amp;#34;auto/&amp;#34;
&amp;#34;/usr/share/emacs21/site-lisp/auctex/style/&amp;#34;
&amp;#34;/var/lib/auctex/emacs21/&amp;#34;
&amp;#34;/usr/local/share/emacs/site-lisp/auctex/style/&amp;#34;)
LaTeX-section-hook
&amp;#39;(LaTeX-section-heading
LaTeX-section-title
LaTeX-section-toc
LaTeX-section-section
LaTeX-section-label))
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Once Reftex is loaded, you can invoke the table of contents buffer with
&lt;code&gt;C-c =&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;
&lt;figure&gt;
&lt;picture
class="mx-auto my-0 rounded-md"
&gt;
&lt;source
srcset="https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-reftex-toc_hu_fd24ed3f656c68c4.webp 330w,https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-reftex-toc_hu_786598e0d9a44a5a.webp 660w
,https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-reftex-toc_hu_a22a75946ec055b7.webp 742w
,https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-reftex-toc_hu_a22a75946ec055b7.webp 742w
"
sizes="100vw"
type="image/webp"
/&gt;
&lt;img
width="742"
height="890"
class="mx-auto my-0 rounded-md"
loading="lazy" decoding="async"
src="https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-reftex-toc_hu_6bb342e1987f26a5.png" srcset="https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-reftex-toc_hu_c1527222e04f7956.png 330w,https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-reftex-toc_hu_6bb342e1987f26a5.png 660w
,https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-reftex-toc.png 742w
,https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/emacs-reftex-toc.png 742w
"
sizes="100vw"
/&gt;
&lt;/picture&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;All right, enough. If I mention any more packages, I guess it will scare off those who aren&amp;rsquo;t already scared. I know that Emacs is a bit &lt;em&gt;peculiar&lt;/em&gt; with its complicated keyboard shortcuts, enormous documentation and thousands of modes. It&amp;rsquo;s not easy to learn, but definitely worth it. I remember that switching from Vim to Emacs for LaTeX editing wasn&amp;rsquo;t easy, but I never regretted that, and I hope whoever&amp;rsquo;s going to switch under the influence of this post will not regret it either.&lt;/p&gt;</description></item><item><title>Norway in the eyes of a foreigner</title><link>https://piotr.is/2010/norway-in-the-eyes-of-a-foreigner/</link><pubDate>Sat, 17 Apr 2010 00:00:00 +0000</pubDate><guid>https://piotr.is/2010/norway-in-the-eyes-of-a-foreigner/</guid><description>&lt;p&gt;After a long period of searching for a PhD scholarship I finally got a great
offer from &lt;a href="http://www.hib.no" target="_blank" rel="noreferrer"&gt;Bergen University College&lt;/a&gt;, and in the 2nd half
of March I&amp;rsquo;ve joined the staff of &lt;a href="http://www.hib.no/avd_ai/data/index.htm" target="_blank" rel="noreferrer"&gt;Department of Computer
Engineering&lt;/a&gt; as a member of
&lt;a href="http://prosjekt.hib.no/distech/" target="_blank" rel="noreferrer"&gt;DISTECH&lt;/a&gt; research group. This means a lot
has changed in my life, because apart from changing a job/school I&amp;rsquo;ve also
moved to another country. This country happens to be Norway and I have some
thoughts about it I&amp;rsquo;d like to share.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;It&amp;rsquo;s &lt;strong&gt;expensive&lt;/strong&gt;, but in a peculiar way. Let me explain what I mean. Coming from a relatively poor country that Poland is (at least by European standards) to Belgium last year was difficult, especially when Euro was so strong. But Belgium (and Leuven especially) is not a very expensive place to live. Coming to Bergen I expected to pay 200% of Belgian prices for everything, but it&amp;rsquo;s not like this. To my surprise, Norwegian prices are only a little higher than Euro zone prices, at least for the most basic products like food or clothes. But mind you: this applies only to the food you buy in a supermarket. Once you want to go out and have a lunch in a restaurant, expect to pay extra. And if you happen to like beer or alcohol in general, expect to pay even more. I&amp;rsquo;m a beer enthusiast myself and I remember the great choice of fantastic beers in Leuven &amp;mdash; you could hardly find one that would cost more than, say, 5 EUR for a bottle. Anything above this price would either be very rare, or served in an expensive bar. In Bergen, you can easily pay 8 EUR for a bottle of beer in a bar, and the prices go up (sometimes much higher). What&amp;rsquo;s peculiar is that the structure of product prices is different. The food is generally expensive, but clothes, furniture, high-tech (computers, electronics, good bicycles) and home equipment isn&amp;rsquo;t. I&amp;rsquo;ve seen more iPhones and people wearing good quality headphones on the bus here in Bergen than in Brussels. So to sum up: an average Norwegian is able to afford a newest smartphone without any problems, but he will think twice before having a dinner in a restaurant.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;One other thing about costs of living and money in general that is specific in Norway is that there are no big differences in salaries. For example, a person working as a researcher in my school doesn&amp;rsquo;t get much more money than a janitor (or at least that&amp;rsquo;s what my Norwegian friends told me). Still it doesn&amp;rsquo;t mean that researchers aren&amp;rsquo;t paid good money; in fact my salary as a PhD student is bigger than that of my colleagues in western Europe. And even though the cost of living here is much higher, I see that a PhD student in Norway is generally able to afford more than a PhD student in Belgium. Sure, the &lt;em&gt;flat&lt;/em&gt; structure of wages has its disadvantages, but you hardly see any poor people on the streets here (not a case for Brussels).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Also, one last point about the money: having a salary paid in Norwegian kroner makes every other country cheap. And that&amp;rsquo;s a big advantage if you&amp;rsquo;re travelling a lot.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Ok, let&amp;rsquo;s get to some more important matters: The Nature. To say that Norway is stunningly beautiful is not enough. I&amp;rsquo;m about a month here so I haven&amp;rsquo;t seen much, but every time I go anywhere outside Bergen I keep staring at the mountains with my jaw dropped. Heck, I don&amp;rsquo;t even have to leave Bergen &amp;mdash; the mountains are everywhere, I can see them through the windows of my office, I can just walk outside and start climbing them anytime. But when you head northeast it gets even better; we went to &lt;a href="http://www.myrkdalen.org/om_myrkdalen/Spraak/engelsk.html" target="_blank" rel="noreferrer"&gt;Myrkdalen&lt;/a&gt; by car last week and I had my face pressed up against the window all the time, with only one thought in my head &amp;mdash; how to get a permanent residence permit and how to buy a house here.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Norway seems like a homogeneous society. Perhaps you don&amp;rsquo;t see it if you&amp;rsquo;re in Oslo, or if you&amp;rsquo;re working for some international company, but in my school, where there aren&amp;rsquo;t too many international students, blending into Norwegian society is a must. What it means in practice is that it&amp;rsquo;s hardly possible living four years here without learning Norwegian. I know it&amp;rsquo;s possible not to know a word in Dutch while living in The Netherlands or Belgium, but it would be very hard here. Not because Norwegians don&amp;rsquo;t speak English, in fact everyone here does it really well, but since there aren&amp;rsquo;t that many foreigners there&amp;rsquo;s not much practical information in English &amp;mdash; bus company websites, banks, festivals, newspapers, etc. &amp;mdash; it&amp;rsquo;s all in Norwegian. Not a case for Belgium, where most things are presented in four languages (NL/FR/DE/EN).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Oh, by the way, some of my friends asked me if it&amp;rsquo;s true that Norwegians are generally shy and quiet. I don&amp;rsquo;t know where this came from, but they&amp;rsquo;re &lt;strong&gt;definitely&lt;/strong&gt; not shy. And let&amp;rsquo;s just leave it like this without getting into details.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;[updated 18.04]&lt;/strong&gt; Just one more thing I forgot about yesterday: Norwegians are carnivores. Being a vegetarian here is virtually impossible. I&amp;rsquo;m not a veggie myself, but I try to eat as little meat as possible. Fish are easy to get of course, and cheap, but I remember ordering a pizza last Friday, and among 20 different pizza types there was only one vegetarian. And not only do Norwegians eat meat, they eat a lot of fat meat. And sheep heads in Voss (literally sheep heads &amp;mdash; with eyes and everything). If you&amp;rsquo;re a vegetarian, either don&amp;rsquo;t move here or stop being one.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I guess I should also write about my research, but there&amp;rsquo;s not much to write
about yet. I still have a lot to learn, the most important thing is that I can
learn things that really interest me, and that I have great support from my
promoter and my colleagues.&lt;/p&gt;
&lt;p&gt;Stay tuned for more Norway-related posts!&lt;/p&gt;</description></item><item><title>I can't read fiction anymore</title><link>https://piotr.is/2010/i-cant-read-fiction-anymore/</link><pubDate>Fri, 12 Feb 2010 00:00:00 +0000</pubDate><guid>https://piotr.is/2010/i-cant-read-fiction-anymore/</guid><description>&lt;p&gt;Every day I consume thousands of words. I read essays (like the ones published
in &lt;em&gt;The New Yorker&lt;/em&gt; magazine, &lt;em&gt;The Atlantic&lt;/em&gt;, etc.), news (usually just
Slashdot, HN and Reddit), blogs, comments, emails, tweets and status updates.
Apart from that, I read scientific articles, technical books (&lt;em&gt;Haskell road to
maths, logic and programming&lt;/em&gt;, anyone?) and sometimes documentation. But I
can&amp;rsquo;t read fiction anymore.&lt;/p&gt;
&lt;p&gt;When I was in high school, I used to read at least a couple of novels every
month. Now whatever I pick up, I&amp;rsquo;m either quickly bored with, or stop reading
for another reason. Some novels I find too depressing (Coetzee&amp;rsquo;s &lt;em&gt;Dusklands&lt;/em&gt;),
others secondary (Pilch&amp;rsquo;s &lt;em&gt;Wyznania twórcy pokątnej literatury erotycznej&lt;/em&gt;),
and the rest simply bad. I tried many different types of novels, yet the only
ones I&amp;rsquo;ve read during the last few years were crime/mystery novels (Mankell,
Krajewski, Marinina), and I really have enough of those since they&amp;rsquo;re all
basically the same. I even tried going back to science-fiction, which I used
to be a fan of, but the results were even worse &amp;ndash; after reading 250 pages of
Dukaj&amp;rsquo;s &lt;em&gt;Black Oceans&lt;/em&gt; I gave up.&lt;/p&gt;
&lt;p&gt;The problem is not that I don&amp;rsquo;t read novels, but that it doesn&amp;rsquo;t give me any
pleasure (and it used to give). I came up with a number of theories that
explain this situation:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;I read too much serious/difficult non-fiction literature and hence
am not able to make an effort of reading 300 pages filled with fiction
(rather unlikely, since I don&amp;rsquo;t read that many scientific articles);&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I spend too much time browsing the internet which creates a habit
of reading relatively short content (even the longest essays usually
don&amp;rsquo;t exceed 3000 words);&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I simply can&amp;rsquo;t find an appropriate novel.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Explanation no. 3 seems most plausible, therefore I ask my readers: any
suggestions? I&amp;rsquo;m able to read in Polish and English, please go ahead and
recommend me some fiction to read. I still have at least 2 weeks before
starting a PhD, and I&amp;rsquo;d really like to read something interesting until then.
Thanks in advance!&lt;/p&gt;</description></item><item><title>On the subjective hi-fi quality</title><link>https://piotr.is/2009/on-the-subjective-hi-fi-quality/</link><pubDate>Wed, 30 Dec 2009 00:00:00 +0000</pubDate><guid>https://piotr.is/2009/on-the-subjective-hi-fi-quality/</guid><description>&lt;p&gt;Every now and then different people ask me about an opinion on buying hi-fi
components. Be it headphones for their portable mp3 players, amplifiers or
mini-systems, I&amp;rsquo;m a local authority (a proud one, I must add). Perhaps it&amp;rsquo;s
because I&amp;rsquo;m a nerd obsessed with sound quality, or perhaps I&amp;rsquo;m judging people
by their hi-fi systems, anyways I thought I&amp;rsquo;d share a few general advices for
everyone.&lt;/p&gt;
&lt;p&gt;First of all, let me remind everyone one more time, that buying hi-fi is by no
means similar to buying computer hardware. There seldom happens a situation,
when one can compare e.g. two amplifiers and say that the former is better
than the latter in every aspect. Bad components happen, very bad happen as
well, but the majority of hi-fi produced nowadays is at least good. Some of
them are very good, and few are exceptionally fantastic, but those devices
that occupy the last two categories are amongst most controversial, since not
everybody likes the same sound.&lt;/p&gt;
&lt;p&gt;The most apparent example is with vinyl vs. laser discs. There is a
significant number of people, who claim that a good turntable &lt;em&gt;outperforms&lt;/em&gt;
(whatever this means) every CD player. These people hold this view even though
they know about obvious limitations of a gramophone record, and I respect them
the same way I respect insane people. However, I am able to acknowledge that
someone may just &lt;em&gt;like&lt;/em&gt; a sound of an LP rather than a CD. And that&amp;rsquo;s the way
it works.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m an insane person too, in a way, i.e. I claim that &lt;a href="http://en.wikipedia.org/wiki/Electrostatic_loudspeaker" target="_blank" rel="noreferrer"&gt;electrostatic
loudspeakers&lt;/a&gt; are
superior to any other loudspeaker technology. They&amp;rsquo;re expensive, they lack
bass, they demand a big room (or rather: they can&amp;rsquo;t stand right next to a
wall) and can be dangerous (especially if you have kids or keep animals at
home), but the sound they give in return is so amazing that no traditional
construction can match them. It&amp;rsquo;s my opinion, though, and I don&amp;rsquo;t intend to
force it on anyone. The same goes for transistor vs. valve, integrated vs.
separated amplifiers or CD players, and so on. Bear that in mind before you
ask me once again what is better, or if you once again try to convince me that
gramophones are the best source for a hi-fi system.&lt;/p&gt;
&lt;p&gt;Now shortly, a number of &lt;em&gt;tips&lt;/em&gt; that I&amp;rsquo;d give to anyone asking me for advice.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If you&amp;rsquo;re not willing to spend too much money on a hi-fi system, don&amp;rsquo;t expect huge differences amongst different amplifiers or loudspeakers. You might pick a terribly sounding component, but the chances are low.&lt;/li&gt;
&lt;li&gt;Keep in mind that among budget hi-fi manufacturers there are some which are usually a safe bet, i.e. their products will sound at least decently, and that includes some European companies (NAD, Creek, Cambridge Audio) and some Japanese (Rotel, Marantz).&lt;/li&gt;
&lt;li&gt;Don&amp;rsquo;t be cheap on the loudspeakers, their quality is very important. Also, when it comes to cables, don&amp;rsquo;t use the &lt;em&gt;default&lt;/em&gt; ones. You don&amp;rsquo;t have to spend hundreds of euros for Van den Hul, but get an entry-level Monster or Ixos, and you&amp;rsquo;ll certainly hear the difference.&lt;/li&gt;
&lt;li&gt;If it&amp;rsquo;s the first time you&amp;rsquo;re buying hi-fi, you might want to read some reviews. British &amp;ldquo;&lt;a href="http://www.whathifi.com" target="_blank" rel="noreferrer"&gt;What Hi-Fi&lt;/a&gt;&amp;rdquo; and &amp;ldquo;&lt;a href="http://www.hifichoice.co.uk" target="_blank" rel="noreferrer"&gt;Hi-Fi Choice&lt;/a&gt;&amp;rdquo; are a start, but watch out &amp;ndash; they tend to be very enthusiastic about most stuff they review. American &amp;ldquo;&lt;a href="http://www.stereophile.com" target="_blank" rel="noreferrer"&gt;Stereophile&lt;/a&gt;&amp;rdquo; (personal favorite) on the other hand is usually very cautious.&lt;/li&gt;
&lt;li&gt;Reading the reviews you will probably end up with choosing the most &lt;em&gt;universally&lt;/em&gt; sounding system, which is good for a start. Later, if you upgrade or replace it, you&amp;rsquo;ll know what sound you&amp;rsquo;re looking for, and the reviews will just be a bit of a guide, but nothing more.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Finally, always remember that it&amp;rsquo;s your call as a listener to choose a system. You&amp;rsquo;re your best advisor. Bear in mind that no hi-fi is 100% neutral (perhaps except for some insanely expensive hi-end systems), although theoretically that&amp;rsquo;s the goal. And lastly: remember that once you start searching for The Perfect Hi-Fi System, this search will probably never be over. Good luck!&lt;/p&gt;</description></item><item><title>How I stopped being a desktop linux enthusiast</title><link>https://piotr.is/2009/how-i-stopped-being-a-desktop-linux-enthusiast/</link><pubDate>Mon, 09 Nov 2009 00:00:00 +0000</pubDate><guid>https://piotr.is/2009/how-i-stopped-being-a-desktop-linux-enthusiast/</guid><description>&lt;p&gt;It&amp;rsquo;s actually about &amp;ldquo;how I&amp;rsquo;m stopping to be a desktop linux enthusiast&amp;rdquo;,
because I&amp;rsquo;m still using linux on my desktop/laptop, and I still think it&amp;rsquo;s a
much better solution than any Windows OS. It&amp;rsquo;s just that I&amp;rsquo;ve been using
various linux distributions for many many years (since 1998 I guess) on every
computer I&amp;rsquo;ve owned and thought it is a nearly flawless system. It&amp;rsquo;s not, and
in fact it&amp;rsquo;s getting on my nerves.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s all about hardware, you know. I&amp;rsquo;ve never had any problems with a desktop
computer running linux, but on all the laptops I&amp;rsquo;ve owned (all two of them),
there&amp;rsquo;s always been some issues. When I was a teenager in high school, I could
spend months recompiling the kernel, optimizing, patching, searching for
solutions. But I&amp;rsquo;m an old man now, and I get really mad when something simply
doesn&amp;rsquo;t work.&lt;/p&gt;
&lt;p&gt;I gave up on getting quite a basic feature of a modern laptop computer to
work, namely on suspend/resume (I&amp;rsquo;ve tried really hard to get it working, but
I just couldn&amp;rsquo;t manage). It works 9 out of 10 times, but when I open the lid
up it&amp;rsquo;s always a lottery: will it work this time or will I see a kernel panic
message? I also got used to the inefficient power saving, but what the heck &amp;ndash;
I&amp;rsquo;m not flying over the Atlantic ocean every week, so I guess I don&amp;rsquo;t need 6
hours of battery life.&lt;/p&gt;
&lt;p&gt;What I can&amp;rsquo;t get used to is the fact that my graphics card (&lt;code&gt;00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)&lt;/code&gt;) works slower and slower. After
updating to the newest Ubuntu 9.10, Xorg keeps eating up to 50/60% of CPU, I
can&amp;rsquo;t watch a movie without frame dropping (or wait, I can, but then I have to
plug in the headphones, otherwise the fan gets so loud it drowns the sound of
the speaker), and if I run _too many _applications at once (emacs, opera
browser, email client, IM and one terminal instance open), the system slows
down so much that it&amp;rsquo;s hardly usable.&lt;/p&gt;
&lt;p&gt;A linux enthusiast&amp;rsquo;s argument right now would either be, that I&amp;rsquo;m using
&lt;em&gt;cheap, unsupported hardware&lt;/em&gt;, and that I can&amp;rsquo;t blame anyone for that, or that
I haven&amp;rsquo;t searched any forums/mailing lists for help. Well, unfortunately it&amp;rsquo;s
not true. I&amp;rsquo;ve chosen my current laptop very carefully, precisely because I
didn&amp;rsquo;t want to have any compatibility problems, and I&amp;rsquo;ve looked for help &amp;ndash; I
just couldn&amp;rsquo;t find it.&lt;/p&gt;
&lt;p&gt;Hopefully Ubuntu team will fix the issues with intel graphics with 10.04 Lucid
Lynx release. Or hopefully I&amp;rsquo;ll soon get a job that will enable me to replace
my current hardware with the one that has an apple logo on it (yes, I&amp;rsquo;m aware
of the fact that I&amp;rsquo;m betting my soul here). Suddenly the highly glossy display
of the new 13&amp;rsquo;&amp;rsquo; Macbook Pro doesn&amp;rsquo;t seem so glossy anymore&amp;hellip;&lt;/p&gt;</description></item><item><title>duplicity</title><link>https://piotr.is/2009/duplicity/</link><pubDate>Sun, 01 Nov 2009 00:00:00 +0000</pubDate><guid>https://piotr.is/2009/duplicity/</guid><description>&lt;p&gt;I&amp;rsquo;m paranoid about backups and I have good reasons for that. I&amp;rsquo;ve tested many
open source tools for automatic backup available for linux, but none of them
fulfilled all my requirements.&lt;/p&gt;
&lt;p&gt;I liked &lt;a href="https://launchpad.net/deja-dup" target="_blank" rel="noreferrer"&gt;Déjà-Dup&lt;/a&gt; a lot, but it wasn&amp;rsquo;t able
to abort a backup once the destination directory (portable hdd) wasn&amp;rsquo;t present
(or rather: it did abort, but tried to prepare a backup anyway, consuming some
cpu on the way). Second thing about Déjà-Dup I didn&amp;rsquo;t like is that it divides
backup files into 5 megabyte archives &amp;mdash; opening a directory containing 20
gigabytes of such archives takes a while (I understand the reason for such
small volumes is handling Amazon S3, but for local backups it makes no sense),
and finally, Déjà-Dup can&amp;rsquo;t make automatic backups more often than once a day
(did I mention I&amp;rsquo;m a bit paranoid?). However, Déjà-Dup integrates with Gnome
very nicely, and since it uses &lt;a href="http://duplicity.nongnu.org/" target="_blank" rel="noreferrer"&gt;duplicity&lt;/a&gt; as a
backend, I was able to come up with a simple script fixing all the problems in
a couple of minutes.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;#!/bin/bash
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;BACKUP_SCRIPT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="si"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;0&lt;/span&gt;&lt;span class="p"&gt;##*/&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;DUPLICITY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;/usr/bin/duplicity&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;DATE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;/bin/date +%R-%d-%m-%y&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;BACKUP_COMMAND&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$DUPLICITY&lt;/span&gt;&lt;span class="s2"&gt; --exclude=/media/backups --exclude=/home/piotr/.cache --include=/home/piotr --exclude=** --no-encryption / file:///media/backups --volsize=250 --archive-dir=/home/piotr/.cache/deja-dup&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Sanity checks&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;test&lt;/span&gt; -z &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$BASH&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$DATE&lt;/span&gt;&lt;span class="s2"&gt; \n&lt;/span&gt;&lt;span class="nv"&gt;$BACKUP_SCRIPT&lt;/span&gt;&lt;span class="s2"&gt;:&lt;/span&gt;&lt;span class="nv"&gt;$LINENO&lt;/span&gt;&lt;span class="s2"&gt;: please run this script with the BASH shell\n&amp;#34;&lt;/span&gt; &amp;gt;&lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="m"&gt;2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nb"&gt;exit&lt;/span&gt; &lt;span class="m"&gt;192&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;test&lt;/span&gt; ! -x &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$DUPLICITY&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$DATE&lt;/span&gt;&lt;span class="s2"&gt; \n&lt;/span&gt;&lt;span class="nv"&gt;$BACKUP_SCRIPT&lt;/span&gt;&lt;span class="s2"&gt;:&lt;/span&gt;&lt;span class="nv"&gt;$LINENO&lt;/span&gt;&lt;span class="s2"&gt;: the command &lt;/span&gt;&lt;span class="nv"&gt;$DUPLICITY&lt;/span&gt;&lt;span class="s2"&gt; is not available - aborting\n&amp;#34;&lt;/span&gt; &amp;gt;&lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="m"&gt;2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nb"&gt;exit&lt;/span&gt; &lt;span class="m"&gt;192&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Create an incremental backup if the portable drive is connected&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;test&lt;/span&gt; -d /media/backups &lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;\n\n\n\n\n`&lt;/span&gt;&lt;span class="nv"&gt;$DATE&lt;/span&gt;&lt;span class="s2"&gt;` \nBacking up!\n-------------------------------------------------\n&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;$BACKUP_COMMAND&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;else&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;`&lt;/span&gt;&lt;span class="nv"&gt;$DATE&lt;/span&gt;&lt;span class="s2"&gt;` \n&lt;/span&gt;&lt;span class="nv"&gt;$BACKUP_SCRIPT&lt;/span&gt;&lt;span class="s2"&gt;:&lt;/span&gt;&lt;span class="nv"&gt;$LINENO&lt;/span&gt;&lt;span class="s2"&gt;: portable drive not connected - aborting\n\n&amp;#34;&lt;/span&gt; &amp;gt;&lt;span class="p"&gt;&amp;amp;&lt;/span&gt;&lt;span class="m"&gt;2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nb"&gt;exit&lt;/span&gt; &lt;span class="m"&gt;192&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Cleanup&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;`&lt;/span&gt;&lt;span class="nv"&gt;$DATE&lt;/span&gt;&lt;span class="s2"&gt;` Files backed up successfully\n-------------------------------------------------\n&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;exit&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt; &lt;span class="c1"&gt;# all is well&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The best way is to first configure Déjà-Dup according to your needs, then copy
the duplicity command it uses while backing up (it&amp;rsquo;s visible in &lt;code&gt;STDOUT&lt;/code&gt; once
you set an environment variable &lt;code&gt;DEJA_DUP_DEBUG=1&lt;/code&gt;), paste it into the script,
tune it (I&amp;rsquo;ve changed the volume size), and simply put it to &lt;code&gt;crontab&lt;/code&gt; &amp;mdash;
this way it&amp;rsquo;s easy to control how often your backups are done.&lt;/p&gt;
&lt;p&gt;Feel free to use the script if you need it, and if you&amp;rsquo;re better in unix
scripting than I am (and I believe you are), send me any improvements and/or
comments.&lt;/p&gt;</description></item></channel></rss>