Debouncing Switches: It's More Complex Than You Think

2025-01-08

This article delves into the complexities of mechanical switch bouncing. The author conducted experiments on 18 different switch types, revealing bounce times ranging from nanoseconds to hundreds of milliseconds, significantly impacted by switch type and actuation method. The findings highlight the inadequacy of simple software debouncing techniques for all scenarios, emphasizing the need for context-specific hardware or software solutions. Analysis reveals that besides physical contact bounce, analog signal transitions within TTL logic levels contribute to logical bouncing. The results challenge assumptions about switch behavior and call for more robust debouncing strategies.

Read more

Apple Faces Class-Action Lawsuit Over 'Carbon Neutral' Apple Watches

2025-03-01
Apple Faces Class-Action Lawsuit Over 'Carbon Neutral' Apple Watches

Apple is facing a class-action lawsuit alleging misleading claims that certain Apple Watches are carbon neutral. Plaintiffs argue that Apple's reliance on questionable carbon offset projects, which didn't actually reduce greenhouse gas emissions, constitutes false advertising. The suit highlights the challenges of making sustainability promises through carbon offsets, with environmental advocates pushing for cleaner energy and more durable, repairable products. Apple maintains it significantly reduced Apple Watch emissions and invests in nature-based carbon removal projects. However, the lawsuit questions the effectiveness of these projects, claiming they don't represent additional CO2 reduction. This case underscores the challenges companies face in environmental responsibility and growing consumer scrutiny of sustainability claims.

Read more

Zenobē's 300MWh Battery Project: Powering Scotland's Green Energy Transition

2025-03-04
Zenobē's 300MWh Battery Project: Powering Scotland's Green Energy Transition

Zenobē, a UK-based energy company, is constructing a massive 300MW/600MWh battery storage project, Blackhillock, in Scotland. This will be Scotland's largest battery storage facility to date, representing 32% of the country's current installed capacity. Funded by £101m in debt financing, the project will provide vital grid stability services, reducing CO2 emissions by approximately 2.6 million tonnes annually and saving consumers over £170 million over 15 years. Blackhillock will also have the capacity to power over 3.1 million homes for two hours. Zenobē is a leading player in the UK EV bus sector, operating over 2,000 electric vehicles globally.

Read more

White House Hints at Using Gold Reserves to Buy Bitcoin

2025-03-25
White House Hints at Using Gold Reserves to Buy Bitcoin

A senior White House official hinted at the possibility of the U.S. using its gold reserves to acquire more Bitcoin. Bo Hines, executive director of the President’s Council of Advisers on Digital Assets, suggested this could be a budget-neutral way to increase Bitcoin reserves. He referenced the Bitcoin Act of 2025, proposing the US acquire 1 million Bitcoin over five years, funded by selling Federal Reserve gold certificates. President Trump also voiced his commitment to making the US a leading Bitcoin power.

Read more

Shunsaku Tamiya: A Legacy in Miniature

2025-07-30
Shunsaku Tamiya: A Legacy in Miniature

Shunsaku Tamiya, former president and chairman of Tamiya, Inc., passed away at age 90. He transformed Tamiya from a lumber supplier into a globally recognized maker of precision plastic model kits, RC vehicles, and Mini 4WD cars. His dedication to detail was legendary; to accurately recreate a Porsche 934, he famously disassembled a Porsche 911. Tamiya's legacy of quality and unique branding will endure for generations.

Read more

Basecamp Ditches AWS S3, Builds 18PB Private Storage

2025-03-30
Basecamp Ditches AWS S3, Builds 18PB Private Storage

Basecamp, the company behind HEY and Basecamp, is leaving AWS S3 after a four-year contract expires on June 30th. They've built a private storage solution using Pure Storage, boasting 18PB of NVMe storage. An S3-compatible API simplifies the transition, although migrating 6PB of data will take roughly three weeks. This move avoids hefty S3 renewal fees, saving nearly $5 million over five years.

Read more
Tech

Why I Ditched Clojure for Common Lisp

2025-01-12

After seven years with Clojure, a programmer switched to Common Lisp due to frustrations with slow startup times and difficulties creating native executables. Key factors in his decision included the need for fast, standalone executables, Vim compatibility, cross-platform support, robust multithreading, and a vibrant community with a rich ecosystem. Common Lisp ultimately won out due to its mature tooling, powerful CLOS and Conditions system, and fast runtime.

Read more
Development

Adventures in Implementing Flash Attention in CUDA C++

2025-08-23

This post details the author's journey in implementing and optimizing Flash Attention in CUDA C++. Starting with a basic implementation, the author progressively refines the kernel using techniques like shared memory swizzling, two-stage pipelining, and more efficient ldmatrix usage. Through iterative profiling and optimization, the final implementation achieves near hardware-theoretical-limit performance. The post also delves into the intricacies of online softmax implementation and resolving shared memory bank conflicts, providing valuable insights for CUDA C++ developers.

Read more
Development

Passive Investing's Rise: Is the Myth of Market Efficiency Broken?

2025-01-31
Passive Investing's Rise: Is the Myth of Market Efficiency Broken?

Recent market volatility has sparked questions about market efficiency. A new study suggests the rise of passive investing has led to slower reactions by active managers to price discrepancies, amplifying the impact of individual trades. The growing dominance of index funds has decreased market sensitivity to price changes, potentially leading to increased volatility, reduced capital allocation efficiency, and even market failure. While the study's conclusions remain debated, it raises concerns about the potential risks of passive investing, particularly its impact on large-cap stocks.

Read more

Annotated Transformer: A Line-by-Line Implementation

2025-08-26

This document presents an annotated, line-by-line PyTorch implementation of the Transformer paper. It reorders and removes some sections from the original paper and adds comments throughout. The notebook provides a complete, runnable implementation, explaining the Transformer architecture (encoder, decoder, attention, positional encoding, etc.), training process, and a real-world example (Multi30k German-English translation).

Read more
Development

Automattic Hit with Class-Action Lawsuit: A WordPress Power Play?

2025-02-26
Automattic Hit with Class-Action Lawsuit: A WordPress Power Play?

A class-action lawsuit has been filed against Automattic and its CEO, Matt Mullenweg, by cybersecurity expert Ryan Keller on behalf of thousands of WP Engine customers. The suit alleges Automattic abused its control over WordPress.org, cutting off WP Engine's access to crucial services, causing disruptions, security risks, and financial losses. While Automattic claims its actions were to protect WordPress's long-term interests, Keller argues it was a calculated move to cripple a competitor, characterizing it as an abuse of the open-source internet architecture. The case highlights a trademark dispute and questions the governance of WordPress, raising concerns about the power wielded by a single entity over a significant portion of the internet. The legal battle promises to be a significant development in the ongoing discussion about open source sustainability and the potential for abuse of dominant positions in the technology sector.

Read more

EU Initiative Boosts Multilingual LLMs and Data Access

2025-02-20
EU Initiative Boosts Multilingual LLMs and Data Access

The EU has launched an ambitious project to enhance the multilingual capabilities of existing large language models, particularly for EU official languages and beyond. The initiative will ensure easy access to foundational models ready for fine-tuning, expanding evaluation results across multiple languages, including AI safety and alignment with the AI Act and European AI standards. It also aims to increase the number of available training datasets and benchmarks, improve accessibility, and transparently share tools, recipes, and intermediate results from the training process, as well as dataset enrichment and anonymization pipelines. The ultimate goal is to foster an active community of developers and stakeholders across the public and private sectors.

Read more
AI

The Curious Case of the Public Domain Jaws Poster

2025-06-20
The Curious Case of the Public Domain Jaws Poster

Celebrating the 50th anniversary of Jaws, a surprising fact emerges: due to a quirk of copyright law, the iconic shark painting from the movie poster is in the public domain. Initially rejected for resembling a "vagina with teeth," the artwork underwent revisions before becoming a classic. However, the lack of a copyright notice upon its 1975 publication inadvertently forfeited the image to the public domain, leaving artist Roger Kastel to unsuccessfully fight for copyright recognition years later and missing out on millions in royalties. The original painting's whereabouts remain a mystery, adding another layer to this fascinating tale of copyright and public domain, sparking discussion on artist rights and the commons.

Read more
Design Jaws

Apple Music's New DJ Feature: Millions of Tracks at Your Fingertips

2025-03-27
Apple Music's New DJ Feature: Millions of Tracks at Your Fingertips

Apple Music has launched a new DJ feature, allowing subscribers to create and mix sets directly from its massive music library. The feature integrates with leading DJ software and hardware platforms like AlphaTheta, Serato, and InMusic's Engine DJ, Denon DJ, Numark, and Rane DJ, building on existing integration with Algoriddim's djay Pro. DJs of all levels gain access to Apple Music's 100+ million song catalog to create and rehearse sets. Beyond seamless workflow integration, Apple Music provides curated playlists and a dedicated DJ category page, enhancing the creative process for DJs.

Read more
Tech

RISC OS 3.11 GUI: A Retrospectively Advanced Desktop

2025-05-18

This article delves into the unique graphical user interface (GUI) of RISC OS 3.11, released in 1992 by Acorn Computers. Unlike contemporaries like Apple's System 7, RISC OS 3.11 featured a distinct desktop layout with a Pinboard and Icon Bar, innovative three-button mouse interactions, and a menu system seamlessly integrating dialog boxes. Its unconventional approach to window management, including focus and stacking order, along with its drag-and-drop file handling and custom file type support, stands out. The system's intelligent use of mouse buttons reduced keyboard modifier reliance. RISC OS 3.11's GUI remains a fascinating example of unconventional design that offers valuable lessons even today.

Read more
Development

Lago: Beyond PDF Billing – Empowering Engineers

2025-01-27
Lago: Beyond PDF Billing – Empowering Engineers

Lago is a revolutionary billing system designed to eliminate the tedious PDF generation process inherent in traditional billing systems. Traditional systems force engineers to build scripts for complex usage calculations and manual import into billing platforms, diverting valuable resources. Lago's custom SQL expressions feature allows users to send raw data directly, automating calculations, aggregation, and deduplication to generate invoices. This frees engineers to focus on product development, supporting various billing models (per-user, storage-based, etc.) and handling complex discounts and multi-cloud scenarios.

Read more

Actionate: GitHub Actions Integration for JetBrains IDEs

2025-01-25
Actionate: GitHub Actions Integration for JetBrains IDEs

Actionate is a plugin that brings the power of GitHub Actions directly into your JetBrains IDE, creating a unified development environment. It eliminates context switching by allowing you to manage and run workflows, view detailed logs, and rerun jobs directly within your IDE. Actionate supports multiple GitHub accounts, manual workflow triggers with custom parameters, and provides comprehensive workflow run details. This seamless integration significantly boosts developer productivity.

Read more
Development Developer Tool

LinkedIn: The Anonymous Whistleblower Platform for Workplace Bullying?

2025-01-12
LinkedIn: The Anonymous Whistleblower Platform for Workplace Bullying?

A growing number of employees are bypassing HR and publicly sharing their experiences of workplace bullying on LinkedIn. Lawyer Stefanie Costi's post, viewed millions of times, exposed the prevalent toxic work culture, the ineffectiveness of HR departments, and the struggles employees face in seeking help. The article explores the reasons behind this phenomenon and how employees, HR, and companies should address workplace toxicity. Some experts warn that public complaints may backfire, suggesting employees try internal channels first; others argue that LinkedIn has become a vital community platform, allowing employees to support each other and drive improvements in the workplace environment.

Read more

Hexi: A Lightweight C++23 Library for Safe Binary Data Handling

2025-03-28
Hexi: A Lightweight C++23 Library for Safe Binary Data Handling

Hexi is a lightweight, header-only C++23 library for safely handling binary data from arbitrary sources (primarily network data). It bridges the gap between manually memcpying bytes and full-blown serialization libraries. Designed for ease of use, safety with untrusted data, flexibility, and minimal overhead, Hexi supports custom containers (including non-contiguous ones), exception handling, and bounds checking. Additional features include buffer types for binary files, static/dynamic buffers, and a thread-local block allocator.

Read more
Development Binary Data

Kiro: Amazon's Agentic IDE Revolutionizes Development

2025-07-25
Kiro: Amazon's Agentic IDE Revolutionizes Development

As an AWS Community Builder, I got early access to Kiro, Amazon's new AI-powered development IDE. Kiro isn't just another code completion tool; it's an 'agentic' IDE capable of understanding and executing complex, multi-step projects. I built a portfolio website, contributed to open-source projects, and developed internal tools, demonstrating Kiro's significant productivity boost. Kiro's core is 'spec-driven development': invest upfront time defining requirements and architecture, then let Kiro autonomously execute much of the coding. While Kiro has limitations—it might need manual intervention with complex issues—it signals a fundamental shift in software development: from writing code to steering AI.

Read more
Development Agentic IDE

NZ Service Provider Pwned: A Responsible Disclosure Story

2025-03-27

A security researcher discovered a critical database vulnerability in a New Zealand app, KiwiServices, during a penetration test. By manipulating a simple HTTP request, they bypassed authentication and accessed the entire user database, exposing sensitive information like names, emails, and phone numbers. The researcher responsibly disclosed the vulnerability, and KiwiServices fixed it within 30 days. This highlights the importance of security testing and prompt patching.

Read more
Development

43 Years Later, Recreating My Father's Epic Canoe Trip

2025-03-22

In 1974, the author's father and uncle embarked on an epic canoe journey down the Inside Passage, a challenging adventure that became a family legend. Years later, the author creates a documentary about this trip, ultimately joining his father, uncle, and brother to complete the unfinished journey. This recreation wasn't just about reliving the past; it was a profound exploration of family legacy, personal identity, and the enduring power of shared experience.

Read more
Misc legacy

Visualizing the World's Books in ISBN-Space

2025-02-01
Visualizing the World's Books in ISBN-Space

A developer created a stunning visualization of the world's books using ISBNs. Clever algorithms and space-filling curves map massive datasets into a 2D space, rendered in real-time with WebGL and GLSL shaders. Users can explore publication years, countries, and more, even customizing the visualization. This project showcases the power of data visualization and a developer's passion for knowledge and technology.

Read more
Development

Unraveling the Math Behind NYT's Daily Word Game 'Waffle'

2025-01-17
Unraveling the Math Behind NYT's Daily Word Game 'Waffle'

A paper on arXiv explores the mathematics behind the New York Times' daily word game, Waffle. Author S.P. Glasby delves into the combinatorial properties of the game, explaining why some puzzles are easy while others are exceptionally difficult. The research reveals that a perfect solution requires precisely 11 orbits among the 21 squares, with at least one orbit of length 1. This provides a mathematical framework for understanding and potentially improving similar word puzzles.

Read more
Game

Let Users Help Solve Their Own Transit Problems: Beyond Algorithmic Route Planning

2025-01-16

The author criticizes current map apps for relying solely on algorithms to plan public transit routes, neglecting user needs and expertise. He proposes allowing users to customize route options, such as specifying particular bus route combinations, and including these in route planning comparisons. This mirrors the "report spam" and "not spam" functions of email filters, improving algorithms through user feedback. Despite privacy concerns, user participation could enhance route accuracy and user satisfaction, ultimately improving algorithms. The ability for users to add their own route combinations, even without sharing data, would be a significant improvement.

Read more
Development public transit

Elegantly Solving the Expression Problem: Multiple Dispatch and Open Methods

2025-09-07

This article delves into the 'expression problem,' a challenge plaguing both object-oriented and functional programming: adding new data types and operations without modifying existing code. Using C++ and Haskell examples, the author illustrates the problem's core. Traditional OOP struggles to extend types and operations simultaneously, and functional programming faces similar limitations. The article deeply analyzes the visitor pattern and its extensions, ultimately using Clojure's multimethods and protocols to demonstrate how multiple dispatch and open methods elegantly solve the expression problem, enabling flexible and extensible code.

Read more
Development multiple dispatch

Quantum Random Number Generators: A Breakthrough from Theory to Practice

2025-06-16
Quantum Random Number Generators: A Breakthrough from Theory to Practice

Recent years have witnessed significant advancements in Quantum Random Number Generators (QRNGs). Researchers have leveraged the principles of quantum mechanics to overcome the biases inherent in traditional random number generators, achieving true randomness. From initial theoretical explorations to current experimental verifications based on Bell's theorem, QRNGs have become crucial for ensuring data security and cryptographic applications. This article reviews the development of QRNG technology, encompassing various implementation methods and exploring its future applications in fields such as quantum computing and cryptography.

Read more

Airbus A320 Family Poised to Surpass Boeing 737 as Top-Delivered Airliner

2025-08-18
Airbus A320 Family Poised to Surpass Boeing 737 as Top-Delivered Airliner

Airbus's A320 family of narrow-body jets is on the verge of surpassing Boeing's 737 family as the world's most-delivered commercial airliner, according to Cirium data. This milestone, nearly four decades in the making, marks a significant win for Airbus in its long-standing competition with Boeing. The A320's success is attributed to its innovative fly-by-wire technology, flexible engine options, and the fuel-efficient 'neo' variant, while Boeing's 737 MAX grounding provided a crucial opportunity. Despite Boeing's early lead, Airbus's continuous improvements and innovations have propelled the A320 to surpass its rival in delivery numbers.

Read more

I Dropped My Phone The Screen Cracked: A Web Audio Library for Simplified Audio Programming

2025-05-16
I Dropped My Phone The Screen Cracked: A Web Audio Library for Simplified Audio Programming

I Dropped My Phone The Screen Cracked is a novel Web Audio library that simplifies creating, configuring, and connecting audio nodes in the browser using method chaining and CSS-style selectors. It supports macro definitions and plugin creation, making audio programming as intuitive as patching a modular synthesizer, allowing for concise and expressive complex audio processing. Developers can easily create and connect audio nodes via method chaining, manipulate them with selectors, and use macros to encapsulate node chains into reusable units, improving code readability and maintainability.

Read more
Development Audio Programming

Castle Game Engine Update: Web Target, IFC Support, and mORMot Collaboration

2024-12-18
Castle Game Engine Update: Web Target, IFC Support, and mORMot Collaboration

The Castle Game Engine team announced updates including a web target (using JS+WebAssembly for browser-based game execution), support for the IFC (Industry Foundation Classes) format, and collaborative editing using mORMot2. The web target currently handles basic functions and is improving WebGL support. IFC support allows loading, modifying, and saving models, with future enhancements planned. Collaborative editing is still under development but already enables 3D world modification and server synchronization.

Read more
Development game engine
1 2 487 488 489 491 493 494 495 596 597