« first day (683 days earlier)      last day (3008 days later) » 
00:00 - 18:0018:00 - 00:00

6:00 PM
@ProgramFOX . . . and died.
RIP @Pro
 
@ClemensHimmer Uhm, no.
 
6:22 PM
@ProgramFOX 99% is just cacao...
 
nope, it has 1% not-cacao
 
Dust.
 
Yeah, chemical stuff to make it solid somehow, @IͶΔ might know how exactly :D
 
Gelatininininininining agent?
Maybe.
I don't think it's gotta be 1% though.
 
OMG @Pro is right
I didn't think it really exists...
 
6:24 PM
that's exactly the thing I tried
 
. . . and died.
 
lol, don't think many do it
What about dark chocolate with mint, @Pro?
That's my wife's fav
 
Hmm, mint is not really my favorite thing.
 
Mint is only nice for me when it's the only thing I eat.
 
@ClemensHimmer It is a 404 only if for GET requests (yeah I know, that's stupid of SE). Again, how are you calling it and what's your config? :P
 
6:34 PM
@IͶΔ you mean like a gum?
@ProgramFOX hmm... orange flavored chocolate?
 
@ShadowWizard Yeah. When there's not supposed to be any other tastes in what I'm eating.
 
6:47 PM
@AwalGarg well it's in the code you gave me on attemptWebSocketAuthentication()
return request({
	method: 'POST',
	uri: `chat.${site}/ws-auth`,
	form: {
		roomid: String(locker.startWithRoom),
		fkey: keys.chatFkey,
	},
	headers: {
		'X-Requested-With': 'XMLHttpRequest',
	},
});
 
@ClemensHimmer the module itself, I meant. How are you using it?
 
var locker = {
    email: config.username,
    password: config.password,
    startWithRoom: '721'
};

selogin('meta.stackexchange.com', locker)
copied it from your example.js :P
 
@ClemensHimmer that should work correctly indeed. I just tried it locally and it works fine :/ can you clone that gist locally, edit the example.js file to add your credentials and room number, and run it as node example.js?
 
@AwalGarg did exactly that :S gonna copy the git project i guess?
 
gist.github.com/awalGarg/1f63fc4a510b956c86fd this is how it goes on for me
@ClemensHimmer Can you publish the logs like that? ^
(and remove stuff I put "redacted" at since that's confidential and all)
 
6:58 PM
D:\NodeProjects\SEChatBot>node main
Login page loaded!
loginFkey:REDACTED
Server replied with status "200" on login request. (302 is fine.)
Got chat homepage
chatFkey:REDACTED
Getting events list!
Got event list!
Got response from chat ws-auth!: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//E
N" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>



<link rel="stylesheet" href="//cdn-chat.sstatic.net/chat/css/chat.meta.stack
exchange.com.css?v=7b960fc12109">
<link rel="shortcut icon" href="http://cdn.sstatic.net/stackexchangemeta/img
manually requesting ws-auth is working as well, and i don't see why that would 404 either :S
 
@ShadowWizard Definitely not bad, but I still prefer dark :)
 
@ClemensHimmer you have an issue with your credentials. How do you normally login to chat?
If it is oauth... I am sorry I didn't implement that yet :P
 
wait lemme do it with my main account..
 
@ClemensHimmer the server replied with status part should not return 200, it should be 302
that is where it is failing. You aren't authed in chat, so websocket authentication obviously fails
 
@ProgramFOX so dark chocolate with orange flavor? ;)
 
7:02 PM
@Awal doesn't work with this one either, this one is with chrome auth the other one with email
 
heh
 
@ClemensHimmer what's "chrome auth"?
 
@Pro ^
 
cool!
 
@AwalGarg aaah google account, silly me
 
7:03 PM
exactly, oauth :P
 
@Clem you must have SE OpenID afaik
(for the bot)
@ProgramFOX finally I know what you love to eat... cool!
 
lol
 
@ShadowWizard how? i'm really confused now tbh :/
 
TBH I did try adding oauth support but it was too complicated and I didn't use it myself so I just went with SE logins :P
 
@ClemensHimmer not sure why, just think I saw it mentioned once
Otherwise you need some additional step
 
7:06 PM
@Sha i can log in to openid manually, does that mean i got it? :S
 
@Pro what OpenID Smokey and @FOX have?
 
You don't necessarily need to use SE OpenID for bots, I think. But most (all?) existing SE chatbot frameworks only support SE OpenID at the moment.
 
@ProgramFOX so... kind of must, no? :)
 
oh so I am not the only one! :)
 
Unless @Clem wants to do everything from scratch...
 
7:06 PM
@ShadowWizard SE OpenID. ChatExchange only supports that at the moment. Also I don't see a reason to use an external service to log in to SE.
 
@Awal what is the requierement then? :S
 
@ShadowWizard not if he creates a new framework
 
seriously i feel like the little idiot from 5 years ago, i have no clue what i am doing anymore tbh
 
@ProgramFOX Lots of work, re-inventing the wheel...
 
@ClemensHimmer what @ProgramFOX said applies to my module too. I don't support OAuth :-P
 
7:07 PM
@Awal well then, what do i need to do with my account to make the bot work? ^^
 
@ClemensHimmer create new account?
 
@ClemensHimmer create a new email address. create a new StackExchange account with it (and not signup with OAuth). Earn 20 rep. magic
 
@ShadowWizard okay okay moment..
 
I think you can also just add a new login to your existing account so you won't have to earn 20 rep
 
??
okay i just logged in via stack exchange
so bot should work :S
 
7:10 PM
Oh, do we finally get to see @Clem's bot?
BTW @Clem please make your bot different.
 
MAR we can discuss that later, first i gotta lose my headache about @Awal 's API i cannot wrap my head around :(
 
It should do something special that FOXy, Moosebot, Unibot and NBot don't do. Just saying.
 
@ClemensHimmer you just need an SE OpenID account with 20 rep on whatever network you wanna join :/
what is "MAR"?
 
MAR is @IͶΔ :)
 
@AwalGarg Henicosaphosphide, I tell ya!
 
7:16 PM
@Awal ok i got the account but how do i get a OpenID, i have the option to add it
 
10 mins ago, by Awal Garg
@ClemensHimmer create a new email address. create a new StackExchange account with it (and not signup with OAuth). Earn 20 rep. magic
 
okay now the 20 rep.. how to?
BAM bot's in!
but no rep to do anything
 
@ClemensHimmer so it finally worked? :)
 
@ClemensHimmer Name?
 
7:27 PM
@Mooseman The Ben Deast.
 
yes got it @Awal :)
 
/me tries to grant write access
> Users must have at least 20 reputation to talk
Oh.
 
/me...like from minecraft or skype :D
 
I think mods can do that
 
@Mooseman Honestly I have no idea what the use of granting access is.
 
7:29 PM
@IͶΔ Neither do I now lol
@PDKnight /me is for the cool
 
I see
 
@Sha can you give the bot permission to talk? just for a test message
 
I like \me more, since it's like a TeX command.
It's so lax.
 
Ask balpha or tim to give write access to your bot :P
 
@ClemensHimmer RO's can't do anything.
 
7:30 PM
@IͶΔ kk, off to rep farming?
imma just play grammar nazi :D
 
Works.
 
I also have a bot meta.stackexchange.com/users/317935/jarvis. He got good enough rep on Stack Overflow and Stack Exchange but not Meta Stack Exchange :(
 
Just wait for the next downvote whiner CC @Clem @Awal.
 
@IͶΔ well i got the anaswer accepted, so fuck you idiot newbie JS dude :)))
 
No, I meant that just wait for the next person to come to meta.SE with a question title as "Why the downvotes?" or "Does everyone here agree that downvotes are <insert cool adjective here meaning 'stupid'>?"
 
7:36 PM
I don't really care about meta.se :P just happy I have a usable alt account on Stack Overflow though :D
 
@IͶΔ hmm okay easy to get some rep there? standard response for that or so?
 
@ClemensHimmer Just look at some of the recent ones! Lemme find something I wrote on meta.chem.
-6
Q: Reasoning or commenting before downvoting

JM97Would it be better if we make necessary for a member to comment/reason along with downvoting?

 
@IͶΔ imma just rewrite that and go on a hunt tomorrow :)
gtg now, wow raid time :D
 
bye :)
 
7:58 PM
0
Q: "New User Restirictions" documentation slightly wrong

The Den BeastReferring to this question, i have the concern that the documentation of new user restrictions are not detailed enough/ slightly wrong. According to the priviledge docs: New users cannot post more than two hyperlinks at a time, either in a post or their user profile This is correct for pos...

boy can you upvote this one? :P rep and stuff
had a bit of time and i wanna get dat rep ;)
 
done
 
@IͶΔ you are the grammar nazi :(
 
@ClemensHimmer Or maybe I wanted the post to look better so it'd get more upvotes.
 
@IͶΔ i'm not saying that's a bad thing tho :)
 
8:42 PM
@Clem 21 rep now! \o/
 
@Awal where do i get the room to use sendMessage? not quite sure as it is in Client but as protoype function. don't really understand how your architecture works :)
@IͶΔ yay :D
 
No associated word found for yay.
 
9:05 PM
@ClemensHimmer messages aren't sent via the socket. actually you never send anything via the socket - you do ugly post requests :/
 
@AwalGarg yeah i know, but how do you get the room object? you just require it?
 
@ClemensHimmer that is a separate concern. so the sechatapi submodule in the git repo has that: github.com/awalGarg/sochatbot/blob/master/sechatapi/…
but that was a WIP IIRC
 
9:28 PM
@Awal i really have no idea what's going on in your code :D all those references to other .js files and all.. i just hope i can get this to work somehow lol :D
 
9:53 PM
@IͶΔ but now you have two... why not The Den Beast 2.0 or Den Beast II? ;D
 
@ShadowWizard why did you ping MAR? :D
 
haha, oops, thought it was you replying to @Awal
@ClemensHimmer looks like pure screen scraping, no API being used, even not unofficial :)
 
the project ist just split up so wide i have no idea where what is anymore
 
@ClemensHimmer no can do, only diamond moderator can give <20 rep user ability to chat, that's what they did with Smokey
See here under "Explicit write access"
 
@ShadowWizard well already got the rep anyways, just gotta figure the send method out..
 
9:59 PM
@ClemensHimmer yeah... and tried now to give it here in Den to 1 rep user, it says "Users must have at least 20 reputation to talk" when I do it. :/
Good luck with the code!
 
@ShadowWizard MAR said RO can do nothing, only mods :)
and thanks :D
 
@ClemensHimmer RO can assign other RO's and make a room Gallery, giving access only to selected users.
But not <20 rep users.
The Den was a Gallery for a short while, think it lasted week or so
Dunno if @MAR was here back then
 
yaasssss i think i got what i wanted moment pls
testmsg
hi
 
hi bot
Where's @Clem?
 
bot is not alive :(
 
10:07 PM
Oh @Clem just do yourself a favor and do not, under any circumstances, add an "eval" command. @Uni will always find a way to crash the bot with it. :D
 
oh god i'd NEVER do eval
 
@TheDenBeast but you're a bot! :P
 
hmm i'm getting a wrong fkey, probably fucked up with sessions or so XD
@Awal i guess this is legit? ^ can i terminate the sockets or something? i have no bot running and logged out manually, still in chat ^^
 
hello
 
priviet
 
10:12 PM
:)
 
kak dila?
 
dobro :D
:3
 
dobro utro ! mini savut clemens
or something
 
:))
 
idk
i fear i really opened too many sockets for the bot XD
 
10:14 PM
Good morning, my name is clemens
Dobro jutro, moje ime je clemens
(on serbian) :D
lol
 
i tryied ruskii
 
i know a litle bit :D
@clem if there a way to toggle class on scroll and remove it when stop scrolling?
with js
 
i guess so, gimme a moment
 
ok
 
yes it is, you can bind on the scroll event and add a class, but i'd throttle it :)
 
10:19 PM
$(document).scroll(function(){
    $('.box').toggleClass('red')
})
oh, ok
 
$(document).scroll(function(){
  if($('.box').hasClass('red') == false){
    $('.box').addClass('red');
  }
})
but you'll need a on scroll end thingy.. also a throttle for performance
it's too late to think about the no-scroll thingy tho :S
your code basically just toggles the class on each scroll. what do you want to do actually?
 
yea
i want to toggle class while scrolling and remove it when stop scrolling
to toggle class only when scroll
 
basically as long as you are scrolling you want to have the class and if you no longer scroll you want it to be removed?
 
yes
 
okay not sure if that's the best or even a good solution, but works somehow:
$(document).scroll(function () {
    if ($('#hure').hasClass('mine') == false) {
        $('#hure').addClass('mine');
        setTimeout(function () {
            if ($('#hure').hasClass('mine') == true) {
                $('#hure').removeClass('mine');
            }
        }, 500)
    }
})
var toggleClass = "we";
var toggleElement = $('#hure');

$(document).scroll(function () {
    if (toggleElement.hasClass(toggleClass) == false) {
        toggleElement.addClass(toggleClass);
        setTimeout(function () {
            if (toggleElement.hasClass(toggleClass) == true) {
                toggleElement.removeClass(toggleClass);
            }
        }, 500)
    }
})
was too slow to edit the above..
bascially what it does is, it activated the class everytime you scroll and removes it half a second later (500 on setTimeout, you might want to make this higher 1-2 secs maybe) it removes the class again and simulates a on scroll end function, since i found no real event i guess this should do
@Awal i get different fkeys, cookies when i login wia your core than when i manually log in with the bot :S i'm lost :/
 
10:43 PM
@clem thankssss :DDD
 
@NiKoLaPrO i am no clam :o
but np ^^
 
oh xD
@clemens.. :D
:)
 
@NiKoLaPrO that does not ping me either :D you tested the code btw? oooooh and btw you should still put a 100 ms or something throttle in the scroll function :) had some real perfeormance issues with it as it fires A LOT. not sure if it happens with the jquery scroll tho tbh
 
code works perfectly :3
 
jQuery already has reasonable throttling no worries :)
 
10:48 PM
:)
 
@NiKoLaPrO sweeterinio :D
@FOX9000 !delete!
 
:D
>>define jquery
 
@NiKoLaPrO No entries found for that word.
 
noooooooooooooooo
>>define javascript
 
@NiKoLaPrO No entries found for that word.
 
10:51 PM
>>define html
 
@NiKoLaPrO No entries found for that word.
 
>>define word
 
Definition from Merriam-Webster:
1. noun
- something that is said
- a brief remark or conversation
- a speech sound or series of speech sounds that symbolizes and communicates a meaning without being divisible into smaller units capable of independent use
- a written or printed character or combination of characters representing a spoken word
- a combination of electrical or magnetic impulses conveying a unit of information in communication and computer work
- the expressed or manifested mind and will of God
 
>>define cat
 
Definition from Merriam-Webster:
1. noun
- a small flesh-eating mammal long domesticated and kept by humans as a pet or for catching rats and mice
- an animal (as a lion, tiger, leopard, jaguar, cougar, wildcat, lynx, or cheetah) of the same family as the domestic cat
1. abbreviation
- atalog
 
10:54 PM
gn8 @niko i'm off to sleep :) bb
 
kk gn8 :)
have a nice dreams
 
11:09 PM
+define cat
+define cat
+listcommands
oh
+define cat
+test
finally
+define cat
oh no
 
:(
 
look at this
+define
Cross-Origin захтев је блокиран: Полиса истог порекла не дозвољава да читате ресурсе са удаљеног рачунара urbandictionary.com/…. (Разлог: Недостаје CORS заглавње 'Access-Control-Allow-Origin').
on serbian...
missing CORS
>>define cat
 
Definition from Merriam-Webster:
1. noun
- a small flesh-eating mammal long domesticated and kept by humans as a pet or for catching rats and mice
- an animal (as a lion, tiger, leopard, jaguar, cougar, wildcat, lynx, or cheetah) of the same family as the domestic cat
1. abbreviation
- atalog
 
11:25 PM
+define cat
Dear @ProgramFOX, i am trying to create a +define command but i still getting the same error message.
Cross-Origin захтев је блокиран: Полиса истог порекла не дозвољава да читате ресурсе са удаљеног рачунара http://www.merriam-webster.com/dictionary/cat?_=1456269911893. (Разлог: Недостаје CORS заглавње 'Access-Control-Allow-Origin').
*Missing CORS...*

I really don't know what is the problem beacuse i never worked with CORS or smomething like that before.

Here is my +define command code:
 
11:46 PM
You should send on failure too...
 
what do u mean
how pro did that?
 
@NiKoLaPrO you have a .success you need a .fail too
 
oh, ok
oh
oh, ok
 
oh
 
lol
 
11:50 PM
oh, ok
oh
oh, ok
 
i got error ни један елеменат није пронађен
lol
@moose .fail?
.fail(function(){
    send('Error');
})
like that?
 
Exactly
 
ok
 
This way you'll get feedback for a failed ajax request
Is this your first function with an ajax request?
 
+define cat
Error occurred.
@Mooseman yes
there is 4 commands with $.get
 
11:55 PM
@NiKoLaPrO And those are working?
 
catLang, pirateLang, cowSay
yes
+cowSay yes
  ___
< yes >
  ---
         \   ^__^
          \  (oo)\_______
             (__)\       )\/\
                 ||----w |
                 ||     ||
+cowSay same way...
  ___________
< same way... >
  -----------
         \   ^__^
          \  (oo)\_______
             (__)\       )\/\
                 ||----w |
                 ||     ||
pirateLang: function (id, args) {
        args = args || '';
        if (!args.trim()) args = 'Nothing to say on pirate lang???';
        if (!!localStorage.pirateLang[args]) {
            send(':' + id + ' ' + localStorage.pirateLang[args]);
        } else
            $.get('http://allow-any-origin.appspot.com/isithackday.com/arrpi.php?text='; + encodeURI(args)).success(function (data) {
                var translated = new DOMParser().parseFromString(data, 'text/html').querySelector("body").textContent;
this is pirateLang command
 
+pirateLang Pizza pie for me
 
@Mooseman Pizza pie for me
define: function(id, args) {
        args = args || '';
        if (!args.trim()) args = 'Please enter word first.';
        if (!!localStorage.define[args]) {
            send(':' + id + ' ' + localStorage.define[args]);
        } else
            $.get('http://www.merriam-webster.com/dictionary/' + encodeURI(args)).success(function (data) {
                var translated = new DOMParser().parseFromString(data, 'text/html').querySelector(".inner-box-wrapper").eq(1).text();
                send(':' + id + '\n' + translated);
this is +define
 
+define pizza
 
Error occurred.
 
11:59 PM
Are you running in Chrome?
The console should help you out
 
00:00 - 18:0018:00 - 00:00

« first day (683 days earlier)      last day (3008 days later) »