Air France flight 447 disappeared in 2009, leaving investigators puzzled as to what could have caused the crash of a modern passenger jet with no distress call. Two years later, the black boxes were found and revealed a story that was both prosaic and inexplicable. The pilots had been thrown into a state of panic […]
Read more »
Here it is, the fastest general (and simple) binary search C++ implementation. The function, sb_lower_bound, provides the same interface as std::lower_bound but is twice as fast and shorter. It is called “branchless” because the if statement compiles down to a conditional move instruction rather than a branch/conditional jump. The article explores different compiler options, even […]
Tailscale and Narrowlink are both open-source solutions for secure remote access and connectivity, but they have different architectures and features. Tailscale is a SaaS platform that offers a zero-config VPN using the WireGuard protocol. It uses a peer-to-peer mesh architecture and aims to be easy to use out of the box. Narrowlink, on the other […]
Summary: A 30-year-old computer, the Commodore Amiga, controls the heat and air conditioning at 19 Grand Rapids Public Schools. It was purchased in the 1980s with money from an energy bond and replaced a refrigerator-sized computer. The computer is responsible for managing boilers, fans, pumps, and monitoring temperatures in the school buildings. Although finding parts […]
SQLite has built-in support for handling JSON values, with a variety of functions and operators available. There are 15 scalar functions and operators, including json_extract, json_insert, json_remove, and json_type. Two aggregate SQL functions, json_group_array and json_group_object, are also provided. SQLite stores JSON as ordinary text and does not support a binary encoding. The JSON functions […]
In 2023, there are several significant scientific advancements, as listed on Wikipedia. Despite the possible disappointment of the LK-99 semiconductor, other discoveries have caught attention. Some notable examples include positive results from a clinical trial of an RSV vaccine, the use of AI to translate brain activity into written words, and the achievement of nuclear […]
This article discusses the process of setting up a containerized development environment for C projects. The author highlights the benefits of using Docker containers for development, such as avoiding conflicts with different versions of specialized tools and making it easy for others to join a project. They also mention some limitations and potential issues with […]
Llama 2 is an optimized version of the Llama 2 model, available from Meta under the Llama Community License Agreement. Microsoft permits users to use, modify, redistribute, and create derivatives of their contributions to the optimized version. Access to the ONNX files in this repository is controlled, and users must fill out a request form […]
This game takes the classic Tetris concept and adds a unique twist by turning the blocks into assembly instructions for a full CPU emulator. To enjoy this game, you’ll need to have WebAssembly enabled or use a browser that supports it. The game features a WebAssembly-based emulator that executes CPU instructions, making it a clever […]
The author begins by sharing their experience using Logic Pro and discovering Logic Remote, a tool for controlling recording sessions from an iPhone. Their curiosity led them to investigate the communication between the tools and they discovered a custom TCP protocol used by the Multipeer Connectivity Framework. They reverse engineered the network packets and identified […]