A Java JIT Compiler and Runtime in Common Lisp: OpenLDK

2025-02-06
A Java JIT Compiler and Runtime in Common Lisp: OpenLDK

OpenLDK is a Just-In-Time (JIT) compiler and runtime environment for Java, implemented entirely in Common Lisp. It bridges the gap between Java and Common Lisp by incrementally translating Java bytecode into Lisp, then compiling it into native machine code. This unique approach allows seamless mapping of Java classes to Common Lisp Object System (CLOS) classes, enabling effortless integration between Java and Common Lisp codebases. While not designed for high performance, OpenLDK offers a practical solution for integrating Java libraries into a Lisp workflow. Currently, it primarily supports Linux and SBCL, and is a work in progress with many features yet to be implemented, such as support for class files beyond Java 8 and bytecode verification.

Read more
Development

Thread Safety Nightmare: A Mysterious Crash on ARM64, Even with Safe Rust

2025-01-22
Thread Safety Nightmare: A Mysterious Crash on ARM64, Even with Safe Rust

While porting network I/O code from Python to Rust in EdgeDB, a mysterious crash on ARM64 platforms emerged. Initially suspected to be a deadlock, the root cause turned out to be thread-unsafe behavior in the `setenv` and `getenv` functions. On ARM64, the `openssl-probe` library uses `setenv` to set environment variables, while another thread concurrently calls `getenv`. This reallocates the `environ` array, leading to a crash. The solution involved switching reqwest's TLS backend from rust-native-tls to rustls. This highlights how even in memory-safe Rust, interactions with the C standard library can still introduce thread safety issues.

Read more

Daylight DC-1: A Monochromatic Tablet That Reimagines Computing

2025-02-19

The Daylight DC-1 is a unique grayscale tablet prioritizing a healthy relationship with light and the outdoors. The author's experience on an Amtrak train highlighted its readability in direct sunlight, comfortable nighttime use, and the ease of using Android. While it has some shortcomings, such as keyboard support, software roughness, and missing features, it's an impressive device, particularly its innovative display technology. The author ultimately praises its potential and the company's direction.

Read more
(jon.bo)

Steve Reich's Clapping Music, Reimagined with Flip-Disc Displays

2025-01-24
Steve Reich's Clapping Music, Reimagined with Flip-Disc Displays

An artist ingeniously recreates Steve Reich's iconic 'Clapping Music' using two flip-disc displays. By controlling the flipping of individual segments, they produce a rhythmic sound reminiscent of clapping. The project showcases a blend of hardware and software, demonstrating a unique artistic approach to sound and visuals. The code is open-source, inviting others to experiment and build upon the work.

Read more
Hardware Creative

Guédelon Castle: A Living Experiment in Medieval Archaeology

2025-08-19
Guédelon Castle: A Living Experiment in Medieval Archaeology

Guédelon Castle in Burgundy, France, isn't just a reconstruction; it's a living experiment in medieval archaeology. Using only 13th-century tools and techniques, a team of skilled artisans is building a real 13th-century castle. The project, decades in the making, reveals historical mysteries, from window materials (initially goatskin, later beeswax-stiffened linen) to mortar recipes and scaffolding techniques. Each obstacle encountered is an opportunity to solve a medieval-style problem, illuminating the ingenuity and teamwork of medieval builders. Guédelon is more than a castle; it's a vibrant historical lesson, attracting visitors and scholars worldwide.

Read more

DiffRhythm: Generating Full-Length Songs in 10 Seconds

2025-03-04

DiffRhythm is a groundbreaking AI model that generates complete songs with vocals and accompaniment in just ten seconds, reaching lengths of up to 4 minutes and 45 seconds. Unlike previous complex multi-stage models, DiffRhythm boasts a remarkably simple architecture, requiring only lyrics and a style prompt for inference. Its non-autoregressive nature ensures blazing-fast generation speeds and scalability. While promising for artistic creation, education, and entertainment, responsible use requires addressing potential copyright infringement, cultural misrepresentation, and the generation of harmful content.

Read more

Toyota's Woven City: Phase 1 Complete, First Residents Moving In

2025-02-26
Toyota's Woven City: Phase 1 Complete, First Residents Moving In

Toyota Motor Corporation has announced the completion of phase one of its futuristic city, Woven City, located southwest of Tokyo. Spanning over 700,000 square meters, this innovative urban development will integrate autonomous vehicles, robotics, and advanced digital technologies to offer residents a unique and technologically advanced living experience. The city features dedicated roads for autonomous vehicles, pedestrian zones, and underground passageways for deliveries and waste management. Approximately 360 Toyota employees and their families will begin moving in during the second half of this year, with a projected population of 2,000 residents eventually.

Read more
Tech

AI-Generated CSAM: A First Amendment Showdown

2025-03-20
AI-Generated CSAM: A First Amendment Showdown

A recent US district court case involving AI-generated child sexual abuse material (CSAM) has ignited a First Amendment debate. The court ruled that private possession of AI-generated virtual CSAM is protected under the First Amendment, but production and distribution are not. This case highlights the challenges and legal complexities faced by law enforcement in combating AI-enabled child sexual exploitation and abuse.

Read more

Google Maps Labels US as 'Sensitive Country' Amidst Gulf of Mexico Name Change

2025-02-01
Google Maps Labels US as 'Sensitive Country' Amidst Gulf of Mexico Name Change

Google Maps has reclassified the United States as a 'sensitive country,' a designation shared with nations like China and Russia, following its confirmation of renaming the Gulf of Mexico to the Gulf of America. This move, prompted by Trump's executive order, has sparked debate, highlighting the impact of political shifts on tech companies' operations and perceptions of the US globally. The reclassification raises concerns about the changing global perception of the United States under Trump's presidency.

Read more

OpenEoX: Revolutionizing Cybersecurity and Product Lifecycle Management

2025-05-12
OpenEoX: Revolutionizing Cybersecurity and Product Lifecycle Management

OpenEoX standardizes End-of-Life (EOL) and End-of-Support (EOS) policies across vendors and open-source maintainers, dramatically reducing cybersecurity risks. It allows organizations to quickly identify unsupported products, enabling timely retirement or replacement of outdated, vulnerable systems. This leads to a more secure IT environment. OpenEoX's machine-readable format enables automated vulnerability management, providing real-time monitoring and alerts for proactive risk mitigation. Further benefits include simplified product management, enhanced customer confidence, and smoother technology transitions.

Read more

13 Plays to Build Great Government Digital Services

2025-02-23

This article outlines 13 key steps for building excellent government digital services. It covers user needs research, end-to-end experience design, simple and intuitive interfaces, agile iterative development, budget and contract management, team leadership and member selection, technology stack selection, flexible hosting environments, automated testing and deployment, security and privacy management, data-driven decision-making, and open principles. Each step provides a detailed checklist and key questions to help government agencies build user-centered, efficient, reliable, and secure digital services, ultimately improving the public service experience.

Read more
Development digital services

We Should Own the Economy: A Movement to Redistribute Capital

2025-03-20
We Should Own the Economy: A Movement to Redistribute Capital

This article launches a movement to address wealth and power imbalances by changing who owns capital. The author argues that current capitalism concentrates wealth in the hands of a few, threatening democracy. To counter this, they're writing a book, "We Should Own the Economy," crowdfunded to research solutions. The book will explore how to broaden capital ownership, including employee ownership structures, purpose-driven businesses, and new financial platforms. Readers are invited to participate, co-creating a fairer, more inclusive economic system.

Read more

Whonix: The Ultimate Privacy OS

2025-01-12
Whonix: The Ultimate Privacy OS

Whonix is a Linux-based virtual machine operating system designed for maximum internet privacy and anonymity. It achieves this by routing all internet traffic through the Tor network and implementing multi-layered security measures, including browser fingerprinting protection, keystroke cloaking, and strict access controls, to protect users from tracking and malware. Whonix's design philosophy is 'all Tor,' and it offers features like anonymous web server hosting and Live Mode to ensure user security and anonymity online.

Read more
Development anonymity

Save 120+ Hours: AI-Powered Steam Data Analysis

2025-02-24
Save 120+ Hours: AI-Powered Steam Data Analysis

Save over 120 hours per month on Steam data scraping! This service uses AI to automatically scrape and clean Steam data, providing insightful analytics to help you understand the Steam market and make informed game development decisions. Whether crafting a pitch deck or assessing market competition, data-driven insights eliminate guesswork, empowering strategic game development.

Read more

Unlocking Extreme Productivity with Claude Code and Background Agents

2025-07-18

This post details the author's experience using Claude Code and their tool, Terragon, for AI-assisted programming. Terragon manages multiple background Claude Code agents, running them in the cloud and automatically creating pull requests, dramatically boosting productivity. The author's workflow involves assigning tasks to Terragon's agents and then locally reviewing and testing. This hybrid approach allows for parallel task management, significantly increasing output, especially for repetitive tasks, code cleanup, and debugging. The post also shares lessons learned, including understanding the model's strengths and weaknesses, knowing when to abandon unsuccessful attempts, and effective time management.

Read more
Development

Beyond Autocomplete: TypeLeap UI/UX – Interfaces that Anticipate Your Needs

2025-03-08

TypeLeap UI/UX represents a paradigm shift in interface design. Leveraging Large Language Models (LLMs), it dynamically adapts the interface in real-time based on the user's typing intent, going far beyond simple autocomplete. Instead of just predicting words, TypeLeap understands the user's goal. Typing "weather in San..." might instantly display a weather widget. The article details the technical challenges and solutions, including local vs. server processing, performance optimization, and user feedback mechanisms. While practical examples are scarce, TypeLeap's potential is vast, promising a more intuitive and efficient user experience across search, knowledge management, AI assistants, and beyond.

Read more
Development AI interfaces UX design

WFH: Longer Days, More Meetings, and Zoom Fatigue

2025-05-16
WFH: Longer Days, More Meetings, and Zoom Fatigue

A Harvard Business School study reveals that during the early days of the pandemic, remote workers experienced an 8.2% increase in their average workday (48.5 minutes). While meeting frequency rose, individual meetings shortened. Analyzing data from 3.1 million people across 16 global cities, researchers found that remote work blurred work-life boundaries, leading to longer hours and employee burnout. Managers are advised to focus on output, not hours worked, and to empathize with employees' unique circumstances.

Read more
Tech work hours

Multiply's AI Platform Escapes Database Constraints with Rama

2025-03-05
Multiply's AI Platform Escapes Database Constraints with Rama

Multiply, an AI-powered platform for collaboration and co-creation, initially used Datomic and XTDB, but faced challenges with understandability, performance bottlenecks, and fault tolerance. Switching to the Rama platform, they leveraged custom PStates (partitioned states) for flexible data modeling and efficient querying, drastically improving development speed and scalability. Rama's event-sourcing architecture and powerful dataflow API enabled Multiply to implement complex business logic with cleaner code, easily building previously impossible features. The result: a highly productive team despite its small size.

Read more
Development

Building a Simple SQL Query Evaluator

2025-02-19
Building a Simple SQL Query Evaluator

This post details building a simple SQL query evaluator capable of handling basic SELECT statements. The author starts by creating a simple test database, then improves upon previous work on SQLite file format parsing and SQL parsing to handle more complex queries. The core is the implementation of `Operator` and `Planner`; `Operator` executes database operations, and `Planner` translates parsed SQL into `Operator`. Currently, it lacks support for filtering, sorting, grouping, and joins, but lays the foundation for adding these features. Improvements to the `Pager` for concurrent access are also described.

Read more
Development Query Evaluator

Mysterious Squares in Windows Filenames: A UTF-16 Surrogate Pair Adventure

2025-02-26

This article describes a curious phenomenon in Windows: many small executables with strange squares in their names appearing in Task Manager. These files are not malicious; the issue stems from the use of UTF-16 surrogate pairs in filenames. UTF-16, to accommodate extended Unicode characters, uses surrogate pairs to represent characters beyond the Basic Multilingual Plane. When string manipulation produces isolated or malformed surrogate pairs, filenames become unrenderable. The article explains surrogate pairs and provides a Python script to generate files with unrenderable filenames, reproducing the phenomenon.

Read more
Development Surrogate Pairs

SmolGPT: A Minimal PyTorch Implementation for Training Small LLMs

2025-01-29
SmolGPT: A Minimal PyTorch Implementation for Training Small LLMs

SmolGPT is a minimal PyTorch project designed for educational purposes, allowing users to train their own small language models (LLMs) from scratch. It features a modern architecture incorporating Flash Attention, RMSNorm, and SwiGLU, along with efficient sampling techniques. The project provides a complete training pipeline, pre-trained model weights, and text generation examples, making it easy to learn about and experiment with LLM training.

Read more
Development LLM training

Unlock AI Innovation: Risk-Free Vector Search for Existing Apps

2025-01-26
Unlock AI Innovation: Risk-Free Vector Search for Existing Apps

This blog post demonstrates how to seamlessly integrate vector search into existing applications without the need for complete re-platforming. The author uses a simple recommendation engine example, combining cat image embeddings with TPCC purchase history data to recommend products based on visually similar cats. This showcases how AI functionalities can be added to existing apps using enhanced SQL syntax and APIs, highlighting the importance of testing database engines, vector indexes, and I/O subsystems under heavy concurrent workloads. The author emphasizes the low-hanging fruit of adding AI to existing infrastructure.

Read more
Development database performance

Code Colocation: The Secret to Maintainable Codebases

2025-02-19

This article champions code colocation as a key to maintainable software. The author argues that keeping code comments, templates, CSS, unit tests, and application state close to their related code significantly improves maintainability, applicability, and ease of use. Compared to scattering these elements across various directories, colocation avoids synchronization issues, makes finding things easier, reduces context switching, and thus lessens technical debt. Examples from modern frameworks like React, Vue, and Angular illustrate the practice, highlighting how colocation boosts readability and simplifies codebase management. The article also addresses strategies for utility functions and resource files, recommending placing them as close as possible to their usage to minimize maintenance overhead and cognitive load.

Read more

Pixel 4a Battery Update Disaster: Old Firmware Gone, Users Trapped

2025-01-29
Pixel 4a Battery Update Disaster: Old Firmware Gone, Users Trapped

Google's Pixel 4a battery performance update has turned into a disaster. The update is causing extreme battery drain for many users, and worse, Google removed the older firmware, making it impossible to roll back. Intended to improve battery life, the update has instead made things significantly worse. Affected users are left with Google's compensation offer: a free battery replacement, $50 cash, or a $100 credit towards a new Pixel. This incident highlights the risks of software updates and Google's shortcomings in handling updates for older devices.

Read more

Penn Cuts Grad Admissions Amidst Federal Research Funding Cuts

2025-02-23
Penn Cuts Grad Admissions Amidst Federal Research Funding Cuts

The University of Pennsylvania has slashed graduate admissions across its School of Arts and Sciences due to federal research funding cuts, prompting outrage from faculty. Departments were instructed to drastically reduce admissions, even rescinding offers to students already accepted. Professors criticized the lack of transparency and warned of severe impacts on research and education. The cuts are linked to a proposed $240 million reduction from the National Institutes of Health (NIH), but speculation also includes possible connections to graduate student unionization efforts or decreased support for humanities. The situation highlights the precarious financial situation facing higher education institutions.

Read more

Exploring the Fourth Dimension: A Journey into 4D Geometry

2025-01-28

This article uses engaging analogies to explain the concept of the fourth dimension. By imagining a 2D being observing a 3D object, the author illustrates how we might perceive a 4D hypercube. It clearly explains how to understand 4D geometry through cross-sections, and utilizes rotation matrices and linear algebra to calculate and visualize the projection of a rotated hypercube into 3D space, resulting in complex geometric forms.

Read more

Bypassing Middleboxes Blocking MPTCP with eBPF

2025-07-18

The MPTCP protocol can be blocked by middleboxes (like NATs, firewalls) in certain network environments. This article introduces an eBPF-based TCP-in-UDP solution that cleverly bypasses these limitations by encapsulating TCP packets within UDP packets. This solution requires no extra data layers or VPNs, simply reordering the TCP header and using eBPF to efficiently handle checksums, ultimately solving challenges posed by network stack optimizations and hardware offloading. While some minor issues remain, such as the loss of the URG flag and MTU/MSS adjustments, this approach offers an effective way to improve MPTCP performance in complex network environments.

Read more
Development Network Optimization

In Search of Lost Time: A Summary of Proust's Masterpiece

2025-01-21
In Search of Lost Time: A Summary of Proust's Masterpiece

Marcel Proust's *In Search of Lost Time* is not merely a narrative, but a profound exploration of memory, time, and self-awareness. Through meticulous descriptions of everyday details, particularly the evocative power of smells and tastes, Proust unlocks the narrator's dormant memories, revealing that time isn't linear but exists in fragmented pieces within our recollections. The novel's unique stream-of-consciousness style and masterful portrayal of psychological states immerse the reader in the narrator's rich and complex inner world, prompting reflection on life's meaning and value.

Read more
1 2 589 590 591 592 594 596 597