photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

264
active users

#terminal

4 posts4 participants0 posts today

Starting my own "Stone Lore" inspired by NK Jemisin. First seven are essentially the same.
Building from there.

1. A collapse will always come
2. All things change in a collapse
3. Beware the ground on loose rock. Beware hale strangers in a Collapse. Beware sudden silence.
4. Always remember what you are to yourself, & what you are to others.
5. The shake that passes will echo. The wave that recedes will come back. The mountain that rumbles will roar.
6. Breathe not the fine ashfall (PM2.5). Drink not the red water. Walk not upon warm soil.
7. Honor in safety. Survival under threat. Necessity is the only law.
8. The body fades. A leader who would last relies on more.
9. Honesty is risk. Duplicity is more dangerous. Vigilance is wisdom.
10. The stone that stands alone becomes furniture. The stone packed too tightly asphyxiates.
11. There is no mind without a body. There is no body without a mind. Both may fail.
12. Joy is a worthy aspiration. Surviving collapse is superordinate.
13. Those who seek mastery & subjugation in any endeavor, but especially in matters of the Earth, are best observed warily from afar.
14. All humans are human. All humans are animal. All humans are of the Earth.

Just found out that it is no longer possible to straightforwardly write HTTP/1 requests by hand on the #terminal.

Modern #Apache will reject #HTTP 1.x requests where the line endings are not CRLF, and as far as I know it's not possible on #Linux to type a CR using the keyboard. Ctrl+M should do it in theory, but when I try, it produces LF instead of CR for some reason.

Is there by any chance a way to make the Linux #console (or #KDE #Konsole) produce CRLF when I push the Enter key?

En Linux, si queréis cambiar la aplicación que abre los archivos de una determinada extensión utilizando la terminal, lo más sencillo es utilizar `mimeopen`. Por ejemplo, para elegir la aplicación que abrirá los pdf por defecto:

```
mimeopen -d .pdf
```

A continuación solo hay que elegir la aplicación que queremos usar por defecto.

I've released the first version of complexitty: a simple #Mandelbrot set explorer for the #terminal -- it's the successor and replacement for `textual-mandelbrot`. More features to come.

blog.davep.org/2025/04/20/comp

blog.davep.org · ComplexittyMuch like Norton Guide readers or the 5x5 puzzle, code that has fun with the Mandelbrot set is another one of my goto exercises. I've written versions in many languages, and messed with plots in some different environments, as varied as in VR on the web to wearable items. Back in the early days of my involvement with Textualize I wrote a deliberately worst-approach version using that framework. The whole thing was about taking a really silly approach while also stress-testing Textual itself. It did the job. Later on I did a second version that targets Textual. This time it did a better job and was the catalyst for building textual-canvas. This version was intended more to be a widget that happened to come with an example application, and while it was far more better than the on-purpose-terrible version mentioned above, I still wasn't 100% happy with the way it worked. Recently I did some maintenance work on textual-canvas, cleaning up the repository and bringing it in line with how I like to maintain my Python projects these days, and this prompted me to look back at textual-mandelbrot and rework it too. Quickly I realised it wasn't really sensible to rewrite it in a way that it would be backward compatible (not that I think anyone has ever used the widget) and instead I decided to kick off a fresh stand-alone application. Complexitty is the result. Right now the application has all the same features as the mandelexp application that came with textual-mandelbrot, plus a couple more. Also it's built on top of the common core library I've been putting together for all my own terminal-based Python applications. As time goes on I'll add more features. As with most of my recent TUI-based projects, the application is built with comprehensive help for commands and key bindings. and there's also a command palette that helps you discover (and run) commands and their keyboard bindings. Complexitty is licensed GPL-3.0 and available via GitHub and also via PyPI. If you have an environment that has pipx installed you should be able to get up and going with: pipx install complexitty It can also be installed with Homebrew by tapping davep/homebrew and then installing complexitty: brew tap davep/homebrew brew install complexitty

A new blog

I’ve been using Linux as my main operating system for a little while and I’ve been very content to pootle along using a GUI and not fretting too much about the terminal.

More recently I find myself fascinated by more ‘old school’ ways of working and wanting to make more use of plain text the bits of writing I do. So I’ve decided to learn a bit more about the Linux terminal and its commands, alongside how to use Vim. I might even give some thought to leaning a bit of scripting. It’s more than 10 years since I gave attention to any sort of coding: I don’t pretend to remember any of the perl and php I taught myself in the heyday of my blogging. But I’m arrogant enough to think that it can’t be beyond me. I might be getting old, but I refuse to accept that I’m past it!

So I’ve started a new blog, hosted on github, partly because git is also something I don’t understand and want to learn about. If you want to follow my journey, you can find it at CLI Adventures – Lightweight blogging about command line computing

I’m not really expecting anyone else to be interested, but thought I’d share just in case. I haven’t properly got to grips with Jekyll or GitHub yet, so there’s nothing pretty about it. It’s a work in progress, just like me.

#Linux #terminal #cli

Estou simplesmente encantado pelo navegador #Offpunk/ #XKCDpunk, desenhado pelo escritor belga @ploum. É um navegador para protocolo #Gemini, que roda totalmente no #terminal do sistema e que pode funcionar sem internet, mantendo páginas visitadas ou agendadas em cache.

Agora passo a maior parte do meu tempo no computador desconectado e a sensação é ótima. Eu adoraria que tivesse algum cliente para #Fediverso que funcionasse da mesma forma. Vocês têm notícias de algo assim?

Por favor, deem aquele :boostgif: gostoso.

@tecnologia