Community stream
Community
If in doubt, delete the uv.lock file
I've been getting the occasional confusing Python dependency error since switching over to Python 3.15 and the rule I'm having to remember is: If in doubt, delete the uv.lock file Most of my projects are libraries which don't include a uv.lock file,…
When imlementing non-private methods for a pub(crate)/pub(super) struct should they also be pub(crate)/pub(super) or just pub?
if I have some struct pub(crate) struct Foo { ... } I can write impl Foo { pub(crate) fn bar(&self) { ... } } But I could also safe a few letters and write impl Foo { pub fn bar(&self) { ... } } and it'd be roughly equivalent as the ""public""…
Quoting Kyle Kingsbury
More broadly, the use of LLMs erodes trust in documentation, in software, and in the organizations which produce them. Perhaps engineers will begin to treat any new software project with suspicion—the signals we used to rely on as markers of a…
Establish Rust on OpenVMS
I think that OS should have this compiler available on the X86-64 platform. There are 4: VAX, Alpha, Itanium, X86_64. VSI provides an X86_64 Community license for non-commercial tinkering, and I have a spare Intel I7 MacBook available. OVMS runs as…
Export application with custom icon in Rustroid
I recently created a simple application to test Rustroid and I really loved the results, however I was trying to change the application icon, and so far I haven't found a way to do it. I know there's an image called rustroid.png in the assets…
From Google Drive to Syncthing over Tailscale
I used Dropbox for decades, then switched to Google Drive. Both worked for most of my files. One file never fit, though: my KeePass password database. It’s the file I need on every device and the file I want to keep private the most. After one…
Hugo van Kemenade: Lots of Python releases for Cybersecurity Awareness Month
This Cybersecurity Awareness Month, I made seven Python releases, when two were originally planned for October. Altogether, we made 16 Python releases, when five were originally planned. Of the extra releases, only 3.15.0rc3 was not a security…
LernerPython blog, from Reuven Lerner: Agentic coding means we’ll need some new abstractions
I’ve been teaching programming (mostly Python) for more than 30 years. But in about a year of coding with AI, I haven’t defined a single data structure or database schema — and I’m accomplishing more, in less time, with fewer bugs, than I ever…
LernerPython blog, from Reuven Lerner: Pandas multi-index: Working with 3D data using `.loc` and `.xs`
My students used to ask if Python Pandas supports 3D data structures. Answer: No. Series are 1D and data frames are 2D. But… a multi-index effectively gives you more dimensions. You can then navigate the indexes with .loc and .xs. The post Pandas…
The Python Coding Stack: Notes from the Near Future • The Permanently Curious Stack
Things are changing around us. Quickly. Some fields are ahead of others, but all are moving in the same direction. A year and a half ago, many programmers were intrigued by how AI could help them but most were confident they’d still be the ones…
.plan-26-44: Commons People
Keynoted the OpenUK Space Tech Radar launch with Tessera shortlisted for an OpenUK award, building a UK label map for Tessera from open government data, Tangled upgrades towards a data commons, new Part II weeknoters, Pembroke recaps, a ZoologyCon…
How We Took Over ChatGPT Accounts
How We Took Over ChatGPT Accounts Parameter Labs describe an exploit they found against ChatGPT's implementation of the artifacts pattern (OpenAI used to call this "Canvas" but it looks like the latest revision is called HTML previews), where…
datasette-llm 0.1a9
Release: datasette-llm 0.1a9 I have some big upgrades to Datasette Agent in the pipeline, but in the meantime here's a tiny user experience improvement to the underlying datasette-llm plugin. It now picks up the default model used by LLM, which…
The Python Coding Stack: Thoroughly Checked
Subscribe now stephengruppetta.com
Jaime Buelta: Software is a discovery process
The development of software is a relatively new discipline, and one that is constantly changing. The last couple of years have been an earthquake with the arrival of AI, but even before that, the field changed beyond recognition from one decade to…
LernerPython blog, from Reuven Lerner: Pandas droplevel: Remove a level from a multi-index
To remove a level from a Python Pandas multi-index, use droplevel: – “level” kwarg takes an int or string – “axis” kwarg can be “index” or “columns” — or use 0 or 1, but I prefer the names Returned data frame has the same number of rows, but index…
Seth Michael Larson: Extracting Billy Hatcher “Joycarry Game” ROMs with Python
Billy Hatcher and the Giant Egg contains a feature called “Joycarry Games” similar to Animal Crossing’s NES game “Advance Play” feature. I wanted to extract the ROMs for these mini-games just like I did for Animal Crossing. Doing so wasn’t as…
1769 items available