« first day (1878 days earlier)      last day (3071 days later) » 

3:00 PM
It's a sound idea to keep your head down in France
 
@FlorianMargaine Yea, it took me a moment to figure that out
 
I remember the US after 9/11, everyone got super racist and afraid of anyone wearing a turban
 
@FlorianMargaine @DenysSéguret do French people like/regularly have Papadum?
 
!!google papadum
 
and France is almost as systemically racist as the US, from what I've been told
 
crl
!!urban papadum
 
@crl No definition found for papadum
 
@AwalGarg only in Indian restaurants
 
ok, was just wondering.
 
oh boy, Cicada is on his way
 
crl
is this a coded message?
 
@crl No, this is Patrick!
 
@MadaraUchiha this is undefined in strict mode's function scope
 
Can you start a REPL with a few variables initiated using Node and NPM?
 
3:12 PM
node -r <module name> -i
 
crl
<link rel="canonical" href="http://somesite/themes.html">
Til you could do that
 
What would the package be namespaced to?
 
It would just be added to the require cache.
 
good day guys, can i ask for a favor pls cause I'm having a hard time debugging my program
 
don't ask to ask, just ask
 
3:16 PM
actually i've already posted it on SO
 
but... there's an accepted answer
why do you accept answers when they don't work ?
 
sorry but I've just accepted it for his effort
 
that's not how SO works...
 
crl
@user3783598 don't tell me you're loading jquery multiple times
 
I'm just being grateful to him for helping me and giving time
 
3:19 PM
@user3783598 you don't look like Riccardo to me
 
Bah, failed an audit review on another audit I disagree with. Now I'm blocked for 7 days
 
I've already checked that issue but still doesn't work
 
Review audits are shit
 
haha that's my other account tho
 
@MadaraUchiha ^ account merge please
 
3:20 PM
@user3783598 You should try making a minimal reproducible example, without all those scripts
 
$(this).remove();
 
like on jsfiddle or something
 
Almost works, I want to hide the div containing this D:
 
wait I uploaded it on github
 
@user3783598 dude
no
@MadaraUchiha ^
 
3:20 PM
can please check it there? cause i think it wont run on jsfiddle
 
2
A: Working with JS objects and functions

RicardoThe keyword this acts as a placeholder, and will refer to whichever object called that method when the method is actually used. Look at the method setAge to see how this works. By using the keyword this, setAge will change the age property of any object that calls it. Then when we say bob.setA...

you don't answer one account from another
that is vote fraud
 
@user3783598 ...
 
oh sorry
didn't noticed that one
 
LOL
 
oh I should use .parent?
 
3:21 PM
-_-
 
i though im using my ricardo account
 
you didn't notice you answering your own question?
 
didn't notice you were the author of the question you answered ?
 
hahaha nah
nevermind
 
answering your own question is fine, answering from a second account is fraud
 
3:21 PM
Who uses 2 accounts anyways?
 
because now you can vote yourself up on both accounts
 
@SterlingArcher I have a second one for a bot
 
@user3783598 Answering yourself from a different account is meh
 
@DenysSéguret bots are edge cases lol
 
@SterlingArcher I have two as well. but one is a bot account only.
 
3:22 PM
Voting for yourself from a different account is unacceptable.
 
actually I have three
Cap, K9, and rlemon. Cap and K9 are bots
 
@SterlingArcher I have a few socks, mainly for testing out stuff from a low privilege perspective
 
K9 is for testing bot related stuff without messing with Cap
 
I have another account but its description clearly points out the reason for its existence and a link to my main account as well.
 
Ok let me rephrase, you asses. Who uses multiple accounts legitimately on Main
 
3:24 PM
hi sorry
 
@SterlingArcher those want to rep farm?
 
> legitimately
 
@Ricardo Which account is your main?
 
this one i guess
 
Some people forget their pwd and just create a new account every time they change browser. I know I do this on reddit
 
3:25 PM
@Ricardo I'm merging the other account into this one
 
cause I cant post any question on the other one anymore
 
How did you manage that?
 
the ffmpeg module that I'm using isn't flexible enough for what I want. I want it to output me a Buffer, but all it lets you do is save the transcoded video into the file system.
 
oh, so the reason for the new account is a question ban ?
 
@Ricardo Creating new accounts to overcome system limitations is not OK.
 
3:26 PM
@ndugger It can pipe to stdout afaik? so use that :p
 
@RoelvanUden No idea what that is; I'm like a fish out of water, flopping around until I get something to work.
 
but how will i merge my accounts?
 
@Ricardo I've already submitted the request.
 
Hahahaha this is sooo much funny
 
Will happen eventually.
 
3:27 PM
@ndugger stdout is the standard output stream >_< if it can write to stdout which I think it can, you can just read that from your node app.
 
oh ok
 
@ndugger Ah yes it defaults to stdout even :)
 
@Ricardo Next time you get banned by the system, please read the links given to you instead of creating new accounts.
The next time you'll just get a proper suspension.
(And not necessarily from me)
 
^ He a mod. He scary. You listen boy. You listen. Yes.
 
ok
 
3:29 PM
@RoelvanUden ok there buffalo bill
 
Yeah, if you aren't scared of Madara, you are totally screwed up.
 
!!afk standup
 
Madara is harmless
I'm more scared of Benji
 
@SterlingArcher yeah... dare start a war ?
 
 $(this).parent(".showResult").fadeOut("slow", $(this).parent( ".showResult").remove());
 
3:30 PM
omg lol
 
@SterlingArcher Well, do you? Punk?
 
@djsmiley2k I think you want just $(this).remove() in the callback
 
3:31 PM
@SterlingArcher You'd think.
 
@SterlingArcher +1
 
404 battle not found
 
does that voting thing still work ?
 
@MadaraUchiha you lost when you posted such unexistent filth in this room!
 
@MadaraUchiha gif timeout over. UN-ONEBOX!
 
3:32 PM
your mom's virginity is inexistent
 
@DenysSéguret honestly, best thing I've googled in a while. Google Image: Clint Eastwood Squinting
@FlorianMargaine well, you're not wrong? ._.
 
@FlorianMargaine non-
 
@FlorianMargaine ☐ Not REKT ☑ REKT
 
@SterlingArcher looks like a trap...
 
@SterlingArcher I can't lie, at first I though that said squirting
 
3:33 PM
^ there's your trap
 
@DenysSéguret ah ok
hmmm i'ts only hidding the submit button
Not the entire div
 
so guys, could you please help me. for those who are willing
 
in rxjs, is there a way to take(1) from an Observable, run the observer, then subscribe to the rest of the Observable with a different subscriber?
 
crl
there's no Willing here
@NathanJones what does take do?
 
So, .parent(".showResult") will keep going back up the DOM until it finds a match, right?
 
3:39 PM
@crl "Returns a specified number of contiguous elements from the start of an observable sequence" github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/…
 
crl
ok, a sort of slice
 
source
  .flatMap(line => {
    return Observable.fromPromise(asyncCsvParse(line, csvOpts));
  });

let columns;
source.take(1).subscribe(line => {
  columns = line;
});
source.subscribe(csvLine => {
  console.log(csvLine);
});
that's what I have so far
source is an observable file stream
 
crl
this is for future events on each line?
 
@SterlingArcher you see the new Ice Nine Kills album is out?
 
I did, it's very good!
Can you tell Spencer is a huge horror/slasher movie fan from all his songs? lol
1
Q: Javascript. How I call a prototype method given that methods name as a string plus args?

duglaI have an object with a set of prototype methods. How do I invoke that method given is name and arg list? So I have and object: scarpa.MyThing = function() { } MyThing has a prototype method: scarpa.MyThing.prototype.beAwesome = function(a, b, c) { // do awesome stuff here with a, b, and...

good question, anybody know this? I'd like to see the answer
 
3:47 PM
My code works, sort of. The source.subscribe() also returns the first element. I want it to skip the first element.
 
crl
!!mdn font face
 
crl
summernote.org uses <font face="shit"> ...
 
<div class="showResult">Please select relevant file for datafix: T667 with JIRA ID: <a href="https://host/issues/ITODF-498" target="_blank">ITODF-498</a><form method="post" role="form" id="ITODF-498Form" enctype="multipart/form-data"><div class="row"><div class="col-md-6 form-group">
	<input type="text" hidden="" name="key" value="ITODF-498">
		<div class="fileUpload col-md-5"><input class="attachBtn form-inline" type="file" id="ITODF-498" name="file"></div></div>
		<input class="upload" type="submit" value="Attach">
upon clicking the button, how do I hide the containing div with showResult class
 
Does anyone know why some AJAX requests cause the browser to load (not refresh, but the refresh button spins)?
 
3:50 PM
@NickZ 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.
 
var hideMe = $(this).parent("div.showResult");
hideMe.fadeOut(600);
I feel like I'm missing somehting really obvious here
 
@NickZ depends on the context of how the XHR is made
Is it a button inside of a form? If so, you need to prevent the default button action of submitting the form when you click it
 
@SterlingArcher What would cause it to make the page load? I notice with google design's website for example, it's a SPA but the refresh button loads each time you click a link.
@SterlingArcher Where as whenever I've used ajax in the past, it has never done that
 
> Is it a button inside of a form?
 
@SterlingArcher haha yea
and I agree it's great
 
3:53 PM
Is this the appropriate way to handle waiting for a series of events to complete?
galil.connect(conn);
return Promise.all([
  new Promise(resolve => galil._messages.once('connect', resolve)),
  new Promise(resolve => galil._commands.once('connect', resolve))
]);
 
@Loktar like, really good. I haven't found a song I don't like yet. Even Tess-Timony is good even though it's piano
!!youtube hell in the hallways ice nine kills
 
prolly my fav
 
Sterling you seem to like metalcore a lot
 
Very much so
And the band above is literally my favorite
 
3:58 PM
literally?
 
literally.
 
literally literally?
I thought it was @Zirak's mom
she's a band all by herself
 
Not quite literally literally, but figuratively literally yes.
 

« first day (1878 days earlier)      last day (3071 days later) »