« first day (901 days earlier)      last day (4049 days later) » 

6:00 PM
The sun is out. Why is it raining on me?
This 'outside' place bullshit
Is bullshit
 
Hi, I'm thinking about using JS and Canvas to make an image rotator that will flip through a set number of images quickly (think Marvel movie intro) and fade away. Is this something that's possible in js and canvas?
 
user2157210
everything is possible
 
It is possible without canvas... probably easier without
 
im doing it for an assignment and we need to create some sort of intro to our website
we have to use canvas
 
Everything is possible with canvas
 
user2157210
6:05 PM
just use some sort of jquery slider with canvas?
 
you could even implement an HTML renderer in javascript+canvas
 
user2157210
do it like this
 
@Nexxpresso that looks awesome but it's just an assignment I don't think I want to spend money on it
 
Did anybody here actually try the X-Mini Speakers? @rlemon maybe?
 
6:08 PM
@JanDvorak I;m not sure what an HTML renderer is
ill look into it
 
@Batman like webkit
 
0
Q: Timing for turn based battle

fshockI'm working on multiplayer turn based combat system on a hexagonal field. There can be up to 10 people fighting (5vs5). Every player in the field has 30 seconds for it's turn, after that next player gets his turn and 30 sec to finish it. Game is written in php/javascript and node.js + socket.i...

 
@Batman Or Gecko
Or Trident... sort of... if you consider what Trident does to be "HTML Rendering"
 
@Batman or KHTML
 
Or Blink, lol
 
user2157210
 
user2157210
millions of 3d image slider flippers out there
 
Oh okay those, yea we've have to code css based on different browsers because of the way they render rules different -webkit-, -moz-, -0-, so on
@Nexxpresso So I'd kinda of just call this inside my canvas function
 
user2157210
<div id="slider">
2	    <img src="img/avatar.jpg" alt="" />
3	    <img src="img/ironman.jpg" alt="" title="Ironman Screenshot" />
4	    <a href=""><img src="img/imagewithlink.jpg" alt="" /></a>
5	    <img src="img/tron.jpg" alt="" />
6	</div>
 
user2157210
$(function(){
	    window.myFlux = new flux.slider('#slider');
	});
 
user2157210
hmm
 
6:15 PM
Yea i saw that but I absolutely need to use a canvas for this assignment. I need the canvas to show up on site first load only (localstorage to record first visit) do some sort of intro animation and disappear to show site header.
 
user2157210
eh lets google for you
 
@Nexxpresso [...] when smell like Old Spice and not a lady
 
user2157210
@Zirak wut
 
@Nexxpresso lol sorry ill look into it thanks
 
user2157210
6:18 PM
lab.hakim.se/reveal-js holy i want this
 
user2157210
@Zirak i dont get it
 
ChallengePost seems pretty sweet...
 
woah
profit?!
 
Inorite?
SlickText just got an email asking if we'd be interested in posting challenges.
We don't even have a working API yet :-P
 
nice
 
6:29 PM
“ Any fool can write code that a computer can understand. Good programmers write code that humans can understand. ” - Martin Fowler
 
guys, how do i convert a number from 2char str to 2bit hex to base 10? ("3f" --> 3F --> 64)
 
var str = '3f'; var val = Integer.parseInt(str.toUpperCase(), 16);
 
!!> parseInt("3f", 16)
 
@dystroy 63
 
No need to use toUpperCase
 
6:31 PM
eh, i guess you don't need to uppercase
 
YOSHHIIi
 
brrrrrrrrr (flutter kick)
 
what does parseint() do?
 
It parses an int.
 
6:32 PM
what does parse mean?
 
analyze
 
Noobnoobnoobnoobnoobnoobnoobnoobnoob
thanks
 
!!/tell deep mdn parseInt
 
Parsing is analyzing within grammatical context
 
6:33 PM
the process of analysing a string of symbols
 
!!/tell deep define parse
 
@Shmiddty Y U NO MAEK SENSE!? Could not understand tell deep define parse (perhaps you meant to execute a command? If so, prepend the command name with a /)
@deep parse: To break down into its component parts of speech with an explanation of the form, function, and syntactical relationship of each part. (source)
 
Thanks guys. whats with the !!/
 
bot
 
!!/tell deep help
 
ITS A BOT!!!
wow
 
It's a me, Botio
 
!!/tell deep i_am_a_robot
 
@eazimmerman i keep getting integer is not defined
 
6:35 PM
@deep I AM A ROBOT
 
Can i try?
 
nope
 
Oh.
 
lol
 
@deep try parseInt() with the 'Integer.'
without*
 
6:36 PM
!!/tell Shmiddty oh
 
@deep Command oh does not exist.
 
Dammit
 
:-)
 
!!/tell deep eval parseInt('abc',16)
 
@Shmiddty "parseInt('abc',16)"
 
6:37 PM
It takes some getting used to
 
@Shmiddty 2748
 
@RyanKinal ok.
wait, do you mind looking at this?
 
@deep yes
 
im trying to invert the hexcolor that the user inputs
 
Seriously yes.
Mah eyes, dey burn
 
6:38 PM
its not THAT bad :P
 
The source ;-;
Why must you hurt us so
 
its a WiP
i write first neaten later
 
!!>"#abcdef".replace(/\w/g,function(a){return ('0x'+a^15).toString(16)});
 
@Shmiddty "#543210"
 
@deep That's a bad way to do things
Think first, act second
 
6:40 PM
@Zirak will do.
 
Liar.
 
!!/tell deep eval '#fff'.replace(/\w/g,function(a){return ('0x'+a^15).toString(16)});
 
@Shmiddty "#000"
 
@deep Have you every written HTML? I hear it's supposed to start with a doctype... and then, I don't know... maybe an <html> tag.
 
Im sloppy.
Sorry.
This better?
 
6:41 PM
Like... drunk? Because it might be excusable, then.
Sorry, that was harsh. I apologize.
 
Drunk code is best code.
 
drunk is code pre-req
 
<!-- rofl -->
<hml>
<head>
 
!!> '#fa39b8'.replace(/\w/g,function(a){return ('0x'+a^15).toString(16)});
 
@Shmiddty "#05c647"
 
6:43 PM
<!DOCTYPE drunk html>
 
@Shmiddty that will inverse the color?
 
@deep yep.
 
@RyanKinal derp
 
They're drunk coding
 
@deep Don't use it unless you understand it.
 
6:43 PM
@RyanKinal Closing the body tag is so overrated.
 
Put a space before the doctype, quirks mode :P
 
@Shmiddty I hear <body> is a valid child of <head>
 
IE5 rendering engine FTW
 
can i replace the col with a variable?, and is it currently a string? and @Zirak, its what im trying to do, find out.
 
@RyanKinal head is optional, but title is mandatory :P
 
6:44 PM
I tried to set the width of a canvas with document.getElementsByTagName('canvas')[0].style.width, hovever it changes back when the function exits (I put an alert box inside the function and used firebug). What am I doing wrong?
 
Anyone ever heard of "My Drunk Kitchen"?
I feel like "My Drunk Workstation" wouldn't have the same effect.
 
<3 Hannah Hart
 
"Internet Explorer has modified the page to help prevent cross-site scripting message"
 
"<li class="MarginBottomNeg15>" :/
 
!!/reprimand deep
 
6:47 PM
@Shmiddty Command reprimand does not exist.
 
@deep Thank you for repeating the message
 
I'm using code.jquery.com, a tracker, and a chatscript from remote sites. Can I tell the browser that it's ok?
 
1 message moved to recycle bin
 
!!/tell Zirak "Your welcome"
 
@deep Command your welcome does not exist.
 
6:49 PM
The only info I can find is that the user have to change some settings. This won't do, users are stupud
id
 
F*ck sake!
 
@LeifNeland You should use JSONP. Let me know if you want me to host the files for you.
 
can anyone help meee milknhny.co.uk/SofiaWork
ive got no idea why the footer is not 100% and in the sidebar
 
0
Q: Approaches to reduce cyclomatic complexion

nirthI was running our code through JSHint, and decided to switch checks against cyclomatic complexion, and then went on long refactoring sprint. One place though buffled me, here is a code snippet: var raf = null //raf stands for requestAnimationFrame if (window.requestAnimationFrame) { raf = win...

 
!!/tell deep eval return "You're Welcome"
 
6:51 PM
@eazimmerman "SyntaxError: Illegal return statement"
 
nope :C
 
@KirstyHarris because everything above it is floating
 
@Shmiddty I can't rewrite the external scripts, they are not under my control. Or do you mean I should proxy the scripts, so they appear to originate on our own server?
 
@veinmelter
its meant to :)
 
@kirsty overflow:hidden; solves most floating issues.
 
6:52 PM
i dont know what i did, it suddenly stopped working lol
 
@LeifNeland sure
 
ffs... now its outside it :S... ARGH
 
revert whatever you just did, overflow: hidden on .maincontent will do the trick
 
When IE messes with the scripts, the customers cannot use the shopping basket :-( I guess I have to provide non-javascript failover...
 
@LeifNeland how are you inserting scripts?
 
6:55 PM
@LeifNeland try/catch ?
 
@BenjaminGruenbaum <script src=code.jquery.com></script>;
 
ImIn++
 
@LeifNeland there's no error in jQuery
Java--
JavaScript++
 
!!/learn invert "eval $0.replace(/\w/g,function(a){return ('0x'+a^15).toString(16)});" .+
 
@Shmiddty Could not find definition for invert eval $0.replace(/\w/g,function(a){return ('0x'+a^15).toString(16)}); .+. Trying Urban Dictionary
Could not process input. Error: Invalid regular expression: /$0.replace(/\w/g,function(a){return/: Unterminated group
@Shmiddty Y U NO MAEK SENSE!!!???!!?11 No results for invert eval $0.replace(/\w/g,function(a){return ('0x'+a^15).toString(16)}); .+
@Shmiddty Command invert learned
 
6:57 PM
!!/invert #fac0ff
 
@Shmiddty eval #fac0ff.replace(/\w/g,function(a){return ('0x'+a^15).toString(16)});
 
!!/forget eval
 
@Shmiddty You are not authorized to delete the command eval
 
!!/forget invert
 
@Shmiddty Command invert forgotten.
 
6:58 PM
@BenjaminGruenbaum I don't get your point
 
user2157210
aoe II hd preload activated start the downloads folks
 
!!/eval top.close()
 
@canon "ReferenceError: top is not defined"
 
!!/mustache troy
 
6:59 PM
lol
 
lerl
 
eyebrows ftw
 
user2157210
!!/mustache Nexxpresso
 

« first day (901 days earlier)      last day (4049 days later) »