Joe Hart

Notes

Short-form thoughts, links, and updates.


Have to wait in for wine. But my ISP has gone down.

Lets see how good my mobile hotspot is.

Screenshot of a Slack conversation where I joke about a wide delivery time window for a wine parcel (ā€œbetween 08:49 and 20:00ā€), followed by a message linking to a Zen Internet service alert

This surely cannot how to have a tooltip on a popover trigger. Radix/Shadcn has gone too far.

This is in jest, but also not. This is just so much boilerplate.

![Code preview showing use of tooltip and popover primitives:

import _ as React from ā€œreactā€;
import _ as Popover from ā€œ@radix-ui/react-popoverā€;
import * as Tooltip from ā€œ@radix-ui/react-tooltipā€;
import { MixerHorizontalIcon } from ā€œ@radix-ui/react-iconsā€;

function PopoverWithTooltip() {
return (
<Tooltip.Provider>
<Tooltip.Root>
<Popover.Root>
<Popover.Trigger asChild>
<Tooltip.Trigger asChild>

</Tooltip.Trigger>
</Popover.Trigger>
<Tooltip.Content sideOffset={5}>
Tooltip text here
</Tooltip.Content>
<Popover.Portal>
<Popover.Content sideOffset={5}>
Popover content here
</Popover.Content>
</Popover.Portal>
</Popover.Root>
</Tooltip.Root>
</Tooltip.Provider>
);
}](/img/notes/1a5596173098.png)

I really wish a lot of apps, particularly photos app had a fuzziness slider on date values. like I know a particular photo is in 1984 but no date, or another one broadly ā€œearly 90sā€.

I can pick an arbitray time in that range but I’d love to be able to record the fuzinesss.

I’ve been coding in JS for who knows how long and I just wasted an hour not realizing .sort() is mutative and I should’ve been using .toSorted() instead šŸ¤¦ā€ā™‚ļø

Now Apple seems less opinionated and more customizable there’s really no alternative companies to go to for people you want a highly opinionated platform as a phone or desktop OS.

#WWDC is one of those times that I’d normally miss twitter for all the sass and jokes, but I’ve manage to follow enough fellow sarcastic devs my timeline is full of all the good stuff.

Good hustle, gang.

Gotta say, I think the liquid glass stuff looks fuckin dumb as hell.

Maybe I’m just getting old, but all these game trailers from summer games fest just blur together for me. Amazing graphics are everywhere now and all have very similar aesthetics

Except for that game about puppet boxing, that looks fucking dope

First criterion collection dvd added to the collection

Picture of Godzilla blue ray from criterion collection

I find it nuts that iPad doesn’t have a built in way to remote into a Mac. Like the Mac to Mac experience with screen share is amazing, if they just ported that over to the iPad it’d be amazing.

In light of Airbnb also wanting to be an everything app:

Having a deep pang for late 2000s UI design right now

screenshot of Winamp with a very skuomorphic bezelled UI with lots of fun colours.

screenshot of Xfire with a very skuomorphic bezelled UI with lots of fun colours.

Finally reading Alan Holinghurst’s new book Our Evenings and its just sublime. He is the master of capturing weird british subtext where the unspoken parts are the loudest and often most damming.

TIL Apollo client cache operations block the main thread

My brain: wow I feel great after that run and some stretching

My brain, later: let’s never do that again, doesn’t seem worth it

There’s that old saying about ā€œwould you rather have the tests or the source codeā€ when trying to rebuild something.

I think there’s probably something similar with ā€œwould you rather have the specs or the slack channels talking about the specsā€ for feature work.