Protocol Buffers: An Amateur Disaster?

2025-09-05

This article criticizes the design flaws of Protocol Buffers (protobuf), arguing that its type system is poor, its design is ad-hoc, and that it leads to a series of problems that permeate the code. The many restrictions of protobuf stem from its poor solutions to already-solved problems, lacking compositionality. Examples include the inability to repeat oneof fields, and various map field limitations. The article also criticizes protobuf's claims of hassle-free backwards and forwards compatibility, and how it pollutes codebases, making code difficult to write and maintain. The author argues that protobuf is only suitable for large companies like Google, not for most companies, and advises developers to abandon the use of protobuf.

Read more
Development

Lava RGB 2.0 NES Mod: A Detailed Walkthrough

2025-09-05

This detailed guide documents the author's experience upgrading a classic NES console with the Lava RGB 2.0 kit. The walkthrough covers every step, from desoldering the PPU and power module to installing the Lava RGB PCB, replacing capacitors, and soldering wires, all accompanied by numerous images. The author also adds a SNES-style multi-out and tackles expansion audio configuration. The final result is a working RGB output, with the author praising the Lava RGB 2.0 kit's performance and value.

Read more

Build Your Own Unsettling Vetinari Clock: A DIY Hack

2025-09-05

Inspired by Lord Vetinari's unsettlingly erratic clock from the Discworld series, a maker built a DIY clock with an irregularly ticking second hand. The project uses an ATtiny25 or PIC12F683 microcontroller and features open-source hardware and software designs. Clever firmware controls the clock, creating a seemingly random movement pattern over 32 seconds while maintaining accurate timekeeping. This fun project showcases embedded systems programming and provides complete hardware and software resources for replication and modification.

Read more
Hardware

Sub-Second Queries on Billions of Rows: Real-Time Analytics with ClickHouse

2025-09-05
Sub-Second Queries on Billions of Rows: Real-Time Analytics with ClickHouse

This guide demonstrates building real-time analytics applications with ClickHouse, achieving sub-200-millisecond query responses on billions of weather records. It covers data ingestion, advanced techniques like statistical sampling and pre-aggregation, and showcases a complete workflow using Rill, ingesting NOAA weather data from S3 and visualizing it. ClickHouse's columnar storage, advanced compression, and vectorized query execution deliver blazing-fast performance, making it ideal for real-time analytics. The article explores the trade-off between data freshness and accuracy, detailing ClickHouse modeling strategies (denormalization, dictionaries, incremental materialized views). A practical example using ClickHouse, S3, and Rill for real-time weather data analysis is presented.

Read more
Development

Unpacking the Mach-O Mystery: A Deep Dive into Apple's Binary Format

2025-09-05
Unpacking the Mach-O Mystery: A Deep Dive into Apple's Binary Format

This article delves into the intricacies of Mach-O, the binary format underpinning Apple's operating systems for executables, libraries, and object code. It meticulously dissects Mach-O's structure, encompassing the header, load commands, segments, and sections, alongside universal binaries. Furthermore, the article illuminates Mach-O's role in code signing integrity and Pointer Authentication Codes (PACs) on ARM64e systems. The mechanisms of code signing and PAC operation are explained in detail. Understanding Mach-O provides crucial insight into Apple's security measures and code execution processes.

Read more

Mojo: Chris Lattner's Next Big Swing at Revolutionizing Machine Learning Programming

2025-09-05
Mojo: Chris Lattner's Next Big Swing at Revolutionizing Machine Learning Programming

Chris Lattner, creator of LLVM and Swift, discusses his new language, Mojo, with Ron. Mojo aims to make harnessing the full power of modern GPUs productive and fun. The design focuses on making a language easy to use while providing the control needed for state-of-the-art kernel writing. A key concept is requiring programmers to understand hardware details, but making that manageable and shareable through type-safe metaprogramming. The goal is to support specialization for both the computation and the hardware platform. Lattner argues this is necessary to prevent single vendors from dominating the AI computing ecosystem.

Read more
Development

OpenAI Launches AI Certification and Job Board to Combat Job Displacement

2025-09-05
OpenAI Launches AI Certification and Job Board to Combat Job Displacement

OpenAI is tackling the job displacement caused by AI with a two-pronged approach: an AI skills certification program and a new job board. Fidji Simo, OpenAI's head of applications, argues that AI will reshape the job market, and OpenAI aims to help individuals acquire necessary AI skills and connect them with companies. Partnerships with companies like Walmart are underway, offering AI training. However, potential competition with Microsoft and the real-world value of the certification remain open questions.

Read more

Saying Goodbye to the Docker Daemon: The Rise of Podman

2025-09-05
Saying Goodbye to the Docker Daemon: The Rise of Podman

This article reflects on the rise and security concerns of Docker container technology, introducing Podman, a daemonless container runtime. Podman addresses the security and stability issues of the Docker daemon through its streamlined architecture, enhanced security (rootless operation), and seamless integration with systemd and Kubernetes. A practical guide to migrating a FastAPI application from Docker to Podman is provided, showcasing the ease of migration and the advantages Podman offers, such as improved resource utilization and a more secure production environment.

Read more
Development

Nepal Shuts Down Facebook, X, YouTube Over Registration Failure

2025-09-05
Nepal Shuts Down Facebook, X, YouTube Over Registration Failure

Nepal's government has blocked major social media platforms, including Facebook, X, and YouTube, for failing to meet registration requirements. The move, aimed at curbing online hate speech, rumors, and cybercrime, followed a deadline for companies to register with the Ministry of Communications and Information Technology. While the government claims sufficient time was given, companies like Meta and Alphabet did not comply, leading to the shutdown. Critics argue this action infringes on fundamental rights and that legal infrastructure should be established before such drastic measures are taken.

Read more

The Diffusion Deficit: Why Transformative Tech Takes So Long

2025-09-05
The Diffusion Deficit: Why Transformative Tech Takes So Long

This article explores the often-unexpectedly slow diffusion of transformative technologies, using the tractor as a prime example. It argues that technological success depends not only on inherent superiority but also on compatibility with existing social, economic, and industrial systems. The article examines cases like the telephone, electric motor, and IT, highlighting the need for complementary innovations, skills training, and industrial reorganization to unlock a technology's full potential. The current AI field faces similar challenges, with excessive focus on AGI overshadowing product development and practical application. Ultimately, technological success hinges on understanding and strategizing for diffusion—this is where the true 'technological dividend' lies.

Read more

SAP's €20B Bet: A Sovereign Cloud to Challenge US Giants in Europe

2025-09-05
SAP's €20B Bet: A Sovereign Cloud to Challenge US Giants in Europe

SAP is investing €20 billion over the next decade to expand its sovereign cloud infrastructure in Europe, positioning itself as a secure and compliant alternative to American cloud giants. This initiative focuses on providing sovereign infrastructure for public sector and regulated environments, offering three options: SAP Cloud Infrastructure (IaaS), Sovereign Cloud On-Site, and Delos Cloud in Germany. While the CEO previously cautioned against directly competing with US hyperscalers in infrastructure, this investment prioritizes integrating sovereignty into the technology stack, not replicating global infrastructure. The strategy emphasizes boosting Europe's competitiveness through software, AI, and applied innovation.

Read more

My Used 2023 Nissan Leaf: A Budget EV Experience

2025-09-05

In 2025, the author bought a used 2023 Nissan Leaf, his first 'new' car in 15 years. The article details his decision-making process, weighing the Leaf's affordability and practicality against competitors like Tesla. He highlights the Leaf's advantages, such as one-pedal driving, peppy torque, and lower maintenance, but also its drawbacks: inconsistent charging infrastructure, lack of standardization, and some design quirks. Ultimately, the author finds the Leaf suitable for his short-commute needs, but concludes that EVs still face significant price and infrastructure barriers for most car owners.

Read more

Wormhole: A New Game in the Perplexity Comet Browser

2025-09-05
Wormhole: A New Game in the Perplexity Comet Browser

This post details the development journey of Wormhole, a game built for the Perplexity Comet browser. Starting as a simple Chrome Dino replacement, it evolved into a sophisticated procedurally generated space golf game. The author describes three prototype iterations, highlighting challenges and solutions in game mechanics, procedural generation, art, and sound design. The final result is a polished and engaging browser game.

Read more
Game

Escaping the Nested SQL Query Hell: Building Movie Page Data with a Single Query

2025-09-05

This article discusses the challenges of building movie page data using relational databases. Traditional methods require multiple SQL queries to fetch information such as directors, actors, and genres, and manually assemble the results into the desired hierarchical structure, which is inefficient and prone to errors. The author uses functions such as `jsonb_agg` to directly generate JSON-formatted structured data in a single SQL query, effectively solving the "object-relational impedance mismatch" problem, improving efficiency, and avoiding multiple network requests and data inconsistencies. This demonstrates the evolution of SQL and the importance of adapting to new data needs.

Read more
Development

HTTPX Fiber Concurrency Plugin: Seamlessly Share Connections Across Fibers

2025-09-05

The HTTPX :fiber_concurrency plugin allows a single session's connections to be used across fibers managed by a fiber scheduler, ideal for long-lived connections. It's required by default when using the :persistent plugin. Example code shows launching multiple fibers within a thread, each concurrently using `http.get()` to access a URL. This plugin is essential for programs using fiber schedulers, such as those built with the async gem.

Read more
Development

OpenAI's Ambitious Plan: An AI-Powered Jobs Platform and Certification Program

2025-09-05
OpenAI's Ambitious Plan: An AI-Powered Jobs Platform and Certification Program

OpenAI is launching an AI-powered jobs platform next year to connect employers with AI-skilled candidates, aiming to boost AI adoption across businesses and government. They'll also introduce a certification program in the coming months, teaching workers practical AI skills. Partnering with organizations like Walmart, OpenAI aims to certify 10 million Americans by 2030.

Read more

Logitech's Solar-Powered Wireless Keyboard: Signature Slim Solar+

2025-09-05
Logitech's Solar-Powered Wireless Keyboard: Signature Slim Solar+

Logitech is gearing up to launch the Signature Slim Solar+, a wireless keyboard boasting a solar panel promising up to 10 years of battery life. Resembling the MX Keys S but with an added solar panel above the keys, this keyboard charges using ambient light. Made with 70% recycled plastic, it's lightweight and connects to up to three devices. Customization options via the Logi Options+ app and an AI Launch key (Copilot) are also included. Pricing and availability remain unannounced.

Read more

AI Boosts Gravitational Wave Detection: Deep Loop Shaping Breakthrough

2025-09-05
AI Boosts Gravitational Wave Detection: Deep Loop Shaping Breakthrough

Scientists have used a deep learning technique called Deep Loop Shaping to significantly improve the control precision of the Laser Interferometer Gravitational-Wave Observatory (LIGO), reducing noise by up to 100 times. This technology, using reinforcement learning, optimizes LIGO's feedback control system, enabling it to measure gravitational waves more stably. This helps astronomers delve deeper into the dynamics and formation of the universe, such as detecting more intermediate-mass black holes and studying neutron star collisions in greater detail. This breakthrough is expected to influence the design of future gravitational wave observatories and further expand our understanding of the cosmos.

Read more

Peel-and-Replace Walls: A New Hook-and-Loop System for Concrete

2025-09-05
Peel-and-Replace Walls: A New Hook-and-Loop System for Concrete

Researchers at Austria's Graz University of Technology have developed a novel hook-and-loop system for concrete walls. Instead of traditional hooks and loops, they cast protrusions into the concrete and 3D print a flexible sheet with corresponding protrusions. This allows for the easy removal and replacement of wall coverings, flooring, and other elements, promising a cleaner, faster, and more efficient approach to construction and renovation.

Read more
Hardware

Rendering Chrome in a Terminal: The Carbonyl Browser Project

2025-09-05

The Carbonyl project attempts to render web pages within a terminal. The author cleverly uses terminal characters and escape sequences, combined with Rust and C++, to achieve basic web rendering. The article details how to simulate pixels using Unicode characters, handle text drawing, mouse input, and inter-process communication with Chrome, while tackling rendering efficiency and layout issues. While still early-stage, Carbonyl demonstrates the feasibility of rendering web pages in a terminal environment, offering developers a novel area of exploration.

Read more
Development terminal rendering

Ultra-Processed Foods: Health Risks and Policy Challenges

2025-09-05
Ultra-Processed Foods: Health Risks and Policy Challenges

The UN is set to discuss a proposal to eliminate trans fats, but experts urge clarification between industrially produced and naturally occurring trans fats to avoid harming nutritious foods. This sparks a broader debate on "ultra-processed foods," often high in sugar, salt, and saturated fat, linked to obesity and cardiovascular disease. While the NOVA classification system helps identify them, its limitations lie in focusing solely on processing, ignoring factors like palatability and calorie density. Therefore, clearer definitions and more precise policies are needed, balancing control over excessive industrial food production with ensuring sufficient and appropriate food for all.

Read more
Tech trans fats

Adobe Premiere Hits iPhone: Pro-Level Mobile Video Editing, Free!

2025-09-05
Adobe Premiere Hits iPhone: Pro-Level Mobile Video Editing, Free!

Adobe is bringing its professional video editor, Premiere, to iPhones, offering free, pro-level mobile video editing. Launching later this month, the app boasts a multi-track timeline supporting unlimited video, audio, and text layers. Features include automatic captioning, 4K HDR support, and one-tap export to TikTok, YouTube Shorts, and Instagram with automatic resizing. While the app is free, Adobe will charge for cloud storage and generative AI features. It leverages Adobe's generative sound effects, AI-powered speech enhancement, and Firefly assets. Free Adobe fonts, images, sounds, and videos are also available for those avoiding AI content. Unlike the simplified Premiere Rush, this new Premiere aims to bring the power of Premiere Pro to mobile, offering professional control without the complexity.

Read more
Development Mobile Video Editing

Nepal Blocks Facebook, X, and YouTube Over Registration Failure

2025-09-05
Nepal Blocks Facebook, X, and YouTube Over Registration Failure

Nepal's government has blocked major social media platforms, including Facebook, X (formerly Twitter), and YouTube, for failing to comply with registration regulations. The government claims repeated notices were ignored. While some platforms like TikTok and Viber, having registered, remain operational, the move has sparked concerns over freedom of speech and accusations that the accompanying bill is a tool for censorship and suppressing dissent.

Read more
Tech Nepal

Philips Hue Bulbs Get Built-in Motion Sensing with Hue MotionAware

2025-09-05
Philips Hue Bulbs Get Built-in Motion Sensing with Hue MotionAware

Philips Hue announced a significant upgrade to its smart bulbs: built-in motion sensing. Hue MotionAware uses radio-frequency (RF) sensing to detect movement without extra sensors, leveraging the Zigbee signal between bulbs. This requires the new Hue Bridge Pro ($99) and works with most mains-powered bulbs from 2014 onward. MotionAware creates zones for motion detection, covering larger areas than traditional PIR sensors and integrating with Hue Secure for security features like flashing lights and alerts. While lighting automation is free, security notifications require a subscription.

Read more
Hardware Motion Sensing

Smartphone Use on the Toilet Linked to Increased Hemorrhoid Risk

2025-09-05
Smartphone Use on the Toilet Linked to Increased Hemorrhoid Risk

A new study suggests a link between smartphone use on the toilet and an increased risk of hemorrhoids. Researchers found that individuals spending extended periods on the toilet scrolling through their phones had a 46% higher risk of hemorrhoid issues. This is attributed to increased rectal pressure from prolonged sitting, leading to swollen veins. Experts recommend minimizing smartphone use in the bathroom and maintaining a healthy diet and hydration to prevent hemorrhoids.

Read more
Health hemorrhoids

First Whole-Brain Map of Decision-Making in Mammals Achieved

2025-09-05
First Whole-Brain Map of Decision-Making in Mammals Achieved

The International Brain Laboratory (IBL) has created the first whole-brain map of decision-making in mammals, a groundbreaking achievement in neuroscience. Researchers trained mice to manipulate a virtual steering wheel to move shapes on a screen, simultaneously recording the activity of over 600,000 neurons across 279 brain regions in 139 mice. The results reveal that decision-making is not confined to specific brain regions, but is distributed throughout the entire brain, including areas previously thought to be solely involved in movement. This research provides a valuable data resource for understanding the brain's complex workings and demonstrates the potential of large-scale international collaborations in neuroscience.

Read more

Indiana Lawyer Sues Meta CEO Over Name Confusion

2025-09-05
Indiana Lawyer Sues Meta CEO Over Name Confusion

Mark Zuckerberg, a bankruptcy lawyer from Indiana, is suing Meta CEO Mark Zuckerberg. The lawyer's Facebook ad account has been repeatedly disabled by Meta's moderation system for allegedly impersonating the Meta founder, despite being the same name. This has cost the lawyer over $11,000 in wasted ad spend. He's been battling this issue for years, even creating a website documenting the name confusion. The lawsuit highlights the lawyer's frustration and financial losses due to this ongoing issue.

Read more

Amazon's Kuiper to Power JetBlue In-Flight Wi-Fi Starting in 2027

2025-09-05
Amazon's Kuiper to Power JetBlue In-Flight Wi-Fi Starting in 2027

Amazon's Project Kuiper, its satellite internet service, has partnered with JetBlue to provide in-flight Wi-Fi starting in 2027. This marks Kuiper's first airline deal, aiming to compete with SpaceX's Starlink, which already boasts agreements with several major airlines. While Kuiper launched its first satellites in April and now has over 100 in orbit, it's still playing catch-up to Starlink's 8,000+ satellite constellation. Amazon showcased impressive gigabit download speeds using an enterprise-grade terminal, but real-world consumer performance remains to be seen. Initial customer access begins this year, with a wider rollout slated for 2026.

Read more

Global ACM-ICPC Rankings: Tsinghua and Peking Universities Shine

2025-09-05

The 2023 ACM-ICPC International Collegiate Programming Contest global rankings are out, with St. Petersburg State University taking the top spot. Notably, Tsinghua University and Peking University secured the fourth and fifth places respectively, showcasing the strong performance of Chinese universities in computer science. The ranking includes many prestigious universities from China, the US, Japan, and Europe, highlighting the fierce competition. This top-tier global event not only tests the programming skills of contestants but also reflects the differences in computer science talent cultivation across various countries and regions.

Read more

Bye Spotify: Building My Own Music Streaming Stack

2025-09-05
Bye Spotify: Building My Own Music Streaming Stack

Tired of Spotify's paltry artist payouts, fake artists, and creepy age verification? This author built a self-hosted music streaming solution offering superior sound quality, full ownership of their music, and enhanced privacy. The core components include the Navidrome music server, Lidarr for library management, and Last.fm/ListenBrainz for discovery. This setup not only improves the listening experience but also allows for more direct support of artists.

Read more
Development
← Previous 1 3 4 5 6 7 8 9 562 563