@movq@www.uninformativ.de with the current regime, everything is, to put it politely, rather odd, and in disarray. They have yesterdayâs window, otherwise the next one was on the 12 of April, or something like that. We knew it was going up for a few days, but we are used to that kind of thing, so it is not that super exciting any more. LOL.
Yeah, I saw it in person.
Congress sets new deadline for release of 46 secretive UFO videos
Federal agency bosses have been handed a notice to release the videos within the next two weeks. According to reports, lawmakers in the US are pushing⊠â Read more
When the boss tells us weâll do tests when we have time â Read more
Live: Artemis II launch - first manned Moon mission in 53 years
Four brave souls will be blasting off atop NASAâs Space Launch System (SLS) for the Moon later on today. For many of us, it has been more than an enti⊠â Read more
When the sales rep announces a delivery date without consulting us â Read more
@lyse@lyse.isobeef.org Oops, I guess the new text is a bit obscure. If you follow the link, the text is a bit more explicit, but you still need to know what a lexical scope is. Anyway, this is part of Perl moving very carefully toward being UTF-8 by default while also not breaking code written in the 90s. If you name a recent version like âuse v5.42;â then Perl stops letting you use non-ASCII characters unless you also say âuse utf8;â. The âlexicallyâ part basically means that strictness continues until the next â}â, or the end of the program. That lets you fix up old code one block at a time, if you arenât ready to apply the new strictness to a whole file at once.
Microplastics crisis: could gloves be contaminating the findings?
Recent research has taught us that microplastics are everywhere - but just how accurate are these studies? One of the biggest environmental concerns r⊠â Read more
PEP 829: Structured Startup Configuration via .site.toml Files
This PEP proposes a TOML-based configuration file format to replace the .pth file mechanism used by site.py during interpreter startup. The new format, using files named .site.toml, provides structured configuration for extending sys.path and executing package initialization code, replacing the current ad-hoc .pth format that conflates path configuration with arbitrary code execution. â Read more
Mystery object seen over Mississippi turns out to be from Roswell
Aviation authorities have confirmed the identity of an object that was sighted high above the state last week. With all the talk of the US government ⊠â Read more
When I discover someone uses a float to store monetary amounts â Read more
This one comes from this years (now scrapped) April 1st DLSS 5 gag, that was originally supposed to use Microsofts AI - in ways similar to the Nvidia technology, which produced interesting, overly detailed results. I wanted to see if I could beat the AI thing at drawing something like that myself and many redraws later, this is my best result.

@bender@twtxt.net both, but neither directly. I know every workaround there is, including those used by developers, to test apps, while working on them. However if âsideloadingâ becomes so tedious, even the more technical users, cannot be bothered to do it, competing appstores and independent developers, not wanting to send their money and ID to Google, loose users at such rate, they likely wonât be able to justify continuing to maintain their projects, people like me rely on.
@prologic@twtxt.net must be nice. Congrats! I am happy for you! đ Off jesting, enjoy mate! The rest of us will continue slaving ourvselves. đ
Anna Paulina Luna offers update on Trumpâs UFO files release
The US Representative has provided a few words hinting at what might be going on behind the scenes. Back in February, President Donald Trump made the ⊠â Read more
In the interest of fairness and hopefully for the last time, I ever have to address this, Google has flip-flopped again and promised âsideloadingâ will not be removed from their version of Android, but instead have to be enabled in the developer settings, using the following âadvanced flowâ:

To be perfectly clear, this still falls short of what I wanted, but at this point, it is a compromise Iâm willing to take, over further pursuing this, through the various available European courts, myself.
Here is their full statement:
https://android-developers.googleblog.com/2026/03/android-developer-verification.html
@prologic@twtxt.net donât! You might be into troubles. Just record something small, and masterful, for us to listen, forget the costume. đ
Mystery as US government registers alien.gov and aliens.gov domain names
Rumors of impending alien disclosure are rife after the White House registered two mysterious new domain names. According to federal records, the US g⊠â Read more
When I discover the previous dev versioned files using dates in the filenames â Read more
Mysterious Iranian radio signal could be activating sleeper agents
Radio sleuths have been left perplexed by an enigmatic radio signal that began broadcasting after the US attacked Iran. Twice a day, a mysterious seri⊠â Read more
@rdlmda@rdlmda.me I am reasonably happy with jenny. If I find time for a twtxt project, I would like to make a web page that works as follows: you point it to your own twtxt feed (as a URL parameter), and then it shows you all the feeds referenced by your â# follow =â lines. So, if I put this up, anyone could use it to view their own feed, with no login required. (Probably a difficult project. For example, Iâd want to make sure the backend couldnât be tricked into helping ddos a web server by trying to fetch lots of âfeedsâ from it. Anyway, I have too many other projects.)
** WARNING: connection is not using a post-quantum key exchange algorithm.
** This session may be vulnerable to âstore now, decrypt laterâ attacks.
** The server may need to be upgraded. See https://openssh.com/pq.html
đ±đ±đ±
@rdlmda@rdlmda.me it is called, in Spanish, âthe motherâ. It is created through a bit (not by much) effort, and kept as a starting point. Just like Asian cuisine has dishes that never cool, always cooking leaving always a base on it.
How do you think a lathe (and just about any tool, etc.) is done? Yup, in part by using a lathe. đ
@movq@www.uninformativ.de just use https instead:
git clone https://git.mills.io/yarnsocial/twtxt.dev.git
@bender@twtxt.net Yes, really should have chosen my words more wisely. As @movq@www.uninformativ.de mentions, we got a vague promise of an âadvanced flowâ being implemented, and in my case also a vague promise of a video call, with someone at Google, regarding it. Now when the backlash died down, it does not look like Google plans to follow through, with any of this and theyâre completely unwilling to elaborate and get back to us, about if and how any of this will be implemented.
When my pair tells me they managed to get us extra time for our delivery â Read more
When we come across a library thatâs going to save us one to two weeks of dev â Read more
@rdlmda@rdlmda.me I never saw the point of a registry to be honest, as it defeated the point of what I believed to be a truly decentralised non-social social ecosystem. What can and does work however is a search engine and crawler. I used to run one, but I took it down, mostly because it got expensive to operate, at least the implementation I built⊠Maybe one day iâll try again with a SQLite backend.
@rdlmda@rdlmda.me most of our conversations used to be about twtxt, I am not going to lie. Lately? Not so much. It turns out (a) we donât need a longer hash, (b) we donât care so much about changing addressing, and © I am just Bender, what else can I say? :-D :-P
Have aliens been attempting to communicate with us for decades?
A new study suggests that we may have been receiving signals from intelligent aliens but simply didnât realize it. Astronomers have been listening out⊠â Read more
When I manage to fix a bug without using Google or an AI â Read more
USAF general with UFO connections goes missing in New Mexico
Retired general William Neil McCaslandâs disappearance has sparked rumors and speculation. The 68-year-old, who retired from the US Air Force in 2013,⊠â Read more
UFO hacker Gary McKinnon found files referencing ânon-terrestrial officersâ
The 60-year-old made global headline news back in the 2000s when he hacked into US government systems. It was one of the most hotly debated news stori⊠â Read more
UFO spotters once thwarted a secret Soviet nuclear program
During the Cold War, a spate of mysterious sightings ended up exposing a plot to hide nukes from the US. Back in 1967, eagle-eyed skywatchers in the w⊠â Read more
When I list the technologies we use on our new project to the marketing manager â Read more
@prologic@twtxt.net well, it isnât rocket science, is it? đ Yet, without using the hashes and starting to follow people, it is very, very rudimentary. I know, I know, there were a couple of years during which people lived just fine without those. Yet, once you get used to certain things, there is no going back.
@rdlmda@rdlmda.me You need to use the RFC3339 format. I would recommend you read the specs at https://twtxt.dev â This is what is used by many moden clients these days đ
Animals perceive time at different rates, new study claims
Different species perceive time differently to us - and each other - depending on the pace of their life. Kevin Healy: As you read this, the screen is⊠â Read more
@kiwu@twtxt.net I am trying to read our Information Security Office âmindâ to grasp what they want. So far they seem to want to get logs from our BIG-IP F5 load balancers into Azure Sentinel, but the Telemetry Streaming plugin normally used for it is on maintenance mode, with deprecations happening on the F5 and Microsoft side soonish. So, yeah⊠âfunâ. Oh, and they want it on production by tomorrow. LOLz!
Trump orders release of the US governmentâs files on UFOs
In a surprising move, President Trump has suddenly decided to release previously classified UFO documents. Trump seems to have become rather enamored ⊠â Read more
When the designer uses a font with a âŹ300 web license â Read more
đ Looking for other interested folks to continue to evolve the development of Salty.im đ Iâve been hardâą at work on the v2 branch and @doesnm.p.psf.lt@doesnm.p.psf.lt has been incredibly helpful so far. Be great ot have a few more folks to join us, some of the v2 highlights include:
- Double Ratchet by default.
- Group Chat (sender/client fan-out for now)
- Much better TUI with background agent.
- Mobile App coming soonâą (iOS in progress, Android next, same codebase)
Growers warn âwatered downâ lavender oil widespread in surging imports
Despite an Australian lavender industry dating back to the 1850s, youâre more than likely using an imported and âwatered-downâ product, local growers say. â Read more
@aelaraji@aelaraji.com hey, hey! I saw you tinkering with ActivityPub, so I know you were well.
Glad to have you back here! No much has happened on twtxt.net-world. @prologic@twtxt.net is quite busy with large language models, and seeking further independence through capitalistic ways. @lyse@lyse.isobeef.org continues dazzling us with his clicks, @movq@www.uninformativ.de brings us interesting music, videos to see, and a sprinkle of home made computing here and there, and me⊠well, I continue bending (or trying to) things! đ
@abucci@anthony.buc.ci coined the term âfailsceneâ:
https://buc.ci/abucci/p/1771250567.039684
I wonder about using âfailsceneâ to describe the current slate of AI tools and demos. In contrast with the demoscene, which is about getting very low powered computers to do cool things you wouldnât expect them to be able to do, the failscene is about getting very high powered computers to fail at doing boring things we already know how to do without them. Plus you can stylize it fAIlscene if youâre inclined to.
I love it.
There was an endless coming and going of sun, clouds and rain. Not to forget about the wind. I called it quits a bit earlier and went into the woods.
Towards the end I was completeley surrounded by rain curtains in all directions. This looked super cool. I thought I might make it home just in time without having to use my umbrella, but the rain clouds were way quicker than I anticipated. Just after the rain hit me, I met an acquaintance who just started his walk. The wind picked up hard and rain hammered down, mixed with snow. Holding the umbrella was a workout. Shortly after I returned, the rain stopped again.
I didnât notice the kestrel sitting on the tree when I took the last photo. That was a nice surprise when I sorted through the nearly 300 pics.
âAliens are real but I havenât seen themâ, Obama says, then backtracks
Former US President Obama recently made a comment about aliens that whipped social media users into a frenzy. Speaking recently on a podcast with host⊠â Read more
As @pluralistic@pluralistic wrote: âAI is asbestos in the walls of our tech society, stuffed there by monopolists run amok. A serious fight against it must strike at its rootsâ https://www.theguardian.com/us-news/ng-interactive/2026/jan/18/tech-ai-bubble-burst-reverse-centaur
@movq@www.uninformativ.de There are always some folks who would appreciate that. But I fear they are the minority. The rest just doesnât give a shit.
The selfcontradiction is that those who proudly use and promote AI also claim to be sustainable and green and so on. Iâve no clue how this is not considered fraud, but there we are.
@kiwu@twtxt.net Since Iâm not living in the US, I havenât seen it. Iâve only witnessed all the âoutrageâ about it through shows like Jon Stewartâs Daily Show. đ€Ł
@lyse@lyse.isobeef.org They certainly donât. đ«€
Had an idea earlier: How about going all in on sustainability and saving money/energy, so how about telling your customers âAI is a bad idea $because_long_list_of_reasons, here are our alternatives, youâll thank us in 5 yearsâ? (I bet the customers wouldnât listen either ⊠đ)
Consciousness may be able to persist after death, new study claims
An Arizona State University researcher has compiled compelling evidence concerning death and consciousness. Exactly what happens to us when we die is⊠â Read more
WA hop growers gear up for harvest as craft beer tastes evolve
Local brewers are experimenting with new flavours, while some farms invest in US-made machinery to modernise and streamline the harvest process. â Read more
Fancy a 15% discount on my #Domestika #Python + #CreativeCoding course?
A_B_A_VILLARES-2026
Valid up to March 13th
(Beware Domestika also uses dark patterns like a very low priced offering that will trigger a âyearly subscriptionâ after a month if you donât read the small print and cancel⊠not nice)
Cheers to all #Python #CreativeCoding people here using #LinuxâŠ
Would you like to test a script by our friend and co-maintainer of thonny-py5mode GoToLoop that installs #ThonnyIDE and #py5 on your machine to see how it goes and help improve it?
I wonder if it would be bad form to ask students to run something like this:
curl -fsSL https://Gist.GitHubUserContent.com/GoToLoop/246a31d437aaa8c6eadb7f7186544e0f/raw/thonny-installer.bash -o thonny-installer.bash && chmod +x thonny-installer.bash && ./thonny-installer.bash
(because, you know, it trains them to run potentially dangerous stuff in other occasions)
Okay, so the funniest thing that has happened at work in the realm of AI so far is this:
So this guy (that holds a certain position of power) wants people to use more AI, meaning people are expected to install a set of AI tools on their laptops. But, of course, he doesnât want to write proper documentation for this, because that would be silly monkey work, right? So he conjures up some AI prompts that are intended to make the AI agent install all this stuff by itself.
Do you see where this is going? Can you see the punchline?
Thatâs right! Since none of this AI stuff is deterministic, every setup is different. đ€Šââïž Like, 10, 20 systems, all set up a little different and people wonder why this or that doesnât work as expected.
Okay, itâs not funny.
When I realize I could have used an existing library instead of rewriting everything â Read more
Fuck me dead! I accidentally confused an HTML file for a YAML file and manually opened it in my browser. Unfortunately, I clicked on the OK button of the popped up dialog a bit too fast, it just caught me off guard. It asked which program to open the YAML file in. Of course Firefox thought that it could handle that and suggested itself by default. Conveniently, the âdonât prompt me again and always use this selection from now onâ checkbox was enabled.
And then the endless loop of death started. Turns out, this fucking browser canât do shit with YAML files and delegated to what had been just configured. Oh, would you look at that!? Firefox! Empty tabs after empty tabs appeared. Killing and restarting Firefox just loaded the last session with all the tabs and the loop continued.
Some bloody snakeoil on my work machine slows down link openening requests by two, three seconds. Itâs always absolutely anoying, but luckily, it actually limited the rate of new tabs popping up. I still could not close the many tabs fast enough that had accumulated before I noticed what was going on in the background.
Going to the settings to change them was always interrupted with a new tab opening in the foreground.
Finally, killing Firefox and renaming the file on disk before restarting Firefox did the trick and broke the loop. I was still holding down Ctrl+W for a minute or so to get rid of the useless tabs. I didnât want to loose the important tabs, so just ditching the session wasnât an option.
salty-chat TUI client as well, which now includes proper notifications and a background agent that keeps running so you never miss any messages. It all "just works"âą and I'm quite happy with the outcome! đ€© #saltyim #revamp
@bender@twtxt.net Whwn do i see you start to use Salty IM more? đ
UFO disclosure advocate granted access to secretive US bases
President Trump has reportedly given permission for US Congressman Eric Burlison to access the facilities. Burlison, who has long called for more tran⊠â Read more
Is it really possible to deflect an asteroid using nuclear weapons ?
Scientists have used a new computer simulation to find out if nuking an asteroid could actually save us from catastrophe. Nuclear weapons have the pot⊠â Read more
I canât remember if the hex viewer back then had these options. Donât even recall what software that was. :-)
The one that I used during my Windows 95 days was âHex Workshopâ. It had similar features, just not as promimently displayed. It shows them down there in the statusline as âValueâ:
Newer versions can probably do more, havenât checked. đ (Assuming this program still exists.)
Apart from selecting text to copy into the clipboard. But that probably has the potential for trouble and interference with button clicks, etc.
Yeah, thatâs a big problem: Once you activate mouse mode in the terminal, the terminal loses the ability to select text. đ Youâd either have to emulate that in the program itself (like Vim does) or give the user an easy way to turn mouse support on/off during runtime.
How did the startup times develop?
Theyâre pretty stable at around 230 ms on my old NUC. Itâs just fast enough so that it doesnât annoy me.
@movq@www.uninformativ.de Nice, itâs coming together! Despite it being ages ago that I used a hex editor or viewer, these different representations of information appear very handy to me. If I had to mess around on binary formats, Iâd definitely appreciate them. I canât remember if the hex viewer back then had these options. Donât even recall what software that was. :-)
I, too, only very, very rarely use the mouse in the terminal. Apart from selecting text to copy into the clipboard. But that probably has the potential for trouble and interference with button clicks, etc. If one isnât careful.
How did the startup times develop?
Hmmm, thatâs a pity. I never realized that before. The following Go code
var b bool
âŠ
b |= otherBool
results in a compilation error:
invalid operation: operator | not defined on b (variable of type bool)
I cannot use || for assignments as in ||= according to https://go.dev/ref/spec#Assignment_statements. Instead, I have to write b = b || otherBool like a barbarian. Oh well, probably doesnât happen all that often, given that I only now run into this after all those many years.
Iâm inclined to remove all mouse support, except for moving windows. đ€ I originally wanted this to emulate the behavior of DOS programs, but a) mouse support is a lot of code, b) using the mouse is cumbersome anyway and I would rarely do it.
@shinyoukai@yume.laidback.moe I donât have a use for it, just curious, why did you fork it?
Also transfering interesting radio recordings I found on the used MiniDiscs to FLAC.
New leaked US military footage shows fast-moving UFO over Syria
The intriguing new footage was recently revealed by investigative journalists Jeremy Corbell and George Knapp. According to Corbell, the clip - which ⊠â Read more
TIL that #Processing 4 on Windows now has an installer!
I is not just a zipped folder anymore, I wonder if it will make it harder for people to use it on restricted school labsâŠ
TIL that #Processing4 on Windows now has an installer!
https://processing.org/download
I is not just a zipped folder anymore, I wonder if it will make it harder for people to use it on restricted school labsâŠ
TIL that #Processing4 on Windows now has an installer!
https://processing.org/download
It is not just a zipped folder anymore, I wonder if it will make it harder for people to use it on restricted school labsâŠ
Would you drink wine from a bottle made from seaweed instead of glass?
The federal government provides $2 million towards developing low-emissions alternatives to glass wine bottles using materials like seaweed and plant sugar. â Read more
When someone asks me why weâre still using PHP â Read more
Did Thomas Edison accidentally produce graphene 147 years ago ?
Officially isolated in 2004, graphene may have existed unintentionally in materials used long before that by Thomas Edison. First theorized in 1947 be⊠â Read more
@klaxzy@klaxzy.net Nope, not IONOS, but we use them a lot at work. To be honest, I consider them one of the better providers (at least regarding the IaaS stuff that we do). đ
When the sales rep suddenly comes to grab us for a client meeting â Read more
The rise of AI psychosis: can AI trigger or exacerbate mental illness?
As more and more of us come to rely on AI in our daily lives, a psychiatrist looks at the potential consequences. Alexandre Hudon: Artificial intellig⊠â Read more
Every single year I complain we should have an independent survey of Python users, not of âPython developersâ, as many people who use Python do not identify as professional software developers (https://ciberlandia.pt/@villares/109885982178235703) and the questions in the survey make no sense for them. We should have someone doing serious research designing an unbiased survey, not a software firm like Jetbrains doing market research.
Every year I fail to do something effective about this.
[Reposted publicly with some tweaks]
Free solo climber Alex Honnold scales skyscraper without any ropes
The daredevil climber is well known for his ascents of impossibly tough routes without using any safety equipment. For most people, climbing up a moun⊠â Read more
Americans in six US states warned about the threat of âexploding treesâ
A peculiar phenomenon that occurs only during periods of particularly cold weather has been raising eyebrows recently. If you happen to be strolling t⊠â Read more
What a beautiful, beautiful 0°C Sunday arvo and evening! The weather forecast delayed the snow by the minute. An hour or so after it finally started very, very lightly, I headed off for the woods to check out the lake again. Unfortunately, with the fresh snow layer, the crazy wild surface texture of the ice sheet wasnât visible anymore. But it brought some other nice views and photo opportunities.
I initially thought that I just go for a quick turn. However, with the snowfall a wee bit increasing I was hooked and kept going. Visibility was poor, but the snow blankets just looked too stunning. The road surfaces were quite slippery, so I often just walked alongside the pathways. On downhill slopes I had some good fun sliding down the road on my feet. With varying success. Luckily, I managed not to fall.
On the summit of the mountain the twigs had those absolutely magnificently looking windblown crystal coverings. Awwwwwww! They never get old. It was already getting dark, so the camera was tired and wanted to sleep. The snow program then made use of the flash and Iâm quite pleased with how these shots turned out.
Two deer crossed the road in front of me and ran into the woods, that was sight for sore eyes. Although I felt bad that they had to flee from me in this white terrain. By the time I got home, the snow had accumulated around eight centimeters in height, even in town down in the valley. Walking on this fresh snow is just amazing. And I love the sound it makes. Today, the snow consistency must have been just right, because the crushing sound was really loud.
I cannot recall that I had frozen hair and beard before, but today, there was a thick ice buildup. In case I had, it was definitely never this much. Felt really cool.
Enough of this preliminary skirmishing, there ya go: https://lyse.isobeef.org/waldspaziergang-2026-01-25/
Has a bit of a long history story behind this, where last year at work we were reading this book called Engineering a Safer World and initially came across a service called Speech Reply that allowed me to upload a PDF copy of the book and start to read it, but unfortunately, the free trial right now before I can finish reading it turns out that Speech Reply service cost a whopping US$30 a month and expected me to pay a full year upfront, which was well over US$300 just for one fucking book! So I sent their sales and support staff a message kindly asking if it were possible to just pay for the audio transcription of just a single book or to change to a monthly subscription fee, to which they refused, so basically in the end I got very angry and told them to go fuck themselves and built my own service. A year later here we are :-)
Another project where Iâm going to use my terminal widget toolkit is a hex editor. This is still very young, obviously, and thereâs a lot of work to do (both in the toolkit and this particular application), but Iâm making some progress:
https://movq.de/v/2bae14ed16/vid-1769283187.mp4
Since this program is UTF-8 clean (I hope), you can do things like enter multi-byte UTF-8 sequences or paste them from the system clipboard (another hex editor I just tried failed to do this correctly):
https://movq.de/v/e9241034c1/vid-1769283755.mp4
Under the hood, Iâm using mmap() with MAP_PRIVATE, which is really cool: I get the entire file as a byte array, no matter how large it is, no need to actually read it upfront; and MAP_PRIVATE means that I can write to this area however I like without changing the underlying file. The kernel does copy-on-write for me. Only when you hit Save, it will write to the filesystem. And itâs just a couple lines of code. The kernel does all the magic. đ„ł
Your supermarket apple could be a year old. How is that possible?
Apples only grow for three months of the year â but thanks to an ancient technique, that doesnât stop us grabbing one from the grocery store year round. â Read more
Egyptâs pyramids were built using an internal lifting system, study suggests
New research has proposed that counterweights and pulley-like mechanisms were used to build the pyramids. The effort and skill needed to construct som⊠â Read more
Spent basically the entire day (except for the mandatory walk) fighting with Pythonâs type hints. But, the result is that my widget toolkit now passes mypy --strict.
I really, really donât want to write larger pieces of software without static typing anymore. With dynamic typing, you must test every code path in your program to catch even the most basic errors. pylint helps a bit (doesnât need type hints), but thatâs really not enough.
Also, somewhere along the way, I picked up a very bad (Python) programming style. (Actually, I know exactly where I picked that up, but I donât want to point the finger now.) This style makes heavy use of dicts and tuples instead of proper classes. That works for small scripts, but it very quickly turns into an absolute mess once the program grows. Prime example: jenny. đ©
I have a love-hate relationship with Pythonâs type hints, because they are meaningless at runtime, so they can be utterly misleading. Iâm beginning to like them as an additional safety-net, though.
(But really, if correctness is the goal, you either need to invest a ton of time to get 100% test coverage â or donât use Python.)
My mate and I went on a hike earlier. Yesterday, we had lovely 12°C. But today, it was down to at most 4°C. Oh well. At least the sun was out and and there was just a tiny bit of wind. We knew upfont that scarf, beanie and gloves were mandatory. Especially at the more windy sections like up top the hills. The view was absolutely terrible, but we made the best of it.
With the sun shining on us during our lunch break at a forest edge bench, we still enjoyed the lookout in 01. I brought some old carpet scraps to sit on and was happily surprised that they isolated even better than I had hoped for. Some hot tea helped us staying warm.
After five hours we returned just after sunset. Iâm quite tired now, completely out of shape.
I love using #ThonnyIDE, and, on Linux, I can use !pip install, !jupyter lab, and !py5-live-coding mysketch.py on the interactive shell console, I wish this would work on Windows too :(
When the API Iâm using returns an error code with no explanation â Read more
@bender@twtxt.net Iâm already using it for tracktivity (meant for tracking activities and events, like weather, food consumption, stuff like that), which is basically a somewhat-fancy CSV editor:
I have a couple of other projects where I could use it, because they are plain curses at the moment. Like, one of them has an âedit boxâ, but you canât enter Unicode, because it was too complicated. That would benefit from the framework.
Either way, itâs the most satisfying project in a long time and Iâm learning a ton of stuff.
Pentagon obtains device connected to âHavana syndromeâ mystery
The US government has acquired a device that may be responsible for years of unexplained symptoms. The true nature of Havana syndrome, which is named ⊠â Read more
Canoes discovered in Wisconin lake are âolder than the Great Pyramidâ
A groundbreaking archaeological discovery indicates that an advanced culture existed in the US at the time of the ancient Egyptians. The find, which w⊠â Read more
Iâm trying to implement configurable key bindings in tt. Boy, is parsing the key names into tcell.EventKeys a horrible thing. This type consists of three information:
- maybe a predefined compound key sequence, like Ctrl+A
- maybe some modifiers, such as Shift, Ctrl, etc.
- maybe a rune if neither modifiers are present nor a predefined compound key exists
Itâs hardcoded usage results in code like this:
func (t *TreeView[T]) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive)) {
return t.WrapInputHandler(func(event *tcell.EventKey, setFocus func(p tview.Primitive)) {
switch event.Key() {
case tcell.KeyUp:
t.moveUp()
case tcell.KeyDown:
t.moveDown()
case tcell.KeyHome:
t.moveTop()
case tcell.KeyEnd:
t.moveBottom()
case tcell.KeyCtrlE:
t.moveScrollOffsetDown()
case tcell.KeyCtrlY:
t.moveScrollOffsetUp()
case tcell.KeyTab, tcell.KeyBacktab:
if t.finished != nil {
t.finished(event.Key())
}
case tcell.KeyRune:
if event.Modifiers() == tcell.ModNone {
switch event.Rune() {
case 'k':
t.moveUp()
case 'j':
t.moveDown()
case 'g':
t.moveTop()
case 'G':
t.moveBottom()
}
}
}
})
}
This data structure is just awful to handle and especially initialize in my opinion. Some compound tcell.Keys are mapped to human-readable names in tcell.KeyNames. However, these names always use - to join modifiers, e.g. resulting in Ctrl-A, whereas tcell.EventKey.Name() produces +-delimited strings, e.g. Ctrl+A. Gnaarf, why this asymmetry!? O_o
I just checked k9s and theyâre extending tcell.KeyNames with their own tcell.Key definitions like crazy: https://github.com/derailed/k9s/blob/master/internal/ui/key.go Then, they convert an original tcell.EventKey to tcell.Key: https://github.com/derailed/k9s/blob/b53f3091ca2d9ab963913b0d5e59376aea3f3e51/internal/ui/app.go#L287 This must be used when actually handling keyboard input: https://github.com/derailed/k9s/blob/e55083ba271eed6fc4014674890f70c5ed6c70e0/internal/ui/tree.go#L101
This seems to be much nicer to use. However, I fear this will break eventually. And itâs more fragile in general, because itâs rather easy to forget the conversion or one can get confused whether a certain key at hand is now an original tcell.Key coming from the library or an âextendedâ one.
I will see if I can find some other programs that provide configurable tcell key bindings.
@movq@www.uninformativ.de Sorry, I meant the builtin module:
$ python3 -m pep8 file.py
/usr/lib/python3/dist-packages/pep8.py:2123: UserWarning:
pep8 has been renamed to pycodestyle (GitHub issue #466)
Use of the pep8 tool will be removed in a future release.
Please install and use `pycodestyle` instead.
$ pip install pycodestyle
$ pycodestyle ...
I canât seem to remember the name pycodestyle for the life of me. Maybe thatâs why I almost never use it.
German UFO center received record number of sighting reports last year
The UFO phenomenon is not just prevalent in the US - people across Europe have also reported their own close encounters. Known as the Central Research⊠â Read more
Since I used so much Rust during the holidays, I got totally used to rustfmt. I now use similar tools for Python (black and isort).
What have I been doing all these years?! I never want to format code manually again. đ€Łđ
@lyse@lyse.isobeef.org Itâs not super comfortable, thatâs right.
But these mouse events come with a caveat anyway:
ncurses uses the XM terminfo entry to enable mouse events, but it looks like this entry does not enable motion events for most terminal emulators. Reporting motion events is supported by, say, XTerm, xiate, st, or urxvt, it just isnât activated by XM. This makes all this dragging stuff useless.
For the moment, I edited the terminfo entry for my terminal to include motion events. That canât be a proper solution. Iâm not sure yet if Iâm supposed to send the appropriate sequence manually âŠ
And the terminfo entries for tmux or screen donât include XM at all. tmux itself supports the mouse, but Iâm not sure yet how to make it pass on the events to the programs running inside of it (maybe thatâs just not supported).
To make things worse, on the Linux VT (outside of X11 or Wayland), the whole thing works differently: You have to use good old gpm to get mouse events (gpm has been around forever, I already used this on SuSE Linux). ncurses does support this, but this is a build flag and Arch Linux doesnât set this flag. So, at the moment, Iâm running a custom build of ncurses as a quick hack. đ And this doesnât report motion events either! Just clicks. (I donât know if gpm itself can report motion events, I never used the library directly.)
tl;dr: The whole thing will probably be âkeyboard firstâ and then the mouse stuff is a gimmick on top. As much as Iâd like to, this isnât going to be like TUI applications on DOS. Iâll use âWindowsâ for popups or a multi-window view (with the âWindowManagerâ being a tiny little tiling WM).
Hey folks! We have recently had a wonderful new release of #py5, read about the new 3D trimesh integration feature and the matplotlib TextPath integration.
That release was quickly followed by a release to fix some small issues that surfaced this last week. Please check out py5 0.10.9a1 and join us at https://github.com/py5coding/py5generator/discussions to share your experiences!
#CreativeCoding #Processing #Python #genuary (sorry for the hashtag spamming, I couldnât resist!)
Oldest known evidence of poison use in hunting discovered in South Africa
The discovery of poisoned arrow tips dating back 60,000 years has served to rewrite the history books once again. Marlize Lombard: The oldest evidence⊠â Read more
Declassified UK UFO files reference interest in obtaining alien technology
Newly published files from the UKâs Defence Intelligence Staff reference UFO cases from the 1980s and 1990s. The US is not the only country to have pu⊠â Read more