Reddit thread where the Textual Markdown widget was announced.
Also includes the rather hilarious comment "I wish there were more full blown app examples out there", back when Textual was pretty damn new and barely out of the initial "CSS branch" release.
Tinboard is a client for Pinboard, based in the terminal, it includes:
- Add/edit/delete bookmarks.
- Various forms of filtering.
- Filtering with tags.
- Full text search.
It turns out that Unicode support in Terminals is a lot more difficult than it first appears. A quick overview of special support for Unicode characters in Terminals:
- "Wide" or "Fullwidth" characters, particularly for East Asian languages and emojis, are codepoints that occupy two cells in a terminal instead of one.
- "Zero" width combining characters used in languages such as Arabic, Hebrew, or Hindi do not occupy any cells themselves; instead, they modify the previous character.
- "Zero Width Joiner" (ZWJ U+200D) reduces and combines many codepoints into a single emoji. This is similar to combining, but encoded in a completely different way.
- "Variation Selector-16" (VS-16 U+FE0F) is a special character that, for specific "Narrow" emojis consuming one cell, causes them to become "Wide", consuming two cells.
This tutorial walks you through how to package a simple Python project. It will show you how to add the necessary files and structure to create the package, how to build the package, and how to upload it to the Python Package Index (PyPI).
"Four months ago, Adnan Khan and I exploited a critical CI/CD vulnerability in PyTorch, one of the world’s leading ML platforms. Used by titans like Google, Meta, Boeing, and Lockheed Martin, PyTorch is a major target for hackers and nation-states alike.
Thankfully, we exploited this vulnerability before the bad guys.
Here is how we did it."
An implementation of Emacs Lisp's defadvice
, for Python.
Sadly thr library itself is very old (14 years old at the time of recording this), and only for Python 2. There is, however, a PR in the repo that makes it work with Python 3.
As per the title: a retrospective of requests.
Possibly killer quote: "After receiving our first security disclosure, I was told that Requests wasn't a serious project but instead one person's art project and thus we shouldn't fix the vulnerability. This was despite the project being touted as being used by multiple international government agencies, political campaigns, and boasting about it's #1 download spot on PyPI. So when I say it might be artful, I'm trying to take a neutral stance on what is art and what isn't art and whether the internals of Requests are actually beautiful art."
"In a fantasy tech startup, who would you hire?
For me it would be @davepdotorg and @mathsppblog
But it's no fantasy. Dave and Rodrigo will be starting at Textualize. They will be helping me build Textual. The TUI framework for #Python that will eat some of the browser's lunch."