HNHacker News
TopNewBestAskShowJobs

vnorilo

1,989 karma · joined November 29, 2017

Music tech researcher, cellist; clojure, c++ and compilers.

https://norilo.me (portfolio) https://kronoslang.io (compiler/language project)

submissionscomments
vnorilo··on Lowercase letters save data
Using 3 bits for piece type (including empty) and 1 bit for color makes a simple matrix enconding of the board just 8x8x4=256 bits. Add run length encoding for empty squares and it will be much smaller.

4 bits per square has room in it for RLE flags and even counts, without increasing the worst case size.

vnorilo··on Hylomorphism
TFA is about philosophy, but the computer science concept is also interesting - composition of recursive functions.

https://en.m.wikipedia.org/wiki/Hylomorphism_(computer_scien...

vnorilo··on Mounting Git commits as folders with NFS
TFA is for the actual data in the commit, not a parallel worktree.
vnorilo··on Unity plan pricing and packaging updates
They hint that the install fee can be discounted if other Unity services (read: their ad network) are used by the game in question.

I think it's a play to force f2p games to use their ad mediator as the install fee will effectively raise the cost-per-install for anyone using competing ad networks.

Vampire squids doing vampire squid things. I'd expect them to get sued, and at least in the EU it seems likely to be difficult to defend.

vnorilo··on Amiga Samplers: Budget dance music in 1990
What's great about tracker music is that it's in source format, readable, editable and remixable as if you were the original author.

Open source music! Great for learning.

vnorilo··on AMD Ryzen 7040 Series Shows Great AVX-512 Performance for Laptops / Mobile
AVX is very useful for audio DSP when you care about latency. Which is mostly in the pro audio niche.
vnorilo··on AI and the Automation of Work
The strange thing is, search engines used to be able to do this. But they have gotten progressively more terrible at finding a very specific result based on a very specific query.

My ChatGPT experience is not that different from the "good old days" of searching the internet. This time the search is in latent space which has up- and downsides.

vnorilo··on htmx
"Htmx is a dependency-free, browser-oriented javascript library."

https://htmx.org/docs/#installing

vnorilo··on Children aged 2-6 successfully trained to acquire absolute pitch (2012)
I think pitch memory is not at all the same neural phenomenon as perfect (absolute) pitch.

I had an ear training teacher who would play a bunch of random atonal notes on the piano between exercises to "reset" our ears. Only works for relative ears.

Similarly I (relative pitch) retain the key of a piece I practice. But if someone plays a random sequence of pitches it pretty easily makes me lose my anchor or at least make it lose focus by a semitone or three.

Whereas the "real" perfect pitch people are always anchored, no matter how much noise anyone throws at them. Which is also a source of discomfort and difficulty, for example when they need to transpose or work with a different A4 than their "internal" learned one. Where us relative normies would just shrug and accept the new A4.

vnorilo··on Children aged 2-6 successfully trained to acquire absolute pitch (2012)
Cellist for the last 35 years here. No perfect pitch. My "perfect" note identification is based on timbre: I know what each note sounds like on the instruments I know intimately.

For synthetic tones, I will be off +/- 3 semitones because I will be using an aural memory of the cello a string as a reference, rather than recognizing the frequency like the perfect pitch folks do.

Never occurred to me to practice perfect pitch because, as you said, it is not that useful.

vnorilo··on Children aged 2-6 successfully trained to acquire absolute pitch (2012)
Perfect pitch is by no means a requirement for musicians, although it is more common than in the general population, even more so for conductors.

But intonation is equally easy/hard for absolute and relative ears. Some tasks, like transposition, can require more practice for people with perfect pitch.

Source: lived experience from my doctorate in music from Sibelius Academy, Helsinki.

vnorilo··on Kaffeost
I am a Finn and also never seen or heard anyone do this. "Leipäjuusto" with jam is common though.
vnorilo··on Show HN: Thoughts on Flash in 2023, in Flash, in 2023
Everyone reads Fux (see sibling) but nobody, including my counterpoint professor, thought it was super useful.

Piston has this book that's more approachable: https://www.goodreads.com/book/show/445366.Counterpoint

But ultimately, learning counterpoint is 10% reading and 90% writing.

vnorilo··on I bought back my acquihired startup
Norway's economy is 7x that of Serbia (from Wolfram Alpha) and the Nordics do invest in this sort of thing.
vnorilo··on Show HN: A version control system based on rsync
I used a persistent treap for a lock free priority queue (swap in a new root at insertion). It felt nice but to be honest, didn't do a comprehensive comparison to alternate implementation strategies.

edit: looks like at least one other has has the same idea https://github.com/lthibault/treap

vnorilo··on Show HN: A version control system based on rsync
I was thinking of treaps;

https://en.m.wikipedia.org/wiki/Treap

vnorilo··on We’ve filed a law­suit chal­leng­ing Sta­ble Dif­fu­sion
Storing copies of training data is pretty much the definition of overfitting, right?

The data must be encoded with various levels of feature abstraction for this stuff to work at all. Much like humans learning art, if devoid of the input that makes human art interesting (life experience).

I think a more promising avenue for litigating AI plagiarism is to identify that the model understands some narrow slice of the solution space that contains copyrighted works, but is much weaker when you try to deviate from it. Then you could argue that the model has probably used that distinct work rather than learned a style or a category.

vnorilo··on It’s not just what you eat, but the time of day you eat it
I used to "forget" breakfast and lunch and didn't really feel that hungry, then have a big meal and keep snacking until bedtime.

Weight gain and bad sleep followed. Nowadays I make a game-like goal of "be hungry at lunch time". To do that I need to stop getting calories at ~6PM. I'll have just black coffee and water when waking up and lunch at 11AM.

I sleep much better, dental health and blood pressure have improved, weight is slowly going down. In addition I crave for stuff like broccoli, mushrooms and protein at the early lunch time - unlike the fries and pizza I desired before when eating a super late lunch at 4PM or so.

Later learned my current strategy is called intermittent fasting. Works great for me.

vnorilo··on You can hook your MIDI keyboard up to a website with Firefox 108
One use case is education, where a web app is often easiest to build and deploy.

There are lots of rooms equipped with computer, notation software and keyboard in music institutions, where webmidi seems like a great way to develop some quickie music theory/education apps.

The web is not anywhere near parity for music and audio production yet, but its proponents see webmidi as one necessary step to that direction.

(I would personally not use current webaudio/webmidi software, but have successfully deployed a lot of it for education!)

vnorilo··on Beyond Meat is struggling, and the plant-based meat industry worries
I don't know much about this particular thing. would be glad to read up on this if you share a good source.
vnorilo··on Beyond Meat is struggling, and the plant-based meat industry worries
The bulk of soy production is for cattle feed.

https://ourworldindata.org/soy

vnorilo··on The Citroen Ami – tiny electric car with no boot, 28mph top speed, 46 mile range
Dad is 77 and biking in the snow just fine. He's never been a car person so he's quite used to it. Always gets studded tires for slippery weather.
vnorilo··on Awesome Node-Based UIs
I guess this is where I shamelessly plug mine ;)

https://kronoslang.io/veneer/tour

(music DSP patcher with a WASM JIT in browser)

vnorilo··on Rust and C++ Interoperability
IIRC COM relies on vftables being ABI stable so you can pass interface pointers. As long as the interfaces don't pass any non-primitives by value.

It is how I often provide APIs that need to work across (many) compiler boundaries. It is not standardized or anything, but de facto reliable on Windows.

vnorilo··on Microsoft is phoning home the content of PowerPoint slides
I'm kind or envisioning some young bright engineer realizing they could just store some files locally. "It's like.. we don't need a backend at all!"
vnorilo··on Compiler Explorer
How $lang maps to assembly is half the picture: how assembly maps to CPU is the other half. We shouldn't blame ignorance of the latter on a tool for exploring the former.

I do totally get how some people learn just enough to be annoying. Generally I still think that's not a good reason to gatekeep them.

vnorilo··on Why are D-sharp and E-flat considered to be two different notes?
The relationship between pitch and frequency is not simple. The physical frequency for a pitch can be derived in several ways.

One example is the Pythagorean system where the interval of fifth is set as a frequency ratio of 3/2. This system yields clearly distinct frequencies for D# and Eb.

In 12 tone equal temperament, a semitone is set as a frequency ratio of 2^(1/12). In this system you get the same frequency.

You can also derive frequencies from simple fractions of the scale root. In this instance you would generally obtain D# and Eb from unrelated roots.

vnorilo··on Finnish as a world language?
I automatically heard it in the voice of older Finnish politicians speaking english in the 90s
vnorilo··on Finnish as a world language?
"Pidän koiraa" - I am holding (or keeping) a dog (for now). The case roughly translates to: some (of).

"Pidän koiran" - I will keep the dog (for good).

"Pitää" is one of these ancient words that means many things, but primarily: to hold, and Finns apparently think that to like something is to hold that which comes out of it!

You would still say that the man is in the pharmacy (mies on apteekissa) but the stuff he found is from it (lääkkeet apteekista).

vnorilo··on Finnish as a world language?
no niin.
← PreviousPage 2 of 18Next →