« first day (1475 days earlier)      last day (3475 days later) » 

8:00 PM
@SterlingArcher "msg":? Just a typo or am I missing something? (should have just been msg: in my head)
 
I didn't realize having a heart attack and watching porn were the same probability when my heart rate is so high
 
@rlemon lol
 
god, my writing today. Sorry
 
dude...your a nut!
i just spit pop on my keyboard
 
8:01 PM
@SterlingArcher maybe it really was a thing XD. Just wanted to make sure
 
@SterlingArcher dude, pick me (in your opinion) your best answer
@Skullomania do you understand why that works at least?
 
@rlemon huh?
 
@towc in this case it makes no difference
@SterlingArcher just do it
 
Do what? What answer?
 
your best answer on SO
that you've written
in your opinion
 
8:03 PM
oh
oh jesus
 
SHHHH
 
> {"msg":'hi'}
< Uncaught SyntaxError: Unexpected token :
 
wrap it in a ()
 
7
A: Unexpected T_String PHP Error

Sterling ArcherYou're missing a closing ) in the if statement

xD
 
you need to express it otherwise it is invalid
 
8:04 PM
jk
 
!!> ({"msg":'hi'})
 
@rlemon {"msg":"hi"}
 
@towc
 
@rlemon how does this..... what???
 
I guess this one?
11
A: How to call a cfm file with some parameters in ColdFusion?

Sterling ArcherWhen you use a <cfinclude>, any values available in the page that calls the file are available in the page you will be including. So you could essentially pass in variables instead of URL parameters and achieve the same thing. You would have to declare the variables above the include, however. ...

 
8:04 PM
because {} is a block. () expresses it and you have an object then
 
a bit...my JS is amateur at best. can you explain the 3 =
 
All my JS answers are kinda amateur. Why?
 
@Skullomania it's a glorified if statement
 
@rlemon oh! Thank you
 
var ret;
if( foo ) {
  ret = 1;
} else {
  ret = 2;
}
return ret;
vs
return foo ? 1 : 2;
condition ? if_truthy : if_falsey;
 
8:05 PM
return 1+~!!foo
 
i get ya
 
@SterlingArcher no reason
 
i use tenarys in c#
 
good stuff
so you're all good now?
 
a bit..javascript has a way of looking alian at times
that will do it...thanks @rlemon
 
8:07 PM
np
 
._. but why
(thank you, though!)
 
It was 3 =/ forgot about the 2s compliment thing
 
gotta get that 10K brah
 
That's gonna drop you below 10k D:
 
3+~!!foo
 
8:10 PM
nope
it's already removed it from my rep
you're seeing my new rep
 
ohhh
Well thanks man :)
It's harder to gain rep now that I close more dumb questions than I answer
This helps a lot!
 
np, now go yell at people in comments! that is always fun
 
You know I will <3
 
@rlemon - There is a site for that :) It is called meta
 
i haven't been in a metargument in a while
 
8:11 PM
I like that word
 
Not since yesterday? :P
Although I suppose no one argued with you, you were just a kibitzer
 
random side-effect of upgrading to flux like pattern - battery usage decreased noticeably, could be my placebo though
 
> A kibitzer is a non-participant person, offering (often unwanted) advice or commentary.
pft, it was totes wanted.
 
lol
 
@rlemon most voted comment?
I often 'review' users when I see bad content from them (make sure it isn't a habit of theirs). I think as a community run site that is important for some people to do. I disagree with the mods stand on this. — rlemon Jun 17 at 20:07
 
8:14 PM
holy fuck
I didn't even realize that had so many upvotes!
last I looked at it there was like 3
 
popular opinion brah!
 
I don't know for sure, but i'd hazard a guess that it is my most upvoted comment.
 
data.se?
 
@SterlingArcher - wow you got some high profile answers there
 
8:20 PM
60 hour week :\
 
@TravisJ lol i guess people agree with me
Most of those answers are just short and sweet
 
I have arrived in new york! First experience: Shuttle driver stopping the shuttle mid drive to get out and argue with someone in the middle of the street
 
@rlemon division by error for SO comments
@Cereal lmao, welcome to America you fucker
 
How can I return color in array(R,B,G)?
 
@VeeeneX Depends on what 'color' is
 
8:29 PM
I'm glad KC lost - we all know how well MO cops respond to this sort of thing.
 
@Cereal using JQ $(this).css('background-color')
 
@SterlingArcher nope, it defaults to meta
see near the bottom
 
yeah, because screw common sense:
ice bikes
 
@VeeeneX

`$(this).css('background-color').replace(/[^\d,]/g, '').split(',')`
I think
 
@Cereal Thanks
But I've ended up with this
    function rgb2array(rgb){
	rgb = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
	rgb.slice(1);
	return rgb[];
}
 
8:40 PM
that doesn't look valid
 
What in the fuck is that
 
user2620028
Just got my new laptop. It is awesome.
 
system76?
 
user2620028
yesssss
 
@HatterisMad Ouu, what brand?
 
8:41 PM
what model?
 
user2620028
System76
 
user2620028
the 14" ultrapro
 
user2620028
16gb ram and a 500gb ssd in it too
 
nice
14" screen is too small for me
but nice
 
@SterlingArcher grats bro!
 
user2620028
8:42 PM
i thought it would be too but this is much larger than i thought it was going to be
 
user2620028
going to have to get used to the keyboard being a little smaller than usual though
 
@HatterisMad Are you sticking with the initial ubuntu install?
 
user2620028
not sure yet. i am one of those weird people that likes windows 8 lol
 
@phenomnomnominal <3
Is it just me or can you no longer hover a persons username to see their rep?
 
I didn't think you could ever do that. I thought it only showed up when they sent a long enough message.
 
8:47 PM
@rlemon Where is the problem?
I've repaired return rgb[];
 
> rgb2array($(document.body).css('background-color'))
< ["rgb(255, 255, 255)", "255", "255", "255"]
 
rgb = rgb.slice(1);
 
user2620028
oh shit this thing actually has a 500gb ssd with the os on it and then a 500gb mechanical for storage
 
@HatterisMad o.o
 
    	rgb = rgb.slice(1);
	return rgb;
}
 
user2620028
8:50 PM
bought it secondhand..... the guy i bought it from said he just used it to play games while commuting lol
 
user2620028
aka its stolen :P
 
@VeeeneX I don't think it's very intuitive to do it that way
I'd read "rgb.match(/^rgb((\d+),\s*(\d+),\s*(\d+))$/);" and just nope out of the function immediately
 
@Cereal What do you suggest?
.replace('rgb(', '').replace(')', '').split(", ")?
 
function rgb2array(str){return str.substring(3, str.length-2).split(',')}
how about that?
 
@VeeeneX that's quite nice
 
8:51 PM
@towc Like a boss
xD
 
it's been a while since I've called substring...
 
@HatterisMad hah nice
I'm looking at clevo's
 
@towc Small fix
function rgb2array(str){return str.substring(3, str.length-2).split(',')}
 
reviews on them anyway
 
function rgb2array(str) {
    return str.replace(/[^\d,]/g, '').split(',');
}
 
8:54 PM
@VeeeneX what changed?
 
@towc str.length-2)
from
rgb.length-2)
 
@VeeeneX check what I wrote. I actually did edit it, messed up the params
 
And the result is ehmm... ["(57", " 181", " 7"]
 
then substring from 4
 
function rgb2array(rgbString) { return rgbString.match(/\d+/g) }
 
8:56 PM
@Cereal Great code works like a charm
 
!!> "rgb(255, 200, 0)".match(/\d+/g)
 
@rlemon ["255","200","0"]
 
@rlemon's is better
and makes me wonder why I didn't use match
 
:shrugs:
:P
 
@rlemon Great work !
 
8:57 PM
@rlemon doesn't work for floats :P
wait... you can't rgb a float, right?
 
@towc you can't have float rgb values
so moot
 
eh, i'm not author
just tossing it out there
 
he's The Author
 
(c) 2014 rlemon xD
 
8:58 PM
@PDKnight 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.
 
but good choice in SublimeText
 
better go to sleep now. My mind is already fucked up enough
 
@PDKnight :D
 
Alright time to try and figure out how to properly ID and class things
 
is sublime better than atom?
 
8:59 PM
Thx
 
@PDKnight yes I believe so currently.
 
I haven't tried Atom
 
@PDKnight Yes it is
xD
 
but I see no reason to leave Sublime
 
subjectivity ~
 
8:59 PM
I left VIM for Sublime
 
@PDKnight Yeah, I'd say that's true at this point.
 
!!afk vooping
 
@rlemon - don't forget to vipe
 
VIM xD
 
oh, i have a question: what describes the dotted line in chat?
 
9:01 PM
@PDKnight What do you mean?
 
@rlemon emacs
 
LOL
 
It is termed the "catchup-marker"
 
I suggest people take a look at @rlemon history of saying vim
its an interesting story
sort by date, and start at the last page
> VIM is like the jQuery of editors.
 
9:02 PM
it was a love hate relationship
 
The markers are interesting though, they seem to operate by minute
 
lol
it cracks me up @rlemon
 
@TravisJ I would say i.imgur.com/ipOm5ba.png monologue :D
 
dude, I clearly wasn't aware of editors past 2004
i used DW FFS
 
> don't tell me no if you don't use it. like I said VIM / EMACS are not bad... i just don't use them or any scripting editors... so they are less productive for me
back in 2012
 
9:03 PM
well, in fairness I did, I just didn't realize I did
 
@VeeeneX - You see the catchup-marker there right? They are numbered, in fact there are at most 3.
 
2 years later

`vim is beautiful in its own ways.`
haha its just interesting to see the transition @rlemon
 
It probably has to do with caching, perhaps they are references to the ability to edit and or remove messages.
 
the evolution of rlemon's mind
 
Ok, ok ok
:D
 
9:03 PM
hey
only idiots don't change their mind
use emacs
 
:P
but really.
 
@FlorianMargaine agreed
 
!!afk vooping
 
er about idiots changing their mind
 
again?
 
9:04 PM
what's vooping?
@Loktar :D
!!urban vooping
 
@FlorianMargaine vooping Vaping while pooping.
 
haha
 
!!define vaping
 
@FlorianMargaine vaping Present participle of vape.
 
!!define vape
 
9:04 PM
@FlorianMargaine vape Short for vaporizer.
 
prntscr.com/51ecwm this VIM? :D
 
@FlorianMargaine ecigs
 
!!define vaporizer
 
@FlorianMargaine [vaporizer](http://en.wiktionary.org/wiki?curid=412461) A device with a heating element, used to vaporize a liquid.
Vaporizers are used in electronic cigarettes to simulate smoke.
 
ah
well... I had to go through some defines there.
 
9:05 PM
haha
 
To be innocent :)
 
I like randomly going through peoples history of words
well long time users
> Ok I like jquery as much as anyone else, but I notice so many people are quick to post that into any JS answer
 
@PDKnight this very same. This is the opening page of vim:
 
lol thats back from 2012 when old room owners where here (a quote from myself)
 
9:07 PM
Who of you do this on element which is hidden?
    display: none;
position: absolute;
top: -9999px;
left: -9999px;
 
notice the "Help poor children in Uganda!"
 
@Loktar Do you like going through people's commit messages? Have you seen my latest fiddle?
 
@VeeeneX used to years and years ago
 
and yes, vim is opened in emacs. :D
@VeeeneX nobody
 
@KendallFrey hah no, link?
 
9:07 PM
display: none is enough
 
I think we are talking about 2 different use cases though @FlorianMargaine @VeeeneX
 
@KendallFrey LOL
not answering the second popup, sorry :D
 
Because of IE
 
bah same here :( @KendallFrey damnit
 
9:09 PM
well, not before I read the code
but the code looks safe
 
throw it on a page and connect with the api
 
yep, it's safe
nah you can go ahead
 
I kind of hate stack snippets
 
@Loktar too lazy atm
 
I hate that it embeds all the code
I wish you could choose to hide some of it.. like for my answer the markup and css are unimportant
 
9:11 PM
"homework"
+        for (int i = 0; i < endsofGenes.length; i++){
+//            if ()
+        }
lol
 
@FlorianMargaine Browsing weird stuff?
 
kendall's jsfiddle
 
@Loktar - They are kind of meh, I agree
 
Commit messages right now look a bit boring
I saw one earlier that said "I'm so fancy. You already know"
 
LOL
 
keyboard mashing ftw
 
@Loktar lmao
 
BTW, does anyone else know the GH api enough to give me a hand with proper auth?
 
9:25 PM
@Loktar What has been changed?
 
what do you mean @VeeeneX?
the prices have been changed
they are cheaper! :p
 
9:42 PM
@VeeeneX change your picture to
:D
 
9:53 PM
1
Q: Select2 type to select

Sterling ArcherI'm trying to use select2 to have a multi-select dropdown list of states, but something is wrong. Normally, when you type an option out, it's highlighted so that you can hit enter and select it. It underlines the option, but does not highlight it, so if I type "alabama" but hit enter, it will se...

if anybody knows, that'd be nice.
Have a good night!
 
@SterlingArcher - so you search for alabama, and arkansas is still an option?
 
user2620028
Aaron is back! had to go rescue my laptop from having someone elses account and settings on it lol
 
10:16 PM
btw @SterlingArcher, not including a fiddle makes this kind of a pain to reproduce
 
-17
Q: How is "Satan hold your orgasm" offensive remark?

KugBuBuSomeone edited my answer here, and s/he removed part of the answer that said "Satan hold your orgasm", and the summary of the edit said that it is offensive remark. Why is that? Is it religious stuff? (I thought they hated satan)

 
Upvoted
 
excuse my language, but I just came a little
 
Although the answers are right
 
okay, @SterlingArcher, I was able to reproduce
took me 15 minutes to make a jsfiddle demo to do it though, would be surprised how many people don't allow cross ref json requests
select2 really seems to hammer things
you would think there would be a caching mechanism
 
10:34 PM
@rlemon wat
 
11:10 PM
@rlemon It's nice to know so many on SO have nothing better to do with their time
 
lol you guys see that?
> Drupal warns unless you patched within seven hours, youre hacked
 
all of these security risks lately
are hackers getting better or are programmers getting lazier?
5
 
Yes
 
11:29 PM
@rlemon - hackers are getting better at being lazy
Instead of writing it themselves, the outsource their hacking code to SO
source: DPR
@SterlingArcher - Dear afk friend, I have found part of the problem, but cannot seem to locate a solution. Something about the ajax population and using an input seems to be hampering select2's ability to remove items which do not match the search parameters. Without removing these items from the available list, it gives the illusion that the first item available (the highlighted one) is not one which matches the search parameter. Still reading docs, seems like a bug.
To note, I also have never used select2 before so this is kind of a learning curve
 

« first day (1475 days earlier)      last day (3475 days later) »