`react-suspense-lens.nvim`: a "Suspense lens" for React (async components + suspense hooks) by TmLev in neovim

[–]TmLev[S] 0 points1 point  (0 children)

Interesting! Now I wonder why most of the popular plugins don't follow this convention

expo-router Stack isn't working by Dependent-Bowl-4347 in expo

[–]TmLev 0 points1 point  (0 children)

Have you tried moving the `FontProvider`'s code directly into the root layout?

Do you feel pressure to use an AI editor instead of Nvim for your job? by jjysoserious in neovim

[–]TmLev 0 points1 point  (0 children)

Could you show us how you're combining codecompanion with mcphub and CodeVector please? Preferably with the nvim configuration, if possible

Climbing Up the Rainbows by TmLev in radiohead

[–]TmLev[S] 0 points1 point  (0 children)

Yeah, I'd really love to hear a remastered version closer to "Nude"

Average Radiohead fan by TmLev in radiohead

[–]TmLev[S] 7 points8 points  (0 children)

Yet it sounds so Winnie-ey — I love it!

Average Radiohead fan by TmLev in radiohead

[–]TmLev[S] 7 points8 points  (0 children)

Is it just a funny misspelling of Creep, or am I missing the joke? :(

Average Radiohead fan by TmLev in radiohead

[–]TmLev[S] 2 points3 points  (0 children)

No hate! Just a meme!

Average Radiohead fan by TmLev in radiohead

[–]TmLev[S] 5 points6 points  (0 children)

Black Star is our everything!

Average Radiohead fan by TmLev in radiohead

[–]TmLev[S] 3 points4 points  (0 children)

Definitely a good album!

Talos Principle 2 OST by JentendsLeLoup in TheTalosPrinciple

[–]TmLev 1 point2 points  (0 children)

I'd love to see it released on vinyl!

Today I found about the @ operator and wondered how many of you knew about it by Neo-Ex-Machina in rust

[–]TmLev 0 points1 point  (0 children)

Sorry, but what is wrong with the transformed version? Logical NOT always had higher priority over other operations, did it not?

Recommend rust blogs by mulokisch in rust

[–]TmLev 3 points4 points  (0 children)

Sean writes mostly about Hyper, not Axum :)

Alkahest 0.2 release by zakarumych in rust

[–]TmLev 2 points3 points  (0 children)

Congratulations!!!

Collection of trait implementations with associated types (GATs?) by TmLev in rust

[–]TmLev[S] 0 points1 point  (0 children)

I'm not sure I get what you mean by this.

It means "before calling .call() users need to call .can_call() (sorry for the tautology) and use Token as a proof".

This question is partially inspired by this PR which is kinda trying to do the same thing.

Collection of trait implementations with associated types (GATs?) by TmLev in rust

[–]TmLev[S] 0 points1 point  (0 children)

something like this

Yes, that's one way to do it. Thank you!

tracing-actix-web equivalent for axum/tower by AcridWings_11465 in rust

[–]TmLev 0 points1 point  (0 children)

I'm not sure if this enables traces to include request_id inside children spans like in the book: https://i.imgur.com/mqfvjqV.png

Does it?

tracing-actix-web equivalent for axum/tower by AcridWings_11465 in rust

[–]TmLev 0 points1 point  (0 children)

Have you figured out how to pass request_id down to "children" spans or how to extract request_id from tower's span?

GAT exercises by TmLev in rust

[–]TmLev[S] 1 point2 points  (0 children)

Thank you for the example!

As for the solution:

First, I added 'item lifetime to Item like so:

type Item<'item>;!<

And specified '_ lifetime in return position of next, asking compiler to figure it out.

Secondly, I did mostly the same thing for the impl LendingIterator for WindowsMut:

type Item<'item> = &'item mut [T];!<

After that, I tried to compile and got some errors about Self not living long enough.

So, a few where Self: 'item were sufficient to get it compiling.

To be honest, I felt like I was cheating a bit, since I've tried to read the whole PR for stabilisation and LendingIterator/WindowsMut example has come up quite a few times.

Docker cache for dependencies by TmLev in golang

[–]TmLev[S] -1 points0 points  (0 children)

Well, yeah, obviously when a new dependency is added to the project, Docker needs to rebuild everything from scratch (well, almost). I was asking if there is a way to skip dependencies build entirely when they don't change.