all done by a friend of mine who has been going to school for about a year now for graphic design. 0.0
I mean, for heaven's sake he asked me if he could give them to me in PDF format at one point.
Brian Caldwell
@Caldwerl
haha
Wouldnt even know what to do with them that way
Matthew Conquergood
@kristjin
Yeah. Oh yeah. Exactly.
I was like "no, I need t ransparent backgrounds on images........."
Just crazy.
The rabbit images were all on differently sized canvasses and in different SPOTS on the canvas.
I mean, hello?
And then he asked me if I'd pay him for the work.
What on Earth do you say to THAT??
I offered him $5
It was quite an eye opening experience. :)
Brian Caldwell
@Caldwerl
That sure is a thing
Matthew Conquergood
@kristjin
oi vey
I mean it was just... it was hilarious really. Just start to finish. So it was just one of the things I had going on with this project which has been particularly rude. :)
so glad when it's over.
jongmink
@jongmink
Hi Brian. I have a question about merge sort. Many websites demonstrate how to merge two "sorted" arrays into one array, but they don't explain how to sort the two arrays....
Matthew Conquergood
@kristjin
I might use comic sans for my font on the notifications, because I can think of nothing more appropriate really.
Brian Caldwell
@Caldwerl
When merging
You break up the arrays until they are a single piece of data
If you havent seen many algorithms like this before there are simpler less efficient ones I would suggest doing first to get the general idea of it understood
jongmink
@jongmink
Yeah, I should use a different sorting algorithm. The example is helpful though. Thanks!
Hey Brian, apparently I missed responded to the class 5 and 6 attendance quizzes. Can you update both of those to show I attended? I did.
Looks like I missed week 3 feedback too but that's ok. I'll have feedback for the last week when that survey is available.
ahem Make that the attendance quiz for class 5, 6, and 7. >.<
Brian Caldwell
@Caldwerl
Will do
Matthew Conquergood
@kristjin
tx
jongmink
@jongmink
Hi, Brian. I have a question about "setTimeout." I created a while loop to sort a deck of cards. When I included "setTimeout," it creates infinite loop. Do you have any suggestions? Here is my code below.
var sort = function() { has_moved = true while(has_moved) { has_moved = false for (i = 0; i < $('li').length; i++) { var first_item = $('li').eq(i) first_item.addClass('highlight'); $('li').eq(i+1).addClass('highlight'); if (parseInt(first_item.attr('id')) > parseInt($('li').eq(i+1).attr('id'))) { $('li').eq(i+1).after(first_item); has_moved = true } } } }
Brian Caldwell
@Caldwerl
if you want it to repeat, you should use setInterval
if you want it to perform a function once after a set amount of time, you should use setTimeout