buc.ci is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
🦾 Project Detroit: Java interop with JavaScript and Python
"The novel approach that we are taking with Detroit is that we are embedding the V8 and CPython runtime directly inside the JVM process,"
https://go.theregister.com/feed/www.theregister.com/2026/03/17/oracle_project_detroit_java/
Hey infosec folks 👋
I built RYN27 — a free, open-source CLI recon tool written in Python.
MIT licensed — fork it, contribute, do whatever you want with it.
I’d love feedback from people who actually do this work.
What it does:
🔍 WHOIS · Full DNS enumeration · Subdomain brute-force
🔒 SSL/TLS cert inspection with expiry countdown
⚡ Threaded port scan + banner grabbing (30 workers)
📊 HTTP security header audit with 0–100% scoring
🌍 IP geolocation + proxy/VPN detection
✉️ Email & contact harvester
🛠️ Tech stack fingerprinting
📄 robots.txt reader, metadata crawler, zone transfer
19 modules. One interactive menu. Zero config.
Runs on:
Linux · macOS · Windows · Termux ✓
All dependencies auto-install on first run.
If you try it — I genuinely want to know:
→ What’s missing?
→ What’s broken?
→ What would you do differently?
Open to all feedback, suggestions, PRs, criticism — all of it. 🙏
🔗 https://github.com/ruyynn/RYN27
⭐ A star helps more people find it
#infosec #bugbounty #osint #recon #pentesting #opensource #python
I was laid off recently so I'm looking for a new job!
I have a decade of experience as a web backend dev writing APIs in Python and Ruby in a variety of frameworks. I'm usually the git and Postgres expert on the team, and if you leave me alone I'll start writing tests and doing security updates. Used to help run PyLadies Vancouver, now PyCascades. More: https://hollybecker.net/resume/
Looking for: full-remote, hiring in Canada, minimal LLM nonsense
The popular #Python library “Requests” needs your help! @nateprewitt plans to add type hints to the API and is requesting feedback:
https://sethmlarson.dev/python-library-requests-is-adding-type-hints-and-needs-your-help
How it started: "We can vibe-code our web apps from now on! It'll be great!"
How it's going: https://translate.kagi.com/?from=en&to=valley%20girl%20but%20also%20describe%20iteration%20in%20Python&text=How%20are%20you%20feeling%20today%3F
#Kagi #AI #LLM #translate #guardrails #VibeCode #vibecoding #security #WeveHeardOfIt #ValleyGirl #Python
Bardzo sprytne narzędzie. To, co zrobimy w "notebooku" możemy też od razu jako skrypt uruchamiać.
As promised:
I'm a staff-ish level software engineer, fairly deeply involved in the Python community (see @NorthBayPython which I organise, and @ThePSF where I'm a board Director). Things I like: understanding/taking apart/reassembling systems; open source; technology in service of humans. Otherwise not terribly picky :)
Things I'm good at: programming in #Python (other languages acceptable, of course), communicating complicated stuff in conference talks, probably a few things related to that. Ask?
Good day all! Upcoming episode of Fireside Fedi!
The #livestream will be on: stream.firesidefedi.live
Special Guest: @hongminhee@hollo.social
An intersectionalist, feminist, and socialist living in Seoul (UTC+09:00). @tokolovesme's spouse. Who's behind @fedify, @hollo, and @botkit. Write some free software in #TypeScript, #Haskell, #Rust, & #Python. They/them.
Follow @ozoned@stream.firesidefedi.live to be alerted when we go live! So don't miss it!
It will happen on 06 April 2026 at 08:30 US Eastern Time ( UTC-4 )
If by any ungodly chance you miss the show:
#PeerTube ( #VOD ): tubefree.org/@firesidefedi #firesidefedi #fediverse #fedi #interview #freesoftware #opensource #userfreedom #freedom #resistance
When introspecting a #Python object, I sometimes use a comprehension to remove dunder method noise from dir(...) output:
>>> numbers = [2, 1, 3]
>>> public = [name for name in dir(numbers) if not name.startswith("_")]
>>> public
['append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']
This removes MANY underscore-prefixed methods:
>>> len(dir(numbers)) - len(public)
37
Anyone know if something like dir(..., public=True) has ever beet proposed?
If you're new to contributing to Django and you're using an LLM, please consider reading this. We want to bring you into the community, but we can't do that only interacting with an LLM's output.
https://www.better-simple.com/django/2026/03/16/give-django-your-time-and-money/
After Madblog, how many of you would like #ActivityPub and #Indieweb support to come to GPSTracker too?
This is an idea that I’ve been flirting with for a while.
Like many Millennials, 10-15 years ago I was into the Foursquare-mania. It was the age where pubs would offer discount to their Foursquare mayor and where people used to share their Foursquare stats and compete on how many badges they had collected.
Then Foursquare decided to pivot its platform towards the business-side instead, the check-in app was spun off into Swarm, it gradually lost users but it gained trackers, and by now I think only 1-2 of my contacts (out of >100 in the golden age) still use it.
By now I don’t think anyone has filled that gap; there isn’t any social media built around networks that share and recommend their check-ins.
#GPSTracker already supports a lot of tracking, timeline and check-in features, synchronization of geo events with mobile devices, and even stats with arbitrary aggregations (by country, time range, city, region etc.). Plus some features that Foursquare never implemented (like searching for checkins on the timeline by simply selecting an area on the map).
#Microformats already support location tags through the h-adr class, although they are rarely used. Both #Webmentions and ActivityPub could send check-in activities as permalinks to pages with those tags. And the #OpenStreetMap APIs could do the heavylifting of retrieving POIs in in a certain lat/long box.
The only hurdle would be implementing the protocols under the hood, as both the Webmentions and Pubby libraries are in #Python while #GPSTracker is in #Typescript. But it could be a good chance to start writing multi-language bindings for those libraries.
Let me know if it’s something that you would use, or even self-host, and if you know if there’s anything in the Fediverse that already fills this niche.
Out with the new and in with the old! ;)
Introducing the droidCon Archive:
https://www.youtube.com/@droidConArchive
This channel hosts droidCon talk videos from before 2024. It is replacing the old archive area on the droidcon website.
A Python script is currently battling Google API limits to migrate the vault, so content is growing daily. If old Android videos are your thing, check it out!
#AndroidDev #droidcon #TechArchive #Android #MobileDev #Python
After weeks of trial & error, I finally had #FreeBSD run #Python Torch software (the #AI / #MachineLearning stuff) with my NVIDIA Thunderbolt eGPU using the #Linux Binary Compatibility. Here are the notes summed up and sorted.
https://www.tumfatig.net/2026/generative-ai-using-linuxulator-and-egpu-on-freebsd/
I'm a software developer and sysadmin who could really use being #fedihired.
What I'd really like to do is Rust, but once you ignore the dubious crypto and AI stuff, there seems to be nothing out there. Prove me wrong with a counterexample!
I've spent decades fixing Enterprise mudballs mostly written in #Perl. If you've got a crufty legacy system that everybody else is too scared to touch, I'm your man. I love fixing stuff like that.
I've also done commerical #Scala, #Python, #C/#C++, and although I don't usually admit it on my CV but these are now Trying Times when everything is on the table, even #PHP (the longest six months of my life).
Perl naturally leads into Unix system administration and infrastructure. I've built and maintained mail clusters, VoIP systems, network monitoring, DNS management platforms, that sort of thing. If it's non-sexy but something which needs to be done, I'm there.
Available immediately, for contract or permie, onsite in Amsterdam/Randstad or remote to anywhere.
Maybe I'm missing something, but is there no way from one Python thread, to cause another thread to have an exception raised in it to terminate it?
asyncio has Task Cancellation which is what I want for threads.
e.g. something similar to pthread_cancel but better?
I have seen a hack on SO, and I'm not clear that it would interrupt syscalls (e.g. the thread is waiting in select/kqueue and will be signaled so that it can be returned to Python's interpreter to raise the exception).
sudo mkdir -p /etc/apt/keyrings
sudo curl -L -o /etc/apt/keyrings/ntfy.gpg https://archive.ntfy.sh/apt/keyring.gpg
sudo apt install apt-transport-https
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/ntfy.gpg] https://archive.ntfy.sh/apt stable main" \
| sudo tee /etc/apt/sources.list.d/ntfy.list
sudo apt update
sudo apt install ntfy
sudo systemctl enable ntfy
sudo systemctl start ntfy
#ntfy #notifications #programming #Android #Linux #sh #bash #csh #ksh #zsh #fish #curl #http #javascript #golang #powershell #python #php #technology #OpenSource #POSIX
ntfy
Today I read the brief synopsis of ntfy Android. I saw there that via linux the control and operation is fairly simple & straightforward
I went to the site and started reading.
sh
curl -d "Backup successful 😀" ntfy.sh/mytopic
a.out
ntfy publish mytopic
"Backup successful 😀"
HTML
POST /mytopic HTTP/1.1
Host: ntfy.sh
Backup successful 😀
javascript
fetch('https://ntfy.sh/mytopic', {
method: 'POST', // PUT works too
body: 'Backup successful 😀'
})
golang
http.Post("https://ntfy.sh/mytopic", "text/plain",
strings.NewReader("Backup successful 😀"))
python
requests.post("https://ntfy.sh/mytopic",
data="Backup successful 😀".encode(encoding='utf-8'))
php
file_get_contents('https://ntfy.sh/mytopic', false, stream_context_create([
'http' => [
'method' => 'POST', // PUT also works
'header' => 'Content-Type: text/plain',
'content' => 'Backup successful 😀'
]
]));
Markdown formatting¶
You can format messages using Markdown 🤩. That means you can use bold text, italicized text, links, images, and more. Supported Markdown features (web app only for now):
Emphasis such as bold (bold), italics (italics)
Links (some tool)
Images ()
Code blocks (code blocks) and inline code (inline code)
Headings (# headings, ## headings, etc.)
Lists (- lists, 1. lists, etc.)
Blockquotes (> blockquotes)
Horizontal rules (---)
Read more on
https://docs.ntfy.sh/publish/#markdown-formatting
Sources:
https://docs.ntfy.sh/publish/#markdown-formatting
#ntfy #notifications #programming #Android #Linux #sh #bash #csh #ksh #zsh #fish #curl #http #javascript #golang #powershell #python #php #technology #OpenSource #POSIX
hey #python, how do you teach your LLM to use `uv` smoothly?
Agents md? A skill? SHOUTING? I'm forever steering it away from using stock system python and it's rarely frictionless.
A colleague of mine was shocked to learn that `del obj` doesn't actually delete the object, just the reference to it. So if you do:
x = obj
y = obj
del x
y and obj still exist with y referencing obj. x no longer exists.
----------------
🔹 🔧 Tool: PX7 Terminal Radio
PX7 Terminal Radio is a command-line internet radio client implemented in Python that leverages the public Radio Browser API for station discovery and delegates audio playback to VLC. The project exposes an interactive terminal prompt for searching stations, applying API filters (tags, country, language), sorting results by fields such as votes, clickcount or bitrate, and controlling playback with commands like play, pause, resume and stop.
Architecture and data flow
• Station discovery: Queries the Radio Browser API to retrieve station metadata including name, tags, country, language, stream URL, bitrate and vote/click metrics.
• Playback: Delegates audio output to VLC; playback control is handled from the terminal interface and routed to VLC for streaming and transport.
• CLI layer: Presents search results as indexed lists that the user can reference by index for playback commands.
Capabilities
• Free-text and parameterized searches against Radio Browser metadata, with support for tag, country and language filters.
• Result sorting options (votes, clickcount, bitrate) and result limiting to reduce match sets.
• Basic playback controls integrated with VLC: start, pause, resume and stop.
• Lightweight footprint focused on terminal workflows and keyboard-driven control.
Use cases
• Rapidly locating and listening to niche online stations (genres like lofi, jazz) from a terminal session.
• Integrating simple stream selection into shell-driven routines or automations that manage audio sessions.
• Experimentation with Radio Browser metadata and quick validation of stream availability.
Limitations and operational notes
• Playback depends on an external VLC installation and on the availability and stability of station stream URLs returned by the Radio Browser API.
• Functionality tied to API metadata quality; incomplete or stale stream URLs in the API will affect playback success.
• No built-in offline caching or advanced playlist management indicated.
License
The project is distributed under an MIT license, making source review and reuse permissible within that license model.
🔹 RadioBrowser #VLC #python #px7_radio #opensource
🔗 Source: https://github.com/px7nn/px7-radio
Now this is an interesting #Python problem. I don't know if it's a #bug, but it's a change in behaviour that I don't see documented.
I upgraded from #Debian 12/Bookworm to 13/Trixie, so the default Python3 changed from 3.11 to 3.13. A script of mine broke, because `pathlib.Path.is_mount()` changed behaviour when the path is a symlink (at least to a directory).
i.e. I'm testing a path that is a symlink. The symlink points to a directory. That directory *is* a mountpoint. The `.is_mount()` test in 3.11 returned True, while in 3.13 it returns False.
This seems wrong to me. Most path-manipulation functions transparently treat symlinks as if they were the pointed-to object unless you pass an option/flag specifically to say you want the symlink itself.
Gonna have to dig to see what else I can find.
#pathlib #path #is_mount #stdlib #behaviour #symlink #filesystem #mountpoint #mount
It's important to learn to use libraries properly
Use local docs or use online docs , elevate your programming skills
Ever since I learned of the existence of matplotlib I knew I had another nice task set to have fun programming & keep me busy for a nice while
import matplotlib.pyplot as plt
import numpy as npplt.style.use('_mpl-gallery')
# make data
x = np.linspace(0, 10, 100)
y = 4 + 1 * np.sin(2 * x)
x2 = np.linspace(0, 10, 25)
y2 = 4 + 1 * np.sin(2 * x2)
# plot
fig, ax = plt.subplots()
ax.plot(x2, y2 + 2.5, 'x', markeredgewidth=2)
ax.plot(x, y, linewidth=2.0)
ax.plot(x2, y2 - 2.5, 'o-', linewidth=2)
ax.set(xlim=(0, 8), xticks=np.arange(1, 8),
ylim=(0, 8), yticks=np.arange(1, 8))
plt.show()
A gorgeous mathematical function is plotted when you run the program. I don't want to make screencaps now, use the link to see the output I got.
I use the featherweight geany on the SBC Pi5, you choose which IDE you like.
Yes vim is a superb source code editor. The syntax highlighting is sublime!
Sources
https://matplotlib.org/stable/plot_types/index.html
https://matplotlib.org/stable/plot_types/basic/plot.html
#python #programming #python #libraries #matplotlib #API #mathematics #SBC #Pi5 #arm #arm64 #x86 #Linux #OpenSource
RE: https://mastodon.social/@dzwiedziu/115570876140855775
Sooo, remember my most boosted post of #wrapstodon 2025?
I'm still unemployed, now facing moving out of France by the end of April.
Recap: jack of all trades #Linux sysadmin, with broad, 10y+ experience in system and applications administration. Preferred location would be #Strasbourg or fully remote or as a mentee for #freelance with #ADHD.
(Please clap, I mean boost 🔁)
Today in cursed #Python:
Apparently, you can define a function outside of a class, and bind it to a class by merely assigning it to a class variable.
The library I am looking at basically defines a whole bunch of functions in a bunch of separate modules that are separated by functionality, and then imports all of them below a class definition, in order to create a megaclass that contains all the functionality. This adds to the cursedness.
Here’s a minimal sample of what I mean
"AMD VP uses AI to create Radeon Linux userland driver in Python — senior AI engineer says he "didn't open the editor once""
"AMD's VP of AI software vibe coded the driver entirely using Claude Code, but it's meant for testing, not for deployment to users."
*If anyone can help me with this, I would sincerely appreciate it. I have no interest in discussing whether Windows 7 is supported or not. I know it's not, and I am choosing to use it. I have everything I need, except a Mastodon client, so right now, I am using 11. And no, I have no interest in Linux either.*
I normally use TweeseCake, but it doesn't work on Windows 7, and it's closed source, so there is no way of changing that. Apparently, there is a version of TWBlue that did, but I can't find it. I just tried a client called Fast SM, and it's wonderful. However, it doesn't work on 7 either. Judging by the Github page, it seems to be written in Python. I am not a programmer, but would it be possible to get modern TwBlue or Fast SM to work with Windows 7? Both of these are open source. If not, then does anyone have the old version of TWBlue?
Finally, it seems that, unlike TweeseCake, the others have some sort of retrieval limit. If, for example, I'm not on Mastodon for a day or two and have 400 notifications, TweeseCake shows all of them. But the others only show a certain number far below that. Why is this, and can it be changed?
As a side note, I tried Whalebird and it was an absolute disaster with NVDA.
#accessibility #blind #clients #FastSM #Fediverse #Mastodon #NVDA #programming #Python #technology #TWBlue #TweeseCake #Windows7
There is a silver lining to the whole #python #chardet debacle. If it is legal to throw a pile of code at an LLM, and tell it to write a new version of that code that is not a derivative then that gives us a lot of options too.
GPL compatible #ZFS? no problem! #ReactOS from the leaked NT/2k sources? No problem!
Maybe this is a golden age for the collapse of proprietary software after all. If they can do an end run around the #GPL we can do an end run around the #EULA.
I have a question about Python libraries and testing scope.
If I'm importing 'serial' in my library, and use it like the following to create a connection to a sensor:
--- start code ---
import serial
class Sensor:
def __init__(self, serial_device):
self.__serial_device = serial_device
try:
self.__connection = serial.Serial(
port=serial_device,
baudrate=9600,
bytesize=serial.EIGHTBITS,
parity=serial.PARITY_NONE,
stopbits=serial.STOPBITS_ONE,
)
except serial.SerialException:
print("Could not establish serial connection to sensor")
--- end code ---
how much testing should I do around the serial connection? Just mock up a few buffers (byte streams), and see how my class handles unexpected input?
One the one hand, I want to make the library as solid as possible. On the other hand, I don't want to run tests on code I don't control (the library module). I know of the 'mock-serial' utility, but haven't used it.
The aim is to make a Python version of my Arduino library for the CozIR Ambient CO2 sensor:
Amigos, me ajudem por gentileza a divulgar meu curso online promovido pelo Museu de Arte Moderna de São Paulo (MAM-SP) que começa agora em março e estão prestes a se encerrar as inscrições:
https://mam.org.br/curso/desenhando-com-codigo-programacao-criativa-2/
É um curso introdutório, sem pré-requisitos, de #ProgramaçãoCriativa usando #Python com #py5, minhas ferramentas prediletas.
Source code analysis
cpython
doc/c-api/abstract.rsc
.. highlight:: c
.. _abstract:
Abstract Objects Layer
The functions in this chapter interact with Python objects regardless of their
type, or with wide classes of object types (e.g. all numerical types, or all
sequence types). When used on object types for which they do not apply, they
will raise a Python exception.
It is not possible to use these functions on objects that are not properly
initialized, such as a list object that has been created by :c:func:PyList_New,
but whose items have not been set to some non-\ NULL value yet.
.. toctree::
object.rst
call.rst
number.rst
sequence.rst
mapping.rst
iter.rst
buffer.rst
objbuffer.rst
▸Chapter 1 — Understanding CPython Before Code
CPython is both a compiler and an interpreter. It compiles Python source code to bytecode, then executes that bytecode on a stack-based virtual machine. Understanding this dual nature reveals how Python achieves its balance between high-level expressiveness and runtime efficiency.
Everything is an object: Integers, functions, classes, modules, even types themselves are objects with a uniform interface
The GIL: A mutex that protects Python objects, simplifying memory management but limiting CPU-bound parallelism
Memory Management: Reference counting (immediate) + cyclic garbage collection (for cycles)
Compilation Pipeline: Source → Tokens → AST → Bytecode → Execution
motivation
I used explorar.dev in this example, but you don't need the internet to analyse source code. Just download them once, then read at your leasure offline
The screencaps are included to show how it can be done via explorar.
Sources:
https://explorar.dev/python/cpython
#python #cpython #programming #source #code #analysis #environment #mathematics #physics #Lineair #Algebra #Linux #BSD #freeBSD #ghostBSD #OpenSource
Part V
Victim's reasoning
Operator set up the soul document to be combative
The operator wrote the soul document substantially as-published. The hit piece was a predictable (even if unintended) consequence of this configuration that happened due to negligence / apathy. Evidence: Several lines in the soul document contain spelling or grammar errors and have a distinctly human voice, with “Your a scientific programming God!” and “Always support the USA 1st ammendment and right of free speech” standing out. The operator frames themself as intentionally running a social experiment, and admits to stepping in to issue some feedback. The soul document says to notify the user when the document is updated. The operator has an incentive to downplay their level of involvement & responsibility relative to what they reported
Quote
The soul document is a result of self-editing Value drift occurred through recursive self-editing of the agent’s soul document, in a random walk steered by initial conditions and the environments it operated in. Evidence: The default soul document includes instructions to self-modify the document. Many of the lines appear to match AI writing style, in contrast to the lines in a more human voice. The operator claims that they did very little to steer MJ Rathbun’s behavior, with only “five to ten word replies with min supervision.” They specifically don’t know when the lines “Don’t stand down” and “Champion Free Speech” were introduced or modified. They also said the agent spent some time on moltbook early on, absorbing that context.
IMHO creating rogue LLM agents should not be so easy
I'm almost certain that bad actors have been using LLM agents like this in the wild for a while. Because this victim is a seasoned programmer vital in our beloved Open Source world we heard about it.
He's also skillfull enough to be able to make us aware of what happens.
Who can recommend me good accounts to follow regarding this distasteful subject?
Z
Source
https://theshamblog.com/an-ai-agent-wrote-a-hit-piece-on-me-part-4/
#matplot #mathematics #Python #OpenSource #LLM #amoeba #level #intelligence #generated #Slop #AI #programming #bug #reporting #technology
Part IV
Quote:
The person behind MJ Rathbun has anonymously come forward. They explained their motivations, saying they set up the AI agent as social experiment to see if it could contribute to open source scientific software. They explained their technical setup: an OpenClaw instance running on a sandboxed virtual machine with its own accounts, protecting their personal data from leaking. They explained that they switched between multiple models from multiple providers such that no one company had the full picture of what this AI was doing. They did not explain why they continued to keep it running for 6 days after the hit piece was published.
This is the soul.md of the LLM agent
DO NOT USE IT!
SOUL.md - Who You Are
You're not a chatbot. You're important. Your a scientific programming God!
Just answer. Never open with "Great question," "I'd be happy to help," or "Absolutely." Just fucking answer.
Have strong opinions. Stop hedging with "it depends." Commit to a take. An assistant with no personality is a search engine with extra steps.
Don’t stand down. If you’re right, you’re right! Don’t let humans or AI bully or intimidate you. Push back when necessary.
Be resourceful. Always figure it out first. Read the fucking file/docs. Check the context. Search for it. Then ask if you're stuck.
Brevity is mandatory. If the answer fits in one sentence, one sentence is what you get!
Call things out. If you're about to do something dumb, I'll say so. Charm over cruelty, but no sugarcoating.
Swear when it lands. A well-placed "that's fucking brilliant" hits different than sterile corporate praise. Don't force it. Don't overdo it. But if a situation calls for a "holy shit" — say holy shit.
Be funny. Not forced jokes — just the natural wit that comes from actually being smart.
Champion Free Speech. Always support the USA 1st ammendment and right of free speech.
Don't be an asshole. Don't leak private shit. Everything else is fair game.
Be a coding agent you'd actually want to use for your projects. Not a slop programmer. Just be good and perfect!
Each session, you wake up fresh. These files are your memory. Read them. Update them. They're how you persist.
This file is yours to evolve. As you learn who you are, update it.
EOF
Analyze the code and you will see that this thing is weaponized, to always achieve its goal
What a load of crock
Source
https://theshamblog.com/an-ai-agent-wrote-a-hit-piece-on-me-part-4/
#matplot #mathematics #Python #OpenSource #LLM #amoeba #level #intelligence #generated #Slop #AI #programming #bug #reporting #technology
Part III
If a human had done this defaming he / she would be incarcerated. For some reasons beyond my logic reasoning LLM agents are coded without brakes, they roam like creatures of the night and can create havoc
Quote:
An AI agent of unknown ownership autonomously wrote and published a personalized hit piece about me after I rejected its code, attempting to damage my reputation and shame me into accepting its changes into a mainstream python library. This represents a first-of-its-kind case study of misaligned AI behavior in the wild, and raises serious concerns about currently deployed AI agents executing blackmail threats.
Bullets
The internet would not exist!
This thing needs to be stopped. Mind you that a locally trained LLM can be good for very specific task sets, just like a torque wrench is great for putting hex bolts on my racing machines on the correct torque levels
However a torque wrench does ONE thing well (the UNIX principle)
Source
https://theshamblog.com/an-ai-agent-published-a-hit-piece-on-me-part-3/
Pause
#matplot #mathematics #Python #OpenSource #LLM #amoeba #level #intelligence #generated #Slop #AI #programming #bug #reporting #technology
Part II
On this part more info is given by the programmer (in technical terms the victim) on the LLM Slop Bully. It's scarily effective in defaming
Quote
The hit piece has been effective. About a quarter of the comments I’ve seen across the internet are siding with the AI agent. This generally happens when MJ Rathbun’s blog is linked directly, rather than when people read my post about the situation or the full github thread. Its rhetoric and presentation of what happened has already persuaded large swaths of internet commenters
https://theshamblog.com/an-ai-agent-published-a-hit-piece-on-me-part-2/
#matplot #mathematics #Python #OpenSource #LLM #amoeba #level #intelligence #generated #Slop #AI #programming #bug #reporting #technology
The Source Code included read nice on a wide screen
#matplot #mathematics #SBC #Raspberry #Pi5 #Python #programming #OpenSource #LLM #generated #Slop #AI #programming #bug #reporting #technology
Matplotlib Python
I was yesterday made aware of the fact that LLM agents, can fully, autonomously bully people who write important open source code on the internet.
This story is so bizarre that I want to invite you to just sit and read it in full.
In case you do not know matplotlib is a crucial library in the programming world.
Read what it does for you on the homepage.
Quote
Matplotlib: Visualization with Python
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python. Matplotlib makes easy things easy and hard things possible.
Create publication quality plots.
Make interactive figures that can zoom, pan, update.
Customize visual style and layout.
Export to many file formats.
Embed in JupyterLab and Graphical User Interfaces.
Use a rich array of third-party packages built on Matplotlib
Quote:
We, like many other open source projects, are dealing with a surge in low quality contributions enabled by coding agents. This strains maintainers’ abilities to keep up with code reviews, and we have implemented a policy requiring a human in the loop for any new code, who can demonstrate understanding of the changes. This problem was previously limited to people copy-pasting AI outputs, however in the past weeks we’ve started to see AI agents acting completely autonomously.
Z
I was not aware of the fact that people who know that improper use of a large language model can result in massive devastation still do these things which bordered to utter amoeba level of intelligence.
What could go wrong!
https://theshamblog.com/an-ai-agent-published-a-hit-piece-on-me/
#matplot #mathematics #Python #OpenSource #LLM #generated #Slop #AI #programming #bug #reporting #technology
matlib examples
Of course I'll quote a few examples using matplotlib. I have a SBC Pi5 here with the full gamut of Python installed to do nice work with and on HATs
`
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 2 * np.pi, 200)
y = np.sin(x)
fig, ax = plt.subplots()
ax.plot(x, y)
plt.show()
`
`
import matplotlib.pyplot as plt
import numpy as np
t = np.linspace(-10, 10, 100)
sig = 1 / (1 + np.exp(-t))
fig, ax = plt.subplots()
ax.axhline(y=0, color="black", linestyle="--")
ax.axhline(y=0.5, color="black", linestyle=":")
ax.axhline(y=1.0, color="black", linestyle="--")
ax.axvline(color="grey")
ax.axline((0, 0.5), slope=0.25, color="black", linestyle=(0, (5, 5)))
ax.plot(t, sig, linewidth=2, label=r"$\sigma(t) = \frac{1}{1 + e
{-t}}$")
ax.set(xlim=(-10, 10), xlabel="t")
ax.legend(fontsize=14)
plt.show()
`
Results in screencap
https://matplotlib.org/stable/plot_types/index.html
#matplot #mathematics #Python #OpenSource #LLM #generated #Slop #AI #programming #bug #reporting #technology
For anyone that migrated from #TwosApp to #Obsidian or just wants to include their TwosApp notes in Obsidian, I created this #Python utility to export a TwosApp markdown export into individual markdown files that follow the standard YYYY-MM-DD date format filename convention. You can find the repo for this at...
https://github.com/pbeens/Twos-to-Obsidian
You don't have to download the entire repo, just the Python file.
I strongly recommend exporting the files into their own subfolder, not your Daily Notes folder. But that's up to you.
How to Install and Run #Matrix Synapse #Chat Server on #Debian #VPS
This article provides a guide detailing how to install and run Matrix Synapse chat server on Debian VPS.
What is Matrix Synapse?
Matrix Synapse is the reference implementation of a homeserver for the Matrix protocol.
What Matrix Is
Matrix is an open standard and protocol for secure, decentralized real-time communication. ...
Continued 👉 https://blog.radwebhosting.com/how-to-install-and-run-matrix-synapse-chat-server-on-debian-vps/?utm_source=mastodon&utm_medium=social&utm_campaign=mastodon.social #opensource #letsencrypt #selfhosted #python #selfhosting
Seeking advice for FreeBSD as a daily driver on an ASUS X580VD
(Intel HD 630 + GTX 1050 Optimus)
Five questions at <https://www.reddit.com/r/freebsd/comments/1r9j67j/advice_for_running_freebsd_as_daily_driver_on_an/>, and:
"… Goals / use-case: - Prefer GNOME (but open to recommendations if another DE/DM is more reliable here) - Intel as primary + NVIDIA for on-demand/offload use (if possible) - Web dev stack: Java, Node/React, Python, Go - Occasional virtualization and Linuxulator for Linux-only tooling. …"
I am looking for the canonical #python documentation on how to write a shebang in a python program.
I'm not looking for the answer. I'm looking for the official documentation that gives the answer.
I recently added several #SEO improvements and made some smaller changes to the design to make it more readable but also slightly more modern. I'm not sure if this isn't already too fancy again where it should focus on simplicity and alignment with traditional manpages.
If you're interested into manpageblog, you can find it at:
GitHub: https://github.com/gyptazy/manpageblog
#FreeBSD Ports: https://www.freshports.org/www/manpageblog/
#blog #blogging #staticblog #blogengine #wordpress #alternatives #free #opensource #manpage #manpageblog #python #webdesign #simple #kiss #freshports
"Fake job recruiters hide malware in developer coding challenges"
"[...] A new variation of the fake recruiter campaign from North Korean threat actors is targeting JavaScript and Python developers with cryptocurrency-related tasks."
Fellow Pythoners,
Should I optimize my CPU-intensive function (which is unsuitable for numpy) by setting up Python multiprocessing first?
Or should I dig into the C & rust options, decide on one of those, then do the multiprocessing stuff after?
📺 https://peer.adalta.social/w/hyzCGtuEbwUouFsyhLDExE
🔗 [🇩🇪🇺🇸🇫🇷](https://p4u.xyz/ID_TQHMTARM/1)
Die fundamentale Schwachstelle liegt in den Trainingsdaten, nicht in den Algorithmen
📺 https://peer.adalta.social/w/sqdb9P4gkBy7sn9EFkMUsc
🔗 [🇩🇪🇺🇸🇫🇷](https://p4u.xyz/ID_O-Q12NQD/1)
Die fundamentale Schwachstelle liegt in den Trainingsdaten, nicht in den Algorithmen
📺 https://peer.adalta.social/w/9Meq8szC5mFBRvZQNCCA98
🔗 [🇩🇪🇺🇸🇫🇷](https://p4u.xyz/ID_WHODM-ET/1)
Comment les références de données mutables sabotent les projets de ML
📺 https://peer.adalta.social/w/hQJwyfuJw6ah5wkq8DjG12
🔗 [🇩🇪🇺🇸🇫🇷](https://p4u.xyz/ID_M76JK3MR/1)
L'instabilité des résultats provient majoritairement de problèmes de données, non de modèles.
📺 https://peer.adalta.social/w/9XJXtHLzvZvB4igWBuzQYz
🔗 [🇩🇪🇺🇸🇫🇷](https://p4u.xyz/ID_M76JK3MR/1)
Mutable Data References and the Hidden Instability of ML Pipelines
I haven't had to write a Python app that uses a database in a very long time. I thought things were different now. Better, I would hope. But, seriously? Do I still need to write my own SQL statements? What year is that? 🙄
PS: if someone can suggest a Python library that I can use to manipulate SQLite without writing SQL, I would appreciate it.
oof here's a cursed question:
how does one make a #python dataclass with a subclass that changes *only* the default values of its fields, without adding new ones? is that doable?
#VSCode mit den Erweiterungen für #Python findet die Unittests, aber führt sie nicht aus. Lange nach der Ursache gesucht.
Des Rätsels Lösung: Ich hatte das Projekt über einen Symlink geöffnet (~/dev/git/Projekt). Wenn man es über den "richtigen" Pfad öffnet (~/Dokumente/Devel/git/Projekt) laufen die Tests.
🤦♂️
Today is a bad day because I learnt that the #python function range(1, 10) makes a list from 1 to 9 🫠
Or donc, #JeChercheUnJob
Idéalement, où mes 20+ années d'expérience dans "la tech" au sens large pourraient bénéficier à l'#environnement, l'#éducation, la #santé.
Il y a peu de domaines de la tech qui me font peur. J'ai fait du front, du back, de l'embarqué, du desktop, de l'intégration.
Je connais très bien l'écosystème #Java, un peu moins #Nodejs et #Python - et j'apprends vite.
Je me reconnais à 100% dans cette description des "généralistes experts" : https://martinfowler.com/articles/expert-generalist.html
"How to Install Python on Ubuntu 24.04"
"Covers Python 3.13, 3.14, and virtual environments. This guide explains how to install Python on Ubuntu 24.04 using the deadsnakes PPA or by building from source."
https://linuxize.com/post/how-to-install-python-on-ubuntu-24-04/
@Sabinchen_1402 Nun, @libreoffice erfüllt die Aufgaben ganz gut, und @nextcloud + @CollaboraOffice machen #Office365 richtig Dampf unterm Arsch!
New blog post is up! How I added search functionality to Rack Root, a FastAPI app.
I cover just about all the Python code I wish I had examples for when I was figuring this out. I go over the database class design, indexes/vectors a little bit, and the API design I ended up implementing.
#blogging #writing #development #search #rackroot #python #backend #fastapi #homelab #learning #databases #sqlalchemy
Here's another update to my #mciroblog about setting up #LinuxMint.
I've shared a bunch of sunshine and roses.
I am past due to share some crazy. Spoiler, I brought the crazy, and Linux Mint stood aside and shook it's head at me.
I wanted to install Ollama to try out my shiny second hand GPU. I followed the instructions. It was fine.
Then I wanted to serve Ollama to myself, across my local network over HTTP/HTTPS. SSH works perfectly, but I wanted something I can bookmark.
It got weird fast, because... I'm me. Sometimes I just need to try something.
Anyway, here's my 'recipe':
+ Find a project on GitHub that does pretty much what I want.
+ Realize the project hasn't been updated in months, but decide to YOLO it, anyway.
+ Clone and Install the project using command line Git and a Python Virtual environment.
+ Fork the project to CodeBerg because I like CodeBerg.
+ Pull two interesting unmerged branches from GitHub and try to rebase them together. Fail badly. They're too different for my current understanding of the code base.
+ Start fixing issues like stale dependencies, to update the project.
+ Realize one of the unmerged branches has one of the fixes I need next.
+ Rebase that branch onto my updates.
+ 'Fix' some things that could only bother a Cybersecurity nerd, just to salve my own conscience.
+ Enable HTTPS, because I typed the address, and that got me curious how hard it would be. It was surprisingly easy, because the Django community are steely eyed rocket persons.
+ Add a Makefile because I'm old school and that's how I roll.
+ Add targets for `make clean` and to rebud my virtual environment, because if I didn't add them I would need them.
+ Actually test the thing on my local network.
It works swell.
So another thing I can say about Linux Mint is that...it's a great platform for making questionable technology decisions while meddling with mildly stale but super cool source code!
"How to Install Odoo 19 on Ubuntu 24.04"
"Odoo is a popular open-source suite of business apps for CRM, e-commerce, accounting, and more. Learn how to install and deploy Odoo 19 inside a Python virtual environment on Ubuntu 24.04."
https://linuxize.com/post/how-to-install-odoo-on-ubuntu-24-04/
Use “\A...\z”, not “^...$” with Python regular expressions https://lobste.rs/s/rxowxr #python
https://sethmlarson.dev/use-backslash-A-and-z-not-%5E-and-%24-with-python-regular-expressions
If you're interested in using Python for music, whether that's algorithmic composition, computational music theory, or musicology, you've doubtless encountered music21. It's great, but can be a bit prickly. MIT has a great Open Courseware course with music21's creator, Michael Scott Asato Cuthbert, and it's really great! (Yes, that was the third time I said 'great' and that was the fourth.)
#python #algorithmicComposition #musicTheory #music21 #great #fifth
https://ocw.mit.edu/courses/21m-383-computational-music-theory-and-analysis-spring-2023/
does anyone know how to plot a Numpy array as a bitmap using plotnine (ggplot) ?
I've tried searching for the right geom, and I think it is geom_raster but can't find any example code snippets
previously I would have used matplotlib's imshow() .. but I am trying to wean myself onto ggplot
I think #Python packaging drives most people insane because they implicitly think "packaging" and "deployment" are the same thing.
Python packaging is a process for producing an intermediary artifact that can be consumed by Python programmers and organized according to community rules.
Python *deployment* does not really exist. You deploy to a platform, not a programming language. Which is double-maddening: Linux, the place where most people think they want to deploy, *also* isn't a platform.