« first day (1874 days earlier)      last day (3299 days later) » 

16:00
Does this make sense?
const listener = function (data, resolve, reject) {
  if (/^\:$/.test(data.toString('ascii'))) resolve(data.toString('ascii'));
};
return new Promise((resolve, reject) => {
  this._commands.on('data', listener.bind(this, resolve, reject));
}).then(() => {
  this._commands.removeListener('data', listener);
});
Some people don't bother actually protecting the variable and just make it public (this.records = [];) and just either remember not to touch it directly or name it something that reminds you it's private (like this._records)
Then you can just put all functions on the prototype and be consistent.
anybody here want to give this question a shot? superuser.com/questions/1008277/…
@Nick I don't like your scanlines.. but I also don't like my own
I think I just don't like 'fake' scanlines
I didn't make that
@Luggage ohhhhh, it's private in the sense of having your own program/dev not touch it. I was think of the wrong meaning for private lol
16:02
Is anybody here able to use the javascript console to check boxes in chrome's history?
@Nick ohh.. well then
Tell them you had to consult a cognitive therapist after learning haskell
@barlop goto chrome://history-frame/
Demand a reimbursement for the extra charges he took
@rlemon Thanks, that's probably the answer, do you want to post it and i'll accept it
16:04
ohh, rlemon beat me. I said to swithc frames in the dropdown
@Luggage you beat my answer
ohh well.
@rlemon Yeah well I don't like your face bud
Ftr, you can select one checkbox, press and hold shift, and select another one to select everything in between. But I also script it because it is slightly more convenient for bulk removals.
@nick you are not @Nick, so I don't like your inability to fucking read names
:D
@ton.yeung Generally knowing Haskell has helped me write more useful code, not actually write Haskell.
16:07
now.. how od i make that image inline..
crl
crl
talking about faces, I kinda want to slap @Nick's
user1596138
There's what like 4 nicks
that's a face of a man @nick
@rlemon My filesystem is case insensitive, sorry
with beard
16:08
@Jhawins yesterday there was 6
@nick good thing this isn't your filesystem
I'm gonna change my username to ndugger
go ahead all nicks
so tragic
except me
so now nick is too mainstream of a name. and thus all nicks are hipsters, from what @ssube told me :D
crl
crl
16:08
^
@ton.yeung haskell is for hipsters
no, it's annoying as shit to get a hundred pings that aren't for you
change your name to 'mick'
close enough
or dick. close enough too
lol
change it to Nicholas
16:09
By learning Haskell you learn so many things that are possible that you don't even think of in C#
user1596138
Hey who has Black Ops 3 lol
user1596138
The campaign
Cons: C# seems like crap after Haskell
user1596138
When the robot rips your limbs off......
change it to 2ndNick
16:10
just gotta wait for the change to propagate now
user1596138
I went to sleep actually feeling a little disturbed lol
@KendallFrey like... undo? :P
@Nick rip the nick games
@Luggage soon you will have no excuse but to recognize us as individuals
16:10
@AwalGarg Like return type overload resolution
@nick nevar!
Also monads
Monads are so fucking amazing and sexy
what's a variable?
magnets.
@ton.yeung [variable](http://en.wiktionary.org/wiki?curid=41481) Able to vary.
variable winds or seasons; a variable quantity
16:12
!!declare variable
Ah, so winter is a variable, got it
@KendallFrey That didn't make much sense. Use the !!/help command to learn more.
!!/help
!!kinkykendall
16:12
@nickB Information on interacting with me can be found at this page
Oct 16 at 15:11, by Kendall Frey
I can do goatse
!!this page
@nickB That didn't make much sense. Use the !!/help command to learn more.
oh so it's a loop
crl
crl
he hasn't made [goat.se] yet tho, still waiting
@nickB no
click on the link; are you blind?
16:13
what no. i was playing with caprica
what was that again, @Austin?
anyway @Nick how art thou?
you're dead to me
hahaa.
i like you man!
16:16
!!tell nickB sandbox
@nickB Please go and play in the Sandbox
lol
@Austin repeat your question for us all?
caprica is not there. is she?
She should be
16:17
@Luggage I think I am just getting overwhelmed by trying to learn too quickly and missing some basic differences when doing.
var Obj = function().. vs var Obj = Obj.create().
I made a pastbin to make it a little easier to read
http://pastebin.com/Kb289dde
I have read like 10 articles now and I understand a lot, but missing some basic stuff I believe. That or I am thinking to deeply on it
just drop your newObject() function. It's the same as just calling: new Person(...) (or whatever object)
@rlemon Oh, so I made a new batch of pickles last week. I went for a spicier flavor. I thiiiink I went a little to heavy on the habanero peppers.
16:19
Right, but for just learning purposes, I am trying to learn some under-the-hood stuff, such as what "new" is really doing, or what occurs when you call var Obj = {property: value}. I want to know what the prototype's are doing, as Javascript is focused on that.
Object.create() will create a new object that 'inherits' what you give it, but does not call the constructor. Object.create(Person.protoyype) will give you a person instance with inherited .toString() but this.firstname and lastname will NOT be set.
@rlemon They're still delicious, you just can't eat as many of them at once.
And dear god.
That backpack.
I trust the basic syntax of Javascript, but now I want to know how/why it does what it does, so when i get stuck I am not just blinding trying to plug in new things and "hope" that fixes my issues. I want to understand it.
In that case your newObject looks correct (I didn't run it). These two are equivalent.
var a = new Person('jimbo', 'jones');
var b = Object.create(Person.prototype);
Person.call(b, 'jimbo', 'jones');
16:21
@Austin then read books. understanding weird parts of javascript
he's on the right track.
@nickB I am I am haha, but I think I am trying to learn to quickly :S
just like me. lol
you are reading that book??
Its like, I get, I get I get, so lets try.... this! Then my brain goes boom and I am lost again lol
no, I am just reading books/articles in general
hahaa
happens
16:24
var Samurai = Object.create(Person.prototype); <- this is wrong, pretty sure.
you are making Samurai a plain 'instance' of Person.
@Luggage I guess in that pastebin I am trying to, without using "new", create Jack, Who will inherit Samurai, who will inherit Person.
ohhh I am instancing it, rather than inheriting? :/
whoo, just tested my Flexbox table with ie9 display:table fallback, and it works perfectly in modern chrome and IE9
I'm a professional, guys
@Luggage If we're making samurais, can we make them big robots made of adamantium?
@Nick Nice work.
I am technically making Samurai Jack, which funny enough I saw is coming back in 2016
You want Samurai to have a prototype of Object.create(Person.prototype);
not be that, itself.
16:26
var Samurai = Object.create(Person.prototype); So this is not inheritance?
samurai is just an everyday instance of Person, there, it's not it's own type
Samurai.prototype = Object.create(Person.prototype);
Samurai.prototype.attack = ...
just liek person has a prototype.
Io Transit of Jupiter
beautiful
then, use lowercase for Jack, since that is probably an instance, not a "Class" to make instances OF.
@Luggage How do we define var Samurai then? Just as an empty var?
16:30
jack is instance of Samurai, wich inherits PErson
I heard this room was occasionally half decent
empty object might work, or make it a function (constructor) just like person is.
@SheepPlusPlus 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.
Is it true
no
16:30
@SheepPlusPlus What a nice thing to say. ty.
we suck
I knew it
</sarcasm>
user1596138
@SheepPlusPlus It is half decent occasionally, bruh
not sarcasm
16:30
Oh it was sarcasm
user1596138
Why is your name like the troll of the lounge? @SheepPlusPlus
So I can var Samurai = Object.create(Object.prototype); But with Person am I doing the same thing but giving it properties off the bat? Since all things are objects, function is just a default object, yea? :)
what troll
user1596138
CatPlusPlus. And you're a member for 2 days.
damn, how long does it take to propagate a name change?
user1596138
16:31
/me keeps cursor steady over kick-mute button just in case...
I'm a new user I have no idea who is troll and who isn't
functiosn are objects, so a function can have a .prototype property.
That makes sense :)
user1596138
@SheepPlusPlus A new user who happenes to have taken the naming scheme from CatPlusPlus, and is also in the Lounge ;) (chat.stackoverflow.com/transcript/message/27286913#27286913)
Well that's a coincidence I guess, apparently there's also Dog Plus Plus
16:33
So if I defined
Samurai.prototype = Object.create(Person.prototype);
Which route is preferred?
Samurai.attack = function(weapon) { }
Samurai.prototype.attack = function(weapon) { }
Anyway what are you guys up to
@Austin are you familiar with OOP in another language (JS isn't OO in the traditional sense, but you are trying to use it that way, which is OK)
good fix, I was gonna call you out
and make you cry
@Austin I answered that. Samurai.prototype
I'm never entirely sure if async is the best, or just incredibly annoying
16:34
Yea, I am familiar with C#/Java. I guess I am trying to use prototypes as means to visually show/prove to myself how JS isn't OO as you said, but can appear to be OOP if setup right.
My bad, sorry!
@corvid async/await? Or just asynchronosity in general?
so, I know c# if you want to use analogies there.
The inheritance model is just different
It's still object oriented
> I saw on Stack Overflow and GitHub that you might be quite experienced in JavaScript, jQuery and CoffeeScript development.
16:35
@Nick Nah, async/await is great when I figure out how to use it... but writing basic async code is sometimes kinda confusing
lol
Just like Erlang is also object oriented
@SheepPlusPlus yes, just covering my ass or some pedant will jump all over it
@corvid Yeah, it takes a bit to wrap your head around it
posted on December 03, 2015

A quick note on styling placeholder texts. Although it’s very easy, it turns out that both MDN and the usual go-to CSS Tricks article leave out one important bit of data: when setting the color you should add opacity: 1 for Firefox. Unstyled My task was to make sure that text in input fields, including placeholder text, uses exactly the same font and text colour as regular text. Her

16:35
You're on SO what did you expect
Luggage likes to get offended
Great minds anger alike.
Mostly removeListener because it's hard to have a reference to the function to remove a lot of the time, especially in promises
Hence why I get scared to ask Q's on SO chat lolol
I looked up "offended luggage" on google, and got this picture: cbshouston.files.wordpress.com/2014/03/…
16:36
i don't get it.
I don't either
I'm clearly calm in that picture.
crl
crl
Someone used codemirror? am I stupid or it should be supposed to update the underlying textarea (jsfiddle.net/crl/7zdLnrhr/7)
IT pawned off one of my coworkers on me who's going to school for computer engineering, but wants to switch to computer science, and wants to code. Apparently I'm the one that has to introduce him into the professional world of programming or w/e lol
user1596138
16:38
@rlemon That can't be true. You can only change names once in 30 days and that shows changes just hours apart
Someone told him all the languages are the same and he should start with C#
His introduction is by a hand with a wig?
tell him that you're super good at javascript and know a lot
haha cant stop listening
user1596138
user1596138
^ That guys About Me is fucking rich!!
yes
user1596138
> I'm a PC warrior
who is also all of the other usernames
@Luggage lol @Nick lol @ton.yeung lol
16:38
I lurk in lounge a lot
@Jhawins that bio is fucking gold
user1596138
@Nick lmao right
@AmericanSlime I half agree to that. C# is a fine language that covers most of programming's concepts (OOP, functional, etc) and and half-decent programmer can migrate his knowledge to another language.
user1596138
He really should move to SF
@Jhawins That bio might be more applicable in saudi arabia
don't they stone people for having brown eyes there
16:39
@crl yes
user1596138
@Cereal ah you are right.
I have to do that for darktheme (uses codemirror)
user1596138
Probably means something 100% different from what an american having that means
@Jhawins That...is fucking amazing and made me laugh.
he's actually French
and an ep1c tr0ll
also, suspended
16:41
yes
he's a troll.
:P
yes that's the joek
if you do return new Promise((resolve, reject) => /** ... */).then(() => /** ... */) it should still return a promise, no?
@Jhawins I told him to but no passport
@Nick so is his name
I wanna fuck ya.
user1596138
@nick Hahaha @Loktar just pointed out to me that his name reads "I wanna fuck ya"
16:42
Master troll.
user1596138
So his parent account is suspended?
user1596138
Bye Bye @SheepPlusPlus
yes
We don't need lounge trolls in here...
he was Mai Longdong in a previous incarnation
user1596138
16:43
mod flagged with explanation
wut
user1596138
@nick I mod flagged and said "We believe this user to be a sock of this troll account who is banned stackexchange.com/users/360813/awan-afuqya "
@Nick Purdy
@Jhawins great, more flags
16:44
aye aye
user1596138
No, it was a mod flag.
user1596138
Not a spam flag.
flag me bro
@Jhawins @JonClements was present in the c++ room while they were discussing it being the same account. I don't think they cared? (I was lurking this morning whilst poopin)
crl
crl
@rlemon oh thanks, so I need to do this kind of thing github.com/rlemon/se-chat-dark-theme-plus/blob/master/src/js/…
user1596138
16:45
I did the right thing :P
crl
crl
plz Cap, don't..
user1596138
@rlemon Idc lol I do not feel like having the Lounge BS carry over to here
you realize he was on the mod's side?
user1596138
Sock accounts of banned troll accounts should be removed...
except reverse trolling is often misunderstood
16:45
@Jhawins I'm just saying.
> reverse trolling
I don't disagree with you
wat
satire
user1596138
Either way, I reported it, if they don't care they'll leave him and I'm fine with that.
16:46
great
!!afk food
report me for smoking weed in high school too
2 tru
user1596138
@nick Got any more
Jesus
user1596138
Lmao
16:47
The number of @nick names is getting out of hand.
It pings like...four people now.
@Jhawins nah, fortunately for me
my short term memory sucks enough as it is
I changed mine... once it propagates, I'll be free of this nightmare
@ton.yeung Yes, I saw that picture.
user1596138
@ndugger
to @EvilNick?
16:48
BestNick
ew
More like FatNick, amiright?
More like BigDick
That reminds me.
FatNickThatsAlreadyDownOnePantsSizeSoSuckADick
crl
crl
16:49
@rlemon what's that github.com/rlemon/se-chat-dark-theme-plus/blob/master/src/js/… seems bad to me (a lambda not returning)
@crl rlemon is afk: food
@Nick don't sabotage your date tonight, you fucking twat. Go into it with a positive attitude and a little god damn humor.
but no, I changed it to "ndugger"
@Trasiva I'm not going; I'm pushing it back
@Nick #rekt
I wasn't feeling it tonirhgt, because yeah, I don't want to sabotage it
16:50
That's an awful reason quite frankly.
probably
You have the whole day to get your head screwed on straight.
but she's been impossible to read; I can;t tell if she's interested or not
Dude, you've talked over fucking text.
It's the weirdest date ever
JUST FUCKING LET ME BE ME, BRO
16:51
STOP THINKING
Absolutely not.
THINKING IS MY JAM
@Nick Literally the opposite
@Trasiva That didn't make much sense. Maybe you meant: 3, d, y, ^, !, π, ?
16:51
@Loktar wat
if it has only been through text :p
just making a joke
booo
@rlemon bro
@Nick for all you know, she's not going to wear panties tonight because she already wants to jump your bones.
16:51
giggity
no
or 2 pairs because its Christmas time and presents need to be unwrapped
2
@Nick is it finally date night?
@Nick Well that's not an attitude that's going to get you any
@Loktar omg lol
16:52
@Loktar That's magical.
thongception
@SterlingArcher I pushed it back; I don't want to go tonight
@Nick listen man, we might be a collective bunch of assholes, but we're your assholes. We've got your back on this and rooting for you.
Ok seriously.. why flag "why"?
16:53
I don't think she's all that interested, and honestly, I've kind of lost interest in her.
lol a flag
I dunno
user1596138
@SterlingArcher lol jeez
user5365803
hey guys
You lost interest without actually meeting her? you have to be joking.
16:53
hey @Ben
Panties are worth flagging
@SterlingArcher might as well flag everything
@Nick that's not a valid reason man, are you nervous orrrr?
user1596138
Hey @Ben, nice pic
Nah, not nervous
16:53
Then what's up
Nick the Nervous
Nervous Nick
@SterlingArcher He's just being a negative Nancy is all.
user5365803
@Jhawins what do you mean
I'm pretty sure my reason is valid to me
crl
crl
@rlemon nvm that's CM filthy api codemirror.net/doc/manual.html
16:54
@Cereal Nick the Nerd
yes, finally, my name changed
@crl rlemon is afk: food
@crl lol codemirror
Obviously you need to validate your reasons with us before crushing puss
@ndugger That's the problem, in your head it probably is valid. But answer me this, when was the last time you went on a date?
user1596138
16:54
@Ben Your avatar. Nice. Are you Jerry or where did you find it
(South park reference, chill out potential flags)
I'm using CM in a project and I think it was a mistake
@Trasiva Uhhhhh..... 3ish years? longer maybe?
user5365803
@Jhawins you mean the picture of the barn
user5365803
?
16:55
but I haven't been looking for the past 3 years
I've been focusing on starting my career
@SterlingArcher inb4 flag
#disgusted
test...?
user1596138
@Ben yes your avatar
weird was randomly logged out, thought I was temp banned lol
user1596138
@Loktar I don't see your test it must not be working
crl
crl
16:56
@nick why lol :)?
If Loktar got suspended I would suspend myself in protest
crl
crl
@nick ah
haha
@ndugger Yea, that's a long damn time, even if it flops use it as a starting point to get you back on the horse. Worst case it goes nowhere, but you come to the realization that you can do ask women out on a regular basis.
crl
crl
well are there alternatives to Code Mirror?
user5365803
16:56
@Jhawins yes i can send it to you
@SterlingArcher been listening to Amaranthe all day
thanks man.
:D
They're gooooood
They aren't as heavy as I typically like, but different idk I like them
Did you listen to Cane Hill?
16:57
that's what he said
They're heavy as fuck
user5365803
@Jhawins yep that is it
Heavy, better word lol
!!youtube Cane Hill Sunday School
<3333
16:58
@SterlingArcher I'm going to punch you in the ovary by the way.
FOR WAT
Why just one?
I HAVE MANY QUESTIONS
@SterlingArcher I think I know what's wrong; I don't feel nervous at all. I usually have been nervous when talking to a girl that I'm interested in, and not being nervous makes it seem like it's not real? Am I retarded?
wow wth. Why was Sterling flagged...
@BoltClock I think my secret admirer is back (flagger)
@SterlingArcher Because you were horrible in bed last night, and the other one I have to leave so you can still get knocked up.
16:59
@Loktar somebody isn't my biggest fan. This has been going on since yesterday
@ndugger Dude, you're overthinking this.
I kiinda want RO now just so I can see flags
that is hard to believe.. you are the most likable dude in here
^ no RO, 10k
@Trasiva My whole life is about over thinking things
What was it that ROs can see?
you asked for it.
lmao thanks dude! I try to be nice :D
@ndugger You need to shut your brain down and just wing it.
16:59
but yeah its 10k + rep required to see flags

« first day (1874 days earlier)      last day (3299 days later) »