« first day (1 day earlier)      last day (2914 days later) » 
10:00 - 19:0019:00 - 23:00

7:00 PM
but this I can fix... who cares about json
THe link it returns is interesting : ) view-source:reports.socvr.org/socv-finder/1462906736
 
Sam
7:14 PM
@PetterFriberg wat
btw, http://reports.socvr.org/1462906736 works as well
I don't know why it's not displaying the JSON
What did you send?
 
Sam
7:27 PM
Ah, I've found the issue
 
Sam
7:38 PM
Fixed.
 
@Sam sorry cooking and eating with the children, hmm it was better before now I got 500 again : (, before I had the link (even if not json format its ok
 
Sam
Huh
ugh
Fix one thing, break another
 
lol, that's what we live for....
 
Sam
Is the jar up to date?
Or do I need to recompile it?
 
Wait, first tell me if you like to respond with json or not
Then I can comiple the jar and push it
 
Sam
7:48 PM
Well it's just a url, so I'll probably just send back plain text (compressed).
And I got another 500
 
perfect give me 2 sec
 
Sam
k
One second, let me update the server.
Ok done
 
comited all
done : )
 
Sam
Thanks :)
 
just update remember you need to update the properties file I'm not commeting it
 
Sam
7:51 PM
sure
 
just set the REST_API
 
Sam
Have you pushed yet?
@PetterFriberg Already done.
 
The one time that it worked I had it like this 'http://reports.socvr.org/api/dump-report'
without the / at the end
The stream I'm sending shoud be gzipped a (GZIPOutputStream)
 
Sam
Right
 
if you like something else I can look into it...
 
Sam
7:54 PM
That should be fine
I've improved the server's logging, so I should be able to see what's happening if something goes wrong.
 
Wait that I push : )
 
Sam
> Please let me commit
lol
 
I'm getting really crazy with git, its not enough to commit :p you need some push then some pull hten push then a pull and finally a push
 
Sam
lol
You keep diverging
 
seems like when you try to have fun with women....
 
Sam
7:58 PM
lol
 
@Sam then let me do a pull, pull and a push : )
 
Sam
Before you commit, you should pull.
Ideally, you should pull before editing any code.
 
I think I will do a software that auto pull, push, pull , push!
 
Sam
xD
 
well with SVN even CVS it was more simple :D, but I start enjoining all the pushing and pulling
 
Sam
8:03 PM
Lol
Well I've never used SVN
 
only GIT?
 
Sam
Yeah
 
sourceforge use SVN and CVS
 
Sam
Never used sourceforge either xD
 
CVS was first it was a revolution, then SVN more advanced versioning and now we are pushing and pulling :D
 
Sam
8:05 PM
Yup lol
 
I have a project on sourceforge :D, really old java 1.4 but lots of fun
 
Sam
I can replicate the 500 btw
Afk for a few mins, I'll debug/fix it when I get back.
 
Does it work for you?
 
Sam
Nope
I still get a 500
Same as you
 
Check the log (its in log), then if error it should display in status bar under the button)
 
Sam
8:08 PM
ok
 
It worked for awhile (but the report still seemed gzipped)
 
Sam
java.io.IOException: Incorrect response code, HTTP error code : 500
It's something to do with my server
Anyway, afk
 
8:31 PM
i.stack.imgur.com/IF3Wo.png - Some push and some pull : D
 
Sam
Lol
Ok, let's fix this server
@Petter The request's body is empty.
Which is causing the server to 500.
 
which means?, I'm writing to it... will check
 
Sam
Maybe you're not flushing the stream?
 
8:46 PM
spam incoming, testing
 
Sam
wb Tuna
 
Blob blob blob
hmm
Blob blob blob
ah yes
 
Sam
Plop plop plop
 
duplicate messages...
 
Sam
Yep
 
8:48 PM
@Sam I'm flushing maybe I'm missing a push and pull
 
SPAM INCOMING
Blob blob blob 0
Blob blob blob 1
Blob blob blob 2
Blob blob blob 3
 
Sam
@PetterFriberg Which file/line is the flushing happening?
 
Blob blob blob 4
Blob blob blob 5
Blob blob blob 6
Blob blob blob 8
 
Blob blob blob 9
huh what happened to 7?
 
8:50 PM
but I will look into, I have never called a rest api like this before... :P
 
Sam
@PetterFriberg Have you checked output?
@PetterFriberg You only need to create a POST req.
 
Well I think I'm doing this, but I will check some..
 
all right I need to spam again, will do it in another room
 
Sam
Testing facility?
 
Np Tuna go ahead
I don't care...
I love spam
 
8:53 PM
lol
Blob blob blob 0
Blob blob blob 1
Blob blob blob 2
 
@Sam I will do some testing maybe I need to close the output stream before I get the input stream.
 
Blob blob blob 3
Blob blob blob 4
Blob blob blob 5
Blob blob blob 6
Blob blob blob 7
Blob blob blob 8
 
Sam
@PetterFriberg Have you checked that you actually have data to send?
 
Blob blob blob 9
ALL RIGHT
I changed nothing though.
 
@Sam That is is to do (will log), but I think I do... there is something else..
 
Sam
8:57 PM
Ok
 
Yeah I needed to close the output stream before moving on to reponse message all ok now, thanks for debugging your side
 
Sam
np
 
I will push and pull some and you can see : )
 
Sam
:)
 
ITS WORKING SAM IS OR MAN!!!
You can pull and push some and test it :D
 
Sam
9:03 PM
:D
Ok
 
Now I will integrate in the CherryPicker for Tuna
 
spamming multiple rooms concurrently now
 
Sam
\o/
 
Blob blob blob 0
Blob blob blob 2
Blob blob blob 4
Blob blob blob 6
Blob blob blob 8
\o/
a question now though
is it necessary to throttle each HTTP calls made to multiple rooms.... or can it be done in parallel
 
Sam
I... used to know.
Uh.
I guess it should be simple enough to figure out.
 
9:12 PM
SPAM ALL TEH THINGZ
 
lol, I have pulled and pushed @Tuna now you find a getBatchUrl in the CherryPick result, just pull and push and you can spam us with a link
The BotCommands also have a new Constructor theoretically you can choose how many api calls and if to use restApi, but don't worry for now default constructor is ok, you can lower the throttle in properties to 300 probably...
 
Sam
afk
 
and REST_API=http://reports.socvr.org/api/dump-report
How did MOAKA.CluelessNewbie, enter chat with just 1 rep point : )
 
Blob blob blob 0
Blob blob blob 2
Blob blob blob 4
Blob blob blob 8
 
you are counting like someone else that I know...
 
9:26 PM
it appears that you can't do that @Sam
let me spam some more
Blob blob blob 0
Blob blob blob 2
Blob blob blob 4
Blob blob blob 6
Blob blob blob 8
Blob blob blob 12
Blob blob blob 16
 
In what other room are you spamming?
 
you won't be able to talk there
that's too bad really
:( you can't concurrently spam multiple rooms
 
its the same... :D, what time are you using as throttle?
 
10 seconds between each call to each room
and messages sent at practically the same time in separate rooms
@PetterFriberg yeah this room is even blob, the other the odd blob :)
 
10, 14 is missing...
 
9:33 PM
10 also
and 18
well
 
well a batched served every 10 seconds.... seems enough :P
but it could have sense to implement Sams formula...
Have you found out how to listen for commands?
 
i think but i'll have to get to that later this week
58
Q: How do the Stack Exchange WebSockets work? What are all the options you can send to them?

DoorknobThe Stack Exchange WebSockets are handy for various things (like handling spam). For example, try running this JavaScript in your browser's console: var w = new WebSocket("ws://qa.sockets.stackexchange.com/"); w.onmessage = function(e) { console.log(e) }; w.onopen = function() { w.s...

@Sam
this ------------------------v
45
A: How do the Stack Exchange WebSockets work? What are all the options you can send to them?

ManishearthWebsocket-endpoints (You can play with these on http://www.websocket.org/echo.html if you don't want to do it in JS) (wss://qa.sockets.stackexchange.com) <userid>-topbar: User topbar. <userid>-inbox: User inbox/achievements <siteid>-<userid>-reputation: User's rep on a site <siteid>-home-...

------------------------------^
or
this ------------------------v
11
A: How do the Stack Exchange WebSockets work? What are all the options you can send to them?

DoorknobThe chat websockets automatically close, for some reason. Manish or I haven't figured this out yet. However, there is another way to retrieve chat messages. Here are the chat event_types I've found so far: 1 | message posted 2 | message edited 3 | user joined 4 | user left 6 | message starr...

------------------------------^
?
I'm guessing the first, since that's live and second is polling
 
Sam
@Tunaki just look through the current libraries
Setting up the ws isn't too well documented
 
apparently yeah
I confirm though
10 mins ago, by Tunaki
:( you can't concurrently spam multiple rooms
 
Sam
Once you're connected, it's fairly straight forward though
@Tunaki ah k
 
9:45 PM
@Tuna if you have time try the new function, output the getBatchUrl()
 
Blob blob blob 0
Blob blob blob 2
Blob blob blob 2
 
Blob blob blob 2
Low throttle, I want exceptions to happen everywhere in my code
Blob blob blob 0
 
Yeah your log got filled : )
 
Blob blob blob 0
Blob blob blob 4
Blob blob blob 10
Blob blob blob 16
IT WORKS
yes don't ask me why or what
 
Waffle
I'm amazed that there is so little documentation on the websockets people are guessing and trying..
 
Sam
10:04 PM
Back
Oh, I never said afk lol
 
@Sam Closey is open source?
 
Sam
Yep
 
Ok I will search for it :D
 
THanks
 
Sam
10:06 PM
Np
 
@PetterFriberg Meh, I'll manage and buzz Sam now and then :)
@Sam is the chat fkey supposed to be secret?
(underlying question: can I log it?)
meh no
it's clear in the URL...
 
Sam
@Tunaki iirc no
It's nothing to do with auth
There was an SE question about it actually
 
oh?
 
Sam
Lemme have a look
6
Q: What is the fkey that's present on some pages and what does it do?

MohamadI am a bit reluctant to ask this question since it may appear sinister (or that it may belong to SO), but my curiosity has peaked: I'm wondering what the "fkey" does that gets sent with a new comment. I read here that using a token can help prevent some forms of session hijacking. I would like t...

 
> Requiring a secret [...]
okay, I won't log it then :D
 
Sam
10:17 PM
It can change over time btw
 
yes, I fetch it every hour
 
Sam
Ok
 
Where is this namespace ChatExchangeDotNet ?, is the Client in it?
 
Sam
It's a separate package
In a different repo
 
aah nice finally I'm find the interesting stuff :D
 
Sam
10:24 PM
:D
 
blargh
 
Sam
What's up?
 
Sam
Yours does a lot less :p
 
:(
 
Sam
10:28 PM
Ya still haven't got the websocket setup?
 
will take a look at that tomorrow
polished the code :p
 
Sam
k
 
oops nah I'm doing quick n dirty @Petter don't worry
:D
 
: ) , send some post, log some fkeys, close some sockets...
 
10:31 PM
all right
night o/
 
Sam
Cya o/
 
cya, I'm moving toward bed as well
 
Sam
Might as well do the same
o/
 
10:00 - 19:0019:00 - 23:00

« first day (1 day earlier)      last day (2914 days later) »