Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: ways Clear Filter

# [derive(Clone)] Is Broken

use std::sync::Arc; struct NoClone ; struct WrapArc <T>(Arc<T>); fn main () { let foo = WrapArc (Arc:: new (NoClone)); let foo_ = foo. clone (); } Do you think this code should compile? What about the following code: struct AlwaysEq <T>(T); impl <T> PartialEq for AlwaysEq <T> { fn eq (& self , _other: & Self ) -> bool { true } } impl <T> Eq for AlwaysEq <T> {} struct NotEq ; struct WrapAlwaysEq <T>(AlwaysEq<T>); fn assert_is_eq (_: impl Eq ) {} fn main () { let x = WrapAlwaysEq ( AlwaysEq (No

Show HN: I Got Tired of Calculator Sites, So I Built My Own

I’ve always found that online calculators tend to have bad UIs, especially on mobile. Most of the calculator websites I’ve come across use outdated and inconvenient ways of inputting data, or they format the results in confusing ways. I’ve noticed that fraction calculators (especially mixed fractions) are terrible to use, even on desktop. I haven’t built one of those yet, but it’s something I’m planning to tackle soon. This is a project I’ve always wanted to work on, but I’m relatively new to

Fancy Airplane Seats Have Nowhere Left to Go—So What Now?

Not so long ago, direct aisle access along with the ability to lie horizontally were the hallmarks of comfort on airplanes if on entering you happened to be turning right and not left. Fast-forward a decade and the prevailing new high-water mark is now the private suite with sliding doors, expansive entertainment screens and even double beds. Qatar Airways’ Qsuite allows four passengers to dine together face-to-face, while Virgin Atlantic’s Retreat Suite offers an oversized version of business

Show HN: I'm an airline pilot – I built interactive graphs/globes of my flights

I am an Airbus A350 Pilot Since 2023, I have been a First Officer on the Airbus A350 with British Airways operating out of London Heathrow. Prior to this, I flew the Airbus A320 family based at Heathrow and Gatwick since 2016. A career highlight has been flying with my father, who is a Captain on the A350 with BA. I joined British Airways through their cadet scheme in 2014, which included an Integrated ATPL course that I completed at FTEJerez in Andalucia, Spain 🇪🇸. My flying journey began in