Hypercubed (Jayson Harshbarger)'s Avatar

Hypercubed (Jayson Harshbarger)

@hypercubed.com

52
Followers
126
Following
47
Posts
01.09.2023
Joined
Posts Following

Latest posts by Hypercubed (Jayson Harshbarger) @hypercubed.com

TIL Slay the Spire is not the purple dragon game!

23.01.2026 03:48 👍 2 🔁 0 💬 0 📌 0
Preview
GitHub - swimlane/pkgdrop: Easy deployment of ES modules without external connection needed at runtime Easy deployment of ES modules without external connection needed at runtime - swimlane/pkgdrop

Love to see what your working on.

This is something I worked on several years ago: github.com/swimlane/pkg...

17.01.2026 21:11 👍 1 🔁 0 💬 0 📌 0

Turns out it's pretty easy to add async emitters to #mini-signals. Soon I’ll release a new version that can async emit in series or parallel, returning promises. Not as fast as sync mini-signals (~1/10), but faster than any other async event emitter (>2x).

#javascript #performance #gamedev

02.01.2026 21:02 👍 5 🔁 1 💬 0 📌 0

In other #eventemitter news: I needed an async emitter. There are a few out there (emittery, awaitable-event-emitter, garronej/evt, even eventemitter2 has something async), but they have the same “performance issues”* as other EEs.

*Performance is in quotes because you often don’t need it.

#js

02.01.2026 20:58 👍 2 🔁 0 💬 1 📌 0

How? mini-signals’ secret sauce is that it stores listeners in a linked list for fast iteration. tseep avoids iteration altogether by “baking” the callbacks - essentially generating a single callback function that calls each listener in sequence. Interesting!

#javascript #performance #tricks

02.01.2026 20:50 👍 1 🔁 0 💬 0 📌 0
Preview
GitHub - Hypercubed/EventsSpeedTests: What's the fastest Observer Pattern implementations? What's the fastest Observer Pattern implementations? - Hypercubed/EventsSpeedTests

Every couple of years, I need a fast event emitter. I pull out my trusted benchmarks at github.com/Hypercubed/E...
to see which one is the fastest today. Interesting development this year! It looks like mini-signals is no longer the fastest, having been inched out by github.com/Morglod/tseep.

#js

02.01.2026 20:48 👍 1 🔁 0 💬 1 📌 0
Post image

STARZ! (working title) now has a live global leaderboard. Can you beat my high score?

starz.hypercubed.dev

#gamedev #hobby #strategy #space

27.12.2025 18:04 👍 3 🔁 1 💬 0 📌 0

What American celebrity do you look like? I was Nicolas Cage. I look nothing like Nicolas Cage IMO.

08.12.2025 18:53 👍 0 🔁 0 💬 0 📌 0
Video thumbnail

Trying to visualize movement to my hobby #strategygame #gamedev project.

08.12.2025 03:24 👍 4 🔁 2 💬 0 📌 0
Video thumbnail

WIP... Multiplayer! #gamedev

29.11.2025 20:17 👍 5 🔁 1 💬 0 📌 0
Video thumbnail

Bots battle for control of "The Bubble". #wargame #gamedev

20.11.2025 03:17 👍 10 🔁 2 💬 0 📌 0
Video thumbnail

Bots battle for control of "The Bubble". #gamedev

github.com/Hypercubed/s...

15.11.2025 22:14 👍 8 🔁 3 💬 0 📌 0
Preview
From the gamedev community on Reddit Explore this post and more from the gamedev community

www.reddit.com/r/gamedev/s/...

15.11.2025 21:55 👍 2 🔁 0 💬 0 📌 0
Post image

A #space themed #wargame built using d3js? Why not! Game mechanics similar to generals.io.

13.11.2025 02:33 👍 1 🔁 0 💬 0 📌 0
Screenshot of in progress space theamed 4x game.

Screenshot of in progress space theamed 4x game.

I've always (many many years) wanted to create a space themed 4x game... hardest part is to KISS. Finally think I'm onto something simple and fun. #webgames #space #wargames

11.11.2025 20:13 👍 0 🔁 0 💬 0 📌 0

Anyone I know going to #jsConf or #ngConf next week?

09.10.2025 21:17 👍 0 🔁 0 💬 0 📌 0

Strict constitutionalism, except totally not

The party of free speech, except not

The party of fiscal conservatism, except not even a little bit

The Hypocrisy is absolutely blinding.

18.09.2025 00:31 👍 263 🔁 34 💬 20 📌 0
your shell lets you run many programs (“jobs”) in the same terminal tab

programs can either be:

    foreground
    background
    stopped (which is more like “paused”)

& runs a program in the background

for example I like to convert 100 files in parallel like this:

for i in `seq 1 100`
do
   convert $i.png $i.jpg &
done

jobs lists backgrounded & stopped jobs

$ jobs
[1] Running python blah.py &
[2] Stopped vim

use the numbers to bring them to the foreground or background (like fg %2), kill them (kill %2), or disown them
when you close a terminal tab all jobs are killed with a SIGHUP signal

you can stop this with disown or by starting the program with nohup: disown %1 (job number goes here) nohup my_program &
a trick to kill programs if Ctrl+C doesn’t work

    press Ctrl+Z to stop the program
    run kill %1 to kill it (or kill -9 %1 if you’re feeling extra murderous)

a little flowchart

Three boxes, labelled “running in foreground”, “stopped”, and “running in background”

Ctrl+Z goes from “running in foreground” to “stopped” fg goes from “stopped” to “running in foreground” fg goes from “running in background” to “running in foreground” bg goes from “stopped” to “running in background”

your shell lets you run many programs (“jobs”) in the same terminal tab programs can either be: foreground background stopped (which is more like “paused”) & runs a program in the background for example I like to convert 100 files in parallel like this: for i in `seq 1 100` do convert $i.png $i.jpg & done jobs lists backgrounded & stopped jobs $ jobs [1] Running python blah.py & [2] Stopped vim use the numbers to bring them to the foreground or background (like fg %2), kill them (kill %2), or disown them when you close a terminal tab all jobs are killed with a SIGHUP signal you can stop this with disown or by starting the program with nohup: disown %1 (job number goes here) nohup my_program & a trick to kill programs if Ctrl+C doesn’t work press Ctrl+Z to stop the program run kill %1 to kill it (or kill -9 %1 if you’re feeling extra murderous) a little flowchart Three boxes, labelled “running in foreground”, “stopped”, and “running in background” Ctrl+Z goes from “running in foreground” to “stopped” fg goes from “stopped” to “running in foreground” fg goes from “running in background” to “running in foreground” bg goes from “stopped” to “running in background”

job control

wizardzines.com/comics/job-c...

(from The Secret Rules of the Terminal, which is out now!)

26.08.2025 15:19 👍 166 🔁 26 💬 6 📌 0

I'm looking for a new co-worker! Junior/Mid-Level UI Developer who will work closely with me and another great FE developer. We can only consider US-based candidates at the moment. If you are interested and would like to know more, feel free to DM me.

job-boards.greenhouse.io/analyst1/job...

12.08.2025 17:53 👍 0 🔁 0 💬 0 📌 0

I'm having a rough go of it lately, and have been thinking: everyone is going through something, and you have no idea what it is, or how it's affecting them.

Quote post this is if you're going through something, and maybe we'll all realize that we aren't as alone as we feel right now.

03.08.2025 19:17 👍 2555 🔁 303 💬 123 📌 849
Tech Promised Everything. Did it deliver? | Scott Hanselman | TEDxPortland
Tech Promised Everything. Did it deliver? | Scott Hanselman | TEDxPortland YouTube video by TEDx Talks

I just wanted to say, I’m probably more proud of this Ted talk than just about anything I’ve ever done so I’m gonna be absolutely useless for the next couple of weeks as I promote the shit out of this because I want you to watch it because it matters in the moment we are in youtu.be/dVG8W-0p6vg

17.07.2025 20:37 👍 991 🔁 273 💬 79 📌 93

Article I, Section 9, Clause 8:

“no Person holding any Office of Profit or Trust under them, shall, without the Consent of the Congress, accept of any present, Emolument, Office, or Title, of any kind whatever, from any King, Prince, or foreign State.”

11.05.2025 14:37 👍 23385 🔁 7521 💬 2158 📌 688

Quote with a title screen that is important to you

07.04.2025 04:47 👍 0 🔁 0 💬 0 📌 0

Multiboard?

25.03.2025 22:24 👍 2 🔁 0 💬 1 📌 0

**StridedView** can't even remember my own generic name.

17.03.2025 19:20 👍 1 🔁 0 💬 0 📌 0

There are a few multidimensional libraries out there for #JavaScript; but most (maybe all?) are focused in numerics. StridedArray was built to effectively manage 2d arrays of any type. And #TypeScript first.

17.03.2025 19:11 👍 5 🔁 0 💬 1 📌 0
Preview
GitHub - Hypercubed/strided-view: StridedView is a library for creating and manipulating 2-dimensional arrays in JavaScript/TypeScript. It is designed to be fast and memory efficient by using a stride... StridedView is a library for creating and manipulating 2-dimensional arrays in JavaScript/TypeScript. It is designed to be fast and memory efficient by using a strided view of a 1D array as the und...

I'm happy to share StridedView! This library helps me efficiently manage 2D arrays in JS/TS. Originally created for game tile maps, but useful for any 2D data manipulation. Inspired by NumPy, but not limited to numbers. github.com/Hypercubed/s... #StridedView

15.03.2025 04:16 👍 0 🔁 1 💬 0 📌 1
Preview
GitHub - Hypercubed/strided-view: StridedView is a library for creating and manipulating 2-dimensional arrays in JavaScript/TypeScript. It is designed to be fast and memory efficient by using a stride... StridedView is a library for creating and manipulating 2-dimensional arrays in JavaScript/TypeScript. It is designed to be fast and memory efficient by using a strided view of a 1D array as the und...

I'm happy to share StridedView! This library helps me efficiently manage 2D arrays in JS/TS. Originally created for game tile maps, but useful for any 2D data manipulation. Inspired by NumPy, but not limited to numbers. github.com/Hypercubed/s... #StridedView

15.03.2025 04:16 👍 0 🔁 1 💬 0 📌 1
Preview
GitHub - sinedied/smoke: :dash: Simple yet powerful file-based mock server with recording abilities :dash: Simple yet powerful file-based mock server with recording abilities - sinedied/smoke

Everytime I add a mock to @sinedied.bsky.social 's github.com/sinedied/smoke I feel delighted. Great tool, really speeds up my #Playwright #testing.

14.03.2025 16:33 👍 1 🔁 0 💬 0 📌 0

I'd suggest keeping Pasta simple. Maybe add an isTarget option that can override the target check? I haven't verified but think that would be enough.

11.03.2025 18:33 👍 0 🔁 0 💬 0 📌 0