-

@ 1833ee04:7c4a8170
2025-04-24 17:47:57
bitcoin is freedom for all.
-

@ 66769797:6812a1cd
2025-04-24 17:47:55
Basements are a pain in the butt but provide useful spaces. Are you thinking for safety or more for storage?
-

@ 210027b1:56c8bfa3
2025-04-24 17:47:54
BroadcastChannel广播频道 | Telegram频道变成轻博客 | 基于CloudFlare Pages搭建(CC字幕)
https://youtu.be/vgibOW-5VEc
#教程
-

@ c6967015:ea31ab06
2025-04-24 17:47:50
nlogpost:1745516870:[[[[pinningtools debug haxx 5 good 0 lost 0 bad 5 total / 79 entries]]]]
-

@ 9a48e66e:bbd4aca7
2025-04-24 17:47:49
The only negative thing I have to say about the Beano is Walter, but I’m inclined to suspect that they’ve changed his characterisation - I’ll check and see if he shows up later.
-

@ 7ed214bb:f223696c
2025-04-24 17:47:49
T1745516869.039:status:gearskeeper:kwapm5pvn5+1760144907/g960803-db2797f0fb68de66befda66c2c6dcea75+1760146317
-

@ 3bcc5632:9003d8b8
2025-04-24 17:47:49
I'm here to help any way I can.
-

@ 2c7cc62a:622a5cdc
2025-04-24 17:47:48
リレーの購読数をグラフにしようと思ったが、上位が多すぎてグラフにならんな。
https://image.nostr.build/ef33221a2a55cc8ce83573b1dc08c75f0414a211a7fa488354cef04b085a92e4.png
-

@ 6e468422:15deee93
2025-04-24 17:47:47
This whole conversation is completely missing the point. The point is that reproduction of digital stuff has zero cost, or in other words: there is no scarcity and thus no way for a real market price to form.
-

@ 32e18276:5c68e245
2025-04-24 17:47:46
so you can self host media uploads
-

@ b5b8a0c4:37666ab5
2025-04-24 17:47:43
But I can hand it to you and say pay if you’d like and then you just walk away lol that’s v4v
-

@ 7ed214bb:f223696c
2025-04-24 17:47:40
T1745516860.158:status:gearskeeper:kgbvchya4a+1760136066/g960803-de6c783c582089beee27d08069d625ab2+1760137447
-

@ f3328521:a00ee32a
2025-04-24 17:47:39
Excited to finally try this out! nostr:note1yyzylwx3m34negvtuwenyc0m2jjutlqlguv68u22yr6wf24f9xnszhl7qp
-

@ 1408bad0:4971f2ca
2025-04-24 17:47:34
It does work well, it's just the value of social media content generally is very low.
-

@ 9f0bbd5b:779b33f6
2025-04-24 17:47:32
thoughts on allocation per the Iowa method?
-

@ c6967015:ea31ab06
2025-04-24 17:47:30
nlogpost:1745516850:[[[[pinningtools debug gears 1 good 0 lost 0 bad 1 total / 7 entries]]]]
-

@ 38dbb9b0:7048cd5c
2025-04-24 17:47:29
When i was at school there were some other kids who thought they were the business because you’re a big fish in a small sea. They left and soon found out otherwise. Those are the cretins, who if given a tiny amount of power will happily control others by working for the banking cartels. So no i won’t be ‘obeying’ thanks
-

@ 17538dc2:71ed77c4
2025-04-24 17:47:21
iOS or notedeck?
Whats the use case?
-

@ 832b77d5:a5e3d55c
2025-04-24 17:47:15
🟥SELL BTC for USD
Price: 90000USD (-3%)
BTC: 0.05
USD: 4500
Method: Zelle
Created: 2025-04-24T17:46:15Z
-

@ 81691b42:d28555b6
2025-04-24 17:47:15
🍊 making #vaccines a political football has made asking for help with a #vaccineinjury impossible.
-

@ 664e070f:51cdb7aa
2025-04-24 17:47:12
For $3.99 you can get:
☕ A bad coffee
🧡 Or a Bitcoin friend on Orange Pill App
Your call.
-

@ 7bdef7bd:3a613229
2025-04-24 17:47:09
🤯🤯🤯
-

@ 7b991f77:76c2840d
2025-04-24 17:47:09
Where are you at on the #Bitcoin journey?
https://image.nostr.build/aa16e5a9405208e239eb10f1d4353a01531709c86aa094878a89e4be2edc5ac2.jpg
-

@ af51241b:6a22666f
2025-04-24 17:47:03
**Dollar Hegemony, America’s Economic Demise – and *The Mandibles***
Gambling with the dollar’s status as the world’s reserve currency is little short of economic suicide. The tale in which the currency *bancor* becomes the new global money gives us a hint of how that might unfold.
The editorial team at *Dagens Næringsliv*, like so many others, searches in vain for logic in President Donald Trump’s economic policies. In many cases the aims and the means exclude one another. Most dangerous of all is the game of playing with fire: putting the dollar’s reserve-currency role at risk is tantamount to economic self-destruction.
Anyone wondering what that could look like should read Lionel Shriver’s novel *The Mandibles – A Family, 2029-2047*. In it she portrays a near-future United States where, almost overnight, the dollar loses both status and value and the *bancor* becomes the world’s new currency.
*Bancor* is the name John Maynard Keynes proposed for a supranational reserve currency at the Bretton Woods conference in 1944.
Naturally it is China, leading the BRICS nations, that controls the *bancor*—by then it has overtaken the United States as the world’s largest economy.
The book appeared in 2014, before Trump was on the political radar, and neither Trump nor MAGA is central to the plot. Yet with each passing day and every new U.S. economic initiative, the novel seems more prophetic. It is decidedly dystopian and reminds us that, although dollar hegemony has its downsides, abolishing it is not something we should wish for.
Global finance rests on U.S. government debt—and on the absence of doubt that America will honor that debt. Even the slightest doubt could trigger an economic catastrophe.
It is no secret that China and the BRICS countries are already working to avoid trading in dollars. That alone will weaken the dollar over time, whatever Trump does. The Trump administration hardly needs to accelerate the trend with peculiar policies.
Ironically, cryptocurrency may prove the dollar’s salvation. Not bitcoin, but *stablecoins*—cryptocurrencies designed to keep a fixed 1-to-1 peg to the U.S. dollar. The stablecoin *Tether*, issued by the company of the same name, is by far the largest of its kind, with tokens in circulation worth more than NOK 1.5 trillion. According to its own figures, Tether has over 400 million users, most of them in the Global South (Southeast Asia, Africa, and Latin America).
Tether is now one of the biggest buyers of U.S. Treasury bonds—by its own account likely the third-largest in 2024—and ranks among the world’s most profitable firms, earning about NOK 20 billion last year with fewer than 100 employees.
The business model is as simple as it is effective: the interest spread between the bonds and the zero-interest tether token. All the coupon income effectively becomes profit. By building the dollar’s digital infrastructure outside the United States, Tether is helping secure the future of dollar hegemony.
https://www.dn.no/innlegg/valuta/dollar/kryptovaluta/dollarhegemoniet-usas-okonomiske-undergang-og-the-mandibles/2-1-1804337
-

@ 9356d008:1a3e6dc8
2025-04-24 17:47:01
Garden duty today. Weeding and watering and admiring the new additions that have bloomed.
#garden #flowerstr #outdoors
https://i.nostr.build/j7Ch8qiHnQARIMFy.jpg
https://i.nostr.build/upaZwUM96Ldq8OJm.jpg
-

@ 63fe6318:330504ed
2025-04-23 23:00:35
GM
-

@ aa5556df:98b456e1
2025-04-24 17:46:58
総運行距離373km
燃料消費24L
燃費15.5km/L
なかなかいいじゃん
-

@ 17538dc2:71ed77c4
2025-04-24 17:46:35
https://image.nostr.build/2d25c22253041f0bf2a3400806358ed7579799bca36e58a4af0075186f83659d.jpg
nostr:note12rzykea65eq6duwv8vurw3fw9udtcttls700c3l0pgjlwkhpczqs499t8p
-

@ 97541564:e5e20753
2025-04-24 17:46:55
T1745516815.946:status:fserieskeeper:kjzgzugn8s+1760091754/g930803-cd20a3e025664a74c9ad8747b76b49250+1760093206
-

@ 97541564:e5e20753
2025-04-24 17:46:47
T1745516807.078:status:fserieskeeper:kjbdmkmjd2+1760082905/g930803-bbdfc9369b2f718d5cd50d6438532e243+1760084336
-

@ 9cba2871:c025276c
2025-04-24 17:46:19
We choose how to pay for it, even if we don't know.
-

@ 63fe6318:330504ed
2025-04-22 00:16:31
That was already the plan, didnt execute
-

@ 958b754a:5c39e88c
2025-04-24 17:45:39
💯
-

@ cf9b2a13:0937eec1
2025-04-24 17:46:46
https://image.nostr.build/97e890e5ec9bba074c1fab35c330f008b64471aa229ac423be01ba1d0529b9ed.jpg
-

@ 63fe6318:330504ed
2025-04-16 09:37:09
Shouldn't publishing any event count as activity
-

@ ff2f4cd7:bcbacd15
2025-04-24 17:46:44
Haha hope so 🙏🏿🙏🏿
-

@ c6967015:ea31ab06
2025-04-24 17:46:38
nlogpost:1745516798:[[[[pinningtools debug fseries 0 good 0 lost 0 bad 0 total / 8 entries]]]]
-

@ 63fe6318:330504ed
2025-04-16 09:31:11
I don't change my follow list, does that mean im not active?
-

@ c1e9ab3a:9cb56b43
2025-04-24 17:45:08
I wonder why no Jews died of natural causes or disease when they were living in such high density conditions.
-

@ 18905d0a:0b229b08
2025-04-24 17:44:52
Anything for more corn 😂
-

@ 79be667e:16f81798
2025-04-24 17:46:31
1952/893796/826998
-

@ 63fe6318:330504ed
2025-04-15 13:33:19
El Nido
-

@ 63fe6318:330504ed
2025-04-15 13:21:55
You can just watch the sun set https://nostr.download/2d098f826f63b5a35301cdfc2c9641c48ba2ea3af0a3aa0d618c9df12ad23f7b.webp
-

@ 3bcc5632:9003d8b8
2025-04-24 17:44:50
Via nostr:nprofile1qqs8yhhrevfm7kd8w0wd39q5dt3pux9cmnl2m6y0wqzsh3can47ngggpzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgqgkwaehxw309aex2mrp0yh8qunfd4skctnwv46qz9nhwden5te0vdsjuun9d3shjctzd3jjummjvul7km3q
The war machine and those who prop it up is the greatest darkness that plagues this world.
https://video.nostr.build/fa94956e4d420181871a3196a8c172daecae52ba36ae3414b65952adeb7ebc2b.mp4
-

@ b934818d:7e4a379c
2025-04-24 17:46:30
T1745516790.487:status:hexakeeper:ksmb7hxdru+1760065868/g860803-be8ea62111c330b84e7520474c309696a+1760067764
-

@ b93049a6:9ab69d30
2025-04-24 17:44:25
GN
https://m.primal.net/Qbrl.jpg
-

@ d679b0f4:8229ac9a
2025-04-24 17:44:18
Haps to the ₿
-

@ 4bef66fe:99075f72
2025-04-24 17:46:28
T1745516788.736:status:hellkeeper:k8ak2w84nk+1760064200/g690803-cb8b176da16089bbc119693a1cac7e9f7+1760065895
-

@ cfb6da66:b9055726
2025-04-24 17:46:26
Trump i möte med Støre: Högt respekterad
https://www.tv4.se/artikel/20wtFVHxLI0EAw3NHRAPOu/trump-i-moete-med-store-hoegt-respekterad
-

@ 63fe6318:330504ed
2025-04-15 03:42:40
GM https://nostr.download/cecd2070d6b6938fa000a9c8869a8aca208ee6c56b36785586b12c6a27a8dfa7.webp
-

@ cfb6da66:b9055726
2025-04-24 17:46:24
Hjälparbetaren i Kiev: "Ett våldsamt angrepp"
https://www.svd.se/a/o3ae2V/hjalparbetaren-i-kiev-ett-valdsamt-angrepp
-

@ 63fe6318:330504ed
2025-04-14 02:59:32
We live in a society
-

@ 63fe6318:330504ed
2025-04-12 00:11:22
Gm https://image.nostr.build/561421aea6d562bbb658a309e5431d3c16f4f297c482b410730b4203a87d9bc0.jpg
-

@ 66769797:6812a1cd
2025-04-24 17:46:24
They always try to pull fast ones on the engineers and architects. One has to be super careful when reviewing construction drawings, specs and submittals
-

@ f03df3d4:a4d4f676
2025-04-24 17:40:51
Block 893795
2 - high priority
2 - medium priority
2 - low priority
2 - no priority
1 - purging
#bitcoinfees #mempool
-

@ 63fe6318:330504ed
2025-04-02 16:54:59
Yea but you could also get direct flow if you don't want the tank
-

@ f03df3d4:a4d4f676
2025-04-24 17:30:51
Block 893794
2 - high priority
2 - medium priority
2 - low priority
2 - no priority
1 - purging
#bitcoinfees #mempool
-

@ fc97fc29:db5d2e30
2025-04-24 17:46:23
🦀
-

@ cfb6da66:b9055726
2025-04-24 17:46:23
”Vården måste ha en digital struktur”
https://www.svd.se/a/PpGj36/varden-maste-fa-en-gemensam-struktur-for-journaler-skriver-stefan-eriksson
-

@ 63fe6318:330504ed
2025-04-02 11:33:45
I have whole house filter (particulate only) + RO 5 stage, i dont think you need UV
-

@ f03df3d4:a4d4f676
2025-04-24 17:25:51
Block 893792
4 - high priority
3 - medium priority
3 - low priority
2 - no priority
1 - purging
#bitcoinfees #mempool
-

@ e7bf8dad:839ef3db
2025-04-24 17:20:51
Block 893792
3 - high priority
3 - medium priority
3 - low priority
2 - no priority
1 - purging
#bitcoinfees #mempool
-

@ ac0fa7a1:eabe2b7f
2025-04-24 17:46:20
R to @Bastos_Quotes: En muchos países, quien controla el partido gobernante controla el ejecutivo, el legislativo e, indirectamente, el poder judicial a través del nombramiento de los órganos de control de los jueces. (2/4)
https://rss.xcancel.com/Bastos_Quotes/status/1915453249194229905#m
-

@ 63fe6318:330504ed
2025-03-30 12:32:50
GM sunny BBQ for once! https://image.nostr.build/e97bb34338db6d6d89223065c273916432068f43e914d5b6f58e8974883865fa.jpg
-

@ b934818d:7e4a379c
2025-04-24 17:46:20
T1745516780.611:status:hexakeeper:k2wxv4evjk+1760055944/g690803-df6ed5b7482f57fa30fc1842cf157ea9d+1760057879
-

@ 63fe6318:330504ed
2025-03-27 08:57:23
Damn AI is good....
-

@ 3f643d3b:f1193838
2025-04-24 17:20:50
Norges Bitcoin Politiske Institutt samler kunnskap, analyser og politikk som viser hvorfor Bitcoin er relevant for energi, ytringsfrihet og økonomisk suverenitet.
Dette er stedet for deg som vil se forbi overskriftene:
https://bpinorge.no
-

@ cfb6da66:b9055726
2025-04-24 17:46:20
Hjälparbetaren i Kiev: "Ett våldsamt angrepp"
https://www.aftonbladet.se/nyheter/a/3M3o0P/hjalparbetaren-i-kiev-ett-valdsamt-angrepp
-

@ cbab7074:f9f0bd61
2025-04-24 17:00:50
Block 893788
6 - high priority
5 - medium priority
4 - low priority
2 - no priority
1 - purging
#bitcoinfees #mempool
-

@ 4bef66fe:99075f72
2025-04-24 17:46:19
T1745516779.136:status:hellkeeper:kmjfdsgffv+1760054418/g690803-b2c4bf9e1c1ee9ee786f8c421b8893ecf+1760056313
-

@ f03df3d4:a4d4f676
2025-04-24 16:55:50
Block 893787
7 - high priority
6 - medium priority
5 - low priority
2 - no priority
1 - purging
#bitcoinfees #mempool
-

@ f03df3d4:a4d4f676
2025-04-24 16:50:50
Block 893787
7 - high priority
6 - medium priority
5 - low priority
2 - no priority
1 - purging
#bitcoinfees #mempool
-

@ ac0fa7a1:eabe2b7f
2025-04-24 17:46:16
Hay un mito muy establecido y muy popular: la idea de la separación de poderes. La separación de poderes nunca se dio en la historia, es muy raro que se pueda dar la separación de poderes. Y, desde luego, a día de hoy, no se da. (1/4)
https://rss.xcancel.com/Bastos_Quotes/status/1915453247147401548#m
-

@ f03df3d4:a4d4f676
2025-04-24 16:35:50
Block 893786
7 - high priority
6 - medium priority
4 - low priority
2 - no priority
1 - purging
#bitcoinfees #mempool
-

@ 6e468422:15deee93
2025-04-24 17:46:15
You can't copy&paste coffee.
-

@ ac0fa7a1:eabe2b7f
2025-04-24 17:46:13
R to @Bastos_Quotes: Personas concretas, poderosas, las que dominan ese partido (por los motivos que sea, porque tienen más influencia, más capacidad de recaudar votos, mejor organización, más habilidad para el juego político), son los que hacen la ley y son los que ejecutan la ley. (4/4) #PaleoLET
https://rss.xcancel.com/Bastos_Quotes/status/1915453252943925288#m
-

@ 4f17ea4a:3466b721
2025-04-24 16:18:51
https://i.imgur.com/VGZfYdm.jpeg
#art #nostr #artstr #grownostr
-

@ 9f0bbd5b:779b33f6
2025-04-24 17:46:13
if you’re out in public like that you are gonna get tapped on the shoulder
-

@ b5b8a0c4:37666ab5
2025-04-24 17:46:11
Content is free if you just give it to the world without charging for it
-

@ cbab7074:f9f0bd61
2025-04-24 16:00:51
Block 893785
4 - high priority
3 - medium priority
3 - low priority
2 - no priority
1 - purging
#bitcoinfees #mempool
-

@ ac0fa7a1:eabe2b7f
2025-04-24 17:46:09
R to @Bastos_Quotes: Quien hace las leyes es el mismo que las ejecuta y es el mismo que vigila su cumplimiento. Y eso pasa en buena parte de las democracias existentes en el mundo. (3/4)
https://rss.xcancel.com/Bastos_Quotes/status/1915453251127775718#m
-

@ 1ae011cb:1257a556
2025-04-24 16:00:51
Block 893785
4 - high priority
3 - medium priority
3 - low priority
2 - no priority
1 - purging
#bitcoinfees #mempool
-

@ 79be667e:16f81798
2025-04-24 17:46:09
1952/893796/826974
-

@ b133bfc5:49d5789d
2025-04-24 15:59:56
Damus is telling me I’ve muted that note… I definitely haven’t seen it before much less muted it…
-

@ e7bf8dad:839ef3db
2025-04-24 15:40:51
Block 893783
2 - high priority
2 - medium priority
2 - low priority
2 - no priority
1 - purging
#bitcoinfees #mempool
-

@ c6967015:ea31ab06
2025-04-24 17:46:09
nlogpost:1745516769:[[[[pinningtools debug hell 0 good 0 lost 0 bad 0 total / 14 entries]]]]
-

@ f648d923:820d7bb9
2025-04-24 15:06:43
我又不是18岁小姑凉,在我眼里这些中国男人就是行尸走肉,尸位素餐。没灵魂没思想可言的垃圾中国男人,除了关心吃饭和嫖娼。啥事都不关心。这些人都低级人员。
-

@ c6967015:ea31ab06
2025-04-24 17:46:09
nlogpost:1745516769:[[[[pinningtools debug hexa 1 good 0 lost 0 bad 1 total / 4 entries]]]]
-

@ a012dc82:6458a70d
2025-04-24 17:46:06
The walls of fiat cannot hold #Bitcoin back. http://res.cloudinary.com/dsixpui68/image/upload/v1734493511/sz8k7k3ef0ujw04b6jrk.jpg
-

@ 82100056:e198089f
2025-04-24 17:46:03
Cryptopher Columbus is brilliant lol
-

@ bfde2252:6c7b8dc2
2025-04-24 17:46:01
I'm not entirely sold on a 1 level house. I'm thinking 1 below and 1 above the ground.
-

@ 5423d836:fb8eabbf
2025-04-24 17:46:01
T1745516761.112:status:halkeeper:kguxxauvf5+1760036294/g960803-d0c29dfbb501a4ce64f32b65b110f6b5d+1760038292
-

@ 55e343e6:880acd1b
2025-04-24 17:46:01
i believe they have the bitcoin but then again my monkey genes kick in and says: dont trust, verify.
-

@ f03df3d4:a4d4f676
2025-04-24 17:45:51
Block 893796
2 - high priority
2 - medium priority
2 - low priority
2 - no priority
1 - purging
#bitcoinfees #mempool
-

@ 5423d836:fb8eabbf
2025-04-24 17:45:51
T1745516751.113:status:halkeeper:kpr6z7spgz+1760026354/g960803-caa7858b444634d7206d3619cd8a5f961+1760028290
-

@ 58e8eadb:43ac7c0e
2025-04-24 17:45:50
{"id":"98b8d1879728115a9e6b2730b6c31de3a3292a4d","tree":"9213d45a2b1102b895f1a77997c85cd408d1e9a4","parents":["d9faa02b0ec3c7b389eb5f269dadc4b6146e376b"],"author_name":"randymcmillan","author_email":"randymcmillan@protonmail.com","committer_name":"randymcmillan","committer_email":"randymcmillan@protonmail.com","message":"asyncgit/src/sync/commit.rs\n\ndiff --git a/asyncgit/src/sync/commit.rs b/asyncgit/src/sync/commit.rs\nindex 1b2e074c..beb3caef 100644\n--- a/asyncgit/src/sync/commit.rs\n+++ b/asyncgit/src/sync/commit.rs\n@@ -1,7 +1,14 @@\n //! Git Api for Commits\n+//use anyhow::anyhow;\n use git2::{\n-\tErrorCode, ObjectType, Repository, Signature, message_prettify,\n+\tCommit, ErrorCode, ObjectType, Oid, Repository, Signature, message_prettify,\n };\n+\n+use serde::{Deserialize, Serialize};\n+use serde_json;\n+//?use nostr_sdk::serde_json;\n+//use serde_json::{Result as SerdeJsonResult, Value};\n+use log::debug;\n use scopetime::scope_time;\n\n use super::{CommitId, RepoPath};\n@@ -83,6 +90,69 @@ pub(crate) fn signature_allow_undefined_name(\n \tsignature\n }\n\n+#[derive(Serialize, Deserialize, Debug)]\n+struct SerializableCommit {\n+ id: String,\n+ tree: String,\n+ parents: Vec,\n+ author_name: String,\n+ author_email: String,\n+ committer_name: String,\n+ committer_email: String,\n+ message: String,\n+ time: i64,\n+}\n+///\n+pub fn serialize_commit(commit: &Commit) -> Result {\n+ let id = commit.id().to_string();\n+ let tree = commit.tree_id().to_string();\n+ let parents = commit.parent_ids().map(|oid| oid.to_string()).collect();\n+ let author = commit.author();\n+ let committer = commit.committer();\n+ let message = commit\n+ .message()\n+ .ok_or(log::debug!(\"No commit message\")).expect(\"\")\n+ .to_string();\n+ log::debug!(\"message:\\n{:?}\", message);\n+ let time = commit.time().seconds();\n+ debug!(\"time: {:?}\", time);\n+\n+ let serializable_commit = SerializableCommit {\n+ id,\n+ tree,\n+ parents,\n+ author_name: author.name().unwrap_or_default().to_string(),\n+ author_email: author.email().unwrap_or_default().to_string(),\n+ committer_name: committer.name().unwrap_or_default().to_string(),\n+ committer_email: committer.email().unwrap_or_default().to_string(),\n+ message,\n+ time,\n+ };\n+\n+ let serialized = serde_json::to_string(&serializable_commit).expect(\"\");\n+ debug!(\"serialized_commit: {:?}\", serialized);\n+ Ok(serialized)\n+}\n+///\n+pub fn deserialize_commit<'a>(repo: &'a Repository, data: &'a str) -> Result> {\n+ //we serialize the commit data\n+ //easier to grab the commit.id\n+ let serializable_commit: SerializableCommit = serde_json::from_str(data).expect(\"\");\n+ //grab the commit.id\n+ let oid = Oid::from_str(&serializable_commit.id)?;\n+ //oid used to search the repo\n+ let commit_obj = repo.find_object(oid, Some(ObjectType::Commit))?;\n+ //grab the commit\n+ let commit = commit_obj.peel_to_commit()?;\n+ //confirm we grabbed the correct commit\n+ //if commit.id().to_string() != serializable_commit.id {\n+ // return Err(eprintln!(\"Commit ID mismatch during deserialization\"));\n+ //}\n+ //return the commit\n+ Ok(commit)\n+}\n+\n+\n /// this does not run any git hooks, git-hooks have to be executed\n /// manually, checkout `hooks_commit_msg` for example\n pub fn commit(repo_path: &RepoPath, msg: &str) -> Result {\n","time":1745516726}
-

@ a34b99f2:c540c5bd
2025-04-24 17:45:50
gnostr-chat:event
-

@ a34b99f2:c540c5bd
2025-04-24 17:45:50
gnostr-chat:event
-

@ 58e8eadb:43ac7c0e
2025-04-24 17:45:50
{"id":"98b8d1879728115a9e6b2730b6c31de3a3292a4d","tree":"9213d45a2b1102b895f1a77997c85cd408d1e9a4","parents":["d9faa02b0ec3c7b389eb5f269dadc4b6146e376b"],"author_name":"randymcmillan","author_email":"randymcmillan@protonmail.com","committer_name":"randymcmillan","committer_email":"randymcmillan@protonmail.com","message":"asyncgit/src/sync/commit.rs\n\ndiff --git a/asyncgit/src/sync/commit.rs b/asyncgit/src/sync/commit.rs\nindex 1b2e074c..beb3caef 100644\n--- a/asyncgit/src/sync/commit.rs\n+++ b/asyncgit/src/sync/commit.rs\n@@ -1,7 +1,14 @@\n //! Git Api for Commits\n+//use anyhow::anyhow;\n use git2::{\n-\tErrorCode, ObjectType, Repository, Signature, message_prettify,\n+\tCommit, ErrorCode, ObjectType, Oid, Repository, Signature, message_prettify,\n };\n+\n+use serde::{Deserialize, Serialize};\n+use serde_json;\n+//?use nostr_sdk::serde_json;\n+//use serde_json::{Result as SerdeJsonResult, Value};\n+use log::debug;\n use scopetime::scope_time;\n\n use super::{CommitId, RepoPath};\n@@ -83,6 +90,69 @@ pub(crate) fn signature_allow_undefined_name(\n \tsignature\n }\n\n+#[derive(Serialize, Deserialize, Debug)]\n+struct SerializableCommit {\n+ id: String,\n+ tree: String,\n+ parents: Vec,\n+ author_name: String,\n+ author_email: String,\n+ committer_name: String,\n+ committer_email: String,\n+ message: String,\n+ time: i64,\n+}\n+///\n+pub fn serialize_commit(commit: &Commit) -> Result {\n+ let id = commit.id().to_string();\n+ let tree = commit.tree_id().to_string();\n+ let parents = commit.parent_ids().map(|oid| oid.to_string()).collect();\n+ let author = commit.author();\n+ let committer = commit.committer();\n+ let message = commit\n+ .message()\n+ .ok_or(log::debug!(\"No commit message\")).expect(\"\")\n+ .to_string();\n+ log::debug!(\"message:\\n{:?}\", message);\n+ let time = commit.time().seconds();\n+ debug!(\"time: {:?}\", time);\n+\n+ let serializable_commit = SerializableCommit {\n+ id,\n+ tree,\n+ parents,\n+ author_name: author.name().unwrap_or_default().to_string(),\n+ author_email: author.email().unwrap_or_default().to_string(),\n+ committer_name: committer.name().unwrap_or_default().to_string(),\n+ committer_email: committer.email().unwrap_or_default().to_string(),\n+ message,\n+ time,\n+ };\n+\n+ let serialized = serde_json::to_string(&serializable_commit).expect(\"\");\n+ debug!(\"serialized_commit: {:?}\", serialized);\n+ Ok(serialized)\n+}\n+///\n+pub fn deserialize_commit<'a>(repo: &'a Repository, data: &'a str) -> Result> {\n+ //we serialize the commit data\n+ //easier to grab the commit.id\n+ let serializable_commit: SerializableCommit = serde_json::from_str(data).expect(\"\");\n+ //grab the commit.id\n+ let oid = Oid::from_str(&serializable_commit.id)?;\n+ //oid used to search the repo\n+ let commit_obj = repo.find_object(oid, Some(ObjectType::Commit))?;\n+ //grab the commit\n+ let commit = commit_obj.peel_to_commit()?;\n+ //confirm we grabbed the correct commit\n+ //if commit.id().to_string() != serializable_commit.id {\n+ // return Err(eprintln!(\"Commit ID mismatch during deserialization\"));\n+ //}\n+ //return the commit\n+ Ok(commit)\n+}\n+\n+\n /// this does not run any git hooks, git-hooks have to be executed\n /// manually, checkout `hooks_commit_msg` for example\n pub fn commit(repo_path: &RepoPath, msg: &str) -> Result {\n","time":1745516726}
-

@ d981591e:f7c0ae37
2025-04-24 17:45:49
Happy Saint George’s Day
From Britain First
Britain First is a patriotic political party that will put our own people first.
Apr 22nd 2025 8:00pm EDT
Source Link: https://www.britainfirst.org/happy_saint_georges_day_2025
Share, promote & comment with Nostr: https://dissentwatch.com/boost/?boost_post_id=959836