Zum Inhalt der Seite gehen


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

My employer is looking for a Junior and a Senior Web Developer in Wallisellen, Switzerland. Please feel free to share and/or message me privately or publicly, if you want to know more about the company.

lzlabs.peoplehr.net/Pages/JobB…
lzlabs.peoplehr.net/Pages/JobB…

#hiring #jobs #JeRecrute (pas moi)


friendica (DFRN) - Link zum Originalbeitrag

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?

Image/Photo looks more like

Image/Photo as opposed to


friendica (DFRN) - Link zum Originalbeitrag

Good morning, currently reading a book called:

10 PRINT CHR$(205.5+RND(1)); : GOTO 10

The book's title and subject is the one liner that produces a maze on the Commodore 64 BASIC V2. In one of the chapters the books authors consider ports to other 8 bit systems, as well as modern scripting languages, using unicode characters. Here is their port to perl:

perl -e 'binmode STDOUT,"utf8";{print chr(9585.5+rand);redo}'

Got me inspired, here are my attempts for python (the second one cheats a bit, as it uses POSIX shell to format the script):

python3 -c 'import random;exec("while True:\n\tprint(chr(int(9585.5+random.random())),end=\"\");")'
printf "import random\nwhile True:\n\tprint(chr(int(9585.5+random.random())),end='')" | python3 -

and php (still no native unicode support, so have to build the 3 bytes for the utf-8 symbol one by one):

php -r 'while(1){echo chr(226),chr(149),chr(177.5+rand(0,1));}'

Als Antwort auf elrido

bash:

bash -c 'while true;do printf %b "\U$(printf %08x $((9585 + $RANDOM % 2)))";done'


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

PrivateBin 1.3.5 released - Fixing several smaller issues, adding new translations privatebin.info/news/v1.3.5-re…

friendica (DFRN) - Link zum Originalbeitrag

Many folks don't know that the Unicode standard is actually much older then they think. Here's the spec as of 1889 ;-)

friendica (DFRN) - Link zum Originalbeitrag

Hach, das war damals das erste Meme dem ich im Web über den Weg gelaufen bin. Schön, dass Archive.org daran arbeitet Flash-Animationen auch für künftige Generationen zu erhalten! #MakeTheWebWeirdAgain

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

While grep and sed are commoly used, awk fills a valuable niche when processing structured text, avoiding multiple pipes or more complicated regex extractions. Here is a handy flowchart to pick the ideal tool for your text processing task:

4


A plaintext chart and a simple example making use of several awk features can be found here:



friendica (DFRN) - Link zum Originalbeitrag

Small tools to use as (non-sharable) sketchpads - if you need a quick spreadsheet calculation or text editor and are to lazy to open a terminal. Good example of #minimalism and very #privacy minded.

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

@Retrocomputing Forum


Liebe Freunde des gepflegten Alteisens! Kommendes Wochenende ist Vintage Computing Festival Berlin 2020 vcfb.de/2020/), und ihr könnt das alle besuchen, ohne auch nur einen einzigen Fuß vor die Tür zu tun. Ich bin dieses Jahr leider nur passiv dabei. Schade finde ich insbesondere, dass dieses Jahr die Fotografiererei auf der Strecke bleiben wird: flickr.com/search/?user_id=529… #vintagecomputing #retrocomputing #vcfberlin #vcfb

friendica (DFRN) - Link zum Originalbeitrag

Everything you always wanted to know about punch card data encoding, but were afraid to ask:

@Retrocomputing Forum #RetroComputing



Unbekannter Ursprungsbeitrag

friendica (DFRN) - Link zum Originalbeitrag
elrido
Falls Du einen hast und das Display noch funktioniert - Quietscht Deiner auch so, beim Aufklappen? Bei meinem habe ich deswegen versucht das Scharnier etwas zu ölen, aber es ist immer noch recht laut. Auch habe ich den Bolzen wie im PoFo-Wiki beschrieben bearbeitet, um hoffentlich die Lebensdauer des Bildschirmkabels etwas zu verlängern.

friendica (DFRN) - Link zum Originalbeitrag

Das Gerät (32620) hinter dem Zahlensender

friendica (DFRN) - Link zum Originalbeitrag

Having fun learning how to use flex box CSS rules by playing this tower defense game:

friendica (DFRN) - Link zum Originalbeitrag

Tips for Sinclair ZX81 restoration projects.
Fun (x)

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

RT @Esquiring - Sufficiently advanced data recovery is indistinguishable from dark cybernetic ritual:
Fun (x)


friendica (DFRN) - Link zum Originalbeitrag

Spass am weniger bekannten 8-Bit-Gerät - BASIC-Labyrinth auf den KC 85/4 portieren

friendica (DFRN) - Link zum Originalbeitrag

Duff's device (ca. 1984)

register n = (count + 7) / 8; /* count > 0 assumed */

switch (count % 8)
{
case 0: do { *to = *from++;
case 7: *to = *from++;
case 6: *to = *from++;
case 5: *to = *from++;
case 4: *to = *from++;
case 3: *to = *from++;
case 2: *to = *from++;
case 1: *to = *from++;
} while (--n > 0);
}

Via jargon file, Kommentar von Tom Duff



friendica (DFRN) - Link zum Originalbeitrag

Oh, cool: Wenn man die Nachricht vom Enigma Coin aus dem Open Enigma for dummies Handbuch entschlüsselt, stösst man auf ein Geocache-Rätsel in der Schweiz. Ich bin dann mal Beschäftigt.

friendica (DFRN) - Link zum Originalbeitrag

Der wahrscheinlich kleinste SMS gateway der Welt: VoCore2 + OpenWRT + smstools + USB-GSM-Modem

friendica (DFRN) - Link zum Originalbeitrag

Verschiedene Raketen-Stufen und deren Tankinhalt im Flug visualisiert:
If Rockets were transparent
space (x)

friendica (DFRN) - Link zum Originalbeitrag



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

Dinge die Programmierer meinen über die Welt zu Wissen:


"Hausnummern sind immer ganze Zahlen!"
Ein Schild mit der Hausnummer "Savoyen Straße 2 1/2".
Als Antwort auf elrido

Seien wir froh, müssen wir uns nur mit den modernen Datums- & Zeit-Problemen herumschlagen. Hier hat jemand eine ähnliche Liste mit Ausnahmen in alt-römischen Kalender-Problemen zusammengetragen:

Dealing with Time in the Roman Calendar


friendica (DFRN) - Link zum Originalbeitrag

Zwar von Google, aber enthält sehr interessante Informationen: google.com/covid19/mobility/

Zeigt eindrucksvoll was man aus den Metadaten alles rauslesen kann, wenn man Zugriff auf all das hat.


friendica (DFRN) - Link zum Originalbeitrag

PrivateBin v1.3.4 released - Fixing HTML entities, custom expiration, pasting into password field
privatebin.info/news/v1.3.4-re…

friendica (DFRN) - Link zum Originalbeitrag

Neue Services:
- test.dssr.ch/ - Infos zur eigenen Verbindung mit dem Webserver auf (IP, Verschlüsselung, etc.)
- meet.dssr.ch/ - video meetings, etherpad, screensharing
Hinweise und Verbesserungsvorschläge sind herzlich willkommen!
Als Antwort auf elrido

Nachtrag: Jitsi Wasserzeichen entfernt. Das Etherpad kann man auch direkt nutzen ohne meeting unter meet.dssr.ch/etherpad/


friendica (DFRN) - Link zum Originalbeitrag



M13: The Great Globular Cluster in Hercules

Image Credit & Copyright: Eric Coles and Mel Helm

apod.nasa.gov/apod/ap200319.ht… #APoD
Image/Photo

#APoD space (x)