CSS vs. JavaScript:
Exploring the performance implications of different animation strategies
One of the most common questions around animation performance is whether JS-based animations are slower than CSS-based ones. Should we always strive to use CSS transitions, or is it OK to use JavaScript animation libraries?
😉 https://www.…
Got to say, `license="commercial"` prop for a component is kinda weird 😅
#JavaScript #React #WebDev
@… @… it’s time to delete some javascript with modern javascript
From an email I got today. It’s spam but also hilarious.
“Your work at RasterWeb, especially how you weave C and JavaScript together, feels like a masterclass in balancing performance with interactivity.”
«Websites have a new way to spy on visitors — analyzing their SSD activity:
Telltale SSD activity can be measured in the browser using simple JavaScript.»
WTF!?!! Why do the web providers always want to listen to their users instead of simply offering correct honest services?
🤬
My first https://strudel.cc - a tiny bit of Knee Play 1 by Philip Glass
```
setcpm(102/4)
$: note("<[a2,c4,e4,a4] [g2,b3,d4,g4]@1.5 [c3,c4,e4,g4]@…>")
$: s("<[n…
This is what cve.org is showing when I don't allow JavaScript execution for a third party domain (mitre.org) in my LibreWolf browser: "Service is currently unavailable." 🤦♂️
I guess the #security community should do better than that.
And yes, when JavaScript is disabled for cve.org, I do get a helpful message that informs me that the web site can't work without JavaS…
RE: https://unstable.systems/@jneen/116618931097778342
Worth looking at both the quoted text here and •especially• the linked page, which is quite good.
I’ll add another item of my own. The first screenshot mentions giving an LLM the task of “implementing an HTTP server in JavaScript from scratch” in 90 minutes. Sounds impressive, right? Until you remember that every open-source Javascript HTTP server in existence ••was in the training data••.
1/
🔧 Ships as a language server (harper-ls), a JavaScript library, a Rust crate, browser extensions and editor plugins: VS Code, Neovim, Zed, Obsidian, WordPress block editor, Chrome, Firefox and a macOS desktop app that works in every text field system-wide.
🥳 JSDB¹ 7.1.0 release
Added:
• `JSTable.CHANGE` event. Fires when a value is changed (set) in memory. Guaranteed to fire before the `JSTable.PERSIST` event.
Full change log: https://codeberg.org/small-tech/jsdb/src/branch/main/CHANGELOG.md
To in…
Hopefully coding will become a lot easier post-AI, because all those corporate 'open source' frameworks will become even more unusable, and straightforward minimal low/no dependency handmade code the norm.
I still don't know what all these javascript build and deployment tools are really for and maybe I won't have to
Ich hatte heute GParted Live auf einem alten Rechner gebootet, um Platten zu löschen.
Und dann wollte ich was recherchieren und starte den installierten Webbrowser Netsurf – und kam so ziemlich auf keine Website. Netsurf hat kein JavaScript, und da verweigert Google von vornherein jegliche Zusammenarbeit, aber auch eher unverdächtige Seiten wie Debian blocken mit dem Hinweis, daß AI Crawler quasi DDOS spielen und daher abgewehrt werden müssen.¹
Ich hatte dann auf der Console mit …
Mit der Technik #FROST können Websites über #JavaScript die #SSD-Aktivität von Besuchern analysieren und so offene Tabs oder Apps erkennen.
Grundlage ist ein sogenannter
Working a bit more on my static site generator this morning. There's still a few bugs to fix, but it's far enough along that I'm starting to port my old blog over to it.
So far so good. It's nice and simple, and the css and templates are just built right into the binary. There's no development server and no development mode where it watches for changes and rebuilds the site. I don't think I'll actuator miss those extras. The resulting site has no Javascript …
Thanks Javascript, all my #instagram comments are deleted. Next stop: unlike everything.
Amazing how much data has piled up over the years. And that's just the part that I can delete. All the viewing behaviour is a separate thing
One last example:
The first LLM code example that really made my eyes pop was early after the release of GPT, when somebody got it to combine Breakout with Conway’s Game of Life (a truly delightful idea). It worked!
Funny thing: the Breakout code and the Life code had a •completely• different style and flavor. Red flag. In about 15 minutes of web searching, I was able to find one of the projects (can’t remember if it was the Breakout or the Life half) which it had copied wholesale, with just a few variable renames. And the other half? It was in Python, but it used dictionaries where it really should have used objects — tons of `thing["prop"]` where it should have said `thing.prop`, and lots of other un-Pythonic stuff besides. It was a machine translate of code from another language, very likely Javascript.
The entire thing was a plagiarized Breakout and a plagiarized Game of Life, one transpiled, and all stuck together in a single run loop. To be fair, figuring out how to (1) run both halves of the logic from a single loop and (2) count the Life cells as Breakout bricks is work I'd cheer on from a second-semester intro CS student! It's not, however, quite what's being sold by these companies.
6/
[1/5]
I heard about https://AccessibilityFirewall.com/, promising “No code changes. No overlay. No JavaScript.” It uses “edge” in the same way the Overlay Community Group does.
Red flag emoji.
So I ran it through its own “Live Remediation Engine”:
After a few days playing with #Astro, I like it a lot.
#Vue #Javascript
Argh, CORS ... (verstehe, warum es heutzutage sowas braucht, macht das Bastelprojekt "E-Paper, zeige mein Javascript an, das dies und das zusammenbringt" aber deutlich komplizierter ...).
from my link log —
dc.js: dimensional charting in JavaScript.
http://dc-js.github.io/dc.js/
saved 2019-09-06 https://dotat.at/:/ZBP4F.html
The Javascript function overflowText() reflows text from a DIV to empty DIVs respecting simple character formatting. This page shows a newspaper page layout and random boxes. The function is declarative. You create the relations of the DIVs in HTML code and then run the function to postprocess the page.
https://bellenuit.github.io
Still don't like #javascript but damn is #pnpm fast. Switching over everything I care about to that this week.
«Rekord-Datenleck — 24 Milliarden Zugangsdaten offen im Netz:
Ein ungeschützter Server enthielt 24 Milliarden Zugangsdaten im Klartext. Laut Cybernews sind Milliarden Konten ohne Multi-Faktor-Authentifizierung bedroht»
Ob nun Arch Linux, JavaScript, Microsoft Produkte oder Online-Dienste, fast kein Tag ohne Zero-Day Meldungen. Nun aber Kundendaten im Klartext ungeschützt aufbewahren ist so was von Vorgestern.
🔓
Agatha, a linearly re-typed dialect of JavaScript, is an attempt at defining a programming language that's difficult for LLMs, but still ergonomic and useful for building serious programs. 1100 words - 5.5 minutes
https://felix.dognebula.com/art/linear-agatha.html
from my link log —
JavaScript: the first 20 years. (HOPL)
http://www.wirfs-brock.com/allen/posts/866
saved 2020-03-18 https://dotat.at/:/GVXM…
I hate to break it to you, but no, #Unix is really not that great, any there are tons of potholes all over its twisted roads.
The #myth that Unix and everything else that came out of Bell Labs would be the best thing ever and their employees were literal gods shows quite some ignorance.
That i…
from my link log —
Lezer: a parser system in JavaScript.
https://lezer.codemirror.net/
saved 2020-10-21 https://dotat.at/:/VL4WJ.html
It's been a looooong time since I wrote a technical article for my #blog
This one is about my work on Logtau, a collection of logging libraries for #NodeJS : #JavaScript #TypeScript #logging #FLOSS #OpenSource
Колись, коли я ще починав мапити в OSM, одним з аргументів, які застосовували деякі місіонери, щоб пояснити стороннім людям, чому варто йти у відкриті проєкти, було "ці дані вам не належать, Гугл може відібрати їх та відключити доступ у будь-який момент".
Це було зрозуміло і дієво для неофітів, але я завжди вважав саме таке формулювання дещо наїграним для хоч скільки-небудь прошареного в IT. Ну камон, це ж Гугл. Яка ймовірність, що він одного дня відключить доступ до свого най…