Josh Nussbaum
banner
joshnuss.com
Josh Nussbaum
@joshnuss.com
Software developer/ape riding a rotating rock through outer space.

YouTube: https://youtube.com/@josh_nussbaum

Building sveltestripe.com, airbadge.dev
I believe it should be accessible (but someone correct me if I am wrong)

See: developer.mozilla.org/en-US/docs/W...
November 10, 2025 at 12:33 AM
Go for it man!

Just heads up, it will need a polyfill for anchor positioning to work in firefox (havent tried it yet)
November 9, 2025 at 8:43 PM
Will check it out!

Seems there are a few decent options right bow
November 8, 2025 at 7:12 PM
I'm gonna take a look at it too,

Everyone seems to say good things, so I'm gonna switch if it's easy to use
November 8, 2025 at 7:12 PM
Hey Stephen!

I didn't implement an uploader, just used their dashboard UI, it definitely was a bit slow (though I don't upload too frequently)
November 8, 2025 at 7:10 PM
I believe there is something called CloudFlare Stream Media Transformations

But I haven't tried it yet

I think @jovianmoon.io is doing stuff with Mux too
November 7, 2025 at 8:22 PM
CloudFlare Streams seemed to cover what I needed

Any advantage to using Mux for this use case?
November 7, 2025 at 7:51 PM
content-collections makes it way easier, because I define all the course data in markdown.

And the `vid` (in frontmatter) maps to the Cloudflare Stream
November 7, 2025 at 9:54 AM
Truly terrifying 😂
October 21, 2025 at 10:10 PM
Yeah, that's better.

The advantage of this approach is that the class is set on first render and doesn't depend on DOM operations (no flicker)
October 21, 2025 at 3:38 AM
Good point about effect, updated the REPL.

The one advantage of this approach compared to clsx is not needing to repeat the url, ie

<a href="/some/path" class:active={page.url.path == '/some/path'}>
October 21, 2025 at 3:13 AM
October 21, 2025 at 2:15 AM
Ah got ya, I hadn't tried that version 😅

And updated the current time == 0 check, since it's valid for a user to re-seek to 0
github.com/joshnuss/sk-...
Use flag to track loaded state · joshnuss/sk-indexed-db-test@f25a4ec
github.com
October 20, 2025 at 2:48 PM
hmm, "it works on my machine" ™
maybe there is a timing/order issue on different networks?

but with the updated code using `onloadedmetada`, is it still an issue?
October 20, 2025 at 2:33 PM
> I can't get src with a playback range to work.
It's not playing at all?

I guess the flicker wasn't super important for me, because in my case the video has a poster image anyways.

But you're right that using `loadedmetadata` event is better than using onMount

Updated: github.com/joshnuss/sk-...
Use onloadedmetadata event instead of onMount · joshnuss/sk-indexed-db-test@381ddaa
github.com
October 20, 2025 at 2:12 PM
Yes, bind:this happens before onMount() is called

Also, I didn't use a $state() rune, because it's not reactive - the element is only assigned once and will not change, and it's not referenced by anything reactive
October 19, 2025 at 4:57 PM
I see, it sounds like you're having success with it, and it's saving you a lot of time.

I guess my experience is different
September 29, 2025 at 5:32 PM
Do you find the code they generate is accurate and useful?

Do find that the overall time spent writing prompts, correcting errors, re-writing prompts is faster than learning and solving yourself?
September 29, 2025 at 11:30 AM