Today I've worked on a little on my toy python-only Gtk UI Light Language (GULL), which is an experiment to write a lighter, more compact, UI definition file for #GTK instead of XML.
My experiment works only with python, as the code which parse and build widgets is all in python/py-gobject . It has also some nice functionality, like import other definition files as widgets and python module to connect functions to events. Oh and probably will ever support only Gtk3, because it's a toy, I'm lazy and I didn't started to look into Gtk4 yet...
I was thinking about writing a "converter" from my format into XML, to be able to use it via standard GtkBuilder.
My ugly code is here: git.sr.ht/~fabrixxm/gull
And now I stumbled on this jwestman.net/2021/10/22/a-mark… by @James Westman
I see we both come on that from the same thread on #GNOME discourse 😀
discourse.gnome.org/t/simplify…
A Markup Language for GTK
GTK has an XML-based format for declaratively constructing user interface components, but I've wanted to make a dedicated markup language for quite a while. This is my new prototype.www.jwestman.net
James Westman likes this.
Puoi guardare su osm se sono segnati gli attacchi degli idranti per evitarli!
(sorry)
Sabrina Web likes this.
a little bash script to run php-cs-fixer
only on changed and added php files between current branch and a base branch (defaults to develop
)
meant to be launched from tree root as bin/dev/check-php-cs.sh
Optional --fix
flag to automatically fix code.
paste.gl-como.it/LEtjbdMd#chec…
I had it around and maybe it could be useful...
... nom nom nom!
rag. Gustavino Bevilacqua likes this.
"Anziano ce sarai te!"
The stupid project of the week
This time, double the stupidity!
keys
The unnecessary CLI to manage SSH keys
git.sr.ht/~fabrixxm/keys
and a library from code used in keys
:
climatik
Create python command line interface from function definitions
git.sr.ht/~fabrixxm/climatik
(also on pypi)
Tobias likes this.
Now #pinephone with #megapixels take better photos than my everyday android 👍
like this
MarcusE1W reshared this.
Magari qualcunә qui se lo ricorda.
Never let reinvention of the wheel get in the way of a good programming exercise.
Vedere Twitter che traduce "thread" as in "discussion thread" con "Rocchetto di filo" mi indispone assai. Se avessi un account l'avrei già chiuso.
Fortunatamente non ce l'ho.
Sabrina Web :privacypride: likes this.
D'ora in poi però parlerò di rocchetti di discussione. sorry, non posso evitare.
(wtf, non è che sia un termine che salta fuori di rado nel contesto twitter...)
rag. Gustavino Bevilacqua likes this.
My quite big patch to #friendica has been merged into develop
. Thanks to @Hypolite Petovan for his patience rewieving the thing.
Now let the new bugs it creates come to me...
like this
Roland Häder likes this.
like this
Work in progress on "Collector"
Collector is a #GNOME collection manager based on lesana, still #wip. Lately I found the time (and the will) to get back to hack on it.
Collection entries now can be added and edited, using specific widget per field type, with input validation.
Field types are been updated to be in sync to latest lesana release.
( This collection can be browse online at linkopedia.gl-como.it/ )
A GtkSourceView allow edit yaml fields (with validation)
Still many thing doesn't works as it should: textviews expand instead of wrap text, settings dialog don't fit on phone, fields can't be removed nor ordered, git integration is to do and entry list view needs speed up...
Elena ``of Valhalla'' likes this.
I was puzzled on why #syncthing on my laptop was showing "2021-06-02" as last synchronization date with my #raspberrypi.
So I logged in my raspi via ssh, and magically the two devices started to sync.
A quick look at the raspberrpi's journal (# journalctl --since=today
) showed:
ago 02 17:22:20 raspberrypi systemd[32888]: pam_unix(systemd-user:session): session opened for user pi(uid=1000) by (uid=0)
[...]
ago 02 17:22:21 raspberrypi syncthing[32908]: [start] INFO: syncthing v1.12.1-ds1 "Fermium Flea" (go1.15.9 linux-arm64) debian@debian 2021-04-08 21:52:00 UTC
🤦
I had setuped Syncthing to start with a user #systemd service unit, so the service was running only when user had log in and was stopped when the user logs out!
I want the synced files to be own by the user, so I have to run Synchthing from a system unit, but as my user. Now.. I could copy the user service file and set up a system service file from there but.... the kind developers of Syncthing have done that for us already!
It's been a matter of
$ systemctl --user disable syncthing.service --now
$ sudo systemctl enable synching@pi.service --now
where pi
is the user Synching will run as... nice!
like this
yup. is a systemd session started from scratch by pam when the user logs in for the first time.
I put my hopes in the pinephone, that one day not too far will be usable as a daily phone :)
dr4Ke likes this.
Penguins on a Plane
questa è vecchia, recuperata grazie alla wayback machine. L'originale è del 2007. Purtroppo mancano le immagini di contorno
Trama:
Un'agente dell'FBI porta a bordo di un aereo dei pinguini, senza sapere che il personaggio seduto a fianco a lui è un dirigente microsoft.
Quando, per una turbolenza, i pinguini scappano dalla stiva facendo irruzione tra i passeggeri, il dirigente entra in panico e dirotta l'aereo, minacciando i piloti e le hostess con una copia di windows vista premium, urlando "developers! developers! developers!"
Sarà compito di un ornitologo in pensione (S.L. Jackson) riportare la situazione alla calma, ritornando a un mestiere che aveva lasciato per colpa di una tragica vicenda.
Confy 0.6.0
See changes here git.sr.ht/~fabrixxm/confy/refs…
ArchLinux AUR package is updated
aur.archlinux.org/packages/con…
Flatpak package is scheduled
flathub.org/apps/details/net.k…
Appena ho cominciato a mangiare sono stato circondato da una banda di piccoli dinosauri piumati senza paura.
Mi sentivo a metà tra un film disney e jurassic park...
Steffen K9 🍮 likes this.
NANOWAR OF STEEL - Der Fluch des Kapt’n Iglo (Official Video) | Napalm Records
Pre-order "Italian Folk Metal" here: https://smarturl.it/ItalianFolkMetal out July 2nd@Maurizio Merluzzo @Mark The Hammer / Marco Arata NANOWAR OF STEEL bass...YouTube
Fabio
in reply to Fabio • •The thing is going out of hand..
(data in screenhost is "fake": I just imported my outbox from @Fabrix.xm Needs mooooore work to handle AP in a way that's not too broken)