[-] _hovi_@lemmy.world 2 points 1 day ago

As 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 accept &PathBuf or &Path. Then, just use that argument with e.g. p.as_ref() to get a &Path in the function body

[-] _hovi_@lemmy.world 4 points 4 days ago

Other people have given great reasons, but I will also mention that as someone who lives inside the terminal it's often faster and easier to open it right there rather than getting a GUI one going. I do still use one for things that are easier to do with a graphical file manager though, no problem having both

[-] _hovi_@lemmy.world 4 points 4 days ago

That's because it works very well, and the main developer is super active (I've contributed and made some plugins so have interacted with them a fair bit)

[-] _hovi_@lemmy.world 1 points 4 days ago

I mainly use it inside neovim actually, in place of the built in file manager or a file tree. Also use it if I want to quickly see the image files in a directory (it shows the images in the terminal), or rename a bunch of files. And then rarely for other file related activities as it makes exploring a directory very smooth

86
submitted 2 weeks ago* (last edited 2 weeks ago) by _hovi_@lemmy.world to c/linux_gaming@lemmy.ml

cross-posted from: https://lemmy.world/post/19516210

Hey! Figured I haven't posted this on Lemmy before so should be OK to share here in case anyone else finds this cool/interesting.

This is a rofi plugin for launching your games, simple as that. I built it both because I think it looks cool and to make launching the game I know I want to play faster (no need to navigate the dreaded Steam UI). It parses games from several sources, such as Steam, Heroic Games Launcher, Lutris and Bottles, as well as some modded Minecraft instances (check out the readme for instructions).

The repo can be found here, and there's an AUR package available for Arch users.

Let me know what you think! I haven't built all that much but this my favourite tool that I've created (I am addicted to games).

133
submitted 2 weeks ago* (last edited 2 weeks ago) by _hovi_@lemmy.world to c/unixporn@lemmy.ml

Hey! Figured I haven't posted this on Lemmy before so should be OK to share here in case anyone else finds this cool/interesting.

This is a rofi plugin for launching your games, simple as that. I built it both because I think it looks cool and to make launching the game I know I want to play faster (no need to navigate the dreaded Steam UI). It parses games from several sources, such as Steam, Heroic Games Launcher, Lutris and Bottles, as well as some modded Minecraft instances (check out the readme for instructions).

The repo can be found here, and there's an AUR package available for Arch users.

Let me know what you think! I haven't built all that much but this my favourite tool that I've created (I am addicted to games).

18
submitted 2 weeks ago* (last edited 2 weeks ago) by _hovi_@lemmy.world to c/rust@programming.dev

Hey all, just sharing a small, single-page site I built using Leptos + TailwindCSS, mainly intended as a demo for an API I built using Axum. Hope someone also finds it interesting!

I'm sharing this site and not the API itself cause I figure it's easier to look at and understand, but if you want to roast some code I would appreciate any feedback you have on the API itself (repo here). Trying to leave the front end developer scene so this is the first API I've tried building, fairly basic but it was fun (I am a big Civ V fan - I hear it's inspired by some niche thing called human history?).

Edit: whoops, looks like the link didn't get set cause I put an image - the site is available here, and the repo for it is here. The live API is available here

[-] _hovi_@lemmy.world 10 points 1 month ago

It was, in fact, just roasting itself

[-] _hovi_@lemmy.world 13 points 1 month ago

That's a penis??

637

Searched up "the I in LLM" using Brave Search to find the link to this article and got given this very helpful AI summary!

Alt:

The i in llm

According to various sources, including experts and researchers, the “I” in LLM (Large Language Model) indeed represents Intelligence. LLMs are designed to mimic human-like intelligence by processing and generating vast amounts of natural language data. They utilize complex algorithms and neural networks to learn patterns, relationships, and context, enabling them to understand, summarize, generate, and predict new content.

In essence, the “I” in LLM signifies the model’s ability to:

  • Reason and infer meaning from text
  • Recognize patterns and relationships
  • Generate coherent and contextually relevant text
  • Adapt to new information and refine its understanding

This intelligence is achieved through massive training datasets, advanced algorithms, and computational power. As a result, LLMs have become increasingly sophisticated, enabling applications such as language translation, text summarization, and even creative writing.

In summary, the “I” in LLM represents the model’s core capability: Intelligence, which enables it to process and generate human-like language with remarkable accuracy and flexibility.

13
submitted 2 months ago by _hovi_@lemmy.world to c/neovim@programming.dev

Not mine but this is a great plugin for customising the native LSP inlay hints. Hope some of you also find it helpful.

This is related to an earlier post I made, asking if there was a way to move the native LSP hints to the end of a line rather than appearing within the line. Found exactly what I was looking for with this plugin!

12
submitted 4 months ago by _hovi_@lemmy.world to c/neovim@programming.dev

So I've just started using the native LSP inlay hints. I was wondering, does anybody know how to move the inlay hints to the end of the line, instead of in the middle of the line? Matter of preference I suppose, but I find it clutters the line too much.

40
submitted 7 months ago by _hovi_@lemmy.world to c/unixporn@lemmy.world

A small rofi plugin inspired by nerdy.nvim, made so that I (and hopefully others) don't have to use the web interface just to search for that perfect icon.

If you have any issues please let me know and I will try my best to fix it.

Github: https://github.com/Rolv-Apneseth/rofi-nerdy

Also available on the AUR as rofi-nerdy.

[-] _hovi_@lemmy.world 23 points 9 months ago

Yeah plenty of actual examples for games that don't work / work well on Linux. Minecraft is not on that list

2
submitted 9 months ago by _hovi_@lemmy.world to c/neovim@programming.dev

Just thought I'd share here in the hopes of getting some feedback, and maybe it's useful for someone.

I created my first Neovim plugin, inspired by ranger.nvim (this is a fork of that) and other similar plugins. The main difference is allowing the user to choose between different popular terminal file managers so that they can try them out and see how they fit into their Neovim workflow. I also added some niceties like buffers are closed when deleting a file in the file manager and also allowing for completely replacing netrw.

Let me know what you think! I won't lie it took a lot more hours than I'd be willing to admit for something so simple. May also post to R***it since unfortunately that's still the bigger Neovim community.

[-] _hovi_@lemmy.world 10 points 11 months ago

For when I can be bothered to go through and clean it up a bit, I find xdg-ninja extremely useful

[-] _hovi_@lemmy.world 14 points 11 months ago* (last edited 11 months ago)

Since it's not on F-droid, anybody managed to install this with Obtainium?

Edit: doesn't look like the releases on the gitlab have plain APK files so guess it's not possible with Obtainium? Brand new to it so idk. Not stoked about having to download this from their website

[-] _hovi_@lemmy.world 16 points 1 year ago

Bring back Karakorum 🙏🔥

[-] _hovi_@lemmy.world 52 points 1 year ago

My brother in Christ, tis but a shitpost

[-] _hovi_@lemmy.world 10 points 1 year ago

Always forget the position: relative

view more: next ›

_hovi_

joined 1 year ago