Paolo Redaelli https://monodes.com/predaelli A civil engineer with a longlife fondness for Software Libero Thu, 19 Dec 2024 11:05:55 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 91795679 FUSS – The GNU/Linux Distribution for a Digitally Sustainable School https://monodes.com/predaelli/2024/12/19/fuss-the-gnu-linux-distribution-for-a-digitally-sustainable-school/ https://monodes.com/predaelli/2024/12/19/fuss-the-gnu-linux-distribution-for-a-digitally-sustainable-school/#respond Thu, 19 Dec 2024 21:46:00 +0000 https://monodes.com/predaelli/?p=12136

FUSS


The GNU/Linux Distribution for a Digitally Sustainable School

FUSS is a complete GNU/Linux solution (server, client and desktop/standalone) based on Debian for managing an educational network.

It is at the same time also a digital sustainability project that since 2005 allows students and teachers to use at home the same IT tools installed at school, freely and at no cost.

Download installation images from https://fuss.bz.it/page/download

]]>
https://monodes.com/predaelli/2024/12/19/fuss-the-gnu-linux-distribution-for-a-digitally-sustainable-school/feed/ 0 12136
Is HTML A Programming Language? (Webbed Briefs) https://monodes.com/predaelli/2024/12/19/is-html-a-programming-language-webbed-briefs/ https://monodes.com/predaelli/2024/12/19/is-html-a-programming-language-webbed-briefs/#respond Thu, 19 Dec 2024 21:11:00 +0000 https://monodes.com/predaelli/?p=12133 Today I stumbled into this Fediverse post:

A great conversation in the supporter Discord/Matrix reminded me that it’s about time to share this fantastic item by @heydon.

Anyway, yes HTML is a programming language and folks who argue with this statement in my comments will be muted, blocked, defederated, or all three.

https://briefs.video/videos/is-html-a-programming-language

From https://mastodon.uno/@vkc@linuxmom.net/113669662074489728

I was naively answering a sound no, then I took the time to read the transcription at Is HTML A Programming Language? (Webbed Briefs) (also copied at page 2 of this post).

Well, that’s an interesting reading.

As an aging grumpy person I even missed the fact that CSS is Turing complete! Indeed it is, see https://brandondong.github.io/css-turing-machine/

I tend to agree with mausmalone who wrote

@vkc I work on web dev and I personally have never considered HTML a programming language and I never understood what the debate was all about or why it was contentious. I’m glad now that I’ve never bothered to argue about it, because I wholeheartedly believe that web professionals and web work are undervalued.

From https://mastodon.social/@mausmalone/113670088334657621

As far I could understand the issue is undervalueing work made by other people and overvalueing your own work

Title:Is HTML A Programming Language? Published:5th March 2022

It’s been a long time! Glad to be back. In this episode, I ask a question that has never been asked before and has certainly not in any way caused a great number of arguments and nobody has ever been blocked or muted on social media for asking it. Bon appétit.

Help Ukraine defend itself.

These things take a solid frickin’ week to make so, if you’re able, support me on Open Collective or buy a T-shirt or hoodie!

Transcript ↓

In this episode of Webbed Briefs, I shall be asking the question, “Is HTML A Programming Language?” And—spoiler alert—I shall be answering that question, quite emphatically, with this word: “Yes”, which is the standard British English term for “Yes”.

That’s the easy part out of the way. Now let’s examine some of the objections to the unequivocally true statement, “HTML is a programming language”.

(1) “You can’t write a program with HTML”

What is programming? Programming is giving computers instructions. It’s telling them what to do. Programming languages are grammars understood by and intended for computers.

With that in mind, your first clue that HTML is a programming language is that you don’t see HTML tags on a rendered web page. That’s because they are not intended to be seen and read directly by human visitors to that page.

Your second clue that HTML has gone and done some ruddy programming all up in your computer is the graphical topography of the web page you are looking at. Without HTML instructing the computer to structure and format it according to the HTML author’s instructions, it would look something like this.

(2) “HTML is not Turing complete”

Neither are the languages SQL, Sequel, or Skwool.

Turing completeness is one way of measuring the capacity of general purpose programming languages, not a test for programming per se.

HTML is a domain specific programming language, not designed for anything but rendering web documents: a singular but important purpose. I feel like this is a fairly simple diagram to understand. So this shouldn’t give you much trouble either. Or this.

(3) “HTML isn’t a programming language, it’s a markup language”

Sure, and this isn’t a quadruped, it’s a horse. A markup language is not a natural language; it has strict syntactical rules intended to be understood by computers. And the only reason we want computers to understand those rules is in order to tell the computer what to do AKA programming.

What you really mean when you say “HTML isn’t programming” is “HTML isn’t the kind of complex or impressive programming I—a person desperate to make claims of intelligence—could possibly lower myself to be associated with.” Which is all the more embarrassing for you when the HTML you do end up writing sucks so much ass.

(4) “You can tell HTML isn’t programming because it doesn’t have if statements”

First of all, yes it f**king does. But also: do you see any if statements on this, a punch card? Even one? No you can’t. And if punch cards “aren’t programming” then we’re missing a rather important antecedent to the programming that does fit your wild preconceptions.

Also, what the f**k is this expression? No if statements here, can’t be programming then.

Instead of getting hung up on specific language features and formats, a much simpler way of determine whether some text is programming or not is to try and use it to tell a human being to do something.

Director’s note: Forgiveness

And don’t be fooled by HTML pages still rendering when you write broken markup. That’s because it is a forgiving language—or rather, the browsers that render it are forgiving—not that it isn’t a programming language at all.

If you don’t believe HTML is a programming language because it is declarative and you simultaneously believe procedural JavaScript is improved by adopting a more declarative style, you may have brain worms.

Director’s note: Objection: HTML doesn’t even compile

Python, JavaScript, PHP, Perl, Ruby, and BASIC do not need to be compiled either. People are obsessed with making JavaScript into a compiled language but that’s another matter for another day.

(7) “HTML doesn’t do anything on its own, it needs a browser to work”

We’ve only just met, and this is crazy, but all programming needs something to program and an environment in which to perform that activity. Unless your intention is to, let’s say, sell the text representing an unexecuted program as an NFT, your program has no value in and of itself. NFTs don’t actually have anything but a purely transactional value anyway, but that’s beside the point.

Director’s note: Why Does It Matter If HTML is a Programming Language or Not?

If you expect HTML to manifest some sort of intrinsic worth like a rare mineral while accepting that other languages require runtime environments, that tells me you are applying more emotion than logic to the subject of whether HTML is or is not a programming language.

(It is one.)

(8) “If HTML is a programming language, then a Word document is a programming language”

A Word document is not a language at all, you absolute f**khead. You are reaching so hard to support your parochial views on programming, you’ve conflated markup with the graphical user interface of a proprietary desktop publishing application.

Director’s note: Why Does It Matter If HTML is a Programming Language or Not?

Well, programming is a relatively well paid occupation, largely because we consider it a difficult thing to do well. Even though, say, nursing or retail are probably a lot harder on a number of levels.

By othering HTML (and related languages like CSS) as just code and not really programming, the implication is that they do not deserve the same care and attention as other languages.

This can lead to a couple of unfortunate outcomes:

  1. People who specialize in HTML and CSS are not valued or paid as well as they deserve to be, or
  2. People who do so-called “real programming” are given the responsibility over a language they have no respect for because “anyone fucker can write this shit”

Skilled professionals go underpaid or can’t find work and the web itself becomes stuffed with hideous “div buttons”: keyboard and screen reader inaccessible faux button elements.

In summary:

  1. HTML is a declarative language
  2. HTML is a domain specific language
  3. HTML is a markup language
  4. HTML is a Turing incomplete language
  5. HTML is not a natural language
  6. HTML is a programming language
  7. And so is CSS
From https://briefs.video/videos/is-html-a-programming-language/

]]>
https://monodes.com/predaelli/2024/12/19/is-html-a-programming-language-webbed-briefs/feed/ 0 12133
Campanologia.it https://monodes.com/predaelli/2024/12/15/campanologia-it/ https://monodes.com/predaelli/2024/12/15/campanologia-it/#respond Sun, 15 Dec 2024 09:57:59 +0000 https://monodes.com/predaelli/?p=12127 Ieri sera ho scoperto www.campanologia.it – Portale di Ingegneria e Campanologia: Enciclopedia

Ma quanto è Web 1.0!

]]>
https://monodes.com/predaelli/2024/12/15/campanologia-it/feed/ 0 12127
Common Misconceptions about Compilers https://monodes.com/predaelli/2024/12/12/common-misconceptions-about-compilers/ https://monodes.com/predaelli/2024/12/12/common-misconceptions-about-compilers/#respond Wed, 11 Dec 2024 23:17:33 +0000 https://monodes.com/predaelli/?p=12124

A curated list of misconceptions about mainstream compilers.

Source: Common Misconceptions about Compilers

]]>
https://monodes.com/predaelli/2024/12/12/common-misconceptions-about-compilers/feed/ 0 12124
https://monodes.com/predaelli/2024/12/09/12118/ https://monodes.com/predaelli/2024/12/09/12118/#respond Mon, 09 Dec 2024 19:48:00 +0000 https://monodes.com/predaelli/?p=12118

https://domains.flazio.com/

Acquista adesso o trasferisci il tuo dominio .it a prezzo di costo. 

Il prezzo di 3,99€ è valido per tutti i rinnovi successivi. Senza costi nascosti

]]>
https://monodes.com/predaelli/2024/12/09/12118/feed/ 0 12118
Farewell buggy software! Welcome KOReader & Plato! https://monodes.com/predaelli/2024/12/09/farewell-buggy-software-welcome-koreader-plato/ https://monodes.com/predaelli/2024/12/09/farewell-buggy-software-welcome-koreader-plato/#respond Mon, 09 Dec 2024 17:27:36 +0000 https://monodes.com/predaelli/?p=12120 Since the native software of my Kobo aura is so buggy that always crash with certain EPUBs, after reaching a specific page I finally decided to follow the One-Click Install Packages for KOReader & Plato. I installed both KOReader and Plato.

I started trying KOReader. Needless to say it works like a breeze, and as far as I can tell it is quite faster that the native, buggy, crashing KOBO Reader

]]>
https://monodes.com/predaelli/2024/12/09/farewell-buggy-software-welcome-koreader-plato/feed/ 0 12120
https://monodes.com/predaelli/2024/12/07/12115/ https://monodes.com/predaelli/2024/12/07/12115/#respond Sat, 07 Dec 2024 21:54:42 +0000 https://monodes.com/predaelli/?p=12115 It seems to installing Nextcloud using quadlets is becoming quite fashionable. Some months ago I followed a guide from https://codeberg.org/mjack/nextcloud-quadlets, not I found another one at https://github.com/LorbusChris/nextcloud-quadlet.

I’m going to install it into my home server which is behind a NAT. I suspect I shall have to adapt them a little when generating the HTTPS certificate.

]]>
https://monodes.com/predaelli/2024/12/07/12115/feed/ 0 12115
Solo in italiano https://monodes.com/predaelli/2024/12/06/solo-in-italiano/ https://monodes.com/predaelli/2024/12/06/solo-in-italiano/#respond Fri, 06 Dec 2024 17:19:00 +0000 https://monodes.com/predaelli/?p=12106 Oggi scopro con mia somma sorpresa che la voce sulla “Statica delle strutture” su Wikipedia è disponibile solo in italiano!

Poi la voce generica della Statica è disponibile in quasi 70 lingue ed in inglese ora della fine, sapendo quali voci consultare si ritrovano gli stessi concetti e spiegazioni, ma per un neofita è piuttosto arduo.

]]>
https://monodes.com/predaelli/2024/12/06/solo-in-italiano/feed/ 0 12106
https://monodes.com/predaelli/2024/12/01/12085/ https://monodes.com/predaelli/2024/12/01/12085/#respond Sun, 01 Dec 2024 17:10:00 +0000 https://monodes.com/predaelli/?p=12085

“Con “nazionalismo” intendo in primo luogo la consuetudine di credere che gli esseri umani possano essere classificati come insetti e che interi blocchi di milioni o decine di milioni di persone possano essere con disinvoltura etichettati come “buoni” o “cattivi”. Ma in secondo luogo – e questo è molto più importante – intendo la consuetudine a identificare qualcuno con una singola nazione o un singolo gruppo, collocandolo al di là del bene e del male e non riconoscendo nessun altro dovere se non la promozione dei suoi interessi. Nazionalismo non deve essere confuso con patriottismo. Entrambe le parole sono quotidianamente usate in modo così vago che qualsivoglia definizione può essere messa in discussione, ma è necessario tracciare una distinzione, in quanto esse implicano due idee distinte e persino opposte. Con “patriottismo” intendo la dedizione verso un luogo specifico e uno specifico modello di vita, ritenuto il migliore nel mondo, ma senza il desiderio di imporlo agli altri. Il patriottismo è per sua natura difensivo, sia dal punto di vista militare che culturale. Il nazionalismo, al contrario, è inseparabile dal desiderio di potere. Il persistente obiettivo di ogni nazionalista è quello di assicurarsi maggior potere e maggior prestigio, non per sé stesso ma per la nazione o un altro gruppo in cui ha deciso di annegare la propria individualità.”

George Orwell, Note sul nazionalismo, 1945 ]]>
https://monodes.com/predaelli/2024/12/01/12085/feed/ 0 12085
WAAM (Wire Arc Additive Manufacturing) https://monodes.com/predaelli/2024/11/23/waam-wire-arc-additive-manufacturing/ https://monodes.com/predaelli/2024/11/23/waam-wire-arc-additive-manufacturing/#respond Sat, 23 Nov 2024 22:58:56 +0000 https://monodes.com/predaelli/?p=12066

Well… WOW!

 

]]>
https://monodes.com/predaelli/2024/11/23/waam-wire-arc-additive-manufacturing/feed/ 0 12066