[-] fil@programming.dev 2 points 2 weeks ago

Excellent catch! Added validation for the new params

[-] fil@programming.dev 2 points 3 weeks ago

Thanks for the tip! Updated

21
submitted 3 weeks ago by fil@programming.dev to c/rust@programming.dev

I've needed to detect a frequency of an audio signal a couple of times in my life, but I cannot for the love of me remember what does the FFT output actually mean. So I took this knowledge out of my latest project and packed it up in this crate.

Also this is my first potentially useful published crate, so if I missed anything, please let me know!

[-] fil@programming.dev 7 points 3 months ago

By adding the return statement you pass the ownership of the string back to main. The unmodified function just took the ownership of the string and deallocated it after printing. Hope this helps

[-] fil@programming.dev 1 points 4 months ago

Can you guess what is happening here?

57
47
submitted 8 months ago by fil@programming.dev to c/rust@programming.dev
[-] fil@programming.dev 2 points 8 months ago

Conspiracy theory: the workgroup found an RCE vulnerability and assigned it identifier CLN-002 but never disclosed it to public and instead sold it to (CIA|DHL|MiB)

1
submitted 8 months ago by fil@programming.dev to c/kotlin@programming.dev
[-] fil@programming.dev 2 points 9 months ago* (last edited 9 months ago)

You can already use experimental hyper backend (written in rust) for http stuff in curl https://aws.amazon.com/blogs/opensource/how-using-hyper-in-curl-can-help-make-the-internet-safer/ I wonder if the vulnerability touches this use case as well

44
submitted 10 months ago by fil@programming.dev to c/rust@programming.dev

fil

joined 10 months ago