A lazy way to solve differential equations
Looking at Taylor series as streams of real numbers, solving differential equations becomes as easy as writing them.
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,828 posts.
Looking at Taylor series as streams of real numbers, solving differential equations becomes as easy as writing them.
In the past two months or so, I spent some time making tiny GLSL demos. I wrote an article about the first one, Red Alp . There, I went into details about the whole process, so I recommend to check it out first if you're not familiar with the field.
Ten years ago (around the year 2001) I wrote a simple x86 protected-mode OS just to find out how operating systems work. That was really gr...
How to build a constraint programming solver in Julia. Part 1: Solving Sudoku using backtracking
This article is about using Fortune’s Algorithm to generate Voronoi Diagrams in O(nlogn) time. If I’d known how hard it would be I wouldn’t have started it. If you are intending to implement it with the intent to actually use it, rather than as an exercise, I would recommend not using Fortune’s. Unless you are doing a…
Considering how important “undefined behavior” has become to C semantics and the ISO/IEC JTC1/SC22/WG14 Committee, the lack of any reference to it in the K&R ANSI book is notable and the description in the 1999 C Rationale was quite modest.
Understand .NET 9.0 LINQ performance improvements, faster iterator and the usage of Span
How a dialect of LISP can help developping modern enterprise applications
Comparison of modern Lisp dialects
A matrix for rating programmers on computer science, software engineering, programming, security, infrastructure, data, AI-assisted development, experience and knowledge, from 2ⁿ to log(n).
The Nim team is happy to announce version 1.6.2, our first patch release for Nim 1.6.
This post describes the C++ Badge template used to enhance member function access control in Serenity Operating System.
Let me introduce you to WordStar 4.0, a popular word processor from the early 80s. WordStar 4.0 As old as it seems, George R.R. Martin used it to write “A Song of Ice and Fire”. Why would someone use such an old piece of software to write over 5,000 pages? I love how he puts it: It does everything I want a word…
Years ago, while taking a numerical methods course, I wrote some code to calculate the expected number of shared birthdays in a group. The code is very simple: each attempt constructs a vector of N birthdays, then counts the duplicates. The outer loop runs millions of attempts, and calculates the mean number of shared…
Another reason for optimizing compilers: It allows us to write simple and obvious code expecting that the compiler will do the optimization. This both reduces the initial defect count and makes the code more maintainable in the long-run. Note that these are also often the simplest optimizations (e.g. a calculation…
One assumes it's easy because it's a non-technical problem, the other assumes that's why it's hard
IBM Developer is the source for hands-on training and in-demand learning on relevant technologies such as generative AI, data science, Java, and more.
Zero-downtime deployments on Kubernetes on AWS EKS utilizing Pod Readiness Gates, graceful application shutdown and termination delays with code examples in Go
GitHub Archive logs every public commit, even the ones developers try to delete. Force pushes often cover up mistakes like leaked credentials by rewriting Git history. GitHub keeps these dangling commits, from what we can tell, forever. In the archive, they show up as “zero-commit” PushEvents.
In the past 7.5 years I have supervised over a dozen programming interns at Ronimo and have seen hundreds of portfolios of students and gra...