Sign in

MapleLeaf 🍁

@mapleleaf.dev
1.9K followers 331 following 342 posts

code • TTRPG • EDM • rhythm games • anime • he/they 🏳️‍🌈 • not actually Canadian 🍁 • opinions are my own mapleleaf.dev

PostsRepliesMedia
MapleLeaf 🍁 @mapleleaf.dev · 10/09/2025
watch me struggle to play the funny nutdealer song (i fail at the end)
021
MapleLeaf 🍁 @mapleleaf.dev · 31/07/2025
a discord message from Myself reading "me at 4 AM being Tired and Done" followed by an image of a code snippet which reads "// @ts-expect-error: fuck you"
020
MapleLeaf 🍁 @mapleleaf.dev · 13/07/2025
wish someone told me sooner that cooking was just throwing random shit together that you like lol
060
MapleLeaf 🍁 @mapleleaf.dev · 05/07/2025
just learned of the existence of this word, 0/5 would not use
chthon·ic /ˈTHänik/
adjective: chthonic; adjective chthonian;
1. concerning, belonging to, or inhabiting the underworld.
160
MapleLeaf 🍁 @mapleleaf.dev · 16/06/2025
I guess it could be worse
a code snippet with the following contents:

{(renderViewModeItem || renderEditModeItem) &&
	(mode === "view" ?
		<Button
			icon={<Icon icon="mingcute:edit-2-fill" />}
			onClick={() => {
				setMode("edit")
			}}
		>
			Edit
		</Button>
	:	<Button
			icon={<Icon icon="mingcute:check-fill" />}
			onClick={() => {
				setMode("view")
			}}
		>
			Done
		</Button>)}
020
MapleLeaf 🍁 @mapleleaf.dev · 16/06/2025
a screenshot containing the TypeScript code `"": undefined` followed by an inline object literal access, with the comment "blame typescript, prettier, and my weird decision to have empty string be the default value, I guess?"
010
MapleLeaf 🍁 @mapleleaf.dev · 30/05/2025
PLEASE
a screenshot of the browser support of the `field-sizing: content` CSS property on caniuse.com, showing Chrome and Edge with full support, but Safari and Firefox with zero support
010
MapleLeaf 🍁 @mapleleaf.dev · 30/05/2025
if your component imports don't fill the entire screen, what are you even doing
a code editor screenshot showing a TypeScript file with 41 lines of just imports
160
MapleLeaf 🍁 @mapleleaf.dev · 10/03/2025
@notion.com this shortcut is a lie, it just opens the doc regularly lol
100
MapleLeaf 🍁 @mapleleaf.dev · 17/02/2025
completely fine! :D
010
MapleLeaf 🍁 @mapleleaf.dev · 17/02/2025
This is fine!
several TailwindCSS classes split over several lines in a single className JSX attribute string, some of which have complex selectors within them
6180
MapleLeaf 🍁 @mapleleaf.dev · 03/02/2025
PSA: I know you mac people love your fancy hover scrollbars (and some linux / FF folks too) but please don't forget about those who don't have them (and/or just turn them off)
a listbox preview from HeroUI, where the listbox has both horizontal and vertical scrollbars, making it look extremely ugly, assuming they didn't test it this way
2110
MapleLeaf 🍁 @mapleleaf.dev · 25/01/2025
this is after killing vite - is this a bug??? has it always been this bad and i'm just blind?
100
MapleLeaf 🍁 @mapleleaf.dev · 25/01/2025
fucking kidding me, this is every day now
200
MapleLeaf 🍁 @mapleleaf.dev · 27/12/2024
i can't believe my list of cursor UX complaints is growing why are notepads forcefully enabled here? in what universe does it makes sense to **prevent disabling an unnecessary feature** i swear to fucking christ
the context menu on "notepads" in the explorer sidebar in the Cursor editor, showing the "Notepads" toggle disabled, preventing one from hiding it
220
MapleLeaf 🍁 @mapleleaf.dev · 22/12/2024
astro image accepting a promise is actually so GOATed wtf
A usage of Astro's image component, showing a promise value being passed to the `src` prop without type errors
3311
MapleLeaf 🍁 @mapleleaf.dev · 17/12/2024
cursor (and claude) cooking again
Code screenshot showing the conversion of a recursive Rust function 'compact_spans' into an iterative version using list.fold. The image shows both the original recursive implementation and the new version side by side, with explanatory comments describing how the fold operation processes spans in reverse order. The code uses syntax highlighting with purple, blue, and green colors, and includes line numbers along the left margin.
130
MapleLeaf 🍁 @mapleleaf.dev · 28/11/2024
I took these test again for shits and giggles and, predictably, I get all of the ADHD slices of the Autism graph 😂 although it makes me wonder, even knowing these tests aren't super realistic, how *much* of the Autism spectrum does one occupy before they like, have it, like what's the threshold
A circular diagnostic wheel showing autism spectrum indicators, divided into 10 sections: Fixations, Abnormal/Flat Speech, Noise Sensitivity, Social Difficulty, Anxiety, Abnormal Posture, Poor Eye Contact, Tics and Fidgets, Aggression, and Depression. Each section has three intensity rings, with colors indicating severity levels.A circular diagnostic wheel displaying ADHD characteristics, divided into 7 sections: Inattention, Forgetfulness, Hyperactivity, Developmental Delays, Inflexibility, Emotional Dysregulation, and Impulsivity. The diagram uses concentric rings with different colors to show varying intensity levels of each symptom.
440
MapleLeaf 🍁 @mapleleaf.dev · 21/11/2024
(text generated by Claude) A humorous comparison of two flow charts on a black background with white text and circles. The top chart labeled 'regular task progression' shows a simple three-step process: 'start' → 'one or two tiny detours maybe' → 'thing i want to do'. The bottom chart labeled 'my ADHD ass' shows a much more complicated path with multiple diversions: starting with 'start', branching into tasks like 'send the prescription refill email that i forgot about', 'vacuum the dead bugs that have been bothering me', 'throw out random shitty containers for proper ones', 'throw away the moldy strawberries that i forgot about', 'get yogurt', 'go back to get granola for the yogurt', 'make this diagram', and finally reaching 'thing i want to do'.
260
MapleLeaf 🍁 @mapleleaf.dev · 19/11/2024
#javascript operator precedence is funny also, if you didn't know that it's valid to spread non-objects, today you learned!
a code snippet which reads:

const rest = { secret: 42 }

// these two are equivalent
const first = {
	...a > 5 && rest,
}

const second = {
	...(a > 5 && rest),
}
070
MapleLeaf 🍁 @mapleleaf.dev · 15/11/2024
every time i enable cursor tab, i remember how obtusely annoying, confusing, and frequently wrong it is and turn it back off someone please make something as good as or better than the composer, because I keep finding new reasons to hate everything about this editor but that
030
MapleLeaf 🍁 @mapleleaf.dev · 05/11/2024
because it looks like this on discord i do not trust this face. i would not trust this face with anything. (but really for me it's just sitting SO neatly in the uncanny vally lmao)
120
MapleLeaf 🍁 @mapleleaf.dev · 04/11/2024
generics on "typeof <function>" has to have been one of my favorite TS updates
a code snippet which reads:

// function type:
function usePointerState<Target>(): {
	listen: (listener: Listener<PointerGestureEvent<Target>>) => () => void;
	getButtonState: (button: PointerButton) => PointerButtonState<Target>;
	handlePointerDown: (event: PointerEvent, target: Target) => void;
}

// type alias:
type PointerState<Target> = ReturnType<
	typeof usePointerState<Target>
>

// equivalent to:
type PointerState<Target> = {
	listen: (listener: Listener<PointerGestureEvent<Target>>) => () => void;
	getButtonState: (button: PointerButton) => PointerButtonState<Target>;
	handlePointerDown: (event: PointerEvent, target: Target) => void;
}
1171
MapleLeaf 🍁 @mapleleaf.dev · 31/10/2024
ok wait this motherfucker is actually throwing me because i keep seeing blue dot and instinctively clicking it
the "scroll to top of dashboard" button
290