« first day (1466 days earlier)      last day (3481 days later) » 

5:00 PM
Thanks @SterlingArcher
@AbhishekHingnigar what?
 
the five star flame war against and for .gifv onebox
 
Oh cool, you changed your name back
 
@BenjaminGruenbaum Flux by Facebook. ever heard of it ?
 
@darkyen00 call it "twoboxing" instead
 
@darkyen00 What about it?
 
5:01 PM
@FlorianMargaine Do you use Yubikey?
 
It sounds so much better and cleaner approach to write applications over mvc
 
I don't see any name calling there - screenshot?
@Abhishek I used it for fun a few times, it's not very clean or very simple. For small apps data binding (even with React) is magical.
 
@BenjaminGruenbaum He was whining about them being videos and comparing it to facebook autoplaying videos
i called him a troll, followed by others
 
I like react but f.lux isn't a one size fit all.
Who was?
 
Shadow something
 
5:02 PM
@BenjaminGruenbaum Actually, darkyen and Nick acted like children. Nothing to see, move on
 
@copy that's what it sounds like :P
 
Hi. Idk if this is against the rules, but is it ok to ask advice in this chat on a question I asked on Stack? Or is this just a convo chat?
 
vOv - can't help it, he sounded to me like zigi
 
@user3577397 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.
 
What else?
 
5:04 PM
LRIO ragequit
 
@BenjaminGruenbaum florian getting surprized over travisJ being a room owner
LRIO ?
 
@copy oh cool, didn't know that
Going to check it out (assume in the C++ room)
 
Lightness Rings in Orbit or whatever that name is
 
Yes, but at least 2 hour read if you want the details
 
The dude with the hot chick avatar
 
5:05 PM
i've read it
it was some good drama
 
@copy link?
 
how do you find all nodes with a specific CSS attribute?
 
I want to find all the elements in #photo-album that have an opacity of 1
 
@corvid not easy
nor you should care
 
5:07 PM
jQuery( ":visible" )
 
$('#photo-album').children().each(function(){
    if($(this).css('opacity') == '.1'){ ... }
});
Idk if that is right or not ...
 
I'd use .filter
 
@Whathaveyoutried too much jQuery
 
posted on October 21, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} WOOH! What a time it was. If you missed BAHFest East and are too imp

 
$('#photo-album').children().filter(':visible') if you don't care about partial trans
 
5:08 PM
@JanDvorak would it even work?
 
@Whathaveyoutried ahem this.style.opacity ahem
 
I rarely use jQuery ;)
 
@copy nope... but I want to.
 
$(':visible', '#photo-album')
!!afk food
 
@Whathaveyoutried but when you do, you do it in big doses? :-)
 
5:09 PM
@FlorianMargaine I need to look into two factor authentication for SSH
 
hah
Went big there
 
@copy why don't you simply use public key?
 
You mean write it down?
 
Can anyone help me my question? Not sure if I could post a link
 
!!welcome user
 
5:11 PM
@user 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 jan
 
@copy I don't see it - read some stuff there didn't find anything - all I could find was:
in Lounge<C++>, Oct 15 at 17:10, by Lightness Races in Orbit
This will be perceived by some as a "rage quit", because it fits with their chosen narrative. It's not one. I believe pretty much anyone would take a Lounge break given all the above. Heck, Bartek took one for no reason at all! But I hope that, while you're being fed lie after lie about me, by those who would deem themselves morally superior despite evidence to the contrary, you try to remember some of the good times. But I shall find a new home. So long!
 
@@user3577397 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.
 
ha i love that
 
Oh wait, above it
 
5:12 PM
@AwalGarg what does?
 
Well, here's the question I asked yesterday. I have a template, and I think I might be close stackoverflow.com/questions/26471308/…
 
@BenjaminGruenbaum There were many discussions between that and the post I showed
 
@JanDvorak nvm
 
Speaking of closing, I can at any time :-)
 
If anyone could help, I'd truly appreciate it.
 
5:13 PM
@copy prime drama
 
@Shmiddty Is the joke his penis? Cause there are a lot more direct ways to make that grow.
 
I thought your penis was the joke D:
 
@Whathaveyoutried morning
 
Oh hi kittens
 
5:18 PM
ohai
haven't heard from you in a while
how are things?
 
oh low kittens
 
@SterlingArcher Nah, mine is a terrible joke. It's just too long.
 
LOL
Well played sir
 
@Retsam It's not the length of the joke that matters, but how you tell it.
 
@SomeKittens was in vacation for the last two weeks in Europe - had a blast :)
How are you?
 
5:22 PM
@BenjaminGruenbaum Nice! Favorite part?
@BenjaminGruenbaum Pretty good. Went to Tahoe last week.
 
@SomeKittens Either the Louvre in Paris, or a ceremony I attended in Prague. Bruges was cool too.
@SomeKittens I'm going to come out as ignorant but what's Tahoe?
 
!!tell ben wiki tahoe
 
tell ben wiki tahoe sounds like a song name by Of Mice & Men lol
 
@BenjaminGruenbaum Very large lake on the CA/NV border
 
5:25 PM
Oh cool :) That area is so beautiful, I was nearby but not there a few years ago
 
also known for the skiing, but not this time of year
 
Sounds like a lot of fun, I really want to visit the states again sometime but it's so huge and far so it'd have to be at least a month or so.
 
Come visit Canada
 
Yeah, our country's kinda big
 
it's huger, but 99% of it looks the same
inb4 phrasing
 
5:29 PM
If I type @a will anybody who has been in the chat at somepoint with the letter a be pinged?
How does that work?
 
@SomeKittens "kinda" :D
Israel as a whole is smaller than most states in the US
 
@SterlingArcher three letter minimum
 
oh ok
So if you do 3 letters, will you ping everybody?
 
I don't think so
I don't know how far back it looks for pingees
 
I remember that there was someone in here with the name of "Nick" and when he was pinged, I got pinged as well.
 
5:32 PM
Yeah, that's a "known issue" (feature)
 
@SterlingArcher IIRC all active users within the last week
 
@SterlingArcher It only pings if there's a unique match
 
ohhhhhh
 
@som
 
5:33 PM
wat
Go away
 
haha woops
see?
 
@ use <-- would ping so many users!
 
s/would/did/
 
We've had Matt McDonald constantly being notified of pings to some Matt
 
5:34 PM
@KendallFrey no because I added the backslash in there
 
\@awa
 
\@rlemon
 
nope
still pings
 
backslashes don't do everything
 
damnit wat I did!
 
5:35 PM
THE PLOT THICKENS
 
@KendallFrey It worked once.... so I thought it would work again... maybe I don't remember exactly ;(
 
75++
 
yea?
I'm famous
what of it
 
5:36 PM
@rlemon ...since? ;p
j/k
 
Somewhere, somewhen, I graphed that
 
Just means you talk too much, so there are more people talking to you as well
 
Jun 25 '13 at 17:26, by rlemon
Einstein, Newton and Pascal are playing hide and go seek.
It's Einstein's turn to count so he covers his eyes and starts counting to ten.
Pascal runs off and hides. Newton draws a one meter by one meter square on the ground in front of Einstein then stands in the middle of it.
Einstein reaches ten and uncovers his eyes. He sees Newton immediately and exclaims "Newton! I found you! You're it!"
Newton smiles and says "You didn't find me, you found a Newton over a square meter. You found Pascal!"
@SomeGuy yea.. well.. SHUT UP!!! :sobs:
 
We talk about php too much in the javascript room chat.stackoverflow.com/search?q=php&user=&room=17
 
5:39 PM
> 71788 messages found
 
i.imgur.com/v8b7gtS.png that's the old graph
 
:O
 
m59
Guys, I noobed out and was using the same mysql connection throughout my application via a service i.e. myService.connection.query()
 
@SomeKittens ayo
 
m59
I now realize what pools are all about, so I'm doing that...
 
5:40 PM
@Zirak Hahaha
 
hewwow
@Zirak I'm number...two?
 
m59
meanwhile, I need to use pool.getConnection and I have a bunch of helper functions riddled with db.connection.query
 
@Whathaveyoutried The basic answer to what you emailed me is "Runnable.com is not what we're working on"
 
heh ok then
 
m59
I guess I should just pass that connection into all of those functions?
Oh, that's not the question I meant to ask.
 
5:42 PM
@m59 What language is this in?
 
m59
node
I meant to ask if I'm thinking right about this:
 
Woah, Firebase just got acquired!
 
m59
say there's a global `var connection` and request 1 comes in:

connection = pool.getConnection();
// request 1 is using this

request 2 comes in and does the same
connection = pool.getConnection() // couldn't this have potentially screwed over request 1?
 
@m59 what's a connection pool for?
 
5:45 PM
16
Q: Add support for .gifv format in chat onebox

AbhishekRecently Imgur announced to drop the legacy GIF format with the new GIFV format. Why GIFV? It's lightweight Being a video format, it also allows more flexibility like not autoplaying or autoloading by default which .gif just disrespects. Oh, and you can pause it too. It supports streaming and ...

 
@SomeKittens Only used it once but I remember it being amazing
 
can somebody tell me the number of +/- votes
 
@m59 JavaScript doesn't run multiple threads in parallel
 
m59
@JanDvorak I more understand why I must use rather than what it really is.
 
@copy yeah, sorry. Read a few messages later
 
5:45 PM
The line can only be run again if the previous execution has finished
 
@darkyen00 22/-6
 
I copied the wrong message Id from the transcript
 
m59
@copy hmm.... I thought the opposite was the exact point of node...
 
@m59 it ensures that connections get reused, but not simultaneously.
 
and it was too late when I noticed
 
5:46 PM
did you guys see the new Back to the Future trailer??
 
m59
So it will always serve one request after another?
 
@m59 No, only things outside of JavaScript code run in parallel (like the time between xhr.open() and xhr.onload)
 
@JanDvorak ouch
 
m59
So, all other architecture issues aside (my code is ugly), globalizing it will actually be decent for now, so I don't have to pass arguments like crazy.
I think I read about someone leaving off a var and it ended up allowing users to log in as someone else
 
Oh yes, that can happen
 
m59
5:49 PM
I see why that is, but I guess that also made me take that idea too far and start adding in other problems.
 
They are still run in the same execution context (just in sequence)
 
m59
that would be because there was some residual information from a previous request, yeah
 
!!tell m59 google cesspool antipattern
 
@m59 The Gods of Wikipedia did not bless us
 
Please learn: [brackets], (parenthesis), {braces}, <chevrons>
 
@darkyen00 *parentheses
 
@JanDvorak Both spellings are correct.
 
Is it important to adopt to a consistent sequence in which I write all HTML attributes like id, class, name etc. for all elements in the markup?
 
@Zirak the former is a singular
 
^
It's like hypothesis and hypotheses.
 
5:53 PM
oh, yes, missed that
 
heh, theses
 
The object pool pattern is a software creational design pattern that uses a set of initialized objects kept ready to use – a "pool" – rather than allocating and destroying them on demand. A client of the pool will request an object from the pool and perform operations on the returned object. When the client has finished, it returns the object to the pool rather than destroying it; this can be done manually or automatically. Object pools are primarily used for performance: in some circumstances, object pools significantly improve performance. Object pools complicate object lifetime, as objec...
 
@darkyen00 In German we have a single word for all of them
 
*those
@copy we do in English too
 
@KendallFrey theses is an actual word, the plural of thesis
 
5:55 PM
@KendallFrey No, you have 4 different words
 
and it sounds exactly like you'd think
 
@SomeKittens I know
@copy ()[]{}<> are all brackets
 
the German is probably bookëndßräketenpünktuatön
 
lol
ß is not at all related to B
 
5:57 PM
!!tell kendallfrey wiki joke
 
@SomeKittens thats longer than most of ours combined
 
@SomeKittens Klammer
 
@KendallFrey check out my chat 'info about' or w/e it is called
 
m59
So, let's just say one user sends some request filled with asynchronous operations and it takes 10 seconds to fulfill it, all users have to wait at least 10 seconds for their responses?
 
5:58 PM
> Please learn: [brackets], (parenthesis), {braces}, <chevrons>
 
@m59 No, only if all operations are synchronous
 
m59
oh heck.
 
been that for a while. darkyen must have been creeping me
 
m59
So, getting back to what I was talking about before - the places where I have that connection are all asynchronous
 
I love you lemon
 
6:00 PM
Brackets are tall punctuation marks used in matched pairs within text, to set apart or interject other text. Used unqualified, brackets refer to different types of brackets in different parts of the world and in different contexts. == History == Chevrons (< >) were the earliest type of bracket to appear in written English. Desiderius Erasmus coined the term lunula to refer to the rounded parentheses (), recalling the shape of the crescent moon. == Terminology and names for various symbols == ( ) — parentheses, brackets (UK, Canada, New Zealand, and Australia), parens, round brackets, so...
 
@m59 Then (and assuming I understood you correctly) it could fail
 
m59
So, the connection I get should have a new variable per request, rather than a single global variable that keeps changing per request
 
yes, but they have more specific names, so we should use them : P
 
m59
Well dangit. I have no idea how to make these helper functions not so awful.
I could move them all into a scope with each request (fail) or pass around the connection like crazy (kinda fail?)
 
@rlemon fuck that, I'm gonna use curly braces for everything
 
6:02 PM
 
m59
I mean, it's going to be like 20 foo(connection)
 
You can make "class"
 
woah
Google bought Firebase, good for them.
 
m59
Yeah, it just needed more forethought. @copy
but I finished 2 months early, lol.
 
27 mins ago, by SomeKittens
Woah, Firebase just got acquired!
beat you to it!
 
6:12 PM
Very cool for them
 
Yeah, they have a great product
 
Isn't firebase the old weird database?
 
Why does form.submit() not trigger form.onsubmit?
 
@FlorianMargaine ....sort of?
 
6:27 PM
@AwalGarg - because addEventHandler?
@AwalGarg - using element.onsomeevent is bad practice
 
What's addEventHandler?
 
Heh, sorry, listener :)
 
Too many languages at once
 
Anyway, it should still trigger the on submit event
 
6:30 PM
@TravisJ but the event listener is still attached, isn't it?
jsfiddle.net/f2epg33b <--see this... no alert is shown.
 
infinite loop on run, nice touch ;)
 
@TravisJ I am not sure how does that happen lol
 
@AwalGarg Where would one check such things?
 
@Zirak ...here?
the official spec maybe
 
Good luck
 
6:34 PM
:(
 
@AwalGarg - Ah I see. According to MDN's onsubmit page, "The submit event is raised when the user clicks a submit button in a form (<input type="submit"/>)."
 
It's all in the spec
 
Is there any advantage to var test = new RegExp(/^[A-Za-z0-9_-]+$/); over a regex literal?
 
@SomeKittens Nope
 
6:35 PM
"You have 9 days to complete this deadline you are already on track to miss because of changes we told you to make. Oh and btw, here's another change that will lose you another day or so"
 
@SomeKittens space
 
welp
 
^ angry Jordan is angry
 
> The form's onsubmit event handler (for example, onsubmit="return false;") will not be triggered when invoking this method from Gecko-based applications. In general, it is not guaranteed to be invoked by HTML user agents.
da hell!
 
@AwalGarg - You can call it with form.onsubmit();
Which seems more of a workaround than anything else
 
m59
6:37 PM
 @BenjaminGruenbaum here's a fun one:

    .then(connection.commitAsync) // error: cannot call method 'commit' of undefined

    .then(function() {
      return connection.commitAsync(); // all good
    })
 
@m59 this value is lost
 
@m59 learn how this works :D
 
m59
Sure, but that's never happened in any other case, why this one?
 
@TravisJ which is what I did... but I don't see the point of onsubmit not triggering on submit...
 
m59
Even stranger, I use the exact same function elsewhere in that manner and it works.
 
6:38 PM
Hello!
 
!!afk smoke
bc fuck this
 
@m59 Understand, don't guess
 
user1596138
@SterlingArcher dont smoke
 
@copy Words to live by... but not words I live by
until shit gets too crazy
 
Only ~797 errors left...
 
6:39 PM
I'm having a JSON response that contains html tags,normally the html tags get rendered normally in the browser with no issues.. how do i ensure that those html tags don't get written in the browser i.e. interpreted and not written
 
lol what was that phrase.. coding by coincidence right?
 
programming by accident
 
@Zirak How do you manage to look at that ugly spec?
 
for example when i'm writing having this array.. var channels = [
{"website": {
"url" : "http://www.cnn.com",
"name": "<strong>CNN</strong>",
"category": "news"
}},
{"website": {
"url" : "http://www.bbcworld.com",
"name": "BBC World",
"category": "news"
}}
]; i wanna make sure that CNN is written in bold
 
use innerHTML to place it?
 
6:44 PM
> submit
Submits the form. It performs the same action as a submit button. (http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-76767676)
The submit buttons triggers that event, and so should the submit method.
@Zirak that spec seems to be inconsistent.
 
It is inconsistent
 
Browsers are terrible
 
There is a post also at the w3 about bug reports related to that
 
@TravisJ are you addressing my problem?
 
6:46 PM
@Zirak so does that mean that older browsers following the older implementation would actually trigger onsubmit?
 
@JoeSaad - Yes. If you use innerHTML it will not execute script if it is in the name.
 
@AwalGarg No. Before, it was inconsistent. The html5 spec (or maybe earlier) defined what to do.
 
@Zirak kk, gotcha.
 
@AwalGarg You still owe me where in the spec it says that submit shouldn't trigger onsubmit
 
@Zirak In theory (the spec), it doesn't. In practice (the fiddle), it does.
 
6:50 PM
 
\o/
<3 her
 
@AwalGarg uh, that doesn't raise any alerts
 
@Zirak yeah, but I expected it to. Because I am invoking the submit method, and the onsubmit should be invoked on submit.
KWIM?
 
@AwalGarg ...no, it shouldn't, the spec says it shouldn't
 
@Zirak click the submit button. Does it show any alert?
 
6:53 PM
That's irrelephant
 
  // called when value changes via code/controller
  ctrl.$formatters.unshift(checkValid);
  // called when value changes in input element
  ctrl.$parsers.unshift(checkValid);
^ Should call checkValid when the model changes, right?
 
@TravisJ ok, thanks!
 
because it isn't right now.
 
I now understand that. But the previous link I posted caused confusion.
 
6:54 PM
Hey guys i have a JavaScript function : function rdb_nameChange(value){} i am trying to call this function like this 'rdb_'+functionName(value) is this possible, its not working for me ?
 
"Submits the form. It performs the same action as a submit button."
 
10 mins ago, by Awal Garg
> submit
Submits the form. It performs the same action as a submit button. (http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-76767676)
 
Stop looking at old specs
9 mins ago, by Zirak
@AwalGarg http://www.w3.org/TR/html5/forms.html#the-form-element
 
@devdar Possible, but not in that manner
 
ic
 
6:55 PM
7 mins ago, by Awal Garg
@Zirak kk, gotcha.
:D
 
Apparently you didn't
 
... ok?
 
@SomeKittens can you advise me how i can call a function by building the function name based in a value
 
meh, nvm
 
sorry wrong linkage
 
6:56 PM
@devdar store the functions in an object... myObj["string" + "otherString"].call(thisArg, value)
 
the other message of yours, I meant to reply to.
@TravisJ Btw, why does that fiddle behave weirdly on page load?
 
@AwalGarg - Yours?
 
(the infinite loop)
@TravisJ yeh
 
Every time it loads it posts, every time it posts it reloads
 
ahh, I didn't realize it reloaded the same page on posts :D
 

« first day (1466 days earlier)      last day (3481 days later) »