Oddbean new post about | logout
 Howdy nostriches!

I've teamed up with @Karnage to bring you a facelift of https://badges.page

Badge creation now supports NIP-13 Proof of Work and badges will display rarity based on PoW difficulty.

https://i.nostr.build/mJoj.jpg#m=image%2Fjpeg&dim=1080x2400&blurhash=%5B8ATA%5Bwb00OtM%5BOZ%25O%24KM_X5-qw%7D-%40xVV%3AJD00OF%7EX%24K%3Dzn%23S%24kY%5Elog9%3FR%24RQRnX5xU.7ska6Ng&x=087b8848d5d6e44aef1f4385bd5b73ea9b182be3818b401baf51241151c541cf

Zap this poast with 2100 or more sats to support our work and get a Super Rare supporter badge!

nostr:naddr1qqgyyctyvajhxt2nw4c8qmmjw3jhyq3q07jk7htfv243u0x5ynn43scq9wrxtaasmrwwa8lfu2ydwag6cx2qxpqqqp6njuhs6lx 
 profile page doesn't seem to load for me currently. only show my profile picture, username and bio 🤔 
 Weird, will take a look at this 
 Same 
 Sorry about that, I think I know what's wrong, will fix asap 
 Same 
 should be fixed now, looks like it was not able to find your profile badges event but should show now regardless if it's found or not. 
 amazing, let me give it a go right now 🤗💛 
 When scrolling down, some of the badges appear 3 times a row, and I'm not sure why that is 🤔 
 Bug, my bad 
 That's okay, thank you for everything you do 🤗 
 Great job man  
 I guess there's still something wrong with the badge event, I received it on badges.page but still not showing on my client profile(Amethyst) 
 Same here.  
 Will take a closer look soon, sorry for the inconvenience 
 It's alright mate, thanks 
 ME ME ME ME ME ME https://i.nostr.build/EMAP.jpg  
 THIS IS GONNA BE MY 69TH COLLECTED BADGE AHHHHHHHHH https://i.nostr.build/GV0k.png  
 Charge your phone. Geez. 
 dis is what happens when I don’t charge it overnight /: instead put it as far away from my sleeping space as possible inside a drawer bc of all the radiation vids the YouTube algo has been feeding me lately 
 You’re literally glowing orange. You already got the radiation bug. Now just become a super hero. Simple. 
 whenever I hear glow my mind automatically lands on this meme 💀 https://i.nostr.build/evJ3.jpg  
 @sersleepy you are untrustworthy… can’t keep your phone charged so your social credit score has dipped accordingly 
 🧐🤔hmmm. Guy cannot keep his phone charged, what else is he up to?? 
 hahahaha this is perfect. no more badges for you ser. 
 LITERALLY! 

IVE REACHED MY FINAL FORM! 
 POW all the things!
nostr:nevent1qqsgmpt2jur7v7a23yn5rt4arhekg40hq2jykkw6kdr6phr22lyu05qpz3mhxue69uhhyetvv9ujuerpd46hxtnfdupzqla9dawkjc4trc7dgf88trpsq2uxvhmmpkxua607nc5g6a634sv5qvzqqqqqqyz24gpt 
 I just #zapped the note now with that sats amount. I am waiting for that super rare badge. Thanks  
 sent! 
 the normies are gonna love this one, this could get the ball rolling 
 Nice one @Karnage & @verbiricha !

Very cool :) I'm crafting some badges right now... is the badge creation/rarity processing load put on your server or does it run locally off mine? Chose to go Epic and wondering how long it'll take 😂😅

Once again, this is cool :) 
 LFG Tigs, the PoW is calculated on your computer in a very naive way rn so it will take a VERY long time for Epic and Legendary. In the future we could use a paid PoW provider, @mleku suggested this and I would gladly implement it client side. 
 Ah I see! By *very* long time are we talking ~24hours? I've got a fairly decent CPU so I don't mind crunching the PoW. Cool you got my PC doing the calcs... couldn't even tell :D

PoW Provider could be good, fingers crossed badges go wild! 
 Not sure how long it will take tbh, perhaps several days 
 it's a funny thing... it can be 5 seconds and it can be a week

i was vanity mining for my current npub and i'd probably run it for 2 or 3 days and then one day after i'd given up for a week i run it 5 minutes and bam!

it's hard to explain how it works but "a few days" "average" are quite vague compared to how it really works - "average" is the peak of the bell curve and that thin edge can mean literally weeks or seconds 
 Time to get a target difficulty is geometrically distributed which means that as the variance increases at nearly the same rate as the expected time as you increase the difficulty 
 there is zero guarantees about where your solution will fall, it just is probably going to fall around the middle of the bell curve for your target partial hash collision

my research and experiments with this kind of process show there is ways to make the curve taller and the edges lower (decreasing variance) but i don't think this can apply very easily to an irregular timing system like you have with nostr note ID hashes, the methods i discovered had to do with target variation over time, one that worked was a doubling series with averaging across multiple targets and another was the use of integrals, and i have read more about PID controllers and possibly derivatives can improve the timing of distribution if the integral has a noise filter added to it

prior to my foray into this area i knew about the principle of "mass action" in chemistry and it is also a similar thing that is the basis of statistical probability and the gaussian distribution (bell curve) but the only thing that improves timing other than varying your target in response to historical timing is increasing the number of attempts at finding a solution

so, i'm just telling you this because reality is not going to be what you expect, the numbers are too small to get such smooth predictable results 
 This seems completely wrong to me. How could it be anything other than Geometric?  I don't see how an experiment would even be necessary, it is self-evident. 

If hash functions are good than doing one hash will not help with the next, which will mean each is an independent trial from an identically disteibuted  bernouli distribution with p = 1/2^target_difficulty

where am I wrong? 
 lol, using AVX2 hash grinding is not difficult to set up, and if you want to go to a little more effort you can turn an old S9 into a hash grinder

unfortunately i think that once there's money in it, your little antispam mechanism is toast 
 I looked into this, bitcoin miners are not designed to calculate a single sha256 sum so I don't think they can be adapted for nostr POW.

And yes, but you just need a difficulty adjustment and all is good.  
 Karnage out here beautifying nostr one project at a time. 
 🐐 
 Proof of Work Badges are here. 😉
nostr:nevent1qqsgmpt2jur7v7a23yn5rt4arhekg40hq2jykkw6kdr6phr22lyu05qprpmhxue69uhhyetvv9ujuumwdae8gtnnda3kjctvqgs8lft0t45k92c78n2zfe6ccvqzhpn977cd3h8wnl579zxhw5dvr9qrqsqqqqqp2rar39 
 Profile zap ok? I can’t zap note on Damus … 
 For sure! 
 Done❗️⚡️ 
 Sent! Thank you 💜🫂 
 🫂👏 
 Can it be integrated with other nostr clients like memestr? We would love our users to have certain badges based on days of login etc. 
 Of course, the app just implements NIP-58 so is interoperable with other nostr apps. You can issue badges for your users and they'll show up in my site too.