Recent submissions

Comment · 12 years ago
I did it because a new webapp deployment costs nothing, no extra work involved at all with DO, just add a snapshot and ssh key to a new droplet. If something needs to be consolidated, I just use DO api and paramiko to ssh into each droplet and run new commands. If it's updating the webapp across all customers, it's a matter of issuing restart command to all the droplets via API.
Comment · 12 years ago
curious who do you use as a host for 32 cores with ton of ram? I also favor this vertical scaling over splitting over multiple servers and replicating database with a load balancer sitting on top. Best to deal with one point of failure, if you need network concurrency up the ram and bandwidth. RAM should be easily upgradeable up to a descent double digit gig figure. For disk space and backup.
Comment · 12 years ago
my current setup on DO, I would like some inputs.

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.

Comment · 12 years ago
there's few different categories of FU money each with increasingly lower probability

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.

Comment · 12 years ago
10 million dollars after taxes so I'm guessing the actual amount is higher, possibly around 15 million dollars. on top of that 300k a year will be subjected to taxation, you will end up with 188k a year, not quite the 300k. you would need around 450k a year and after taxes, you will end up with 300k. to be able to produce that much you'd need about 15 million dollars after taxes. so in reality you'd need about 20 million dollars.

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.

Comment · 12 years ago
Well, that mechanism has not worked well. Especially, someone with a large reputation point appears to be exempt and there exists elitism amongst it's members.

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.

Comment · 12 years ago
I remember being ridiculed for having more questions than answers. It's skewed to the idea that answering and contributing your thought is of more important than the question generating such thought.

Regardless, Stackoverflow has fell off it's high place.

Comment · 12 years ago
is it possible to run this on windows 7?
Comment · 12 years ago
is there a tutorial on this? The biggest hurdle to making iOS app is that you need a physical hardware from them.
Comment · 12 years ago
are there any other JavaScript to native compiler projects in the works? last time I heard there was llvm.js or something like that was doing the same thing as hyperloop.
Comment · 12 years ago
what tools did you use to create your game assets?
Comment · 12 years ago
holy crap!

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!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton