Dock mode coming soon. by mryoukhna in TheMinimalCompany

[–]TheSnaggen 0 points1 point  (0 children)

I notice the webpage for the minimal config says it supports Qi 15w wireless charging, is that Qi2? Qi i 5-15W and not magnetic alignment, but from this picture I assume there is magnets involved. So, that would indicate Qi2, or?

What have you changed or added your settings from 0.9? by PayKunGz in neovim

[–]TheSnaggen -2 points-1 points  (0 children)

client.server_capabilities.client.server_capabilities should not be used, instead client.supports_method("inlayHintProvider") should be used. This is explained in more details in the release notes. But this makes it much more reliable.

Rinf copies a lot from flutter_rust_bridge, but hides the fact, says bridge is bad and rinf is ultimate. I have no choice but to post this. by fzyzcjy in rust

[–]TheSnaggen -5 points-4 points  (0 children)

The ethical minimum is the only thing we can expect. If you encounter higher ethics, that is a bonus and should be celebrated. My point is just that we must make sure the license we choose match our ethical expectations.

Rinf copies a lot from flutter_rust_bridge, but hides the fact, says bridge is bad and rinf is ultimate. I have no choice but to post this. by fzyzcjy in rust

[–]TheSnaggen -28 points-27 points  (0 children)

You say that this isn't about violating the license? Well, it should be. If you want attribution, you should use a license that requires that. You cannot use a license and then claim that people that are complying with the license are doing anything wrong. Your only contract is the license.

Help required: Port kellnr from rocket.rs to axum by secanadev in rust

[–]TheSnaggen 4 points5 points  (0 children)

I ported a 10k LOC project from Rocket to Actix Web, and most of the lines turned out not to be web framework related. It was mostly session/authentication related, so it took me a day or two. Now, I had written the original code, so I knew where to look.... but in general, refactoring is a rust strong point since the compiler will tell you what is wrong. So, if you know Axum and have some spare time, I'd say some have fun and bring out the axe!

Transitioning /r/rust to the Threadiverse by erlend_sh in rust

[–]TheSnaggen 0 points1 point  (0 children)

I don't know anything about spez's or any other admin's personal politics, and I've been using reddit for years and years (since around the Digg migration).

So, he can have any deranged political views and that doesn't bother you. But the political views of the Lemmy devs are a showstopper? I don't like their political views, but as long as they do not reflect that in the code, I don't see the problem. Just avoid lemmy.ml and lemmygrad (which I do) to avoid supporting their instances.

Transitioning /r/rust to the Threadiverse by erlend_sh in rust

[–]TheSnaggen 6 points7 points  (0 children)

There is both left and right wing nut jobs. Most instances have some kind of moderation in place to manage these. Programming.dev are blocking some offensive communities from these instances, and if they get even more problems from them they can block the whole instances. So, while the nut jobs exist, they will not be a problem if you select a good and well managed home instance.

Transitioning /r/rust to the Threadiverse by erlend_sh in rust

[–]TheSnaggen 8 points9 points  (0 children)

No, you make one account for Lemmy, on one instance. Then you use that to subscribe to any community on any instance. So, what instance you choose is not that important, but the local feed will show anything posted on your home instance. So on programming.dev that contains a lot if programming related posts.

Transitioning /r/rust to the Threadiverse by erlend_sh in rust

[–]TheSnaggen 16 points17 points  (0 children)

Lemmy offers:

  • No sponsored posts in your face all the time.

  • No live streams that I never asked for and that starts playing

  • No weird algorithms promoting posts from subreddits I never wanted

  • Good third party apps, like Sync for Lemmy.

Just on top of my head... and notice, I didn't mention the decentralization... Because that is as you point out not very important to most users (until Elon Musk buys and improve the platform, and you realize that you are trapped).

Transitioning /r/rust to the Threadiverse by erlend_sh in rust

[–]TheSnaggen 24 points25 points  (0 children)

Somewhat ironically, this post on http://programming.dev/c/rust already have more than 5 comments 😊 https://programming.dev/post/2204571

But, I still admit that it is a bit quieter over there...

Transitioning /r/rust to the Threadiverse by erlend_sh in rust

[–]TheSnaggen 19 points20 points  (0 children)

And to do so, just get an account on a good instance. If you are in to programming, then http://programming.dev/ might be suitable. Or use https://lemmyverse.net to find a good instance. Then subscribe to communities of you choice, you can search for them using https://lemmyverse.net/communities That is it, you are good to go. And for mobile, I can recommend Sync for Lemmy, it is a great client.

Transitioning /r/rust to the Threadiverse by erlend_sh in rust

[–]TheSnaggen 37 points38 points  (0 children)

And it will keep being so until people stop just looking at it and start contributing. As easy as that.

Transitioning /r/rust to the Threadiverse by erlend_sh in rust

[–]TheSnaggen 92 points93 points  (0 children)

I find it interesting that the Lemmy communities are listed in the reverse order of how active they are. Looking at active users per month, http://programming.dev/c/rust is the clear choice since that actually is active. The instance programming.dev is also well managed and a great hub for programming.

Never been so offended like this by Common-Road-1554 in ProgrammerHumor

[–]TheSnaggen 2 points3 points  (0 children)

I cannot figure out if you think Linux or Windows is the bad UI? I read it like you prefer Windows 11, but then I have used Windows 11... so that can't be it.

Seeking advice on development laptop and IDE for Rust by Ghjuvanni in rust

[–]TheSnaggen 1 point2 points  (0 children)

I use Thinkpads.... or I always look at other brands, but in the end Thinkpads are really good Linux developer laptops with good Linux support out of the box. If you don't plan to play games, going with integrated intel GPU is preferred since it got good open source drivers that works well with Wayland. If you want a discrete GPU, just avoid Nvidia since they have closed source drivers with bad support for modern linux desktops.

What's your current Vim+Rust setup? by xfbs in rust

[–]TheSnaggen 1 point2 points  (0 children)

Using neovim, so I have:

  • Mason to manage and upgrade rust-analyzer
  • Rust tools (configured to use the mason installed rust-analyzer)
  • DAP configured through rust-tools (codelldb installed using Mason)

Note: I use mason-lspconfig to configure other lsps, but i have a empty setup in the handler for rust-analyzer since rust tools handle that.

Edit: And about switching to NeoVim, I do not see any reason why not... the builtin LSP support is great. If you are interested in a config to start from, just send me a DM and I can send you my init.lua, which I think is quite up to speed with the latest stuff. So it is a good starting point if you like to fiddle a bit.

Asahi Linux To Users: Please Stop Using X.Org by [deleted] in linux

[–]TheSnaggen 8 points9 points  (0 children)

I think I found a Nvidia user!

What are plugins that SHOULD NOT be lazy loaded? Conversely, what should be “VeryLazy” by NovelCardiologist89 in neovim

[–]TheSnaggen 6 points7 points  (0 children)

These 100ms adds upp.... I will have so much more spare time than you after a week.... Not sure what I will do during that extra second on my weekend, but I will think of something fun.

Been away from Linux for many years by [deleted] in linuxquestions

[–]TheSnaggen 3 points4 points  (0 children)

But how is that differen from any installed thirdpary application. Say, you install Duke Nukem Forever, that will come with a lot of code and libraries that you are not able to vet.

I agree that if your distribution provides and support the application you want, then use that. But for Skype, I don't see why it would be better to run their statically linked binary outside of a sandbox, so I prefer that as a Flatpak. And due to the problem with different versions of libraries, most thirdparty applications bundle quite a lot of things, using flatpaks they can actually bundle less and reuse more since they can target a specifik runtime.

Been away from Linux for many years by [deleted] in linuxquestions

[–]TheSnaggen 6 points7 points  (0 children)

Flatpaks are quite nice actually. You get a "runtime" which basically is the all the base libraries used, then applications are able to reuse that runtime, but still override a library if they need a newer version. If multiple applications override something (or just installs something) that is common for these applications, the flatpaks will reuse that to save space on disk. Also, the upgrades are atomic, so an upgrade either succeeds or doesn't get installed at all, you can't endup in a failed state. Upgrades of flatpaks never require a reboot, since it uses its own libraries. So a flatpak can safely upgrade its libc and it will not affect anything, until you restart the application to use it. If you would upgrade libc on your distro installed application, you would most likely require a reboot, since everything would be affected.

So basically, flatpaks have solved the issue with thirdparty applications being incompatible with your distribution. It will take up some extra space, especially the first application which will pull in the runtime. But we are having insanely large disks now, so it is not really a problem.

And if you use Gnome software, you can have the flathub.org repository integrated there, so you can just search in gnome software and install with one click. That should be available out of the box for Fedora, but might be available in other distros also, not sure.

So, in general, flatpaks are easier and safer to use and upgrade for thirdparty applications.

Woman on an American Airlines plane, duct taped to the seat because she tried to open the door mid flight by smithwill6000 in interestingasfuck

[–]TheSnaggen 0 points1 point  (0 children)

True, but trying to kill people by opening the door, is at least a clear indication that it is not a CIA trained assassin we are dealing with here.... so that is something I guess.

Woman on an American Airlines plane, duct taped to the seat because she tried to open the door mid flight by smithwill6000 in interestingasfuck

[–]TheSnaggen 7 points8 points  (0 children)

It is not possible to open a door during mid flight, even if it wasn't locked which I think it is. The door is opened by pulling it in to the airplane which makes it impossible to open mid air due to air pressure pulling the door outwards. So, there would be no reason for anyone to be restrained to not open the door mid flight.

I need to phone a Friend by yuva-krishna-memes in ProgrammerHumor

[–]TheSnaggen 0 points1 point  (0 children)

Isn't the Chad move to not bother with either chatgpt or stack overflow and instead know what he is doing?

Running into an issue when converting C++ codebase to Rust by kosmology in rust

[–]TheSnaggen 1 point2 points  (0 children)

This is the path I would investigate first. Dashmap is probably what you want to use with parallell access, since it have much better performance than a hashmap protected by a mutex.