One Dog vs. the Windows 3.1 Graphics Stack

2025-01-04

The author attempts to run Windows 3.11 on a 2008 Asus Eee PC 1000H netbook, encountering video output issues. The default VGA mode looks awful on the higher-resolution screen, and the included Super VGA driver is incompatible. The article delves into the intricacies of Windows 3.x Enhanced mode, VGA hardware, the VBE standard, and the SVGAPatch. Through reverse engineering and debugging, the author analyzes the display driver and Virtual Display Device (VDD), improving SVGAPatch to resolve some compatibility problems. However, challenges remain, highlighting the complexities of legacy systems.

Read more
Development

Open Source Magic: Auto Smiley, the Computer Vision Smile Generator

2025-01-04
Open Source Magic: Auto Smiley, the Computer Vision Smile Generator

F.A.T. Lab released Auto Smiley, an open-source application leveraging computer vision to detect smiles. When you smile, it automatically inserts ":)" into your currently active application. Built with openFrameworks and MPT, it's available for Windows and Mac, showcasing F.A.T. Lab's rapid prototyping and creative technology prowess. This speed project highlights their commitment to open source and public domain resources.

Read more

Prettier Now Supports PGN File Formatting

2025-01-04
Prettier Now Supports PGN File Formatting

A new Prettier plugin, `prettier-plugin-pgn`, has been released, adding support for formatting Portable Game Notation (PGN) files. PGN is a standard text format for recording chess games. This plugin handles variations, annotations, and multiple games within a single PGN file, making life easier for chess players and developers. Installation is straightforward via npm or globally.

Read more
Development Code Formatting

Finishing Side Projects with LLMs and Cursor

2025-01-04
Finishing Side Projects with LLMs and Cursor

This blog post details how the author dramatically improved their side project completion rate using LLMs and the Cursor IDE. Facing time constraints, they leveraged AI to refine project specifications, bootstrap code generation, and iterate effectively. A habit tracker website serves as a case study, walking through the process from initial spec (refined with ChatGPT) to deployment via GitHub Actions. Key strategies include using Vite for project setup, Cursor's agent mode for code generation, iterative development with a divide-and-conquer approach, and providing ample context to the LLMs. The author emphasizes the importance of choosing the right LLM and Cursor mode for different tasks, ultimately delivering a functional v1 of the habit tracker.

Read more

DIY Multideck: One Deck to Rule Them All (Board Games)

2025-01-04
DIY Multideck: One Deck to Rule Them All (Board Games)

The DIY Multideck is a 162-card system (3 standard decks) letting you play hundreds of board games, from classics to modern titles using boards or coins. Waterproof and durable, it's perfect for travel, game prototyping, and trying games before buying. Gameplay involves selecting card subsets and focusing on specific corners; drawing on cards adds words, icons, or game boards. The official website provides instructions for numerous games.

Read more

HYPSO-2: Tiny Satellite, Big Ocean Monitoring Impact

2025-01-04
HYPSO-2: Tiny Satellite, Big Ocean Monitoring Impact

The Norwegian University of Science and Technology's HYPSO-2 satellite, about the size of a 5-liter water bottle, is revolutionizing ocean monitoring. Equipped with a hyperspectral camera capable of detecting 120 shades of visible light, it captures images covering 25,000 square kilometers—a tenfold increase in data acquisition compared to its predecessor, HYPSO-1. Monitoring harmful algae blooms, sea ice conditions, and more, HYPSO-2 provides invaluable data for ocean research. Working synergistically with drones and underwater robots through an 'observation pyramid' system, it promises highly efficient environmental monitoring.

Read more

LastPass Android App Privacy Report: Deep Dive into Trackers and Permissions

2025-01-04
LastPass Android App Privacy Report: Deep Dive into Trackers and Permissions

A privacy report on LastPass Android app version 4.11.18.6150 reveals 7 trackers and 36 permissions. Trackers include AppsFlyer, Google Analytics, etc., collecting user data. Permissions cover sensitive areas like location, network access, and storage access. The report highlights high-risk permissions, potentially impacting user privacy. Users should carefully evaluate the privacy implications.

Read more
Tech

Running a Neural Network on a Calculator: A 56-Hour Train Journey

2025-01-04
Running a Neural Network on a Calculator: A 56-Hour Train Journey

A computer science PhD challenged himself to port a convolutional neural network (CNN) to a TI-84 Plus CE graphing calculator during a 56-hour train ride. Overcoming significant hardware limitations, including scarce memory and the lack of native floating-point operations, he successfully trained and ran the network to identify handwritten digits. While slow, the accomplishment demonstrates the feasibility of running AI on severely resource-constrained devices, showcasing ingenious memory management and algorithmic optimizations.

Read more
(z80.me)
Hardware neural network

Designing the w3m Logo: Minimalist Elegance

2025-01-04

This article details the design process of a logo for w3m, a text-mode web browser. The author cleverly uses three similar shapes, inspired by the three letters in 'w3m', and leverages SVG's and tags to create a simple, understandable, and easily reproducible logo. The final design omits an initial skew to better align with w3m's minimalist philosophy.

Read more

My Year of Therapy: Lessons Learned and Growth Achieved

2025-01-04

This post details the author's takeaways from a year of therapy. Initially skeptical, the author found the experience profoundly beneficial. Key lessons include the importance of finding a good therapist, asking oneself 'How do you feel about it?' to better understand emotions, expressing feelings kindly, and stepping outside one's comfort zone to confront challenges. The author emphasizes that consistent self-reflection and practice are crucial for personal growth.

Read more

Font Tester: Say Goodbye to Font Selection Headaches

2025-01-04
Font Tester: Say Goodbye to Font Selection Headaches

Tired of struggling with website font selection? The Font Tester Chrome extension is here to help! Preview over 1000 Google Fonts and custom fonts on any website, compare them side-by-side, adjust size and color, and more. Say goodbye to tedious download-test-delete cycles and hello to efficient design. The free version is powerful enough for many, while the paid version unlocks advanced features and supports open-source development.

Read more

Streaming Fatigue Hits Americans: Spending on Subscriptions Decreases

2025-01-04
Streaming Fatigue Hits Americans: Spending on Subscriptions Decreases

Americans spent an average of $42.38 per month on streaming subscriptions in 2024, a 23% decrease from 2023. The abundance of streaming services has led to "streaming fatigue," with users feeling overwhelmed by the sheer number of options. Many are sharing accounts, reducing subscriptions, or turning to free services to save money. The average American has two subscriptions and watches 3 hours and 49 minutes of content daily. Facing economic pressures and streaming fatigue, consumers are seeking more affordable entertainment options.

Read more

Beam: SSH-based File and Pipe Transfer Tool

2025-01-04
Beam: SSH-based File and Pipe Transfer Tool

Beam is a tool for transferring files and pipes over SSH, requiring only an SSH client; no binary installation is needed. It supports pipe transfer, offers high security with public key authentication, and uses simple SSH commands for sending and receiving data. Random channel names can enhance security. While the Beam server is located in Germany, transfer speeds might be limited, and end-to-end encryption isn't supported (data is briefly decrypted on the server), its lightweight nature and simple self-hosting make it a convenient file transfer solution.

Read more

5 Ways to Render Outlines in Unity

2025-01-04
5 Ways to Render Outlines in Unity

This article explores five distinct techniques for rendering object outlines in the Unity game engine: rim lighting, vertex extrusion, blurred buffer, jump flood algorithm, and edge detection. Each technique offers trade-offs between performance, visual fidelity, and implementation complexity. Rim lighting is simple but works best on spherical objects. Vertex extrusion produces good results but struggles with sharp edges. The blurred buffer method is great for soft outlines but can be performance-intensive. The jump flood algorithm excels at rendering wide outlines efficiently. Edge detection provides a full-screen outlining effect but requires careful tuning to avoid artifacts. The optimal choice depends on project needs and performance constraints.

Read more

Under the Hood of ChatGPT: A Programmer's Perspective

2025-01-04
Under the Hood of ChatGPT: A Programmer's Perspective

This article provides a deep dive into how ChatGPT works, specifically geared towards programmers. Skipping over general AI/ML concepts, it focuses on OpenAI's ChatGPT model, explaining its architecture, the use of Transformer networks, and how Reinforcement Learning from Human Feedback (RLHF) fine-tunes it for conversational tasks. The article also details tokenization, model training, response generation, and the role of RLHF in ensuring accurate and contextually relevant responses.

Read more
Development

Self-Driving a 1993 Volvo 940 (Part 1: Actuators)

2025-01-04

The author and friends are participating in the 2025 Carbage Run winter edition, a 6-day winter journey across Sweden to the Arctic Circle and back to Helsinki. Their car: a 1993 Volvo 940, almost devoid of electronics. To make it self-driving, they're retrofitting actuators: steering motor, brake booster, and accelerator servo. This post details the process of adapting an electric power steering system from a 2020 Toyota Corolla, replacing the vacuum-assisted braking system with a Bosch iBooster, and using an off-the-shelf RC servo for the accelerator. A Tesla radar sensor was also added. It's a challenging project, with future posts covering wiring and a custom ECU.

Read more

Scientists Crack the Code of the Perfect Cacio e Pepe

2025-01-04
Scientists Crack the Code of the Perfect Cacio e Pepe

A team of scientists delved into the culinary arts, specifically the classic Italian dish Cacio e Pepe, to uncover the secrets behind its perfect creamy texture. Their research revealed starch concentration as the key factor influencing sauce stability. Starch levels below 1% (relative to cheese mass) lead to clumping, a phenomenon dubbed the "Mozzarella Phase," resulting in a separated and unpleasant sauce. The study also explored the impact of cheese-to-water ratios at a fixed starch level, observing a lower critical solution temperature and developing a minimal effective free-energy model to explain it. Ultimately, they presented a scientifically optimized recipe guaranteeing consistently flawless Cacio e Pepe.

Read more

SoilScanner: Detecting Lead Contamination with Radio Waves

2025-01-04
SoilScanner: Detecting Lead Contamination with Radio Waves

Researchers at Cornell University have developed SoilScanner, a portable device that uses radio frequency signals and machine learning to detect lead contamination in soil. The device sends radio waves through a soil sample and analyzes how the soil affects the signal to determine lead levels. SoilScanner achieved 72% accuracy in testing real soil samples and a zero-error rate for lead levels above 500 ppm. This technology promises to make lead detection cheaper and more accessible, aiding in environmental remediation efforts.

Read more

Qualcomm NR-U: Unleashing the Full Potential of 5G

2025-01-04
Qualcomm NR-U: Unleashing the Full Potential of 5G

Qualcomm has unveiled its latest 5G NR-U technology, designed to significantly boost 5G network coverage and capacity by leveraging unlicensed spectrum. This innovative technology cleverly combines licensed and unlicensed spectrum, enabling operators to expand their 5G networks, providing faster and more reliable connectivity to a greater number of users. This is particularly significant for deploying 5G in densely populated areas or remote locations, effectively addressing network congestion and reducing deployment costs. NR-U is poised to be a key driver in 5G evolution, paving the way for a wider range of 5G applications in the future.

Read more
Tech

RailsConf 2025: A Final Farewell and a New Beginning

2025-01-04
RailsConf 2025: A Final Farewell and a New Beginning

Ruby Central has announced that RailsConf 2025, taking place July 8th-10th in Philadelphia, will be the last. After nearly 20 years, this final gathering celebrates the legacy of Rails and its community. As a strategic shift, Ruby Central will host only RailsConf in 2025, postponing RubyConf to Spring 2026, where it will become the flagship event. This allows for a higher quality experience and increased support for open-source projects like RubyGems and Bundler. Rails will maintain a strong presence at future RubyConfs, alongside RailsWorld, creating a spring/fall rhythm for major Ruby and Rails events.

Read more
Development

Battlezone: How a Simple Tank Game Became a Military Simulator

2025-01-04
Battlezone: How a Simple Tank Game Became a Military Simulator

Released in 1980, Atari's Battlezone revolutionized gaming with its groundbreaking first-person perspective and 3D vector graphics. Powered by three microprocessors—one dedicated to complex matrix calculations for perspective—the game pushed the limits of technology, overcoming challenges like object limitations and screen clipping. Unexpectedly, its success caught the attention of the US Army, leading to a rushed conversion into a military training simulator, Army Battlezone. This article details the development of Battlezone, its surprising military application, and the ethical dilemmas faced by its creators, highlighting the challenges and ingenuity of early game development.

Read more

Do Files Want to Be Actors? io_uring and the Convergence of Computing Paradigms

2025-01-04
Do Files Want to Be Actors? io_uring and the Convergence of Computing Paradigms

In high-performance Linux applications, io_uring is revolutionizing OS interaction. It uses submission and completion queues, allowing asynchronous I/O without waiting for syscalls. Simply queue operations and continue computation. This remarkably mirrors the Actor model: objects send messages for concurrent computation. io_uring's sending operations to file descriptors and asynchronously receiving responses strikingly resembles this. This suggests a shift towards asynchronous, self-managing OS behavior; traditional syscall methods might be an outdated abstraction.

Read more
Development

Recursion Demystified: A Project-Based Approach

2025-01-04

The Recursive Book of Recursion challenges the intimidating reputation of recursive algorithms. Using Python and JavaScript examples, it progressively explains recursion's fundamentals, common algorithms (factorials, Fibonacci sequences, tree traversal, maze solving, etc.), and optimization techniques (tail call optimization, memoization). It covers advanced topics like divide-and-conquer, permutations, combinations, and dynamic programming, culminating in fractal art generation. Project-based and highly accessible, this book is perfect for beginners and experienced programmers alike.

Read more
Development

China's Manufacturing Supremacy: A Chart-Based Narrative

2025-01-04

This column uses the OECD's latest TiVA database to illustrate China's ascent to sole global manufacturing superpower. China's manufacturing output surpasses the next nine largest producers combined. Its industrialization is unprecedented in speed. While China's share of global manufacturing exports has also dramatically increased, its export dependence is decreasing, with domestic consumption playing an increasingly vital role. The article also analyzes the asymmetrical dependence between the US and China in global supply chains, highlighting the challenges and costs associated with decoupling.

Read more

Wine 10.0-rc4 Released: Enhanced Stability and Compatibility

2025-01-04
Wine 10.0-rc4 Released: Enhanced Stability and Compatibility

The release candidate Wine 10.0-rc4 marks a significant step towards the upcoming major update of this open-source compatibility layer. This release focuses heavily on improved stability and compatibility, promising a smoother experience for running Windows applications. The development team has invested significant effort in bug fixes and performance enhancements, paving the way for a robust final release. Expect exciting improvements in the final version.

Read more
Development Compatibility Layer

CERN Engineer Locks 1950s Pendulum Clock to Atomic Clock for Unprecedented Accuracy

2025-01-04

A CERN engineer acquired a vintage Elektročas HH3 pendulum clock from the 1950s, boasting an accuracy of 0.1 seconds per day. To push the limits further, he embarked on a project to synchronize it with CERN's cesium atomic clock. The innovative solution involved a Chain Controlled Oscillator (CCO) which subtly alters the pendulum's center of gravity, controlled by a Phase Locked Loop (PLL) to maintain synchronization. Tests demonstrated remarkable improvement in accuracy, even detecting the perturbation caused by the recent Turkey earthquake. This project showcases a blend of meticulous engineering, ingenious innovation, and a quest for extreme precision.

Read more

Breaking Up with Long Tasks: Mastering Asynchronous Loops for Web Performance

2025-01-04
Breaking Up with Long Tasks: Mastering Asynchronous Loops for Web Performance

This article delves into optimizing JavaScript loops to prevent blocking the main thread and improve web performance. The author highlights that using `for...of` loops or methods like `forEach` directly on large arrays can create long tasks, leading to a sluggish user experience. The solution involves using `scheduler.yield` or `setTimeout(0)` with `async/await` to break down long tasks into smaller ones, yielding control after each iteration to maintain responsiveness. The article further explores batch processing and frame rate optimization strategies to balance responsiveness and processing efficiency. Ultimately, it recommends choosing an appropriate batch size and strategy based on specific application needs for optimal user experience.

Read more

Implementing a Pseudorandom Number Generator with XORSHIFT32

2025-01-04

This devlog details the implementation of a pseudorandom number generator (PRNG) using the XORSHIFT32 algorithm. The author uses 1804289383 as the initial state, a number previously used in other engine implementations. The implementation is straightforward, involving bit shifts on the initial state. The code defines the initial state and includes a `getRandomNumber()` function that performs the XORSHIFT32 algorithm.

Read more

WaPo Cartoonist Quits After Bezos-Trump Satire Killed

2025-01-04
WaPo Cartoonist Quits After Bezos-Trump Satire Killed

Pulitzer Prize-winning Washington Post cartoonist Ann Telnaes resigned after her satirical cartoon criticizing Amazon CEO Jeff Bezos and other tech giants for currying favor with President-elect Trump was killed by the paper. The cartoon depicted Bezos, Mark Zuckerberg, Sam Altman, and others bowing to Trump. Telnaes cited Bezos' handling of the Post, including its unprecedented decision not to endorse a presidential candidate in 2024, as undermining the free press. She stated that her role is to hold power accountable, and her inability to do so led to her resignation.

Read more
1 2 545 546 547 549 551 552 553 596 597