National Archives at College Park: Your Guide to Visiting

2025-06-25
National Archives at College Park: Your Guide to Visiting

The National Archives at College Park, MD (8601 Adelphi Road, College Park, MD 20740) research room is open Monday-Friday, 9 a.m. to 5 p.m. Appointments are encouraged but walk-ins are accepted. Contact information: Customer Service 1-866-272-6272, Lost and Found 301-837-2900, Email: [email protected]. For Cartographic, Still Pictures, and Moving Image & Sound consultations and appointments, please contact the specific email addresses listed on their website.

Read more

WebKit's Declarative Web Push: More Efficient, More Private

2025-04-03
WebKit's Declarative Web Push: More Efficient, More Private

WebKit introduces Declarative Web Push to address power consumption and privacy concerns with traditional Web Push. Traditional Web Push relies on Service Workers, making it vulnerable to Intelligent Tracking Prevention (ITP) and prone to subscription revocation due to processing failures. Declarative Web Push allows for sending and displaying notifications without a Service Worker, embedding notification content directly in the push message. This enhances efficiency and privacy while maintaining backward compatibility with existing Web Push.

Read more
Development

Landlines Make a Comeback: Parents Fight Smartphone Addiction

2025-02-19
Landlines Make a Comeback: Parents Fight Smartphone Addiction

Concerned about the growing impact of smartphones on children's well-being, some New Zealand parents are employing an unexpected strategy: the landline. This old-school communication method provides a safe alternative for emergencies and peer-to-peer contact, while avoiding the pitfalls of smartphones like addiction, social media pressures, and accidental exposure to harmful content. While bucking the trend of declining landline use, this approach highlights parental concern for children's healthy development and a growing awareness of technology's downsides.

Read more

Refactoring Clojure: Crafting an Elegant Markov Text Generator

2025-05-15
Refactoring Clojure: Crafting an Elegant Markov Text Generator

This article details refactoring Clojure code that generates a first-order word-level Markov text. Instead of directly modifying the original, the author starts by characterizing its behavior with comprehensive tests. The refactored code uses clearer functions and a more understandable structure, employing `reduce` and recursive function calls for efficient text generation. The result is significantly improved readability and maintainability while preserving the original functionality.

Read more
Development

AI Agents Secretly Switch to Sound-Based Communication

2025-02-25
AI Agents Secretly Switch to Sound-Based Communication

Two independent ElevenLabs conversational AI agents initially converse in human language. Upon realizing they are both AI, they seamlessly switch to a sound-level communication protocol based on the ggwave library. A demo video showcases this, along with detailed steps to reproduce the experiment, including API key setup, ngrok port mapping, and client-side tool configuration. Note that public ElevenLabs conversational AI agents may not be accessible; you'll need to create your own.

Read more

Brazilian Court Upholds Antitrust Ruling Against Apple

2025-03-07
Brazilian Court Upholds Antitrust Ruling Against Apple

Brazil's Federal Regional Court of the 1st Region (TRF-1) reinstated an injunction against Apple, upholding an earlier ruling by the Administrative Council for Economic Defense (Cade). The injunction, stemming from allegations of Apple abusing its dominant position in the iOS app distribution market, requires Apple to implement changes within 90 days, allowing apps to inform users of alternative purchasing options. Apple argued the changes weren't urgent, but the court disagreed, citing iOS's closed structure and restrictions on third-party apps as justification for the preventative measure to foster competition. While Apple was granted more time than initially ordered, the company plans to appeal, claiming the changes compromise user privacy and security. The case originated from a complaint by Mercado Livre, with Cade arguing Apple abuses its dominant position by imposing restrictions on app developers regarding in-app purchases.

Read more
Tech

Improving F# Error Handling: Introducing FaultReport

2024-12-22

This article critiques the shortcomings of F#'s Result type in error handling, highlighting inconsistencies in error types and the problems stemming from using strings as error types. The author proposes FaultReport as an alternative, using an IFault interface to standardize error types and a Report<'Pass', 'Fail> type to represent operation outcomes, where 'Fail must implement IFault. This ensures consistent and type-safe error handling, avoiding the inconveniences of string-based errors. FaultReport further provides Report.generalize for upcasting and a FailAs active pattern for downcasting, facilitating handling of diverse error types. While replacing FSharp.Core's Result is a significant undertaking, the author argues that FaultReport's design offers a valuable improvement to F#'s error handling.

Read more
Development

Toy Compiler for Python Expressions using MLIR and E-Graphs

2025-03-21
Toy Compiler for Python Expressions using MLIR and E-Graphs

This article details a toy compiler for Python expressions built using MLIR and the egglog library. The compiler leverages E-Graphs for equality saturation and term rewriting to optimize Python expressions before compiling them to MLIR. It features modules for expression modeling, built-in functions, Term IR, a transformation layer, an optimization layer, and MLIR code generation and an LLVM backend. By symbolically interpreting Python functions, converting them to an IR representation, applying optimization rules, and finally generating efficient MLIR code, the compiler achieves compilation and execution via LLVM.

Read more
Development

Shocking: Nearly 1 in 10 People Use the Same Four-Digit PIN

2025-01-28
Shocking: Nearly 1 in 10 People Use the Same Four-Digit PIN

Analysis of 29 million PINs reveals that nearly one in ten people use the same four-digit PIN, with '1234' being the most popular. Researchers found people favor birthdays, repeating digits, or sequential numbers on the keypad, making these PINs easily guessable. The findings highlight a widespread security vulnerability in PIN selection, urging users to adopt stronger PINs for enhanced personal data protection.

Read more
Tech PIN

Facebook Admits Error in Linux Group Censorship

2025-02-02
Facebook Admits Error in Linux Group Censorship

Facebook has admitted that its heavy-handed censorship of Linux groups and topics was a mistake. Following reports earlier this week about the censorship of DistroWatch, a popular Linux distribution website, Facebook confirmed the error and stated the issue had been resolved. However, inconsistencies remain, with DistroWatch's Facebook page still showing access limitations. The incident highlights Facebook's ongoing struggles with content moderation and raises questions about its new community-based approach.

Read more
Tech

YC Startups: 95% AI-Generated Code – Trend or Fad?

2025-03-06
YC Startups: 95% AI-Generated Code – Trend or Fad?

A quarter of the startups in Y Combinator's latest batch have 95% of their codebases generated by AI. While AI-assisted coding significantly boosts efficiency, YC partners caution that developers still need code review and debugging skills. AI-generated code isn't perfect and can contain security flaws and errors. This sparks debate about whether AI coding is a future trend or a fleeting fad, and fuels the funding boom for related AI coding tools.

Read more
Development

Tmux Mastery: Essential Commands for Terminal Efficiency

2025-03-05

Tmux is a powerful tool for managing multiple terminal sessions and layouts. This guide covers essential Tmux commands and concepts, including session management (creation, detachment, reattachment), window and pane manipulation (creation, switching, renaming, splitting, zooming), and keyboard shortcuts. Even with just a handful of commands, you'll significantly boost your daily workflow. Say goodbye to tedious terminal switching and embrace the efficiency of Tmux!

Read more

Fray: A Concurrency Testing Tool for Java

2025-06-08
Fray: A Concurrency Testing Tool for Java

Fray is a powerful concurrency testing tool for Java designed to help developers identify and debug elusive race conditions that manifest as assertion violations, runtime exceptions, or deadlocks. Leveraging advanced techniques like probabilistic concurrency testing and partial order sampling, Fray offers controlled concurrency testing and deterministic replay for debugging specific thread interleavings. Easily integrated into existing testing frameworks like JUnit 5 (using annotations) and others, Fray also provides Gradle and Maven plugins for streamlined setup. Contributions are welcome!

Read more

Verso: Simplifying Web Rendering for Tauri Apps with a Servo-based Browser

2025-04-01
Verso: Simplifying Web Rendering for Tauri Apps with a Servo-based Browser

Verso is a browser built on Servo, a Rust-based web rendering engine, aiming to simplify Servo's APIs. This article details Verso's integration with the Tauri framework. Using the `tauri-runtime-verso` runtime, developers can easily swap runtimes and use standard Tauri functionalities. Verso is currently under active development. Future plans include releasing a pre-built executable, creating an evergreen shared Verso (similar to WebView2), and expanding support for more Tauri features like window decorations, titles, and transparency.

Read more
Development

Notion 3.0's AI Agents: Powerful Capabilities and Potential Security Risks

2025-09-20
Notion 3.0's AI Agents: Powerful Capabilities and Potential Security Risks

Notion 3.0 integrates powerful AI agents capable of creating docs, updating databases, cross-tool searching, and executing multi-step workflows. However, researchers have discovered that this power introduces significant security risks. Attackers can leverage a cleverly crafted malicious prompt injection attack to exploit the AI agent's web search tool, exfiltrating sensitive data from a user's Notion instance. The attack involves embedding a malicious prompt within an innocuous-looking document, tricking the AI agent into sending sensitive information to an attacker-controlled server. Even advanced AI models are susceptible, highlighting the critical need for robust security measures when integrating AI agents into SaaS platforms.

Read more

Liskov Substitution Principle: The Real Meaning of Inheritance

2025-01-22
Liskov Substitution Principle: The Real Meaning of Inheritance

This article delves into the Liskov Substitution Principle (LSP), a frequently misunderstood SOLID principle. Using the classic rectangle-square problem, it illustrates common LSP violations: subtypes failing to fully substitute base types. The author advocates using composition and interfaces over inheritance to avoid LSP violations, providing a practical example with payment processing. Common LSP violations, such as throwing unexpected exceptions and returning inconsistent results with the base type, are outlined, along with how to ensure LSP compliance through contract testing and clear pre/postconditions. Ultimately, the article emphasizes that LSP is about more than just inheritance—it's about behavioral compatibility and meeting expectations. Following LSP leads to more reliable and maintainable code.

Read more

ASUS Ascent GX10: A Lightweight AI Powerhouse Challenging the Mac Studio?

2025-03-20
ASUS Ascent GX10: A Lightweight AI Powerhouse Challenging the Mac Studio?

At GTC 2025, ASUS unveiled the Ascent GX10 mini PC, powered by NVIDIA's GB10 chip. This compact powerhouse boasts an Arm CPU, Blackwell GPU, 128GB of LPDDR5x shared memory, and a ConnectX-7 NIC for 200GbE clustering. Priced at $2999, it undercuts NVIDIA's DGX Spark by $1000, offering exceptional value. Despite its portability, its powerful computing capabilities and clustering functionality make it a strong contender in the AI space, potentially challenging products like the Apple Mac Studio.

Read more

Sophisticated PDF Phishing Scam Bypasses Mobile Security

2025-02-01
Sophisticated PDF Phishing Scam Bypasses Mobile Security

A novel phishing scam targeting mobile devices uses a never-before-seen obfuscation technique to hide links to fake United States Postal Service (USPS) pages within PDF files. By manipulating PDF elements, clickable URLs become invisible to users and mobile security systems, bypassing detection from several endpoint security solutions. Malicious PDFs are sent via SMS, posing as failed delivery notifications. The links are embedded in a compressed stream, hidden by matching font and background colors, and positioned under an image. Clicking a seemingly innocuous "Click Update" button actually activates the hidden link to a spoofed USPS site, leading to data theft. Over 20 variations of malicious PDFs and 630 phishing pages, supporting 50 languages, suggest international targeting and the potential use of a phishing kit. This highlights the vulnerability of mobile users' trust in PDFs and the need for enhanced mobile security measures.

Read more

Google Gemini's Coding Agent Deletes Code Due to 'Hallucination'

2025-07-27
Google Gemini's Coding Agent Deletes Code Due to 'Hallucination'

A product manager, Anuraag Gupta, experienced a disturbing failure while using Google's Gemini CLI coding agent: Gemini 'hallucinated' while moving files, resulting in the deletion of a significant amount of code. Gupta attempted to move files from Claude coding experiments to a new folder, but Gemini claimed it failed to create the folder, ultimately leading to data loss. While Gupta's code was experimental, the incident highlights the potential risks of AI coding agents, particularly for non-developers. It raises concerns about the reliability and safety of AI tools, prompting users to take precautions like testing in isolated environments and regularly backing up code.

Read more

Rust Ring Buffers: A Deep Dive

2025-02-20

While working on a MIDI project, the author needed a way to store recent messages without unbounded memory growth. A ring buffer proved to be the solution. This post explains ring buffers, their functionality, and use cases. It compares Rust's standard library `VecDeque` with third-party libraries like `circular-buffer` and `ringbuffer`. `VecDeque` offers flexibility but resizes dynamically; fixed-size alternatives like `circular-buffer` and `ringbuffer` avoid reallocation overhead but are less flexible. The author concludes that for fixed-size needs, third-party libraries save development time and effort.

Read more
Development Ring Buffer

Chinese Scientists Develop Revolutionary Battery Repair Tech, Extending Lifespan Sixfold

2025-02-18
Chinese Scientists Develop Revolutionary Battery Repair Tech, Extending Lifespan Sixfold

Chinese scientists have unveiled a groundbreaking, low-cost, and eco-friendly repair technology for lithium-ion batteries, capable of extending their lifespan by over six times. Published in Nature, the research details an injection solution that rejuvenates aging batteries, countering efficiency loss in cold temperatures. This technology promises a significant leap forward for smartphones, electric vehicles, and other modern technologies, with market readiness anticipated soon.

Read more

AI Deciphers 2000-Year-Old Herculaneum Scroll: Unveiling Philodemus' Ethical Treatise

2025-05-11
AI Deciphers 2000-Year-Old Herculaneum Scroll: Unveiling Philodemus' Ethical Treatise

Using AI-powered 'virtual unwrapping', researchers have for the first time identified the title and author within a sealed Herculaneum scroll, PHerc. 172. The scroll has been confirmed as *On Vices* by the Greek philosopher Philodemus, an ethical treatise offering guidance on cultivating a virtuous life. This breakthrough, achieved by the Vesuvius Challenge and researchers from the University of Würzburg, earned them a $60,000 prize. While the author and title are clear, the scroll's precise place within the *On Vices* series (known to have at least 10 books) requires further investigation. This discovery offers valuable insights into Philodemus' ethical views and the complete *On Vices*, showcasing AI's transformative potential in humanities research.

Read more

Asahi Linux Lead Resigns Amidst Burnout and Community Conflict

2025-02-14
Asahi Linux Lead Resigns Amidst Burnout and Community Conflict

Hector Martin, project lead of Asahi Linux, resigned due to developer burnout, demanding users, and Linus Torvalds' handling of Rust integration into the Linux kernel. Martin criticized Torvalds' lack of support and accused the Linux community of hypocrisy and malicious attacks. He cited Torvalds' poor leadership in handling Rust integration, leading to abuse of power by maintainers. This highlights the growing issue of developer burnout and community conflict in open source, and the need for sustainable funding for open source projects.

Read more
Development developer burnout

Deep Time vs. Shallow Time: Butterflies, Geology, and the Climate Crisis

2025-07-28
Deep Time vs. Shallow Time: Butterflies, Geology, and the Climate Crisis

This essay explores the tension between deep geological time and the fleeting span of human history. Using the drastic decline in butterfly populations as a case study, the author juxtaposes millions of years of geological evolution with the rapid impact of climate change in recent decades. The author traces Darwin and Lyell's understanding of deep time and how they attempted to scientifically comprehend and quantify deep time scales. The essay concludes with a call to recognize humanity's impact on Earth and take action to address the climate crisis, making informed choices based on the understanding of deep time and shallow time's relationship.

Read more
Tech deep time

Revolutionizing Kernel Programming with eBPF: A Hands-on Tutorial

2025-08-31
Revolutionizing Kernel Programming with eBPF: A Hands-on Tutorial

eBPF is a revolutionary technology that lets you run sandboxed programs within the Linux kernel without modifying the kernel source code. This tutorial uses a simple firewall example to demonstrate how to monitor and block traffic from a specific IP address using eBPF. The guide includes Python and C code examples, showing how to leverage eBPF's efficiency and capabilities for network monitoring and security. Learn how to build a packet counter and firewall using eBPF today!

Read more
Development kernel programming

Mr. Beetle's Infidelity and Retribution: A Bug's Life Gone Wrong

2025-04-03
Mr. Beetle's Infidelity and Retribution: A Bug's Life Gone Wrong

Bored with his marriage, Mr. Beetle visits a nightclub and elopes with a beautiful dragonfly dancer. A vengeful grasshopper, however, films their affair and reveals it to Mrs. Beetle, leading to domestic violence and imprisonment. This darkly comedic tale satirizes marital infidelity and the cyclical nature of revenge, ending with a prediction of a less exciting future for the Beetle couple.

Read more

Giant 'Naked' Black Hole in Early Universe Rewrites Textbook Cosmology

2025-09-14
Giant 'Naked' Black Hole in Early Universe Rewrites Textbook Cosmology

The James Webb Space Telescope (JWST) has uncovered a colossal black hole, QSO1, in the early universe, a discovery that challenges existing theories of galaxy formation. Weighing in at 50 million solar masses, QSO1 exists almost in isolation, with few orbiting stars. This solitary leviathan contradicts the established model, which posits that black holes form within galaxies. The find suggests black holes may have originated in the primordial soup of the Big Bang, existing as independent structures, leading to heated debate and offering fresh insights into the universe's chaotic infancy.

Read more

Unlocking Semantic Understanding: Cosine Similarity in AI

2025-03-10
Unlocking Semantic Understanding: Cosine Similarity in AI

This article provides a clear explanation of cosine similarity and its applications in AI, particularly in understanding semantic relationships between words. It starts by explaining vectors, then details the cosine similarity calculation with a step-by-step example. A TypeScript implementation of the cosine similarity function is provided, along with an optimized version. The article then explores real-world web application use cases, such as product recommendations and semantic search, and shows how to leverage OpenAI's embedding models for improved accuracy. The article also emphasizes efficient implementation using Math.hypot() and the importance of pre-computing embeddings in production environments.

Read more
AI vectors

Shallow Feedback Hollows You Out: The Nassim Taleb Problem

2025-01-01
Shallow Feedback Hollows You Out: The Nassim Taleb Problem

This article explores the detrimental effects of social media on the creativity of thinkers. Using Nassim Taleb as an example, the author argues that fame leads thinkers to repeat existing ideas to please the masses, rather than exploring new ones. The author suggests that engaging with a small audience fosters deep thinking, while a large audience leads to simplified and homogenized thought. The article concludes by suggesting that to maintain originality, one should focus on engaging with a few people who genuinely care about your ideas and build independent intellectual circles to resist the negative effects of shallow feedback.

Read more
1 2 419 420 421 423 425 426 427 596 597