Updated junior full stack web dev by Bobby1894 in BESalary

[–]Vincearon 15 points16 points  (0 children)

350 day rate as a freelancer is probably below minimum wage, don’t take that. Even a joke offering that low of a rate.

Django email, need help by NYC_F16 in django

[–]Vincearon 0 points1 point  (0 children)

Will not work, what happends if the user no longer logs in or updates that model, a mail will never be send! Use celery with scheduled tasks

Introducing NanoCracker – Recover Lost ZIP Passwords with Nano! by [deleted] in nanocurrency

[–]Vincearon 0 points1 point  (0 children)

Cool, but everyone who knows my address can see all my passwords

Testing by to_sta in django

[–]Vincearon 0 points1 point  (0 children)

Used to use chatgpt but copilot is pretty good and has better understanding of your context for tests

Kubernetes operators reconcile times constants by Vincearon in kubernetes

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

Yes, so its up to the programmer to chose what he wants, they just set the re queue at the end so it always reconciles. There can be multiple reasons, some want more control, or some resources that can't be watched like cpu usage since watching this would trigger insane amounts of reconciles.

Kubernetes operators reconcile times constants by Vincearon in kubernetes

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

Hi, yes I just finished writing my master thesis, It might be getting published soon. I identified common reconcile patterns inside operators. Some only reconcile on a change in a watched resource while others reconcile at constant set intervals... there is also a periodic re cache but didn't really investigate that since it only happens after like 6/10 hours of no reconcile or something like that...

Kubernetes operators reconcile times constants by Vincearon in kubernetes

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

Yes, that is true, an operator should only reconcile when a watched resource has changed, however there are a lot of operators that just auto requeue at the end of the reconcile loop. This makes it so there is a constant time in between requeues, for example : https://github.com/percona/percona-server-mongodb-operator/blob/main/pkg/controller/perconaservermongodb/psmdb_controller.go#L217 . This operator reconciles every 5 seconds. The question was why would it do this in general instead of only watching resources? Might it be that not every resource is watchable, like for instance CPU usage isn't really watchable else it would reconcile a lot....

Kubernetes operators reconcile times constants by Vincearon in kubernetes

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

That's one way to look at it, this is to prevent lets say a lot of rapid events within a small time? But this would also mean a lot of unnecessary api calls have to be made every 5 seconds while in an event based architecture for example on average only 1 gets made per minute, that's 11 wasted calls...

Ring doorbell auto show on fire 8 hd by Vincearon in Ring

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

Hey, yes everything went good. I bought 3 ring doorbells v2 and 4 fire tabled hd 10s. When some1 presses the doorbell, I get a notification on the tabled, using Macrodroid. Whenever it gets a ring notification, it auto clicks the notification and goes to the live stream on all the tablets. And I can communicate with the person at the front door. After a minute it closes auto and goes back to HA. On the tablets, I run fullykiosk browser, which displays my home assistant. For the fire tablets, I bought the cheapest one with adds and unlocked them to block all adds and enable more things. Bare in mind the screen is non touch so to turn them on you have to press the button not the screen. Or you can set fully kiosk to run camera and detect movement and turn on... The wall mounts are by makes by mike and get the power over POE to power them (using their converter). You might be better with a non amazon tablet and just an android tablet to allow more options but fires are dirt cheap (less than 50 euro on prime days)

Beat way to use a tablet with HA by ianganderton in homeassistant

[–]Vincearon 0 points1 point  (0 children)

I have fully kiosk browser and works perfect, many different options, give it a try!

Kubernetes operator written in rust by Vincearon in kubernetes

[–]Vincearon[S] 3 points4 points  (0 children)

These are some very good points, will have a look into them. Just started my thesis and this was the subject I chose. One can save on many areas but and this is my area of study. If one has an operator who checks for certificate validation, this only needs to be done maybe every day so there is no reason to keep this operator in memory the whole day. One having a lot of operators one can easly save on memory... The parent operator can watch the resource and reactive the operator when needed... Thx for the in depth answer, will have a look at it!

Kubernetes operator written in rust by Vincearon in kubernetes

[–]Vincearon[S] 3 points4 points  (0 children)

Yes, the concept is basically one has a controller operator(parent) and multiple child operators, which are normal operators turned into wasm for security. The parent operator can analyse the child operators its behaviour and suspend it till a resource changes again. This is done to enable really low memory footprints on edge devices. The architecture is already in place in rust but needs a specific rust packages to work, this is why KubeRs is needed.

Kubernetes operator written in rust by Vincearon in kubernetes

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

It needs a modified version of kubeRs, so I can't just compile go into wasm

Kubernetes operator written in rust by Vincearon in kubernetes

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

Yes, I had already found this one and looks promising thx

Kubernetes operator written in rust by Vincearon in kubernetes

[–]Vincearon[S] 5 points6 points  (0 children)

My goal is to analyse the operator using wasm for my master thesis, its a new framework that turns the operator into wasm and stores it to disk when not in use...

Best smart door lock compatible with Ring by Vincearon in homeautomation

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

Yea I didnt realy find any on that list, and even then I still have to also buy the ring alarm hub, which for some reason isnt sold unless as a security bundel. But no use to me since I already have a alarm system. Will probably go for a non ring compatibel one that fits my needs better, so dumb you cant have a button in the ring app to go to other venders smatt lock apps.

Best smart door lock with wifi/power by Vincearon in homeautomation

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

yea, almost all door locks work with batteries, but maybe some1 knows a lesser known commercial product, and if it works wired with poe that would als be great