HNHacker News
TopNewBestAskShowJobs

awinter-py

5,905 karma · joined January 15, 2015

blog: https://abe-winter.github.io
submissionscomments
awinter-py··on Should programming languages be safe or powerful?
have had this argument for library code

I have met a style of programmer who thinks, on some level, that generally reusable code is unsafe -- like the `sum` function (stupid reductive example) is not okay unless it has a bunch of business logic restricting the range of the numbers and takes a logger just in case, and the function name is eight words describing exactly what's happening, and the base and the mantissa have different types

and you end up with no general code anywhere because reusability is not even an afterthought, it is counter to the project

if you've never met this person I sound insane but I swear they exist

awinter-py··on Stimulants in Germanic communities of the Roman period
US also handed out a lot of benzedrine (normal amphetamine, not methamphetamine)
awinter-py··on Unique killer whale pod may have acquired special skills to hunt whale sharks
uh they one thousand percent have

did a killer whale write this

awinter-py··on Portland airport grows with expansive mass timber roof canopy
glulam archipelago
awinter-py··on Kubernetes on Hetzner: cutting my infra bill by 75%
cut my kube bill 100% on GKE by switching from regional to zonal cluster bc the first zonal cluster is free
awinter-py··on Photo Robot Takes the Perfect Picture
ok fair point but that's still like 3 dof

those arms are not cheap

awinter-py··on Photo Robot Takes the Perfect Picture
why isn't this just a gantry

not everything needs 6dof

awinter-py··on Handwriting but not typewriting leads to widespread connectivity in brain
> Allowing the use of (the fingers of) both hands would cause many unforeseen effects on the brain, which would make it hard to interpret the results. Participants gave their informed written consent

but is it truly informed consent if it is written with multiple fingers?

awinter-py··on A Brazilian CA trusted only by Microsoft has issued a certificate for google.com
what's the state's interest in having their CA built into windows?
awinter-py··on Brits are scrolling away from X and aren't that interested in AI
yeah, there's a theory of social networks that you have to move to new ones as they age

I think twitter aged artificially fast after it stopped investing in moderation and also shut off external researchers' access to the firehose (they were helping discover bad actor networks)

bsky seems more open to integrations at this point; like w/ subreddits, ownership of communities by those communities makes maintenance cheaper

awinter-py··on Engineering Sleep
I read nancy kress / beggars in spain as a teenager and get such an eerie vibe from short sleeper research

but also let's go, if a giraffe can sleep 2 hours so can I

awinter-py··on Brits are scrolling away from X and aren't that interested in AI
feels like OSS early adopter folks have been trying to leave for years, legal + media people moved to bsky this month and are starting to close their twitter accounts, younger VC / founder type people are trying to stick it out

some of the oss + scifi author crowd has been making it work on mastodon but may come to bsky. (think like charlie stross)

celeb + sports accounts are joining bsky now post-election, and in theory a bunch of users that will jump with them; insta/threads may still win this slice though

rn on bsky there's an early twitter dynamic of like mark hammill following tech journalists

awinter-py··on The UX of Lego Interface Panels (2020)
'organized -- chaotic' and 'all screen -- no screen' are truly the main axes of UI design
awinter-py··on The UX of Lego Interface Panels (2020)
you and the us navy

https://news.usni.org/2019/08/09/navy-reverting-ddgs-back-to...

they ripped out the GUI-based controls after a bad crash

(actual story is more complicated though -- they transferred partial control of the helm to another station, instead of transferring full control, leading the new operator to think they had lost control of the boat. similar thing happened with air france 447 where a single pilot panicked and the others couldn't observe their control input)

awinter-py··on A pretty visualisation of the European power grid (2022)
that wind farm sending 1 gw into scotland from norway is striking
awinter-py··on The Physics of Butterfly Wings
the world is a vampire
awinter-py··on Amazon won't accept written communication
I mean technically any company with a legal department accepts written communication, and if they're out of state you can serve them through your state's department of state

they fact that they have invented a byzantine system for complaining to them doesn't mean you have to make more than a token effort to comply with that system

awinter-py··on Don't return named tuples in new APIs
these can be more memory-efficient than classes or dictionaries.

there was a point a while back where python added __slots__ to classes to help with this; and in practice these days the largest systems are using numpy if they're in python at all

not sure what modern versions do. but in the olden days, if you were creating lots of small objects, tuples were a low-overhead way to do it

awinter-py··on Hertz-dev, the first open-source base model for conversational audio
what is up with the first sample? and/or am I having a stroke
awinter-py··on Hi Google, please stop pooping the bed: a desperate plea from the indie web
thought this was going to be about the 'log in with google' popup
awinter-py··on We're forking Flutter
it's possible to tell
awinter-py··on How I Experience Web Today (2021)
page leave dialog was chef's kiss
awinter-py··on Deadline looms: Google Workspace mandates OAuth by September 30
last time I tried thunderbird for mail, it didn't support oauth and was still in the less secure apps flow

my sense is that oauth requires centralization and is fairly complex for an OSS org to support? like the thunderbird team would still need to host one redirect and a private key to enable this

awinter-py··on The Engineering of Landfills
note that compost matters bc food waste degrades anaerobically in the deep layers of a landfill, but aerobically in compost heaps -- the greenhouse impact of composted food waste is very different pound-for-pound from a landfill

the landfill gas capture systems that burn it off or use it for power are not installed until fairly late in the life cycle of a cell. food has a fairly short half life which means that a lot of it will decay before capture, or even final cover, is in place

total methane from landfills is down (from ~160 to ~100 mmt co2e since 1990), but the portion of this from food is way up

awinter-py··on How a leading chain of psychiatric hospitals traps patients
could create a system for getting an easy second opinion from a doctor outside the facility

then its not patient vs doctor, it's doctor vs doctor

awinter-py··on Distributed Locks with Redis (2014)
a single redis instance has better consistency + partition tolerance than any raft implementation
awinter-py··on Distributed Locks with Redis (2014)
redis is the easiest-to-host lock server and that's worth the risk in some applications (depending on consequence of errors obv)

inspiring + slightly terrifying that rather than a single server-side implementation, every client is responsible for its own implementation

if postgres provided fast kv cache and a lock primitive it would own

awinter-py··on Show HN: My 70 year old grandma is learning to code and made a word game
grandma sword
awinter-py··on The U.S. wanted to knock down Huawei. It's only getting stronger
the classic kelly clarkson single about using industrial policy to stay afloat when a revenue source goes away
awinter-py··on Third-party cookies have got to go
> They can be helpful for use cases like login and single sign-on, or putting shopping choices into a cart

this doesn't make sense. if you're just solving oauth without cookies, solve oauth without cookies. make an oauth spec. (isn't passkeys supposed to solve oauth?)

also oauth uses redirects and query params I thought. I wonder if by 'single sign on' they mean 'tracking by google but not rando 3rd parties'

let's say SSO is an actual exceptional case where 3p cookies are useful. oauth + similar flows are miserable and nonstandard. make everyone happy with you one time in your life W3 group and standardize oauth. literally take whatever oauthlib and passport support today and encode them into a standard

not sure why shopping carts need to be third party; in the shopify case, shopify is hosting the store and the cart. if a cart legit needs to be shared across sites ... use oauth

← PreviousPage 4 of 34Next →