Show newer
Dave Jones boosted

@dave Bitcoin could totally revolutionize foreign aid. You could send money directly to people with no governments and corruption in the middle to siphon off the money.

Think what you will of Strike. But it’s clear they are focusing on sidestepping financial services in developing countries that have inflation and corruption issues. They’re going straight to the people. That’s a noble endeavor.

twitter.com/jackmallers/status

Looks like it supports “lightning addresses” too. I haven’t played around with those yet.

Show thread

Maybe this is better. Write the file as:

<feedid>_<httpstatus>.txt

If the http status code is a perm redirect code like a 301, then the contents of the file should be expected to be nothing more than the final destination url as a string.

The timestamp of the file can be assumed as the last polling time.

I think that captures all of the data I'd need saved anyhow.

Show thread

I guess it wouldn't have to be binary. Could be JSON.

Show thread

The idea is that Partytime.js could pick up and read that data and include it in the feed update SQL calls. I'm not sure how hard it would be to parse that data out of the file though using JavaScript. I have no experience with binary decoding in JS.

Show thread

Aggrivate.js (the polling agent) currently saves feed contents in a file like:

<feedid>.txt

...for Partytime.js (the parsing agent) to pick up and parse later.

I'm trying to make it so that Aggrivate never writes to the database and leaves Partytime to do all of the writes.

So, with the new Aggrivate.rust I'm considering writing the feed file with an extra binary blob which is a saved Rust struct denoting things like the http return status code and redirect url, etc.

Thoughts?

Dave Jones boosted

One for @ernestoacostame - who asked - but for anyone else who wondered... I wrote this up after our chat here. Hope it helps! podnews.net/article/with-the-s

Dave Jones boosted

@brianoflondon
Just remember, 9 months ago you were the crazy Hive guy, now you have podping updating the database and soon for live.

Moooo!

Dave Jones boosted

That's on my 8-core M1 Mac Mini, and zero io overhead since I'm not saving the response bodies to files yet. Still, that's pretty good being on a mediocre home internet connection.

Show thread

Got a really rough wireframe together of the new replacement for Aggrivate.js. About to test how fast it can poll 1000 feeds.

Let’s see if I can finish up liveItem today.

Show older
PodcastIndex Social

Intended for all stake holders of podcasting who are interested in improving the eco system