Avatar
JC Brand
0f062633c211804dd8a0a441b933ecf8dd7255b02497ef4cd226cbbf7b3a5397
Open source dev. Author and maintainer of Converse XMPP client. Interested in using tech to liberate.

Quite a while back, I read about how the #Svelte devs used JSDoc type hints together with the #TypeScript compiler to add types to Svelte while keeping the actual code #JavaScript.

I've decided to do the same with the #XMPP library Strophe.js

https://github.com/strophe/strophejs

Strophe now contains type declaration files generated from the JSDoc type hints (not yet released).

My experience is a bit mixed.

Writing JSDoc types is more verbose and feels a bit more clunky than writing TypeScript.

But on the other hand, you avoid introducing a compilation step and the code itself doesn't have to change much.

For relatively small libraries like Strophe it's worth considering.

Any #neovim or #vim fans here?

Took me a while, but I've finally gotten comfortable with using the :terminal feature from Neovim.

Being able to use vim keybindings to search terminal output and to copy it into a vim buffer is a game changer.

Bonus, now I don't ever need to leave vim!

Replying to Avatar JC Brand

Yes there is a bridge, the nostr:npub18wn0jd3p7n6u3y7mc46p0hpx3cmtv9k3mu82rc0lhkg3rdyf590s3wshpx account is on the #Fediverse (please don't call it just Mastodon) and besided to Nostr.

Check out mostr.pub which is the bridge written by nostr:npub108pv4cg5ag52nq082kd5leu9ffrn2gdg6g4xdwatn73y36uzplmq9uyev6

Bridged not besided 🤦‍♂️

Poor taste in using that photo, but I can relate 😞

Larger blocks require more processing power and storage.

The more processing power required, the more money and resources are required, thereby creating a centralizing effect, thereby making it easier for a cabal to take control of the network and change it's operation or parameters.

gm nostriches

The German word for mermaid, "Meerjungfrau" literally means sea-virgin.

Makes me think of a joke my dad used to tell.

Two fishermen sit in a small boat when one makes a catch and pulls out a beautiful red-headed mermaid.

He whistles to himself and takes a good look at her. Then he throws her overboard again.

The other fishermen says "why?"

He responds, "how?"

gm nostriches

Do you know why coins have ridges on their edges, or in older cases text?

It's to prevent coin clipping. A common form of debasement in the ancient world, where the edges of coins are shaved off and melted down to make new coins.

The original coins were the hammered to flatten and spread them out, until they were their original width again.

Pictured are two coins from my collection.

Not allowing someone to finish their sentence and instead talking over them is always a red flag.

Had a chat with the neighbor this evening. He's married since 25 years and was telling me how he could never recreate what he has with his wife with someone else.

I thought yeah, that's proof of work!

You can't go back and redo the chain in a different way that matches the effort put into the current version.

Saw an AC/DC cover band in an old castle ruin today. ⚡

If Slayer wrote "Beat it".

This is amazing. 🤯

https://www.youtube.com/watch?v=i5kguuJmM5c

Pretty good interview with Jaron Lanier from 5 years ago.

Nothing particularly novel or mind-blowing (for tech-savvy folks) in his analysis, but he's fairly eloquent and answers well.

What was especially interesting to listen to, were the part where he talks about alternative types of social media, in light of #Nostr (and other open platforms like #ActivityPub).

Nostr might be a way to deconstruct the "manipulation machine".

https://www.youtube.com/watch?v=kc_Jq42Og7Q

Recently I've had to investigate the staking architecture of certain altcoins.

It's interesting to compare their architectures and technical decisions with what I know of #Bitcoin.

One thing I can say of the chains I've looked at, is that they're mainly larping as decentralized. Meaning that they're kinda decentralized, but if nation-state level pressure arose, they'd centralize and be compromised very quickly.

One chain, Flow, has functions run by "admin" accounts with a TBD for "decentralization" of those functions.

Another, Kava, has an upper limit of 100 for the number of validators necessary for establishing consensus.

Bitcoin is in a completely different league.