Rust Ownership Rules
A gentle and beginner friendly overview of Rust Ownership Rules
The latest blog posts to take off on Hacker News. 14,543 posts.
A gentle and beginner friendly overview of Rust Ownership Rules
[iTerm2](https://iterm2.com/) has a lot of little-known features that can make development much easier.
I’ve been a software developer at EBANX since 2016. There we have a mechanism called Release Candidate. Every time we deploy something new to our monolith PHP system we end up deploying it first to the release candidate server. Then we elect a few random requests and proxy it from our live normal servers to the…
I'll only use API services with usage-based pricing and automatic volume discounts. Why that model works, and why bucket and enterprise pricing don't.
Almost all our computers are made of several processing cores. Thus it can be efficient to "parallelize" expensive processing in a multicore manner. That is, instead of using a single core to do all of the work, you divide the work among multiple cores. A standard way to approach this problem is to create threads. ……
The following is a list of many bugs caught on or near leap day, February 29th, 2020. Each link below references the issue with supporting details where available.
This is Part 2 in a series of posts describing the Raft distributed consensus algorithm and its complete implementation in Go. Here is a list of posts in the series:
In order to increase fluency in a programming language, one has to read a lot of it. But how can you read a lot of it if you don’t know what it means? In this article, instead of focusing on one or...
For about five years I've been trying to implement a fully conforming C preprocessor for the front end of the CScout refactoring browser. I've found this to be a fiendishly difficult task. Although what I have written can correctly process million-line real-life projects, every once in a while I come across a…
A common thing in React development is that we want to store a bit of React state in localStorage, and re-initialize from that value on the next page-load. This quick tutorial shows you how we can build a custom hook that does exactly this!
My honeymoon with the Go language is extremely over. This article is going to have a different tone from what I’ve been posting the past year - it’s a proper rant. And I always feel bad writing tho...
Discovering one of the pillars of C++ generic programming.
Note: me telling you up front that these are trick questions rather gives the answers away in most cases, but oh well. Questions Question 1 What's the fastest way to sort a jumbled array, given that the array has length N and contains all the integers from 1 to N inclusi...
The questioning of the VBA languages lifespan seems to be a question that is on everyone’s mind. Let’s explore why so many people utilize this language, Microsoft’s current thinking on it’s uses, and when it will ultimately retire from being used.
Why you should escape output correctly, but generally not sanitize user input.
This week's post will cover a command line tool that helps you play the video game Stardew Valley .
...everything that's wrong with C++ comes down to that. Background: I've been programming in C++ since about 1993; that's 17 years now. As...
When asked about the virtues of Haskell’s strong type system, most people will say the best part is that it lets you refactor with a zen-like tranquility, or that it stops your program from crashing at runtime. I mean, those are both great. But my favorite part is that having a strong type system means I don’t need to…
A few notes on SwiftUI and why UI frameworks should not try to be “smart”
Welcome, This is the index page for my "Reverse engineering the rendering of The Witcher 3" small series where I select some rendering tec...
YOW! Talk My YOW! talk, "Designing Distributed Systems with TLA+", is now available! You can watch it here. Donald Knuth Was Framed The other day I was...
Sketches of an interactive arithmetic for programming by Glen Chiacchieri.
(contains amazon affiliate links) I have had repetitive stress injury (RSI) flareups on and off for many years. I’ve kept them under control mostly through use of a Kinesis Advantage ergonomic keyboard that I’ve had for fifteen years. However, several months ago, I was diagnosed with carpal tunnel syndrome and…
Saagar Jha's website.
At this point in my career, I’ve worked on at least three projects where performance was a defining characteristic: Livegrep, Taktician, and Sorbet (I discussed sorbet in particular last time, and livegrep in an earlier post). I’ve also done a lot of other performance work on the tools I use, some of which ended up on…