Wollte eine Funktion schreiben, die das Zeichnen wie mit einem Bleistift oder so ermöglichen soll.

Einen Parameter falsch gesetzt, heraus kam das. Manchmal sind Glitches einfach was Schönes.

#glitchcore #javascript

So jetzt Artemis II Landung schauen!

Just debugged a test which was failing because it was running in "sloppy mode" (not `'use strict';`).

What year is it?

#JavaScript

Game Studio Starter Kit (3 Game Collection) by Stephen Gose is the featured track on Leanpub!

This is the perfect Game Studio starter kit for launching your initial online dream business. This kit contains 3 tutorial books to help you create 3 different online games. You could have all 3 games ready within a day per game. Start and launch you Game Studio business today.

Link: https://leanpub.com/set/leanpub/gsskit

#Javascript #GameDevelopment #WebDevelopment #Gaming #Romance

Game Studio Starter Kit (3 Game Collection)

This is the perfect Game Studio starter kit for launching your initial online dream business. This kit contains 3 tutorial books to help you create 3 different online games. You could have all 3 games ready within a day per game. Start and launch you Game Studio business today.

FluidCAD: Because what the world really needed was parametric CAD written in #JavaScript. 😂🚀 Now you can awkwardly drag your way to 3D enlightenment, one buggy line of code at a time! 🛠️💻 #GitHub #brogrammers, rejoice!
https://fluidcad.io/ #FluidCAD #ParametricCAD #3DEnlightenment #HackerNews #ngated
Parametric CAD for everyone | FluidCAD

FluidCAD — write CAD models in JavaScript. See the result in real time.

Parametric CAD for everyone | FluidCAD

FluidCAD — write CAD models in JavaScript. See the result in real time.

Show HN: FluidCAD – Parametric CAD with JavaScript

https://fluidcad.io/

#javascript

Parametric CAD for everyone | FluidCAD

FluidCAD — write CAD models in JavaScript. See the result in real time.

tl;dr Using https://thi.ng/column-store to accelerate tag intersection queries by a factor of 880x...

Working on the static website generator/export plugin for my personal knowledge tool has been one of the main projects this past month. A key part of this setup is tagging, not just simple flat keywords/categories, but actually treating tags as sets. The system doesn't just allow browsing content by a single tag, but also supports adding (or removing) tags to narrow or widen the current topic. E.g. The combination of "3d + geometry + typescript" would select only works which have all of these three tags...

In the local version of my tool there's no limit to the number of tags (and it also supports tag negation), but for the static site generation I have to limit the set size (due to combinatoric explosion) and pre-compute all possible permutations, then create HTML documents for each these individual combinations which actually produce results.

So far I'm having ~400 unique tags in use, meaning if I want to aim for a max set size of 3, there're theoretically ~64,000,000 possibilities to check[1]! For the roughly 3500 content items used for testing, a naive JS approach to filter the result array and only retain items matching the entire current permutation is so extremely slow, that I stopped the process after 3.5 minutes just for the first 250k (aka 0.4%) of the 64 million permutations, i.e. at that rate the full process would have taken ~15 hours, pretty slow for a SSG... :)

Naive approach 🫣:

```
permutation = ["3d", "geometry", "typescript"]
results.filter(item => permutation.every(tag => item.tags.includes(tag)))
```

But since I'm using https://thi.ng/column-store as my database, such queries can be optimized by a few magnitudes, since here these intersection queries are applied only to bitfields (explained in the pkg readme). This results in all 64+ million permutations being processed in just 62 seconds (1+ million per second). Quite the difference, i.e. ~880x faster than the above approach!

Also, of these 64 million initial possibilities, there're fewer unique ones (excluding duplicates and ignoring ordering), and currently only ~24,000 are actually producing a result. Still, that's 24,000 index pages to generate & host and it's, of course, far, far too much!

So I will have to also spend more effort curating and severely reducing the tag vocabulary, at least the subset used for the website. On the other hand, I think this system will really help with browsing this large body/archive of work much more meaningfully than the boring single-tag/category approach most websites are offering. And it will do so without any backend (other than file hosting)...

[1] Permutations = 400 + 400^2 + 400^3

#ThingUmbrella #Tagging #Intersection #Query #Bitfield #WebDev #JavaScript #TypeScript #Optimization

In-memory column store database with customizable column types, extensible query engine, bitfield indexing for query acceleration, JSON serialization with optional RLE compression

thi.ng/column-store

Как я автоматизировал управление информацией и оптимизировал рабочие процессы. История Sapiens OS

Если вы ведете несколько проектов одновременно, вы знаете проблему управления информацией. Мысль пришла в голову — записал куда-то. Через месяц пытаешься вспомнить: где это было? Сохранил в папке где-то на компьютере? В заметках телефона? В рабочем чате или личных сообщениях? Если не нашел — идея ушла. Или осталась, но найти её — отдельный квест и потеря времени, которое хотелось бы потратить с пользой, а не на поиски. Со мной так происходило постоянно. Статьи и доклады по учёбе, отчёты по работе, технические заметки по разрабатываемому ПО, ссылки на полезные ресурсы, голосовые идеи по дороге на работу, полезные фото — всё в разных местах, без структуры, без связей. Изначально я пытался найти для себя идеальный инструмент. Notion, Obsidian, Evernote — ни один не решал мою задачу в комплексе: быстро сохранить мысль, не потерять её, а потом легко найти и связать с другими. Поэтому я написал свою систему. Статья — не «продажа курса» и не «уникальный продукт». Это описание того, как я решал свои задачи, какие решения принимал и что из этого вышло. Если вы тоже теряете время при поиске нужной информации — возможно, найдёте здесь что-то полезное.

https://habr.com/ru/articles/1022042/

#Python #JavaScript #Вебразработка #Личный_опыт #FastAPI #SQLite #DevOps #Управление_знаниями #Notion #VK

Как я автоматизировал управление информацией и оптимизировал рабочие процессы. История Sapiens OS

Введение Если вы ведете несколько проектов одновременно, вы знаете проблему управления информацией. Мысль пришла в голову — записал куда-то. Через месяц пытаешься вспомнить: где это было? Сохранил в...

Хабр
Oh, the mighty helium shortage saga! 🌬️ Apparently, we need to install #JavaScript and order a side of #cookies to even begin to fathom this earth-shattering revelation. Who knew that the solution to global resource scarcity was buried in browser settings? 🍪🔧
https://www.construction-physics.com/p/helium-is-hard-to-replace #heliumshortage #resourcesustainability #technews #HackerNews #ngated
Helium Is Hard to Replace

The war in Iran, and the subsequent closure of the Strait of Hormuz, has unfortunately made us all familiar with details of the petroleum supply chain that we could formerly happily ignore.

Construction Physics
Ah, the cutting-edge journalism of our era: requiring #JavaScript and cookie consent to read about a tragedy. 💀 Clearly, nothing says "serious reporting" like a tech hurdle before unveiling grave matters. 🙄
https://today.lorientlejour.com/article/1502922/names-and-faces-of-those-killed-by-israel-in-its-april-8-massacre.html #cuttingEdgeJournalism #techHurdles #cookieConsent #seriousReporting #modernTragedy #HackerNews #ngated
Names and faces of those killed by Israel in its April 8 massacre

What happened on Wednesday, April 8, 2026, in Lebanon was a massacre.On the first day of the cease-fire between Iran and the United States, Israel carried out 100 airstrikes in 10 minutes on...

L'Orient Today
×