Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

fun project! if you arent married to python, or the idea of writing a bunch of superfluous code (:P) fft'ing a sound is pretty trivial, and creating a sound at that frequency is also trivial from command line. i google for 15 seconds, looks like this library https://aubio.org/manual/latest/cli.html would work fine with something like

    aubio notes -r $(aubio pitch myfile.wav)
would probably do it. i love python as much as the next person, but sometimes... ah well, cool project anyway!


As much as I’d likely end up using some sort of scripting language for something like this, being able to do it via command line is always lovely.


"doing X in python" titles are a recurring theme in HN. I don't care much about the language, especially because of silly syntax like explicit self on methods (oh yeah, they have the "zen philosophy" of explicit vs implicit where every other thing in the language is implicit except this) and obviously broken tooling that installs an old version of pip when you create a virtual environment.


“complaining about X” when X isn’t your preferred tool of choice also sadly seems to be a recurring theme on HN comments. Where’s your post about doing something similar in your tool of choice?



I have no intention of starting or getting into a flame war between Ruby and Python, both are great languages but I can help with the Python tooling a bit. The Python equivalent of rvm is pyenv (https://github.com/pyenv/pyenv/blob/master/README.md) and to install dependencies and handle virtual environments after that you can use pipenv (https://github.com/pypa/pipenv). Both of them together will get you almost similar experience to the Ruby tooling example you ended the post with.

I love why the lucky stiff's writing, I love POODR (http://www.poodr.com/) and the two languages have a lot in common if you just keep an open mind about it :)


I do appreciate the effort you've put into this response, unlike parent. Well done. Next time I have to do something in python, I will try pyenv and pipenv (and maybe write about it, too)


Exactly what I expected as a response. Thank you for confirming my suspicion!


You provide so much value. Definitely an MVP hackernews user.


Why should I spend my valuable time to help you when you literally spend no time to help yourself and instead blame tools for your inability to use them? Reread your posts in this thread and your blog post and show me where there’s any sign that wouldn’t be a lost cause effort.


Here you go:

>> I do appreciate the effort you've put into this response, unlike parent. Well done

I'm happy you provided me with standard HN comments, though. Well done, to you, too. Very VIP HN.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: