Remember Filezilla? With malware high-jinx? Wait two weeks for a suitable cool down and you can try out my brand new tkinter wrapper of ftplib.
Honestly not sure what the use cases is, everyone should be using sftp or something else.
- ♡ 1 ↻ 0
Public posts preserved on my own site.
Remember Filezilla? With malware high-jinx? Wait two weeks for a suitable cool down and you can try out my brand new tkinter wrapper of ftplib.
Honestly not sure what the use cases is, everyone should be using sftp or something else.
IDEA: linting tool that looks for all the ignore/skips and give you a chance to reconsider them all. (but for all known tools)
Can't remember if this is the 2nd time I've had this idea.
History of sandboxed computing
- Computer to weak to run host OS
- Computer can run host OS, but not enough drive space or memory or CPU for VM/container
- Can run container, but machine now host OS lags
- Can run both, but now laptop overheats, everything broken in container and VM (mouse, video, etc) and WSL and docker fail to boot 1/3 of the time.
- You know, it is easier to put each app on a raspberry pi, which is too weak to run any OS and just runs the app
virtual means, it virtually works, as in almost, but not quite
@AlSweigart I just really feel about about the people who suffer from gia.
IDEA: tkinter wrapper around urllib to make a web browser. I would need at least 1 3rd party library to turn html into markdown or text.
Surely someone has already done this.
Maybe this...
https://pypi.org/project/tkhtmlview/
not like Tkhtml3, that** **looks like a wrapper around a C browser engine... like yeah, subprocess can launch firefox too, wooh! browser in python.
Okay, here is my take on the idea, except it isn't so much a tkinter component as a standalone app, like postman, sort of.
tkinter alternative to filezilla done, next tkinter alternative to thunderbird, each wrapping ftplib and poplib/etc respectively.
I see these as either useless or...
- poor man's message queue/SQS alternative
- poor man's S3 alternative
The web browser versions are going to be way better. Also these are obsolete/insecure technologies, so probably should only be used locally or on a local network.
This is the V'ger pattern where you take a piece of code and wrap it in something that is 1000x more effort than the thing you're wrapping.
(V'ger was NASA's voyager space craft return to earth after being wrapped in a huge upgraded space ship by aliens I guess)
Forked an archived/abandoned change log manager tool, that I'd been using for a year or two, mostly to validate the #Keepachangelog format
- somewhat better feature discoverability
- somewhat better onboarding
- slop docs were invaluable to me. I was using like 1% of the functionality previously
- lacks a fragments feature, so maybe not the best for teams and lots of long lived feature branches
If you drop Mythos into diet Pepsi, it explodes.
Epiphany. If you don't file pull requests for all your dependencies with insecure github actions, your CI servers will be running malicious code every day within a year.
You don't know anything about my social life, app. (how does it know? spooky)
@shimst3r Pick a side project, especially done-in-4-hours. Work can never feed you the optimal stream of tasks for career growth
Your favorite way to reduce headcount without expensive severance?
Archived poll
6 voters
I hear the friction for making Pull Requests on Github has gotten too low, so effectively immediately, I will need everyone to write their code on 24-Grit sandpaper and send that to me for merging into the code base.
Well "Republicans think we know an all-numbers conlang" wasn't on my bingo card.
So elegant
```python
def update( # pylint: disable=arguments-differ,unused-argument
self, # pylint: disable=arguments-differ,unused-argument
*args: Any, # pylint: disable=arguments-differ,unused-argument
**kwargs: Any, # pylint: disable=arguments-differ,unused-argument
) -> None:
self._deny_write()
```
I think it is high time we dox Alice and Bob, get their last names and turn them over to the authorities. What mathematics can't protect, the law will.
To hit that 2 hour marathon time, you have to eat a huge amount of carbs while #running, which is really expensive if in the form of store bought gels, this guy has got a good system of DIY gels. I'm thinking of just running with a sugar cookie and some water to drink.
Buddhist LLMs don't have a SOUL.md, just an empty spot on the file system.
So on the idea of a better `python` cli command surface with better discoverability. Sort of how `go` has a better one.
stdlib has these categories of poorly surfaced/hidden tools
- dev tools (unittest, idlelib, pydoc, etc)
- esoteric decompilation, (de)serialization tools
- python implementation of shell tools (gzip, etc)
- packaging tools (pip, zipapp)
Some of these, just need a registered command, like pip has (`python -m pip` vs `pip` ), but conditionally registering a cli command is hard (gzip would likely clash, others wouldn't).
Some of these could be like go `python test` a sort of command invoker without Makefile.
Some of these really need a gui, think complex but used once every few years
Some of the secret commands are actually in the docs but not in the distribution, e.g. the unified diff code.
The strongest case for any of this is to have
python test
python document
python build
python format
But for these "SDLC" type commands, python's build is either doesn't exist (format) or the non-stdlib library is massively better (pytest)
There is a suite of internet tools (telnetlib, imaplib, etc) for whom I don't know who the audience is. curl does all of that better and the built in clients are thin and dated- the types of servers popular on the internet keep changing with fashion and security concerns. ftplib exists but no sftplib support. These all need a gui, but the gui would be so large as to dwarf the stdlib part.
Also the way these tools re discovered is websearch and grep, not `--help` and grep returns all the left over debugging code (using dunder main blocks as an ad hoc unit test) and jokes and ephemera like antigravity and `this`
The amount of noise in the 'here are 100s of hidden tools in python', imho makes that a bad way to surface the good parts.
And the final cluster of tools are essentially cross-platform tooling, ie. all the things you use in bash but aren't bash builtin. This is super hit or miss as a solution (git bash and WSL) are what people usually use. Some of the tools are big and complicated (sed, grep, etc). Simulating linux shell in python, but on non-linux machines should have been its own product and I think python went down that path accidentally (with several compression commands but other tool categories missing)
If you try to give `python` (as in python.exe the cli command) a suite of subcommands that match rust or go... that means reinventing pip or creating yet another idiosyncratic multi-tool (e.g. bundling pytest and flake8 or nose and ruff, etc) or reinventing Make (a config file with a line of bash per-tool). Don't want any of that.
But python could use a nice set of subcommands for all the cli tools buried in python. It would be a discoverability tool.
I need to create a #pypi package and all the good names are taken. Maybe I should use the same brand generator that everyone in China uses to sell goods on Amazon.
ha funny, Amazon realized they created a problem asking the generics to pick a brand name. "wedontgiveashit" brand probably was taken first
https://sellercentral.amazon.com/brand-name-generator?mon_sel_locale=en_US
Oh look, pedantic also does runtime type validation like pydantic does.
There must be some relationship there.
I was imaging a linter that when run, returns permutations of "Nah, I don't like it" but never says what the problem is.
I wonder if there is a reason why the official python installers for windows don't set up a python3 alias
"On Windows, the official cross-version mechanism became `py`, e.g. `py`, `py -3`, `py -3.11`." huh... does linux have `py`? Not feeling so cross-anything now, huh?
Oh look... possibly fixed in 3.14?
"A `python3` command is also included that mimics the `python` command. It is intended to catch accidental uses of the typical POSIX command on Windows, but is not meant to be widely used or recommended."
You can't tell the people I can't tell what to do what to do.
Well, I got my hopes up too soon.
matth@lenovo MINGW64 ~
$ python --version
**Python 3.14.0**
matth@lenovo MINGW64 ~
**$ python3**
**bash: python3: command not found**
See, look at this now
matth@lenovo MINGW64 ~
$ pipx install python3-alias
installed package python3-alias 1.1.0, installed using Python 3.14.0
These apps are now globally available
- python3.exe
done! ✨ 🌟 ✨
matth@lenovo MINGW64 ~
$ which python3
/c/Users/matth/.local/bin/python3
matth@lenovo MINGW64 ~
$ python3 --version
Python 3.14.0
Watch out for python-alias. That is not my package, something else.
Man, the length that people go to break things on windows.
#uv prohibits scripts with name of python3.
Most techniques to create a #python3 alias don't work, so I made the library python3-alias - which can be built with `python -m build` but `uv sync` refuses.
Use cases is a Makefile you don't own has `python3 blah blah` and you can't change it to `py blah blah` or run windows store installs.
If you got a working alternative, I'm curious otherwise, this is more behavior like `sh` library that if you even import it on windows it shits bricks, because, hey if there is even one linux or mac library in the venv you should fdisk the users computer because f*k 'em
I'm trying to think of a better option, but I'm thinking of a few cases where module-does-not-exit is the responsibility of the calling code. But another way to look at it, python has an assumption of being somewhat cross plat and if you do, then all the linux only library should be treated like `[extras]` and if import gets modulenotfound, then you keep going until you attempt to do a thing with the library.
If I want to get serious about a SaaS, I should create a shell application that support
- modern authentication (uh, I forget who the big players are here, cognito, etc)
- payments (payment gateways/app stores)
Both of those are going to involve integration into two different 3rd party services.
Without those 2, SaaS sideprojects are just dreaming.
I like the idea of cross posting to different platforms, but I try to write for my audience and there is just so little overlap with my audiences platform to platform.
@Alexerson @jacob They optimized the course and everything, advantages you don't get in a real race. The 2 hour limit probably happened on a treadmill somewhere without fanfare even before Kipchoge.
@mainframed767 Matt Berman makes a reasonable case for how he uses more or less as doing administrative secretary stuff.
I think like a lot of the AI usages, it is not so much automating things I do as enabling me to do things that I never would have done because they were too expensive in terms of time.
We are automating the work of the administrative secretary that our employer was never going to give us.
At the time of Mythical Man Month, serious code was written in assembler and the though was 3GL and 4GL languages would solve the problem of assembler, but also the overhead around assembler, which it wouldn't.
I think the take away should have been that advances in social technologies, (jira, scrum, in big orgs... VC startup system, stacked ranking, literal religious cult like practices in Amazon*) those technologies are where the big returns are.
`*` By religious cult-like practices, I mean their principles that they have to quote & work into their eval process, and imposed culture, the squeezing out of personal time, sleep deprivation by the pager system. This reminds me of monastic lifestyle, which has a lot of parallels- constantly working, sleep deprivation, culture imposed by rules rather than organically emerging, etc. It's a technology & not for no reason did a lot of monasteries behave like commercial enterprises.
I mean, why not both? Throw unit testing, build servers and LLMs at accidental software complexity, throw better process management and issue trackers and business models (startups+VC+big tech acquisition system) and essential complexity.
MMM seems like a meditation on miscalibration. Were better languages 0.1x better? 2x better? 3x better?
People really like to call out miscalibration. (for example, people get upset about arrogance, is everyone identical or is that person evaluating themselves as 1.1x better? 2x better?)
We'd be better served by doing a Fermi Estimate and stating our confidence intervals.
In that vein, a new technology being estimated to be 1x, 10x, 100x better, is not that bad of an estimate, about 2 degrees of magnitude interval! Better than our range for the count of aliens, where we got a confidence interval of 0-10 degrees of magnitude
@linuxgal 1 million tops, probably a tenth of even that.
Mastodon doesn't have a location because if you're tweeting in Estonian, it isn't like you need a field to say where you live.
You can still get location on accounts, but it is much more API-expensive.
Damn, admin/admin has been involved in a security leak. If this was your credentials rotate them immediately. nimda/nimda or something.
Looks like there aren't any issue #python issue/bug trackers that are
- easy to install (eliminates trac, roundup)
- can be found in #pypi (is just bad SEO?)
- isn't actually mostly a github clone (Kallithea)
- isn't actually help desk software (call center & tickets to fix printers I guess.)
Really? I'm torn between wanting to write trac-init, roundup-init and just writing what should be yet-another-issue-tracker.
Northern Virginia mentioned!
Voted for democracy. It complicated. Voted yes to redistrict in VA same as they did in TX
@oliverandrich shorts blocker is the best.
Me: I'm a professional, I can work surge hours if needed.
PMs: Ah, I see. What I hear you saying is you will be working 16 hour days including weekends indefinitely. We've updated the schedule to reflect that.
(I'm okay, I think I actually work surge hours maybe a month or two a year)
Here I am worrying about supply chain risks and duckdb is installing binaries from duckdb.org at runtime.
Fortunately, duckdb.org is so wealthy they will never go out of business and have their domain highjacked by malicious users who would replace those binaries with something else.
TODO: give my mastodon client the power to treat a friends RSS feed as 1st class content.
We got that place to put 1-4 links to our blogs/etc but it's just a link to another website. Some people have instances with huge post size limits & repost, or repost a link when RSS updates, but RSS just isn't a 1st class citizen around here. (as a format for reading elsewhere sort of)