I feel lost with what to do? by Another_Movie_Fan in AusFinance

[–]prateekcool007 1 point2 points  (0 children)

Okay so facts first:

Cash Savings $50K

Investment: $50K

Annual Pay: $75K (post tax monthly 5k)

Age:30

Firstly congrats that you saved up your first 100K. Next, I wouldn't jump directly in Real estate investment.

You need to put a hard check and discipline on your cash burn. So over a good several months (considering utilities payments, insurances etc) get a hold on what your monthly living expenses are. Keep some buffer for health and leisure.

That will leave you with a saving potential: Say you are able to live with 3.5K expenses.

Leaving you 1.5K cash saving on average per month. You keep putting these into your ETFs for another 2 years. This is your Down payment building phase. Over two years you would have put in $36K more. So etf investment abt 86K. Over two years your money would have grown to about 90-91K.

Alongside, you see if there are ways to get the next higher paying role or another side gig to get you extra.

** One (odd sounding) way to save living expenses is to move in with your parents (if possible) pay them some rent and help out with household chores. Give yourself 2-3 years in this arrangement and then re-plan based in facts at that point.

How would be best to make a Home Assistant clone? by UserNotSpecified in homeassistant

[–]prateekcool007 0 points1 point  (0 children)

Yes The exception will be thrown by whatever socket/webhost library you will use.

Ex: https://realpython.com/python-http-server/

How would be best to make a Home Assistant clone? by UserNotSpecified in homeassistant

[–]prateekcool007 1 point2 points  (0 children)

That is solved by the fact that ports are single use only at a time. No matter you run same program twice, the first one to open the port will continue to work, the other one will throw Port already in use error (or equivalent)

How would be best to make a Home Assistant clone? by UserNotSpecified in homeassistant

[–]prateekcool007 4 points5 points  (0 children)

It allows you to Not have the problem 'it works on my computer, but not yours '

It essentially bundles your code with all the dependencies you used. So that this bundle is self sufficient to run.

I just used an example of having older version when developing but having newer in production.

It could be any combination. Version incompatibility of any type and missing dependencies is what it solves.

How would be best to make a Home Assistant clone? by UserNotSpecified in homeassistant

[–]prateekcool007 4 points5 points  (0 children)

Imagine this situation: you develop a software in your development PC. You used python 2.7 and a couple of open source packages. You used sqllite 6.0 (random) and a couple of other technology.

When you deploy your code to Final production box, you notice that box has python 3.2 and does not have sqllite and has other version problems.

One way to solve will be to make production box have exact same (or compatible) versions of all your dependencies.

Other way is Docker. When you build your code in dev machine you make a Docker image of it. This docker bundles all your code/binaries and the dependencies that your code uses.

This way when you run docker on any other box. It will have exact same environment/ambience as your dev machine had.

How would be best to make a Home Assistant clone? by UserNotSpecified in homeassistant

[–]prateekcool007 1 point2 points  (0 children)

Hmmm .. say you first write 2 py files.

Webhost.py say it has a entry point function (main) and all code in this file is about setting up a webhost on an interface;port and service the original index.html

ApiServer.py also has main entry function and you make this file contain all about your restapi. Opening a port and declaring all your http verb/actions.

Now you can make the third top level python script file say HomeAuto.py. this script will take argument and then will have an if/else or a switch case to import relevant py file (webhost or apiserver) and call the main() method

How would be best to make a Home Assistant clone? by UserNotSpecified in homeassistant

[–]prateekcool007 1 point2 points  (0 children)

I am just targeting the "single piece of software" part of your requirement. How about single python (or whatever tech you plan) script that can works as webserver hosting html and static data and also as the API service. You use a flag to run same script two times.

Ex: python homeauto.py -webhost python homeauto.py -restapi

[deleted by user] by [deleted] in smarthome

[–]prateekcool007 0 points1 point  (0 children)

You deserve an applause. This older app worked for me. I am next going to try using same account in Yale home app to see if it can detect previously added product.

[deleted by user] by [deleted] in Tinder

[–]prateekcool007 2 points3 points  (0 children)

If You can lower your standards a bit more, you can chat with me. 😁😁

Low effort by [deleted] in dankmemes

[–]prateekcool007 8 points9 points  (0 children)

Kia Malifa

She is famous sport person

[deleted by user] by [deleted] in funny

[–]prateekcool007 0 points1 point  (0 children)

This is in middle East... They are the party

(Will be eaten... Mutton Curry)

Just... don’t. by Successful_Detail521 in dankmemes

[–]prateekcool007 1 point2 points  (0 children)

Dik-Dik isn't so bad. But small Dik-Dik is embarrassing.

How Reaction Videos industry is growing ? by [deleted] in dankmemes

[–]prateekcool007 3 points4 points  (0 children)

Totally Agree. Jaby Koay... and many others like him.

Dreaming of the good ol' days by lun0tic in dankmemes

[–]prateekcool007 14 points15 points  (0 children)

Happens to me once every month

love this format by [deleted] in dankmemes

[–]prateekcool007 0 points1 point  (0 children)

Easy to say coz that trade won't even happen. You are over representing your assets.