Advertisement · 728 × 90

Posts by Hypercubed (Jayson Harshbarger)

Preview
F♭m as Minimalist Concatenative Design: A Critical Third‑Party Review F♭m is a minimalist concatenative programming language designed as an experimental platform for exploring the limits of uniform computation. Its core is defined by a single runtime type—arbitrary-prec...

I asked #ChatGPT to write a review of my programming language project. I think it did a great job. If you don't like AI generated research, don't read.... but this does not look like slop to me!

jaigp.org/paper/57

1 week ago 1 0 0 0
Preview
From the concatenative community on Reddit Explore this post and more from the concatenative community

www.reddit.com/r/concatenat...

2 weeks ago 0 0 0 0

TIL Slay the Spire is not the purple dragon game!

2 months ago 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...

2 months ago 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

3 months ago 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

3 months ago 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

3 months ago 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

3 months ago 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

3 months ago 3 1 0 0

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

3 months ago 0 0 0 0
Advertisement
Video

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

3 months ago 4 2 0 0
Video

WIP... Multiplayer! #gamedev

4 months ago 5 1 0 0
Video

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

4 months ago 10 2 0 0
Video

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

github.com/Hypercubed/s...

4 months ago 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/...

4 months ago 2 0 0 0
Post image

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

4 months ago 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

4 months ago 0 0 0 0

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

5 months ago 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.

6 months ago 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!)

7 months ago 166 26 6 0
Advertisement

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...

7 months ago 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.

7 months ago 2553 303 123 848
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

8 months ago 990 272 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.”

10 months ago 23373 7511 2159 687

Quote with a title screen that is important to you

11 months ago 0 0 0 0

Multiboard?

1 year ago 2 0 1 0

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

1 year ago 1 0 0 0
Advertisement

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.

1 year ago 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

1 year ago 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

1 year ago 0 1 0 1