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.
HN user
slayerjain
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.
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
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
Only because they know Chinese EV will take 100% of the market if they do not come up with cheaper EV.
Because the EV industry has reached a new maturation stage in which companies lower prices to capture market share.
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.
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?
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.
Yes, I agree. I feel we are definitely missing out.
So the weight loss drugs in the show were similar to Garcinia?
Because people seem to be losing appetite and getting addicted xD
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.
Oh yeah, i guess its used in cillium for that usecase. Not sure about Envoy though.
Lima - pretty smooth way to develop on a linux vm on macOS. I connect it via SSH to VS code, and performs quite well on M1/M2 MacBooks.
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
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.
What about httpmock or wiremock?
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.
@zomglings is your team looking for something more UI driven like postman or something which simplifies or abstracts who dependencies are handled?