« first day (908 days earlier)      last day (4047 days later) » 

1:00 PM
@Jan Basically almost as if I created the file but forgot to add it to the HTML.
 
@ŠimeVidas it hides ur local changes then u can do a git pull and merge the branch and the u can pop ur hidden local changes back and merge them
 
But now a new problem arises. The error is gone, but my function verifying collisions with walls (line 204) causes my character to be immovable entirely when it hits the wall, which is obviously not the goal I was aiming for. Could someone help me look into this?
 
but those are command line commands
 
My game area collision check also does this. The character becomes magnetically attached to the wall.
 
@rlemon teach me how to vim teach me teach me how to vim
Saying that like the duggi song :/.
 
1:03 PM
@Sushil Yea, I see GitHub folks love using the command line, but I'm confident that I'd make it much worse if I tried executing commands in the prompt. :) Maybe I learn it some day. For now, if I could - via the GitHub web site - revert (i.e. delete) the last commit I made, that would be great.
 
@Ariane instead of preventing movement if the player collides, prevent movement and move him outside the wall
 
@Jan Sounds smart.
 
@XCritics here you go : $('<meta>', { 'http-equiv' : 'REFRESH', 'content': '0;URL=http://google.com/ '}).appendTo($('head').get(0));
^ jQuery page redirect.
 
@ŠimeVidas well its a straight forward click on github UI
go to ur repository in the local section
click on ur cloned project
 
1:05 PM
*your
 
and click on the commit (that show's up on the right hand side)
and on top at the middle region u'll see 2 options
 
user142019
Hey, what's up.
 
revert commit and roll back this commit
 
@Zoidberg the sky
 
https://github.com/Gacnt/Busapp/blob/master/public/javascripts/find.js
https://github.com/Gacnt/Busapp/blob/master/views/find.jade

@rlemon is what i had before
 
user142019
1:06 PM
What's the sky?
 
The sky, also known as the celestial dome, commonly refers to everything that lies a certain distance above the surface of Earth, including the atmosphere and the rest of outer space. In the field of astronomy, the sky is also called the celestial sphere. This is an imaginary dome where the sun, stars, planets, and the moon are seen to be traveling. The celestial sphere is divided into regions called constellations. Usually, the term sky is used from the point of view of the Earth's surface; however, the exact meaning of the term can vary. For example, in some cases the sky is defined...
 
user2157210
@OctavianDamiean why is it working on 4.2.1 but not 4.2.2 its targeted on 4.2.2
 
user2157210
this is retarded
 
beautiful image, by the way
 
user2157210
I dont like android
 
user142019
1:08 PM
Oh, that "outside" thing. I never go there.
 
@ŠimeVidas did u find it?
 
Oh god, too much franks red hot sauce in my soup, gums are burning
 
@XCritics just use window.location.href = url;
 
@Zoidberg you should. The graphics is amazing
 
@rlemon yeah thats what ima do when I Get home, at work now so I can't do anything :/
 
1:09 PM
@Sushil I'm posting a screen shot.
 
@Zoidberg with no lag
 
user142019
I don't care about graphics.
 
user142019
Does it have IRC and /b/?
 
@Sushil Hope it helps.
 
1:09 PM
@XCritics That stuff sucks. It's too weak.
 
@KendallFrey See, I like it more for the flavoring than burning the shit outa myself, but it does have a nice zing in high doses
@rlemon what is this 'pull' you speak of :)
 
@ŠimeVidas Hire a hit man?
 
I hate the pepper taste. Just burn me.
 
@Sushil I want to revert a commit on the GitHub site, not on my local machine.
 
1:11 PM
Oooooh, you don't want those guys dead.
 
@ŠimeVidas Revert it locally, and then push that to the remote repo
 
@rlemon and thats fuckin teammwooorkkkk
 
I don't think I can be of any help, then.
 
@Jan
 
1:13 PM
@XCritics you know in github you can make file changes and pull requests right from the gui right?
 
		function colCheckGameArea() {
			var playerTop:Number=maScene.player.y-maScene.player.height/2;
			var playerRight:Number=maScene.player.x+maScene.player.width/2;
			var playerBottom:Number=maScene.player.y+maScene.player.height/2;
			var playerLeft:Number=maScene.player.x-maScene.player.width/2;

			if(playerTop<=130) {
				playerMovY=0;
				playerTop=130.1;
				maScene.player.y=playerTop+maScene.player.height/2;
			}

			if(playerBottom>=stage.stageHeight-19) {
				playerMovY=0;
				playerBottom=stage.stageHeight-19.1;
 
-2
Q: How animate div so it looks like slideshow

user447487I have 2 divs: div1 and div2 that contain images, I replace one with another. $("#div1").html($("#div1").html()); How can I replace them so I get this effect http://cssglobe.com/lab/easyslider1.7/01.html. I do not want to use this plugin. Is it possible somehow animate them?

 
@AmaanCheval Yea. I guess I could do that. A bunch of Undos in my text editor, until the GitHub app stops reporting uncommitted changes. -.-
 
This "works" but causes the character to continually "bump" into the wall, going back and forth slightly all the time.
 
@rlemon yeah i click the magical sync branch button right>?
 
1:14 PM
@ŠimeVidas oh ok
 
idk
 
@Ariane don't render between moving and collision checking?
 
move -> check -> action? -> render
 
@Jan Render?
 
1:17 PM
@Ariane rendering = generating an image [on the screen]
 
@ŠimeVidas i'm not sure how to do it directly on the site, haven't u cloned ur repository?
 
You have control over that, right?
 
@Ariane Do your check for collision before you let it move
 
@Jan uhm, this is all continuous, in an ENTER_FRAME function, which by nature executes all the time on Flash. If you can have any control over that I don't know it.
 
That's not what he meant
 
user2157210
1:18 PM
urgh flash
 
He meant to ask if you had control over the sequence of events in the loop
 
@Amaan I don't know how I could do that. My character's position is updated in real time and I really don't know how I can "not let it move".
 
user2157210
shall i ask the flash dev next desk to join the chat maybe he can help if its needed?
 
Got some code to see?
 
Most likely rendering happens after enter_frame returns, right?
 
1:18 PM
Oh, never mind, found it above
 
posted on April 11, 2013

On 16th and 17th of May the third edition of Mobilism will take place in Amsterdam. Mobilism is once more going to be special this year, not only for its speaker line-up, on which more below, but also because this could well be the last Mobilism. Ticket sales have been pretty bad until now, and we have to face the fact that we may lose money on Mobilism 2013. Now we love the mobile web, we lo

 
@Jan Uhm, ENTER_FRAME does player.x+=playerMovX; continuously (same for Y).
 
What does it do before +=playerMovX?
 
@AmaanCheval you could also have a pos_x (used for rendering) / pos_x_next (used for and manipulated by physics)
 
@Amaan Nothing.
 
1:21 PM
@Ariane Where are you checking for collisions?
 
@AmaanCheval bump the source link please
 
@Amaan ultimately this is checked by a function called originally by the keyboard key press.
 
:O
i just realised there are totally sexist and childish jokes in the sidebar
 
@AmaanCheval That is the command line. If I tried using the command line, I'd make it worse. I'm using the GitHub Windows app.
 
@phenomnomnominal shame on you, i'll put this on twitter immediatly
 
user2157210
1:22 PM
@GNi33 its Jayscript room what did you expect
 
@ŠimeVidas The app probably can do it too. I don't know how, though
 
get you fired n stuff
 
Hahaha
 
@Amaan NEver mind
 
This isn't PyCon
@Ariane What?
 
user2157210
1:23 PM
and he didnt even talk about his dongle
 
Figured it out?
 
@Amaan ENTER_FRAME calls movePlayer, which in turn calls checks for the game area and walls. THEN it moves the player.
 
First move, then check
 
are you....
are you talking about flash?
 
First update the value, which means move it, then check and fix it, then render
Yeah
 
1:24 PM
 
@Jan Why ? What my collision functions do is set the movement speed in X or Y to 0 depending on collisions. If I use the speed before the functions, I feel it makes them useless or something. Or should my functions drop influencing the speed and just give it a new position?
 
user2157210
@GNi33 you seem to love flash
 
yeah, i do
 
@Ariane you should check the new position. It makes sense to do it after it's been applied
 
nothing screams "FUCK YEAH INTERNET" like "shockwave player has crashed" every once in a while
 
1:26 PM
does anyone have a idea on why this isn't working? ..
	$('.featherSlider').slider({
		max: $(this).attr('data-max'),
	});
 
hey people. On appfog, what is instances?
 
@AmaanCheval @Sushil I think I'll go with the fool-proof approach: Save a copy of the file I changed locally. Then remove the entire local clone, and clone the remote repo again to my local machine. Last, paste the file back into the local repo, and commit the changes to GitHub.
 
the MAX part? ^^^
 
@Jan So my collisions shouldn't have an effect on movement speed, but just position, right?
 
user2157210
‘Guns don’t kill people. People kill people’. Flash is like the gun.
 
1:27 PM
@Connor what is this in that context?
 
@GNi33 the slider
 
@Ariane you can affect the speed as well, but you need to check the new position
 
are you sure?
 
@GNi33 nope :D
 
1:28 PM
because i'm pretty sure it's not
 
@ŠimeVidas that's surprising, how did u clone ur repo locally?
 
@GNi33 how do i access this then?
 
if you have no inertia, you don't need to keep a speed. Just displace, fix, render. Displace, fix, render.
 
@ŠimeVidas you must have used some sort of tool to clone it, ryt?
 
var el = this;
 
1:28 PM
@Sushil The GitHub windows application.
 
@Jan but in my code, the speed is going to be used before I check for collisions, Doesn't it make changing it useless?
 
nah, he's in the wrong scope there, this is probably the window or something
 
@ŠimeVidas yes in that application u get those options
 
@Ariane I do think you don't need a speed
 
@rlemon hey buddddddy one more question, is it possible for me to clone my repo, and modify parts so it will run (bcrypt doesnt compile on the work computer) so I want to remove the parts that stop npm from installing, and do work from there, but if i push to the repo, wont it try to delete all the files i deleted from the clone?
 
1:29 PM
@Sushil I click on the "clone"button on the GitHub site, and that opens up the GitHub Windows application which then does the job.
 
user2157210
@XCritics exclude the deleted files from the commit?
 
@ŠimeVidas yes in that goto ur cloned repo
 
@GNi33 hmm..
 
@ŠimeVidas click on the commit it shows on the right hand side
 
@Sushil OK
 
1:30 PM
@ŠimeVidas how do i send a screenshot here?
:P
 
@Connor just replace $(this) with $('.featherSlider') and try if it works
 
@Jan my whole code relies on speed. o.o
 
i can't be sure myself, as i haven't seen the rest of the code
 
@Sushil I use "snipping tool" (it's available on Windows)
@Sushil Then the "upload" button on the right of this chat input box.
 
@ŠimeVidas well i'm not getting any upload button :)
 
user2157210
1:33 PM
@Sushil just upload the screenshot somewhere and post the directlink in chat
 
@Ariane you can keep it, but you'll need to keep it valid
 
@GNi33 it does, but i have many sliders, and im trying to make id dynamic..
 
@ŠimeVidas this is the best i can do :P
 
user2157210
 
1:35 PM
@Nexxpresso thanks! :)
 
user2157210
just take the direct link tinypic provides and post it in here to make it show like this
 
@Connor then wrap that stuff in a $('.featherSlider').each(function() { //code here });
this way you handle every featherSlider seperately
 
Interesting question, even if badly asked :
 
@GNi33 just doing that now thanks :D
 
2
Q: How do i get HTML string with input values using jquery?

user1323136I need to create the HTML into a pdf on the server and need the HTML from the browser that has a form and other stuff in it. Doing $el.html() just gives an HTML string without input values in the form. How do i get the HTMl string with all the input values included. I do not want to append the ...

 
1:35 PM
and inside the function, this is actually the slider-element
 
I don't think there is an easy solution, though.
 
I can't seem to load a backbone view from within a backbone view. I think its because the el of the sub view is requiring a div from the original view, and I guess its not loaded completely... how can i make sure the view is loaded completely before calling the sub view?
 
so, inside you can just call it like that:
$(this).slider({
		max: $(this).attr('data-max'),
	});
 
@Sushil Unfortunately I don't have these options. My local clone is a "DETACHED HEAD".
 
ah ha!
 
1:37 PM
@connor just define the variable outside of the slider function
 
@Sushil So, I'll just delete the entire local repo, and re-clone it. Thanks for the help :)
 
@ŠimeVidas well wasn't much help to you :)
 
`var data-max = $(this).attr('data-max');
`$(this).slider({
max: data-max,
});`
^code block didn't work
 
@Sushil You always learn something :)
 
@BillyMathews go it working thanks :D
 
1:38 PM
@rlemon No, but I'll check it out too
 
Short 'n' Simple
function configureSliders(element){
	$(element).each(function(key, value){
		$(value).slider({
			max: $(this).attr('data-max'),
		});
	});
}
 
yea I tried to get that to do my route from home to work but couldn't figure out the site
just made some videos of me backing down my street then up it
staring at the sky
 
@SomeKittens That's awesome
 
1:41 PM
I love stuff like that.
 
@Connor is slider a plugin written by you?
 
Our organic spaceship is crazy beautiful.
 
^ the site @RyanKinal @SomeKittens
 
@Sushil jQuery UI, why?
 
try to get it to do stuff in your area.. then tell me how you did it
 
1:42 PM
Please! does any one have any ideas to my previous question? this is killing me lol
 
<3
I'll give it a shot later... when I'm not at work.
 
@Connor i was just wondering, would u need that "each"?
 
... at a standing desk...
... where everybody can see exactly what I'm doing...
 
@Connor coz all the plugins or widgets loop on the list of elements that are received
 
@RyanKinal like, you chatting?
 
1:43 PM
Yep!
... wait...
 
haha
 
:8799564, the sliders work without the each, but the unique settings didn't
 
:-D
 
"the real world"
I'm in class, no one can see me chat except fellow students
 
Nah, as long as I get my shit done nobody really cares what I do. I just think making videos might be a little over the top.
Okay, wtf. This doesn't make sense (.NET rage incoming)
' Throws exception: The value for column 'SecurityAnswer' in table 'SecurityInfo' is DBNull.
If DBNull.Value.Equals(securityInfo.SecurityAnswer) Then
:rage:
 
1:48 PM
o/
 
|o|
 
I was about to put my hand down
it was getting tired
 
why is the sql channel so dead?
god
:/
 
because what cool people focus just on sql?
 
1:49 PM
@RyanKinal standing desk?
 
you can be in multiple channels at once
 
Do you know why "loadedmetadata" is not firing?

http://jsfiddle.net/WuEL4/79/ I noticed it only works on jQuery 1.6.4 & 1.7.2 but not with other versions
 
For SQL advice, go to the PHP room
 
hah
 
Depends
 
1:50 PM
@Hese are you using w3schools as a reference? You shouldn't
 
Poll: Should the JS room add the tags?
We already support a lot of that anyway
 
@JanDvorak the video is only from there
 
@SomeKittens If you're going to, you might want to add NodeJS first
(Which should definitely be there)
 
room topic changed to JavaScript: All about ECMAscript and its various libraries. Please read the rules: rules.javascriptroom.com [just-use-jquery] [not]
room topic changed to JavaScript: All about ECMAscript and its various libraries. Please read the rules: rules.javascriptroom.com [just-use-jquery] [kidding]
 
Ahaha
 
1:52 PM
better
 
@Hese I get two alerts. One saying "event not found", one saying "has loadedmetadata event"
 
Guess who's got delicious pie today.
 
Mine tasted like raspberry.
 
@JanDvorak change jQuery version to 1.9.1 for example (or use this link: jsfiddle.net/WuEL4/80)
 
user2157210
1:53 PM
@OctavianDamiean pi
 
can someone tell me why the fuck
if ($('.wpsc_checkout_table.table-2').is(':animated')) return;
isnt working
 
@Hese .data("events") was never documented as far as I know
it was removed in 1.9.1 or so
 
@JanDvorak It was changed
But it's still accessible somewhere I think
 
@copy Did your RPi arrive?
 
@dystroy it should be officially available IMO
 
1:56 PM
There's a point in the doc where they explain how to get it. I know I made an answer on this topic... I'll search a little...
 
@BillyMathews Yep
 
@RyanKinal please, enlighten me
 
@Hese the support is removed in 1.9.x
 
@dystroy I guess it's still undocumented?
 
1:57 PM
looks so : it even seems documented that it isn't documented, as the documentation says "it remains undocumented"
 
Thanks @JanDvorak and @Sushil for pointing that out
 
This seems to work :
$._data(window, "events")
 
@BillyMathews
 
@dystroy in other words, "yeah, it does work, but don't count on that"
 

« first day (908 days earlier)      last day (4047 days later) »