<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog"/>

<title>나는 당신을 실패 - unbuffered stdout &amp; stderr</title>
<modified>2026-01-27T14:58:54Z</modified>
<tagline>Per Aspera Ad Astra - sinecure - SMASH THE RADIO - JSR $FFD2 C600G IEFBR14 1195725856 1213486160 542393671 1347703880 132524 </tagline>
<author><name>Kelly </name><email>complaints@penguinpackets.com</email></author>
<entry>
<title>New tidbits post</title>
<issued>2026-01-27T14:58:54Z</issued>
<modified>2026-01-27T14:58:54Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01769525934</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01769525934"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Forgotten stuff - when did I forget how to read man pages?
&lt;hr&gt;
&lt;br&gt;Convert a unix timestamp to a date string
&lt;pre&gt;
date -d &amp;quot;@1234567&amp;quot;
Thu Jan 15 12:56:07 AM CST 1970
&lt;/pre&gt;
&lt;hr&gt;
&lt;br&gt;Getting phantom users / stuck ssh sessions that have long since ended?
&lt;br&gt;systemd logind seems to get confused under high load.
&lt;pre&gt;
Try resetting things with:
systemctl restart systemd-logind.service

To verify what / who it was before the restart:
loginctl list-sessions
loginctl show-session xxxx
&lt;/pre&gt;</content>
</entry>
<entry>
<title>Aw, snap!</title>
<issued>2025-12-29T01:34:31Z</issued>
<modified>2025-12-29T01:34:31Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01766972071</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01766972071"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Did a snap update ruin your day by breaking a package with a version that had a bunk release?
&lt;br&gt;How can fix it (either quickly and dangerously or slowly and safely)?
&lt;br&gt;
&lt;br&gt;&lt;b&gt;Long story short&lt;/b&gt;
&lt;br&gt;When you have a working version of the package... keep it!
&lt;pre&gt;
  snap download packagename
  snap refresh --hold=forever packagename
&lt;/pre&gt;
&lt;br&gt;This ensures you have a copy to re-install as it seems snaps &amp;quot;dissapear&amp;quot; quickly when new versions are released!
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;Slow and safe:
&lt;hr&gt;
&lt;br&gt;revert using snap info packagename
&lt;br&gt;this assumes an old stable release - probably not the case...
&lt;pre&gt;
snap install (look it up seems the cli install has breakage and I won't keep chasing it here)
&lt;/pre&gt;
&lt;br&gt;Quick and dangerously:
&lt;hr&gt;
&lt;br&gt;If the prior version is not available via snap info packagename -- most likely it won't be!
&lt;br&gt;Grab a copy of the old .snap and .assert files
&lt;br&gt;
&lt;pre&gt;
snap remove packagename
snap ack packagename_version.assert
snap install packagename_version.snap (--dangerous)
(dangerous needed if there is no assert file to ack)
&lt;/pre&gt;
&lt;br&gt;Hint - grab from another installation with that version via:
&lt;pre&gt;
snap download packagename
look in /var/lib/snapd/snaps/packagename_version.snap
&lt;/pre&gt;
&lt;br&gt;&lt;b&gt;This will break updates however&lt;/b&gt;</content>
</entry>
<entry>
<title>Oops. Did it again.</title>
<issued>2025-11-29T20:46:39Z</issued>
<modified>2025-11-29T20:46:39Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01764449199</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01764449199"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Forgot to enable mod cgi. Makes for interesting reading though.</content>
</entry>
<entry>
<title>Magic 8 balls and artificial intelligence</title>
<issued>2025-05-17T12:10:55Z</issued>
<modified>2025-05-17T12:10:55Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01747483855</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01747483855"/>
<content type="text/html" mode="escaped">
&lt;br&gt;I don't think shaking more Magic 8 balls at the same time in order to arrive at consensus will make them more human.</content>
</entry>
<entry>
<title>Works on my machine / buy a subscription today!</title>
<issued>2024-06-07T13:02:04Z</issued>
<modified>2024-06-07T13:02:04Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01717765324</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01717765324"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Looks like Elasticsearch releases are tested internally on Docker.
&lt;br&gt;Testing the release on customers infra and post hoc updating release notes is efficient.
&lt;br&gt;Just ask Microsoft who constitutes the beta tester group.
&lt;br&gt;What is a little reputation burn going to do to the brand over time anyway?
&lt;hr&gt;
&lt;a href=&quot;http://penguinpackets.com/~kelly/kblog/&quot;&gt;&lt;img src=&quot;http://penguinpackets.com/~kelly/kblog-files/blog/01717765324/works-on-my-machine.jpg&quot;&gt;&lt;/a&gt;
&lt;hr&gt;</content>
</entry>
<entry>
<title>Nginx tidbits</title>
<issued>2024-04-16T14:39:11Z</issued>
<modified>2024-04-16T14:39:11Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01713278351</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01713278351"/>
<content type="text/html" mode="escaped">
Just a spot to drop easily forgotten stuff due to my under use.

&lt;p&gt;&lt;b&gt;Config test:&lt;/b&gt;
&lt;br&gt;&lt;span class=&quot;mono&quot;&gt;nginx -t&lt;/span&gt;

&lt;p&gt;&lt;b&gt;Server alias names:&lt;/b&gt;
&lt;br&gt;Just add the aliases on the server_name line. The first one is the canonical name
&lt;br&gt;(don't forget the semicolon).

&lt;p&gt;In the default (alpha-numerically) config the &lt;span class=&quot;mono&quot;&gt;default_server&lt;/span&gt; can be useful.

&lt;p&gt;&lt;b&gt;Processing order for Nginx:&lt;/b&gt;
&lt;br&gt;&lt;a href=&quot;https://nginx.org/en/docs/http/request_processing.html&quot;&gt;https://nginx.org/en/docs/http/request_processing.html&lt;/a&gt;</content>
</entry>
<entry>
<title>Antiquated web</title>
<issued>2024-01-17T19:05:23Z</issued>
<modified>2024-01-17T19:05:23Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01705518323</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01705518323"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Google says anybody using current RFC's that they don't care for is using the &amp;quot;antiquated and inconsistent web&amp;quot;.
&lt;br&gt;It is probably harder to exert power over a decentralized system like that given their need for dominance.
&lt;br&gt;Such a shame that they are forced to play in the sandbox with others.
&lt;br&gt;A sandbox built by a collaborative effort of many of others.
&lt;br&gt;A sandbox which was designed and built prior to Googles arrival.
&lt;br&gt;I wonder what became of CompuServe?</content>
</entry>
<entry>
<title>Other stuff I forget</title>
<issued>2023-07-25T19:12:33Z</issued>
<modified>2023-07-25T19:12:33Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01690312353</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01690312353"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Check for http/2 support using curl:
&lt;pre&gt;
curl -Iks https://websi.te
&lt;/pre&gt;
&lt;hr&gt;
&lt;br&gt;Only have Python 3 in your docker image and want to resolve a host?
&lt;pre&gt;
import socket

socket.getaddrinfo(&amp;quot;host.na.me&amp;quot;, 80, proto=socket.IPPROTO_TCP)
&lt;/pre&gt;</content>
</entry>
<entry>
<title>OpenSSL - silent all these years...</title>
<issued>2022-10-28T14:49:12Z</issued>
<modified>2022-10-28T14:49:12Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01666968552</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01666968552"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Were you enjoying the OpenSSL relatively quiet reprieve since Heartbleed?
&lt;br&gt;&lt;a href=&quot;https://isc.sans.edu/forums/diary/Upcoming+Critical+OpenSSL+Vulnerability+What+will+be+Affected/29192&quot;&gt;https://isc.sans.edu/forums/diary/Upcoming+Critical+OpenSSL+Vulnerability+What+will+be+Affected/29192&lt;/a&gt;
&lt;br&gt;Probably time to clear your schedule on Monday and Tuesday (or heck just clear the weekend) 10/29/2022 - 11/1/2022
&lt;br&gt;The  OpenSSL 3.0.x versions should be updated/patched - OpenSSL 1.1.1 need not apply
&lt;br&gt;Happy fall patching season to you all!</content>
</entry>
<entry>
<title>Slow queries after importing an older MySQL dump to MariaDB?</title>
<issued>2022-10-26T20:52:59Z</issued>
<modified>2022-10-26T20:52:59Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01666817579</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01666817579"/>
<content type="text/html" mode="escaped">
&lt;br&gt;The problem might be a big table (many rows) but 0 Cardinality...
&lt;pre&gt;
use dbname;
show index in tablename;

| Table... | Cardinality |
| tablename|           0 | 
&lt;/pre&gt;
&lt;br&gt;Fix the table(s):
&lt;pre&gt;
use dbname;
ANALYZE TABLE tablename;
&lt;/pre&gt;
&lt;br&gt;Alteratively:
&lt;pre&gt;
mysqlcheck -a dbname

show index in tablename;
| Table... | Cardinality |
| tablename|       12345 | 

&lt;/pre&gt;
</content>
</entry>
</feed>
