Giter VIP home page Giter VIP logo

ding's Introduction

Hi there ๐Ÿ‘‹

ding's People

Contributors

elijahsk avatar xpdavid avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

ding's Issues

Performance Issues : Sort by highest vote for questions is too slow.

When sort questions by the highest vote in the answers. Current framework require get all answers of the question to calculate maximum net votes and then compare to other question. (This will result in get all the answers in the database, extremely slow!)

Proposed solution:
Let each questions associate with another field 'highest vote'. When new answers are posted to the question, update the highest vote.

Temporally fixed bug.

The highlight page has two tabs hot in week hot in month.
The same answer may appear both in two tabs.
However, the answer div is associate with its id, which mean that we have two element div with the same id in the page.
This is really bad and all the js function will fail.
Here is the temporally fix but not good.

Change user profile

  • user name
  • user sex
  • user display_email setting
  • user display_facebook setting
  • user bio
  • self introduction
  • user education experience
  • user working experience
  • user good_at_topic

Cache

  1. every time when query num of hit/subscriber/user etc, the system will do sql query to the database and get almost the same results. This process is relatively slow and need cache function to accelerate it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.