Programmer's guide to polynomials and splines
This is a brief introduction into polynomials. From how to make a polynomial run through your set of points to how to make it into a spline.
Topics /
The most popular blog posts about software engineering on Hacker News. 14,537 posts.
This is a brief introduction into polynomials. From how to make a polynomial run through your set of points to how to make it into a spline.
A small CSS library to make browser defaults more consistent
Update: See my follow up post, What should a native DOM templating API look like? .
A good example of a simple looking, but hard to use correctly, API is one which takes two or more parameters of the same type. Let’s compare two function signatures:
It helps, of course, that I still consider many of the people I worked with friends, and I know some of them even still read this blog. (Hi!)
Over the past several weeks I have been attempting to reimplementthe API of an existing python library as a wrapper for an equivalent library inRust.
Things I've learned while porting 50 thousand lines of code from Java to Go
You only need to learn a little bit of queueing theory before you start getting that ecstatic “everything is connected!” high that good math always evokes. So many damn things follow th…
What implications exist around linking friendly-c code with machiavellian-c? I.e. put the performance critical kernels in there own module and work realy hard to make it correct.
Here’s a little idiom that I haven’t really seen discussed anywhere, that I think makes Rust code much cleaner and more robust.
Rob Pike, one of the creators of the Go language, stated that he expected the language to be adopted by C++ programmers, a prediction that hasn’t been realised. Recently however at the HFT fi…
Like many developers I’ve been excited by the promise of Asm.js . Reading the recent news that Asm.js is now in Firefox nightly is what got my interest going. There’s also been a massive surge in interest after Mozilla and Epic announced ( mirror ) that they had ported Unreal Engine 3 to Asm.js – and that it ran…
code { white-space : pre-wrap !important; } This article is tightly scoped to cover one topic with specific, actionable advice: How to configure...
My last article about generic data structures in C was written to set the stage for today’s topic: A data structure with constant time indexing, stable pointers, and works well with arena allocators. Its been independently discovered by multiple programmers over the years and so goes by different names. A 2001 paper…
Ken Norton is an executive coach, writer, and speaker. Bring the Donuts is the home for his essays on product management and product leadership.
One common complaint of Clojure REPLs is their [startup time](http://puredanger.github.io/tech.puredanger.com/2013/12/01/clj-problems/). Although that complaint is often somewhat unfounded (and related to tooling), it still takes the bare Clojure JAR about 1 second to start on new hardware…
What do you do when libc is your bottleneck? If the total runtime of your process is under 10ms, most of this time (depending on your hardware) is spent waiting for the linker and C runtime to set things up. If you compare this to the Latency Numbers Every Programmer Should Know , it falls right above "disk seek" and…
The project has been haunted by a mysterious bug since sometime February. It relates to the code that constructs the index, particularly the code that merges partial indices. In short the search engine constucts the reverse index through successive merging of smaller indices, which reduces the overall memory…
So I've been curious about what kinds of displays you can connect to the Pi-series single board computers for a while. I happened to accidentally order a few. Among others an eInk display. I ordered the PaPiRus ePaper. It ended up being dead on arrival and then out of stock so I received an Inky to replace it. Fair…
Dependency injection is nice if you don’t have to think about it.
I was recently eating lunch with someone who asked a question that I became somewhat obsessed with: what happens when you grep a file and append the contents...
Drone Invaders - a space shootem up with retro graphics and modern gameplay
Deep learning, despite its remarkable successes, is a young field. While models called artificial neural networks have been studied for decades, much of that work seems only tenuously connected to modern results.
Created 2015 | Updated 2026 | One of Forty-Four Esolangs , by the creator of Rivulet and Velato