HNHacker News
TopNewBestAskShowJobs

corwinxpro

12 karma · joined August 25, 2025

submissionscomments
corwinxpro··on Do women’s mate preferences change across the ovulatory cycle? (2014) [pdf]
Correct, _people_ cannot ovulate. (Some) females can ovulate. One case of an unusual cytogenetically proved phenotypically male fertile hermaphrodite can ovulate.
corwinxpro··on Opaque Types in Python
The main problem with such approach is that `class _RealShipOpts:` is very ugly to write unit tests for. You need to import a private entity in tests. I would slightly change the presented approach, and move the "public" `ShippingOptions`, `shipFast`, etc., into a new module that is a public API, for my users to use something like `from my_lib.shipping.api import ShippingOptions`.

That way, I can use "normal" naming in `class RealShipOpts:...`, and be explicit that it's not really public for the end users (they should use the `.api` module instead).

corwinxpro··on Teaching my neighbor to keep the volume down
In the vicinity of obscenity?
corwinxpro··on Trump says Venezuela’s Maduro captured after strikes
any evidence of that?
corwinxpro··on BYD Sells 4.6M Vehicles in 2025, Meets Revised Sales Goal
> Local garages are shutting due to lack of demand

I cannot book an MOT or regular appointment in "local garages" because all are booked for weeks ahead. I don't think your statemenet is anywhere near being true.

corwinxpro··on BMW PHEV: Safety fuse replacement is extremely expensive
> Compared to stuff like Toyotas or Hondas

Don't get this. I had a CR-V from 1996 (over 300k), sold it a few years ago, and can still see it cruising around the town. My previous Toyota Yaris was pretty much unkillable, just like a RAV 4 or a 1998 TLC.

corwinxpro··on Python developers are embracing type hints
Indeed, I almost can't read untyped python code these days. It just feels like "what the hell is going on here?" and "what is this object?" ever so often. Sorry to say that but most people who write python just aren't good API designers, or software engineers in general, and type hints can at least help others get a vague idea of what the intent was.