« first day (5 days earlier)      last day (2915 days later) » 
08:00 - 16:0016:00 - 00:00

Sam
8:39 AM
Good news, I finally found the culprit behind the server's awful performance. I'll be patching it up today, afterwards if I have time I'll work on the HTML generator.
 
 
1 hour later…
9:43 AM
@Sam what the heck is eventType 7 = "debug message"?!
 
Sam
@Tunaki Uh
I was told somewhere, lemme check again...
There it is:
in Tavern on the Meta on Meta Stack Exchange Chat, Jan 5 at 13:46, by balpha
@Quill ah, a DebugMessage event has a .content property that will just be added to the debug message container that chat developers have on their screen
@Tuna ^
 
hum okay
still cryptic but meh
how can you test that? xD
 
Sam
Ya can't xD
 
I mean, how do you even know what the JSON to parse is going to be?!
I know
You can't!
 
Sam
Yup
 
10:00 AM
It's too bad really. There's absolutely no doc so you need to test every event to see what you need to parse in the first place
 
Sam
Yep
 
And some of them are just untestable or you don't want to test them, like "moderator flag"!
 
Sam
Or you know, you could just check other implementations :p
 
I don't trust C# code.
 
Sam
xD
 
10:02 AM
:D
 
Sam
That's ok. I don't trust Java code either.
 
I'm guessing "user notification" is when you're inviting to Trash or the like?
Ah no, 17 - invitation...
 
Sam
Yeah
 
10:18 AM
Oooo I'm so going to test "user suspended" on you @Sam :p
 
Sam
Ya can't
xD
 
:(
 
Sam
Oh btw, I implemented the kick-mute feature in CE.Net.
 
I thought it would fire on kick...
 
Sam
If ya wanna look.
 
10:19 AM
I'll take a look yeah.
 
Sam
@Tunaki AFAIK, it only triggers UserLeft.
 
I'll finish hooking up all those events first.
 
Sam
However
They did recently change that.
 
How about a question on StackApps: "What are all the chat event types, their JSON messages and when are they fired?"
 
Sam
Sure
 
10:22 AM
Then we can community-wiki an answer with what we already know
 
Sam
Sounds good.
 
It's weird it doesn't exist. Or does it?
 
Sam
@Tuna do you have a minute?
 
yup
 
Sam
{"event_type":15,"time_stamp":1463221443,"content":"priv 1625 created","id":62470674,"user_id":2246344,"target_user_id":1743880,"user_name":"Sam","room_id":111347,"room_name":"SOCVFinder"},{"event_type":4,"time_stamp":1463221443,"id":62470675,"user_id":1743880,"target_user_id":1743880,"user_name":"Tunaki","room_id":111347,"room_name":"SOCVFinder"}
 
10:25 AM
> You've been kicked from SOCVFinder.
 
Sam
Interesting
ev15 + ev4
 
access level changed?
 
Sam
Yes
But
 
user left?
 
Sam
That's not what it usually looks like
 
10:27 AM
so you can't tell between a kick and a regular leave?
 
Sam
@Tunaki Yeah
Only if you can see ev15.
 
@Sam Is it possible to get questions with new activity only on Stack Overflow via WebSockets? 155-questions-active gives questions from all sites, and 1-questions-active doesn't seem to be working.
 
No I don't think so @Gothdo
 
Sam
@Gothdo Yes, it is.
One moment.
 
13
A: How do the Stack Exchange WebSockets work? What are all the options you can send to them?

Jeroen VannevelI'm working on putting the communication with the Stack Exchange websockets inside a .NET library so as a way of sharing the research, here are the layouts of the JSON responses. Note that they don't always work on all sites. For example 1 (Stack Overflow) does not respond to questions-active b...

> Note that they don't always work on all sites. For example 1 (Stack Overflow) does not respond to questions-active but 155 (all sites) does.
 
Sam
10:29 AM
Oh wait
@Gothdo Sorry, for some reason I thought you wanted to listen on a per question basis. lol
@Gothdo Which endpoint are you connecting to?
 
@Sam ws://qa.sockets.stackexchange.com/
 
Sam
k
 
Are there any other endpoints?
 
Sam
Besides chat, not that I know of.
Oh, now that you're here. Can I ask you to kick Tuna?
Actually
 
There is ws://sockets.ny.stackexchange.com but I guess it's the same.
 
Sam
10:34 AM
Kick me.
@Tuna if you run this in your console:
$.post('/chats/111347/events', {
            since: 0,
            mode: 'Events',
            msgCount: 1,
            fkey: fkey().fkey
        }).success(function (eve) {
            console.log(eve.time);
            // call ws-auth to get the websocket url
            $.post('/ws-auth', { roomid: 111347, fkey: fkey().fkey }).success(function (au) {
                console.log(au);
                // start the webscoket
                var ws = new WebSocket(au.url + '?l=' + eve.time.toString());
 
on it
arf, you were kicked before I started it...
 
Sam
Interesting
> You are currently banned from participating in this room.
The page reloaded. But didn't show me the usual kicked page.
 
hmm
 
Sam
Only after manually refreshing did I get redirected to the normal page.
Anyway, we all have 2 kicks each before a mod's notified.
wonders if @Tha is still lurking
 
@Gothdo you're next :p
 
10:38 AM
@Sam I'm always lurking ;)
 
Sam
:)
 
Do you have a minute? :D
 
Sure
 
Sam
Who's gonna kick who?
(I'm trying to see if an RO gets a different event when someone gets kicked.)
 
10:41 AM
I'm kicking @Thaillie
 
Sam
ok
 
		"e": [{
			"event_type": 15,
			"time_stamp": 1463222476,
			"content": "priv 1627 created",
			"id": 62471257,
			"user_id": 1743880,
			"target_user_id": 4050842,
			"user_name": "Tunaki",
			"room_id": 111347,
			"room_name": "SOCVFinder"
		},
		{
			"event_type": 4,
			"time_stamp": 1463222476,
			"id": 62471258,
			"user_id": 4050842,
			"target_user_id": 4050842,
			"user_name": "Thaillie",
			"room_id": 111347,
			"room_name": "SOCVFinder"
		}],
 
Sam
[{
	"event_type": 15,
	"time_stamp": 1463222476,
	"content": "priv 1627 created",
	"id": 62471257,
	"user_id": 1743880,
	"target_user_id": 4050842,
	"user_name": "Tunaki",
	"room_id": 111347,
	"room_name": "SOCVFinder"
}, {
	"event_type": 4,
	"time_stamp": 1463222476,
	"id": 62471258,
	"user_id": 4050842,
	"target_user_id": 4050842,
	"user_name": "Thaillie",
	"room_id": 111347,
	"room_name": "SOCVFinder"
}, {
	"event_type": 16,
	"time_stamp": 1463222476,
	"content": "\u003ca href=\"/users/4050842/thaillie\"\u003eThaillie\u003c/a\u003e has been kicked from \u003ca href=\"/rooms/111347/socvfi
ev16
 
ooh
 
Sam
That's what I wanted xD
 
10:44 AM
So this is "user notification"
 
Sam
I guess so
I suppose it's also used for event reminders too
 
There must be others, that ^
 
Tunaki has added an event to this room's schedule.
 
let's see
event in 14 minutes :)
 
Sam
@Tha For your brave efforts, I award you:
 
10:48 AM
:D
 
xD
 
Hey
Event 11 "file added" wasn't fired
What the heck is that event then?
 
Sam
Did you read my comment on that event?
 
"content":"\u003cdiv class=\"onebox ob-image\"
 
Sam
{"event_type":14,"time_stamp":1463223020,"content":"An event is starting in 9 minutes in \u003ca href=\"/rooms/111347/socvfinder\"\u003eSOCVFinder\u003c/a\u003e - \u0026quot;blob blob blob\u0026quot;","id":62471460,"user_id":-2,"user_name":"Feeds","room_id":111347,"room_name":"SOCVFinder"}
ev14
 
10:50 AM
global notification
huh
 
Sam
Hmm
 
So here I thought I was going to bind event to their types
But it's more complicated than that, certain event are a combination of 2 types...
or only differ on the content of the event type...
 
Sam
Yep
And this is why I've only bothered to emulate a few of 'em.
 
Tunaki has removed an event from this room's schedule.
 
HUH and there's no special type for that?!
Sigh.
I like "user_id = -2" though...
talk about magic values
 
Sam
11:05 AM
wth
 
Tunaki has made a change to the feeds posted into this room
Tunaki has made a change to the feeds posted into this room
Tunaki has made a change to the feeds posted into this room
 
java is calm it seems
 
Sam has made a change to the feeds posted into this room
 
Sam
Give it a moment.
 
0
Q: FloatingActionButton in Fragment

FÉ™qan ÇÉ™lÉ™bizadÉ™I want to use FloatingActionButton in Fragment. But i get some errors. Think it because of fragment. How to solve this? Fragment xml <android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/swipe_refresh_layout" android:la...

0
Q: How to run selenium webdriver test cases from command line without testng/maven

SowmyaI am writing test cases using selenium webdriver. WebDriver driver = new FirefoxDriver(); driver.get("www.google.com");// Maximize the window. driver.manage().window().maximize(); driver.quit(); Now I want to run these test from command line and create a batch file. I am nt using any testng o...

0
Q: I'm trying to load huge (30k lines) JSON data into Android application, it's loading only 200 lines. How can I load total JSON response?

Ravi TejaI'm using Volley lib, getting huge JSON data from server. It's loading but partially loading. Please guide me. Main Activity public class MainActivity extends ActionBarActivity implements UserManager.UserManagerListener { private static final String TAG = MainActivity.class.getSimpleName(); ...

0
Q: Java client for a RESTful service sometimes missing data

userit1985I wrote a client for a RESTfull service in gson. When I send lots of calls asynchronous , the result sometimes is missing data. When I send 500 calls , It works fine. Do you think I need to add a Sleep between each call? Thank

0
Q: Empty constructor in String class

Thrash AbaddonSo I was reading String class when i stumbled on one confusing constructor. The code goes like this public final class String implements java.io.Serializable, Comparable<String>, CharSequence { /** The value is used for character storage. */ private final char value[]; /** Init...

 
Sam
11:16 AM
There we go
 
Tunaki has stopped a feed from being posted into this room
 
lol
 
Sam
Wrong one lol
 
wrong line :)
 
Sam
Ugh
 
11:18 AM
so it's a one-box and there's no way to tell, nice
 
Sam
They're all too freakin' big
Too lazy to post a gist
 
{
	"event_type": 1,
	"time_stamp": 1463224570,
	"content": "\u003cdiv class=\"onebox ob-xkcd\"\u003e\u003ca rel=\"nofollow\" href=\"https://xkcd.com/1680\"\u003e\u003cimg src=\"http://imgs.xkcd.com/comics/black_hole.png\" title=\"It also brings all the boys, and everything else, to the yard.\" alt=\"It also brings all the boys, and everything else, to the yard.\" /\u003e\u003c/a\u003e\u003c/div\u003e",
	"id": 62472170,
	"user_id": -2,
	"user_name": "Feeds",
	"room_id": 111347,
	"room_name": "SOCVFinder",
"user_name": "Feeds"
 
Sam
I'd go with the ID, rather than name comparison.
 
-2 is used for everything system-wise apparently
It was also -2 when the user was "StackExchange" for adding/removing scheduled events
 
Sam
Not everything :)
There's: -1, -2, -3, etc. And then there's -53 and -171 on chat.meta.se
Plus a few more.
 
11:23 AM
...
The idea is pretty much that you shouldn't listen to chat events...
 
Sam
:)
And here we are.
With Closey, etc.
 
Sam
11:35 AM
Hiya @Petter
 
HIya whats up
 
Sorry Petter, we made a mess :D
testing things
 
Sam
Nothing much, we were playing with chat
 
I'm checking :D, yesterday I implement some filter... seems to work nice
 
Sam
What filter?
 
11:37 AM
For cherry picking cv count, question count ecc.
 
Sam
Ohhh ok
Nice :D
 
Hey
Can you kick yourself by POSTing the right data?
 
We are closing in on the database, I will have try to speak to Drew again to understand if he like to use his database (make it public) or if I should feed to amazon rds
 
Sam
@Tunaki They've probably added a guard against that server-side.
 
This is too tempting
I must test
 
Sam
11:39 AM
They do that with a few things.
xD
 
I'll try to kick myself
 
Sam
Have fun
 
> {"message":"Really, you want to kick yourself? I suggest a long walk instead."}
They thought of it :(
 
lol
@que 10 [java] =4cv nr
 
@PetterFriberg Serving you java batch 49
 
11:46 AM
@que [java] =4cv
 
@PetterFriberg Serving you java batch 94
 
@que [java] >2cv >0s
 
@PetterFriberg Serving you java batch 53
 
seems that it works :D
and then there is this command that maybe we should not implement
@que [java] cr
 
@PetterFriberg Serving you java batch 91
 
11:50 AM
what does it do
is_click_roomba?
 
something really bad :D, just parse the json in your brain and you will get it
 
That's what I gathered from the name yeah
 
I will not document this and then we need to discuss if to remove it
@Sam how is the parsing going?
 
He's still trying to make C# work. Poor guy...
 
Did we not manage to get a JRE installed?
 
Sam
11:57 AM
Sorry, was busy typing up a comment.
 
Sam
@Tunaki FYI I've been busy upgrading 5 different projects. :p
 
Yeah you copy-pasted the same line of code on projects Closey1 to Closey5 right?
:D
 
Sam
...
 
..
 
Sam
12:05 PM
.
 
@que help
 
This is a chat bot to notify about possibile duplicates and cherry pick questions to review. Follow links for commands and more information
 
@que 5 [php] [css] >2cv
 
@PetterFriberg Serving you php;css batch 35
 
12:20 PM
@que 10 [python] =3cv <=0s nr
 
@PetterFriberg Serving you python batch 57
 
@queen that's really nice
 
Thanks honey
 
12:56 PM
@que fly
 
1:15 PM
@que alive
 
Sure thing buzzing around
 
Ok are you read to move around on date in api?
@Que say Yes
 
Yes
 
Perfect lets try
@que [java] 2d
hmm, lets put a break point
 
lol
 
1:17 PM
@que Say Please do
 
Please do
 
@que [java] 3d
aah ok..a nullpointer, I better ask this on SO
@que [java] 3d
 
@PetterFriberg Opps an error has occured check the logs
 
Thanks I will
That did not fix it...
@que [java] 3d
 
@PetterFriberg Opps an error has occured check the logs
 
1:25 PM
@PetterFriberg yes please do I have 50 votes left :D
 
@que [java] dupes
 
@PetterFriberg Use you mjolnir wisely batch 47
 
@que Tell Tunaki There you go!
 
@Tunaki There you go!
 
:D
 
1:26 PM
just parse the json as we are used to
 
sure, easy peasy
 
@que [java] 2d
 
@PetterFriberg Opps an error has occured check the logs
 
Ok, I found it maybe I should divied ms with 1K instead of multipling
 
Petter concentrate plz!
 
1:31 PM
@que [java] 3d
 
Sam
@Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que Say @Que
 
@PetterFriberg Serving you java batch 30
 
lol
you like to break stuff, but she is a good girl and obeys
 
Sam
Hmm
 
@que remove
 
Sam
1:32 PM
@Que say :30541174 say :30541174 say
 
@queen say :30541174 say
@queen say
 
Sam
@Que say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
 
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
 
Sam
>:D
 
1:33 PM
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
 
Sam
@Que say :30541121 say :30541121 say :30541121 say :30541121 say :30541121 :D
 
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
 
Sam
lol
 
@Tunaki say :30541121 say :30541121 say :30541121 say :30541121 :D
 
@que Tell Sam Stop messing around and parse some json
 
1:34 PM
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
@Sam Stop messing around and parse some json
 
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
 
Sam
:D
 
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
 
haha
 
1:35 PM
LOL
 
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
 
Oh I know
 
She is the best...
 
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
@queen say :30541174 say :30541174 say :30541174 say :30541174 say :30541174 test
@queen say :30541174 say :30541174 say :30541174 say :30541174 test
@queen say :30541174 say :30541174 say :30541174 test
 
At least the throttling was tested
 
1:36 PM
@queen say :30541174 say :30541174 test
@queen say :30541174 test
 
She is just beeing a good girl
 
Sam
Ohhhh I know :D
 
we can make an infinite loop from that
Yes yes we can.
 
@que Tell Sam Please no...
 
1:37 PM
@Sam Please no...
 
Sam is already doing it
It is too tempting.
 
Lest see :D
 
Sam
@Tunaki I don't see how we could.
You can't ping yourself.
 
@que Tell Tuna please let me loop
 
@Tuna please let me loop
 
Sam
1:39 PM
@que say :30541249 say :30541249 say :30541249 say :30541249 say :30541249 say :30541249 @Pet @Sam @Tha Tuna rocks.
 
@Tunaki say :30541249 say :30541249 say :30541249 say :30541249 say :30541249 @Pet @Sam @Tha Tuna rocks.
 
Sam
Whoops, wrong id
@Que say :30541322 say :30541322 say :30541322 say :30541322 say :30541322 @Pet @Sam @Tha Tuna rocks.
 
@queen say :30541322 say :30541322 say :30541322 say :30541322 @Pet @Sam @Tha Tuna rocks.
@queen say :30541322 say :30541322 say :30541322 @Pet @Sam @Tha Tuna rocks.
 
@Queen say :30541327
 
1:40 PM
 
Sam
xD
 
@queen say :30541322 say :30541322 @Pet @Sam @Tha Tuna rocks.
 
:30541327
@queen say :30541322 @Pet @Sam @Tha Tuna rocks.
 
@que Tell Tuna taht did not work
 
1:40 PM
@queen @Pet @Sam @Tha Tuna rocks.
@Tuna taht did not work
 
Sam
Eh, I'm procrastinating xD
 
@queen He?, I guess POB?
@queen Na, that seems strange
@queen He?, I guess POB?
 
there we go
 
@queen Na, that seems strange
 
This is infinitive loop
 
1:41 PM
@queen Please clarify your question
 
@queen What are you trying to tell me honey?
@me honey?
 
She is getting confused
 
Sam
LOL
 
haha
 
Sam
1:42 PM
So I did loop it
Well that was unexpected
 
yeah beacuse she did not understand last command and then replay to her self
 
Sam
lol
 
@Queen say :30541370 Loop
 
but she exit as well
 
@queen Loop
@queen What are you trying to tell me honey?
@me honey?
 
1:43 PM
Arf
:)
 
luckely one of the message will stop the loop
that was all planned :D
 
of course :D
 
Sam
Eh, I better get back to codingz.
 
Yeah I'm getting tired fo parsing json :P
 
Sam
Sigh
I told ya I'm still optimising the servers.
They've too slow to be of any use to anyone atm.
 
1:56 PM
@Sam Is it hardware or software related that they are slow?
 
Sam
@Thaillie Software.
The hardware's fine.
Trying to juggle two custom servers on the same port ain't fun.
 
I'm out for awhile cya later
 
Sam
Cya
 
@que die
 
Bye bye
 
2:15 PM
blob
 
Sam
?
 
don't mind the Tuna, it is missing coffee
 
Sam
kk
 
Sam
2:32 PM
KJGHKHSDJDFKJHGFDKHSFGD
I think now would be a good time to take a break.
 
@Sam break
I'm giving you one ^
 
Sam
:)
 
 
1 hour later…
3:40 PM
blob
 
08:00 - 16:0016:00 - 00:00

« first day (5 days earlier)      last day (2915 days later) »