Textual - Textual adds Sparklines, Selection list, Input validation, and tool tips (textual.textualize.io)
Textual (the TUI framework for Python) add sparklines, selection lists, input validation, and tool tips in its latest release
mightyspaceman,
bmbufalo,
valorin, SQL Injection and Parameterisation modules are now live on https://practicallaravelsecurity.com! 🥳 Plus 6 new challenges, taking you through the types of SQLi attacks.
Can you beat them all? 😈I'll send out an email with all the details tonight/tomorrow to subscribers. 🤓
#Laravel #PHP
dwarmstrong, Day 86 of 100DaysOfCode - Using Python's exif module to extract the datetime_original attribute from photo metadata, then use that string in the process of renaming photos courtesy of pathlib.
I'm liking the Path methods to break a filepath into its constituent parts!
#100DaysOfCode #Python
Kovah, Current status: screw it, I buy a cabin in the forest, scrap my laptop and start building wooden furniture. 😒
#exhausted from #programming
gimulnautti, In my opininion here is the real power of current-level #LLM’s: Declarative #programming via close-to-natural language type prompts.
It’s not just productivity, so many more people can get into programming now! No need to understand loops, branches, conditions! It’s all doable by natural language.
You only need to dabble a bit in states and data storage structures. Just wonderful!
jbzfn, 🐍 Why and how to hide the Python stack trace
➥ Bite Code!"Once you ship your software, most of your end users will be better served by replacing the stack trace with some actionable error message in case of a crash.
This means you need to think of the user experience you want for when things go completely wrong"
#Python #StackTrace #Debugging
https://www.bitecode.dev/p/why-and-how-to-hide-the-python-stack
NikaShilobod, I made a small #python script that identifies genus/species/common name on a folder of images of #plants and #wildflowers and spits out a table of possible IDs with confidence intervals and file path. Each image will list several results, but it is very good. Some folks may find it useful/fun:
thisismissem, Freshly found 8+ year old #nodejs bug: https://github.com/nodejs/node/issues/48333
LET'S GOOOOO!
tl;dr; don't trust metrics from a server using node.js's cluster module for forking & sharing a listening port.
bernasconi, 📢 .NET Developer Roadmap
I launched my C# & .NET Bootcamp on Zerotomastery.
I worked a whole year on both the course and the roadmap video released today (free).
Check out the course here: https://claudiobernasconi.ch/dotnet-course
Let me know what you think. 👇
AstraKernel, ☕ Java 21 ( unnamed classes to make the class declaration implicit )
openjdk.org/jeps/445
mightyspaceman, Old me would write >100 lines of code and call it a 'project'
It was meant to be a p2p messaging thing...and it was in node...
might try reviving it in a more suited language. Maybe that could be a thing to get started with #cpp
kushal, Our next #Stockholm #Python meetup will be on 7th, from 5:30pm in the #SUNET office. We will sit down and learn how to build #CPython itself. Hoping to get more people excited about contributing to the language itself.
sekenre, #DjangoConEurope My first sprint is over and it was amazing!
I wasn't sure what I could do and when @judy2k said "It doesn't have to be Django specific" I thought "why not put cbor2 up on the board?"
Thanks to all the folks who came up and asked questions, and especially to the 3 people who got deep into the weeds with me debugging IEEE float16 decoding and timezone encoding!
preslavrachev, For the next time a junior developer asks "But why do we have to validate the result of the API call? Isn't it double work?"
dwarmstrong, Day 85 of 100DaysOfCode - I'm creating a program to rename photo(s) using the datetime_original tag from Exif metadata.
Today I explored using Python's pathlib module to generate the list of photos to rename. I've got it working to handle a single photo, recursively search for photos in a directory, and search for photos that match a wildcard pattern.
Next up, figure out how to extract Exif data from a photo.
#100DaysOfCode #Python
bernasconi, 📢 .NET Developer Roadmap
It contains a roadmap for learning C# and .NET development.
It's broken down into the topics required to become a .NET developer.
Watch the video and download the roadmap for FREE. 👇
itnewsbot, Stanford Golf Phenom Rose Zhang Turns Pro, Vows To 'Never Code Again' - theodp writes: Golf reports that amateur golf legend Rose Zhang will compete for t... - https://developers.slashdot.org/story/23/06/01/2220213/stanford-golf-phenom-rose-zhang-turns-pro-vows-to-never-code-again?utm_source=rss1.0mainlinkanon&utm_medium=feed #programming
kushal, (edited ) The total trip to @pycon was great, but the good food there brought back the 4Kgs I lost in the last few month :( #Python #Community
ngaylinn, Frustrations with C++ make me want to learn Rust. That means, now I have two problems.
walkerb, First of the stretch goals for Yellow River Kingdom done.
History Window. Played with PyPlot, which seems to work quite well.
Side note that derailed me for a few minutes - I had to manually install the Pillow TK integration libraries, even though they showed up in the intellisense. For anyone else who runs into graphs throwing an ImageTk not available this is what I did:
sudo apt-get install python3-pil.imagetk
Nice graph for not a lot of code...
maralorn, German I agree very much with this article.
https://typeclasses.substack.com/p/programming-requires-breadth-of-knowledge
J12t, OH this morning on the Fediverse Developer Network call:
"How much of the internet should I cache?"
Indeed. #programming
Textual (the TUI framework for Python) add sparklines, selection lists, input validation, and tool tips in its latest release
itnewsbot, What Makes Wedge Coils Better Than Round For PCB Motors? - PCB motors are useful things. With coils printed right on the board, you don’t nee... - https://hackaday.com/2023/06/02/what-makes-wedge-coils-better-than-round-for-pcb-motors/ #enginehacks #motordesign #pcbmotor #python #motor