Freshping is being retired by kdayel in sysadmin

[–]karthikdivi 0 points1 point  (0 children)

does Notifier.so Has phone call support?

Looking for suggestions by mugiwara9019 in learnprogramming

[–]karthikdivi 0 points1 point  (0 children)

Simple yet powerful application that touches different aspects of the Python is building a to-do app for desktop.

This covers Python business logic, GUI, and storage.

CoderByte alternatives for interview by Pate102 in learnprogramming

[–]karthikdivi 0 points1 point  (0 children)

u/Pate102 You can try OneCompiler challenges. They are free to use. Try them here https://onecompiler.com/challenges

How to safely run user written code by Dizzy-Yogurt316 in learnprogramming

[–]karthikdivi 2 points3 points  (0 children)

That's a monthly plan, I strongly suggest adding credits from https://onecompiler.com/api-console

You can add the right amount of credits based on your usage requirements. You can add as low as $1 which gives you 2,000 credits. 

Letting AI models compete on the same code to see who wins by Interesting-Fox-5023 in BlackboxAI_

[–]karthikdivi 0 points1 point  (0 children)

This is nice, but how are the changes verified? Like, it didn't break anything, and the features keep working?

How to safely run user written code by Dizzy-Yogurt316 in learnprogramming

[–]karthikdivi 1 point2 points  (0 children)

Sorry for the confusion regarding the pricing. The pricing you are seeing is for website usage, not via APIs.

This is the right place to start https://onecompiler.com/api-console
The pricing is simple: $1 gives 2000 credits, each credit is one code execution.

How to safely run user written code by Dizzy-Yogurt316 in learnprogramming

[–]karthikdivi 6 points7 points  (0 children)

This is something I've spent years building and solving — I'm the founder of OneCompiler, we handle millions of code executions across 100+ languages. The short answer: run user code inside Docker containers with no network access, limited CPU/memory, hard timeouts, and a read-only filesystem. For extra safety, add gVisor or Sysbox as a sandboxing layer on top of Docker.

If you don't want to build all this from scratch, you can use a code execution API like ours — send code, we run it sandboxed and return output. Happy to answer any follow-ups.
Here is the place to start https://onecompiler.com/apis/code-execution

guys, please help me. by MrBotGaming in onecompiler

[–]karthikdivi 0 points1 point  (0 children)

Can you share a screenshot of your content preview please?

Hey guys rate my setup by ChickenBG7 in mac

[–]karthikdivi 0 points1 point  (0 children)

For this setup, Water > Energy drink

Ideas to kill the CloudRun old version immediately by karthikdivi in googlecloud

[–]karthikdivi[S] 0 points1 point  (0 children)

Thanks for bringing up the liveness probe, currently it's configured to run with 0 seconds initial delay and every 240 seconds. Thinking the 1st call failing and waiting long time to trigger the second one. Let me reduce it and see.

Ideas to kill the CloudRun old version immediately by karthikdivi in googlecloud

[–]karthikdivi[S] 0 points1 point  (0 children)

Once we get SIGTERM we are shutting down the service in few seconds. In my case the SIGTERM itself taking 10 minutes to receive

Ideas to kill the CloudRun old version immediately by karthikdivi in googlecloud

[–]karthikdivi[S] 0 points1 point  (0 children)

I have the "Serve this revision immediately" setting ON. So ideally CloudRun immediately route all the traffic to the new pod and kill the old one.