« first day (808 days earlier)      last day (4365 days later) » 
00:00 - 17:0017:00 - 23:00

00:04
Bonne année tout le monde ! :-)
Bonne année, bonne santé, meilleurs voeux et plein de bonheur :-)
Happy New Year everyone \o/ Hurray!
This year's resolution is to double my reputation points ;)
00:20
Happy New Year! :-)
That's so 13 hours ago
Anyway...gist.github.com/4406317 and here is the raw js: gist.github.com/raw/4406317/…, best wishes! :-)
 
1 hour later…
01:38
If someone could take a look at this, I would appreciate it :)
http://stackoverflow.com/questions/14107104/jquery-throws-a-typeerror-using-typeahead-updater-parameter
@DJDavid98 - replace jquery.min.js with the full jquery , use the min after you fix all bugs
replaced it now
I would start a bounty right now, but I have to wait 2 days...
if the question is still up in a little bit ill look into it , Im right in the middle of something , it is the code for selecting something from the dropdown that is throwing exception , I didn't have time to look to far into it
Thanks @ScottSelby.
you call .val() on something undefined somewhere when selecting an item from dropdown
where would that code be , which .js file ?
01:47
It's linked in the question, but here it is:
tagguide.js (line 20-46): http://djdavid98.zymichost.com/js/tagguide.js
I only call val on $(this), nowhere else
Or is it...

    $('#findname,#findpony').on('keyup',function(){
    	if ($(this).val() == '' || String($(this).val()).length < 2){
    		$('accordion-body.in').removeClass('in');
    	}
    });
chrome debugger says line 29 is the problem
updater : function(item){
hold on ... ill find it
okay, thanks
02:04
its this line
$('#ponies li:contains('+$(this).val()+')').parent().parent().parent().addClass('in');
try
$('#ponies li:contains(a)').parent().parent().parent().addClass('in');
that would simulate what the value would be if you only typed in "a" in the text box , if that works then you need to get val() of $('#findname') instead of $(this)
@DJDavid98
back
I'll test instantly with $('#findname').val(). I was actually expecting to get #findname's value with the way it is now
I've never used that typeahead thing before , but there may also be a problem calling .attr().attr().typeahead()
I know that is what was supposed to happen , but $(this) is returning null , maybe because of attr().attr()
No, nothing in my script uses 2 .attr()'s
you're right , but still when its after even one attr() , jquery may thing that you want the value of that attribue
$('#findpony').attr('placeholder',function(){
		if (lang == 'hu')	{ return 'Póni alapján'}
		else				{ return 'By pony'}
	}).attr('title',function(){
		if (lang == 'hu')	{ return 'Kiválasztáskor kinyílik az adott pónit kedvelők listája'}
		else				{ return ''}
	}).typeahead({
		source	: ponylist,
		updater	: function(item){
			$('#'+$('div.accordion-group > div > a.accordion-toggle:contains('+$(this).val()+')').attr('id')).addClass('in');
			return item;
		},
	});
yea - there is 2 there
where exactly?
02:13
$('#findpony').attr( .... }).attr('title',function(){ ...
oh yeah, right
i'll have to switch the order then
changed the order, still nothing
this is very interesting
it had nothing to do with the order
no , it won't
still no luck
me neither
you try just replacing the whole $(this).val() with just a simple 'a' ?
You see, I can't replace it in
$('#findname,#findpony').on('keyup',function(){
	if ($(this).val() == '' || String($(this).val()).length < 2){
		$('accordion-body.in').removeClass('in');
	}
});
now it's sent, but with a bad value
02:29
thats not the line with the error
wait, refresh, look at the console, and check the logged data
turns out i have to use item
cool - guess you got it working - im in the middle of too many things , i promised to have this app done by the 1st :(
no prob, seeya and thanks for your time.
03:03
posted on January 01, 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) {} WOOHOO! Good riddance 2012! Hello 2013!

03:40
Happy new year beautiful Javascript ppl!! haha
2
Javascript rocks
04:24
LOL is anyone on stack overflow right now?
can someone look at my code and tell me why I am getting Uncaught TypeError: Object #<HTMLBodyElement> has no method 'css'
`function grabColors() {
var colorArray = new Array();
var body = $("body");

console.log(body);

body.each(function(index, node){
console.log(node);
getColorsFromChild(node);
});
console.log(colorArray);
}

function getColorsFromChild(node) {
var bg = node.css("background-color");
var bg2 = node.css("background");
var color = node.css("color");

if ($.inArray(bg, colorArray) == -1) {
colorArray.push(bg);
}
if ($.inArray(bg2, colorArray) == -1) {
colorArray.push(bg2);
}
if ($.inArray(color, colorArray) == -1) {
(see full text)
getting it on var bg = node.css("background-color");
04:41
@Raptrex Are you using jQuery?
What's being passed into node?
Does it need to be $(node)?
Or is it already a jQuery object?
Happy new year everyone
@Rlemon my pen got featured lol I bet it was due to reddit :P
i'm assuming its a jquery object with var body = $("body");
@Raptrex Are you expecting multiple body elements on one page?
04:44
no
So then why are you using the each method?
Also:
!!/tell Raptrex format
@Raptrex Format your code - hit Ctrl+K before sending and see the faq
i tried using body.children()
@Raptrex Are you trying to access the body's children? Right now you're iterating through each instance of body elements on the page
yes i want the body's children
but body.children() didnt work
04:55
$('body').children()
 
1 hour later…
06:12
var year = 2012;
year++;
(++year).init("happy");
print(year);  //2013
06:26
@PremshankarTiwari, u came now... I was waiting since long. Did you check "Secrets of JavaScript Ninja" released. I saw the tweet yesterday itself
 
1 hour later…
07:29
Happy New Year :)
 
1 hour later…
08:52
so this is what 2013 feels like
The future...
it feels mostly the same as yesterday
Yeah wee bit
It's 10PM here already, so kinda over the excitement
yeah its 10 am here and im pondering what i should start this new year with
also, i have a badass hangover
Then, start the new year with a drink
09:07
i refuse
i shouldnt have had any drinks yesterday, in all fairness
You probably should have
 
2 hours later…
11:09
Happy new year geeks!
you too, king of nerds
@limelights i'd prefer tony stark :P
smaller then typing "king of nerds & or geeks"
Happy New Year
Counter Strike is pretty fun
Come on people it's the 2nd of January, enough with the "Happy New Year"s
11:22
You suck, @Abhishek
@AmaanCheval i cant play it for more then 10 minuts
@AmaanCheval why ? :3
@Abhishek, you do suck
why why why ?
I went with my friends and played it because of you
lmfao
11:23
And now I'm going to end up buying it and wasting all my time
and lemme guess got addicted
lmfao
buy source or go
We used to play it for realsies at school
we can play steam \o/
I'm going to buy the franchise pack
@AmaanCheval :3 dont!
u will completely waste hours playing condition zero
11:25
Yeah, it's okay :p
I'm just 16, it's fine :p
i am happy re ignited the fire of counter strike , somewhere :D
Holy fuck, you're 16
You poor bastard
11:27
I'd rather die than be 16 again
Uhh, why?
Shit's pretty good right now
You just wait
give is 5 years
Hahaha, yeah, of course
But doesn't that happen all the time? Finding your old self really stupid?
Of course haha
However awesome you think you are now, you'll look back and cringe :P
Totally
11:31
But hell, I wish I'd been hanging out in here at 16
@phenomnomnominal me to
i came here at 18 :-/
Holy shit!
@AmaanCheval whaaaaaaaaaaaaaaaaaaaaat ?
I didn't write my first line of code til I was 19
Dr. Who! They played Toxic!
By Local H
@phenomnomnominal I wrote my first at 5
Kidding. 13 or 14, I think
11:35
@AmaanCheval same here
13 / 14 - C++
I've always been at JavaScript
All I did from 13 - 19 was play bass haha
Tried C for a while in the middle
Started a music degree, decided it was stupid, started engineering and realised I was pretty good at code haha
//and the program was

#include <iostream>
#include <conio>

void main(){
  int age;
  cout<<"Enter your age"<<endl;
  cin>>age;
  if( age > 18 ){
    cout<<"You are old ewwwwwwwwwwwww";
  }else{
    cout<<"You are awesome";
  }
}
c++ ... not C :-|
11:37
Dude, >= it
You're old too
but you can see
Fuck you haha
my formatting of code sucks since the very beginning
I'm not fucking old
11:37
@Abhishek I agree
formatted it before zirak drops in
and burns me with Hydro floric acid
oh btw @AmaanCheval i found out spending about 30 minuts on xat
that they are all suffering from Dunning Kruger , intensively
11:58
Dude, look at the site
I don't know why anyone with a brain would use it
12:23
@AmaanCheval then join tapeer make a better site and steal marketshare with html5 and superior features
btw
Array.prototype.forEach.call(thisChat.getElementsByClassName("user"),function(user){
   user.console.log("Hey ",user.name,"have a happy & vanilla filled new year" );

});
@ThiefMaster oh wow!
@Abhishek You really don't need to use Array.prototype. Just use []
12:42
Abhishek this c++ program doesn't compile
Oh, thief already said it.
Why do JS and PHP developers seem to be the only groups really motivated to use a JavaScript based chat such as this? ;-) These are the only rooms always crowded.
JS and PHP seem to be the most popular tags on SO
It's just what StackOverflow attracts
Actually Java and C# are often higher than JS and PHP. And Android is some kind of Java, too. But there is no alive Java chatroom.
C++ room is quite alive too
But why is e.g. Java chat dead? C# and Java are the largest tags. Would they only using Java applet chat and WPF based chat? ;-)
12:57
Hahaha, Java applet chats :D
Worst things the interwebs have ever seen
These people just suck, period.
13:11
Thief you haven't seen goatse...
goatse.ru
Not going to hyperlink it
13:34
@AmaanCheval tubgirl?
(don't search in google images. just...don't,)
Haven't heard of that one, and I don't really want to know
!!/urban tubgirl
@AmaanCheval [tubgirl](http://tubgirl.urbanup.com/1393235) A famous internet photo of a fat asian lady in a bathtub gushing orange diarrhea onto her face and into her open mouth.

Can be found with a quick Google Image Search, but I guarantee you, it will kill your boner.
I was hungry before I got here. Good job.
13:56
@FlorianMargaine @ThiefMaster try turbo c 3.1
and it compiles just fine :P
Nobody should still use that :P
it was 6 years ago man
But I think some other compilers accept it too (with a warning though)
when i wrote my first program
and um my college still use turbo 3.1
Doesn't mean you are supposed to use it ;p
13:57
they refuse to use visual studio or even g++
did they ever tell you why?
easy to setup
makes life simple
and they say its the best C++ / C compiler out there -_-~ , [[just cause they dont get visual studio , mingw or other compilers / ide's to work they say its the best ]]
sad , i know :-(
@Abhishek Ask them "why"
And a better one: If it is good, why did it die
Nah man , i want to pass this semester atleast
so taht when i transfer to canada i have some "relevent" subjects studied for them to even consider transfer
They can't fail you
// though i'd like to study from scratch imho
Ask it honestly and don't be sarcastic
14:03
@AmaanCheval they can fuck up my sessional :P
The outcome may be hilarious
and worse is hte university people check papers like a game of luck
Sessional?
...they'll fail you because you asked them why they're using a tool?
The correction, I agree, is pathetic. I've seen a teacher correct a paper and it barely depends on your answer at all
14:04
no they take it as a hate speech or me being "over-smart"
@AmaanCheval dude yesterday in viva the external was looking my facec
1 min ago, by Amaan Cheval
Ask it honestly and don't be sarcastic
That's the first thing I learnt in school. Make them look stupid without outright pointing the stupidity out
HE : what was your practical
Me : Concept of classes and objects in Java
He : How will you create an object in java [ syntax ]
Me : ClassName objName = new CLassName();
He : what is new?
Me : A keyword that allocates memory for the object being created.
He : No its a keyword to call constructor;
dunno if i was wrong or him but new to call constructor doesnt just makes me feel believable , @Zirak was he right or i ?
Both of you are right; he's wrong in saying you're wrong
(also, it's supposed to be new ClassName, but I assume typo)
Anyway, it allocates memory and calls the constructor, with the new object (made from the class) as the this variable.
bleh, why doesn't node pass the socket that triggered an event as this?
oh hm, it does.. i wonder why remoteAddress is undefined though..
1
Q: Why is socket.remoteAddress undefined on 'end' event?

styfleI have a simple TCP server as follows: var net = require('net'); var PORT = 6346; var server = net.createServer(function(socket) { socket.on('connect', function() { console.log('Client connected: ' + socket.remoteAddress); socket.write('Welcome to the server!\r\n'); });...

bah.
@Zirak :-)
14:24
@Abhishek he's wrong saying youre wrong ( in c# - for example ) "Instances of classes are created using the new operator, which allocates memory for a new
instance, invokes a constructor to initialize the instance, and returns a reference to the instance"
first it allocates memory , then it calls new
so if it is you against him , you won first.
@RoyiNamir i know but oh well hes external examiner cant say no-nothing :-(
Okay finally just about to order a system , Mac Mini vs Mac 13 " vs M51x vs Build My own with specs of M51x on road
whoever created the help for npm needs to be shot in the balls
npm install --help - there should totally be list of available arguments...
@ThiefMaster npm --help
that just contains the generic help
I meant the arguments of npm install.. such as --save to update package.json
nvm
i now see what you mean
where the hell is the cpu ?
14:34
0
Q: Instantly make a an existing website mobile friendly using javascript

Khuram MalikI came across one or two "engines" about 1 year ago, that when applied to an existing website, they could dynamically create a mobile-friendly/mobile-specific version the website using (what i presume was) client-side javascript. Unfortunately I didn't bookmark them or investigate them further a...

help me :-|
I wann play steam games so, yeah i will need a one where i can install windows
amazingly alien 51x
~ same price as mac mini
has 10x more power!
Lesson: Apple's products are overpriced.
Surprise!
@AmaanCheval x51 is way bigger though
the mac-mini is way smaller
@Abhishek Isn't there a way of playing CS with friends?
Have to create a dedicated server or something?
@AmaanCheval yes u can
play on lan
14:48
Grr, not on LAN
From home?
Hamachi ?
its the most care free way
Cool, thanks
@AmaanCheval other wise u can use steam but no fun we are hackers ^_^
Haha, most of my friends have older non-steam versions
i know that (angel)
and u will need the same version as them btw [ atleast major ]
or it wont detect your game because of different versions :P
14:55
Oh?
Same version?
just google it :-)
Like the non-steam version, then?
if the major version is same its fine
Yeah, saw that just a minute back
But it's about making a dedicated server and shit
hehe .. thats why said Lan it :P
counterstrikehamachi.blogspot.in < _ see so much easy
oh hey and tell me the version if u need a sniper back up ^_^ , and ofc ur hamachi clan :D
15:01
Hahaha. We're playing 1.6 for some reason :p
They don't like GO or Source, and I haven't played them, so I'm fine with it
1.6 is the most lightweight and the most played version anyways , its easy
has some bugs
source kills them
and GO overkills them and makes the game tougher
not to mention GO & Source are both resource whores
-- alenware 51x doesnt have alien fx and avatars in India -- fu dell
15:26
yay, first (still rather crappy) version of my node shoutcast clone works (as in: i can stream music to it and connect using winamp)
yay node!
16:03
0
Q: How to handle GET parameters containing non-utf8 characters?

ThiefMasterIn a nodejs/express-based application I need to deal with GET requests which may contain umlauts encoded using the iso-8859-1 charset. Unfortunately its querystring parser seems to handle only plain ASCII and UTF8: > qs.parse('foo=bar&xyz=foo%20bar') { foo: 'bar', xyz: 'foo bar' } # work...

@ThiefMaster see my comment
Guys How can I make my site not to be fucked up when user playes with compatibility mode ?
@ThiefMaster dude may i test it ^_^
:D , i have better tools :3 [i hope , though u are way better in general]
btw when ur uni-version is done .. lets group on it and nail shoutcast with node.js power \o/ ??
FUCKING STEAM!!
It just deleted my Mafia 2 progress from last night!
16:19
:O
noooooo!
@OctavianDamiean thats rare*
you sure u didnt Killdown it ?
Never let it check the game's cache file's integrity ...
Apparently it thinks it has to delete everything to check it.
16:21
Guys Guys Guys!!!
suggest me a system -_- and help me how to fix this current piece of crap which is a furnace
Ah fuck it ... I'm too demotivated now to start over ... I'm out.
@OctavianDamiean aww man
its fine that happens
comon man don't be so low!
@AmaanCheval @rlemon You need to blog more
Yeah :/
Give yourself a schedule
It helps so much
16:27
I don't know what to blog about, though
What I'm working on is under an NDA
How would you get a value from a radio button form?
would this work, if (theform.harddrive.value = yes)
<input type="radio" name="harddrive" value="yes">yes<br>
<input type="radio" name="harddrive" value="no">no
posted on January 01, 2013

Happy New Year!  I am, once again, going to try to blog more this year.  The posts will perhaps be shorter, but I’m shooting for 4-5 posts a week so we’ll see how it goes. glMatrix 2.0 Released Just today version 2.0 of the glMatrix library was released.  If you haven’t heard of it already, glMatrix is a high performance vector and matrix math library in JavaScript, mostly f

@AmaanCheval Ok, NDA could be a problem, but there's so much more! Currently I'm whining about the state of mobile.
@AmaanCheval DID IT WORKD ?
the cstrike fix _ ,, answer
@Abhishek No, not yet
@SomeKittens Yeah, I can't even think of things to whine about right now
Once I start, I'm sure I'll manage to find plenty
16:35
@AmaanCheval Lucky!
@SomeKittens i have tons but need a writer
css experiments mostly though
Why do you need a writer?
cause my english sucks , i have no time to type / explain / even create a page
Huh. What would you do?
@SomeKittens play games , study , code , code code code code code code , eat sleep
16:49
^ basically the same as me , only insert "read manga" somewhere
Dafuuk!!!
The Wow! signal was a strong narrowband radio signal detected by Jerry R. Ehman on August 15, 1977, while working on a SETI project at the Big Ear radio telescope of The Ohio State University then located at Ohio Wesleyan University's Perkins Observatory, Delaware, Ohio. The signal bore expected hallmarks of potential non-terrestrial and non-Solar System origin. It lasted for the full 72-second duration that Big Ear observed it, but has not been detected again. The signal has been the subject of significant media attention. Amazed at how closely the signal matched the expected signature ...
damn any line of code i add to this form breaks the entire thing
hate my life XD
it most likely was some spy satellite
the concept of catching alien radio signal is actually an extremely far-fetched idea
^ awwh thats what my idea was , i commented on facebook "Soviets"
00:00 - 17:0017:00 - 23:00

« first day (808 days earlier)      last day (4365 days later) »