peterhil

Joined 14 years ago

Karma
128
Submissions
128
Member since
Oct 2
https://github.com/peterhil
View on Hacker News

Recent submissions

Comment · 1 year ago
The third option is to install some Linux like Ubuntu or Linux Mint on it.

It is nowadays actually easier to install Ubuntu Linux than a Windows. Just be sure to back up your data to an external hard drive, and restore it from there after the install.

Comment · 3 years ago
Comment · 3 years ago
The bold point really resonates with me.

Lately I’ve been writing a CLI application in Python to analyse and generally handle possibly megabytes of DNA data.

At first I wrote the code quickly and in haste of inspiration using some Numpy constructs, some functional maps (with list) and an occasional list comprehension. It has took WAY too long to convert to code to use iterators, because the syntax and semantics are so different.

In Lisp I could usually just switch the kind of map function to be lazy, iterative, or whatever I would like without changing and carefully thinking about the rest of the code.

I think this is the kind of glue the article points to.

Comment · 3 years ago
I just compared and evaluated Hatch, Flit, Poetry and Pdm and found Pdm to be most robust and slimmest. Hatch was a good second option, and Poetry and Hatch are easy to use, but have too much bloat and magic.
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
Comment · 3 years ago
I can’t post, retweet or follow. Loading Tweets work.
Comment · 3 years ago
I have this exact same idea on my audio synthesis and DSP exploration project called Akasha, that I have developed on and off for more than 13 years. I have plans to open source at least parts of it, once I get to clean up the code. I was inspired by Julius O. Smith III's writings on DSP algorithms: https://ccrma.stanford.edu/~jos/

Unfortunately my web pages are not online, I have some video samples of Björk, Gotan Project and some classical and electronic music samples.

In the analytical audio signal, the musical intervals can sometimes be easily seen, and it is mesmerizing to look at.

On this video demo by OP, when the waveform appears stationary with loops, there are intervals in (at least close to) just intonation – meaning the frequencies have integer ratio relationships.

https://en.wikipedia.org/wiki/Just_intonation

Comment · 3 years ago
I mean, I am inspired to create some music with the Reaper DAW software. :-D
Comment · 3 years ago
This is great! Some suggestions:

  - Add download links with download attribute:
    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download
  - Make the grid responsive with CSS minmax (and media queries):
    https://developer.mozilla.org/en-US/docs/Web/CSS/minmax
  - Display a (visual?) score for closeness of match
  - Add link to similar sounds (by the vector database closeness)
  - Add query parameter so the results can be bookmarked
  - Use HTML5 History API
  - Show tags from freesound.org (and allow to filter by tags from search results)
  - Generate visual previews for the sounds (like in Soundcloud)
Comment · 3 years ago
I tried this with wonderful results – where is my Reaper now? cyberpunk pad "amiga game" "without beats"
Comment · 3 years ago
On Firefox you can right click and then choose "Save audio as..."
Comment · 3 years ago
I was going to suggest this. It's cool that you build a file based database (IIRC) and query language in the third chapter!
Comment · 3 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton