HN user

slayerjain

118 karma
Posts19
Comments69
View on HN
arstechnica.com 2y ago

New "Apple Intelligence" AI features will be opt-in by default

slayerjain
3pts0
out.reddit.com 2y ago

Accidents, link broken

slayerjain
1pts2
www.androidpolice.com 2y ago

Google might keep your Pixel during a repair if you're caught using non-OEM part

slayerjain
3pts2
www.windowscentral.com 2y ago

A bunch of Windows Recall clones have already spawned

slayerjain
1pts1
www.usatoday.com 2y ago

Is it possible to turn off AI Overview in Google Search? What we know

slayerjain
2pts1
www.nytimes.com 2y ago

Electric Cars Are Suddenly Becoming Affordable

slayerjain
22pts49
www.reuters.com 2y ago

London hospital cyber attack causing significant impact on services

slayerjain
4pts0
news.ycombinator.com 2y ago

Ask HN: Have you tried weight loss drugs?

slayerjain
15pts48
arxiv.org 2y ago

Assured LLM-Based Software Engineering

slayerjain
2pts0
news.ycombinator.com 2y ago

Ask HN: Is Anyone Using eBPF Beyond Observability?

slayerjain
3pts2
blog.keploy.io 3y ago

Creating realistic mocks/stubs from HTTP, gRPC or DB calls for go programs

slayerjain
1pts0
github.com 4y ago

Show HN: My no-code testing platform is testing itself and getting 70% coverage

slayerjain
9pts4
github.com 4y ago

Show HN: Auto-generate unit tests (with mock data) from API calls

slayerjain
5pts1
github.com 5y ago

Show HN: Robust Canary Deployments in Minutes

slayerjain
3pts2
hybridk8s.tech 5y ago

Show HN: No-code testing/verification API for your Kubernetes apps

slayerjain
3pts1
news.ycombinator.com 5y ago

Ask HN: Does Apple Silicon (M1) support ECC memory?

slayerjain
5pts5
johariapp.com 5y ago

Show HN: Our YC Build Sprint Launch- Feedback Tool with Public SoftSkill Profile

slayerjain
3pts1
news.ycombinator.com 6y ago

Ask HN: Multi-tenancy in software vs. infrastructure for SaaS

slayerjain
17pts14
medium.com 7y ago

Lenskart.com Uses Kubernetes to Support It's Compute and Development Platform

slayerjain
1pts0

I think this is the reason docker on linux requires appending sudo to the command by default.

Creating a docker group and adding the user to the docker group to avoid sudo is more of a convenience thing, and the implication seems to be well documented now - https://docs.docker.com/engine/install/linux-postinstall/

so if someone sacrificed convenience over security, I think the authors can't do much.

Also I think there's no such thing as secure vs non-secure product, instead its levels of security.

What do you think about sports (say badminton) compared to treadmill or cross-trainer for cardio?

If I end up burning the same amount calories? Because I find it much easier to burn calories playing badminton compared to treadmill..

I think developing these habits requires real will power.

Its relatively easy getting pumped and aggressively dieting or exercising for few weeks/months, and then later slowing down and gaining back all the lost pounds.

A habit that seems to be making a difference for me is consciously chewing food 2x longer than usual. I end up eating less food and have improved bowl movements.

I think weight loss is more than just calories in/out. Maybe our body reacts to adapt to situations and tried to change the body shape to make it easier for itself. So I think healthy habits are more important and can depend on genetic history too.

I thought it wouldn’t end well for the “rich” people - they would end up with some consequences like man-bear-pig or participating in fads like Prime energy drink.

But it wasn’t great either. Cartman never got thin, randy never got thin, women got abs - and maybe super high cravings/addiction to the drug.

That got me thinking, are they saying that this drug is legit but expensive because of the messed up healthcare system or its just a rick people fad and get them to do stupid things.

No, but usually they are trying to prove a point like ‘lazy solutions have great beginnings but don’t end well’. This time it was different and I might be living under a rock but never heard of weight loss drugs.

Don't Use Mocks 3 years ago

I actually agree. I think the point the author is trying to make it that fake can be reused in more places and stay relatively same as the code updates.

But I personally think that instead of spending the time to write a fake, its better to just spend the time writing actual integration test with the real dependency (eg: just run the db in docker or something)

or if you don't want to spend that time, then just record the interaction (eg: db calls) and create "throwaway stubs". Use this stubs as long as they are relevant, and then generate new ones as your code grows. Save time "writing" any mocks, and you don't tend to couple too much with your mocks :P

Don't Use Mocks 3 years ago

You know, faking stuff in code is a really case-by-case deal. You've got libraries out there like Localstack, for instance, that do a solid job at pretending to be AWS, but finding one solution that fits all? That's tricky, because everyone's needs are a bit different.

I've actually messed around with a library that makes stubs by recording external calls to things like APIs or databases. Sure, it can get a little brittle at times, but it's kind of cool because it's using real calls to create these stubs, and you don't have to put in a ton of extra work. Like anything else, it's about weighing the pros and cons and seeing what fits best for your project.

Apple Maps is also working well for me in Delhi NCR, India. Apple seems to have partnered with local mapping company called MapMyIndia. The traffic information and navigations are also quite useable and the ETAs also seem accurate.

I always check both Apple and Google Maps, but use Apple maps on my iphone because its way more battery efficient.