Water Blower's avatar
Water Blower
npub1dww6...pdnf
Creator of Blowater & I self identify as a Pro Sleeper
Water Blower's avatar
Water Blower 1 year ago
I just realized that how uncomfortable my emotion becomes if I don’t train for a day. I want to train everyday!
Water Blower's avatar
Water Blower 1 year ago
mod keys { const BYTE_LEN: usize = 32; #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct PrivateKey([u8; BYTE_LEN]); #[derive(Debug)] pub enum Error { FromHexError(hex::FromHexError), Not64Length(usize), } impl PrivateKey { // Public constructor pub fn new(id: &str) -> Result<PrivateKey, Error> { if id.starts_with("npub") {} if id.len() != BYTE_LEN * 2 { return Result::Err(Error::Not64Length(id.len())); } let h = hex::decode(id); let bytes = match h { Ok(bytes) => bytes, Err(err) => return Result::Err(Error::FromHexError(err)), }; let mut array: [u8; BYTE_LEN] = [0; BYTE_LEN]; for (i, b) in bytes.iter().enumerate() { array[i] = b.to_owned(); } Result::Ok(PrivateKey(array)) } pub fn hex(&self) -> String { hex::encode(&self.0).clone() } } } Is this good Rust?
Water Blower's avatar
Water Blower 1 year ago
Simply realizing that there are many people in your life who need you to live well and show up for them will make you feel better immediately. It’s not just deep relationships such as lovers and families. The dentist appointment, the pizza delivery. They may not be your friends. But by simply showing up and don’t be late, you are expanding your energy and gradually making your life better. P.S. why I sound like a personal growth guru? It’s so bad.
Water Blower's avatar
Water Blower 1 year ago
anyone? Can’t believe that it has been 10 years. Rwby is my favorite anime series. RIP, Monty.
Water Blower's avatar
Water Blower 1 year ago
@reya ’s https://lume.nu/ is the most beautiful desktop client that I know of. Check it out. I still miss some of the UI design from 3.X. Especially because 3.X shows lots of content by default.
Water Blower's avatar
Water Blower 1 year ago
It would be great if Nostr clients can remind me of live stream nostr events that’s happening. I should implement it into Blowater.
Water Blower's avatar
Water Blower 1 year ago
image Now Blowater has a UI to see all the npubs in a relay
Water Blower's avatar
Water Blower 1 year ago
The concept of platforms is not necessarily evil. For example, as a consumer, if I purchase a bad quality good or service, without a platform, I have to face the provider along and usually individual customer is at huge disadvantage because the business has essentially no worries to ignore my requests. The platform can help individuals to negotiate in situations like this. The largest platform is of course the state and legal system. Platforms become problems only when they stop to caring about neither individuals nor businesses or only care about businesses. A good platform gives bad actors huge risks to do bad things and rewards good actors. In this sense, Nostr is the platform of reputation. Because bad comments about any npub can not be deleted, npubs with commercial activities will be very careful with how they treat customers. Also with Web of Trust, we can filter out 99+% fake comments/reviews.
Water Blower's avatar
Water Blower 1 year ago
Imagine that CSS looks like Tailwind since the very beginning. The humanity will save lots of time.