<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="https://www.rssboard.org/media-rss"><channel><title>Blog on Fundor333</title><link>https://fundor333.com/post/</link><description>Fundor 333's personal space on the web</description><generator>Hugo</generator><language>en</language><atom:link href="https://fundor333.com/post/index.xml" rel="self" type="application/rss+xml"/><item><title>Proxmox Homelab Base Stack: AdGuard DNS, Nginx Proxy Manager, and HTTPS Domains for Every Service</title><link>https://fundor333.com/post/2026/proxmox-homelab-base-stack-adguard-dns-nginx-proxy-manager-and-https-domains-for-every-service/</link><pubDate>Sun, 27 Sep 2026 08:54:53 +0200</pubDate><guid>https://fundor333.com/post/2026/proxmox-homelab-base-stack-adguard-dns-nginx-proxy-manager-and-https-domains-for-every-service/</guid><category>homelab</category><category>proxmox</category><category>nginx</category><category>adguard</category><category>nginx-proxy-manager</category><category>adguard-dns</category><media:content url="https://fundor333.com/post/2026/proxmox-homelab-base-stack-adguard-dns-nginx-proxy-manager-and-https-domains-for-every-service/cover.jpg" medium="image"/><description>&lt;p&gt;And after some searching and some buying (and some exchange with sombody I know) I built my HomeLab core/main server.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;&amp;ldquo;It&amp;rdquo; is&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ZimaBoard2 &lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;2 WD Red Plus Internal NAS HDD 3.5 4 TB&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I set the HDD in Raid1 for replication and I install ProxMox VE as OS&lt;sup id="fnref:4"&gt;&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref"&gt;4&lt;/a&gt;&lt;/sup&gt;. The installation software for the distro make the RAID1 for my HDDs.&lt;/p&gt;
&lt;figure&gt;
&lt;img class="center-img u-photo rounded-lg" src="homelab.jpg" loading="lazy" alt="homelab.jpg"&gt;&lt;/figure&gt;&lt;p&gt;After some problem (I only have the TV as monitor and I don&amp;rsquo;t have very long cable) I had a working HomeLab for start.&lt;/p&gt;</description></item><item><title>How I Am Building My First Home Lab From Scratch</title><link>https://fundor333.com/post/2026/how-i-m-building-my-first-home-lab-from-scratch-/</link><pubDate>Mon, 14 Sep 2026 13:32:09 +0200</pubDate><guid>https://fundor333.com/post/2026/how-i-m-building-my-first-home-lab-from-scratch-/</guid><category>homelab</category><category>selfhosting</category><category>hacking</category><media:content url="https://fundor333.com/post/2026/how-i-m-building-my-first-home-lab-from-scratch-/cover.jpg" medium="image"/><description>&lt;p&gt;It is some time I am tinking of selfhosting some stuff and more and more time I read post/see video about HomeLabs. So I start thinking about making one.&lt;/p&gt;
&lt;p&gt;So what is a HomeLab?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A homelab is a self-contained IT environment that you design and control. It usually includes basic infrastructure like compute, storage, and networking, along with a hypervisor or virtualization layer (container). Some setups are modest and run on a single machine, while others resemble mini datacenters with multiple nodes and a shared storage such as SAN or NAS.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://stormagic.com/company/blog/what-is-homelab/" target="_blank" rel="noopener" class="a-post"&gt;StorMagic - What Is a Homelab and Why Is It Important? &lt;span aria-hidden="true"&gt;↗&lt;/span&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Moving to Django 6.X</title><link>https://fundor333.com/post/2026/moving-to-django-6-x/</link><pubDate>Mon, 24 Aug 2026 21:41:59 +0200</pubDate><guid>https://fundor333.com/post/2026/moving-to-django-6-x/</guid><category>django</category><category>python</category><media:content url="https://fundor333.com/post/2026/moving-to-django-6-x/cover.jpg" medium="image"/><description>&lt;p&gt;A long time ago I start my personal server in Django (a lot of the stuff from &lt;a href="https://fundor333.com/series/django-tricks/" class="a-post"&gt;Django tricks&lt;/a&gt;
were coded for my personal Django stuff) and some days ago I decide to upgrade to 6.1 or more. Why?&lt;/p&gt;
&lt;h2 id="new-things-in-60-and-61" class="group scroll-mt-20"&gt;
&lt;a href="#new-things-in-60-and-61" class="no-underline"&gt;
New things in 6.0 and 6.1
&lt;span class="heading-anchor ml-2 text-primary opacity-0 transition-opacity group-hover:opacity-60" aria-hidden="true"&gt;¶&lt;/span&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;The main thing in Django 6.0 is the &lt;a href="https://docs.djangoproject.com/en/6.1/topics/tasks/" target="_blank" rel="noopener" class="a-post"&gt;Django Tasks Frameworks &lt;span aria-hidden="true"&gt;↗&lt;/span&gt;&lt;/a&gt;
.
Having a unique framework for the async task is a beautifull thing and made me clean a lot of code and make it more pythonic in multiple way.&lt;/p&gt;</description></item><item><title>Framing Photos With Python</title><link>https://fundor333.com/post/2026/framing-photos-with-python/</link><pubDate>Thu, 20 Aug 2026 21:00:09 +0200</pubDate><guid>https://fundor333.com/post/2026/framing-photos-with-python/</guid><category>python</category><category>automation</category><media:content url="https://fundor333.com/post/2026/framing-photos-with-python/cover.jpg" medium="image"/><description>&lt;p&gt;Some time ago I decide to make a photo exhibition in my city and, before doing it, I make some research of what I need to do.
So I made the photo exhibition with some errors here and there but I love it.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;figure&gt;
&lt;img class="center-img u-photo rounded-lg" src="mr_bean.gif" loading="lazy" alt="MRBean gif"&gt;&lt;/figure&gt;&lt;p&gt;So I find a lot of photographeres having a white or black framing of the pic&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; so I do it while printing (read as the source file has not framing but he printed one has one) but I want to have the source file with a frame and some info about the pic. So I search the web for something usefull.&lt;/p&gt;</description></item><item><title>Who Knows That I Blog</title><link>https://fundor333.com/post/2026/who-knows-that-i-blog-/</link><pubDate>Sat, 23 May 2026 12:50:49 +0200</pubDate><guid>https://fundor333.com/post/2026/who-knows-that-i-blog-/</guid><category>blog</category><category>blogging</category><media:content url="https://fundor333.com/post/2026/who-knows-that-i-blog-/cover.jpg" medium="image"/><description>&lt;blockquote&gt;
&lt;p&gt;Question for the audience: Do you tell people you blog?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Yes&amp;hellip; No&amp;hellip; It depend.
It is not a thing I talk about my blog in my every day life. And I have more than one blog so&amp;hellip;&lt;/p&gt;
&lt;h2 id="so-i-tell-people-about-my-blog" class="group scroll-mt-20"&gt;
&lt;a href="#so-i-tell-people-about-my-blog" class="no-underline"&gt;
So I tell people about my blog?
&lt;span class="heading-anchor ml-2 text-primary opacity-0 transition-opacity group-hover:opacity-60" aria-hidden="true"&gt;¶&lt;/span&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Yes I tell but not unprompted. I told people while talking about the argument of my blog, like if I have a post about what we are talking or if the topic of the blog can be usefull for the discussion.&lt;/p&gt;</description></item><item><title>Hacking My Kobo with KOReader</title><link>https://fundor333.com/post/2026/hacking-my-kobo/</link><pubDate>Mon, 13 Apr 2026 12:10:12 +0200</pubDate><guid>https://fundor333.com/post/2026/hacking-my-kobo/</guid><category>kobo</category><category>koreader</category><category>ebook</category><category>ereader</category><category>kindle</category><media:content url="https://fundor333.com/post/2026/hacking-my-kobo/cover.png" medium="image"/><description>&lt;p&gt;A long long time ago I start using a EBook Reader, the first Kindle PaperWhite (2012) and I never stop using EReader.&lt;/p&gt;
&lt;p&gt;The last one I own is a Kobo Clara Colour, this one.&lt;/p&gt;
&lt;figure&gt;
&lt;img class="center-img u-photo rounded-lg" src="kobo.jpg" loading="lazy" alt="Kobo Clara Colour"&gt;&lt;/figure&gt;&lt;p&gt;I love it and the fact I can read in color comics, manga, web comics and graphic novel everywhere is a plus.&lt;/p&gt;
&lt;p&gt;But more and more I use Ebook Readers more and more I want to customize it. Like I have in the pic.&lt;/p&gt;</description></item><item><title>Django Table, Filter and Export With Htmx</title><link>https://fundor333.com/post/2026/django-table-filter-export-with-htmx/</link><pubDate>Fri, 03 Apr 2026 08:21:34 +0200</pubDate><guid>https://fundor333.com/post/2026/django-table-filter-export-with-htmx/</guid><category>django</category><category>export</category><category>htmx</category><category>django-table2</category><category>django-filters</category><category>django-filters</category><media:content url="https://fundor333.com/post/2026/django-table-filter-export-with-htmx/cover.png" medium="image"/><description>&lt;p&gt;Some time ago I wrote a &lt;a href="https://fundor333.com/post/2026/htmx-django-and-django-table2/" class="a-post"&gt;blog post&lt;/a&gt;
about Htmx and Django-table2 and all went well&amp;hellip;&lt;/p&gt;
&lt;figure&gt;
&lt;img class="center-img u-photo rounded-lg" src="soso.gif" loading="lazy" alt="So So"&gt;&lt;/figure&gt;&lt;p&gt;No he didn&amp;rsquo;t work as I wanted so I did some editing of the code here and there.&lt;/p&gt;
&lt;h2 id="the-old-one" class="group scroll-mt-20"&gt;
&lt;a href="#the-old-one" class="no-underline"&gt;
The old one
&lt;span class="heading-anchor ml-2 text-primary opacity-0 transition-opacity group-hover:opacity-60" aria-hidden="true"&gt;¶&lt;/span&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;We start with the code I didn&amp;rsquo;t change:&lt;/p&gt;
&lt;p&gt;First the model&lt;/p&gt;
&lt;div class="highlight not-prose"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# blog/model.py&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;models&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Model&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;title&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;models&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;CharField&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;max_length&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;400&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;slug&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;models&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;SlugField&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;max_length&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;400&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;unique&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;blank&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;content&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;models&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;TextAreaField&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;date&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;models&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;DateTimeField&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;auto_now_add&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The table&lt;/p&gt;
&lt;div class="highlight not-prose"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# blog/tables.py&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;django_tables2&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;tables&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;blog.models&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Post&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;PostTable&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tables&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Table&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Meta&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;model&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;Post&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;order_by&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;-date&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;title&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;fields&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;date&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;title&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;slug&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This two fragment are perfect as is so I didn&amp;rsquo;t touch them. But all the other part I reworked as I needed.&lt;/p&gt;</description></item><item><title>Starting My Home Automation Experiment</title><link>https://fundor333.com/post/2026/starting-my-home-automation-experiment/</link><pubDate>Tue, 31 Mar 2026 08:46:01 +0200</pubDate><guid>https://fundor333.com/post/2026/starting-my-home-automation-experiment/</guid><category>home-automation</category><category>hacking</category><category>self-hosting</category><category>raspberry-pi</category><category>home-assistant</category><media:content url="https://fundor333.com/post/2026/starting-my-home-automation-experiment/cover.png" medium="image"/><description>&lt;p&gt;And some time ago I installed the Fiber&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; in my home and I want to use in the best way, so I start to rework all my local network and I think about adding some home automation.&lt;/p&gt;
&lt;figure class="xkcd my-6 text-center"&gt;
&lt;figcaption class="font-display"&gt;xkcd #1931 — Virtual Assistant&lt;/figcaption&gt;
&lt;a href="https://xkcd.com/1931/" target="_blank" rel="noopener"&gt;
&lt;img class="u-photo mx-auto" src="https://imgs.xkcd.com/comics/virtual_assistant.png" alt="If you ask it to please turn off that feature, it apologizes a whole bunch and promises to try to be quieter, then switches to a slightly lower-volume version of the clip with &amp;#34;sorry!&amp;#34; after the louder sounds." title="If you ask it to please turn off that feature, it apologizes a whole bunch and promises to try to be quieter, then switches to a slightly lower-volume version of the clip with &amp;#34;sorry!&amp;#34; after the louder sounds." loading="lazy"&gt;
&lt;/a&gt;
&lt;figcaption class="text-inactive text-sm"&gt;&lt;em&gt;If you ask it to please turn off that feature, it apologizes a whole bunch and promises to try to be quieter, then switches to a slightly lower-volume version of the clip with &amp;#34;sorry!&amp;#34; after the louder sounds.&lt;/em&gt;&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id="what-do-i-need" class="group scroll-mt-20"&gt;
&lt;a href="#what-do-i-need" class="no-underline"&gt;
What do I need?
&lt;span class="heading-anchor ml-2 text-primary opacity-0 transition-opacity group-hover:opacity-60" aria-hidden="true"&gt;¶&lt;/span&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;First I search for understand what I need to have for build my personal home automation. So serching on the web I found I need:&lt;/p&gt;</description></item><item><title>Why Do I Disinstall Poetry and Use Only Uv</title><link>https://fundor333.com/post/2026/why-do-i-disinstall-poetry-and-use-only-uv-/</link><pubDate>Mon, 26 Jan 2026 21:58:02 +0100</pubDate><guid>https://fundor333.com/post/2026/why-do-i-disinstall-poetry-and-use-only-uv-/</guid><category>poetry</category><category>pipenv</category><category>pyproject</category><category>pyenv</category><category>uv</category><category>makefile</category><category>make</category><category>precommit</category><media:content url="https://fundor333.com/post/2026/why-do-i-disinstall-poetry-and-use-only-uv-/cover.png" medium="image"/><description>&lt;p&gt;558 days ago (yes I count them), I wrote a follow-up article called &lt;a href="https://fundor333.com/post/2024/why-do-i-disinstall-pipenv-and-use-only-poetry/" class="a-post"&gt;Why Do I Disinstall Pipenv and Use Only Poetry?&lt;/a&gt;
and now I remake mine dev space, for building python project.&lt;/p&gt;
&lt;p&gt;Some of the arguments are old, some are new but all come from my dev stack.&lt;/p&gt;
&lt;h2 id="build-a-venv" class="group scroll-mt-20"&gt;
&lt;a href="#build-a-venv" class="no-underline"&gt;
Build a .venv
&lt;span class="heading-anchor ml-2 text-primary opacity-0 transition-opacity group-hover:opacity-60" aria-hidden="true"&gt;¶&lt;/span&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;For every Python project I wrote, I code all the project with a Virtual Env or .venv.
It is a local &amp;ldquo;installation&amp;rdquo; of Python for the folder and it keep all the dependency inside it.&lt;/p&gt;</description></item><item><title>Htmx Django and Django Table2</title><link>https://fundor333.com/post/2026/htmx-django-and-django-table2/</link><pubDate>Mon, 19 Jan 2026 12:33:09 +0100</pubDate><guid>https://fundor333.com/post/2026/htmx-django-and-django-table2/</guid><category>django</category><category>htmx</category><category>django-table2</category><category>montharchiveview</category><media:content url="https://fundor333.com/post/2026/htmx-django-and-django-table2/cover.png" medium="image"/><description>&lt;p&gt;For some time I am developing my personal Django server. It keeps some data for me and it is my automation server. And I want to test a Htmx code on Django so I make a little thing in my personal django project.&lt;/p&gt;
&lt;h2 id="what-i-have" class="group scroll-mt-20"&gt;
&lt;a href="#what-i-have" class="no-underline"&gt;
What I have
&lt;span class="heading-anchor ml-2 text-primary opacity-0 transition-opacity group-hover:opacity-60" aria-hidden="true"&gt;¶&lt;/span&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;I have a MonthArchiveView with render a table list with a lot of function I need: add element, change month show, exports query as files, etc&amp;hellip;&lt;/p&gt;</description></item><item><title>Generate Dataframe Summaries With Python</title><link>https://fundor333.com/post/2025/generate-dataframe-summaries-with-python/</link><pubDate>Wed, 03 Sep 2025 17:13:02 +0800</pubDate><guid>https://fundor333.com/post/2025/generate-dataframe-summaries-with-python/</guid><category>datascience</category><category>dataframe</category><category>pandas</category><category>llm</category><category>Ollama</category><category>mistral</category><media:content url="https://fundor333.com/post/2025/generate-dataframe-summaries-with-python/cover.png" medium="image"/><description>&lt;p&gt;How much time do you spend with making summaries of dataset? Too much and I don&amp;rsquo;t like doing it so I search to do it with the AI. So this is my sperimentation with some medical data see at PyDataVe 22nd event and Mistral model.&lt;/p&gt;
&lt;h2 id="the-code-for-the-inizializzation" class="group scroll-mt-20"&gt;
&lt;a href="#the-code-for-the-inizializzation" class="no-underline"&gt;
The code for the inizializzation
&lt;span class="heading-anchor ml-2 text-primary opacity-0 transition-opacity group-hover:opacity-60" aria-hidden="true"&gt;¶&lt;/span&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;For start I need to install some dipendency&lt;/p&gt;
&lt;div class="highlight not-prose"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;langchain&amp;gt;=0.3.27
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;langchain-ollama&amp;gt;=0.3.7
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;pandas&amp;gt;=2.3.2&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class="highlight not-prose"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;pandas&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;pd&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;langchain_ollama&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;ChatOllama&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;typing&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Literal&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;df&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;pd&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;read_csv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;data/test.csv&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;-*-&amp;#34;&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;Dataset shape: &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;df&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;shape&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;-*-&amp;#34;&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;Missing value stats:&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;df&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;isnull&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;-*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*-
Dataset shape: (418, 20)
-*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*-
Missing value stats:
ID 0
N_Days 0
Status 0
Drug 106
Age 0
Sex 0
Ascites 106
Hepatomegaly 106
Spiders 106
Edema 0
Bilirubin 0
Cholesterol 134
Albumin 0
Copper 108
Alk_Phos 106
SGOT 106
Tryglicerides 136
Platelets 11
Prothrombin 2
Stage 6
dtype: int64
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This is a section of the dataset and what is missing value of the stats.&lt;/p&gt;</description></item><item><title>Hugo Blog With Jupyter Notebook</title><link>https://fundor333.com/post/2025/hugo-blog-with-jupyter-notebook/</link><pubDate>Mon, 01 Sep 2025 08:40:34 +0200</pubDate><guid>https://fundor333.com/post/2025/hugo-blog-with-jupyter-notebook/</guid><category>hugo</category><category>juppyter</category><category>notebook</category><category>datascience</category><category>pydatave</category><media:content url="https://fundor333.com/post/2025/hugo-blog-with-jupyter-notebook/cover.png" medium="image"/><description>&lt;p&gt;A long time ago, I wrote a &lt;a href="https://fundor333.com/post/2017/jupyter-notebook-pelican-combo/" class="a-post"&gt;post&lt;/a&gt;
about writing a post for the Pelican static site generator made with a Jupyter Notebook. I did it because, at the time, I was a huge fan of the Notebooks and I had the blog generated by Pelican so&amp;hellip;&lt;/p&gt;
&lt;figure&gt;
&lt;img class="center-img u-photo rounded-lg" src="pydatave.jpg" loading="lazy" alt="pydatave.jpg"&gt;&lt;/figure&gt;&lt;p&gt;And now, after a PyDataVe (the 22nd event), I make a Jupyter Notebook after a lot of time and I feel the need to have a solution for make a Jupyter Notebook one of the post of my blog so I find a way to do it. This time in Hugo&lt;/p&gt;</description></item><item><title>Generate Post With Img for Hugo</title><link>https://fundor333.com/post/2025/generate-post-with-img-for-hugo/</link><pubDate>Sat, 12 Jul 2025 08:36:34 +0200</pubDate><guid>https://fundor333.com/post/2025/generate-post-with-img-for-hugo/</guid><category>image</category><category>hugo</category><category>script</category><category>hacking</category><media:content url="https://fundor333.com/post/2025/generate-post-with-img-for-hugo/cover.png" medium="image"/><description>&lt;p&gt;Some days ago I find a new post from a blog I follow about &amp;ldquo;&lt;a href="https://www.burgeonlab.com/blog/hugo-and-wordpress-open-graph-meta-tags/" target="_blank" rel="noopener" class="a-post"&gt;Open Graph Meta Tags on Hugo and WordPress Blogs &lt;span aria-hidden="true"&gt;↗&lt;/span&gt;&lt;/a&gt;
&amp;rdquo; as a toot&lt;/p&gt;
&lt;figure class="toot border border-border rounded-lg p-4 my-4 bg-surface"&gt;
&lt;figcaption class="flex items-center gap-3"&gt;
&lt;img class="h-10 w-10 rounded-full" src="https://cdn.fosstodon.org/accounts/avatars/110/631/569/439/879/798/original/63c2880c18d2bab3.jpg" alt="" loading="lazy"&gt;
&lt;span&gt;
&lt;a href="https://fosstodon.org/@eclecticpassions" rel="noopener" class="font-display"&gt;Naty S&lt;/a&gt;&lt;br&gt;
&lt;span class="text-inactive text-sm"&gt;@eclecticpassions@fosstodon.org&lt;/span&gt;
&lt;/span&gt;
&lt;/figcaption&gt;
&lt;div class="toot-content mt-3"&gt;&lt;p&gt;New &lt;a href="https://fosstodon.org/tags/blogpost" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;blogpost&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;➡️ &lt;a href="https://www.burgeonlab.com/blog/hugo-and-wordpress-open-graph-meta-tags/" target="_blank" rel="nofollow noopener" translate="no"&gt;&lt;span class="invisible"&gt;https://www.&lt;/span&gt;&lt;span class="ellipsis"&gt;burgeonlab.com/blog/hugo-and-w&lt;/span&gt;&lt;span class="invisible"&gt;ordpress-open-graph-meta-tags/&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I often see bloggers on Mastodon with no images for their blog links or sometimes no link card at all (this was me not too long ago).&lt;/p&gt;&lt;p&gt;I&amp;#39;ve been sorting out Open Graph meta tags for my three blogs (Hugo and WordPress) and I&amp;#39;m happy to say it&amp;#39;s all working great now! Read my post to get some tips! 👆 &lt;/p&gt;&lt;p&gt;&lt;a href="https://fosstodon.org/tags/BurgeonLab" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;BurgeonLab&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="https://fosstodon.org/tags/blog" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;blog&lt;/span&gt;&lt;/a&gt; &lt;a href="https://fosstodon.org/tags/blogging" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;blogging&lt;/span&gt;&lt;/a&gt; &lt;a href="https://fosstodon.org/tags/blogs" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;blogs&lt;/span&gt;&lt;/a&gt; &lt;a href="https://fosstodon.org/tags/hugo" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;hugo&lt;/span&gt;&lt;/a&gt; &lt;a href="https://fosstodon.org/tags/wordpress" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;wordpress&lt;/span&gt;&lt;/a&gt; &lt;a href="https://fosstodon.org/tags/webdev" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;webdev&lt;/span&gt;&lt;/a&gt; &lt;a href="https://fosstodon.org/tags/opengraph" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;opengraph&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
&lt;a class="toot-date mt-3 block text-inactive text-sm" href="https://fosstodon.org/@eclecticpassions/114818281454845557" rel="noopener"&gt;3:18 PM · 8 Jul 2025&lt;/a&gt;
&lt;/figure&gt;</description></item><item><title>Add Minor Things to Django for templating</title><link>https://fundor333.com/post/2025/add-minor-things-to-django/</link><pubDate>Sun, 15 Jun 2025 21:36:00 +0200</pubDate><guid>https://fundor333.com/post/2025/add-minor-things-to-django/</guid><category>django</category><category>coding</category><media:content url="https://fundor333.com/post/2025/add-minor-things-to-django/cover.png" medium="image"/><description>&lt;p&gt;More and more time I need some little thing for templating:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The date fild of a form with the right input type for the page&lt;/li&gt;
&lt;li&gt;A link with all the get parameters of the current page (form, paginator, etc&amp;hellip;) and one added&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="the-code" class="group scroll-mt-20"&gt;
&lt;a href="#the-code" class="no-underline"&gt;
The Code
&lt;span class="heading-anchor ml-2 text-primary opacity-0 transition-opacity group-hover:opacity-60" aria-hidden="true"&gt;¶&lt;/span&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;This little code is mine but you can use it on all your project without thinking. If you find an error comment or webmention or replay with activity pub to my toot&lt;/p&gt;</description></item><item><title>So This Is Why I Sometime Reset the Feed Reader of Friends</title><link>https://fundor333.com/post/2025/so-this-is-why-i-sometime-reset-the-feed-reader-of-friends/</link><pubDate>Sat, 31 May 2025 12:32:59 +0200</pubDate><guid>https://fundor333.com/post/2025/so-this-is-why-i-sometime-reset-the-feed-reader-of-friends/</guid><category>feed</category><category>atom</category><category>rss</category><category>coding</category><media:content url="https://fundor333.com/post/2025/so-this-is-why-i-sometime-reset-the-feed-reader-of-friends/cover.png" medium="image"/><description>&lt;p&gt;I have a friend who read my blog using my feed. And sometime he pings me for some problem with the feed, like a drop of all the article as new&lt;/p&gt;
&lt;figure class="toot border border-border rounded-lg p-4 my-4 bg-surface"&gt;
&lt;figcaption class="flex items-center gap-3"&gt;
&lt;img class="h-10 w-10 rounded-full" src="https://s3.eu-central-003.backblazeb2.com/social-lol-media/accounts/avatars/109/523/762/776/095/110/original/548f0c6ecfffa5f1.jpg" alt="" loading="lazy"&gt;
&lt;span&gt;
&lt;a href="https://social.lol/@robb" rel="noopener" class="font-display"&gt;Robb Knight&lt;/a&gt;&lt;br&gt;
&lt;span class="text-inactive text-sm"&gt;@robb@social.lol&lt;/span&gt;
&lt;/span&gt;
&lt;/figcaption&gt;
&lt;div class="toot-content mt-3"&gt;&lt;p&gt;When I open my RSS reader and it has over 200 unread items, I know one of you has messed up your rss feeds&lt;/p&gt;&lt;p&gt;📌 &lt;a href="https://rknight.me/notes/202501190902/" target="_blank" rel="nofollow noopener" translate="no"&gt;&lt;span class="invisible"&gt;https://&lt;/span&gt;&lt;span class=""&gt;rknight.me/notes/202501190902/&lt;/span&gt;&lt;span class="invisible"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
&lt;a class="toot-date mt-3 block text-inactive text-sm" href="https://social.lol/@robb/113854214799861227" rel="noopener"&gt;9:04 AM · 19 Jan 2025&lt;/a&gt;
&lt;/figure&gt;
&lt;figure class="toot border border-border rounded-lg p-4 my-4 bg-surface"&gt;
&lt;figcaption class="flex items-center gap-3"&gt;
&lt;img class="h-10 w-10 rounded-full" src="https://files.mastodon.social/accounts/avatars/000/299/643/original/a1fe54a6da8006ce.jpg" alt="" loading="lazy"&gt;
&lt;span&gt;
&lt;a href="https://mastodon.social/@andreagrandi" rel="noopener" class="font-display"&gt;Andrea Grandi 🦕&lt;/a&gt;&lt;br&gt;
&lt;span class="text-inactive text-sm"&gt;@andreagrandi@mastodon.social&lt;/span&gt;
&lt;/span&gt;
&lt;/figcaption&gt;
&lt;div class="toot-content mt-3"&gt;&lt;p&gt;&lt;span class="h-card" translate="no"&gt;&lt;a href="https://social.lol/@robb" class="u-url mention"&gt;@&lt;span&gt;robb&lt;/span&gt;&lt;/a&gt;&lt;/span&gt; I think my friend &lt;span class="h-card" translate="no"&gt;&lt;a href="https://mastodon.social/@fundor333" class="u-url mention"&gt;@&lt;span&gt;fundor333&lt;/span&gt;&lt;/a&gt;&lt;/span&gt; ears must be burning right now :D&lt;/p&gt;&lt;/div&gt;
&lt;a class="toot-date mt-3 block text-inactive text-sm" href="https://mastodon.social/@andreagrandi/113854638640440084" rel="noopener"&gt;10:51 AM · 19 Jan 2025&lt;/a&gt;
&lt;/figure&gt;</description></item><item><title>Having a Webring Into 2025</title><link>https://fundor333.com/post/2025/webring-into-2025/</link><pubDate>Sat, 24 May 2025 12:11:42 +0200</pubDate><guid>https://fundor333.com/post/2025/webring-into-2025/</guid><category>webring</category><category>indieweb</category><media:content url="https://fundor333.com/post/2025/webring-into-2025/cover.png" medium="image"/><description>&lt;p&gt;Once upon a time Internet was different. No social media, no search engine, no fiber&amp;hellip;
So how people find new site? Because the internet users share link into the blogs.&lt;/p&gt;
&lt;p&gt;And one of the best way to share other blog without filling a webpage with links was the WebRing.&lt;/p&gt;
&lt;h2 id="webring" class="group scroll-mt-20"&gt;
&lt;a href="#webring" class="no-underline"&gt;
WebRing?
&lt;span class="heading-anchor ml-2 text-primary opacity-0 transition-opacity group-hover:opacity-60" aria-hidden="true"&gt;¶&lt;/span&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;For &lt;a href="https://en.wikipedia.org/wiki/Webring" target="_blank" rel="noopener" class="a-post"&gt;Wikipedia &lt;span aria-hidden="true"&gt;↗&lt;/span&gt;&lt;/a&gt;
a Webring is&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A webring (or web ring) is a collection of websites linked together in a circular structure, usually organized around a specific theme, and often educational or social.[1] They were popular in the 1990s and early 2000s, particularly among amateur websites.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Django Generate Barcode With Reportlab</title><link>https://fundor333.com/post/2025/django-generate-barcode-with-reportlab/</link><pubDate>Mon, 19 May 2025 12:30:00 +0200</pubDate><guid>https://fundor333.com/post/2025/django-generate-barcode-with-reportlab/</guid><category>reportlab</category><category>django</category><category>barcode</category><category>qrcode</category><media:content url="https://fundor333.com/post/2025/django-generate-barcode-with-reportlab/cover.png" medium="image"/><description>&lt;p&gt;After &lt;a href="https://fundor333.com/post/2022/django-with-barcode-and-qrcode/" target="_blank" rel="noopener" class="a-post"&gt;Django With Barcode and Qrcode &lt;span aria-hidden="true"&gt;↗&lt;/span&gt;&lt;/a&gt;
and &lt;a href="https://fundor333.com/post/2022/django-return-pdf-with-reportlab/" target="_blank" rel="noopener" class="a-post"&gt;Django Return Pdf With Reportlab &lt;span aria-hidden="true"&gt;↗&lt;/span&gt;&lt;/a&gt;
I need something new in my Django server. I need a barcode generator for labeling stuffs.&lt;/p&gt;
&lt;h2 id="the-problem" class="group scroll-mt-20"&gt;
&lt;a href="#the-problem" class="no-underline"&gt;
The problem
&lt;span class="heading-anchor ml-2 text-primary opacity-0 transition-opacity group-hover:opacity-60" aria-hidden="true"&gt;¶&lt;/span&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Every code is a solution to a pratical problem. In this case I need to make the barcode labels with text for keep an inventory.
The basic solution is generate a pdf/img file to print into sticker&amp;rsquo;s paper and cut it after.&lt;/p&gt;</description></item><item><title>Activitypub vs Webmention Do You Need Them ?</title><link>https://fundor333.com/post/2025/activitypub-vs-webmention-do-you-need-them/</link><pubDate>Fri, 16 May 2025 07:23:27 +0200</pubDate><guid>https://fundor333.com/post/2025/activitypub-vs-webmention-do-you-need-them/</guid><category>webmention</category><category>activitypub</category><category>indieweb</category><media:content url="https://fundor333.com/post/2025/activitypub-vs-webmention-do-you-need-them/cover.png" medium="image"/><description>&lt;p&gt;I have a lot of article about webmention because I implement them on my site/blog. And I use them ad comment, like sistem and more. But more I read about ActivityPub and the Feedverse more I thing it can be a good think to implement it insite your site for your content and for share to the Feedverse.&lt;/p&gt;
&lt;h2 id="why-do-it" class="group scroll-mt-20"&gt;
&lt;a href="#why-do-it" class="no-underline"&gt;
Why do it?
&lt;span class="heading-anchor ml-2 text-primary opacity-0 transition-opacity group-hover:opacity-60" aria-hidden="true"&gt;¶&lt;/span&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;One of the best arguments for having a personal ActivityPub site/server is you having a unique identity, don&amp;rsquo;t fragmenting your identity&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; on multiple Feedverse accounts.&lt;/p&gt;</description></item><item><title>Csv From Django</title><link>https://fundor333.com/post/2025/csv-from-django/</link><pubDate>Fri, 18 Apr 2025 12:23:09 +0200</pubDate><guid>https://fundor333.com/post/2025/csv-from-django/</guid><category>csv</category><category>django</category><media:content url="https://fundor333.com/post/2025/csv-from-django/cover.png" medium="image"/><description>&lt;p&gt;Some time you need to export a file into a specific format for some use like upload to the old system.
In this case I need to have a CSV file which another software fill.&lt;/p&gt;
&lt;h2 id="the-code" class="group scroll-mt-20"&gt;
&lt;a href="#the-code" class="no-underline"&gt;
The code
&lt;span class="heading-anchor ml-2 text-primary opacity-0 transition-opacity group-hover:opacity-60" aria-hidden="true"&gt;¶&lt;/span&gt;
&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;I wrote a ClassView for this case, this class. &lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class="highlight not-prose"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;CsvCarsDownload&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;View&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="n"&gt;kwargs&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;HttpResponse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;content_type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;text/csv&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;Content-Disposition&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;attachment; filename=&amp;#34;cars.csv&amp;#34;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;my_dict&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="s2"&gt;&amp;#34;brand&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;Ford&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="s2"&gt;&amp;#34;model&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;Mustang&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="s2"&gt;&amp;#34;year&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1964&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;}]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;writer&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;csv&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;DictWriter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dialect&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;excel&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;fieldnames&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;my_dict&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;keys&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;writer&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;writeheader&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;element&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;my_dict&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;writer&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;writerow&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;element&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;You can change the type of the the CSV changing the &lt;strong&gt;dialect&lt;/strong&gt; with one of the type of the CSV dialect (excel, excel_tab, unix_dialect) and changing the &lt;strong&gt;my_dict&lt;/strong&gt; with any type of list of dict.&lt;/p&gt;</description></item><item><title>Re:Using 'Re:' in Blog Titles</title><link>https://fundor333.com/post/2025/re-using-re-in-blog-titles/</link><pubDate>Mon, 14 Apr 2025 21:00:21 +0200</pubDate><guid>https://fundor333.com/post/2025/re-using-re-in-blog-titles/</guid><category>microformat</category><category>indieweb</category><description>&lt;p&gt;Following the post from &lt;a href="https://rubenerd.com/using-re-in-blog-titles/" target="_blank" rel="noopener" class="a-post"&gt;Ruben &lt;span aria-hidden="true"&gt;↗&lt;/span&gt;&lt;/a&gt;
I start imitating this idea and expand on it.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;Imitation is the sincerest form of flattery that mediocrity can pay to greatness.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Oscar Wilde&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The basic idea come from a post by &lt;a href="https://brandons-journal.com/re-im-part-of-the-problem/" target="_blank" rel="noopener" class="a-post"&gt;Brandon&amp;rsquo;s Journal &lt;span aria-hidden="true"&gt;↗&lt;/span&gt;&lt;/a&gt;
where Brandon response to an article and use the &lt;strong&gt;Re:&lt;/strong&gt; prefix, like a email threads in the title of the post&amp;hellip;&lt;/p&gt;
&lt;p&gt;And I add a microformat following the IndieWeb stuff for the response tags.
So my post which are a &amp;ldquo;Re:&amp;rdquo; will have a &lt;strong&gt;u-in-reply-to&lt;/strong&gt; in the class of the links for implementing the IndieWeb, like in this article.&lt;/p&gt;</description></item></channel></rss>