« first day (1857 days earlier)      last day (3313 days later) » 

09:02
morning
windows has been around for a while, and as such, it has plenty of viruses
@rism After a bit of discussion we decided `<input type="search" autocomplete="off">. We don't think it conflicts with the combobox aria-role, it seems to solve the issue in Chrome and IE. Asked someone with access to a Mac to check Safari there.
In microsoft's defense though, they've come along way from windows 95 for what concerns security
I still wish they'd have handled things like linux.. now we have words like "superadministrator"
In another 20 years we will have Heroic Administrator. 40 years for Paragon Administrator :)
Legendary after 60?
09:04
You bet :D
crl
crl
*bait
Or perpahs MS will start a collaboration with Marvel for IronAdmin!
Epic administrator.. can reset passwords simply by staring 3 seconds at active directory server
Chuck Norris joke in 3...2...1
crl
crl
!!norris
09:06
@crl That didn't make much sense. Use the !!/help command to learn more.
Many children wear superman pajamas to bed. Superman wears Chuck Norris pajamas to bed.
crl
crl
and Chuck wears Jon Skeet's pajamas
My previous company names servers after heroes. At first I thought Frozone is some kind of ice cream.
crl
crl
I can't access my global vars in console because of 'use strict;' :( ? hmm 3.1 babel
we name servers after stars
my university named servers after star wars characters.. the gateway was yoda :)
crl
crl
09:11
mine named servers after Roman emperors (nah jk)
would have been nice
i just wish our systems administrator were a little more inventive on the passwords
we get words with numbers that replace letters like 0 for o and 3 for E that are simply repeated
I worked one place where we had different schemes for different environment. In test we had beer brands, in staging we had planets and in production we had cartoon characters
So if you saw a server was named "singha" you knew it was a test server
@ivarni That was a smart idea
no way of accidentally deploying to a production server
@Sheepy got it. I found out the encryption pattern and reduced down from 9 digits to
possibly only 100k possible id's
Stars are good. Star systems may even be better. "We are migrating to Alpha Centauri."
09:17
and now... it's time to start the python scripts heh.
and the thing is - I think they're using direct connections to db's
@OneRaynyDay Congrats!
have you ever written html form submits that have action="submit.cgi" ?
thank you! :)
crl
crl
react's so picky on self closing tags
Anyone has experience with "DoubleClick Studio" thingy? What format does it expect a zip file in?
crl
crl
.zip probably :>, dunno just trolling
09:32
It is apparently some google campaign related thing
crl
crl
can you put a ternary on props in react? well the value at least and set null when you don't want it ok
crl
crl
!!> [1,2,3].every(i=>i>0)
@crl "TypeError: [1, 2, 3].all is not a function"
@crl "TypeError: [1, 2, 3].any is not a function"
@crl "TypeError: [1, 2, 3].any is not a function"
crl
crl
09:47
I said every dear Cap (SO bug actually)
Oh? An SO bug?
!!>[1,2,3].every(i=>i>0)
@Sheepy "true"
!!> [1,2,3].every(i=>i>0)
@AwalGarg "true"
@Sheepy "true"
!!> Object.keys(Array.prototype);
09:58
@phenomnomnominal ""
!!> Object.getOwnPropertyNames(Array.prototype)
@AwalGarg "length,toSource,toString,toLocaleString,join,reverse,sort,push,pop,shift,unshi‌​ft,splice,concat,slice,lastIndexOf,indexOf,forEach,map,reduce,reduceRight,filter,‌​some,every,find,findIndex,copyWithin,fill,entries,keys,constructor"
user5020521
hi guys is this a right way to access a TextNode value?
user5020521
var a = document.getElementById("r0c1").childNodes[0].nodeValue;
a.value = node.nodeValue;
console.log(a.value);
user5020521
10:02
what am I doing wrong?
!!tell Riccardo990 google stackoverflow change textnode value
user5020521
thank you @Sheepy I'm gonna read'em all
user5020521
hey @Sheepy I've already tried the first example in the row
user5020521
I'm gonna study the other links
crl
crl
10:05
a textnode? like a element without tags? not good to use them me think, why not tho
@Riccardo990 The first example is correct and simple. a is your nodeValue so you are in effect changing node.nodeValue.value - instead of changing node.nodeValue.
user5020521
@crl I've googling aroung for quite a long time
user5020521
@Sheepy if you look at the lines above I have a var which is equals to the node value
crl
crl
<div><span>foo</span>lol<span>bar</span></div> < lol is a textnode right?
user5020521
and then I attempted to write the console
10:07
@crl yes
user5020521
@crl I guess so
crl
crl
hmm ok thanks
@Riccardo990 You are trying to change the value property of the nodeValue object (a string), when you need to change the nodeValue property of the node.
user5020521
@Sheepy ok I see so you're suggesting me to get rid of that variable
user5020521
as a matter of fact I don't need to set I need to get
10:09
Then your existing a is your text. If the previous part is correct.
user5020521
that's right a is my text
user5020521
and now I'd like to set a to the node value of the TextNode that I'm trying to retrieve
Do you mean node.nodeValue = a?
user5020521
@Sheepy I haven't thought about it man, but that gotta work lemme try it and let you know dawg
Why on earth are you using .nodeValue in the first place?
user5020521
10:12
hey man this is the error occurred now
user5020521
ReferenceError: node is not defined
user5020521
why the hell I can't define it that's frustrating
You need to set node to the "TextNode that you are trying to retrieve" first.
user5020521
@AwalGarg I can't answer the question you've just asked
Which means you have no reason to use .nodeValue. So don't.
user5020521
10:14
@AwalGarg let me tell you this
I won't.
user5020521
I'm attempting to use the nodeValue property because it's helpul to me to fetch the value of a table row so that I can change those values
user5020521
helpful*
Use the more explicit .textContent then. .nodeValue is mostly for meta stuff. Last time I used it was when I was writing a dom serializer specific to certain class of documents.
user5020521
I get an element by its id
user5020521
10:18
I say that a is equals to the id of an element
user5020521
then when I go into the textContent property I always stay on the a variable
user5020521
so why?
Why is a the id, when you are not referencing its id property? May I ask how are you learning JavaScript?
user5020521
@Sheepy wait a moment
10:20
document.querySelector( 'tr > *' ).textContent // Get first table cell's text content in whole page
document.querySelector( 'tr > *' ).textContent = '🐑'; // Set first table cell to a sheep
user5020521
I'll try it
I guess you need to go back to basic concepts. No amount of googling will help if you are not learning it properly.
@Sheepy You seem to underestimate the power of copy pasting skills of certain people :D
user5020521
@Sheepy the table I've created is made up of divs so I did replace the 'tr' tag with the 'div' tag
user5020521
however a strange result has been returned
10:26
@AwalGarg There are always fresher copy paster who is more familiar with new buzzwords and has not accumulated any pay raise. If not now then very soon.
user5020521
the querySelector method returns me an 'x'
Does your "table" have an "x" in it? If yes, don't you want the content which is an "x"?
user5020521
the only thing which has an x is the popup that I use to let a user edit a table row
user5020521
but I'm reading a mdn example and I found this
user5020521
// Get the text content:
var text = document.getElementById("divA").textContent;
// |text| is set to "This is some text".
user5020521
10:30
this is MDN
It is correct. It means that the text variable is set to the text content of #divA, not the other way round.
You need a css selector that pinpoints the table content - instead of the popup - and sorry I can't help you with this...
user5020521
no you don't have to man
user5020521
just tell me this
user5020521
let's assume I have some rows and wanna edit the name field so if I have Mark a click on edit and replace Mark by Daniel
user5020521
then I make an asynchronous request to a php page that makes an UPDATE which returns me the UPDATED field
user5020521
10:34
now I'd like to replace the old textContent with the new one
user5020521
then if I have "divA" ang get it by textContent that id returns me the old value
user5020521
how can I set it to its new one?
If you reread the SO answer you have node.nodeValue="new value";. How can you get the node #divA? (Not id, not text, not its children, not its properties)
hello world
user5020521
I get that value by textContent
10:40
If you want to change a doll's cloth, you need the doll, not the doll's old cloth.
If you want to change a node's value, you need the node, not the node's old value.
Well technically you need to take off the old cloth first
So then you have the doll's old cloth :p
user5020521
that's correct
user5020521
I'm trying to get rid the old clothes tough
user5020521
but I don''t know how
DOM will take care of ripping the old cloth and throw it away. DOM is mean Q.O
10:42
@towc maybe you can add a small live example at each part.
user5020521
the ajax updates a row whenever a user saves the updated form
@Riccardo990 You don't need to. In JavaScript, new value overrides old value when you do assignment.
user5020521
I undestand that but I'm already using ajax
user5020521
I'm trying to learn it so I decided to go into it
user5020521
this is just a mere test but I'd like to make it
crl
crl
10:45
!!urban cloth
@crl Cloths Usually mispelling of clothes by 13 year olds.
!!urban burn
@ivarni [burn](http://burn.urbanup.com/654398) (1) slang: to disrespect someone (to [\[diss\]](http://urbandictionary.com/define.php?term=diss)); to make fun of someone; used by a third party after a first party makes fun of a second party. Brought back to life by the ever-popular [\[That 70's Show\]](http://urbandictionary.com/define.php?term=That%2070's%20Show).

(2) slang: to smoke [\[marijuana\]](http://urbandictionary.com/define.php?term=marijuana(snip)
crl
crl
!!urban burminating
@crl No definition found for burminate
@crl [burminating](http://burminating.urbanup.com/1879016) verb.

thrasing through wildly and causing general death and destruction
How you get the new value doesn't change how you replace the old value. You are correct in omitting the ajax.
Regardless, I think you won't get a quick answer here because we'd rather you learn how to learn and proclaim Eureka.
I am going off now. You may try to reread our explainations and api docs. God bless~
crl
crl
you may proceed and reproceed
!!urban proceed
@crl PROCEED New word teen use to basically say move the fuck around or do you.!
crl
crl
didn't think of that definition..
let this = break in case of debugging;
user5020521
11:02
@Sheepy thank you for everything man
crl
crl
ger;* damn
I really really wish I could get informations (dataTransfer) from DnD before the drop, in the dragOver for example
crl
crl
11:16
!!> void 0
@crl "undefined"
crl
crl
I need a DnD between an element and an iframe (showing CMS) page, think I'll put things in sessionStorage or something
DnD = dungeons and dragons ? :p
crl
crl
11:31
!!google DnD js
crl
crl
stupid games
he should have chosen better names
which link should i click btw
crl
crl
none, I've done my own DnD
wtf is LiveScript
> LiveScript is a fork of Coco and an indirect descendant of CoffeeScript, with which it has much compatibility.
another one ... keh
some of these are not good syntax wise, and leads to overhead
Oh man, just had a great interview in one of the nicest offices I've ever seen
5
Awesome!
I mean, they had a god damn greenhouse in there.
Is it a grow-shop?
11:41
Nah, it was just for effect :P
a greenhouse in a buildig ?
crl
crl
12:09
!!is it good to use sessionStorage to pass data to iframe?
@crl Absolutely not
crl
crl
!!so what do you suggest?
@crl Indeed
crl
crl
!!are you trolling?
@crl Of course not
crl
crl
12:23
What the bloody hell? jsfiddle.net/crl/rguLw8z2/1 over gives dataTransfer on Firefox, but not on Chrome/edge?
Chrome/edge/ie11 don't
Firefox is the only smart browser
!!should I ask a SO question about it?
@crl Indeed
@BenFortune Black couch? white walls?
crl
crl
seriously fuck DnD api stackoverflow.com/questions/11927309/…, this gets me mad
> That translates to, "you have no access to the data that you set, not even in read only mode! Go f@&# yourself.". Really? Who'se the genius that came up with this?
the spelling error really adds to the mood
crl
crl
12:36
noice hack stackoverflow.com/a/14076246/3183756, since I've just an id to dnd
12:54
Hey everyone
o/
I have a quick questions since I've already lost most of my hair
So, when using an iframe from another domain (in my case, invision), I can't access anything, be it the title of the current page within the iframe, or anything?
@PrettyGoodPancake That's done on purpose
@neil yes thought so
That's to keep phishers from using iframes to emulate behaviors of actual sites while adding their own scripts in
13:06
kid went as a fart
there may be ways around it, but not without using plugins
also, wouldn't recommend it
@Neil makes sense, but I just need to read the content (page change within the iframe)
I guess I won't be able to then
@PrettyGoodPancake I don't think it's possible, no
If it's your site, there are ways of getting around it
but it means not using iframe
Okay that's what I thought too, I understand the logic behind this anyway
afaik anyway
plenty here that would claim to be better than me, and a few that might actually be right ;)
13:12
haha, I think you're right anyway
@rlemon ow
@SterlingArcher bro, I vape eh?
13:36
@rlemon technically seen he's correct
I would have given a half mark
I really enjoy watching forging videos. youtube.com/watch?v=48IznM5CEYs
got this adv at your vid. 2 awesome vids at one moment. Nice. (PS: not playing WoW, but the trailer is nicely made)
I like how you PS not playing wow, as if playing wow is a bad thing
guys how can i remove all css classes and ID's of all child elements under a div with jquery :)?
some code ... pufff
13:51
played that game for a while, but after 2 years, it became "meh"
also, i stopped with any MMO games since i don't have time to be competitive
@argentum47 ah... thanks....
crl
crl
I'd like to know who exactly designed html5 DnD api, so I can hate him
@nick Ill take a look :-)
!!google html5 DnD founder
@nick if I do send in your resume (and they think it looks good) are you up for moving to NY?
crl
crl
w3.org/TR/2010/WD-html5-20101019/dnd.html no names ofc, they are careful with reprisals
@MadaraUchiha That's the funniest shit ahahaha
crl
crl
when one does lorempizza or other random thing, do we see exactly the same pic? no I guess
Not lorempizza
Depends how it's implemented for other ones
Also depending on caching
one does not simply lorempizza
!!pizza 800 600
@Cereal Input not matching /(\d+)\s(\d+)/. Help: User-taught command: 'gives <>http://lorempizza.com/$1/$2#.png
!!pizza 800 600
Oh it did give the same one
crl
crl
first one ^ did you see that one?
crl
crl
haha, ok, confirms
!!pizza 800 200
stahhhp
crl
crl
and yes I don't use yet rob's theme, because I'm an asshole
@crl I got a different image
14:10
^ That was my dinner yesterday :-)
that's why you're fat
@Neal you lucky man
Twas yummy :-)
crl
crl
@Neal needs a banana for scale
Cheesy bite crust :-)
it was 10" "personal" pizza that I shared with my wife
That is why mushrooms on only half
14:12
i love basil on pizza
Hi guys, does anyone know, an easy to learn javascript unit testing framework?
Says something about the world when a 10" pizza is a personal pizza
mhmm
!! afk eating cookies
which framework would you suggest for a realtime app using socket.io (node.js server)?
preffer not to be an angular. React? Something else? I'm kinda new to JS and looking for the best framework to learn.
@NotAJohnDoe 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.
Error 404 occured, I will call the maid (@Zirak)
14:18
@Cereal Haha you are telling me ;-) we could not finish it
!!dunphy 800 600
!!undo
crl
crl
okok
14:32
howdy folks
@rlemon Really well done, yes
What's the haps syrup licker
I fell asleep at like 6:30 yesterday. slept till 10. went to bed at 1am
14:35
@Loktar got 4 new songs for you (2 you may have found already, bc BMTH)
@rlemon once I'm done raiding in Clash of Clans I have hilariously awesome news I'll ping you with
totally TMI but you're gonna lol
More sterling archer sexcapades?
my guess is it includes butt stuff.
I have another timestamp to solve...
Date In: 20151116, Time In: 082428, In Ts Min: 251803440000
What the eff is Ts Min?
Man when is no man's sky coming out ;_;
> Thank you for reviewing 40 close votes today; come back in 9 hours to continue reviewing.
Doing my modly duties :O
14:44
@SterlingArcher :)
I filter by tags and only review duplicates
Really?
I should filter by tag
Mjolniring left and right
I only do it for the Mjolnir.
lmao I don't have Mjolnir yet :(
I'm almost at 500 JS tag points though
!!google Mjolnir tag
14:46
@DenysSéguret close hammer
@DenysSéguret glad you're ok buddy <3
Hello , Can somebody help me how to generate a 32 bit random token , I use angularjs
crl
crl
!!youtube insomnia
14:48
Dang
!!youtube evans blue beyond the stars
I really like this song. It's got a breaking benjamin feel to it
Mixed with.. Chevelle? kinda? im trying to think
> Thank you for reviewing 20 low quality posts today; come back in 9 hours to continue reviewing
KILLIN IT
hi, is there a technology better than aiml?
!!> Array(32).forEach(e => console.log(1));
14:55
@Cereal "undefined"
Shouldn't that print 1, 32 times ^
no, you don't see console
only returned value
aiml artificial inteligence markup language, used to make chatbots
!!> Array(32).forEach( () => return 1; );
14:56
@SterlingArcher "SyntaxError: expected expression, got keyword 'return'"
@Cereal Array(32).fill(1).forEach(e => console.log(1));
You don't use return in fat arrow functions
Array(32) creates a sparse array with 0 actual entries
14:57
It's implicit
!!> Array.from(Array(32)).forEach(e => console.log(1));
@rlemon "undefined" Logged: 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
So => is an implied return, lexically bound function?
also, I guess you do see console :D
@SterlingArcher unless there's a block
a => {return a}
@rlemon why are you wrapping forEach in from?
crl
crl
14:58
!!> [...Array.from({length:30},_=>=), 'D']
@crl "=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,=,D"
@SterlingArcher We just went over this >:(
@SterlingArcher I'm not
crl
crl
fail, .join('')
Sorry I'm not good with ES6 yet :(
!!mdn array from
14:59
@SterlingArcher Array.from()
!!tell SterlingArcher mbn of
@rlemon Don't be annoying, drop the @, nobody likes a double-ping.
@SterlingArcher Array.prototype.of()
@SterlingArcher also this ^

« first day (1857 days earlier)      last day (3313 days later) »