Advertisement · 728 × 90

Posts by Kognise

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?

1 year ago 2 0 0 0

are you guys actually using this now?

1 year ago 1 0 0 0

true!

2 years ago 0 0 0 0

what exactly... does this do?

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

2 years ago 1 0 0 0

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

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

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

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

2 years ago 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)

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

2 years ago 0 1 2 0
Advertisement
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 🤪

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

2 years ago 16 4 1 0

and what do you think you just added to, matthew

2 years ago 0 0 1 0

(broken link again btw)

2 years ago 0 0 0 0

awwww

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

2 years ago 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/

2 years ago 1 1 1 0
Advertisement

brb making a language that compiles to sheets

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

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

2 years ago 3 0 0 0

what does it do?

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

2 years ago 2 0 1 0

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

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

2 years ago 1 0 0 0

Oh, that makes a lot of sense! Thanks

2 years ago 1 0 0 0
Advertisement

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

2 years ago 2 0 1 0

also, thank @dmfj.io

2 years ago 1 0 0 0

14 total i believe

2 years ago 1 0 3 0

i love complex packing logistics problems

2 years ago 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).

2 years ago 2 0 2 0