* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Note to myself (Statsgraph2)  (Read 755 times)

0 Members and 1 Guest are viewing this topic.

Online Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 2753
  • Post Rating Ratio: +17/-1
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • View Profile
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Note to myself (Statsgraph2)
« on: December 24, 2015, 08:37:16 pm »
Quote from: IRC
<OmnomIRC> (!)<*> New topic by Eeems Statsgraph2 http://ourl.ca/22227
<OmnomIRC> (!)<*> New post by comic in Statsgraph2 http://ourl.ca/22227/403212
<comic> IT EVEN UPDATES WHEN I POST
<comic> SO COOL
<OmnomIRC> (#)<BitBucketBot> Zera1125 committed rev c4a9b1f10e11 to ETOR/zera: Small map updates (aesthetic) - https://bitbucket.org/CFD_LLC/esor_bw/changeset/c4a9b1f10e11
<OmnomIRC> (#)<Eeems> comic: It's dynamic :P
<Juju> Looks nice.
<OmnomIRC> (#)<Eeems> JuJu: Thanks
<OmnomIRC> (#)<Eeems> *Juju
<OmnomIRC> (#)<Eeems> Pretty simple to do as well
<Juju> Yeah, some simple trigonometry stuff
<Juju> You should change the font, though
<OmnomIRC> (#)<Eeems> http://www.rafb.me/results/7Acbi360.html
<OmnomIRC> (#)<Eeems> No trig needed
<Juju> like with the other statsgraph
<Juju> really?
<Juju> Oh, filled_Arc
<OmnomIRC> (#)<Eeems> It's a built in font
<OmnomIRC> (#)<Eeems> I was having trouble getting it to consistently work with the other font.
<OmnomIRC> (#)<Eeems> Yeah, converting a percent to an angle is easy
<OmnomIRC> (#)<Eeems> Juju: http://www.rafb.me/results/8HMc3j65.html
<OmnomIRC> (#)<Eeems> in case you want to mess around with my image class
<OmnomIRC> (#)<Eeems> Oh right, forgot I did that
<OmnomIRC> (#)<Eeems> You can do json_encode($img) to get the image data in json form
<OmnomIRC> (#)<Eeems> it would return a json object containing the width, height, type (mime type) and the data uri
<Juju> thanks, gotta look at that
<OmnomIRC> (#)<Eeems> Sure :) If you find ways to improve it send a patch my way
<OmnomIRC> (#)<Eeems> I'd give you access to the repo to do that, but I have code there that is still private
<Juju> eh, tell me once you cleaned these up
<OmnomIRC> (#)<Eeems> I unfortunately can't clean it up.
<OmnomIRC> (#)<Eeems> The image class is standalone though and doesn't require the others
<Juju> hm.
<OmnomIRC> (#)<Eeems> Juju: wait, are you meaning you want to see statsgraph2 source?
<Juju> Why not?
<Juju> So I can totally not steal it for my own >.>
<OmnomIRC> (#)<Eeems> haha, sure hold on a sec
<OmnomIRC> (#)<Eeems> Well, you wont be able to since you wont have ssi_eeems
<OmnomIRC> (#)<Eeems> which it uses heavily
<OmnomIRC> (#)<Eeems> but you can steal concepts from it
<Juju> eh, looks simple to do
<OmnomIRC> (#)<Eeems> Juju: http://www.rafb.me/results/dXud7355.html
<Juju> thanks ^_^
<OmnomIRC> (#)<Eeems> np


  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????:trollface:???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17850
  • Post Rating Ratio: +89/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Note to myself (Statsgraph2)
« Reply #1 on: December 24, 2015, 09:02:22 pm »
Not sure if we need a Statsgraph update since what we use (the version you wrote yourself in 2011 before Eeems started updating it) does the job fine for the time being, but it could be handy for when we have zero-post days (eg downtime or inactivity), since your version skips 0-post days.


What I would like to see, however, is the ability to use parameters such as statsgraph.php?pageviews , ?newmembers ?onlinetodayrecord and ?newtopics , so that instead of new posts we can see other stats as well.

It would also be cool if we could specify the width so that the graph (not the text) fits a specific size like Cemetech.
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Online Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 2753
  • Post Rating Ratio: +17/-1
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • View Profile
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Note to myself (Statsgraph2)
« Reply #2 on: December 25, 2015, 03:57:34 am »
I didn't had time to explain anything in the OP, but you should check the thread on Omnimaga, Eeems added a graph for each user. But yeah, there's a lot of fun stuff we could graph.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????:trollface:???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17850
  • Post Rating Ratio: +89/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Note to myself (Statsgraph2)
« Reply #3 on: December 25, 2015, 05:19:17 am »
Yeah I saw that. I wonder what happens when someone has a negative post count number O.O

Anyway yeah I guess those would be cool. I would probably focus on adding the suggestions above and maybe the ability to choose the color via URL parameters. For example, http://codewalr.us/statsgraph2.php?display=topics&color=0000ff or other things like that. That would be handy for our stats page.

You should ask permission to him first if you decide to use it here, though.
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Online Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 2753
  • Post Rating Ratio: +17/-1
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • View Profile
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Note to myself (Statsgraph2)
« Reply #4 on: December 25, 2015, 05:44:10 am »
Oh, that would be fun. I guess he already gave me some permission by giving me the code as in the discussion in the OP.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????:trollface:???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17850
  • Post Rating Ratio: +89/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Note to myself (Statsgraph2)
« Reply #5 on: December 25, 2015, 07:10:30 am »
Ah I see, then that's good.
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games