stopstalk / stopstalk-deployment Goto Github PK
View Code? Open in Web Editor NEWStop stalking and start StopStalking :wink:
Home Page: https://www.stopstalk.com
License: MIT License
Stop stalking and start StopStalking :wink:
Home Page: https://www.stopstalk.com
License: MIT License
Things to consider -
ALL
the commits till date for a specific userPython "iterators" are a type of "lazy-evaluation". They 'feed' data one step at time; traditional python loops create the entrire set of data in memory before looping.
The traditional use of select is:
for row in db(db.table.id>0).select(): rtn = row
but for large numbers of rows, using an iterator-based alternative has dramatically lower memory use:
for row in db(db.table.id>0).iterselect(): rtn = row
Testing shows this is around 10% faster as well, even on machines with large RAM.
Same dot as shown in Leaderboard page for -
This should be added only if the query matches(example: enter some text in user name that is not valid we will get all the submissions of logged-in user)
Error -> here
Maybe all we need to do is strip the ending comma
Trending problems have different number of total submissions than the actual
We need HTML emails for the following purposes -
We can show the custom friends in the search and an option to add that custom user to yours ๐
Follow up on - https://github.com/stopstalk/stopstalk/issues/18
This idea works fine for deployment since the submissions are retrieved only after a day!
Idea -
Need to look into how web2py supports database views.
Saves a lot of extra space! ;)
http://www.codeforces.com/problemset/problem/650/B --> problemset/problem/650/B
How did I miss it! ;)
More than 0 submission in atleast 2 profile sites
authentic flag can take the following values -
Also for problem page!
Questions -
Waiting for CodeChef API :(
Since the submission table is growing considerably - We need to come up with an efficient script to update the trending problems. Also trending problems for friends has to be dealt separately to optimize page load time of trending page.
Instead of storing the handles and sites in the auth_user table have a table having site handles and site names and then make id of this table as the foreign key for auth_user table.
Also make a problem table(extend current problem_tags table) and just include problem_id in a submission.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.