friendica (DFRN) - Link zum Originalbeitrag
#37c3

friendica (DFRN) - Link zum Originalbeitrag

Congratulations to Sergio Benitez on releasing rocket.rs 0.5.0! Thank you for this great framework. 👏

I got to follow rocket's journey to async and stable #rust with the PrivateBin directory service. Coming from Python flask apps, it is really easy to pick up and get going with your webservice, offering static & templated content, easy to create web forms and JSON APIs.

Thanks to rust's strict type system I could focus on the logic and didn't have to waste time double checking and casting data received by clients. If my API accepts an integer in a certain parameter, Rocket will ensure I only receive valid requests in my logic.

#rust

teilten dies erneut

friendica (DFRN) - Link zum Originalbeitrag

friendica (DFRN) - Link zum Originalbeitrag

friendica (DFRN) - Link zum Originalbeitrag

Field report on upgrading a rocket v0.4 application to v0.5


Als Antwort auf elrido

friendica (DFRN) - Link zum Originalbeitrag
Die Medien in diesem Beitrag werden Besuchern nicht angezeigt. Um sie anzuzeigen, melden Sie sich bitte an.

Not entirely serious question: Why does the Gnome Terminal icon represent an IBM PC DOS prompt instead of UNIX shell prompt? Is that what folks think of first, when they think of a command prompt?

looks more like

as opposed to

friendica (DFRN) - Link zum Originalbeitrag
Shell parsing is hard.

Yes, shell parsing is non-obvious - it does help enormously to understand that the shell takes what you type on the command line after you hit enter, parses it, replacing variables, expanding globs (wildcards) and other language constructs in the process and only then issues a system call, passing the resulting argv structure to the kernel for execution.

Exhibit A (source of the above quote): How the local shell ssh and the remote shell interact, in unexpected ways

Exhibit B: skarnet's introduction to the execline language design and grammar goes into further details of the argv structure

Exhibit C: How to use execlineb for nginx to wait for up to 10s on the startup of php-fpm, avoiding involvment of a shell process

friendica (DFRN) - Link zum Originalbeitrag

friendica (DFRN) - Link zum Originalbeitrag

Started looking into gemini space. Love how it feels - it's like the web ca. mid-90s. UI is back under your control and you can focus on reading the content instead of getting the site to work (because either you have issues with noscript turned on and sites requiring JS to display text or you have it disabled and have to click through modal windows informing you of cookie settings, sign up for that newsletter, etc. to get to the content).

I'm using Castor and wanted to merry it to my Gnome desktop, so clicking links in Firefox/Chromium opens them in Castor. Oh, and I got a gopher client for free with it as well. Was bummed when Firefox dropped gopher support. Here's how to register the gemini protocol in Gnome (and build castor):

friendica (DFRN) - Link zum Originalbeitrag

Maybe a concept we could evaluate for use in our fediverse software as well:

This forms a relative reputation system. As uncomfortable as it may be, one man’s terrorist is another man’s freedom fighter, and different jurisdictions have different laws - and it’s not up to the Matrix.org Foundation to play God and adjudicate. Each user/moderator/admin should be free to make up their own mind and decide which reputation feeds to align themselves with.

friendica (DFRN) - Link zum Originalbeitrag
Für mein erstes Projekt in Rust suche ich noch eine geeignete freie Lizenz. Da es sich um einen Dienst handelt, welcher hauptsächlich als Webseite genutzt wird, hatte ich an die AGPL gedacht. Mir fiel aber auf, das die meisten darin verwendeten Bibliotheken MIT und Apache lizenziert sind, was ich eher von Software kenne, die auch kommerziell genutzt werden soll. Für Empfehlungen die für oder gegen eine der genannten Lizenzen sprechen bin ich dankbar. #FollowerPower

friendica (DFRN) - Link zum Originalbeitrag
Die Medien in diesem Beitrag werden Besuchern nicht angezeigt. Um sie anzuzeigen, melden Sie sich bitte an.


How to move in the CLI / readline shortcuts. Perfect flashcard format, courtesy of Clément Chastagnol at clementc.github.io/blog/2018/0…

friendica (DFRN) - Link zum Originalbeitrag


Weil es mal echt an der Zeit ist:
Danke an Euch alle, die Ihr das Netz mit Euren Instanzen verschiedenster freier Software auch und gerade in dieser Zeit so nützlich macht.
Danke für alle Helfer und Maintainer des freien Internets. Danke #Fediverse
#floss #bleibtwachsam #decentralisation

friendica (DFRN) - Link zum Originalbeitrag

KVM upgrade / Debian Stretch upgrade