Ways to paginate in Postgres (2016)
Pagination, pervasive as it is in web applications, is easy to implement inefficiently. This post examines different methods of server-side pagination and their tradeoffs in PostgreSQL. Methods explored include limit-offset, cursors, keyset pagination, as well as more exotic techniques.
Keras Tutorial – Traffic Sign Recognition
In this tutorial Tutorial assumes you have some basic working knowledge of machine learning and numpy., we will get our hands dirty with deep learning by solving a real world problem.The problem we...
An adventure in trying to optimize math.Atan2 with Go assembly
This is a recount of an adventure where I experimented with some Go assembly coding in trying to optimize the math.Atan2 function.
Designing a Lock-free, Wait-free Hash Map
Wait-free algorithms attract vast interest and are an area of intense research, the motivation being that true lock-free algorithms and data structures provide great …
Zig Programming Language 0.1.1: First beta release
Zig can be used to integrate closely with existing C code, or independently, without libc.
Project Jigsaw: Complete
It’s been a long road, but at last the puzzle is complete: Today we delivered Project Jigsaw for general use, as part of JDK 9 .
System programming in Rust: beyond safety
System programming in Rust: beyond safety Balasubramanian et al., HotOS’17 Balasubramanian et al. want us to switch all of our systems programming over to Rust. This paper sets out the case. …
F# 4.1 and Visual F# Tools for Visual Studio 2017
Announcing F# 4.1 and the Visual F# Tools for Visual Studio 2017 Last year, we announced F# 4.1 via a Peek in F# 4.1. As a recap, we mentioned: Alpha support for .NET Core and .NET Standard Language features for F# 4.1 A big update to the Visual F# tools for Visual Studio 2017 (called […]
Making a GTK Video Player with Haskell
Using Haskell, GTK+, GStreamer, xlib, and the haskell-gi bindings, we build a video player complete with seek and volume controls.
Why I'm Productive in Clojure (2013)
Dmitri's blog about programming, Clojure, and software development
C++17 constexpr everything, or as much as the compiler can
Case study in constexpr with C++17 compilers
Writing GUI Apps Using the Red Programming Language
Chinese Translation by oschina.net
Future of Java 8 Language Feature Support on Android
News and insights on the Android platform, developer tools, and events.
Pillow-SIMD – Fast, production-ready image resize for x86
Learn how Uploadcare engineers found out how to resize images on Intel processors faster than Intel itself
Writing a personal automation API
Yes, you need to write yourself an API. You'll thank me later.
Goroutines, Nonblocking I/O, and Memory Usage
I am generally a fan of Go's approach to concurrency: writing code with goroutines is a lot easier than writing traditional nonblocking network servers in a language like C or C++. However, while working on a highly concurrent network proxy I came across an interesting realization about how the Go concurrency model…
A Simple Rust GUI with QML
You may have heard of Rust by now. The new programming language that “pursuis the trifecta: safety, concurrency, and speed”. You have to admit, even if you don’t know what trifecta means, it sounds exciting.
Crash course to Amiga assembly programming
Updated May 10, 2021: Hey there friend! This ever-green blog is gold – just like reaktorians. If you’re reading this, you might be one of us. The30th
Implementing Stripe-Like Idempotency Keys in Postgres
Building resilient services by identifying foreign state mutations and grouping local changes into restartable atomic phases so that every request can be driven to completion.
Building a startup in public: from first line of code to frontpage of Reddit
I show how I built a mini startup called Hoodmaps in public from the first line of code to a functioning web app that I got to the frontpage of Reddit with ove…
Building a CQRS/ES web application in Elixir using Phoenix
I’ve been interested in Command Query Responsibility Segregation and event sourcing since hearing Greg Young talk on the subject in early 2010. During the past seven years I’ve built an open-source Ruby CQRS library ( rcqrs ); worked professionally on .NET applications following the pattern; and more recently built an…