« first day (793 days earlier)      last day (4146 days later) » 

12:19 AM
sigh, i hate sites like codeweblog.com which just spam google search results
funnily i only get that kind of crap when searching for java-related stuff....
guess that's another reason to hate the java world
 
12:36 AM
@tereško Heh, I'm sure they'll love Java questions!
 
HAHAHAHA
Boxception.
 
1:25 AM
0
Q: How can I only show one responsive menu on mobile devices?

KaneHere's my site: http://dev.shoeporn.com/ I'm running WP 3.5 and using this plugin: http://wordpress.org/support/plugin/responsive-select-menu It is supposed to allow you to select which menus you want to be responsive, but it doesn't seem to work. I only want the menu to be displayed to mob...

 
 
2 hours later…
 
1 hour later…
4:24 AM
hi @All
 
just seen the last ep of dexter.. epic
 
 
2 hours later…
6:25 AM
Silence in the JS room... totally weird... must be a Monday thing...
 
6:50 AM
@Esailija Haha insane :P
 
7:01 AM
hi all
i have an doubt in jqgrid grouptext
 
7:28 AM
in web or....else
 
Dec 12 at 20:14, by rlemon
IF YOU HAVE A QUESTION DON'T ANNOUNCE YOU HAVE A QUESTION OR ARE ABOUT TO ASK A QUESTION. ASK THE DAMN QUESTION!
 
@NullPointer Indeed, should be sticky ;)
permanent sticky I meant*
 
7:49 AM
0
Q: Will this kind of codes leak memory?

user10I am reading lot of articles regarding memory leaks. But i am not sure about below code. I usually do coding in this way. Can anyone tell me, will they leak memory? I have doubts in following 3 scenarios (marked them in code). var orderDetails = $("<root/>"); function GetOrderDetais() { ...

 
@FlorianMargaine good find...
 
8:06 AM
omfg
 
8:26 AM
it was re-found yesterday
 
I don't understand Reddit.
 
does backbone collections work with the following json response
{
does backbone collections work with the following json response
    {
      "people": [
        {"name":"My Name", "href":"http://rest.api/people/1/me"},
        {"name":"Somebody Else", "href":"http://rest.api/people/2/somebody"}
      ],
      next: "http://rest.api/people?page=2
    }
 
8:45 AM
A Backbone collection holds models, if you set the responses to an appropriate model and store it in the collection then probably yes.
 
@OctavianDamiean Reddit == cat paradise... post a cute cat pic and rake in the upvotes... that is as far as my understanding of Reddit goes
 
I can think of better ways to waste time. EVE Online would be one of them.
 
wow would be another one
 
9:01 AM
sorry i couldn't complete my question just now
so considering i got that response for collection.fetch
when i call fetch on the model, will backbone request the model from the href property, or will it build the url using the url property of the Backbone.Collection
the href property is pretty standard in the restful json interfaces
 
0
Q: How about a development job with no code to write?

Tahir AkramI am curious about my work, where I have to work with configurations of servers, linux, databases, some SQLs but there is no line of code for my favorite programming language: Java. Is it normal that developers should have such roles to work so that they can also work on these sides to better com...

> but there is no line of code for my favorite programming language: Java.
...
poor soul.
 
What is he complaining about? That he should also code in a more effective language? ;-)
 
9:22 AM
1 message moved to recycle bin
no mass pinging, thanks.
1 message moved to recycle bin
 
@FlorianMargaine k
 
1 message moved to recycle bin
don't ping anyone
 
9:39 AM
@Octavian What do you mean you don't understand Reddit? It's easy enough. Mass circle jerking, but still enjoyable in certain subreddits
 
10:00 AM
Is it a naming conventions on listeners in JavaScript?
I bind different listeners to different events such as $(this).on("change", function() {...}); However I want to extract the function to a own definition (not anonumous). Is it a pattern for naming those?
 
changeHandler ?
 
@Andy No, there's no special naming convention, they're just normal functions.
 
hey @OctavianDamiean
how ya doin?
 
Alright
 
10:11 AM
@FlorianMargaine Fine fine, 'cept I fell for EVE Online. :(
How's you?
 
$('#mybutton').on('click', function() {
myFunction();
});

Why isn't `this` inside myFunction() the element that is clicked?
Isn't that how it works?
 
@OctavianDamiean lol
 
@Andy $('#mybutton').on('click', myFunction);
 
@OctavianDamiean fine, went skiing saturday
 
Oh, nice.
Where?
 
10:14 AM
Bourg Saint Maurice
 
googles :D
 
around Albertville
1600m is where you start from
 
@OctavianDamiean Would you mind explaining why it works? Does it use the .call(...) and reassign this or something?
 
@Andy Give me a second, there is a great resource which explains all that.
 
10:18 AM
awesome thanks
 
There you go.
 
@Andy the second argument of on() is called (so it must be a function), and the context of the function (the this) is assigned with call, indeed
 
Oh, misunderstood the question then. Anyway, that's still a good read.
 
A friend of mine tells me it isn't possible to secure video content from being cropped in HTML5, compared to Flash, is this right?
 
@AndersMetnik Cropped as in what exactly? :D
 
10:21 AM
downloading it to hdd basicly
 
@Andy actually, it's not being called litterally, but it's the same principle
 
Hwhat?
 
actually... let's check webkit's source.
 
@AndersMetnik Well, he's wrong then, HTML5 WebM videos are equally insecure in that respect as Flash videos.
 
@AndyE hello ;o)
 
10:22 AM
:-)
 
@AndyE Oh hello there. :)
 
Hellos all around
 
@FlorianMargaine I'll have to visit Val-d'Isère some time soon.
 
webkit has no source code browser? ~~
@OctavianDamiean oh cool :)
 
There's a great downhill mountainbike course.
 
10:24 AM
@OctavianDamiean haha
 
I read in an blog that HTML5 video element will use the protocol defined by the browser. Can we change that?
 
@OctavianDamiean Can you elaborate why so I can explain it to him ? :)
 
@AndersMetnik Both get downloaded to your computer, you could just as easily save and extract the contents of a Flash video as you can with HTML5 videos.
 
Fair trying it out :)
 
There were tons of browser extensions which did just that, they let you save the currently viewed YouTube video in some location allowing you to rip it in the end.
I obviously never did that. That'd be wrong and I never do anything wrong or bad. NEVA!
whistles
 
10:29 AM
both flash and html5 right?
 
Well, you have to download them temporarily in order to view them, that's what buffering means. It downloads parts of it in advance so you can watch it without stuttering.
 
#include <wtf/ASCIICType.h>
lol
 
BeforeTextInsertedEvent, eh!?
What'd that event do? I mean when would it be triggered? :D
 
yeah...
doesn't look like working on a textarea
 
10:33 AM
They're working precognition technology! Quick, tweet it, WebKit is working on precognition technology!
 
var i = document.getElementById('input');
i.addEventListener('beforetextinserted', function() { console.log(arguments); console.log(this); });
doesn't trigger anything in console
@OctavianDamiean you're a tweeter? I didn't think you fell so low...
 
They'll know when you want to insert text into an input field. That opens up completely new ways to troll people. :D
@FlorianMargaine You use Reddit, let's call it even. :P
 
I don't! I just saw the link in this room.
 
Just think about it, "Oh, you want to enter some text?" - <moves input field to random location> - "Aww, did you miss the input field? Want to try again?"
 
You could do that already with mouseover + on focus :)
 
10:37 AM
Well yea but what if I just think about entering text? :D
 
So computer would read your mind
see that would be awesome
 
Yes. I'm sure they're working on that.
 
def. ;)
 
@AndersMetnik Yea, that'd be totally great ... for Google.
 
morning peoples
 
10:54 AM
mornin
 
I'm totally for making "fo" and alias for "for".
fo (shit in stuff)
 
0
Q: Good practice about Javascript referencing

AngeloBadI am fighting about a web application script optimization. I have an ASP.NET web app that reference jQuery in the master page, and in every child page can reference other library or JavaScript extension. I would like to optimize the application with YUI for .NET. The question is, I should put ...

 
@OctavianDamiean lol
like, aliasing dis to this?
hahaha
 
11:19 AM
@FlorianMargaine Sounds good. :D
@FlorianMargaine Hey, at least they allow French weapons. There's a Famas on that picture.
 
11:31 AM
@OctavianDamiean haha :p
 
12:04 PM
@cyril What do you mean, "is it linked?"
It's the name of some place in India where my ancestors are supposedly from, I think
@tereško Didn't particularly like it at first
 
Fucking pricks in BF3 ... I don't get it, why do you join a goddamn coop mission if you don't plan to participate or better yet to leave?
I could so smash some faces in such situations ...
 
12:21 PM
@tereško Thank you! That song is pretty good!
 
12:39 PM
@AmaanCheval yeah .. it kinda "picks up"
it begins as something made by 3 guys from highschool
 
Yeah
 
if you search for "Van Canto - Rebellion" song, it makes even worse first impression
it's from category "i cannot believe that they are serious !"
 
Hahaha, just listened to the starting. Sounds weird
Hmm, do they repeat a phrase in every song?
 
dunno ... it's only "bookmarked" in my youtube profile
 
1:09 PM
damn
 
Yaaaay! Monday!
 
Do any of you (or does anyone you know) dislike Lego? Not stepping on them, but playing with them.
 
I didn't particularly like them as a kid, and didn't try them later
 
@Zirak dunno anyone who doesn't like them
 
@FlorianMargaine is that serious ?
 
1:13 PM
So I don't dislike them, but I'm not really fond of them as people usually say they are
@tereško On airplanes, yeah
 
Can you describe why?
 
@Zirak who are you talking to?
 
@FlorianMargaine Me! MWHAHAHA!
 
Actually, nevermind. You were neutral about them. So it doesn't really signify much.
 
I like them!!
 
1:14 PM
you whore
 
They're.. very interesting..
 
@Zirak Absolutely loved them as a kid. :)
 
I still do
 
I'm reading about some experiment involving Lego, and one of the questions the participants were asked (after the experiments) was "do you like Lego?". That made me wonder how can people actually dislike Lego.
 
@Zirak They're expensive, that's how
 
1:16 PM
Does that make you dislike them though?
 
@Zirak, that argument can be made regarding almost everything
 
I think I didn't have enough, and so I couldn't actually make anything out of them
 
@Adnan no
 
@Neil So if something's expensive, you don't like it?
 
I dislike a lot of things
I like lego though
 
1:17 PM
Like what?
 
@Adnan I dislike being shot in the face
 
What do you dislike?
 
It's one of my least favourite activities
 
@Zirak That's not what I said. I said I don't like legos because they're expensive
 
@Zirak How'd you know? Have you tried it? :D
 
1:17 PM
So is drinking sour milk. They rank pretty badly.
 
I dislike lots of music bands, I dislike lots of websites, I dislike you
 
But generally speaking, the more expensive something is, the less I like it
 
lot of stuff.
 
:(
 
@Neil That's pretty stupid
 
1:18 PM
@Neil well, I guess you don't like your computer
 
You know, hookers are pretty expensive too. Just sayin'.
 
it's pretty expensive compared to legos, y'know
 
@Zirak I don't think so.
 
@OctavianDamiean And that's a horrible argument. It implies that humans have no ability for deduction
 
@OctavianDamiean depends on where.
 
1:18 PM
@FlorianMargaine I do like my computer. Though, I would have liked it all the more if someone had handed it to me with a 100 dollar bill
 
@Neil Judging something by how many arbitrary units of currency someone sells it to you isn't stupid?
 
@Zirak, why do you think people shouldn't dislike Legos?
 
it's not a question -- it's a fact
everyone likes legos
 
@Neil, I happen to like expensive stuff
 
/o/
 
1:19 PM
@Adnan Because there's nothing there to dislike. They're an abstract way to build and create.
 
Actually I think everybody likes expensive stuff
 
\o\
 
@Zirak Generally speaking no. I think liking something just because it is expensive is stupid
 
@jAndy being random again...
 
@Neil And that's completely different than disliking something because it's expensive. They're both equally stupid, actually.
 
1:20 PM
@Zirak but what if someone doesn't enjoy playing with legos?
 
@FlorianMargaine: heh, actually I'm trying to get away from dev stuff completely over the weekend..,
 
Same as not enjoying listening to some band, or browsing some website, or me.
 
@jAndy what?
 
@Adnan I don't enjoy being in the company of many people, that doesn't mean I dislike them.
 
@Adnan Then he's either retarded or dead.
 
1:21 PM
@Zirak, which brings us to the inevitable question..
 
42
 
How would you define disliking something?
 
@FlorianMargaine: I'm saying I'm regularly online everywhere (including here) during the week
 
@Adnan it's not a "what if", everybody likes legos
@jAndy ah :p
 
@Adnan How does that bring us to that question?
1 min ago, by Adnan
How would you define disliking something?
 
1:23 PM
@Adnan The opposite of liking something. Books can be (and have been) written about defining what the notion of liking something means, but I'll summarise in a sentence: Wanting to be with and share with.
 
@Zirak, so in other words, enjoying spending time with/doing something?
@Zirak, true?
 
Enjoying is a derivative
It's not integral
 
@Zirak And so what is enjoying the derivative of?
 
Oh! Hiding behind the age-old shield; semantics!
 
Actually, the my previous sentences are lies
 
1:26 PM
@Zirak Is that inclusive?
 
this sentence is true
 
@Adnan Wait a minute, you led us down that path. ;)
 
did I mention today that mozilla/gecko suck ? No? Firefox is getting worse and worse
 
my previous sentence is false
 
Think of it like numbers: There's negative, positive, and then there's 0.
 
1:26 PM
@FlorianMargaine You divided by zero!
 
0 is a lie.
 
Enjoying is positive; not-enjoying includes both negative, and 0.
 
@Zirak Don't see how that makes it a derivative of something
 
@Zirak wouldn't 0 mean you are neutral towards something?
 
@Neil Hence my declaration, "actually, the previous sentences are lies"
@OctavianDamiean Yes
 
1:28 PM
I still think that I do stuff because I enjoy them, or I enjoy their results (down the road)
So to me, stuff I enjoy = stuff I like
 
@Zirak Okay, you were referring to that then
 
@Zirak, oh damn! I just realized you're correct!
 
But I am in agreement with you about liking something being on a scale.. people too often presume not liking something means disliking
 
because, stuff I don't enjoy = stuff I don't like
but not necessarily stuff I dislike!!
 
You often imply that, but that may not be the truth of it
 
1:29 PM
Defeated by own argument, in other words, slapped my own balls.
 
@Adnan That doesn't have to be true all the time. I enjoy harassing people but I don't like it.
 
did anybody every try to create fully css defined input design/style ? Great thing css3 got that appearance: none thing in the spec, which works great except for some inputs in gecko/firefox.. which.. just never really give their damn borders/outlines/colors/whatever. After searching for while on the net you found a couple of bug reports on bugzilla, which are like MONTH old and were still not even really recognized by mozilla
 
This is probably the only time an argument here ever reached a peaceful solution
 
and on the same bug report you find a link, of how to bloody hack around the issue = priceless
 
@jAndy tried shadow dom?
 
1:31 PM
I've always considered not liking stuff the same as disliking stuff
 
@FlorianMargaine: like how ?
 
dunno
just wild thought
 
@Zirak Reminds me of the ending of Bart's comet where Homer successfully predicts that the comet would shrink down to the size of a chihuahua's head, and everyone gets terrified at the implications of Homer being right
 
lol
haven't seen this one
 
@FlorianMargaine: in my very case here, you can't get rid of checkbox native borders and outlines in firefox.. no way, until you get blue in the face
 
1:34 PM
@Neil I can't shake the feeling that Admiral Ackbar is gonna jump in at any moment
 
giggle, slightly off-topic, what do you think of this num.toString().split(''); to split numbers into digits?
 
@FlorianMargaine: which works fine in webkit browsers btw.. the solution is, to just entirely hide the input control and use a <label> element to customize and style.. and then use its for attribute to have the delegated check/uncheck for the input control
 
@Adnan That's the easiest way
 
@Adnan That's incredibly lazy of you. Good one.
 
reminds me on IE5.5 and netscape to be honest
 
1:37 PM
@Adnan I was once asked to count the number of lit bits in a number (count the 1s in its binary form.) Did something like num.toString( 2 ).split( '' ).reduce( ..., 0 );
2
 
@AmaanCheval, how did you like the movie?
@Zirak, nice!
 
Which one?
 
Online Now
Lads, anyone relates? vimeo.com/43448962
Culture-dependent SFW
 
Ah, yeah
It was okay
Things aren't that bad here
 
Oh my god!
 
1:42 PM
what?
 
You know there's two things I love America for. (Virgin, Utah) and Cheerleaders! probably nsfw!
 
@Adnan heh, that's like when I think about the classical interview question: "write some code to reverse a string" and I think str.split('').reverse().join('');
@OctavianDamiean that's 3
 
Scope, got you.
 
@OctavianDamiean, I thought you meant virgins
 
@FlorianMargaine The first one's a tuple, doofus
 
1:44 PM
@FlorianMargaine, I like that one!
 
Yea, that didn't get across as it should along with a clip of hot cheerleaders. :D
 
@OctavianDamiean wow, that video is amazing
 
@OctavianDamiean I say you leave it subject to interpretation and I say you meant virgins, damnit
 
lol
@Zirak Screw the Coke commercial girl ...
 
What coke commercial girl?
 
1:48 PM
you're the one
 
@Zirak That's what I thought as well.
 
And why does coca-cola even do commercials? Isn't 95% of the market enough?
 
to maintain the 95% :)
 
@Zirak Old people die, new people get born, they gotta make sure every human being on planet knows about them.
 
yeah...like that's going to happen. It's transcended being a product; it's a cultural phenomenon.
 
1:49 PM
and they wanna keep this going
 
@OctavianDamiean, but I thought those stuff are like religion, they're passed to the next generation
 
Which will happen regardless of tv prostitutes
 
Also, the Christmas commercial is kinda like tradition already
@Zirak I beg to differ, they're not TV prostitutes, they're hot TV prostitutes.
 
It feels so wrong calling them TV prostitutes!
 
Ferrari doesn't need commercials, and neither do Frigidaire or Raimundo (classical guitar manufacturer) or Fender or...
 
1:51 PM
They're just doing a job
 
@Adnan Prostitutes aren't?
 
Yes yes, but you know what I mean
 
@Adnan Prostitutes ruined my favourite childhood title.
 
they're not actually practicing prostitution
 
When I was little, I heard someone being called "Lady of the Night", and I loved that - it creates such a beautiful image. And then I learned it means a whore.
 
1:53 PM
The Coca-Cola formula is The Coca-Cola Company's secret recipe for Coca-Cola syrup that bottlers combine with carbonated water to create "Coca-Cola" soft drinks. As a publicity, marketing, and intellectual property protection strategy started by Robert W. Woodruff, the company presents the formula as a closely held trade secret known only to a few employees. Ingredients The primary ingredients of Coca-Cola syrup include either high fructose corn syrup or sucrose derived from cane sugar, caramel color, caffeine, phosphoric acid, coca extract, lime extract, vanilla, and glycerin. Howeve...
 
@Zirak heh
 
@Zirak poor soul
 
@Zirak, oh the horror! The humanity!!
:|
 
Yeah yeah...what did you grow on? Scooby Doo? Whadya thing Shaggy is named after?
 
woop woop
 
1:57 PM
@Zirak My wife when she was young, remembers once being at a street corner when her grandfather told her she shouldn't do such things
She asked why, and he said he'd explain it when she was older, and she remembered it though she had no idea at the time what he meant
 
Shouldn't do such dire things as standing in a street corner?
Or did she prostitute as a child, her grandfather caught her?
 
@Zirak Pretty sure she was innocent at 8 years old
 

« first day (793 days earlier)      last day (4146 days later) »