Painless WebGPU Programming with taichi.js
As a computer graphics and programming languages geek, I am delighted to have found myself working on several GPU compilers in the past 2 years.This began in 2021 when I started to contribute to taichi, a Python library that compiles Python functions into GPU kernels in CUDA, Metal, or Vulkan. Later
Read moreHow To Develop Your Strategic Thinking Skills and Stay Ahead
Cross the boundary of your comfort zone to think about an idea to its extreme without mental guardrails to put it down.Continue reading on Better Programming »
Read moreData file character frequencies
I have a little script that will print the frequency of the most common characters in a file and the number of lines. All numbers are displayed along with their factorizations. It also prints the number of non-ASCII characters. CSV files These simple statistics are surprisingly useful. For example, when
Read morePlease Use Your Paid Time Off
The importance of using vacation to recharge and thriveContinue reading on Better Programming »
Read moreReplicating and Load Balancing Go Applications in Docker Containers with Consul and Fabio
Exploring a simpler alternative to set up and illustrate the concepts behind this implementationPhoto by Shubham Dhage on UnsplashMy usual solution for container replication, orchestration, and load balancing is Kubernetes. But last week, a friend asked me about a project she was working on — a fairly basic replication scenario — but she doesn’t have
Read moreEffortlessly Run GitHub Repository Applications with Just a Few Clicks
Run projects or prepare your repositories for instant executionContinue reading on Better Programming »
Read moreMaking an Orchestrator From Scratch With Rust
Building a way to handle queries and searches in multiple servers while also being able to turn the servers onIn the context of microservices, an orchestrator is the brain of the system, which distributes the task between every microservice by some rule. When a transaction has to happen, it is the
Read moreAre We Doing Our Best on Frontend Development? This Data Perspective May Help Answer This Question
An overview of the comprehensive state of the web reportThe sum of transfer size kilobytes of all external scripts requested by the page. Source: httparchive.orgIf your expression changed after seeing this chart, keep reading this article.We will review together last year’s Web Almanac report by httparchive and see what’s happening on the web.The
Read moreAdventureGPT: Using LLM Backed Agents to Play Text-Based Adventure Games
AdventureGPT: Using LLM-Backed Agents to Play Text-Based Adventure GamesUnlocking the magic of text-based adventure games with the power of language modelsPhoto by Holly Mandarich on UnsplashRecently, I decided to take some time to learn how to utilize ChatGPT and other OpenAI models. Like much of the world, I had played with OpenAI’s
Read moreReviewing a thousand things
Suppose you’ve learned a thousand of something, maybe a thousand kanji or a thousand chemicals or a thousand species of beetles. Now you want to review them to retain what you’ve learned. Now suppose you have a program to quiz you, drawing items from your list at random with replacement.
Read more