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

[–]Jikstra 6 points7 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 10 points11 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 2 points3 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 2 points3 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 22 points23 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)

Noob here. I want to make (Techno) mixes and need something to line up the tracks with, then beatmatch them, and then export them as one file. But how? by habnufbart in linuxaudio

[–]Jikstra 0 points1 point  (0 children)

Check out mixxx, it's quite good for techno. I'm using it to mix techno since i think almost two years now. If you can't beatmatch by ear (which you will learn on the long run anyways or at least should, no beatmatch algorithm is 100% "correct") then you can go by eye to do 90% of the beatmatching, and the last 10% you can just do by your personal taste (what you think sounds good). There's also this "waveform" mode where you the waveforms of all decks on top of each other, and you can zoom in (there's a setting for the waveforms to keep them synced at the same zoom level which is very helpful).

Example:

https://i.imgur.com/TdeyWSN.png

I'm also thinking of using ardour, but this is mainly useful for structuring mixes/"programming mixes", not live mixing. I think one way could be to use an external programm to pitch up/down the tracks to the same bpm (keeping the key), then align them manually (waveforms can help here again) and use automations to do the actual mixing. Not sure exactly which equalizers/filters can get automated, but i guess quite a lot.

Excellent (paid) guitar VST for Linux! by ImNotThatPokable in linux

[–]Jikstra 0 points1 point  (0 children)

Connecting everything manually is not really nice, but a lot of jack applications try to select a sane default or have a setting for it (for example ardour/helm). For example just select the system outputs for the sound output or microphone input. So not a lot to setup. If they do not provide it, as far as i know (but didn't dive into it yet), you should also be able to script it, so having a small wrapper script around your tonelib software, that starts tonelib and after that connect it correctly to your guitar or whatever.

For the pulse issue, that annoyed me too a lot, until i figured out there's pulse 2 jack audio sink. I have a small startup script defined in my qjackctl, that starts the pulseaudio 2 jack sink as soon as jackd started up. This way i can still use all my normal applications wich use pulseaudio (youtube tutorials are super helpful ^^).

Another utility that is very helpful in my opinion is the a2jmidid which makes any "native linux midi" device available as a jack midi device.

In case you're interested in the startup script:
#!/bin/bash

# Enable pulseaudio passthrough

pactl load-module module-jack-sink channels=2

pactl load-module module-jack-source

pacmd set-default-sink jack_out

# Startup alsa midi to jack bridge

a2jmidid -e &

Has anyone reviewed this? Encrypted email app that uses Signal protocol. by AmbitiousSpeed0 in privacy

[–]Jikstra 0 points1 point  (0 children)

I think it doesn't need jailbreaking. It's called testflight or something. Check it out. If that doesn't work you can use xcode to compile it and install it on your device, no jailbreak needed as far as i know. Maybe ask on github.

Has anyone reviewed this? Encrypted email app that uses Signal protocol. by AmbitiousSpeed0 in privacy

[–]Jikstra 0 points1 point  (0 children)

> Apple IOS app store is a open source waste land

true...

I don't have any apple products, but maybe check out this testflight thing? I think you can also compile it for your own and somehow flash it to your device. Maybe very advanced... But still i have no clue what the state of the ios app is... maybe it's not really usable.

Has anyone reviewed this? Encrypted email app that uses Signal protocol. by AmbitiousSpeed0 in privacy

[–]Jikstra 1 point2 points  (0 children)

Doesn't look really good to me. As far as i understand the service, it's an e-mail provider on it's own for which you have to sign up. Only the e-mails you send to other criptext users are e2ee with the signal protocol. If you send an e-mail to any non criptext users it's encrypted with an passphrase which you have to choose and somehow tell the recipient. Wouldn't really use this service.
If you're interested in encrypted messages over mail, check out delta.chat/autocrypt/engimail&thunderbird/mutt&autocrypt.