Avatar
Mike Dilger โ˜‘๏ธ
ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49
Author of Gossip client: https://github.com/mikedilger/gossip Dual National (USA / New Zealand) My principles are Individualism, Equality, Liberty, Justice and Life
Replying to Avatar Maximilian

Have you setup your relays? You need to go to 'relays > configure' and mark at least some relays as 'read' and 'write' if you have used them before so it can find your notes, your contacts, etc.

In no world is Trump selling secrets to China. The classified documents were probably Trump keeping evidence of the witch hunts in case he needed proof. But it is a serious charge and it might have serious conseqeuences. When I say serious consequences, I don't mean 18 years in prison, I mean a people's revolution. The American right will never accept that this prosecution of their presidentical candidate was legit, even if it turns out to be legit, since so many things before it clearly weren't.

I don't know, I got this from Michael Shermer's podcast. He'll point you in the right direction: https://michaelshermer.com/ apparently he isn't too busy to respond to emails and contact.

TIL that people who claim to believe that UFO/UAPs are alien spacecraft and that the government has been hiding this from us.... don't actually believe this (or they believe it will not be revealed within their lifetime) because they never bet on it according to prediction markets.

็งใฏๆ—ฅๆœฌใซ่กŒใฃใŸใ“ใจใŒใ‚ใ‚Šใพใ›ใ‚“ใ€‚ใ—ใ‹ใ—ใ€็งใŒ่žใ„ใŸใ“ใจใ‹ใ‚‰ใ€ใŸใจใˆไบบใ€…ใŒ็งใซ็คผๅ„€ๆญฃใ—ใใฆใ‚‚ใ€็งใฏ้ƒจๅค–่€…ใจใ—ใฆ็–‘ใ‚ใ‚Œใฆๆ‰ฑใ‚ใ‚Œใ‚‹ใ“ใจใ‚’ๆœŸๅพ…ใ—ใฆใ„ใพใ™ใ€‚ใใ—ใฆใ€ใใ‚Œใฏๅ…ฌๅนณใ ใจๆ€ใ„ใพใ™ใ€‚็งใฏ่ฆ‹็Ÿฅใ‚‰ใฌไบบใงใ™ใ€‚็งใฏ้ƒจๅค–่€…ใงใ™ใ€‚็งใฎๆœฌ่ƒฝใฏใ€ใปใจใ‚“ใฉๆœŸๅพ…ใ›ใšใ€่‡ชๅˆ†ใŒๅบ•่พบใซใ„ใ‚‹ใจ่€ƒใˆใ€ๅนณๅ’Œ็š„ใซไฝ•ใงใ‚‚ๅฎน่ชใ—ใ€ๅฏ่ƒฝใช้™ใ‚Š็คผๅ„€ๆญฃใ—ใใ™ใ‚‹ใ“ใจใงใ™ใ€‚ ใ—ใ‹ใ—ใ€ๆ—ฅๆœฌไบบใฏใ‚ขใƒกใƒชใ‚ซไบบใ‚„ใ‚ขใƒกใƒชใ‚ซใฎๆ–‡ๅŒ–ใซ้ญ…ไบ†ใ•ใ‚Œใฆใ„ใ‚‹ใจใ‚‚่žใ„ใŸใ“ใจใŒใ‚ใ‚Šใพใ™ใ€‚ ็งใฏ็އ็›ดใซ่ฉฑใ™ๅ‚พๅ‘ใŒใ‚ใ‚Šใพใ™ใ€‚็งใฏใ‚ใพใ‚Šใซใ‚‚็އ็›ดใซ่ฉฑใ—ใพใ™ใ‹?

ใฉใ†ใ‚‚ใ‚ใ‚ŠใŒใจใ†ใ”ใ–ใ„ใพใ™

Binance US says it's transitioning to a crypto-only exchange after SEC lawsuit, USD withdrawals and deposits will be suspended.

The dollar continues to cut itself off from assets of value.

I know it is totally unnecessary, but I'm learning how to read and pronounce hiragana for nostrasia.

Disclaimer: I won't be able to write it, I won't know katakana or kanji, I will only know the meaning of a few dozen words and terms, I will rely primarily on google translate, flashcards, OSM maps, and other people's knowledge of English.

I suspected that people were much more motivated to express their theories than make joke wrong answers. Theory appreciated.

I wasn't thinking about particular ones, just the concept in general. Like that Einstein said nuclear energy would never be obtainable, and the Beatles said guitar music was on it's way out, people saying that the real estate market always goes up, that the COVID vaccine would stop the pandemic, peak oil, etc, etc.

Big thinkers like the WEF are almost always wrong in their predictions and in their prescriptions. Why? Wrong answers only.

Introducing the Gossip "Vision Pro" Edition. This runs gossip across your entire field of view, and is available right now. Prices start at 22,000,000 bitcoins.

I'm adding a proper search to gossip and I tried searching for "bitcoin". Everybody and everything matched. ๐Ÿค”

IMPORTANT: If you are here because you see Nostr as a censorship-resistant alternative and the beacon of free speech, YOU MUST READ THIS. Something bad is going on, and you should be aware of it. It affects every user on Nostr.

First: Please, only utilize the 'Report' feature in extreme cases. Instead, prioritize using the 'Mute/Block' option when necessary. This is a humble request to all the IOS & Android users ๐Ÿ™

Because we have a very huge problem and it's not a bug. Let me elaborate:

Regardless of where you choose to report, your 'report' will censor that person not just for you but "all of your followers" who use Amethyst. It only takes five reports from 'following user' to censor the individual "for you" without your intent and knowledge. No matter which client the censored user is using, they will be censored for Amethyst users after reports.

Amethyst users don't even have an option to turn off this setting. This is really messed up. Any five users I am following can censor any person for me, and I can't do anything about it. This is ridiculous.

By the way, don't make any mistake here, it's not a bug, it's by design. I raised this issue with Vitor many times. I respect his work, but there has been no meaningful response regarding this. In fact, he wants you to learn coding and do it by yourself.

I don't intend to call out any person; I just want to spread awareness. Maybe you like this feature idk but you deserve to know what's exactly happening and make informed decisions.

Btw, You don't have to share this exact post, but please let people around you know what's happening. So they can participate in this debate.

Try other clients.

I'm the author of gossip, a desktop client, and I've been pushing for personal relays (NIP-65) where you can run your own and people who want to follow you will find it in your kind-10002 relay list and then pull your events from it -- this works with gossip and coracle today (at least). IMHO this is the only scalable long-term solution to the problem you're bringing up.

While the LGBT community celebrates pride month, I'm taking some time to celebrate the opposite. I'm thinking about humility. Today I'm thinking about how much I do not actually know. I have no idea what is actually happening in the world. I don't trust what others say or what I read. The world has become far too deceptive and manipulative and political. So I'm humbling myself, reminding myself to focus more on what I know is true because I myself have observed it, and focusing on my immediate environment and what I can change, and to cut back on making pronouncements about or giving opinions on things I really don't know much about. I need to stop pretending that I do.

I just learned about it from your post here, but it looks like something I could do. Would most people be going to Tokyo or Hong Kong, or is the destination still undecided? Either way I think I could make it and since I missed the first one I really should make the effort.

Replying to Avatar UNCLE ROCKSTAR

GM ๐ŸŒž

I'm trying to find npubs for these accounts to ping them about registering on https://nostr.world and joining us at nostr:npub1nstrcu63lzpjkz94djajuz2evrgu2psd66cwgc0gz0c0qazezx0q9urg5l - if you know them, please tag them in replies:

- Arun Ned (Current)

- Zamir Dhanji (gave great presentation at Nostrica)

- Brian Co (Design)

- John Dennehy

- Nabisimo Prime (nostr:npub1ejvhdkt8ppefezgz0sgnwdqrn8l4z8muws2k8dz2tv0a57ac2z9st56q8x help?)

- PlebMusic

- Ezicheq (Gossip)

Thanks!

Ezicheq is just me, Mike Dilger, committing code while at my place of employment (Ezicheq.com)

Replying to Avatar jb55

Double-entry accounting is a tried and true method for tracking the flow of money using a principle from physics: the conservation of energy. If we account for all the inflows and outflows of money, then we know that we can build an accurate picture of all of the money we've made and spent.

Bitcoin is particularly good at accounting in this sense, since transaction inflows and outflows are checked by code, with the latest state of the ledger stored in the UTXO set.

What about lightning? Every transaction is not stored on the blockchain, so we need same way to account for all the incoming and outgoing lightning transactions. Luckily for us, core-lightning (CLN) comes with a plugin that describes these transactions in detail!

For every transaction, CLN stores the amount credited and debited from your node: routed payments, invoices, etc. To access this, you just need to run the `lightning-cli bkpr-listaccountevents` command:

```

lightning-cli bkpr-listaccountevents | jq -cr '.events[] | [.type,.tag,.credit_msat,.debit_msat,.timestamp,.description] | @tsv' > events.txt

```

This will save a tab-separated file with some basic information about each credit and debit event on your node.

```

channel invoice 232000000 0 1662187126 Havana

channel invoice 2050000 0 1662242391 coinos voucher

channel invoice 0 1002203 1662463949 lightningpicturebot

channel invoice 300000 0 1663110636 [["text/plain","jb55's lightning address"],["text/identifier","jb55@sendsats.lol"]]

channel invoice 0 102626 1663483583 Mile high lightning club

```

Now here's comes the cool part, we can take this data and build a [ledger-cli](https://ledger-cli.org) file. ledger is a very powerful command-line accounting tool built on a plaintext transaction format. Using the tab-separated file we got from CLN, we can build a ledger file with a chart-of-accounts that we can use for detailed reporting. To do this, I wrote a script for converting `bkpt` reports to ledger:

http://git.jb55.com/cln-ledger

The ledger file looks like so:

```

2023-05-31 f10074c748917a2ecd8c5ffb5c3067114e2677fa6152d5b5fd89c0aec7fd81c5

expenses:zap:1971 1971000 msat

assets:cln -1971000 msat

2023-05-31 damus donations

income:lnurl:damus@sendsats.lol -111000 msat

assets:cln 111000 msat

2023-05-31 Zap

income:zap:event:f8dd1e7eafa18add4aa8ff78c63f17bdb2fab3ade44f8980f094bdf3fb72d512 -10000000 msat

assets:cln 10000000 msat

```

Each transaction has multiple postings which track the flow of money from one account to another. Once we have this file we can quickly build reports:

## Balance report

Here's the command for "account balance report since 2023-05 in CAD"

`$ ledger -b 2023-05-01 -S amount -X CAD -f cln.ledger bal`

```

CAD5290 assets:cln

CAD2202 expenses

CAD525 routed

CAD1677 unknown

CAD-7492 income

CAD-587 unknown

CAD-526 routed

CAD-1515 lnurl

CAD-614 jb55@sendsats.lol

CAD-1 tipjar

CAD-537 damus@sendsats.lol

CAD-364 gpt3@sendsats.lol

CAD-4012 merch

CAD-2571 tshirt

CAD-1441 hat

CAD-852 zap

CAD-847 event

CAD-66 30e763a1206774753da01ba4ce95852a37841e1a1777076ba82e068f6730b75d

CAD-60 f9cda1d7b6792e5320a52909dcd98d20e7f95003de7a813fa18aa8c43ea66710

CAD-49 5ae0087aa6245365a6d357befa9a59b587c01cf30bd8580cd4f79dc67fc30aef

CAD-43 a4d44469dd3db920257e0bca0b6ee063dfbf6622514a55e2d222f321744a2a0e

...

------------

0

```

As we can see it shows a breakdown of all the sats we've earned (in this case converted to fiat). We can have a higher-level summary using the depth argument:

`$ ledger -M -S amount -X sat -f cln.ledger bal`

```

sat14694904 assets:cln

sat6116712 expenses

sat1457926 routed

sat4658786 unknown

sat-20811616 income

sat-1630529 unknown

sat-1461610 routed

sat-4207647 lnurl

sat-11144666 merch

sat-2367164 zap

------------

0

```

As we can see we made 14 million sats this month, not bad! The number at the bottom balances to zero which means we've properly accounted for all income and expenses.

## Daily Damus Donation Earnings

To support damus, some users have turned on a feature that sends zaps to support damus development. This simply sends a payment to the damus@sendsats.lol lightning address. Since we record these we can build a daily report of damus donations:

`$ ledger -D -V -f cln.ledger reg damus`

```

23-May-15 - 23-May-15 ..damus@sendsats.lol CAD-46 CAD-46

23-May-16 - 23-May-16 ..damus@sendsats.lol CAD-73 CAD-120

23-May-17 - 23-May-17 ..damus@sendsats.lol CAD-41 CAD-161

23-May-18 - 23-May-18 ..damus@sendsats.lol CAD-37 CAD-197

23-May-19 - 23-May-19 ..damus@sendsats.lol CAD-35 CAD-233

23-May-20 - 23-May-20 ..damus@sendsats.lol CAD-28 CAD-261

23-May-21 - 23-May-21 ..damus@sendsats.lol CAD-19 CAD-280

23-May-22 - 23-May-22 ..damus@sendsats.lol CAD-29 CAD-309

23-May-23 - 23-May-23 ..damus@sendsats.lol CAD-19 CAD-328

23-May-24 - 23-May-24 ..damus@sendsats.lol CAD-25 CAD-353

23-May-25 - 23-May-25 ..damus@sendsats.lol CAD-36 CAD-390

23-May-26 - 23-May-26 ..damus@sendsats.lol CAD-37 CAD-426

23-May-27 - 23-May-27 ..damus@sendsats.lol CAD-25 CAD-451

23-May-28 - 23-May-28 ..damus@sendsats.lol CAD-25 CAD-476

23-May-29 - 23-May-29 ..damus@sendsats.lol CAD-12 CAD-488

23-May-30 - 23-May-30 ..damus@sendsats.lol CAD-29 CAD-517

23-May-31 - 23-May-31 ..damus@sendsats.lol CAD-21 CAD-537

```

Not making bank or anything but this covered the relay server costs this month!

Hopefully ya'll found this useful, feel free to fork the script and try it out!

I spent some time thinking deeply about accounting (while writing my own accounting software) and thought I would share my realizations

1. Tracking the movement of funds is not accounting. Accounting is explaining "why". Why did money flow outwards? Was it an expense? Was it a loan payment? Was it a loan to a friend? Was it a gift? Was it a refund? Was it a transfer to another account of yours? Etc.

2. Double-entry accounting is a system where every movement of funds gets two entries AMONG YOUR OWN ACCOUNTS as a way of recording the REASON for the movement, such that they operate like a transfer of funds between two of your own accounts... such that the sum of your own accounts always adds up to zero. Yes, of course, if money is paid as an expense to someone else, it is not transfer to yourself, but you record it as such under this system. So money flows FROM your bank account TO your expense account in a (source=bank, destination=expenses, amount=?, date=?) entry. In modern times where we aren't using paper ledgers, you don't have to write it down twice, and you probably shouldn't. You should just record a single tuple like the example I just gave. That way you can't possibly have errors where the totals don't add up, ever.

Please do, or just summarize for us. Having not thought much about it, delegation seems like a good thing. The only issue I see (because I haven't looked deeply) is that clients that don't support it will generally not fetch those delegated notes, or if they do they will misattribute them (but usually harmlessly to a key that isn't used otherwise).

What is your issue with it? I'm open minded (have no strong opinion here) and could be convinced to remove it from gossip (or downgrade it to a compile feature that is off by default)