Concurrent Cycle Collection: Garbage-Collected Smart Pointers in Rust for Scheme

2024-12-13

This article details the implementation of a concurrent cycle collector in Rust for garbage-collected smart pointers (Gc) within a Scheme interpreter. Gc functions similarly to Arc>, supporting interior mutability, cloning, and sending across threads. The article thoroughly explains the implementation of Gc, including thread-safe interior mutability using semaphores and read/write locks, and the implementation details of concurrent cycle collection based on the Bacon and Rajan algorithm. This includes the Trace trait, cycle detection, and mechanisms for handling concurrent modifications.

Read more

NASA JPL Horizons: A Powerful Tool for Exploring the Solar System

2025-01-03

NASA's Jet Propulsion Laboratory's Horizons system is a powerful online service providing precise orbital data and ephemerides for solar system objects. It offers multiple access methods including a web interface, command-line interface, email, and an API. Users can query information on asteroids, comets, planets, satellites, and more, and perform orbital calculations and visualizations. Horizons is a powerful tool for astronomers, aerospace engineers, and space enthusiasts exploring the mysteries of our solar system.

Read more

Lessons Learned in Long-Term Software Development

2024-12-22
Lessons Learned in Long-Term Software Development

This article summarizes lessons learned in long-term software development, emphasizing the importance of keeping code simple, carefully choosing dependencies, thorough testing, and strong teamwork. Drawing on interactions with Mastodon users and experiences at the Dutch Electoral Board, the author highlights the significant risks of excessive dependencies, complex code, and frequent team turnover in long-term projects. He advises developers to periodically review dependencies, write extensive test cases, and meticulously document code philosophy and design decisions to address the challenges of long-term maintenance and technological change. The article also underscores the benefits of open source and the importance of simple code, cautioning developers against blindly chasing new technologies and opting instead for time-tested solutions.

Read more

Tokyo Unveils 3D Digital Twin Viewer: Real-time Data for Urban Management

2024-12-26
Tokyo Unveils 3D Digital Twin Viewer: Real-time Data for Urban Management

The Tokyo Metropolitan Government launched a beta version of its 'See Tokyo in 3D' digital twin platform. Built using the TerriaJS framework, this 3D viewer integrates real-time data such as traffic, river levels, and shelter information, offering a comprehensive view of Tokyo. The platform aids urban planning and management by providing a clear visualization of city operations. Data conversion tools are also provided to promote the use of CityJSON in Japan's developer community, with parts of the source code being open-sourced.

Read more

Auto-Saving Rails Forms with Turbo Streams: A Hotwire Approach

2025-01-09
Auto-Saving Rails Forms with Turbo Streams: A Hotwire Approach

This article demonstrates how to implement auto-saving for inline input fields in Rails applications using Turbo Streams, a component of the Hotwire framework. A Stimulus controller automatically submits the form on blur, leveraging Turbo Streams to update the UI without page reloads. The author highlights the importance of unique input IDs and using `title_previously_changed?` for efficient user feedback, creating a seamless autosave experience.

Read more
Development

Agricultural Trade in Tropical Regions Causes Biodiversity Loss Three Times Higher Than Thought

2024-12-14
Agricultural Trade in Tropical Regions Causes Biodiversity Loss Three Times Higher Than Thought

A study published in Nature Sustainability reveals that agricultural exports from tropical regions are three times more damaging to biodiversity than previously assumed. Researchers from the Technical University of Munich and ETH Zurich tracked how agricultural exports from 1995 to 2022 affected land-use changes in producing countries. International trade is responsible for over 90% of biodiversity loss during this period, impacting Brazil, Indonesia, Mexico, and Madagascar particularly severely. The team used satellite data to more accurately assess the long-term impacts of land-use change on biodiversity, highlighting the complex link between global trade and biodiversity loss. The study calls for global action to address this challenge.

Read more

The Hidden Engineering of Wildlife Crossings

2024-12-21
The Hidden Engineering of Wildlife Crossings

The Wallis Annenberg Wildlife Crossing, a $92 million project near Los Angeles, is the world's largest wildlife crossing of its kind. This article delves into the engineering behind these vital structures, addressing the challenges of habitat fragmentation, noise pollution, and wildlife-vehicle collisions caused by roads. It explores various design aspects, including site selection, crossing types (underpasses, overpasses, culverts), fencing strategies, and attracting animals to use the crossings. The article highlights the different crossing behaviors of various species and corresponding engineering solutions, such as elevated bridges for large animals and culverts for smaller ones. Design considerations include animal behavior, topography, vegetation, and ensuring the crossings blend seamlessly into the landscape, minimizing human-wildlife conflict.

Read more

Open Source Pen Plotter Robot Project

2024-12-13
Open Source Pen Plotter Robot Project

Robertleoj has open-sourced a project on GitHub called Pen Plotter Robot, a pen plotting robot. The project includes the robot's design, construction, and control program, aiming to help makers and enthusiasts learn about robotics and mechanical design. The code and documentation are publicly available for learning and improvement.

Read more
Hardware pen plotter

Tabby: Your Self-Hosted AI Coding Assistant

2025-01-12
Tabby: Your Self-Hosted AI Coding Assistant

Tabby is an open-source, self-hosted AI coding assistant offering a local alternative to GitHub Copilot. It's self-contained, requiring no DBMS or cloud service, features an OpenAPI interface for easy integration, and supports consumer-grade GPUs. Recent updates include Llamafile deployment integration, an enhanced Answer Engine user experience, the ability to switch between different backend chat models in the Answer Engine, and displaying recently shared threads on the main page. It also boasts IDE plugins and enterprise features like team management and secured access.

Read more
Development AI coding assistant

Soviet Hero: A Daring Rescue from the Depths of Lake Yerevan

2025-01-14

In 1976, Shavarsh Karapetyan, a Soviet swimming champion, witnessed a trolleybus plunge into Lake Yerevan. Ignoring the perilous icy water and pollution, he launched a daring rescue, repeatedly diving into the submerged vehicle to save dozens of passengers. This heroic act, suppressed by Soviet authorities, remained largely unknown until years later. Karapetyan's story is a testament to extraordinary courage and the power of human compassion.

Read more

GitHub Open Sources Fully Documented Commodore 64 Elite Source Code

2024-12-20
GitHub Open Sources Fully Documented Commodore 64 Elite Source Code

A fully documented and annotated source code for the classic Commodore 64 game Elite has been open-sourced on GitHub. This repository provides four variants of the source code, catering to different hardware platforms and build processes. Developers can explore the meticulously commented source code to understand Elite's inner workings and even compile a playable D64 disk image on modern machines using the provided Makefile, runnable on emulators or real hardware. This project aims to help appreciate this iconic 8-bit game, offering significant educational and archival value.

Read more

Design Space for Code Search Queries: ast-grep's Innovative Approach

2024-12-26
Design Space for Code Search Queries: ast-grep's Innovative Approach

ast-grep is an Abstract Syntax Tree (AST)-based code search tool designed for ease of use, expressiveness, and precision. This blog post delves into the design space of code search queries, categorizing them into informal queries, formal queries based on existing programming languages, formal queries using custom languages, and hybrid queries. Each type's strengths and weaknesses are analyzed. ast-grep employs a hybrid approach, allowing users to write queries using familiar programming language syntax and offering more powerful expressiveness through YAML configuration files or a programmatic API for precise code search.

Read more

Caravan: A Flexible Transport-Based Logging System for JavaScript/TypeScript

2024-12-28
Caravan: A Flexible Transport-Based Logging System for JavaScript/TypeScript

Caravan is a flexible, transport-based logging system for JavaScript/TypeScript applications. It supports multiple transports (console, file, Datadog, BetterStack, etc.), log level filtering, context binding through forked loggers, and data redaction. Developers can easily log basic messages, metadata, and context-aware information, improving debugging and monitoring. Its TypeScript-first design enhances developer experience.

Read more
Development logging system

MIT Develops Noninvasive Imaging Method for Deeper Tissue Penetration

2024-12-13
MIT Develops Noninvasive Imaging Method for Deeper Tissue Penetration

MIT researchers have developed a novel noninvasive imaging technique that more than doubles the depth limit of metabolic imaging. Using high-powered lasers and a specialized fiber shaper, the method minimizes light scattering, allowing for clearer and faster imaging of living tissue. This label-free approach avoids tissue preprocessing, providing a more natural representation of cellular structures and functions. The increased depth penetration and speed promise significant advancements in cancer research, tissue engineering, drug discovery, and immunology.

Read more

Fixing a Sneaky uname Bug in Apache NuttX RTOS: Static Variables Strike Back

2025-01-21
Fixing a Sneaky uname Bug in Apache NuttX RTOS: Static Variables Strike Back

This post details the debugging journey of a seemingly minor bug in the Apache NuttX RTOS's `uname` command. The initial problem: the commit hash was missing from the output. The investigation led down a rabbit hole, involving inspecting the kernel image, calling `uname` at kernel startup, and disassembling the application. The culprit? A broken static variable (`g_version`) responsible for storing the commit hash within NuttX applications. This unexpected behavior highlighted the importance of thorough debugging in embedded systems, emphasizing that even minor anomalies can signal deeper, more serious issues.

Read more
Development bug fix

Open-Source R1 Shakes Up the AI World: Accelerated Development!

2025-01-26
Open-Source R1 Shakes Up the AI World:  Accelerated Development!

The AI landscape is exploding with new models. DeepSeek's open-source reasoning model, R1, matches the performance of OpenAI's closed-source o1, but at a fraction of the cost, sending shockwaves through the industry. R1 validates OpenAI's o1 and o3 approaches and reveals new trends: pretraining's diminished importance and the emergence of inference time scaling laws, model downsizing, reinforcement learning scaling laws, and model distillation scaling laws, all accelerating AI development. R1's open-source nature intensifies US-China competition, highlighting the massive geopolitical implications of AI's rapid progress.

Read more
AI

Hackers Face Lawsuit After Exposing Polish Train Manufacturer's Manipulation

2024-12-27

The Chaos Computer Club (CCC) is raising funds for three hackers who revealed at the 37C3 conference how Polish rail vehicle manufacturer Newag manipulated its trains to be repairable only in its own workshops. Newag reacted with a 90s-style aggressive lawsuit, pursuing both criminal and civil charges. The legal costs have already reached €30,000. The CCC is calling for donations to cover legal and other expenses. The hackers' research did not involve any illegal replacement of train components. The CCC believes Newag's lawsuit aims to prevent future publications about these 'illegal instructions,' emphasizing that only the content teams decide who speaks at the congress. The 38C3 congress will continue reporting on this case.

Read more

Lightweight Sum Types and Switches for Lua: lua-match

2024-12-31
Lightweight Sum Types and Switches for Lua: lua-match

lua-match is a minimalistic Lua library providing sum types and switch functionality. It leverages a tagging function for a clean and efficient way to handle various data types and conditional branching. With a simple tagging function and a switch table, you can easily implement sum type-like behavior and pattern matching, simplifying your Lua code significantly. The library is open-source and uses the MIT license.

Read more
Development Sum Types

SeleniumBase: A Powerful Web Automation Framework

2024-12-17
SeleniumBase: A Powerful Web Automation Framework

SeleniumBase is a robust Python framework for web automation, testing, and bypassing bot detection. Built on Selenium WebDriver and integrating with test runners like pytest, it offers a clean syntax and extensive features such as automatic waits for page elements, test report generation, a dashboard, and support for multiple browsers and operating systems. SeleniumBase also includes modes like UC Mode and CDP Mode for enhanced stealth and reliability, along with comprehensive examples and documentation for quick adoption.

Read more
Development web automation testing

The Secret Spy Satellite That Helped Win the Cold War

2025-01-22
The Secret Spy Satellite That Helped Win the Cold War

In the 1970s, the rise of the Soviet Navy posed a significant threat to the US. To counter the emergence of powerful new Soviet warships, the top-secret Parcae satellite program was launched. Developed by the US Naval Research Laboratory, Parcae provided real-time location data on Soviet vessels, drastically reducing the time between signal interception and intelligence reporting to mere minutes. This near-instantaneous intelligence was crucial for military decision-making. Employing multiple satellites working in concert and advanced computer systems to process massive amounts of data, Parcae helped maintain the strategic balance during the Cold War. Its technology continues to influence modern satellite signals intelligence systems.

Read more

Open Source Solaar: A Linux Manager for Logitech Devices

2024-12-18
Open Source Solaar: A Linux Manager for Logitech Devices

Solaar is an open-source Linux device manager for many Logitech keyboards, mice, and other devices connecting wirelessly via Unifying, Bolt, Lightspeed, or Nano receivers, as well as many Logitech devices connecting via USB cable or Bluetooth. It's not a device driver; it responds to special messages from devices otherwise ignored by the Linux input system. Solaar supports pairing/unpairing devices with receivers, configuring device settings, custom button configurations, and running rules in response to special messages from devices. Installation options include pre-built packages and source code compilation.

Read more
Development

macOS 15.2 Update Breaks System Replication: Users Face Data Backup Nightmare

2024-12-14

A critical bug in macOS 15.2 has broken the system replication feature, causing data backups to fail with a 'Resource Busy' error, specifically when attempting to copy Preboot or Recovery partitions. Developer Dave Nanian explains that the problem stems from Apple's own code and currently has no easy fix. Users are forced to rely on third-party backup solutions, utilizing a 'Backup - all files' method with a Smart Update to restore their data after a clean system install. This issue is causing significant user frustration, particularly as the holiday season approaches.

Read more

Unprecedented Drop in Teen Drug Use Continues to Surprise Experts

2024-12-20
Unprecedented Drop in Teen Drug Use Continues to Surprise Experts

A new study reveals a continued and unexpected drop in teen drug use in 2024, reaching historic lows. The decline, which began during the COVID-19 pandemic, has not reversed despite the lifting of restrictions. Rates of alcohol, marijuana, and nicotine use among 8th, 10th, and 12th graders have all plummeted. Researchers are now investigating the contributing factors to this unprecedented trend and planning interventions to maintain these low rates.

Read more

Revolutionary All-Optical Nanoscale Force Sensors Access Unreachable Environments

2025-01-03
Revolutionary All-Optical Nanoscale Force Sensors Access Unreachable Environments

Columbia University researchers have developed revolutionary all-optical nanoscale force sensors capable of measuring forces with unprecedented sensitivity and dynamic range. These sensors utilize the photon-avalanche effect, enabling remote, light-based force detection without physical connections. Applications span robotics, cellular biophysics, medicine, and even space exploration. This breakthrough promises to transform force sensing technology, opening up new possibilities for measurements in previously inaccessible environments.

Read more

OpenZFS 2.3.0 Released: RAIDZ Expansion, Blazing Fast Deduplication, and More

2025-01-14
OpenZFS 2.3.0 Released: RAIDZ Expansion, Blazing Fast Deduplication, and More

OpenZFS 2.3.0 is here! This release boasts exciting new features including RAIDZ expansion for adding devices to existing RAIDZ pools without downtime, blazing fast deduplication for significantly improved performance, direct I/O for bypassing ARC caching to boost efficiency on devices like NVMe, optional JSON output for most commands, and support for file/directory names up to 1023 characters. Numerous critical bug fixes and performance improvements round out this release. Supported platforms include Linux kernels 4.18-6.12 and FreeBSD releases 13.3, 14.0-14.2.

Read more
Development storage

MIT Rocket Team Recovers Data from Crashed Rocket

2024-12-18

In Spring 2020, the MIT Rocket team launched rockets at the FAR site in the Mojave desert. A second-stage rocket crashed without deploying its parachutes, burying itself 3 meters underground. Despite significant damage to the avionics, the team successfully recovered data from a damaged flash chip. Using a salt solution to create temporary electrical contact, they were able to read the flash memory and determine the cause of the crash.

Read more

Zaymo, YC-backed Startup, Seeks Founding Engineer

2024-12-17
Zaymo, YC-backed Startup, Seeks Founding Engineer

Zaymo, a Y Combinator-backed e-commerce email marketing startup, is hiring a Founding Engineer. Zaymo transforms e-commerce emails into shoppable landing pages, allowing purchases without leaving the inbox. The company is experiencing hyper-growth and seeks an experienced full-stack engineer to help build the future of email marketing. The ideal candidate has 2+ years of startup engineering experience, proficiency in TypeScript, Remix, and AWS, and a positive, fast-moving, collaborative attitude. Zaymo offers competitive salary, equity, and relocation assistance.

Read more
Startup Engineer
1 2 543 544 545 547 549 550 551 557 558