Home / Other / Computer Hope groups / Chat / Hopebot
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Hopebot  (Read 3746 times)
Computer Hope Admin
Topic Starter
Administrator
Prodigy



Thanked: 206
Posts: 6,135

Certifications: List
Computer: Specs
Experience: Guru
OS: Windows Vista

Computer Hope 1 1 1
« on: December 16, 2008, 07:09:06 AM »

As many have noticed and mentioned to me Hopebot's been absent a lot recently in the chat. Unfortunately it's yet another growing issue that I believe is being encountered. I believe that the chat stats that is parsed every time before the upload is taking longer because of the increased size causing the FTP to fail because of timeouts.

I've temporarily disabled the chat stats update (although log still being created) until I can get the time to create a method that will allow the log to be generated more efficiently. Right now I'm focusing more on the potential issues with the server and the forum.

IP logged

Most of the important things in the world have been accomplished by people who have kept on trying when there seemed to be no hope at all.
- Dale Carnegie
Computer Hope Admin
Topic Starter
Administrator
Prodigy



Thanked: 206
Posts: 6,135

Certifications: List
Computer: Specs
Experience: Guru
OS: Windows Vista

Computer Hope 1 1 1
« Reply #1 on: December 17, 2008, 11:37:38 PM »

While working on server issues yesterday and early this morning I also worked out the issues with Hopebot (as far as disconnecting frequently). So this should no longer be an issue.
IP logged

Most of the important things in the world have been accomplished by people who have kept on trying when there seemed to be no hope at all.
- Dale Carnegie
Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 145
Posts: 16,077

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #2 on: December 24, 2008, 01:48:41 PM »

Well I for one am glad he's back online. I've missed his usefulness. ;)
IP logged

computeruler
Egghead



Thanked: 63
Posts: 3,393

Experience: Experienced
OS: Windows XP

1
« Reply #3 on: March 10, 2009, 05:46:11 PM »

Like banning those annoying all cap noobs?
IP logged

Carbon Dudeoxide
Global Moderator
Mastermind


Thanked: 145
Posts: 16,077

Certifications: List
Computer: Specs
Experience: Expert
OS: Mac OS


Carbon - The building block of life on Earth.

My Youtube Profile 1 1
« Reply #4 on: March 11, 2009, 02:51:03 AM »

No, by not checking dates on topics.
IP logged

computeruler
Egghead



Thanked: 63
Posts: 3,393

Experience: Experienced
OS: Windows XP

1
« Reply #5 on: March 11, 2009, 01:51:39 PM »

I forget sometimes :-\
IP logged

Zylstra
Moderator
Hacker



Thanked: 37
Posts: 5,261

Certifications: List
Experience: Guru
OS: Windows 7
The Techinator!

Technology News and Information 1
« Reply #6 on: March 15, 2009, 03:40:31 PM »

It would be possible that, instead of Hopebot uploading the stats, you could have another program upload it.

On my server, Mr_Omally is hosted on the same computer that hosts the stats, so, there is no upload, it just writes direct access.
You could upload PISG stats to the server, and just have an automatic FTP program upload the raw logs to the PISG directory, and schedule a CRON job on the server itself to process PISG stats....

IP logged

Computer Hope Admin
Topic Starter
Administrator
Prodigy



Thanked: 206
Posts: 6,135

Certifications: List
Computer: Specs
Experience: Guru
OS: Windows Vista

Computer Hope 1 1 1
« Reply #7 on: March 16, 2009, 11:32:49 AM »

Yeah that's true. Although the FTP works fine. Also Hopebot is not just uploading a file, he's generating the .js file that contains the information about who's logged into the channel, what was last said, etc. and also starting the process of compiling the PISG stats. So it's a little more than just a FTP upload.
IP logged

Most of the important things in the world have been accomplished by people who have kept on trying when there seemed to be no hope at all.
- Dale Carnegie
macdad-
Expert



Thanked: 39
Posts: 2,520


LoneWolf's Circuits
« Reply #8 on: March 16, 2009, 11:38:12 AM »

Why create the log as a JavaScript file?
IP logged

If you dont know DOS, you dont know Windows...

Thats why Bill Gates created the Windows NT Family.
Computer Hope Admin
Topic Starter
Administrator
Prodigy



Thanked: 206
Posts: 6,135

Certifications: List
Computer: Specs
Experience: Guru
OS: Windows Vista

Computer Hope 1 1 1
« Reply #9 on: March 16, 2009, 11:39:31 AM »

Easy method of allowing it to be live stats and implemented on any page, including any non-computerhope page.
IP logged

Most of the important things in the world have been accomplished by people who have kept on trying when there seemed to be no hope at all.
- Dale Carnegie
macdad-
Expert



Thanked: 39
Posts: 2,520


LoneWolf's Circuits
« Reply #10 on: March 16, 2009, 11:42:19 AM »

Ahh...and that means that you can display the contents of it for any page?
IP logged

If you dont know DOS, you dont know Windows...

Thats why Bill Gates created the Windows NT Family.
Computer Hope Admin
Topic Starter
Administrator
Prodigy



Thanked: 206
Posts: 6,135

Certifications: List
Computer: Specs
Experience: Guru
OS: Windows Vista

Computer Hope 1 1 1
« Reply #11 on: March 16, 2009, 11:54:57 AM »

Umm maybe. Not sure if I understand you or not. Basically all the .js file contains is a document.write, which is like a print statement to print a line of text, which is the stats information. Because this is an external file I can link that file from the forum, computer help page, and any other page and have that same information displayed without having to have a dynamic web page. Hope that helps explain it.
IP logged

Most of the important things in the world have been accomplished by people who have kept on trying when there seemed to be no hope at all.
- Dale Carnegie
macdad-
Expert



Thanked: 39
Posts: 2,520


LoneWolf's Circuits
« Reply #12 on: March 16, 2009, 12:35:41 PM »

Makes sense.
IP logged

If you dont know DOS, you dont know Windows...

Thats why Bill Gates created the Windows NT Family.
Pages: [1] - (Top) Print 
Home / Other / Computer Hope groups / Chat / Hopebot « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.121 seconds with 21 queries.