_hovi_

joined 1 year ago
[–] [email protected] 1 points 1 month ago (1 children)

To be fair this is a terminal file manager... only a certain kind of person will be interested in the first place, and those people are likely to be more inclined to leave a star on GitHub.

Personally I believe the stars were achieved naturally but of course there's no way to know and it never hurts to be skeptical.

[–] [email protected] 2 points 1 month 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

[–] [email protected] 3 points 1 month 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

[–] [email protected] 6 points 1 month ago (3 children)

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)

[–] [email protected] 1 points 1 month 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

[–] [email protected] 3 points 1 month ago

Fair play with taking the time to learn nix, currently tinkering with it and this stuff is no joke. Wish it wasn't a DSL

[–] [email protected] 2 points 1 month ago (1 children)

Thanks hope you like it.

It parses files from different launchers like Steam or Bottles preaent on your system, and when the game is selected, it will spawn the command for launching the game directly via e.g. a steam command to launch that specific game ID. It doesn't interact with desktop shortcuts in any way if that's what you mean, though that is how it started

[–] [email protected] 3 points 1 month ago

To 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

[–] [email protected] 1 points 1 month ago

Definitely not, Civ 5 and Skyrim are still my highest play times and they're not there. Not to mention many of those games I've played only a handful of hours

[–] [email protected] 2 points 1 month ago (2 children)

Not sure how Steam orders the games actually but yes, amazing game and definitely in my top 5 (with mods of course)

[–] [email protected] 2 points 1 month ago

Ty 🙏 I find I usually know what game I actually want to play, and just typing in that name to filter for it lets me mostly ignore other games and not feel bad for avoiding them lol

 

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).

 

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).

 

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

 

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.

 

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!

 

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.

 

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.

 

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.

view more: next ›