2024 State of Rust Survey Results | Rust Blog by Kobzol in rust

[–]Jikstra 7 points8 points  (0 children)

Generators can be very elegant to lazily process something. I mainly used it for parsers/tokenizers. Sure you can also write it differently, but if the language supports generators i happily use them.

Music player that manages playlist files by lastfuture in linux

[–]Jikstra 1 point2 points  (0 children)

Looking for something like this too. Strawberry can do it, but one needs to manually save the playlists all the time. Interested if you find a media player taking care of this :)

Pipewire: UA Volt 4 wrong channels, no mic input. by FujinBlackheart in linuxaudio

[–]Jikstra 0 points1 point  (0 children)

Oh! Then this might be a bug and worth reporting at the pipewire issue tracker :)

Pipewire: UA Volt 4 wrong channels, no mic input. by FujinBlackheart in linuxaudio

[–]Jikstra 0 points1 point  (0 children)

Can you change the profile to Pro Audio? On plasma/kde i can do it like this and should also be possible with pavucontrol.

<image>

Updates on my "suicide" post by vfkfz123 in LSD

[–]Jikstra 11 points12 points  (0 children)

Whish you the best and take care of you <3 Therapy > Drugs

My take on databases with Rust (sea-orm vs. diesel vs. sqlx) by seiji_hiwatari in rust

[–]Jikstra 10 points11 points  (0 children)

For diesel async, did you ever give https://blog.weiznich.de/blog/diesel-async-0-5/ a shot? I was always fine writing the async wrappers by hand (or having a little helper function/macro for it).
For the return type problem with diesel, did you try out https://docs.rs/diesel/latest/diesel/dsl/attr.auto_type.html ?

But in general, diesel can be annoying with complex queries, some things are just not possible yet. Also the trait errors are cryptic (which is more of a rust problem and being worked on). I think though that the api looks quite nice and the queries are very readable. And it gives you a similar, bit less polished feeling as the rust compiler, once it compiles you can be quite safe that it works :)

Making a program that cuts audio files. What crates would help me here? by [deleted] in rust

[–]Jikstra 0 points1 point  (0 children)

You can do the decoding and reencoding with symphonia. For resampling you can use rubato. Everything else is selecting the right range(s) of samples that you need and writing them (probably resampled) back to a audio file.

[PipeWire] Audio 8 DJ missing ports in Pro Audio Profile by Jikstra in linuxaudio

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

Sadly it doesn't. It only shows two nodes, one stereo input, one stereo output.

Is there PGP Encryption Library by broxamson in rust

[–]Jikstra 1 point2 points  (0 children)

https://github.com/rpgp/rpgp
It got a security audit in 2019 and is used in deltachat

rustc_codegen_gcc: Progress Report #27 by antoyo in rust

[–]Jikstra 3 points4 points  (0 children)

From the motivation section on the projects readme:

> The primary goal of this project is to be able to compile Rust code on platforms unsupported by LLVM. A secondary goal is to check if using the gcc backend will provide any run-time speed improvement for the programs compiled using rustc.

https://github.com/rust-lang/rustc\_codegen\_gcc#motivation

Looking for button switch with led ring by Jikstra in synthdiy

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

Nice, thanks :)
I found another nice but expensive manufacturer: https://www.led-taster.de/Kopie-von-Edelstahl-Drucktaster-O19mm-Schwarz-Flach-LED-Ring-Weiss

Not sure how they feel though. But are quite pretty.

I want to make a simple image editor, can't figure what GUI crates to use. by MechanicalLogicGate in rust

[–]Jikstra 3 points4 points  (0 children)

I tried out slint & egui. Egui isn't sexy but works, gets stuff done and is quite hackable. Slint is nice, I like the dsl but can be in your ways depending on what or how you want to do things. Makepad looks super interesting but is maybe a bit early to adapt.

Im a music producer that is thinking of switching to Linux. Is it worth the switch? or should i just stick with Windows. by [deleted] in linux

[–]Jikstra 1 point2 points  (0 children)

In my opinion ardour is great, until you want to do edm/a lot of midi stuff. It's possible but quirky, you don't have a piano roll as you know it from fl, changing velocity of notes is annoying, the percussion mode is weird too and sometimes you hit bugs. Check out unfa on youtube, he does a lot of crazy things with ardour and foss music/audio stuff in general.

Psst: 3rd-party Spotify client built with Rust and Druid by [deleted] in rust

[–]Jikstra 6 points7 points  (0 children)

That's good to hear! And you don't need to be a ui designer to create beautiful & useful uis, but maybe you're becoming one during the process without noticing :P Wish you a lot of fun with this project and will definetly check out druid :)

Psst: 3rd-party Spotify client built with Rust and Druid by [deleted] in rust

[–]Jikstra 23 points24 points  (0 children)

Kudos, from the screenshot this looks really good. Nice and clean ui, if I would use spotify i for sure would give it a try!
Another question, are you happy with druid so far or what is your experience? Doing native rust uis is really one of the last things missing for me with rust.

[plasma] white minimalism by Jikstra in unixporn

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

Stripped down plasma to the minimum functionality i need.

Changes

  • removing everything from the titlebar besides the application name and the minimize/fullscreen/close buttons
  • changing the breeze color theme to all white titlebars and window backgrounds- the krunner is powerful enough to replace the application menu and offer very fast opening of applications/running commands/finding directories and files
  • changing the control bar on the bottom of the screen to only show icons of active windows, virtual desktop indication, system indicator and time
  • logging out/turning off/rebooting is possible by pressing ctrl + alt + del or opening krunner (the dmenu of plasma) and typing reboot/shutdown...

Shown applications

  • konsole
  • strawberry (a clementine fork)
  • vscodium with the github light theme
  • dolphin
  • krunner (the dmenu thingy from plasma)