« first day (759 days earlier)      last day (4193 days later) » 

12:00 AM
That's a misnomer. You don't have an array there.
Fiddle it?
 
@SomeKittens Thanks. If you used my code that means that there must be a problem in the way python sends data
 
I'm aware it's an object.
Shows the basic form I have
in the js section it shows the basics of the js I'm trying to figure out
 
Any reason why you don't use $ instead of jQuery? Not that it makes a technical difference, but it's kind of ugly to read
 
It's for no-conflict reasons with other tools we use
 
ah.. you might want to wrap the code in a function making $ available inside in case it'd just conflict with other JS stuff
anyway, key and data probably shouldn't be global
so, add var
 
12:08 AM
@SomeKittens Thanks again. I found my problem. Have a good one!
 
@ThiefMaster I've done that already, I was trying to see if it was having issues being declared inside the anonymous function or what.
console.log(temp_eav_arr); doesn't show the object as I expect it
There are just three empty objects.
 
@FlorinStingaciu You too.
 
Made me think of some Joomla or Wordpress theme
Do I have a professionnal deformation?
 
@dievardump deformation?
 
Do I think of that because of my job?
Even when I'm traveling and not working
when I see an image like that, it makes me think of some worpress things.
Some days ago I saw a little tag, it was
" Comic sans ms must die "
Written in comic sans ms
I loved it
 
12:23 AM
@ThiefMaster Any idea?
 
12:51 AM
Hmm, I just figured it out.
Thanks anyway!
 
1:34 AM
This room is so dead at night.
 
Night is relative.
 
YOUR MOM IS RELATIVE!!! OH!!!
/me wildly searches for a high-five
though that's true, I've found it's easier to think like I'm actually in the location I am
I just hope everyone's smart enough to compensate.
 
 
2 hours later…
3:18 AM
0
Q: Jump handling and gravity

sprawlI'm new to game development and am looking for some help on improving my jump handling for a simple side scrolling game I've made. I would like to make the jump last longer if the key is held down for the full length of the jump, otherwise if the key is tapped, make the jump not as long. Curren...

 
 
1 hour later…
4:41 AM
@SomeKittens high-five
 
Excellent timing
 
That's what your MOM said
 
OOHHHHH! I just got served!
 
5:00 AM
Funny, someone made a game out of my guitar tuner
 
 
1 hour later…
6:28 AM
what is an easy way to add support for "required" parameter in HTML5 forms to IE7,8,9
 
7:05 AM
Shim it with JS.
 
There's probably an existing shim
 
Oh shiaaaaat. If I'm making a 2D side-scroller, should I redraw the things that are supposed to be on the screen every frame, or should I just draw it all and then translate the context?
 
Do someone know what happen If I used jQuery in mobile browser instead of jQuery mobile.
 
Translate would probably be better, right?
 
I means jQuery instead of jQuery mobile.
 
7:22 AM
Then you'd be using jQuery.
Seriously.. did you read about jQuery mobile? It's basically jQuery with a mobile/touch-optimized UI framework.
 
@ThiefMaster is jquery work fine in every mobile.
 
Yes, otherwise tons of websites would not work on mobile browsers at all.
 
it's just javascript
 
7:45 AM
@AmaanCheval Depends. Absolute performance wise, it's better to only redraw what you need to. However, it's often possible to redraw the whole thing without having bad performance
 
Hi guys, can you explain me why expression in Ian's answer is correct? stackoverflow.com/questions/13347088/…
 
@FlorianMargaine Yeah, but here I've got a lot of lines, which I've converted to chunks of data images which I then redraw each frame. If I just drew them once, translated, and kept adding to the stack on the right, it'd probably improve performance, right?
 
@AmaanCheval "would it improve performance if I added a baby on the pile everytime instead of clearing the pile and remaking one everytime?"
 
Oh, I'm adding images even when I'm redrawing
But yeah, it's hard to tell
 
and there's no profiling by guessing btw ;)
 
7:49 AM
What?
 
you don't profile by guessing, you profile with tools telling you for real if one or the other solution is the right one
 
Yeah, but changing it to the other one will be work :p
And I feel lazy :p
 
if it works good enough, don't change :)
 
It works smoothly on my machine, but I'm concerned about less powerful ones
 
got a demo we can look at?
 
7:53 AM
Not yet
Hold on
(May take a while)
It's supposed to be like Tiny Wings by the end
 
Thanks
 
@AmaanCheval if there's not much more graphics, redrawing every time is fine
 
Yeah looks good!
 
If I have the time, I'll try to add a background and change the circle to a sprite
But separate canvases, maybe
@phenomnomnominal Thanks :D
 
8:36 AM
Mornign all
 
Anyone that can really simplify why it is === is more correct in most cases than == ?
Morning Time :)
 
where you guys get this moving animation pictures from
 
this?
 
@AndersMetnik '' == 0; // true, '' === 0; // false
 
the guy sitting next to me is shaking and I can see his head going up and down over his laptop, I need a animation of jumping egg :L
 
8:38 AM
@TimeToThine like this?
 
Awesome. :D
This made my day already.
 
@FlorianMargaine thanks, how about something that hides and comes up
lol
 
Okay, what about
var someMadeUpVariable;
someMadeUpVariable == undefined || someMadeUpVariable === undefined || someMadeUpVariable == 'undefined'|
omg
 
@TimeToThine I just googled "jumping egg filetype:gif" in google images...
 
ahh cheers mate I give it a go
 
8:40 AM
@OctavianDamiean wow, so little is needed :p
@AndersMetnik what?
 
there :D
 
@AmaanCheval what's diwali?
 
Indish xmas :D
 
Close enough
 
8:42 AM
something similar though, a bit more like hanukkah afaik though
 
Basically, it's the festival of lights
Goes on for 5 days
 
Diwali (also spelled Devali in certain regions) or Deepavali, popularly known as the "festival of lights," is a five day festival which starts on Dhanteras(Dhantrayodashi), celebrated on thirteenth lunar day of Krishna paksha (dark fortnight) of the Hindu calendar month Ashwin and ends on Bhaubeej, celebrated on second lunar day of Shukla paksha (bright fortnight) of the Hindu calendar month Kartik. In the Gregorian calendar, Diwali falls between mid-October and mid-November. Diwali is an official holiday in India, Nepal, Sri Lanka, Myanmar, Mauritius, Guyana, Trinidad & Tobago, Surinam...
@AmaanCheval Diwali ki shubh kamna then
 
Florian I updated the Q :)
 
or is it Diwali ki Shubhkamnayein?
@AndersMetnik ???
 
 what about
var someMadeUpVariable; (that does not exist)
someMadeUpVariable == undefined VS someMadeUpVariable === undefined
And
someMadeUpVariable == 'undefined' VS someMadeUpVariable === 'undefined'
Which is false and true, or does ==/=== not apply here?
 
8:45 AM
If you never defined it using var or by assigning something (could even be undefined) trying to access it will throw an exception
And the last two examples compare it with a string.
Totally unrelated to the actual undefined
typeof someVariable == 'undefined' would always work
 
Hmm
what about someVariable == null or someVariable === null
as far as i understand == "will ask the interpreter" and === is confined to same kind type of variables ?
 
== is do they look the same, === is they are the same object?
 
@AndersMetnik == coerces, === checks the references of both objects (except for primitive values where it checks if both are equal in value and in type)
@phenomnomnominal == also checks if they are the same object, actually
[] == []; // false
hi @IvoWetzel
 
coerces ? :-/
 
the best place is to give you the standard, wait a minute :)
it's well explained, not hard to read, really
 
8:52 AM
@FlorianMargaine hey there
 
Okay thanks mate
 
this is the list of rules, they're not complicated to read
@IvoWetzel how are you doing?
 
I'll give it a go, hugs
 
@FlorianMargaine Good good, well at least for now... got an appointment with my tax adviser in about an hour... so.. it might either improve... or not :D
 
@IvoWetzel hahaha
 
8:57 AM
hello
I like JavaScript
 
hello
That's cool.
 
You know I said that to be fecicious but it's true. a lot of people say they hate JS but it's because they don't understand its power
 
Or because they saw someone else say they hate it
 
that too.. which is the most annoying one
 
I used to hate it, because I didn't understand it... Now I like it, but still don't understand it ;-P
4
 
9:00 AM
:P
 
But the bits you do understand are awesome yes?
 
@AndersMetnik There's a turning point, you'll start to hate it again if you just know enough of it :P
 
LOL
 
so one of the differences is
1=='1' //true
1==='1' // false
correct? :)
 
9:02 AM
@AndersMetnik yeah :)
 
I think that's true in PHP too
 
@IvoWetzel true... but you don't hate it the same way :D
 
1 == '1' works if i'm not mistaken
but === checks variable type not just value
 
@AndersMetnik That's because in the first case the right side gets coerced to the type of the left side and then compared.
In the later case the type is compared too without coercing.
 
@FlorianMargaine :O
 
@OctavianDamiean Yeah reading it at the link florian has posted twice now (or more) now ;)
 
@mmmshuddup that's the standard, you won't get a better reference :)
 
@FlorianMargaine duuude. bookmarked it already
 
some parts are hard to read, but this one is quite easy
 
9:04 AM
@FlorianMargaine I know mate but seriously, when you do get to use the word coerce? Leave me that pleasure. :D
 
Yeah I believe it. I was tempted to continue reading but it's a very long document
 
@mmmshuddup oh, my bad :(
 
You know, looking all educated and shit.
 
@OctavianDamiean hahaha
Coercion () is the practice of forcing another party to act in an involuntary manner (whether through action or inaction) by use of threats or intimidation or some other form of pressure or force. In law, coercion is codified as the duress crime. Such actions are used as leverage, to force the victim to act in the desired way. Coercion may involve the actual infliction of physical pain/injury or psychological harm in order to enhance the credibility of a threat. The threat of further harm may lead to the cooperation or obedience of the person being coerced. Torture is one of the most e...
 
@FlorianMargaine No I mean I bookmarked it from you lol.. like as soon as I saw what it was I was like ":O ok I need this"
 
9:05 AM
^^
and don't read it entirely, really, it's pointless
just refer to it when needed
 
right
 
Just like with the bible... oh wait
 
you only need to read it entirely if you create a javascript interpreter
 
by the way, what do you guys consider to be "MSN talk?"
 
text talk
 
9:06 AM
what "he wat up w u 2day"
 
@mmmshuddup: hy how r u? im gr8. me 2. wat can i do 2 help?
 
LOL i haaaate that anyway
 
tlkn lyk dis
 
ick
I always write the full words when I'm texting anyway
 
bon je peux parler français j'ai l'impression que ça revient au même pour les anglais :D
 
9:07 AM
eww. now that's worse.
hides
 
non parleis franciois
 
@FlorianMargaine Bless you.
 
i almost understood that!
 
j'taime lol
 
high school french don't fail me now
 
9:08 AM
I actually understand that from knowing spanish and portuguese
well.. I don't really know portuguese lol I just understand it. can't speak or write any of it
except for "esta bien" lol
 
@ThiefMaster that's the point :p "well I can speak french, I feel like it's all the same for english-speaking people (as "text speak")"
 
Your English is much better than mine.
 
Shit dude, I really gotta refresh my French knowledge ... just realized that I'm not going to hit on French hotties without speaking their language ...
 
@phenomnomnominal who are you talking to?
 
Everyone. My English is appalling and I've spoken it for 20 years haha.
 
9:10 AM
@OctavianDamiean they don't like americans :(
haha
 
@OctavianDamiean actually... if you find a french hottie who somehow manages to speak english, you have better chances than speaking french (or, you know, speak very badly french and you're good to go too)
@mmmshuddup he's austrian
 
@mmmshuddup Good for me that I'm Austrian then. :D
 
oh lucky
haha
wow you all have really good english :O
 
@OctavianDamiean Well, you unleashed Hitler on germany and the world.
 
9:11 AM
@FlorianMargaine That's true but many girls find it "cute" when guys try to speak the language
 
Haha shit, that got dark quickly.
 
LOL
 
Just a matter of practice. And to some degree a necessary evil of our profession of choice. You just don't make it that far without decent english.
 
Yeah that's a good point..
 
@ThiefMaster Yet again, good that I'm Austrian then. :D
 
9:12 AM
a huge percentage of documents out there (books, essays etc) are written in English
 
I'd say about 99.99998%.
 
90% of the stuff I read every day tends to be written in English so, yeah...
 
@IvoWetzel Tell that the french and french-speaking-swiss people who refuse to spean english...
 
I assume there must be programming languages that aren't in English?
Never thought about it before
 
@phenomnomnominal the formula language in MS excel
 
9:13 AM
@ThiefMaster lol
 
@ThiefMaster They're to busy putting frogs onto their baguettes! They just have no time to learn English :P runs
 
it's localized and thus it's fucking horrible when not using an english ms office
 
@ThiefMaster yeah that is like aramaic to me
 
@IvoWetzel ... frogs?
 
Which is funny though as it is supposed to be maths which is the so called universal language. :D
 
9:15 AM
have any of you guys checked out that webplatform.org site yet?
it kinda sucks so far haha
 
Where would I begin on developing a terminal with JavaScript?
I know I could use the DOM to add and remove elements.
 
@W3Geek What exactly do you mean by that?
 
Something like this...
 
Like the Chrome console?
 
9:15 AM
No, it would just run 'fake' commands.
 
Well, you won't get around the DOM if it is supposed to run in the browser. Either DOM or overkill WebGL.
 
It would give the illusion of running commands I guess? Do you get what I mean? @OctavianDamiean
 
@FlorianMargaine A common saying here in Germany that French People tend to eat frogs or at least their legs, it's part joke / part an insult. And mostly an urban legend.
 
oh god I hate php closures <<
 
9:17 AM
Actually, maybe WebGL ain't that overkill.
 
@IvoWetzel it's not just an urban legend, frogs legs are actually good to eat.
 
Yeah it it supposed to run in the browser. I am using the DOM for sure.
 
their thighs, more precisely
 
@W3Geek If you're using the DOM I'd make sure to reuse components instead of just creating new ones.
 
But how would I get... Username$> and the terminal (command line) cursor _ to work exactly? Those are the parts that confuse me the most.
I definitely plan on doing that.
 
9:19 AM
someone should pay attention to my last message ¬¬ lol
@FlorianMargaine Really? I love them!
 
@mmmshuddup Well, that's another site outside of the StackExchange ecosystem. How do yu expect us to CV on it?
 
@mmmshuddup they're so badly implemented <<
 
dude the cv thing was a joke!
sorry I thought that was obvious.. that's why I put the "LOL" there but yeah I know you guys can't close it haha
 
Would I just use a incrementing variable to keep up with number of lines on the screen?
 
if you want to use a variable available in the closure, DON'T FORGET TO PUT IT IN THE USE FFS AND DONT TRY TO USE MANY BECAUSE USE SUCKS
 
9:20 AM
@mmmshuddup I'm sorry, I'm not able to parse jokes. The internet is serious business.
4
 
@FlorianMargaine Agreed
@OctavianDamiean LMAO
 
Anyone know SVG?
 
seriously LOL!!
that's the best thing I've heard all day
 
I added a textPath to SVG, how can I keep the text upright,
 
@jasonjifly that's an insurance company right? lol jk
 
9:23 AM
NO,:)
scalable vector graphic
 
@mmmshuddup Told you. :D
 
Who wants to down-vote one of my questions?
 
If the origin of path is on the right, the following points are on the left, then all text are upside down
 
I'd need one down-vote. Only ONE!
 
9:25 AM
why? lol
the most bizarre thing happened yesterday
someone accepted one of my questions, and instead of getting 15 points I lost 10 points.. :S
 
I currently have 14.102 rep which drives me nuts. I want to have 14.100
 
lol
 
@OctavianDamiean 4 upvotes and then you downvote someone would be better
 
done
 
I have spent a lot of time on this, any solutions there
 
9:27 AM
The first command I am implementing is echo. I think it would go like this, the user would type the command, JavaScript would receive the string, split it up and look for the command. Run it passing the split string, create a new line and display the results?
 
@DaveRandom hey!! fancy seeing you here
 
Ah! Better.
 
That is basically it I believe?
 
@W3Geek Sounds good.
 
1 min ago, by mmmshuddup
someone accepted one of my questions, and instead of getting 15 points I lost 10 points.. :S
can anyone explain that??
 
9:28 AM
@mmmshuddup Meh, I drift in and out. Mostly I come here to be berated for forcing JS to behave like a classical language.
 
@DaveRandom lol nice
doh, I meant to say "answers" not "questions"
 
@mmmshuddup I don't see it in your rep history
 
I know right me neither
but yesreday I had 3937
and today I have 3927 with nothing in my history showing why
if anything I should have 3952...
are points lost if something is deleted? maybe a mod deleted one of my answers to something that only had 1 upvote? :S It is a mystery to me
 
@W3Geek Are you trying to implement a terminal? Are you expecting it to do stuff client side or server side (where the cmds are executed)?
 
@mmmshuddup That might be caused by a question being removed which you've answered with your answer having one up-vote.
 
9:30 AM
angry
 
@mmmshuddup Ohhh that'll be because a question you answered was deleted. That doesn't show up in the rep history (annoyingly)
Hanging around in PHP is liable to do that ;-)
 
lol touche. so many crappy questions come in and go out so fast that no one is any bit the wiser
 
@DaveRandom I'm just doing like a fake version of terminal to run fake commands.
 
@W3Geek It's a good thing you chose a fake programming language for that :P
 
BLASPHEMY
 
9:32 AM
@mmmshuddup You shall burn in hell for that!
 
@mmmshuddup: stackoverflow.com/questions/13265670/… got deleted; that's how you lost some rep (-25)
 
haha! It is just a personal project I am attempting to do so I might be able to better it someday.
 
LOL it's what everyone says about php and JS. so annoying
 
@W3Geek Seems simple enough, just listen to the keyup event of an input, grap the value, do stuff with it, spit the results out into a container element. What's the problem you are having?
 
@ThiefMaster :O how did you find that out??
 
9:33 AM
@mmmshuddup He is a blue tag or diamond, call him whatever you like. ;)
 
also he's a wizard.
 
:O oh I didn't even notice that
 
I think you'd even see it in your own rep history if you had 10k+ rep
 
@ThiefMaster thank you for looking into that for me!
@ThiefMaster are you able to see what the question was? now that's gonna bug me lol
 
I heard he eats babies for dinner, probably a side-effect of hanging out with @Zirak.
 
9:34 AM
yes, that link above points to the question
 
@ThiefMaster Before I go ask a Q on meta, has the fact that rep changes due to deletions don't show up been discussed at all? I thought all the reworking of the rep system a few months ago was supposed to prevent stuff like that? It is quite annoying, especially when I have enough rep to view the deleted post
 
yes but I get a page not found error
 
@DaveRandom I more than certain it was.
 
yeah, you need 10k rep to view deleted stuff
 
ahh but I see the title in the URI now nevermind lol
 
9:35 AM
@mmmshuddup You ain't >10k.
 
yes I know, stop reminding me :( haha
 
> PHP4 variables: concatenate array in declaration [closed]
 
@DaveRandom: "show removed posts" doesn't cause them to show up?
 
@mmmshuddup It was that ^^
 
ahhh yes that was such a stupid question
you guys should have seen his code.. it was just so wrong
 
9:36 AM
@ThiefMaster yes it does, I'm just an idiot, thankyou.
 
bummer I want those points back :(
someone should pick a random answer of mine and give me exactly one upvote :)
lol
 
I would never do that.
 
well I mean pick one that you think is a good answer of course lol
 
@mmmshuddup No offence, but if you don't want that sort of thing to happen, stop answering rubbish questions. You even close voted it yourself - you cast the first close vote no less - and yet you still answered it? Come on... ;-)
 
9:39 AM
lol true enough.. FINE FINE :)
in my defense I only answered it cuz there was another guy who gave a really terrible answer
and not enough other people were close voting it so I just said what the eff, I'll just answer it so it can be accepted and done with
I cna't remember his name but he had high rep and his answer was terrible
 
@mmmshuddup is your friend
 
what does do?
 
@mmmshuddup UnparsableWordException: On message 6202517 starting at column 35.
 
@OctavianDamiean wut u tlkn abt? txt spk ftw
 
9:44 AM
@OctavianDamiean lol crap well "cuz" is one of the few exceptions I make (occasionally :))
 
@DaveRandom ScrewYouException: Just screw you.
 
lol
@DaveRandom Thanks. ok so is there some sort of compiled list of people somewhere?
 
Probably most of the people with cv/dv privs in #php
 
@mmmshuddup Yes, they're called "The Fellowship of the Ring".
 
LOL oh you guys
you're killin' me here haha
 
9:49 AM
You got, Forodo.
Merry and Pippin.
 
@FlorianMargaine shubhkamneyein is what I hear most of the time. However, not many people say that. People just say happy Diwali
 
Good god I already make native-speaker mistakes!
 
Hi:-) HOw can I make this `contains` case Insensitive

option:selected:contains('aaaAAAaaa'))
 
@RoyiNamir By normalizing every input.
 
@mmmshuddup No, it's basically just whoever is hanging around in . If you find a question that you think needs to be closed, post a message in the room that says " [link to question]" so people can take a look at it, and if they agree that it needs to be closed they will vote. But we do also like it if you can improve the question, or others may see room for improvement
 
9:52 AM
@DaveRandom Ahh yeah I do that too once in a while.
 
Not to forget Aragorn!
 
@OctavianDamiean what ? it's a selector which search for a string. I wont know what will be the input which can be AAA or aaa
 
@RoyiNamir So normalize everything either to all upper case or all lower case.
 
@OctavianDamiean my favorite is Agent Smith, his elven name I cannot recall
 
9:54 AM
@mmmshuddup I'm afraid I gotta burst your bubble. Agent Smith is none of the fellowship.
 
Thanks :-)
 
I'm going to name my first-born son Optimus Prime.
 
@OctavianDamiean Elrond, and well he wasn't part of the fellowship, he created it :)
@OctavianDamiean are we really continuing this? lol
 
@phenomnomnominal What a lucky chap, the other kids are going to be all over him. :D
 
Better than being called Bumblebee?
Maybe Optimus as a middle name.
 
9:57 AM
There was a kid in the year below me at school called Drew Peacock - true story
 
It'll go like this. "Hey Optimus! Transform to something cool. I SAID TRANSFORM" followed by a kick or two.
 
Whatever, bullying will be extinct in 5 years! Ha.
 
ha we could only wish
 

« first day (759 days earlier)      last day (4193 days later) »