Avatar
yfaming
908fbc3babc322eea473a0ab1e6bf6b3adcf899288ac97b2fa79f34ad408d4e4
- coder: Rust, Python, Racket(learning...) - Nostr 中文圈 https://following.space/d/musdrpjpdmbr 值得关注的 nostr 中文用户都在这儿!

这样发币估计很难有持续热度吧,热门一阵慢慢就沉下去了。不过 v2ex 算是挺有知名度了,倒也不太担心发完币直接跑路。作者似乎也在 v2ex 上加了一些相关的功能,比如持有这个币就可以注册,不用邀请码什么的。好像也支持用这个币打赏。算是有一些小小的用途了,未来如何也不好说。

另外,https://lock.jup.ag/token/9raUVuzeWUk53co63M4WXLWPWE4Xc6Lpn7RS9dnkpump 这里查到,2026 年开始解锁,72 个月线性解锁完。如果作者每次解锁就卖,那价格更要仆街了。😂

平台币要有价值,除了现有的日常用途,估计还需要更强的措施,比如突然宣布销毁一部分啥的,或者搞个回购计划啥的。😂

我刚试着添加了一个~ 👍👍👍 nostr:note1050vf7mmqe30t2z9p4jyqjxuuvzd7uxzrx87suj4ucdg06q4tt7sge62vm

注册域名,啥也没干,然后域名过期,我经历过好几次了。😂😂😂

好在 AI 已经很强大了,2026 争取 vibe coding 几个垃圾网站出来 🤣🤣🤣

注册了 nostr.hot 域名。还没想好用来干点什么,先花出去 24 刀 😂

(顺便查了下,tokyo.hot 已经被别人注册了🤣

发现 v2ex 的作者 Livid 也在玩 Solana,发了个名叫 V2EX 的币,v2ex.com 甚至已经支持 Solana 钱包登录了。😊🫡

Replying to Avatar Electrobadour

Happy New Year! Let's get up and dance! Stream and zap my music here: https://wavlake.com/electrobadour

Are you a DJ? Want to mix my tracks? purchase them at: electrobadour.com

Thank you for your support! Much Appreciated!!!! https://aqstr.com/task/cmjuuhj79ryggzevyax

Happy New Year!

Replying to Avatar ivy lumi

As life is always layered, the roots are always much deeper.

The world becomes more complicated than ever - where every intention is observed. It made everyone mean. Yet, somehow it also became simpler.

After one too many honest conversations with ourselves, we find peace. And of course, those conversations are continuous. But that’s not even the hardest part. The harder part is to pursue it - the leap of faith.

I can’t help but realize this year’s journey was about the relationship between love and truth. What comes first? What’s more important? What’s left when one is absent? And what does it feel like when truth and love coexist without much friction?

When death is in sight, which matters more - truth or love? What would you let go of last?

What happens when someone doesn’t realize they’re being abusive? How long do you tolerate before standing up and walking away? How much is enough? How much is too much? I’ve been doing this math my whole life. A delicate dance indeed.

My New Year’s resolution is to know when to slow down, to release the excessive energy that can't be directed towards love and healing. To know when it’s too much - that's to know how to truly live with low time preference. A challenge, as always.

Have been watching Pluribus - apparently one of the most watched shows on Apple TV? LOL - see how much people are starving for peace and love? And how much rejection we’re willing to endure when it comes to unconditional love, all because of fear and trauma. It’s heartbreaking, all the grief that comes with it.

I’m grateful for everything that lined up exactly as it did, so a delicate piece of consciousness like me gets to witness it all.

Would you do nothing when you could have done anything? What would you do? Maybe that should be our New Year’s resolution.

Cheers to peace. Love is the cure.

Happy New Year 🥂✨

Happy New Year!

Replying to Avatar ivy lumi

As life is always layered, the roots are always much deeper.

The world becomes more complicated than ever - where every intention is observed. It made everyone mean. Yet, somehow it also became simpler.

After one too many honest conversations with ourselves, we find peace. And of course, those conversations are continuous. But that’s not even the hardest part. The harder part is to pursue it - the leap of faith.

I can’t help but realize this year’s journey was about the relationship between love and truth. What comes first? What’s more important? What’s left when one is absent? And what does it feel like when truth and love coexist without much friction?

When death is in sight, which matters more - truth or love? What would you let go of last?

What happens when someone doesn’t realize they’re being abusive? How long do you tolerate before standing up and walking away? How much is enough? How much is too much? I’ve been doing this math my whole life. A delicate dance indeed.

My New Year’s resolution is to know when to slow down, to release the excessive energy that can't be directed towards love and healing. To know when it’s too much - that's to know how to truly live with low time preference. A challenge, as always.

Have been watching Pluribus - apparently one of the most watched shows on Apple TV? LOL - see how much people are starving for peace and love? And how much rejection we’re willing to endure when it comes to unconditional love, all because of fear and trauma. It’s heartbreaking, all the grief that comes with it.

I’m grateful for everything that lined up exactly as it did, so a delicate piece of consciousness like me gets to witness it all.

Would you do nothing when you could have done anything? What would you do? Maybe that should be our New Year’s resolution.

Cheers to peace. Love is the cure.

Happy New Year 🥂✨

Happy New Year! nostr:note1232tmx6wv2sy8xreg33q827rp973ee4raj22x52xg8xerntcfhvq09s09j

#DeFi实盘 2025 总结

# 年末概况

当前市值 204.93 U,净值 1.0001。LP 收益,略。 BTC price = 88,596;SOL price = 125.83。

刚刚开始,没什么可总结的,主要是记录一下净值,作为计算明年收益的基准。

净值回到 1 了,挺好,至少以后心算收益时不用太费脑子。😂

Happy New Year!

这个只能是羊毛了,一年总收益也就几千块,不可能是长期稳定的。毕竟没啥门槛的套利,有账号就行,很快就会干没了。

杨振宁去世了,熟悉的世界又坍塌了一块。🕯️

有些支持,有些是不支持的,比如 Web 端 coracle.social 和 jumble.social 不支持,iris.to 是支持的 ,Primal app 也支持(Primal Web 端怎么退出登录呀,谁教教我😂),其他的我就没试过了。😂

币安 Alpha 改规则之后,刷分刷得有点胆战心惊,积分门槛最近也高了,收益持续下降中😂

在比较理想的情况下,你的发言会被记录为一条数据,而删除动作又会被记录为另一条数据。然后在查询的时候,会过滤掉被标识为删除的数据。所以即使看起来删除成功了(而且世界上所有的 relay 都这样做了),在 relay 的数据库里面,仍有办法查到你发言的那条数据,从而证明你说过那些话的。

刷 nostr 有点耽搁玩 stacker.news 了。😂看来人的精力是有限的,注意力要么在这里,要么在那里,不会凭空多出来。 https://stacker.news/r/yfaming

About nostr database

I’ve been reading the `NostrDatabase` trait and its LMDB backend in rust-nostr. Storing events is simple—just put `(event_id → event)` in a KV store. The challenge is querying, since LMDB itself only supports very basic lookups.

The approach in nostr-lmdb is to build extra indexes (e.g. author+kind+created_at+id, tag+created_at+id, etc.). Queries pick the most suitable index to fetch candidate event IDs, then filter them one by one.

A few thoughts:

Indexing on a KV store is straightforward, nothing mystical.

The query logic is verbose, basically a hand-rolled rule-based optimizer. A cost-based optimizer might be a more advanced path?

NostrDatabase only supports a single filter, while the protocol allows multiple filters (OR across filters). So a relay must merge results manually.

#rust-nostr #nostr

关于 nostr database

最近读了 rust-nostr 里的 NostrDatabase trait 及其 lmdb 实现。存储部分很直观,以 event_id 为 key 存储 event。难点在查询:因为 lmdb 只是 KV 数据库,它本身不支持复杂查询。

nostr-lmdb 的做法,是在存储 event 的同时,额外维护多组索引(比如 author+kind+created_at+id,tag+created_at+id 等)。查询时,先挑合适的索引定位可能的 event id,再逐一过滤。

这种实现让我有几点感受:

原来在 KV 底层上建索引可以这么做,其实没什么玄妙。

查询逻辑比较冗长,感觉像是手工实现了一个 rule-based 优化器。如果更复杂,或许需要 cost-based 优化?

目前 NostrDatabase 只支持单一 filter,而协议里 filter 之间是 OR 关系。如果要做 relay,还得额外处理多个 filter 的合并。

直接在 nginx 配置里设置 NIP-05 验证,不得不说 nginx 真挺强大,我了解的太少了(方案是 ChatGPT 给的)。

刚估算了一下 nostr 数据的存储成本(单纯存,不做复杂查询/搜索),大概在 $20 左右,还算能接受。

那问题来了:nostr 数据有没有商业价值?至少能当 AI 的训练语料吧。要是真能卖出几份,光靠这就能覆盖运营成本了。

数据量(event & post)参考自 nostr.band。

Just estimated the storage cost for nostr data (pure storage, no complex queries/search).

Turns out it’s around $20 — pretty affordable.

But here’s the question: does nostr data have commercial value?

At the very least, it could serve as AI training corpus. If I can sell it a few times, that alone might cover the operating cost.

Event & post counts are based on nostr.band.

#nostr