« first day (907 days earlier)      last day (4035 days later) » 

3:01 PM
@RyanKinal Don't know.. why did you remove the link?
 
@Neil I didn't. Someone else did.
 
@RyanKinal No
 
@RyanKinal Without justification, I just see that as removing information for no apparent reason
 
@Zirak Sweet. Thanks for the rollback.
 
3:04 PM
It's good to remove excessive information, but only if it is, in fact, excessive
 
I kind of assumed it was for "advertisement"... but that was not the intent of the link.
 
no it looks like he is just getting his edit queue
had he clicked on the link he would have seen it wasn't spam
 
0
Q: An optimized utility (underscore based) library v2

Hiro ProtagonistI found that as/each is about 2x times faster than underscore.js each. The other methods are as fast or faster. Are there any other optimizations that I can make. Thanks. /*************************************************************************************************** *********************...

 
@rlemon how's your node experience coming along :-) got my first app deployed! Http://www.gacnt.net
 
user2157210
i think i got my app finished soon
 
3:08 PM
@XCritics started on express. just getting a handle on ejs and experss
 
Ah I like my jade :-)
 
I tend not to do things the right way. Right now i'm writing all of my template stubs. or the ones I think I'll need
probably won't end up needing half of them. ohh well.
 
user2157210
only took me fucking 5 hours for a simple android app
 
1 hour ago, by Florian Margaine
@rlemon I prefer EJS because it's closer to HTML, thus no new language to learn
 
Haha i just got my one template including a header and footer with yield in the middle so all my other pages are just a body
 
3:10 PM
@FlorianMargaine and I took your advise.
<ul class="thumbnails">
	<% images.forEach(function(image) { %>
	<li class="thumbnail">
		<img src="<%- image.thumbnail.medium %>" title="<%= image.title %>" />
	</li>
	<% }); %>
</ul>
thumbnails like a bauce
 
@rlemon OMG YAGNI
:-D
 
@RyanKinal yea well. What can I say. I like to have lots of code to choose from when it comes time to deploy it
 
Can anyone help me over in the CSS room? :)
 
@rlemon too much rails :-)
 
just ask it here
@XCritics never Ruby
never even once
 
3:12 PM
I need to dynamically center some images with only css
 
Yeah, I can understand that. I've definitely ended up with more templates than I've needed. Specifically in Stormy
 
@rlemon any idea what db you're gonna use?
 
@BillyMathews jsfiddle.net can you give us a stripped down example of what you are trying to do?
@XCritics probably couch
 
user2157210
i just see girl with crab on her head
 
user2157210
3:13 PM
wtf
 
@BillyMathews "dynamically" is tough... it implies JS.
 
pretty much any DB I can just serialize my objects into.. I think I can do this with couch
 
I'm using mongo and I'm pretty sure that's what I'm doing.
:-)
 
@RyanKinal not really. margin: 0 auto; usually works for that
 
@BillyMathews That's highly situational
But, it occurs to me that you're trying to center an inline element... what's wrong with text-align: center?
If you don't float it, you should be gold.
Remove align="left"
 
3:16 PM
@rlemon theres alot of crap in there.. its all generated by cargo so.. :/
 
Or apply float: none
 
@BillyMathews to get X centering is easy, just text-align: center; the container
 
.project_content { text-align: center; }
.project-content img { float: none; }
 
vertically aligning it is another story
@RyanKinal afaik you can float it if you display: inline-block;
 
@RyanKinal it was the align="left"! Thanks!
 
3:18 PM
:-)
 
@BillyMathews if you want vertical alignment as well you need to either have all elements the same height or use js to apply a style rule to vertically center it
 
is that a CSS property that I could override in a class with !important?
@rlemon I'm good for vertical alignment, thanks
 
nay, Ryan is right. cannot float at all.
 
float is tricky... it can affect the display of the element
@BillyMathews Don't use !important. Bad news.
 
yea, if you are using !important you are doing something seriously wrong
 
3:21 PM
Or you're writing user styles...
 
only acceptable times for !important: userscripts maybe
 
lol
 
at least we agree on that :P
 
and IE bugs...
 
3:22 PM
You know what really weird me out about most css? z-index values.
 
@FlorianMargaine Fair 'nuf
@Zirak Yeah, I kinda hate z-index
 
The consensus appears to be "write as many 9s as you can"
 
@RyanKinal I don't have a choice; Cargo generates inline styles that I need to override. Also, is CSS float the same as the align="left" I think that overrode it
 
Instead of, you know, thinking about layout.
Which may tell us about a css' designer's mindset.
 
@BillyMathews Ugh. Yeah. That's excusable.
 
3:22 PM
@RyanKinal What's so bad about it anyway?
 
inline styles are a PITA for specificity
 
I mean, using bad practice to overcome bad practice is unfortunate, but still
@BillyMathews Overriding it is near impossible.
 
@BillyMathews it breaks the cascading part of Cascading StyleSheets :)
 
Which means that it's really hard to extend your design.
 
Can I subtract an hour from a Date without having to manually create a new Date?
 
3:23 PM
using !important pretty much A) leads to less maintainable code, and B) the view engine is now having to process needless style rules for elements then right away re-process them as something new. It's pointless, just refactor the code. (if you can)
 
user2157210
Nexxpresso!important
 
Meh
That is all
 
Maintainability here is the biggest reason not to use !important. I have had to maintain code that used it and spent fucking days trying to figure out the CSS (before inspectors)
 
'before inspectors'
 
even now it's not easy
but not as bad.
 
3:27 PM
It is so easy
 
still, it's a bad practice. don't do it if you can avoid it
 
you can click on an element and see every css rule being applied and which ones are overriding
and what stylesheet/line it's coming from
But yeah I do
avoid it as much as possible
 
it's like relying on type coercion.. you can, sure. but it's less maintainable for future devs because they now have to think about what is going on instead of just reading it
 
@rlemon oh, good one :)
 
I don't like Florence and the Machine but I do like this song. grooveshark.com/s/Dog+Days+Are+Over/2N4FSv?src=5
grew on me
 
3:32 PM
@rlemon Pretty solid. Never really got into them.
 
GF listens to them.
 
If anyone cares, I got some great answers on that testing question
2
A: How to close a bug that is no longer relevant

IzkataWe use FogBugz, but I'm sure the same (or similar) applies here: We just use "Resolved (Fixed)" and comment in the resolution edit something like "Fixed by case 12345". FogBugz matches "case \d+" and links the two together under Related Cases, but if Jira doesn't do that, it should be simple to...

(Well, not that answer, but I'm on mobile)
 
someone got a nice function to get the nearest (lat, long) point from another?
 
I kinda like that answer, actually
 
3:33 PM
@BillyMathews fix your loading circle ;)
 
They're all solid
 
Yeah, good stuff
In FogBugz, I'd probably use Resolved (Already Exists)... but that's FogBugz
 
@BenjaminGruenbaum I did almost 5 years heading a SQA dept. Gnats answer about testers is very valid. Also I imagine you support multiple versions of your application.
 
In GH-issues, I'd just add a comment.
 
user2157210
holy shit it works
 
3:36 PM
@GNi33 the one that is displaying in the top left?
 
user2157210
major progress done in android app
 
yeah
 
when i split a string into an array, can i run a function on each element while spliting?
 
user2157210
today is a good day
 
@Nexxpresso \o/
 
3:36 PM
and the one on the thumbnails, it's not really centered properly
 
user2157210
But do not ask me why
 
Nope, you know our application, it's an add-on
 
@GNi33 Maybe, if the boss mentions it ;)
 
and i think it should show up until the image is fully loaded
 
user2157210
It works because it works not because I know why
 
3:36 PM
I also really likes his answee
 
now it disappears almost immediatly, before i see anything of the actual image
 
"123".split('').map(function(part) { return parseInt(part, 10) + 1; });
> [2, 3, 4]
 
Anyway mobile chat sucks, and I'm being antisocial, ttyl
 
@GNi33 it's not that important :p I can only alter css anyway as it's a cargo site
 
3:38 PM
@rlemon i think i have to split each element again to get the lat and lon
 
@SomeKittens I'm too afraid to run your bash script
 
Hmmm. Apparently I'm not in the mood for Dubstep today.
 
@eazimmerman yes
var polyCoords = stringCoords.split(' ').map(function (part) {
    var parts = part.split(',');
    return new google.maps.LatLng(parts[0], parts[1], parts[2], parts[3])
});
 
var polyCoords = stringCoords.split(' ').map(function(part){ var c = part.split(','); var lat = c[0]; var lon = c[1]; var gCoord = new google.maps.LatLng(lat, lon); return gCoord; });
 
or you can eval it. (ugly bad solution)
 
3:40 PM
eeww
gross.
 
var tmp;
eval("tmp = new foo(" + part + ");");
return tmp;
 
this is much cleaner:
var polyCoords = stringCoords.split(' ').map(function(part){
var coord = part.split(',');
return new google.maps.LatLng(coord[0], coord[1]);
});
 
user2157210
@Darkyen need you
 
@eazimmerman yes it is, :P
 
the fewer local variables the better
 
3:42 PM
false.
Local variables are your friend.
globals are not
locals are disposed, and therefore are recommended
 
would both functions i wrote compile to the same exact thing?
 
js isn't really compiled.
afaik some interpreters compile it to a byte code but it's still interpreted.
 
Isn't there a JIT element in some engines?
 
Do you mean evaluate?
 
JIT = Just In Time compiler
which means: JS is compiled
BURN!
 
3:45 PM
WAT WAT
 
(yes, v8 has a JIT compiler)
 
13
Q: Is JavaScript interpreted by design?

Matt EschI am cautious of asking this question because it might appear overly fastidious. I just opened up JavaScript: The Definitive Guide, and it states of the first page of chapter 1 "JavaScript is a high-level, dynamic, untyped interpreted programming language” So am I to take it that the inte...

 
(yes, IE doesn't have one)
 
damn it, I can't test my code for new users...because they don't organically appear fast enough
 
@FlorianMargaine not all engines compile it. and not all engines compile it to the same thing
BURN!
 
3:46 PM
how is that related?
you just said it wasn't compiled
it is, in some engines
just go burn in fucking hell boy
 
is that a pun?
 
This argument is stupid
 
no you are stupid
 
3:47 PM
s/stupid/stoopid/
 
die in fire (for those who don't believe in hell)
 
rofl
I like that compiled/interpreted has inspired so much animosity. It amuses me.
 
@rlemon but dying in hellboy might be funnier
 
you are all ediot
 
3:48 PM
so pumped get to interview someone today
 
s/you are all ediot/u r al ediet/
 
!!/choose soup streetmeat
 
@rlemon soup
 
:(
 
lol another security expert who wants to be a webdev..
 
3:49 PM
yea I'm getting street meat
 
I think JavaScript is a pretty cool guy. Eh doesn't compile and doesnt afraid of anything.
 
@rlemon Y U NO OBEY T3H BOT?
 
the last guy ended up getting another job like the day before he was going to start here surprise surprise
 
@Loktar Good luck! Hope it goes well!
 
user2157210
@Loktar this drone controller guy?
 
3:49 PM
!!will we obey your every arbitrary whim?
 
@RyanKinal because I was really hoping for 'both' but I must have my dirt dog.
 
Thanks, however I have low expectations
 
@Zirak Doubtfully
 
user2157210
i call him drone controller guy
 
@Nexxpresso lol yeah he found a diff job
 
user2157210
3:50 PM
!!WHY DO YOU IGNORE ME
 
@rlemon Hah, fair enough
 
but this is someone who comes from the same office as the last guy
 
!!Are you a fembot or not?
 
hes wrote a bunch of malware
 
@eazimmerman not
 
3:50 PM
and worked with access databases!
 
noooooo
 
@Loktar Ew...
 
"He wrote a bunch of Maleware" + "worked with access" === you are excited to interview this joker?
 
To both of those things
 
@rlemon lol no.
I was being sarcastic :?
I just know theyll hire him regardless
 
user2157210
3:51 PM
Get us the cv of the newest guy :D
 
I have written stuff using MS Access. but it was only to get the application working while I re-wrote it
 
one sec
 
couldn't have down time
 
So... by "interview" you mean "discourage"? So he doesn't want the job, and thus you don't get more n00b all over your code?
 
user2157210
@rlemon MS Access?
 
user2157210
3:52 PM
you love the pain
 
> Ohh yea, Every friday here the boss comes around and sexually harasses all of the male employees while singing "Friday" by rebecca black.
 
LOL
 
@RyanKinal well this guy wants the job
 
@rlemon That is so much worse than what happens here on Fridays.
 
3:53 PM
because it's inline block the animation is glitchy
 
but Ill basically try to show his flaws to the boss during the interview
in a nice way
 
Right
 
again he has a decent resume for a security job
but not for web dev
/me saves this resume as a pdf
another docx..
 
> We follow the Biebian philosophy. Whenever you are faced with a difficult programming decision just put on "Girlfriend" and think. WWJBD (What would Justin Bieber do?) - so far it's increased productivity 10 folds.
2
 
user2157210
could be because you are working for some drone controlling unit @Loktar
 
3:54 PM
@rlemon The guy in the next cube over has actually been listening to the Biebs.
 
@Nexxpresso nah
I wouldnt want to do that
 
user2157210
@Loktar Yes you do don't deny
 
user2157210
its awesome
 
@Loktar I hate when people ask for my resume in Word format...
 
3:55 PM
@RyanKinal listen to 'Never gonna give you up' on repeat and dance like Rick.
 
lol
 
@GNi33 already like it
 
Right now, I think I'll stick with my Yo-Yo Ma
 
really like that one, and Doomsday
 
lol my kids asked me last night if I worked for the CIA
I was like lol no. "Oh yeah if you did you couldnt tell us!"
 
3:56 PM
Nice
 
haha, show them Mission Impossible
"So, that's what daddy does during the day, kids"
 
I feel like I should start a tumblr called "Drone Koans"
 
nahh, Pink Panther.
 
"Driving motorcycles, shootin' and be all badass n shit"
 
If I call jQuery .stop() function will it stop the current animation even if the animation is from another external script?
 
3:57 PM
^ dudes resume
 
@rlemon Johnny English
 
@BillyMathews I'm gonna go with "Yes" on this one.
 
"Daddy what do you do at work?"
 
pdf wouldnt work, so I just made it a .doc
 
@ryankinal Cheers
 
3:58 PM
> VBS/JScript:
closes resume
 
@BillyMathews It's more of an educated guess, though
 
@rlemon LOL I know right?!
and thats prominent on the resume
 
user2157210
he wrote a tool to search files in c#
 
But really, what's wrong with a perfectly good PDF resume? Everyone can open a PDF, and my resume doesn't look like shit in PDF form.
 
I like how @Loktar is obviously accidentally pinging the wrong person
 
3:59 PM
aesthetics are important or something.
 
shit haha
 
user2157210
and he can MS Access
 
sorry man
 
> Mission-focused
 
Loktar has no lemon-love anymore
 
3:59 PM
CIA! Watch out!
 
wow wow wow
 
he's all like "Go Team Lime!"
 
haha yeah
 
the guy writes the scripts he wrote? really?
 
lol
 

« first day (907 days earlier)      last day (4035 days later) »