« first day (529 days earlier)      last day (4641 days later) » 

user457812
05:03
Well, don't answer if you don't want to.
Dave Javascript is really cool
0
Q: How can I imitate interaction and movement in Diablo II?

user422318I'm prototyping a simple browser-based game. It's played from a top down perspective on a 2d canvas. You left-click on a point on the map, and your character will begin walking to it. If you click on a different point on the map, then your character will begin walking to the new point. It's s...

@Nil so u are fine
@nil had ur javascript lessons
@nil Where are u
hey.guys i got a prob.how to judge a person leave a chat room
05:19
@Nil Dear Nil u have gone dearest of all my friends
hey.guys i got a prob.how to judge a person leave a chat room?
what are you asking?
$(window).bind('beforeunload', function (e) {
if(current_url != location.href){
$.ajax({
type: "GET",url: "/leave/#{@room.id}", async: true
});
}
}):
im doing it like this.
in a chat room.while user close the browser,thati is user has leave the room ,then send msg to server.
what is current_url?
05:25
location.href
if current_url = location.href then current_url != location.href will be false
this is used to judge that action is refresh or otheres
if its refresh action.do nothing,or send msg to server.
well, current_url is being set wrong...
remove the if statement, test your ajax...
then add the logic to test for a refresh
you want to make sure everything else is working first, take it in steps
@hlcfan also, you have a colon at the end of that, replace it with a semi-colon
very last line
> }):
@andrewjackson Hello man
lol... put this into console on this page:
$(window).bind('beforeunload', function (e) {
return "lol?";
});
refresh page, and say to stay on page, and it crashes chrome tab
Can any one see why this comes out true for both: jsfiddle.net/LCS4c/21
user457812
I have no idea why Philip is linking to that gif I'm hosting
05:34
@andrewjackson hi,this works.but $.ajax wont work....
@Dave because you are working with strings, and not integers
@Hello Nil finally answered how r u ?
@andrewjackson what?what string?
so i have to convert them prior to if statement ?
damn :( more processing to do
user457812
@Philip I'm still waiting for an answer to my question
05:35
ok tell man
what question
user457812
Did you flag all of my answers?
philip stop posting the image itll be seen as spam
hey me no dude
heh... 22... my lucky number
05:36
@andrewjackson how come only the second object needs to be converted but not the first?
@Nil no dude
both are being converted
I converted the first one outside of the loop
oh i see
ok thanks :)
less overhead
np
@hlcfan you fixed that colon thing, right?
05:39
@andrewjackson its not a colon.
not : ,its ;
$(window).bind('beforeunload', function (e) {
$.ajax({
type: "GET",url: "/leave/#{@room.id}", async: true
});
});
@hlcfan well, in the code you pasted it was
user457812
@Philip Are you lying to me?
user457812
'Cause I would rather you said yes and it was behind me than find out later you're lying.
$(window).bind('beforeunload', function (e) {
$.ajax({type:"GET", url:"/leave/#{@room.id, error: function () {
alert("url probably 404's");
},
success: function () {
alert("got a problem with your server side code");
}}"});
});
Man u are man of poets ......Just beleive me I didnt do
Ur Englisg is good
user457812
05:42
Very well. Let's both hope I don't hear otherwise later.
nil are u man or women
@andrewjackson hi,man u know that alert wont work.cuz some reason.
I feel that u are a female
user457812
I am a transparent floating eyeball.
user457812
I owe a beer to whoever gets that reference first.
05:44
@hlcfan oops, there's a error...
@Nil are u female
@andrewjackson :-)not a error.errors.im fixing.
user457812
I don't believe gender matters.
@Philip think nil is a women
@nil agrees
@hlcfan lol... I really screwed that up
05:45
@Taylor nil is recognised as female
@nil I do... because everyone knows women don't program, and if they do, they hide it very well... and if it doesn't matter, what are they hiding from?
some thing inside my heart states Nil is female
@Philip really in what,Lisp?
something inside my heart tells me @Philip is pretty young
user457812
Something inside my heart tells me @Philip is attempting to stalk me
05:48
@andrewjackson I think so also
Really guys
u felt me inside ur hearts
hey guy in here do you like a more dominant women or a submissive one
Dominant women
user457812
I really don't want to see the discussion move in that direction.
wtf )))
user457812
05:49
It's weird enough that we've got one person trying to figure out if I'm female or not.
andrew and Taylor please tell from ur chat with Nil she is female right
Nil is a bro... so stfu please. thank you. =]
@Philip I agree , OK I think nil is male
Nilllllllllll noooooooooooooo
My heart is broken into pieces
guys
user457812
You are one creepy fellow.
05:51
well, he is Indian
@Philip right?
user457812
I think he's the exception, not the rule
Nil u are an English poet with nice words
looking at my list of locations, but I forget which one is him
I'm going to add a comments field, to make a note of who's who when I figure it out
Whatsoever Nil have a wonderful day
God bless u
Sorry for guessing u as a female
@Philip Nil's profile says male... so that makes you gay for clearly having a crush on a guy... good job.
I hope I don't get auto banned for that
user457812
05:55
I don't swing that way but I appreciate all love nonetheless
user457812
Also, my profile says I'm male?
"you" and "gay" probably = auto ban
"the result of wanting to be a one-man game development team when I was 12"
any one on facebook twitter or google +
user457812
"one-man" is more of a generic term that's gendered but not really specific
user457812
It's kind of like how you'd call a female mail delivery person a mailman regardless (or maybe that's just me)
05:56
I'd call her a mail-person and be wrong ._.
@Andrewjackson Nil is right I hope it is her not him
@nil you would like maitraiuen
The hell's going on?
user457812
Does he still think I'm a woman?
user457812
@OctavianDamiean I'm currently experiencing the same thing Reno did
05:58
Oh boy ...
you know that one guy that always get's weird whenever he thinks there's a girl around? ---> @Philip
@nil I thought reno was a girl also
Hey a wild guess guys check Nil photo with a bird ......there is a girls finger over the owl
user457812
The important thing is that I'm just laughing my arse off
05:58
If it gets too weird just flag the heck out of it.
yaaa.... that photo is viral I think, could be wrong
@Nil is it ur finger
user457812
@Philip This might be embarrassing to learn, but that ain't my finger
over the owl
@Philip I picked on nil about that pic also
user457812
05:59
Nor is that my owl
@is it ur owl Nil
does anyoen have any experience communicating between javascript & FLEX ?
@andrewjackson AND TAYLOR WHAT U SAY GUYS
user457812
It is the most adorable owl ever
06:01
wow, so these chatrooms are really useful eh? sarcasm
@We will finalize with topi by voting stating whether Nil is female or male
@Philip no I don't think it's nills owl
@nil Congratulations! You've got your very own stalker troll!
user457812
@Randyaa This is seriously not normal
@Philip here you go, go stalk that girl
06:02
Ok so taylor says Nil is male
right
user457812
@OctavianDamiean Yeah, he's in all the rooms I'm in
anyway... i'm out. guess I won't be back here anytime soon
@Randyaa idk FLEX, but I imagine it would involve either JSON or XML?
@andrewjackson man good link
06:04
@Philip why stalk a girl when they could be stalking you?
@Taylor yes dude u are correct
@Randyaa Yea, I can understand your emotion. It is not a normal behavior in here though.
user457812
Philip is obsessed with me now.
More importantly, why come here and troll this room if you could jump off a bridge or something instead?
@nil why Nil did u send everyone telling that I am stalking u in Android chat room
06:06
Guys what the hell? This is way way too much.
people are getting ignored =]
I'm just going to flag your messages now.
user457812
I'm just baffled by all of this. Really, really baffled.
@ok Nil don't get angry be patient
user457812
06:07
It's all weird, but I haven't seen anything worth flagging.
it doesn't necessarily have to be obscene to flag
user457812
I just don't feel like I should flag it unless it's really universally offensive
hey could anyone help with this on my site
Trolling is just as inappropriate as any kind of other harassment.
user457812
06:08
And this is more along the lines of universally pathetic
I can ignore this guy all I want, and people are still participating in his conversation.. so what then? ignore everyone talking?
@Nil comes out finally with good words
that's when ignoring fails, and that's when you start to flag
@andrewjackson u are a good man
The point is that such trolls scare serious users away.
06:09
ice-os.com/en/projects/pound_a_politician see the slider on this page does not fit the content incept in Firefox
meh... or Icould just go somewhere else and work on my tracker =]
@TaylorBioniks be more specific
@nil I became ur ardent fan
user457812
At any rate, flag away if it fits your definition. I'm just not interested in getting immolated in the C++ room.
U are an all rounder
@TaylorBioniks oh, I see what you mean
@TaylorBioniks is that your site?
06:12
@andrewjackson yeah I'm trying to make it like android
Taylor, you don't happen to use Ubuntu, do you?
@andrewjackson & I don't know why it works like this
@OctavianDamiean Why
Nil is complaining to everyone in Android room that i am stalking him Oh God
or her
@TaylorBioniks Well, because of the Unity-like navigation on the left.
@TaylorBioniks inspect element in Chrome, and you'll see that the width for 'li' is being set to 700px
06:14
@nil What happened Nil don't get angry
@OctavianDamiean yeah I use Ubuntu
@TaylorBioniks whereas in FF, the width is set to 320px
@andrewjackson OK but why is this? I have the CSS set to null
are you using jQuery?
you clearly have a function that's dynamically setting the widths
yeah there is Jquery
06:16
well, I was gonna flag all of his posts in Android room, and he can't talk there, so that's good.
He won't talk in there as long as I'm alive.
user457812
I just put him on ignore, this is done
@andrewjackson here is my code before use on a site pastebin.com/xWZvcRyF
@TaylorBioniks I would go to Chrome developer console, then go to scripts, and search through all of the scripts for .width(, if you don't find anything with that search for .css('width' or .css("width", then try width:, "width":, and 'width':
find what's setting the width
06:20
Don't forget about min-width though.
well, min-width isn't what's being set though
@andrewjackson my width is set to null how can I set it to the width of the image?
no, maybe setting it to null makes it try to auto detect?
how about saving yourself the trouble, and actually setting it?
FF sets it to "350"
use that
the way it works, from what I can tell, is that it requires a width... so it must try to auto detect
sbi
sbi
Guys, can you please knock off the useless flag-spamming?
#slider, #slider li {
    width: null;
    height:null;
    list-style: none;
}
that's not even valid
oh nm
06:26
@sbi It is not useless.
actually, no it's not
That guy is an obvious troll.
that's what was used in the tutorial
sbi
sbi
@OctavianDamiean Then please flag for a moderator to do something about it.
@sbi there's like I said, there's a point when you can ignore him, but everyone still participates with his conversation, and everyone else in the room is clearly bothered by him, but won't ignore also
sbi
sbi
06:27
@OctavianDamiean Of course it is! What do you think all the 10k+ users in the other rooms are thinking when they log in and find 30+ flags waiting for them? They assume a flagging fight and dismiss them all just to get rid of the nagging.
That there was a troll and people flagged him?
@TaylorBioniks "null" is not valid for CSS, it should be "auto"
sbi
sbi
@andrewjackson Then flag for a mod, FFS!
With dismiss you mean invalidate?
@sbi how am I supposed to know the difference?? I didn't know >.>
now I do
06:29
If that's the case they use it the wrong way.
sbi
sbi
@andrewjackson Yeah, I know it's not well communicated. I am sorry if I came down on you too hard, but this is annoying.
well sorry to annoy you, I'll use the mod flag next time, now that I know that's an option
@andrewjackson OK
@TaylorBioniks still, I don't think that's the issue...
sbi
sbi
Start reading here. This has links to other complaints on meta about the inadequacy of the flagging system.
06:31
@TaylorBioniks try just setting it to "350px" like I said
@sbi I'll read, thanks
sbi
sbi
Ok, good bye. And sorry for being so annoyed at you guys.
@andrewjackson setting it to 350px make it bigger but it works . I was trying for auto resize
@TaylorBioniks well there's also probably some option in the slider function you're using
@TaylorBioniks is this what you're using?
@andrewjackson I am using proloser.github.com/AnythingSlider which is Javascript
that's the same thing >.>
06:37
@andrewjackson sorry I was finding the link and did not see you had posted
@TaylorBioniks okay... set your CSS code so that the width is auto, instead of 350px...
@andrewjackson
and look at your code for you AnythingSlider function, and find "resizeContents:false" and make it true
@TaylorBioniks there's a ton of options there, you really need to look through them
@andrewjackson I did but I had no luck
well, I'm not sure then. it's a problem with your settings, because that works fine in Chrome on the example page
06:43
@andrewjackson OK I did that and it makes the image none or tall and skinning
@andrewjackson well if this does not work know any replacements?
no, I write my own scripts lol
well I'm not that good with Web Code
ok...
@TaylorBioniks try changing your DTD
@andrewjackson DTD document type? to what?
idk if this will work... but your first two lines of code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
make that:
<!DOCTYPE html>
<html>
06:48
OK
no clue if that will work, but it's the obvious difference between your page and the example page
next, I'll say change your jQuery version
OK it does not work I will now luck for a different slider
well...
the slider works
we can see that on the example page
ken Thompson the creator of unix?
well does not work and I think it is because my images are not all the same size
neither are the images on the example page...
06:52
Hello
well maybe its because they are all set to a size in the html
Are there any tools that can organize the CSS code and that doesn't remove the comments? I want to sort the properties alphabetically.
0
Q: Build tools for php, html, css, js web app development

cs_brandtWhat are some recommendations for a build tool that would allow me to upload changes to a web server or a repository and minify the js and css automatically, and possibly even run Closure compiler on the JavaScript? Im not worried about doing anything with the php code other than update with mos...

@TaylorBioniks try removing all of the options for it so it's just $("#slider").anythingSlider();
it looks like you have all of the default options anyways
I've always just written my CSS already alphabetized, so I never really needed it. =/
Ok, for me that was an after-taught
This preserve the comments
07:00
@Andreas I was just about to send you there next =]
Ah, no it doesn't. I looked at the wrong screen.
@andrewjackson well not there is no slider
@TaylorBioniks I'm sorry, idk then... all I know is I've seen it work how you want it in the example page, so I know it can do it.
@Andreas in options, there's a checkbox for "save comments"
@andrewjackson OK thank you for your help
RT @NVAccess: A screen reader for everyone: why the world needs NVDA http://bit.ly/Hhfs0z via @mediaaccessaus
07:02
@TaylorBioniks try this: jsfiddle.net/Mottie/VM8XG
@andrewjackson sweet, thanks.
@TaylorBioniks one last thing... try setting the width to 1px for css. lol
go all the way back to the code you started with when I started "helping" you... and change "width: null" to "width:1px", and delete "height: null"
that's the last thing I can think of
07:27
@TaylorBioniks did you try it?
#slider, #slider li {
    width: null;
    height:null;
    list-style: none;
}
make that:
#slider {
    list-style: none;
}

#slider li {
    width: 1px;
    list-style: none;
}
lemme know how that works............
I think that worked
what was the link again?
that's the last thing I'll suggest lol
here is someything funny from the page click the arrow
07:33
1 hour ago, by sbi
Guys, can you please knock off the useless flag-spamming?
1 hour ago, by Octavian Damiean
With dismiss you mean invalidate?
^Absolutely
then remove the #&panel1-2 from theurl and hit enter
in Lounge<C++>, 13 mins ago, by sehe
@sbi I marked most as invalid (the non-offensives out of context), the 1 (or 2?) offensive one 'valid' and the remaining (potentially offensive) as unsure. I just don't want to reward serial flagging
and it works with out anything
@sehe Well that is fine, you didn't just invalidate without trying to figure out whether it was out of context or not.
@TaylorBioniks not sure what you mean, it just refreshes for me
07:35
in chrome if I do that it loads correctly
@OctavianDamiean: just thought I'd share. I'm a rather patient guy, so I try to make sense of the rubbish. But you should really keep in mind most 10k users aren't that patient. Just thought I'd let you know:
Knowing how stuff actually works, is a good catalyst for change :)
@sehe you didn't have to deal with the spamming...
Oh I know that, I'm on of them.
I was validating them because I was in here when the action was ongoing.
@andrewjackson Kinda hard to ignore. Also, that is a very strange reason to do the spamming at all
He didn't know about the flag for moderator attention option and I failed to tell him about it.
So in essence it is my fault.
07:37
@sehe exactly, it was hard to ignore the guy, even when literally clicking on ignore, and pretty much everyone in the room was uncomfortable with him =/
@OctavianDamiean I reckon you mean you are a room owner?
ya.... next time I'll use that option, if it's absolutely necessary
Just a user like you. :)
Oh I see, "one of them" :) Well, cheers, have a good day.
For the record, I wasn't bothered, but I found out that our resident grumpy old ape (sbi) had gone through the trouble of actually contacting you guys;
07:40
Yup and I thank him for reminding me of that option as I forgot about it myself ...
I just thought it would be polite to add my support and perhaps lend you some insight on how that works with global flags. I see you already got the point, so - no problemo!
And of course thank you too.
well @andrewjackson all set up and working thank you for your help ice-os.com/en/projects/pound_a_politician/index.shtml
@TaylorBioniks np, glad you figured it out
07:57
Interesting, flags are still incoming ...
@OctavianDamiean old ones??
I only flagged like 3 things
Yea, from old posts of Philip.
I think the flag system is just buggy, among flawed

« first day (529 days earlier)      last day (4641 days later) »