Bartosz Sypytkowski
banner
horusiath.bsky.social
Bartosz Sypytkowski
@horusiath.bsky.social
660 followers 76 following 250 posts
Yrs/Yjs core dev team. Interested in distributed systems, databases and CRDTs. Blogging: https://www.bartoszsypytkowski.com
Posts Media Videos Starter Packs
I managed to burn two laptops in my life:

1. I rented my free CPU time to SETI program for too long.
2. I run Linux on a Dell laptop with NVIDIA graphics card on board back in 2011 and went on a lunch break.

Now I think, it's wild that I managed to do it twice.
Reposted by Bartosz Sypytkowski
The romanticised Polish Golden Autumn has ended. This year it lasted for 5 days.
Call out to music creators on YouTube: don't use GenAI for your visuals. As a fellow artist, would you like to be replaced with an algorithm because someone else couldn't be bothered to reach out to you?

If you are using GenAI for visual, why would I trust that music is made with your own effort?
I guess AWS outage was the biggest advertising for local-first community in a while.
Another reason is AI slop coming over on Spotify: I swear at least several tracks on my weekly recommendations feel like they have been generated by the algorithm.
I'll try moving from Spotify to Tidal. Reason: it pays artists ~4x more and has option to import my Spotify playlist (only 3 out of 400 tracks were not on Tidal).

Hopefully integration with the different devices -including car - will keep up with my expectations.
I use Win10/Ubuntu/MacOS every week.

Nothing is easy on Ubuntu. Even connecting headphones over jack can lead to problems that I didn't know could exists in the first place - and seeing them happening for others I noticed that Linux people are used to treat them as a background noise.
When people claim they use Linux their whole life and have no issues with it, I can only assume that they either:
1. Only use their PC for terminal, vim and web browsing.
2. Haven't used other OSes for a while.
3. Tried another OS, but by now their Stockholm Syndrome turned into nostalgia.
These two perfectly complement each other and cover two core elements of calisthenics (planche and lever):
1. www.youtube.com/watch?v=ngZq...
2. www.youtube.com/watch?v=u3fa...

And if you have more time, you can also add (www.youtube.com/watch?v=3qfR...) (muscle up) for complete routine.
Task: "this function should work with any type that can return a &T".

Rust: let me educate you on Deref, Borrow and AsRef. But if your type is hidden behind Rc<RefCell<T>>, Arc<Mutex<T>> or Arc<RwLock<T>>, you'll need to play a 5D chess match against your compiler to make it work.
Sorry. I'm just preparing myself for that role very soon and trying to figure myself a way out between different (often contradictory) advices.
From what I've heard this is not actually a good thing. Basically a sleep-induced starvation at that age.
Have anyone tried to implement Rope data structure over persistent key-value storage?
Some thoughts back from the vacation on African dessert: current world of software expects you to be permanently online and that sucks really badly.

Even my music app and video player first hangs for a minute trying to connect before giving up and letting me work on it. This is unacceptable.
Agree on deeply disturbing 😜
Reposted by Bartosz Sypytkowski
Why bother to read something nobody could be bothered to write?
Reposted by Bartosz Sypytkowski
put another way: i don't want your data—not just from an ideological "users should be in control" perspective, but from a pragmatic "this makes my app harder and more expensive to run" perspective

we've been so focused on making it easy to scale up that we've accidentally made it hard to scale down
i like making little web apps for myself/family/friends. the most annoying parts — the parts that drastically increase the scope, from "a bunch of HTML, CSS & JS files" to "a web server and database" — are auth+persistence. so i am very excited about atproto including a user-owned solution for both.
The web can be made personal again.

blog.muni.town/personal-dat...
I'm looking up for papers about on-disk trie/radix/prefix tree-based key-value stores. I've heard about Cassandra switching some time ago (cassandra.apache.org/_/blog/Apach...). Are there any other good insights into these data structures?
Apache Cassandra | Apache Cassandra Documentation
cassandra.apache.org
Idea: have a Rust bytes::Bytes<T> variant, where T describes how to interpret its binary content, ie.:

- Bytes<Utf8>
- Bytes<Lz4<T>>
- Bytes<ZerocopyStruct>

this way we also never assign incompatible data like `Bytes<Lz4<T>> => Bytes<T>`.
My main purpose for immutable data types is to use them together with compare-and-swap.

From what I've seen, a lot `im` API is internally immutable but uses `&mut self` for user-facing methods. Additionally the target structures are not register-sized, so I need extra allocs and checks.
Looking at the state of cargo crates related to immutable/persistent data structures (some having < 300 downloads, most not updated for 3+ years), I'd say that this domain pretty much died in Rust ecosystem.