100 Exercises to Learn Rust

This Rust course teaches core concepts through exercises, starting from scratch and covering syntax, type system, standard library, and ecosystem. The course is interactive and hands-on, with solutions available on GitHub and a tool to verify progress.

A forged Apple employee badge

https://i0.wp.com/cabel.com/wp-content/uploads/2022/12/photobooth1-upscaled.png?fit=1180%2C1180&ssl=1
A person sold an Apple Employee #10 badge, claiming it was authentic, but Chris Espinosa, Apple Employee #8, suspected it was fake and the buyer eventually discovered several inconsistencies. The seller made mistakes and eBay failed to take action despite multiple reports of fraud.

Zwentendorf Nuclear Power Plant: Finished in 1978 but never used

https://img.atlasobscura.com/WSBCY-nEPNpHzUcJed9vcydDz2UTnbSX_j6XS1shryU/rt:fit/h:390/q:81/sm:1/scp:1/ar:1/aHR0cHM6Ly9hdGxh/cy1kZXYuczMuYW1h/em9uYXdzLmNvbS91/cGxvYWRzL3BsYWNl/X2ltYWdlcy8zZjkz/ZDM0YmIxNjkxODU0/NTFfODQwMTk2MDU0/MF9kNDRlNTU1Mjg4/X2IuanBn.jpg
Austria's Zwentendorf nuclear plant was completed in the 1970s but never turned on due to public outcry and a subsequent referendum banning all nuclear power plants. The facility was partially dismantled and repurposed as a spare parts warehouse, film shooting location, and security training site.

Computer scientists invent an efficient new way to count

https://d2r55xnwy6nx47.cloudfront.net/uploads/2024/05/DistinctElements-byNicoRoper-Lede-scaled.webp
A computer scientist suggests using an algorithm called CVM to count unique animals or users, which requires remembering only a small number of entries instead of the entire list. The CVM algorithm solves the distinct elements problem by relying on randomization and can efficiently monitor a stream of elements without exceeding available memory.
https://www.potaroo.net/ispcol/2024-05/starlink-tcp-fig1.png
The Starlink satellite service uses a unique combination of technologies, including phased array antennae and dynamic channel rate control, to provide internet connectivity with varying signal quality and latency. The TCP protocol's performance over Starlink connections is affected by factors such as packet loss, jitter, and satellite handovers, requiring optimization techniques like BBR or ...

Visualizing algorithms for rate limiting

https://smudge.ai/images/og.png
Rate limiting algorithms control traffic to services by blocking requests that exceed a set limit during a period. Three common algorithms are fixed window, sliding window, and token bucket, each with its own pros and cons for handling bursts and average rates of requests.

Deutsche Bahn introduces "MetaWindow"

https://www.railtarget.eu/images/theme/20240516110358_20250515_Huber_Laermschutzwand_PI-data_2.jpg
Deutsche Bahn has introduced the MetaWindow, a transparent noise barrier with unparalleled sound-absorbing capabilities, developed with Italian start-up Phononic Vibes. The innovative technology achieves high noise insulation levels while maintaining transparency and is designed for sensitive areas where strict noise reduction regulations apply.

Jike: The obscure social media app beloved by China's tech scene

https://149346090.v2.pressablecdn.com/wp-content/uploads/2023/07/Jike-Social.jpg
Wang Huiwen, co-founder of Meituan, announced plans to build China's OpenAI on Jike, a niche social media platform popular among tech workers and investors. Jike has grown into a community-driven platform with 2 million users, known for its curated topics and in-depth discussions.

Growing sodium chloride crystals at home

https://crystalverse.com/wp-content/uploads/2021/11/sodium-chloride-1.jpg
The author shares a technique for growing large, high-quality sodium chloride crystals at home by controlling the crystallization process and using a specific procedure to prepare the solution and seed crystal. The resulting crystals can be transparent, cubic, or even form unique shapes like pyramids or clusters, depending on factors such as evaporation rate and environmental conditions.

Slack AI Training with Customer Data

https://a.slack-edge.com/3103e63/marketing/img/features/ai/nav-pricing/slack-ai-blog-hero@2x.png
Slack's mission is to simplify work life while prioritizing customer data privacy and security, using machine learning and artificial intelligence in limited ways to enhance its product. The company has guiding principles and technical controls in place to prevent data leaks, offers customers choices around model training, and aggregates data to ensure anonymity when updating services.

Egypt's pyramids may have been built on a long-lost branch of the Nile

https://media.nature.com/lw767/magazine-assets/d41586-024-01449-y/d41586-024-01449-y_27097740.jpg
Researchers have discovered an ancient branch of the Nile River, named Ahramat Branch, which once flowed near many major pyramid sites in Egypt. The discovery suggests that ancient Egyptians may have used boats to transport building materials rather than carrying them over land, providing new insights into their construction methods and daily life.

Simplifying Join Syntax

https://opengraph.githubassets.com/2e388cbf86501b595ba60d99addd87f6fe380791fcd6cc060209348ae809cd8f/SPLWare/esProc
The article discusses simplifying JOIN code by treating foreign keys as dimension tables, eliminating Cartesian products and making queries more intuitive. It introduces two methods: Interconnection of homo-dimension tables and sub table set-lization, which simplify complex joins and reduce errors.

Show HN: Chessdream – Generate realistic chess positions with AI

A neural network generates realistic chess positions, optionally constrained by preset pieces, with adjustable temperature and piece count. The tool can be used to practice specific pawn structures in various game scenarios against humanlike AI at chosen skill levels.

Arch Linux RISC-V

The project applies patches to Arch Linux source packages, aiming to upstream them for RISC-V (riscv64gc) support. The project provides various resources, including patch repositories, binary package repositories, and Docker images, with a contributing guide available.

Urban renewal left the U.S. too scared to build

https://substackcdn.com/image/fetch/w_320,h_213,c_fill,f_auto,q_auto:good,fl_progressive:steep,g_center/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0404ccd-7832-449f-8f89-6d0179e860e1_2560x1707.jpeg
Urban renewal policies in the US, which aimed to revitalize cities by bulldozing low-income areas, have led to persistent infrastructure issues and a lack of trust in government projects. The legacy of urban renewal continues to hinder efficient development and planning, with excessive public process and veto points perpetuating inequitable outcomes and slow project delivery.

How the Soviets revolutionized wristwatches (2016)

https://d3h6k4kfl8m9p0.cloudfront.net/uploads/2016/12/07155949/watchpile.jpg
The Soviet Union's watchmaking industry was once renowned for producing high-quality, affordable timepieces that rivaled those from Switzerland, with brands like Raketa, Poljot, and Vostok gaining popularity worldwide. Despite its decline in the 1980s and eventual collapse in 1991, Soviet watches remain sought after by collectors today for their unique history, craftsmanship, and nostalgic value.

Context caching guide

https://ai.google.dev/static/site-assets/images/share.png
Gemini API's context caching feature reduces request costs by caching repeat content with high input token counts. It's a paid feature, billed based on cache token count and suitable for scenarios with repeated references to initial contexts.

Exit Strategy: The Case for Single-Stair Egress

https://www.architecturalrecord.com/ext/resources/Issues/2024/05-May/Stairs-BW-edited.jpg?1715314508
American land-use reformers aim to address housing shortages by amending zoning codes and building codes, specifically allowing single-stair apartment buildings, which were once common in the US but are now banned due to fire safety regulations. By re-legalizing these designs, multifamily housing can be built cost-effectively on urban sites that would otherwise be developed as single-family homes.

America's dramatic shift from gas power plants to batteries

Big batteries are increasingly replacing gas-fired power plants in the US, with battery storage capacity expected to surge from 1% to 23% of new additions this year. The shift is driven by declining demand for gas and increasing investment in solar, wind, and battery production, which will help accelerate the transition to a fully clean power grid.

The evolution of a Scheme programmer (2020)

The Downfall of DeviantArt

https://compote.slate.com/images/19ab60f9-2336-4176-b316-bdc1a783aa63.jpeg?crop=1560%2C1040%2Cx0%2Cy0
DeviantArt, a 24-year-old social network for artists, has been accused of promoting artificial intelligence-generated art and allowing bots to buy and sell artwork on its platform, leading to outrage among its community. The site's A.I. integrations have also led to lawsuits from artists who claim their work was scraped without permission and used to train generative-A.I. models, highlighting ...

D3 in Depth

https://www.d3indepth.com/img/visualising-data-with-js/cover.jpg
The book "Visualising Data with JavaScript" teaches data visualization using Chart.js, Leaflet, D3, and React. It covers HTML, SVG, CSS, and JavaScript fundamentals for building web-based data visualizations.

How to fix bugs in 24 hours or less

https://www.dolthub.com/blog/static/tim-bitmoji-1aa00d2cc713c9237265a5573fcd898e.png
Here at DoltHub, we made a pledge to fix Dolt correctness bugs in 24 hours or less. We're proud of this pledge and we work hard to uphold it. But how is this possible? Response times to issues in the software industry vary wildly. It's not uncommon to never get a response, let alone a fix for your issue. Not at DoltHub. Find a bug in Dolt and we'll fix it in 24 hours or less. This ...

Štar: an iteration construct for Common Lisp

tar is an extensible and general iteration construct for Common Lisp that aims to be pleasant to use, easy to understand, and fast, with a focus on separating iteration from value accumulation. It allows users to define custom iterators and optimizers, making it a flexible tool for iterating over various data structures.

Skio (YC S20) – Subscriptions for Shopify, ReCharge Migrations – Is Hiring

https://skio.com/deck.jpeg
We value minimal meeting culture, reversible decisions, and high-achieving individuals who question the status quo and drive results. Our company culture prioritizes adventure-driven decision-making, EV-based evaluation, and apolitical discussions to build a legendary company with fun memories.

Build WebGPU apps with PlayCanvas

https://blog.playcanvas.com/assets/images/editor-webgpu-86041b7f4db9c53139d1883799815a85.png
PlayCanvas Editor now supports WebGPU, which offers improved performance and functionality, with Chrome and Edge browsers already enabled. To opt-in to WebGPU support, update Graphics Devices to include WebGPU (beta) in your project's settings, and provide feedback on any issues or feature requests.

The United States of Avocado

https://tastecooking.com/wp-content/uploads/2024/05/TASTE_Avocado_2340-x-1314-2000x1123.jpeg
Avocados have become a staple food in the US, with consumption tripling since 2001, and are now recommended as one of the first solid foods for babies due to their mild flavor, rich nutrition, and low allergenic potential. The rise of avocados has led to various industries emerging around their cultivation, distribution, and sales, including direct-to-consumer websites and subscription ...

History of the Italian electrical system

https://samuele963.github.io/electrics/images/history/old_line_voltages.png
Italy's electrical system has undergone significant changes over the past century, including multiple voltage and frequency standards, with 120V and 220V being used simultaneously in different regions. The country's dual-supply system, which included separate meters and plugs for lighting and appliances, was eventually phased out in favor of a single standard voltage supply.

Show HN: Autopilot for my little HTML game called Andromeda Invaders

Smart Pointers in (GNU) C

The user created a smart pointer library in C, inspired by C++'s smart pointers, to manage memory allocation and deallocation with automatic cleanup. The library includes unique_ptr and shared_ptr implementations using metadata and variadic macros for easy usage.