Programming PIC32 Microcontroller with Rust
Programming PIC32 Microcontroller with Rust, AKA running rust on bare metal
The latest blog posts to take off on Hacker News. 14,541 posts.
Programming PIC32 Microcontroller with Rust, AKA running rust on bare metal
Today marks my 4th year anniversary at my current employer, Databricks. It's been a good run, and this is a great chance to reflect on the journey so far. This post is as much for me to organize my own thoughts as it is for anyone else to read.
Training the car to do self-parking using a genetic algorithm
Домашняя страница
This is a follow-up to Error handling in Rust from a couple of days ago. The moment we want to use error propagation for different error types, we have to rely on trait objects with Box<dyn Error>, which means we defer a lot of information from compile-time to runtime, for the sake of convenient error handling.
Benchmarks & Tips for Big Data, Hadoop, AWS, Google Cloud, PostgreSQL, Spark, Python & More...
After I wrote most of this blog post the night of October, 5th 2021 I wasn't sure I would post it. After the events of the last 36 hours, I felt I needed to capture my experience on my website where it can only be edited by me. After reading this, I hope you will have a clear set of datapoints from my point of view…
Making the Python interpreter faster
A simple intuitive breakdown of fluid simulation for programmers and technical artists. Instead of complicated mathematical expressions, I…
“If you want more effective programmers, you will discover that they should not waste their time debugging, they should not introduce the bugs to start with.” —Edsger Dijkstra, Turing Award Lecture (1972)
If you are a backend developer like me, logging is the window to your application. Unlike in the frontend, there’s not much to see except of your log messages. Here are some of my personal guidelines I use when I write logs.
In light of recent events regarding the performance of the Windows terminal 1 , I thought it would be worth spending some time on this topic, since it uncovers a few problems that are pestering the software industry.
Programmers often need to 'filter out' data. Suppose that you are given a database of users where only a small percentage are 'paying customers' (say 5% or less). You can write an SQL query to check whether a given user is indeed a paying customer, but it might require a round trip to your database … Continue reading…
The maintainer of glibc, Ulrich Drepper, wrote an article called "Static Linking Considered Harmful". This is why his post is wrong.
The answer should be something close to ALPHA , i.e. 0.01 . What R was printing out was weird numbers like 1e-10 .
This article summarizes some lower level aspect of how GPU executes. Although GPU programming is not that complicated when compared to CPU, it also doesn’t match to what hardware is doing exactly. The reason is that we can’t just program GPU without some API, which is an abstraction over its inner workings. Since few…
Factorio is a factory-building game involving lots (and I mean, LOTS) of conveyor belts. The code that implements these belts is marvel of optimization, but unfortunately they can't handle every construct.
Monads and macros have an almost gnostic mystique about them. Why is that? Why does hardly anyone use both?
This may surprise you if you know me, but I’ve been learning Common Lisp for a few weeks now.
One of my favorite questions to ask people is: what are some things that you used to strongly believe but have now changed your mind about?
My housemate the other day asked me something to the effect of “How can Software Engineers call themselves engineers when there’s no rules, governing bodies, or anything to stipulate what true Software Engineering is?”
A deep-dive technical overview of how you can write CPython extensions in assembly (with a bonus tutorial on assembly programming)
My perspective when a team member gives their notice
While working on an article for the Monad.Reader, I’ve had the opportunity to think about how people learn and gain intuition for abstraction, and the implications for pedagogy. The heart of …
I love a good bug, especially ones that are initially hard to explain but then ...
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…