« first day (1430 days earlier)      last day (3516 days later) » 

3:01 PM
@NickDugger Why does it matter what frame you're on?
 
@NickDugger requestAnimationFrame should only animate, use a separate loop in a setInterval for app logic. The two should be decoupled.
Sometimes jfriend confuses me.
 
does changing the x/y coordinates of the image (sprite sheet, walking animation) count as app logic?
 
Ah, I didn't think so. Good to know
 
use time deltas, don't rely on fixed time steps
 
3:05 PM
so, I shouldn't do, i = i < 60 ? i++ : 1;? lol
 
This is why I need you guys. I do stupid things sometimes
 
no, you shouldn't use a random combination of characters
 
@NickDugger Do you even know what that does?
 
@BenjaminGruenbaum yes, I know what a ternary operator is
 
3:06 PM
@NickDugger let's say i is 20, do you know what i is at the end of this?
 
i = i++ seems unlike what you want to do
 
(hint: still 20)
 
^
You probably meant ++i
 
Also, why are you setting it to 1? Did you just want to increment it if it's less than 60?
@SomeGuy i+1 you mean
 
Yeah, lol
 
3:07 PM
swift compilation sucks -_- I get 60 second compiles on the last version
 
It would be in a loop, so yeah, I want it to continuosly cycle through 1-60.
 
i = (i + 1) % 60
 
(++i)%60
 
I got it working in my code, I'm just bouncing it off of you guys so you can scold me and tell me how to do it better
 
shet
 
3:08 PM
@Mosho you probably mean ++i
 
@FlorianMargaine that's what it says
 
@FlorianMargaine he just wanted to do it faster than me :P He's watching me type :P
 
@FlorianMargaine I was under the impression that i++ simply adds one to i. Why is that wrong?
 
user1596138
lol oh @Mosho is working next to @BenjaminGruenbaum now?
 
@NickDugger returns the old value
 
3:09 PM
@NickDugger it does. But the return order is different
 
@NickDugger i + 1 adds 1 to i and returns the old value
@Jhawins yes.
 
user1596138
I remember he was starting over there
 
Ah, makes sense
 
Good to know as well, thanks
 
user1596138
3:13 PM
That's funny lol. Right next to each other in 17
 
So, I'm thinking then, I should update my player's position and sprite frame in a setTimeout, but use the requestAnimationFrame only to draw it to canvas. Effectively keeping all logic out of the animation. Is this correct?
 
Mornin
 
@NickDugger correct
 
Alright, thanks
 
if you have something that actually makes sense in a render loop, then put it in there
smooth animation is not one of those things
 
3:18 PM
"smooth animation"?
 
you're moving something on screen, right?
 
user1596138
@SterlingArcher Mornin
 
@KendallFrey Sure, you could put it that way (updating coords)
 
I got a compliment last night from a bro I haven't seen in a few weeks :D He said I looked slimmer and more toned! Made me feel good
 
user1596138
s/ood/ay/
 
3:23 PM
@NickDugger a good rule of thumb is that if it depends on time, it doesn't belong in the render loop. Anything moving depends on time.
 
So, what's an example of something that would belong in the requestAnimationFrame, then? Because right now, I feel like I should just ditch it completely.
 
@Jhawins D: that too
 
@SterlingArcher Right now I think I could bench about 5 pounds
@NickDugger Are you doing the rendering, or are you doing via DOM or similar
 
I can bench about four bags of cheetos
 
@KendallFrey I'm drawing to canvas
 
3:24 PM
Don't get me wrong I'm still weak af. I can only bench 115 without a spotter. I'm sure I can do 45s, but I don't feel comfortable without external motivation
 
@NickDugger then in the render call, you should draw everything at its current position
 
user1596138
I'm not big on benching. I find it dangerous and generally not worth the effort.
 
@KendallFrey Ok, that's what I thought, you just threw me off for a moment.
 
@Jhawins it's good for low weight high reps, but it is easy to overdo it and strain yourself
 
user1596138
Feet on a chair doing pushups is about 115lbs pushed in the same direction I'd assume. Handstand pushups are the full ~160 but I can only do 2-3 now days
 
user1596138
3:26 PM
I never want to be between the weights and the floor. lol
 
user1596138
Man honestly I might not even be able to do 1 handstand pushup now... I'll try later today
 
I can't do anything, stupid hockey
 
I'm fat
 
!!youtube fat weird al
 
3:31 PM
So I'm in a confusing ass place with this chick
 
Does she like star wars?
 
My roommates (my brothers gf) told me she likes me, and put pressure on me to ask her out. That weirded me out, and now I don't know if I wanna be with this girl because of the already close relationship she has with basically my closest family
No... she likes the Dallas Cowboys though... ugh
 
Nope, no good. Star Wars or the boot.
 
lol be serious. how do you react to outside pressure on a forming relationship? Me, I don't like it apparently
 
I don't do relationships
 
3:35 PM
!!s/relations//
 
@SterlingArcher I don't do hips (source)
 
user1596138
@SterlingArcher Is there any reason today to write her off as non-wife-able?
 
Eh, not my best
 
!!s/e/rea/
 
@KendallFrey Eh, not my breast (source)
 
3:35 PM
@SterlingArcher I said this friday, but I'm a really lonely person; but I push away every girl that I could have a relationship with. I'm kinda messed up in my own regard. Don't ask me for relationship advice, lol
@Jhawins she doesn't like star wars.
 
user1596138
If you're not wiling to leave the thought open that you could have a serious, long-term relationship with her -and she's close with your fam- you better leave it be man.
 
!!s/ass /ass-/
 
@KendallFrey So I'm in a confusing ass-place with this chick (source)
 
^ makes it weird
 
user1596138
humpin:
hump();
dump();
goto humpin; // good way to piss people off
 
3:38 PM
The thought is open, but I'm a shallow guy. She's a little heavier (not too bad though), and I knew her when we were freshmen in college (she was hot af, but skinnier). I try not to be shallow but it's not my fault what I'm attracted to =/
 
pics
 
@NickDugger I do the same -- why are you a pusher?
lol I'm not showing you pics
 
actually, that would be weird
 
Am I an asshole for considering her weight as a datable factor? =/
 
@SterlingArcher no
 
3:39 PM
@SterlingArcher I love to travel, and go on adventures, and I don't want to be tied down. Hell, I'm 22, and I've moved (completely on my own) to 2 other states, and am now on the opposite side of the country as my parents. I want to go everywhere, do everything, etc. I'm lonely, but I'm not done living yet.
 
user1596138
@SterlingArcher Prob best play it safe. Family ties are irreplaceable.. If you were all for it and excited about it is the only way I'd see it being a remotely good idea.
 
Maybe it's a messed up perspective, I dunno
 
All valid points
 
user1596138
lol
 
lol
I think you're right. If I'm not siced about the thought of dating her, she's probably not the right girl
 
3:41 PM
@SterlingArcher just date @Jhawins then... Clearly, you're already bang bros. (Is that a good term for gay people? Don't wanna be offensive)
Plus, and I'm serious, she doesn't like star wars.
 
@NickDugger not a good term, it's a trademark porn site D:
lol I like star wars but im not obsessed. Definitely not a deal breaker
 
The last girl I almost dated was really into astronomy and outer space, and I thought it was super attractive... and then I pushed her away. So smooth.
 
IS IT SO MUCH TO ASK FOR A SUPERMODEL GF WHO LOVES JAVASCRIPT AND CALL OF DUTY JESUS CHRIST
 
... yes
 
@NickDugger smooth like the surface of uranus brah
2
 
3:43 PM
Can I date this chatroom? Would I have to text you all nudies? I don't think I wanna do that
 
@RyanKinal lol I do want a nerd though. Doesn't have to be a supermodel. But she's gotta be a little devil. lol
 
user1596138
@NickDugger We are 17 hours apart
 
user1596138
Otherwise yes, Jordan would be all I need
 
I would say I'm a catch :3
 
user1596138
Mariah gone be pissed
 
3:43 PM
A growingly attractive catch!
 
Funny, the number 17. It's like you're destined to be together
 
17? Dude I thought you were like 9 hours away
 
63 hours via trolley
 
lol
 
4 years via the construction of said trolley
 
user1596138
3:45 PM
@SterlingArcher oh yeah guess it's 8.5
 
user1596138
3 hours by plane
 
user1596138
Dude you're not even that far lets just party for 4-5 days if I come over there next month?
 
user1596138
Code partay
 
Can we please have a javascript room get-together? We'll rent a bouncy castle
 
will you pay for my plane tickets?
 
3:47 PM
We'll crowdfund for the tickets, and claim that it's a js conference
 
We could make a sob story for people to donate for
 
like how I'm so lonely
 
And it'll fund our dear Europeans plane tickets
I'm thinking tropical.
 
don't forget the Indians
 
Detroit sounds good
 
3:48 PM
Actually, I wouldn't mind going to Europe
 
user1596138
Whoa train derailed here this morning
 
I've always wanted to fly
 
Ireland, specifically
 
user1596138
 
@SomeGuy or the candians and mexicans lol
 
3:49 PM
@SterlingArcher I've flown many many times
 
user1596138
I feel like this is a very uncommon problem haha
 
I've never been on an airplane
@Jhawins daammmnnn that's not good
 
@SterlingArcher wth is a candian?
 
See if anything is toxic, you might get superpowers
 
I love getting the window seat. If I don't get my fuxing window seat, i'll throw a fit
 
3:49 PM
@KendallFrey He meant a Candanavian
 
@KendallFrey the natives of Candy Land obviously
 
user1596138
@SterlingArcher I have been in the engine bay area of an F14... That was on display like a statue... Probably the coolest place I've ever napped. But that's all
 
user1596138
I say we all go to @rlemon's house Canadians get like 200acres each right? You and your open space
 
I'd be game. Where in CA does he reside?
 
Haha, CA
 
3:52 PM
@Jhawins outside of the suburbs and major cities
 
user1596138
I think I've been through Kitchener
 
when?
 
user1596138
It's sorta on the way to where we used to go.
 
we've trippled in like ten years :/
 
are land prices as high as house prices?
 
user1596138
3:52 PM
Remember my 33 days
 
@Loktar they are "skyrocketing" as we speak
 
damn
 
when I was a kid those values were like 20% of that
 
user2620028
has there been any inflation in currency since then lemon?
 
check the "2010-2013 LAND VALUES – COUNTY DIVISION"
 
user1596138
3:54 PM
jhawins is sending out CVs recommend plz
 
@AaronSiciliano ohh for sure
 
lo all
 
@Jhawins mcdonalds
 
I'm so hungry D:
 
Ontario is still pretty pricey for land and has high taxes
 
3:56 PM
I could go for some buffalo wild wings right now.
 
user2620028
I will go with. sounds good
 
@rlemon You're from Ontario? how close to Minnesota are you?
 
user1596138
Lemon is only a few hours away from me. I think 5?
 
user1596138
Yea 5:51 in current traffic :D
 

« first day (1430 days earlier)      last day (3516 days later) »