« first day (768 days earlier)      last day (4195 days later) » 

3:00 PM
@ErikReppen yeah i miss auto-complete for js too...
 
autocomplete is nice, but then you end up relying on it and when it's gone you're all like "shit what was the syntax for that again...."
but then iirc ST2 has a auto-complete plugin no?
!!/google sublime text 2 auto complete
 
@rlemon That's PHP. You can do anything, but it takes you 5 minutes to find the right tool, and when you use it, it's the wrong one anyway. So many injuries.
 
Not sure. I never let go of Scite.
 
@KendallFrey PHP is the toolbox with every tool you almost need.
 
3:03 PM
Or is the box with every almost-tool?
 
no, every tool you almost need.
 
Fair enough. I've only done a little. Not sure what the turnoff factor for me is TBH. Just seems kinda random I guess.
 
"hrmm, that function or method does 90% of what I want it too do, and 10% of some crazy shit, so if I combine it with these four other methods and these static flags.... fuck... wait.... what? why are there 19 methods that do the same thing but named differently?"
 
Yeah, that basically.
 
@FlorianMargaine. Yesterday I was implementing some event triggering stuff in Backbone.js and have decided to implement an Event Aggregator, something along the lines of:
var eventAggregator = _.extend({}, Backbone.Events);
 
3:07 PM
In Soviet JS, crazy shit method is you.
What I don't get in other languages is why people feel the need to bury everything in so many god damn nested directories? Projects within projects? Okay. But within a project why tf do I jump through 8 directories to get to actual files?
 
@FlorianMargaine I'm having trouble doing this:
rootView.eventAggregator.trigger('someEvent');
inside a child view
How does requirejs create a modules namespace when the module is returning an unnamed object literal?
 
it doesn't "create a namespace", it returns an object literal. You then call this module whatever you want by specifying the file
 
@FlorianMargaine Yes, so in this case, the file is called AppView and I can log AppView in the console when running the app, but can't seem to do AppView.eventAggregator when I define eventAggregator as a member of AppView?
 
1 message moved to recycle bin
Please re-post and format your code this time
before hitting enter/send hit CTRL+K or the 'fixed font' button
 
@RJBrill just create a module named "EventEmitter" that you require in both the parent and the children
 
@rlemon, oops, pressed fixed font and tried CTRL+K, any other way of indenting?
 
you cannot do them both.
1 message moved to recycle bin
 
you can use the up arrow to edit your message
 
that only works on messages without hard line breaks
 
3:19 PM
So many jokes...

http://stackoverflow.com/questions/13510584/whats-a-reliable-way-to-make-an-ios-app-crash
 
4 messages moved to recycle bin
define(function(require) {
    var jQuery = require('jquery'),
        _ = require('underscore'),
        Backbone = require('backbone')
        return Backbone.View.extend({
            el: "#container",
            initialize: function() {
            }
        });
});
1 message moved to recycle bin
@RJBrill STOP!!! FFS~
go to chat.stackoverflow.com/rooms/1/sandbox if you want to test commands and formatting
and it's not fucking BB code 'code' shit won't work
 
@rlemon, sorry, will do
 
3:34 PM
hmm does anyone know how to get the parameters from a POST request, in google app script?
 
@FlorianMargaine thanks for the tip
 
jo guys
maybe you can help:
 
jo jo
 
0
Q: I can't activate fancyBox2 in a InfoBubble with google maps v3

uncle hoI have a google maps v3 application using InfoBubble instead of the standard infowindow. The content of the InfoBubble is feeded by a xml file. The content also includes a small gallery of pictures. Now I want to start a fancyBox gallery by clicking on one of the pictures. But instead the brows...

 
!!/urban jo jo
 
3:45 PM
@rlemon jo jo a slang word for weed/cannibis/joint/spliff/bifta ect
 
;-)
 
@Adnan stop talking drugs. this is a clean room.
 
@rlemon i want a jo jo now ;-)
na just need help with this strange problem
 
:( Finnish doesn't have the English "j" sound, so jo jo is basically yo yo
 
!!/tell @BeNdErR google get the parameters from a POST request, in google app script
 
@Adnan but... we... are... talking... in .... english..... ????
 
True, my bad.
 
@uncleho my bad that wasn't for you ;)
 
hmm yeah
i was wondering...
 
3:49 PM
         +"</a>"
          +'<br>'
          +"<a id='delete-button' href='#'>löschen</a>"
          +"</li>"
your mix of " and ' makes me want to develop a reverse IP lookup to track you down so I can plan a trip to see you in the near future and slap you for making my eyes sad.
 
sorry bro :-(
@rlemon i will correct this...
 
Oh damn.. that sounded weird :D
 
lol
 
Guys anybody knows of a plugin or some library that gives me snaplines/alignment lines when working with jQUI Draggable?
 
hey guys, can anybody recommend to me some Intermediate JavaScript learning resources or tutorials?
 
3:53 PM
Like the ones you get when moving stuff in Visual Studio
I'm trying to implement my own and it's helluva pain in the ass.
 
@rlemon thanks for the "bot search" :D but I didn't find anything useful :(
 
Also: another reason not to use jQuery: labs.sucuri.net/?note=2012-11-22
 
0
Q: Why the 3rd li element is always focused when load the page?

Pakinai KamolpusI'm creating a simple site that has menu and a submenu. When the page is loaded, it's showing Re-Board and its submenu just like it has been hovered from nowhere. I want the Home li to be the default menu when the page is loaded. What's the problem? I have checked my css and js files and done som...

why is he using JS for this o_O
 
so no one can help me :-(
 
3:56 PM
@SomeKittens, that's ridiculous! How about googlix.com , now let's not use Google.
 
@Adnan Google is an excellent product. I'm perfectly willing to put up with googlix. jQuery is not.
 
But suggesting that jqueryc.com is a reason not to use jQuery is completely ridiculous
 
I dont believe in god because there are other Fake and Malicious gods!!
 
It's inevitable, once something reaches a certain level of popularity, it WILL be somehow used in attacks.
 
4:00 PM
If I were to work with jQuery, I already have to deal with tons of annoying and poorly written plugins. Now I have to deal with malware? Yikes. I'd rather just learn to use JS itself.
 
@SomeKittens, I honestly hope you're trolling.
 
@Abhishek it is incredible, the site making fun of jQuery is written with horribly broken jQuery
 
@rlemon yes
thats why i linked it (XD)
 
@Adnan Me? Trolling? Never.
 
@Abhishek: I love they include jQuery and want to fade in stuff, which doesn't work
 
4:01 PM
:D
 
@Abhishek, poorly implementing a library and then claiming it sucks is equalliy ridiculous.
 
i think we should buy the domain from em and redirect it to cowbell.js
 
Nice they made a website about it though. :D
 
@Adnan it actually does suck Period. [ not the girl one ]
 
^ that (pre edit)
 
4:03 PM
I do accept that each technology/library/program/app/device has its supporters and opposers.
 
so did ted bundy.... just saying
the argument is invalid.
bad things can have supports for the wrong reasons.
 
bad things can have supporters for the right reasons as well.
 
Throwing baseless claims with no attempt to justify them, however, I don't understand.
 
jQuery is not a bad library, but because of it, there is a overwhelming community of bad js developers.
 
4:05 PM
Given I've got a bazillion hits, I don't feel like I'm begging for hits anymore.
 
@rlemon, now that.. that I agree with.
 
well, if it hadn't been jquery, it would have been prototype, or mootools, @rlemon
 
yea
 
the bad developers were waiting to exist
it's like saying we still wouldn't understand gravity if newton had never been born. don't blame the incidental tool
 
abstraction libraries lead to poor developers because it is too easy to just be lazy
 
4:05 PM
Bad developers are one of the things I wish hadn't been declared a constant.
 
To me, it's a great tool to do things that took me hours do.
 
bah
 
@rlemon: it all began with stdio.h ! DEATH KERNIGAN & RICHIE !!
 
there is nothing in jQuery I cannot do myself in the same amount of time
 
Every time I use it, I feel like I've lost control of the language.
 
4:06 PM
i am a bad dev... i give in! pls burn me
;-)
 
@rlemon, challenge accepted.
 
I think everybody should code in assembly..
 
@uncleho Zeroth step: admitting it. First step: Rehab.
 
$('#div_1').fadeOut(500);
 
@jAndy another pointless argument. abstraction of lower level languages is one thing, abstraction of higher level languages because implementations vary or sugar is retarded
 
4:07 PM
it would lead to much more quality code and better devs
 
do that faster.
 
i am also a bad being... where can i rehab?
 
@rlemon: you just said "abstraction libraries"
 
Took me 3 seconds.
 
at the church?
 
4:07 PM
@Adnan I have a utility grab bag full of my own snippets I wrote... so yea. I can do it in the same amount of time.
@jAndy i'm in the fucking javascript room - use common sense and put it into context.
 
@uncleho Nah, Christians are horrible at technology (generally speaking)
 
@Adnan He can't.. he already knows how to do it in jQuery and paradoxically, he cannot instantly know how to do it without
 
and I'm pretty sure it's full of bugs too :D (cross-browser bugs, that is)
 
@rlemon: there is no sense in here at all
 
4:08 PM
I'm influenced by channel topics
its like.. trolling from the getgo
 
@rlemon, your snippets haven't been reviewed, haven't been subjected to an extremely large community of critiques, bug reports..
 
i've just read rlemon: I AM JAVASCRIPT...
 
I do agree that jQuery isn't the answer. But, like it or not, it's a great tool.
 
@Adnan because they don't need to be. I reviewed them, I tested them, and i'm not a retard.
 
LOLs
 
4:09 PM
at least to me.
 
jQuery does not even do that much of cross-browser fixing
In what browser does .style.opacity not work ?
 
^ that (@copy)
 
anyway, blaming jQuery for bad developers is very bush-league
 
^ that
 
4:10 PM
get over yourselves and be examples, gentlemen
 
no
jQuery encourages bad coding practices
that's mostly why I blame it
 
but I run away before this discussion starts again
really sick of it :p
 
Yeah, I should pay attention to my family.
 
But if it's not jQuery, then any other library.
 
jQuery takes a procedural programmer ( if hes from c / c++ background)
and converts em into a prototypal zombie
who has infection of precedural code
No More discussion
 
4:11 PM
And i'm sick of people thinking that these abstraction libs haven't had something to do with the onslaught of dumb ass javascript "developers"
 
yeah i definitely am that guy
 
its a poison
 
using chainable objects has literally turned me into a cobol developer
 
its like driving a mclaren f1 or bugatti veyron , after driving a go cart
 
you're absolutely right and that is very insightful
 
4:11 PM
@rlemon, they do. But that's not the point.
 
that is my fucking point!
abstraction libraries are not evil, per-say - but they have been leading to stupid ass lazy devs.
 
jQuery doesn't make bad programmers. Bad programmers make bad programmers.
5
 
if you know your shit and use them for RAD then great! problem is, a lot of developers use them as a crutch and not a tool.
 
@rlemon like me!!!yeah!
 
4:13 PM
rlemon: literally zero people in here have any confidence that you are better at writing convenience method than the jquery devs
you are fooling nobody
 
@zetlen who in here even knows you?
 
I guess this is the same Gun Control argument
 
@rlemon it's not about me
 
In my hand, I love me some guns.
 
no you are trying to make it about me
 
4:14 PM
afaict it already was
i do have experience with a loud gentleman who liked to talk more than listen and insisted he was better at everything than jquery; i'm still finding his code and replacing it with code 1/100th the size and execution time
people who like and use jquery have nothing near a monopoly on being shitty JS devs, which i guess is the moral of the story
 
"jQuery (and other abstraction libs for js) has led to a community of poor javascript devs", is now be attacking you?
2 mins ago, by rlemon
if you know your shit and use them for RAD then great! problem is, a lot of developers use them as a crutch and not a tool.
try reading what I say before being a douche.
 
<3
carry on
 
Whaa?! I'm lost, who said who attacked who?!
Didn't see any personal attacks.
 
I'M MASSIVELY COMPETENT ! (you have no clue how much pain and torture @Raynos suffered before that line)
 
@jAndy I know you know your shit, I never once have complained about your use of the lib. @Esailija is also very good with jQuery, however you also know that there are a shit tonne of people who are not real devs but try to use it and fail hard. then it becomes a crutch and a year into being a "web designer/developer" they know nothing and are only causing pain for everyone else who works with them / after them
so I'm generalizing saying jQuery is evil. but I'm picking the popular one here, I should say "abstraction libs are more often used as crutches rather than for rapid application development"
 
4:19 PM
blaming jquery for it is incorrect and harmful to the community
 
ignoring 80% of what I say and grasping to the single point you are holding onto is incorrect and ignorant.
 
... on a lighter note. Can anybody recommend to me Intermediate JavaScript tutorials?
 

Javascript Resources.

Sep 4 at 13:36, 2 minutes total – 8 messages, 1 user, 1 star

Bookmarked Sep 4 at 13:40 by rlemon

 
@rlemon thanks
 
@rlemon: I know the point, I got it on the 2nd of 5241 discussions here. The problem is its pointless. Its like saying the standard-theory of physics is wrong without offering a true alternative. People will always abstract things (doesn't matter whether its "C", "Ruby" or "ECMAscript") which will always end up with libraries and stuff, which in turn are used by many people for convenience and easiness
so that is the point.. having a rule like "any library developer goes to jail"
 
4:24 PM
I did the learnstreet.com js course, where should I go from there?
 
actually.. if you think that to the end, the problem arises in schools and universities, its a matter of how a guy learns to learn things
 
@jAndy my personal thought about using libraries
one should and they will
but if they dont have any clue on how the internals of the library itself works
 
It was more about functions, loops and such rather than actual interaction with html
 
its advisable to dig inside it and learn , so that you arent left clueless when you get a hiesenbug
 
@jAndy perfection.
 
4:25 PM
@jAndy I see this as two seperate arguments: do you blame the dev for being lazy, or do you put some ownership on the tools that allowed the dev to be lazy? I personally think all blame should be on the dev. but it is hard to argue it without bringing up that the tool is their crutch and allowing them to be lazy.
 
@Abhishek: correct his name !!!! noowoww :P
 
:D
 
ahh wrong guy
 
I see what you did there..
 
@henrymb67 javascript.info the first part is about javascript itself, not talking about the DOM
 
4:27 PM
or at least what I think you did there..
Did you do that there?
 
@FlorianMargaine thank you sir
 
"Introduction to JavaScript and Browser DOM"
 
@rlemon: I don't really know, since I don't have an answer. Its just that, as you certainly did for yourself, people will write their own "tools", "helpers" and "abstractions" after a while. That was the case before the big libs, lets say "before prototype.js". I don't see how that is better, thats certainly worse
even now, most talented and encouraged guys write own tools and abstractions on top of things
 
if I only need a handful of the tools it is not worse, no.
and having to write the tools and digging into the popular libs to see how they write theirs so I can pull out the methods and use them by themselves has been a great help and learning tool.
and I find that with modern browsers there is little I end up using from my grab bag of goodies.
 
@rlemon thanks for that video
 
4:31 PM
" digging into the popular libs to see how they write theirs so I can pull out the methods and use them by themselves has been a great help and learning tool."
Gold!
 
this is drills down to "did you take the time to understand what you are doing.. or are you just blindly pluggin shit in and programming by coincidence"
 
that is another very reasonable point actually, the complexity and verbosity of a language. From that perspective, ECMAscript (actually more the DOM aka DOMscripting) has a big downside since its pretty verbose (imo)
 
My favorite quote:
It is important to note that suddenly, and against all probability, a sperm whale had been called into existence, several miles above the surface of an alien planet. And since this is not a naturally tenable position for a whale, this innocent creature had very little time to come to terms with its identity. This is what it thought, as it fell:
"Ahhh! Woooh! What's happening? Who am I? Why am I here? What's my purpose in life? What do I mean by who am I? Okay okay, calm down calm down get a grip now. Ooh, this is an interesting sensation. What is it? Its a sort of tinglin
 
so every guy who needs to code in that area... unless he is totally brainfucked..will end up using a shitload of tools and helpers
but I'm not so sure that this is the best way to go.. it shouldn't be necessary that everybody does this on his own
 
Okay final thought on jQuery
 
4:34 PM
the only real argument against "big / famous" libraries which I buy is, their filesize and beeing not that modular
that truly sucks
 
@Abhishek, noooo it was sleeping.. why did you wake it up!
 
we got off on the wrong foot here, it is so easy to just blame jQuery because often you are trying to convince someone who only know a subset of jQuery and nothing about Javascript the language.

What I meant to argue is: using jQuery or any abstraction library that is built on top of a language; without knowing the language it is built on: is stupid.

Today: most popular javascript libraries are sullied because there are a shit tonne of users who fall into this category and are actively producing stuff that is used by the community. i.e. blind leading the blind.
 
jQuery is the catalyst of the reaction

New Web Developer ---(In the precence of jQuery & Absense of SO JS Chat)---> Bad Web Developer
 
@Abhishek: populist ! :p
 
@jAndy what ?
 
4:37 PM
@Abhishek: nevermind
 
thats kinda cool. saving large image in GIMP and reloading the page it is on while it is being saved produced this strange fragmented image.
I would have assumed nothing (white)
 
@rlemon: what should we do with guys that write Coffeescript code using jQuery then...
 
@jAndy @rlemon what should we do with guys that write Coffeescript...
 
what I'm saying is, I don't see any possible way to solve the problem.
 
@jAndy CoffeeScript and I are a different argument all together.
CoffeeScript -> if you know Javascript (well enough to say you do) === not my cup of tea, but at least you can debug the compiled code.

CoffeeScript -> personally I HATE the syntax, and think the concept is sound, but it's too early in it's development to be used as widespread as it is.
 
4:39 PM
yes I don't like it too
 
pre-compiled js is cool. why we need to change around the syntax?? beyond me.
 
I was more saying that the abstraction goes higher and higher there
 
yea it does. TypeScript is promising... but then again it is just a bunch of half baked ES6 shims (isn't it? or did my 3 hours of playing with it miss something here)
 
afterall, even if you are all right in saying that all this stuff generates less experienced (worse?) developers and experiences, I'm still missing a solution for that
how to change people's decisions, nobody is forced to use any of those
 
A solution for worse developers ? Better education
 
4:42 PM
Cyanide is better.
 
@jAndy the problem is there is no solution; how do you teach people to be excited to learn how to program. The ongoing arguments are a outlet for the frustrations we incur by having to deal with this in the community (not here per-say, personally I work with some third party marketing firm and they have so far given me some horrible ass code that looks like it was spewed from a WYSIWYG editor... filled with plugins they didn't write, and they don't understand)
 
I'd actually think of it differently and not that bearish. A "famous" library, which offers a pretty pretty easy way to "get into" the world of developing, is actually a good thing. Because just because of that, more people, students, will enter the field and eventually if they want to get better they are forced to learn the basics etc.
at least, that is the way I hope it plays out
all the guys which are still "in progress", are just noise
 
that would be awesome! and I think it has done that to some effect. but in making it popular we now have a lot of "hipsters" (so to speak) in the community that are inevitably going to annoy some people. So we come online and bitch about our annoyances.
 
hey @Oleg :)
 
well.. yea there are a lot of hipsters. Even Crockford bitched about guys who step up and say "hey.. hoo.. look what I can do with my great library" (I'll find the talk :p)
 
4:47 PM
@FlorianMargaine hey, what's up?
 
anyways, lunch time, then gotta finish this presentation.
 
@Oleg nothing big, same old shit day after day, what about you?
 
@FlorianMargaine quick question: is there a way to automatically step through slides built in? or would I have to write that up myself?
 
@rlemon make a little setTimeout
 
anyway ! Trust in natural selection. If you know the core, the basic stuff. Learning and are very addictive to web-dev in general.. All those guys will create the MUCH better applications/experiences
 
4:48 PM
the documentation is ... well... I haven't found it yet and have just been picking apart his demo
 
so anybody who relies on his great toolset/library will lose the fight on the long run
 
@FlorianMargaine banging my head against mvc (as usual)
 
@rlemon look at the Reveal object in a presentation page, it has some methods
 
@jAndy agreed
@FlorianMargaine cool. thanks.
 
you can easily write a little setTimeout
with a little switch/case to handle each page for example
(and also to stop the setTimeout
 
4:50 PM
yea I know how to. I just didn't want to double it up if he already had something in place. (just thinking about it before lunch)
 
I just learned yesterday that window.setTimeout = window.setTimeout; is not entirely useless (which I thought)
pretty much .. for the lulz
 
@jAndy ???
why isn't it?
 
second
 
12
A: Why does Twitter redefine window.setTimeout and window.setInterval?

ayanamiThis is a technique to replace setTimeout and setInterval functions globally in a cross-browser fashion. window.setTimeout, when used as an lvalue (on the left side of the assignment), does not walk the prototype chain, but on the right side, it does. So this will always pull a property o...

google-fu
 
2
A: Objects in anonymous function

jAndyThere is no very little sense and use in doing that. I wouldn't know what more to answer. As @RussellDias pointed out in a comment, there might be an pretty edgy edge case for IE7+8 (maybe also below) where it might be reasonable to re-assign native methods to itself. See http://adequatelygood...

@FlorianMargaine: see that question
and read the article I linked to later on
 
4:52 PM
yeah
@rlemon's link is more spot-on :p
but yeah, useless case still
who wants to replace setTimeout ~~
 
well, you could even argue that, just by re-assigning, your lookup performance gets better O_o
even if it would be silly, but its somewhat true
 
!!/choose kfc subs
 
@rlemon kfc
 
... sweet!
 
4:54 PM
posted on November 22, 2012 by miraculous1

Instead of the stress of fighting for the deals at your local shopping center, why not lean back in your pyjamas and learn all about HTML5 Mobile pro development from the comfort of your home? And even better, if you buy HTML5 Mobile Pro Desktop Edition until midnight on Friday, November 22, you get 55% [...]

 
ohhh fuck I wonder what kinda black friday sales will be on steam
@Loktar input? you should know mr.gamer
 
should I remove miraculous feeds?
 
@jAndy explain good sir :-)
 
Florian Margaine has stopped a feed from being posted into this room
 
@Abhishek: explain what sir :o ?
 
4:55 PM
how am i a populist ?
i am rather a nazist (XD) , i use the hatared of this of this chatroom against jQuery ;D
 
@Abhishek: naah i was kidding, because you said that the presence in this chatroom makes you a better developer troller :p
 
the presence of a strong community with different strengths and opinions makes you a better programmer (so long as you utilize the communities strengths and weed through the opinions to find ones that make sense to you) ;)
 
@jAndy well this room makes u better developer for sure
 
@Abhishek: yes I wouldn't disagree - as I said - it was a joke
 
like it did for me :D .. i say loudly and proudly i learned a LOT on here
oh kay (x , my brain is too out-of-order to understand homour atm
 
4:58 PM
Wondering why there isn't an acronym for out of order...
 
OOO , thats an emocation
 
o^3
 
Id love to see a label on an elevator
yea
 
brb
 
OOO or O^3 is nice
OoO
 
4:59 PM
0
Q: Will a search engine lower the rank of my page if i have a hidden iframes?

SkurpiAs a praxis, all external content on our site is put in iframes to lower the risks of any external parties injecting stuff to our users. We also do it to make sure our content shows up before banners, to make the site feel quicker. We now have an external script running which we want to put in a...

 

« first day (768 days earlier)      last day (4195 days later) »