social.coop is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Fediverse instance for people interested in cooperative and collective projects. If you are interested in joining our community, please apply at https://join.social.coop/registration-form.html.

Administered by:

Server stats:

482
active users

#terminal

28 posts25 participants3 posts today

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 figured #swad's password file management tool (swadpw) should really *ensure* that when reading a password from the #terminal, prompts are printed to exactly that terminal.

Well, I already check whether standard input *is* a terminal. In that case, I assume it *should* be writable. It certainly *is* writable on #FreeBSD and #Linux. But I can't find any guarantee looking at #POSIX specs 🤔.

Ok, so I wrote a weirdo function to provide fallbacks. 🤪 Is this taking it too far? And how would I ever test these fallbacks? 🙈

Claude Code is an agentic AI coding tool by Anthropic, running in your terminal to help edit, test, and understand code using natural language. Supports memory, permissions, automation, and team workflows. Security and privacy are built in. In beta; feedback helps shape its development. #AI #Coding #DevTools #ClaudeCode #Terminal #Anthropic docs.anthropic.com/en/docs/age

AnthropicClaude Code overview - AnthropicLearn about Claude Code, an agentic coding tool made by Anthropic. Currently in beta as a research preview.

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

Does anyone know of a #text #editor, which runs in a #Linux #terminal, and uses only the characters: lowercase a-z, 0-9, comma, and period, in commands?

I want such an editor to ease my life on #Termux in Android, because these characters are the only ones immediately accessible on a standard Samsung keyboard, without the use of symbol keys.

And no, #vim doesn't fit the bill, because it needs Esc, ":" and "$"; #emacs and #nano are out because of the Ctrl and Alt keys, conspicously absent from mobile keyboards.

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