« first day (787 days earlier)      last day (4162 days later) » 

12:01 PM
@KirstyHarris I wouldn't help, but you called me sexy and I'm a sucker for flattery
 
lol im sooo stuck! i dunno what i done lol!!
 
Wow. Both unformatted and a wall of text. Use a paste site (pastie, pastebin, the lot)
1 message moved to recycle bin
 
i did the kick thing!!!
FML!
 
@KirstyHarris Kirsty, according to jsfiddle, it doesn't like the => syntax much
 
@KirstyHarris you're missing some closing braces.
 
12:03 PM
where thou... :S
it were working a minute ago :S
 
Actually, I think @FlorianMargaine's right
 
i darent delete it as i got stuff in the widget areas lol
 
if ( function_exists('register_sidebar') ) { <- where is the closing brace?
 
but i thought u followed it on.....
 
@KirstyHarris Maybe you copied and pasted some code and forgot the end brace?
@KirstyHarris on.. where?
To the ends of time and beyond!
 
12:05 PM
lol ... fml
ok so i put closing brackets and still no luck! pastiebin.com/?page=p&id=50c721a411c52
 
I suggest you learn php.
 
as i said @FlorianMargaine it was working fine till i wanted to register a new sidebar
 
It'd be nice if the code was indented. And...why are you repeating the same if statement?
 
if ( function_exists('register_sidebar') ) <- where is the opening brace?
and why are there so many closing braces?
 
You closed it twice here...
 
12:07 PM
1 message moved to recycle bin
 
@Neil Hit Ctrl+K before sending a message to codify it
 
ARGH!!... honest my mates editting this as well... doesnt really help
hmm need food, i will be back to look at it...
 
if ( function_exists('register_sidebar') ) {
register_sidebar(array(
'name' => 'mainpictures Sidebar',
'id' => 'mainpictures-sidebar',
'description' => 'Appears as the sidebar on the custom homepage',
'before_widget' => '<div style="height: 280px"></div><li id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
'before_title' => '<h2 class="widgettitle">',
'after_title' => '</h2>',
));
}
register_sidebar(array(
'name' => 'Footer Widget 1',
'id'        => 'footer-1',
'description' => 'First footer widget area',
 
so i dont need the if statement more than once, ok
 
Brackets are like parentheses in an equation
 
12:08 PM
... fecking tutorials
 
If you saw (x + x) + 5) = 6, how would you interpret that?
 
But really, doesn't php throw warning which pretty much give away the location of the problem?
 
@KirstyHarris that's what you want pastiebin.com/?page=p&id=50c72251cbd82
 
i wished i knew how to indent... bloody thing
 
@Zirak no, the error is usually in another file or dozen of lines before
@KirstyHarris use the TAB key
 
12:09 PM
ah, okies, thankyou
 
@Zirak It's like C++, only you're coding in PHP which sucks
 
florian thats still coming up with a syntax error
 
I'm familiar with PHP but i'm no expert
But __('Primary Menu') doesn't look like valid PHP
 
its specifying a menu, it worked fine before @neil
 
12:12 PM
@FlorianMargaine oh dear god, why
 
the __ function is often used as an alias to gettext
because _ is perfectly valid in function names
just as it is in C/C++
 
I just thought it was allowed to start function names
 
it's a valid character :)
@KirstyHarris the error is somewhere else, probably a missing brace or something
 
:(... fml... i dunno why as i said it was fine :S
 
PHP validator
Maybe it'll give you better insight
 
ok, will try... fucks sake as this as fucked it up.... ARGH
 
@FlorianMargaine Worst name for a variable ever
 
it says no errors... but it is throwing an error :S
 
12:16 PM
like $? :)
@KirstyHarris the error is somewhere else
 
Parse error: syntax error, unexpected '}' in /home/pinkc506/public_html/jessicarose/wp-content/themes/Rise Up/functions.php on line 103
 
At least it's well documented.. if you wrote code with a local variable called _.. you'd be hitting your head against a wall 2 years later
 
its saying in the functions file thou :S
argh i need lunch i will look at this in 10
 
@Neil when you're dealing with internationalization, having a short function name is a must
 
@KirstyHarris It seems to me that it is something else, not the code you gave us
 
12:17 PM
besides, this convention is used everywhere
 
@FlorianMargaine In java, we just use l18n
At least that's better than _
 
how is it better?
 
@FlorianMargaine Because it's not like you're dealing with a variable named "x".. at least it has some meaning tied to it
 
0
Q: collision detection problems - Javascript/canvas game

Tom BurmanWOuld love a bit of help with my problem! Im making a 2d tile based game using javascript and canvas im using a 2d array to hold my map info like : var mapTiles = []; for (x = 0; x <= 256; x++) { var imageObj = new Image(); // new instance for each image imageObj.src = "...

 
you may not know what the hell l18n means, but looking it up won't show you the page for underscore.js for instance
 
12:21 PM
_ is used anywhere gettext is used...
 
@FlorianMargaine Are you really going to try to tell me that _ is a name just as good as any?
Seriously?
 
look, you have more jquery votes than javascript, and you're telling me a single letter variable is bad?
 
In a world when programs are already complicated without having to invent new ways to torture programmers, you would call variables x, x, __x, and _x__x?
@FlorianMargaine Strawman
 
Wait, what are we discussing?
How _ is worse than what?
 
98
A: Is there a standard function to check for null, undefined, or blank variables in JavaScript?

jAndyYou can just check if the variable has a truthy value or not. That means if( value ) { } will evaluate to true if value is not: null undefined NaN empty string ("") 0 false The above list represents all possible falsy values in ECMA-/Javascript. Furthermore, if you don't know whether a var...

sooo close ! O_o
 
12:26 PM
@OctavianDamiean I swear if I had said only 10 minutes ago that _ was not difficult to understand by any means, I would have had 3 or 4 of you insisting I was a dunce
 
I don't know what we're discussing so yea.
Can't tell what I would have told you.
 
WooooooT thanks boys :P
('n girls)
 
@jAndy You're welcome.
 
!!/listCommands
 
@limelights Invalid command //listCommands
@limelights Available commands: help, listen, eval, live, die, refresh, forget, ban, unban, regex, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, beautify, convert, get, google, hang, learn, slap, nudge, ring, roll, spec, stat, todo, undo, echo
 
12:29 PM
party party -- where is the sparkling wine.. nah champagne! first 100 !
 
hmm, doesnt google have something a kin to mdn?
 
!!/eval alert('Surprise!');
 
@Neil "ReferenceError: alert is not defined"
 
Too good to be true
 
yeah, i came pretty close last night though
you can send a IIFE but still no access to the window nor document object
 
12:32 PM
user image
2
 
it's a webworker in the background that has no idea that the document exist :(
 
@Abhishek: LOL
number 3. is boss
 
So is 7.
 
.....
awaiting my MOTHRTEFFIN DAMN GREAT ANSWER badge
 
@neil seriously that is the code out of my functions file
 
12:37 PM
@OctavianDamiean i like experts exchange
its pricelessly funny
 
Does anyone know where I can find a Google Javascript API much like the MDN? The Google doesnt seem to let me know
 
recent badges: Great answer !!!!
you guys won't believe what that means for a rep-whore
 
oh ffs... now its not even working at all! :(
 
@jAndy orgasm i know
 
@Abhishek: all day long !
 
12:39 PM
@KirstyHarris control + z
@jAndy sounds fetsh
 
Parse error: syntax error, unexpected '}' in /home/pinkc506/public_html/jessicarose/wp-content/themes/Rise Up/functions.php on line 103 thats what ive got...
 
fetish*
 
and now it wont even let me get into the theme
 
@KirstyHarris you probably missed a ";" or put an extra "}"
 
well thats the thing,... i didnt... i checked the file and it said it were ok...
0_o
 
12:40 PM
do I need to pull the crystal balls ?
by the way.. oh my frickin gosh.. @KirstyHarris
 
hahaha!
love it!
 
who are you and what did you do to the purple rectangle ?!
 
she went :)
 
I didn't even realize you were here without that pinky pink pink thing
 
protip: re-cooking a 3 day-old steak is not that awesome
 
12:44 PM
@jAndy nerdgasm
 
@Zirak stake*
:P
 
@AmaanCheval re-think before u own zirak
 
@Abhishek Inside-joke, friend.
 
@AmaanCheval just being an ally , matey.
 
26
A: What benefits are there to native JavaScript development?

ZirakLet's talk about cars. Oh wait, we already did - remember that time we met, a few weeks ago, over steak and drinks? That was a great stake. We talked about cars. In fact, you seemed to be quite the expert on cars. You were able to explain, in detail, all of what's right and wrong and exciting ab...

 
12:45 PM
He refuses to correct "stake" in his answer on Programmers.SE
 
God some simple jQuery effects play more with the DOM than a 15 year old with himself. Add classes to parent elements, use CSS!
 
Burn. BURN. BUUURRRNNN
 
hehe
 
Bastard
 
anyone done erlang ever?
 
12:46 PM
yeah
it was fun
 
how do you pass the encoding parameter to file:open
 
iirc, teresko has. My experience was short and stout.
 
the actor model is nice too
 
Any of you used oDesk.com?
 
file:open(Fname, [read, {encoding: utf-8}]) ?
 
12:47 PM
@Esailija ?
 
@AmaanCheval I hired someone there once, for my company
@Esailija missing dot at the end, that's for sure
otherwise, been too long since I did some erlang
 
o well
 
@Zirak ever tried to microwave frozen potatoes?
 
@GNi33 When jQuery and effects is mentioned together is it reasonible to assume jQuery ui ?
 
@FlorianMargaine and?
 
12:48 PM
@AndersMetnik nope
 
Ohh :(
 
@AndersMetnik jquery has animate
@AmaanCheval sucked
 
Ahh did not know that ;)
 
we spent a hundred bucks then left
 
12:49 PM
@FlorianMargaine ok I found an example
file:open(FileName,[read,binary,{encoding,utf8}])
 
Anybody here uses steam ? // dont ping just say yes
 
Dude wants me to use it to track the hours i work
 
what does binary do
 
Yeah
 
@AmaanCheval: last time I used steam I ended up steaming
 
12:49 PM
THE GAME!
 
@AmaanCheval what speed do you get on downloads ?
 
FU
 
i am getting amazingly 248kbps , which is shocking me O_O
 
@Esailija it's just an argument
 
I lost the game
 
12:50 PM
@jAndy you just made me lose THE GAME
 
@Abhishek I get 400kbps for an hour, and then it just stops downloading for half an hour
 
@FlorianMargaine yes but I mean what does it do
I specify utf-8, that doesn't make sense then to have binary
 
sigh Lost!
 
the overall quality of players seems to increase
more competition
 
12:51 PM
I am downloading Prince of Persia .. Warrior within [an era old game but... damn i wanna play it ]
 
@FlorianMargaine anyways, I threw it there stackoverflow.com/a/13820799/995876
 
@Abhishek: I can proudly say I was playing the original version from that game back then, and its an awesome game !
 
@Abhishek sands of time was better
 
ah I see it's just "worse performance"
 
12:52 PM
@jAndy My gf bought me that
 
@jAndy me too, and damn i hated it :D
 
after buying it herself (XD)
so i am playing original
@limelights too doomed graphics for me :-|
 
@FlorianMargaine so binary here is like going into php mode where strings are utf8 encoded byte arrays
no thx =D
 
@Abhishek too doomed?
 
Abhis> I use it as well sometimes, Fine downloading speed +1mb normally
 
12:53 PM
good old games.. where you really needed practice and skills to achieve anything
compared to todays games.. which are created for the last trolls on earth
 
@jAndy Me too, :D
 
@jAndy that depends, ever played super-meat-boy ;)
in general, the quality of indie-games increased over the past years, it's crazy. there are some real gems out there
 
problem is, big titles won't have any real "complexity" or "difficulty". The aim is that any random guy can pretty much play and finish the game / have success easily
 
@FlorianMargaine man the encoding/character-encoding/utf-8/unicode tags are like taking candy from kids, the problems are usually ridiculously easy and there is very little competent competition
 
just because the max amount of (dumb) ppl will buy the crap
big gfx, big animations, big sound, big anything, anything except skill and practice :p
 
12:59 PM
@Esailija lol
 

« first day (787 days earlier)      last day (4162 days later) »