Coding Interruptus

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@brianoflondon·
0.000 HBD
Coding Interruptus
---
***[Building the next v4v.app v2](https://peakd.com/created/v4vapp-v2)***

***This is a value for value post: see the explanation in the footer.***

---

## Doing the Work

I started off the day doing the work.

![image.png](https://files.peakd.com/file/peakd-hive/brianoflondon/23tGTZMNQUikrwNs2XbVXDLeiKBRsezEAGdFhQDbrbzrJcgp3qJm5wCjzsNHWguoLTdov.png)

- I got the all import Dark Mode selector on the site;
- a Language selector (because I'm determined to make the next site in Spanish and whatever other languages the Hive team can help me with);
- I added an indicator for whether Keychain is installed;
- I installed the `hive-tx-js` library by @mahdiyari 

## Hive-tx-js Needs a bit more Discussion

I say I installed `hive-tx-js` but actually I don't think I did. I tried the `yarn add hive-tx` way of doing this but try as I might I couldn't find the right magic spell to get that into my code.

In the end I copied a file called `hive-tx.min.js` which I got from Github into the `assets` folder on my site and when I want to use it I include `import "src/assets/hive-tx.min.js"` in my code.

I'd love to know if there is a better way to do this and I really do need to learn a whole lot more about how Javascript handles 3rd party libraries and importing. I'm pretty clueless about this stuff right now but I'll learn.

## And then the interruption

At some point this afternoon I started listening to the second half of the @cttpodcast [from Saturday night which I was on for the first hour but then dropped off](https://3speak.tv/watch?v=cttpodcast/zjvcobqa).

I started listening on a newly released Beta version of the [Fountain Podcasting App](https://fountain.fm/brianoflondon?code=76b73a585e). As I listened I started streaming sats and after a couple of payments I noticed that my Telegram internal notification system was going nuts with errors:

![Behind the Scenes on V4V for Podcasters](https://files.peakd.com/file/peakd-hive/brianoflondon/Eo8Kanht6cTuLtKnFixZrQahL2gaoPmC2R44ogLKeQKU9mR9mJ5T9XXwi5s74xzkjq9.png)

This system has been very reliable for over a year now so this is kinda rare.

That `itemID` is supposed to be an integer (`int`) but Fountain's new version was sending this string.

Fortunately I jumped on Podcastindex.social and Oscar Merry responded very quickly and fixed this immediately. This left me with a few messed up payments in my database and because these have already been sent by Fountain and received by my Lightning Node I can't really change them.

I'm actually stuck now permanently accounting for this mistake in my code (at least until I clear down my Lightning Node's database at some point which I will probably have to do one day).

![Special code for special issues](https://files.peakd.com/file/peakd-hive/brianoflondon/23swZsNrv9VkeKptojP6xGqaZ2QEYZPV847UZncRhxTwhFr9dsUUBZNQySDKrJjUwwBmb.png)

## That's all for today

I leave you with the show we recorded on Saturday night. I think the discussion I was involved in at the start with @theycallmedan and @starkerz  is particularly important for a whole bunch of Bitcoin Maxis who'll never listen to it. Their loss.

https://3speak.tv/watch?v=cttpodcast/zjvcobqa
-------

## Value for Value

For the last few months while building @v4vapp I was generously supported by the DHF. Going forward I have a much more modest support which covers direct server costs and a little of my time.

If you appreciate the work I do on and around Hive, you can express this directly: upvoting posts on Hive is great. Also consider a direct donation (there's a Tip button on Hive or a Lightning Address) on all my posts.

**[Support Proposal 244 on PeakD](https://peakd.com/me/proposals/244)
[Support Proposal 244 with Hivesigner](https://hivesigner.com/sign/update-proposal-votes?proposal_ids=%5B244%5D&approve=true)
[Support Proposal 244 on Ecency](https://ecency.com/proposals/244)
[Vote for Brianoflondon's Witness KeyChain or HiveSigner](https://vote.hive.uno/@brianoflondon)**

-------

<div class="pull-right">

![Send Lightning to Me!](https://files.peakd.com/file/peakd-hive/brianoflondon/AK3gcbmQA5oP28nnfgu5MiW8JCXw1XA6tYghwFWbSkPW2P6hXto5i7TDRTkPRVa.png)
</div>

- [Get Fountain for Podcasts and 3speak shows](https://fountain.fm/refer/brianoflondon-76b73a585e)
- [Find me on Telegram](https://t.me/brianoflondon)
- [V4VAPP Support on Telegram](https://t.me/v4vapp_support)
- [Vote for Brianoflondon's Witness KeyChain or HiveSigner](https://vote.hive.uno/@brianoflondon)
- [Vote for Brianoflondon's Witness direct with HiveSigner](https://hivesigner.com/sign/account-witness-vote?witness=brianoflondon&approve=1)
- [Find my videos on 3speak](https://3speak.online/user/brianoflondon)
- [Verify my ID and Send me a direct message on Keybase](https://keybase.io/brianoflondon)
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,