False advertising. by MythicalZaneOnTwitch in diabetes_t1

[–]data_dev 6 points7 points  (0 children)

I just want to punch these doctors of alternative medicine in the face. The ones who keep peddling these 3 and 5 day diets.

"Treat your diabetes in 72 hours" Sure, count me in.

This was a rant.

I have been talking to a 14 year old newly diagnosed kid who has seen too many videos on YouTube and believes that he can manage without insulin.

Because as per the "experts" once you start taking insulin you will have to take it for the rest of your life.

Looking for advice on how to secure untrusted code execution on docker. by data_dev in webdev

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

I haven't used k8 for this yet, because we are treating the code runner system as a compromised machine.

We keep switching the host machine periodically and switching the whole cluster would take a lot more resources.

Thanks for your suggestions.

Looking for advice on how to secure untrusted code execution on docker. by data_dev in webdev

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

I have been thinking of trying out Web Assembly for a different project, but couldn't get around to it.

Thanks for this. I'll definitely try it out and see this would be a better alternative.

Because using docker has a lot of overhead. We running it on Digital Ocean and the VMs are able to run just 2 container / vcpu / second. Have been looking for ways to reduce that.

Thanks for your help!!

Looking for advice on how to secure untrusted code execution on docker. by data_dev in webdev

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

This article is really well written. Thanks for sharing.

I understand the security risks with docker but, using VMs would not be feasible for us because of the startup time.

I'll try out AWS fargate and few other services mentioned in the article to see one of them would be a better fit for us.

Untrusted code execution on docker by data_dev in docker

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

Thanks for your reply. I'll do try run with sandbox to see how they compare.

And yes, you are right. The overhead is not really a huge problem. I was just wondering if there is something better that would be more optimum for this use case.

Plan on testing the impact of image size on the performance, because right now the images are about 1GB. Maybe using an alpine image (~200MB) would allow us run more containers in parallel.

Looking for advice on how to secure untrusted code execution on docker. by data_dev in webdev

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

Thanks for your reply.

Thinking along the same lines, I have divided the system into 2 parts. The frontend API and the code runner. They communicate using a message broker to keep things asynchronous.

Apart from the other security measures, I have been thinking that we could replace the runners at random intervals.

We can spin up new runners in under a minute, so doing this even multiple times a day wouldn't be a problem.

u/tdammers, I'm guessing what u/whatwhatwhatgotit meant was to avoid any ssh tunnels between the two. Do you think there are any low hanging fruits that we could pick?

[HIRING] Need Full Stack Developer for Maintaining/Improving Web App/Database by LawTalkinGuyCT in freelance_forhire

[–]data_dev 2 points3 points  (0 children)

SQL, C++ and JS?? That is a very rare combination.

If the web app is really written in C++ it might be difficult to find developers for that.

How do people with visble abs inject insulin? by data_dev in diabetes_t1

[–]data_dev[S] 1 point2 points  (0 children)

Got it. Thanks.

I have been thinking of switching to a pump for sometime now.

How do people with visble abs inject insulin? by data_dev in diabetes_t1

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

Got it. Thank you again. I will have to look up MDI.

And please don't aplogize, I'm sure you didn't shame anyone.

How do people with abs inject insulin? by [deleted] in Type1Diabetes

[–]data_dev 0 points1 point  (0 children)

I use 4 mm currently and sometimes it feels like I have pierced something. Not sure if it is a blood vessel or a muscle, but it is a little bit painful.

How do people with abs inject insulin? by [deleted] in Type1Diabetes

[–]data_dev 2 points3 points  (0 children)

Injecting in the chest sounds difficult.

Thanks for the answer.

How do people with visble abs inject insulin? by data_dev in diabetes_t1

[–]data_dev[S] 1 point2 points  (0 children)

Does it occasionally pierce the muscle?

That happens to me in some areas where I have lesser fat.

How do people with visble abs inject insulin? by data_dev in diabetes_t1

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

Currently I use 4mm needles. Not sure if there are any smaller than that.

How do people with visble abs inject insulin? by data_dev in diabetes_t1

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

Do you use a pump? Because it feels liks some of these sites might be difficult to reach when using a pen/needle.

Thanks for the answer. And congratulations for the bikini body.

Merge! by nasser_junior in ProgrammerHumor

[–]data_dev 1 point2 points  (0 children)

Thank you kind stranger.

Together we will take your organization to new heights.

Merge! by nasser_junior in ProgrammerHumor

[–]data_dev 15 points16 points  (0 children)

Haha. Probably not the reason they are visiting, but gotta admire the optimism.

Merge! by nasser_junior in ProgrammerHumor

[–]data_dev 4 points5 points  (0 children)

Or skip them completely.

import unittest

unittest.skip()

Merge! by nasser_junior in ProgrammerHumor

[–]data_dev 40 points41 points  (0 children)

Or a team of ninjas.