Recent submissions

Comment · 4 years ago
Enlightened people, very boring at parties.
Comment · 7 years ago
I had the same question, the piano is already a well developed and standardized instrument from centuries of revision and engineering. Returning to one string seems like a step back into the past. The video is really nice though, explaining how they came to this idea, and now I want to hear one of these one-string pianos! From Nils Frahm:

"It really felt like a brilliant new instrument, it was so nice. First time in my life to have kind of like a new piano. It sits in between a clavichord, guitar and a harp, and that was exactly what I wanted."

Comment · 7 years ago
Oooh, I like that idea! I'm gonna try to figure that out today.
Comment · 7 years ago
One of the great beauties of working with scripting languages, they work just fine on lighter laptops. The MacBook Air is a great machine for the node/python/php programmer on the go.
Comment · 7 years ago
> It turns out what they had tried to do was harder than expected

Literally every business/engineering project ever.

Comment · 8 years ago
Brain hack: Formulate your thinking in terms of positive statements.

Example:

* Negative statement: Don't use object inheritance, it leads to confusing code.

* Positive statement: Try to make your inheritance tree flatter, this helps make more straightforward code.

The negative statement is both discouraging and ambiguous. When you tell someone or yourself to not do a thing, it begs the question, "What should be done instead?" Meanwhile, the positive statement is incisive and gives the listener better direction.

If you can spot something to not do, you can probably come up with something to do as well. This shift in thinking seems small, but has had a profound impact on how I interact with the world, and improved my outlook on life, work and relationships.

Comment · 8 years ago
There are also way fewer cars in those photos that anywhere comparable in LA today. Maybe these things are related?
Comment · 8 years ago
Thank you, that really helps! The original article alone is pretty confusing.
Comment · 8 years ago
Yes! This makes me so happy that Miyazaki would unretire and make more movies!
Comment · 8 years ago
The "where is this child" query is unaffected by the ordering, whether Z-order, Hilbert, or other. However querying "which children are in this area" requires that you come up with corresponding ranges along the curve. This is where the Hilbert curve is slightly better because in many cases the same area can be covered by fewer ranges.

Follow up questions: How do the number of ranges compare with the different orderings? How much does having fewer range segments affect database query performance? Does it make up for the added computational complexity of Hilbert curves? I've not answers, but these can be answered by science.

Comment · 8 years ago
> Instead of projecting the Earth directly onto a single square, it projects the Earth onto the 6 faces of a cube enclosing the Earth and then applies an extra non-linear transformations to reduce even more the deformations. Each cell in s2 is in fact part of one of six quadtrees that describe the whole planet.

That's a super cool detail! I once implemented a 2D index using a Z-Order curve that directly translated lat/lon coordinates to a linear ordering. It works well enough because nobody really lives at the poles--the search regions with a single projection get really obtuse there. Projecting the earth onto a 6-sided die is a really elegant solution to that problem! Go go Google engineering!

Comment · 8 years ago
Yes! So much covered in so few words. This ordering works shockingly well for constructing robust solutions to complex problems.

Keep it simple. Do what needs to be done now, leave off for later everything else. By the time later arrives, what the project needs will have gone in new and surprising directions. Refactoring complex and coupled code into logical discrete units pays off in multiples down the road. Removing that which is no longer needed is like giving your whole team extra time to breath and new room to think. For all the times that simplifying also solved the two other problems, we used that time for making more cool stuff.

Comment · 8 years ago
First, it must be said that this is super cool, and I love it so much!

I've got questions...

1. What is the relationship between the bottom colored dots and the colored notes? I'm looking in the "scalar" tool, key of C. It looks like the bottom dots are for coloring a cross-fretboard position. I would have expected the red bottom dot to mark the position from C on the 8th fret for all the scales, as it does for pentatonic minor to dorian. However pentatonic and blues major are on the 5th fret position, and major is in open position.

2. The pentanizer, what is it? I also don't understand the relationship between the colored and numbered dots and the fretboard coloring. The UI has a strange way of switching the numbers if I switch the scales. E.g. select pentatonic major, red dot, and 1 dot. Then switch to pentatonic minor, and it auto-switches to 5 dot. Overall, it's pretty disorienting the relationship between these design elements and the scales. Or I've fundamentally misunderstood the tool.

3. What tools did you use to make this? Will you open source?

Thank you, you're really killing it!

Comment · 8 years ago
Two weeks. I refer to it as the cussing period because it's full of situations where I know something is possible and easy, but I have to figure out how to find the right documentation and put together the peculiarities of the new language in my mind. Usually that feeling of frustrated helplessness goes away after two weeks.
Comment · 9 years ago
In my circle of peers, and perhaps beyond, we use "clever" as a pejorative. It roughly means what you said in the last sentence, "more of a display of cleverness than actual cleverness." In other words, calling a piece of code clever, indicates that it was made too complicated to easily grok. We also have an explicit goal of making code not clever.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton