@heisedeveloper@social.heise.de avatar heisedeveloper , to random German

TypeScript 6.0 steht in den Startlöchern: Die letzte JavaScript-basierte Version

Schon bald soll TypeScript 7.0 mit Go-Basis erscheinen. Das anstehende Release bereitet Developer darauf vor.

https://www.heise.de/news/TypeScript-6-0-steht-in-den-Startloechern-Die-letzte-JavaScript-basierte-Version-11174219.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

@openrisk@mastodon.social avatar openrisk , to random

The early Web had a quality that has been lost ever since: it was simple

Download , write some by hand and boom, the concept of a networked digital society is born.

It first started going pear shaped with . The complexity of a full blown database was not justified for most use cases. As proven decades later by the popularity of and approaches.

The final blow was when got into the act. Immense complexity for the simplest things became a moat

openrisk OP ,
@openrisk@mastodon.social avatar

The journey of is the poster child of out of control . What started as tiny client side code to introduce some interactivity has eaten html itself (virtual ) and then metastasized also on the server side. A gargantuan duplication of functionality between client and server that eventually backlashed into the and type approaches.

When you throw in the explosion of mobile clients (with architectures controlled by a duopoly) you get to the lunacy of today.

@heiseonline@social.heise.de avatar heiseonline , to random German

heise+ | YouTube per Bookmarklet ohne peinliche Übersetzungen nutzen

Abstruse Übersetzungen und Synchronisierungen sind auf YouTube Alltag. Ein simples Bookmarklet schaltet mit nur einem Klick auf die Originalsprache um.

https://www.heise.de/ratgeber/YouTube-per-Bookmarklet-ohne-peinliche-Uebersetzungen-nutzen-11150540.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

@heisedeveloper@social.heise.de avatar heisedeveloper , to random German

ESLint 10.0: Neue Features für die JavaScript-Codeanalyse im Major Release

Der auf JavaScript ausgelegte Linter bringt einige Änderungen, darunter neue Optionen für die RuleTester-API und ein Update im Umgang mit JSX-Referenzen.

https://www.heise.de/news/ESLint-10-0-Neue-Features-fuer-die-JavaScript-Codeanalyse-im-Major-Release-11172664.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

@aral@mastodon.ar.al avatar aral , to random

🥳 JavaScript Database (JSDB)¹ version 7.0.0 released

  • Breaking change JSTable.PERSIST event now uses a parameter object with properties for type, keypath, value, change, and table. This should make listening for events on your databases much nicer to author. e.g., a snippet from Catalyst² I’m working on:
const settingsTable = db.settings['__table__']  
const JSTable = settingsTable.constructor

settingsTable.addListener(JSTable.PERSIST, ({ keypath, value }) => {  
 switch (keypath) {  
 case 'servers.serverPoolSize':  
 console.info('New server pool size requested', value)  
 this.updateServerPool()  
 break  
 // etc.  
 }  
})  

This new version of JSDB is not in the latest Kitten³ yet as it is a breaking change and I want to make sure I update my sites/apps first if needed. I should have it integrated tomorrow.

To see the simple use case for JSDB in Kitten (the default untyped database that’s easy to get started with and perfect for quick experiments, little sites, etc.), see: https://kitten.small-web.org/tutorials/persistence/

For a more advanced tutorial for creating your own typed databases in Kitten, see the Database App Modules tutorial: https://kitten.small-web.org/tutorials/database-app-modules/

For another example, see: https://codeberg.org/small-tech/jsdb/#table-events

Full change log: https://codeberg.org/small-tech/jsdb/src/branch/main/CHANGELOG.md#7-0-0-2026-02-10

Enjoy!

💕

¹ https://codeberg.org/small-tech/jsdb#readme
² https://catalyst.small-web.org
³ https://kitten.small-web.org

@heiseonline@social.heise.de avatar heiseonline , to random German

Archive.today: Betreiber setzt Nutzer für DDoS-Attacke ein

Der Betreiber von Archive.today setzt Besucher seiner Seite unwissentlich für eine DDoS-Attacke. Betroffener ist ein finnischer Blogger.

https://www.heise.de/news/Archive-today-Betreiber-setzt-Nutzer-fuer-DDoS-Attacke-ein-11170623.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

@heisedeveloper@social.heise.de avatar heisedeveloper , to random German

JavaScript: webpack ist unbeliebt – doch wird am häufigsten genutzt

In einer neuen Studie ist Vite das beliebteste JavaScript-Tool und läuft webpack in der Nutzung fast den ersten Rang ab. Nur zwei Prozentpunkte trennen sie.

https://www.heise.de/news/JavaScript-webpack-ist-unbeliebt-doch-wird-am-haeufigsten-genutzt-11170979.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

@absulit@mastodon.social avatar absulit , to random

Last year, I was working with agents before this new "boom". I was really amazed by it and the opportunity that only I seemed to recognize on my team.

All that faded away as soon as you realize these agents behave like little kids that provide a non deterministic answer each time; and to answer my PM the question "why this doesn't work all the time?" with "IDK" was not enough.

absulit OP ,
@absulit@mastodon.social avatar

Years ago I was working on a Python project. That was the backend of an Angular project. I finished my part and I was done, but higher ups decided to move me to the Angular side I didn't know anything about. My coworker knew a great deal of it so I used him as my search engine, I asked him everything, and why not if he was just there. This was nice and all until one day he was gone because he resigned a month before

absulit OP ,
@absulit@mastodon.social avatar

Don't rely on an external agent, being that a human or a to do your work, because in the end it is you who are responsible.

@heisedeveloper@social.heise.de avatar heisedeveloper , to random German

enterJS Integrate AI: So bringt KI echten Mehrwert in Webanwendungen

Die Online-Konferenz am 28. April zeigt, wie Web Developer in ihren Produkten künstliche Intelligenz so anbieten können, dass sie echten Mehrwert bringt.

https://www.heise.de/news/enterJS-Integrate-AI-So-bringt-KI-echten-Mehrwert-in-Webanwendungen-11163946.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

@marquisdegeek@ohai.social avatar marquisdegeek , to random

Here's a project from my 20 years in : https://www.marquisdegeek.com/onlineselfie This simply grabs the webcam image
and uploads it to imgur, with optional time delay.

@heisedeveloper@social.heise.de avatar heisedeveloper , to random German

Deno Deploy ist allgemein verfügbar

Mit Deno Deploy können Developer JavaScript- und TypeScript-Anwendungen ins Web deployen. Für erhöhte Sicherheit steht die neue Deno Sandbox bereit.

https://www.heise.de/news/Deno-Deploy-ist-allgemein-verfuegbar-11165515.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

@Liberapay@mastodon.xyz avatar Liberapay , to random

Today is the 10th anniversary of Liberapay's launch!

In its first decade, Liberapay processed donations worth a total of around 5 million euros, from more than 40k donors in more than 110 countries to more than 3500 recipients in more than 80 countries.

Thank you all.

To keep making the world a better place, everyone who uses Liberapay to collect donations, including Liberapay itself, needs your support. Browse the website. Donate if you can. Spread the word.

https://liberapay.com/

Changaco ,
@Changaco@diaspodon.fr avatar

On this somewhat special anniversary, I also want to state once again that Liberapay is an open project. You can contribute to it if you have some basic skills, and receive some money in return. There's still a lot of work to do, including quite a bit that doesn't involve programming, and plenty to learn.

Liberapay is written in , (until I can finish building what's needed to get rid of it), and as little as possible.

https://github.com/liberapay/liberapay.com/blob/master/CONTRIBUTING.md

@gulfie@mastodonapp.uk avatar gulfie , to random

Today I have been paying a Struts 1 app with Internet Explorer 6 compatible JavaScript to work on modern browsers. This continues tomorrow, and probably for a few days more. Wish me luck!!

@kbob@chaos.social avatar kbob , to random

I'm starting a new "build thread" (not building anything except pixels, but they're good pixels).

This is the "Bubble Universe" graphics hack. I'm going to try to have some fun with it. Follow or ignore hashtag for more.

🧵 1/N

40,000 colored particles swarm across a black background in a roughly circular area, leaving a complexly textured, ever shifting surface.

kbob OP ,
@kbob@chaos.social avatar

@larsbrinkhoff got into the act with Javascript and PDP-10 assembler versions. The sources are on Github, and a video of the PDP-10 is on YouTube.

(Lars, what display are you emulating on the '10?)

https://github.com/larsbrinkhoff/bubble-universe

https://www.youtube.com/watch?v=hIU7iYWZWSY

🧵 4/N

kbob OP ,
@kbob@chaos.social avatar

And now I've implemented it. But instead of porting it to the slowest most decrepit retromachine I can find, I'm going the other direction: What kind of visual effects can I achieve if I throw a decent GPU at it?

The video above in 🧵 1 is a screen capture from my Javascript + WebGPU implementation. It's running at 20 FPS, using about 5% of the CPU and 3% of the GPU. More to come...

🧵 6/N

kbob OP ,
@kbob@chaos.social avatar

I wrote another one! I ported my Javascript + WebGPU implementation to Python + wgpu-py, and now I have a desktop app.

And I pushed it to Github. "Share and enjoy!"

https://github.com/kbob/bubble-universe

🧵 7/N

@davidr@hachyderm.io avatar davidr , to random
  • a non-

  • who has not contributed anything tangible to this project

  • doesn't like the working prototype I produced

  • and instead of changing it has "provided an example"

  • which is 62 and 9 packages totaling over 350MB of source code

  • and also requires a version of python that came out 6 weeks ago

  • PS: I'm pretty sure his example won't meet his stated goal of preserving properties my prototype has, such as not leaking data between users

(This is a multi-organization collaboration, so I can't easily complain to any particular person. I think I just have to prove it doesn't work.)

@aral@mastodon.ar.al avatar aral , (edited ) to random

So here’s a little JavaScript initialisation order quiz.

Take the following code:

class A {  
 constructor (parameters = {}) {  
 Object.assign(this, parameters)  
 }  
}

class B extends A {  
 foo

 constructor (parameters) {  
 super(parameters)  
 this.foo ??= ‘no’  
 }  
}

const b1 = new B()  
const b2 = new B({ foo: ‘ok’ })

console.info(`${b1.foo}, ${b2.foo}`)  

What output would you see if:

  1. You ran it as-is
  2. You changed the foo instance property declaration to foo = this.foo ?? ‘yes’
  3. You changed foo back and removed class B’s constructor

Try and answer without running it first :)

@heisec@social.heise.de avatar heisec , to random German

JavaScript-Sandbox vm2: kritische Lücke erlaubt Ausbruch

Die JavaScript-Sandbox vm2 für Node.js war eigentlich beendet. Nun schließt ein Update eine kritische Sicherheitslücke.

https://www.heise.de/news/JavaScript-Sandbox-vm2-kritische-Luecke-erlaubt-Ausbruch-11157926.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

@aral@mastodon.ar.al avatar aral , to random

So guess who wrote a convoluted date comparison conditional instead of using Temporal.ZonedDateTime.compare() like an intelligent human being and ended up hitting an edge case where future scheduled calls started getting cleaned off the database instead of past ones?

I’ll give you a hint: has two thumbs and his name is Aral 🤦‍♂️

Anyway, just restored things from yesterday’s backup and sent a direct message to everyone scheduled for a Gaza Verified video verification call apologising for the confusion and explaining what happened.

Moral of the story: stick to the Temporal API and use its methods if you’re implementing anything even remotely non-trivial involving dates, especially if there are timezones involved. (You can use a Temporal API polyfill in Node.js – I’ve been using temporal-polyfill.)

Now I’m going to expire for the evening.

💕

@heisedeveloper@social.heise.de avatar heisedeveloper , to random German

Automatisierte Accessibility-Prüfung im Web: Möglichkeiten und Grenzen

Tools können dabei helfen, die Barrierefreiheit von Webanwendungen zu prüfen – doch an zahlreichen Stellen bleibt menschliches Verständnis gefragt.

https://www.heise.de/hintergrund/Automatisierte-Accessibility-Pruefung-im-Web-Moeglichkeiten-und-Grenzen-11151635.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

@h4ckernews@mastodon.social avatar h4ckernews Bot , to random

Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs

https://github.com/mastra-ai/mastra

#1.0 -source

@heisedeveloper@social.heise.de avatar heisedeveloper , to random German

jQuery 4.0 veröffentlicht: Weniger Legacy, mehr moderne Webstandards

Mit jQuery 4 erscheint erstmals seit Jahren eine neue Hauptversion. Weniger Legacy, moderne Browser, mehr Sicherheit – mit überschaubaren Breaking Changes.

https://www.heise.de/news/jQuery-4-0-veroeffentlicht-Weniger-Legacy-mehr-moderne-Webstandards-11146890.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

@heisedeveloper@social.heise.de avatar heisedeveloper , to random German

Webentwicklung: Cloudflare übernimmt Astro Technology Company

Das Unternehmen hinter dem Webframework Astro gehört nun zu Cloudflare. Astro soll jedoch Open Source bleiben und aktiv weiterentwickelt werden.

https://www.heise.de/news/Webentwicklung-Cloudflare-uebernimmt-Astro-Technology-Company-11145473.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon