I also started using #svelte with #javascript first, then #typescript
It really feels like a modern way to work with the #web. I can quickly build web applications that run smoothly, are reactive to my data and their changes.
The build process is scary tho, and i still don't understand a bit of it.
Svelte itself is a brilliant mix of HTML with a reactive and declarative interface to the DOM and i really love it.
#svelte #javascript #typescript #web #webdev #js #ts
Fixing a bug which had to do with exactly this problem took me 2 hours today... That's called life of a programmer, I guess.
#programming #frontend #javascript #webdev
At such moments I remember how much I dislike #JavaScript and #frontEnd in general:
<details> element containing an <a href="...">some inner text</a>
and JavaScript does not show the innerText property of that <a> element unless the <details> element has an [open] state 😦🤦
From now on I stop using "innerText" and I prefer "textContent" instead which works regardless of the visibility.
BTW there are also "text", "outerText" and "innerHTML" properties, in case you wanna get even more confused.
Here's a very rough drawing to show the protocol (over HTTP) of Waku v0.15.0.
#reactjs #react #javascript #typescript #servercomponents
One day, one decomposition
A039004: Numbers whose base-4 representation has the same number of 1's and 2's
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A039004.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A039004.html
#decompwlj #maths #mathematics #sequence #OEIS #javascript #php #3D #numbers #base #representation #graph #threejs #webGL
#webgl #threejs #graph #representation #base #numbers #3d #php #javascript #oeis #sequence #mathematics #maths #decompwlj
@duhdugg
Add "stop #nonsense #javascript obfuscation" and you can count me in :p
Checking out #bun right now, and I have to say that I love both the idea and the execution. Simplifying the JavaScript ecosystem is something **needed**.
Next in our continuing series -- “DIY Fedi #IFTTT WTF OMG BBQ?" -- is a way to cross-post videos from the PlayStation service into #Mastodon automatically. But surely #Sony doesn't support that yet, correct? Just #TwiX?
It doesn't... directly. It DOES support posting to #YouTube, though!
All that's needed is a Pro+ account and a smattering of filter code written in #JavaScript (ES5, to be precise). Then, just upload a video from your #PS5 to YT with #PlayStation in the description.
#ifttt #mastodon #sony #twix #youtube #javascript #ps5 #playstation #gaming
It has been eventful couple of weeks. First Mojo was finally released which runs Python much faster. Then Bun 1.0 was released which runs JS/TS much faster. This is great news since AI/ML will now require fewer compute resources and so many systems run JS/TS and will benefit from the speed boost once Bun is adopted.
It will take a while for these releases to be validated and used broadly, but both are ready for us to use today with our own scripts.
https://www.modular.com/blog/mojo-its-finally-here
https://bun.sh/blog/bun-v1.0
#Mojo #Bun #Python #JavaScript #TypeScript
#mojo #bun #python #javascript #typescript
JavaScript-Runtime Bun 1.0 ist produktionsreif
Die junge, Performance-fokussierte Runtime Bun hat die Produktionsreife erreicht und versteht sich als Konkurrenz zum deutlich älteren Node.js.
#Bun, a toolkit for #JavaScript and #TypeScript projects, has released its version 1.0, which is now stable and production-ready. It serves as a replacement for Node.js and is four times faster.
https://alternativeto.net/news/2023/9/bun-1-0-a-speedy-and-simplified-toolkit-for-javascript-and-typescript-now-available/
Passer de #NodeJs (https://nodejs.org) à #Deno (https://deno.com/) , ça vaut le coup !
* Un simple exécutable à placer dans son ~/.local/bin.
* Standards web mieux gérés et plus largement utilisés.
* Des Apis pas trop différentes
* Une sécurité accrue.
Le travail de migration m'a permit d'isoler les dépendances au runtime dans deux-trois modules qui utilisent maintenant Deno ou NodeJs, au choix.
A tester, vraiment.
Aproveitando a primeira segunda-feira de férias (e meio que "preso" em casa), resolvi dar uma olhada nesse novo runtime de JavaScript chamado "Bun".
E olha... o troço é rápido, visse?
Talking to co-workers I asked for recommendations around architectural design patterns for web applications. I got some good suggestions for some Java-based books but being on the front end I tend not to touch the Java stuff in our apps too much.
Are there any good resources out there for JavaScript/HTML-based design patterns for working with large-scale applications?
#javascript #frontend #typescript #webdev
🎉 Waku-Waku excited to announce Waku v0.15.0!
It's a new version with breaking change. Improves the protocol so that a RSC payload can contain multiple JSX elements. Has new API based on user feedback.
GitHub 👉 https://github.com/dai-shi/waku
Playground 👉 https://codesandbox.io/p/sandbox/waku-example-counter-mdc1yb
🤩
#reactjs #react #javascript #typescript #servercomponents
Red it, forgot it re-found it in my n-th tab of my i-th #firefox browser profile on my j-th notebook.
Lets note it to mastodon, for later use :D
Here we go:
Link:
https://louison.substack.com/p/i-built-a-plane-spotter-for-my-son
Title:
I built a Plane Spotter for my son in 120 seconds
Live:
https://planespotter.pages.dev/
#chatgpt #frontend #firefox #javascript
Bun, le nouveau runtime JavaScript côté serveur (concurrent à Node.js et Deno) orienté performances est enfin là en version stable.
Bun 1.0 | Bun Blog
https://bun.sh/blog/bun-v1.0
Jotai tips: optimize rendering with two atoms
Here's an advanced tip to optimize React rendering with Jotai. Can you guess why the behavior of the second atom is different from the first one?
#reactjs #react #javascript #typescript #jotai