36 karma · joined January 26, 2014
website hosted on 1 droplet. additional 1 droplet per every customer is deployed through Stripe and DO api.
DO let's you save a snapshot and load it to the droplet. I have a snapshot that is basically a copy of my 'software'. It's a LAMP stack with init script to load the webapp from git repo.
Customer logs in at username.mywebapp.com
The beauty of this is that I never have to worry about things breaking or becoming a bottle neck. if one customer outgrows themselves, they won't affect other resources. It has linear scalability, new customers, add a new droplet. I don't need to worry about writing crazy deployment scripts although I use paramiko to ssh in to each server when I need to get dirty.
The main website is mostly static content. I could host it even on Amazon S3 but currently using cloudflare.
Updating the product code requires me to restart the droplet instance. However, I test things out on another staging droplet. Once things work on there, I use the DO api to iterate through all the customer droplets and do a restart.
1 million dollars: doable but very hard. you can finally buy that crack shack in vancouver, bc
10 million dollars: could be doable depending how you got to your first million. if it's scalable operation, no problem.
100 million dollars: continued growth from previous operation with compounding returns or have been part of a successful startup that was sold.
1000 million dollars: founder/co-founder of a company that was sold previously to a very large search engine or social network.
10000 million dollars: own majority equity in a very well known public company, inherited.
100000 million dollars: run a country that produces oil or cocaine as it's most popular exports. You can't have any competition around. launder it excessively.
20 million dollars, would generate 300k after taxes if invested in bonds. from the 20 million, you'd end up with 15 or 14 million dollars after paying taxes.
so 20 million dollars is what one would need to target for.
however, note that you'd need to live in a large mansion that's already paid for and maintenance and expenses, property taxations being paid, I'd put away 30~50k for upkeep. You will probably have two kids on average so it will be another 100,000 to support them.
21 million, seems to be the true 'FU' money. After that leave off 400,000 after tax a year in money.
21 million is a staggering figure for someone starting out. I don't even know if I will get to one million.
Largely, Stackoverflow has now become something like wikipedia, just an index of questions and answers with zealous moderators and elitists and no longer a community.
Regardless, Stackoverflow has fell off it's high place.
I've avoided iOS because Objective-C scared me and I stuck to Android. I have some pending questions before I use this however.
1) How much code share can there be between Android and iOS? Is it just limited to business logic like Xamarin?
2) Can you use an Android game engine, create the game in Android and build for iOS?
3) In order to create and run iOS simulator, do you need to be on the mac and have Xcode? Any way to do it on a non-Mac machine?
4) Can you use RoboVM to create Android and iOS at the same time?
Amazing stuff!
I never understood the working models of growing at the sole expense of investors money. Because I don't know but last time I checked capitalism and free market still is king, and they always have a history of major market correction. When something's not efficient or something's offplace, market has a tendency to correct itself, in a big, unexpected, ruthless sort of way and we've seen this again and again, but history seems to teach people nothing.
I want to start my own company in this niche and I can't do it because of the fear that they will sue me if I ever make it on their radar.
BC government also is not in the habit of protecting tech workers and cares more about tax revenues. Maybe I should move to Ontario or leave Canada all together.
Are there any benchmarks proving that HHVM improves performance?
Can I get a better performance than my current setup of Nginx + uWSGI + Flask ?
The first time it was smoking heroin and cocaine. Lasted about 2 months. I used to do it at work too because I was addicted. Shortly after getting fired, I smoked crystal meth to get through the heroin withdrawl. This is how scary heroin is, I was addicted after the second time I picked up. With the help of a marijuana dealer, I got clean after he cut off my heroin dealer. I'd call like crazy but he would no longer sell it.
I still remember laying on my bed on my 25th birthday, withdrawing from heroin, thinking how seriously I fucked up. It took a few months of feeling complete apathy until I began to improve. However, I still relied on tobacco and weed to get through the hard stuff.
Few more months later I found another job, higher paying and less stressful. However, I began drinking this time. Half a bottle of vodka everyday after work and smoking weed before and after work. I'd come over with a hangover everyday and I eventually couldn't keep this up for long.
Fast forward to now, I'm totally clean from any substance. I have absolutely zero fucking desire to repeat what has been a complete wreckage of my financial savings, losing my flat, and a waste of time.
What does worry me is the health effect it might have, especially the street drugs I took during this short period of time on top of the weed and alcohol. I'm alright now but I still can't wash myself of the guilt and the regret. However, it keeps me well away from it.
Looking on to the future, I am willing to be successful, and I realized that I can't do it with dependence on drugs and alcohol. I simply couldn't allow it to get in my way.