« first day (1823 days earlier)      last day (3110 days later) » 

12:00 AM
Maybe you should look for stable partners
 
Or I'm the broken one; which is a real possibility
 
Well, she's depressed and just got out of an abusive relationship and she's sending mixed signals, I don't think it's you
 
give her a few days
 
Yes, absolutely mixed signals. TELL ME BADGER
WHAT DOES IT MEAN
READ HER MIND
 
SHE LIKES HAVING YOU AROUND
 
12:02 AM
don't all girls share a telepathic connection?
 
BUT DOESNT WANT YOU AS A PARTNER
 
Huh, okay. Well I can do that, I just needed someone to tell me that
It shouldn't be that complicated
I can do "just friends", but I can't read minds
 
f.king ask what you want to ask her directly and get over it
 
You should fix that. Telepathy is a fundamental relational skill.
 
Yeah, before copy couldn't read my mind
now that he learned how to, we no longer fight
 
12:04 AM
@CSᵠ I like to do those types of things in person
like a real human being
This is why I blame technology
 
tech is fucked up for this shit
 
Fuck this generation
 
I got my relationship thanks to tech :(
 
@BadgerCat Well we can't all be perfect
 
12:07 AM
@BadgerCat does your partner, like... complete you....
when you code
 
He's the intenseness to her logic
ignore the spelling
I'm drunk
intellisense
fuck
 
@CSᵠ I met him here‌​, thanks to Cap and Zirak
 
@BadgerCat whatever floats your boat, good luck to you 2 and all the best wishes, bla bla bla
/out too much javascript
 
Now fix me
 
12:27 AM
So now I have my dual boot. going to sleep, bye
 
12:39 AM
Can I override `this` in fat arrow functions with `.call` ?
Not sure if it’s a Babel thing or intentional
 
!!> (_=>this).call(42)
 
@copy "undefined"
 
Yuuup.
drat.
 
12:55 AM
Arrow functions also don't support arguments, which bit me the other day.
 
!!> (_ => console.log(arguments))()
 
@Retsam "undefined" Logged: {}
 
Huh, that errors out in the console. Maybe Caprica's code is injected into a function?
!!> console.log(arguments)
 
1:02 AM
@Retsam "undefined" Logged: {"0":" console.log(arguments)","1":null}
 
1:20 AM
@Retsam yup, it is
 
with the spread operator, you might not need access to arguments
 
Yeah, you can do (...args) => {}
It just caught me by surprise and seems a weird thing to remove
 
nevermind
Me: Hmm, I'm using the spread operator to collect all the arguments into an array, then I need to splat 'em back out. How on earth could I do that?
 
same way, actually.
(...args) => foo(...args)
 
1:28 AM
oh
 
though that might cause problems as well. What happens when I spread that way with no args provided?
!!> ((...args) => args)()
 
@SomeKittens []
 
zero-length array.
 
and that's not nothing.
I guess I'll just check the length
init: config.length ? node.factory.bind(null, ...config) : node.factory
should work
 
just node.factory.bind(null, ...config) is fine
 
1:33 AM
also would be nice to be able to partially apply that.
hmmm
 
sometimes redundant, but..
 
@Luggage not if node.factory has an argument it's expecting later
there's two situations (a) => and (config, a) =>
 
when the length is 0, it's the same as .bind(null) which is basically a noop
 
hm
!!> var e = (a) => a; var q = []; var bill = e.bind(null, ...q); bill()
 
@SomeKittens "SyntaxError: let is a reserved identifier"
@SomeKittens []
 
1:36 AM
wait, that's not a fair test
 
@SomeKittens "undefined"
 
!!> var e = (a, b) => console.log(a, b); var q = []; var bill = e.bind(null, ...q); bill('llama')
 
@SomeKittens "undefined" Logged: "llama","undefined"
 
ah, looks like you're right
 
winks
transpiled as:
e.bind.apply(e, [null].concat(q))
actually (...args) => transpiles into a lot more code, using arguments.
so that nice little block of es6 makes a pile.
 
2:40 AM
wtf is sterling archer?
oh...nev mind...
Say, I have a styles linked in document head section like this: <link href="styles.css" rel="stylesheet"/>...through some DOM manipulation I am trying to change the href of that same element to href="style.css?_=2323"...?
The idea is to force the new style rules onto the page that way...
will that work
 
I think yes.
 
So what about running some js? - I tried this, but I found that you had to insert a script element for that purpose...
 
3:03 AM
Works for my Firefox. If I change SO's stylesheet href to about:blank, I get a styleless SO.
[].map.call( document.querySelectorAll('link'), e => e.href = 'about:blank' )
 
 
1 hour later…
4:20 AM
@SomeGuy @AwalGarg shopclues.com/… the reviews xD
 
 
1 hour later…
5:23 AM
Anyone over here that can help me with my issue in backbone js?
 
@jimmypage 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.
 
Hi
 
stackoverflow.com/questions/33094380/… please help me with this... anyone?
 
Hi amazing devs
 
hi
 
5:27 AM
i have a question on a javascript part or if your using a jquery that would be great i wanted to have a dynmic html element with a tagging option that would be like this {youtube,123} it will replace to and html element like <iframe src="blablack?123"></iframe>
{youtube,<dynamicnumbers>}
do you have any thoughts? much appreciated
 
I thought that the hsl color scheme the hue varied from 0 to 360 degrees...this answer has used values between [0,1] : stackoverflow.com/a/9493060/145682
 
wow cool script
 
6:08 AM
High Order Components - \o/
 
user3119231
Morning
 
6:22 AM
hi
can anybody help me with this question
1
Q: How to get id of second dropdown of dynamically generated two dropdown based on first dropdown selection?

LearningI am dynamically generating 2 dropdown control on each row so on each row i would be having 2 dropdown control. Now consider on 1st row i am selecting 1st dropdown then on change event of 1st dropdown i would like to fill 2nd dropdown so for that i need to find id of that 1st row 2nd dropdown c...

 
Try $(document).on('change', 'select', function() {
var nextSelect = $(this).parent().next().children('select');
});
As dropdown is created dynamically, use event delegation to bind event
 
Thank you abhishek
you saved me once again
but with your code it is giving me output like this:select#SubCourse1.fieldname
 
@Learning You mean Tushar?
 
i want this:SubCourse1
oh sorry yes tushar
sorry
@Tushar
 
@Learning $(this).parent().next().children('select').attr('name')
IF you want cnt attr, pass it to the attr, function as param
 
6:38 AM
@Tushar:Genious man
@Tushar:Really u are damn damn gud in jquery
 
Thanks
 
@Tushar:I remember your ans u have given in my last question on making li tag as active
@Tushar:can you please explain this portion: $(this).parent().next().children('select')
@Tushar:Because i am very bad with jquery so
 
user3119231
Triple Kill (Ping)
 
Mornin'
 
user3119231
6:53 AM
@Cerbrus o/
 
@SterlingArcher you should rename yourself to Shrekling Archer
 
oi
 
yup
 
crl
weather command is broken
 
user3119231
7:06 AM
Is possible to add margin between elements without increasing width/height?
 
crl
!!weather New York
 
@crl [object Event]
 
crl
.
 
@crl That didn't make much sense. Use the !!/help command to learn more.
 
7:32 AM
!!/help
 
@Gricey Information on interacting with me can be found at this page
@Gricey 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.
 
Can someone explain the name of this room to me? I don't quite get it
 
Nobody quite "gets" Sterling Archer's love life
It's complicated
 
So it's trying to say Javascript is complicated and noone gets it
 
Mainly because he's ambidextrious
 
7:35 AM
JavaScript is irrelevant.
And yet very relevant to SA's love life.
 
has there been a certain conversation that led to the title change? anyone care to link me?
also, hey everyone!
@Gricey A) Sterling Archer is a regular room user and B) we're idiots sometimes that joke around a lot
that's probably the reason for the name
 
17 hours ago, by Sterling Archer
@rlemon @Zirak @ssube do I have a story for you
 
in jQuery there is a function which can let me select another class with $(this) to apply something to it
 
@ivarni thanks
@Learner what?
 
e.g.

I already have

$(this).AddClass("a");

I want to do this,

$(this).AlsoClass("className").AddClass("a");
i did this before as well, just can't remember
 
7:42 AM
what should alsoClass do?
so that addClass will only fire, if this has the class that you pass to alsoClass?
 
Hello, Any angular js experts here? I have simple question, should my services always be stateles? Or is it bad practice when they are not?
 
if so, use .filter
 
@GNi33 I want to add class "a" To this and "className"
without adding two lines of code
 
.addClass("a b")
if I'm not totally mistaken
 
can't be done with $(this)
 
7:44 AM
of course it can
 
so this is what I want to do,

$(this).AddClass("a");
$("className").AddClass("a");
i want above in a single line
there is a function in jquery that lets you do this in one line
 
$(this).addClass('a').find('.className').addClass("a") doesn't work?
 
@GNi33 it works but i want to know there is a function that lets you select two elements and perform an operation
 
well
 
i found it, andSelf()
 
7:47 AM
oh, okay
now I get what you want to do
could work with .add() too
 
addSelf is more appropriate i believe
 
Wow. The ES6 compat table says Edge 13 passed 80% ES6 tests. It is a pillar of green alone in the red sea:
https://kangax.github.io/compat-table/es6/
 
yeah
@Sheepy nice
 
Yeah, Microsoft is working to get their shit together
which imho is great
 
Flagged features have to be enabled via "Enable experimental Javascript features" setting under about:flags
would be interesting how many of these fall under this category and how many are buggy / false positives
 
8:03 AM
@GNi33 Used to be a lot. There are steadily migrating to default, which is good. (But still not as much as Firefox ^_^ or Edge @_@ )
 
that is the notice for Edge
 
8:24 AM
@Sheepy eeewwww
Edge is still slower then Chrome and it crashes too
 
user3119231
8:45 AM
Edge is shit. Press F12 and prepare for puke.
 
Agreed, we should never try anything new and we should've all stayed with Firebug
 
Yeah. Why bother challenging the status quo? I mean, what did competition ever do to improve the web in the first place?! We should've all stuck to that one thing that kind-of did the job for us anyway!
 
user3119231
@ivarni *Fireforks
 
@Sheepy what are the recommended PC specs for that page? A 16-core Xeon with a 1TB of RAM?
 
@tereško it feels like you're slightly biased
@Sheepy oooh Proxy is in edge :-)
 
8:57 AM
not really, since Apple does not even have anything in that performance bracket .. and I am not too familiar with ARM64
 
that said, I mostly find async/await much better.
 
@tereško I recommendation upgrading your patient. Easier and more beneficial to you. For your reference, if it seems slow it is testing your browser for the features. It used to be fast, but the list has grown to include more and more corner cases and partial implementations.
Proxy is great! :D Have been using it on Firefox for a while.
@Learner When I ask Google "Edge slower than Chrome", I only see a question asking why Chrome is slower than Edge...
 
Edge does some black magic to gain its speed
it pays for it with its dark soul.
 
!!zalgo HORROR
 
@Sheepy H̛̅͗ͭ̇͐̐̃̏͐͋ͪ̾̽͗̏͠͞҉̠̯͍̝̖̦͉̘͙͎͉̪͍͕͔̹̪̝Ǫ̶̧̦͕͖̠̳͉͈̣͔̘̠̼̾̎ͧ̿͋̿́̍ͬͣ̆ͣ͆̇ͭ̑̾ͦ̓Rͦ͛ͦ͑͑͗‌​̴̴̜͓̖̟͇͙͍̟̤̓̇ͯ̀ͦŖ̨͂̾̂͛ͫͩ͐͐͐͒̚̚̕͝͏͕͔̦̮̰̪̥̫͍͔̝̬͕̩̦̻̘Ơ̿͆̿̕͏̥̫̭̠̠͍̠͇͔̺̥̮̘̠͈R͗̎̀̿̆͊ͬ‌​̼͕̭͍̯̝̞̥͚̟̗̩̋͂̀̀͜
 
9:04 AM
 
I love this command. I have to memorise it!
 
not sure which google you are using
 
is YOUR google update to date ? :P lol
 
Finally I am able to play one song on my flute, Now I must go back to bed.
 
9:06 AM
@Abhishrek Hahaha how eloquent
 
@Learner The living google. With the exact terms. It's ok. We all know Google is biased. It is a fact ;)
 
Everytime i start EDGE
my gpu goes up for some unknown reason
 
crl
!!s/edge/imgur/i
 
@crl Everytime i start imgur (source)
 
Ah. Abhishrek you know too much! Beware for your soul!
 
crl
9:12 AM
!!urban caprica
 
@crl Caprica Scifi show on what is now the [syfy channel]. It is a prequel to [battlestar galactica]. Caprica Includes a matrix-like virtual night club where teenagers go to have group sex. Needless to say, its awesome.
 
@Sheepy Oh no
!!urban crl
 
@Abhishrek CRLS Cambridge Rindge and Latin School. The only high school in Cambridge, Massachusetts. The second most ethnically diverse public school in the country. Loved or hated by its students.
 
crl
!!urban crlf
 
@crl [CRLF](http://crlf.urbanup.com/4105850) In computer terms, CRLF denotes a combination carriage return-line feed, or in other words, a complete new line (this is specifically rooted in line printers, but is carried on by Windows).

In human terms, it denotes the wish of someone to look for a new start.
 
9:23 AM
@Sheepy I can see your love for Edge
 
Or rather, my hate of Chrome.
 
crl
green=chrome
 
!!urban Abishek
 
@GNi33 abishek A guy with a 0.1 mm penis size
 
hahaha
 
9:27 AM
And this is exactly the reason to support other browsers, to help encourage competition, not to discourage it. Watching Chrome raise to the top, forcing web devs and other browsers to bow to it (SPDY anyone? Firefox even considered WebM), to me it's like watching IE raising again.
 
crl
!!urban gni
 
@crl GNI girl's night in, a.k.a [GNO]but inside someone's house
 
I'm not sure what I should think about this
 
crl
!!acronym gni
 
crl
9:29 AM
> Gay Naturists International
> Guild of Naturopathic Iridologists
> Got No Idea
 
yes, I saw that too
!!urban Cyril
 
@GNi33 Cyril a term for the coolest guy ever, these people are usually good looking and ballin. They have cool friends as well as many hoes
 
good for you, dude
 
crl
ʰᵉʰᵉ
 
@crl whats yellow ?
@GNi33 My name is not that my name is Abhishek
 
9:33 AM
!!urban Abhishek
 
@GNi33 abhishek someone who spends more time talking about working out than actually working out.
 
crl
@Abhishrek UC browser, and blue=IE
 
I tend to forget that first h, sorry
 
God damnit indian name
 
meh, I like the first one better
 
9:34 AM
so UC browser is more used in India !
 
!!urban Cerbrus
 
@Cerbrus No definition found for Cerbrus
 
back when i was there they used to use chrome
 
Hah
I'm a mistery
 
@GNi33 Its okay.
!!urban Abhishrek
 
9:35 AM
@Abhishrek No definition found for Abhishrek
 
!!urban benjamin
 
@Abhishrek Benjamin The most wonderful an amazing person who ever lived the planet. He know absolutely everything in the world and anyone who knows him is lucky.
 
^ WAIT WHAT
 
crl
sounds like people entered their definitions for their names
 
user3119231
Well played. "Manipulated"
 
crl
9:36 AM
!!urban shrek
 
user3119231
!!urban fags
 
@crl Shrek A large green ogre. With a donkey friend.
@Maurize [Fag](http://fag.urbanup.com/4343895) 1. An extremely annoying, inconsiderate person most commonly associated with Harley riders.
2. A person who owns or frequently rides a Harley.
 
haha, that south park episode
 
crl
!!urban casa bonita
 
@crl Casa Bonita A totally rad mexican resturant where you can cliff dive go into the awsome scary cave then eat refired beans.
 
9:38 AM
!!urban dominos
 
@Abhishrek [dominos](http://dominos.urbanup.com/1484002) A pizza delivery franchise run by people who are easily duped into thinking that they delivered the wrong thing, therefore making your dinner free of charge. This can be done over and over again, even when complaining about things you were given for free.
If speaking a staff member who's first language is not English, garlic breads and potato wedges can also be obtained by claiming to have vouchers. (snip)
 
Okay back to javascript
 
If UC and is yellow, China should not be green, either. They either use one of the dual engine browsers (e.g. 360) or they use Firefox/IE. It is not like Chinese netizens can just go to google to download or update Chrome (Google is firewalled at national level)
 
ok, i have one question about positioning
for example
i have text here
.
.
and box here
how can I do margins on that so it can be like
text here
.
box here
ext.js
 
crl
a single space instead of twice the space?
 
9:45 AM
@JosipIvic box.style.marginTop = some_negative_number + 'px';
 
1 more stackoverflow.com/questions/33098981 Debugging request without code.
 
so it's like
top: '-5px' for example?
 
crl
!!google negative margins css good or bad?
 
@JosipIvic Yes. But the proper solution would be to find out what is causing the space and fix it.
 
9:48 AM
tnx, I'll try it now.
so, in ext JS 3.4 i can use css without any problem?
 
can anyone think of a way to detect Object.defineProperty calls on an object?
other than hooking Object.defineProperty
 
crl
can watch do that?
hmm no it's for properties
 
I could poll the object...
which is shit
 
@Mosho Proxy has a trap ('event') for defineProperty.
 
I wish I could use Proxy
but it's not on Chrome
which is pretty shitty of them
 
9:55 AM
Chrome does not have Proxy last I tried. Firefox (and Edge?) do.
 
yeah, I need it on chrome
 
Sorry. No other solutions that I'm aware of...
 
aight, thanks
brb replacing Object.defineProperty
what could go wrong
 
crl
Object.prototype.defineProperty_ = function(){
    callSomeFun()
    Object.defineProperty(...arguments)
}
 
...arguments
 
10:00 AM
None now. I don't think it will become non-configurable in the near future.
 
ok, i'll put example here so someone can help maybe
so i'm concerned about this margin.
 
1 message moved to Trash can
@JosipIvic Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com or pastie.org
 
OverrideCheckbox: new Ext.form.Checkbox({
                checked: true,
                marginTop:'-5',
                boxLabel: locale.misc.price_editing,
                listeners: {
                    check: function (cb, checked) {
                        that.fields.installmentOverrideComboBox.setDisabled(!checked);
                    }
                }
            }),
like this?
 
how can he use the up-arrow when you deleted his post
 
ok, i'm concerned about marginTop '-5',
it won't work when i add px to 5 or like that.
checkbox is working, i'm now figuring out the margins
 
10:05 AM
-5 as an int ?
 
it's ext js i'm using.
 
!!tell Josip google ExtJS margin top
 
Well if it does not work as '-5' and as '-5px' I would try -5
 
..
can i put negative on my margin?
 
10:07 AM
Read the answers.
 
(Or use css files)
 
css is not an option
i can't find the answer
 
There are 3 differents. Test them.
 
i tested all of them.
is this right for margin
marginTop:'-5',
or
margin-top
or just top
 
If you ask, you did not test the answers
 
10:10 AM
...
 
At risk of repeating myself...
!!tell Josip google ExtJS margin top
 
(when I read the first answer of the Sencha forum beginning with "Wrapping div is always a good idea" I remember why I hate Sencha products.)
 
(I just skipped the first result and go straight to the tried and true SO~)
 
crl
10:35 AM
angular directives, can you pass a js file to controller attribute?
nvm I'm stupid, I can include the controller functions before
 
10:58 AM
I have an angular js controller like this: pastebin.com/pUiLCj70
How do I use the results of the first two ajax calls in the third function?
 
crl
I wonder how that controller can work
usually it does actions on $scope
 
how do you instantiate this promise: github.com/taylorhakes/promise-polyfill
 

« first day (1823 days earlier)      last day (3110 days later) »