jpochyla
Re:Effective Rust
on Thursday June 15, 2023 @08:42AM (#36339650)
This is... not how I would really write it. If `encrypt` takes a `&[u8]`, as it should, you don't need a `&vec![]` at all, and can do:
self.payload.as_deref().unwrap_or_default()
...which I think is the best here.
Re:Psst: Fast Spotify client with native GUI, without Electron, built ...
on Tuesday August 17, 2021 @05:19AM (#28207799)
Hi, thanks for being interested! There've been some regressions lately, sorry :| Performance is #1 priority for me, and a big focus now, after last round of refactorings.
Re:Psst: Fast Spotify client with native GUI, without Electron, built ...
on Tuesday August 17, 2021 @05:15AM (#28207778)
Thank you! I took some time off after finishing my last full-time commitment, and wanted to cut my teeth on Rust a little bit -- exploring how feasible building cross-platform native apps is right now. So I've started building something that I'm missing and would like to use. Combine this with the pandemic, and here we are.
Re:Psst: Fast Spotify client with native GUI, without Electron, built ...
on Tuesday August 17, 2021 @05:08AM (#28207735)
This is not really the case, you need a Premium account for Psst to work.
Re:Psst: Fast Spotify client with native GUI, without Electron, built ...
on Tuesday August 17, 2021 @05:07AM (#28207727)
Hi, I'm glad you like it! The performance is not _that_ good at the moment, mostly because of superfluous paints, but it's something I'd like to focus on (as it's one of the primary objectives).
Re:Psst: Fast Spotify client with native GUI, without Electron, built ...
on Tuesday August 17, 2021 @05:02AM (#28207696)
Hi, the author here. Keyboard navigation is definitely something I'd like to focus on soon, the app should be 100% usable without a mouse. And accessibility is definitely on the Druid roadmap! <3
Re:Psst: Fast Spotify client with native GUI, without Electron, built ...
on Tuesday August 17, 2021 @04:43AM (#28207594)
Hi, the author here. Psst is definitely in alpha, and the CLI is indeed just an example (it's what I was using to test the core mechanisms). I'm sorry the accessibility is so bad now, but Druid, the GUI library, takes it very seriously -- which is not very common in custom GUI frameworks. So, fingers crossed, it should get better soon.
Re. command-line Spotify clients, there is ncspot[1] and spotify-tui[2], and if you use Linux, Spot[3] looks like a nice GTK experience.
[1] https://github.com/hrkfdn/ncspot