« first day (1286 days earlier)      last day (3666 days later) » 

7:00 PM
@RyanKinal , @Loktar My girlfriend has a question about healthcare in the USA
who pays ?
 
@Raine see that's all fair and good, but if you have an issue with our language/topics, just let us know man :)
 
@AbhishekHingnikar people.
 
0
Q: Can variable be concatenated to the id of tr or td

Anandvar name = "str" <td id='lbl'+name> Can this be possible in Html5?

 
@BenjaminGruenbaum nay.
 
!!doge jquery,jquery,jquery,jquery
 
7:00 PM
      wow
so jquery
           very jquery
                         such jquery
many jquery
 
@AbhishekHingnikar It's a mix of the patient and their insurance company.
 
@BartekBanachewicz That map example is ludicrous...now knowing how map works isn't bizarre behaviour.
 
@RUJordan Thanks
 
She is wondering about the private insurance, public healthcare ?
@RyanKinal what the heck is public healthcare ?
i mean suppose i am dead ill / or cancer paitent
 
@RUJordan lol, gonna downvote all the jQuery answers.
 
7:01 PM
isn't there some sort of support etc ?
 
oh wait, revd, it's tagged jQuery.
 
@AbhishekHingnikar Not really. See: Homeless people.
 
@AbhishekHingnikar same kind of care as you get in India.
 
@Zirak FTR I haven't come here to criticize JS.
 
@BenjaminGruenbaum it is ta... ninja'd
 
7:02 PM
I'm just ranting at the person who showed me this
 
@BenjaminGruenbaum hmm.
 
@AbhishekHingnikar private class Insurance {}; private class HealthCare{}; new HealthCare(); :(
 
which country has the free healthcare thing ?
@Raine awesome. lol
 
All socialistic countries. See: Europe.
 
Ah. gotcha
 
7:02 PM
@AbhishekHingnikar Sad this is doesn't work... HealthCare is private :)
 
Canada FTW
 
...mostly...
 
and isn't there something like if somebody is injured and enters a hospital
 
!!> "Hello".blink(); // best standard library function ever.
 
doctors have to stablize them atleast ?
 
7:03 PM
@BenjaminGruenbaum "<blink>Hello</blink>"
 
indian rice with romanian sausages, cooked by a strange guy (kinda english, kinda italian, kinda romanian) in an italian kitchen
 
@BenjaminGruenbaum its deprecated.
 
must be awesome
also, russian forks
 
@AbhishekHingnikar Israel has free healthcare.
 
@AbhishekHingnikar And then that person has to pay for every stitch inserted.
 
7:03 PM
Wow !
 
One of the few things we get right.
 
Thats awesome !
India has free....corruption :D, and curry :->
 
BTW my block thing is here if anyone's interested in more terrible JS code
 
Is curry good?
 
data("id") - downvoted. Please tell me if the answer is edited (cc @RUJordan)
 
7:04 PM
@AbhishekHingnikar free hookers?
 
@RUJordan depends on which curry you refer
 
@JanDvorak will keep an eye out
 
@BenjaminGruenbaum so does italy and half of romania
 
@KendallFrey nope :P, dirt cheap ones though.
 
thanks
 
7:04 PM
dirt? I bet
 
@BartekBanachewicz lol, that is terrible :D
 
@BartekBanachewicz two heads???
 
@JanDvorak oh lol how did that get there
 
@JanDvorak opossum penis
My brain thinks it's Friday :D
 
7:07 PM
@KendallFrey please avoid phallic jokes
 
@BenjaminGruenbaum even i find that terrible
ugh.
 
@JanDvorak yeah lol
 
@JanDvorak thx
 
Everything tightly coupled selectors.
 
$(function () {
    createInputBlock();
    createBlock(add);
    createBlock(mul);
    createBlock(toInt);
    createBlock(toString);
    createOutputBlock();
});
 
7:08 PM
Why do you have a $(function in the first place?
 
@BartekBanachewicz stringly typed polymorphism, I see
 
@JanDvorak Is that because your phallus is a joke?
 
@BenjaminGruenbaum Bartek's code
 
@SomeKittensUx2666 oooooooh
 
!!tell BartekBanachewicz mdn DomReady
 
7:08 PM
@AbhishekHingnikar I know
 
@BenjaminGruenbaum because jsPlumb uses jQuery or something
 
@AbhishekHingnikar Command domready does not exist. (note that /tell works on commands, it's not an echo.)
 
@BartekBanachewicz why do you innerText things?
Also, never do htmlElement.id = String(num++)
 
@BenjaminGruenbaum they are hardly relevant to what I was trying to accomplish so I took first thing that worked.
 
@BenjaminGruenbaum i ignored it :-[
 
7:10 PM
@JanDvorak more like fixing the lack of reflection
 
now i feel worse :-/
 
@BenjaminGruenbaum what's wrong about that now?
 
oi @BenjaminGruenbaum Microsoft does that shit aswell
 
@BartekBanachewicz it's a non standard property that does unexpected things, do .textContent
 
7:10 PM
@BenjaminGruenbaum How would one know if you didn't study the history of browser evolution
 
@copy you open the manual, or the API specification for example.
 
1
Q: Can I ignore a promise in javascript?

David ThielenI have a promise/deferred set up for my web worker where the main thread makes a change in the web worker's data and tells me to recalculate. I have a promise to call it back upon completion. However, in mid process the main thread can make an additional change, again with the promise to call ba...

 
$(this).prop('id', String(num++));
 
@BartekBanachewicz Why are you doing that?
 
@Raine in the future refrain from flagging 'side conversation' that doesn't sit well with you. you can ask us to stop.
 
7:11 PM
HAMMERTIME!
 
@BenjaminGruenbaum OIC. well who cares again, it's a simple search&replace
 
@SomeKittensUx2666 equally bad :D
 
@Raine also, the topic of conversation is not limited to JavaScript
 
@BenjaminGruenbaum I need ids for jsPlumb to work, again.
 
@BartekBanachewicz you do realize you can mantain a hashmap ?
 
7:11 PM
I probably can and will
 
okay :-)
 
You do realize it was written at one go in a few hours as a prototype?
 
Using flags to control what is said in this room is pretty fascist.
 
especially when it is a user I've never seen in here
 
@BartekBanachewicz yes :-)
 
7:12 PM
@SomeKittensUx2666 Mussolini did that exact thing.
 
@rlemon Okay, thanks. Will do. The more people that help keep conversation helpful and inclusive, the easier it will be to maintain as well.
 
@BartekBanachewicz horrible.
@BartekBanachewicz oh, it's cool, I just don't like the code. I write a lot of bad code myself :P
 
@Zirak Mussolini tried to control the JS room? Man, I thought he had bigger aspirations.
 
@BenjaminGruenbaum Well, so far the library isn't particularly fascinating to work with, but can't deny that it works smoothly and (mostly) flawlessly.
 
@Raine everyone with a "slanty" name is a room owner. we do just fine maintaining the chat. there are even pseudo rules that we like to follow.
 
well I don't mind you telling me what's wrong with that code
 
the id thing ?
 
if this chat were only about javascript, and we did not allow other conversation, I can 99% guarantee the real js guru's here wouldn't be half as active.
 
that's why I opensource my stuff in the first place
 
@BartekBanachewicz oh, I thought you were asking for criticism, that's mostly why people post stuff here.
Yeah
 
7:15 PM
3 mins ago, by Bartek Banachewicz
@BenjaminGruenbaum I need ids for jsPlumb to work, again.
 
@Raine 'Inclusive' means 'excluding those who put things bluntly', correct?
 
@BenjaminGruenbaum well this particular time I just had something funny working and felt like sharing
 
@rlemon Great, and I appreciate the time that you spend keeping things going. It certainly takes some effort and genuine interest.
 
it might arguably get a bit more interesting if the blocks weren't just adding numbers
 
@Raine I spend way too much time in here. but yes, if you stick around for a few days you'll see how it functions.
hehe almost at 200K messages
 
7:17 PM
n = 0;
Object.defineProperty(global, 'num', {
    get: function () {
        return n++;
    }
});
$(this).prop('id', String(num));
There we go, worst one yet.
 
@rlemon I hope to. Even if I "see how it functions" doesn't mean I'm going to ignore offensive comments though. I feel like it's hard to speak up, especially in this environment, but it does make a difference.
 
@AbhishekHingnikar Font size, man. FONT SIZE.
 
@SomeKittensUx2666 my sphincter may have snapped
 
@Raine "offensive" comments?
they were not directed towards or at you
 
offensive to whom?
 
"fuck" is not offensive in itself.
 
@Raine You'll have to get used to Zirak. He can't help the way he is.
 
Anybody who has a problem with a single F word please click that link
 
@SomeKittensUx2666 No, inclusive means using language that doesn't make people feel wrong for being themselves. As an example, calling someone 'gay' as a derogatory term communicates that people who do identify as gay are somehow wrong.
 
7:19 PM
@KendallFrey Yes, we want to be inclusive to those who are different.
 
There is nothing inherently wrong with elbow-licking, and we don't want to discourage it.
 
@Raine And since we're not immature brats, we don't do that?
 
> Swearing is tolerated so long as 1) you are not using it to insult another user. 2) you are not throwing around curse words like a 10 year old at summer camp. We understand emphasis and frustration can result in a fuck or two, but just try not to get out of hand. - source
 
@rlemon That doesn't change the responsibility. "Silence is consent"
 
@Raine that's not how this community works.
 
7:20 PM
dunt flag dis
 
Duck tape is
 
O.O
 
we're all adults and "words" not directed at or towards us are not harming anyone
 
Wtf dude.
 
@rlemon I like that description :).
 
7:21 PM
"boner" is not offensive to ANYONE
 
"Boner", in fact, is hilarious to pretty much everyone.
 
@rlemon except when seen by those who are seen.
 
lmao ninja-anti-flag edit
 
@JanDvorak ;) the word
 
7:22 PM
Those upvotes are sadening
Who upvoted this has no idea of what makes a color... this gives colors like #F493F1... — dystroy 47 secs ago
 
> I know I'm white, because I just spent five minutes explaining that I'm not racist.
 
@dystroy downvoted
 
thanks
 
We need better functional primitives in the language :D
Then again, arrows pretty much fix it anyway.
 
Made my day ^
 
7:25 PM
I love arrows
 
>>.<<
^ we fix all
 
There are two boner gifs?
^ relevant
 
MUAHAHAHAHA
 
s/gotham city/JS room/i
 
@dystroy You forgot to pad with zeroes, didn't you?
 
@AbhishekHingnikar was that recorded on a potato?
 
@KendallFrey idk what it was recorded on, but it is hilaarous
Do you speak english, to Brits ! :D lol
 
@SomeKittensUx2666 lol, love that one
 
7:29 PM
@Zirak 'git' is an insult to British people, please be inclusive!
 
@AbhishekHingnikar The translator is good, I can't tell if he's English or American
 
@SomeKittensUx2666 your new joke for the day?
 
idk who he was lol
 
@copy yeah, wanted to do it but was summoned for diaper change
now done, do you have a prettier way to do it ?
 
@SomeKittensUx2666 Apologies! Fixed.
 
7:30 PM
@rlemon I have NEW jokes?
 
i'm wondering, if "boner" is offensive, does erection strike the same nerve?
 
Are you sure he doesn't want 0xF0 as a value between 0xEE and 0xFF? That would be surprising. — Jan Dvorak 40 secs ago
 
@rlemon erection is more offensive IMO
 
@rlemon depends. Erection of buildings is perfecty fine. Erection from buildings is kinda weird.
 
lol, I always find it funny that proper terminology offends people
do you go to the doctors office and tell him to "watch his language"
 
I said more offensive, not offensive
 
@KendallFrey fair enough
 
I think it's more offensive (to me anyway) because it's unexpected and actually makes me think of erections
Not that that's a bad thing
 
dude, you are seriously going to try and tell us that you don't think of erections all day long?
 
7:34 PM
did you knew that ^ did happen ?
 
we've interacted with you in the chat you know.
 
@rlemon Not other peoples
 
I generally think of building stuff all day long...
 
did I say other peoples :P
 
Which is kind of like erections...
 
7:35 PM
@rlemon can I think about boobs instead ? will this be flagged ?
 
But not really.
 
most of my day is spent thinking "why the fuck isn't this working?!?!?!"
 
GASP
 
@dystroy yes, but i'm sure your new-born is thinking about them more
 
THE FUCK WORD
 
7:35 PM
!!afk
 
Would I get flagged for saying "brainfuck"?
 
but it is a language!
 
@JanDvorak If horribly constructed languages are offensive, then AMERICAN ENGLISH
 
user3071008
yes it is highly offensive, say b****fuck instead
 
LOL
 
7:36 PM
@SomeKittensUx2666 intercal, malebolge - do you speak it?
 
He literally read "I literally feel lucky about having two portugese fellow speaking countries" haha
 
@JanDvorak To me, brainfuck is as offensive as ballot and Uranus
 
@JanDvorak Nuh, uh, I speak 'merican
 
xD its old but wow
 
@AbhishekHingnikar I'm offended by your lack of apostrophes
 
7:38 PM
I'm offended at the fact that we're not discussing JavaScript right now.
I mean, SERIOUSLY
 
I am offended by you two getting offended.
 
@AbhishekHingnikar FLAGGED
 
room topic changed to !JavaScript: Read this link or we'll eat you: rules.javascriptroom.com. Before asking a question inform yourself on the XY problem goo.gl/taIqf [ecmascript] [ecmascript-5] [javascript]
 
@RyanKinal FAGGED BACK
 
lol
 
7:39 PM
lol
 
counterflagged both
 
thanks
otherwise we'd heer\ a country song on youtube
with a neek playing guitar
singing about how he got suspended in the js room
 
Hmmmm... :writes song:
 
@RyanKinal this room deserves a song :P
 
Can you really trademark a color? lastminute.com/site/main/locale-redirect.html
 
7:40 PM
@AbhishekHingnikar you mean "hear" or am I really missing the bottom of your deep thoughts ?
 
room topic changed to Occasionaly JavaScript: Read this link or we'll eat you: rules.javascriptroom.com. Before asking a question inform yourself on the XY problem goo.gl/taIqf [ecmascript] [ecmascript-5] [javascript]
 
ooh, I got one
room topic changed to Maybe JavaScript: Read this link or we'll eat you: rules.javascriptroom.com. Before asking a question inform yourself on the XY problem goo.gl/taIqf [ecmascript] [ecmascript-5] [javascript]
 
@AbhishekHingnikar I've started expanding the "Halp I'm lazy/Halp me maybe" lyrics.
 
@dystroy better ?
 
@brader24 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.
 
7:41 PM
@AbhishekHingnikar ... unsure ?
 
JavaScript if you're lucky
 
@RyanKinal have you heard the song with the lyrics "Wake me up ?"
use that guitar.
I have got a better one.
 
Boobs if you're luckyer
 
~~~JavaScript
 
@qwertynl you can 'trademark' anything you want. put that notice.
but really, no. they are full of shit.
 
7:42 PM
the Junk answer is now at -1
 
@AbhishekHingnikar That didn't make much sense. Maybe you meant: bewbz, bees
 
['JavaScript', 'boobs'][Math.floor(Math.random() * 2)]
 
@KirstyHarris you're needed!
 
omg flagged
 
7:43 PM
@RyanKinal Up all night to get JavaScript?
 
hey you flag fucking bitch, take a flag and shove it up your butt
 
O.O
 
@qwertynl well, okay, 'full of shit' is maybe wrong. t-mobile owns magenta in the USA for "competing companies"
 
...there haven't been any flags?
 
:runs away crying:
 
7:44 PM
meaning if I started j-mobile I probably should stay away from magenta
 
@RyanKinal i thought you got flagged.
 
!!forget bewbz
 
@JanDvorak Command bewbz forgotten.
 
lol
I'm not sure I could tell if I got flagged
 
you can see when you've been flagged in the history
 
7:45 PM
!!learn Jan "the person who doesnt likes boobs so destroys them from existance"
 
@AbhishekHingnikar Command jan learned
 
87
A: Why is Stack Overflow so negative of late?

Hans Passant Of late the tendency is to simply close or put on hold most questions, or downvote them Yes, that's what we are supposed to do with poor questions. or make fun of the writing or the style. No, that's what the community used to do, back before the "Summer of Love" campaign started to ou...

 
lol, I just opened the JS console, and I still have "WHALE" in big blue letters.
 
@RyanKinal click -> permalink -> history
you can see only flags against you (active) from there
 
Ah, cool
 
7:46 PM
@RyanKinal =) btw i hear your music at times when i am coding
 
it is a bug / oversight
 
0
Q: JQuery Ajax Post input Class

devtreatIm trying to send Ajax post to PHP. This code works Ok: $(document).on('keyup change',function(){ $.post("suma.php",{name: "oscar"}, function(data){ $('#Resultado').html(data); } ); }); PHP: <?php if( $_REQUEST["name"] ) { ...

 
your songs have pain man, pain of the asp coder
@devtreat what ?
 
I shot a man in Reno, just because I was coding in ASP
 
@AbhishekHingnikar Hey, I was trying to resolve the problem but I didnt find the way to do it
 
7:48 PM
@RyanKinal oh boy.
can you play that song on guitar ?
 
@SomeKittensUx2666 I had commented on that. I'm among the depressed...
 
Time to make my daily Fizz contribution
 
@AbhishekHingnikar That piano song?
 
@RyanKinal yes
i gave u a version where there is just piano
 
I've never tried the real version. I know it, but I don't know how to play it.
 
7:50 PM
@rlemon oy.... so silly
 
I could probably put together a version, though.
 
Ugh drupal y u no work
 
I own the album :-)
 
=) Its my ring tone :D
 
7:52 PM
@qwertynl unless they are owned by t-mobile they don't own magenta in the USA :P
 
the original has classy guitar :D
but the piano cover is very great of notes.
 
@rlemon lol nope. they are the same as travelocity i think
 
A colour trademark is a non-conventional trademark where at least one colour is used to perform the trademark function of uniquely identifying the commercial origin of products or services. In recent times colours have been increasingly used as trade marks in the marketplace. However, it has traditionally been difficult to protect colours as trademarks through registration, as a colour as such was not considered to be a distinctive 'trademark'. This issue was addressed by the World Trade Organization Agreement on Trade-Related Aspects of Intellectual Property Rights, which broadened the le...
 
Wow.. they trademarked colors?
 
Goddamn my computer is slow.
 
7:54 PM
@JosueIbarra 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.
 
@RUJordan they will be hard pressed to take you for anything
 
@RUJordan apparently...
 
unless, like I said, it is for the same industry
i.e. you are a competitor
 
Microsoft, please document.
ps why i rant in this room :D, gets seo'd :D
 
@RyanKinal Heh, when I was on GitHub today I was like, oh, sweet JS has the "right" color now
 
7:55 PM
Apple should patent the color white.
 
If I started a cellphone company and called it like lemon-mobile and used their magenta in my logo... well I can expect a letter in the mail
 
@rlemon Because of the Lemon Party?
 
if I started a slide manufacturing company - hell yea i'm using magenta
 
@JanDvorak and black
and then sue the whole world LOL
 
!!youtube I'll sue ya
 
7:57 PM
 
@OliverSalzburg I'll assume that was a ping for @rlemon
 
Newbie Question! Is there an easy way to "clone" an object without a constructor? Just get all data inside the object to a new object without it just being a reference?
 
@Schoening Object.extend({}, yourObj)
 
Thanks!
 
Assuming, of course, the engine you're using has Object.extend
If it doesn't, there are shims out there
 
7:59 PM
@RyanKinal No. But it wasn't meant to be a reply to your message. I'm not used to not being able to edit all my messages :P
 
Okay. I check out canIuse and read the mdn page on it :)
 

« first day (1286 days earlier)      last day (3666 days later) »