Jump to content



Photo
- - - - -

#casiocalc Irc Channel's Widget Is Live


  • Please log in to reply
100 replies to this topic

#1 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 07 April 2012 - 01:18 AM

The chat widget is now enabled, please test it as much as you can :)
Only logged in members are able to see what's going on there but please, don't ever forget that none of your conversation should be considered as private when you're using this widget.

Don't hesitate to share any problem, suggestion or questions you may have in this thread.


Here is a maintained list of what is being worked upon :
- A way to minimize the widget (just like the file-sharing one) ===> done on 2012-04-09
- A way to resize it
- Better word-wrapping behaviour. ===> done on 2012-04-18
- Clickable URLs ===> done on 2012-04-17
- Notification of new posts
- Smiles (will be optional)


The widget was developed by me (global design, server-side PHP and client-side Javascript) and Forty-Two (global design and IRC bot in JAVA). More information about its architecture can be found here: http://www.casiocalc...?showtopic=6698

#2 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 07 April 2012 - 01:33 AM

The chat widget is now enabled, please test it as much as you can :)
Only logged in members are able to see what's going on there but please, don't ever forget that none of your conversation should be considered as private when you're using this widget.

Don't forget to refresh the page on your browser to make sure to use the latest version of the widget

There is probably many little things remaining to be fixed so don't hesitate to share any problem, suggestion or questions you may have in this thread.


Here is a maintained list of what is being worked upon :
- A way to minimize the widget (just like the file-sharing one)
- A way to resize it
- Better word-wrapping behaviour.
- Clickable URLs


- Notification of new posts
- Modules

Don't forget the original announcement thread.

#3 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 09 April 2012 - 07:49 PM

The chat widget can now be minimized, just click on its header. (if doesn't work, you might need to hard refresh the page once using CTRL+F5)

#4 amin_heidari

amin_heidari

    Casio Addict

  • Members
  • PipPipPip
  • 73 posts
  • Gender:Male
  • Location:Persia
  • Interests:Computer
    Programing
    Electrical Engineering

  • Calculators:
    CASIO FX-9860G SD hacked to G|| OS Version 2.01

Posted 10 April 2012 - 06:17 AM

The chat widget can now be minimized, just click on its header. (if doesn't work, you might need to hard refresh the page once using CTRL+F5)


can you change pointer(mouse) to hand when pointer hover top of the chat widget (like Universal Casio File Sharing News) ?

#5 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 17 April 2012 - 01:00 AM

URIs are now automatically replaced by a clickable link

can you change pointer(mouse) to hand when pointer hover top of the chat widget (like Universal Casio File Sharing News) ?


done :)

#6 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 19 April 2012 - 03:36 AM

- Hyphenation has been implemented.
- New entries will no longer make the widget to scroll down if the mouse's pointer is overing the widget.

#7 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 19 April 2012 - 01:53 PM

So now all that's left is post and user login/out notifications?

#8 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 19 April 2012 - 08:29 PM

- Hyphenation has been implemented.
- New entries will no longer make the widget to scroll down if the mouse's pointer is overing the widget.


1. Can I have an example?

2. Will this prevent it from updating when the user mouses off?

#9 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 19 April 2012 - 08:32 PM

I'm not sure about that last one, it poses some privacy issues...

#10 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 20 April 2012 - 10:45 AM

1. Can I have an example?

Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaa

(All of the above was one line but seems the forum software has a text-wrapper too and is automatically splitting my text ^ )

I'm not sure about that last one, it poses some privacy issues...

What privacy issues exactly? Maybe you could modify the posting page to provide a checkbox called "Notify IRC users of the new post" so people can turn this on (or off) when they want.

#11 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 20 April 2012 - 02:41 PM

What privacy issues exactly? Maybe you could modify the posting page to provide a checkbox called "Notify IRC users of the new post" so people can turn this on (or off) when they want.


This is not this I'm concerned with, it's with the member log in/out announces

2. Will this prevent it from updating when the user mouses off?


no

#12 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 20 April 2012 - 06:25 PM

This is not this I'm concerned with, it's with the member log in/out announces



What privacy issues does that cause? Other forums have it...

#13 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 20 April 2012 - 07:48 PM

What privacy issues does that cause? Other forums have it...


Yes, and you can see who is logged in at the bottom. It's also quite handy when someone who's your friend logs on; you can say hello.

#14 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 20 April 2012 - 07:49 PM

Yes, and you can see who is logged in at the bottom. It's also quite handy when someone who's your friend logs on; you can say hello.

Seconded. In fact, thats the main reason i would like to see it implemented. :)

#15 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 21 April 2012 - 02:17 AM

hmmm, it sounds intrusive to me though :/ I'm also afraid it might pollute the chat quickly, hiding recent conversations.

There is a profile option named something like 'invisible' where your name is not displayed when you enable it... I could use that.

It's easy to notice when someone enters the site but not when that person leaves, so it's better to only display when someone arrives...

Anyway I'll try and see how it goes.

#16 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 21 April 2012 - 11:35 AM

Well, the invisible option could disable it for users who don't want it, but otherwise, implement both joins and parts. That way people can disable it if they want.

#17 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 21 April 2012 - 08:44 PM

I've implemented joins, parts are not announced, there is no easy way to know when someone leaves the website in an accurate way

#18 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 21 April 2012 - 10:26 PM

I've implemented joins, parts are not announced, there is no easy way to know when someone leaves the website in an accurate way


I was thinking of more like when someone logs in, not when they load a page in the site after a period of inactivity. Also: "<%UcfBot> *2072 2072 just arrived" two nicks

#19 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 23 April 2012 - 04:21 AM

Are you going to implement anything that makes the IRC widget behave differently than just a simple sender/receiver?

#20 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 23 April 2012 - 08:27 PM

Could you elaborate? What feature would you like to have?

#21 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 24 April 2012 - 08:00 PM

"Member is browsing the forum" messages will only be displayed after an inactivity period of 10 consecutive hours so it should be displayed just once a day.

#22 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 25 April 2012 - 04:46 AM

Could you elaborate? What feature would you like to have?

Something to reduce the pollution by "people are browsing" and "people have joined the channel" messages:
Each time someone joins or browses the forum, remove all the previous enter, join, and browse messages for that user from the history. Such that only the latest activity of the user is displayed. I know this won't delete such messages from IRC clients' history, but this will keep the shoutbox at the top clean.
Another thing that can be implemented at the same time with the above is to remove all status messages of a user after this 10 hour (or 16 hour?) of his inactivity from the shoutbox.

The first thing that I thought could be implemented is a (e.g) "/remove" function for moderators of this forum that removes certain lines from the shoutbox. For example "/remove MicroPro 09:01:18" removes the line posted by MicroPro at 09:01:18 in the shoutbox. I recently removed a spammer called joc[...]gd (they're still here :) I missed them) We don't want them to spam the shoutbox too.

Do you think they were difficult? :rolleyes:

#23 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 25 April 2012 - 08:52 PM

"Member is browsing the forum" messages will only be displayed after an inactivity period of 10 consecutive hours so it should be displayed just once a day.


I think this is adequate. The one other thing would be to change the message to something less stalky. Maybe "Khoraski has entered the room," not "Khoraski is browsing the forum."

#24 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 28 April 2012 - 07:31 PM

I've implemented the following changes:

- Changed 'is browsing the forum' to 'entered the room'
- 'Entered the room' messages older than 30 minutes are no longer displayed
- Leave/Join spam by the same user is removed when no real message is found in-between.

#25 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 01 May 2012 - 06:56 PM

I've just noticed a grammatical issue with the bot's messages:

"XXX has joined/left the channel" should be "XXX joined/left the channel" since XXX joined/left the channel at a precise known point in time (which is written on the left of the message).

#26 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 01 May 2012 - 10:16 PM

Hmm... That'll be fixed once the source is stable.

#27 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 02 May 2012 - 06:16 PM

Everyone, is it just me or you again decreased the number of recent lines to 10?

Edit: When I logged-in there were almost ten lines. As me and flyingfisch posted, the number became bigger.

"XXX has joined/left the channel" should be "XXX joined/left the channel" since XXX joined/left the channel at a precise known point in time (which is written on the left of the message).

I never learned what English verb tense was exactly for what situation... anyways...

#28 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 02 May 2012 - 07:06 PM

That's because of all the hidden messages (left/join notably) and 'xxx entered the room'.

#29 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 02 May 2012 - 07:12 PM

Hidden messages will gradually clear the contents of the chat widget this way :lol: Can't you exclude hidden messages from counting?

#30 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 05 May 2012 - 11:23 PM

that's not simple, they're in the data sent from the server. The messages disappear because the history is limited to a certain size. The only way would be to clean the history on the server... I might do it but it requires a few hours of work.

#31 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 08 May 2012 - 02:51 PM

Ok it's been implemented, there should be more messages remaining in the history now.

#32 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 08 May 2012 - 06:40 PM

Seems you have added some colouring too :) :rolleyes:

#33 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 09 May 2012 - 01:24 AM

I made random responses to all channel events; comments?

public static final String[] joins= {
	 
	"has entered wonderland",
	"took the red pill",
	"fell out of the ground",
	"is baaAAAAAaaaaack!",
	"says hello",
	"is here; you can call him ishmael"
	 
	};
	 
	public static final String[] parts= {
	 
	"doesn't give a damn",
	"was assasinated by Forty-Two",
	"was assasinated by 2072",
	"was assasinated by FlyingFisch",
	"was assasinated by MicroPro",
	"had a ram clear",
	"pulled a battery",
	"found his place in Valhalla",
	"was eaten by a grue",
	"has guessed his last number",
	"rocked his last roll... wait, what?",
	"was thunderstruck",
	"pulled the plug",
	"brings humans one step closer to extinction",
		"fled the scene"
	 
	};
	 
	public static final String[] changes= {
	 
	"cloned himself, and ended up with a",
	"was reincarnated as a",
	"was taken over by a Ra named",
	"decided to confuse us all by changing his name to"
	 
	};


#34 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 09 May 2012 - 07:41 PM

They're so much funny :D But don't you think some of the messages are too cruel?! I've never assassinated someone, while the chat widget suggests I did! :lol:

#35 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 09 May 2012 - 07:54 PM

Yes that's right. What is it with this murder frenzy Forty-Two?

When do you think you can implement the prefixes we talked about last night so I can filter out those messages like before (and colour leave messages differently)?

#36 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 09 May 2012 - 09:25 PM

Maybe assasination is a bit strong... I wanted something where the people responsible for the part would be the mods.

@2072 I can have it by tomorrow (maybe not tonight, but definitely by the end of Saturday)

#37 2072

2072

    Casio over god

  • Admin
  • PipPipPipPipPipPipPipPip
  • 1565 posts
  • Gender:Male
  • Location:Somewherebourg
  • Interests:Alternative states of consciousness, programming, making things work the best they possibly can.

  • Calculators:
    AFX2 ROM 1.02, CFX-9940GT+, FX-180P-Plus

Posted 29 May 2012 - 10:57 PM

@2072 I can have it by tomorrow (maybe not tonight, but definitely by the end of Saturday)



Any news about that?

#38 Forty-Two

Forty-Two

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 528 posts
  • Gender:Male
  • Location:Well, The sign says "You are here"...

  • Calculators:
    Casio fx-CG10 Prizm
    Casio fx-9860GII
    TI-84+ SE

Posted 30 May 2012 - 12:08 AM

Any news about that?


Things went a bit screwy in my life in the week after that, and I've yet to find time to get that all done; if you could put the prefixes here, I should be able to have them implemented soon.

#39 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 30 May 2012 - 05:31 PM

What do you think about supporting smileys in the chat widget?

#40 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 30 May 2012 - 06:26 PM

I think this would be a good idea also :)


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users