« first day (1287 days earlier)      last day (3662 days later) » 

5:00 PM
@rlemon not looking at everybody else's penises is gay
 
ALWAYS LOOK STRAIGHT AHEAD! NEVER DOWN!!!!
 
$($($($($('div'))))) // just to be sure
 
@rlemon eye contact or look at the wall. Always
 
look at the penis*
ftfy
 
@KendallFrey I stare at my own dick with a giant smile
then others cant help but look
and I can ridicule them.
 
5:02 PM
I wonder how so chat would look if "offtopic" was a valid flag reason
 
@BartekBanachewicz empty.
 
@BartekBanachewicz boring
 
I can't english today
 
g'morning
@jAndy Assuming that's a XOR, Angular
 
!!tell jAndy youjustlost
 
5:06 PM
@AndreDurao Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
5:30 PM
SO down? :(
 
@nderscore it is for me
 
now how am I going to waste time at work :(
 
This room is very slow
 
@copy wow that makes me sad.
 
Evenin :)
 
5:36 PM
o/
 
@paulwise Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@copy Nice way to learn :D
 
@BenjaminGruenbaum I wish
still ~3.5 more hours till Beer O'Clock
 
30023 points in Geoguessr. Who can do better? url.geoguessr.com/7uR3
No playing twice, ofc
 
user1596138
@KendallFrey about your ratio function. I don't like how ratio(3, 30) returns 1:9. lol
 
5:50 PM
@Jhawins isn't it correct?
 
user1596138
@JanDvorak No, it's 1:10
 
@Jhawins no, it's 1/10. 1/2 = 1:1, 1/3 = 1:2...
 
user1596138
I just said that
 
user1596138
Wait wut
 
1/10 = fraction of the whole. 1:10 = ratio to its complement
 
user1596138
5:53 PM
You're just trying to confuse me. 3:30 is 1:10. 4:40 is 1:10. 50:500 is 1:10
 
3:30 is 1:10, but 3/30 is 1:9
 
user1596138
His returns 1:9
 
user1596138
His is a ratio simplifier
 
user1596138
So it should simplify 3:30 to 1:10. Correct?
 
5:54 PM
apparently it understands the arguments as a fraction, but returns a ratio
I've read the code. eval wtf.
 
So I'll tell you what I want, what I really really want:
a sane codebase.
 
@Jhawins really? time to debug
 
user1596138
@KendallFrey :P
 
Pop quiz: How do you change a user's access rights?
A.) Administration panel
B.) Send them an email with a link that changes their rights
C.) Edit the database through the 2011 version of PHPMyAdmin
D.) Manually type out a GET request with the user's id and new level
 
A
 
5:58 PM
B. Definitely B.
 
C), but you can give yourself half a point for D)
 
C. It proves you are a pr0
 
F
i can change my user's access rights through a control panel: )
better reword that question
 
X) With my mind
 
5:59 PM
oh, I know. fixed
 
user1596138
C usually...
 
@copy Ding!
 
user1596138
@JanDvorak lmao sarcasm I hope
 
whats for lunch today
 
user1596138
Or does editing a database through phpmyadmin really make you a pro? Seems about as complicated as microsoft excel :P
 
6:00 PM
why do russians like mayo and lard on bread so much?
 
@Jhawins I n3v3r wr1te 1337 when I'm Sirius.
 
@redshift Now that's a question in the spirit of this room
 
user1596138
!!zalgo wut
 
@Jhawins /<([a-z]+) [^\/]?>/
 
6:01 PM
@Jhawins What's the intended behavior of that ratio algorithm? Is it trying to create exact ratios, or simplify ratios within a certain range of accuracy?
 
@Jhawins w̛̓̌̈͡͏̟̕͟u̵̷̧̼̠̹̍̿̐̀ṭ̵̨̧̖͑͑̈ͧ͋ͯ̀̕
 
@Jhawins That's actually how it works here.
 
user1596138
@Raine I guess just simplify. For !!stat
 
user1596138
!!stat
 
user1596138
@SomeKittensUx2666 That's how you do it or it's considered a more technical endeavor?
 
user1596138
6:02 PM
!!why dont you reply
 
@Jhawins That didn't make much sense. Use the !!/help command to learn more.
 
user1596138
!!stat Loktar
 
@Jhawins That's SOP for changing user perms at work.
 
@Jhawins If it's exact you can just divide each number by the greatest common divisor of the two. If it's supposed to be an approximation, you'll need some kind of range of error/accuracy argument.
 
user1596138
Oh makes sense.
 
user1596138
6:03 PM
@rlemon stat is broken
 
user1596138
Or something
 
You're broken
 
user1596138
 
user1596138
@loktar
 
user1596138
Wait permissions on what??
 
6:04 PM
@Jhawins haha I saw that yesterday
that dude flips out so funny
 
user1596138
@Loktar hahahahahahahahaha
 
user1596138
Yeah he does
 
and the laughing... HUAGH HUGAHG HUEHUEHU
 
user1596138
How is that even possible hahaha
 
6:06 PM
`var ratio = function(a, b) {

var gcd = (function gcd(a, b) {
if (!b) {
return a;
}

return gcd(b, a % b);
})(a,b);

return a/gcd + ':' + b/gcd;

};`
 
user1596138
That video destroyed my image of what it was. It was enough to freak this guy out that bad? That's nuts hahaha
 
user1596138
I'll buy your old one if you upgrade :P
 
@SomeKittensUx2666 fuck that article.
 
@Loktar ...wut?
 
It started out awesome and then broke down into garbage.
 
6:08 PM
I thought it was reasonable
 
Hey =] Happy friday everyone
 
> What can you do?

If you're reading this, there's about an 80% chance that you're a man. So after you give me the secret man club handshake, let's talk about what we men can do, right now, today, to make programming a more welcoming profession for women.
 
Is it possible to inject text into user's clipboard when they click on a button?
 
How about I just do what I do and not worry about gender gaps
I dont see how women on their computer at home cannot join the profession today like many of us.
 
@ŠimeVidas few browsers support it
most use flash as a fallback
 
6:09 PM
No one is stopping someone from making a website if they want, or making a new app, ect.
 
@ŠimeVidas with flash
 
@RonniSkansing How?
 
@Raine That's what we currently have
 
I hate this "Men must empower women" argument.
 
@SomeKittensUx2666 Impossible without Flash?
 
user1596138
6:09 PM
@Loktar Wow. Yeah I agree now
 
user1596138
Who cares
 
I'm not sure "Men must empower women" is the argument. I do, however, think "Men must be aware of how not to exclude women" is an argument.
 
so boobshower was a bad idea?
 
@ŠimeVidas pretty much.
 
@RyanKinal I think it should be "People shouldnt exclude others based on any criteria"
 
6:10 PM
1104
A: How does Trello access the user's clipboard?

Daniel LeCheminantDisclosure: I wrote the code that Trello uses; the code below is the actual source code Trello uses to accomplish the clipboard trick. We don't actually "access the user's clipboard", instead we help the user out a bit by selecting something useful when they press Ctrl+C. Sounds like you've f...

^nice workaround
 
I look at examples like Team Meat, or Notch
did being a male help them develop kickass games in their spare time? They weren't part of an industry
 
@copy Perfect. I don't know what that jsfiddle was trying to do.
 
@ŠimeVidas how?
 
@SomeKittensUx2666 That's hover + keyboard combo. I want click :)
 
He makes excellent points in the beginning of the article about males being more inclined to work jobs that revolve around creating and building things.
 
6:11 PM
@RonniSkansing "few browsers support it". How?
 
!!urban ofgs
 
@SomeKittensUx2666 OFG OFG standing for Oak Forest Gang. A very violent gang located in Asheville, NC, the members have to go through a series of rigorous test to be initiated into the gang. The members also must wear a orange T-shirt and Nike shoes when ever they "roll" through their turf.They are also known for "hyphy" dancing and "Ghost riding their Whips" around Asheville Area . OFG can also be used to refer to the area of Oak Forest.
 
user1596138
I don't like most of the shit on coding horror :/
 
@Loktar Agreed. But there are different criteria for including various groups of people. Knowing, specifically, how to avoid excluding women is good knowledge to have. It can be really easy to do something exclusionary and not even realize it.
 
user1596138
6:12 PM
Yeah, there's a point there. But no, it doesn't go that far
 
Man/Woman/Horse I don't give a fuck, so long as you don't make me work with those slimy parakeets and i'm okay
 
@RyanKinal I still see it as painting men as bad to begin with idk.
 
@RonniSkansing That's Flash
 
like I have to consider what I do in hopes I dont scare a female out of tech.
 
6:14 PM
Is it possible without Flash?
 
Don't be a dick <- problem solved for both genders
 
^
 
0
Q: Deferred promise AJAX loop then() never happens

neridajI'm trying to use a deferred promise in an AJAX loop because using async: false is locking up the page. I've poked around at other similar uses but I don't understand why $.when().apply().then() never executes. var userData = {}; userData.user1 = {"creds":{"userid":"user1@test.com","p...

 
The article states women choosing not to do programming is a problem that has to be fixed..
yet I don't see this in other industries, such as nursing
or construction work.
 
@Loktar That's not too different than having to think about what you say at a family dinner to not scare extended family members away, or at a company event where you don't want to scare potential connections away.
 
6:15 PM
Where is the push to get men into nursing? Or women out on the field building roads?
 
ECE is filled with women
why can't men look after children?
 
@Loktar Did you read the article? He discusses that and poses three arguments why tech is special.
 
we can't be trusted <- sexism right there
 
@Loktar I think it's more about ensuring equal opportunity than pushing for anything in particular.
 
6:16 PM
@rlemon another great point.
 
user1596138
Why can't women drive?
 
user1596138
Err.... Wrong argument
 
@SomeKittensUx2666 I saw the arguments, and I still disagree overall however.
The article sees women not choosing to program as a problem that must be fixed.
 
@rlemon I'm not entirely sure that's the truth. And even if it was the truth, I think it's changing.
 
6:17 PM
@Loktar as a problem that must be fixed by men
 
@rlemon exactly.
 
@RonniSkansing Those are just the events that fire when a clipboard operation has occurred. I need to execute such an operation with JavaScript/DOM API.
 
@RyanKinal i'm talking more of the feeling. I'm sure many women wouldn't trust a man to look after their newborn vs a woman who may have children of her own.
sure trends are changing (they are in our industry as well)
 
@ŠimeVidas sounds like poison
 
@rlemon It's a problem that we must work together to fix. Even if you're not a woman, you probably have some in your life and want them to have equal opportunity.
 
6:18 PM
I just dont see how everyone out there with a computer sitting at home in their pajamas do not have the same opportunities as a male.
@Raine it is not a problem.
 
@RonniSkansing A "copy to clipboard" button on websites. Legit, no?
 
The problem is women not choosing to program? How is that a "problem"
Does my daughter not program because she is scared of men? No. Its just not what she's into.
 
What the heck are you guys talking about? :P
 
sure do. but I don't see how I have to fix it. I respect women and give them equal opportunity and I speak out against sexism where it exists. I don't think there needs to be a war on sexism in the tech industry like recently there has been (think dongles and proverbial 'he')
I also speak out on women being sexist towards men
"thats a mans job" ... ten minutes later "I want equal opportunity!"
 
@Loktar They have the same opportunity to get on a computer in that situation, but they may not be as accepted within the programming communities, or may face hostile environments (like this room... at times :)
 
6:19 PM
both sides are to blame if you ask me
!!afk more testing
 
@Raine I just don't see it. I see more of women not choosing to program due to the nature of it.
 
@rlemon I would agree. Nobody is "obligated" to be a social activist. It just helps social change happen quicker.
 
@Loktar Explain?
 
@Loktar Well I think that's very true as well. It's hard to discern :/
 
@ŠimeVidas not as far as I know with js, try checking dev.w3.org/2006/webapi/clipops/clipops.html
 
6:21 PM
@Loktar I just know that in my experience there is visible discrimination, and I'm sure it has some effect.
 
@Loktar Yeah, I see that
 
@RyanKinal pretty much what the article points out. In terms of female dominated professions vs male
 
Ashe Dryden has some pretty strong things to say about equality and opportunity for women in tech.
 
My feelings are if you really want to get into programming and thats your passion nothing can really stop you.
And you shouldnt have to rely on someone else empowering you.
The blame game of why women aren't in tech is a frustrating argument.
 
@Loktar But again, it's not about empowering. It's about not disempowering.
If that's even a word
 
6:23 PM
@RyanKinal id like to know how many "men" do that. None of us in here do tmk.
I work with multiple female devs here.
No one looks down on them
 
Which is great
That's awesome
 
I think the issue is just women do not pick programming as a field.. just as men dont generally pick nursing.
 
@RyanKinal we shit on people every day for their choice of language. even to the point of saying "find a new hobby"
 
^
 
we hate on everyone, we're dickhead programmers :P
 
6:24 PM
Right, but...
!!dickz
 
@RyanKinal That didn't make much sense. Use the !!/help command to learn more.
 
!!bewbz
 
if anything on SO I see people jumping to help women more than men
and Kristy isn't a great comparison, she embraced the name
 
@rlemon I see that in tech in general.
 
@Loktar That totally makes sense. To be fair though, this is pretty similar to situations in the past where oppressed groups didn't have access to the same opportunities, and the group that had privilege was pretty blind to it, and assumed everything was a meritocracy.
 
6:25 PM
@Raine I just think in many cases we are way beyond that.
 
my gf is constantly sexist when it serves her, and not when she doesn't see it that way.
 
Where is the push for more women HVAC installers?
 
6 mins ago, by rlemon
"thats a mans job" ... ten minutes later "I want equal opportunity!"
^ once this stops, I can see us moving forward
until it does, you have both sides working against themselves
 
@Loktar I very much hope so! Would love to be wrong about this :).
 
@rlemon Fair enough
But I don't know. I figure there has to be a reason that there were a lot of (fairly passionate) women in my intro-level CS classes, and very few in my higher-level ones.
 
6:27 PM
@RyanKinal seems like that would almost be a higher education problem rather than industry.
 
we had one girl in my HS CS class. she got the second best mark in the class. She changed her mind going into university and took geology or something
 
I just hate the argument that for women to be successful men must empower them, or treat them differently.
 
my gf manufactures embedded computer boards.
 
seems to go against what they are arguing to begin with.
 
6:29 PM
@Loktar I agree. If it was just that, it would be pretty ludicrous. I think it's just bigger than that. Other factors that require everyone to work together to ensure an equal environment.
 
@Raine I think that should be an ongoing goal regardless. However I don't see how forcing a specific gender/race/demographic to do something really helps the situation in general.
the recent push for women vs race is also weird to me
 
@Loktar "for us to be equal, you must treat us differently than you do the guy next to you"
 
@Raine Yeah, I agree. I think it is bigger than that. It's less about specific instances of empowerment, and more about societal expectations.
 
I honestly see the problem on both sides. Women are quick to jump on the "we are not equal" train when it serves them (in my experience)
 
if you want to make the world a better place take a look at yourself and make a change
 
6:32 PM
The issue, again, is not about treating somebody differently in order to empower somebody. It's about realizing when somebody is being treated differently.
 
I gotta run. Great to see this discussion happening. Good points all around. See you all later!
 
see ya @Raine
 
@Loktar Yes. But you also have to look at others and help them make a change as well.
 
@RyanKinal however it is that
no drinking on the job for example or events
 
@Ram Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
6:33 PM
@Raine Notice how none of it involved the word "offensive" or telling people not to say things due to offensiveness.
 
one of the examples given in the article
 
@SomeKittensUx2666 I know! I'm getting better :).
 
People are different, and should be treated differently.
 
while its not something I dont agree with, its a change they suggest making if females come into the office.
 
Yeah, some of the stuff in the article is ridiculous.
 
6:34 PM
I just get the feeling from these articles and arguments a lot of times that I should be ashamed for being a male, and I should go sponsor a female and give money to groups like the ada initiative
 
@RyanKinal yea, okay, but the idea I need to be cautious against race / gender for this I think is a step in the wrong direction
 
@Loktar fwiw, I felt the same way. It took me a while to realize that 'guilt' was not the intended feeling at all. I feel ya.
 
protect everyone but white males between 18-40. seems to be the trend. why not just, don't be a dick to anyone?
 
okay bye for real
 
I have three different tabs open to different chats - I have a problem.
 
6:35 PM
@rlemon yeah its increasingly common
its huge on tumblr and gaining tons of momentum on twitter.
 
But white males have privilege. They don't need to be protected because we're the norm.
 
Garbage like that being written.
 
@RyanKinal i'm sorry but imo thinking like that or even humoring the idea is the problem. not the other way around.
 
@RyanKinal I wasn't too priveledge living on food stamps and losing multiple houses when I was younger.
@rlemon just remember you're native, I am about 1/8th as well we can play that up to use against our priviledge.
 
haha
I am the poster child for equality - I can have a status card, but I think it is fucking retarded that we are treated differently.
so I choose not to
@mikedidthis o/
 
6:38 PM
@Loktar Sure, there's poverty as well. But in terms of societal expectations, you're expected to become a breadwinner. Nobody bats an eye when you say you want to be a programmer or a scientist or the president. If a woman (even in the same economic situation) said that, as Mr. Tyson mentioned, there's a good chance it would be a "Aww, that's cute."
 
o/
Beers and TS tomorrow night?
 
@RyanKinal same can be said the other way around though. If I wanted to go into ECE honestly, I would feel out of place.
 
@RyanKinal eh, I don't want to argue this one really, its a steep decline into racism that I'm not comfortable with.
 
Hi Mike :-)
 
6:39 PM
@Loktar Fair enough. Though I think that illustrates my point ;-)
@rlemon Also a good point.
 
I think its a skewed way at looking at it. There are different factors for everyone.
No one is equal in life no matter their color/gender/race
Obama did well for himself
There was a racism issue in the US I don't deny that at all. But pointing the finger saying I have an easier life because I'm white.. not because I did any sort of work to get here is a ridiculous argument.
 
my last comment: no one is equal, but we can give eachother equal opportunity. The sooner we learn how to distinguish between the two the better off everyone will be. Men are better suited for some things than women. Inversely women are better suited at some thing than men. on the same note my horse will always be better at pulling a buggy than either of us. Once we all just stop getting hung up on stupid issues we can start being good to everyone.
 
I agree Ill stop arguing too since its fridaaay!
 
@Loktar I think most people have to work to succeed. If you don't work, it's less likely you'll succeed. But I think there are groups that have to do less work, and groups that have to do more work, even given an similar situation.
</done>
 
@RyanKinal I think so too, like if I lived in Russia for example having a polish heritage maybe it would be harder for me :P
 
6:43 PM
Ooh, only 45 minutes until beer...
 
:(
only 2:45 here
 
@rlemon Here too :-P
 
1:45 here :(
 
yea but I don't get beer in office at 3:30 on fridays
jokes
 
WORK FOR IT YOU CANUCK
:-P
 
user1596138
6:44 PM
Anyone messed with bluetooth on android?
 
O.O
Nope
 
@rlemon What I gout out of that: You have a horse?
 
Look at his horse.
His horse is amazing!
 
user1596138
Give it a lick Mmmmmm! It tastes just like raisins
 
user1596138
!!youtube my horse is amazing
 
6:48 PM
 
newbie alert: I am learning functions in javascript and had a question about placeholders:
var greeting = function (name) {
console.log("Great to see you," + " " + name);
};
the name placeholder...do i MUST have a placeholder in the () or can i leave it blank?
 
user1596138
 
@CapricaSix so that's where tasting like raisin came from
 
@redshift First, it's called a variable
 
What should I search for to vertical align middle an image element in the middle of the viewport. So when the viewport is scaling down, the left and right of the image will be of screen.
 
6:50 PM
Or, more specifically, a parameter
Second, no, you don't have to have one
Although, in your example, it's pretty necessary ;-)
 
@Caspert are you talking about margin: auto 0; in css?
@RyanKinal is the 'parameter' also a variable in this case?
 
@redshift I'd highly recommend Eloquent JavaScript, and specifically The Chapter on Functions
 
@redshift I think not. I have an example for you of another website. bravepeople.co they using a plugin, but I only have to use it on one image, so one little script only for that part is perfect.. Hope this will give you a better view of what I searching for.
 
@redshift Yes. You'll also see it referred to as an "argument"
 
@Trevor Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@greW Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
6:56 PM
someone has any experince with nunjucks ?
 
@coolio Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@greW I believe the correct term is "nunjaku"
 
@RyanKinal actually not this time :) Im talking about jlongster.github.io/nunjucks
 
(I figured it was something like that)
(Just being stupid)
 
d:
 
6:58 PM
Yet another templating system? Why is this one special?
 
@Caspert Sounds like what you want is for your image to be responsive to the viewport, right?
 

« first day (1287 days earlier)      last day (3662 days later) »