From webology.dev
1 2
Friends, I encourage you to publish more, indirectly meaning you should write more and then share it. It’d be best to publish your work in some evergreen space where you control the domain and URL. Then publish on masto-sky-formerly-known-as-linked-don and any place you share and comment on. You...
on Nov 2
From webology.dev
🐍 UV Updates and PEP 723: Simplifying Python Packaging and Scripting
1 1
The uv: Unified Python packaging update brings fresh air to the Python community, with several improvements streamlining the development process. One exciting addition is an early preview of PEP 723, also known as Single-file scripts. The Single-file scripts feature particularly caught my...
on Sep 5
From webology.dev
🔥 The best "Animated This is Fine ZOOM Background" using UV and YT-DLP
0 1
We could all use an “Animated This is Fine ZOOM Background” video in times like these. It’s not obvious how to download a video from YouTube. I tend to shy away from this outside of this background video explicitly created to be downloaded, so I came up with this one-liner using UV and yt-dlp,...
on Nov 9
From webology.dev
📅 Office Hours this Friday and probably next Friday, but lets just take it one day at a time
0 0
I wasn’t planning on hosting office hours this week, but given the events of the week, it feels like a damn good way to end the week. This Friday, November 8th, 2024 from 2:30 pm to 4:30(ish) pm, I am hosting office hours. The rest of November’s schedule is uncertain, but we’ll figure it out...
on Nov 7
From webology.dev
🤷 UV does everything or enough that I'm not sure what else it needs to do
0 0
UV feels like one of those old infomercials where it solves everything, which is where we have landed in the Python world. I have had several discussions with friends about UV, and even when we talk about it during my weekly(ish) office hours, the list has grown to an ever-growing number of...
on Nov 4
From webology.dev
📝 Even "bad" code is admirable
0 0
Some of my favorite projects are what we would consider really “bad” code, but their apps either work or sort of work. There are no feature branches—only a main branch. They don’t open pull requests or spend time on the dozens or hundreds of open pull requests. The commit message stream is...
on Oct 25
From webology.dev
TIL Justfiles can also be Just Scripts
0 0
TIL that Justfiles can turn into Just Scripts by adding #!/usr/bin/env just --justfile to the top of the file and running chmod +x on the file. From the docs: By adding a shebang line to the top of a justfile and making it executable, just can be used as an interpreter for scripts:...
on Oct 23
From webology.dev
0 0
My new Python application files-to-claude-xml is now on PyPI, which means they are packaged and pip installable. My preferred way of running files-to-claude-xml is via UV’s tool run, which will install it if it still needs to be installed and then execute it. $ uv tool run files-to-claude-xml...
on Oct 18
From webology.dev
0 0
This Friday, I am hosting office hours, and here is our schedule for October. Friday, October 11th, 2024 2:30 pm to 4:30 pm Friday, October 18th, 2024 - No office hours Friday, October 25th, 2024 2:30 pm to 4:30 pm High-level details ℹ️ Anyone can join office hours. Many join because they work...
on Oct 18
From webology.dev
🎮 The Legend of Zelda: Echoes of Wisdom review 👍
0 0
My oldest kiddo and I finished The Legend of Zelda: Echoes of Wisdom tonight. The 2D Zelda games are some of my favorite games of all time. I was worried about the game’s overall look. It looked too much like Link’s Awakening, which I wasn’t a fan of compared to the GameBoy version. I’m happy to...
on Oct 17
From webology.dev
UV with GitHub Actions to run an RSS to README project
0 0
For my personal GitHub profile, I list my activities, affiliations, and the latest updates from some of my projects. Historically, I have used JasonEtco/rss-to-readme GitHub Action to fetch a few RSS feeds or two and to update my README a few times a day. Overall, I’m happy with this setup. I...
on Oct 5
From webology.dev
0 1
Friends, I’m launching a half-finished website idea that I have been playing around with for a while. djangotv.com is focused on promoting and searching Django videos to make discovery easier. I wanted to launch DjangoTV before I left DjangoCon US 2024, so I’m technically announcing it from the...
on Sep 27
From webology.dev
🧳 DjangoCon US, Black Python Devs Leadership Summit, and Django Girls Durham
0 0
I’m heading to Durham, NC, for seven days of DjangoCon US this Friday. This is my 10th year volunteering and the 9th year that DEFNA, the non-profit I co-founded, has run a DjangoCon US event. Here is an overview of the week. Black Python Devs Leadership Summit (Saturday) I’m attending and...
on Sep 20
From webology.dev
🤠 UV Roundup: Five good articles and a pre-commit tip
0 0
I have written quite a bit about UV on my micro blog, and I am happy to see more and more people adopt it. I have stumbled on so many good articles recently that I wanted to share them because every article points out something new or different about why UV works well for them. If you are new to...
on Sep 20
From webology.dev
0 0
This Friday, I am hosting Office Hours before I travel to DjangoCon US (organizer) and the Black Python Devs Leadership Summit (speaker) in Durham, NC. This Friday will be my last session before a two-week break, but I will resume Office Hours again on October 4th. Friday, September 13th, 2024,...
on Sep 12
From webology.dev
🛌 On travel tips BYOP aka bring your own pillow
0 0
🎒 While some of my friends and colleagues can pack everything they need in a small backpack for a week’s travel, I am not that person. I turned into the person who brings their pillow when they travel, and it changed my stay and quality of sleep by 1000%. There are many variables you can’t...
on Sep 11
From webology.dev
🚜 On Evolving Django's `auth.User` model
0 0
I need to re-read/re-listen to Carlton’s Evolving Django’s auth.User Stack Report before I have a firm opinion, but I saw his Mastodon post and I thought it was worth sharing some initial thoughts. On my first read, I fell into the camp that wants django-unique-user-email and full name to be...
on Sep 10
From webology.dev
🚫 Stop scheduling security updates and deprecating major features over holidays
0 1
I know people outside the US 🙄 at this, but please stop releasing major security updates and backward incompatible changes over major US, international, and religious holidays. Given that major security updates are embargoed and scheduled weeks and months in advance, it’s essential to coordinate...
on Sep 3
From webology.dev
0 1
Follow <a href="https://micro.blog/webology">@webology on Micro.blog</a>.
on Aug 30
From webology.dev
🌡️ How a $20 Camera Outsmarted My Fancy Thermometer
0 0
My ThermoWorks Signals thermometer’s battery was dead, so I connected it to my Anker 737 Power Bank (24,000mAh for the curious) to get me by. Previously, I mounted a Wyze camera on a tripod and pointed it toward my thermometer because its Bluetooth connection wasn’t strong enough. WiFi worked...
on Aug 26
From webology.dev
🚜 Using Claude 3.5 Sonnet to refactor one of Brian Okken's Python projects
0 0
Brian Okken posted and published his Top pytest Plugins script and then a follow-up post, Finding the top pytest plugins, which was pretty cool. I have written a few throw-away scripts, which William Vincent wrote about and updated a few times in the Top 10 Django Third-Party Packages (2024) and...
on Aug 25
From webology.dev
0 0
I wanted to know how hard it would be to turn one of my django-startproject projects into a uv run friendly project. As it turns out, it worked, and the steps were more than reasonable. Before the PEP 723’ing… I started with a fairly vanilla manage.py that Django will give you after running...
on Aug 23
From webology.dev
0 0
This UV shebang trick that Simon Willison linked up is a nice pattern, and I plan to rebuild some of my one-off scripts in my dotfiles using it. Here is a demo that will print “hello python” using the Python Branding colors using the Rich library while letting UV install and manage rich for...
on Aug 23
From webology.dev
0 0
Here are my thoughts on John Gruber’s recent article and notes on the Google Monopoly. I mean, let’s say Google was forced to spin Chrome off. How would Chrome Inc. make money? Clearly, they’d make money through TAC fee payments from Google search. >Also, if they split off Chrome they’d almost...
on Aug 15
From webology.dev
🎻 Tiny Desk Concert Wednesday with Sierra Ferrell
0 1
🎻 Happy Tiny Desk Concert Wednesday, everyone! If you are new to Sierra Ferrell, you are in a treat. If you are already a fan, you’ll understand what I mean and still be in for a treat. I dislike Google but make exceptions for NPR, Tiny Desk Concert, and Sierra Ferrell. www.youtube.com/watch
on Aug 14
From webology.dev
💼 Office Hours this Friday, August 9th
0 0
I am hosting Office Hours this Friday, August 9th, 2024, from 2:30 pm to 4:30 pm Central Time. 💼 I plan to upgrade some projects to work with Django 5.1 and possibly Python 3.13 as time permits. I have a few Django Packages tasks to finish too. ℹ️ Anyone can join office hours. ℹ️ Our office...
on Aug 9
From webology.dev
⬆️ Which Django and Python versions should I be using today?
0 0
Django 5.1 was released, and I was reminded of the article I wrote earlier this year about Choosing the Right Python and Django Versions for Your Projects. While I encouraged you to wait until the second, third, or even fourth patch release of Django and Python before upgrading, I received a bit...
on Aug 8
From webology.dev
0 0
Eric Holscher posted this post today, and I wanted to share my speculation. Calling it now: Google stops paying Apple & Mozilla for search Apple ships search (probably buys DDG or similar) Apple pays Mozilla to be default search engine Google stops paying Apple & Mozilla for search This...
on Aug 7
From webology.dev
🧐 Of course, Google is a monopoly
0 0
“After having carefully considered and weighed the witness testimony and evidence, the court reaches the following conclusion: Google is a monopolist, and it has acted as one to maintain its monopoly,” the ruling states. www.theguardian.com/technolog… Of course, Google is a monopoly. They have...
on Aug 6
From webology.dev
0 0
📺 Kingdom of the Planet of the Apes - It’s a good night to just veg out. trakt.tv/movies/ki…
on Aug 4
From webology.dev
0 0
Earlier this year, I wrote about why I dumped Pinboard after a decade of usage. Why I gave up on Pinboard I could write thousands of words about how frustrating being a paid user was, but I’ll sum it up as running Pinboard wasn’t a priority for Pinboard’s founder, and it painfully showed. 👎 ...
on Aug 3
From webology.dev
🦙 Ollama Tool Calling Loose Notes
0 1
I spent a few hours this week working with the Ollama project and trying to get tool calling to work with the LangChain library. Tool calling is a way to expose Python functions to a language model that allows them to be called. This will enable models to perform more complex actions and even...
on Jul 27
From webology.dev
📅 Office Hours this Friday, July 26th
0 0
I am hosting Office Hours this Friday, July 26th, 2024, from 2:30 pm to 4:30 pm Central Time. I’ll probably be on a bit early depending on much of my client projects I get wrapped up this week. ℹ️ Anyone can join office hours. ℹ️ Our office hours are a collaborative space where we can discuss...
on Jul 26
From webology.dev
0 0
For a few weeks, I told friends I was excited to see if the new Llama 3.1 release was as good as it was being hyped. Yesterday, Llama 3.1 was released, and I was impressed that the Ollama project published a release to Homebrew and had the models ready to use. ➜ brew install ollama ➜ ollama...
on Jul 25
From webology.dev
🔄 What to do when your iPad won't turn off or is frozen
0 0
As a parent, the few times an iPad freezes are rare but always seem to happen at the worst possible time and place. Thankfully, Apple has a hard-to-find page called If your iPad won’t turn on or is frozen that is surprisingly hard to find in an emergency. This page also breaks down how to...
on Jul 22
From webology.dev
📓 Weeknotes for Week 28: July 8 to 14
0 0
I’m running a week behind on this. This week was our first week back home without traveling in a month, and it felt good to be home. I had time to catch up on mowing the yard, and I treated the yard with an eco-safe mosquito repellent. Despite the hot weather, Sunday felt nice outside to be...
on Jul 20
From webology.dev
📅 I am hosting Office Hours this Friday, July 19th
0 0
I am hosting Office Hours this Friday, July 19th, 2024, from 2:00 pm to 4:15 pm Central Time. ➡️ I have to leave earlier than normal to pick up my kids, but I plan to be around until 4:15 pm to 4:30 pm Central Time or as time permits. ℹ️ Anyone can join office hours. ℹ️ Our office hours are a...
on Jul 18
From webology.dev
🗳️ My thoughts on the PSF Election results
0 0
A few weeks ago, I wrote about this year’s PSF Election, three proposed bylaws changes, and how I intended to vote. I’m happy that the membership overwhelmingly approved all three proposed bylaw changes. Here is this year’s results. Merging Contributing and Managing member classes This change is...
on Jul 17
From webology.dev
🐘 Django Migration Operations aka how to rename Models
0 0
Renaming a table in Django seems more complex than it is. Last week, a client asked me how much pain it might be to rename a Django model from Party to Customer. We already used the model’s verbose_name, so it has been referencing the new name for months. Renaming the model should be as easy as...
on Jul 15
From webology.dev
🔥 Why I deleted Firefox from my machines this weekend
0 1
I no longer trust or believe in Mozilla, so I deleted Firefox from my machines this weekend. ➜ brew remove firefox ==> Uninstalling Cask firefox ==> Backing App 'Firefox.app' up to '/opt/homebrew/Caskroom/firefox/112.0.1/Firefox.app' ==> Removing App '/Applications/Firefox.app' ==> Unlinking...
on Jul 14
From webology.dev
🦆 DuckDB may be the tool you didn't know you were missing
0 0
🤔 I haven’t fully figured out DuckDB yet, but it’s worth trying out if you are a Python dev who likes to work on data projects or gets frequently tasked with data import projects. DuckDB is a fast database engine that lets you read CSV, Parquet, and JSON files and query them using SQL. Instead...
on Jul 13
From webology.dev
🚜 macOS Bartender app to Ice app
0 0
I upgraded my Macs to macOS Sonoma a few weeks ago. While everything has been uneventful, the Bartender app pinged me one too many times about upgrading to Bartender 5, which has several Sonoma-only features. Last year, I looked forward to upgrading Bartender until their recent botched...
on Jul 12
From webology.dev
🎮 8BitDo Golden/Silver Limited Edition controllers
0 0
My favorite third-party video game hardware company, 8BitDo, announced its 11th-anniversary limited edition controllers, SN30 Pro - Golden/Silver Limited Edition. I have over half a dozen 8BitDo controllers (and even a keyboard), my favorites, and what we pick up when my family wants to game on...
on Jul 11
From webology.dev
0 0
Office Hours returns this Friday, July 12th, 2024, from 2:30 pm to 4:30 pm Central Time. ℹ️ Anyone can join office hours. Many join because they work remotely, miss seeing faces, and miss the random conversations when a small group hangs out. ℹ️ Our office hours are a collaborative space where...
on Jul 11
From webology.dev
🔓 Sharing is Caring: How a Simple Sudo Question Led to Better Solutions
0 0
One of the fun discoveries of blogging is finding your article in search results while trying to solve a problem. A few weeks ago, I upgraded my Macs to macOS to Sonoma, but I hadn’t yet re-enabled passwordless authentication via sudo. If this were a server in the cloud, I would approach it...
on Jul 9
From webology.dev
📓 Weeknotes for Week 27: July 1 to 7
0 0
The last week was a blur between the holiday, travel, and cramming a lot of work. My notes this week are more glossed over than most Family We drove to Illinois (near Chicago) to see family this week. We had family from both coasts who we don’t see very often, and it was the first time much of...
on Jul 8
From webology.dev
🧰 More fun with Django Extensions using `shell_plus` and `graph_models`
0 0
Yesterday, I wrote about Django Extensions show_urls management command because it’s useful. I have Mastodon posted/tooted about it [previously](https://mastodon.social/@webology/110271223054909764, but I didn’t expect it to possibly lead to it being added to Django, and yet here we are. My...
on Jul 7
From webology.dev
Django Extensions is useful even if you only use show_urls
0 0
Yes, Django Extensions package is worth installing, especially for its show_urls command, which can be very useful for debugging and understanding your project’s URL configurations. Here’s a short example of how to use it because I sometimes want to include a link to the Django Admin in a menu...
on Jul 6
From webology.dev
📅 No Office Hours on July 5th, but...
0 0
No Office Hours this week (July 5th), but we will return next Friday, July 12th, 2024, 2:30 pm to 4:30 pm and for what I hope is the rest of the summer. See my Office Hours Summer Schedule for details. If you are a conference or event organizer or want to be one, this month’s Conference Chats...
on Jul 5
From webology.dev
0 0
To everyone in the United States, Happy Independence Day and Happy AIndependence Day to everyone else. In the spirit of staying ahead of the game and ensuring our online security, I came across this article by Cloudflare, Declare your AIndependence: block AI bots, scrapers and crawlers with a...
on Jul 4