20 karma · joined June 17, 2014
Then I typed the command $ cd Weiqi in the "Terminal"
CaiGengYangs-MacBook-Pro:~ CaiGengYang$ cd Weiqi --- input
and got this output :
CaiGengYangs-MacBook-Pro:Weiqi CaiGengYang$ --- output
Then I ran the following command in the Terminal : $ django-admin startproject mysite.
This created a mysite folder which appeared inside the original Weiqi folder in my home directory.
When I clicked on the mysite folder, there is a manage.py file and another mysite folder inside the original mysite folder.
When I click on the mysite folder, there are 4 files in it : __init__.py , settings.py , urls.py and wsgi.py.
The next chapter of the tutorial says this :
"Where should this code live?
If your background is in plain old PHP (with no use of modern frameworks), you’re probably used to putting code under the Web server’s document root (in a place such as /var/www). With Django, you don’t do that. It’s not a good idea to put any of this Python code within your Web server’s document root, because it risks the possibility that people may be able to view your code over the Web. That’s not good for security.
Put your code in some directory outside of the document root, such as /home/mycode."
I am a little confused about the last paragraph : What exactly is a "directory outside of the document root, such as /home/mycode." and how do you "Put your code in this directory" ?
Is there a good video tutorial online that shows step-by-step how to create a basic webpage in Python ?
As for the design of the website , I wasn't responsible for that ... I wouldn't say the design is fantastic, but it's functional, it serves its purpose for it's users ...
https://mail.google.com/mail/u/0/#inbox/14fa6d1d9c5dc28d --- Payment receipt for $29.95 USD
https://mail.google.com/mail/u/0/#inbox/14fa6d727d33c815 --- Offer to buy CaiGengyang.com for $199 USD
Output :
/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 /Users/CaiGengYang/PycharmProjects/helloworld/hello.py Weiqi And Artificial Intelligence
Process finished with exit code 0
Output : /System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 /Users/CaiGengYang/PycharmProjects/helloworld/hello.py Weiqi And Artificial Intelligence
Process finished with exit code 0
I wanna make a Go playing AI Program ...
Most of the wealthy people here get rich through family monopolies in industries like real estate and shipping where basically the entire family monopolises a certain industry and it's incredibly difficult (if possible) to even get somebody fired.
But in terms of science, technology and programming , civil liberties ... can any other country compete with America ? Google, Apple, Microsoft, FaceBook, Yahoo ... all the most innovative companies are made in America ... . You can express political dissent in America without getting jailed (as far as I know). You can't do that in China or Singapore
So from what I see , what it does is help the user make games from themes.
I signed up for access, still waiting for confirmation
Looks like a pretty cool concept ... a lot of users like to play mobile games while waiting for their friends or travelling ... I mean, its not on the level of Starcraft or Diablo , but its a pretty neat concept ...
7 figure sum acquisition by a large company like Google, Apple or Microsoft doesn't seem that surprising to me ...
I clicked the "Download .min.js" tab on the Algebra.js.org page but was given this error message :
http://old.ycombinator.com/ideas.html
There's also a new updated list : http://www.ycombinator.com/rfs/
I am just fishing for ideas and suggestions because I want to get to work on one of these ideas by building a prototype and getting users to test it.
Just wanted to post these ideas here to get some feedback and discussion so I can settle down on 1 idea to work on ...
I suffer from chronic indecisiveness and find it hard to decide alone, so I am posting these ideas here to get some feedback and discussion on what might be the best one to work on that can potentially get many users to love it ...
He also mentioned that : "Indeed, if you want to create the most wealth, the way to do it is to focus more on their needs than your interests, and make up the difference with determination."
After reading this particular paragraph, I scratched my head to think of something I could build that users would love and came upon this idea : I realised that alot of people like to share pictures,videos and images with their friends and family.
Thus I want to create a well-designed image/video/picture sharing app that users would love. How do you suggest I go about doing this and what technologies would be best to create such a site ?
Thanks alot !
GengYang
http://www.space.com/29041-alien-life-evidence-by-2025-nasa....
I would love to be able to help build cheap spaceships that can travel to Europa , drill into the ocean underneath it and fish for life in there. There could very well be life in there, and to find it would be an amazing hack ...
I just named it n-tuple because it rhymes : quadruple, centuple, but perhaps it was the wrong way to name it.
I was just surprised to realise that there is no limit to the value of n for this type of function that multiplies a value by a fixed number, so I put this on Hackernews.
It was a surprising result, at least to me ...