« first day (975 days earlier)      last day (3975 days later) » 

12:00 AM
does anyone know if microjs.com/#Microajax is Cross Browser? I can't find out if it is or not.
 
@Connor define cross-browser
 
@ThomasShields pardon?
 
@Connor just what do you mean by cross browser?
 
@ThomasShields supports IE6+ FF3+ ..ect
 
ah.
I'm guessing no.
 
12:03 AM
kk
 
(See, I don't like to think of that as cross-browser, more like "supports ancient browsers no one should use")
but then, I'm just one of "those" JS developers.
 
@ThomasShields i don't like to get into discussions about cross browser because nothing would please me more than to drop them, but if i do is it a mistake i might regret?
 
@Connor if you get into said discussions with the wrong people, yes, you will regret it. And if you develop for old browsers, you will regret it. The best approach, imho, is to keep your mouth shut, develop for new browsers, but be sure to have rock-solid fallback for old browsers.
 
@ThomasShields what do you mean like a fallback?
 
@Connor I just mean some people focus so hard on supporting old browsers that they are stuck in the past. Develop for the future, but use shims/shivs/etc.
Fault-tolerance or graceful degradation is the property that enables a system (often computer-based) to continue operating properly in the event of the failure of (or one or more faults within) some of its components. If its operating quality decreases at all, the decrease is proportional to the severity of the failure, as compared to a naïvely-designed system in which even a small failure can cause total breakdown. Fault-tolerance is particularly sought-after in high-availability or life-critical systems. Fault-tolerance is not just a property of individual machines; it may also charac...
 
12:09 AM
@ThomasShields ok i will
 
Progressive enhancement is a strategy for web design that emphasizes accessibility, semantic HTML markup, and external stylesheet and scripting technologies. Progressive enhancement uses web technologies in a layered fashion that allows everyone to access the basic content and functionality of a web page, using any browser or Internet connection, while also providing an enhanced version of the page to those with more advanced browser software or greater bandwidth. History "Progressive Enhancement" was coined by Steven Champeon in a series of articles and presentations for Webmonkey and ...
@Connor i'm no expert. Go out there. Figure crap out. Develop your own opinion on the best approach.
 
k
 
user1125394
fault tolerance -> erlang
 
1:09 AM
btw
whats the standard in javascript in regarding to binding to a function objec this?
 
eg...
In jquery you have
$('ul').each(function(index){ $(this).append('text');});
where in underscore and other frameworks you have the notion of they pass it as a parameter
_.each($('ul'), function(list, iterator){ $(iterator).append('text');});
then you also have bindall, or .bind as @phenomnomnominal was saying
Personally, I like the notation of the iterator or element being binded to the this element other than a parameter.
Eg... In javascript ecma 262 you have
var a = ["a", "b", "c"];
a.forEach(function(entry) {
console.log(entry);
});
 
the "standard" is the function from the standard.
 
eg.. the binding to this or as a parameter
I'm curious of the pro's and con's
I can see the advantage of not binding to 'this' means that you can use a memeber function of a object
 
You can always control what this is
 
1:18 AM
though im sure you cannot
agree, though what it the standard convention?
 
forEach allows it both ways. WIth Array.forEach you pass this as an argument.
 
from what i can tell forEach uses the same convention, that it passes the item being iterated over as a parameter
this is binded to the global object
1 sec
well then I guess the standard convention is to leavel 'this' alone and not bind the item being iterated over it to it.
 
Ah, I see. Yes. You shouldn't need it in your callback. At least not for forEach and friends.
Ignore my remark two back btw, it doesn't make sense. :-)
 
@loading... all good, I'm just a bit curious about it. I've seen different frameworks that use different conventions for binding the iterator to this or as a parameter.
the former, I'm used too. Though unsure about it. The later seems to be the defacto standard of passing the iterator
Eg... in Jquery it passes the DOM element as the function object this and the index as a parameter. Though keeping in my head what is 'this' when iterating of a collection becomes a bit tiresome. May move over to Underscore to lessen the brain damage.
 
1:37 AM
Why bind this at all?
 
event handlers
 
Or have the object being iterated over passed to the callback?
Not sure what that's got to do with forEach. I think most people use .bind() for event handlers.
 
@loading... well, its just convention. Eg... if i write the code I would like to be consistent with the current trends for other developers reading my code
eg... use bind for event handlers, and leave collections alone.
 
Definitely avoid trends. :-)
 
 
1 hour later…
3:01 AM
if anyone has the time whenever, can you take a look at this and advise me on how i can improve it, my main concern is to keep extending the prototype, and it looks messy :(
 
You long bodied alien
 
@Gacnt, you already said that.
 
You and your twiggy arms
 
Whatever.
Also, your face. Over.
 
Got air born today :D
 
3:09 AM
Shopped.
 
nooooo i got a video
 
3:20 AM
ha
 
Uploading the sick video just for you bro
 
Don't even care bro!
 
Too bad bro, gonna link it nayways bro
 
Good day sir
 
3:29 AM
I'm gonna do a lot of jQuery today. Haha just kidding, I'm noding and C# ing
 
You make me happy
What you doing in Node
 
Scrapin' and testing mainly. Also, prototyping server side stuff
 
@Beeeeeeeeennnnn, there's an annoying bug in Chrome
 
No!! Chrome is perfect
 
FullScreen API + History API = fail
 
3:33 AM
If you have a bug it's your fault for not using Canary. If you have a bug in Canary it's your fault for using beta software.
 
It's Frannkllinnnn
Canary as in Ubuntu :/?
 
It's a bug in both, with very little activity on the issue tracker
Canary as in the Chrome Nightly
 
Also, I hate mobile chat :/
 
I wish SOStacked supported chat
 
Nah, I can just tether.
Lol, you should have seen Jan and Zirak yesterday when I did this:
7 hours ago, by Benjamin Gruenbaum
Benjamin Gruenbaum has added badbetonbreakbutbedbackbone to the list of this room's owners.
 
3:42 AM
Hahahaha nice
 
3:55 AM
 
It's not too localized imo but it's probably a duplicate. Find that duplicate.
Also your comment is aweful
This is a BAD Question, you haven't provided anything that you have tried, you haven't provided any CSS, i assume you think this is a FREE "Code For Me" Service site? if you wan't help you have to help yourself too — Connor 39 secs ago
 
@BenjaminGruenbaum no it's not
 
Yes, it is, it's rude and offensive. If you'd like another opinion on it I don't mind taking it to meta.
 
he hasn't tried anything, he say's "How to fix this?", well how to fix what? ... ect
 
Your comment is rude.
 
3:59 AM
okey dokey
 
it's still the truth
 
Doesn't mean you get to be an asshole to another user.
I found a duplicate and flagged it by the way
No, no no. "Have you tried anything" is also bad -_-, I used to do it too but it's considered bad etiquette
67
Q: "What have you tried" epidemic

Frankston Ralphington III"What have you tried?" comments are good. Usually. ChrisF's take on the matter The Establishment's take on the matter Statistics The usage of "what you tried" is growing (v2) In Q1 of 2012 - 0.0134 such comments per question (~1.33%) In Q2 of 2012 - 0.0167 such comments per question (~1...

"If you don't have the time or inclination to engage in conversation with the author of a post, don't comment - just vote."
The etiquettes in SO and here are very different. While you can start your own room here and be an asshole to whoever you want in practice (although in theory the rules still dictate you 'be nice', good luck in the C++ room), in main SO it's not so.
It's reached by a much broader audience than the chat
 
@BenjaminGruenbaum stackoverflow.com/a/17140246/1907358 --- this is my appoligy to him lol
 
lol
I don't see left-right divs in your example though.
 
4:08 AM
@BenjaminGruenbaum can't do anything with the left div
 
So, who wants to walk me through best practices in testing MongoDB with Mocha?
 
Probably @Connor
:P
 
@SomeKittens yeah just use the Mongoose.prototype that'll be fine :)
 
Create a new table in the function that runs before the tests and destroy it when you're done. Or even better mock MongoDB (not sure if that's possible in node easily atm, probably)
 
4:11 AM
I run a business selling rural internet access. My infrastructure consists of a bunch of Verizon wifi hotspots that I sign up for and then cancel at the end of the 14-day return period.
2
 
Looks like I should just point to a test database, that should be pretty easy with environmental variables.
 
What do you mean? Just point to it in code.
Whatever functions interact with the DB, instead of having them create it inject it with dependency injection to the constructor or something.
If your app has global state, you're probably doing something wrong.
 
as in mongoose.connect(process.env.MONGOHQ_URL);
 
No, as in, your modules that interact with mongoose should accept the mongoose instance as a parameter in the constructor.
 
though injected dependencies look possible
 
4:16 AM
It's just the way testing is done.. it's good practice too, allows you to invert control and isolate problems.
If you haven't, I strongly suggest you read this martinfowler.com/articles/injection.html
It's pretty much a must read, colleges teach it.
 
I always see code on some websites that have i nice syntax highlighter with a pale pink background, anyone seen this before?
 
Ignore the Java
I've got to go. Cya later.
 
cya
 
4:30 AM
Anyone experienced programming in Erlang before?
I am trying to install Erlang plugin on Eclipse but it always crash when I try to run
 
What OS are you on?
 
Windows
 
Ah. Open a command prompt for me?
 
@SomeKittens what's up, im on win?
 
4:36 AM
@O0oO0oOO0ooO Yeah you. (sorry, @Connor)
 
oh
It does not open a command prompt, Eclipse just turn into "Not responding".
Did you have a similar issue before?
 
no, as in, could you open up a Windows Command Prompt for me?
 
I need to to run a few commands to help me debug
 
Search cmd and hit enter
 
4:38 AM
it's opened and ready
 
cd into your windows folder
 
@DavidBiga why remove?
 
done
 
@mukeshyadav 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.
 
Can you paste the results of msinfo?
 
4:41 AM
can Anyone Tell Me How Google Hangout Works??
Only Basic Ideas About It's Working...
 
@mukeshyadav ...why?
 
@mukeshydav Um, it's a place where you can video chat with other people with GMails...
 
What information could we provide that you couldn't obtain through Google?
 
I know But I Want To Know It's Working
 
Erlang on Eclipse is sacrilege
 
4:43 AM
Yeah, I think it's right here
@Benjamin sacrilege?
 
You Don't Understand
I Want't To Know How Google Chat Works
 
Um, you like, talk to people...
 
@mukeshyadav Why do you want to know?
 
Oh! You mean like how it gets to the other user?
 
Which Programming Language It Uses To Make Chat So Fast And Real Time With Such Efficiency??
 
4:46 AM
I'm not sure, it kinda depends on what language the servers are written with...probably Java... it's pretty popular...
 
yes How It Knows On Server Where To Send New Coming Message To Correct User??
@CheesyBacon Ok
 
I'm not so sure about that, but Google has a page about how GMails send and receive...
 
@SomeKittens I Want To Know The Basic Idea Behind The Google Chat That How It Works??
 
@mukeshyadav If you are interested in building video chats like Google hangout, learn about Peer to Peer
 
@O0oO0oOO0ooO Peer to Peer?
 
4:48 AM
@SomeKittens Because I Want To develop One..
 
Yeah
 
@O0oO0oOO0ooO Where I Can Learn About it??
 
There are not many resources about it but concept is simple
 
Ah, Google has a site about how sending GMails work, which is described here...
 
@O0oO0oOO0ooO Can You Provide me A Link To Learn More About it??
 
4:50 AM
@O0oO0oOO0ooO Is right, it has to pass through a server, encode if needed, IP, all of that stuff...
 
@CheesyBacon What Do You Do bro??
 
@mukeshyadav You want to make a chat system?
 
@mukeshyadav I do JavaScript, HTML, CSS3, all of that stuff...Learning C++, Ruby...
 
@mukeshyadav Are you being paid for this?
 
@SomeKittens Like a funding?
 
4:52 AM
No
@SomeKittens I Just Want To Learn How To Do It
 
@mukesh yadav Hrm, you could use an API...
 
@CheesyBacon Which One??
 
@SomeKittens Can it Learn Me How To develop Chat Sys??
2
 
I dunno, can it?
 
4:54 AM
@mukeshyadav Not really an expert on that server stuff...
 
It certainly learned me.
 
Is There Any Other Solution??
 
@mukeshyadav Not sure, it will be hard making one...
 
@mukeshyadav Why do you capitalise every word?
 
@mukeshyadav Is there any solution other than study and hard work? Nope.
 
4:55 AM
@loading... But I Want To Learn It.. I
 
@CheesyBacon You're from CA?
 
@SomeKittens Uhm, yeah.
 
@SomeKittens Yes
 
@CheesyBacon Sweet, what part? I just moved to SF a month ago.
@mukeshyadav No, you're from India.
 
hey guys, just a quick jquery question... how do I select custom node elements that being with "x-", like <x-autolink /> or <x-map />?
 
4:57 AM
@SomeKittens Yes
 
@SomeKittens Central valley.
 
@CheesyBacon Can You Help Me To Create One??
 
@mateusmaso literally $('x-autolink')
 
@CheesyBacon What do you mean by "Is right, it has to pass through a server, encode if needed, IP, all of that stuff..."?
 
@mukeshyadav I JUST LINKED YOU TO THE SOURCE CODE OF A WHOLE SYSTEM.
Learn to code, or GET OUT.
 
4:58 AM
@mateusmaso I think he means any element starting with x-
 
@mukeshyadav My suggestion is to learn about Hole punching mechanism
 
@SomeKittens Lmao!...
 
@SomeKittens Ok
@O0oO0oOO0ooO Where I Can Learn About It??
 
-1
Q: is it really worth taking the Microsoft certification in HTML, CSS & JavaScript?

JonathanI started learning HTML, CSS and JavaScript a while ago. i'm kind of new to this whole world. So I thought it might be a good idea to take the Microsoft certification (70-480) in those three subject, and put it on my resume. that way people will know for sure that I know how to program in those l...

 
@O0oO0oOO0ooO Messages cannot just go from person to person, unless the computer knows the exact IP or it is physically connected
 
4:59 AM
lol
 
@SomeKittens @CheesyBacon yes, but my goal was to get all of them in one query and not like $('x-autolink, x-map')... something similar to $('x-*') but it does not work
 
Ah, no idea then.
 
Can We Do It using COMET Programming??
 
@mukeshyadav If some experience lies in JavaScript/Ajax you can find a tutorial here...
 
@mukeshyadav you know literally nothing except buzzwords.
 
5:01 AM
@phenomnomnominal Yes
 
@phenomnomn Buzzwords? Sorry, I'm sort of illiterate
 
@CheesyBacon True
 
!!/urban buzzword
 
@SomeKittens buzzword (n.) Ambigous word (often hyphenated) that is repeated over and over to win support for a cause. use of buzzwords is not exclusive to any side of the political spectrum, or any particular opinion on any matter.
 
@phenomnomnominal Did You Know Some Thing In Deep???
 
5:02 AM
@mukeshyadav bro, just no.
 
@CapricaSix Thanks. @SomeKittens What was that?
 
You Use Too Many Capital Letters. Not Everything Is A Title.
 
@phenomnomnominal Why, You Should Know It From Me I Can help You To Do It
 
@mukeshyadav The best language for that would be PHP. The chatroom for that is here: chat.stackoverflow.com/rooms/11/php
 
@phenomnomnominal Would You Like To Learn In Deep??
 
5:03 AM
Hmm, Sounds True, But Some People Have Certain Unstoppable Habits...
 
@mukeshyadav, you should definitely use PHP.
 
@mukeshyadav Are you a bot?
 
@mukeshyadav Don't know, you must figure it out yourself. Game developers spend weeks and weeks on trying to get this work for their games and they end up just purchasing a solution from others.
 
@mukeshyadav, I feel like you're coming on to me.
 
@O0oO0oOO0ooO But Someone develops It??
 
5:04 AM
@SomeKittens @phenomnomn Totally agree, use PHP...
 
@O0oO0oOO0ooO Then Why We Can't??
 
@mukeshyadav, it is SO easy. If you don't know, go learn.
 
This seemed pretty interesting to me last time
maybe you can start from here
 
@O0oO0oOO0ooO Yes
 
@O0oO0oOO0ooO I have no idea what that is, looks like an API XD
 
5:05 AM
@mukeshyadav Hmm, idea isn't that extremely difficult but the problem is
 
Byr
Bye
 
it's hard to make sure your hole punching is going to be successful 100% rate
 
Anyone have an idea why I call l("~code").color("Purple"); with my framework and ends up returning "ReferenceError: Purple is not defined?"
 
How On Earth Did This Get Upvote?
1
Q: Better Data Type For Ajax

mukesh yadavWhich Data Type is Better To use With Ajax Calls. For Fast And Efficient Data Transfer With Browser Cross Browser Support. From The Following: 1. JSON. 2. XML. 3. HTML. 4. MORE.

 
@SomeKittens 0_o
@SomeKittens Wait, did you just downvote?
 
5:10 AM
All of his questions/answers are morbidly hilarious
@CheesyBacon yes.
 
@SomeKittens Oh. I could have too, but I barely have any rep. XD
 
suspiciously, all his questions had one upvote.
 
@SomeKittens Duplicate account! >:o
 
@SomeKittens That's a horrible question :/
 
@CheesyBacon Answer some!
 
5:11 AM
Holy shit
But JSON Is Not Working In Netscape Navigator.. — mukesh yadav 34 mins ago
 
@SomeKittens Yeah, be right back... @Benjamin What?
 
...WAT x2
 
@SomeKittens Wait, you build your project with bootstrap?
 
This question is overly broad. It depends on what you're transfering, XML is good for transfering documents, JSON is good for transfering data, HTML is good for transfering content as you'd like it rendered without further intervention. Each format has its ups and downs. StackOverflow is not the place to debate which format is better or worse. If you have a concrete answerable question, or a specific use case you're welcome to ask. — Benjamin Gruenbaum 7 secs ago
 
@CheesyBacon Yep. Bootstrap's great.
 
5:13 AM
@SomeKittens Agree.
@SomeKittens Help me here...stackoverflow.com/questions/17140783/…
 
json can do just the simplest stuff
it cannot have recursive references like xml
or yaml
 
Wait, what is the variable that stores all nodes in an array?
Can't remember
 
Does anyone know of a good CSS minifier for node?
well one with a good api
 
what is one with bad api?
 
how could one have a bad api?
 
5:19 AM
there is pretty much just one function... minifyCSS()
 
Minifier.minify()
 
Let's all play nice now
 
how can you screw up that as an API
 
@Gacnt, go away, men are talking
 
You'd be surprised
:)
 
5:19 AM
@phenomnomnominal You onion ring sasquatch
 
Circular references should not happen in data anyway.
 
@Gacnt, you barely literate cumquatch.
 
You bologna tugboat
 
Well if you want to minify and merge multiple files. I don't want to concat and then minify and then save
 
Minifier.CSS.notComplex.thatHasOneFunction.andSoCool.minify('* { color:#000000 }' , { notComplex: true, soAwesome: true, dontMinify: false }); Bad API it is..
:D
 
5:21 AM
See!
i love the "dontMinify": false
 
why would a minifier have concat functionality?
 
when do you ever just have 1 css file
 
when you use a preprocessor?
 
you are the reason some libraries have 200 options
 
Sure, but the preprocessor can minify itself, why do i even need minifier
 
5:23 AM
190 options duplicate something
 
I don't even know why you're using normal CSS
 
Legacy code
 
CSS to SCSS converter
 
you can use cat
=D
 
When I see things powered by wordpress, I just wanna uppercut the nearest thing to me
 
5:26 AM
Throwing everything into scss is not a great answer for us. Building already takes a while for compass
 
@Gacnt So true.
 
and we are slowly fixing that
 
Again, what is the variable in JavaScript that contains a NodeList of every single node in the document?
 
document.all
 
@Esailija Thanks!
 
5:38 AM
how can anyone with straight face say that they can read this code
action = (token, i) ->
      @tokens.splice i, 0, @generate 'CALL_END', ')', token[2]
 
@esailija What language is that?
 
not to mention if you remove a single space from there, the entire code changes
LOL
CoffeeScript
 
@esailija Oh.
 
I don't like the -> at all
 
@Parris Me too, seems like too much of a hand stretch...
 
5:41 AM
I might use coffeescript if it just looked like python, but its this weird amalgamation of ruby, python and js
 
@Esailija so easily
 

« first day (975 days earlier)      last day (3975 days later) »