Might be nice to have an updated alternative though yeah
- 4 Posts
- 19 Comments
I’ve been having issues building stuff in general without
RUSTONIG_DYNAMIC_LIBONIG=1
for some reason, but woththaton it built for me
Didn’t know about
rusty-man
, that one’s nice
_hovi_@lemmy.worldto Technology@lemmy.world•Workday gets contract from US agency behind DOGE staff cuts, no other bidsEnglish4·2 months agoWell I’m sure there’s nothing suspicious going on there
_hovi_@lemmy.worldto Selfhosted@lemmy.world•sharevb/it-tools: Collection of handy online tools for developers, with great UX.English6·3 months agoYeah it’s one or the other unfortunately
Link and maybe an image to give us an idea of what it’s like?
_hovi_@lemmy.worldto Technology@lemmy.world•Real-Debrid Traffic Falls 16% in 3 Months, Anti-Piracy Action Painful But Non-FatalEnglish11·5 months agoRight? I’ve continued to use it without issues so far. If it does go south, what you thinking of switching to?
_hovi_@lemmy.worldto Technology@lemmy.world•An OpenAI whistleblower was found dead in his apartment. Now his mother wants answersEnglish371·5 months agoSome of us deal with the absurdity of our current reality through humour, don’t take it as them trying to undermine what happened
_hovi_@lemmy.worldto Technology@lemmy.world•Decentralized Social Media Is the Only Alternative to the Tech OligarchyEnglish5·5 months agoYou were apparently correct haha
Very, very clean
_hovi_@lemmy.worldto Rust Programming@lemmy.ml•[newbie] one-liner to avoid "temporary value dropped while borrowed"?2·9 months agoAs someone else said I think the shadowing works well here.
I do also wanna mention that depending on why you need this conversion, you could use
impl AsRef<std::path::Path>
for your function signature so it can acceptor
&Path
. Then, just use that argument with e.g.p.as_ref()
to get a&Path
in the function body
_hovi_@lemmy.worldOPto Rust@programming.dev•World Wonders Explorer - small Leptos site demoing a free API I built3·10 months agoTo be completely honest, I probably won’t use it again, at least for a while. While it’s nice to work with most of the time, I ran into a lot of weird niche issues that I had to either work around or come up with some hack to achieve the same effect, which was unfortunate. As a random example, trying to scroll to the top of the document every time a state was changed would not trigger the scroll consistently, making it pretty useless.
For a site like this, it would probably have been easier to just use a JS framework, or finally go and learn htmx
Just an update in case anyone else comes across this post - I found this plugin which allows me to put the inlay hints at the end of the line and it works great. Make sure to modify the
display_callback
to change how it looks.
I was afraid that was the case yeah. I think I was using that before yeah, might just go back
_hovi_@lemmy.worldto Rust@programming.dev•What are you working on this week? (Apr. 28, 2024)3·1 year agoYeah pretty cool. Bit tricky at parts due to (imo) a lack of tutorials / easy to follow examples, but got through it eventually. Felt refreshing to not have to write js/ts
_hovi_@lemmy.worldto Rust@programming.dev•What are you working on this week? (Apr. 28, 2024)5·1 year agoRecently did my portfolio website using Leptos, that was pretty cool. Currently, working on adding modded Minecraft launcher support to my plugin for
rofi
calledrofi-games
so the instances can be launched from there
_hovi_@lemmy.worldto Technology@lemmy.world•YouTube is finally cracking down on third-party apps that enable ad-blockingEnglish5·1 year agoI use GOS but… Google phone…
Does
cargo install --locked rusty-man
work?