« first day (537 days earlier)      last day (4403 days later) » 

user1385191
8:05 PM
it seems like everyone looking to hire a front-end dev is a marketing or social media company
 
user1385191
this is utterly depressing
 
@MattMcDonald who do you want to work for?
 
user1385191
I'm just looking for an opportunity at a company with a decent product and a clearly-defined role
 
user1385191
that's it
 
microsoft?
 
8:07 PM
prefix is a the beginning , what is at the end ?
 
suffix
 
@MattMcDonald I'm hiring interns.. no pay.. no respect.. no growth opportunities.. no possibility of a job after the internship.. full benefits.
 
or postfix
 
postfix sounds too much like mailserver
 
@rlemon xd
 
8:08 PM
:)
 
@MattMcDonald weren't you a flash dev in some company just a while ago
 
user1385191
yep
 
so what happened
 
user1385191
fired because I took too long on projects (not copy+pasting)
 
:/
 
8:12 PM
@rlemon would this be the way to plot all X:Ys of an object
for (var key in sdata) {
key = parseInt(key);
for (var keyTwo in sdata[key]) {
keyTwo = parseInt(keyTwo);
width = parseInt(sdata[key][keyTwo][2]);
height = parseInt(sdata[key][keyTwo][3]);
for (i=key; i<=key+width; i++) {
gcollision.x.push(i);
}
for (j=keyTwo; j<=keyTwo+height; j++) {
gcollision.y.push(j);
}
}
}
oh shit
how do u format it in the chat - was hoping its inlines would be kept =/
 
you click 'fixed font'
 
wont let me edit it >.>
 
feeling good!!!! problem solved
 
who needs jQuery anyways. haha
<--waiting for mega repose.
 
8:22 PM
apparently everyone needs jquery... >.>
 
No one.
 
not me!!!
muhahahaha
sorry giddy with joy
 
u not a library fan like me then ? :P
 
for (var key in sdata) {
    key = parseInt(key);
    for (var keyTwo in sdata[key]) {
        keyTwo = parseInt(keyTwo);
        width = parseInt(sdata[key][keyTwo][2]);
        height = parseInt(sdata[key][keyTwo][3]);
        for (i = key; i <= key + width; i++) {
            gcollision.x.push(i);
        }
        for (j = keyTwo; j <= keyTwo + height; j++) {
            gcollision.y.push(j);
        }
    }
}​
 
not at all. and I could go into that big time
 
8:23 PM
@BrandonClark what have you jQueryFree-i-fied
 
thanks :) no idea how u did that
@BrandonClark i never use them personally
 
some nice little transitions themindspot.com
 
they're choppy for me
 
working on frame rate issue right now
 
Chrome 17 stable + Ubuntu 11.10
 
8:25 PM
yeh choppy here too
 
noticing vaiances in chrome frame rates
 
also, the top bar, I realized this is by design, but the bar growing and the text moving at the same time is strange looking.
 
yeh id do the top bar then the text
 
I know I was thinking of stoping that
good idea
 
@rlemon You sure about the version?
 
8:26 PM
@BrandonClark also, cross-compat your xhr.. github.com/rlemon/Little-XHR
 
It should be Chromium 18 by now.
 
my bad
Chrome 18
when did I get that update?!
 
I guess the properties I choose make a difference too. Some suggested use the 3d transform attributes
 
thx rlemon
Pretty proud of myself for only a few weeks of javascript
 
8:29 PM
no it is good mate.
 
<-- dancing over here
 
i'm just saving you some time :P
making things IE friendly is a biatch.
 
I know your helping and I greatly appreciate it. Constructive critisim is always welcome
 
also i'm whoring out my scripts / libs
 
I hate IE!!!!!!!!! $%^$%^#$67
lol
 
8:30 PM
@BrandonClark you got any use for client-side templating?
 
I like your whoreing I think
 
@rlemon that was today that update i had it too
 
more people interested in it, the more suggestions/improvements I can get for it :P
 
I dont have much use with the web. But I wanted to produce something for myself and to prove learning new languages and building your own concepts is easy if you apply yourself.
But I also need to whore myself out so people know what I am cabable of.
<-- Still student
 
8:33 PM
now try similiar animation in a canvas
 
I actual am going to. I want to control it from mouse click event listeners.
+1 px at a time :)
 
I can image frame rates will be 10 times more difficult
 
canvas
@BrandonClark talk to @Loktar he is a Canvas master.
 
@rlemon nice job
 
8:36 PM
 window.requestAnimFrame = (function() {
	return	window.requestAnimationFrame ||
			window.webkitRequestAnimationFrame ||
			window.mozRequestAnimationFrame ||
			window.oRequestAnimationFrame ||
			window.msRequestAnimationFrame ||
			function(callback, element) {
				window.setTimeout(callback, 1000 / 60);
			};
})();
@BrandonClark re:
 
ahhhhhhhhhhhhhhhhh
nice
 
Aww thanks @rlemon
I consider myself canvas padwan
 
yes thank you
 
var fps = 0,  fps_last = (new Date), fps_now;
// in the render function
fps_now = new Date;
fps = 1000 / (fps_now - fps_last);
fps_last = fps_now;
and this is FPS
again, thanks to some help from @Loktar :P
 
i used that but if u use req animation frame and minimize and come back to it - it gives like 2000 + FPS :P
 
8:39 PM
@Raynos you again? are you following me? are you rancorous? take that, another owned for you and the 4 nerds hating javascript classes: github.com/mozilla/BrowserQuest/blob/master/server/js/lib/…
 
@GabrielLlamas ?
 
and the web : browserquest.mozilla.org ;)
these little kids...
 
At what point do you stop considering yourself as a kid.
 
hate the mouse movement on that
so laggy
 
i'm almost 26 and I still feel kid like at times.
 
8:43 PM
nice use of web sockets
 
2
Q: jQuery Blinds Slideshow redirect the image

user1272724I'm using jQuery Blinds Slideshow as image slider. I want to redirect the first sliding image to http://google.com when I click on it. I use a html tag like this: <div class="slideshow"> <ul> <li><a href="http://google.com"><img src="lemons/1.jpg" alt="lemon" ...

 
I am 30 and I am a kid!
 
Isn't here anyone who can help me ? (
 
Anybody in here running OSX?
 
Pleeasee ((
2
Q: jQuery Blinds Slideshow redirect the image

user1272724I'm using jQuery Blinds Slideshow as image slider. I want to redirect the first sliding image to http://google.com when I click on it. I use a html tag like this: <div class="slideshow"> <ul> <li><a href="http://google.com"><img src="lemons/1.jpg" alt="lemon" ...

 
8:48 PM
anyone have any good reference links for html5 deep linking ( not the Mozilla page )
 
Bueller?
 
sorry user1277272724 Dont know
 
@RyanKinal as in ferris?
 
Yep
I need to see what some UA strings look like on OSX
... I could probably Google that, couldn't I...
And, with that found... I'm going home
 
8:54 PM
 
<--- is sometimes a n00b at the end of the day
<--- is sometimes a n00b at the beginning of the day
Anyway... laters
 
<--- turtles n00bs.... all the way down.
 
lol
 
seriously... wtf.... turtles?!
what in the hell was being smoked when that religion was proposed... and adopted.
damn, now I can't find the ref.
 
8:58 PM
but I do remember first reading about the turtles as a religion thing. we're all on the back of the great turtle or something.
 
ohh see i was skimming the second one there.
 
Terry Pratchet?
 
Yeah, I did that too
@Chris Parodied the real thing :-)
Okay, really. Leaving now.
 
same
bbl
 
9:00 PM
Why are browsers so damn anti cross complatency
 
good easter all!
@BrandonClark because the World Turtle is standing on another turtle, who is in turn on yet another turtle.
... it's turtles all the way down.
 
Thought HTML5 would be a great option for deep linking but because all browsers dont have there heads on straight :p
 
man, I still think thats funny.
@BrandonClark what do you need deep links for?
end goal?
ping me and i'll be back in like 15-20
 
bbl maybe
 
@rlemon Because the template I made is a one page template using Ajax. I don't want to use jQuery at this point (pretty sure they have a fix for this).
Ahh screw it, here we go again. Another week of achieving something special, in my eyes at least.
 
9:58 PM
ok so explain to me then what you want the deep links to achieve in your case.
On the World Wide Web, deep linking is making a hyperlink that points to a specific page or image on a website, instead of that website's main or home page. Such links are called deep links. Court cases against deep linking have gone both ways in various countries. Example This link: http://en.wikipedia.org/wiki/Deep_linking is an example of a deep link. The URL contains all the information needed to point to a particular item, in this case the English Wikipedia article on deep linking, instead of the Wikipedia home page at [http://www.wikipedia.org/ http://www.wikipedia.org/]. Deep link...
 
ok I have pic where I look less of a rapist
 
noooo you still look pretty rapie
now I just feel like you'll buy me dinner and roofie me first.
have you ever wanted to kick the ass of another person on the internet soo badly that you actually stood up at the keyboard.
 
lol
yes
 
@rlemon and @Dave sorry was trying to smooth out the enterance times for my sub nav like you suggested. This what you mean: themindspot.com? Only fixed in chrome for times.
lol, Dave's not here man...
 
10:15 PM
@Esailija I wish I lived closer to India so I could kick this technical support persons ass!
 
@rlemon Okay to answer your question.
Minimally I would like to have a URL link for each page where it opened the content within the template if visiting from outside link also. (I can achieve the link with HTML5 it seems fairly easy. But it will only link to the content page without the template)
Ideally I would like to reverse all transitions and content with back and forward buttons with the above.
 
show me
(what you have)
@Esailija you know I kid. very impressive.
 
I was thinking if the HTML5 method was used maybe I can have a function run inside the content pages if they are loaded without the template they will reload redirect so it does.
 
I just like the look of me holding a coffee standing infront of the falls :P otherwise i would go pro looking too
@BrandonClark i'm sorry i'm not very good with conceptual stuff, but I am a diligent problem solver. show me what you have and I might have a better idea of what you mean.
 
@rlemon I will hit you up later when I come up with something. Maybe it will work too(hahahahaha)
 
10:22 PM
like you want a link on the page <a href="/abc/def.html">DEF</a> to just hit up the current page with it's template?
but also leave a good uri
 
yes in short
 
.htaccess
??
 
then I must use hash tags I would think
 
whats your server?
yup
or request vars read through js
 
I can adjust the .htaccess no problem to run a regex line to the uri comming in.
 
10:23 PM
thats what it's for
for example:
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
this takes www.whatever.com/hello/world/foo/bar and the server reads it as index.php?url=hello/world/foo/bar
simple but effective. you can get much more complex.
or you can use hash tags with ajax
index.html#path/to/page.html
always load the hash tag
like i do here
now if you load any of those paths directly you'll get the content pages without the template
is this where you have left off?
 
404 : hehe
 
yea i left those blank intentionally so you can see the awesome error handling :P
devilish grin
is that what you mean?
 
10:55 PM
rlemon i still dont get it lol
 
@Dave don't get what
 
that object creator u gave
 
you want to take an array of chords + their dimensions and a point in the 'grid' and detect collision?
what did i give you :P
 
the one u gave gives me the starting and the ending so i can check if it falls inbetween right?
 
sounds about right
 
10:59 PM
but if two objects side by side with an open tile inbetween exists ... checking "between them" will equal true
but infact they're different objects so it should be a free tile
 
ugh
so
 
so my better option would be to create an array of every tile in use instead of ranges
 
if ( w === 1 ) {
 
courtesy of Flack Overstow...
> When you move backward, use separate stylesheets that only load for broken browsers - that way is to drop an absolutely positioned ul. You don't even need Javascript/jQuery
 
and h === 1
 
11:05 PM
no
 
var chords = [
    {
    x: 1,
    y: 7,
    h: 2,
    w: 2},
{
    x: 4,
    y: 1,
    h: 3,
    w: 2},
    ];

function is_occupied(chords, position) {
    chords.forEach(function(o) {
        var ex = o.w > 1 ? (o.x + (o.w - 1)) : o.x,
            ey = o.h > 1 ? (o.y + (o.h - 1)) : o.y;
        if (position.x >= o.x && position.x <= ex && position.y >= o.y && position.y <= ey) {
            alert('hit');
        }
    });
}

is_occupied(chords, {
    x: 2,
    y: 8
});
 
hmm - the chords aren't quite structured the same way =/
 
then change it dude
i'm not here to write the entire thing
i'm giving you an example
 
i know im just reading it over a moment
 
11:16 PM
ex = endX, ey=endY, o = chord.
 
wouldnt ex be o.x+o.w ? not just o.w
 
if the width is one
no
 
oh thats for the check right okay got it
:P
 
position will always take 1*1
so if width === position no need to calculate width
 
yup :)
 
11:19 PM
this way even a 1*1 square with the same position passed in will hit
but two squares with a buffer wont
 
yeh i just got to work out how to change the syntax for my object structure as i use X and Y as keys prior to data array
 
user1385191
 
user1385191
one answer
 
user1385191
-4
 
if u got -4 for you're answer... the reason is simple.. not enough jquery
 
11:21 PM
</fail>
;)
 
I am using github repository for the first time. How do I go about uploading the contents of a directory to it? Would I use the pull comand?
dont want to do it wrong and screw the things up, and it is tempting being i am impatient right now
 
user1385191
git push alias_of_remote_repo
 
@MattMcDonald thabk you
 
Can somebody help me out? I've got a new domain from GoDaddy and I'm setting up a Google App Engine deployment to serve a static webpage.
I can get the site to redirect if the URL is www.domain.com
but not if the URL is domain.com (it goes to some placeholder page on secureserver.net)
I need to know what entries to change in my GoDaddy settings page.
 
11:36 PM
@MattMcDonald just reading through some of your posts. I'd never heard of querySelectorAll before. What an awesome method. Thanks!
 
1
A: How do I make a overflow:scroll div have the same height of its container? Details inside

aliriza adiyahsitry this jquery function: $('#leftbox').css('height', $("#rightbox").height());

this needs to be stopped!
FFS the OP asked for CSS and he spit out some jQuery solution!
 
rlemon hangggg on theres a problem :P
 
downvote!
downvote to death!
 
does he even need javascript for that o_0
 
he didn't ask for it!
it's not mentioned nor is it tagged
and to throw jQuery at it
WTF?!
and he's getting upvotes?!
 
11:45 PM
lol if some one screenshot'd it i would of thought it was a edit joke rather than real
 
user1385191
lol
 
original answer:
try this jquery function:

  $(document).ready(function() {
       ("#leftbox").heigt()==("#rightbox").heigt();
  });
 
user1385191
@user973810 I'm glad it works for you. I actually really don't care for it personally.
 
WTF
 
true beauty
 
user1385191
11:47 PM
don't trust $ with CSS
 
user1385191
there's a ton of magic that happens underneath
 
user1385191
it's where most of its errors come from
 
user1385191
namely the "normalization"
 
even more oddly no one upvoting rlemon
except me
 
thats not unusual
aww and now it's deleted
 
11:49 PM
I haven't peeked under jQuery's skirt in some time...wonder what kind of monsters it managed to spawn in the meantime
2
 
hey guys..
anyone going to PAX East?
 

« first day (537 days earlier)      last day (4403 days later) »