Sam Apostel
sams.land
Sam Apostel
@sams.land
Always making stuff

https://sams.land
Question for @sentry.io
Not mentioned in the terms and conditions:

Do I still enter the raffle if I debug the day after it was released? What are the cutoff dates?
December 14, 2024 at 11:28 AM
Do you have any idea if the problems will get harder?

I’ve started to code-golf my solutions to create a bit more of a challenge
December 9, 2024 at 8:41 AM
React:
```tsx
'use client';
import { registerMasonry } from 'masonry-pf';

function Masonry({ children }: PropsWithChildren) {
return (
<div
className="grid grid-rows-[masonry] grid-cols-1 md:grid-cols-3 gap-4"
ref={registerMasonry}
>
{children}
</div>
);
}
```
December 8, 2024 at 11:58 PM
It composes very well with react (which I use) but it's just a native js package (with typescript types)

Thanks to @mattpocock.com for his awesome article on how to create an NPM package. It helped me quickly set up an npm package with changesets, which I had been wanting to try out.
How To Create An NPM Package
Learn how to publish a package to npm with a complete setup including, TypeScript, Prettier, Vitest, GitHub Actions, and versioning with Changesets.
www.totaltypescript.com
December 8, 2024 at 11:58 PM
It's a simple utility function that registers a grid as masonry and tries to match the masonry layout by shifting items up.
GitHub - Sam-Apostel/masonry-pf: css masonry grid polyfill
css masonry grid polyfill. Contribute to Sam-Apostel/masonry-pf development by creating an account on GitHub.
github.com
December 8, 2024 at 11:58 PM
Not the catit pixi. It’s amazing at first but a hassle to clean and the pump broke after only 3 months (yesterday).
November 18, 2024 at 6:44 AM