Water Blower
npub1dww6...pdnf
Creator of Blowater & I self identify as a Pro Sleeper
GitHub
`await promise` does not guarantee the yield of control flow · Issue #24360 · denoland/deno
deno 1.44.0 (release, aarch64-apple-darwin) v8 12.6.228.3 typescript 5.4.5 Consider (async ()=>{ for(;;) { await new Promise(res => { res(undefined...
I just realized that how uncomfortable my emotion becomes if I don’t train for a day.
I want to train everyday!
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?
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.
anyone? Can’t believe that it has been 10 years. Rwby is my favorite anime series. RIP, Monty.
New navigation is coming to blowater.app@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.
It would be great if Nostr clients can remind me of live stream nostr events that’s happening. I should implement it into Blowater.
Has anyone used https://www.every.org/ before? How are their services? Secure?
GitHub
GitHub - roc-lang/roc: A fast, friendly, functional language.
A fast, friendly, functional language. Contribute to roc-lang/roc development by creating an account on GitHub.
Set is my favorite data structure
12 years, I like this song more
Are you happy? 

https://www.capcut.com/ is a very good video editing software, despite that it is from the creator of TikTok
Now Blowater has a UI to see all the npubs in a relayThe 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.
Imagine that CSS looks like Tailwind since the very beginning. The humanity will save lots of time.