Has anyone made a better man page reader? I'm just using my standard pager here.

C'mon, there a whole generation of new () CLI unix tools (yay! 👍🏻), surely someone's made an attempt at making man pages easier to read.

I'm doing some (well ), and I find the error messages unclear. Maybe I *want* 's _helpful_ error messages 😜

I wish had a shorter/less noisey way to `collect` an `Iterator` into a `Vec`. Getting tired of writing `.collect::<Vec<_>>()` so much.

I wanna be a good library maintainer, and this is a lot of the little busy work that I would like to see automated.

Show thread

I've created & uploaded several crates. Is there an easy & standard way to download/check them all out, and check if all the dependencies are at their latest versions, try to upgrade those deps & run my unit tests?

What's everyone using as a PAGER on now-a-days? `less(1)` is still the default on many systems I use, but I've sometimes uses `most(1)`.

Is there some fancy-pants modern based pager or anything now?

Oh Heaptrack is a nice programme to measure & analyze heap memory access of a programme. Works nicely & easily with code.
I'm finding it quite easily to reduce memory allocations in my code.
kde.org/applications/en/develo
speice.io/2018/10/case-study-o

Sometime I should give a try to build a web app in . I used to do a lot of . But I'm doing my coding in Rust now.

oooh… 's `std::iter::from_fn(move || { … })` is pretty useful. 🙂

$ ( ls Cargo.toml ; find ./src/ -type f -name '*.rs' ) | entr -r cargo test

this is what I use to automatically run tests when a file is saved
@rust

RT: @gf_256@twitter.com:
The year is 20XX. Web apps are built in C++ and with WebAssembly, and desktop apps are built in with Electron.

twitter.com/gf_256/status/1264

Grrr! I'm not supposed to get segfaults when writing programmes! This makes things hard

"I know I'll just write a quick programme to proxy my http connections and add the header that I want".

Oh cripes, I forgot hyper's now gone weird with Futures and the like.

I have also learned about `impl Into<Cow<_>>` to accept a `&T` and `T`. Which, in retrospect, should have been obvious to me, but I just didn't put 2 and 2 together.
It should make my code more cleaner/ergonomic!

Show thread

"Elegant Library APIs in "
Now this is an interesting guide!
(I learned about the `impl Into<Option<T>>` which looks very useful!)
deterministic.space/elegant-ap

Show older
⛧ MOYTURA ⛧

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!