« first day (1124 days earlier)      last day (3810 days later) » 

4:21 AM
o/
 
wrong way ...
 
HEIL RLEMON
 
</thread>
 
4:27 AM
I'm afraid to read the transcript from earlier
 
loads of fun
 
I kinda want to do some data processing:
I want to get all of these messages, then I want to sort out the false positive search results (messages that aren't greeting a user for the first time), then I want to figure out how many of those users ended up actually posting a message
 
first refine the search to this: chat.stackexchange.com/…
 
the number of greetings will be a bit inflated as well, because I had to reset the bot's memory on several occasions as I moved from PhantomJS, to Firefox with a temporary in-memory profile, to Firefox with a persistent on-disk profile
 
second if you want to data mine I would do it in this room
there is a much larger number of greetings
 
4:29 AM
(long story; Selenium and stuff)
the search refinement definitely helps
if I figure out a way to data mine either room, I'll probably do it for both, just to see if there are any differences. 392 messages is enough to be a statistically significant population.
 
it probably won't end up being convincing data anyway, because a certain percentage of the users who were greeted never had any intention of typing a message regardless of whether they got pinged 0, 1, or 1000 times
 
first one recorded: Mar 29 10:19 PM
 
March 29th... that's a lot longer than ours has been up
 
and iirc the original system (maybe still does) ignores you if you have enough rep
so that is only users < X rep
 
4:34 AM
        var semiLegitUser = bot.isOwner( user.id ) ||
                user.reputation > 1000 || user.reputation < 20;

        if (
                Number( room ) !== 17 || semiLegitUser  || seen[ user.id ]
        ) {
                if ( semiLegitUser ) {
                        finish( true );
                }
                return;
        }

        IO.xhr({
                method : 'GET',
                url : '/users/' + user.id,

                complete : complete
        });
 
yea I see
damn i should have thought to just unregister the listener
ohh well
bot runs on a pc I don't have access to atm
 
ours does it differently, which may have been a mistake on my part, as I kind of ham-handedly coded up that method while I was customizing it for RA
 
the adapter code is kinda funky
 
if you've ever looked into the chats source it is really strange
 
4:36 AM
basically, I'm a retard and greeted everyone, not just low-rep users, if I saw them for the first time
 
we make the assumption that at 1k rep you've learned how to use the site
 
!!echo I'm Alive?
 
no
go away
;)
 
@rlemon Can you login to Caprica?
 
yes
but that won't help
 
4:37 AM
I just simply don't understand how someone could come in, see the chatbot and think anything other than "That thing is so fucking cool."
 
the pc she is logged in on will not log out
 
Oh
 
also, her memory on that pc will still have the listener
 
wtf?
 
8am EST it will be fixed
 
4:38 AM
 var semiLegitUser = bot.isOwner( user.id ) ||
                user.reputation > 1000 || user.reputation < 20;
 
my reasoning in coding that was, I wanted to provide a little extra help to users with insufficient rep to chat, and everyone else who's completely new to RA will get a faceful of help text regardless of their rep, because rep is generally a bad indicator of someone's familiarity with chat (you could have 50k rep and never ever visit chat)
 
what's all that about
 
@connor.js it doesn't greet owners, users with 1K rep+ or users without enough rep to chat
to prevent over greetings
 
@rlemon Ohh...
 
again which is why originally this has never been an issue before
 
4:39 AM
it also doesn't greet moderators, devs, or SE employees
 
they are all considered owners
 
Stupid scoping question: How can I execute a callback in the original context?
 
they can run any command, shut the bot down, ban users, mute users, etc.
 
@rlemon i was assuming anyone with 1k+ is semiLegit and anyone with 1k> && 20 < is legit
 
for any room the bot is in (original code ofc)
Zirak was very thoughtful when building the bot.
I mean seriously, hats off!
 
4:41 AM
@Zirak ping so you get the compliment
 
@rlemon we completely disabled the summon feature in RA, so that it could only ever exist in RA -- that also helped to limit its potential impact on the network, in terms of exposure, bandwidth, etc
 
@rlemon has zirak gone forever?
 
no
 
awwww
 
we also found a bug with summon that was bothering me, so yeah, I nuked it
 
4:41 AM
he will pop in and out
 
:(
lol
jk
 
@allquixotic bug?
 
@rlemon we were on PJS at the time, so that probably had something to do with it, but it would really wig out when it was in multiple rooms
 
@SomeKittens You got it right, the issue was elsewhere.
 
@allquixotic It's not going to handle anything DOM based very well, across multiple rooms
 
4:44 AM
long story short, I wrote a Selenium WebDriver / Java based launcher/driver for the chatbot that performs login by automating user actions (clicking and typing primarily) in the web browser, and then I automated PhantomJS using GhostDriver. Problem: PhantomJS's QtWebKit uses an ooooooooooooooooooooooooooooooooold JSCore, which doesn't even support ES5.
 
we're (and by we I mean SomeKittens and Octavian) are working on a node.js port
 
I found a way to get the bot to semi-work (but produce an errorEvent on things like !!eval) with shims and shams up the wazoo and a custom blob builder impl, and I'm sure the summon thing was related to that
I ended up ditching PhantomJS and keeping the Selenium WebDriver login, but using Firefox in Xvfb instead, which is effectively headless, just annoying to run an X server
but at least it has a modern JS engine and I could ditch my shams and hacks
 
yea I run the bot on FF now for the es5 stuff
damn code golfers would complain otherwise
 
it's stable on Firefox 24, so I'm running Firefox 24 ESR, which I think is up to 24.1.0 now
didn't want to move to FF25 because of the risk of breaking the WebDriver extension
 
in other news, those with webcams and codepen accounts give this some love ;) codepen.io/rlemon/details/fyphd
 
4:48 AM
running the whole thing including login on Node would be awesome, but I kinda like messing around with the browser's DOM automation stuff using WebDriver
 
anyways i've missed the entire beginning to this dr who episode
night everyone
 
cya
 
!!welcome
 
lol
that message is verboten Mr Shea
 
!!listcommands
 
4:51 AM
also that one
> f***im not allowed to say this word***able
 
SAY WELCOME AGAIN! I DARE YOU. I DOUBLE DARE YOU, FLUFFERNUTTER!
 
@SomeKittens Wel-- Ahhhh, stop! Stop! That's my eye! Dear God! Oh, the humanity!
 
Honestly, I have a hard time taking the whole thing seriously, after several hours of thinking about it.
 
Why do people get bothered about the bot greeting them?
 
@allquixotic :looks innocently cute:
 
4:56 AM
I consider the long-term consequences of it to be fairly serious, but the immediate issue of auto-greetings is not that critical. I've stopped caring about it. But what will stick with me are the "lessons learned" from it: I'm much more disillusioned about SE now, and much more eagerly on the lookout for good alternative communities to switch to.
 
Just change the greeting to "Fuck off"
Then it's sorted
 
@connor.js Also much more representative of this room.
 
@SomeKittens Yes, It's been the conversation of the day FFS
That's all people have been chatting about
 
@sTACKoVERFLOW Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Who gives a shit, it's your fault for keep leaving and coming back
 
4:58 AM
@connor.js It doesn't greet you if you leave and come back.
 
@allquixotic Well, what's the big F* problem then?
 
It greets each user exactly once, even if you leave and come back 50 times.
 
@AndrewJackson am here from last 6 months
 
@rlemon is @AndrewJackson bot?
 
Ummm
 
5:00 AM
Ummm
 
@connor.js The "big problem" is that someone at SE asked us to remove the auto-greeting feature. I did not read the extensive backlog in this chat (I primarily hang out on Root Access), so I don't know what SE said to you guys, but basically, the chatbot that I maintain was suspended, and I was informed that the suspension would be lifted if I removed the auto-greeter.
 
!!tell conner.js welcome
 
u r not the owner of this room@AndrewJackson
 
Then we spent the remainder of our work day trying to figure out why they chose to do that, and then once they gave us a half-answer, we spent the rest of our evening arguing on MSO about why we think they should let us keep it.
That's it in a nutshell, from a 10,000 foot view.
 
@allquixotic Well, if we all left stackoverflow they would be fucked and there company would crash so what's the problem with them. the community says what happens and that's the end of that
 
5:02 AM
@connor.js Apparently "the community" holds no sway when someone from SE says that something shall happen (with an implied "or else").
That has been my beef today, and not the particulars of the auto-greeter.
 
I broke build.js -_-
 
 
@allquixotic Whatever dipshit was so bored to even bring up the subject needs to be sorted out
people have nothing better to worry about?
 
!!tell connor.js welcome
 
@connor.js Fuck off.
 
5:04 AM
YAY
thanks
 
@connor.js Problem is, the regular chat users are a pretty tiny minority of the userbase, so even if every user in chat disappeared, the devs would just be happy about that; they wouldn't bat an eyelash. They'd love to save the disk space that chat continually eats up.
I mean, sure, they'd lose a few community mods on various sites that visit chat (SU's diamond moderators are almost exclusively Root Access regulars), but so what; they can hold new elections
 
@allquixotic It's still less people
and less answers
and less answers = less askers
and less askers = going down hill
and keep goin
and bam
you're gone
thank fuc*
Stackoverflow wont last forever
amazon caught up with ebay and stole a lot of their custom
it can happen
And if you're reading this
I think you need to get a life
yes
you
 
@connor.js No, nothing lasts forever, no human construction does. I never had any expectation that SO / SE would last forever. They may end up just shoving it all on tape in Iron Mountain for posterity and shutting the doors, but they'll probably end up doing that due to the failure of their profiteering efforts, not due to any community rebellion, no matter the size.
 
People just get too cocky when they're big
Can i get some more info on this restriction please, what was said and to who?
 
@connor.js read the log
 
5:14 AM
@connor.js Regarding the SU bot, which is really where this whole thing started, all the info you could need is in the question and accepted answer here -- that's part 1 -- the part 1.5, which involved a bunch of discussion between various SE folks and people in this chat, I'm not privy to, but you might be able to get some of that from the transcript of this room.
then part 2 is here
that's in chronological order of "parts" -- so the MSU question was first, followed by tons and tons of chat here, followed by part 2
the MSU question in turn was sparked by a chat ping on me that I logged into this morning when I got to my desk at work, from an SE community manager, which I explain in my question
 
@allquixotic Cheers
ok
i can agree with the fuckable command
 
!!summon 1
 
@connor.js Pretty much everyone agrees with that.
 
and i can agree with the bot doing it in other rooms
but not this one
 
5:18 AM
@AbhishekHingnikar It's gorgeous!
 
@Benjamin @FlorianMargaine @rlemon ... that thing is mostly done now and highly responsive ... i made most of it pure css :P , but it has private tabs and that kind of shit
@allquixotic without all the ladies it wont be
 
I don't think you should just dump a bot into another room, if that's what happened
 
@AbhishekHingnikar I meant the UI, silly. :)
 
oh thankx
 
Oh
i just seen the profile pic
no wonder
 
5:20 AM
@connor.js "What happened", over the long term, is that Zirak's chat bot became noticed by people in other rooms. We wanted a chat bot in Root Access. I set it up. I forked Zirak's bot very lightly and added some SuperUser flavor. Everything was hunky dory (except for a few technical problems) for the first 2-3 months. Then, out of nowhere, the bot was suspended.
 
@allquixotic Yeah, this is what you call "mega authority showdown"
lmao
im getting a cuppa
 
It turns out that the primary reason for the suspension and this whole issue was just the fact that it auto-greets users. Thus, the following are irrelevant (or very low importance) aspects, from the perspective of SE: (1) The !!f'able command; (2) The content of the greeting message (the mere fact that it existed was the objectionable part); (3) bots using foul language or printing a lot of messages aka spam
 
@allquixotic he didn't like the fact that someone elses bot was welcoming a moderator as though he was a newbie
 
Removing the command containing foul language certainly helped, but not by much. Furthermore, the removal of that command was completely uncontroversial.
 
It turns out that the owners of SE are pure politicians blinded by power ?
 
5:23 AM
i just figured it out
 
i can make bot do !!tell x echo fuck you niglet
now thats ME being racist NOT the BOT
 
shit
 
by law this is blaming the weapon for murder :P
 
i swore
 
@connor.js Actually, I think a different employee first noticed it, and then passed the info on to the guy who brought it up with me. I noticed a different employee querying the bot the other day, but he didn't say anything to me.
 
5:24 AM
!!welcome-me
 
@connor.js That didn't make much sense. Maybe you meant: welcome
 
!!afk cuppa
 
@connor.js Why are you leaving me!?
 
cuz
 
@connor.js You saw that whore again, didn't you!?
 
5:25 AM
@AndrewJackson you sound like a homo
!!refresh
 
Alright, I'm heading out. I knew I shouldn't have come here, because I'd just end up explaining the same thing once more. I just want it to be over with now.
Don't bother pinging me; I'm going to dismiss all notifications wholesale without even reading them when I sit down at my desk in the morning.
 
!!back twat
 
@connor.js That didn't make much sense. Use the !!/help command to learn more.
 
nope
 
!!tell connor.js afk
Did I break it?
 
5:35 AM
yes ffs
 
Fuck my typos
 
Does this one looks better then the one i did for the Room Project ?
 
I hate being retarded
4
!!tell connor.js afk
 
if yes well you guys can just use that :P even better you can use api.goph.me/login/ , and let goph take care of all the shit for you
 
5:35 AM
@connor.js Dully noted
 
cheers
 
@connor.js Welcome back
 
@AbhishekHingnikar even better if you remove the F,T,G logos
 
@connor.js for GophMe i have to have them :P
I am replacing them all (xD) by design :P
much like how Android removed Blackberry , Fucking Symbian, and iOS
 
6:30 AM
0
Q: Please compare these methods of accessing web forms controls using unobtrusive javascript

John WuIt's a common scenario. You have an ASP.NET web form with all of its controls (and generated IDs), and you have a separate Javascript file that needs to use those controls. What's the best practice? It seems to me this is a very common need with ASP.NET Web Forms, yet I was unable to find a co...

 
7:03 AM
 
0
Q: JavaScript text editing webapp

user32079Please review this JavaScript text editing webapp. Review the code quality. Give me suggestions to simplify the code. var textarea = document.getElementById("textarea"), statusBar = document.getElementById("status-bar"), inputFile = document.getElementById("input-file"), appname = "Notepad...

 
7:19 AM
helllo friends
 
hello
 
i want to write time stamp on my image using phonegap.
all images is taken by phonegap camera
 
@Shailendrsingh canvas comes to mind. No idea how to get the photo from the camera, though
 
yes i am also trying with canvas
 
input type=file?
 
7:22 AM
but unable to resolve my issue
 
+ file API
+ base64
+ canvas
 
@phenomnomnominal base64 should be done by the canvas
 
can you look my code
 
pastebin please
or at least format properly - CTRL+K
 
7:24 AM
1 message moved to recycle bin
 
I don't know phonegap. I only know how I'd do it in JS
 
@phenomnomnominal phonegap is basically a page + browser
is anyone working on that codereview?
 
2
Q: Drawing Text (Custum text) Over image captured from Phonegap Camera

Shailendr singhIf this question is repeated then let me know the link of original question because i enable to findout the good link for resolve my current problem. I am working on phonegap(cordova2.7) camera and making app for android 4.2.I able to take Multiple Picture's from my app.All image are saving in...

 
@AbhishekHingnikar nice work!
 
0
Q: How to loop through External JSON file data circularly using Javascript?

VenkatHi i am trying to show JSON file data circularly using Javascript one by one. But i am not able to do it. I am able to show all the data at a time and even one just first data using Javascript Slice function. How can i loop circularly and can show one data at a time.Please find my code below. Ri...

 
7:29 AM
I already upload my question but didnot get any proper response.
 
*reading the code*
your indentation sucks
my reading did not reveal any mistake.
 
Jan can you check my question
 
@Shailendrsingh ah, maybe... perhaps you should resize the canvas to fit the image; not sure what the default is, but I'm sure it's not enough
 
yes i am laking some where but didnot get any idea where should i actually apply my canvas to fit in the image
.
 
@Shailendrsingh resize the canvas just after you load the image?
 
7:35 AM
ok
 
Jan
Can u help me in small issue
 
!!/welcome Venkat
 
@Venkat Fuck off.
 
@Venkat I did already take a look
 
@ Jan Dvorak it is not going to work.......
 
7:43 AM
!!/bring back welcome !
 
@dystroy That didn't make much sense. Use the !!/help command to learn more.
 
lol
I did miss that...
 
wait, we are not allowed to manual-greet either???
 
"Fuck off." isn't really a suitable "welcome" message. It might not please the mods... understandably...
 
Did the community mod f*^, or our over-cautious bot manager did?
 
7:46 AM
Guys
I am looping thorugh JSON data
 
!!welcome me
 
@me Fuck off.
 
Inb4 flags and suspended Andrew
 
You guys don't like Andrew's greeting?
 
@Venkat uh, no, a private room won't help me understand your code
@Shea no
 
7:47 AM
How can i put delay in between two loop calls in JS
 
!!refresh
 
for (var i = 0; i < jlength; i++) {
var img = result.jobs[i].image;

if(img !='')
{
$('.pattren').html('<img src="assets/img/'+result.jobs[i].image+'" />');
}

$('.pattren').append('<ul><li>'+result.jobs[i].label_1+'<span>'+result.jobs[i].description_1+'</span></li><li>'+result.jobs[i].label_2+'<span>'+result.jobs[i].description_2+'</span></li><li>'+result.jobs[i].label_3+'<span>'+result.jobs[i].description_3+'</span></li><li>'+result.jobs[i].label_4+'<span>'+result.jobs[i].description_4+'</span></li></ul>');
the above is my for loop to loop through json data
 
@Venkat you'll have to write an asynchronous loop, which is not done by for
 
how to do that
 
!!tell venkat format
ok.. back to nobot.
Doesn't do much, but at least he doesn't annoy people by greeting them
 
7:54 AM
!!summon 1
 
@Venkat basically just a function that does its job, increments an index, and maybe enqueues itself.
 
k
I am a beginner in JS
 
fileSystem.root.getDirectory("AndroidClinic11/"
+ CAMFUNC.folderName(), {
create : true
}, function(dataDir) {
n++;
var newFileName = CAMFUNC.folderName() + " " + n + ".jpg";
fileEntry.moveTo(dataDir, newFileName, null, CAM.onFail);

}, CAM.onFail);
 
!!tell JanDvorak welcome
What the fook. Adapter is failing
 
!!respond "fuck off" and I flag
 
7:58 AM
Trying to revert back, but it's failing at bot.adapter.link
 
this ^^ applies to anybody who shall run the bot
 
8:11 AM
var files = [
...
	'./source/commands/',
	'./source/adapter.js',
...
];
Stupid me
!!tell JanDvorak welcome
 
@JanDvorak Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@AndrewJackson good, good bot. Nice to see you.
 
@rlemon when Caprica is back, don't forget to kill Andrew Jackson before load her
 
by suspending the user, of course :-)
 
0
Q: Build graph of dependencies (calls) in javascript

MaximusI'm new to a project and I see that everything is so interwoven that small changes here makes stuff break there. I'd like to refactor it and separate into modules. For that I'm going to need a tool that can build a graph of dependencies (calls) to visualize the connections. There are many tools l...

 
8:19 AM
@JanDvorak I'll suspend you... Over a shark tank
 
@Shea in a straitjacket and chains?
 
0
Q: Encapsulating in JavaScript, does it exist?

Gelo VolroI have an experience with the C# programming language, but know I also have to work with the JS, but it's rather new for me. I have tried to develop a simple class emulation in JS, like this: http://jsfiddle.net/T74Zm/ function A( inputValue ) { this.Init( inputValue ); this.Print(); }...

 
@JanDvorak Depends if you're an escape artist or not
 
so I better not be?
 
People pay to see magicians escape from straight jackets in daring situations. So I think it would be a win-win, either way would be entertaining.
 
8:24 AM
@Shea depends. Does audience seeing the escapologist die count as a win?
 
@JanDvorak No, that would be sick. Just seeing the escapologist squirming and kicking their feet.
 
@Shea what if they detach accidentally?
 
Pffft that only happens in video games
 
hi, I need
help
I have 5 columns of radio buttons
each column contains 5 buttons
 
@Hriju I hope you're not responsible for the UI design
 
8:28 AM
nope
I am here for logical thing
 
I need to track the value of radio button column
 
^^ oldie but goodie
 
if I change the button value to 3 of any of the column I need to show an alert
 
$(".our-radios").on("change", function(){if(this.value === "3") alert(...)})?
 
8:31 AM
i can check this if any value is 3 then show alert...but matter is when a value is predefined 3 on any of the column and I dont change the value to 3 of other column it should not show alert
 
anyone help plz
 
@Hriju you want to use this to refer to the element that was changed
 
i want to remove default functionality and add my function but unbind is not working example,
 
so i need to track if value was previously 3 then dont show alert...only show alert when the value is change to three...otherwise no alert
 
@Hriju why? The event should not fire for buttons that don't change
 
8:33 AM
but there are five columns..if i change value of any of the column the function is fired
if any of this five column contain value greater or equal to 3(if changed) then there should be alert
 
use this to refer to the button that has changed
@web2students.com there's nothing to unbind when you're calling unbind. You bind the handler later than you try to unbind it.
 
i want to remove default alert and add my alert how to do that?
 
main thing I need to track if the value is changed and if its >=3 then alert...otherwis not
 
@web2students.com swap the two lines?
 
ok,trying
 
8:37 AM
hi guys
 
@Hriju rather, check if "the value of the radio that changed is 3 and the radio is now checked"
 
and If i changed the value of one column to 3 and in the other column if I change it to less then 3 the alert is not shown
 
@EnglishMaster remember to un-onebox that. I don't like it.
 
I hate her tongue
 
so unonebox while you can
 
8:39 AM
Damn, not anymore
 
1 message moved to Trash can
you don't deserve the recycle bin
 
Burn with fire before it lays eggs
 
@EnglishMaster so, flag as offensive?
shoulda, coulda
 
Sorry please don't
 
:-D
 
8:42 AM
@JanDvorak i changed to $("#submit").removeAttr('onclick'); now it's working unbind doesn't work here
anyway thanks
 
@web2students.com EEEK don't mix onclick with jQuery
 
this is problem i have to mix, i am working on sugarcrm and i don't know from where this click event is coming, i can add my code only. removing default i don't know
 
Still EEEK, even if you're not responsible
 
yes jan but i have to complete project soon, best practise is not required
 
@web2students.com this will bite you later
2 messages moved to Trash can
 
8:49 AM
hm may be, but at this time my boss is biting :P
 
room topic changed to Unofficial JavaScript Room, The: THIS CHAT IS PROVIDED BY THE SO COMMUNITY "AS IS". THE CONTENTS OF THIS ROOM ARE NOT AFFILIATED WITH STACK EXCHANGE INC. IN ANY WAY. THE OPINIONS EXPRESSED HERE ARE NOT ENDORSED BY STACK OVERFLOW. BY JOINING YOU YIELD ANY WARRANTY, WRITTEN OR IMPLICIT TO YOUR SANITY. [consistency-of-suckiness] [ecmascript] [horse-grooming] [java-sucks]
 
now i want to iteration id ...i heard id is unique in a page but it's not in a page of sugar crm
 
@web2students.com wat? Non-unique IDs by design? May I suggest you drop SugarCRM?
 
sure i will ask in sugarcrm forum
 
but I can still help with jQuery or general javascript
 
8:59 AM
hey sugarcrm is good in general so i will report this bug at sugarcrm
 

« first day (1124 days earlier)      last day (3810 days later) »