« first day (671 days earlier)      last day (4277 days later) » 

11:00 PM
@rlemon Ten years is a lot man. That's cool. I started four years ago. And no, you're not offending, I like suggestions, but right now, watching videos about Javascript (again) is the last thing I'd like to do.
 
I like to watch them:P I prefer to follow a video than reading another book or blog or tutorial
 
I've actually stopped passing JQ objects around in my code. Most things feed selector args instead so that if I want to swap out my UI stuff under the hood I can feed them to document.querySelectorAll insteady. JQ's had a good run but it's getting to the point now where IE isn't quite the stick in the eye that it used to be. That said, I would still probably write something JQ-ish to replace it when it seems worth replacing.
 
Well, both are great for me :P
 
I do use jQuery for work web stuff. only because it is faster for RAD purposes.
 
I'm the opposite. Would much rather read so I can skip to the interesting bits. I've never watched the Crockford videos.
 
11:03 PM
however, personal projects (aside from lememe) I do try to not rely on libraries or toolkits.
 
@ErikReppen Yeah, that's the reason I read books.
@rlemon Why?
 
@ErikReppen he's less of an ass in the videos.
 
lol
Fair enough.
 
@Troy why would I?
I enjoy programming I want to accel rather than stand on the shoulders of giants.
 
Do you guys know about thenewboston.com ? Their video tutorials are really great.
@rlemon I see.
I'll be right back.
 
11:05 PM
rlemon
 
I see the point in jQuery, i do advocate you know JS before using it. I also do want to know as much about Javascript as possible.
 
just curious, would leaving the href empty have the same effect?
 
likely.
 
href=" "
oh
 
The most interesting programming books/videos/whatnot aren't about one language, but about general concepts . o, I recommend watching these: chat.stackoverflow.com/transcript/message/4899915#4899915
 
11:06 PM
don't include the href attribute
 
why?
 
if you're setting it to null you don't need it. and it might have adverse effects setting it to ""
 
You are right
 
Yeah, I'm a bit of a library/tool curmudgeon myself. I'm flying out to San Fran for an interview for a job that sounds pretty cool and probably pays 40% more than what I'm earning now and was kind of bummed to find out they've got a coffeescript-only policy. It doesn't look super-obnoxious but I just like my tools simple. I know JS. Brackets, parens and find/replace 'funciton' with 'function' really isn't that hard.
 
@ErikReppen show them that ^
 
11:12 PM
hi
 
o/
 
i'm trying to get some help on this topic stackoverflow.com/questions/12013703/…
any takers?
 
i'm a vote to close taker?
 
probably
:-/
 
@Kendall I can't add comment under your question, but when do you want it to scroll?
 
11:15 PM
@Troy i'm not good at math but i want it to scroll at particular positions left and right of the div and not at the middle range
 
@Kendall seriously, before you ask... google.ca/?q=control%20scroll%20by%20mouse%20position check like third or fourth link down
 
Well, that's getting advanced, I can't help right now because I'm too busy, but if you don't add these info, people won't help (or not correctly) because they don't know when you want it to scroll and how.
 
3
Q: Smooth scroller based on mouse position (Jquery)

AlexHI! I would like to create a Smooth scroller based on mouse position. The idea is to create a outer div with a fixed width. The content is very wide and has to be scrolled to left or right, based on the mouse position. It would be great if the content is 'infinite' or 'endless'. The content is a...

assuming you are using jQuery (which I assumed you are)
 
I am getting pinged. :)
 
Yup, someone can down-vote you for not doing researches.
 
11:18 PM
2
Q: scroll div depending on mouse position. Optimisation help?

AlexMorley-FinchI have this javascript code that scrolls a div depending on the mouse position. Ive got the code working, the problem is its a bit jittery. I was wondering if anybody could give me advice on how to optimise it so it runs smoothly! To view the code please visit my jsfiddle: http://jsfiddle.net/...

I didn't downvote. I voted to close.
because there are many other questions like this
 
@Troy ah sorry but i think i forgot to mention that I wanted to add acceleration and deceleration to it
ah sorry but i think i forgot to mention that I wanted to add acceleration and deceleration to it
 
@rlemon do you know about envato.com ?
 
@Kendall if you want to get better results you first write the code to do the scrolling, try your best to do the accel, decell and when it does not work post then. you will probably get what you want.
 
@Kendall You should edit your question and add these.. It's about to get closed and you'll loose 6 points... as I remember my last time having a question closed..
 
well 1 i have been trying my code since thursday
2 i did infact come across your post
 
11:22 PM
@rlemon yeah that's kinda messed up. Also, no hoisting function statements, and while I'm sure the authors of coffeescript found declaring your vars outright to be a drag, I actually find it a hell of a lot easier to sort out what's in a given scope.
 
Post it so they can improve it.
 
@ErikReppen it's a language where every day text gets compiled. it's a joke :P
 
3 i wasn;t exactly sure what the terminology would be to properly explain it
 
anyways, this is distracting my stargate. see ya
 
my bad with this
 
11:24 PM
@Kendall it's ok. getting a question closed isn't the end of the world.
runs
 
@rlemon Did you see my question about envato.com ?
 
oh, tutsplus...ugh. Last I've stalked, net.tutsplus was a miserable hub.
 
Yeah :P
But The marketplaces are great.
 
@rlemon More importantly, they've basically locked down how objects and inheritance are handled, how functions are expressed, etc... I'm not sure I'd be a good fit with these guys. !@#$ing CA man. They're all trying to figure out why JS talent is so hard to find but then they all bury the JS under BS-tools.
 
@Troy ok i updated the question
 
11:30 PM
@Zirak You can make some great money on the marketplaces.
@Kendall Couldn't find the link anymore :P
 
@rlemon I really didn't know what to ask and how to explain it really but i'm hoping it al makes sense now that i have given more details and some code
0
Q: scrollLeft easing animation using mouse position

KendallI'm trying to figure out how to scroll a div using its scrollLeft and control its speed using the mouse's position. However I also wanted to accomplish an acceleration and deceleration only at the bare moments of nearing the desired positions can anyone start me off with some sample code to acco...

 
@Kendall Brrr, Plain JavaScript, not my type, sorry :/
 
cool
i usually use jquery but the mouse positions features doesn't work well with animate
jquery has gotten me so damn dumb
 
@Troy wait, are those the marketplaces which sell snippets of random code for (why do the words ad-hoc come to mind?) brainless plug-n-play?
 
@Kendall Yeah, the mouse position in the animate function kills performance, I tested it yesterday with a buddy of mine. So we decided to create the animation with plain JS.
@Zirak Not snippets buddy.
 
11:35 PM
in your example above what will determine the acceleration for sthe scroll?
*example you gave me
 
Who?
 
JQ tracks mouse position in the animate function? I wonder how long they've been doing that? Performance didn't seem as good as it used to be lately.
 
cause i tried to mimic it but it moves too slow with large amounts of data jsfiddle.net/gaby/72yhW/2
 
@Troy Doesn't matter. I hate brainlessness.
 
@Zirak Okay, your choice buddy.
@Kendall Here's what I was talking about shaquin.crakken.com/experiments/stars
Plain JS.
 
11:38 PM
@Kendall use delegation, not mousemove.
 
stares in silent disbelief. considers options, chooses pizza.
 
Doing this in jQuery took us less time, but killed the performance, was so slow.
 
my concern really is not the actuall scrolling formula but that being able to control the speed based on the mouse position yet keep the rate of acceleration and deceleration slow enough based on the amount of content to scroll...I am dynamically adding content to scroll periodically
 
@Zirak Lol, how do you do that text?
 
its either scrolling too fast or too slow
usually too fast
 
11:43 PM
Lower the duration.
dur = 3200;
 
@Troy surround your text with stars
 
dur = 3200;
 
funky
 
K, thanks.
:D
@Zirak You didn't want to show me how to do it, did you? :P
 
figured it was something of the sort
but would it be enough given that i keep periodically append content
?
 
11:49 PM
@Troy You have discovered my devious plan. I am now member, founder (and Mess Hall Officer) of the "Let's Not Tell Troy Things" party.
 
@Zirak (rofl) Sounds like a master plan.
 
I'd tell you more, but...
 
@Zirak The boss told you not to? :P
 
If the universe loves me, this odds will be correct...
!!/stat Troy
@Zirak Troy has 35 reputation, earned 0 rep today, asked 3 questions, gave 7 answers, for a q:a ratio of 3:7
aaawww
Universe no lub me
 
Lol, I just wanted enough points to join the chats, that's it. But if you want to be my stalker, be it :D
BTW, why are you quoting yourself?
 
11:56 PM
nah, not that
There's a 10% chance for /stat to trigger an easter egg.
Also:
!!/tell Troy help
 
!!/help
Lol
 

« first day (671 days earlier)      last day (4277 days later) »