Better HN
topnewbestaskshowjobs
Log inSign up

zduny

152 karma · joined Oct 8, 2022 (4y ago) · 24 submissions

Software developer located in Poland.
Submissions

1.

I made “zzrpc” – RPC library for Rust(github.com ↗)

2 points · by zduny · 3y ago · discuss

comment 4y ago · link · parent

Thanks for mentioning the problem. I haven't noticed it using a laptop and trackpad.

comment 4y ago · link · parent

I'm considering adding that feature in future versions depending on interest.

comment 4y ago · link · parent

Look at this crate: https://crates.io/crates/pitch-detection

It has documentation attached mentioning pitch detection algorithms it implements.

comment 4y ago · link · parent

It's not great. Especially on the web.

comment 4y ago · link · parent

It's amazing for UI (and portable).

Rust - not so much (or more like not at all) at the moment.

comment 4y ago · link · parent

Heh, I always get those two crates names confused, even now, rereading comments I again thought it was "clap" and not "cpal" (because "clap" like in "clapping").

comment 4y ago · link · parent

But I feel like there's some deeper story about Rust that I've missed and am out of the loop now.

Well, to me Rust is just a tool that I've discovered, it meet my expectations so I started using it.

Only then I've started noticing comments on reddit or whatever like "bleh, not Rust again" and really don't get why a programming language can be so triggering to people.

9.

Ask HN: What is this aversion to Rust on online forums about?

6 points · by zduny · 4y ago · 9 comments

comment 4y ago · link · parent

I meant https://github.com/RustAudio/cpal (should've checked).

comment 4y ago · link · parent

What is that anger about Rust on internet forums about?

I started learning Rust because it's a language with interesting characteristics and welcoming documentation.

Only then I've discovered it's apparently "controversial" for some reason...

comment 4y ago · link · parent

20 promo codes for the Android app:

[all codes have been redeemed]

comment 4y ago · link · parent

Performance reasons, also wanted it to work on the web (Flutter web support is fairly recent, and dart/flutter libraries don't automatically work on the web, they have to support the platform).

comment 4y ago · link · parent

Well, all the Rust crates I've mentioned in other comment have comprehensive examples attached, so it's just a matter of connecting their functionality together :)

comment 4y ago · link · parent

Ok.

comment 4y ago · link · parent

I don't know if it is allowed here:

Please reply if you would be interested in free promo codes for the Android app, I will post some.

comment 4y ago · link · parent

Android or Web?

If web - well, it sadly requires modern browser on relatively modern hardware - it has some performance problems currently in browsers, I'm not happy about that fact, I am considering improving it if the app catches enough interest.

If Android - please consider returning the app and getting your money back as long as you still can - I'm afraid I won't be able to solve it in quick fashion.

comment 4y ago · link · parent

Not at the moment. Sorry.

I'm planning to create a simpler free version of the app for the sake of cross-promotion, I may open source that one (but I can't make any promises currently, both regarding creating the actual app and open sourcing it).

comment 4y ago · link · parent

Maybe in future version :)

comment 4y ago · link · parent

Yes, I did the app mostly for myself as I was getting disappointed with them adding too many unnecessary (IMO) features to it.

comment 4y ago · link · parent

Flutter for the UI. Rust for the listening, and pitch detecting backend. Connected the former with the latter using flutter_rust_bridge.

More details on Rust backend:

For listening (getting audio signal from microphone) I used:

- Android: https://crates.io/crates/oboe

- native desktop/iOS (not currently released): https://crates.io/crates/clap

- Web: https://crates.io/crates/web-sys (so basically JS Web Audio API called from Rust compiled to WASM).

For pitch detection:

- https://crates.io/crates/pitch-detection

comment 4y ago · link · parent

It's available free (and no ads) for desktop browsers and as a $1 Android app (on mobile needs to be an app for performance reasons and I believe it's a fair price).

23.

I made a guitar tuner app using Flutter and Rust(justune.eu ↗)

208 points · by zduny · 4y ago · 146 comments