« first day (857 days earlier)      last day (4091 days later) » 

@Darkyen A technology/project used by your graphic card which caused problems.
 
@OctavianDamiean mkay
i will be able to get PSX2
to work on linux so shouldn't be a problem
playing games [evin-grin]
 
wo.....thank you very much @dievardump
off will kill forever the handler...right ?
 
yep.
 
5:02 PM
no way for temp killing...right ?
suspending...
 
well you can add something in the handler but I wouldn't consider that
eventHandler should only be here when they can handle something
 
can e on the first function can talk to the e on the second function ?
 
when you listen to mousedown and then mouseup, you should add the mouseup handler in the mousedown handler
They could, you always can, but shouldn't. What are you trying to do?
 
some situation I have..... I have a scroll event and another animate event , and the animate triggers the scroll event
so i need that when Im animating , "tell the scroll no to trigger"
 
You know, wbond's on-site package search is so useless ...
 
5:05 PM
@Loktar look at the video I posted, you'll see how powerfull this thing is
 
Yeah thats what I was watching
really badass
 
@RoyiNamir So you should just add and delete the event handler.
 
just curious right, now, how does hsmaker.com do what it does?
cURL on the server, push out the markup and inject their js-file?
 
So, @dievardump and @Loktar. Have you heard about emmet.io?
 
yes
I was using ZenCoding in Notepad++
I did a MooTools plugin to convert ZenCoding syntax into DOM Elements
(Zen Coding is now Emmet)
 
5:11 PM
Zen Coding on steroids
 
I have it on my SublimeText though
But I do not code that much HTML anymore
 
well, it's really handy for css too
 
My company use sass
and I'm here since one week, so i did not code anything else than JavaScript
 
i do too
 
@dievardump We're using Less. :)
 
5:20 PM
@OctavianDamiean Assuming they didn't do it manually through whois, yes
They couldn't because the address I received the mail on isn't connected to my domain in any way
 
@copy It was a sophisticated scammer.
 
Hello all.
 
Oh, that's interesting. Wait, you don't mean the GMail address right?
 
No, it was another one
 
Then it's odd.
 
5:24 PM
I guess they hacked any server where I had an account with that mail and my name
 
You should comment all your code
 
look at the canPlayType - method and its return values
 
5:39 PM
canPlayType is not so good
 
you don't say? :D
 
Sri
hi guyz...Could anyone help me ..... I need to find the element inside the dialog box in javascript?
 
5 consecutive comments of OP on an answer of mine... holy
 
@GNi33 ?
@Sri thats nice...
@DieVers hi
 
Sri
5:53 PM
@Neal my problem is to find the element before open the dialog box...
 
@SomeKittens did you replied to me on facebook ?
 
@GNi33 lol
@Sri ....
 
Sri
@Neil Yes neil please help me.. am a newbie
 
Who is this Neil? I don't see a Neil in the room.
 
It's so disappointing when I click "Real Time" in Google Analytics, and the number is 0.
 
Sri
6:02 PM
@Neal
 
@KendallFrey niether do I... @Neil -- are you here? I SUMMON THEE
 
Sri
@Neal Sorry
 
@Sri no your not
 
!!s/your/you're/
 
@RyanKinal @Sri no you're not (source)
 
6:04 PM
baaah!
 
Sri
@Neal will you please help me to my problem in javascript?
 
s/to my/to solve my/
 
(he is a RoR gamer)
 
Sri
Ok Thanks guys for your help... (@Ryankinal @dievardump @neil)
 
@Sri What have you tried? What does your code look like?
 
Sri
6:10 PM
var funding_text_box = document.getElementById('enr_rds_funding_source_Source_name');

   $('.funding_save').on('ajax:success', function() {
    if (funding_text_box.value == "" ) {
      alert('hello');
    }
  });
 
Do you have a public demo available? If not, could it be reproduced in a JSBin?
 
Google has reduced account hijacking by 99.7% in last few years: http://goo.gl/exEih But check the best practices at bottom of the post!
Just for copy :D
 
Sri
its a ruby on rails proj.. i dont know how to add this in fiddle
 
well the JavaScript and the html?
 
Sri
thats the javascript
 
6:11 PM
enr_rds_funding_source_Source_name
 
@Sri So... you need to find an element in the dialog?
 
Sri
yeah
 
Which element?
 
Sri
funding_text_box
 
Is that the ID? The class? The tag name? A data attribute?
 
Sri
6:11 PM
thats the id
 
Are you sure of the id: enr_rds_funding_source_Source_name
 
Sri
yeah tats the one
am sure
i tried in console... its working
but if i add this into external js file... its not working
 
$('#funding_text_box') or document.getElementById('funding_text_box')
 
Sri
the textbox has an id of funding_text_box
 
@Sri is your external file added at the end of the html?
 
Sri
6:13 PM
nope...
 
(this is a bad practice to not put your JavaScript at the end of the HTML, after the closing body tag)
Is you JavaScript executed after the DOM has finish loading?
 
Show code.
 
He showed code
 
Sri
$(function() {
  if ($('html.enr_rds_scenario_modellings').length == 0) return;

  var funding_text_box = document.getElementById('enr_rds_funding_source_Source_name');

   $('.funding_save').on('ajax:success', function() {
    if (funding_text_box.value == "" ) {
      alert('hello');
    }
  });

});
 
4 mins ago, by Sri
var funding_text_box = document.getElementById('enr_rds_funding_source_Source_name');

   $('.funding_save').on('ajax:success', function() {
    if (funding_text_box.value == "" ) {
      alert('hello');
    }
  });
 
Sri
6:14 PM
this is my external js file
 
$('html.enr_rds_scenario_modellings')
 
Sri
thats the html class name..
 
Are you using jQuery?
 
Sri
yeah
 
Are you sure the HTML have this class?
 
Sri
6:15 PM
actuall this class is inside the dialog box..
i have a link to open the dialog box in this html
so when i opened the dialog box, it would work...
 
what?
 
If you're using jQuery use api.jquery.com/hasClass instead of "html.someClass".legnth blah blah.
@Sri If you're checking for a class on the <html> tag why are we talking about a dialog?
 
Oh, hey. It's Incognito. Welcome :-)
 
---> Side question! Hey anyone have some examples of Socket library that does XHR fallback and how it's implemented? Other than socket.io that is.
 
Nope :-P
 
Sri
6:19 PM
yeah i checked @incognito. i
 
@Sri My question is more about....
What does this selector mean? html.blah ?
A dialog box will never be on the html element, it's irrelevant to that selector.
 
Sri
i have lot of pages.... and the js file would work only to the specified html page only
yeah .... correct. it says null when i try to find the textbox
 
If I were writing an app, I'd avoid trying to detect what page loaded the script and acting strangely based on that. I would have a generic base that's applicable to nearly all pages, and then page-specific code tied to that page.
 
@Sri add it only to the specified page...
 
You cannot find a textbox with html.class
html.class means look for the html element with a class called class.
 
Sri
6:22 PM
okie...
 
Later you're using getElementById. If you want code to be clear and easy to work with it's best to try and be consistent with what you're doing.
 
Sri
@Incognito .. Thank you so much
 
Did you solve your problem?
 
Nginx now supports Websockets
 
@dievardump Saw this, I might actually end up having to use this interestingly enough.
 
6:30 PM
Well I would still use node.js for that
but ok
 
It's useful because nginx does load balancing.
Thus I can spread my socket load over a cluster of servers easily.
And sometimes you're using a non-node back-end for things, which could make sense in situations where you're doing really heavy processing, the team doesn't want to use it, or something else.
I'm really excited for es6 to hit V8, because the memory footprint of node apps will shrink quite a bit.
 
posted on February 19, 2013

I posted about PeerJS recently, which is a nice API on top of WebRTC for peer-to-peer networking of arbitrary data.  However, one of the main selling points for WebRTC is its voice and video calling support.  Holla is a JavaScript library that aims to make working with WebRTC’s voice and video calling APIs much easier.  WebRTCs APIs are pretty low level and not something everyone wants to

 
I tried to call Incognito
Didn't work
 
Call?
@ping ?
 
6:40 PM
Ooo, I'm really excited for webrtc. But I blocked feeds.
 
Web RTC means I can deploy apps and spy on overly trusting users in their homes. Mauhahahaha.
 
@dievardump node.js handles the business part of it. But for example, I must have ws on another port than 80 because nginx takes this port. With this, I can have my ws on port 80 too in a subdomain
 
So I'm using WAMP websocket protocol, I just want to find a nice fallback over XHR, and I'm not sure if I need to create a queue or something on the server side to cope with the time between requests.
I'm also not sure how trusting I am of example fallback code such as github.com/ffdead/jquery-graceful-websocket/blob/master/…
 
6:48 PM
@Incognito Hahahaha
 
It simply doesn't look like it deals with enough.
 
@FlorianMargaine Inception :o
 
@FlorianMargaine omg
 
Woah, when did const happen?
 
6:56 PM
@FlorianMargaine MAH BRAIN
 
@Incognito When Mozilla said so and no one else agreed.... haha
well google agreed...
 
did Nitot take 30 pounds in the last 2 years?
 
Someone know in google canary where can i change it to internet explorer ?
 
@Loktar what did I miss?
 
In overide
 
7:05 PM
@rlemon john resig.
and everyone magically loving jQuery when he was here :P
 
and?
bah
 
@FlorianMargaine you have a funny voice mail
 
> Oh hey John, just the other day I was like OMFG where would I be w/o jQuery!
^ lol quite the exaggeration :P
but still it was odd, I figured someone would troll him
no one did
 
I would have said: "Good job! but can you offer some actual training as part of the jQuery sloth. It seems the two are mutually exclusive from a designer point of view. This makes my life incredibly frustrating more and more every day your abstraction library et al. remain popular as a quick solution when people don't know the language or technologies in play. (the end) "
 
@JohnResig ^
 
7:08 PM
it's not his responsibility to do this; however you must admit more bad code exists today because it is easier to write now than ever before.
 
in fairness he just stopped in to say hey it seemed
 
aaaand i'm off to get some washers ;) brb again.
 
@OctavianDamiean you're still not answering my calls. :(
 
see ya
 
@rlemon while he is not only one to blame, he is still partially responsible. The jquery docs are filled with bad practices and awful examples.
and having a review process for jquery plugins would have been a major improvement too
 
7:15 PM
A horse walks into a bar. The bartender asks, "Why the long face?" The horse, incapable of understanding English, shits on the floor and leaves
 
@SOChatBot FUCK YOU BOT. That's like the 10th time I've read that joke.
!!/die
 
Also, think of the selectors that aren't part of CSS but exist in jquery
 
@twiz Registered; need 1 more to execute
 
!!/die
 
I SAID DIE
 
7:17 PM
@KendallFrey Registered; need 0 more to execute
 
!!/die die die
 
@KendallFrey Already registered; still need 0 more
 
0
Q: Value of frameworks for mobile web applications

BenRLonger version, see below for the TL;DR As a developer with a strong background in the development of "classic" web applications I have been thinking about mobile web application architectures. One question that I cannot really seem to answer is: why do you need a framework like Sencha Touch (ma...

 
seriously... @Loktar the bot should maybe take it easy on the 5 jokes it repeats all day long...
errry I mean @Zirak
 
lol I was like wtf?
 
7:20 PM
well... you both have crazy names... haha
I just realized that I seem to know people in this chat more by their picture than their name
 
yeah, thats how I am as well
when people change thier pic it messes me up for a bit
 
runs to change picture
 
man googles icon is freaking me out today
when I search for something, the icon looks like butt
^ looks SO bad, one of the worse I've ever seen
 
I don't see that icon
 
@tereško I agree here.
 
7:23 PM
Hmm, maybe it depends on the local timezone
 
man it looks like a little kid resized a full image.
 
@AmaanCheval Do you live in tomorrow? haha
 
Well, I'm The Doctor
It's 12:54 AM here
 
So I click on a planet and I see two major things wrong here - 1 is the messed up icon (appearing twice is not the other.. but close)
Clicking on the google doodle about another person should not list the google doodle as the #1 result google!
 
yeah lol thats pretty crazy
 
7:26 PM
Yo dawg, heard you like google and Nicolaus so I put google with Nicolaus in your google
 
I just can't get over how shitty the icon looks
I mean come on.. this is Google
so... the other dev is leaving
/me dances
the female dev that works here
/me DANCES SO HARD
 
some of the quickest editing i've ever done.
 
^ that even looks better than their icon
 
mind you it was just finding the head and taking a screenie.. but GIMP takes so long to load sometimes.
 
I used gimp once
so I could make fun of it while using photoshop
 
7:31 PM
@rlemon That'll be my new google background xD
 
custom backgrounds are no longer available to me at least
 
oh really
 
yeah they are phasing a lot of that out
 
Oh, yeah, me neither
 
@Loktar I like GIMP better for some, photoshop for others.
 
7:32 PM
FFFFFFFFFFUUUUUUUUUU
 
heh my wife uses igoogle.. which is going away in Dec
 
December? Like 10 months from now?
 
There is nothing like free..
 
@rlemon lol yeah im just messing with you, I have never used gimp
@AmaanCheval yeah
 
why the hell I see my bg then? I should probably clear my cache...
 
7:32 PM
I just ponied up and paid for PS
 
@DJDavid98 Are you on Google.com or on a regional TLD?
 
@Loktar it's almost exactly like photoshop but missing some features. did I mention it's free?
 
and then realized..... my kids could have received discount student prices
 
@AmaanCheval google.hu*
 
@Loktar Hahaha
 
7:33 PM
everything I do in here I do in GIMP
 
@DJDavid98 That's probably why
 
@rlemon well.. a long time ago I knew a guy who used photoshop for years, started in 8th grade or so, like 1996..
and never paid for it
 
@AmaanCheval I just cleared chache and the option is gone.
 
How'd he use it?
 
but then he changed his colors, and said thou must pay!
@AmaanCheval photoshop has always been an easy crack
 
7:34 PM
@rlemon I would be so happy if I went to google and saw that...
 
Just wanted to be sure that's what you meant :P
 
Adobe has a sweet system now
 
hmmm... interesting... thisisgoogle.com
 
you can pay monthly
they are doing software as a service for many of their products
like $20/month
 
@Loktar definitely one of the best idea I've seen from companies trying to avoid piracy.
 
7:36 PM
@twiz yeah
Their products have to be up there in terms of top pirated products ever
 
Except I just realized you have to get like a year long plan...
 
Wait no
The first link is the main offering
Month to month pricing for photoshop is $30
 
Adobe is awesome, makes me select the regional site instead of the US one, and then it loads the same exact text untranslated
 
Probably for pricing changes
 
I don't actually understand what the "cloud" part of that is though...
unless they just let you save shit on their servers...
 
7:41 PM
yeah me neither.. maybe its for team collab or something, saving files ect.?
 
@BadgerGirl I couldn't hear your call because it was past 20:00, which is the time my cell phone goes into silent mode automatically. I was probably in another room or something and didn't see it ringing.
 
I mean its not like premiere pro is html5 app or something. haha
 
yeah I wonder how that works actually
I imagine its a forever time limited trial
30 days until you pay or whatever with full functionality
 
@Loktar yea, thats what I assume, but they make its sound like its cooler than it is ha
 
yeah lol. I just like the pricing model. I considered doing that.. but Im more of the type who likes to own rather than rent.
I think I paid 650-700 for photoshop
but cs7 will be like 200 now, and the vs's after since I only have to buy the upgrades
 
7:43 PM
@OctavianDamiean what's your excuse now?
 
None, it's past 20:00, told you already.
There's a reason I don't want to hear the phone past 20:00. :D
 
I get jealous when he doesn't devote 100% of his attention to me
 
@Loktar that's a years worth of "creative cloud"
 
@BadgerGirl Don't worry though, my boss has the same problem sometimes.
 
Bastards always cutting into my Octavi-time.
 
7:47 PM
It sounds like its a decent deal if you use a lot of adobe products, but kind of worthless if you just want photoshop
 
@rlemon It's alright bro, I'll be back tickling your belly in a minute.
 
I was just wondering if @ is valid as a html id?
 
@OctavianDamiean Ok. :(
 
@DJDavid98 no
 
@twiz yeah, did you see the 2nd link I posted?
its just photoshop, for $30 a month
 
7:48 PM
@rlemon Thanks
 
They offer the products individually, and you can pay month to month
 
@BadgerGirl 08:30 - 20:00 GMT+1
 
if you pay for a year upfront its 20/month
 
All
 
7:48 PM
Hi
@user2060534
 
> The ID and NAME elements must start with a letter i.e. upper case A to Z or lower case a to z; a number is not allowed. After the first letter any number of letters (a to z, A to Z), digits (0 to 9), hyphens (-), underscores (_), colons (:) and periods (.) are allowed.
 
@copy remind me next time to call him earlier.
 
however periods MAY cause issues with popular libraries and/or css engines
 
Okay
 
Could you suggest good beginner book on Javascript
?
 
7:49 PM
Javascript the brawl, fatality edition.
 
@Loktar yea. That's about the same as buying photoshop, since you probably wouldn't buy an upgrade for a few years.
 
yeah
 
@BadgerGirl You gonna setup a conference call? Like a telephone threesome? Hell yea, that sounds fun.
 
@user2060534 Javascript: The good parts, Javascript: The definitive guide.
 
@Loktar I actually googled that. I was really hoping it was an actual book.
 
7:50 PM
one is a quick read. other is a nice reference and a long dull read.
 
haha @twiz that would be badass
 
Yeah, it was all set up 10 minutes ago. And we would have had it, if you had answered :(
 
> We use terminology from Mortal Kombat to teach Javascript
 
@rlemon The Good Parts, with GIANT grain of salt
 
> We use button mashing to emulate the frustration you will get from dealing with abstraction library users.
 
7:51 PM
> MY favorite book ever! I did 3 fatalities, and defeated my offices Scorpion using this book! - JS Mastah
 
We use johnresig to teach javascript
 
@twiz that's the rule of thumb for most of the books
 
> Why use jQuery when you can use other peoples body parts! - That office psycho everyone has
 
@tereško good point.
the definitive guide is pretty definitive though... ha
 
> up up down down left right left right b a ~ B.E
 
7:52 PM
lol
 
on lisp -- a hugd grain of salt, considering that paul graham doesn't like common lisp
 
is there any ide to learn the javascript, and test its features with tiny codes?
 
@user2060534 khanacademy.org/cs
 
.. .then again , almost every php book should come which free 1kg bag of salt .. i suspect same is true for javascript books
 
@BadgerGirl Just realized, you're a Latina. huh, interesting.
 
@OctavianDamiean ?
 
wonders how creepy he has to get to scare @BadgerGirl off
@copy thehe
 
stop picking on channel's official mascot - bondage girl
 
I c wut u did thear
 
7:57 PM
^ yeah Badger girl is cool!
 
I think you misunderstood me, to scare her off from calling me mid-night 'n stuff. :D
 
no, i am asking where tu run the code?
**to
 
@OctavianDamiean ahh lol
 
That won't scare me off.
 
anybody here work with KineticJS?
 
7:58 PM
Woah its John Stewart!
 
@BadgerGirl Oh honey, I didn't even start being creepy yet! :D
 
yeah im famous
 
@stewbydoo I like you already based on your win8 article (from your blog I just checked out)
 
@user2060534 install node.js on your box - that will let you run/execute JS from command line
then you can link it up with your IDE
any IDE for that matter
 
unfortunately I have not worked with KineticJS
 
7:59 PM
@OctavianDamiean Try harder.
 
I love win8
 
Yeah same here, it gets a bad rap imo from people who either haven't used it, or aren't as tech savvy as they claim
 
@BadgerGirl Can't slip into G-Rated stuff in here hah
 

« first day (857 days earlier)      last day (4091 days later) »