The Focusing Illusion: Why We Overestimate Success's Impact on Happiness

2024-12-21

Psychological research reveals we often mispredict what will make us happy in the future. A specific instance of this "affective forecasting error" is the "focusing illusion": the things we focus on achieving often don't bring the happiness we expect. This article offers an evolutionary explanation: the focusing illusion isn't a cognitive flaw, but a mechanism to motivate us to improve our circumstances. Because our experience of pleasure habituates (hedonic adaptation), foreseeing this adaptation could sap motivation. Evolution thus makes us naively believe the next achievement will bring lasting joy, driving our pursuit of goals.

Read more

Webb Telescope Discovers Young Galaxy Resembling Early Milky Way

2024-12-21

NASA's James Webb Space Telescope has made a groundbreaking discovery: a galaxy nicknamed 'Firefly Sparkle,' existing around 600 million years after the Big Bang, with a mass similar to that of our own Milky Way in its early stages. This galaxy, magnified by gravitational lensing, showcases ten distinct star clusters, providing unprecedented detail about early galaxy formation. Researchers found the 'Firefly Sparkle' is actively forming stars, with its uneven distribution of star clusters indicating a future of mergers and growth. This discovery offers invaluable insight into the evolution of galaxies in the early universe.

Read more

NoDB: Processing Payments Without a Database

2024-12-21

Alvaro Duran's "The Payments Engineer Playbook" introduces a revolutionary approach to payment system design: processing payments without a database. He argues that the prevalence of asynchronous programming stems from the assumption of database necessity. Using event sourcing, each step in the payment process is recorded as an event, not as a persistent state. These events are temporarily stored in memory, and the system reconstructs the payment status from the event stream, eliminating the need for persistent storage. This high-performance, high-reliability approach, inspired by high-frequency trading, allows for quick recovery from outages through hot backups. The article details this concept using a payment flow example and looks toward future applications in payment systems.

Read more

Technical Debt vs. Technical Assets: A Wise Investment Strategy

2024-12-21

This article explores the difference between technical debt and technical assets. Technical debt, similar to financial debt, represents code issues that must be addressed, such as bugs and poor code readability, hindering development efficiency. Technical assets, on the other hand, are proactive investments in known problems, like building high-quality SDKs, reducing future maintenance costs and increasing development freedom. The article advises prioritizing the repayment of technical debt before investing in technical assets, leveraging proven processes and technologies to avoid accumulating technical debt and ultimately achieving higher development efficiency and product quality.

Read more

Rules to Avoid Common Extended Inline Assembly Mistakes

2024-12-21

This article isn't an inline assembly tutorial, but rather a summary of six rules to avoid common mistakes. The author emphasizes that inline assembly is treacherous and should be avoided whenever possible, as modern compilers offer intrinsics and built-ins for most use cases. If unavoidable, the rules are: use the `volatile` qualifier; use a `memory` clobber if accessing memory; never modify input constraints; never call functions from inline assembly; don't define absolute assembly labels; and use the assembler's local label feature to avoid label conflicts. The article concludes by encouraging readers to practice applying these rules by reviewing online tutorials and even LLM-generated code.

Read more

The Kelly Criterion: A Mathematical Approach to Insurance Decisions

2024-12-21

This article explores how the Kelly criterion can be used to make rational decisions about insurance. The author debunks common misconceptions about insurance, arguing it's a mathematical, not philosophical, problem. The core idea is that insurance prevents significant wealth drawdown, accelerating compound interest growth. A formula is presented to calculate the value (V) of insurance, considering current wealth, premium, accident probability, and cost. Motorcycle and helicopter insurance examples illustrate the calculations and deductible's impact. The author explains how insurance companies profit and the relativity of costs.

Read more

@celine/bibhtml v3.0.3: A Web Components-Based Referencing System

2024-12-21

@celine/bibhtml, a Web Components-based referencing system for HTML documents, has released version 3.0.3. It aims to provide a user experience similar to LaTeX/BibTeX referencing, using Citation.js under the hood and gracefully degrading when citations and references are malformed or JavaScript is disabled. Supporting BibTeX, unstructured text, DOI, and Wikidata formats, it offers three custom elements: ``, ``, and ``, simplifying reference management in HTML.

Read more
Development Reference Management

Groundbreaking Advance: Safely Compiling C to Rust

2024-12-21

Researchers have developed a novel method for safely compiling C code into Rust. This technique utilizes static analysis and type-directed translation to avoid reliance on Rust's `unsafe` blocks, thus guaranteeing memory safety. The method has been successfully applied to code from the HACL* cryptographic library and EverParse libraries, resulting in an 80,000-line pure Rust verified modern cryptographic library—a first of its kind.

Read more
Development C compilation

Monorepo Build Tools: Scaling Your Codebase

2024-12-20

Traditional build tools struggle with large codebases (100-10,000 active developers). Monorepo build tools like Bazel and Mill offer solutions by supporting multiple languages, custom build tasks, automatic caching and parallelization, remote caching and execution, drastically improving build speed and efficiency. They also feature dependency-based test selection and build task sandboxing, reducing testing time and non-determinism. While these features might seem unnecessary for small projects, they are crucial for large-scale collaboration and continuous integration in larger projects, preventing build times from becoming a bottleneck.

Read more
Development build tools scalability

Delta Emulator Triples Apple's In-App Prices to Push Patreon

2024-12-20

Delta gaming emulator developer Riley Testut is tripling the price of in-app purchases on Apple's iOS App Store to encourage users to subscribe via Patreon. This move leverages Apple's new policy allowing external payment links while protesting Apple's in-app purchase system. Patreon subscriptions offer additional benefits like iPad and SEGA Genesis support, private Discord access, and more convenient refunds and customer support.

Read more

Programmer Creates Pseudo-3D Game in Bash

2024-12-20

A programmer, izabera, has developed a surprisingly impressive pseudo-3D game using the Bash scripting language. This project, a homage to the classic game Wolfenstein 3D, is open-source on GitHub. The code is concise yet the result is stunning, showcasing the power of Bash and the programmer's ingenuity. The repository includes the game source code and demonstration videos. Developers interested in learning more can check it out on GitHub.

Read more
Development Game Development

California Ground Squirrels Caught Eating Meat: A Surprising Discovery

2024-12-21

A recent study has overturned long-held beliefs about California ground squirrels. Previously considered granivores (grain-eaters), researchers observed these common rodents hunting, killing, and consuming voles—small rodents—during the summer of 2024. This surprising discovery highlights the gaps in our understanding of even familiar animals and suggests California ground squirrels may be opportunistic omnivores, adapting their diet based on food availability. The observed carnivorous behavior, peaking when vole populations surged, demonstrates their behavioral flexibility and adaptability to changing environments.

Read more

OpenAI Releases Realtime Embedded SDK for Microcontrollers

2024-12-20

OpenAI has released the openai-realtime-embedded-sdk, enabling developers to utilize its Realtime API on microcontrollers such as the ESP32. Supporting Linux and ESP32S3, the SDK allows for testing on Linux without physical hardware. After installing protobufc, setting the target platform, and configuring WiFi and OpenAI API keys, developers can build and deploy applications. This expands OpenAI's AI capabilities to embedded devices, opening doors for innovative IoT and edge computing applications.

Read more

io_uring Gains New Process Creation Functionality

2024-12-20

LWN.net reports on the development of a new process creation feature for the io_uring subsystem. This functionality is implemented via two new io_uring operations: IORING_OP_CLONE, which creates a new process, and IORING_OP_EXEC, which performs an execveat() system call to load a new program. This promises increased efficiency and allows for more complex logic, such as path searching, to be executed asynchronously within the kernel. However, the feature is still in its early stages and has limitations, such as requiring synchronous execution of io_uring operations within the new process. Future development aims to increase flexibility and eventually merge the feature into the mainline Linux kernel.

Read more

DOS APPEND Command: Bridging the Gap Between Old and New

2024-12-20

While reconstructing the DOS 2.11 source code, the author encountered a challenge: the ancient MASM 1.25 assembler lacked directory support, clashing with modern file organization using a tree structure. To avoid a monolithic directory, the author cleverly employed the DOS APPEND command. APPEND is a TSR (Terminate and Stay Resident) program that intercepts system calls like file opening and searches a predefined path list if the file isn't found in the current directory. This allowed MASM 1.25 to locate files within the hierarchical structure, resolving the incompatibility and highlighting APPEND's surprising utility in specific scenarios.

Read more
Development

Anthropic Unveils Secrets to Building Effective AI Agents

2024-12-20

Anthropic shares its insights on building effective AI agents, emphasizing the importance of simple, composable patterns over complex frameworks or libraries. The article distinguishes between workflows and agents, detailing various agent building patterns including prompt chaining, routing, parallelization, orchestrator-worker, and evaluator-optimizer. It stresses maintaining simplicity, transparency, and a well-designed agent-computer interface. Finally, the article highlights the practical value of AI agents with examples in customer support and coding agents.

Read more

Retro Revival: Bringing a Tandy Coco Back Online with FujiNet

2024-12-20

This article details the author's journey in connecting an old Tandy Coco computer to the internet using the FujiNet project, an ambitious open-source initiative aiming to be the only peripheral needed for vintage computers. The author faced challenges during the assembly process, including soldering difficulties, hardware bugs, and software compatibility issues. Despite these hurdles, they successfully connected to the internet and ran various applications, including an ISS tracker and games. The experience highlights the vibrancy of the open-source community and the potential of retrocomputing, showcasing the fun of hardware repair and software development.

Read more

Grayjay App: Follow Creators, Not Platforms

2024-12-20

Grayjay is a multi-platform video player that aggregates content from YouTube, PeerTube, Twitch, and more, eliminating the need to switch between different platforms. Prioritizing user privacy, it stores watch history locally and offers data import/export and auto-backup. Features include a personalized content feed, screen casting, and Harbor integration for connecting with audiences and monetizing content.

Read more

Unprecedented Drop in Teen Drug Use Continues to Surprise Experts

2024-12-20

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

OpenAI's o3 System Achieves Breakthrough Score on ARC-AGI Benchmark

2024-12-20

OpenAI's new o3 system, trained on the ARC-AGI-1 public training set, achieved a breakthrough score of 75.7% on the semi-private evaluation set, surpassing previous limitations of large language models. This represents a significant leap in AI capabilities, demonstrating novel task adaptation never before seen in the GPT family. While not yet achieving Artificial General Intelligence (AGI), o3's success highlights the importance of test-time knowledge recombination and provides valuable data points for ongoing AGI research. Further challenges remain, as o3 still fails on some simple tasks, underscoring the complexities of achieving true AGI.

Read more
AI

Parker Solar Probe to Make Historic Dive into Sun's Atmosphere

2024-12-20

After six years of traveling through space, NASA's Parker Solar Probe is poised to make history on Christmas Eve, plunging into the Sun's atmosphere at an unprecedented speed, coming within 3.8 million miles of the solar surface. This daring mission aims to unravel the mystery of the solar wind's origin, a question that has puzzled scientists for over half a century. The probe is equipped with cutting-edge materials, including heat-resistant titanium-zirconium-molybdenum alloy and sapphire crystal tubes, to withstand the extreme temperatures exceeding 2,500° Fahrenheit. This groundbreaking endeavor promises to shed light on the solar wind and its impact on our solar system.

Read more

Day by Data App Transforms Your Data into Art

2024-12-20

The Day by Data app, now available on the App Store, turns your daily data into stunning visualizations. Connect your Health and Spotify data to generate personalized art pieces reflecting your yearly step count, top Spotify songs, and peak activity days. Create a 'Day by Data Receipt' showcasing your yearly achievements. The app offers a simple and intuitive way to transform routine numbers into meaningful visuals, making your data a story worth sharing.

Read more
Design Health Data

California Orders Uber to Fingerprint Drivers for Teen Rides

2024-12-20

The California Public Utilities Commission (CPUC) ruled that Uber must fingerprint drivers for its teen ride-hailing service, Uber for Teens, to continue operating in the state. This decision stems from safety concerns regarding unaccompanied minors. While Uber has historically resisted fingerprint-based background checks, the CPUC cited the importance of protecting children from potential sexual offenders. The ruling significantly impacts Uber's operations, while competitor HopSkipDrive, which already employs stricter safety measures including fingerprinting, supports the decision. The added cost of fingerprinting may lead to higher prices for Uber's teen ride service.

Read more

2024 in Math: Breakthroughs and the Rise of AI

2024-12-20

2024 was a landmark year for mathematics, marked by a series of significant breakthroughs. A team of nine mathematicians proved the geometric Langlands conjecture—an 800-page proof hailed as a crowning achievement—connecting disparate areas of mathematics. Further major advances were made in geometry, solving long-standing conjectures and providing surprising counterexamples. Concurrently, artificial intelligence made major strides, with Google DeepMind's AlphaProof achieving remarkable results in the International Mathematical Olympiad, hinting at AI's potential as a 'copilot' for future mathematical research. These achievements underscore not only the significant progress in mathematical understanding but also the transformative potential of AI in shaping the field's future.

Read more

Google's Gemini Code Assist Adds Third-Party Tool Integration

2024-12-20

Google announced support for third-party tools in Gemini Code Assist, its enterprise-focused AI code completion service. This allows integration with tools like Jira, GitHub, and Sentry via plugins, reducing context switching and boosting developer productivity. Currently in private preview for Google Cloud partners, this feature directly competes with GitHub's Copilot Enterprise, though Google highlights advantages like on-premises codebase support. The addition of tools aims to streamline workflows and enhance efficiency for developers.

Read more

Sovereign Tech Fund Invests in OpenStreetMap

2024-12-20

The OpenStreetMap Foundation received a €384,000 grant from the Sovereign Tech Agency to ensure the stability, growth, and modernization of its core software. This funding will be used to update code, improve documentation and testing infrastructure, and enhance core infrastructure, including addressing vandalism and exploring new data interaction methods. Two new roles will be created, including an OSM Core Software Development Facilitator to coordinate developer efforts and foster community contributions.

Read more
Development Sovereign Tech Fund

Radxa Orion O6: World's First Open-Source Armv9 Motherboard Debuts

2024-12-20

Radxa, in collaboration with partners, has unveiled the Radxa Orion O6, claimed as the world's first open-source Armv9 motherboard—more accurately, a single-board computer (SBC). Powered by CIX's CD8180 SoC, it boasts 12 CPU cores (including four Cortex-A720 cores up to 2.8GHz) and an Arm Immortalis G720 GPU, offering impressive performance with 8K video decoding and encoding capabilities and a 30 TOPS NPU. RAM options range from 8GB to 64GB (soldered DDR5-5500). The board is packed with I/O, including multiple M.2 slots, a PCIe x16 slot, and multi-gigabit Ethernet. Currently supporting Debian and Fedora Linux, with Windows and Android support planned. Pricing starts at $200 for the 8GB model.

Read more

Calm Web Reader Artemis Launches

2024-12-20

Artemis is a web reader designed for a calm and peaceful reading experience. It updates once a day around 12 am in your timezone, allowing you to leisurely check your favorite websites. Artemis prioritizes a minimalist and slow design, promoting a relaxed browsing experience. It's free to use and offers information on data storage and accessibility, with contact details provided for tech support.

Read more

One Click, Half a Million Lost: Sophisticated Crypto Phishing Scam Exploits Google Services

2024-12-20

Two victims lost nearly $500,000 in cryptocurrency after clicking on a fraudulent Google account recovery prompt. Scammers used a real Google phone number, forged Google security emails, and tricked victims into clicking a Google prompt on their phones, gaining control of their Gmail accounts. One victim's mistake was storing a picture of their cryptocurrency wallet's seed phrase in Google Photos, giving the scammers easy access to their funds. This incident highlights vulnerabilities in Google's authentication system and the sophistication of scammers using Google services for high-tech phishing attacks.

Read more

UK Electricity Bills Soar: High Subsidies and Grid Investment Lag

2024-12-20

High UK electricity bills aren't solely due to wholesale power costs. A recent analysis reveals that network costs and green energy subsidies are major drivers. Twenty years of stagnant grid investment now necessitate urgent expansion, skyrocketing network costs. Contracts subsidizing renewables will continue increasing bills, while past subsidies, like the Renewables Obligation and Feed-in Tariff, failed to adjust quickly enough to falling renewable energy prices, locking in massive long-term costs. The author suggests reducing grid dependence or improving grid utilization as pathways to lower future electricity bills.

Read more
1 3 5 6 7 8 9 21 22