{"@attributes":{"version":"2.0"},"channel":{"title":"lewinb.net - Lewin Bormann on Lewin Bormann","link":"https:\/\/lewinb.net\/","description":"Recent content in lewinb.net - Lewin Bormann on Lewin Bormann","generator":"Hugo","language":"en-us","lastBuildDate":"Tue, 17 Mar 2026 18:59:26 +0100","item":[{"title":"See more on SkySee","link":"https:\/\/lewinb.net\/posts\/29_skysee_developed\/","pubDate":"Tue, 17 Mar 2026 18:59:26 +0100","guid":"https:\/\/lewinb.net\/posts\/29_skysee_developed\/","description":"<p>After I released <a href=\"..\/28_skysee\">the first version of SkySee<\/a> - see <a href=\"https:\/\/skysee.ch\">skysee.ch<\/a> - I quickly received\nfeedback, and also felt myself, the limits of a pure SHV number based tagging. To recap, Swiss glider pilots are\nobligated to put their Swiss paragliding\/delta association (SHV) membership number on the down-facing side of their\nglider, for accountability purposes. The original SkySee idea was to repurpose this number for sharing flight photos\namong pilots.<\/p>\n<p>However, depending on the perspective, in dynamic situations, or from far away, the letters can not always be read\neasily; especially on snapshots or videos with limited resolution. In addition, there are plans to replace the physical\nSHV number with an electronic identification system in the next few years: so the days of SHV number tagging would be\nlimited anyway.<\/p>"},{"title":"Building SkySee","link":"https:\/\/lewinb.net\/posts\/28_skysee\/","pubDate":"Fri, 06 Feb 2026 17:18:38 +0100","guid":"https:\/\/lewinb.net\/posts\/28_skysee\/","description":"<h2 id=\"context\">Context<\/h2>\n<p>In the past weeks, I&rsquo;ve built a web application from the ground up, scratching an itch I&rsquo;ve had for\na long time. Since fall 2024, I&rsquo;ve been the proud owner of a Swiss paragliding license, and I&rsquo;ve\nbeen making use of this privilege quite a bit (but not as much as I would have liked).<\/p>\n<p>My second-favorite part of a day going flying is the time spent in between flights. Whether that&rsquo;s\ntalking to other pilots, hiking, eating lunch, or taking photos. This means I&rsquo;ve ended up with a\nwhole lot of photos of other pilots: sometimes during the final leg before landing, or during their\ntake-off, and often enough even while in the air.<\/p>"},{"title":"News in uvco","link":"https:\/\/lewinb.net\/posts\/27_uvco_news\/","pubDate":"Sun, 07 Dec 2025 12:52:35 +0100","guid":"https:\/\/lewinb.net\/posts\/27_uvco_news\/","description":"<p>How time passes! This is already the third article discussing my <a href=\"https:\/\/github.com\/dermesser\/uvco\">uvco<\/a> library for\nasynchronous programming in C++ - the <a href=\"https:\/\/lewinb.net\/tags\/uvco\">uvco tag<\/a> shows all past and future articles.<\/p>\n<p>The reason for this installment are several fundamental improvements I&rsquo;ve implemented in recent weeks, turning the\nfledgling, sometimes unstable and hard to use uvco library discussed in those previous articles, into a more robust and\nscalable framework for almost-serious asynchronous programming in C++. In addition, several benchmarks have been\nimplemented to better quantify the throughput and latency numbers currently achievable with uvco.<\/p>"},{"title":"But what is a Quantum Control System?","link":"https:\/\/lewinb.net\/posts\/26_qcs\/","pubDate":"Tue, 21 Oct 2025 09:32:14 +0200","guid":"https:\/\/lewinb.net\/posts\/26_qcs\/","description":"<p>In my job at Zurich Instruments, I&rsquo;m busy most days building software for a <em>quantum control system<\/em> (QCS). And even\nthough that&rsquo;s something very tangible for me, it&rsquo;s often difficult to explain to folks outside of the field, and\nsometimes I struggle to describe precisely to other physicists what a QCS is or does.<\/p>\n<p>So first, for a working definition we use internally: A QCS is a system used in building quantum computers, specifically\nconcerned with controlling the individual qubits. Each qubit is a discrete physical system typically exhibiting two\nenergy states, and by coupling them to each other, quantum computations can be executed on the quantum computer. How\nspecifically that works is beyond this discussion (and also beyond me, if I&rsquo;m honest). Oftentimes, the chip (if it is a\nchip) containing qubits is called the <em>QPU<\/em>, or Quantum Processing Unit, in analogy to the CPU or GPU. But as I will\ndescribe further down, this term is not quite clear and can be used in a different way. Also note that despite having an\neducation in physics, I&rsquo;m working on the QCS <em>software<\/em> &ndash; I have many extremely competent colleagues with PhDs in\nquantum computing who are much better able to explain the finer aspects of quantum computing.<\/p>"},{"title":"Design of the uvco async library","link":"https:\/\/lewinb.net\/posts\/25_uvco_design\/","pubDate":"Tue, 30 Jul 2024 22:06:26 +0200","guid":"https:\/\/lewinb.net\/posts\/25_uvco_design\/","description":"<p><strong><center>New article, discussing recent developments and improvements: <a href=\"https:\/\/lewinb.net\/posts\/27_uvco_news\">News in uvco<\/a><\/center><\/strong><\/p>\n<p>I&rsquo;ve already presented my &ldquo;uvco&rdquo; library in a <a href=\"https:\/\/lewinb.net\/posts\/21_uvco_asynchronous_library\/\">previous post<\/a>. Here I want to go\ndeeper on the underlying design ideas and mechanics of using C++ coroutines to make using libuv a lot more ergonomic\nthan otherwise.<\/p>\n<p>The outcome is similar to e.g. Node.js concurrency - not surprising, because that&rsquo;s still libuv&rsquo;s main use case - or Python&rsquo;s\n<code>asyncio<\/code> library.<\/p>\n<h2 id=\"getting-started-with-c-coroutines\">Getting Started with C++ coroutines<\/h2>\n<p>When coroutines were first standardized, I was looking forward to using them. Having used Go before, I hoped that\nwriting concurrent and parallel code would finally become more accessible in C++. However, if you read references for\nC++ coroutines, you&rsquo;ll notice that they never talk about concurrency at all. That was initially a bit difficult to\nunderstand, and I wasn&rsquo;t quite sure what coroutines would be good for then.<\/p>"},{"title":"ELF Linking and Loading in Practice","link":"https:\/\/lewinb.net\/posts\/24_elf_linking_and_loading\/","pubDate":"Mon, 22 Apr 2024 19:28:54 +0200","guid":"https:\/\/lewinb.net\/posts\/24_elf_linking_and_loading\/","description":"<p>I&rsquo;ve programmed in C and C++, later in Rust and OCaml, for more than 12 years now. One of the most interesting aspects\nto me were the operating system, how code interacts with it, and how code is run. Like most people, I followed the\ntypical journey: compile your first code using <code>gcc -c hello.c<\/code>, then link it using <code>gcc -o hello hello.o<\/code>, and finally\nrun it using <code>.\/hello<\/code>. With <a href=\"https:\/\/github.com\/dermesser\/libsocket\">libsocket<\/a> I published a library for both C and\nC++, facilitating using the sockets API on Unix systems - and as a library, I had to learn how to build a dynamic\nlibrary (shared object, SO), and how to link against it. I&rsquo;ve had my fair share of linker errors, too, but one thing\nstood out to me: linking and loading are complex processes, but generally so reliable that they almost always work. And\nif they don&rsquo;t it&rsquo;s usually my own fault - a missing translation unit, or something similar.<\/p>"},{"title":"A simple Priority Queue in OCaml","link":"https:\/\/lewinb.net\/posts\/22_priorityqueue_ocaml\/","pubDate":"Sat, 30 Dec 2023 18:26:38 +0100","guid":"https:\/\/lewinb.net\/posts\/22_priorityqueue_ocaml\/","description":"<p>While working on some programming quiz in <a href=\"https:\/\/lewinb.net\/tags\/ocaml\">OCaml<\/a>, I needed to use a priority queue (or\nheap) in order to solve some graph traversal problem. However, unfortunately, OCaml doesn&rsquo;t provide\nany sort of priority queue or heap in its standard library. And after a brief search I haven&rsquo;t found\nany that satisfied me in terms of their interface.<\/p>\n<p>However, in I came across the idea to simply use a <code>Set<\/code> keyed by <code>(int * 'a)<\/code> where <code>int<\/code> is the\npriority and <code>'a<\/code> the payload. That&rsquo;s clever! The access complexity for the min (or max) element is\nnow <code>log N<\/code> but that is still better than not having a proper heap. I also didn&rsquo;t feel like writing\nmy own heap based on an array or a simple tree structure; making use of the well-known <code>Base.Set<\/code>\nmodule seemed more attractive. I generally use Jane Street&rsquo;s <code>Base<\/code> and <code>Core<\/code> all the time, as they\nare a bit more pleasant to use and more complete than the standard library.<\/p>"},{"title":"The uvco C++ async library","link":"https:\/\/lewinb.net\/posts\/21_uvco_asynchronous_library\/","pubDate":"Sun, 26 Nov 2023 23:37:20 +0100","guid":"https:\/\/lewinb.net\/posts\/21_uvco_asynchronous_library\/","description":"<p><em>Updated: May 7, 2024<\/em><\/p>\n<p><strong><center>New article, going in depth on uvco: <a href=\"https:\/\/lewinb.net\/posts\/25_uvco_design\">Design of the uvco async library<\/a><\/center><\/strong><\/p>\n<p>Since starting my new position at <a href=\"http:\/\/zhinst.com\">Zurich\nInstruments<\/a> I&rsquo;ve worked a lot with the lovely  <code>kj<\/code>\nframework, in conjunction with <a href=\"http:\/\/capnproto.org\/\">capnproto RPC<\/a>. <code>kj<\/code> is\nan asynchronous network programming library, and gained support for C++\ncoroutines in <a href=\"https:\/\/capnproto.org\/news\/2023-07-28-capnproto-1.0.html\">version\n1.0<\/a>. For this use\ncase, coroutines are great, simplify usage, and may even yield performance\nimprovements.<\/p>\n<p>To get a better understanding, I attempted my hand at writing a small coroutine\nframework driven by the <a href=\"http:\/\/libuv.org\">libuv<\/a> event loop. While there were\nsome snags to be navigated, this turned out to be a great fit, and I quickly\nmanaged to map a good part of its functionality to a coroutine-based\nimplementation.<\/p>"},{"title":"Functional JSON Access","link":"https:\/\/lewinb.net\/posts\/20_functional_json_access\/","pubDate":"Sat, 26 Aug 2023 13:49:15 +0200","guid":"https:\/\/lewinb.net\/posts\/20_functional_json_access\/","description":"<p>While working on <a href=\"https:\/\/lewinb.net\/posts\/19_typst_of_jupyter\/\">typst_of_jupyter<\/a>, I came across a very common problem: efficiently and\nreliably accessing nested JSON structures. This is an age-old problem that every programmer will have come across, and\nit&rsquo;s easier in some languages &ndash; dynamically typed ones like Python or JavaScript &ndash; and more annoying in others.<\/p>\n<p>typst_of_jupyter is written in <a href=\"https:\/\/ocaml.org\/\">OCaml<\/a>, which &ndash; being statically typed &ndash; rather falls into the\nsecond category. In order to generate typst code for a Jupyter notebook, the JSON structure representing the notebook\nmust be processed. It is not a very complicated structure, but enough to be annoying to deal with in a plain way.<\/p>"},{"title":"Typst_of_jupyter: Better notebook PDFs","link":"https:\/\/lewinb.net\/posts\/19_typst_of_jupyter\/","pubDate":"Thu, 27 Jul 2023 00:30:02 +0200","guid":"https:\/\/lewinb.net\/posts\/19_typst_of_jupyter\/","description":"<p>If you have followed my posts (unlikely, given the visitor counts of my website), you have seen\n<a href=\"https:\/\/lewinb.net\/posts\/14_typst_and_a_cv_template\/\">one<\/a> or <a href=\"https:\/\/lewinb.net\/posts\/15_typst_for_technical_documentation\/\">two<\/a> posts about\n<a href=\"https:\/\/typst.app\">Typst<\/a>, the new text-based typesetting system. I&rsquo;ve already shown in <a href=\"https:\/\/lewinb.net\/posts\/15_typst_for_technical_documentation\/\">a previous\npost<\/a> that Typst can be very useful as an intermediate language for\ngenerating PDFs.<\/p>\n<p>Disappointed by the various ways of exporting <a href=\"https:\/\/jupyter.org\">Jupyter notebooks<\/a> &ndash; printing from the browser, converting to LaTeX,\npandoc, etc. &ndash; I was looking for an approach that allows for archiving and sharing high-quality versions of Jupyter\nnotebooks preferably as PDF files. The idea to use Typst for generating such PDFs was obvious!<\/p>"},{"title":"Playing with OCaml Effects","link":"https:\/\/lewinb.net\/posts\/17_playing_with_ocaml_effects\/","pubDate":"Sun, 23 Jul 2023 15:40:04 +0200","guid":"https:\/\/lewinb.net\/posts\/17_playing_with_ocaml_effects\/","description":"<p>A few weeks ago I finally started seriously working with <a href=\"https:\/\/ocaml.org\/\">OCaml<\/a>, after having ignored it for a long\ntime. The main reason was the lack for multithreading, which I felt is essential these days (even though most code, of\ncourse, doesn&rsquo;t make use of it.) But OCaml 5 was released a few months ago, and has removed this barrier &ndash; along with\nintroducing <a href=\"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3453483.3454039\"><em>Effect handlers<\/em><\/a>, a smooth way for handling all kinds\nof ways to hack a program&rsquo;s control flow.<\/p>"},{"title":"Foothills of Zug","link":"https:\/\/lewinb.net\/photos\/11_foothills\/","pubDate":"Fri, 21 Jul 2023 23:31:49 +0200","guid":"https:\/\/lewinb.net\/photos\/11_foothills\/","description":"<p>The &ldquo;secret&rdquo; to the most clich\u00e9 idyllic landscapes is to not look in the alpine regions, but in the foothills preceding\nthem. In this case, in the canton of Zug between Aegerisee and Raten pass (1080 m above sea level). With the farmers\nrushing to take in hay before the arriving rainstorm, the perfect scene was set.<\/p>\n<p>No more talk &ndash; the photos speak for themselves:<\/p>\n<p>\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6507942.JPG\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6507942_hu_753a26e1a1d3cb46.JPG\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6507949.JPG\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6507949_hu_1a9fcd90db78558f.JPG\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6507954.JPG\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6507954_hu_282ed8a690505bf7.JPG\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6507971.JPG\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6507971_hu_48199c9c4c7dce8e.JPG\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=47.14444722222222,8.658848333333333\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6507979.JPG\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6507979_hu_aec7c7b033b9a44.JPG\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=47.14659944444444,8.65796388888889\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6507983.JPG\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6507983_hu_ac365c247f00d9d8.JPG\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=47.147615277777774,8.657154444444444\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6508005.JPG\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6508005_hu_88ba8e9ccbe80e26.JPG\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=47.14789583333333,8.655621944444444\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6508023.JPG\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6508023_hu_ca9658a2eaa71a.JPG\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=47.14953583333333,8.652457222222223\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6508030.JPG\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6508030_hu_9b88dd4f851c43b6.JPG\" \/>\n<\/a>\n<center><i>\n         <b>Mount Rigi and Pilatus, near Lucerne.<\/b> \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=47.141504166666664,8.663085555555556\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6508032.JPG\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6508032_hu_38e718d57af9f35f.JPG\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=47.14151361111111,8.663044166666667\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6508043.JPG\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/11_foothills\/D6508043_hu_a1015c124f53718e.JPG\" \/>\n<\/a>\n<center><i>\n         <b>Mount Rigi (on the right)<\/b> \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=47.141551388888885,8.662883333333333\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n<\/p>"},{"title":"The Law of Lawyers","link":"https:\/\/lewinb.net\/posts\/16_law_of_lawyers\/","pubDate":"Sun, 18 Jun 2023 13:47:26 +0200","guid":"https:\/\/lewinb.net\/posts\/16_law_of_lawyers\/","description":"<h2 id=\"background\">Background<\/h2>\n<p>Over the past years, I&rsquo;ve repeatedly seen articles claiming a looming shortage of lawyers:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.thomsonreuters.com\/en-us\/posts\/legal\/long-term-legal-labor-shortage\/\">Reuters: &ldquo;Could the legal industry be entering a long-term lawyer labor shortage?&rdquo;<\/a><\/li>\n<li><a href=\"https:\/\/www.deutschlandfunk.de\/juristen-mangel-in-deutschland-zu-wenige-richter-und-lange-100.html\">Deutschlandfunk: &ldquo;Zu wenige Richter und lange Justiz-Verfahren&rdquo;<\/a><\/li>\n<li><a href=\"https:\/\/apnews.com\/article\/georgia-justice-judiciary-courts-lawyer-shortage-fa4c1c5fceeaaca635cfad8dbbb27d2f\">AP: &ldquo;Georgia chief justice says lawyer shortage slows down courts&rdquo;<\/a><\/li>\n<\/ul>\n<p>But I&rsquo;ve wondered: is such a shortage serious, and more importantly, would having more lawyers (which in the following\nalso includes judges and so on, essentially jurists) help ameliorating the situation?<\/p>"},{"title":"Typst for Technical Documentation","link":"https:\/\/lewinb.net\/posts\/15_typst_for_technical_documentation\/","pubDate":"Fri, 16 Jun 2023 17:49:37 +0200","guid":"https:\/\/lewinb.net\/posts\/15_typst_for_technical_documentation\/","description":"<p>In my second post on Typst &ndash; after the <a href=\"https:\/\/lewinb.net\/posts\/14_typst_and_a_cv_template\/\">CV template<\/a> which already ranks me fairly\nhigh in the search results for those terms :-) &ndash; I want to present a use case of Typst I found while working on my\nmaster&rsquo;s thesis on integrated photonics devices for multiplexing at low temperatures.<\/p>\n<p>That use case is short techical reports respectively &ldquo;data sheets&rdquo;, and I&rsquo;m proud that this one too doesn&rsquo;t fall under\nthe apparently intended main application of Typst, which would be writing (academic) publications. In addition, I&rsquo;ve\nalso written various pieces of technical documentation with it, but those are rather conventional (and could have easily\nbeen written in LaTex or Word).<\/p>"},{"title":"Typst and a CV template","link":"https:\/\/lewinb.net\/posts\/14_typst_and_a_cv_template\/","pubDate":"Sun, 23 Apr 2023 10:41:18 +0200","guid":"https:\/\/lewinb.net\/posts\/14_typst_and_a_cv_template\/","description":"<p><em>Updated 2023-08-30<\/em><\/p>\n<p>If you are interested in typesetting outside the normal options (Word, LibreOffice), and have had a gnawing feeling that\nLaTeX is, after all, a bit annoying to use (and I say that as a maybe not power user, but having used it for the past\nten years, including all important documents), <a href=\"https:\/\/typst.app\">Typst<\/a> may be for you.<\/p>\n<p>It&rsquo;s a new document language, conceptually somewhere between LaTeX and Markdown, has been hyped a bit recently &ndash; and\nthat hype is fully deserved. Having had no experience in it, I rewrote my CV on a Sunday morning\nwithin less than two hours, and it looks better than the prior LaTeX version. Written in Rust, it is easily installable\nthrough <code>cargo<\/code>, as a standalone binary, or usable on the web. I went the first route (as a matter of pride).<\/p>"},{"title":"Just some cat photos","link":"https:\/\/lewinb.net\/photos\/10_just_some_cat_photos\/","pubDate":"Wed, 19 Apr 2023 20:58:32 +0200","guid":"https:\/\/lewinb.net\/photos\/10_just_some_cat_photos\/","description":"<p>I&rsquo;ve recently had the privilege of meeting several lovely cats who agreed to have their photos taken (at least that&rsquo;s\nhow I interpreted their behavior).<\/p>\n<p>All photos except for the last one were taken with my <a href=\"https:\/\/lewinb.net\/photos\/04_auto_revuenon\/\"><em>Auto Revuenon f\/1.4 55mm<\/em><\/a> lens.<\/p>\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/10_just_some_cat_photos\/uediker_buesi.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/10_just_some_cat_photos\/uediker_buesi_hu_b971483b006487df.jpg\" \/>\n<\/a>\n<center><i>\n         <b>Uediker B\u00fcsi<\/b> \n        \n        \n        \n         ---- \n    \n<\/i><\/center>\n\n<p>This Dorito-colored cat visited my garden a few days ago. We&rsquo;d been acquainted already when it came out of its house (in\nmy neighborhood) to get a pat on the head one night.<\/p>"},{"title":"Thermal Limits of Quantum Compting","link":"https:\/\/lewinb.net\/posts\/13_thermal_limits_of_quantum_computing\/","pubDate":"Sun, 25 Dec 2022 14:30:17 +0100","guid":"https:\/\/lewinb.net\/posts\/13_thermal_limits_of_quantum_computing\/","description":"<p><em>Disclaimer: I have little knowledge about the details of quantum computing!\nNeither do you need any to understand this short article.<\/em><\/p>\n<p>I am working on my master&rsquo;s thesis these days, or more specifically the\nresearch that will hopefully lead to having something to write about. While I\ncannot go into details due to my host institutes customs on intellectual\nproperty etc. &ndash; the world will have to wait for my thesis to be published &ndash; I\nam fortunately allowed to talk about the context and the problem. Later on, I\nhope to write a few more articles on the specific technologies I am using, while\nremaining at a high enough abstraction level to not violate any rules. I also\nwon&rsquo;t go into extreme details: for that you will have to wait for my master&rsquo;s\nthesis.<\/p>"},{"title":"What Every Programmer Should Know About Optical Fiber","link":"https:\/\/lewinb.net\/posts\/12_what_every_programmer_should_know_about_optical_fiber\/","pubDate":"Mon, 15 Aug 2022 22:53:25 -0700","guid":"https:\/\/lewinb.net\/posts\/12_what_every_programmer_should_know_about_optical_fiber\/","description":"<p>Could you imagine an internet with just text? No photos, no audio, and certainly no video? Forget\nabout memes, Youtube, and Netflix! All these very essential services could simply not exist\nwithout&hellip; <strong>Optical Fiber<\/strong>!<\/p>\n<p>So when compiling a list of technologies with the highest impact on our daily lives, optical fiber\nwould certainly take up one of the top spots. As long as the internet is mentioned, fiber needs to\nbe credited. The main question that I had for years, as programmer, software engineer, and generally\ncomputer person &ndash; and that probably you might have too, if you have read anything about\nfiber-related technologies &ndash; is: <em>how is fiber so damn fast?<\/em><\/p>"},{"title":"The Sony Zeiss 16-70mm f\/4 Lens","link":"https:\/\/lewinb.net\/photos\/09_sony_ze_1670\/","pubDate":"Sat, 30 Jul 2022 22:08:20 -0700","guid":"https:\/\/lewinb.net\/photos\/09_sony_ze_1670\/","description":"<p>After noticing that by far most visitors to my website don&rsquo;t come for my technical\/scientific\ncontent (sad!) but for my <a href=\"https:\/\/lewinb.net\/photos\/04_auto_revuenon\/\">Auto Revuenon review<\/a>, I figured I may expand\nmy portfolio of <a href=\"https:\/\/lewinb.net\/tags\/lensreview\">lens reviews<\/a>, and present more of my not-so-rare knowledge and\nprobably-wrong opinions publicly.<\/p>\n<p>Thus: This review of <strong>Sony&rsquo;s Z 16-70 mm f\/4 E<\/strong> lens, or fully <strong>Vario-Tessar T* E 16-70 mm F4 ZA\nOSS<\/strong>, or technically just <strong>SEL1670Z<\/strong>.<\/p>\n<h2 id=\"overview\">Overview<\/h2>\n<p>The technical aspects you can find on <a href=\"https:\/\/www.sony.com\/electronics\/support\/lenses-e-mount-lenses\/sel1670z\/specifications\">Sony&rsquo;s\nsite<\/a>, and I\nwon&rsquo;t repeat them here. Instead I&rsquo;ll provide my subjective impression so far (no shots of diagrams\nor walls either). You can click the images to obtain a full-size (camera-resolution) JPEG.<\/p>"},{"title":"Hollywood Hills","link":"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/","pubDate":"Fri, 24 Jun 2022 21:54:00 -0700","guid":"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/","description":"<p>I walked off the busy Hollywood streets &ndash; with the LA pride in full swing &ndash; into the Hollywood\nhills. Looking at all these rich people&rsquo;s houses didn&rsquo;t do much to help my confidence. At least it\nwas a colorful and impressive walk. In tourism-mode I was using my lovely Sony\/Zeiss 16-70mm f\/4\nzoom lens.<\/p>\n<p>You can find more photos of my short Los Angeles trip on <a href=\"https:\/\/flic.kr\/s\/aHBqjzVnct\">Flickr<\/a>.<\/p>\n<p>\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/214.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/214_hu_61e97b020d6aa58b.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.10610526666667,-118.32975305\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/229.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/229_hu_e7b0a516366bc3ff.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.111972216666665,-118.33094388333333\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/241.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/241_hu_37399af8d6be04a0.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.11452083333333,-118.33036638333333\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/248.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/248_hu_a8ba868b35a08667.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.11513721666667,-118.32896638333334\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/249.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/249_hu_da22f7152acb597e.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.11514833333333,-118.32893638333333\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/252.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/252_hu_3f8762531961e234.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.11530388333333,-118.32701305\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/253.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/253_hu_2a9f73441a4c8c23.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.11524915,-118.32711083333334\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/256.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/256_hu_69195b06caac304d.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.115220816666664,-118.32683943333333\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/263.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/263_hu_e6875a31b9a76599.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.11533055,-118.32813748333334\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/269.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/269_hu_53cb6b2beb100a3b.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.115649166666664,-118.32853\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/270.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/270_hu_1a31ffdc1273deb1.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.11567,-118.32850666666667\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/274.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/274_hu_a5e1b7391e64340c.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.11607805,-118.32971026666667\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/283.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/283_hu_917ff9c3f3423fe0.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.11767416666667,-118.33040555\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/285.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/285_hu_7f03f3cc0b7df76f.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.11770526666667,-118.33037888333334\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/286.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/286_hu_1ed7cb1c2e8ed487.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.1176675,-118.33034555\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/302.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/302_hu_b5db54fbfa352647.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.11796416666667,-118.33223581666667\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/308.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/308_hu_7e4d62522e3000f3.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.10188,-118.31662331666666\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/312.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/08_hollywoodhills\/312_hu_47c457b765ee47c3.jpg\" \/>\n<\/a>\n<center><i>\n        \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=34.101885833333334,-118.31630248333333\" target=\"_blank\">Location<\/a>) \n         E 16-70mm F4 ZA OSS \n    \n<\/i><\/center>\n<\/p>"},{"title":"Weighted Means - a Bayesian View","link":"https:\/\/lewinb.net\/posts\/11_weighted_mean_bayesian_view\/","pubDate":"Wed, 25 May 2022 20:37:01 -0700","guid":"https:\/\/lewinb.net\/posts\/11_weighted_mean_bayesian_view\/","description":"<p>Every student in quantitative sciences &ndash; I will argue &ndash; sooner or later comes across the weighted\nmean, a tool to incorporate measurements with different uncertainties into a overall measurement of\nbetter uncertainty than any single measurement. This is commonly defined for measurements $x_i$ with\nuncertainties $\\sigma_i$ as the following:<\/p>\n<p>$$\\overline x = \\frac{\\sum_i x_i\/\\sigma_i^2}{\\sum_i 1\/\\sigma_i^2}$$\n$$\\overline\\sigma^2 = \\sum_i \\frac{1}{\\sigma_i^2}$$<\/p>\n<p>It is straight-forward to interpret this as a weighted sum of measurements, with &ldquo;better&rdquo;\n(low-uncertainty\/high-precision) measurements receiving a higher weight than less precise ones.<\/p>"},{"title":"California","link":"https:\/\/lewinb.net\/photos\/07_california\/","pubDate":"Tue, 03 May 2022 22:03:42 -0700","guid":"https:\/\/lewinb.net\/photos\/07_california\/","description":"<p>Staying in California obviously gives some great opportunities to take amazing photos. The ones you\ncan see are just a small taste; you can see a much greater selection on\n<a href=\"https:\/\/flic.kr\/s\/aHBqjzGG6B\">Flickr<\/a>. Click images to magnify.<\/p>\n<ul>\n<li><a href=\"#kingscanyon\">Kings Canyon<\/a><\/li>\n<li><a href=\"#davis\">Davis<\/a><\/li>\n<li><a href=\"#campus\">UC Davis Campus<\/a><\/li>\n<li><a href=\"#reyes\">Point Reyes<\/a><\/li>\n<li><a href=\"#yosemite\">Yosemite National Park<\/a><\/li>\n<li><a href=\"#berryessa\">Lake Berryessa<\/a><\/li>\n<li><a href=\"#coaststarlight\">Amtrak Coast Starlight (Davis - Los Angeles)<\/a><\/li>\n<\/ul>\n<h2 id=\"kingscanyon\">Kings Canyon\/Sequoia National Park<\/h2>\n<p><a href=\"https:\/\/flic.kr\/s\/aHBqjzQg7r\">(Flickr)<\/a><\/p>\n<p>\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/07_california\/kc0.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/07_california\/kc0_hu_1ed19fde30549a19.jpg\" \/>\n<\/a>\n<center><i>\n         <b>Driving to Kings Canyon<\/b> \n        \n        \n        \n         FE 50mm F1.8 \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/07_california\/kc2.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/07_california\/kc2_hu_43e8e34e57ce9d49.jpg\" \/>\n<\/a>\n<center><i>\n         <b>Road into Kings Canyon\/Roads End<\/b> \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=36.82257555,-118.83532638333334\" target=\"_blank\">Location<\/a>) \n         30mm F1.4 DC DN | Contemporary 016 \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/07_california\/kc3.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/07_california\/kc3_hu_31115ffea0ad8b3f.jpg\" \/>\n<\/a>\n<center><i>\n         <b>View of Palmer Mountain<\/b> \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=36.805878316666664,-118.54671083333334\" target=\"_blank\">Location<\/a>) \n         30mm F1.4 DC DN | Contemporary 016 \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/07_california\/kc4.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/07_california\/kc4_hu_9caae87647b096b5.jpg\" \/>\n<\/a>\n<center><i>\n         <b>Secret submarine base?<\/b> \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=36.830436666666664,-118.54293443333333\" target=\"_blank\">Location<\/a>) \n         30mm F1.4 DC DN | Contemporary 016 \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/07_california\/kc5.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/07_california\/kc5_hu_497eb46911016c89.jpg\" \/>\n<\/a>\n<center><i>\n         <b>Driving in the Canyon<\/b> \n        \n        \n        \n         30mm F1.4 DC DN | Contemporary 016 \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/07_california\/kc1.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/07_california\/kc1_hu_3022b5004cab1141.jpg\" \/>\n<\/a>\n<center><i>\n         <b>Sunset over Kings Canyon NP<\/b> \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=36.83367388333333,-118.90087416666667\" target=\"_blank\">Location<\/a>) \n         30mm F1.4 DC DN | Contemporary 016 \n    \n<\/i><\/center>\n\n\n\n\n\n\n\n\n\n\n\n\n<a href=\"https:\/\/lewinb.net\/photos\/07_california\/kc6.jpg\" target=\"_blank\" >\n    <img src=\"https:\/\/lewinb.net\/photos\/07_california\/kc6_hu_7f695c0d0e89d720.jpg\" \/>\n<\/a>\n<center><i>\n         <b>Old redwood stumps (Big Stump Grove)<\/b> \n        \n        \n        (<a href=\"https:\/\/maps.google.com\/?q=36.71828055,-118.96747331666667\" target=\"_blank\">Location<\/a>) \n         30mm F1.4 DC DN | Contemporary 016 \n    \n<\/i><\/center>\n<\/p>"},{"title":"Miscellaneous","link":"https:\/\/lewinb.net\/miscellaneous\/","pubDate":"Thu, 14 Apr 2022 20:53:20 -0700","guid":"https:\/\/lewinb.net\/miscellaneous\/","description":"<p><em>Minor works or interesting tidbits go here. Don&rsquo;t expect great insights!<\/em><\/p>\n<ul>\n<li><a href=\"https:\/\/lewinb.net\/doc\/vorticity.pdf\">Derivation of the (full and quasigeostrophic) Vorticity and Divergence equations (ATM 111 class, UC Davis)<\/a>\n<ul>\n<li>This is of interest to those excited about atmospheric dynamics. Otherwise, it probably isn&rsquo;t.<\/li>\n<\/ul>\n<\/li>\n<\/ul>"},{"title":"Some data algorithms","link":"https:\/\/lewinb.net\/posts\/10_some_data_algorithms\/","pubDate":"Thu, 17 Mar 2022 17:22:16 +0100","guid":"https:\/\/lewinb.net\/posts\/10_some_data_algorithms\/","description":"<p>In the past half year, I&rsquo;ve implemented various data analytics algorithms for my own understanding.\nMostly on a toy level, they are all implemented in Julia as Pluto notebooks and I hope they are\nhelpful as reference (if only for me). Here&rsquo;s the line-up:<\/p>\n<ul>\n<li><a href=\"https:\/\/lewinb.net\/doc\/data\/adaboost.jl.html\"><em>AdaBoost<\/em><\/a> &ndash; how to use enough shitty classifiers to make up a\nnot-so-shitty classifier. <em>(Note: the last plot is supposed to contain a heatmap, which sometimes\nonly shows up after refreshing the page)<\/em><\/li>\n<li><a href=\"https:\/\/lewinb.net\/doc\/data\/EM.jl.html\"><em>Expectation Maximization<\/em><\/a> &ndash; k-means clustering, but better<\/li>\n<li><a href=\"https:\/\/lewinb.net\/doc\/data\/GLM.jl.html\"><em>GLM<\/em><\/a> &ndash; generalized linear models for multi-class classification<\/li>\n<li><a href=\"https:\/\/lewinb.net\/doc\/data\/logistic.jl.html\"><em>logistic<\/em><\/a> &ndash; logistic regression; similar to GLM (but less general)<\/li>\n<li><a href=\"https:\/\/lewinb.net\/doc\/data\/SVM.jl.html\"><em>SVM<\/em><\/a> &ndash; the old-but-gold classic, here implemented in four flavors.<\/li>\n<\/ul>\n<p>I hope they are useful to you (although probably not). Either way, note how easy Julia makes it to\nimplement these (admittedly simple) algorithms, compared to e.g. Python with numpy. For example,\nbeing able to take the gradient of a function without further troubles (like frameworks\netc.) is often very useful for quickly optimizing some function; and matrix arithmetics are easier\nto use anyway.<\/p>"},{"title":"More Coupled Oscillators","link":"https:\/\/lewinb.net\/posts\/09_more_coupled_oscillators\/","pubDate":"Wed, 19 Jan 2022 21:35:54 +0100","guid":"https:\/\/lewinb.net\/posts\/09_more_coupled_oscillators\/","description":"<p>A very important concept in condensed matter physics (or solid-state physics, specifically) are\nlattice vibrations and their quantized form, phonons. I&rsquo;ve mentioned before that I like using a\ncomputational approach to better understand concepts, and it&rsquo;s not different here.<\/p>\n<p>I will assume no prior knowledge on your part, and additionally, I want to state that I don&rsquo;t claim\nto be anything but a humble student of this matter. If you find errors, please let me know\ndiscretely to save me the embarrassment :)<\/p>"},{"title":"Integer Programming (and Operations Research)","link":"https:\/\/lewinb.net\/posts\/08_integer-programming\/","pubDate":"Wed, 01 Dec 2021 21:59:40 +0100","guid":"https:\/\/lewinb.net\/posts\/08_integer-programming\/","description":"<p><em>updated: 2021-12-27<\/em><\/p>\n<p>Towards the end of my Bachelor&rsquo;s program, I decided to broaden my horizon and expand my options &ndash;\nand subsequently enrolled not only for Master&rsquo;s studies in Physics, but also in Economics. This is\na special curriculum offered by my university for students of science and engineering.<\/p>\n<p>Long story short, whereas some courses are quite, hm, boring &ndash; I&rsquo;ve been amazed by the <em>Operations\nResearch I<\/em> lecture (given by Prof. L\u00fcbbecke). In fact, I even chose Operations Research as the\nfocus of studies for the economics degree. But what is Operations Research (OR) in the first place?\nBeing very much a beginner in this field, I don&rsquo;t dare give a good definition or even overview of\nit. Generally, this field is concerned with optimization problems, often discrete ones, with\napplications in business, logistics, government, military, and so on. Typical problems in OR are route\nplanning (including travelling sales person\/TSP), packing, scheduling, allocation of resources, and\nso on.<\/p>"},{"title":"RWTH in Fall","link":"https:\/\/lewinb.net\/photos\/06_rwth_fall\/","pubDate":"Thu, 11 Nov 2021 22:17:48 +0100","guid":"https:\/\/lewinb.net\/photos\/06_rwth_fall\/","description":"<p>I like taking photos of my university campus; so much, in fact, that I&rsquo;ve created a <a href=\"https:\/\/www.flickr.com\/groups\/rwthaachen\/\">Flickr group\ndedicated to it<\/a>. These days, the late fall light gives\nsome special feeling to the Melaten campus especially (that&rsquo;s the part built as a greenfield project\nsome time in the 1970s, I believe).<\/p>\n<p>My endearingly snarky treatment of my <em>alma mater<\/em> is well-deserved, and I hope some things will\nchange in the upcoming years. Except for the bunnies, of course.<\/p>"},{"title":"Bachelor thesis","link":"https:\/\/lewinb.net\/posts\/07_bachelor\/","pubDate":"Thu, 14 Oct 2021 14:06:37 +0200","guid":"https:\/\/lewinb.net\/posts\/07_bachelor\/","description":"<p>I spent this past summer writing my Bachelor of Science thesis at RWTH Aachen&rsquo;s <em>Nuclear\nVerification and Disarmament<\/em> chair (Prof. Malte Goettsche) about <em>Reconstructing Nuclear Fuel\nCycles using Bayesian Inference: A First Implementation<\/em>.<\/p>\n<p>Recently, I received the feedback, which will hopefully soon result in me getting my &ldquo;BSc RWTH&rdquo;\ndegree. For my work, I received a 1.0 grade (which is the best grade on the German scale of 1.0 -\n4.0); for this, I&rsquo;m obviously happy. I am grateful for the support I received by Prof. Goettsche as\nwell as my supervisor, Max Schalz. Computing resources were provided by RWTH Aachen&rsquo;s data center.<\/p>"},{"title":"(DE) Wieso eigentlich keine Kernenergie?","link":"https:\/\/lewinb.net\/posts\/06_wieso-keine-kernenergie\/","pubDate":"Mon, 30 Aug 2021 11:24:58 +0200","guid":"https:\/\/lewinb.net\/posts\/06_wieso-keine-kernenergie\/","description":"<p><em>This article about why nuclear energy is questionable in this day and age is written in German, as\nthe topic of leaving nuclear energy is actively discussed in these days in Germany.<\/em><\/p>\n<p>In diesen Tagen der Klimakrise &ndash; W\u00e4lder im Mittelmeer verbrennen, deutsche St\u00e4dte werden\nhinweggeschwemmt, der neue IPCC-Report warnt vor Erreichen des 1.5-Grad-Ziels bis 2030 &ndash; h\u00f6rt man\nimmer wieder von Kernenergie. Gl\u00fccklicherweise nicht an prominentester Stelle, doch hin und wieder von\nKolumnisten und Kommentatoren in der einen oder anderen Publikation.<\/p>"},{"title":"Ordinary","link":"https:\/\/lewinb.net\/photos\/05_ordinary\/","pubDate":"Wed, 14 Jul 2021 21:58:40 +0200","guid":"https:\/\/lewinb.net\/photos\/05_ordinary\/","description":"<p>Unfortunately not always, but sometimes, I have a mind free enough to just go out and take photos.\nAachen definitely has some nice corners, but isn&rsquo;t known for its breathtaking\nall-encompassing beauty (as opposed to, say, Monschau &ndash; a nearby, very picturesque village). All\nthe more interesting is the consequence of this lack of specialty: even <strong>ordinary<\/strong> things can look\ninteresting when they are inside a photo, maybe with a bit of color corrections and definitely a\n<em>tastefully<\/em> blurred background.<\/p>"},{"title":"Bayesian Inference","link":"https:\/\/lewinb.net\/posts\/05_bayesian-inference\/","pubDate":"Wed, 23 Jun 2021 22:39:44 +0200","guid":"https:\/\/lewinb.net\/posts\/05_bayesian-inference\/","description":"<p><em>updated 2021-07-14<\/em><\/p>\n<p>&ldquo;Bayesian Inference&rdquo; &ndash; sounds fancy, eh? So non-frequentist, machine-learny,\ndoes it not? Anyway, I hadn&rsquo;t really heard too much about it before, but had to\ninvest some time understanding it in order to work on my BSc thesis (proposed\ntitle: <em>Reconstructing Nuclear Fuel Cycles Using Bayesian Inference: a first\nimplementation<\/em>), and now I seem to see it everywhere.<\/p>\n<p>But let&rsquo;s start with the <em>Bayes<\/em> in <em>Bayesian inference<\/em>.\nIf you are like me, then you&rsquo;ve probably heard about Bayes&rsquo; theorem, which is\nusually presented in the form<\/p>"},{"title":"The Auto Revuenon 55\/1.4 Lens","link":"https:\/\/lewinb.net\/photos\/04_auto_revuenon\/","pubDate":"Mon, 14 Jun 2021 11:07:03 +0200","guid":"https:\/\/lewinb.net\/photos\/04_auto_revuenon\/","description":"<p>Just recently I bought an Auto Revuenon 55mm (f\/1.4) lens off of ebay. It came\nwith an M42 screw mount, fitting an adapter that I&rsquo;d already had. For less than\n\u20ac40, it didn&rsquo;t take a lot of time to decide; and the fact that I confused it\nwith the multi-coated <strong>50mm<\/strong> f\/1.4 lens, which actually appears to be quite a\nbit better, probably also helped. I had hoped that in comparison to my Zenit\nHelios 44-2, the larger aperture (1.4 vs 2.0, implying twice as much light!)\nwould allow for photos taken in even darker conditions. And, of course, more\nbokeh. Because that&rsquo;s what we all want, after all.<\/p>"},{"title":"Linear \"Machine Learning\"","link":"https:\/\/lewinb.net\/posts\/04_linear-meachine-learning\/","pubDate":"Sat, 12 Jun 2021 07:39:44 +0200","guid":"https:\/\/lewinb.net\/posts\/04_linear-meachine-learning\/","description":"<p>There is this meme floating around (you can google for it, and find many\ninstances), that machine learning is just statistics (and sometimes even just a\nlinear regression). While this is obviously simplifying how it is, the\ntechniques to do either are similar: you can &ldquo;learn&rdquo; a linear regression, and a\nlinear regression can look from the outside like a machine learning algorithm.\n(Provided a simple enough problem)<\/p>\n<p>Personally, I&rsquo;m more fascinated by fundamental techniques in machine learning.\nWhile deep learning is all fun and so on, going back to the roots is what really\ninterests me. So I wanted to see how to easily implement a linear model using\nwhat can be described as &ldquo;machine learning&rdquo;.<\/p>"},{"title":"Geohub","link":"https:\/\/lewinb.net\/posts\/03_geohub\/","pubDate":"Sat, 22 May 2021 21:11:10 +0200","guid":"https:\/\/lewinb.net\/posts\/03_geohub\/","description":"<p><strong><a href=\"https:\/\/github.com\/dermesser\/geohub\">Geohub on Github<\/a><\/strong><\/p>\n<p>A couple months ago I finally realized an idea that I&rsquo;d had for several years.\nNot a breakthrough idea, mind you, but something I thought would be nice to\nhave, and that to me didn&rsquo;t exist yet.<\/p>\n<p>Specifically, I&rsquo;d wanted a system for e.g. my phone to send location data to,\nwhich could then both be stored in a structured form and be available for later\nanalysis, and also be available live for tracking applications. Thus, <strong>Geohub<\/strong>\nwas born, which I (somewhat sarcastically) call a <em>real-time geo data\nframework<\/em>.<\/p>"},{"title":"Light at Night","link":"https:\/\/lewinb.net\/photos\/03_nightlights\/","pubDate":"Sun, 16 May 2021 21:19:08 +0200","guid":"https:\/\/lewinb.net\/photos\/03_nightlights\/","description":"<p>One of my favorite kind of scenes is nightly cities. Recently this has become a\nbit more difficult due to the nightly curfews &ndash; but as more people are becoming\nvaccinated, I hope to soon be able to take photos at night again.<\/p>\n<p>The two most important elements in my mind are a stabilizer in your camera or\nlens, and a bright lens: f\/1.8 is ok, f\/1.4 is good. Then you don&rsquo;t even need a\ntripod.<\/p>"},{"title":"RWTH Wallpapers","link":"https:\/\/lewinb.net\/photos\/02_rwth_wallpaper\/","pubDate":"Sat, 15 May 2021 23:48:25 +0200","guid":"https:\/\/lewinb.net\/photos\/02_rwth_wallpaper\/","description":"<p>The RWTH&rsquo;s general student&rsquo;s committee (AStA) put out a call for Zoom (video\nconference) background images, in order to &ldquo;spice up&rdquo; the online studies. I\nalready had quite some images in the bank, so it was an easy decision to submit\nsome of my favorite motives of Aachen. These are some of my submissions:<\/p>\n<p><img src=\"https:\/\/lewinb.net\/img\/photo\/wallpaper\/01.jpg\" alt=\"The new administrative building, Super C\">\nThe flagship administrative building, called Super C.<\/p>\n<p><img src=\"https:\/\/lewinb.net\/img\/photo\/wallpaper\/02.jpg\" alt=\"Pariser Ring, in the morning\">\nPariser Ring, near the modern Campus Melaten in the west of Aachen.<\/p>"},{"title":"Diffraction","link":"https:\/\/lewinb.net\/posts\/02_diffraction\/","pubDate":"Sat, 15 May 2021 20:58:52 +0200","guid":"https:\/\/lewinb.net\/posts\/02_diffraction\/","description":"<p>Inspired by drudging through optics material for a recent exam, I wanted to get\na more intuitive feeling for diffraction phenomena, specifically diffraction of\nspherical waves through a plane aperture.<\/p>\n<h2 id=\"setup\">Setup<\/h2>\n<p>The most general still-understandable way of calculating diffraction of such a\nconfiguration is the Kirchhoff diffraction formula. We assume at least one point\nsource in a distance $z_s$ from the screen at $z = 0$, which emits a wave<\/p>"},{"title":"Technical Aspects of Nuclear Verification","link":"https:\/\/lewinb.net\/posts\/01_technical_aspects\/","pubDate":"Fri, 14 May 2021 19:45:07 +0200","guid":"https:\/\/lewinb.net\/posts\/01_technical_aspects\/","description":"<p>As part of a seminar I recently took with Prof. G\u00f6ttsche from the <em>Nuclear\nVerification and Disarmament<\/em> group at RWTH, I wrote a handout about the\ntechnical aspects of verifying nuclear arms treaties. It touches on satellite\nand aerial surveillance, radar, infrared, seismic, and acoustic methods, and how\nthese different methods fit into the international arms control regime.<\/p>\n<p>You can read the <a href=\"https:\/\/lewinb.net\/doc\/TechnicalAspectsOfVerification.pdf\">result here<\/a>.<\/p>"},{"title":"Majestic Sunrays","link":"https:\/\/lewinb.net\/photos\/01_clouds\/","pubDate":"Fri, 14 May 2021 12:46:06 +0200","guid":"https:\/\/lewinb.net\/photos\/01_clouds\/","description":"<p>Aachen is &ndash; at least among locals &ndash; known for its brilliant sunsets and\ndramatic weather. Here, we see a dark cloud mixture pierced by bright rays of\nsunlight. No wonder people used to believe in angels!<\/p>\n<p><img src=\"https:\/\/lewinb.net\/img\/photo\/20210514_clouds.jpg\" alt=\"Clouds\"><\/p>\n<p><img src=\"https:\/\/lewinb.net\/img\/photo\/20210514_glitter.jpg\" alt=\"Glittery Sunset\"><\/p>\n<p>Taken with Helios 44-2 through my slightly rained-on kitchen window.<\/p>"},{"title":"Resume","link":"https:\/\/lewinb.net\/resume\/","pubDate":"Fri, 14 May 2021 12:22:17 +0200","guid":"https:\/\/lewinb.net\/resume\/","description":"<p>Please <a href=\"https:\/\/lewinb.net\/contact\">contact<\/a> me and I will gladly send you my CV in either English or German language!<\/p>"},{"title":"About","link":"https:\/\/lewinb.net\/about\/","pubDate":"Fri, 14 May 2021 08:15:25 +0200","guid":"https:\/\/lewinb.net\/about\/","description":"<p>Hi there! &ndash; I&rsquo;m Lewin, owner of this little website. I&rsquo;m living in Switzerland, working for Zurich Instruments on the\nsoftware stack for quantum computing control systems. Fortunately, that is the best thing I can currently imagine\nworking on, and I&rsquo;m having great fun!<\/p>\n<h3 id=\"what-came-before\">What came before<\/h3>\n<p>My career started right after high school, when I joined Google in Z\u00fcrich (Switzerland) back in 2014, and worked for\nfour years as Systems Engineer in Site Reliability Engineering (<a href=\"https:\/\/sre.google\">sre.google<\/a>). There, I took care of\nGoogle Docs, Google Drive, and later, Borg &ndash; the global computing grid that all of Google runs on. Although it was my\ndream job, I left it in 2018  &ndash; to fulfill my long-held dream of studying physics.<\/p>"},{"title":"Contact","link":"https:\/\/lewinb.net\/contact\/","pubDate":"Fri, 14 May 2021 08:15:25 +0200","guid":"https:\/\/lewinb.net\/contact\/","description":"<h1 id=\"lewin-bormann\">Lewin Bormann<\/h1>\n<p>You can reach me by email at <em>info - at - lewinb.net<\/em>, or on\nTelegram at @lewinb. I have accounts on different platforms as well:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.linkedin.com\/in\/lewin-bormann\">LinkedIn<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dermesser\">GitHub<\/a><\/li>\n<li><a href=\"https:\/\/flickr.com\/lewinb\">Flickr<\/a><\/li>\n<\/ul>"}]}}