dots, lines, or lasers with your mouse or hands (via #LeapMotion) #sgx
2026-05-21, Version 24.16.0 'Krypton' (LTS), @aduh95
Notable Changes [b267f6bca3] - (SEMVER-MINOR) crypto: implement randomUUIDv7() (nabeel378) #62553 [ec2451b9cd] - (SEMVER-MINOR) debugger: add edit-free runtime expression probes to node inspect (Joyee Cheung) #62713 [9705f628d9] - (SEMVER-MINOR)...
Weird #JavaScript behavior with Element.remove():
const children = ... // sorted children of container
children.forEach((ch) => ch.remove());
if (1 > 2) {
setTimeout(() => {
for (const child of children) {
container.append(child);
}
}, 0);
} else {
for (const child of children) {
container.append(child);
}
}
The setTimeout branch works, the other not. Anyone? @rauschma would you have an idea?
A shallow explanation: removal needs one round of the event loop. But why?
Архитектура монорепозитория для параллельного исполнения торговых стратегий
⚡ Архитектура монорепозитория для параллельного исполнения торговых стратегий Статья описывает архитектуру эмулятора биржи. Эмулятор ускоряет время в 6300x раз и запускает такую же торговую стратегию как в prod без изменений. В статье описаны практики структурирования кодовой базы для командной работы B-Tree O(log n) , memcache lookup O(1) , монорепозиторий, SRP, линейное расширение кодовой базы при модернизации
https://habr.com/ru/articles/1037822/
#typescript #javascript #python #binance #алгоритмическая_торговля #tradingview #мосбиржа #архитектура #архитектура_приложений #архитектура_по
I made a thing, and documented how to make unfied type mapping for PGLite and PG (and postgres) https://github.com/Ciantic/pg-unified-mapping/tree/main
It is very rocky road! Timestamps, dates are *totally* broken by default, arrays are flaky.
If you ever use PGLite for unit tests you need to unify the mappings so that tests and runtime doesn't differ.
Self-hosted Analytics with Next.js and PostgreSQL
How I built a fully anonymous, privacy-first analytics system for mxd.codes using Next.js API routes and PostgreSQL without any third-party tracking service.
https://mxd.codes/articles/self-hosted-analytics-with-next-js-and-postgresql
#NextJs #React #Selfhosted #DataPrivacy #IndieWeb #Javascript
Has anyone had any luck using `Object.create` for reconstituting class instances from the plain data objects that IndexDB gives back to you?
Like, from the docs it feels like I should be able to call `Object.create(MyCoolClass, dataFromIDB)`, but that gives an odd error, complaining about one of the root props in the data object.
The bottom line in this MDN example is basically exactly what I am trying to do, so I assume it might work?

