←
forloop28,036 posts
forloop avatar

forloop

@forloopcodes

hypergamy climber at aftermatter corp. (github.com/aftermatter), shrike ⚡︎, contextplus (2k) and cargo install safeinstall. forloop@poke.com

◷ Joined September 2024▧ 2,244 Photos and videos
forloop avatar
forloop@forloopcodes·Sep 3

Sure! Here's how the tightest (known) packing of 67, 6767 and 676767 squares in a larger square looks like: I made the most optimized algorithm to find out the tightest packing of n smaller squares in a larger square test it out: forloopcodes.github.io/least… (runs on your gpu) more details: input: n (number of squares) intermediate: s (side length) output: [[x, y, angle]*n] (array of position of each square) solver (squarepack): pack(n) returns (s, [[x, y, angle], …]) scale: n=100000 in about 4 s, 0.08 s in browser, n=1000001 in 0.2 s. verifier: p_ij = ½ + (|cos φ| + |sin φ|)/2 − max_a |a·(c_i − c_j)|, φ = θ_j − θ_i flow: 1. best of all in O(n): Grid ⌈√n⌉, Göbel strip/square families, L-extensions, the √7 family, DeVincentis,Wainwright 19, Schadt 50/171 2. cache lookup 3. tilted-block search: p×q block rotated 45°, remaining space filled by walls anchoring 4. numerical compaction: Penalty energy E = Σ max(0,penetration)² + Σ max(0,protrusion)², analytic gradient, L-BFGS, shrink s by bisection, basin-hopping. github: github.com/forloopcodes/leas…

Post attachmentPost attachmentPost attachment

I'm sure you always wanted to know how the tightest (known) packing of "n" squares within a larger square looks like... 😍

2:15
forloop avatar
forloop@forloopcodes·15h

music industry is COOKED art industry is COOKED animation industry is COOKED this guy just asked GPT 6.2 Astra to compose a Vocaloid love song featuring Teto and it oneshotted this video ne reference image was provided, the model did this all from its memory:

I asked GPT 6.2 Astra to compose a Vocaloid love song featuring Teto and it oneshotted this:

0:25
brian avatar
⟳ forloop retweeted
brian@brianbellx·Nov 15

codehygiene - a weight-space compiled System One model for code readability and hygiene. 428K ternary params (1.58-bit), zero gradients or training, 10 ms latency on CPU. 11 KB. npx skills add brianbell-x/codehygiene -g

Post attachment
音風景の管理人 avatar
⟳ forloop retweeted
音風景の管理人@kamedo2·Nov 14

JSONを高速に読むことに命を懸けている界隈、遂に277 GB/sで典型的なJSONをパースした人が現れて横転

forloop avatar
forloop@forloopcodes·Nov 14

what if we just compress all the dimensions so much that it reduces to one single vector, partition it for larger distances, and you get faster traversal, semantic search, and clustering

Arnav avatar
⟳ forloop retweeted
Arnav@__iamarnav·Nov 12

at least, it wasn't exactly ai that took his job

V12 avatar
⟳ forloop retweeted
V12@v12sec·Nov 11

Any telegram message can now become RCE 6630b003766baed1fa86cea880d22e41dc416f63d800de3246941ede2396ad48

0:15

Any Telegram message can now become an app. ⚡ Downloads instantly (less than 4 KB)
🎨 Interactive and natively rendered
💸 Payments and viral mechanics built in 🛠️ Build your own. More info and docs for devs: t.me/BotNews/122

0:13
forloop avatar
forloop@forloopcodes·Nov 11

imagine if google colab had intellisense and code documentation and not gemini

forloop avatar
forloop@forloopcodes·Nov 11

okay windows search is actually getting better, infact its the fastest ever

0:04
forloop avatar
forloop@forloopcodes·Nov 10

music industry is COOKED art industry is COOKED animation industry is COOKED this guy just asked Claude Fable 5.2 to compose a Vocaloid love song featuring Teto and it oneshotted this video ne reference image was provided, the model did this all from its memory:

I asked Claude Fable 5.2 to compose a Vocaloid love song featuring Teto and it oneshotted this:

0:25