My guess would be that "online" means that you have an open websocket connection with the relay. And when missing then the websocket failed to open. Maybe restarting the app will have it try to reestablish a connection.


418: I'm a teapot


Truly letting JavaScript be the functional language that it is.


Do nostr apps typically use the HMAC-SHA512 key of "Bitcoin seed" when generating a BIP-32 derived seed? I'm assuming the answer is yes since it is not specified otherwise under NIP-06, but just checking.

#nostrdevs #devstr


It is too ingrained in our culture to think that exercise is difficult and you have to push through it. But the truth is that exercise can at times be quite addictive once you realize how good you feel after even a short workout. And also how much less guilty it allows you to feel during your next meal, even if you eat a large portion.


Or maybe snort.social does require a subscription?


I didn't know the Babylon Bee was on #nostr.

nostr:nevent1qqs0fekg8493e59amkp2xntnnlruw9302lvyzm82h2nya7g66l626fgpz4mhxue69uhhyetvv9ujumt0wd68ytnsw43qygx5llexkjgmuxack238yygxlknz3729uak4nxcwy3z5khw9yap83spsgqqqqqqseyykf6


I have never seen that. Are the pubkeys for your profile the same in both apps?


Is relay.snort.social listed in your relays?

https://image.nostr.build/246b274583cfb3d6e4fc3508727cb62a355cca429bfc61e250977e140becbf0e.jpg#m=image%2Fjpeg&dim=1080x1463&blurhash=_138%23P_1%3FdITa3D%25M%7B%24*%253NtoNV%40aeR*D%24V%7CM_xvaxoNWAR%3AE0xIRit8WBoLS%7ExusAWBNGWBoME1RjVsofR*t7s%3Axua%23xuj%5Dt7WCaxn%23oNS0ogs%2Cofa%7Da1R%24Ipf%23r%5Bs%3AWV&x=38b48feea0f413439d0982ab5587c74c893fae7229b67c0979a8763819480b7f


Kimono robes need to be the next in-style fashion. Pants optional.

#style #comfort #fashion #kimono


"hussle" #typo 🤣 #hustle


"dicipline" #typo 🤣 #discipline


Exercise is the panacea.

Feeling tired? Gone.

Feeling depressed? Gone.

Feeling hungry? Surprisingly, gone. Skip a meal, but don't starve yourself.

Feeling sick? Should have been exercising before that, but it will still help, just take it slow.

Make it a habit.

Take a break every couple of hours from whatever you are doing to do a set of push-ups or squats.

Make it a habit.

Wake up half an hour earlier to get in a 15-20 minute workout every morning.

Make it a habit.

#exercise #fitness #feelinggood #hussle #dicipline #goals #fitstr


One pair of clown shoes stuffed with socks until his feet stop growing.


For sure!


Certainly dubious to say that P2PKH is more secure other than the fact that it is more private. And the privacy only lasts until the UTXO is spent since the pubkey will be revealed at that point.

Also, definitely correct that P2PKH is vulnerable to collisions since the RIPEMD-160 hash is much smaller than the size of the pubkey.


There's also credence for secp256k1 given how widely it is now used without any notable cracks to date. That is to say as long as wallets practice safe signing. E.g., don't reuse nonce values.


Also, there have been suggestions that the NSA has a backdoor for the secp256r1 curve.

As for bitcoin being fucked if it ever were to ever need a new hashing algo, I'm not sure. I would imagine that several forks would come out of it as a result, and one or more would likely have a fair amount of success. Only time will tell.


Yup! Without funding, personal projects are completely passion driven. And burnout is a passion killer, so that just leaves discipline and routine to push forward in times when that passion wanes below 100 percent.


A similar reason for why the secp256k1 elliptic curve was chosen over the secp256r1 curve for DSA signatures.

Although, that does not mean that any of those are immune to future discoveries of vulnerabilities or backdoors or being broken.

And if/when that day comes, then the community will have to accept a hard fork. Fingerprinting all the accepted block history, and using new hashing or signing algorithms for future blocks.

Could Satoshi have added a small cryptographic spec to each transaction to detail the hashing and signing algo, allowing them to be changed w/out a fork? Or would that come with its own risks of the blockchain's security being subverted if it is made too easy to update such things.


On a typical day, I have ~10+ emails waiting for me when I log into work... can't tell if this is intentional as part of my job as a dev team lead, or if I am just being mistaken for Google search.

Why ask Google when you can ask Drew-gle.

#devstr #developer #askdrew


It's tough to find the time and mental energy to work on my own software project after working a full-time job... plus overtime... plus spending time with my spouse... plus spending time with pets... plus having a social life (kind of).

That's why I wake up a couple of hours before work everyday to try to sneak in a tiny bit of coding on my project.

I'm just hoping that tiny bit by bit will add up to something large 🤞

#devstr #developer #burnout #solodev #hustle #coding


Like the back button of a browser, but in the terminal instead. Makes life so easy when scripting anything that pops in and out of child directories.


I am a pushd/popd maxi, and use cd as little as possible.
#cmd #bash #shell #cli #devstr #developers


I was going to suggest that Jenkins can do polling. But agreed that a webhook is certainly more efficient. Either way, Jenkins is a nice, free option!


Is C# an excellent programming language?

#programming #coding #developer #nostrdevs #devstr #csharp #rust


This is absolutely not describing Ordinal Theory, it works exactly the same as how a bitcoin UTXO works where every UTXO still has a branchable value, except this will limit to a single input UTXO.

A single UTXO cannot be collected since it is spent by the signer and new UTXOs are generated as output.

I am suggesting that people may have an interest in holding onto a UTXO that has a short ancestry. Which is not necessarily due to just novelty, but also since it requires less storage to hold the fewer ancestors and less effort by a validator to validate the shorter history.


And static without the ideas of those people in the masses. Unfortunately, much of those ideas are never ventured due to fear that their ideas will be shut down by those in power... or worse, by their fellow masses.


With this thinking, the internet should have stopped innovating once aol.com was released.

As John C. Dvorak  once said "The Macintosh uses an experimental pointing device called a 'mouse.' There is no evidence that people want to use these things."

People who settle for technology of today will become the luddites of tomorrow.

nostr:nevent1qqsvmjy0w5ysayk3w5tdmz8xl0tkqr0hncye8jj60fug2lzngdkdtpqpzamhxue69uhhyetvv9ujucm4wfex2mn59en8j6gzyptvu0e69jkvkdqycg9r3ecyc0zdzt0ru9tm6kfq4at280ff2pju2qcyqqqqqqgy7tzw8


Nothing helps me unwind from work like cooking dinner in the kitchen while drinking some #wine and watching some #ancientaliens. 🍷👽


False alarm. Back down below 30 😭


People love when they receive an old coin or an old monetary note. Can we build that same excitement when receiving a UTXO?

For blockchains, I would say not likely since any given UTXO could have several inputs, from several inputs, from several inputs. Not very special (many-to-many relationship).

What about a unique cryptocurrency that is not blockchain based, and UTXO can only be generated from a single input? Somewhat more special (one-to-many relationship).

Not only would eliminating the bulk of a blockchain allow each UTXO to have a more direct, special history, but it would also allow each UTXO to be more scalable since it would only require the storage of that one UTXO's ancestors.

No need to store the entire network to validate the spending of a UTXO, just store the linear UTXO ancestry of the one UTXO being spent back to the sole origin/root UTXO of the ledger.

Any mobile wallet could easily store all the proof they need for validating their UTXO, and optionally delete any UTXO and its distinct ancestry after it is spent to maintain a lean wallet of only what is needed to validate the unspent.

Sure, there are some complications that need to be sorted out when eliminating the blockchain. Such as protecting against double-spending. But are blockchains really immune to that either? Often times, there are short forks in the blockchain until a victor is picked (some choose the longest chain, some the most dense).

These are some of the ideas behind my Hauprich project, a cryptocurrency built on the Nostr protocol. Will some of them stick? Probably. Will some be tossed? Probably.

One thing I know for sure is that it is easy to criticize a new idea. In fact, it would be quite hard to conceive an new idea that is immune to criticism. So, I welcome any criticism because it only paves the path between what the new idea is and what it must become.

Follow me for more updates as I develop this project into something quite neat.

#nostr #cryptocurrency #hauprich #development #ideas


30 followers! Next stop... 31?

Tip: Set reasonable expectations.

#grownostr
#IsThatHashTagAboutGrowingPlantsOrGrowingFollowers


Adam Savage is a gem. #gems

nostr:nevent1qqsyhpmu2xnzgv5rkwtr8paleqmhkzxvnpaqadrnhujh2xuvdyjf08qpzfmhxue69uhk7enxvd5xz6tw9ec82cszyzq7srzxhx7sklzkfavcv3f8lf03ej2w569q0u5xskycfg6pkz3wsqcyqqqqqqg2seaxf


But is that a bullet point to the credit of ActivityPub?

A bridge connecting two neighborhoods is beautiful, and I am glad to have it. But I still prefer the rules of the neighborhood thay I live in. Even if I do visit some houses in the other neighborhood across the bridge.


Whitney Webb is a gem.


I simple man... #ActivityPub bad... #Nostr good.


Who has two thumbs and is excited to cook some pizza tonight? 👍👍

At least as long as there are no mishaps with the pizza cutter 😅

#foodstr #cooking #pizza


That would be cool! If you do it, make sure it has an openapi spec, please.


CryptoDrew

Developer of Hauprich, a layer-one cryptocurrency built on the Nostr protocol. Still in pre-alpha, so don't look for it yet. Follow me here for updates.


Excellent!


Excellent! Glad to help. Thanks for the response⚡


Renders fine on #plebstr.


Not sure why, but on #amethyst, the npub regex in my note is not being rendered in full. There is an odd colon in place of some of the text.

https://nostrcheck.me/media/public/nostrcheck.me_5661105604796675421705423822.webp


The pubkey would just be a 32-byte hex-encoded string, which will always be 64 hex characters in length since 2 hex characters represents 1 byte.

So, pubkey regex is:
[0-9a-fA-F]{64}

For the npub, I believe that is always a consistent length of npub1 + 58 bech32-encoded characters (not bech32m).

So, npub regex is:
npub1[qpzry9x8gf2tvdw0s3jn54khce6mua7l]{58}

Possible that I am wrong about the public length, but I have yet to come across one of a different length.

Also, validating whether the values decode to a valid secp256k1 key is not something that you could do w/ regex.


Thanks for sharing! If no one responds back to me, then I'll just have to open a ticket on github tonight 😁 Which I might do anyway as a formality since it really should be documented for us devs.


Nostr Dev Question:

When serializing an event to generate the hash ID, how should tags be ordered?

I cannot find anything under NIP-01 for this.

Currently, I am storing metadata external to the event to keep track of the tag order respective of how it was received, but that doesn't seem optimal.

Is there a recommended standard? Maybe alphabetical based on the UTF8 serialized strings of each tag? Although, that is certainly less optimal since that would require individual serialization of each tag plus a string compare sort.

#nostrdev #nostrdevs #devstr #nip01 #asknostr


Watching the Iowa caucus and realized that no one voted for Pedro.
#iowa #voteforpedro #trump #haley #politics #dynamite


Trademark it!


I'll take it. Thanks!


Finally broke 20 followers on Nostr! Do I get a YouTube Play Button plaque for that?

#nostr #grownostr #notyoutube


Who is excited for Iowa? 🙄 #politics #primary #2024


It's good when it's good. But when the BTCUSD exchange rate moves south against the $USD is when you experience that $USD inflation to the exponential.


One of the reasons that I am glad to be moving to FL later this year.


Centralized exchanges are good for on-ramps and off-ramps. Nothing else.


Excellent! That's the move everyone should make.


Scary. But amazing.


#foodstr #yumm #husband #hashtag

nostr:nevent1qqs2xx3nj89udv9ywkdj647jacpge2g0p38mq6hhhvnxgzn5cmlm6kqpzfmhxue69uhk7enxvd5xz6tw9ec82cszyzq7srzxhx7sklzkfavcv3f8lf03ej2w569q0u5xskycfg6pkz3wsqcyqqqqqqgz9xj54


I'm cooking up some yummy curry chicken. And by "I'm", I mean "my husband is". Otherwise, it wouldn't be that yummy 😅


Swampy. But I still want to say... beautiful?


Words to live by for sure!


I hope to get some time in today to continue developing the Hauprich project, a layer-1 nostr-based cryptocurrency that I am working on.

#nostr #cryptocurrency #development #hauprich


I noticed this too! Good for the feed.


sending some back


Yup! Two of 33. I also got the 2 sats sent more recently to my new address.

I was going to send them back after I switched addresses so you can check again, but I get an error when trying to send to your address.

Error:
https://image.nostr.build/56066fe85161de43e1d630346336e8512d27c0f75419f2abd59e4e1c1187eec2.jpg#m=image%2Fjpeg&dim=1080x821&alt=Error+sending+sats.&blurhash=%23554%5DuN%3AImxL9pxdoNND%254SGxdWBImxdR%24WAs%3DR%7E9qs%3Ft8R%23%24-R%24WBs%3DR%24%24WEIt6-ZEHxds%3DNDxKIlsroMSIxdR%24j%3Fs%3DNENWs%3Fa%23R%24xcR%24bEoOR%24-tNDWAxdEHxcoNNExc&x=6deba70598cc952c248be0d4b29cf0e559d3d642bce6529a5fcc89607f140508


Have you tried turning it off and on again?


I do not like what #overwatch is doing with the modified gameplay this weekend. #activision #blizzard


Excellent!!


Pretty sure it was just Speed Wallet not playing well with #nostr. I switched to the ln.tips #telegram chat bot, and sent some #sats to myself, and that shows in #amethyst.


Thanks, friend! I also don't see them in my Nostr client, but I received them both in my wallet.


Thank you!! 🎉


DONE!


Dreams accomplished 💪


Or until we have support for editing note events! Similar to note events that reply to other notes, we can have notes that "replace"/"edit". And then the app can optionally display all edits in some change history UI.


If the AI doesn't kill me first 😁


OK!


Soon I will be at 10 followers. Ho yeah! #grownostr


I don't want your stinkin' ETF!


You did the one thing that matters.


Soon, menus will have prices in #sats. #bitcoin


Get it!


I would be surprised if anyone on #Nostr would choose an #ETF as a means of investing in $BTC.


I'm down for this.


We need less ossification of people in government like #ElizabethWarren before we can even begin to have $BTC replace $USD.


#Amethyst gives unparalleled #Nostr bliss.


Never unblur the images. FOMO is nothing compared to the mental scarring of what cannot be unseen.


I just watched this 50 11 times. So good. 🤣


Honestead tip: A bitcoin mining rig will heat your house for the cold winter nights.

#homesteading #bitcoin #mining #winteriscoming


Can you all believe that Charles didn't mention #Nostr once here!?
#nostr #twitter #activitypub #mastodon #x #charleshoskinson #cardano #ada

https://www.youtube.com/live/XThVlSKo0WA?si=8dlX_Xekan-H00Qj


I was just playing off your answer 😄 And absolutely a good practice to routinely consolidate dust to minimize those input counts.


Spend the largest of your UTXO until all you have is a bunch of dust 😭


She just wants the price to drop so that she can buy one.


The way I want to go out is being killed by AI. Anything else will be disappointing.
#ai #singularity #neurolink #robots #skynet #jamescameron


If you all haven't watched Julian Dorey's recent episode with Nick Pope, it is certainly a good one. Nick seems like a very honest and decent dude. Great seeing him in an interview outside the context of Ancient Aliens.
#aliens #british #fed #ancientaliens

https://youtu.be/uDS3ahkAXdA?si=yBCi_jqkUwCdqvqN


Awesome! And your #Nostr key has a derivation path of
m/44'/1237'/0'/0/0. In case you were curious 😄


Most bitcoin wallets are Hierarchical Deterministic wallet that use a big integer seed to generate a root private key. Then the "Hierarchical" portion comes in by using the root private key to generate a child private key based on a specified index, and so on from that child key.

If the same seed and same index are used, then it will generate the same child private key. This is the "Deterministic" portion.

The derivation path defines the indexes to use for getting the child private key of your account.

A legacy bitcoin HD wallet should have the derivation path of m/44’/0’/0’/0/0. The m/ is the root, then 44' is the next child index and so on. Never mind the difference between the tic and no tic (') for now.

Newer bitcoin HD wallets might be using SegWit or Taproot addresses, which those will respectively have the derivation paths of m/84’/0’/0’/0/0 and m/86’/0’/0’/0/0. Note that they have a different index for the first child.

You can figure out which derivation path the wallet app is using by looking at an address created fresh from that wallet app. A legacy BTC address starts with a "1". SegWit starts with "bc1q". Taproot starts with "bc1p". Compare with your primary address.

Hope this helps!


Adam Curry?


Noticed a bug on version 0.82.5 for Android where clicking a tag from another tag does not update the Follow/Unfollow button.

I.e., while viewing a tag that I follow, all tags clicked from there will show an Unfollow button regardless of whether I follow it. And vice-versa.

https://image.nostr.build/5345319e7ac8bd6da7b2a48dfdf30c623667ca5b7452b75c0aa7a84757e9f112.jpg#m=image%2Fjpeg&dim=949x413&blurhash=Z88pH3EG%3F1sjEdxeEH%255I%2CtW5M%3F1Rhaw%255IlxxND%3D*D%7D%24-W%2CbX%254R%23xcR%24xboHogS1axWrNZspjY&x=3c94d737e5f48df563b627d205a13c5d50e656d36e8a46b84a4f3a75bea705f2


That's the one!


Yup! Can't ever get a good thumbnail.


It feels awesome to sell a 6 year old truck for just about the same price that I paid for it... until I remember that the $USD supply has been inflated so much that it really wasn't that good of a sale. #government #economy


But my pull request is perfect 😭 why won't you accept it 😭


Challenge accepted.


Nice!


Not Ben!! 🤣


Nicely stated!


If 'ol Gary and the SEC used Nostr instead of X, and kept their keys secure, then they wouldn't have had the problem of people posting messages under their account. Not without that lovely digital sig.

https://www.reuters.com/technology/sec-account-hack-renews-spotlight-xs-security-concerns-2024-01-10/


What's that?


Wait 'til he finds out there are planets beyond Mars.


Follow me for updates on Hauprich, a layer-one cryptocurrency built on top of the Nostr protocol. It won't be your old-fashioned P2P blockchain-based network.


Welcome, self, to the wonderful world of Nostr.