Show HN: Cronexpr, a Rust library to parse and iter crontab expression
cronexpr is a library to parse and drive the crontab expression. Here is a quick example that shows how to parse a cron expression and drive it with a timestamp: use std::str::FromStr; use cronexpr::MakeTimestamp; let crontab = cronexpr::parse_crontab(“2 4 * * * Asia/Shanghai”).unwrap(); assert!(crontab.matches(“2024-09-24T04:02:00+08:00”).unwrap()); assert!(!crontab.matches(“2024-09-24T04:01:00+08:00”).unwrap()); assert_eq!( crontab .find_next(“2024-09-24T10:06:52+08:00”) .unwrap() .to_string(), “2024-09-25T04:02:00+08:00[Asia/Shanghai]” ); let iter = […]
Git-absorb: Git commit –fixup, but automatic

{{ message }} This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. You can’t perform that action at this time.
Paramotorists soar across remote Peru desert to collect threatened plants

The paramotorist team in the Peruvian desert. Left to Right: Márcio Aita Júnior, Mike Campbell-Jones and Senderson Laurido. Credit: Mike Campbell-Jones In an innovative paper published today in the journal Plants, People, Planet, scientists from the Royal Botanic Gardens, Kew, Huarango Nature and paramotorists from Forest Air, highlight the exciting potential of paramotoring as a […]
Cat memes went viral 100 years ago

From the Collection of Ann Lewis and Myron Sponder In the age of social media, we’re living through a communications revolution. But this isn’t the first one, nor is it the first time cats have been at the centre of social change. It is a fundamental law of media history: as soon as a new […]
Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code

{{ message }} This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. You can’t perform that action at this time.
Eliminating Memory Safety Vulnerabilities at the Source

Posted by Jeff Vander Stoep – Android team, and Alex Rebert – Security Foundations Memory safety vulnerabilities remain a pervasive threat to software security. At Google, we believe the path to eliminating this class of vulnerabilities at scale and building high-assurance software lies in Safe Coding, a secure-by-design approach that prioritizes transitioning to memory-safe languages. […]
How to avoid a BSOD on your 2B dollar spacecraft

Short answer: turn it off and turn it back on Long Answer… Background The lifecycle of most spacecraft consists of a final phase where all the systems are tested to various levels of synergy. One of the most important and complex set of tests are the Closed Loop Tests (CLTs), where the spacecraft is sent […]
Walking on the Moon in Cologne: Europe’s lunar life simulator

A large, ordinary-looking warehouse in the German city of Cologne is the closest you can get to walking on the Moon — without leaving Earth. The facility known as LUNA, which was officially inaugurated on Wednesday, is the world’s most faithful recreation of the lunar surface, according to the European Space Agency (ESA). European astronauts […]
Orion, Our First True Augmented Reality Glasses

Five years ago, we announced to the world that we were building AR glasses. We don’t think people should have to make the choice between a world of information at your fingertips and being present in the physical world around you. That’s why today, we’re unveiling Orion, which we believe is the most advanced pair […]
Llama 3.2: Revolutionizing edge AI and vision with open, customizable models

We’ve been excited by the impact the Llama 3.1 herd of models have made in the two months since we announced them, including the 405B—the first open frontier-level AI model. While these models are incredibly powerful, we recognize that building with them requires significant compute resources and expertise. We’ve also heard from developers who don’t […]