1,163 karma · joined May 31, 2013
One of the examples on the page says "indentation doesn't matter". But the thing is, it does matter - even if there are braces. Correct indentation means that your code is more readable. Python (the normal version without braces) enforces correct indentation, which is brilliant.
He was educated in the US. From http://en.wikipedia.org/wiki/Satya_Nadella: "Nadella earned an MS in Computer Science from the University of Wisconsin–Milwaukee and an MBA from the University of Chicago Booth School of Business."
Have you tried http://postgresapp.com/ ? Doesn't get much easier than that.
Btw., depending on your geo needs it might sometimes be simpler to use earthdistance instead of PostGIS:
https://gist.github.com/norman/1535879
http://www.postgresql.org/docs/9.1/static/earthdistance.html
http://www.hairtools.dk/ http://www.bapoon.dk/Information/for-frisoerer.htm http://hairbydahl.bestilling.nu/?locale=en
What OP could have told the barber is this: "We'll put up a system that enables your customers to schedule a time automatically - that way you'll only have to schedule times manually in the 20% of cases or so when a customer prefers to call rather than use the website".
It's not rocket science - plenty of barbers have such a system.
Wouldn't the point of scheduling software be that, unlike his current phone solution, he doesn't have to do something when a customer schedules a time? Ideally he'd enter his work hours and holidays into the scheduling system, and customers could schedule a time without interrupting his workflow. Then he'd only need to look at his iPad once in a while to see who the next customer is.
Other than that, I think the article makes an important point.
As far as jobs go, outside of Silicon Valley it seems that there is still a huge market for PHP programmers, and those Drupal/Joomla/Magento/WordPress sites aren't going away any time soon.
I'd also recommend Python, which many PHP programmers instantly like. Getting started with Flask (http://flask.pocoo.org/) should be fairly easy. Several big sites like Instagram and Pinterest are powered by Python.
Would this even be an issue if you're using e.g. Apache (multiple threads) with mod_wsgi?
render_template('something.html')
and then write the HTML for the template in a separate code section.
What the mid-tier plan gave us was ad-free listening. It sucks that you know have to pay twice as much for that.
Use the US version of Netflix instead. Try https://unlocator.com (currently free because it's in beta - works like a charm) or http://unotelly.com/.
Here in Denmark it's completely legal to use the US Netflix. I don't know about Norwegian laws, though.
You mentioned that you wanted something reliable and with SSD for $5. I honestly think DigitalOcean is the only host with a decent reputation in that price range (and yet you frequently hear people complain about them). You might want to consider paying slightly more. $10 to $20 a month should do it.
A very large number of people who do web design for a living are much better at making their visions a reality using PhotoShop than HTML/CSS.
Namecheap is cheaper than Gandi when it comes to .com domains. However, Gandi's domains include IMAP/POP (1 GB) hosted in France, and they have more TLDs than Namecheap.
I don't think it'll be tied to Facebook at all. What the PHP community has is a huge ecosystem of programmers (good ones and bad ones), frameworks, libraries, etc. That bodes well for PHP's future.
Use what you know best.
Should I use Django, Pyramid, Flask, or something else as the framework? (I'm leaning towards Django)
Use what you know best. I personally prefer Flask.
Should I buy hosting, use Google App engine, or get a dedicated server?
Google App Engine is rather pricey and has a lot of lock-in. Have you considered something like DigitalOcean or WebFaction?
How will I store data, how will users login (Open ID, or should I create a login service).
OpenID is pretty much dead if you ask me. Use Persona instead. Sample Persona log-in code for Flask and PHP: https://github.com/workhere-io/personaexamples
How will things scale if the app performs well?
Upgrade your VPS. Flask + PostgreSQL can take quite a couple of hits.
For most websites out there it doesn't matter. Facebook ran on normal PHP (similar performance to Python) up until the point when they had 500 million users and were forced to make some changes.
Instagram and Pinterest are powered by Python. Unless your site is bigger than those, you'll be fine running Python.
And I can't seem the find features of C# in Python
Python has a huge ecosystem of libraries. Maybe you just don't know where to look?