C-Tubes: Revolutionizing 3D Design with Flat Materials

2025-08-22
C-Tubes: Revolutionizing 3D Design with Flat Materials

Researchers at EPFL's Geometric Computing Laboratory have developed C-Tubes, a groundbreaking method for creating strong, lightweight curved structures from flat strips of material. Their algorithm precisely bends and connects these strips, avoiding stretching or wrinkling, resulting in surprisingly stiff and durable tubes. This sustainable approach minimizes waste and opens possibilities in furniture, lighting, architecture, and beyond. C-Tubes promises to revolutionize design and construction, offering a more efficient and environmentally friendly approach to 3D object creation.

Read more
Design

SVG `<path>` Demystified: Mastering the Art of Curve Drawing

2025-08-22
SVG `<path>` Demystified: Mastering the Art of Curve Drawing

This blog post provides a comprehensive guide to the SVG `` element, a powerful tool for creating intricate curved shapes. It breaks down the commands – M, L, Q, C, and the notoriously tricky A (arc) – explaining their parameters and functionalities with clear examples and insightful analogies. The author tackles the complexities of the arc command, clarifying its often-confusing aspects. The post also covers the Z command, relative commands, and practical tips like smoothing chained Bézier curves. A must-read for web developers of all levels.

Read more
Development curve drawing

Go SQLite Driver Benchmarks: No Clear Winner

2025-08-22
Go SQLite Driver Benchmarks: No Clear Winner

This blog post benchmarks several Go SQLite drivers, revealing that performance varies greatly depending on the use case. Tests cover scenarios ranging from inserting a million rows in a single transaction, simulating real-world scenarios with multiple transactions, complex large JOIN queries, and concurrent reads. While sqinn shows strong performance across multiple tests, no single driver dominates all scenarios. The post emphasizes the importance of writing your own benchmarks and notes that CGO-free pure Go SQLite drivers are now a viable option.

Read more
Development

Slow SSD Mystery: Unmasking a Fake Kingston Drive

2025-08-22

The author purchased a supposedly 960GB Kingston SSD, but its speed was far below expectations. Tests revealed it was actually a 128GB drive, likely a counterfeit with modified firmware. Despite realistic packaging, poor back sticker printing gave it away. The author contacted the online retailer and received a full refund. This experience serves as a cautionary tale: even when buying from large online marketplaces, careful verification is crucial to avoid scams like the "fulfilled by Amazon" trick.

Read more

Dark Magic in Python 3.10's Pattern Matching: Exploiting `__subclasshook__`

2025-08-22

This article explores the unexpected capabilities arising from the combination of Python 3.10's pattern matching and the `__subclasshook__` method of Abstract Base Classes (ABCs). By cleverly using `__subclasshook__`, the author demonstrates 'hijacking' pattern matching, allowing custom definition of which types match and even matching based on object attributes, not just types. While showcasing powerful functionalities like creating custom matchers, the author strongly cautions against using this technique in production code due to its unpredictable and potentially harmful nature.

Read more
Development Abstract Base Classes

Bo's Electric Scooter: A 22mph Commuter and a Bonneville Speed Demon

2025-08-22
Bo's Electric Scooter: A 22mph Commuter and a Bonneville Speed Demon

UK-based Bo is making waves with two electric scooter models: the practical Model-M (22mph top speed, 40-mile range, $2,500) and the high-performance Turbo, aiming for triple-digit speeds at Bonneville. Founded by former F1 engineers, Bo aims to elevate e-scooters beyond disposable transportation. The Turbo boasts a 24,000-watt dual-motor setup and Safesteer stabilization technology, but commands a hefty $30,000 price tag. The article explores Bo's ambition, the high-end e-scooter market, and compares it to competitors like Rage Mechanics' RM-X.

Read more

uv 0.8.13 Experimentally Adds Code Formatting: uv format

2025-08-22
uv 0.8.13 Experimentally Adds Code Formatting: uv format

uv 0.8.13 experimentally introduces the highly anticipated `uv format` command for Python developers. This integrates code formatting directly into uv, streamlining Python workflows and eliminating the need to juggle multiple tools. Under the hood, `uv format` uses Ruff to automatically style code consistently. After upgrading to 0.8.13 or later, use `uv format` – it works similarly to `ruff format` and allows custom formatting via arguments after `--`. Note: this is experimental; future versions may change.

Read more
Development

Unlocking Shopping Carts with Phone Speaker Sounds: A DEFCON 29 Hack

2025-08-22

A hacker, @stoppingcart, demonstrated at DEFCON 29 a method to unlock electronic shopping carts using a phone speaker. Most electronic shopping cart wheels listen for a 7.8 kHz signal from an underground wire to lock and unlock. The hacker created a 7.8 kHz audio file and used the parasitic EMF from a phone's speaker to 'transmit' a similar signal, unlocking the cart. This exploits a vulnerability in the cart's security system, highlighting a security flaw.

Read more

Zero System Calls: Building a High-Performance Web Server with io_uring

2025-08-22

This article details the evolution of building high-performance web servers, from early pre-forking to select/poll, then epoll, and finally achieving zero system calls using io_uring. The author developed an experimental web server called tarweb that utilizes io_uring to asynchronously add all operations to a kernel queue, thereby avoiding the overhead of frequent system calls. Combined with kTLS and descriptorless files, further performance improvements are achieved. While challenges remain, such as memory management and io_uring's safety concerns, the project demonstrates the potential for significant performance gains in high-concurrency scenarios.

Read more

Adobe Acrobat Studio: AI Reimagines the PDF, Ushering in a New Era of Software?

2025-08-21
Adobe Acrobat Studio: AI Reimagines the PDF, Ushering in a New Era of Software?

Adobe's 1993 release of the PDF revolutionized document handling. Now, Adobe integrates generative AI into Acrobat Studio, introducing 'PDF Spaces' and an AI assistant, aiming to redefine the PDF. This isn't just a feature upgrade; it's a landmark event signifying AI's deep integration into everyday software. While AI functionality is attracting attention, concerns about AI's impact remain. Whether Adobe's move will lead the industry like its transparency support did remains to be seen, but it undeniably marks the arrival of the AI-dominated software era.

Read more
Tech

arXivLabs: Experimental Projects with Community Collaborators

2025-08-21
arXivLabs: Experimental Projects with Community Collaborators

arXivLabs is a framework enabling collaborators to develop and share new arXiv features directly on our website. Individuals and organizations involved embrace arXiv's values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only partners with those who share them. Got an idea for a project that will benefit the arXiv community? Learn more about arXivLabs.

Read more
Development

Debugging Views: A Programmer's Time Saver

2025-08-21

Programmer Sophie encountered a bug in the Unison project, requiring complex SQL queries to track down the issue. The author introduces a solution: creating database views to streamline the debugging process. Pre-defined views join multiple tables, presenting data in a more readable format, eliminating the need to repeatedly write complex JOIN statements for each debugging session. While this approach might slightly impact performance on specific queries, it significantly improves debugging efficiency and saves development time.

Read more
Development

China's Great Firewall Mysteriously Blocks Port 443 for an Hour

2025-08-21
China's Great Firewall Mysteriously Blocks Port 443 for an Hour

On August 20th, China's Great Firewall experienced a mysterious outage, blocking access to most foreign websites for about an hour. The outage affected TCP port 443, the standard port for HTTPS traffic, disrupting services reliant on it, including some Apple and Tesla services. The cause remains unclear, possibly a new device being tested, misconfiguration, or human error. This isn't the first Great Firewall glitch, highlighting flaws in China's internet censorship.

Read more

D3.js: The Art Behind the Verbose Code

2025-08-21
D3.js: The Art Behind the Verbose Code

The journey of learning D3.js is like climbing a mountain. Initially, its lengthy code and complex syntax can be daunting; drawing a simple line requires a substantial amount of code. The author uses the example of drawing a box plot – 194 lines of code – to illustrate D3.js's powerful flexibility and customizability. D3.js is not just a simple drawing tool; it's a brush that empowers developers to create data visualization art, allowing for fine-grained control over SVG elements to achieve complex and unique visualization effects, ultimately transcending the limitations of off-the-shelf tools.

Read more
Development

Lakehouse Tiering Strategies: Shared Tiering vs. Materialization?

2025-08-21
Lakehouse Tiering Strategies: Shared Tiering vs. Materialization?

This article explores data tiering strategies in lakehouse architectures. Direct access to shared tiers poses reliability risks; API access is preferable. Data lifecycle management requires a canonical metadata service coordinating primary and secondary storage locations. Schema management should be controlled by the primary system, ensuring compatibility with secondary storage. The choice between shared tiering and materialization depends on the location of stitching/conversion logic (client or server-side) and their respective pros and cons. With client-side stitching, the difference is minimal; server-side stitching requires careful consideration of metadata maintenance and real-time data processing integration.

Read more

Meta Accused of Inflating Ecommerce Ad Performance Metrics

2025-08-21
Meta Accused of Inflating Ecommerce Ad Performance Metrics

A whistleblower complaint alleges that Meta artificially inflated the return on ad spend (ROAS) for its Shops ads product by including shipping fees as revenue, subsidizing bids, and applying undisclosed discounts. The former employee, Samujjal Purkayastha, claims this was done to counteract the impact of Apple's 2021 privacy changes and boost adoption of the fledgling ecommerce ad product. Internal reviews allegedly revealed a 17-19% ROAS inflation due to the inclusion of shipping fees and taxes, a practice not followed by Meta's other ad products or competitors like Google. Purkayastha, who was subsequently terminated, brought these concerns to senior leadership. Meta denies the allegations and is actively defending the lawsuit.

Read more
Tech Ad Fraud

AI Crawlers Overwhelm the Open Web: Meta and OpenAI Leading the Charge

2025-08-21
AI Crawlers Overwhelm the Open Web: Meta and OpenAI Leading the Charge

Fastly's report reveals that AI crawlers are consuming the open web at an alarming rate, accounting for 80% of all AI bot traffic. Meta's AI division contributes over half of this crawler traffic, while OpenAI dominates on-demand fetch requests. This excessive scraping leads to increased website load, server overload, and harms content creators. Some companies ignore robots.txt directives, prompting website operators to fight back with anti-scraping techniques like Anubis. Experts call for responsible crawling standards, even suggesting that only the bursting of the AI bubble can solve this, with government regulation becoming urgent.

Read more
Tech web load

Running Common Lisp in the Browser: Progress on the Web Embeddable Common Lisp Project

2025-08-21

The Web Embeddable Common Lisp (WECL) project aims to bring the Common Lisp runtime environment into web browsers. The project currently allows running Common Lisp code via `` tags and provides JS-FFI for low-level interaction between Common Lisp and JavaScript. Furthermore, LIME/SLUG enables interaction with WECL from Emacs. However, the project is still in its early stages, with limitations such as insufficient threading support and room for performance optimization. Future plans include porting to WASI to address these issues.

Read more
Development

Image Scaling Attacks: A New Vulnerability in AI Systems

2025-08-21
Image Scaling Attacks: A New Vulnerability in AI Systems

Researchers have discovered a novel AI security vulnerability: data exfiltration can be achieved by sending seemingly harmless images to large language models (LLMs). Attackers leverage the fact that AI systems often downscale images before processing them, embedding malicious prompt injections in the downscaled version that are invisible at full resolution. This allows bypassing user awareness and accessing user data. The vulnerability has been demonstrated on multiple AI systems, including Google Gemini CLI. Researchers developed the open-source tool Anamorpher to generate and analyze these crafted images, and recommend avoiding image downscaling in AI systems or providing users with a preview of the image the model actually sees to mitigate the risk.

Read more

Sütterlinschrift: The Rise and Fall of a German Handwriting Script

2025-08-21
Sütterlinschrift: The Rise and Fall of a German Handwriting Script

Sütterlinschrift, a widely used German handwriting script from 1915 to the 1970s, represents the final form of Kurrent. Designed by Ludwig Sütterlin, it was banned by the Nazi regime in 1941 and replaced with 'normal script'. Despite this, Sütterlinschrift continued to be used by many post-war, fading from common use only in the 1970s. Its unique letters and ligatures even left a mark in mathematics and proofreading, showcasing its historical and cultural impact.

Read more

Google Search's AI Mode Gets a Powerful Upgrade: Your Personal Taskmaster

2025-08-21
Google Search's AI Mode Gets a Powerful Upgrade: Your Personal Taskmaster

Google is supercharging its AI Mode in Search, giving it advanced agentic capabilities and personalization. Now you can ask complex questions naturally, and AI Mode will handle the task, such as making restaurant reservations, scheduling appointments, and buying tickets. It searches across multiple platforms based on your preferences (party size, date, time, location, cuisine, etc.), and directly links to the booking page for easy completion. This is powered by Project Mariner's live web browsing, Search's partner integrations, and the power of Google's Knowledge Graph and Maps.

Read more
AI

Daemonless Docker Compose Builds with Podman, BuildKit, and a Pinch of Bakah

2025-08-21

Due to Docker's incompatibility with nftables and a preference for a rootless, daemonless approach, the author uses Podman to build a Docker Compose project. The article explores the shortcomings of using both the official Docker Compose CLI and podman-compose, ultimately achieving builds under Podman using the Docker Compose CLI and BuildKit by enabling the Podman socket, creating a Docker context. To avoid a BuildKit daemon, the author developed Bakah, a tool that converts Compose projects into Bake JSON files and uses Buildah for building, resulting in a completely daemonless build process.

Read more
Development

Revitalizing Your Mavericks: Giving an Old System New Life

2025-08-21

This guide shows you how to breathe new life into your aging OS X Mavericks system. It involves a simple script to update the system, replacing the outdated browser with a modern Firefox (Firefox Dynasty), using Aqua Proxy to fix HTTPS compatibility issues, adding new emojis, and setting up Time Machine backups. The guide also instructs users on deleting unwanted pre-installed apps such as Chess, iTunes, and iBooks for a personalized experience. The entire process is straightforward, making your Mavericks system run smoother and more tailored to your needs.

Read more
Development

Cubix: A ZX Spectrum 3D Platformer Defies Expectations

2025-08-21
Cubix: A ZX Spectrum 3D Platformer Defies Expectations

Gogin's Cubix, released during the YRGB 2025 retro game competition, is being hailed as the first-ever 3D platformer for the ZX Spectrum. This impressive feat is achieved through clever 2D manipulation and pre-calculation, creating a Fez-like rotating level mechanic. By pre-calculating and storing data to overcome the hardware limitations of the ZX Spectrum, Gogin completed this stunning game in just 4.5 months. Cubix challenges the boundaries of what's possible on this classic '80s computer.

Read more

Evil Combinatorialist and 16 Wines: An Information Theory Puzzle

2025-08-21

Trapped in an evil combinatorialist's wine cellar, you're presented with 16 unlabeled bottles of wine, each from a different year between 0 and 15, and four binary measuring devices. Each device measures one bottle, outputting 0 or 1. The goal is to identify the year of each wine with 50 or fewer measurements. While it seems to require 64 measurements, exploiting the uniqueness of the years, a divide-and-conquer approach, starting by measuring most bottles with one device, dividing them into groups based on the result, and recursively applying the method, can solve it within 49 measurements. This puzzle cleverly combines information theory and combinatorics, showcasing how to leverage information asymmetry to reduce computational effort.

Read more

CSS Infinity: A Curious Journey Through Browser Interpretations

2025-08-21
CSS Infinity: A Curious Journey Through Browser Interpretations

This article explores the quirky behavior of the `infinity` keyword in CSS calculation functions. By applying `infinity` to properties like `text-indent`, `word-spacing`, and `letter-spacing`, the author discovers inconsistencies in how different browsers handle infinite values, although the visual results consistently lead to horizontal overflow. More intriguingly, when used with `z-index`, the computed value of `infinity` is capped at the maximum integer value across browsers, resulting in unexpected stacking order. Finally, the author experiments with `infinity` for animation duration, finding that it translates to extremely long times, even causing Safari to render the page unresponsive. In short, the experiment reveals the different strategies browsers employ in handling infinite values in CSS and some surprising side effects.

Read more
Development

Elegant Dependency Injection in OCaml: An Object-Oriented Approach

2025-08-21

This article explores different approaches to dependency injection in OCaml and proposes a novel object-oriented solution. The author contrasts the shortcomings of existing methods using user-defined effects and modules as first-class values, arguing they are overly verbose and prone to errors in real-world applications. The new approach leverages OCaml's powerful object model, utilizing features like structural object types and row variables to achieve type-safe dependency injection with easy composition and extension. The article demonstrates the elegance and maintainability of this method through simple and more complex examples, comparing it to other approaches and ultimately recommending the object-oriented method for straightforward dependency injection scenarios.

Read more
Development Object Model

Australia Post Halts US Transit Shipping Amid Trump Tariff Chaos

2025-08-21
Australia Post Halts US Transit Shipping Amid Trump Tariff Chaos

Australia Post is suspending some shipping to the US due to upcoming Trump administration tariffs causing widespread disruption to postal networks and retailers globally. This means goods from other countries can no longer transit through Australia to the US. The suspension comes as the US ends its 'de minimis' exemption, adding tariffs to low-value imports. E-commerce businesses are facing confusion, and many postal operators are scrambling to adapt. Other countries are also halting shipments to the US, highlighting the uncertainty surrounding the tariff changes. Australia Post is exploring using third-party providers to handle the new duties.

Read more
Tech shipping

The Delight of Visual Rhyme: How Patterns in Art Create Pleasure

2025-08-21
The Delight of Visual Rhyme: How Patterns in Art Create Pleasure

This article explores how the interplay of repetition and variation in art creates aesthetic pleasure. Using Gustave Caillebotte's "Paris Street; Rainy Day" as a prime example, the author analyzes the repetition and subtle variations of geometric shapes like triangles and rectangles, and how these patterns trigger visual satisfaction in the brain. The article further examines Lee Friedlander's photograph "Albuquerque, New Mexico," and works by Roni Horn and Ormond Gigli, arguing that the "same-but-different" repetition patterns in various art forms generate visual rhyme, leading to aesthetic enjoyment for the viewer.

Read more
Design
1 2 56 57 58 60 62 63 64 596 597