Mojo Now Lets You Call Mojo Code From Python!

2025-05-25
Mojo Now Lets You Call Mojo Code From Python!

The Modular team is excited to announce a new feature in the latest Mojo nightly builds: the ability to call Mojo code from Python! This is enabled by expanding the Python interoperability section of the Mojo manual and adding examples demonstrating round-trip data transfer between Python and Mojo, including GPU-accelerated Mojo code called from Python. This breakthrough aims to integrate Mojo into existing Python codebases, boosting performance and unlocking new applications by offloading performance bottlenecks to fast Mojo, especially when using accelerators.

Read more
Development

NSF Freezes Grants Amidst Trump's DEI Crackdown

2025-02-01
NSF Freezes Grants Amidst Trump's DEI Crackdown

The National Science Foundation (NSF) has frozen all grant payments following executive orders from the Trump administration, sending shockwaves through the US scientific community. The freeze affects both existing grants and new applications, leaving scientists unable to pay bills or continue their research. The orders target NSF's diversity, equity, and inclusion (DEI) initiatives, conflicting with Congressional mandates for broader participation in science. NSF is reviewing billions of dollars in existing grants for DEI-related activities, a process criticized as wasteful and potentially damaging to US science in the long term. The situation highlights a clash between the administration's policies and the needs of researchers.

Read more

Calling Python from C: A Practical Guide

2025-05-29
Calling Python from C: A Practical Guide

This article provides a practical, step-by-step guide on how to call Python functions from within C code. Starting with the basics, it covers setting up the environment on Linux/Mac, including including the Python.h header, compiling C code, and using Py_Initialize and Py_Finalize to initialize and end the Python interpreter. It details how to load Python modules, get function attributes, call functions (both parameterless and with parameters), and clean up memory. Through concrete code examples, readers learn how to integrate Python functions into C programs, enabling seamless interaction between C and Python code.

Read more
Development cross-language calls

FSF Calls for Continued Pressure on Microsoft

2025-01-05

The Free Software Foundation (FSF) published a blog post urging continued pressure on Microsoft to combat its anti-free software practices. The post uses this year's International Day Against DRM (IDAD) as an example, highlighting Microsoft's forced Windows 11 upgrade requiring a TPM module, harming user freedom and digital rights. The FSF encourages switching to GNU/Linux, avoiding new Microsoft software releases, and moving projects off Microsoft GitHub to support the free software movement. Simultaneously, the FSF is conducting its annual fundraiser, seeking support to fight digital restrictions and promote software freedom.

Read more
Development Digital Restrictions

GitHub Copilot Agent Mode and MCP: My New Weapon for Efficient Development

2025-07-04
GitHub Copilot Agent Mode and MCP: My New Weapon for Efficient Development

I'm always searching for ways to boost efficiency and deliver better code faster. Recently, GitHub Copilot's Agent Mode combined with the Model Context Protocol (MCP) has revolutionized my development workflow. By customizing Copilot's AI responses, I've created specialized AI assistants for different development phases, such as research and planning modes. MCP allows the agent to access external tools and data sources, including search engines, browser automation tools, and the GitHub API. This process involves research, planning, implementation, correction, and validation phases, using custom prompt files to ensure the AI understands my needs and generates high-quality code, ultimately significantly improving my development efficiency and code quality.

Read more
Development efficient development

Tesla's Solar Business: A Stunning Decline

2025-04-09
Tesla's Solar Business: A Stunning Decline

Following Tesla's 2016 acquisition of SolarCity, its rooftop solar business has significantly underperformed expectations, experiencing a continuous decline. The article reveals that Tesla's solar installations have fallen for multiple consecutive quarters since Q4 2022, with the company ceasing to publish the figures. Analysis suggests Tesla's solar business is a shadow of its former self post-acquisition, raising concerns about the broader clean energy sector.

Read more
Tech

textcase: A Feature-Complete Python Text Case Conversion Library

2025-04-01
textcase: A Feature-Complete Python Text Case Conversion Library

textcase is a feature-complete Python library for converting text to various casing styles (snake, constant, kebab, camel, pascal, etc.). It handles acronyms, non-ASCII characters, and allows for custom boundary conditions for precise control over string splitting. The library includes `is_case` for case detection, and `CaseConverter` for encapsulating conversion parameters. This enables powerful and flexible text manipulation.

Read more
Development Case Conversion

90s TV Time Machine: A Raspberry Pi That Plays Random 90s Shows

2025-09-20

Missing the spontaneity of 90s TV? This project recreates that experience using a Raspberry Pi. The author loaded classic 90s shows (Teenage Mutant Ninja Turtles, Star Trek: The Next Generation, etc.) onto a Raspberry Pi and wrote a script to play them randomly on boot. The guide details the process: installing Raspberry Pi OS Lite, VLC, creating a script to shuffle and play videos, and setting up a systemd service for auto-start. It's a nostalgic tech project showcasing the Raspberry Pi's versatility.

Read more
Hardware 90s TV

Blazing Fast Fibonacci on the GPU with Thrust

2025-06-27
Blazing Fast Fibonacci on the GPU with Thrust

This blog post demonstrates how to perform incredibly fast Fibonacci sequence calculations using GPU programming and the NVIDIA Thrust library. It starts by explaining the scan algorithm, then shows how to use scan operations in Thrust for simple addition and multiplication, extending this to matrix operations. Finally, it illustrates calculating Fibonacci numbers efficiently via matrix operations and the scan operation, using modulo arithmetic to avoid integer overflow. The author calculates F99999999 (mod 9837) in just 17 milliseconds on an NVIDIA GeForce RTX 3060 Mobile GPU.

Read more

Windows 11 Native Video Wallpaper Support is Back!

2025-09-22
Windows 11 Native Video Wallpaper Support is Back!

After years of absence, native video wallpaper support is returning to Windows 11! Previously available in Windows Vista's DreamScene, the feature has been resurrected in the latest preview builds. Users will now be able to set MP4, MOV, and other video formats as their desktop backgrounds. Spotted by @phantomofearth on X, the feature promises a more personalized desktop experience, eliminating the need for third-party apps. While the impact on performance and battery life is yet unknown, its return is a welcome addition for many.

Read more

Running a Web Server on a Disposable Vape

2025-09-15
Running a Web Server on a Disposable Vape

The author collected a bunch of disposable vapes and discovered a programmable ARM Cortex-M0+ microcontroller inside. By cleverly leveraging semihosting, SLIP protocol, and the uIP protocol stack, the author successfully built a fully functional web server on this microcontroller, even including a JSON API endpoint. Despite limited resources, after optimization, the server's performance is surprisingly good, with a ping response time of only 20ms and significantly improved webpage loading speed. This is a highly creative project showcasing the endless possibilities of embedded systems development.

Read more
Tech web server

Fake Health News: More Contagious Than the Flu?

2025-05-17
Fake Health News: More Contagious Than the Flu?

In the digital age, false health information spreads rapidly online, often disguised as credible sources. These misleading claims, ranging from miracle cures to dangerous misinformation (like using alcohol disinfectants on the body), leverage sensationalism, appealing promises, and a grain of truth to appear believable. Studies show this misinformation erodes trust in healthcare systems, reduces vaccination rates, and even leads to hospitalizations and deaths. The article emphasizes the importance of verifying information through multiple reputable sources, assessing the source's credibility, and refraining from sharing doubtful claims. Combating this requires improving public health literacy and critical thinking skills.

Read more

Gmail's AI Email Summarization: Useful but Disableable

2025-05-30
Gmail's AI Email Summarization: Useful but Disableable

Gmail now uses AI to automatically generate email summaries, leveraging Transformer architecture. While accuracy depends on email content, this feature might be unnecessary for most. To disable it, go to Gmail app settings and turn off 'smart features,' though this also disables other convenient features like high-priority notifications and Smart Reply. This feature is off by default in Europe and Japan.

Read more

Data Deluge: Drowning in Digital Trash

2025-04-06
Data Deluge: Drowning in Digital Trash

Trillions of blurry images, half-baked videos, and AI-generated content are being created and stored annually, leading to massive environmental waste. The author argues that most organizations lack proper data management, resulting in a deluge of redundant, outdated, and inaccurate information. Cloud storage exacerbates this, making data hoarding cheap and leading to a massive surge in digital garbage. This, in turn, negatively impacts AI training and accuracy. The article calls for better data management practices to combat this growing environmental and resource problem.

Read more

EU Launches OpenEuroLLM: A €37.4M Push for European AI Sovereignty

2025-02-09

OpenEuroLLM, a collaborative AI project involving 20 organizations across the EU, officially launched on February 3, 2025. Backed by €37.4 million (USD 39.4 million) in funding, including €20.6 million from the Digital Europe Program, the project aims to develop multilingual large language models (LLMs). The initiative seeks to boost Europe's AI competitiveness, expand access to advanced AI, and preserve linguistic diversity. OpenEuroLLM's strategic alignment with EU digital sovereignty goals and its STEP seal of excellence promise increased visibility and future funding opportunities.

Read more

Massive MicroSD Card Survey Exposes Fakes and Performance Discrepancies

2025-07-02
Massive MicroSD Card Survey Exposes Fakes and Performance Discrepancies

Tech enthusiast Matt Cole launched a massive MicroSD card survey, testing over 200 cards and writing over 18PB of data. The results revealed counterfeit cards, inflated capacities, and huge performance discrepancies. Cole used 8 machines and 70 card readers, writing 101TB of data daily to assess authenticity, performance, and endurance. The report features comprehensive charts allowing users to quickly understand the pros and cons of different brands and models, recommending top performers like the Kingston Canvas Go! Plus. The survey also found significant performance differences between cards of the same brand purchased from different platforms, for example, Amazon vs. AliExpress.

Read more

Accessibility Improvement Request: Two-Way Conversation Feature

2025-04-09
Accessibility Improvement Request: Two-Way Conversation Feature

A user with auditory processing disorder reports issues with the app's two-way conversation feature. On iPad, the feature only occupies one-third of the screen, resulting in tiny text. While the app transcribes speech, it lacks text-to-speech functionality, hindering replies. The user suggests adding keyboard input for easier text-based communication and doesn't require the app's home sounds/alarm features.

Read more

Snake Game in Four Integers: A Memory Minimization Challenge

2025-07-06

A developer took on the challenge of implementing a Snake game using only four integers (uint32_t*2, uint64_t, int8_t), cleverly packing game map, snake body, apple position, and direction into them. Macros are used extensively for bitwise operations, resulting in concise but less readable code. This project showcases extreme memory optimization at the cost of maintainability and readability. The code is open-source, and interested developers can try compiling and running it to experience this unique programming art.

Read more

LLMs: Accelerating Incompetence in Software Engineering

2025-05-28
LLMs: Accelerating Incompetence in Software Engineering

This essay argues that over-reliance on Large Language Models (LLMs) in software engineering can accelerate incompetence. An experienced software engineer details how LLMs, while offering speed in code generation, introduce significant risks: incorrect outputs, inability to understand context, increased technical debt, and the suppression of critical thinking and creativity. Drawing on the insights of Peter Naur and Fred Brooks, the author emphasizes that programming is about building program theory and managing program entropy, tasks beyond current LLMs' capabilities. The essay concludes that while LLMs are useful tools, they cannot replace human ingenuity and deep thinking, and over-reliance can lead to increased costs and project failures.

Read more
Development

arXivLabs: Community Collaboration on arXiv Feature Development

2025-03-13
arXivLabs: Community Collaboration on arXiv Feature Development

arXivLabs is a framework enabling collaborators to build and share new arXiv features directly on the website. Individuals and organizations involved share arXiv's values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only partners with those who adhere to them. Got an idea for a project that will benefit the arXiv community? Learn more about arXivLabs!

Read more
Development

Volkswagen's Data Breach: CCC Exposes Millions of Vehicle Location Data Stored Unencrypted

2025-01-02

The Chaos Computer Club (CCC) revealed that the Volkswagen Group systematically collected and stored movement data from hundreds of thousands of VW, Audi, Skoda, and Seat vehicles for extended periods. This data, including driver information, was left unprotected and accessible on the internet. The breach affected private vehicles, corporate fleets, and even government agencies, including sensitive data from the German Federal Intelligence Service and a US Air Force base. The CCC highlighted that the data collection and long-term storage were problematic, exacerbated by poor security. The findings were published in Der Spiegel and will be detailed at the 38th Chaos Communication Congress (38C3) in Hamburg.

Read more

Revisiting Earthsea: A Stunning Illustrated Edition of a Classic Fantasy Series

2025-04-28
Revisiting Earthsea: A Stunning Illustrated Edition of a Classic Fantasy Series

The author rereads Ursula K. Le Guin's Earthsea cycle in a new, fully illustrated omnibus edition featuring art by the beloved Charles Vess. This massive volume includes all six novels, along with short stories and afterwords. While praising the beautiful artwork, the author expresses some reservations about its style compared to Vess's other works. The large page size and slightly small font size present minor reading inconveniences, but overall the experience is positive. The author finds the Earthsea books as compelling as ever, particularly highlighting the dark and brutal nature of *Tehanu*. This new edition offers a fresh appreciation for this classic fantasy world, showcasing Le Guin's masterful world-building and character development.

Read more

Google Analytics is Dead: Long Live Privacy-Preserving Analytics with IODIASIX

2025-01-18

Facing GDPR compliance issues and growing user privacy concerns, Google Analytics is under fire. Countries in the EU, starting with Austria, have ruled it violates GDPR, issuing hefty fines. This article introduces IODIASIX, a privacy-focused analytics framework designed as a solution. By keeping data within the EU and avoiding the collection of personally identifiable information, IODIASIX offers businesses a compliant and efficient alternative for website analytics, ensuring user privacy.

Read more

Dagger Shell: Reimagining the Unix Command Line

2025-03-27
Dagger Shell: Reimagining the Unix Command Line

Dagger Shell is a bash-syntax frontend for the Dagger Engine, a state-of-the-art runtime and composition system. It combines the best ideas from Docker, Make, PowerShell, and Nix, simplifying modern software development workflows. With native support for containers, secrets, and service endpoints; typed objects; declarative execution; and content-addressed artifacts, Dagger Shell streamlines builds, tests, ephemeral environments, deployments, and more. It even facilitates AI agent orchestration. The core philosophy is modularity and composability, aiming to reduce complex tasks to simple shell scripts and code, eliminating the need for numerous DSLs.

Read more
Development

Titan's Habitable Potential: A Tiny Biosphere?

2025-04-10

A new study assesses the likelihood of life on Titan, Saturn's largest moon. Using bioenergetic modeling, researchers found that Titan's subsurface ocean might support lifeforms consuming organic matter, but the total biomass could be only a few kilograms—equivalent to a small dog's mass. This suggests that even if life exists on Titan, it would be extremely scarce, making its detection a challenging task. The researchers conclude that Titan's uniquely rich organic inventory may not be as readily available to support life as intuitively thought.

Read more

Efficient Thread-Safe Conversion of std::future to asio::awaitable

2025-07-15

This article details an efficient and thread-safe method for converting `std::future` to `asio::awaitable`, particularly useful in modern C++ asynchronous programming with Boost.Asio. Using `asio::async_initiate` and a thread pool, this approach elegantly avoids blocking IO threads and provides robust exception handling, ensuring high performance and stability. This design pattern is easily extensible to other asynchronous scenarios, providing a solid foundation for building high-performance coroutine applications.

Read more
Development

Hot Chips 2025: A Roundup of the CPU Session

2025-09-11
Hot Chips 2025: A Roundup of the CPU Session

The CPU session at Hot Chips 2025 featured exciting presentations from several industry giants. Condor Computing showcased their new Cuzco core, PEZY revealed details about their upcoming SC4s chip, IBM discussed their already-shipping Power11 chip, and Intel teased their next-gen E-Core based Xeon CPU, codenamed Clearwater Forest. Links to in-depth articles on each are provided for further reading.

Read more
Hardware

UK Nuclear Investment: A Looming Decision

2025-06-07
UK Nuclear Investment: A Looming Decision

The UK government faces an urgent decision regarding nuclear power investment. The Sizewell C project and the deployment of Small Modular Reactors (SMRs) require immediate funding, and the Treasury needs to make a decision in the upcoming spending review to ensure sound financial planning. Delaying the decision will disrupt fiscal projections. Stakeholders, including government officials, energy companies, and unions, urge swift action to ensure UK energy security and supply. The ultimate allocation of SMR contracts, and whether multiple winners will be selected, will be a key indicator of the government's approach.

Read more

Smartphone vs. Telescope: A Moon Photography Showdown

2025-09-12
Smartphone vs. Telescope: A Moon Photography Showdown

The full moon is a captivating subject for photography, but how much difference does it make whether you use a smartphone or a telescope? This article compares images of the moon taken with a Samsung S25 smartphone and a Seestar S50 smart telescope. The smartphone surprisingly captured a clear image, showing major maria and craters. However, the telescope revealed significantly more detail, showcasing smaller craters and finer surface textures. This difference boils down to the telescope's superior light-gathering ability, stability, tracking, and dedicated optics. The conclusion? Smartphones make astrophotography accessible, but a telescope offers an unparalleled level of detail for those seeking a truly stunning image.

Read more
Tech

Systemd Service Unit Restrictions: A Common Cause of Daemon Startup Failures

2025-09-20

A classic problem for Linux system administrators is a daemon failing to start normally but working fine when manually run as root. Traditional causes include incomplete $PATH environment variables, SELinux, and AppArmor. Increasingly, systemd service unit restrictions (documented in systemd.exec) are the culprit. Directives like ProtectHome and PrivateTmp can cause cryptic 'permission denied' or 'file not found' errors, or even indirect failures like blocking DNS queries. Removing restrictions from the daemon's .service file can help diagnose the issue, but future daemons may rely on these restrictions, complicating troubleshooting.

Read more
Development daemon
1 2 170 171 172 174 176 177 178 596 597