« first day (633 days earlier)      last day (4330 days later) » 

12:15 AM
hey guys
some here ?
 
 
2 hours later…
2:42 AM
'Sup bros
I'm working on a project with knockout js and I'm wondering how to wrestle a tooltip plugin into the setup.
 
0
Q: Managing text-maps in a 2D array on to be painted on HTML5 Canvas

wekaSo, I'm making a HTML5 RPG just for fun. The map is a <canvas> (512px width, 352px height | 16 tiles across, 11 tiles top to bottom). I want to know if there's a more efficient way to paint the <canvas>. Here's how I have it right now. How tiles are loaded and painted on map The ma...

 
I have a listbox and knockout generates options for it and I would like to have a tooltip when I mouse over them,
Since the internal structure for knockout is an observable array of myClass which has a name, description and id
and I currently just display the id as the value of the option e.g. <option value="">someid</option>
 
 
2 hours later…
4:30 AM
yo\
anyone know anything about monitors?
 
4:42 AM
Monitors?
 
5:16 AM
This is a monitor
 
5:29 AM
I used to own one :) a savannah monitor, just like the picture
Alright, on javascript topic, I have an ajax request that always returns an answer but does not always do the $('#divid').html(results[0].message);
ever happen to any of you?
 
how can I specify wich window to take action on?
if I use the same script for multiple winodws
 
Doesn't it automatically do that?
You mean you want the action to take action on all the windows?
 
but I want to specify one
 
Windows as in tabs on a browser? or windows as in divs
 
I want to take an action based on an event on window one and effect on window 2
the window element
 
5:37 AM
I'm of no help on that then :( sorry
I'm still guessing you're talking about windows as in tabs.
 
If that were the case you could use ajax, or use websockets (something I recently learned of)
 
so if I want to start an event on window 1 and tell that event to reload window 2 ... ANy want has any idea on how to do that?
Can I use something like window.opener.opener ?
to get the opener of the opener?
 
6:04 AM
0
Q: window.opener error on trigger event

Giovanni Di ToroI'm running this code to try to make a page reload after I closed the current one (that edits values from the one thats supposed to reload): setTimeout( function() { window.opener.$('window').('reload'); window.close();trigger }, 1700); And I get this error every time: ...

 
6:17 AM
I' figured it out, if you guys want to know how I solved it : I'm posting to my question now
 
6:30 AM
hi all
 
6:47 AM
@Raynos sup
 
@FlorianMargaine o.
 
@Abhishek o/
how are you doing?
 
xat was blocked yesterday by Google , Avast , AVG , Comodo
am just trying to get back home
and upload the repo :-)
am at college :-D
and today they are teaching us about C/C++
 
wut
you won't learn much :p
 
never know
this was termed as "bleeding edge industrial training"
right now the faculty is telling us what variables are yawn
 
6:52 AM
I'm not sure this even really deserves it's own question/thread, but I can't seem to figure out why the alert in this fiddle won't run: jsfiddle.net/Daedalus/VehmE
 
"learn how to create a pointer"
 
@FlorianMargaine :-)
 
change "mootools" to "no-library"
 
@FlorianMargaine something about browser support
 
... in C++?
 
6:54 AM
Do you think we need to write the stuff to work on IE or we can just make it gracefully degrade
nah i am talking to you about tapeer
 
So mootools is really interfering with the execution of something like alert? It just seems.. really odd.
 
I think it should work on IE
CSS3 stuff - doesn't matter, it will degrade
 
*execution of the function period.
 
@Daedalus well, you have clearly seen it :)
 
6:55 AM
okay so something like it will work like "this" chat on IE
 
dunno why tho
@Abhishek yeah somehow, using jquery will just make it easy tho
 
Oh well. Thanks anyway.
 
@Daedalus maybe because getElements is taken by mootools... dunno
 
we will have to use jQuery and iScroll (for mobile scrolling) [ only 2 libraries wohoo ]
 
6:57 AM
and perhaps we can also do if IE -> Load jQuery ,else -> Bitch Please DOM exists
 
that's pointless
if we're already doing jquery, let's just use it
 
joking
 
and jquery is good, really
 
Yeap , when you know javascript.
 
and we do know it :)
 
6:58 AM
i can a bit optimize socket.io
though thats pointless aswell
 
if you think it's fun :)
but let's start prototyping already
 
sure :-)
I cant wait till this finishes / i get back home and can upload code
with todo list
:-)
 
I'm sending you an email with the structure I'm thinking of
 
Okay :-)
 
Well, riddle solved. Thanks.
 
7:01 AM
bbl lab time grin
 
0
Q: Chrome Extension to block ads selectively

PratyushIs there any Chrome extension to block ads selectively instead of blocking them across all sites? I like Google Ads and would like to support most of the websites and blogs, however there are some site (mostly filesharing, imagehosting or forums) which are over-done with ads. Thus, I would like ...

 
hi I'm trying to play audio with html5 but $(audio).play() is not working
any help?
 
$(audio)[0].play() may help
 
ok will try
returns undefined on chrome console
:(
 
$('audio')
 
7:18 AM
its working after I added preload="auto" to audio tag
thanks :)
 
o/
 
@GNi33 \o
how you doing?
 
tired as hell ;)
 
oh?
too much work?
 
yep, didn't sleep very well the last night(s)
and a lot of work too, but that's okay
how are you?
 
7:24 AM
fine
life's getting nice
it's holidays in 3 weeks
 
good to hear :)
 
5 weeks of holidays, then new job
in a new city
the world will change /o/
 
NOOOOOOO!
the coffee-machine in the office is broken
 
oy
you have to go to the closest coffee then :o
 
i guess i'll have to, yes. Can't work without morning coffee ;)
 
7:51 AM
wow he was banned for a year? wtf? stackoverflow.com/users/285587/your-common-sense
 
anyone know why?
 
btw is "here's some code, can anyone improve it or confirm?" a not an answer?
 
hm
good question actually. What would you do in a case like that?
 
1
A: CSS layout with Source ordered Content

NickCThis is the best I can come up with at the moment. Bit of a mixture of relative and absolute positioning but seems to work. Can anyone see any problems with this. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head&...

another example
 
he got some code-snippet that works from somewhere, but has no idea what it's actually doing...
new question with link back to the old one? in that case, i'd flag it, i think
 
7:59 AM
@FlorianMargaine Thats good to hear :)
life definitely just keeps getting better alright
 
hehe, depends ;)
 
I asked it in chat
 
wow, theres a temporary banning feature in SO
 
8:14 AM
hahaha'
 
@Abhishek sent you an email
@GNi33 from what I know, "your common sense" can be a real ass
I remember flagging him
 
hm, to be honest, there are a lot of trolls around on SO
 
but the site's community (and the mods) are already good enough to handle this pretty well i think
 
user image
7
replying to you florian
 
8:24 AM
downloading a new religion? link!
 
Nice pic
 
@FlorianMargaine
sent.
 
yep :)
I'll reply when I'll have some time :D
 
:-)
 
8:45 AM
@FlorianMargaine ;D
very less but i added code
am adding an .old folder to it with old tapeer 1.0 code
 
8:56 AM
@FlorianMargaine done
 
fou
@FlorianMargaine hi Do you know how can I make gradient color on button using DOM?
 
use css
 
@fou you cant make that using dom
but you can using CSS
you can use that
 
@fou: Please stop pinging random users with your questions just because they were active recently - especially if they are not really specific to that user.
 
@ThiefMaster \o/
 
fou
9:08 AM
@ThiefMaster Florian always help me so why I ping him I didn't ping random users
 
Ah well, if he's fine with it.. just looked like an annoying habit which some people might not appreciate..
 
Florian is helpful in general , Pro Tip :: Dont try something like that on somebody like Raynos
 
fou
@Abhishek I need to use DOM can I write the same code of css
 
@fou DOM is the document Model which runs internally CSS is the styling of dom
for instance if you say HTML is skeleton , Javascript is soul then CSS is the skin of a webpage
its fairly a simple language and you can learn it in matter of hours :-)
 
@ThiefMaster I'm not fine with it
@fou I do, but stop randomly pinging as thiefmaster said
 
fou
@FlorianMargaine ok I will not ping any one....
 
@ThiefMaster why was my "not an answer" flag disputed on this answer stackoverflow.com/a/3878524/995876 ?
"here's code it doesn't work, can anyone help?" how is that an answer
lol
 
It means another user flagged it as "invalid flag"
 
someone is trying to sabotage my attempts to get marshal
 
9:18 AM
I think it should have been marked as helpful anyway since I deleted that post
 
It shows up as disputed though.. did you mark the flag as valid?
 
that's done automatically when deleting the post etc.
 
ah ok
oh well, drop in a bucket
What confuses me are these type of posts stackoverflow.com/a/3797197/995876
 
@Esailija o/
 
> Also can anyone tell me about the settings that can be changed through ini_set, irrespective of its value in php.ini

Waiting for your responses..........

THANKS ALL
half of it is a question and half of it is an answer
 
9:22 AM
You have enough rep to edit it in case the question can be removed while keeping it as an answer to the OP's question
 
oh so the correct protocol is edit the question part away? I guess im getting lots of invalid flags today :D
 
If something is salvagable it's usually better to do so - assuming the answer part is worth it.
 
There are basically many answers that half assedly somewhat answer the question and then go on describing their problem and asking a question in their answer
 
Progress updates where the OP makes an answer instead of editing the question are non answers right?
 
9:26 AM
yes, flag them, we can easily convert those to an edit
 
9:41 AM
see ya guys i will be back
@FlorianMargaine beware of ugly code in Tapeer 1.0 [ the told folder ]
though the mobile layout in that one is epic
 
oh god
@Abhishek the old code is horrible
I'm not even reading it :D
 
10:01 AM
@FlorianMargaine it was hen i was trying to learn js
and node.js
 
yeah
everything in a single file
yay
 
lol
 
2
Q: JavaScript library to simulate Internet Explorer JavaScript environment?

Adam LynchThis is not a duplicate of the JS library to simulate Internet Explorer? question about simulating Internet Explorer's CSS support; this is about JavaScript functions. Does a JavaScript library exist which can simulate an environment like Internet Explorer's, whereas JavaScript functions are con...

 
used for ?
 
10:24 AM
How to include a js file in another js file , without the use of an HTML file?
 
eval()


*ducksandhides*
 
10:39 AM
hello
 
11:06 AM
Hey!
 
0
Q: Game getting progressively laggier?

Valentin KrummenacherI have a small game in HTML5 that uses socket.io to communicate with a node.js server. Now my problem is that, eversince I did my last update on it it seems to have something "chunk up" in the background making it laggier and laggier the longer it runs. In the update were a few temporary local va...

 
hey guys, I'm getting "Uncaught ReferenceError: $ is not defined ", which I'm told means I'm not including jquery correctly.
 
Wow, I let the chat open for the weekend, when I come back, 2700+ new messages
 
these are my includes:
<script src="jquery-1.7.2.js"></script>
<script src="jquery.mobile-1.1.0.min.js"></script>
<script src="jquery-css-transform.js"></script>
<script src="jquery-animate-css-rotate-scale.js"></script>
can someone tell me if i'm doing something wrong there?
 
Where is the error happening ?
 
11:18 AM
 var mapcontainer = $('#mapcontainer');
 
Is it inside a script or inside the script tag in the html ?
 
I'm new to the javascript/jquery stuff, so forgive my ignorance.
 
No problem.
 
inside a script tag in the html
 
Just to check if the jQuery is loading correctly, try to change the $ sign to jQuery
 
11:20 AM
i feel like it's something small/basic that i'm missing, but i could be wrong. I'm trying to use a file and some code i found online.
 
As var mapcontainer = jQuery('#mapcontainer');
 
will do, thanks
 
is there any body who can help me out with Chosen (harvesthq.github.com/chosen) plugin
 
same error, @Andredseixas
jQuery is not defined
I don't think I mentioned I'm trying to do this in an android project, using phonegap
I don't know if that changes things.
 
If you can't use $ sign or jQuery, your version is probably corrupted.
Just to know, your javascript code is after the includes right? :X
 
11:24 AM
yup :)
does the order of the includes matter?
 
so I've got jquery, then jquery mobile, then 2 hacks i got online that use jquery
does that sound about right?
one script provides transforming of css, and the other uses the first to rotate/scale/animate css using that transforming
 
11:37 AM
Sorry for the long time to answer, phone ringed here in the office
Sorry, but I actually don't know how to help you.
 
@Andredseixas I am having an issue using Chosen plugin, can you help me out ? have you ever used it ?
 
ok, no problem @Andredseixas, thanks anyway
 
@Zaksh what issues?
 
I am having two drop downs on changing the selected index of first drop down entries of second drop down should change.
But I am unable to do so, changes are not being reflected
 
wait a sec
 
11:50 AM
i tried $("#secondDropDown").trigger("liszt:updated"); too
but all in vain
 
that doesn't work? i'll have a look in some code of mine
 
that didn't work, should i give you a code snippet ?
 
$(".chzn-select").trigger("liszt:updated");
that does seem to do the trick for me
are you changing the <select> - element directly?
 
no I am not changing select element directly, thanks buddy it worked for dropdown but not working on listbox :(
let me check it a bit
@GNi33 do you mind if I ask about your IM or skype ?
@GNi33 you saved my day :) I have been stuck into this for last 3 hours, googled a lot but didn't find anything and here you sorted out my issue. Love yaa....
 
@Zaksh No problem, I didn't even do much, did I? ;)
 
@GNi33 yea you did a lot for me :)
 
@FlorianMargaine hehe, what the hell :D
 
heh, I like the interview question: "reverse a string"
sure: "string".split('').reverse().join('');
whoops /o/
@GNi33 I don't have sound at work, but it looks awesome
 
hehe, it is awesome ;)
 
12:12 PM
github.com/harvesthq/chosen man that would be so bauce in lememe
drop that big ass menu
 
@FlorianMargaine i like the names of the Chewie - Soundfiles
"wah! snort-snort-snort", "ahhowwwahow", "Woh Arg-oh-oh" and likewise
 
@GNi33 do you agree with @rlemon ??
 
I agree with me
that is all that matters
 
what do you mean?
 
really sucks when I don't
 
12:19 PM
Hey Guyz, wazzup
 
does Chosen suck ? @rlemon is stating so, I am new to client side programming so @GNi33 what do you think should I move on with Chosen?? just share your experience
 
when the fuck did I say that?
6 mins ago, by rlemon
https://github.com/harvesthq/chosen/ man that would be so bauce in lememe
 
@rlemon "drop that big ass menu" didn't that mean so ?
 
no because you have no idea the context i'm speaking in
 
@Zaksh i actually really like chosen. it's a total overkill for small selects though
for big selects (like choosing countries/cities, i'm using it for this for example) it's brilliant
 
12:21 PM
so please clarify what did you meant @rlemon
 
he was talking about a big menu on one of his applications
 
exactly what I said dude... I have a big ass menu I wanna drop. that plugin would be bauce (boss)
 
right now i'm playing around with select2
somebody took chosen and added some features
 
@rlemon sorry i understand in other context :P hope will not mind :D
 
12:23 PM
oh pretty nice let me check it
 
ohhhh select2 seems much better
without looking at either code
 
adds the ability to directly load arrays or even adding JSON-stuff after XHR-calls, out of the box
 
now time to open the source and remember why I never use plugins
 
and you can put icons in there for example
would be useful for lememe, i think
@rlemon don't, the code could be nicer ;)
but it actually performs really well
 
so could the lememe code :P atm the only 'plugin' i'm using is the colour selectors and the sliders (sliders developed by @Esailija)
 
12:25 PM
< selector is not written in jquery selector page api.jquery.com/category/selectors
Why?
 
because it is not a valid selector?
what would it produce? it's direct parent?
 
more jQuery mumbo jumbo mess... why do they need to invent slow confusing selectors
 
they have
invented it
 
oh god, i don't even want to know what jQuery is doing there
 
12:26 PM
@rlemon I think it's a CSS 4 selector
They want to be able to select the parent of a given selector
I don't remember where I read that
 
that would be an awesome addition to css
 
Oh no it's $ the parent selector
(not fake)
 
good thing we won't be able to use this crap in ages
 
so let me state again: jQuery Y U MAKE SHIT UP AND CONFUSE LITTLE NOOBIES?!?!?!
 
because using $ is no option! ;)
 
12:30 PM
^^
 
@rlemon how does jQuery confuse that :x
 
no it's not the same behavior
said shit
It seems it's to select an element, preceded by the "tree" after the <
 
what is <
 
imo jQuery's selectors should follow CSS3
@Esailija what we are discussing.
jQuery uses < for parent
 
Maybe looking at the implementation will give a better idea of what it really does
 
12:36 PM
CSS4 is suggesting an implementation of $ for parent. w3.org/TR/selectors4/#subject
 
$(function(){
$("#mytable th[colspan]<tr").hide();
})
will hide a th[colspan] into a tr
that's weird
 
< is not mentioned at all api.jquery.com/category/selectors
 
OR maybe what is after the '<' is not used
 
what are you smoking?
 
12:37 PM
dafuq? ok jQuery is fucked.
@Esailija read up a page to gain context.
 
so someone got some results from writing < in their selector, so what
 
ugh
 
facepalm i'm out of this discussion
 
@Esailija So discussion
 
12:38 PM
@rlemon I'm currently pre-coffee. Nothing makes sense.
 
Now let me tell you that there is nothing like <
The code given by me hid the th
so the tr get vacant and seems hidden
therefore no more discussion is needed
 
man i am tired when i wake up
 
@SomeKittens thank you genius.
 
@Random there isn't
 
12:43 PM
@Abhishek That's the first time I've been called a genius for copypasta
 
your selector is same as $("mytable th[colspan]")
 
IE will kill me
 
@SomeKittens Saracasm
 
@Esailija i already know
 
@Abhishek aw, someone's grumpy. Have you tried coffee?
 
12:44 PM
so what is this crap about jQuery having a < selector, I'm very confused atm
 
Making it
 
$("whatever < whatever") throws a syntax error
 
@Esailija no
it will not
 
jQuery catches the QSA error it throws and then assumes you are under ie8 and tries to fix it
 
@SomeKittens that's just rude!
 
12:47 PM
you are write until you use it like
 
stop talking about coffee, people!
 
$("whatever[attr] < whatever") don't throws a syntax error
but i know you are right
 
it throws 2 syntax errors from QSA and then it delegates to old Sizzle
 
@GNi33 Ah, sorry. Forgot how coffeescript was loathed here.
 
which has a broken parser if it doesn't catch < after ]
 
12:49 PM
@SomeKittens it's not about that. Our coffee-machine in the office is broken
;)
 
@GNi33 oh the horror!
 
indeed!
 
the regex sizzle uses only recognizes whatever[attr] from the selector
 
morning fellas
 
Hi all
 
12:59 PM
@hanleyhansen morning
@chchrist morning
 

« first day (633 days earlier)      last day (4330 days later) »