lingo.lol is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for linguists, philologists, and other lovers of languages.

Server stats:

72
active users

#JavaScript

17 posts17 participants1 post today

Looking for CMS advice

Hey Web devs!

Do you have any suggestions, tips, opinions, dos, don’ts about headless CMSes?

I have a growing list of small/mid non-profits and collectives asking for my help to (re)make their website. I totally want to help, but I don’t have much time, especially considering that they generally have little or no funding—I would most definitely point them to @VillageOneCoop, otherwise.

Therefore, I want a super simple and replicable solution where I can copy-paste most of the code, while providing them with a stable, fast, and modern solution. I had a look at the Headless CMS section in the Jamstack website, but I need opinions from people who actually used some of that software already.

Needs

  • I want to code and configure everything using @eleventy
  • Admin interface (#WebApp) for the client to add pages and write posts
  • Static website in the front-end
  • Simple and reliable CI/CD
  • No/minimal maintenance after the first setup
  • Self-hostable (I was taking this for granted so much that I forgot to write it)
  • #OpenSource

Nice to have

  • Possibly using #Deno, not #NodeJS
  • Allowing the client to customize a bit their website through the admin interface, with a GUI
  • CMS app packaged on @yunohost
  • No CMS vendor lock-in
  • I’d love to write as little JavaScript as possible
  • #FreeSoftware

Absolutely not

Please, boost this and ask around! Links to videos, tutorials, and resources are welcome.

People whose perspective I would really value: @zachleat @harryfk @deno_land @jaredwhite @vanillaweb @stefan @mxbck @WeirdWriter @deadsuperhero (Sorry if I am spamming you!)

Jamstack.orgHeadless CMS - Top Content Management Systems | JamstackCheck out this showcase of some of the best, open source headless CMSes. This is community-drive so be sure to submit your favorite CMS today!
#Eleventy#11ty#CMS

I avoided React for years, then TypeScript's siren song (and deadlines) pulled me in. Turns out React's ecosystem has actually evolved.

Zustand and Immer deliver what Redux promised: state management that stays out of your way. No more class component archaeology: just clean, functional flows.

zwit.link/posts/20250301173228

zwit.link(zwit) - Building Robust React Apps with Zustand and Immerblog
#react#webdev#ui

How to fix slow code:
➡️ Avoid logging everything in production: it eats resources and slows execution.
➡️ Loops matter: use optimized methods like list comprehensions in Python for speed.
➡️ Be mindful of hardware quirks like cache misses and memory fragmentation.
➡️ Understand how database queries and copy-paste operations can impact efficiency.

freecodecamp.org/news/why-your

freeCodeCamp.org · Why Your Code is Slow: Common Performance Mistakes Beginners MakeMaybe you’ve experienced something like this before: you’ve written code that works, but when you hit “run,” it takes forever. You stare at the spinner, wondering if it’s faster to just solve the problem by hand. But you end up looking something like...

I am in urgent job search mode, so I'm gonna throw this out here and see if anything comes of it.

I am a #Canadian, fluent in both #English and #French. I have experience with several programming languages. My strongest proficiency is with #Haskell and #C. I also have a reasonable grasp of #HTML, #JavaScript, #SQL, #Python, #Lua, #Linux system administration, #bash scripting, #Perl, #AWK, some #Lisp (common, scheme, and emacs), and probably several others I've forgotten to mention.

I am not necessarily looking for something in tech. I just need something stable. I have done everything from software development, to customer support, to factory work, though my current circumstances make in-person work more difficult than remote work. I have been regarded as a hard worker in every job I have ever held.

Holy ravioli.

I finally managed to have a working JWT authentication system between Django and React.

Major headache but I did it!

My only compromise (at least what it feels to me as a compromise) is that the SPA is abusing the refresh token to maintain the state of the logged in user, because I'm keeping the access token exclusively in memory.

Over-engineered solution for a simple CRUD app, but I'm learning a lot so I don't care.

I looked into a couple of #JavaScript libraries in the last days, and usually the only documented usage methods are via CDN or npm. Almost none offer dedicated downloads, and for some even the GitHub releases only contain the source and not the built files. (Shout-out to Bootstrap, which does offer ready-for-use downloads.) Am I the only one irritated by this? Is “CDNs are bad” such a minority opinion? httptoolkit.com/blog/public-cd

httptoolkit.com · Public CDNs Are Useless and Dangerous Once upon a time, loading common scripts & styles from a public CDN like cdnjs or Google's Hosted Libraries was a 'best practice' - a great way to instantly...

How can something like a front end framework like #ReactJS that has supposedly been created to abstract and simplify writing #JavaScript “applications” be so fucking over-engineered and complicated, to the point that it needs dozens of libraries to simplify and abstract itself?

Where does this start to even make sense?

Continued thread

aha, I hacked 'em! (at least as far as plaintext--maybe an m3u in the future)

(these are my wife's playlists, thus the "share" step at the beginning)

First, share all the playlists via link. Keep the link URLs

open firefox to a new tab
open develop tools
navigate to console
for each URL:
"Paste and Go" into URL bar
in console, paste this #javascript

$$("div.a11y:not(.disabled-hover)").map((d) => d.ariaLabel)

press <enter>
right-click the result and choose "Copy Object"
paste into text editor of your choice

In the last few months I've been following this ReactJS course:

udemy.com/course/react-the-com

And I strongly advise against it.

Maybe it's very subjective but I now find that the course just made me waste a lot of time.

Not only is overly verbose and slow while treating the viewer like a dumdum, by repeating the same stuff over and over; but now that I know better, I can see so many pitfalls in the actual structure of the course.

1/2