« first day (1125 days earlier)      last day (3822 days later) » 

1:01 PM
@JuzzCoding look into arduino
i have a few at bangalore :P i will bring them this time i come back
 
@GNi33 the term is actually domotics
 
@JuzzCoding To be honest, if you ask like this I think you are better off with an existing solution.
 
right
I was sure there would be a more general term
 
@AbhishekHingnikar Checking that ..!! :)
@ThiefMaster I was sure that the technology's so advanced that there has to be a solution for that, but what exactly, i'm not sure about that.!!! :P
 
FaceFuckingPalm.jpg.exe
!!are you alive
 
1:07 PM
@rlemon But of course
 
wonders why doubleclick on that executable link doesn't work
 
bot was down because I didn't close Chrome, I closed FF :(
 
http://sidescroller.deepschool.kd.io/Pages/Games/Hit%20Detection

Why no errors thrown? :(
 
@rlemon Second pane ain't necessary. Look at how much dirt came out of that hole.
 
1:13 PM
@KendallFrey There goes the neighbourhood.
 
the replied comment is gold.
 
What is it?
 
Question: I looked up a script that uses with( Math ). Any hint how I could replace that? Hard to search google for "javascript with replacement" :P
 
0
Q: A program runs but returnes undefined

akotronisI am new to Javascript and I made the following program. see here It seems to work well, apart from that it also returns an "undefined" to every line and I can't see why. Any help? Thanks in advance.

 
1:14 PM
@rlemon LOL
Or Hitler
 
with( Math ) { a = sqrt(42); }
//
a = Math.sqrt(42);
 
@rlemon ?
wait...
 
@GNi33 you don't get it?
 
oooooooooooohhhh
 
> You gotta hand it to blind prostitutes.
 
1:15 PM
now it clicked
 
@ThiefMaster shes a newbie
 
:D
 
4
Q: Ternary operator shorthand to use subject of expression in true/false clause rather than repeating

Rodgers and HammertimeSay I have a long(ish) variable, $row['data']['manybullets']['bullets']['bullet'][0], and want to test whether it's set using the ternary operator: $bulletx = isset($row['data']['property']['bullets']['bullet'][0]) // condition ? $row['data']['property']['bullets']['bullet'][0] ...

 
that thread is golden
 
ugh, so many horrible answers...
 
1:15 PM
> How long is a Chinese name.
 
@rlemon thanks! will try now :) ...
 
@AbhishekHingnikar no problem with that - but a newbie shouldn't develop her own home automation system.
 
@JuzzCoding
 
@ThiefMaster I'd say they should
 
1:17 PM
why ... its so much fun in learning :D and burning [ :
 
@ThiefMaster I was wondering that for imaginecup.com
 
well for fun ok. to actually use it.. not really :P
 
@JuzzCoding WELL YES DO
 
@AbhishekHingnikar Agreed!! :)
 
even though it would be funny if someone broke into a house using e.g. sql injection :D
 
1:17 PM
you can atleast use kinect
 
@TheLittleNaruto !! :)
 
@ThiefMaster hahaha if she uses microsoft technology i would be appreciating that :D
 
@ThiefMaster no but you can break into a house with a [modified] toothbrush
 
people who run house on microsoft windows ... should have broken windows
 
@rlemon Understand the scope there now. Thanks a lot!
 
1:18 PM
@rlemon I did't remember you as an Inmate
 
@ThiefMaster with this you could be the Thief Master!
@AbhishekHingnikar that is because when you Run on Windows, you Crash it
;)
 
@JuzzCoding !!name == JuzzCoding?true:false o-O??
 
Your name is not Juzz Coding is it ?
 
hello, how i cant get position of each LI in UL
 
I hope not
 
1:23 PM
@Merkley, perhaps you should go to the main site and use the Ask Question button. Please also include the relevant part of your existing code.
 
@TheLittleNaruto my name explains my current status, though that's not my real name!
:D
 
You'll get a better answer that way, and almost as fast.
 
oh, ok... its more like a quick question, so i thought i wont make new topic about it.
 
@JuzzCoding seems I asked for real one though :P
 
@TheLittleNaruto its Suja Kushwaha !!
 
1:25 PM
i tried .position() , but it only gets coordinates for first li other coordinates are undefined . im talking about slider, to be specific.
 
You wold need to use .each to loop through each element
Alternatively type var array=$(...); for(var i = 0; i < array.length; i++) alert(array[i].position())
I still think it may be easier to post a new question. That way the quality control features of StackOverflow would kick in.
 
BF4 basketball
 
oh, thanks... thats seems right. i tried to get it with
var offset = $("#slider ul:nth-child("+current+")").position(); ,
thanks :)
 
@JuzzCoding Suja.. !! really a short name. easy to pronounce.
 
1:28 PM
i need a hand
 
@TheLittleNaruto which most people pronounce wrong!! :\
 
@deep Got a hard on?
 
yes.
 
Well, my hands are both occupied.
 
@JuzzCoding No way. Listen to me. you'll find me pronouncing it well. :)
 
1:30 PM
http://sidescroller.deepschool.kd.io/Pages/Games/Hit%20Detection

It's not throwing any errors, i can't see anything obvious, i have tried console.logs and commenting out stuff, but to no avail
 
@TheLittleNaruto haha, someday !! :P
 
@deep: Yes it is.
[14:31:26.222] ReferenceError: event is not defined @ sidescroller.deepschool.kd.io/Pages/Games/…
[14:31:26.228] TypeError: img is null @ sidescroller.deepschool.kd.io/Pages/Games/…
 
I don't see any
 
Well, maybe firebug lite swallows them instead of letting them propagate to the browser's console for some reason
 
img = document.getElementById("foo");

document.onmousedown = function () {
    whichKey = event.which;
}
 
1:33 PM
did you really block right click?
 
@JuzzCoding Yeah! :D :D
 
you blocked my context menu you bastard.
 
@rlemon yes, because i don't want contextmenu's appearing whilst people are playing @rlemon
 
ಠ_ಠ
<|>
/ω\
 
1:35 PM
> What do you get when you mix a rhetorical question and a joke?
oooooooh
 
stop blocking right click and stop letting me use Chrome dev tools :(
`Uncaught TypeError: Cannot read property 'style' of null`
 
@JuzzCoding Did you check ??
 
don't ever block a users context menu
or scrolling for that matter
 
why not
@Qantas94Heavy use F12
@Qantas94Heavy Which line
 
@deep It belongs to the user so leave it to him.
 
1:37 PM
@deep: F12 brings up firebug lite, not the chrome dev tools
 
Man to Horse: Why the long face?
Horse to Man: Why the short dick?
 
:D :D :D
 
Line 128:

y = parseInt(img.style.top);
 
22 mins ago, by rlemon
> How long is a Chinese name.
come on people that ^ is funny
 
img is defined
 
1:38 PM
@TheLittleNaruto Check what?
 
@deep look at the error he reported, then look at the code
you shouldn't be asking what is wrong with it, he already told you it throws an error
 
    function init() {
                img = document.getElementById("foo");
                img.style.left = 1;
                img.style.top = 1;
   }
 
@JuzzCoding Ahh! be quick.
 
okay
 
img.style.left = 1;
img.style.top = 1;
don't expect this to ever work
 
1:40 PM
and don't ever use implicit global variables in my face ever again
 
@TheLittleNaruto yes.. so??
 
@JuzzCoding Am I a good search engine ??
 
it worked before, when it said that img.style.top was undefined
 
I will bin any message containing this shit right away next time.
 
@TheLittleNaruto Was that really a hard job ?? :P
 
1:41 PM
img.style.top = number will not work
img.style.top = number + "px"
 
oh.
 
you can't even argue that it did work
because it never would have set those style properties
 
@JuzzCoding ^_^ was not of course. But I deserve a praise at least . :D what you think ?
 
@TheLittleNaruto might be ! :P :D
 
1:44 PM
@deep: it's saying that img is null. that's telling you something
 
How is Img null?
 
> Disable Back button using JavaScript
why would anyone do this
why do people try to get users to not visit their site
 
@rlemon Check this link.. Its working
 
:-( i shouldn't off googled finger numbness
 
@JuzzCoding Ahh! I'll have to do some tough task then.
 
1:50 PM
@CJRamki what a nasty hack
and fuck this guy seriously
 
@TheLittleNaruto All the Best !
 
HI.. Is this the right place to discuss about jquery errors I got ?
 
@JuzzCoding Cya tomorrow :D :D
 
no.
 
@TheLittleNaruto bye
 
1:52 PM
then which chat room should I go ?
 
@AbhishekHingnikar What happen ?
 
my fingers , half my hand are gone numb
since past 17 hours or so
 
due to Chronological Obsession Lung Disease?!!!!! :\
@AbhishekHingnikar is there really any time when you are fine??
:P
 
@JuzzCoding nonono ... most likely some nueral shit
@JuzzCoding nope ... last time i remember it was years ago
but this shit is serious :-( i mean migranes , sinuses , etc i can deal with it .. but fuck .. numbness suck
I've become so numb, I can't feel the keyboard !!
 
@AbhishekHingnikar wth ???? :O
 
1:56 PM
@AbhishekHingnikar go to a doctor?
 
@ThiefMaster Doc would fail even treating him!! -_-
 
Stop doing whatever you're doing with that hand! :-P
 
@ThiefMaster psh, no, he's just drunk
 
damn woke up this morning have the highest thing voted on /r/gamedev in a long time
not over 9000 but over 200
 
@ThiefMaster did it
 
1:58 PM
@AbhishekHingnikar what he said?
 
they say it could either be cold or some neural problem , gave me some medicenes ... want me to wait by tomorrow
 
@AbhishekHingnikar :'(
 
now DONT cry ... even if i die , i 'd just say the world's GC freed the amount of shit allocated to me ;-)
 
room.tension = n
ahaha
 
@Loktar and you got gold :o
 
2:01 PM
heh yeah was surprised by that
 
@AbhishekHingnikar stop uttering that **** Dialogue !! -_-
 
reddit gold is cool
highlights posts since you last visited
thats my fav thing about it so far
 
@stewbydoo room.tension = n!
see what a simple exclamation mark does ?
 
haha yes
 
@AbhishekHingnikar what does this means ?? Is it regarding u?
 
2:04 PM
@Loktar I was just checking out code for your "snippets I always forget", and was wondering why you use an array and not an object to keep track of which keys are pressed.
Wouldn't the object be better suited?
 
@JuzzCoding no its regarding some congressmen coming in this room and treating us like simple peasants
 
(I mean, total nitpick... they're all awesome snippets)
 
probably :? someone here wrote a better implementation on a question I answered
I couldnt find it though
I just ripped my code from my 2d tutorial super quick
but idk I like the key[blah] = false/true thing kind of
 
@AbhishekHingnikar hahah really? :D
 
/me looks for the better answer
2
A: How to handle multiple keypresses with canvas

ShmiddtyYou could try a pattern like this: (function game(){ // canvas setup ... // set up a "hash" of keycodes associated with whether or not they // are pressed, and what should happen when they are pressed. var keys = { 37:{down:false, action:function(){player1.velX--;}}, ...

 
2:06 PM
@JuzzCoding do you not read the room
 
yeah I guess he uses objects in his
 
i think you were here when the fuss was going on about the bot
 
posted on November 14, 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) {} Pew! Pew! Pew!

 
@AbhishekHingnikar Donno, if i was really here.. :\
 
gm
 
2:08 PM
Good Eve!
 
@JuzzCoding start being alive
@Neal good <whatever>
 
@AbhishekHingnikar as u say, bhai ^_^
 
wish my girlfriend was this obedient
 
hahahahh.. !!!!!
:P
 
@AbhishekHingnikar hi
Your collective knowledge of jQuery is impressive. However when someone says x vs y they just want a simple comparison, when to use one and not the other. They're not after a deep dive. That's why they're here not reading the documentation. All terrible answers — BritishDeveloper 4 hours ago
idk how to respond to ^ that comment
 
2:10 PM
I hope somebody among us one day becomes rich enough to hire rest of us :-)
 
^
 
and get bank corrupt cause most of the shit we will do is ............... debate !
 
PHPstorm tells me that "Inequality comparison with NaN always evaluates to true"
why is that?
 
!!> NaN !== NaN
 
@AbhishekHingnikar [object WorkerErrorEvent]
 
2:11 PM
o_- awww dang it cuprica
 
@user2422960 show the code
 
nvm @FlorianMargaine
i wanted to increment a counter by x. however, x was passed in as a string, so i used parseInt to convert it. I just wanted to know how i should ensure that the string is not empty
 
@user2422960 Because NaN isn't a specific value, so it's not possible to compare it. 0/0 and 0/0+1 are both NaN.
 
i assume my knowledge of the english language is by far too low to explain this in an understandable way. thanks for the help, though, i think i solved my issue :)
 
2:21 PM
@user2422960 maybe you should know about isNaN()
@Loktar see, writing blog posts brings fame!
 
sounds good
 
I write a few of them too, but too few, and in french :(
@user2422960 in JS, NaN is the only value that is not equal to itself
so checking NaN === NaN returns false
this is why there is a function called isNaN()
 
but why the hell is that? a value not being equal to itself? Oo that doesn't even make sense
 
that's NaN :)
 
x != x would also be a valid way to check if it's NaN I think
 
2:22 PM
hi. what is the benefit of angular.js over.... let's say jQuery?. thank you.
 
it's the IEEE54 specification for floating numbers that specifies that
@nderscore it is
 
shizophrenic NaN :<
you can't compare that so easily @thenewseattle
 
jQuery is more like a helping tool while Angular is a complete framework
 
@user2422960 what is the purpose of angular.js, can you give me a concrete example?
 
2:24 PM
@thenewseattle beta.pixter.in
not a good one but you can see how much it modularizes code ?
creates seperate modules allows u to
do more by writing less
and makes code managible and mantainable
for the rest
!!google why use a framework in development ?
 
while there are folks in here who are way better than me at this, i'll try.
angular provides a convention on how to create applications. it warps your app in a MCV based, service driven one. this makes coding way easier and maintainable
 
abishek I checked the source code, just found jquery in it
 
duh login bro
 
maybe you should check out the angular tutorial @thenewseattle
 
2:26 PM
that landing page is done in jQuery :P
 
@thenewseattle Theoretically, Angular allows you to separate display from data from functionality. It also dynamically "watches" certain parts of your data so that your display will automatically update with the new changes.
It can also provide "routing", and display different content based on the URL.
And, of course, it's all client-side, and it abstracts a lot of common functionality (like XHR, event handling, DOM selection, etc.)
 
Ryan: thanks +1 :)
 
Woo! ChatRepScore++
 
Hey Guys, I need a little bit of help with JS/CSS and Firefox, could you look at it? It drives me crazy for over 2 hours now.
http://stackoverflow.com/questions/19979281/highlighting-cells-need-a-firefox-fix
 
@RyanKinal you fishing in the photo?
or bungee jumping?
 
2:31 PM
Belaying
 
... I got an upvote on this answer today
 
Basically, climbing down the side of my office building
 
what the hell is wrong with people?
 
Florian?
 
2:33 PM
@FlorianMargaine :shrug: They like funny things?
 
@FlorianMargaine do you want the list?
 
The List of Common Misconceptions is what came up when I Googled "the list of what is wrong with people"
2
And I think that's probably fairly accurate
Ugh. Angular doesn't handle naming collisions at all.
Who thought this framework was a good idea?
 
I guess everyone loves playing with fixing CSS
 
Sorry, got distracted by my own work
 
2:51 PM
@rlemon TM? So it's a thing that teaches Pokemon?
 
technical machine
 
@Neal I thought about you
Why are NYers so depressed?
Because the light at the end of the tunnel is just New Jersey.
 
@FlorianMargaine :-P
 
Jersey isn't that bad.
We're depressed because our cost of living is too high :P
 
2:56 PM
then go live in Jersey
 
I just looked up "New England"
WTF do you call that flag?
^^ "New England's Flag" ^^
 
@FlorianMargaine it's not much cheaper over there unless you want an obscenely long commute. I don't miss commuting an hour and 45 mins twice a day.
 

« first day (1125 days earlier)      last day (3822 days later) »