Author Topic: OmnomIRC will be down for unspecified time  (Read 16663 times)

0 Members and 3 Guests are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: OmnomIRC will be down for unspecified time
« Reply #15 on: September 21, 2012, 10:11:24 am »
Yes, until someone puts up a relay bot.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: OmnomIRC will be down for unspecified time
« Reply #16 on: September 21, 2012, 01:59:25 pm »
I'm surprised no one mentioned taking the time to redesign OmnomIRC and make it more efficient for servers and clients! :) That path would mean anybody could really host it, and there could be redundancy fallbacks when, say, Netham45's server goes down (and 4 other servers could take its place).

I've talked to Shmibs about how we possibly could redesign it, so that it is not dependent on a SQL database. Also, if there is a redesign, I think we should use WebSockets instead of the current implementation. I know it would mean no support for older browsers anymore, but it will be by far the easiest thing to do (and the best).

Also, about rehosting OmnomIRC: Don't forget that OmnomIRC was the cause of the outages on the current Omnimaga server, and I don't think the server has been changed meanwhile ?

What I think would be the best is to use the current longpolling method but use shared memory to save the database instead of SQL. PHP has the ability to create and use shared memory.
Omnimaga Admin

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: OmnomIRC will be down for unspecified time
« Reply #17 on: September 21, 2012, 04:44:33 pm »
Netham posted o.o

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: OmnomIRC will be down for unspecified time
« Reply #18 on: September 21, 2012, 05:03:49 pm »
Netham, with websockets there wouldn't be a need for shared memory at all. Messages could instantly be distributed to other clients when they arrive. Of course this is fundamentally different and will not work on older clients.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: OmnomIRC will be down for unspecified time
« Reply #19 on: September 21, 2012, 06:31:36 pm »
That would mean i'd need to rewrite some of my bots :P
But i think go for websockets :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: OmnomIRC will be down for unspecified time
« Reply #20 on: September 21, 2012, 07:27:29 pm »
That would mean i'd need to rewrite some of my bots :P
But i think go for websockets :D
Nope, it's just for the client/server of OmnomIRC. OmnomIRC will still be sending to IRC.
I'm highly doubtful that you would be able to access the websockets without being logged in somehow in your account, though... :P

I'd opt for shared memory for the sake of compatibility.
« Last Edit: September 21, 2012, 07:27:38 pm by alberthrocks »
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: OmnomIRC will be down for unspecified time
« Reply #21 on: September 21, 2012, 07:28:25 pm »
No, i mean the bots that do actual http requests and mess with omnomirc that way

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: OmnomIRC will be down for unspecified time
« Reply #22 on: September 21, 2012, 07:40:48 pm »
No, i mean the bots that do actual http requests and mess with omnomirc that way
Oh, like jimbauwen's New JS bot? Hmm, I guess...
Well, WebSockets != HTTP, but I see what you're saying. If a small chat server was run that would be like IRC, but for Omni only, you could alter your bots to connect to that, which would connect to IRC :)

Still, it's kinda uncertain as to whether we will support that protocol or not. Firefox 11, Chrome 16, Safari 6, and Opera 12.50 are the browsers that support it now, but older versions (such as browsers found in public areas) would not be able to use this. Furthermore, firewalls and filters may take action to block such a continuous stream.

I guess what could happen is WebSockets implemented in the backend, and have OmnomIRC simply be a frontend to it. Then OmnomIRC could relay said stuff into IRC, and keep a shortlog/log of convos. And bot devs might have an interesting API :)

Of course, this might be a lot more trouble than it's worth (and might be worse than OmnomIRC now!)... but it can't be that bad, right? :D

(For reference, Eeem's nodejs chat server uses only 1.1% of 1034452 KBs = 11.378 MBs of memory, which isn't bad, especially since nodejs is interpreted and whatnot. It might actually work! But I'll let the powers-that-is decide :P)
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: OmnomIRC will be down for unspecified time
« Reply #23 on: September 21, 2012, 07:42:25 pm »
But this time really make the logs work ;)

And i connect via http to omnomirc to read pms
* Sorunome runs

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: OmnomIRC will be down for unspecified time
« Reply #24 on: September 21, 2012, 09:54:13 pm »
(For reference, Eeem's nodejs chat server uses only 1.1% of 1034452 KBs = 11.378 MBs of memory, which isn't bad, especially since nodejs is interpreted and whatnot. It might actually work! But I'll let the powers-that-is decide :P)
I would use a lot more if I started logging or supported multiple channels. Still though, it's snappy and doesn't use that much RAM.
/e

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: OmnomIRC will be down for unspecified time
« Reply #25 on: September 22, 2012, 12:12:38 am »
That would be nice if the new OmnomIRC would be based on Eeems' nodejs thing.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnomIRC will be down for unspecified time
« Reply #26 on: September 22, 2012, 12:44:13 am »
I assume it would require a lot of work though? THat said, for the multi channel support issue, I guess you could just eliminate some channels that are rarely ever used, such as #omnimaga-radio, since juju's bot is almost never working, along with the extra 3rd-party channels such as #prizm, #nspire-lua and #irp.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: OmnomIRC will be down for unspecified time
« Reply #27 on: September 22, 2012, 01:37:04 am »
I assume it would require a lot of work though? THat said, for the multi channel support issue, I guess you could just eliminate some channels that are rarely ever used, such as #omnimaga-radio, since juju's bot is almost never working, along with the extra 3rd-party channels such as #prizm, #nspire-lua and #irp.
Multichannel is easy to support with socket.io which is what I'm using on top of Node.js
Integrating in a lot of the other features of omnom would probably be harder.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnomIRC will be down for unspecified time
« Reply #28 on: September 22, 2012, 01:55:09 am »
I guess for the time being, colors wouldn't be that necessary except maybe Runer112's sprite converter bot (which Omnom itself doesn't support properly due to lack of white background support anyway), although moderator features might be a good idea to have eventually in case. Most people use Omnom to chat, anyway, not play Doom :P
« Last Edit: September 22, 2012, 01:55:18 am by DJ_O »

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: OmnomIRC will be down for unspecified time
« Reply #29 on: September 22, 2012, 02:32:40 am »
I guess for the time being, colors wouldn't be that necessary except maybe Runer112's sprite converter bot (which Omnom itself doesn't support properly due to lack of white background support anyway), although moderator features might be a good idea to have eventually in case. Most people use Omnom to chat, anyway, not play Doom :P
Well if someone wants to pick up the source and get it working let me know. I can even supply source for my node.js irc bots so you can figure out how to link to that side of things as well ;P
« Last Edit: September 22, 2012, 02:32:59 am by Eeems »
/e