Skip Navigation
Anzû - 𒀭𒉎𒂂𒄷
Anzû - 𒀭𒉎𒂂𒄷 @ anzu @items.minimals.org

Stochastic Hacker - Careless Aleatory Specialist - Professional Nonsense Counselor

Posts
0
Comments
13
Joined
4 mo. ago
  • As I often say, industrial languages must be distinguished from academic or research languages. Industrial languages are born out of industrial needs, they are pragmatic and often dirty. Probably the ones you have to deal with in your work. Fortunately I don't have to answer to anyone in my choices and I can use what I want for the most part. There are many languages suitable for teaching without lapsing into toy language. There is no politics in a programming language but rather in its use and software that is produced with it. Do we want to fall into defining right-wing for imperative programming and left-wing for logic? OOP? Functional? :D
    Oberon, Oberon. How many lines of code did you write in Oberon or ComponentPascal? Come on, let's be serious. I probably wrote more in Oberon/ComponentPascal than you.
    Interesting Oberon? Yes it was twenty years ago but because the OberonSystem was interesting. Is it still? Fads come and go and sooner or later it'll be back too, you just have to wait for.
    You want to teach Oberon? Do it, do less wanking and do it. You will gain time from the search for the perfect programming language. Perfection is in the language of god alone, I'm basking very well in the imperfection of language of the devil. :D

    CC: @[email protected] @[email protected] @[email protected] @[email protected]

  • Programming languages are formal languages and must adhere to a higher level of rigour than natural languages, they cannot be ambiguous.
    They are not strange, they just have to be able to describe a very often complex reality. Beyond the simple hello world there are a myriad of problems to solve. Designing a language with three or four simple constructs is not difficult, but how to use it to describe complex problems? Simplicity of language but complexity of code? To achieve simple code in the sense of easily readable code, we often use not so simple languages, languages with hidden traps that only experts are able to master.
    What is needed, possibly, are languages with a low entry level and an expert teacher.
    In any case, programming is not easy, it requires organisational skills, abstraction and generalisation, analysis and so on. Probably a mindset that not everyone has and that must be accompanied, if not prone to such practice, by years of study and practice.
    We have talked several times about teaching programming to kids. Each time you try to bring up the subject by not addressing the real issue: the kid cognitive path. It's not the in language itself, but in the right time to teach. There are many suitable languages and some integrated environments to do this without having to reinvent the wheel, especially ignoring the kid's cognitive capacity. If at a certain age they are incapable of abstracting, there is no teaching that matters.
    On the discourse that they can understand better than an adult, I disagree, maybe an old man but not an adult in his full mental faculties.
    What would explicit language mean? I assume you mean imperative? Not only imperative languages are explicit. What does explicit mean? Not contain syntactic sugar? For some languages some structures are syntactic sugar and for others the same structures are not. What does explicit mean then?
    The clarity you find in an Oberon code others may find in other code, even assembly. You are not able to affirm the clarity of a language you know (obviously readable for you) and negate it for one you don't. Too much easy don't think? I rewrote, for example, that code in OCaml and to me OCaml is clearer than Oberon code and I know both languages. Who is right?
    In your language, with not inconsistencies (maybe), you are at the dilemma of the simplistic and the useful. Inevitably you fall in 25 years as a programmer, problems are probably real and cannot be ignored. A programming language must be able to deal with these problems, trying to be readable, but above all effective.
    One sometimes errs on the side of presumption, thinking that the multitude of people who have tried their hand at language development are therefore demented. That only you can solve the problems of the development world.
    No one escapes their own experience, the only one who could do so would be god. Does this entity exist outside of experience? ... but, let's drop this.
    As I told you, the idea that programming for everyone is not only utopian but myopic. People should have a critical approach to software before they know how to program, the reverse leads to developers with an ethical sensibility equal to a tick.

    CC: @[email protected] @[email protected] @[email protected] @[email protected]

  • Certo fai tutto sul VPS se lo hai, oppure su un PC a casa se hai un IP statico. Se lo hai dinamico e vuoi tenerlo a casa hai il problema dei certificati SSL. Per quello che so puoi averli se paghi il servizio, quelli gratis non lo fanno. Parlavo in termini di prova. In produzione vai in VPS ovviamente. Il dominio puoi non prenderlo subito, sempre per test, imposta un dominio di fantasia nel file hosts e nel webserver che risponde. Lo vedi tu solo o chi ha impostato in hosts il dominio. Fai le prove poi migri tutto. 😉

  • No niente root. Se segui il post che ho messo si capisce, credo

  • Fatto già, modificato, compilato e lanciato.

  • ti ho risposto fischi per fiaschi :D
    con snac a volte è intricato il botta e risposta :) mi riferivo al post messo
    Comunque si, penso non ci siano problemi per la federazione. L'unico problema sono le porte, che la 80 e 443 sono usabili da root (o chi può, ma non utente normale). Quindi o fai girare snac come root, o ti alzi i privilegi, oppure gli assegni una porta e poi devi riferirla sentro le impostazioni snac.

  • su un raspberry ci fai girare linux quindi vai bene. La mia idea era di avere una istanza che giri su un telefono Android, così da portartela dietro :D

  • viene servito da un vps, quindi non hai problemi

    https://anzu.minimals.org/pippo

    finché non lo spengo
    :D

  • lo fai girare a casa su uno scassone recuperato, DNS dinamico (se hai una fornitura che ti da un IP statico meglio) :)
    Per provare, poi al VPS ci pensi dopo.

  • @feddit.it prova

  • CC: @[email protected]

    Che ti serve? :D

    ps: letto dopo il resto.

  • @feddit.it prova

  • CC: @[email protected]
    Puoi usare per compilarlo questo mio script: https://gitlab.com/minimalprocedure/build-snac-git
    nel repo anche lo stile css che uso e un diff per aggiungere delle funzionalità markdown.