Hacker Newsnew | past | comments | ask | show | jobs | submit | more pornel's commentslogin

There was one, but it was underwhelming.

Rust's macros and scopes are barely confusing enough, nothing like a text-based preprocessor. It lacks ifs with non-bracketed bodies, implicit integer/pointer conversions, goto, surprising operator precedence, silent ignoring of returned errors, and other quirks that make Underhanded contest work.


Here's the code performing the allocation reuse:

https://github.com/rust-lang/rust/blob/25f8d01fd8bda339612d0...

It's not supposed to waste more space than a regular `collect()` or `push()` would when growing the capacity exponentially.


Apple’s goal is to gradually replace all C++ with Swift, even kernel code.

https://youtu.be/lgivCGdmFrw


Rust is not a sandbox language like JS. It only catches accidental programming errors, and it's improbable that someone would write a hack via /proc/self/mem by mistake.


The article does a great job of shattering all hopes.


Their EVs are excellent. It looks like they've rebooted the company with the e-GMP platform.


I wouldn't be surprised if E cores running at their max frequency had worse performance per watt than P cores running normally, so such ramp up before use of P cores wouldn't make sense.


If it’s really awkward you can charge on the way at a public charging station. In new EVs that’s 20-30 mins, not 2 hours.

The cost of domestic electricity to top up an EV will be around $15 (public chargers have relatively high markup), so probably not a big deal?


There are outdoor chargers, if you have a driveway.

Also note that in city/commute use BEV needs to be charged about once a week, not every night.


I’ve thought about that. There is a fence immediately right of my driveway and an alley immediately left. I have very little space to install any sort of pole, and as I live in Minnesota, what little space I do have is needed badly for snow storage. It’s already a problem, last winter the snow was stacked above 6 feet either side.

The left side of my garage potentially has room for a charger to be mounted to the face of the garage, the right side does not.

How long are the cables generally? If I could charge both cars from the left of the garage with like extra long charging cords it could maybe be workable if not a tripping hazard. I also wonder how flexible the cables are in -20°F to -30°F weather? Do they get stiff/brittle?


The cable lengths can vary. The EVSE I recently installed has 24ft of cable. I can't speak to what the cable is like in that cold though, around here my garage rarely gets below freezing.

https://grizzl-e.com/products-specs/grizzl-e-classic/


A high quality normal extension cord is fine in Europe, even if it's 20m or more.

I don't know about 120V use, but I assume you'd use 240V for a new socket anyway.


I’m particularly impressed by speech recognition on Apple Watch. On device, via tiny microphones, in noisy environments, and still works despite my non-native accent.


It was interesting to me to learn that big companies deliberately train their speech recognition on different accents. Even for something like the "OK google" wake word, they have a feature for Japanese speakers who can say "Oke Googuru" because they don't have the same L/R sounds. https://www.wikihow.com/Say-Okay-Google-in-Japanese

And with my Indian and European coworkers, I always have to turn on subtitles in Zoom and Meet to be able to understand them. The computer does a way better job at this than I ever could!


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: