Reverse Engineering Linear's Sync Engine: A Deep Dive

2025-05-31
Reverse Engineering Linear's Sync Engine: A Deep Dive

This detailed study reverse-engineers Linear's Sync Engine (LSE), showcasing its elegant solution to challenges like supporting arbitrary data models, offering rich features (partial syncing, permission control, undo/redo, offline availability, and edit history), and providing a great developer experience. The author dissects LSE's model definition, MobX usage, bootstrapping process, local database construction, lazy data hydration, client-server synchronization, and undo/redo mechanisms through a deep dive into Linear's frontend code. The article explains how LSE defines models and metadata, performs bootstrapping and lazy loading, and handles transactions, incremental updates, and conflict resolution. LSE aims to empower developers to build collaborative applications without needing to be sync engine experts.

Read more
Development sync engine

Ruby Core Class Freezing Tool: Ruby Refrigerator

2024-12-31
Ruby Core Class Freezing Tool: Ruby Refrigerator

Ruby Refrigerator is a tool that freezes all Ruby core classes and modules, preventing unexpected modifications to core classes at runtime. It provides a `freeze_core` method to freeze core classes and a `check_require` method to check libraries for modifications to core classes. `check_require` supports options for predefining modules and classes, excluding specific classes, and specifying dependencies. A command-line tool, `bin/check_require`, is also provided for easy use. This tool is incredibly useful for ensuring code stability in production and testing environments.

Read more
Development freezing core classes

USAID's Demise: A Looming Humanitarian Crisis

2025-05-16
USAID's Demise: A Looming Humanitarian Crisis

The world's largest foreign aid agency, USAID, is effectively defunct. Budget cuts have led to the closure of numerous programs across Africa and Asia, including HIV centers, malaria prevention initiatives, and nutrition clinics. Researchers predict that cuts to just five programs could result in 483,000 to 1.14 million excess deaths in the next year, and 1.48 million to 6.24 million over five years. This highlights the crucial role of international development aid in global health and well-being, and the devastating consequences of its reduction.

Read more
Tech mortality

Microsoft's 1986 IPO: The Birth of a Tech Giant and the Seeds of a Bubble

2025-03-16
Microsoft's 1986 IPO: The Birth of a Tech Giant and the Seeds of a Bubble

On March 13, 1986, Microsoft's successful IPO raised $61 million, valuing the company at $777 million, marking the birth of a tech giant. However, this IPO also ignited the hunt for 'the next Microsoft,' directly contributing to the dot-com bubble of the late 1990s. Microsoft's delayed IPO, 11 years after its founding, stemmed from Bill Gates' desire to maintain control. Despite strong profitability, the need to attract talent through stock options ultimately pushed them public. Microsoft's success rested on its operating system's near-monopoly in the booming PC market and its diversified software portfolio. However, this success also led to antitrust concerns and subsequent legal battles. Microsoft's IPO not only created a tech empire but also sowed the seeds of the dot-com bubble, leaving a significant mark on tech history.

Read more

Global BGP Leak: Internet Disruption Caused by DDoS Mitigation Provider

2025-04-11
Global BGP Leak: Internet Disruption Caused by DDoS Mitigation Provider

This post analyzes a BGP routing mishap on April 1st, 2025. A BGP leak from a DDoS mitigation provider (AS3223) caused brief internet disruption and misdirected traffic globally. The leak lasted approximately 20 minutes, affecting over 30,000 routes. The analysis details the type of leak (path error, not origination error) and explores how RFC 9234's "Only to Customer" BGP path attribute could have prevented it. Using Kentik's BGP visualization and NetFlow data, the post illustrates the impact on internet traffic, including misdirected and dropped traffic.

Read more
Tech

PyPI Launches Organization Accounts for Enhanced Sustainability

2025-05-13
PyPI Launches Organization Accounts for Enhanced Sustainability

The Python Package Index (PyPI) has introduced organization accounts to improve platform sustainability and user experience. This feature allows teams to create self-managed accounts with exclusive web addresses, simplifying management for large projects and companies handling multiple sub-teams and packages. Community projects can use this for free, while corporate projects incur a small fee. All revenue will be reinvested into improving PyPI's support and infrastructure. This addresses PyPI's growth in downloads and bandwidth, and allows for faster response times. The feature is entirely optional and won't affect existing users.

Read more
Development Organization Accounts

Fibonacci Hashing: A Surprisingly Fast Hash Table Optimization

2025-04-16
Fibonacci Hashing: A Surprisingly Fast Hash Table Optimization

This article explores Fibonacci Hashing, a technique for mapping hash values to slots in a hash table that leverages the properties of the golden ratio. Benchmarks show it significantly outperforms traditional integer modulo operations, offering faster lookups and better robustness against problematic input patterns. The author explains the underlying mathematics and demonstrates its advantages, highlighting how it addresses common performance bottlenecks in hash table implementations. While not a perfect hash function, Fibonacci Hashing excels at mapping large numbers to smaller ranges, making it a valuable optimization for creating efficient hash tables.

Read more
Development

Toys 'R' Us: From Baby Goods to Retail Giant to Bankruptcy

2025-04-22
Toys 'R' Us: From Baby Goods to Retail Giant to Bankruptcy

Charles Lazarus, founder of Toys 'R' Us, leveraged keen business instincts to transform a small baby goods store into a toy retail behemoth. He pioneered the big-box store model, revolutionizing the toy retail landscape with a vast selection and supermarket-style approach. Capitalizing on post-war prosperity, he redefined the toy shopping experience. However, this once industry-dominant retailer ultimately succumbed to shifting retail dynamics, declaring bankruptcy in 2017, marking the end of an era.

Read more

WWII's Unsung Heroes: How Academics Won the War

2025-01-19
WWII's Unsung Heroes: How Academics Won the War

Elyse Graham's *Book and Dagger* reveals the surprising story of how scholars and librarians became pivotal spies during WWII. These 'scholar-spies,' working primarily for the OSS, didn't engage in traditional espionage. Instead, their expertise in information gathering, organization, and analysis provided crucial intelligence advantages. By meticulously sifting through seemingly mundane sources – newspapers, maps, phone books – they uncovered vital information that shifted the tide of the war. The book highlights how their contributions redefined intelligence gathering, influencing the CIA and other agencies for decades to come.

Read more

Running DOOM from a QR Code: A Tale of Extreme Compression

2025-04-18
Running DOOM from a QR Code: A Tale of Extreme Compression

Programmer Kuber Mehta has achieved the seemingly impossible: running the classic game DOOM directly from a QR code! Dubbed 'The Backdooms,' this project utilizes zlib and gzip compression, base64 encoding, and a cleverly designed self-extracting HTML wrapper to deliver a fully playable DOOM experience without any downloads. The development journey was fraught with challenges, requiring iterative adjustments to compression ratios and QR code versions. This incredible feat showcases the power of extreme compression and innovative application design, a testament to programmer ingenuity and perseverance.

Read more

Open Source DMR Modem Implementation with GNU Radio and Codec2

2025-04-19

This article details an open-source Digital Mobile Radio (DMR) modem implementation using Software Defined Radio (SDR), GNU Radio, and Codec2. This proof-of-concept modem, capable of voice calls, uses GNU Radio for the physical layer, MMDVMHost for the data link and partial call control layers, and Codec2 as the vocoder. Future development aims to incorporate more DMR standard features, including data messaging, Tier III functionality, and IPv4 transport. Tested with a LimeSDR-mini, the project faces challenges such as latency and precise TDMA timing.

Read more
Development

Why I Abandoned Self-Hosted Sentry: 16GB RAM and a Complex Installation Were the Dealbreakers

2025-04-18
Why I Abandoned Self-Hosted Sentry: 16GB RAM and a Complex Installation Were the Dealbreakers

The author recounts their experience abandoning self-hosted Sentry. Initially, due to work requirements, they successfully self-hosted Sentry. Years later, attempting to set up self-hosted Sentry for a colleague, they encountered numerous warnings in Sentry's documentation about the risks of self-hosting, along with demanding resource requirements (at least 16GB RAM and multiple cores). This proved to be costly and incredibly difficult to maintain, with the installation process involving hundreds of lines of scripts. Online user feedback confirmed the difficulty of maintaining self-hosted Sentry. Ultimately, the author gave up on self-hosting Sentry and decided to develop a more lightweight alternative.

Read more
Development

The Rise of the AI Cleanup Crew: Humans Fixing AI's Mess

2025-09-24
The Rise of the AI Cleanup Crew: Humans Fixing AI's Mess

The rise of AI tools like ChatGPT has led to a surge in low-quality content, dubbed "AI slop." This includes inaccurate, unoriginal, and unrealistic content across various media. Ironically, while AI displaces human jobs, it simultaneously creates a new industry: "digital janitors" who fix AI's mistakes. This highlights AI's limitations in creative work and the irreplaceable role of humans in ensuring quality and authenticity. We need to rethink the relationship between AI and human creativity to prevent the proliferation of AI slop and build a more authentic and sustainable digital world.

Read more

Stop Explaining *e* with Compound Interest

2025-04-11

Math classes often introduce the natural constant *e* using compound interest: a 100% annual interest account doubles with yearly compounding, becomes 2.25 times with semi-annual compounding, approximately 2.714 times with daily compounding, and exactly *e* times with continuous compounding. However, this is misleading. Compound growth is exponential, but the example uses linear division of compounding periods. Banks must separately publish the interest rate, compounding interval, and annual percentage yield. There are far more elegant ways to introduce *e*, such as its unique property of being its own derivative, or its crucial role in Euler's formula. These approaches don't require prior knowledge of *e* and are mathematically more rigorous.

Read more

Hands-On Guide to Large Language Models: Code and Illustrations Included

2025-04-19
Hands-On Guide to Large Language Models: Code and Illustrations Included

Jay Alammar and Maarten Grootendorst's new book, "Hands-On Large Language Models," provides a practical and visually rich guide to understanding and using LLMs. The book features numerous illustrations and accompanying code examples, making complex concepts accessible to a broad audience. With its comprehensive coverage and readily available code repository, it's a valuable resource for both beginners and experienced developers.

Read more
AI

Swahili: A Linguistic Tsunami Across Africa

2025-07-09

Swahili, originating from East Africa's coast, became central to Tanzanian national identity and nation-building under Julius Nyerere. Nyerere masterfully used Swahili to foster unity, overcome ethnic divisions, and integrate it into his philosophy of Ujamaa (African Socialism). Swahili's rise wasn't accidental; it transformed from a coastal trade language into an official language of the African Union, demonstrating its powerful vitality and influence. Today, Swahili is spoken by over 200 million people and its impact extends across the African continent and beyond.

Read more

MIT Students Outperform State-of-the-Art HPC Libraries with Hundreds of Lines of Code

2025-03-16
MIT Students Outperform State-of-the-Art HPC Libraries with Hundreds of Lines of Code

Researchers at MIT's CSAIL have developed Exo 2, a new programming language that allows programmers to write 'schedules' explicitly controlling how the compiler generates code, leading to significantly improved performance. Unlike existing User-Schedulable Languages (USLs), Exo 2 lets users define new scheduling operations externally to the compiler, creating reusable scheduling libraries. This enables engineers to achieve performance comparable to, or better than, state-of-the-art HPC libraries with drastically reduced code, revolutionizing efficiency in AI and machine learning applications.

Read more
AI

60k Lines of Lua Later: A Game Dev's Reflection

2025-04-18
60k Lines of Lua Later: A Game Dev's Reflection

Oleg from Luden.io interviews Ivan Trusov, lead programmer of the Lua-based game Craftomation 101 (~60,000 lines of code built with the Defold engine), about their experience. Ivan discusses Lua's pros and cons, such as the lack of increment operators and classes, and array indices starting from 1. Despite this, he appreciates Lua's simplicity and flexibility, particularly its powerful 'tables', but notes runtime errors can arise in large projects due to its dynamic typing. He compares Lua to Python and C++, and discusses the potential use of static analysis tools and potential Lua upgrades (like Luau). Ultimately, he finds Lua performs well within Defold, but for the next project, he might consider a more strongly typed language to catch errors at compile time.

Read more
Development

Sep 0.10.0: CSV Parsing Hits 21 GB/s with AVX-512 Optimizations

2025-05-09

Sep 0.10.0 achieves a blistering 21 GB/s CSV parsing speed on the AMD 9950X, a ~3x improvement since its initial release in 2023! This blog post delves into the suboptimal AVX-512 code generation in .NET 9.0 and how Sep's performance was boosted by circumventing mask register issues. The new AVX-512-to-256 parser outperforms both AVX2 and the older AVX-512 parsers. Multi-threaded benchmarks show Sep parsing a million rows in just 72ms on the 9950X, reaching 8 GB/s.

Read more
Development

Student Discovers Psychedelic Fungus with Pharmaceutical Potential

2025-06-07
Student Discovers Psychedelic Fungus with Pharmaceutical Potential

Corinne Hazel, a West Virginia University microbiology student, has discovered a new species of fungus, Periglandula clandestina, that produces ergot alkaloids similar to LSD. This discovery has significant pharmaceutical implications, as LSD is used to treat conditions like depression, PTSD, and addiction. Hazel's discovery, made while studying morning glory plants, was confirmed through genome sequencing. The fungus's high efficiency in producing ergot alkaloids opens new avenues for drug development and potential treatments for various ailments.

Read more
Tech fungus

punktf: Cross-Platform Dotfiles Manager for Seamless Configuration

2025-03-02
punktf: Cross-Platform Dotfiles Manager for Seamless Configuration

Tired of managing different dotfiles for different systems? punktf solves this problem! This cross-platform dotfile manager works on Windows, Linux, and macOS, letting you compile and deploy dotfiles across multiple targets with a single command. It uses a Handlebar-like syntax for conditional compilation and variable insertion, and allows for pre/post-hooks to customize behavior. One configuration, consistent developer experience across all your machines!

Read more
Development dotfile manager

RISC-V Emulator in ClickHouse SQL: Running Programs Inside a Database

2025-06-04
RISC-V Emulator in ClickHouse SQL: Running Programs Inside a Database

This project builds a RISC-V emulator using ClickHouse SQL, making ClickHouse Turing complete. The emulator leverages ClickHouse's materialized views and Redis for memory, simulating CPU instruction execution through a series of SQL commands. While current performance is hampered by a bug in ClickHouse's KV storage engine, it can already run simple RISC-V programs and supports features like printing, file operations, and network communication. This offers a novel approach to running programs directly within a database, but performance bottlenecks need to be addressed.

Read more
Development

Flopper Ziro: A Cheap, Open-Source Flipper Zero Clone

2025-07-10
Flopper Ziro: A Cheap, Open-Source Flipper Zero Clone

Flopper Ziro is a cheap, DIY, and fully open-source Flipper Zero clone built using the Arduino IDE. While not a professional device, it aims to replicate core Flipper Zero functionalities like RubberDucky, RFID/NFC (work in progress), IR, and RF. Programmable via Arduino IDE, it allows saving/loading data from an SD card. The project is under development, with plans to improve SD card functionality, finish RF scanning and sending, and add more RFID/NFC capabilities.

Read more

ZLinq: A Radical Optimization and Extension of LINQ

2025-05-20
ZLinq: A Radical Optimization and Extension of LINQ

ZLinq is a .NET LINQ library that dramatically improves LINQ performance through clever architecture and optimization strategies. It introduces the `IValueEnumerator` interface, replacing the traditional `MoveNext` and `Current` with `TryGetNext` to reduce method calls. Furthermore, it supports `Span` and SIMD operations, and provides LINQ support for tree structures like JSON and Unity's GameObjects. ZLinq's optimizations aim to minimize allocations and method calls, resulting in faster processing, especially beneficial when dealing with large datasets or performance-critical scenarios.

Read more
Development

Game Devs Boycott GDC Over US Political Climate

2025-03-16
Game Devs Boycott GDC Over US Political Climate

A Swedish game developer is boycotting events like GDC in the US due to concerns about the increasingly extreme political climate, particularly the crackdown on LGBTQ+ rights. She cites feeling unsafe and scared in the US as an LGBTQ+ person. Other developers share similar concerns, viewing the US as no longer a safe place to conduct business and calling for the game industry to become more globally minded, moving beyond a North American-centric approach. While GDC organizers report business as usual, the boycott reflects the impact of the US political environment on the international gaming industry.

Read more
Game

Sharp Drop in US International Arrivals: A Data-Driven Investigation

2025-04-07
Sharp Drop in US International Arrivals: A Data-Driven Investigation

Analyzing data from the CBP's Average Wait Time website, the author reveals a significant decline of over 10% in foreign travelers to the US since March. To validate the data's reliability, the author compared it to US traveler data, finding that only foreign arrivals decreased, ruling out data entry delays. While acknowledging data limitations and seasonal factors, the trend warrants attention, hinting at potential policy or other influences. The author uses San Antonio theft data as a parallel example, highlighting the need for caution in analyzing early data and accounting for potential biases and incomplete data sets. This detailed analysis underscores the importance of rigorous data verification before drawing conclusions.

Read more

My Favorite LaTeX Fonts: A Deep Dive into Seven Free Options

2025-05-20

Lino Ferreira shares his top seven favorite LaTeX fonts, providing a detailed comparison of their strengths and weaknesses. From the classic Bembo to the modern Libertine, each font is accompanied by historical context, design rationale, and LaTeX usage examples. The article also explores the pairing of serif and sans-serif fonts, and the differences between OpenType and Type 1 fonts, offering valuable guidance for LaTeX users in font selection.

Read more
Development

Stop Making Software Act Like Annoying Salespeople!

2025-04-23

This article criticizes tech companies for designing software to behave like manipulative salespeople with ulterior motives, rather than precise machines. Examples like YouTube's persistent recommendation of unwanted shorts demonstrate this frustrating user experience. The author argues this damages people's understanding of computers, especially younger generations who believe software should be persuasive rather than obedient to clear instructions. The call to action is a return to precise, predictable software behavior, not human-like mimicry.

Read more
Design

Google Bets Big on Advanced Nuclear Energy to Hit 2030 Net-Zero Goals

2025-05-08
Google Bets Big on Advanced Nuclear Energy to Hit 2030 Net-Zero Goals

Google announced a collaboration with South Carolina-based Elementl Power, investing in three advanced nuclear energy projects to address the growing carbon emissions from its expanding data centers. This move supports Google's 2030 net-zero emissions goal and its commitment to 24/7 carbon-free energy. Elementl Power, using next-generation nuclear technology, aims to bring over 10 gigawatts of clean energy online in the US by 2035. The partnership highlights tech giants' proactive approach to decarbonization and the global energy transition.

Read more
Tech

SEC Drops Lawsuit Against Binance: A Shift in Crypto Regulation?

2025-05-29
SEC Drops Lawsuit Against Binance: A Shift in Crypto Regulation?

The U.S. Securities and Exchange Commission (SEC) voluntarily dismissed its civil lawsuit against Binance, the world's largest cryptocurrency exchange. This move is seen as a shift in the SEC's approach to crypto regulation since the Trump administration's return. The SEC had previously accused Binance of artificially inflating trading volumes, misappropriating customer funds, and misleading investors. The dismissal means the SEC cannot pursue this case again. Binance welcomed the decision, viewing it as a landmark moment for innovation to thrive under sensible regulation. It's important to note that this isn't Binance's only legal challenge; it previously paid over $4.3 billion for violating anti-money laundering and sanctions laws.

Read more
Tech Binance
1 2 28 29 30 32 34 35 36 596 597