Better HN
topnewbestaskshowjobs
Log inSign up

lukehaas

74 karma · joined May 23, 2013 (13y ago) · 26 submissions

Submissions

comment 3mo ago · link · parent

I can't play an instrument, even after multiple attempts. The main problem for me was understanding the theory. When you start learning, you're expected to accept a lot of things at face value with very little explanation for why things in music are the way they are.

This article documents my own journey into understanding music through writing code and taking a first-principles approach. This enabled me to understand things like why there are 12 notes and why notes in the same key sound good. Hopefully, if you are in a similar position to me, this will give you a foundational understanding of music that you can reason about instead of memorising.

Disclosure: I built RunJS, and this is on its blog. It gets a mention in the last paragraph and nowhere else.

2.

Music Theory for Programmers(runjs.app ↗)

3 points · by lukehaas · 3mo ago · 2 comments

3.

Show HN: RunPy – simple desktop app for tinkering with Python(runpy.app ↗)

2 points · by lukehaas · 1y ago · discuss

comment 1y ago · link · parent

I built https://runjs.app because I wanted an easy way to run JavaScript and test out ideas. It turned out that a lot of other people wanted the same thing.

The first version was free and very basic. After getting a lot of suggestions and feedback from the people using it, I added more features and introduced a freemium pricing model.

5.

Show HN: A JavaScript playground that shows the result of each expression(runjs.app ↗)

3 points · by lukehaas · 2y ago · discuss

6.

Equations that changed the world – rewritten in JavaScript(runjs.app ↗)

1 points · by lukehaas · 2y ago · discuss

7.

Mathematical Notation for JavaScript Developers Explained(runjs.app ↗)

2 points · by lukehaas · 4y ago · discuss

comment 6y ago · link · parent

I built something that's similar to what you're describing, here's an article about it: https://www.hackster.io/lukehaas/e-ink-display-for-daily-new...

It combines a Pi Zero with a 2000mAh lipo, updates every 6 hours and lasts for around 90 days per charge.

9.

Alexa Powered Rotary Phone(hackster.io ↗)

1 points · by lukehaas · 6y ago · discuss

10.

Show HN: RunJS – a JavaScript scratchpad that auto-evaluates as you type(projects.lukehaas.me ↗)

2 points · by lukehaas · 7y ago · discuss

comment 8y ago · link · parent

Gatsby is worth taking a look at.

comment 9y ago · link · parent

Just googled ABSG and all I got was 'Adult Bible Study Guide'

comment 9y ago · link · parent

No new features planned at the moment but I'd be open to suggestions or pull requests.

14.

Show HN: Generate Lorem Ipsum text from your terminal(github.com ↗)

4 points · by lukehaas · 9y ago · 2 comments

comment 9y ago · link · parent

It's important for web developers to experiment with new browser features. Browser vendors encourage this as it can help them with crushing bugs early and refining their specs.

comment 9y ago · link · parent

Unfortunately Firefox only supports clip-path behind a flag.

17.

Show HN: CSS Pokemon – created with clip-path and CSS variables(projects.lukehaas.me ↗)

79 points · by lukehaas · 9y ago · 43 comments

comment 10y ago · link · parent

Thanks, those are great, I'll add them in.

comment 10y ago · link · parent

Thanks, I'll update that

20.

Show HN: A collection of useful regex patterns(projects.lukehaas.me ↗)

14 points · by lukehaas · 10y ago · 4 comments

comment 10y ago · link · parent

Made roughly $300 so far this year from carbon ads on my project sites:

http://projects.lukehaas.me/css-loaders/ http://projects.lukehaas.me/scrollify/

comment 10y ago · link · parent

I think Cordova is increasing in relevance. Over the last couple of years mobile devices have reached a level of performance that makes hybrid apps feel native. When you combine Cordova with Ionic you can create write-once apps that deploy to any device and have a native look and feel.

23.

Power steering for your scroll wheel(projects.lukehaas.me ↗)

1 points · by lukehaas · 12y ago · discuss

24.

A collection of single element loading spinners animated with CSS (projects.lukehaas.me ↗)

6 points · by lukehaas · 12y ago · discuss

comment 13y ago · link · parent

The shapely library - https://github.com/lukehaas/Shapely - makes working with the canvas much simpler