Here’s a script for your family’s secret Santa
‘’’
const names = []
function createSecretSanta(names) {
if (names.length < 2) {
throw new Error("Need at least 2 names for Secret Santa")
}
const shuffled = [...names]
for (let i = shuffled.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[shuffled[i], shuffled[j]] = [shuffled[j], shuffled[i]]
}
const assignments = []
for (let i = 0; i < shuffled.length; i++) {
const giver = shuffled[i]
const receiver = shuffled[(i + 1) % shuffled.length]
assignments.push({ giver, receiver })
}
return assignments
}
const assignments = createSecretSanta(names)
assignments.forEach((assignment) => {
console.log(`${assignment.giver} -> ${assignment.receiver}`)
})
‘’’
db42
npub1jcaz...flp2
Engineer at Fold.
React native dev. Christian, sourdough.
Nostr projects:
PureSignal: https://testflight.apple.com/join/Sv9RM8vz
Bitbybit mempool app: https://apps.apple.com/us/app/bitbybit-mempool-explorer/id6479184653
A great way to quantify your degree of procrastination. Find the browser tab of the thing you’re supposed to be working on, and then count how many browser tabs there are to the right of that tab.
@Bitcoin News did you change your rss feed url or completely remove it? I was using it for @PureSignal but it stopped working about a week ago.
Would you rather solo mine 1 bitcoin block or score 1 touchdown in the NFL?
“… BlackRock increasing its exposure to its own spot Bitcoin ETF”
♻️
View article →
Kind of funny how nothing ever really changes.


If pimple patch companies are subtly promoting bitcoin in their packaging, we’re winning guys.


Im honestly blown away how accurately my young kids grasped the @Tuttle Twins TV episode on inflation. 👏👏👏 very well done. I think all adults should watch this episode too. 
Angel
Watch Tuttle Twins S1E6: The Inflation Monster on Angel
With their eyes set on a big carnival prize, Ethan and Emily learn that printing more tickets causes prices to rise. They visit Ancient Rome and Mo...
#asknostr I’m confused, are we supposed to put “nostr:” before the naddr/nprofile/etc. in kind 1 notes? It seems like some clients parse it and others don’t.
Where can I find beef in the US that looks like this? #asknostr #beefstr


Dumb question about cashu, is there a monetary incentive built in to run a mint? @calle
A fear I have of the strategic bitcoin reserve, specifically one funded by seized bitcoin, is that now the government will be incentivized to confiscate (aka get it for free) from people.
Self custody is crucial folks!


No Bullshit Bitcoin
DOJ Gets Court Approval to Sell 69,370 BTC Seized from Silk Road
U.S. government has received an approval from the Northern District Court of California to liquidate 69,370 BTC from federal seizure, ending a four...
#asknostr how are other nostr devs implementing push notifications?
One thing I loved about #MoneyElectric was all the non-Satoshi stuff.
- It painted bitcoin in a really good light that I would never expect from a journalist.
- Showed just how dumb the current financial system is and current economists.
- Depicted small blockers in a good light, and was generally positive about the outcome of the block wars.
- It highlighted El Salvador’s success, and the gave a lot of attention to @JAN3
A lot of non-bitcoiners are going to watch this over the years. With a small sample size of non-bitcoiners (my wife), she’s not convinced that @Peter Todd was Satoshi, but she actually watched the entire doc (that never happens) and I saw her listening attentively as they talked about all culturally relevant about bitcoin. This was good for bitcoin.
#asknostr which nostr apps have the best onboarding experience? Specifically focusing on the eas of nsec creation.
#asknostr why isn’t there a nostr kind for things like podcasts, music, video, and other media for clients to implement. Feels like notes are all just Twitter posts with text and links with minimal support for images and videos. It could be so much better. What am I missing?