« first day (1147 days earlier)      last day (3817 days later) » 

6:00 PM
@qwertynl Ssssshhh... quiet time.
 
@RUJordan damn right
 
WHERE'S MY GOD DAMN WELCOME GIFT BASKET
^ Yikes
 
The Silence (Dr. Who) == The Gentlemen (Buffy)
 
user1596138
SO needs an option to minimize/disable oneboxes.
 
@Jhawins it's called "move message"
 
6:02 PM
@Jhawins There is a one box open?
Oh CRAP! Why are there lines on my arms?!?!
 
47 mins ago, by rlemon
http://rlemon.github.io/Killit/
 
@BenjaminGruenbaum :-(
 
Lemon solves all your problems.
 
user1596138
6:03 PM
@BenjaminGruenbaum Nah I mean per-user. I would be fine with never seeing a oneboxed image again, but I don't want to have to use a userscript to fix an extremely basic thing that was overlooked.
 
user1596138
Even if a Meta post was made and hundreds of people wanted it, they wouldn't do it.
 
@Jhawins no. Use a userscript
And yes, a meta post wouldn't help at all
 
I guess am really happy today
 
@BenjaminGruenbaum i almost have biz-spark
 
6:03 PM
@AbhishekHingnikar because you talked to that guy?
@AbhishekHingnikar ah cool
 
@BenjaminGruenbaum No that was the bad part (:
 
Can you guys please stop messing with the room title?
 
@BenjaminGruenbaum Wow. Almost 100 votes.
 
@qwertynl For animated images, it's good practice to let it onebox for a minute or so, and then edit it to a link.
 
user1596138
@BenjaminGruenbaum Ok Mr boss man.
 
6:04 PM
@Jhawins haha
 
@RyanKinal Sorry, now I know. It was not even up for a minute though :-P Unless I remember it wrong. What was it a picture of?
 
But today I finished the cloud thingy.. digged out a pic for mum from 400 cd/dvd/hdds
and i have nothing to code anymore :D , I really am feeling very positve :D
 
@qwertynl s/minute/reasonable time/
 
@RyanKinal k. got it :-D
 
user1596138
@BenjaminGruenbaum My point exactly. When I saw that post I started to realize just how many other things there are like this.
 
6:05 PM
@BenjaminGruenbaum I talked to him, he wants to me come spend 7-8 days and rethink
 
@ThiefMaster is it possible to block the room title even from room owners for a specific room?
 
user1596138
Which demands a decrease in my personal respect for the developers :)
 
Did anyone else hate the new black-bar enough to customize it?
 
@canon I don't go to the main site enough to care.
 
6:08 PM
ah
 
user1596138
@People who have the power to act here need to buck up, listen to the community, implement worthwhile features/fix issues like this. Then go make pointless adjustments like the new top bar. "Cosmetic issues ".priority < "Real Issues".priority;
 
@FlorianMargaine you will never silence me!
 
^ buy or not buy ( My girlfriend is buddhist ) ... idk anything about buddha but this looks a good art peice :D
 
I like the style
But I suppose it's not my opinion that matters
 
var domNodes = ['area','region','market'][depth];
How do I step through that if I know depth?
 
6:16 PM
ReferenceError: Question is not defined
 
@jbolanos Wha?
 
@RyanKinal Dude i am 50:50 on buying
you made it 70 - buy : 30 - Not
 
user1596138
@jbolanos That'll just give you 1 value. What is there to step through?
 
I have that string. I want to say that depth = 1, so now I know I'm on 1 and I want to check to see if 2 is active and I want to remove it. Say the list is a lot longer and I just shortened it to 3
 
@Jhawins "undefined" Logged: "area"
 
user1596138
6:17 PM
!!> var domNodes = ['area','region','market'][0]; /*Will just return 'area'*/ console.log(domNodes)
 
0
Q: Open media popup to specific tab

RhoVisionsThe project I'm working on right now uses the wp brightcove plugin and has it added to the media popup window as a separate tab. I've been asked to make it so when someone clicks a video button (which I've added), the media popup comes up with the video tab selected. I THINK I've got the popup w...

 
I should just test depth and then request greater depths and remove them rather they exist or not.
 
I still don't understand the Q
 
for (var i = depth; i < 4; ++i){$('#" + domNode[i]).remove()};
 
user1596138
in PHP, 41 mins ago, by reikyoushin
user image
 
6:21 PM
domNodes = [ ... ];
$.each(domNodes, function(node) {
  $('#'+node).remove();
});
 
@jbolanos I really do not know what you are trying to do...
 
user1596138
Dragon!
 
@Jhawins damn
 
@rlemon what's in that array?
 
@connorspiracist Turns out I already have milk. Oops.
 
6:24 PM
I'm going to try to break the code up and create a fiddle
 
user1596138
@connorspiracist He's got the whole, world, in his array, he's got the whoooolllle worldd in his array. He's got the whoooooole worrrlllddd in his araryyayayrayryrwdrfshdf zdand he's watchign out for you and meeeee
2
 
@connorspiracist ellipses
 
Whats up with the forging pic? :D
 
Gn guys. Am going to sleep peacefully tonight :-)
 
@AbhishekHingnikar Not if your pc is left on you wont....
 
6:27 PM
#JqueryIsTheBestLanguageEver stackoverflow.com/a/3806709/257493
 
user1596138
@Incognito Why are there no pure JS answers?
 
Because it's a question about usage of a library.
 
Sorry @Jhawins ...
 
@connorspiracist three periods and two spaces
 
Everything about the API stability of jquery boils my blood
 
6:31 PM
and btw @Jhawins this answer uses vanilla js
 
@qwertynl true
 
@Incognito What API stability?
 
Joe
why do none of the Document.getElementByTagName('button').click(); scripts work for auto-clicking a button?
 
because that is not how you trigger an event
81
Q: How to trigger event in JavaScript

KoolKabinI have attached an event to a text box using addEventListener. It works fine. My problem arouse when I wanted to trigger the event programmatically from another function. How can I do it?

 
I got to ask Dave Methvin about the jquery deferred object and it was basically like "we don't do promises A+ because it's not a spec and that would break everything"
 
user1596138
6:33 PM
@qwertynl The actual question is "How can I also add the disabled attribute to the input??????"
 
@Jhawins "Jquery add disabled attribute to input"
 
user1596138
To which the literal answer is element.disabled = true;
 
Read the darn Q :-P
 
but the best part was that if I wanted to use the stable parts "i should just stick to the main stuff of the deferred"
 
@Joe besides the other like 4 errors in that line
 
6:33 PM
@rlemon doesn't .click work in VanillaJS (pretty sure it does)
 
@BenjaminGruenbaum yh
 
Joe
I tried: byClassName too
 
@BenjaminGruenbaum damn, is that new / standard?
@Joe document not Document
and byTagName returns a nodeList not a single element
DOM level 2
 
user1596138
6:35 PM
The actual question here is "How can I also add the disabled attribute to the input?" with the keyword being "also." Meaning the OP knows how to do the rest, all he's actually asked for is how to set the disabled attribute. — Jhawins 6 secs ago
 
@rlemon on the contrary - it's really really old, it's DOM0 afaik
 
well i'll be damned
 
Probably wasn't standard and was an IE thing at a point
 
mdn says was a dom level 2 recommendation
chrome has apparently always supported it
 
@qwertynl @Jhawins why the heck are you fighting over a question? You should be watching eachothers' backs.
 
6:36 PM
strange. I would have thought I would have come a crossed that. I've manually triggered events before other ways
 
@BenjaminGruenbaum Haha. I am not trying to start a fight anywhere :-)
 
user1596138
Edited.
 
@Jhawins It should be $(element).attr('disabled', 'disabled');
Also still does not explain anything. Whatever.
 
you forgot element.setAttribute('disabled', true);
 
Best roomname ever.
 
6:38 PM
@Incognito thankyou!
@FlorianMargaine doesn't like it
 
user1596138
@qwertynl No. That's just one of the options. Why don't you go spam the other rooms some more instead of trying to correct me on things you don't even know yourself.
 
@BenjaminGruenbaum Can you please let @Jhawins that I am done. idk why he tries to keep picking fights with everyone. But he is minified on my chat window until monday.
 
user1596138
:D
 
@qwertynl Ugh, just use .prop(). ANYTHING that does not require string values is better!
 
@qwertynl all this drama is why people don't come here as often.
 
6:41 PM
@BenjaminGruenbaum Yea... I am starting to see that. But for the 3 weeks I have been here it seems like it all eminates from a minute amount of people
 
user1596138
@BenjaminGruenbaum I'll just ignore him as well (although permanently, why would he think I need a timeout?) and the drama is done. Apologies.
 
@qwertynl fwiw a few months ago @Jhawins was here and you were not and this shit wasn't here.
 
Joe
@rlemon How would you use this feature to cause a button to be clicked and then whatever is supposed to load in the browser, loads?
 
Not blaming anyone, just chill.
It's just a chat room
 
@BenjaminGruenbaum It was not my intention. Sorry.
 
user1596138
6:43 PM
@BenjaminGruenbaum I will admit I do cause a decent amount of drama. Unintended of course. But yeah, this is a chatroom, I'm not worried about it haha.
 
user1596138
I guess 93 year olds just don't play well with me.
 
Joe
@BenjaminGruenbaum Is that really true?
 
@Joe Not really, people come here as often, and people come and go.
 
Joe
@BenjaminGruenbaum The entire SE chat holds steady at +-100 users
 
user1596138
6:44 PM
But memories last forever :D
 
@Joe it's just, one of the reasons I come here is to talk with very good coders, and it seems like in this room a lot (not all) of the coders I talked with don't come as often.
 
user1596138
What the hell has happened to @Schmiddty btw.
 
Joe
@BenjaminGruenbaum Probably slogging their lives away writing code for 16 hours a day
 
@BadgerGirl - where is @Shmiddty ?
 
Does anyone else start prefixing all terminal commands with git, when they do too much work in git?
I start typing in nonsense like what I just typed in, git cd ..
 
horse head is in!
 
@rlemon pic?
 
@Retsam I did git install firefox the other day. The silly part is that I was on windows :P
 
ugh. one sec
 
:-D
 
6:53 PM
Can someone explain why everyone uses angular and no one uses ember?
Or is javascript off-topic here? :S
 
user1596138
@BenjaminGruenbaum Hahaha. I did sudo apt-get install yakuake on windows once. Took me an embarrassingly long amount of time to realize why it wasn't working. Oh the joys of trying to use computers for above consumer purposes while intoxicated.
 
@connorspiracist It's better engineered. Also, plenty of people use ember
 
@BenjaminGruenbaum not here
 
Who here uses Angular?
 
@BenjaminGruenbaum Glad I'm not the only one who does that sort of stuff.
 
6:55 PM
M59. you
 
Joe
@connorspiracist those kind of questions normally hurt peoples feelings around here
 
@qwertynl it was packaged all smushed so it is creased
 
I'm a knockout.js user, personally. That's sort of a 3rd option to angular and ember, isn't it?
 
@connorspiracist two people, ember is used by plenty of companies.
 
but i'm sure after a few hours of wear those will go away
 
Joe
6:55 PM
I use Ember, or well I want to.
 
@rlemon :-( Balloons help.
 
@Retsam I use Knockout and Angular, tried Ember but didn't really like it very much.
 
also it is hard to get a pic of yourself while wearing it
visibility is very limited
 
@rlemon lol
 
Joe
6:56 PM
@Retsam I thought backbone was number 3 now
 
@rlemon hmmmm How do we know it is you?
 
user1596138
ConnorsPiRacist => Connors-Pi-Racist => Connors π Racist => Connor's π Racing => Connor races pies.
 
@Joe Backbone is not a framework, also it's stupid and bad
 
@BenjaminGruenbaum Yeah; the project I came into was using Backbone, and it probably didn't help coming in towards the end, but I never liked Backbone.
 
0
Q: How do you build debugging messages into your programs/scripts?

Ben SimaGeneral, high-level question for people who work with code regularly. I was repurposing some old, outdated Javascript code into a Chrome extension, and to help me understand it, I wrote some quick code to help (see below). I regularly put messages in my code such as dbmsg('Begin function loadDe...

 
Joe
6:59 PM
@BenjaminGruenbaum I know about the first part, I'm indifferent to the second part of your statement
 
user image
3
@qwertynl ^^
 
@Joe you know, you don't have to comment to everything :P
@rlemon lmfao
 
@rlemon Definitely 'shopped, but I will take it.
 
Joe
@rlemon hahahahaha
 
best purchase i've made in a long time
 
Joe
7:01 PM
@rlemon imagine letting your wife wake up to the horse head on
 
nice
 
I can't wait to sit on my balcony and just stare at people
 
I'm thinking of buying stuff from stupid.com for our gift swap thing at the holiday party for work
 
@Joe I already got her. Waited outside the bathroom until she came out
jumped in front of her and "Neighhh"'d
 
Joe
lol
 
user1596138
7:05 PM
@rlemon 2 of us were wearing those once and went out to mess with the horses and see if they cared. They didn't, but it looks funny as hell when you're riding a horse while wearing a horse mask hahaha
 
user1596138
I think we have pictures somewhere... HOld on
 
I wanna see how hard it is to work with it on when I get home
streaming development while wearing a horse mask :)
sounds like a fun time to me
on the internet, everyone knows i'm a horse lemon.... everyone
 
user1596138
@rlemon You got that horse lime one right? Haha
 
Hahaha
 
no
his is the black horse head
 
user1596138
7:12 PM
No I just meant did you see it yesterday when I posted the picture (I'm sure you'd already seen it :P)
 
thing gets really hot after a few minutes of wearing it as well
ohh i've been planning on getting one for a while
this one I ordered three days ago however, it was in my order with the monitors and "go the fuck to sleep"
 
user1596138
Google Images => "Horse Lemon" hahahahaha. Adventure Time!
 
user1596138
I just meant did you see the picture, because it's funny. I only posted the picture because you ordered it. I wasn't saying I influenced your purchase or anything if that's what you interpreted that as.
 
user1596138
!!afk smoke and soak //but not soak
 
@Jhawins Can you pick up some milk on your way back?
 
user1596138
7:14 PM
@CapricaSix When will it be your turn...
 
!!afk be back next week
 
@qwertynl Hurry back, ok?
 
next week @CapricaSix
 
Joe
!!afk hello world
 
@Joe Can you pick up some milk on your way back?
 
7:16 PM
@rlemon I LOVE IT!!! Hahaa i'm dying
 
HELLO
!!stat
 
@RUJordan RUJordan has 2291 reputation, earned 100 rep today, asked 43 questions, gave 147 answers. avg. rep/post: 12.05. Badges: 1g 8s 28b
 
nice day
usability question: would you rather a small registration form and a profile you can later fill out (like SO) or a longer reg form including that information but not making it mandatory
 
Joe
@rlemon It's a marketing ploy to have multi-step registration. apparently it works better
 
7:28 PM
@Joe Where's the milk?
 
[email]*
[password]*
[confirm-pass]*
[first name]
[last name]
[address]
etc.
 
I prefer a small one
 
or just leave out the non mandatory ones and let you just edit them in your profile if you choose
 
get me into the site as fast as I can
 
Joe
@rlemon still too long
 
7:29 PM
@Joe you didn't understand the Q then
 
Just use a google OAuth. They already know my information
 
Joe
@rlemon I did. A small form would be:
Email: | Password: | Confirm:
 
yea, that is what I asked
you didn't understand the Q
* almost always indicates mandatory imo
so that q was -> like this ... or without the non-mandatory
 
Joe
@rlemon You're not understanding my answer. Leave out the non-mandatory fields.
 
no I understand the answer
2 mins ago, by Joe
@rlemon still too long
it wasn't a question of 'is this a short reg'
 
Joe
7:32 PM
 
@RUJordan I plan on offering that as well
not everyone likes openid
 
I was kidding lol I really don't care about registration. I simply hate email confirmations (typing it twice)
Hooray my boss is out for the rest of the day I can dick around and leave early!
@rlemon will you have an option on Rafflemon for people to donate items from DX?
(If possible..?)
 
0
Q: I have multiple versions of the same landing page. How can I tell Google Analytics which is being viewed?

Brandon DurhamI'm sending a link to a landing page to a number of different companies and need to be able to tell Google Analytics which company is viewing the page and when. I of course have my original link to the page tagged with UTM parameters accordingly, but I also need to build in a safety net in case s...

 
@RUJordan well the 'after the raffle' will be 100% faith based.
the person offering it can just fuck off. but why would they?
 
7:38 PM
oh oh ohhhh
 
they make no money offering anything, so I was just going to leave that upto them. I will strongly urge people to only raffle things that can be direct shipped
and if a country is outside of the shipping area, mention that in the item description
I want to give people stuff for free, however I also don't want to be buried in shipping crap
so I will also have to implement a private message system for users, so once the raffle is won the host of the raffle can pm the winner and request shipping details
this is turning into quite the project :P
 
Should be fun
 
disclaimer: I've given up on making it look nice. fuck it. someone can help me pretty it up once i've finished doing the skeleton
 
Oh, they removed the JS tags. Nevermind
 
user1596138
7:44 PM
@rlemon Possible solution: Give me everything.
 
@Jhawins Turns out I already have milk. Oops.
 
@RUJordan I'd still close it
I'm sorry but do your own fucking research
there are more than enough blog posts / open source solutions
 
user1596138
@RUJordan I simply hate when I make a natural error and end up signing up for something with a bogus email.
 
I voted to close for being too broad
Well I just got an email to go paintballing tomorrow for a bachelor party... I'm not sure if there will be a stripper involved somehow.
 
user1596138
So right a function for it. We aren't here to write code for free, for random people. We're here to help people solve problems they've encountered while trying to do things on their own. Try for yourself, then come back and show us what you tried and we can help you diagnose problems. — Jhawins 59 secs ago
 
user1596138
7:48 PM
Pfft. Dumb skids. Not sure what skids even means... But I know people call ignorant programmers that..
 
that is funny, I just got an email about a stripping gig for a bachelor party at a paintball place. The email suggested I wear some eye protection.
 
that is funny, I just got an email about a stripping gig for a bachelor party at a paintball place. The email suggested I wear some thigh protection.
 
eh, both work.
 
user1596138
!!urban skid
 
7:49 PM
Server error (status 500) occured (message probably too long)
 
lol you suck @CapricaSix
 
user1596138
!!urban skid.
 
Server error (status 500) occured (message probably too long)
no, I'm pretty sure you do @BartekBanachewicz
@Jhawins No definition found for skid.
 
@CapricaSix oh good job.
 
@rlemon for once the thigh thing actually made a funny. And how ironic
 
user1596138
7:50 PM
> Canadian definition: Commonly used to refer to someone who stopped evolving, and bathing, during the 80's hair band era.
 
yes. ironic.
 
user1596138
From urban dict.
 
If I'm playing paintball and you come out stripping in that horse head I will lose my shit.
^ and I might shit myself
 
user1596138
> Truely a Canadian definition:
.S.treet
.K.id
.I.n
.D.istress
Skids are those dirty bags who hang around in the darkest, dirtiest corners of the school raving about who they want to kill the most because they cant fit into society. Although the acronym may lead some to believe they are truely street kids, skids have homes and most likely families to go home to so choosing to be nasty is their own fault.
 
user1596138
@rlemon is skid an offensive term over there? Or are these just stupid definitions some anti-canadian put in?
 
7:51 PM
skid = someone who reminds you of the thing by the same name that is in your undies.
@Jhawins it is offensive, but it is like calling someone a dirt-ball
there are much more offensive terms, like American (tee hee)
Joe Dirt === skid
 
user1596138
The kids on HF seem to think skid == script kiddie.
 
yea not so much
 
user1596138
(I do not have an account there, they are moronic :P)
 
HF?
 
user1596138
HackForums
 
7:53 PM
Ah
 
user1596138
Or that I guess. Yeah lets go with that.
 
HF, Hf or hf can refer to: Chemistry * Hafnium, Hf, a chemical element * Hartree–Fock method, a calculation scheme in the field of computational chemistry * Hydrogen fluoride, HF, a diatomic compound which can dissolve in water to form hydrofluoric acid, a highly corrosive solution Computing * Helicon Filter, photo editing software * Helicon Focus, a photo-merging program used to increase depth of field or make panoramas Technology * High Frequency (HF), the ITU 3–30 MHz RF frequency range (band) * Handsfree, equipment that can be used without the use of hands Medic...
 
There goes Caprica.. teachin me things again.
 
user1596138
!!urban caprica
 
@Jhawins Caprica Scifi show on what is now the [syfy channel]. It is a prequel to [battlestar galactica]. Caprica Includes a matrix-like virtual night club where teenagers go to have group sex. Needless to say, its awesome.
 
user1596138
7:54 PM
Hahahahaha
 
._.
 
@RUJordan did you know that in the average lifetime, a person will walk the equivalent of 5 times around the equator. Just amazing!
 
user1596138
Come up with random combinations of words and there's usually a dirty definition on urban
 
user1596138
!!urban chocolate man
 
@Jhawins No definition found for chocolate mix
@Jhawins chocolate man A slightly racist term to describe a black male.
 
7:55 PM
@CapricaSix does that apply to programmers?
 
Joe
@rlemon Couldn't you automate that with the winner being given a form to enter shipping details and that being sent to the raffle-host?
 
@Joe nope because not all items will need to be shipped
if it is a steam key I don't even need the winners involvement
email them the key and move on
I mean I could. but I don't see a point
 
user1596138
@rlemon you do realize the potential of such a service if you had half decent PR, right? If I had thought of it on my own I'd do it, charge $1 per ticket, make a ton of money. Potentially.
 
I do realize, and if I ever plan on charging money for tickets they will be 'donations' and the proceeds (all) will go to a charity of the hosts choosing
however overhead for the charity stuff is a pita
 
user1596138
$1 for 1/100 odds of winning a $20 gift is easily worth it.
 
7:58 PM
I would have to be a charity myself in order to not get dinged on my taxes
 
@rlemon Like a Humble Bundle situation
 
pretty much yes
 
user1596138
Just look at the lottery. What are the odds, 1/millions?
 
but the host gets nothing, and I get nothing
ALL proceeds are for charity
(that is always how I weight it on HB anyways)
@Jhawins National 6/49 in Canada is ~1/14 billion
 

« first day (1147 days earlier)      last day (3817 days later) »