« first day (850 days earlier)      last day (4099 days later) » 

2:00 PM
@GNi33 :D
 
you are A) the dog from MIB or B) that adorable baby.
 
@NullPointer huh? you're indian too?
 
You're a null pointer, you are not Indian
 
@NullPointer but you probably know what i mean
 
so anoop...
 
2:01 PM
@GNi33 yaa i am indian .. now migrated to null world :P:P
 
I was just in a test where I was asked a question I knew the answer to because I read it on stackoverflow. successbaby.jpg
 
@GNi33 yo exactly i know here lots of crap . .. :D
@rlemon lol
 
I've been wondering for some time: is there any reason Indians seem to prefer the word "query" over "question" or other synonyms?
Maybe it's the hidden politeness? Queries are neutral, questions infer disagreement
 
@Zirak It's english
Since the english colonized India at a certain point, they favor favour english spelling and tendencies
 
@Zirak because in colleges every where they use like .. any query's ?
 
2:06 PM
g'mornin
 
@Neil oh, British.
@NullPointer You were taught in English?
 
@Neil ( ¬‿¬)
 
@Zirak noop .. in marwari ... but in college we start abusing/using English
 
This is a list of dialects of the English language. Dialects are linguistic varieties which differ in pronunciation, vocabulary and grammar from each other and from Standard English (which is itself a dialect). Dialects can be usefully defined as "sub-forms of languages which are, in general, mutually comprehensible". British linguists distinguish dialect from accent, which refers only to pronunciation. Thus, any educated English speaker can use the vocabulary and grammar of Standard English, but different speakers use their own local words for everyday objects or actions, regional accen...
 
I assumed you went to college in India, that's why I found it odd
 
2:08 PM
My god - can't we just have "English"??
 
@Zirak in part i am living we go college for just too reason 1 deposit fee and 2 for exam ....rest of time we do study at home
 
In canada we go to college to meet chicks and get wasted.
 
In the US we go to college to accumulate debt
 
we goto university to befriend Asians and hope their fathers own a business so we can get jobs with them after our degrees.
 
2:10 PM
@SomeKittens That and to meet chicks and get wasted
 
A Canadian walks into a bar. He vehemently apologizes.
 
@NullPointer In the words of Ulysses S. Grant, wat!?
 
What is the fastest way to get the xml-string respresentaion of a node? Childnodes are not needed...
 
posted on February 12, 2013

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) {} Only 10 days to go on The Science Kickstarter! And speaking of sc

 
@rlemon bad luck here .. no chicks
 
2:14 PM
@philipp System.out.println(var $item);
 
@AnoopSharma also- albeit your site is not slow for me - the social links on the main page for EVERY post is wrong - some of these are iframes and they all host their images from their respected sites - so you're now loading external resources you don't own or control
 
@Zirak Probably just something they learn. Like the tendency to call people "sir"
 
loading like 40 iframes is stupid just to see how many fucking tweets your posts are getting on the main page.
 
sir...i hv query..halp pls
 
@OctavianDamiean sorry ?
 
2:14 PM
@SomeKittens i mean in js
 
@NullPointer Where in India are you?
 
@AmaanCheval Bikaner , Rajasthan
 
@rlemon it is external plugin.. ans shared thing is thier own property
 
:( you missed the point
 
@AmaanCheval or like would you mind help me sir ?
 
2:15 PM
YOUR site - loads ~80 social links - assume thats 40 iframes and 80+ external lookups
This is wrong. Don't do this.
 
I would like to travers the DOM and get the XMLString of each element
 
@NullPointer My brain wasn't able to parse your message.
 
0
Q: Should I use server-side controllers for a single page javascript app?

Rocket04I'm working on a RIA that's a single page app, once you login you are on one page and javascript does the rest (using Ext-JS, though that part doesn't really matter). Right now I have things setup so my ajax requests are all done to one central ajax.php file, which takes care of re-routing them t...

 
woah, a little "share-overflow" going on on that site
 
@philipp You show no effort of trying, nor do you bring examples or why. Why should we help you?
@GNi33 iseewhatyoudidthar.jpg
 
2:16 PM
@GNi33 amirite?
 
@OctavianDamiean come on man use dom parser .. .. and stop using regx :P
 
did you hear about "the more share-buttons you got on your page, the unlikelier it gets that people actually share stuff"-phenomenon?
^ not really sure if that was proper english, so sorry
 
Is that actually studied?
 
Share buttons should be on article pages - not the main page.
 
@NullPointer Any parser would instantly try to jump off a very tall building.
 
2:18 PM
i think i read about a study on that case, yeah, but i can't be sure
 
@SomeKittens well I know about the XMLSerializer, and the »by hand techniques« of turning elements into a string
 
@AnoopSharma we're not just picking at the site to be dicks. This is all constructive feedback.
 
@GNi33 It's true. I tend to just close such pages.
 
I just thought that somebody knows a good trick here
 
@philipp what language?
 
2:19 PM
@philipp traverse the dom and build the strings :/
^ how I have done it in the past.
 
@AnoopSharma at least not everyone. I like being a dick.
 
it is in javascript
 
What do you mean an xml string of a node?
 
@AnoopSharma enable compression , do caching
 
2:20 PM
Yea, do you mean the name of the node?
 
@AnoopSharma Liar. You said it's a ppt; I see a pdf.
 
if I have a node like <p attr="">...childs here </p>
 
hahaa
 
than I would like to have <p attr="">
only
 
i converted it dear :)
 
2:20 PM
@philipp what are you trying to accomplish
 
no childs
 
oh, it's not hard to construct that
 
> It is not a browser DOM
 
Actually...
 
huh?
 
2:21 PM
@AnoopSharma also that share plugin you use produces a fuck load of invalid html
 
Wait, what?
 
it's not a good plugin
 
which 1 rlemon..?
 
@BenjaminGruenbaum I am trying to find nodes matching a regexp pattern
 
> It was and still being developed by John Resig
not really, but okay
 
2:22 PM
The social media link crap you are using
 
@GNI33 thanks for accepting :)
 
invalid attributes all over the place
 
Here's the algorithm: Concatenate < and elem.tagName, go over elem.attributes and concat whatever's there (it's an attribute=>value map), concatenate >, you're done.
 
@philipp people here are going to hate me, but why not use jQuery? it has a built in :regex selector
 
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
If you're using !important; you're doing something wrong.
 
2:23 PM
^^ that
 
don't have the time to look into what.. just saying.
 
@AnoopSharma What's the problem with the fact that js is weakly typed, prototype-based, which can be embedded?
 
@BenjaminGruenbaum I wonna do it node by node, to be able to skip
 
Your second slide is meh
 
@AnoopSharma can you write that all stuff in 20 pages ....
 
2:24 PM
and I thought there might be a trick using the xmlserializer
 
@philipp there is a selector that lets you choose all the nodes that match a given regex
 
Your 4th slice is an ad hominem
 
it's a one liner
 
Also, jquery is not lightweight
 
2:24 PM
actually It is for very beginner
 
My target was to for all guys.. I know you are smarter one
 
So it's good to lie to them early
 
@rlemon s/wrong/quickly/
 
2:25 PM
They're beginners, they won't know
 
what?
 
@Zirak fine, so not jQuery, just sizzle :P
 
This panel makes me dislike you. fucking hate you!
 
2:25 PM
@rlemon why are any of those problems?
 
@BenjaminGruenbaum eh?
 
I was developed in 1982
 
they are not
 
thats not a problem!
 
I was raging on Anoop
 
2:26 PM
it is not a browser dom? huh?
 
Seriously!?
 
so, thanks for help.... bye
 
my God? to many complaints
 
This panel is so incredibly wrong... I just don't know..
 
1.4.4?
 
2:27 PM
jQuery 1.4.4 is best jQuery, period. All other jQuery were coded by little girls
 
"The latest version is 1.8.2. Let me hold your hand as you download a file, and then reference you to a seriously outdated one"
 
yeah if you're not on 1.4.4 you're doing it wrong
 
@AnoopSharma welcome to showing a developer community a slideshow on jQuery
 
@BenjaminGruenbaum jQuery since jQuery exists is coded by designers (-» little girls)
 
anyone want to check out my slide show on game maker?
shows devs how to make AAA games using drag and drop game maker
 
2:27 PM
The "full" name of $ is not JQuery, it's jQuery (lowercase j)
 
so leet!
 
@Loktar I want you to get off your ass and make your game framework so I can stand on your shoulders and make something cool.
 
@rlemon bleh yeah
 
I think .. You all are abngry with me.. guys
 
2:28 PM
I dont even like it anymore
 
jQuery version != 1.4.4 is a bloated overused library, jQuery 1.4.4 on the other hand, it's awesome, did you know it had a .code() functions so all us designers would not have to understand what we are doing?
 
@Loktar yeah, do it!
 
@Zirak little update now its 1.9
 
@AnoopSharma not at all.
 
2:28 PM
Yes because you're wrong and claim bullshit
 
actually I creTED THE SAME then only.. ;)
 
we're criticizing your work. drink it in.
 
now Ill be working on my js1k entry :P
@AnoopSharma I don't hate you bro. Just jQuery evangelism.
 
Anyway, it's 5 in the afternoon here so I'm going to drink beer, see ya :)
 
if you're going to showcase it - just do it right.
 
2:29 PM
You don't mention that "jquery selectors" are really just css selectors
 
I think they added some
 
sum += (+this.innerHTML);
-_-
...I don't even...
 
Convert to number, and add to a sum. Why not?
 
innerHTML was wrong until HTML5
now it's added to the standard, though
 
You don't cache calls, you promote the horrible long chaining practice, you promote direct html manipulation, no mentions of the difference between attr and prop and why they're usually useless...
 
2:32 PM
you guys mention the <main> element yet?
 
@JanDvorak Because there's a difference between text and html!
 
that makes me happy. Considering I would do <div id="main"> usually
 
hmm @Loktar thanks
 
You still use bind, even though IIRC on is now the preferred method
 
Zirak is not happy
 
2:34 PM
nobody liked my presentation :'(
 
@Zirak Because all html is text, and all text is html?
 
hey @AnoopSharma you're brave at least
 
@Loktar nice. I often <section class="main or page or something">
 
I dont like presenting :P
 
@Loktar thanks
 
2:35 PM
@AnoopSharma crying won't help here. Zirak like to beat people when they are already lying on the floor
 
And even use live and die, which AFAIK were murdered
 
@Neil not all text is HTML. Most Brainfuck programs, for example, aren't.
 
@Neil Because the DOM is not html. js should meddle with the DOM, not with html.
2
 
@AnoopSharma don't cry - just take everything we've said and correct the presentation - be thankful a lot of people who know these things saw it first.
 
@Zirak here i will oppose u
 
2:35 PM
Then you're wrong here, too
 
Live and die is best for newly created dom
 
live is deprecated
2
 
oh, that. I don't care about that.
 
my god
 
have you ever seen inside jquery API
 
2:36 PM
I just know that they're both deprecated.
 
live is the most horrible function jQuery made
 
@JanDvorak Might be mistaken, but i'm pretty sure you could get some sort of output for any "html" text, including brainfuck programs
 
live is slow - does not chain - cannot preventDefault
there is more
.delegate (<1.8) then .on
 
no.. I hope you guys are either only trying me to feel bad
 
@Neil sure, but it won't validate and it might be browser-dependent.
 
2:36 PM
@Zirak Of course you're right, just making an observation on the looseness of html
 
or i cant get u
 
@JanDvorak Right, but that was my point. Html is all about guidelines, and not enough about rules
 
I'm not trying to make you feel bad...did you post it so we can silently ignore what you did wrong, or so we can tell you what you did wrong?
 
is there a way to report bugs in javascript that I assume I have found?
 
2:38 PM
"Guys.. Can I get some feedback on this thingy here"
.. feedback first and foremost outlines the mistakes and misinformation like .. it should..
"you guys are meanies... Why does everyone hate me... p.s. visit dumbsearch.com"
 
yes ofcourse tell me..
 
@TemporaryNickName Yes. Find a mirror. Repeat them there. I'll put money on the idea that the problem is on your side.
 
I did. And I'm not done yet.
 
every developer is a learner
 
@TemporaryNickName There're no bugs in js per-se, only bugs in js engines
 
2:38 PM
You mean, bugs in EcmaScript itself? I doubt there is a bug there.
 
@Zirak Neither. The point of a joke is usually to laugh
 
Please comment on the post on that blog..
 
@AnoopSharma I've been telling you this the entire time - we're not picking on you - we're critiquing your work. write this all down and go fix it. :P
 
idk it just gives me out of memory error and pretty much all browser crashes
 
so that i can cafre about the same.. even that is bad for me
 
2:39 PM
but i don't think it should have any problem
ok here's the code
 
while(1);
 
@rlemon <Waiting for loop to finish>
 
                     v=b=[];
			console.log(v.length); //now it's 0
			for(i=0;i<21+v.length;i++){
				b.push([Math.random()*10,Math.random()*10]);
			}
			console.log(b);  //if it doesn't crash it contains 21 [rand, rand]
			console.log(v);  //if it doesn't crash it contains 21 [rand, rand]
 
while(1){a=[a]} should throw an OOM
 
v.length is what it causes the error
 
2:41 PM
@TemporaryNickName v grows when you push data into b. Guess why
 
because it's referencing b due to []?
I'm not super sure
 
You create a new array that you then assign to both variables. You likely want b=[]; v=[]
 
ye now I have it that way
 
changing v=b=[] to v=[];b=[]; fixes it
aw, beaten to it
 
@AnoopSharma Mouhahahahaha. Yes, we saw inside "jQuery API" and it does not exist anymore.
You should be quoted on this one.
 
2:45 PM
live?
 
live is deprecated
So it will disapear in a few time, I hope they did it in the 1.9
 
@dievardump yeah, 1.9 ditched live, and 2.0 ditched IE8 support
 
Overview jQuery Migrate Plugin Changes of Note in jQuery 1.9 .toggle(function, function, … ) removed jQuery.browser() removed .live() removed .die() removed jQuery.sub() removed .add() .addBack( selector ) replaces .andSelf() .after(), .before(), and .replaceWith() with disconnected nodes .appendTo, .insertBefore, .insertAfter, and .replaceAll AJAX events
 
yes@dievardump that I have n't updated..
Thanks
reason of miss is I created it a while ago
 
omg
 
2:47 PM
I can update same .. Thanks much
 
So don't ask feedback on outdated things
And deplore our tactness when we do it
 
see .. I mentioned version in beginning
 
@AnoopSharma lol....
 
:)
But I really accept your point.. and apologies for the same
 
@AnoopSharma Query: Why write an article to learn an out dated library then?
 
2:49 PM
!!s/library/library version
 
@JanDvorak Y U NO MAEK SENSE!? Could not understand s/library/library version
 
see we can not directly ignore past things
 
if I was dumb enough to really look at my 2yr old code, I would slap me in the face with a rotten trout
 
they are still being used my places
 
Shhhhh... They'll know.
 
2:50 PM
O_O
:cowers in fear:
 
@AnoopSharma jQuery team itself recognized .live is bad so suggests .delegate instead.
 
why does jsfiddle's performance suck so hard
 
so you are still wrong. <the bot has spoken>
 
@AnoopSharma where is your place?
 
hmm Will update the same...
 
*many
I was referring many places
 
So don't deal with that kind of dev
 
hmm Thanks for info :)
 
Problem with web development today is that there are more bad resources for learning than good. I wish the ratio of bad to good was less... but it seems for every good article there are ~100 bad ones you need to ignore / identify and sift through.
 
2:56 PM
boy I have too much time
 
so for someone who doesn't know where to start - it is VERY easy to get started on the wrong foot.
 
@rlemon: did u cceeee da amazzzing cloudzz !
 
yea and I acknowledged my game loss to my office mates then silently muttered a "fuck jAndy" and returned to my work.
 
like many start with w3schools.com
 
2:59 PM
lol
 
guys leaving for the day.. I will try to update the same ASAP. and let you guys know... may be from this room..Keep in touch...
Thanks for marking Defects..
:)
 

« first day (850 days earlier)      last day (4099 days later) »