TIL Slay the Spire is not the purple dragon game!
TIL Slay the Spire is not the purple dragon game!
Love to see what your working on.
This is something I worked on several years ago: github.com/swimlane/pkg...
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
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
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
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
STARZ! (working title) now has a live global leaderboard. Can you beat my high score?
starz.hypercubed.dev
#gamedev #hobby #strategy #space
What American celebrity do you look like? I was Nicolas Cage. I look nothing like Nicolas Cage IMO.
Trying to visualize movement to my hobby #strategygame #gamedev project.
WIP... Multiplayer! #gamedev
Bots battle for control of "The Bubble". #wargame #gamedev
Bots battle for control of "The Bubble". #gamedev
github.com/Hypercubed/s...
A #space themed #wargame built using d3js? Why not! Game mechanics similar to generals.io.
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
Anyone I know going to #jsConf or #ngConf next week?
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.
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!)
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...
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.
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
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.”
Quote with a title screen that is important to you
Multiboard?
**StridedView** can't even remember my own generic name.
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.
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
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
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.
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.