Show newer

The October meetup of Forward JS Ottawa is happening today! It's our first event at Bayview Yards. Please note the early, 5pm, start.

See you there!

meetup.com/ottawa-forwardjs-me

#ottawa #javascript #webdev

For anyone who hasn’t heard, Doug Ford wants to end security of tenure for Ontario renters and eliminate automatic month-to-month leases and make it so anyone can be evicted after one year at any time. This would obviously ruin many many people’s lives and massively increase homelessness and precarity. There’s a mass organizing call this Sunday to figure out how to fight it, please pass it onto everyone you know, renter or otherwise tenantunion.ca/allout #CdnPoli #topoli #onpoli

My knees hurt and my ears are ringing. Blissful.

Finally found a local club with the sort of dance music I like. 🤖🤘

The autocomplete in nushell is pretty neat. I also loke how it's different enough from bash that I have more reason to use it compared to zsh that felt like bash with extra steps.

lets just cut out the middleman and give me a USB port on the back of my neck

Show thread

Brb running automated maintenance on my meatware.

10/? Checking the code, there was nothing obvious. Adding a test, it seems to pass same as the SDK tests. It seems the bug might be somewhere in Electron or in Agregore's code. This means I need to start setting debug logs and breakpoints in the browser since my tests are non existent there.

github.com/RangerMauve/hyperco

Show thread

9/? Trying to update the hyper-sdk tests to use drive instead of core isn't yielding the issue either. Maybe something in hypercore-fetch is adding more side effects than just initializing the drive? Gonna switch to hypercore-fetch and try to reproduce there.

github.com/RangerMauve/hyper-s

Show thread

8/? This will then invoke the `createKey` function inside hypercore-fetch via the protocol handlers. Setting a breakpoint inside the scratchpad, it seems this function never resolves.

github.com/RangerMauve/hyperco

Show thread

7/? The `showAllSaved` button uses the `hyper://` protocol handlers to resolve the local name `dweb_scratchpad` into a P2P archive URL using await fetch(`hyper://localhost/?key=${name}`, { method: 'POST' });

github.com/AgregoreWeb/website

Show thread

6/? I open a page I published using the DWeb Scratchpad and then try to open the scratch pad and click "Look at your saved sites", it doesn't open and the request appears to be frozen. If I open the site via the "Look at your saved sites" page before trying to access its `hyper://` URL it works fine.

hyper://agregore.mauve.moe/apps/scratchpad.html

Show thread

4/?

First test will just reuse the SDK instance in memory but try to clear the core data and reload it from storage by URL. Test passed so it might be due to loading the SDK from scratch from memory (is there a private key cache in corestore?).

github.com/RangerMauve/hyper-s

Show thread

3/?

Since the SDK is meant to work in both node.js and bare-kit, I'm using the `brittle` module for tests.

npmjs.com/package/brittle

Show thread

2/? Step one: Reproduce the issue. I'll see if I can make a test to reproduce what I'm seeing in @agregore , but with the lowest level primitive I use for hypercore dev, hyper-sdk

github.com/RangerMauve/hyper-s

Show thread

Gonna try something new. Live tooting my debugging session. Today's bug: If I open a `hyper://` URL that I should have the private key for without actually giving the `name` first, it won't generate the key and marks the drive as read only. Or something like that?

How did I not hear of the #DigitalFairnessAct until today? Intriguing legislation idea, it's a bit mind-boggling to think that something as prevalent as dark patterns and addictive design in software could be criminalised, but yet I feel strangely liberated imagining myself in a world—or at least a European Union—without them.

I looked at the "Fitness Check" publication it is derived from and wow, it really gets into the major issues with the modern web. Hoping something good comes of this.

Show older
Mauvestodon

Escape ship from centralized social media run by Mauve.