Kognise's Avatar

Kognise

@kognise.dev.bsky.social

“hit bskyer koggy woggy” since you do not know me here: - i do every type of programming - i make every type of music - i fly planes (but only one type of plane) https://kognise.dev/

143 Followers  |  143 Following  |  97 Posts  |  Joined: 06.07.2023  |  1.9037

Latest posts by kognise.dev on Bluesky

Post image Post image

I don't really have a following here but I know there are more React people on bsky these days (@danabra.mov ?)

I'm getting this really weird warning in prod on latest React 18 and I can't figure out why it's happening. As far as I can tell all the rules of hooks are followed correctly?

22.11.2024 20:11 — 👍 2    🔁 0    💬 0    📌 0

are you guys actually using this now?

14.11.2024 15:28 — 👍 1    🔁 0    💬 0    📌 0

true!

23.09.2023 04:13 — 👍 0    🔁 0    💬 0    📌 0

what exactly... does this do?

08.08.2023 21:00 — 👍 0    🔁 0    💬 1    📌 0

i considered "it's 10pm. do you know what your processor is doing?" for my article about program execution but not a SINGLE one of my friends got the reference so i pruned it sadly

07.08.2023 13:56 — 👍 1    🔁 0    💬 0    📌 0

why are [women's] hair products so A-heavy?

my shower is filled with AVEDA, ACURE, ALAFFIA, RAHUA

05.08.2023 12:12 — 👍 1    🔁 0    💬 1    📌 0

the other day i wanted to use dtruss to trace some program but disabling SIP was so inconvenient (shutting down, rebooting into recovery mode, etc.) that it was easier to start a linux vm and run strace from there lol

05.08.2023 11:39 — 👍 2    🔁 0    💬 1    📌 0

i really like the structure of your thing, especially how it focuses on exploration and commands that can be run by the reader to replicate what you're showing. will definitely recommend as a resource

04.08.2023 17:27 — 👍 0    🔁 0    💬 0    📌 0

i definitely want to know more about how other operating systems like macos and windows work, there's like no info about them. ESPECIALLY WINDOWS.

(also based shoutout to LWN, there are some great posts on there)

04.08.2023 17:25 — 👍 0    🔁 0    💬 1    📌 0
Preview
How to Run a Program Curious exactly what happens when you run a program on your computer? Learn how multiprocessing works, what system calls really are, how computers manage memory with hardware interrupts, and how Linux...

oh cool! i just wrote a similar thing but went into depth about a bunch of other aspects too, like syscalls and multithreading and stuff (in other chapters) - you might be interested. https://cpu.land/how-to-run-a-program

04.08.2023 17:25 — 👍 0    🔁 1    💬 2    📌 0
Screenshot of code editor. Code:

#![array_formula]

let by = range ->
	let unique_keys = filter !is_empty (unique range)
	let rows = unique_keys |> map name ->
		let samples = filter $F2:F (range == name)
		[name, average samples, (count samples) & " samples"]
	sort rows 2 false

[
	["By name...", "", ""];
	by $C2:C;
	["", "", ""];
	["By type...", "", ""];
	by $B2:B
]

Screenshot of code editor. Code: #![array_formula] let by = range -> let unique_keys = filter !is_empty (unique range) let rows = unique_keys |> map name -> let samples = filter $F2:F (range == name) [name, average samples, (count samples) & " samples"] sort rows 2 false [ ["By name...", "", ""]; by $C2:C; ["", "", ""]; ["By type...", "", ""]; by $B2:B ]

making a functional programming language that compiles to google sheets 🤪

04.08.2023 15:13 — 👍 3    🔁 1    💬 0    📌 0

"UTF-8 was designed, in front of my eyes, on a placemat in a New Jersey diner one night in September or so 1992."

https://www.cl.cam.ac.uk/~mgk25/ucs/utf-8-history.txt

22.07.2023 13:19 — 👍 16    🔁 4    💬 1    📌 0

and what do you think you just added to, matthew

21.07.2023 16:13 — 👍 0    🔁 0    💬 1    📌 0

(broken link again btw)

19.07.2023 12:48 — 👍 0    🔁 0    💬 0    📌 0

awwww

11.07.2023 17:47 — 👍 1    🔁 0    💬 0    📌 0

We're based in Vermont ourselves @hackclub.com (not really active on bsky) and are good. I'm probably not the best person to spread this message bc I have no followers and post about programming, but I still want to extend reach a bit.

11.07.2023 17:39 — 👍 0    🔁 0    💬 0    📌 0

The company I work for is waiving all fees on our funding platform for VT flooding relief efforts. HCB is really the only good platform for collecting tax-deductible donations and issuing physical cards.

Should take <24h to apply by emailing bank@hackclub.com or https://hackclub.com/bank/.

11.07.2023 17:37 — 👍 1    🔁 1    💬 1    📌 0

brb making a language that compiles to sheets

11.07.2023 17:00 — 👍 1    🔁 0    💬 0    📌 0
A Google Sheets formula: =ARRAYFORMULA(LET(BY, LAMBDA(range, SORT(MAP(FILTER(UNIQUE(range), NOT(ISBLANK(UNIQUE(range)))), LAMBDA(name, {name, AVERAGE(FILTER($F2:F, EQ(range, name)))})), 2, FALSE)), {{"By name...", ""}; BY($C2:C); {"", ""}; {"By type...", ""}; BY($B2:B)}))

A Google Sheets formula: =ARRAYFORMULA(LET(BY, LAMBDA(range, SORT(MAP(FILTER(UNIQUE(range), NOT(ISBLANK(UNIQUE(range)))), LAMBDA(name, {name, AVERAGE(FILTER($F2:F, EQ(range, name)))})), 2, FALSE)), {{"By name...", ""}; BY($C2:C); {"", ""}; {"By type...", ""}; BY($B2:B)}))

Google Sheets has let and lambdas.

11.07.2023 17:00 — 👍 0    🔁 0    💬 1    📌 0
a mobile screenshot of a terminal with an incomprehensible error message

a mobile screenshot of a terminal with an incomprehensible error message

lol jesus

10.07.2023 22:18 — 👍 3    🔁 0    💬 0    📌 0

what does it do?

10.07.2023 22:05 — 👍 1    🔁 0    💬 1    📌 0
A photo of a pile of suitcases with a pile of squished sharks on top

A photo of a pile of suitcases with a pile of squished sharks on top

10.07.2023 20:28 — 👍 2    🔁 0    💬 1    📌 0

then i couldn't get dmfj to pay for them! also, way more fun irl

10.07.2023 20:24 — 👍 1    🔁 0    💬 0    📌 0
A screenshot of a Discord message I posted, replying to another image post. A badge that says "remix" is next to my username. Attached to my message is an image containing a screenshot of an IKEA Brooklyn bank transaction, rotated, with overlayed drawings, emoji, and the text "yoooo"

A screenshot of a Discord message I posted, replying to another image post. A badge that says "remix" is next to my username. Attached to my message is an image containing a screenshot of an IKEA Brooklyn bank transaction, rotated, with overlayed drawings, emoji, and the text "yoooo"

discord now lets you "remix" people's images and annotate them, etc.

10.07.2023 19:22 — 👍 1    🔁 0    💬 0    📌 0

Oh, that makes a lot of sense! Thanks

10.07.2023 19:00 — 👍 1    🔁 0    💬 0    📌 0

are there perf repercussions here or is it just to, like, avoid encouraging invalid html? "[name]" as a selector feels like something i might actually end up doing

10.07.2023 18:21 — 👍 2    🔁 0    💬 1    📌 0

also, thank @dmfj.io

10.07.2023 17:58 — 👍 1    🔁 0    💬 0    📌 0

14 total i believe

10.07.2023 17:58 — 👍 1    🔁 0    💬 3    📌 0

i love complex packing logistics problems

10.07.2023 17:15 — 👍 1    🔁 0    💬 0    📌 0
A photo of a bunch of very flattened IKEA sharks in a clear plastic bag for vacuum packing.

A photo of a bunch of very flattened IKEA sharks in a clear plastic bag for vacuum packing.

A photo of an IKEA shark strapped to a suitcase, tightly cinched in two places.

A photo of an IKEA shark strapped to a suitcase, tightly cinched in two places.

Bringing $400 worth of IKEA sharks on our flight home.

We vacuum-packed 5, fit that + 2 more in one suitcase to check, fit 4 more in a carry-on suitcase. Traveling with 2 other people, we'll each carry one shark through TSA (in the meantime, strapping to my bag).

10.07.2023 17:12 — 👍 2    🔁 0    💬 2    📌 0

@kognise.dev is following 19 prominent accounts