Readit News logoReadit News
davman commented on Docker limits unauthenticated pulls to 10/HR/IP from Docker Hub, from March 1   docs.docker.com/docker-hu... · Posted by u/todsacerdoti
keisborg · 7 months ago
It is not immediately clear to me if the limit is per repo/package or globally in the hub. For instance, I fear it will not be possible to add a new kubernetes node to my cluster without hitting the limit as it would need to pull all the individual images.
davman · 7 months ago
its globally in the hub. The announcement says they are rolling out the block in March but this already blew up my k8s clusters since last weekend. Have tried looking for an option to tell k8s to always use authentication tokens for image pulls, but can't find a way, going to have to add Kyverno to mutate all incoming Deployments to add imagePullSecrets.
davman commented on Why do Americans love ice water so much?   deseret.com/u-s-world/202... · Posted by u/nickt
GekkePrutser · 3 years ago
Oh well, I haven't got an upset stomach in the last few years so it can't be that bad :) And I take ice every day. Not making a habit out of kicking toilet seats though so I can't compare. Good for training the immune system.

Ps here in Barcelona 99% of the ice served comes in a big bag from a factory. You can tell because they're huge round cylinders with a hole in the middle.

Nobody makes their own ice here, neither at home nor restaurants and other hospitality locations. The only exception seems to be the fast food chains. I would assume that stuff is pretty clean as the factory specializes in it.

Is it not like that in America?

davman · 3 years ago
Lots of examples on this channel, but here’s a lovely one https://youtu.be/I8r2EAb0Yoo
davman commented on Intermittent fasting 2 days vs. 1 day per week   oa.mg/blog/intermittent-f... · Posted by u/sgfgross
fredrikholm · 3 years ago
I hope its manageable! Glad to hear that it isn't diabetes at least.

Wife is T1, so whenever I hear people describe hyper/hypoglycemia I can't help but to ask.

davman · 3 years ago
Appreciate your concern! :) Apparently hypoglycemia without diabetes is a thing (you prompted me to google), so I've ordered a blood sugar monitor and I'll do tracking for a week or two with a fast.
davman commented on Intermittent fasting 2 days vs. 1 day per week   oa.mg/blog/intermittent-f... · Posted by u/sgfgross
fredrikholm · 3 years ago
You are describing hypoglycemia. Are you often thirsty, tired, hangry? Pee a lot at night?

If so, it might be a good idea to go and check your blood sugar.

davman · 3 years ago
Yeah unfortunately I’ve had these symptoms throughout my life, have been regularly checked for diabetes but no dice. My dad has type 1 so we recognised my symptoms, but apparently it isn’t diabetes.
davman commented on Intermittent fasting 2 days vs. 1 day per week   oa.mg/blog/intermittent-f... · Posted by u/sgfgross
davman · 3 years ago
If someone can make it so it doesn't feel like I can no longer think or move any muscles or start sweating if I go more than about 3 hours without eating, then I'm on board! Also hunger pangs. Please no.
davman commented on Hertz paid Accenture $32M for a website that never went live (2019)   henricodolfing.com/2019/1... · Posted by u/sogen
davman · 3 years ago
That certainly sounds like Accenture.
davman commented on Node.js packages don't deserve trust   josephg.com/blog/node-san... · Posted by u/lewisjoe
vlunkr · 3 years ago
Pasting a comment I made about this a while ago:

The reason this keeps happening with NPM is because of absurd number of dependencies in the average node app. I have a tiny app I've been playing with using create-react-app. There are over 800 directories in node_modules. That absolutely dwarfs the number of any other language I've used. Even in a medium sized rails app, you likely have some awareness of what every dependency is. It's just impossible with npm.

This makes it easier for someone to inject their package into the ecosystem whether it's actually very useful of not (like the colors package).

One thought I've had to "reboot" the npm culture is to somehow curate packages that are proven to have minimal and safe dependencies, probably through manual review. Maybe it could be recursive, so that safe projects only rely on other safe projects.

davman · 3 years ago
I think curated packages is part of what https://tidelift.com/ is trying to achieve.
davman commented on PSA: React 18 calls code twice in strict dev mode to detect side effects   reactjs.org/docs/strict-m... · Posted by u/tomduncalf
davman · 3 years ago
Related:

I have an outstanding Bounty on a SO question for how to write a reusable useRef hook that only runs on the very first mount under StrictMode conditions:

https://stackoverflow.com/questions/71695213/equivalent-isfi...

davman commented on Smartknob – an open-source input device   github.com/scottbez1/smar... · Posted by u/_Microft
davman · 4 years ago
Saw this and instantly want one. I have no idea what I’ll use it for, maybe just an extremely expensive fidget spinner, but I want one.

As per usual living in the UK will make it cost prohibitive to make it myself, but I would pay probably $150-200 for a retail one.

davman commented on TypeScript Without TypeScript   80daystartup.com/day-28/t... · Posted by u/jdvh
davman · 4 years ago
I'd love to know more about how you're doing enums. We use JSDoc annotated JS code with tsc switched on to get the IDE integration, and I spent a huge chunk of time yesterday getting enums to work so that for example we could define a type where only certain enum values were valid (enum member types https://www.typescriptlang.org/docs/handbook/enums.html#unio... )

Was preparing a blog post on this enum work, but if you've solved it differently it'd be great to know :)

u/davman

KarmaCake day384June 8, 2012
About
Kismet: edf8d3 hnchat.com:hNLUUOJOyXS1OqWxzHH3
View Original