Basic Music Theory in ~200 Lines of Python
A basic introduction to Western music theory using the Python programming language to derive scales, chords, and modes in every key.
The latest blog posts to take off on Hacker News. 1,517 posts.
A basic introduction to Western music theory using the Python programming language to derive scales, chords, and modes in every key.
Everyone knows that on most systems you can specify IPv4 addresses just 4 decimal numbers separated with periods (dots). Example: 192.168.0.1 Useful when you for example want to ping your local wifi router and similar. "ping 192.168.0.1" Other bases The IPv4 string is usually parsed by the inet_addr() function or at…
Flash cartridges (= "carts") are commonly used to run Game Boy ROMs, such as homebrew games or dumped officially released games, on real hardware. Different kinds of flash carts with various features and performance characteristics have been available for a long time, but flash carts have in general the reputation of…
Livebook is a web application for writing interactive and collaborative code notebooks
How I reduced Rust incremental debug build times on macOS from 14 seconds down to 4 seconds.
This article is the sequel to A Universal Async Abstraction for C++ , in which I talk about the Executor proposal targeting C++23. Quite a bit happened since then.
I'm afraid I'm not accepting new requests for review. I have reviewed all the ones I've received before 2022-03-24.
JavaScript implementation of so-called Seam Carving algorithm for the content-aware image resizing and objects removal. Dynamic programming approach is applied to optimize the resizing time.
Deep and machine learning (ML) frameworks are good at what they do, but altering their underlying code is typically difficult. Flashlight is a new open source library written entirely in C++ that enables teams to rapidly modify frameworks to fit their needs. Read more:
For years, a Python developer who needed a GPU had two realistic choices: Learn NVIDIA CUDA C++ well enough to write an extension, set up a build toolchain, and maintain bindings back to Python…
The original draft of the analysis we presented was reviewed internally, and yet still inaccuracies slipped through. We are a team of humans. We make mistakes. We take full responsibility for the invalid conclusions we published.
The perspective of an ignorant computer science undergrad
A look back and forward on PHP
First there was REST, then GraphQL made RPC cool again, but maybe we need to come full circle with SQL over HTTP.
A primer and very high-level overview on what Golem Network is and what it can do.
As of 1.9.0, GitHub Actions is available in your terminal. Two new top-level commands, `gh run` and `gh workflow`, provide insight into workflow runs.
wxWidgets 3.1.5 release is now available on GitHub . You will find there archives with the library sources and documentation as well as binaries for the selected Windows compilers such as Microsoft Visual C++ , MinGW-w64 and TDM-GCC .
Lately I’ve been seeing lots of anecdotes from people trying to get into Rust who get really hung up on strings (&str, String, and their relationship). Beyond Rust’s usual challenges around ownership, there can be an added layer of frustration because strings are so easy in the great majority of languages. You just…
We present Logica, a novel open source Logic Programming language.
Add WebAssembly, get performance. Is that how it really works?
Deno 1.9 adds a new native HTTP/2 web server, a vastly improved op infrastructure, import completions in the LSP, an interactive permission prompt, blob url support.
A professional programmer delivers value through the authoring and maintaining of software that solves problems. (There are other important ways for professional programmers to deliver value but this post is about programming.)
"Know your enemy, know yourself, and in a hundred battles you will never be defeated"
disclaimer: this is a technical post aimed at developers being somewhat aware of the problem space. There will be a concluding ‘the day of…’ post aimed at end users where some of …
I wrote Gitlet to show how Git works under the covers. I wrote it to be readable. I commented the code heavily.
Hey! We're getting really close to releasing React + Vue support for Tailwind UI, so I thought it would be interesting to share some of the behind-the-scenes efforts that have gone into even making it possible.
It’s been two years since our company decided we’ll pick NativeScript to create and maintain our Android App.
What console.log() does, where to find console logs in the browser and Node.js, with examples, plus console methods like table(), group() and time().