From pyenv to uv: My Python Environment Management Upgrade

2025-03-12

Tired of the cumbersome configuration of pyenv, pipx, and other tools? This blog post details a smooth transition from pyenv to uv, a single tool consolidating the functionality of pip, pyenv, pipx, and more. The author meticulously documents uninstalling pyenv, installing uv, installing Python versions, creating symlinks, and using `uv tool install` to manage packages, including a workaround for tox. The result is a streamlined Python environment managed by uv, with plans to remove .python-version files and update project documentation.

Read more

Slime Mold Simulation with WebGPU: A TypeScript and Compute Shader Implementation

2025-01-05
Slime Mold Simulation with WebGPU: A TypeScript and Compute Shader Implementation

SuboptimalEng has created a stunning slime mold simulation using WebGPU and TypeScript. This project recreates Sebastian Lague's classic work, leveraging compute shaders for efficient simulation of the slime mold's growth and movement. A detailed setup guide, screenshots, and resource links are included, and the project is deployed to GitHub Pages for easy access. This is a fantastic example to learn WebGPU and compute shaders.

Read more

Mbodi AI: Revolutionizing Robotics with Human-like Learning

2025-08-14
Mbodi AI: Revolutionizing Robotics with Human-like Learning

Mbodi AI, an AI robotics startup founded by two ex-Googlers, is developing an embodied AI platform that enables robots to learn like humans using natural language. Anyone can teach robots new skills simply by talking to them, with reliable execution in production within minutes. They're hiring a Founding Research/ML Engineer to build cutting-edge ML models and agentic AI systems for robot learning and behavior. Backed by top investors and collaborating with global industrial partners like ABB, Mbodi is pushing the boundaries of robotics and automation.

Read more

China's New Phone-Hacking Malware: Massistant

2025-07-17
China's New Phone-Hacking Malware: Massistant

Security researchers have uncovered a new malware, Massistant, used by Chinese authorities to extract data from seized phones. Developed by Xiamen Meiya Pico, this Android software allows access to text messages (including from apps like Signal), images, location data, audio recordings, contacts, and more. While physical access is required, its widespread use poses significant risks to Chinese residents and visitors. Although Massistant leaves traces, allowing potential removal via tools like the Android Debug Bridge, the data is already compromised by the time of installation. Xiamen Meiya Pico, holding a reported 40% share of China's digital forensics market, was sanctioned by the U.S. in 2021. The company did not respond to requests for comment.

Read more
Tech china

ABC: A Surprisingly Powerful and Easy-to-Learn Programming Language

2025-09-01

ABC is an interactive programming language designed as a user-friendly replacement for BASIC. Born from a task analysis of programming, it's surprisingly easy to learn (an hour or so for experienced programmers) yet powerful enough for experts. It boasts a concise set of five data types, strong typing without declarations, and no limitations besides memory exhaustion. Its environment is equally impressive, eliminating file management hassles and offering a consistent interface with undo functionality. ABC programs are often one-fourth to one-fifth the size of equivalent Pascal or C programs. The ABC Programmer's Handbook offers comprehensive documentation.

Read more

Python in 2024: Faster, More Powerful, and More Popular Than Ever

2024-12-30
Python in 2024: Faster, More Powerful, and More Popular Than Ever

2024 saw Python solidify its position as a leading programming language. Python 3.13 introduced a significant performance boost with the experimental 'no-GIL' build and a JIT compiler. The removal of obsolete modules streamlined the language, while its crucial role in AI, machine learning, and data science propelled its popularity to new heights. Python surpassed JavaScript in usage on GitHub and achieved a remarkable 18% in the Tiobe index, solidifying its place among the top three programming languages.

Read more
Development

Trump Admin Kills Free IRS Tax Filing Program

2025-04-16
Trump Admin Kills Free IRS Tax Filing Program

The Trump administration plans to eliminate the IRS's Direct File program, a free electronic tax filing system. Launched during the Biden administration, the program was praised for its ease of use, but Republican lawmakers and commercial tax preparation companies criticized it as wasteful. While free alternatives exist, they are often difficult to use. The decision sparks concerns about government efficiency and accusations of favoring large tax preparation companies, with Senator Warren alleging the move protects their profits.

Read more
Tech tax filing

Go Parser Security Risks: Exploiting Unexpected Behaviors in JSON, XML, and YAML

2025-06-21
Go Parser Security Risks: Exploiting Unexpected Behaviors in JSON, XML, and YAML

Go's JSON, XML, and YAML parsers present security risks, allowing attackers to exploit unexpected behaviors to bypass authentication, circumvent authorization, and exfiltrate sensitive data. The post details three attack scenarios: (1) (Un)marshaling unexpected data: exposing data developers intended to be private; (2) Parser differentials: discrepancies between parsers enabling bypasses; and (3) Data format confusion: exploiting cross-format payload handling. Mitigations include using `DisallowUnknownFields` and custom functions to compensate for vulnerabilities in Go's standard library. The authors provide Semgrep rules to help detect vulnerable patterns.

Read more
Development Go security

Free DNS4EU Public Service: Designed for Everyday Users

2025-06-05
Free DNS4EU Public Service: Designed for Everyday Users

The DNS4EU Public Service is completely free for all end-users. While primarily intended for users within the European Union due to its infrastructure's geographic distribution, it doesn't restrict users from other locations. However, it's not optimized for government agencies, enterprises, or communication service providers (CSPs). Built-in DoS protection and rate-limiting measures make it unsuitable for the high-volume DNS traffic typical of ISPs or large enterprises. Rate limits accommodate regular users (shared or dedicated IPs), but not high-volume enterprise or CSP usage. For enhanced DNS protection, dedicated services are available for connectivity providers, governmental organizations, and enterprises.

Read more

OpenHarmony Ecosystem Expansion: A Surge of Library Adaptation Proposals

2025-05-16
OpenHarmony Ecosystem Expansion: A Surge of Library Adaptation Proposals

The OpenHarmony open-source operating system community has recently seen a surge in adaptation proposals for several third-party libraries, including pako, snappyjs, brotli, hi-base32, is-png, and EventBus. These proposals aim to integrate these libraries into OpenHarmony, enhancing its functionality and performance. They include HarmonyOS demos and adherence to OHPM specifications. This demonstrates the continued growth and expansion of the OpenHarmony ecosystem, attracting more and more developers.

Read more
Development Library Adaptation

Google Rolls Out Preferred News Sources Globally

2025-08-13
Google Rolls Out Preferred News Sources Globally

Google has launched its "Preferred Sources" feature in the U.S. and India, allowing users to select their preferred news sites and blogs for Google's Top Stories. This lets users see more content from sources they like. Users can add sources via a star icon next to Top Stories, searching for their preferred sites. Google notes that for some searches, a separate 'From your sources' section will appear. While convenient, this raises concerns about filter bubbles and echo chambers. Initially a Search Labs experiment, over half of testers selected four or more sources. Now, it's available to all English-language users in the U.S. and India.

Read more

Material 3 Expressive: A More Expressive Android Experience

2025-05-13
Material 3 Expressive: A More Expressive Android Experience

Building upon the award-winning Material You design, Google introduces Material 3 Expressive, bringing a more personalized and expressive phone experience to Android users. It enhances everyday routines with smoother animations and more natural, springy effects. For instance, dismissing a notification subtly affects neighboring ones, coupled with satisfying haptic feedback. This makes Android feel more human, approachable, and grounded in user needs.

Read more
Development

Smartphone Use on the Toilet Linked to Increased Hemorrhoid Risk

2025-09-05
Smartphone Use on the Toilet Linked to Increased Hemorrhoid Risk

A new study suggests a link between smartphone use on the toilet and an increased risk of hemorrhoids. Researchers found that individuals spending extended periods on the toilet scrolling through their phones had a 46% higher risk of hemorrhoid issues. This is attributed to increased rectal pressure from prolonged sitting, leading to swollen veins. Experts recommend minimizing smartphone use in the bathroom and maintaining a healthy diet and hydration to prevent hemorrhoids.

Read more
Health hemorrhoids

Data Brokers Hide Data Deletion Options in California

2025-08-14
Data Brokers Hide Data Deletion Options in California

California law requires data brokers to provide ways for consumers to delete their data, but many companies are making it incredibly difficult to find these options. An investigation by The Markup and CalMatters revealed that over 30 data brokers used code to prevent search engines from indexing their data deletion pages. This makes it nearly impossible for Californians to exercise their right to data removal. While some companies removed the code after being contacted, others either didn't respond or claimed the code was to prevent spam. This highlights the challenges of data privacy protection and the passive resistance of some companies to comply with the law.

Read more

Rust's Ownership System: Preventing Memory Errors at Compile Time

2025-02-15
Rust's Ownership System: Preventing Memory Errors at Compile Time

Rust prevents memory management errors at compile time through its ownership system and RAII (Resource Acquisition Is Initialization). Each value has only one owner; ownership can be moved between variables, but a given object cannot be mutably referenced in more than one place at a time. Example code demonstrates ownership transfer: after the ownership of variable `a` is moved to `_b`, accessing `a` again results in a compile-time error, ensuring memory safety. This contrasts with traditional garbage collection; Rust guarantees memory safety through compile-time checks, resulting in improved performance and reliability.

Read more
Development Ownership

Fedora Linux Officially Lands in WSL!

2025-05-06
Fedora Linux Officially Lands in WSL!

Exciting news! Fedora Linux is now officially available as a Windows Subsystem for Linux (WSL) distribution. Simply type `wsl --install FedoraLinux-42` in your terminal to install Fedora 42. Installation is quick and easy, requiring no password by default and automatically adding you to the wheel group for sudo access. This streamlined version includes core components like the DNF package manager, allowing users to customize their system. While Flatpak isn't included by default, it's easily installable for graphical applications. The Fedora team is actively working on improving Flatpak support and adding hardware-accelerated graphics for a richer desktop experience within Windows. This is a welcome addition for Windows users curious about Linux, or Fedora fans who occasionally need to use Windows.

Read more
Development

Wall Street's Dark Pools Get Even Darker: The Rise of Private Trading Rooms

2025-03-17
Wall Street's Dark Pools Get Even Darker: The Rise of Private Trading Rooms

Wall Street's dark pools, already shrouded in secrecy, are becoming even more opaque with the introduction of private trading rooms. These exclusive venues offer the core benefit of dark pools – hiding large trades to avoid price impact – but with added exclusivity, specifying who can participate. While currently a minority of dark pool volume, their adoption is rapidly growing among broker-dealers, market makers, hedge funds, and asset managers. This raises concerns about market transparency and fragmentation, but also offers improved execution quality and allows firms to handpick counterparties. However, this lack of transparency presents challenges, including difficulty gauging market depth and potential regulatory risks.

Read more

Weather Forecasts: More Accurate Than You Think

2025-05-19
Weather Forecasts: More Accurate Than You Think

The accuracy of weather forecasts has long been a subject of debate. However, thanks to advancements in computer technology, satellite data, and atmospheric science, the accuracy of weather forecasts has significantly improved over the past decades. For example, temperature forecast accuracy has improved by about one day per decade, and significant progress has also been made in rainfall, wind, and cyclone track forecasting. While there are doubts about the accuracy of long-range forecasts (e.g., seven-day forecasts), data shows that even nine-day forecasts are more accurate than climatological averages. However, a gap exists between public perception and actual accuracy, likely due to misinterpretations of forecast terminology and selective memory of extreme weather events.

Read more

Wikimedia's Structured Data Lands on Kaggle!

2025-04-16
Wikimedia's Structured Data Lands on Kaggle!

The Wikimedia Foundation and Kaggle are collaborating to release a beta version of structured datasets from Wikipedia in both French and English. This data, specifically formatted for machine learning, is perfect for data science training and development. Kaggle, home to over 461,000 publicly accessible datasets, provides a rich resource for researchers, students, and machine learning practitioners. This collaboration ensures data quality and provenance, and we're excited to see what people build with it.

Read more
AI

Framework Expands Ecosystem with RISC-V Mainboard and Customizable Chassis

2025-02-08
Framework Expands Ecosystem with RISC-V Mainboard and Customizable Chassis

DeepComputing's DC-ROMA RISC-V mainboard for the Framework Laptop 13 is now available. This developer-focused board, powered by a StarFive JH7110 processor, aims to accelerate the RISC-V software ecosystem. Framework also released a Framework Laptop 13 shell, simplifying the use and reuse of mainboards. Additionally, Framework now offers 8TB WD_BLACK SN850X SSDs, open-sourced the mechanical design of the Framework Laptop 16 graphics module shell, and reduced prices on select products.

Read more
Hardware Modular Laptop

MapSCII: Explore the World in Your Terminal

2025-09-20
MapSCII: Explore the World in Your Terminal

MapSCII is a Node.js-based vector tile renderer that displays maps in Braille and ASCII characters within xterm-compatible terminals. Features include mouse-based drag and zoom, customizable layer styling (Mapbox Styles support), connection to public or private vector tile servers, and offline usage with local VectorTile/MBTiles. Installation is straightforward, supporting various operating systems and terminals. Highly optimized algorithms ensure a smooth experience. It's open-source, free, and uses OpenStreetMap data under the ODbL and CC BY-SA licenses.

Read more
Development

US Border Searches of Phones and Devices Surge, Raising Privacy Concerns

2025-08-20
US Border Searches of Phones and Devices Surge, Raising Privacy Concerns

US Customs and Border Protection (CBP) officials have broad authority to search anyone's phone upon entry, including US citizens. Newly released figures reveal a record number of phone and device searches over the past three months. From April to June 2025, CBP searched 14,899 devices belonging to international travelers. This surge coincides with the second Trump administration's aggressive immigration policies, raising concerns about privacy and freedom of speech. While CBP claims the percentage of searches is small, the practice creates a chilling effect, particularly for those critical of the administration, lawyers, and journalists. CBP's plans to procure advanced digital forensics tools further amplify these concerns.

Read more

New Bacteria Discovered on China's Tiangong Space Station

2025-05-22
New Bacteria Discovered on China's Tiangong Space Station

A new bacterium, Niallia tiangongensis, has been discovered on China's Tiangong space station. This rod-shaped, spore-forming bacterium is unlike any previously known terrestrial species. It thrives in microgravity and possesses unique adaptations, including the ability to break down gelatin for survival in nutrient-poor environments and to withstand radiation damage. The discovery highlights the potential hazards of space travel and informs the development of improved sanitation protocols for future long-duration missions. While its terrestrial relative can cause sepsis, the potential risk to taikonauts remains unclear.

Read more

Microsoft's Kernel-Level Security Overhaul: A Collaborative Effort to End BSODs

2025-06-30
Microsoft's Kernel-Level Security Overhaul: A Collaborative Effort to End BSODs

Following a widespread outage caused by a faulty CrowdStrike update last year, Microsoft is collaborating with major security vendors like CrowdStrike, Bitdefender, and ESET to revolutionize Windows kernel security. The initiative involves moving antivirus and EDR applications out of the kernel to a new endpoint security platform. This aims to mitigate the risk of kernel-level driver errors causing system crashes and reduce reliance on kernel-level access, including for game anti-cheat engines. Microsoft emphasizes this will be an iterative process, starting with AV and EDR, before expanding to other use cases. Additionally, a new Quick Machine Recovery feature and a redesigned BSOD are also in the works to improve user experience.

Read more

NixOS Network Installation with nixos-anywhere: A Declarative Approach

2025-06-01
NixOS Network Installation with nixos-anywhere: A Declarative Approach

After a decade-long hiatus, the author revisits NixOS and shares their experience with network installation using nixos-anywhere. Unlike graphical or manual methods, nixos-anywhere allows declarative configuration and installation of NixOS on remote machines. Configuration files are version-controlled, ensuring reproducibility and system integrity. The article details building a custom installer ISO and using nixos-anywhere for remote installation, highlighting the benefits of NixOS's declarative configuration and version control.

Read more

Gonzalo Guerrero: A Transcultural Legend of the New World

2025-05-11
Gonzalo Guerrero: A Transcultural Legend of the New World

Gonzalo Guerrero, a Spanish sailor from the early 16th century, was shipwrecked on the Yucatán Peninsula and taken captive by the Maya. He not only gained his freedom but rose to become a respected warrior under a Maya lord, marrying a Maya woman and fathering children, some of the first mestizos in the Americas. He famously refused offers to join the Spanish conquistadors, choosing loyalty to the Maya and participating in wars against the Spanish colonizers, ultimately dying in battle. His story is a compelling tale of transcultural assimilation, personal choice, and the complexities of the colonial era.

Read more

US Government Takes Stake in Intel: A Geopolitical Gamble

2025-08-26
US Government Takes Stake in Intel: A Geopolitical Gamble

The US government's $8.9 billion investment in Intel, acquiring a 10% stake, has sparked controversy. Critics argue this violates market principles and could lead to politically driven decisions, harming competitiveness. However, the author contends this is a necessary gamble, given the unique nature of chip manufacturing and geopolitical risks (especially TSMC's proximity to China). Intel's strategic missteps have left it lagging behind TSMC. The government stake aims to ensure the long-term survival of US chip manufacturing, avoid over-reliance on foreign companies, and provide Intel with credibility to attract customers. Despite risks, the author argues this is the least-bad option for US national security and economic future.

Read more
Tech

In-Browser WASM Performance: DuckDB, Apache Arrow, and Web Workers in Action

2025-04-06
In-Browser WASM Performance: DuckDB, Apache Arrow, and Web Workers in Action

Motif Analytics built a highly interactive in-browser analytics tool using DuckDB WASM, Apache Arrow, and Web Workers, enabling users to experiment without commitment. The article details the upsides and downsides of this tech stack, including DuckDB WASM's performance (slower than native but optimizations help), and schema inconsistencies encountered when parallelizing with Web Workers (e.g., data insertion failures due to schema mismatches). Bugs and limitations are shared, highlighting DuckDB WASM's rapid development and promising future improvements.

Read more
Development

Unparalleled Misalignments: A Collection of Unexpectedly Opposite Synonym Pairs

2025-05-05

A website called "Unparalleled Misalignments" (formerly quadruple entendres) compiles pairs of phrases that are non-synonymous despite each word in one phrase being a synonym of a word in the other. Examples include "Butt dial" and "Booty call." The list, maintained since 2018, is crowdsourced and showcases the surprising complexities and humor of language, offering a fascinating glimpse into wordplay and semantic nuances.

Read more

Building a High-Performance, Reliable Storage Solution with LVM Cache and RAID 1

2025-07-27

This article details how to build a fast and reliable storage solution using Linux Logical Volume Manager (LVM) caching for a RAID 1 array. The author faced a challenge needing massive storage where only a small portion of the data is frequently accessed, making traditional SSD+HDD setups inefficient. The article walks through creating an LVM cache volume, setting up RAID 1 on HDDs for redundancy, and compares alternative caching solutions like bcache and EnhanceIO. The author successfully implemented an SSD-cached RAID 1 HDD array, dramatically improving access speeds while ensuring data safety.

Read more
Development Storage Caching
1 2 169 170 171 173 175 176 177 596 597