#MeaCulpa I just realized that I was joining in the chorus of disapproval about John Mastodon driving new signups to his flagship mastodon.social server, in very strident terms, despite having made excuses for the matrix folks doing exactly the same thing; driving new sign-ups to the matrix.org homesever in Riot/Element. I guess it just reminds me that nobody is immune from bias, however fair and balanced we're trying to be 🫣
SoundBox is a tool for composing synthetic music, in your browser. Its design is basically that of a music tracker, which means that the music is organized in tracks and patterns.
I regularly use and love #Typescript. I used to use #Python the most – it’s what I learned in and I am more interested in backends than frontends. I also am regularly using and really enjoying #Kotlin (so much better than #Java). But truly Typescript is bae.
#Julia is a joy to work with. Very much like Python but more powerful. If it had the library support Python or #JVM has I would probably prefer to use Julia for backends.
But Typescript really changed the game and now that’s probably my favorite language not just because of the language itself but because it has web dominance. Until I can write #WASM with Python or Kotlin or Rust, and I’m building #web applications, TS is my lingua franca.
• specify certain <head> elements for your page (title, icon, etc.)
• list any libraries you want to include in your page from the ones Kitten has first-class support for (HTMX, HTMX WebSocket, Alpine.js, and Water.css)
Ian "Hixie" Hickson editor of #WhatWG HTML specification for 10 years, in January 2023 criticises the use of #HTML, #CSS, #Javascript for intricate #Web applications, and proposes an alternate approach based on 4 lower-level #OpenStandards:
"This document proposes to enable browsers to render web pages that are served not as HTML files, but as Wasm files, skipping the need for #HTML, #JS, and #CSS parsing in the rendering of the page, by having the #WebGPU, #ARIA, and #WebHID APIs exposed directly to #Wasm. To enable developers to continue to use the wider range of APIs exposed on the web, a mechanism to "escape" to a JavaScript environment would need to be made available as well."
The amount of trouble I have with JS's dataset because in my mind it reads more as "data set" as in "set the data value" than "a set of data values".
I always try element.data.whatever when I need element.dataset.whatever because I'm trying to READ a data attribute on an element but dataset cognitively doesn't seem like a read operation, but a write one.
This is the trouble with language design. "set" the math term is not as common as "set" the english action term.
I continue to feel that this feature cluster is worse than being tracked by cookies from tracking pixels. Tracking pixels I at least have a reasonable understanding of when and why I get tracked: A website I visit can track me, and I can control this by what I do and don't block. If this is "topics" the browser seems to be gathering information independently and just volunteering it. That's creepier than creepy https://mastodon.social/@rmondello@hachyderm.io/110379170600324295
@mcc If your site has any 3rd party #JS on it, then a 3rd party script can insert a Topics API iframe and JS in the iframe can call Topics API to track your users. In order to prevent this you can set a Permissions-Policy header:
So in case anyone was following this: it appears that built-in objects like Date in JavaScript have some internal magic (read: inconsistencies)* that means you can’t proxy them as you would normally.
Not sure if this is fixable in #JSDB. The “solution” might be to discourage use of Date objects and instead persist timestamps. Which is, quite frankly, a pain in the ass.
When writing about HTML/CSS/JS, how would you embed interactive demos into articles?
I consider to do something like using figure and figcaption elements, use an iframe inside the figure with the demo, add description and also provide the link to the code inside figcaption.
With #js enabled, it could maybe progressively enhance to a widget with html/css/js/result panels.
I often put the code directly into the #HTML of the article. In most CMS (if you use one?) there are plugins to add individual #CSS and #JS to each article.
In #WordPress I use the "scripts and styles" plugin. If I want to display the code as well, I use additional <pre> elements.
I couldn't find an offline browser based text editor so i made one myself! Its pretty bare bones and requires you to manually unregister the service worker but it works! (I'll try to make it so you dont have to eventually)
OC kbin-code-highlighting: Adds support for code syntax highlighting to kbin. (github.com)
Uses HLJS to add syntax highlighting to kbin....
React Native Android Application Reverse Engineering & Pentesting (payatu.com)
An overview of React Native application structure on Android, plus some useful information about Hermes engine bytecode/disassembly.