Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Hopebot  (Read 8425 times)

0 Members and 1 Guest are viewing this topic.

Computer Hope Admin

    Topic Starter
  • Administrator


  • Prodigy

    Thanked: 242
    • Yes
    • Yes
    • Yes
    • Computer Hope
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 10
Hopebot
« 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.

Everybody is a genius. But, if you judge a fish by its ability to climb a tree, it will spend its whole life believing that it is stupid.
-Albert Einstein

Computer Hope Admin

    Topic Starter
  • Administrator


  • Prodigy

    Thanked: 242
    • Yes
    • Yes
    • Yes
    • Computer Hope
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 10
Re: Hopebot
« 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.
Everybody is a genius. But, if you judge a fish by its ability to climb a tree, it will spend its whole life believing that it is stupid.
-Albert Einstein

Carbon Dudeoxide

  • Global Moderator

  • Mastermind
  • Thanked: 168
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Experience: Guru
  • OS: Mac OS
Re: Hopebot
« 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. ;)

computeruler



    Egghead

    Thanked: 63
    • Yes
    • Yes
  • Experience: Experienced
  • OS: Mac OS
Re: Hopebot
« Reply #3 on: March 10, 2009, 05:46:11 PM »
Like banning those annoying all cap noobs?

Carbon Dudeoxide

  • Global Moderator

  • Mastermind
  • Thanked: 168
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Experience: Guru
  • OS: Mac OS
Re: Hopebot
« Reply #4 on: March 11, 2009, 02:51:03 AM »
No, by not checking dates on topics.

computeruler



    Egghead

    Thanked: 63
    • Yes
    • Yes
  • Experience: Experienced
  • OS: Mac OS
Re: Hopebot
« Reply #5 on: March 11, 2009, 01:51:39 PM »
I forget sometimes :-\

Zylstra

  • Moderator


  • Hacker

  • The Techinator!
  • Thanked: 45
    • Yes
    • Technology News and Information
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 7
Re: Hopebot
« 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....


Computer Hope Admin

    Topic Starter
  • Administrator


  • Prodigy

    Thanked: 242
    • Yes
    • Yes
    • Yes
    • Computer Hope
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 10
Re: Hopebot
« 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.
Everybody is a genius. But, if you judge a fish by its ability to climb a tree, it will spend its whole life believing that it is stupid.
-Albert Einstein

macdad-



    Expert

    Thanked: 40
    Re: Hopebot
    « Reply #8 on: March 16, 2009, 11:38:12 AM »
    Why create the log as a JavaScript file?
    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: 242
      • Yes
      • Yes
      • Yes
      • Computer Hope
    • Certifications: List
    • Computer: Specs
    • Experience: Guru
    • OS: Windows 10
    Re: Hopebot
    « 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.
    Everybody is a genius. But, if you judge a fish by its ability to climb a tree, it will spend its whole life believing that it is stupid.
    -Albert Einstein

    macdad-



      Expert

      Thanked: 40
      Re: Hopebot
      « 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?
      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: 242
        • Yes
        • Yes
        • Yes
        • Computer Hope
      • Certifications: List
      • Computer: Specs
      • Experience: Guru
      • OS: Windows 10
      Re: Hopebot
      « 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.
      Everybody is a genius. But, if you judge a fish by its ability to climb a tree, it will spend its whole life believing that it is stupid.
      -Albert Einstein

      macdad-



        Expert

        Thanked: 40
        Re: Hopebot
        « Reply #12 on: March 16, 2009, 12:35:41 PM »
        Makes sense.
        If you dont know DOS, you dont know Windows...

        Thats why Bill Gates created the Windows NT Family.