News for hackers. Stuff that matters.

slayerjain

I worked on adding golang time freezing in keploy by using the approach from the go playground which used a fixed time (2009-11-10 23:00:00 UTC) but also increments the system clock used by goroutines.
similar to the integration testing component in keploy.io, which includes time freezing.

basically certain system clocks are rolled back and incremented in a deterministic manner to emulate real issues recorded from production bugs. Had lot of fun working with building this and the effect of messing with different system clocks by intercepting system calls.

https://keploy.io/docs/keploy-cloud/time-freezing/

I’m curious how well this creates new tests.

Also nice to see more Go based LLM apps

Straight up theft . Wow, even Apple's Terms aren't shitty enough to state that (although they'll charge you a fee). https://www.apple.com/legal/sales-support/terms/repair/gener...
Telling other people that i make 10k + a month and sell Coaching /s
Re:A bunch of Windows Recall clones have already spawned on Wednesday June 05, 2024 @10:57AM (#40585624)
Don't you love it? Employers finally will be able to reassert the control they lost thanks to WFH.

Truly marvelous how people come together to solve the problems they're really worried about.

They'll get rid of it eventually when it starts cutting into their ads revenue.

But for now, we have to suffer through someone's terrible idea to make it part of their homepage lol

Re:Electric Cars Are Suddenly Becoming Affordable on Tuesday June 04, 2024 @12:47PM (#40576482)
Only because they know Chinese EV will take 100% of the market if they do not come up with cheaper EV.
Re:Electric Cars Are Suddenly Becoming Affordable on Tuesday June 04, 2024 @12:47PM (#40576480)
Because the EV industry has reached a new maturation stage in which companies lower prices to capture market share.
Re:Instagram confirms test of 'unskippable' ads on Tuesday June 04, 2024 @12:44PM (#40576447)
Instagram used to be great to avoid all of the BS posts and ads from FB. Now it’s just an endless scroll or reels and I don’t even see anything from the real people I’m friends with.
Re:Instagram confirms test of 'unskippable' ads on Tuesday June 04, 2024 @12:44PM (#40576442)
Guess I'll go confirm my test of "deletable" apps.
Thanks to who ever upvoted my comment. Someone had downvoted me (╥﹏╥)
Not by default. But if a docker group is created and the non root user is intentionally added to docker group despite ignoring the warnings in red here - https://docs.docker.com/engine/install/linux-postinstall

then yes :)

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.

For a complex project it can be hard to go through the codebase. I have seen many projects where the development is active and the docs looms good but are quickly become outdated because of low usage.
> Active contributors is generally the most important metric IMO, but there are a lot of projects that break that rule too.

Just curious, can you please share some OSS projects that break the rule?

Re:Ask HN: Have you tried weight loss drugs? on Monday May 27, 2024 @12:52PM (#40492489)
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..

Re:Ask HN: Have you tried weight loss drugs? on Monday May 27, 2024 @12:46PM (#40492424)
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.

Re:Ask HN: Have you tried weight loss drugs? on Monday May 27, 2024 @11:23AM (#40491587)
Yes, I agree. I feel we are definitely missing out.
Re:Ask HN: Have you tried weight loss drugs? on Sunday May 26, 2024 @11:28PM (#40487336)
So the weight loss drugs in the show were similar to Garcinia?

Because people seem to be losing appetite and getting addicted xD

Re:Ask HN: Have you tried weight loss drugs? on Sunday May 26, 2024 @11:24PM (#40487315)
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.
Re:Ask HN: Have you tried weight loss drugs? on Sunday May 26, 2024 @11:20PM (#40487304)
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.

Re:Ask HN: Have you tried weight loss drugs? on Sunday May 26, 2024 @11:14PM (#40487276)
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.

Older »