Question for the audience: Do you tell people you blog? Yes… No… 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… So I tell people about my blog? 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…
A long long time ago I start using a EBook Reader, the first Kindle PaperWhite (2012) and I never stop using EReader. The last one I own is a Kobo Clara Colour, this one. I love it and the fact I can read in color comics, manga, web comics and graphic novel everywhere is a plus. But more and more I use Ebook Readers more and more I want to customize it. Like I have in the pic.
Some time ago I wrote a blog post about Htmx and Django-table2 and all went well… No he didn’t work as I wanted so I did some editing of the code here and there. The old one We start with the code I didn’t change: First the model # blog/model.py class Post (models . Model): title = models . CharField(max_length = 400 ) slug = models . SlugField(max_length = 400 , unique = True ,…
And some time ago I installed the Fiber 1 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. Xkcd - Virtual Assistant 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 'sorry!' after the…
558 days ago (yes I count them), I wrote a follow-up article called Why Do I Disinstall Pipenv and Use Only Poetry? and now I remake mine dev space, for building python project. Some of the arguments are old, some are new but all come from my dev stack. Build a .venv For every Python project I wrote, I code all the project with a Virtual Env or .venv. It is a local “installation” of…
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. What I have 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…
How much time do you spend with making summaries of dataset? Too much and I don’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. The code for the inizializzation For start I need to install some dipendency langchain>=0.3.27 langchain-ollama>=0.3.7 pandas>=2.3.2 import pandas as pd from…
A long time ago, I wrote a post 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… 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…
Some days ago I find a new post from a blog I follow about “ Open Graph Meta Tags on Hugo and WordPress Blogs ” as a toot Naty S @eclecticpassions@fosstodon.org New # blogpost ➡️ https://www. burgeonlab.com/blog/hugo-and-w ordpress-open-graph-meta-tags/ 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).…
More and more time I need some little thing for templating: The date fild of a form with the right input type for the page A link with all the get parameters of the current page (form, paginator, etc…) and one added The Code 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
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 Robb Knight @robb@social.lol When I open my RSS reader and it has over 200 unread items, I know one of you has messed up your rss feeds 📌 https:// rknight.me/notes/202501190902/ 9:04 AM · Jan 19, 2025 Andrea Grandi 🦕 @andreagrandi@mastodon.social @ robb I…
Once upon a time Internet was different. No social media, no search engine, no fiber… So how people find new site? Because the internet users share link into the blogs. And one of the best way to share other blog without filling a webpage with links was the WebRing. WebRing? For Wikipedia a Webring is A webring (or web ring) is a collection of websites linked together in a circular…
After Django With Barcode and Qrcode and Django Return Pdf With Reportlab I need something new in my Django server. I need a barcode generator for labeling stuffs. The problem 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’s paper and cut it…
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. Why do it? One of the best arguments for having a personal ActivityPub site/server is you having a…
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. The code I wrote a ClassView for this case, this class. 1 class CsvCarsDownload (View): def get (self, request, * args, ** kwargs): response = HttpResponse(content_type = 'text/csv' ) response[ 'Content-Disposition' ] =…
Following the post from Ruben I start imitating this idea and expand on it. “Imitation is the sincerest form of flattery that mediocrity can pay to greatness.” Oscar Wilde The basic idea come from a post by Brandon’s Journal where Brandon response to an article and use the Re: prefix, like a email threads in the title of the post… And I add a microformat following the…
More and more blog I read and more and more I find that a lot of the dev blog and personal blog on the web has a lot of common pages but not the old About or Contacts so I make this list of interesting pages types. Blogroll One of the best page I find on a blog. This is a page where the blogger show a link of site/blog (a html page or a Opml file) of interesting stuff.
There are more and more post about the Indieweb and what you can find in a indiweb site/blog 1 but I didn’t find an easy tutorial for starting with IndiWeb. But first: What is the IndieWeb? IndieWeb the definition I thing that, to explain IndieWeb we need two definition: one from a more “anthropological” point of view and one from a “tecnical/it” point of view…
I am first and most a Developer and a Coder and I think that coding and developing software (site, app, AI, etc…) need to be a share experience. So I think a dev must share knowledge in the web. Somebody help people on StackOverflow and someone (like me) blogs. In the last X years 1 I understand the important of blogging and why a dev or a coder need to write a blog/newsletter/magazine…
A lot of time ago I implement the Webmention in my site following a lot of blogpost. One of them was a bigger ispiration for my implementation 1 and I have some chat with the author of the post over Mastodon for the implementation of the syndications link in a static site 2 and how to implement it. Fundor333 @fundor333@mastodon.social @ chringel How do you fill the syndications' links? By hand?…