NewsNTFA ForumsTransformers movie seriesAuto Assembly Europe conventionWWTFU Character profilesStore

Welcome Guest ( Log in | Register )


Welcome, guest. Register to remove this message!
Hello, and welcome to NTFA Forums!
To post in our community you must register, but don't worry - this is a simple, free process that only takes a few moments to complete. Register now!

Advantages of registering include:
  • You get rid of this giant box and Optimus Prime trying to recruit you
  • You will be able to start topics, post replies, and vote in our polls
  • You can track topics of particular interest to you, and search for all new posts since your last visit
  • You get to associate and chat with a group of friendly and helpful Nordic Transformers fans ;)

13 pages V  « < 4 5 6 7 8 > »   
Reply to this topicStart new topic
> NTFA posting chart
predaking
post 27 January 2008, 16:54
Post #76 | Print
Hardcore


Frank Herfjord
Sandnes, Norway

Group: Super moderators
Posts: 2 143
Joined: 26 February 2006



I was a little surprised to see that my name hasn't dropped on the list, since I haven't been very active lately (spending more time on wine forums nowadays) - which got me thinking: it would be interesting to have half-year or yearly reports of the active posters. It would be fun statistics to check in retrospect. But that would require a separate count for the current year in addition to posts since the restart of the forum, of course.


--------------------
check out my transformers store: http://www.freewebs.com/atreju1978/

Go to the top of the page
 
+Quote Post
Groundsplitter
post 27 January 2008, 18:37
Post #77 | Print
Admin


Lars Eriksson
Knivsta, Sweden

Group: Root admin
Posts: 4 551
Joined: 26 February 2006



QUOTE(predaking @ 27 January 2008, 16:54) *
I was a little surprised to see that my name hasn't dropped on the list, since I haven't been very active lately (spending more time on wine forums nowadays) - which got me thinking: it would be interesting to have half-year or yearly reports of the active posters. It would be fun statistics to check in retrospect. But that would require a separate count for the current year in addition to posts since the restart of the forum, of course.

Yeah, and that's not something you can do manually. You would have to have a built-in function that looked up all the posts within a certain interval, grouped them by poster and returned the count for each poster, sorted in descending order. That's certainly doable, programmatically, but someone (i.e. me) would have to build it. And right now I'm not up to it.


--------------------
E-mail address: groundsplitter@ntfa.net
Go to the top of the page
 
+Quote Post
Psychotron
post 27 January 2008, 18:52
Post #78 | Print




Group: Sponsors
Posts: 2 549
Joined: 26 February 2006



QUOTE(Groundsplitter @ 27 January 2008, 19:37) *
And right now I'm not up to it.


Me neither. tongue.gif
Go to the top of the page
 
+Quote Post
Inkku
post 27 January 2008, 19:24
Post #79 | Print
The mob is out to get ya..


Heidi
Salo, Finland

Group: Sponsors
Posts: 6 286
Joined: 26 February 2006



QUOTE(Psychotron @ 27 January 2008, 19:52) *
QUOTE(Groundsplitter @ 27 January 2008, 19:37) *
And right now I'm not up to it.


Me neither. tongue.gif


not in this life.. tongue.gif


--------------------
..official red car lunatic..

my car has mind on it's own.. and it is evil.. eeeeevil..!!

“Real friends are those who, when you feel you've made a fool of yourself, don't feel you've done a permanent job. – Anon.

"-Rojekti on hanke, jossa kyvyttömät koettaavat suaha haluttomat tekemään mahottomia.."
Go to the top of the page
 
+Quote Post
palaste
post 28 January 2008, 12:01
Post #80 | Print
Mr. Suitly emphazi


Joona Palaste, B.Sc.
Helsinki, Finland

Group: Super moderators
Posts: 4 581
Joined: 26 February 2006



QUOTE(predaking @ 27 January 2008, 17:54) *
I was a little surprised to see that my name hasn't dropped on the list, since I haven't been very active lately (spending more time on wine forums nowadays) - which got me thinking: it would be interesting to have half-year or yearly reports of the active posters. It would be fun statistics to check in retrospect. But that would require a separate count for the current year in addition to posts since the restart of the forum, of course.

It should be very much possible to write a program that downloads all the posts of a specific member, strips out their datestamps, and generates a graph about how much this member has posted on each day. I could do it myself if I could find the time and the energy.


--------------------
"Hermione!" "Harry!" "Ron!" "Professor Dumbledore!" "Hermione!" "Rocky!"
"Hermione!" "Harry!" "Ron!" "Professor Dumbledore!" "Hermione!" "Rocky!"
Go to the top of the page
 
+Quote Post
Groundsplitter
post 28 January 2008, 12:05
Post #81 | Print
Admin


Lars Eriksson
Knivsta, Sweden

Group: Root admin
Posts: 4 551
Joined: 26 February 2006



QUOTE(palaste @ 28 January 2008, 12:01) *
It should be very much possible to write a program that downloads all the posts of a specific member, strips out their datestamps, and generates a graph about how much this member has posted on each day. I could do it myself if I could find the time and the energy.
Apart from the graph you could do it with a simple (well, semi-complex) SQL query, but to use it on the board you'd have to write a query form and a presentation form, add member group permissions and links from the board view and all that. That's the difficult part.
Go to the top of the page
 
+Quote Post
palaste
post 28 January 2008, 12:09
Post #82 | Print
Mr. Suitly emphazi


Joona Palaste, B.Sc.
Helsinki, Finland

Group: Super moderators
Posts: 4 581
Joined: 26 February 2006



QUOTE(Groundsplitter @ 28 January 2008, 13:05) *
QUOTE(palaste @ 28 January 2008, 12:01) *
It should be very much possible to write a program that downloads all the posts of a specific member, strips out their datestamps, and generates a graph about how much this member has posted on each day. I could do it myself if I could find the time and the energy.
Apart from the graph you could do it with a simple (well, semi-complex) SQL query, but to use it on the board you'd have to write a query form and a presentation form, add member group permissions and links from the board view and all that. That's the difficult part.

I don't have access to the SQL database, so that's not an option. However, I could do it with a mass of wget requests using the same cookies that I use when manually browsing the board.
However, this would be only able to be done manually on my own computer. It would not be available as an automatic feature to everyone who uses the board. For this, I would need two things: (1) access to the board source code, (2) knowledge about PHP programming. Only (1) is crucial, but at the moment I have neither, and will probably not have them either.
Go to the top of the page
 
+Quote Post
Groundsplitter
post 28 January 2008, 13:20
Post #83 | Print
Admin


Lars Eriksson
Knivsta, Sweden

Group: Root admin
Posts: 4 551
Joined: 26 February 2006



QUOTE(palaste @ 28 January 2008, 12:09) *
I don't have access to the SQL database, so that's not an option. However, I could do it with a mass of wget requests using the same cookies that I use when manually browsing the board.
That would use up more bandwidth than necessary though ...
QUOTE
However, this would be only able to be done manually on my own computer. It would not be available as an automatic feature to everyone who uses the board.
It wouldn't be a public feature even if I created it for the board. I would restrict it to admins, maybe even put it in the Admin Control Panel - it would cost too much processing power to make it available to everyone. We (you wink2.gif ) would then still have to compile the graph manually.
Go to the top of the page
 
+Quote Post
palaste
post 28 January 2008, 13:22
Post #84 | Print
Mr. Suitly emphazi


Joona Palaste, B.Sc.
Helsinki, Finland

Group: Super moderators
Posts: 4 581
Joined: 26 February 2006



QUOTE(Groundsplitter @ 28 January 2008, 14:20) *
QUOTE(palaste @ 28 January 2008, 12:09) *
I don't have access to the SQL database, so that's not an option. However, I could do it with a mass of wget requests using the same cookies that I use when manually browsing the board.
That would use up more bandwidth than necessary though ...

Not if I programmed it to spend a delay between each wget request. If fully automated, I could leave it to run for several days, with delays of several minutes (if not even more) per request.
QUOTE
QUOTE
However, this would be only able to be done manually on my own computer. It would not be available as an automatic feature to everyone who uses the board.
It wouldn't be a public feature even if I created it for the board. I would restrict it to admins, maybe even put it in the Admin Control Panel - it would cost too much processing power to make it available to everyone. We (you wink2.gif ) would then still have to compile the graph manually.

That would be a good idea - if the raw data would be made accessible in a more machine-friendly format than the fully rendered HTML, it would be easier to make a program that drew charts out of it.
Go to the top of the page
 
+Quote Post
Groundsplitter
post 28 January 2008, 13:31
Post #85 | Print
Admin


Lars Eriksson
Knivsta, Sweden

Group: Root admin
Posts: 4 551
Joined: 26 February 2006



QUOTE(palaste @ 28 January 2008, 13:22) *
That would be a good idea - if the raw data would be made accessible in a more machine-friendly format than the fully rendered HTML, it would be easier to make a program that drew charts out of it.
Yeah, I it occurred to me that the feature should output a downloadable list, probably in addition to a display on screen (which makes it even more a feature for the ACP). How would you prefer to have the raw data outputted? (is it "outputted" or "output", by the way?) As XML, as simple tab-separated data, or in another format? (I'm not that used to XML yet).

Hm. See what you made me do. I've started thinking about building that feature! wink2.gif
I'm definitely not making any promises though, even though it would be a useful exercise - it would give me plenty of experience for writing other new board features.
Go to the top of the page
 
+Quote Post
palaste
post 28 January 2008, 13:39
Post #86 | Print
Mr. Suitly emphazi


Joona Palaste, B.Sc.
Helsinki, Finland

Group: Super moderators
Posts: 4 581
Joined: 26 February 2006



QUOTE(Groundsplitter @ 28 January 2008, 14:31) *
QUOTE(palaste @ 28 January 2008, 13:22) *
That would be a good idea - if the raw data would be made accessible in a more machine-friendly format than the fully rendered HTML, it would be easier to make a program that drew charts out of it.
Yeah, I it occurred to me that the feature should output a downloadable list, probably in addition to a display on screen (which makes it even more a feature for the ACP). How would you prefer to have the raw data outputted? (is it "outputted" or "output", by the way?)

"Output". Most of the three-letter English verbs ending in "t" have the same form for all three cases. "Put, put, put".
QUOTE
As XML, as simple tab-separated data, or in another format? (I'm not that used to XML yet).

XML would work fine, but if you want to make a rawer (is that a word?) format, then something like one line per poster, with the datestamps separated by spaces or tabs on the line, would work. Can PHP use Unix timestamps (number of seconds since 1 January, 1970)?
QUOTE
Hm. See what you made me do. I've started thinking about building that feature! wink2.gif
I'm definitely not making any promises though, even though it would be a useful exercise - it would give me plenty of experience for writing other new board features.

Great! I'll be waiting for it then... biggrin.gif
Go to the top of the page
 
+Quote Post
Groundsplitter
post 28 January 2008, 14:10
Post #87 | Print
Admin


Lars Eriksson
Knivsta, Sweden

Group: Root admin
Posts: 4 551
Joined: 26 February 2006



QUOTE(palaste @ 28 January 2008, 13:39) *
QUOTE(Groundsplitter @ 28 January 2008, 14:31) *
(is it "outputted" or "output", by the way?)
"Output". Most of the three-letter English verbs ending in "t" have the same form for all three cases. "Put, put, put".
"Output" is a six-letter verb though, and just because it originally comes from "put" it doesn't mean it still has to behave the same way - it evolved into a word of its own a long time ago. I just looked it up in the American Heritage Dictionary, where it says both forms are acceptable. I don't know how reliable that is as a source though ...
QUOTE
QUOTE
As XML, as simple tab-separated data, or in another format? (I'm not that used to XML yet).

XML would work fine, but if you want to make a rawer (is that a word?) format, then something like one line per poster, with the datestamps separated by spaces or tabs on the line, would work. Can PHP use Unix timestamps (number of seconds since 1 January, 1970)?
Absolutely. PHP uses Unix timestamps for the most part, causing me a headache every time I want to display a date in human-readable form. tongue.gif
But why would you need timestamps? I wasn't thinking of exporting all the posts, just the summary of how many posts each member has produced during a given time period - that's the info we're looking for anyway, so it's easier to let MySQL do the dirty work and just have it give us the results.
Go to the top of the page
 
+Quote Post
palaste
post 28 January 2008, 14:17
Post #88 | Print
Mr. Suitly emphazi


Joona Palaste, B.Sc.
Helsinki, Finland

Group: Super moderators
Posts: 4 581
Joined: 26 February 2006



QUOTE(Groundsplitter @ 28 January 2008, 15:10) *
QUOTE(palaste @ 28 January 2008, 13:39) *
QUOTE(Groundsplitter @ 28 January 2008, 14:31) *
(is it "outputted" or "output", by the way?)
"Output". Most of the three-letter English verbs ending in "t" have the same form for all three cases. "Put, put, put".
"Output" is a six-letter verb though, and just because it originally comes from "put" it doesn't mean it still has to behave the same way - it evolved into a word of its own a long time ago. I just looked it up in the American Heritage Dictionary, where it says both forms are acceptable. I don't know how reliable that is as a source though ...

Aha, I didn't take that into account.
QUOTE
QUOTE
QUOTE
As XML, as simple tab-separated data, or in another format? (I'm not that used to XML yet).

XML would work fine, but if you want to make a rawer (is that a word?) format, then something like one line per poster, with the datestamps separated by spaces or tabs on the line, would work. Can PHP use Unix timestamps (number of seconds since 1 January, 1970)?
Absolutely. PHP uses Unix timestamps for the most part, causing me a headache every time I want to display a date in human-readable form. tongue.gif
But why would you need timestamps? I wasn't thinking of exporting all the posts, just the summary of how many posts each member has produced during a given time period - that's the info we're looking for anyway, so it's easier to let MySQL do the dirty work and just have it give us the results.

Then you're already doing some of my work for me. biggrin.gif Do I get to choose the granularity, i.e. the length of an individual time period? If it could go down to one day (or even shorter), it'd make for some nice graphs. Then the format could be one line per poster, with the lines containing numbers of posts per time period, separated by spaces or tabs.
Go to the top of the page
 
+Quote Post
Groundsplitter
post 28 January 2008, 14:29
Post #89 | Print
Admin


Lars Eriksson
Knivsta, Sweden

Group: Root admin
Posts: 4 551
Joined: 26 February 2006



QUOTE(palaste @ 28 January 2008, 14:17) *
Do I get to choose the granularity, i.e. the length of an individual time period? If it could go down to one day (or even shorter), it'd make for some nice graphs. Then the format could be one line per poster, with the lines containing numbers of posts per time period, separated by spaces or tabs.
If and when I create that feature, yes, that's basically what I have in mind. Probably not down to hours and minutes (that would be excessive, I think), but from/to a date of your own choice.
Go to the top of the page
 
+Quote Post
Protek
post 11 March 2008, 11:32
Post #90 | Print
Lord of the manor


Tero Säärelä
Oulu, Finland

Group: Sponsors
Posts: 2 401
Joined: 27 February 2006



Joona, I was thinking if it would be possible for you to in addition to the pie chart to add a curve chart for the top posters to see the trend of the posting activity. If you don't have the values of the older charts, you could just start one now.


--------------------
The Brotherhood of the Cybertronian Radial

"Takai desu ne"
"Jinsei da"

Check out my items for sale.

Most wanted: Pretender Roadblock inner robot, G1 Ultra Magnus missiles and launchers, G1 Smokescreen car roof
Go to the top of the page
 
+Quote Post

13 pages V  « < 4 5 6 7 8 > » 
Reply to this topicStart new topic

 



- Lo-fi version Time is now: 22 May 2013 - 22:37