HNHacker News
TopNewBestAskShowJobs

jpochyla

74 karma · joined October 31, 2012

submissionscomments
jpochyla··on Effective Rust (2021)
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.
jpochyla··on Psst: Fast Spotify client with native GUI, without Electron, built in Rust
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.
jpochyla··on Psst: Fast Spotify client with native GUI, without Electron, built in Rust
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.
jpochyla··on Psst: Fast Spotify client with native GUI, without Electron, built in Rust
This is not really the case, you need a Premium account for Psst to work.
jpochyla··on Psst: Fast Spotify client with native GUI, without Electron, built in Rust
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).
jpochyla··on Psst: Fast Spotify client with native GUI, without Electron, built in Rust
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
jpochyla··on Psst: Fast Spotify client with native GUI, without Electron, built in Rust
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

[2] https://github.com/Rigellute/spotify-tui

[3] https://github.com/xou816/spot