Welcome to the 42 Amsterdam multiserver.
Results 1 to 3 of 3
  1. #1

    Old Site Integration (Programming)

    Hi there ...
    I just thought to start a new thread for users who do dig programming and stuff...

    Well .. Welcome HTML 5 on our forum
    As you can see on front page - this is my first attempt to use it ...
    "All server usage" Graph is generated on client side ...using all those nice drawing functions HTML 5 has to offer...
    (differences is huge ... old graph that used divs - was about 2-3mb size - new one just 10-15kb coz only coordinates are sent to the client)

    If you compare the graphs ...the old one (divs and tables) ... and new one
    you might notice some shift in time - thats OK - coz graph curve is generated using polynomial Bezier curve approximation. as well - time grid now is fixed ...(in old graph it was interpolated from current time ...and separator div was inserted at specified location using only hours...thus - sync with actual data was not always precise)
    Now it is...precise down to the minute


    Anyway - first attempt is quite successful ...i'll port some more graphs later ...
    Time of generation of the graph was also reduced down to less than a second ...so - lots of graphs - wont affect server performance ...
    ....... Always Look On The Bright Side of Life

  2. #2
    nice work

  3. #3
    Olai Oli
    Join Date
    Apr 2012
    Location
    kitchen
    Posts
    179
    ice

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Old 42Adam Stats Site
    By Ostap in forum Feedback
    Replies: 20
    Last Post: 21-11-2014, 19:40
  2. Site list (Downloads)
    By CLICK in forum Maps
    Replies: 0
    Last Post: 14-10-2012, 16:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to top