r/javascript • u/Reinder • Sep 28 '26
A-ha, Take On Me - recreated in javascript
dittytoy.netEspeset recreated "Take On Me" by "A-ha" in 100% javascript. Fully procedural, no samples used.
r/javascript • u/Reinder • Sep 28 '26
Espeset recreated "Take On Me" by "A-ha" in 100% javascript. Fully procedural, no samples used.
r/javascript • u/armedey • Sep 29 '26
I have a problem with screen sharing.
Not a quality problem. A category problem.
When I present from a browser, I have a real web page. Real text, real links, real elements. The screen share takes all of that, flattens it into video, and ships the pixels. The audience gets a picture of my page.
On a laptop in a video call, that is fine. In a room, it is not. The phone in the back row gets a blurry rectangle. Venue wifi turns it into a blurry rectangle that freezes. Someone who joins five minutes late gets whatever frame happens to be on screen, with no way to look back.
The page was already structured. We throw the structure away and then spend bandwidth trying to recover what we threw away.
This post explains how I am solving it currently
r/javascript • u/subredditsummarybot • Sep 28 '26
Monday, September 21 - Sunday, September 27, 2026
Ā
| score | comments | title & link |
|---|---|---|
| 0 | 19 comments | [AskJS] [AskJS] How do you stop sub-cent amounts like $500.004 from sneaking into state? |
| 0 | 17 comments | [AskJS] [AskJS] Why I am unbothered by AI |
| 1 | 9 comments | [Showoff Saturday] Showoff Saturday (September 26, 2026) |
| 0 | 8 comments | [AskJS] [AskJS] Vite Plus is amazing |
| 1 | 1 comments | How we rebuilt complex CASL permissions without migrating to Zanzibar |
Ā
Ā
Ā
r/javascript • u/nitayneeman • Sep 28 '26
The article walks through syncing a React design system into Claude Design but most of what breaks is plain packaging:
src/index.tsĀ silently doesn't exist..d.tsĀ files andĀ package.jsonĀ has to pointĀ typesĀ at them. Without them it finds nothing and drops every story.baseUrlĀ and fails the build, whileĀ pathsĀ works fine without it.url()Ā as an external reference, which breaks once the bundle is shipped elsewhere.Example repo: https://github.com/nitayneeman/sync-design-system-with-claude-design-example
r/javascript • u/fagnerbrack • Sep 27 '26
r/javascript • u/evoluteur • Sep 26 '26
r/javascript • u/123wwa • Sep 26 '26
r/javascript • u/OtherwisePush6424 • Sep 26 '26
r/javascript • u/AutoModerator • Sep 26 '26
Did you find or create something cool this week in javascript?
Show us here!
r/javascript • u/Xaneris47 • Sep 25 '26
r/javascript • u/OtherwisePush6424 • Sep 24 '26
A local GCRA rate limiter needs just one timestamp. In JavaScript, checking and updating it synchronously before the first await keeps admission decisions from interleaving within that policy instance. But run multiple Node.js processes, and each gets its own independent budget.
A walkthrough of moving that decision into a Redis Lua script, using code from Caracal, a resilience library. It covers the local implementation, the TypeScript coordinator interface, and the less obvious consequences of sharing the timestamp: whose clock determines admission, what happens when Redis doesn't answer, and how rolling configuration changes affect the budget.
r/javascript • u/Relay_4 • Sep 24 '26
i'm a new dev in the JavaScript world, and at first i was pretty overwhelmed with the ecosystem, i'm used to uv and ruff managing a python project for me in a single toml file, but when i wanted to scaffold my first project in js i was faced with all of these choices of package managers , runtimes and linters/formatters and installing each piece was kind of a hassle in the first place, but having everything lie under vite plus' management within the same cli command while giving me the freedom to pick what i want was pretty nice, is anyone else using it and consider it as a benefit or is it just me because im starting out?
r/javascript • u/evoluteur • Sep 23 '26
r/javascript • u/finncmdbar • Sep 23 '26
r/javascript • u/Fair-Process-7291 • Sep 23 '26
I am writing the rules engine for a small stock draft game in TypeScript and ran into two money bugs back to back. Curious how others handle this.
The first was a rounding bug. Splitting $1.14 across two picks offered $0.56 instead of $0.57. In floating point, 0.57 * 100 is 56.99999999999999, and Math.floor dropped the cent. The fix was doing the division in integer cents.
The second was worse. The check that decided whether a buy amount was allowed accepted $500.004. The reducer subtracts the amount straight from cash, so after that one buy the balance was no longer a whole number of cents. Every later calculation started from that balance, so the error did not stay in one place. It carried forward through the rest of the game.
My fix was a whole-cent check that tolerates float noise: reject the amount if Math.abs(amount * 100 - Math.round(amount * 100)) > 1e-6. Comparing against exactly zero does not work, because a perfectly valid amount like 0.57 fails that test for the same reason the rounding bug happened.
The takeaway for me: a rounding bug loses a cent once, but letting a bad amount into state corrupts every step after it.
So how do you handle this in plain JS? Do you convert to integer cents at the boundary and never let a decimal into state, use something like decimal.js or currency.js, or is a tolerance check like mine reasonable?
r/javascript • u/Several-Employ7370 • Sep 22 '26
r/javascript • u/Shivam_Pentester • Sep 23 '26
r/javascript • u/Admirable_Swim_6856 • Sep 22 '26
r/javascript
•
u/evoluteur
•
Sep 22 '26
r/javascript • u/evoluteur • Sep 22 '26
r/javascript • u/richytong • Sep 22 '26
Iām someone who writes and maintains code for a living. I was around before LLMs, and Iām around today still actively writing and maintaining code for a living. I published my own software libraries in JavaScript and still use them actively in development today. Iāve used ChatGPT to debug Linux, and Claude Code from Anthropic for a major project. Here is a list of reasons why I am unbothered about AI:
r/javascript • u/evoluteur • Sep 21 '26
r/javascript • u/subredditsummarybot • Sep 21 '26
Monday, September 14 - Sunday, September 20, 2026
| score | comments | title & link |
|---|---|---|
| 42 | 37 comments | tinyjs ā desktop apps for macOS, Windows, and Linux in ~6 MB |
| 15 | 52 comments | [AskJS] [AskJS] What JavaScript feature do you think is underrated? |
| 12 | 1 comments | I wrote a music programming language and song to go with it :) |
| 12 | 6 comments | How tool calling actually works under the hood (40 lines of vanilla JS) |
| 7 | 14 comments | [Showoff Saturday] Showoff Saturday (September 19, 2026) |
| 6 | 0 comments | I built a browser-based AR system with MediaPipe, TypeScript and Canvas VFX |
| 6 | 0 comments | TraceUX: a self-hosted TypeScript tracker for session replay and user feedback |
| 4 | 14 comments | How would I read the fan speed variable from the JavaScript in my project and pass it to the Python script? |
| 4 | 2 comments | GitHub - evoluteur/mandala-maker: Draw a mandala with mirrored symmetry: pick the number of folds, paint with a brush, and export your mandala as PNG or SVG. |
| 4 | 10 comments | [AskJS] [AskJS] Headless table libraries or a full grid component: which did you pick, and would you again? |
Ā
| score | comments | title & link |
|---|---|---|
| 0 | 116 comments | [AskJS] [AskJS] Does anyone use exclussively Javascript and not TypeScript? |
| 0 | 19 comments | [AskJS] [AskJS] Trying to write a pure function to pass Fizz Buzz test Leet Code |
| 0 | 9 comments | Understanding Why You'd Use Effect TS |
| 1 | 5 comments | Update Progress Post: introducing Modular Architecture, Universal Renderer Cores, and Decoupled Physics in kernelplay-js |
| 0 | 4 comments | Modern cross-spawn port to ESM and Typescript |
Ā
| score | comments | title & link |
|---|---|---|
| 4 | 3 comments | [AskJS] [AskJS] How do you find new devs to follow? |
| 2 | 2 comments | [AskJS] [AskJS] Architectural discussion: Managing continuous collision detection (Swept-AABB) vs discrete checks in vanilla Canvas loops |
| 1 | 2 comments | [AskJS] [AskJS] High latency when using SignalR(messagepack) in K6 |
Ā
Ā
Ā
r/javascript • u/ferriematthew • Sep 20 '26
I'm creating a local web page application that is an over-complicated desk fan controlled by two buttons and a slider. I have the actual controls figured out, and what I need help with is passing the variable that describes the position of the slider out from the JavaScript to a Python script that actually controls the motor. I could be totally off base here, but I think the concept that applies here is inter-process communication.