paulox, to random
@paulox@fosstodon.org avatar

RT @ismonkeyuser

Sacrifice (https://monkeyuser.com/2024/sacrifice/)

“Deprecation is like a polite warning saying, Hey, this function had its glory days, but now it's heading towards retirement. But don't worry, it's not like it'll stop working immediately. No, no, it'll just linger around, potentially causing future headaches, gently nudging you to change your ways before it finally breaks your entire project in the next big update.”

minioctt, to web Italian

Colpo di estremamente radicale per risolvere un annoso : il creare una data , che non abbia bisogno di grande interattibilità (vedi un social network, o un CMS), senza dover mantenere 2 separate e quindi impazzire, facendola funzionare sia con un che totalmente senza… ossia, come unire in una sintesi circa accettabile i due maggiori paradigmi del ? 🤔️

  • Quello antico, delle prime , dove il server genera tutto l’HTML e il browser lo visualizza com’è, spesso con (quasi) zero (vedi la Spacc BBS). 📦️
  • Quello moderno, dove nel si espongono API (spesso JSON REST), e il fronte viene sviluppato a parte come app che gira totalmente lato , con il che richiede pezzetti di dati e fa i suoi iperprocessamenti. 💱️

Ormai quello antico non si usa quasi mai per nuovi, perché gli svantaggi sono pesanti appena si vuole andare un po’ più in là: per tappare i buchi nel progetto medio si finirebbe a dover scrivere talmente tanto , che a questo punto era meglio fare tutto nel secondo modo, senza menzionare i modelli e le da esporre nel server che altrimenti non si sarebbero implementati. Però, le webapp antiche girano bene anche sul computer tascabile meno performante (average Ximi), sui browser vecchi, e spesso sono le uniche che vanno quando tutto il resto ti lascia a piedi. D’altro canto però, anche se in teoria quella potrebbe funzionare , magari mostrando dati cachabili, se è sviluppata in modo attaccato al server ecco allora che non si può fare nulla: muore il server, muore tutto. 💣️

Quindi la mia paxxerella, dato che devo fare banalmente una come frontend per un altro servizio già esistente, ma voglio i vantaggi appena millantati: sviluppare con i paradigmi in un framework JS adatto, che giri sia in Node che nel browser. A quanto pare, qualcuno ci ha pensato prima, e qualcosa di già fatto ho trovato (Express+FrontExpress, Koa+Koa-Client, Rill)… ma è tutta roba ormai abbandonata, che o non funziona (ho provato) o ha altre . Te pareva che trovavo mai qualcosa di buono già pronto… Però, in un quarto d’ora ho tirato su uno scheletrino, giusto per poter partire per questa via. ☠️

Rapido : questo (giusto da , non fa nulla se non mostrare questo testo e far navigare tra pagine) gira sia come server su , che come script in una pagina totalmente , e l’esperienza non cambia. Percepisco il potenziale, continuerò così. 😤️https://octospacc.altervista.org/2024/02/07/frontendare-lato-client-come-fossimo-nel-backend/

simplescreenrecorder-2024-02-07_17.05.35

fosslife, to random
@fosslife@fosstodon.org avatar
jerry, to random

Happy Patch Tuesday to those that celebrate!

Also, I have been wondering, as code bases go, might Windows be the one with the largest number of critical CVEs?

cazabon,

@jerry

Besides the sheer size of the , Windows' fanatical to backwards means there's a lot of really old code still in use. I suspect code written 20+ years ago is fairly likely to contain security problems that would never get written today.

LexGear, to gamedev
@LexGear@mastodon.gamedev.place avatar
petervanderdoes, to vim
@petervanderdoes@mas.to avatar

You are not impressing me when you say during a job interview that you use VI as your editor of choice for writing code. If anything it's a not notch in the do-not-hire column.

I'm all for knowing how to use VI but there are better options for writing code in a large code base.

iamdtms, to opensource
@iamdtms@mas.to avatar

Bootscore (HU): A powerful, free Bootstrap starter theme for WordPress. "Magyar, thanks to Dohány Tamás"
https://bootscore.me/documentation/translations
https://github.com/iamdtms/bootscore-hungarian

iamdtms, to opensource
@iamdtms@mas.to avatar

Bootscore (HU): A powerful, free Bootstrap starter theme for WordPress. "Magyar, thanks to Dohány Tamás"
https://bootscore.me/documentation/translations
https://github.com/iamdtms/bootscore-hungarian

publiccode, to opensource

Are you wondering about codebase stewardship's importance in governments using Open Source?

Here are 4 quick reasons:

  1. long-term thinking
  2. maintenance
  3. sustainability
  4. security

Do you steward a codebase, please add more reasons why we should prioritize codebase stewardship

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • rosin
  • ngwrru68w68
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • khanakhh
  • slotface
  • everett
  • vwfavf
  • kavyap
  • provamag3
  • osvaldo12
  • GTA5RPClips
  • ethstaker
  • tacticalgear
  • InstantRegret
  • cisconetworking
  • cubers
  • tester
  • anitta
  • modclub
  • Leos
  • normalnudes
  • JUstTest
  • All magazines