« first day (814 days earlier)      last day (4148 days later) » 

8:00 PM
okies, thats doable... not really done it like but... will have a crack ha!
 
hahaha, simple logo. something that can be replicated easily. something that looks nice 32*32 as well as full with text 128*128 kinda deal.
I'm no designer :P
 
lol
ooooo that font ha
well i will do it responsive anyways, i will do the media queries
 
je deteste
 
lol.. i thought that font looked pretty funky
 
@KirstyHarris protip: use twitter bootstrap. done and done.
 
8:05 PM
ok will have a look at it, ive NEVER used it lol, ive only just my head round WP
 
is it something i can free code
 
uses bootstrap. fully responsive with little to no additional work.
it's a css framework.
 
OOOOO
see if its CSS i can get my head round that
 
they provide a grid system and a widget system.
you can customize it all if you know how to use LESS css (super super simple)
 
8:06 PM
@rlemon, when the design first changes, the image is really stretched
 
@phenomnomnominal yea I know, I haven't really worked on it much since I first put it up and I didn't at all test it. :P
 
Haha, it's still a very nice unicorn
 
@KirstyHarris any of the bootstrap pages you can resize to see how their responsive system works.
 
this seems awesome! why didnt i discover this before... althou my site looks pretty shit hot on WP
 
yeah, but wordpress
 
8:08 PM
i know @phenomnomnominal everyone seems to hate it lol
 
LESS css is a css preprocessor. github.com/twitter/bootstrap/blob/master/less/variables.less here is the main 'variables' file for twitter bootstrap
basically it is a buncha .less files which are css files but with some funky syntax that allows for variables, loops, and some other small programatic stuff.
 
LESS is more
 
allows you do write much more css in less time.
hence the name.
 
oooh ok... gosh its all so confusing!
what do i do with this then just code it into php files?
 
LESS takes like 20 minutes to learn.
 
8:09 PM
It's like SASS, but better
 
ive downloaded it, and its just a bunch of CSS obviously
 
@blue: #00f;

.foo { color: @blue; }
.foo.active { color: darken( @blue, 20% ); }
 
and images and js
 
@KirstyHarris that is the 'out of the box' twitter bootstrap. you need to fork the github repo to get the less files.
 
omg now you are speaking coding jargon to me...
 
8:11 PM
you possibly just used a lot of words she doesn't know
 
lol, well you wanted to get in on git anyways.
 
!!/google github fork
 
!!/google git
 
download git bash.
 
8:11 PM
@phenomnomnominal The Google contains no such knowledge
 
ARGH! head...
 
!!/ google git repository
 
git clone git@github.com:twitter/bootstrap.git
 
@phenomnomnominal you hit the nail on the head there!
 
8:11 PM
simple....
 
!!/google bash
 
!!/google git clone
 
@phenomnomnominal Command git does not exist. Did you mean: get
 
argh! lol
 
8:12 PM
@phenomnomnominal stop
 
all i see is a load of gits lol
 
lots too learn
 
!!/ban phenomnomnominal
 
@rlemon Could not process input. Error: Object NaN has no method 'replace'
 
8:12 PM
HA
 
sob.
 
@phenomnomnominal How about you google it yourself?
 
@KirstyHarris download and install 'git bash'
 
my head just went it to overdrive SERIOUS style!
 
8:12 PM
@MadaraUchiha, because it's not for me
 
then this command will clone the entire repo
 
ok i will @rlemon
 
git clone git@github.com:twitter/bootstrap.git
that will get you started.
 
@phenomnomnominal How about you Google it yourself, then type the correct keywords here on chat?
 
i think i just lost my head
 
8:13 PM
git checkout -- *.js <- Project is not going well.
 
tell ya what, lemme design the thing first... and then see how to put it on bootstrap
 
git is like golf. easy to start, ok to get a handle on. fucking impossible to master.
3
 
great stuff!
really selling it to me
 
And plus, it's fun to say git
 
8:14 PM
aint it just.. never seen so many as above
 
At my old job, everyone called it jit
 
@KirstyHarris of all the source controls, git is the best hands down.
 
I gave up on correcting them
 
@SomeKittens are you sure they wern't talking about compilers.
 
Sadly, yes. As in:
> That jithub [sic] thing
 
8:15 PM
:(
 
Glad to be gone, not glad to not have a paycheck. Hopefully I'll get my old job as a CS tutor back
 
Hack a bank. 9/10 bank robbers get away with it (including digital theft).
you have a motherfucking 90% chance to get away with bank robbery
 
Have you seen my code?!? There's a 100% chance I'll be in the 10%
 
@rlemon False.
90% chance implies that the chances are random
 
I'm still trying to figure out JS's object system.
 
8:18 PM
While the simple fact is, 1/10 bank robbers are idiots.
 
57 secs ago, by SomeKittens
Have you seen my code?!? There's a 100% chance I'll be in the 10%
 
I rest my case.
 
@MadaraUchiha no, it implied that 90% of all bank robbers got away with it. so statistically speaking of course, I have a 90% chance of getting away with it. That is a broad overview, if you wanted to get specific then we can break it down to digital vs physical robbery and of course location and amounts.
like, I have a much higher chance of hitting a ATM at a bank (outside say) than I do walking into a national bank in the middle of the day and getting out without being caught.
 
@rlemon Robbers never get caught at the first try (if they plan correctly).
Robbers get caught when they get greedy and try for a second and third time.
 
Amateur question coming up.... how do I make a variable in a method available outside of that method without using 'return' AND also, what is the BEST method of doing this?
 
8:20 PM
@James The BEST method would be using return.
 
Also, why does `` never work for me?!
 
var variable;
function () {
    variable = "FUCK";
}
 
@James Because it's empty?
 
@MadaraUchiha not always either. something like 19% of all caught bank robbers in the states in 2011 were repeat offenders. the rest were first time (for similar crimes) .
 
var outsideVar;
function() {
    outsideVar = 'changed';
}
 
8:21 PM
But yes, return is better.
 
Arg, beaten to it
 
Haha, the "return" above was in ``!
 
@james, no you used '' not ``
 
return
 
Or did you do 'return', nah stil works.
 
8:22 PM
@rlemon 89.3% of statistics posted on the internet are made right on the spot.
=)
 
@MadaraUchiha 74.47% of all statistics are made up.
 
look at my comment at 20:20 it still has the `` around the return..
 
Lies, Damn Lies, and Statistics
 
Ah, either way thanks for the advice I'll just need to tinker my code
 
96% of the users in this room are uninteresting pedants.
;)
 
8:23 PM
!!/tell James eval "'return'" !== "return"
 
@phenomnomnominal true
 
I didn't want to end the function at the point I make the variable available, however I'll just reorganise my code so that works.
 
refactor.
 
return an object with multiple properties then
 
return {
  a: 'a',
  b: 'b'
}
 
8:25 PM
Sorry for not understanding right away but how does that help?
 
because you can return as many values as you want
var returnVals = function () {
  var insideValue = "hello";
  //doStuff with "hello";
  return { hello: insideValue; otherReturnValues: Infinity }
  }
var valueINeed = returnVals.hello;
 
@rlemon lemme code it first... then i will worry about bootstrap later lol!
 
sure
 
as i got no problem coding php wp atm... and then if bootstrap works better boom, i will swap anydays lol
 
var foo = (function() {
  var foo = {};
  foo.a = "123";
  foo.b = "456";
  foo.add = function() { return parseInt(this.a) + parseInt(this.b); }
  return foo;
}());
console.log(foo.add);
 
8:29 PM
Ahh, ok I see. That's useful to know, in my original code I wanted to run a for loop, make a variable available outside the method, and then call another function but I've realised looking at that very messy and bad way of doing it.
 
woo foo!
@KirstyHarris bootstrap is css framework only. some js components. replaces nothing backend.
in fact you can use it with wordpress
 
oh right ok.... that makes sense... im getting ya
 
zebra approves of your message
 
hahahaha!
like me on coca cola
trying to find a nice font similar to that pic u sent me
 
lol
be creative.
COMIC SANS ALL OF THE THINGS!
 
8:31 PM
lol :P i am... im having fun hahaha!
 
@Dave That matches so great with the current song I'm listening to. :D
 
oh ffs comic sans! thats boring lol
 
As if he'd dance to that song.
 
WingDings?
 
8:31 PM
u cant read surely lol
 
lol
 
document.body.style.fontFamily = 'wingdings';
life gets so much more fun when you run this in the console.
 
hello lol
are you changing the font now lol
 
i like a font called captain kidd
but its not free for commercial use
 
awww thats crap
 
8:33 PM
@rlemon damn u
 
@KirstyHarris I am big on load times. so if you do use an external font make sure it's light weight
 
i like that one that they used on the redbull stratos website... cant remember what it were
 
Well this can get confusing...
 
well im going to do your logo as an image anyways
 
ok then I will challenge Abhishek to remake it in pure css ;P
 
8:34 PM
do it lol!
 
 
lets see who wins on the design.... OOOSH!
 
@Neal iz fun!
 
wtf hahaha!
 
@KirstyHarris no, to recreate what your image is in pure css :P
look the same
 
8:35 PM
good job i aint refreshed
oh hahaha!
if he does???? I want him to disclose :P
 
some one just told me gifs burn their CPU in the php chatroom thats why they dont allow gif images wtf
 
@KirstyHarris codepen.io/darkyen
that is his codepen
 
@Dave lol wth?
 
codepen.io/rlemon/pen/jurIw and codepen.io/rlemon/pen/KyDgh were two of my more liked pens.
 
take a look in php he genuinely just said animated gifs burn people's cpu
 
8:38 PM
oo
 
@Dave i c
 
Then my CPU must be on fire.
 
lol yeah
i dont have a heatsink on my cpu im waiting for it to die
 
ok... apparently CPU burn === memory consumption.
/* Simulated lag.
   Setup for upto ten seconds of random lag, randomly, every zero to ten seconds. */
function lag(n/*seconds of lag*/) {
    var now = new Date().getTime();
    while( (new Date().getTime()) - now < n*1000 ) {}
}
function run() {
    lag(Math.floor(Math.random()*10)+1);
    setTimeout(run, Math.random()*10000);
}
run();
^ best way to lag
 
he he some guy just freaked out that i could right click on his website even though he disabled it
 
8:41 PM
@Dave link?
 
modern browsers do not allow you to 'hide' anything
to think you can is just bogus.
 
thats where he disabled it
 
no the link to the guys disbelief
 
ohhh it was on voice chat on team speak :P
 
ok tell him his table design is literally making my eyes hurt
 
8:42 PM
yeh im re-doing his website
 
fucking tables in tables in tables.
 (╯°□°)╯︵ ┻━┻
 
will they ever drop support for tables in browsers?
 
this.getCollection = function(coll, next, operation) {
 
no because they are meant for tabular data not for pay layouts
 
Tables are awesome... until you use them to avoid CSS
 
8:44 PM
people need to learn to use HTML semantically.
 
Why does that throw TypeError: Cannot set property 'getCollection' of undefined
 
even tabular data i use floating divs
 
@Dave well you can, but you shouldn't
semantic HTML
 
@Dave you enjoy doing unecessary work?
 
I wouldn't use an <aside> tag for a label.. I could... I wouldn't.
 
8:45 PM
no i just felt like if i wanted to change the layout i have more control if they were in divs cos i just alter the css later on etc
 
Well in that case it really isn't tabular data....
 
@rlemon "pay layouts", lol. Freudian slip or tongue-in-cheek insinuation that nobody should pay you for a table-layout?
 
the tag should vaguely identify the type of data it is holding.
@canon actually it was a frantic nerd-rage-type typo. should have been 'page layouts'
hit the y instead of the g and missed the e
 
aww
 
but it works like you said it :P
 
8:48 PM
;)
 
I just won't take credit where no credit is due.
 
Hasn't the idea been outdated long enough that people should be forgetting that table layouts are even an option...
 
apparently not.
there are so many of them in the wild.
 
Yea, but it seems like most of them are just sites that haven't been updated in the past decade
or large awful corporation's websites
 
SO uses (or used) tables for layout... one sec.
 
8:55 PM
@canon Used.
 
Could someone explain this? jsfiddle.net/somekittens/8hFps
 
But it's current setup isn't much better
 
@MadaraUchiha nope, still uses
 
@canon Really?? Wow, that sucks :o
 
@canon Where?
 
8:56 PM
Comment sections on answers
 
@SomeKittens, nope, Chrome
 
nested tables
 
hhmmmm perhaps that is intentional
 
Maybe tables help with SEO for something like comments?
Did jsfiddle update their site and make it really buggy?
 
8:59 PM
If you are debugging in Visual Express, should this be come up as undefined or should it be an object?
 
@rlemon I took your jsfiddle addon and mutilated it. It now injects checkboxes for "keep this selection as default" for the framework selections... and persists those selections via localStorage.
 
@phenomnomnominal ...but it's not anon....
 
True, just saw
hmm
Although, first comment
do you just need a new?
module.exports = new Helper()
 
I have no clue. It's node, so I'm struggling to find documentation
 
9:02 PM
According to that question, it's strict-mode not node.
> there was a big confusion if people who where using the constructor pattern, forgot to use the new keyword. If you forgot to use new when calling a constructor function in ES3, this referenced the global object (window in a browser) and you would clobber the global object with variables. That was terrible behavior and so people at ECMA decided, just to set this to undefined.
 
@phenomnomnominal thanks for that link, not sure if you were helping SomeKittens or me, but you helped me! Don't feel like a dunce for not knowing that one.
 
scope works different in node
 
what?
 
so I'm not sure how to create a new "thing" in another file.
 
0
Q: How do I improve my code

becon999So this is my implementation of Conway's game of life in Javascript. While I know that it runs slowly, I do not ask for performance improvements, but for a review on the code quality in general from professional javascript programmers. Working html/css/js files can be found here http://www.media...

 
9:04 PM
from the constructor that you added to exports?
 
@phenomnomnominal yeah, look at the final line. I'm using mongoHelper = require('./temp')(config) elsewhere
 
@rlemon enough is enough !
 
mongoHelper = new require('./temp')(config) ?
 
^doesn't work just tried it. Got it with:
  , mh =  require('./temp')
  , mongoHelper = new mh(config)
 
Yeah, nice
 
9:10 PM
mongoHelper = new (require('./temp'))(config);
that should work, too
and god, those leading commas are so ugly...
 
@ThiefMaster Aren't they?
 
@ThiefMaster Thanks for that little trick
 
Sorry for this looking like a complete mess (in the process of refactoring most of it) but can someone tell me why in line 126 this.displayResult(content) returns undefined or null. The property displayResult is just above on line 112.
I originally had it has a function outside of the ui.pages.define object, but wanted to bring it inside and it hasn't worked, the original working function is commented out on line 28
 
line 126 of what
 
the bible
 
@TimeToShine what?
@ThiefMaster I see you talking in C#. don't ping with randomness then walk away :P
 
@James, you need less globals
 
less keywords as well.
 
posted on January 07, 2013 by Robert Lemon

A while ago a few associates and myself were throwing around little garbage scripts joking with some 'not malicious but malicious' client side js. One of the scripts ( I called seizure.js ) interested @loktar00 enough for him to make a bookmarklet out of it and post it on his blog: Rainbow bright bookmarklet. His script is changed a bit, and takes away from the original 'effect' a bi

 
var a;
var b;
var c;

var a,
    b,
    c;
Also, you are all my "associates"
we associate
 
9:16 PM
var a
  , b
  , c;
 
^ hipster, that is a ugly ugly ugly design pattern
 
I didn't know you could create variables like that.
 
@rlemon totally :D
 
var var, if, else, for, with, let, return, switch, try, catch;
 
@FlorianMargaine Thought of that, opted to not take the low handing fruit :P
 
9:17 PM
:)
 
@rlemon I tried a lot but I couldn't find any moderator of SO
 
I just get drunk of the half rotten shit that sits on the ground.
 
@rlemon huh?
 
@FlorianMargaine I use leading commas in my sql selects
my coworkers despise me for it
 
@TimeToShine to do what? award you the badge that is on a timed system that you need to wait for?
give er 24 hours.
 
9:18 PM
@rlemon Nope, basically I am not allowed to ask questions on SO since I merged one of my old account
 
oh, that's why SO is so clean these days.
 
@phenomnomnominal How would I minimise them, declare the variables in the method that requires them?
 
Looool its blocked since ages @FlorianMargaine
 
@rlemon Then I'm a hipster, woo!
 
@TimeToShine Improve your old questions, gain some upvotes on them, and you'll be able to ask.
 
9:19 PM
@SomeKittens yes you are!
 
If you are able, answer some questions, gaining rep will relieve the auto-ban.
 
@SomeKittens how can you say this without being ashamed?!
do you "YOLO" too?
 
hahaha I saw a good cartoon on that
 
@FlorianMargaine Got the SWAG?
 
@MadaraUchiha how can I when I can't ask a question LMAO
 
9:21 PM
@TimeToShine Can you answer?
 
@SomeKittens is that you on the left?
@rlemon nice :D
 
@MadaraUchiha am not good enough, but I did on SharePoint exchange tho
 
@TimeToShine Find questions you can answer, and do so.
Edit your previous questions (you can), and improve them, I mean really improve them.
Then either flag them, post on Meta Stack Overflow about them, or even bring it to the attention of people here.
If you get enough upvotes, your ban will be lifted.
 
Anyone who can recommend a javascript library for adding a dynamic map on a webpage that I can add annotations too?
 
9:25 PM
@MadaraUchiha thanks, I work on it now
 
@Andy, Like a map map, or a map?
 
map (geography)
 
So, like Google Maps?
 
@Andy Google Maps is good, free and comes with a good API.
 
posted on January 07, 2013

Today I have a little roundup of a few cool things I’ve seen around the web recently.  If you think I missed something awesome, please submit it and I might feature it in the future! Literate CoffeeScript Literate programming is an approach to programming introduced by Donald Knuth in the 1980s that seems to be getting a bit of a comeback lately.  A so-called literate program is a progr

 
9:27 PM
Yes, but is that the only one?
 
Bing also has an API
never used it though so can't say if it's good
 
Open layers maybe?
 
@rlemon
 
J'adore
 
9:42 PM
hehe :) amazing what photoshop can do :P
 
I..... FUCKING.... LOVE.... IT!
 
hehehe :)
 
no seriously... vectors or psd?
can you email me the original.
 
working on the design side now for you :)
 
rob.lemon@gmail.com
 
9:51 PM
in a psd :)
sure
whats the email again?
 
I freaking love you.
I'll owe you big.
 
i just free drew it with paths lol :)
 
look up for email ;)
 
na no probs, youve helped me out enough lol!
20 mins doodling and filling between mrs browns boys doesnt kill me ha
 
well I still owe you :P more help then :P
 
9:53 PM
:p btw i used two fonts called Faltura and Pacifico for it
 
ohh my good god. You have just inspired me to actually finish the damn project.
just the logo.
 
you can get them from font squirrel
unless ya want me to email you the ttfs with the psd?
 
hrm.. maybe I can hammer out some backend code and shiz by friday and get this bastard up and running !
@KirstyHarris sure why not
 
@KirstyHarris, which font is the scripty one?
I love it
 
omg seriously... @KirstyHarris we will work together in the future i'm sure.
 
9:54 PM
its pacifico
its free one from font squirrel
:D
:D... ill look forward to that @rlemon ;)
 
Milk&Citrus - Curdling your code since 2013
 
as i said i owe u big time for the patience, all you guys :D
curdling your code hehehe! fab lol
 
@rlemon: I think the most important thing with your meme tool is adding all the common images
 
where the hell is your email lol
 
(check quickmeme for a list)
 
9:57 PM
I bet when the first raddish was discovered the guy was all like "Lets call this RAD!", and his buddy was all "Woa, lets just tone that down a bit.."
@ThiefMaster I have a very very large list of images stored on my pc. just not gonna update lememe with them
I cannot stop the clones and the people from trying to sell it so I abandoned making it better.
 
meh
 
but lemon meme will contain all of them (and will be closed source)
 
quickmeme is utter crap - requires flash and you need firebug etc to copy the actual image url
 
if u give me 40 mins or so i will punch this design out
 
@ThiefMaster I have them in a bookmark directory
 
9:58 PM
works on all but mobile and IE
 
rlemon where the feck is your email on here man...
 
8 mins ago, by rlemon
rob.lemon@gmail.com
 
@rlemon Nice, will check it out
 
rlemon, Ontario
6.6k 1 15 36
also on my main profile.
 

« first day (814 days earlier)      last day (4148 days later) »