30x Speedup of a Pointless C++ Game on a GPU

2025-05-24
30x Speedup of a Pointless C++ Game on a GPU

The author attempted to port a C++ program for playing the card game "Beggar My Neighbour" to a GPU for acceleration. Initially, GPU performance lagged far behind the CPU. Using the Nvidia Nsight Compute tool, the author identified thread divergence and memory access speed as bottlenecks. By transforming the algorithm into a state machine structure, and optimizing with lookup tables and shared memory, a 30x performance improvement was finally achieved, reaching 100 million game plays per second. The article details the optimization process and challenges encountered, offering valuable insights into GPU programming practices.

Read more
Development

arXivLabs: Experimenting with Community Collaboration

2025-03-28
arXivLabs: Experimenting with Community Collaboration

arXivLabs is a framework for collaborators to develop and share new arXiv features directly on the website. Individuals and organizations partnering with arXivLabs uphold our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners who share them. Have an idea for a valuable community project? Learn more about arXivLabs.

Read more
Development

arXivLabs: Community Collaboration on New arXiv Features

2025-06-29
arXivLabs: Community Collaboration on New arXiv Features

arXivLabs is an experimental framework enabling collaborators to develop and share new arXiv features directly on the arXiv 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 works with partners who adhere to them. Got an idea for a project that will benefit the arXiv community? Learn more about arXivLabs!

Read more
Development

The Death of the Curious Developer?

2025-09-19
The Death of the Curious Developer?

This article laments a shift in developer culture. Once driven by curiosity and a passion for learning, leading to innovations like Linux and Git, developers now increasingly prioritize metrics, revenue, and scale. This often forces them to use technologies they dislike and build products they don't care about. The author argues this shift stifles innovation and creativity, urging developers to rediscover their curiosity and passion for creation, even if it's just to solve their own problems. The article emphasizes the importance of building for the joy of it, even if the project isn't commercially viable.

Read more
Development

WWII's Ramree Island: A Nightmarish Crocodile Massacre

2025-03-11
WWII's Ramree Island: A Nightmarish Crocodile Massacre

Following a battle on Ramree Island during WWII, nearly 1,000 Japanese soldiers fled into a dense mangrove swamp. Little did they know, this refuge was home to a massive population of saltwater crocodiles. These apex predators, some reaching over 20 feet in length, ambushed the terrified soldiers. Survivors recounted horrific tales of nightmarish attacks, screams, gunfire, and the sounds of flesh being torn. Hundreds perished in what Guinness World Records dubbed the "most fatalities in a crocodile attack."

Read more

B2B Marketplaces: Build In-House or Spin Out?

2025-04-13
B2B Marketplaces: Build In-House or Spin Out?

Companies building B2B marketplaces to streamline transactions need to carefully consider ownership structure. New research shows that outright ownership offers greater control and supplier access but can also create regulatory hurdles and channel conflicts. Depending on objectives, a spinoff or independent startup can be effective. The article examines three common models: pure startups, internal units, and corporate spinoffs, weighing their pros and cons – internal markets offer security and resources, while external ones prioritize flexibility and innovation. The optimal choice depends on market fragmentation, the costs and benefits of independence, and the value of external partners or investors.

Read more

Are PC Hardware Companies Creating Closed Ecosystems?

2024-12-29
Are PC Hardware Companies Creating Closed Ecosystems?

A veteran computer hardware engineer observes a concerning trend: PC hardware manufacturers are increasingly restricting user access and control. Dell, for example, has removed the ability to change storage configurations in the BIOS of some laptops and doesn't provide necessary RST drivers on its website, preventing clean OS installations from media. Users are forced to use pre-installed systems or manufacturer recovery tools containing bloatware and data collection. This mirrors Apple's MacOS approach of limiting non-approved software, potentially leading to extremely limited consumer choices in the future.

Read more

17-Year-Old Revolutionizes Drone Design, Wins $23,000 in Prizes

2025-06-15
17-Year-Old Revolutionizes Drone Design, Wins $23,000 in Prizes

Seventeen-year-old Cooper Taylor is revolutionizing the drone industry with his innovative motor-tilting mechanism, which significantly reduces manufacturing costs and improves efficiency. His design combines the best of helicopter and airplane drone technology, enabling vertical takeoff and landing with extended flight times. The modular design allows for easy customization and maintenance, with a cost only one-fifth that of comparable drones. This innovation has earned him $23,000 in scholarships and praise from a senior roboticist at Johns Hopkins University's Applied Physics Laboratory. Taylor's story highlights the ingenuity and potential of young people in STEM and opens up new possibilities for the drone industry.

Read more
Tech

Running Go Code on a PS2: A Hackery Adventure

2025-03-28
Running Go Code on a PS2: A Hackery Adventure

The author embarked on a challenging project: running Go code on a PlayStation 2. Go's lack of native PS2 support necessitated using the TinyGo compiler and the ps2dev SDK. The author overcame compatibility issues between Go and the PS2's Emotion Engine CPU (based on MIPS R5900), including differences in the N32 ABI and 64-bit instruction sets. A significant hurdle was the missing DDIVU instruction, solved by modifying the TinyGo compiler. A simple Go program was successfully run and verified on the PCSX2 PS2 emulator. Future plans include improving floating-point support and creating a custom LLVM MIPS CPU.

Read more
Development PS2 Development

arXivLabs: Community Collaboration on arXiv Features

2025-08-04
arXivLabs: Community Collaboration on arXiv Features

arXivLabs is a platform enabling developers to build and share new features directly on the arXiv website. Participants must embrace arXiv's values of openness, community, excellence, and user data privacy. Got an idea to enhance the arXiv community? Learn more about arXivLabs.

Read more
Development

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

Polymarket's Jesus Return Market: A Time Value of Money Play?

2025-05-29
Polymarket's Jesus Return Market: A Time Value of Money Play?

A Polymarket prediction market on whether Jesus Christ will return in 2025 has traders wagering over $100,000. The 'yes' option currently sits at 3%, defying simple explanations like religious belief or market error. The author posits a more sophisticated strategy: bettors anticipate that later in the year, with other markets (e.g., US elections, papal succession) heating up, those betting 'no' will need cash for new bets and sell their positions at a premium, yielding profits for 'yes' bettors. This highlights the time value of money in financial markets, a strategy successfully employed in past elections. The market's existence itself reflects the differing expectations of Polymarket cash's future value.

Read more

Tesla's AI VP Milan Kovac Departs After a Decade of Leading FSD and Optimus

2025-06-07

Tesla's VP of AI and Optimus Engineering, Milan Kovac, announced his departure this week, marking another significant executive exit. Kovac, a key figure in the development of Tesla's FSD technology and Optimus robot, cited family reasons. His nearly decade-long tenure saw him navigate the transition from Autopilot 1.0 to the in-house FSD chip, HW 3.0, and lead engineering efforts across multiple vehicle platforms. While executive departures are common at Tesla, Kovac's departure is notable given his contributions and role as one of the Autopilot 'Three Musketeers'. Ashok Elluswamy will now oversee both FSD and Optimus. The article also details a past conflict with Elon Musk over an AI Day presentation, highlighting the intense pressure within Tesla's executive environment.

Read more
Tech

Dark Matter's Surprising Origin: Fast Particles Slowing Down

2025-05-16
Dark Matter's Surprising Origin: Fast Particles Slowing Down

Dartmouth researchers propose a novel theory for dark matter's origin. Their model suggests that in the early universe, high-energy massless particles collided and rapidly condensed, akin to steam turning into water, forming dark matter. These particles, attracted by opposing spins, cooled, and their energy plummeted, transforming into cold, heavy particles. The theory is testable via analysis of the cosmic microwave background radiation and draws an analogy to Cooper pair formation in superconductivity.

Read more
Tech

Code Is All You Need: The Limitations of Multi-Component Pipelines (MCPs)

2025-07-03
Code Is All You Need: The Limitations of Multi-Component Pipelines (MCPs)

This article challenges the practicality of Multi-Component Pipelines (MCPs) for many tasks, arguing that their heavy reliance on inference makes them inefficient and difficult to scale. The author uses a personal example – converting reStructuredText to Markdown – to demonstrate a superior approach: using LLMs to generate code that performs the task, followed by LLM-based validation. This method reduces inference dependency, enhances reliability, and scales well, especially for repetitive tasks. While acknowledging MCP's strengths in niche scenarios, the author concludes that its inherent limitations hinder large-scale automation. The future, they suggest, lies in developing more effective code generation techniques coupled with LLM validation and explanation to improve usability and applicability.

Read more
Development

Mars Odyssey Captures Stunning Views of Arsia Mons and its Cloud Cover

2025-06-10
Mars Odyssey Captures Stunning Views of Arsia Mons and its Cloud Cover

NASA's Mars Odyssey orbiter has captured breathtaking images of Arsia Mons, one of Mars' largest volcanoes, and its surrounding cloud formations. Twice as tall as Earth's Mauna Loa, Arsia Mons is particularly cloudy, especially when Mars is farthest from the sun. These clouds form as air rises and cools on the mountain's slopes, creating a distinct cloud belt across the equator. The images, taken by Odyssey's THEMIS camera, also reveal surface details including water ice distribution, crucial information for future Mars missions. This research enhances our understanding of Martian weather and dust storm formation.

Read more

Shrinking Rust's Target Directory: A New Compiler Flag

2025-06-02

Large target directories are a common frustration for Rust developers. This post introduces a new method to significantly reduce their size. A new compiler flag, `-Zembed-metadata=no`, combined with a new Cargo flag, `-Zno-embed-metadata`, prevents redundant metadata storage in `.rlib` and `.rmeta` files. Tests show a reduction of up to 36.3% in release mode. This feature is currently unstable (nightly), with plans to make it the default, but backward compatibility concerns need careful consideration.

Read more
Development

Java 25 GA: Performance Boost and New Features

2025-09-16

Java 25 (JDK 25) is now generally available! This release includes 18 JEPs focusing on improvements in areas like cryptographic object encodings, stable values, vector API enhancements, and structured concurrency, aiming to boost performance and developer productivity. Thousands of bugs have been fixed, and JFR has received enhancements. Java 25 is ready for production use, with open-source builds available for download.

Read more

Apple's App Store in Brazil: Massive Revenue, Regulatory Battles

2025-09-09
Apple's App Store in Brazil: Massive Revenue, Regulatory Battles

A new study reveals that Apple's Brazilian App Store generated R$63.8 billion (approximately $11.7 billion) for Brazilian developers last year, with 90% of that revenue commission-free. Despite this, Apple faces ongoing regulatory pressure in Brazil, navigating an antitrust lawsuit from MercadoLibre and court orders mandating sideloading and alternative payment methods. Apple is working with CADE, Brazil's competition watchdog, to delay enforcement and highlight the App Store's positive impact on Brazilian developers and the economy.

Read more
Tech

Room-Temperature Plastic-to-Petrol Conversion Achieves 95%+ Efficiency

2025-08-28
Room-Temperature Plastic-to-Petrol Conversion Achieves 95%+ Efficiency

Scientists in the US and China have developed a one-step method to convert mixed plastic waste into petrol at room temperature and ambient pressure, achieving over 95% efficiency. This energy-efficient process uses less equipment and fewer steps than conventional methods, making it scalable for industrial use. The method combines plastic waste with light isoalkanes, producing gasoline-range hydrocarbons (molecules with 6-12 carbons) and hydrochloric acid, which can be safely neutralized and reused. This breakthrough addresses the challenge of processing polyvinyl chloride (PVC), integrating dechlorination and upgrading into a single stage, avoiding the high-temperature dechlorination step required by traditional methods. Tests show high conversion efficiency even with real-world mixed and contaminated waste streams, offering a promising pathway towards circular economy goals.

Read more
Tech

Bluesky Blocks Mississippi Users Over Age-Verification Law

2025-08-23
Bluesky Blocks Mississippi Users Over Age-Verification Law

Bluesky, a social networking startup, has opted to block access from Mississippi users rather than comply with a new state law mandating age verification for all users. Citing resource constraints and concerns about the law's broad scope and privacy implications, Bluesky argues the required technical changes are too extensive for its small team. The company highlights the law's potential to stifle innovation and disproportionately harm smaller platforms. This decision affects only the Bluesky app built on the AT Protocol; other apps may choose a different course of action.

Read more
Tech

James Gunn: The Man Behind DC's Reboot

2025-06-18
James Gunn: The Man Behind DC's Reboot

James Gunn, the director behind the Guardians of the Galaxy franchise, is now co-CEO of DC Studios, tasked with building a new DC Universe. From B-movie beginnings to directing Marvel films, and now spearheading DC's reboot, Gunn's career is a compelling narrative. He reveals his past work stemmed from a need for validation, but now he focuses on pure creativity and emphasizes the importance of high-quality scripts. The upcoming 'Superman' film represents his fresh take on the iconic character, blending sci-fi elements with emotional depth, presenting a more grounded and relatable Superman.

Read more

Square Theory: A Unified Framework for Crossword Puzzles, Branding, and Jokes

2025-05-27
Square Theory: A Unified Framework for Crossword Puzzles, Branding, and Jokes

The story begins in Crosscord, a Discord server for crossword enthusiasts. A phenomenon called "double doubles," pairs of word pairs with interesting relationships (like synonyms), emerged, exhibiting a 'square' structure. This structure isn't limited to crosswords; it's found in branding, jokes, and even research paper titles. The author calls it "square theory," arguing that the closure and coincidental nature of this structure make it inherently compelling. The theory illuminates successful crossword themes, brand names, and the structure of clever jokes, highlighting the satisfying feeling of completion inherent in this square arrangement.

Read more

Linus Torvalds Rages Against 'Turds' in Linux 6.15 Kernel

2025-03-31

Linus Torvalds, the creator of Linux, expressed his strong displeasure with the newly merged hdrtest code in the Linux 6.15 kernel, specifically within the Intel Xe driver. This testing code generates unnecessary temporary files during the build process, cluttering the source tree, slowing down the build, and even affecting filename completion. Torvalds referred to it as "turds" and demanded its removal, suggesting that developers run it as a separate test instead of integrating it into the regular build. While the code aims to ensure the integrity and kernel-doc test-passing of DRM header files, its crude implementation infuriated Torvalds.

Read more
Development

HMD Key: Budget-Friendly Smartphone Without Compromise

2025-01-12
HMD Key: Budget-Friendly Smartphone Without Compromise

HMD Global launched the HMD Key, a budget-friendly smartphone priced at just £59. This lightweight device boasts Android 14 (Go edition), impressive virtual memory for performance boosts, and an incredible 77-hour battery life. With versatile camera modes and two years of quarterly security updates, the HMD Key delivers a complete smartphone experience without breaking the bank, proving that affordability doesn't mean sacrificing quality.

Read more

/etc/glob: The Untold Story of Early Unix Shell Globbing

2025-01-13

This article delves into the history and function of `/etc/glob` in early Unix systems. Before the V7 Bourne Shell, Unix shell globbing wasn't handled by the shell itself but delegated to the external program `/etc/glob`. `/etc/glob` received the command and arguments, expanded wildcards, and then executed the command. The article details how `/etc/glob` worked across different Unix versions, including handling escaped characters and the rationale behind using an external program—likely due to resource constraints in early systems.

Read more
Development Unix history Globbing

Linus Torvalds to Gift Handmade Guitar Pedal

2025-01-13
Linus Torvalds to Gift Handmade Guitar Pedal

Linus Torvalds, the creator of the Linux kernel, is giving away a hand-built guitar effects pedal to a lucky kernel contributor. This unusual giveaway, announced in his weekly kernel release notes, serves as both a thank-you and a test to see if anyone actually reads his announcements. Torvalds, describing himself as a 'software person with a soldering iron,' will assemble an Aion FX pedal kit, promising a unique, if somewhat unpredictable, reward reflecting the quirky culture of the open-source community.

Read more
Development

Mario Kart World: A Massive Open-World Racing Revolution

2025-06-03
Mario Kart World: A Massive Open-World Racing Revolution

Nintendo's ambitious new title, Mario Kart World, completely reinvents the series, shifting from traditional individual tracks to a vast open world. So large was the game's scope, it initially struggled to run on the original Switch, ultimately becoming a launch title for the more powerful Switch 2. The development team not only doubled the racer count to 24 but also fundamentally redesigned core elements. Track design, for instance, now considers players entering and exiting from any direction. While familiar Mushroom Kingdom elements appear, the world is designed first and foremost for optimal kart racing. New modes include Knockout Tour, a battle royale-style race across the continent, and a revamped Grand Prix where players drive between courses. This change was inspired by the kishōtenketsu narrative structure, creating varied pacing. The game retains the series' quirky charm, like costume changes from eating diner food.

Read more

Amelia Earhart's Lost Plane Possibly Found After 88 Years

2025-07-13
Amelia Earhart's Lost Plane Possibly Found After 88 Years

Eighty-eight years after Amelia Earhart's disappearance during her attempt to circumnavigate the globe, Purdue University is launching an expedition to investigate a potential wreckage found near Nikumaroro Island in the Pacific Ocean. Satellite imagery from a decade ago revealed an object resembling a plane, now possibly buried under sand. The non-invasive expedition will use sonar and magnetometers, followed by careful excavation if necessary, to confirm the object's identity. This could finally solve the enduring mystery surrounding Earhart's fate and the location of her Lockheed Electra 10E.

Read more
1 2 182 183 184 186 188 189 190 596 597