In boxing, the boxer with 10,00-hour practice beats your lazy son. In MMA (mixed martial arts), the fighter with 10,00-hour practice has no such guarantee.
In battle mode, even Nai Khanomtom can be captured alive by the very weak Burmese soldiers. (In kick boxing, 1 on 1, Nai Khanomtom easily beat 10 Burmese boxers in a row).
So, creativity also counts. Only in silly exams, work-hard folks beat work-less folks. In good exams and in real life or real battles, trickiness/ creativity pays ... very handsomely.
(1) 1.5 x 1.6 - 1.78 + 67.8 = .... (2) How many golf courses in China? Guesstimate.
I want to reinvent Moodle. I want to retain about one-fifth of its features and do it in Rails. The problem is I am weak in coding. Is there anyone who wants to do this as an open source project?
I can promise only 2 things : (1) It will be better than Moodle (2) It will be better than Khan Academy on Google App Engine!
Cheers!
//////////////////
+Sam E. I could code in VB, VC, C, Pascal, Java, PHP, Python, Ruby, Lisp a little bit ;-). But I have read Moodle code base, their manuals. I've checked Khan on GAE. (1) Just download Moodle and XAMPP etc. Install and run it. Imagine you are a teacher or student. Then you will feel and see what I mean ..
////////////////// +Jeff Dickey Just imagine you are a school admin, or a private tutor/teacher/lecturer. You want to post something on your Moodle-backed site. Is that as easy as posting on Blogger etc? Can I add in-text quiz etc? ... I can go on like this for a few more hours ... And their features .. sigh ...
//////////////////
+Jeff Dickey "but the question again arises: why?" This is a very important reminder. I don't intent to clone Moodle, ATutor, Khan, Coursera, whatever.
I just want to help students, by helping them find who can teach them.
Who can teach? Almost anyone, especially online. But is everyone teaching? No, then why not? Because they don't have incentive(Do I have a better biz model?), because it is too bothersome to teach (Do I ahve a better platform?)
Thanks, your question helps me to think better, (may be not better, ;-) ) clearer.
+Samuel Hart "but unless you've got something to go on, this is pointless." I agree with you. This is a very important reminder. I don't intend to clone Moodle, ATutor, Khan, Coursera, whatever.
I just want to help students, by helping them find who can teach them.
Who can teach? Almost anyone, especially online. But is everyone teaching? (Are you teaching though you can?) No, then why not? Because they don't have incentive(Do I have a better business model?), and because it is too bothersome to teach (Do I have a better platform?)
Thanks,this helps me to think better, (may be not better, ;-) ) clearer.
/////////////
+Tom Willis and all, Maybe I haven't thought thru clearly. I am open to any suggestion, this is not restricted to open source, nor to free/voluntary work etc. I only have product ideas, user experience ideas, some market ideas. How to structure a company etc .... I don;t know yet. I don't even know how to structure an Open Source project(SVN, GIT, Mercury, huh..).
Kids, this world is rightfully yours to conquer, to improve, to enjoy and to share. You can get your way without resorting to harm, physical, verbal or mental. Now you're UNSTOPPABLE! Description First, we share ideas that give you hopes and empower you to act.
Second, we put ever-expanding, ever-improving software technologies to good uses, especially in media, communication, collaboration, teaching/training and learning.
What future do you want for your kids? We want a future where they are well-to-do and loved and respected by many people. To that end, we teach English online. Great scores, real learning and relaxed life style are us.
We teach English online. Other schools give great scores too. Why us? Because we give great scores NOT at the expense of real learning and relaxed life style.
A future where where your kids are well-to-do and loved and respected by many people, doesn't come about by great scores alone.
We ensure your kids also learn Effective Communication, Problem Solving / Creativity, and Initiative.
The essence of this lesson is: don't worry about the schema.
They used to spend a lot of time worrying about the database, keeping everthing nice and normalized. You shouldn’t have to worry about the database. Schema updates are very slow when you get bigger. Adding a column to 10 million rows takes locks and doesn’t work. They used replication for backup and for scaling. Schema updates and maintaining replication is a pain. They would have to restart replication and could go a day without backups. Deployments are a pain because you have to orchestrate how new software and new database upgrades happen together.
Instead, they keep a Thing Table and a Data Table. Everything in Reddit is a Thing: users, links, comments, subreddits, awards, etc. Things keep common attribute like up/down votes, a type, and creation date. The Data table has three columns: thing id, key, value. There’s a row for every attribute. There’s a row for title, url, author, spam votes, etc. When they add new features they didn’t have to worry about the database anymore. They didn’t have to add new tables for new things or worry about upgrades. Easier for development, deployment, maintenance. The price is you can’t use cool relational features. There are no joins in the database and you must manually enforce consistency. No joins means it’s really easy to distribute data to different machines. You don’t have to worry about foreign keys are doing joins or how to split the data up. Worked out really well. Worries of using a relational database are a thing of the past.
Lesson 6: Store Redundant Data
The essence of this lesson is: the key to speed is to precompute everything and cache it.
The way to make a slow website is have a perfectly normalized database, collect it all on demand, and then render it. It takes forever on every single request. So if you have data that might be displayed in several different formats, like links on front page, in-box, or profile, store all those representations separately. So when somebody comes and gets the data it’s already there.
Every listing has 15 different sort orders (hot, new, top, old, this week). When someone submits a link they recalculate all the possible listing that link could effect. It may be a little wasteful upfront, but it’s it better to wasteful upfront than slow. Wasting disk and memory is better than keeping users waiting.
"Precompute everything" is actually the 1st rule in scaling applications. They've just taken it beyond where most take it.
So you basically hacked a simple key-value storage into MySQL? Why not use Cassandra, couchdb, tokyo tyrant, redis?
http://highscalability.com/blog/2013/4/15/scaling-pinterest-from-0-to-10s-of-billions-of-page-views-a.html GOOD
When you push something to the limit all technologies fail in their own special way. This lead them to evaluate tool choices with a preference for tools that are: mature; really good and simple; well known and liked; well supported; consistently good performers; failure free as possible; free. Using these criteria they selected: MySQL, Solr, Memcache, and Redis. Cassandra and Mongo were dropped.
Why MySQL? ■ Really mature.
■ Very solid. It’s never gone down for them and it’s never lost data.
■ You can hire for it. A lot of engineers know MySQL.
■ Response time to request rate increases linearly. Some technologies don’t respond as well when the request rate spikes.
■ Very good software support - XtraBackup, Innotop, Maatkit
■ Great community. Getting questions answered is easy.
■ Very good support from companies like Percona.
■ Free - important when you don’t have any funding initially.
http://programmers.stackexchange.com/questions/108671/what-is-the-best-way-to-design-a-web-site-to-be-highly-scalable Use narrow database tables as opposed to wide ones .............
Give out ownership based on meeting corporate targets, with more given out if a stretch goal is met, and none given out if the base goal is not met. This can be done on a regular basis, with amounts set so that they are sufficient to get people's interest, but not so high as to make majority owners feel like they are giving too much away.
the standard drill is a one year cliff for new employees after which stock options can begin to vest monthly or annually. Rules of thumb on who gets how many options vary, he says, but executive or early hires can be granted as much as 1-2% of the total shares of the company.
... Typically stock options vest completely in four years ... (4) http://www.slideshare.net/jisilver/equity-201-options-vs-5-22-13 55 founder + 25 investors + 20 employee pool
http://www.forbes.com/sites/chancebarnett/2013/05/08/top-10-crowdfunding-sites-for-fundraising/ GOOD http://www.hongkiat.com/blog/crowdfunding-sites/ SAME?
I can smell+see+hear fear, confusion, despair in kids, students, individuals, towns and societies and peoples.
Then, I don't bite asunder the jugulars. I don't swoop down on the backs to break (as in Sun Tzu). I don't squeeze the fearful to death, like a python. I don't drown the bewildered, like a croc.
I don't ask for more money. I don't press my advantage. I hold my fire. I offer help, I show the way out to a better spot.
I was born to help, to serve. I came to help, to serve, to build.
May every town I live in know this!
In return, I am usually safe from "Bite, break, squeeze, drown" moves even when I am most fearful, confused and despairing.
When if I run an Academy" --- A poem We would teach Linguistics with great care, For it can cause, inside and outside of class, lots of flares.
Sun Tzu, too, we shall teach with special care, For some kids, even after haveing read it, Still went on to write "Protracted War" or "Unrestricted Warfare"
Math, Physics, Chemistry we do but won't elaborate But if you ignore them, your dreams may evaporate.
Above all, we ban the Scriptures from certain syllabus For Lord Buddha Himself has said it's dangerous.
(He said) to study it with an unkind mind Is like catching a snake, with bare hands, from behind.
It will turn and bite your hand The poison to destroy your glands.
Learn whatever Do whatever Just make sure your motive is 24 karats pure.
Or else, the brave shall be bitten the clever, smitten Oh, the only rhyming word left is "kitten."
////////////
"Genuinely Post-Post-Modern Poetry" --- a poem
'Without rhyme or reason,' no one can say, For I sure know some lean-manufacturing and much more nasty ways.
There may be little reason in my poems, I can agree But my lines do rhyme as you can see.
Reason, sense and sensibility rarely come to my mind Even clarity, the very first quality of good writing, is hard to find.
But, while reason is a tough thing to do Rhymes is no more complex than voodoo!
So, whenever I doubt I lack reason I make sure my lines do rhyme with some sort of Six-Sigma precision.
Poetry, my friends, in the 22nd century is fast cheap Just check rhyming dictionaries on Google before you leap.
For lazy parents with lazy kids.
ReplyDeleteIn boxing, the boxer with 10,00-hour practice beats your lazy son. In MMA (mixed martial arts), the fighter with 10,00-hour practice has no such guarantee.
In battle mode, even Nai Khanomtom can be captured alive by the very weak Burmese soldiers. (In kick boxing, 1 on 1, Nai Khanomtom easily beat 10 Burmese boxers in a row).
So, creativity also counts. Only in silly exams, work-hard folks beat work-less folks. In good exams and in real life or real battles, trickiness/ creativity pays ... very handsomely.
(1) 1.5 x 1.6 - 1.78 + 67.8 = ....
(2) How many golf courses in China? Guesstimate.
Hi Everyone,
ReplyDeleteI want to reinvent Moodle. I want to retain about one-fifth of its features and do it in Rails. The problem is I am weak in coding. Is there anyone who wants to do this as an open source project?
I can promise only 2 things : (1) It will be better than Moodle (2) It will be better than Khan Academy on Google App Engine!
Cheers!
//////////////////
+Sam E. I could code in VB, VC, C, Pascal, Java, PHP, Python, Ruby, Lisp a little bit ;-). But I have read Moodle code base, their manuals. I've checked Khan on GAE. (1) Just download Moodle and XAMPP etc. Install and run it. Imagine you are a teacher or student. Then you will feel and see what I mean ..
//////////////////
+Jeff Dickey Just imagine you are a school admin, or a private tutor/teacher/lecturer. You want to post something on your Moodle-backed site. Is that as easy as posting on Blogger etc? Can I add in-text quiz etc? ... I can go on like this for a few more hours ... And their features .. sigh ...
//////////////////
+Jeff Dickey "but the question again arises: why?" This is a very important reminder. I don't intent to clone Moodle, ATutor, Khan, Coursera, whatever.
I just want to help students, by helping them find who can teach them.
Who can teach? Almost anyone, especially online. But is everyone teaching? No, then why not? Because they don't have incentive(Do I have a better biz model?), because it is too bothersome to teach (Do I ahve a better platform?)
Thanks, your question helps me to think better, (may be not better, ;-) ) clearer.
///////////////////////////
+Samuel Hart "but unless you've got something to go on, this is pointless."
ReplyDeleteI agree with you. This is a very important reminder. I don't intend to clone Moodle, ATutor, Khan, Coursera, whatever.
I just want to help students, by helping them find who can teach them.
Who can teach? Almost anyone, especially online. But is everyone teaching? (Are you teaching though you can?) No, then why not? Because they don't have incentive(Do I have a better business model?), and because it is too bothersome to teach (Do I have a better platform?)
Thanks,this helps me to think better, (may be not better, ;-) ) clearer.
/////////////
+Tom Willis and all, Maybe I haven't thought thru clearly. I am open to any suggestion, this is not restricted to open source, nor to free/voluntary work etc. I only have product ideas, user experience ideas, some market ideas. How to structure a company etc .... I don;t know yet. I don't even know how to structure an Open Source project(SVN, GIT, Mercury, huh..).
Facebook HopeHero Page/ About
ReplyDeleteKids, this world is rightfully yours to conquer, to improve, to enjoy and to share. You can get your way without resorting to harm, physical, verbal or mental. Now you're UNSTOPPABLE!
Description
First, we share ideas that give you hopes and empower you to act.
Second, we put ever-expanding, ever-improving software technologies to good uses, especially in media, communication, collaboration, teaching/training and learning.
Facebook HopeHero Page/ About
ReplyDeleteWhat future do you want for your kids? We want a future where they are well-to-do and loved and respected by many people. To that end, we teach English online. Great scores, real learning and relaxed life style are us.
Facebook HopeHero Page/ About
ReplyDeleteWe teach English online. Other schools give great scores too. Why us?
Because we give great scores NOT at the expense of real learning and relaxed life style.
A future where where your kids are well-to-do and loved and respected by many people, doesn't come about by great scores alone.
We ensure your kids also learn Effective Communication, Problem Solving / Creativity, and Initiative.
http://stackoverflow.com/questions/5983491/what-is-the-most-scalable-design-for-this-table-structure
ReplyDeletehttp://dba.stackexchange.com/questions/7036/scalable-table-structure-for-periodically-updated-stats-that-get-aggregated-over
http://highscalability.com/blog/2010/5/17/7-lessons-learned-while-building-reddit-to-270-million-page.html
Lesson 3: Open Schema
The essence of this lesson is: don't worry about the schema.
They used to spend a lot of time worrying about the database, keeping everthing nice and normalized. You shouldn’t have to worry about the database. Schema updates are very slow when you get bigger. Adding a column to 10 million rows takes locks and doesn’t work. They used replication for backup and for scaling. Schema updates and maintaining replication is a pain. They would have to restart replication and could go a day without backups. Deployments are a pain because you have to orchestrate how new software and new database upgrades happen together.
Instead, they keep a Thing Table and a Data Table. Everything in Reddit is a Thing: users, links, comments, subreddits, awards, etc. Things keep common attribute like up/down votes, a type, and creation date. The Data table has three columns: thing id, key, value. There’s a row for every attribute. There’s a row for title, url, author, spam votes, etc. When they add new features they didn’t have to worry about the database anymore. They didn’t have to add new tables for new things or worry about upgrades. Easier for development, deployment, maintenance. The price is you can’t use cool relational features. There are no joins in the database and you must manually enforce consistency. No joins means it’s really easy to distribute data to different machines. You don’t have to worry about foreign keys are doing joins or how to split the data up. Worked out really well. Worries of using a relational database are a thing of the past.
Lesson 6: Store Redundant Data
The essence of this lesson is: the key to speed is to precompute everything and cache it.
The way to make a slow website is have a perfectly normalized database, collect it all on demand, and then render it. It takes forever on every single request. So if you have data that might be displayed in several different formats, like links on front page, in-box, or profile, store all those representations separately. So when somebody comes and gets the data it’s already there.
Every listing has 15 different sort orders (hot, new, top, old, this week). When someone submits a link they recalculate all the possible listing that link could effect. It may be a little wasteful upfront, but it’s it better to wasteful upfront than slow. Wasting disk and memory is better than keeping users waiting.
"Precompute everything" is actually the 1st rule in scaling applications. They've just taken it beyond where most take it.
So you basically hacked a simple key-value storage into MySQL? Why not use Cassandra, couchdb, tokyo tyrant, redis?
http://www.slideshare.net/edbond/tagging-and-folksonomy-schema-design-for-scalability-and-performance
ReplyDeletehttp://programmers.stackexchange.com/questions/141192/what-are-some-good-tips-for-a-developer-trying-to-design-a-scalable-mysql-databa
http://flamingcow.dilian.org/2011/08/database-best-practices-for-future.html GOOD
http://highlyscalable.wordpress.com/2012/03/01/nosql-data-modeling-techniques/
http://highscalability.com/blog/2013/4/15/scaling-pinterest-from-0-to-10s-of-billions-of-page-views-a.html GOOD
When you push something to the limit all technologies fail in their own special way. This lead them to evaluate tool choices with a preference for tools that are: mature; really good and simple; well known and liked; well supported; consistently good performers; failure free as possible; free. Using these criteria they selected:
MySQL, Solr, Memcache, and Redis.
Cassandra and Mongo were dropped.
Why MySQL?
■
Really mature.
■
Very solid. It’s never gone down for them and it’s never lost data.
■
You can hire for it. A lot of engineers know MySQL.
■
Response time to request rate increases linearly. Some technologies don’t respond as well when the request rate spikes.
■
Very good software support - XtraBackup, Innotop, Maatkit
■
Great community. Getting questions answered is easy.
■
Very good support from companies like Percona.
■
Free - important when you don’t have any funding initially.
Very Good on sharding ... kyaw
http://programmers.stackexchange.com/questions/108671/what-is-the-best-way-to-design-a-web-site-to-be-highly-scalable
ReplyDeleteUse narrow database tables as opposed to wide ones .............
Next, consider partitioning your database.
http://highscalability.com/blog/2010/5/20/strategy-scale-writes-to-734-million-records-per-day-using-t.html
http://highscalability.squarespace.com/blog/2012/3/7/scale-indefinitely-on-s3-with-these-secrets-of-the-s3-master.html
http://highscalability.com/blog/2009/8/6/an-unorthodox-approach-to-database-design-the-coming-of-the.html
http://www.25hoursaday.com/weblog/2009/01/16/BuildingScalableDatabasesProsAndConsOfVariousDatabaseShardingSchemes.aspx GOOD
http://www.mysqlperformanceblog.com/2009/08/06/why-you-dont-want-to-shard/
http://www.chrismoos.com/2010/01/31/mysql-partitioning-tables-with-millions-of-rows
http://www.arubin.org/files/PracticalPartitioning_Webinar.pdf
http://highscalability.com/blog/2013/6/10/the-10-deadly-sins-against-scalability.html
http://highscalability.com/blog/2013/5/20/the-tumblr-architecture-yahoo-bought-for-a-cool-billion-doll.html
http://highscalability.com/blog/2007/8/16/scaling-secret-2-denormalizing-your-way-to-speed-and-profit.html
https://bitbucket.org/mhall119/django-extauth/src
ReplyDeletehttp://djangosnippets.org/snippets/874/ XXXyZZz
https://github.com/maraujop/django-rules INTERESTING
http://code.google.com/p/classcomm/source/browse/django_projects/classcomm/instructor_portal/views.py MAYBE
http://code.google.com/p/classcomm/source/browse/django_projects/classcomm/student_portal/models.py MAYBE
=== http://stackoverflow.com/questions/14428499/database-design-under-django
http://www.cs.sfu.ca/content/dam/sfu/computing/Undergraduate_students/YiranZhou.pdf
https://github.com/nathanborror/django-courses/blob/master/courses/models.py
https://bitbucket.org/zthompson47/django-gradebook/src/3afa79b4c83f82f8854a4d9daaff283c098390e5/gradebook/models.py?at=default
https://publications.theseus.fi/bitstream/handle/10024/29491/Virt.classroom_Django_Klimcikova.pdf?sequence=1 XXX
(1)
ReplyDeleteIn every round of funding, partners distribute between 0.0x% and y% in equity shares to new investors and employees.
(2)
https://www.nceo.org/articles/equity-compensation-startup
Give out ownership based on meeting corporate targets, with more given out if a stretch goal is met, and none given out if the base goal is not met. This can be done on a regular basis, with amounts set so that they are sufficient to get people's interest, but not so high as to make majority owners feel like they are giving too much away.
(3)
http://www.forbes.com/sites/meghancasserly/2013/03/08/understanding-employee-equity-bill-harris-sxsw/
the standard drill is a one year cliff for new employees after which stock options can begin to vest monthly or annually. Rules of thumb on who gets how many options vary, he says, but executive or early hires can be granted as much as 1-2% of the total shares of the company.
...
Typically stock options vest completely in four years
...
(4) http://www.slideshare.net/jisilver/equity-201-options-vs-5-22-13
55 founder + 25 investors + 20 employee pool
C's = 5-10 + 1-3% of/from? pool
(5)
http://blog.zenlike.me/2013/07/03/splitting-founder-equity-how-we-did-it-and-why-were-sharing/
http://paulbuchheit.blogspot.sg/2007/03/equity-math-for-startups.html GOOD
http://www.alleywatch.com/2013/06/how-to-calculate-equity-split-between-founders-in-startups/
(1) http://stuffandnonsense.co.uk/projects/contract-killer/ +
ReplyDeletehttps://gist.github.com/malarkey/4031110
http://webdesign.tutsplus.com/articles/workflow/writing-the-perfect-web-design-contract/
web design
(2)
http://programmers.stackexchange.com/questions/38774/are-there-any-contracting-agreement-templates-online
http://contracts.onecle.com/redhat/molnar.consult.1998.08.17.shtml
http://rosskimbarovsky.com/contracts-for-software-and-website-developers.pdf
http://www.nolo.com/legal-encyclopedia/software-application-development-agreements-copyright-29584.html
http://www.garage.com/resources/reference/internet_software.shtml
http://www.patentek.com/CM/ResourceLinks/ResourceLinks99.asp
(3) escrow ??
(1) http://contracts.onecle.com/type/90.shtml
ReplyDelete(2)
http://en.wikipedia.org/wiki/Comparison_of_crowd_funding_services
http://www.forbes.com/sites/chancebarnett/2013/05/08/top-10-crowdfunding-sites-for-fundraising/ GOOD
http://www.hongkiat.com/blog/crowdfunding-sites/ SAME?
Hard to find = non existing???
I can smell+see+hear fear, confusion, despair in kids, students, individuals, towns and societies and peoples.
ReplyDeleteThen, I don't bite asunder the jugulars. I don't swoop down on the backs to break (as in Sun Tzu). I don't squeeze the fearful to death, like a python. I don't drown the bewildered, like a croc.
I don't ask for more money. I don't press my advantage. I hold my fire. I offer help, I show the way out to a better spot.
I was born to help, to serve. I came to help, to serve, to build.
May every town I live in know this!
In return, I am usually safe from "Bite, break, squeeze, drown" moves even when I am most fearful, confused and despairing.
(1) mobile db-driven app 6.5 to 45 k per app, accding to 2013 book
ReplyDelete(2)
http://www.radixsystems.com/index.php?page=Services
Rewardz provides a one-stop solutio
codeclan
zawthetaung, eugene sia L, akira hirakawa L
https://developer.paypal.com/webapps/developer/applications/accounts
ReplyDeletexxw BIGkyu 2eP7PPm9nmDa_hBZj_22ORNqq5Ol2cg_FV00IY6FNTPAvCEK13XpXe Shit
ReplyDeleteIreland vs Scotland 2nd odi live streaming match
ReplyDeletehttps://djangosnippets.org/snippets/7032/
When if I run an Academy" --- A poem
ReplyDeleteWe would teach Linguistics with great care,
For it can cause, inside and outside of class, lots of flares.
Sun Tzu, too, we shall teach with special care,
For some kids, even after haveing read it,
Still went on to write "Protracted War" or "Unrestricted Warfare"
Math, Physics, Chemistry we do but won't elaborate
But if you ignore them, your dreams may evaporate.
Above all, we ban the Scriptures from certain syllabus
For Lord Buddha Himself has said it's dangerous.
(He said) to study it with an unkind mind
Is like catching a snake, with bare hands, from behind.
It will turn and bite your hand
The poison to destroy your glands.
Learn whatever
Do whatever
Just make sure your motive is 24 karats pure.
Or else, the brave shall be bitten
the clever, smitten
Oh, the only rhyming word left is "kitten."
////////////
"Genuinely Post-Post-Modern Poetry" --- a poem
'Without rhyme or reason,' no one can say,
For I sure know some lean-manufacturing and much more nasty ways.
There may be little reason in my poems, I can agree
But my lines do rhyme as you can see.
Reason, sense and sensibility rarely come to my mind
Even clarity, the very first quality of good writing, is hard to find.
But, while reason is a tough thing to do
Rhymes is no more complex than voodoo!
So, whenever I doubt I lack reason
I make sure my lines do rhyme with some sort of Six-Sigma precision.
Poetry, my friends, in the 22nd century is fast cheap
Just check rhyming dictionaries on Google before you leap.