Technologist, Spaniard, male, 42
The plugin ecosystem for templating engines in Express is (still) larger than in Koa.
In particular, for #Handlebars, there seem to be just 3 in #Koa, and all quite outdated (last updated in 2016, 2017 and 2017).
Alternatives to #Handlebars:
Mustache: zero dependencies, and dead simple. Too simple? Being logic-less means that conditionals and loops are pre-cooked, and that may limit options.
Pug: main advantage and main drawback: its concise but idiosyncratic syntax, similar to that of #Slim — which I know and have used in the past, but is too much of a departure from #HTML.
EJS: similar to Handlebars, simple but apparently versatile. Documentation isn’t great.
Alternatives to #Express:
Koa, which can either replace or complement both Express and Connect.
Fastify, which looks straightforward and very similar to Express. Plugin for templating (supporting Handlebars, Mustache, Pug and EJS): @fastify/view.
NestJS, which seems too convoluted and probably redundant since it works on top of either Express or Fastify (?).
Meteor: more of a platform. No tutorial for vanilla JS (only for React, Vue, etc), and not oriented towards SSR.
I’ll probably go for #Koa or #Fastify.
What should I use instead of #Express and #Handlebars for a web application in Node.js in 2023? Can someone summarise pros and cons of the most popular alternatives? I see way too many…
Oh, man. This comic — from 1993 — could NOT be more relevant today. As usual, Bill Watterson hits it out of the park.
Nationalism and socialism caused WW2... and today their popularity is growing again. Shit.
This proves that strong criticism of modern #feminism is not a fringe position in 2023 by any means, and that even among women and even among the youngest generation a large proportion of people (ranging from ⅓ to ½) are sceptical, resisting, or noticing discrimination against #men.
It’s a 32-country survey of 22+K adults by #Ipsos (the world’s third largest research agency) and the Global Institute for Women’s Leadership (King’s College London).
Not all aggregates are representative because some countries with large populations (eg India, China, Indonesia) probably skew less feminist than others. But even the figures for specific Western democracies (and those are accurate) show less than clear enthusiasm, even from women themselves.
This will be surprising.
To some people.
Hey everyone, I have an exciting federated.press announcement to share:
We just released an integration with News Detective—a new project to reduce misinformation on social media and teach media literacy with built-in transparency. They're part of MIT's Sandbox Innovation Fund Program, and are working with journalism students and the public to promote media literacy.
Read on to learn more. 👀👇
#Journalism #Misinformation #MediaLiteracy #Mastodon #FederatedPress #NewsDetective
"True facts can be hyperstitious slurs. “Black people commit more crime” is a hyperstitious slur, in the sense that racists talk about it more than non-racists, this helps it become a signal for racism, the fact that it’s a known signal for racism causes non-racists to talk about it even less than they would otherwise, and the vicious cycle ends with it being a very strong signal for racism and non-racists avoiding mentioning it."
I still think that REPLs should run in strict mode by default.
The status quo confuses people: I just got yet another complaint why code from my book (which assumes strict mode) doesn’t work as expected.
A moment after your child is born, doctors offer you a one-time pill for your newborn that would greatly increase the probability that they join the social and economic elite (high-rank politician, big company executive, top sportsperson, very rich person, popular intellectual, etc). Only side effect: the pill would also greatly increase the probability that they end up at the bottom of the social ladder (criminal, incarcerated, homeless, addicted, suicidal, murdered, etc). Assume the pill is known to be safe and effective.
Would you give that pill to your child?
A Fire That Gives Birth to Worlds
AI-generated image that I modified in GIMP.
#AI #AIArt #Generative #GenerativeArt #GIMP #Psychedelic #Psychedelia #Rainbow #Colorful #DigitalArt #Art #MastoArt #ArtistOnMastodon
Technologist, Spaniard, male, 42
QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.