Digital Toolbox: JavaScript
A high-level, often just-in-time compiled programming language that primarily serves as the scripting language for web pages.
https://wadebach.blackcatwhitehatsecurity.com
#Digital #Toolbox #JavaScript #programming
Digital Toolbox: JavaScript
A high-level, often just-in-time compiled programming language that primarily serves as the scripting language for web pages.
https://wadebach.blackcatwhitehatsecurity.com
#Digital #Toolbox #JavaScript #programming
Object.assign() is... alright, but it's really weird that there's no #JavaScript Object.merge() so that merging { a: 1, b: { c: 3}} and { b: { d: 4 }} becomes { a: 1, b: { c: 3, d: 4 }} instead of just blind-overwriting "b".
Sadly, this idea doesn't seem to translate to wasm, but that's probably because V8 doesn't generate the most efficient instructions for a combo of __builtin_ctz and wasm_i8x16_bitmask.
Ideally it should use “vshrn” as per this article https://community.arm.com/arm-community-blogs/b/servers-and-cloud-computing-blog/posts/porting-x86-vector-bitmask-optimizations-to-arm-neon
Do I still know anyone on the V8 team who can help me implement this? (Boosts for reach appreciated)
JavaScript Views, the Hard Way – A Pattern for Writing UI
Link: https://github.com/matthewp/views-the-hard-way
Discussion: https://news.ycombinator.com/item?id=43733636
Unlocking the Power of JavaScript for Automation on macOS
Dive into the innovative world of JavaScript for Automation (JXA) on macOS, where developers can harness the power of JavaScript to control applications seamlessly. This comprehensive cookbook provide...
https://news.lavx.hu/article/unlocking-the-power-of-javascript-for-automation-on-macos
Courtney Yatteau is hosting a Full-Day Workshop on JavaScript July 23rd at Nebraska.Code().
I've never done anything like this, can anyone smarter than me confirm this will work? https://stackoverflow.com/a/56315478 #python #php #html #javascript
Built a caffeine cutoff calculator in vanilla JS with a half-life decay model and Chart.js — now part of my daily sleep routine
Discussions: https://discu.eu/q/https://lastsip.app
@kerrick Do your languages learned school count?
I had:
- Qbasic *
- Turing *
- Pascal *
- C **
- Scheme **
- Java **
To end up with #JavaScript & #PHP for my career.
* = highschool
** = university
Just released the new version of my Rust web framework!
**Ratzilla** — Build terminal-themed web apps with Rust!
Now it supports handling the cursor!
Glitches are fixed + more examples are added!
Built with Rust & @ratatui_rs
a model context protocol server that securely runs untrusted Python code in a sandbox with Deno
https://github.com/pydantic/pydantic-ai/tree/main/mcp-run-python
There are a number of useful little functions in node:util besides util.inspect() that I’m only just familiarising myself with after admittedly rolling my own versions for a number of them. Hmm, should’ve read through this documentation page more carefully sooner.
e.g., util.deprecate(), util.diff(), util.debugLog(), util.isDeepStrictEqual(), etc.
New Kitten release
• Fixes #236¹: The data preview pages in Kitten’s settings how handle circular references in the deserialised data (which may contain your custom classes if that’s what you were persisting in the database).
PS. Those pages are very rudimentary at the moment and are good for getting quick visual overview of the data you’re persisting. For a fully interactive view, use Kitten’s interactive shell (REPL)² to explore your data until I’ve had a chance to implement a more comprehensive visual interface.
PPS. You persist data in Kitten using the built-in JavaScript Database (JSDB)³ (Or, of course, you can install and use any other database.)
¹ https://codeberg.org/kitten/app/issues/236
² https://kitten.small-web.org/reference/#kitten-s-interactive-shell-repl
³ https://codeberg.org/small-tech/jsdb#javascript-database-jsdb
This minimalist static site generator pattern is only for #JavaScript developers who want something small, fast, flexible, and comprehensible https://jan.miksovsky.com/posts/2025/04-17-zero-dependencies.html
Configuring a complex tool can take more work that just coding the functionality from scratch. Earlier I created a simple blog in #Astro, a popular #SSG. That felt more complicated than the problem justified, so I rewrote the entire #blogging project from scratch in pure JavaScript with 0 dependencies.
This went very well!
The combination of CodeMirror being the only game in town and me being too much of a simpleton to really use it is quite unfortunate.
JSX-Syntax with Webcomponents.
https://positive-intentions.com/blog/dim-functional-webcomponents
I made something to try out and I'm working towards a UI framework for my personal projects. It's far from finished but perhaps this might be interesting to share.
Can someone explain the third line
I have reassigned character to “World”
Why does Hello show in console, thanks
dailycoding - 20250417 / graphic
#p5js #javascript #Processing #generativeart #creativecoding #dailycoding
code : https://openprocessing.org/sketch/2617660
Focus front-end à MiXiT 2025 !
Responsive CSS version 2025
Signaux & réactivité démystifiés
Requête HTTP, côté dev
JavaScript : plus léger, plus propre
Jetpack Compose en mission chrono
Astro, le framework qui va vous envoyer dans l’espace
Du code, des workshops, des talks funs et utiles !
Pour le programme complet : https://mixitconf.org/2025?agenda=true