<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Challenge on ads' corner</title><link>https://andreas.scherbaum.la/tags/challenge/</link><description>Recent content in Challenge on ads' corner</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 09 Jun 2025 00:00:00 +0200</lastBuildDate><atom:link href="https://andreas.scherbaum.la/tags/challenge/index.xml" rel="self" type="application/rss+xml"/><item><title>certbot on Debian Bookworm fails with: The peer didn't know the key we used</title><link>https://andreas.scherbaum.la/post/2025-06-09_certbot-on-debian-bookworm-fails-with-the-peer-didnt-know-the-key-we-used/</link><pubDate>Mon, 09 Jun 2025 00:00:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2025-06-09_certbot-on-debian-bookworm-fails-with-the-peer-didnt-know-the-key-we-used/</guid><description>&lt;p&gt;Was setting up a new &lt;em&gt;Debian Bookworm&lt;/em&gt; system in my home environment. So far I was not using certificates at home, and wanted to change this along the way, using &lt;a href="https://en.wikipedia.org/wiki/Let%27s_Encrypt"&gt;Let&amp;rsquo;s Encrypt&lt;/a&gt;. Since the IP-addresses here are &lt;a href="https://en.wikipedia.org/wiki/Private_network"&gt;RFC1918&lt;/a&gt;, I can&amp;rsquo;t use the &lt;a href="https://letsencrypt.org/docs/challenge-types/"&gt;http01 challenge&lt;/a&gt;, and have to resort to dns01 challenges. On &lt;a href="https://packages.debian.org/bookworm/"&gt;Debian Bookworm&lt;/a&gt;, using &lt;a href="https://certbot.eff.org/"&gt;certbot&lt;/a&gt;, this fails reproducible.&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&#10;&lt;table style="border-spacing:0;padding:0;margin:0;border:0;"&gt;&lt;tr&gt;&lt;td style="vertical-align:top;padding:0;margin:0;border:0;"&gt;&#10;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;1&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td style="vertical-align:top;padding:0;margin:0;border:0;;width:100%"&gt;&#10;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-plaintext" data-lang="plaintext"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Encountered error when making query: The peer didn&amp;#39;t know the key we used&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;Note: Domain names in this blog posting are protected, I&amp;rsquo;m not really using the &lt;code&gt;home&lt;/code&gt; zone but a valid domain name.&lt;/p&gt;</description></item><item><title>PostgreSQL February Meetup in Berlin</title><link>https://andreas.scherbaum.la/post/2024-02-07_postgresql-february-meetup-in-berlin/</link><pubDate>Wed, 07 Feb 2024 20:43:54 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2024-02-07_postgresql-february-meetup-in-berlin/</guid><description>&lt;p&gt;On February 6th, 2024, we had the &lt;em&gt;PostgreSQL&lt;/em&gt; February Meetup in &lt;em&gt;Berlin&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>PGSQL Phriday #0014 - PostgreSQL Events</title><link>https://andreas.scherbaum.la/post/2023-12-01_pgsql-phriday-postgresql-events/</link><pubDate>Fri, 01 Dec 2023 17:16:02 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2023-12-01_pgsql-phriday-postgresql-events/</guid><description>&lt;p&gt;&lt;a href="https://postgresql.life/post/pavlo_golub/"&gt;Pavlo Golub&lt;/a&gt; is &lt;a href="https://www.cybertec-postgresql.com/en/pgsql-phriday-014-postgresql-events/"&gt;hosting&lt;/a&gt; this month&amp;rsquo;s &lt;a href="https://www.pgsqlphriday.com/"&gt;PGSQL Phriday&lt;/a&gt;. The topic is &amp;ldquo;&lt;a href="https://www.cybertec-postgresql.com/en/pgsql-phriday-014-postgresql-events/"&gt;PostgreSQL Events&lt;/a&gt;&amp;rdquo;.&lt;/p&gt;</description></item><item><title>PGSQL Phriday #008 – pg_stat_statements</title><link>https://andreas.scherbaum.la/post/2023-05-06_pgsql-phriday-008-pg_stat_statements/</link><pubDate>Sat, 06 May 2023 18:49:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2023-05-06_pgsql-phriday-008-pg_stat_statements/</guid><description>&lt;p&gt;The topic for this month&amp;rsquo;s &lt;a href="https://www.pgsqlphriday.com/"&gt;PGSQL Phriday&lt;/a&gt; blogging challenge is: &lt;a href="https://www.pgmustard.com/blog/pgsql-phriday-pg-stat-statements"&gt;pg_stat_statement&lt;/a&gt;. And &lt;a href="https://postgresql.life/post/michael_christofides/"&gt;Michael Christofides&lt;/a&gt; gave me a perfect opener in his invitation.&lt;/p&gt;&#10;&lt;p&gt;For anyone who doesn&amp;rsquo;t know, I&amp;rsquo;m running a weekly interview series with people from the &lt;em&gt;PostgreSQL&lt;/em&gt; community. It&amp;rsquo;s called &amp;ldquo;&lt;a href="https://postgresql.life/"&gt;PostgreSQL Person of the Week&lt;/a&gt;&amp;rdquo;. One of the questions in the default set I give everyone is:&lt;/p&gt;</description></item><item><title>PGSQL Phriday #007 – Triggers for tracking changes in a table</title><link>https://andreas.scherbaum.la/post/2023-04-10_pgsql-phriday-007-triggers-for-tracking-changes-in-a-table/</link><pubDate>Mon, 10 Apr 2023 17:58:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2023-04-10_pgsql-phriday-007-triggers-for-tracking-changes-in-a-table/</guid><description>&lt;p&gt;This month&amp;rsquo;s &lt;a href="https://www.pgsqlphriday.com/"&gt;#PGSQLPhriday&lt;/a&gt; is hosted by Lætita Avrot, and she asks about &lt;a href="https://mydbanotebook.org/post/triggers/"&gt;triggers&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;History time. Shortly after I started using &lt;em&gt;PostgreSQL&lt;/em&gt;, I had a need to track changes in tables. Back then - this was the early version 7.x days - there was no such option available. I set out to write a tool for it. The logical choice to do that was to pick triggers to implement this. Today the world is different, &lt;em&gt;PostgreSQL&lt;/em&gt; gained replication, and along with this, one can hook tools into the replication and stream all the changes. Back then there was no replication.&lt;/p&gt;</description></item><item><title>PGSqlPhriday #006: One Thing You Wish You Knew While Learning PostgreSQL: psql commands</title><link>https://andreas.scherbaum.la/post/2023-03-05_pgsqlphriday-006-one-thing-you-wish-you-knew-while-learning-postgresql-psql-commands/</link><pubDate>Sun, 05 Mar 2023 19:24:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2023-03-05_pgsqlphriday-006-one-thing-you-wish-you-knew-while-learning-postgresql-psql-commands/</guid><description>&lt;p&gt;For this month&amp;rsquo;s &lt;a href="https://www.pgsqlphriday.com/"&gt;#PGSQLPhriday&lt;/a&gt;, &lt;a href="https://www.scarydba.com/2023/02/24/one-thing-you-wish-you-knew-while-learning-postgresql-pgsqlphriday-006/"&gt;Grant Fritchey asks&lt;/a&gt;: What is the one thing you wish you knew while you learn &lt;em&gt;PostgreSQL&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>Relational and Non-relational Data: PGSQL Phriday #005</title><link>https://andreas.scherbaum.la/post/2023-01-29_relational-and-non-relational-data-pgsql-phriday-005/</link><pubDate>Sun, 29 Jan 2023 18:33:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2023-01-29_relational-and-non-relational-data-pgsql-phriday-005/</guid><description>&lt;p&gt;&lt;a href="https://blog.rustprooflabs.com/"&gt;Ryan Lambert&lt;/a&gt; asks in &lt;a href="https://blog.rustprooflabs.com/2023/01/pgsqlphriday-005--postgres-relational-and-otherwise"&gt;this month&amp;rsquo;s PGSQL Phriday&lt;/a&gt;:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;What non-relational data do you store in &lt;em&gt;Postgres&lt;/em&gt; and how do you use it?&lt;/li&gt;&#10;&lt;li&gt;Have you attempted non-relational uses of &lt;em&gt;Postgres&lt;/em&gt; that did not work well? What was the problem?&lt;/li&gt;&#10;&lt;li&gt;What are the biggest challenges with your data, whatever its structure?&lt;/li&gt;&#10;&lt;li&gt;Bonus: How do you define non-relational data?&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>PGSQL Phriday #004: PostgreSQL and Software Development</title><link>https://andreas.scherbaum.la/post/2023-01-01_pgsql-phriday-004-postgresql-and-software-development/</link><pubDate>Sun, 01 Jan 2023 23:21:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2023-01-01_pgsql-phriday-004-postgresql-and-software-development/</guid><description>&lt;p&gt;Henrietta Dombrovskaya &lt;a href="https://andreas.scherbaum.la/tags/pgsqlphriday"&gt;asks&lt;/a&gt; about &lt;a href="https://hdombrovskaya.wordpress.com/2022/12/29/pgsql-phriday-004-postgresql-and-software-development/"&gt;Software Development and PostgreSQL&lt;/a&gt;. That&amp;rsquo;s a very broad topic.&lt;/p&gt;&#10;&lt;p&gt;Not being a big developer for myself, and only occasionally submitting patches here and there, I nevertheless have a vast amount of data available on the topic: the &amp;ldquo;&lt;a href="https://postgresql.life/"&gt;PostgreSQL Person of the Week&lt;/a&gt;&amp;rdquo; interviews! There are a few questions in the interviews which relate to this topic:&lt;/p&gt;</description></item><item><title>PGSQL Phriday #003: What is the PostgreSQL Community to me</title><link>https://andreas.scherbaum.la/post/2022-12-04_pgsql-phriday-003-what-is-the-postgresql-community-to-me/</link><pubDate>Sun, 04 Dec 2022 22:42:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2022-12-04_pgsql-phriday-003-what-is-the-postgresql-community-to-me/</guid><description>&lt;p&gt;Pat Wright is running this month’s &lt;a href="https://andreas.scherbaum.la/tags/pgsqlphriday"&gt;#PGSQLPhriday&lt;/a&gt;, and the topic is “&lt;a href="https://sqlasylum.wordpress.com/2022/11/29/pgsql-phriday-003-what-is-the-community-to-you/"&gt;What is the PostgreSQL Community to you?&lt;/a&gt;”&lt;/p&gt;&#10;&lt;p&gt;The answer for me is very versatile, and covers quite a lot. Took me a moment to gather the facets, and likely I’m still missing some parts.&lt;/p&gt;&#10;&lt;p&gt;The &lt;em&gt;PostgreSQL&lt;/em&gt; community for me is friends, databases, events, learning, speaking, teaching, writing, and much more.&lt;/p&gt;</description></item><item><title>PGSQL Phriday #002 Summary: PostgreSQL Backup and Restore</title><link>https://andreas.scherbaum.la/post/2022-11-08_pgsql-phriday-002-summary-postgresql-backup-and-restore/</link><pubDate>Tue, 08 Nov 2022 23:45:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2022-11-08_pgsql-phriday-002-summary-postgresql-backup-and-restore/</guid><description>&lt;p&gt;Last week for &amp;ldquo;PGSQL Phriday&amp;rdquo; &lt;a href="https://andreas.scherbaum.la/post/2022-10-31_pgsql-phriday-002-postgresql-backup-and-restore/"&gt;I posted the following task&lt;/a&gt;:&lt;/p&gt;&#10;&lt;p&gt;Describe how you do backups for your &lt;em&gt;PostgreSQL&lt;/em&gt; databases.&lt;/p&gt;&#10;&lt;p&gt;And I added a bonus question: Is &lt;code&gt;pg_dump&lt;/code&gt; a backup tool?&lt;/p&gt;</description></item><item><title>PGSQL Phriday #002: PostgreSQL Backup and Restore</title><link>https://andreas.scherbaum.la/post/2022-10-31_pgsql-phriday-002-postgresql-backup-and-restore/</link><pubDate>Mon, 31 Oct 2022 14:59:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2022-10-31_pgsql-phriday-002-postgresql-backup-and-restore/</guid><description>&lt;p&gt;Thanks to Ryan Booz we now have the &lt;a href="https://www.softwareandbooz.com/introducing-psql-phriday/"&gt;#PGSQLPhriday blogging series&lt;/a&gt;. The second edition is about &lt;a href="https://xkcd.com/1718/"&gt;backups&lt;/a&gt;. And of course also about restore.&lt;/p&gt;</description></item><item><title>PGSQL Phriday #001: Two truths and a lie</title><link>https://andreas.scherbaum.la/post/2022-10-07_pgsql-phriday-001-two-truths-and-a-lie/</link><pubDate>Fri, 07 Oct 2022 18:42:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2022-10-07_pgsql-phriday-001-two-truths-and-a-lie/</guid><description>&lt;p&gt;Uh, what is this &lt;a href="https://andreas.scherbaum.la/tags/pgsqlphriday"&gt;#PGSQLPhriday&lt;/a&gt; thing about? Everyone is writing blog posts about this today &amp;hellip; For details, please read the &lt;a href="https://www.softwareandbooz.com/pgsql-phriday-001-invite/"&gt;introduction from Ryan Booz&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;This month&amp;rsquo;s topic: pick your three favorite or most important best pratices for #PostgreSQL. Tell them in a form that two are true, one is a lie. See if you can spot which one is true and which one is false. The resolution is at the end of this blog posting.&lt;/p&gt;</description></item><item><title>My PostgreSQL database is empty!</title><link>https://andreas.scherbaum.la/post/2022-06-11_my-postgresql-database-is-empty/</link><pubDate>Sat, 11 Jun 2022 20:08:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2022-06-11_my-postgresql-database-is-empty/</guid><description>&lt;p&gt;The one thing I like to do is challenge &lt;a href="https://www.postgresql.org/"&gt;PostgreSQL&lt;/a&gt; - and readers - to the extreme. A while ago I posted about the &lt;a href="https://andreas.scherbaum.la/post/2022-05-03_its-beer-oclock-for-postgresql/"&gt;Beer o&amp;rsquo;clock&lt;/a&gt;. Building &lt;a href="https://andreas.scherbaum.la/post/2022-01-27_not-so-equal-texts-in-postgresql-and-how-to-compare-texts-in-a-more-elaborate-way/"&gt;Zoé&lt;/a&gt; was another interesting example. And at some point I blog about Dancing with the Stars as well. Today it&amp;rsquo;s all about nothing. Empty. Where is all the data gone?&lt;/p&gt;&#10;&lt;p&gt;A while ago I posted &lt;a href="https://twitter.com/ascherbaum/status/1517832463829147648"&gt;this screenshot on Twitter&lt;/a&gt;, and as far as I can tell no one found the correct answer.&lt;/p&gt;</description></item><item><title>Not so equal texts in PostgreSQL - and how to compare texts in a more elaborate way</title><link>https://andreas.scherbaum.la/post/2022-01-27_not-so-equal-texts-in-postgresql-and-how-to-compare-texts-in-a-more-elaborate-way/</link><pubDate>Thu, 27 Jan 2022 00:39:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2022-01-27_not-so-equal-texts-in-postgresql-and-how-to-compare-texts-in-a-more-elaborate-way/</guid><description>&lt;p&gt;&lt;a href="https://thebuild.com/blog/"&gt;Christophe Pettus&lt;/a&gt; posted an &lt;a href="https://twitter.com/Xof/status/1485682904625659906"&gt;interesting challenge here&lt;/a&gt;. Two strings which on the surface look equal, but if you ask &lt;em&gt;PostgreSQL&lt;/em&gt; to compare them, they are not equal.&lt;/p&gt;&#10;&lt;p&gt;Now let me start with a note: &lt;em&gt;Twitter&lt;/em&gt; totally screws this challenge up.&lt;/p&gt;&#10;&lt;p&gt;How so? Although the two strings are different in the &lt;a href="https://twitter.com/Xof/status/1485769965902786560"&gt;original&lt;/a&gt;, when posting this to &lt;em&gt;Twitter&lt;/em&gt; the strings are made equal. Where is the fun in that?&lt;/p&gt;</description></item><item><title>Advent of Code 2020: "Seating System" - Day 11</title><link>https://andreas.scherbaum.la/post/2020-12-12_advent-of-code-2020-seating-system-day-11/</link><pubDate>Sat, 12 Dec 2020 22:42:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-12-12_advent-of-code-2020-seating-system-day-11/</guid><description>&lt;p&gt;Your career as a hacker brings you &lt;a href="https://adventofcode.com/2020/day/11"&gt;more and more unreasonable tasks&lt;/a&gt;. Today you arrive at the ferry station, head to your next gate (no one mentioned if you &lt;a href="https://andreas.scherbaum.la/post/2020-12-10_advent-of-code-2020-adapter-array-day-10/"&gt;even got an ice cream&lt;/a&gt;), and figure out where to seat. Even though you are the first person in the waiting area that does not stop you from knowing the seating habits for all other passengers, and calculate their seating patterns.&lt;/p&gt;</description></item><item><title>Advent of Code 2020: "Adapter Array" - Day 10</title><link>https://andreas.scherbaum.la/post/2020-12-10_advent-of-code-2020-adapter-array-day-10/</link><pubDate>Thu, 10 Dec 2020 22:21:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-12-10_advent-of-code-2020-adapter-array-day-10/</guid><description>&lt;p&gt;After you finished &lt;a href="https://andreas.scherbaum.la/post/2020-12-09_advent-of-code-2020-encoding-error-day-9/"&gt;hacking the plane&lt;/a&gt;, your laptop dies: you forgot to charge it! Rookie mistake, or the calculations do consume a lot of power. The plane has a power outlet, but somehow it&amp;rsquo;s a non-standard one, you need an adapter. But first a cocktail! Then you empty your backback on the seat next to you and &lt;a href="https://adventofcode.com/2020/day/10"&gt;find out that you have dozens of different adapters&lt;/a&gt;, which you can &lt;a href="https://superuser.com/questions/1122204/how-many-port-adapters-and-which-ones-can-be-stacked-up-and-actually-work"&gt;stack together&lt;/a&gt;. None of them really work, and hopefully you don&amp;rsquo;t blow another fuse, or set the &lt;a href="https://www.youtube.com/watch?v=uiqvXKyhkiw"&gt;plane on fire&lt;/a&gt;!&lt;/p&gt;</description></item><item><title>Advent of Code 2020: "Encoding Error" - Day 9</title><link>https://andreas.scherbaum.la/post/2020-12-09_advent-of-code-2020-encoding-error-day-9/</link><pubDate>Wed, 09 Dec 2020 21:43:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-12-09_advent-of-code-2020-encoding-error-day-9/</guid><description>&lt;p&gt;Uh oh, either the ice cream at the airport was bad, or the &lt;a href="https://andreas.scherbaum.la/post/2020-12-08_advent-of-code-2020-handheld-halting-day-8/"&gt;cocktails&lt;/a&gt; are not good for you! How else can you explain that you hack the airplane systems with some &lt;a href="https://en.wikipedia.org/wiki/Clippy"&gt;paperclips&lt;/a&gt; and break the &lt;a href="https://en.wikipedia.org/wiki/Xmas"&gt;XMAS&lt;/a&gt; &lt;a href="https://en.wikipedia.org/wiki/Encryption"&gt;encryption&lt;/a&gt;, while the plane is &lt;a href="https://en.wikipedia.org/wiki/Takeoff"&gt;airborne&lt;/a&gt;? The plane&amp;rsquo;s on-board systems emits some cryptic numbers and &lt;a href="https://adventofcode.com/2020/day/9"&gt;your task&lt;/a&gt; is it to decrypt this. Wait, did I say task? &lt;a href="https://en.wikipedia.org/wiki/Mission:_Impossible"&gt;Who gave this task to you&lt;/a&gt;? Oh well, please be careful, if you shorten a circuit you might as well crash your own plane.&lt;/p&gt;</description></item><item><title>Advent of Code 2020: "Handheld Halting" - Day 8</title><link>https://andreas.scherbaum.la/post/2020-12-08_advent-of-code-2020-handheld-halting-day-8/</link><pubDate>Tue, 08 Dec 2020 23:56:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-12-08_advent-of-code-2020-handheld-halting-day-8/</guid><description>&lt;p&gt;You fixed the &lt;a href="https://andreas.scherbaum.la/post/2020-12-07_advent-of-code-2020-handy-haversacks-day-7/"&gt;colours of the bags yesterday&lt;/a&gt; and security allowed you to leave the baggage section and go get your ice cream before you board your next flight. On the flight the kid next to you recognizes you as the great hacker you are, and &lt;a href="https://adventofcode.com/2020/day/8"&gt;asks you to fix a problem&lt;/a&gt; with the handheld game console. Go and hack the bootloader while no documentation is available because the mobile internet is off. Turns out someone coded an infinite loop into the bootloader, and missed that fact during testing. What testing, do you ask? Well, let&amp;rsquo;s not jump too deep into details, you have to hack a bootloader and make a kid happy. It&amp;rsquo;s Christmas soon, after all! And your cocktail is waiting!&lt;/p&gt;</description></item><item><title>Advent of Code 2020: "Handy Haversacks" - Day 7</title><link>https://andreas.scherbaum.la/post/2020-12-07_advent-of-code-2020-handy-haversacks-day-7/</link><pubDate>Mon, 07 Dec 2020 21:08:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-12-07_advent-of-code-2020-handy-haversacks-day-7/</guid><description>&lt;p&gt;They really trust you a lot &amp;hellip; Now all flights are delayed, that&amp;rsquo;s quite usual in advent times. Except it&amp;rsquo;s &lt;code&gt;2020&lt;/code&gt; and no one is traveling anyway. But they also impose more regulations, and now bags need to have colours, and bags need to go into other bags. And &lt;a href="https://adventofcode.com/2020/day/7"&gt;someone has to figure it out&lt;/a&gt;. That&amp;rsquo;s right, it&amp;rsquo;s you! I hope the stopover is long enough to at least grab some ice cream!&lt;/p&gt;</description></item><item><title>Advent of Code 2020: "Custom Customs" - Day 6</title><link>https://andreas.scherbaum.la/post/2020-12-06_advent-of-code-2020-custom-customs-day-6/</link><pubDate>Sun, 06 Dec 2020 22:35:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-12-06_advent-of-code-2020-custom-customs-day-6/</guid><description>&lt;p&gt;The flight is approaching a regional airport, but you still have to fill out a &lt;a href="https://adventofcode.com/2020/day/6"&gt;customs form&lt;/a&gt;. Since you are good with hacking things together, you walk around the plane and gather all the answers from all groups on the plane. There are &lt;code&gt;26&lt;/code&gt; yes-or-no questions, marked from &lt;code&gt;a&lt;/code&gt; to &lt;code&gt;z&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Advent of Code 2020: "Binary Boarding" - Day 5</title><link>https://andreas.scherbaum.la/post/2020-12-05_advent-of-code-2020-binary-boarding-day-5/</link><pubDate>Sat, 05 Dec 2020 18:24:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-12-05_advent-of-code-2020-binary-boarding-day-5/</guid><description>&lt;p&gt;Pretty amazing the tasks they ask you to do &amp;ldquo;on the fly&amp;rdquo;: &lt;a href="https://andreas.scherbaum.la/post/2020-12-05_advent-of-code-2020-passport-processing-day-4/"&gt;Yesterday&lt;/a&gt; we fixed the passport scanner, &lt;a href="https://adventofcode.com/2020/day/5"&gt;today&lt;/a&gt; you have to write a piece of code which scans all the boarding passes in your environment (no one said they all carry them in the hand, and show it to you), and while waiting in the gangway you also have to identify your designated seat. Because, you know, you are such a good hacker you lost your &lt;a href="https://en.wikipedia.org/wiki/Boarding_pass"&gt;boarding pass&lt;/a&gt; on the &lt;a href="https://en.wikipedia.org/wiki/Jet_bridge"&gt;way&lt;/a&gt; from the gate to the plane ;-)&lt;/p&gt;</description></item><item><title>Advent of Code 2020: "Passport Processing" - Day 4</title><link>https://andreas.scherbaum.la/post/2020-12-05_advent-of-code-2020-passport-processing-day-4/</link><pubDate>Sat, 05 Dec 2020 16:50:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-12-05_advent-of-code-2020-passport-processing-day-4/</guid><description>&lt;p&gt;The challenge for day 4 is more suited for databases. The input is fuzzy, but with a &lt;a href="https://www.postgresql.org/docs/current/queries-with.html"&gt;CTE&lt;/a&gt; or two I should be able to clean it up. Solved the first part already with the &lt;a href="https://twitter.com/pscherbaum/status/1335238751363194880"&gt;kid&lt;/a&gt; earlier, but we decided to skip part two: mainly because it involved more complex string operations (best suited for regex operations), which is something the kid hasn&amp;rsquo;t learned yet.&lt;/p&gt;</description></item><item><title>Advent of Code 2020: "Toboggan Trajectory" - Day 3</title><link>https://andreas.scherbaum.la/post/2020-12-03_advent-of-code-2020-toboggan-trajectory-day-3/</link><pubDate>Thu, 03 Dec 2020 22:52:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-12-03_advent-of-code-2020-toboggan-trajectory-day-3/</guid><description>&lt;p&gt;Have to admit, on first glance &lt;a href="https://adventofcode.com/2020/day/3"&gt;this challenge&lt;/a&gt; looks a bit complicated. It&amp;rsquo;s well suited for languages which can do string manipulations, but it&amp;rsquo;s not well suited for &lt;a href="https://www.postgresql.org/"&gt;PostgreSQL&lt;/a&gt;. Earlier today I already looked at this problem together with &lt;a href="https://twitter.com/pscherbaum/status/1334550125797105664"&gt;the kid&lt;/a&gt;, in &lt;em&gt;Python&lt;/em&gt;. Therefore I already knew that I have to jump multiple rows as well. To sum it up: &lt;em&gt;adjust x, including overruns, jump multiple rows in y direction, count trees along the way&lt;/em&gt;. All in a single SQL query.&lt;/p&gt;&#10;&lt;p&gt;Decided to do the map search in a &lt;a href="https://www.postgresql.org/docs/current/plpgsql.html"&gt;pl/pgSQL&lt;/a&gt; instead, and write a function for it.&lt;/p&gt;</description></item><item><title>Advent of Code 2020: "Password Philosophy" - Day 2</title><link>https://andreas.scherbaum.la/post/2020-12-02_advent-of-code-2020-password-philosophy-day-2/</link><pubDate>Wed, 02 Dec 2020 22:57:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-12-02_advent-of-code-2020-password-philosophy-day-2/</guid><description>&lt;p&gt;&lt;a href="https://adventofcode.com/2020/day/2"&gt;Day 2&lt;/a&gt;, another challenge: fix a broken password database. In order to do that, the passwords which violate the policy must be identified.&lt;/p&gt;</description></item><item><title>Advent of Code 2020: "Report Repair" - Day 1</title><link>https://andreas.scherbaum.la/post/2020-12-01_advent-of-code-2020-report-repair-day-1/</link><pubDate>Tue, 01 Dec 2020 18:51:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-12-01_advent-of-code-2020-report-repair-day-1/</guid><description>&lt;p&gt;Started &amp;ldquo;&lt;a href="https://adventofcode.com/2020/"&gt;Advent of Code&lt;/a&gt;&amp;rdquo; with the &lt;a href="https://pascal.scherbaum.la/blog/"&gt;kid&lt;/a&gt;, the kid is polishing the &lt;em&gt;Python&lt;/em&gt; (and &lt;em&gt;English&lt;/em&gt;) skills. I thought I better do this in &lt;a href="https://www.postgresql.org/"&gt;SQL&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Create and renew Let's Encrypt certificates using Ansible - and the acme_certificate module</title><link>https://andreas.scherbaum.la/post/2020-03-24_create-and-renew-lets-encrypt-certificates-using-ansible-and-the-acme_certificate-module/</link><pubDate>Tue, 24 Mar 2020 18:45:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-03-24_create-and-renew-lets-encrypt-certificates-using-ansible-and-the-acme_certificate-module/</guid><description>&lt;p&gt;About two years ago I &lt;a href="https://andreas.scherbaum.la/post/2018-05-27_create-and-renew-lets-encrypt-certificates-using-ansible/"&gt;blogged about how to create and renew Let&amp;rsquo;s Encrypt certificates using Ansible&lt;/a&gt;. Back then, the &amp;ldquo;&lt;a href="https://docs.ansible.com/ansible/latest/modules/letsencrypt_module.html"&gt;letsencrypt&lt;/a&gt;&amp;rdquo; module was State of the Art. This changed, and with all the Let&amp;rsquo;s Encrypt API changes, the &lt;em&gt;Ansible&lt;/em&gt; module changed quite a lot, and is now &amp;ldquo;&lt;a href="https://docs.ansible.com/ansible/latest/modules/acme_certificate_module.html"&gt;acme_certificate&lt;/a&gt;&amp;rdquo;. &lt;a href="https://tools.ietf.org/html/rfc8555"&gt;ACME&lt;/a&gt; stands for: Automatic Certificate Management Environment, and is the idea that every step along the way of creating and renewing certificates should be automated. No more manual creation of &lt;em&gt;CSR&lt;/em&gt; (&lt;em&gt;Certificate Signing Request&lt;/em&gt;), sending them per mail or manually uploading them to a CA website, enter your credit card details, and at some point get a mail back with the new signed certificate. All of this (except the credit card - you no longer need one) can be automated, and handled in a matter of seconds.&lt;/p&gt;&#10;&lt;p&gt;Time to write an updated blog post for the new module.&lt;/p&gt;</description></item><item><title>webhook service with TLS and Let's Encrypt certificate</title><link>https://andreas.scherbaum.la/post/2019-12-15_webhook-service-with-tls-and-lets-encrypt-certificate/</link><pubDate>Sun, 15 Dec 2019 19:15:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2019-12-15_webhook-service-with-tls-and-lets-encrypt-certificate/</guid><description>&lt;p&gt;For a number of services, I need a system/service which can receive web hooks, and act when such a trigger is received.&lt;/p&gt;</description></item><item><title>Create and renew Let's Encrypt certificates using Ansible</title><link>https://andreas.scherbaum.la/post/2018-05-27_create-and-renew-lets-encrypt-certificates-using-ansible/</link><pubDate>Sun, 27 May 2018 22:41:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2018-05-27_create-and-renew-lets-encrypt-certificates-using-ansible/</guid><description>&lt;p&gt;Update: Blog post using the &lt;a href="https://docs.ansible.com/ansible/latest/modules/acme_certificate_module.html"&gt;acme_certificate&lt;/a&gt; module &lt;a href="https://andreas.scherbaum.la/post/2020-03-24_create-and-renew-lets-encrypt-certificates-using-ansible-and-the-acme_certificate-module/"&gt;can be found here&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://www.ansible.com/"&gt;Ansible&lt;/a&gt; comes with a plugin which allows to create and renew &lt;a href="https://letsencrypt.org/"&gt;Let&amp;rsquo;s Encrypt&lt;/a&gt; certificates. &lt;a href="https://docs.ansible.com/ansible/latest/modules/letsencrypt_module.html"&gt;Documentation&lt;/a&gt; is sparse, so I decided to post about my own Playbook.&lt;/p&gt;</description></item><item><title>It's time to move!</title><link>https://andreas.scherbaum.la/post/2017-11-06_its-time-to-move/</link><pubDate>Mon, 06 Nov 2017 12:16:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2017-11-06_its-time-to-move/</guid><description>&lt;p&gt;Around November 2012 I heard about a new game, one where you have to go out into the world around you. Real-life, you might have heard about it. January 2nd, 2013, I received an activation email and created my game account. The game was still in it’s early beta stage, and back then I was living in a state capital in &lt;em&gt;Germany&lt;/em&gt;, right in the middle of the city - but I had to drive 10 minutes to reach the next portal.&lt;/p&gt;</description></item><item><title>Linuxday 2007 visit in Berlin</title><link>https://andreas.scherbaum.la/post/2007-06-01_linuxday-2007-visit-in-berlin/</link><pubDate>Fri, 01 Jun 2007 01:27:09 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2007-06-01_linuxday-2007-visit-in-berlin/</guid><description>&lt;p&gt;I&amp;rsquo;m just back from my one-day trip to the &lt;a href="https://web.archive.org/web/20070618204615/https://www.linuxtag.org/2007/en/home/welcome.html"&gt;Linuxday 2007&lt;/a&gt;, this year in &lt;a href="https://en.wikipedia.org/wiki/Berlin"&gt;Berlin&lt;/a&gt;. The &lt;a href="httpss://www.pgug.de/"&gt;German PG User Group&lt;/a&gt; was not present with a booth. My trip was (among other things) to decide, if we will have a booth next year.&lt;/p&gt;</description></item></channel></rss>