« first day (2574 days earlier)      last day (2375 days later) » 

7:01 PM
 
TIL using destructuring when cachine object properties in variables is an (office?) standard because it reduces the error risk by half since you're only typing the property name once instead of twice
 
yarr
 
@KendallFrey I'd lose that game every time.
 
We only allow single-letter variable names, because it reduces the chance of typos
 
All of the statements in a function must be in alphabetical order.
 
7:06 PM
Guys I'm linting my code and shit
 
Comments must use the oxford comma.
 
don't use letters
 
I'm a real dev!
 
Linter? I hardly know her
 
Real devs listen to hard techno while programming in the middle of the night looking to steal other peoples bitcoins.
 
7:07 PM
Com'ere. Lemme adjust your whitespace.
 
!!s/code and//
 
@KendallFrey Guys I'm linting my shit (source)
 
Real devs listen to Machine Head
cc @rlemon
 
\o/
 
hey, that's my generation's music. hands off
 
7:08 PM
Did you just age shame me
 
Next time, pick a better birthday
 
Yes. I am 90 years old and was once a fighter pilot for the Koreans.
 
Jokes on you, Korea wasn't even a country in 2001
 
What year do you think it is?
 
Whatever year 007 thinks it is.
 
7:09 PM
!!giphy what year is it?
 
I'll have you know I identify as a 77 year old 4 fingered chinese infant
 
@ssube In my case I was trying to bottleneck my netwrok
MTU Is a bit of a hassle :)
 
@SterlingArcher alright 007, calm down
 
user7480455
7:16 PM
funny you dont like me here with you but you chat about me and you use ages in your text... but for me I am restricted from using ages... where is the consistency in the rules formatted in this room. it is funny all the same as good jokes make this old man laugh.. and when you are old you need that... but it can hurt if you have lung or skeletal pain and the contractions do hurt, sadly... again consistency gentlemen
 
Neither of them used their real age, they were being smart asses.
 
@SterlingArcher so should I respond with this code? "Blabla YouTube.com".split(/\w+.com/).join("")
 
!!eat alone or the other thing
 
@towc eat alone
 
lol
 
7:17 PM
@Vap0r \.com
 
@KendallFrey my understanding is he wants the entire link taken out
not just the .com part
 
no I mean \.com instead of .com
 
oh lol forgot to escape that
nice catch
I'm just starting to understand regex, for some reason or another the concept never really made sense to me
 
regex101.com will catch it
 
neat. Yeah I had a hard time understanding because I always had a "regex engine" attached to my use. First PHP then JS. The thing that actually helped me out was VS code's regex replace
I kept thinking I could do things like alphabetically order capture groups using regex
 
7:21 PM
wat?
 
wait, actually. wat what?
 
QCom vs Apple Lol
 
@towc By other thing, do you mean you got invited out?
 
@towc - go out to eat!
 
7:22 PM
@Trasiva nope
no drama here, sorry
 
Cool. I hate drama.
 
Do the other thing, live a little.
 
@towc do the other thing dude
 
are you contesting cap's judgement?
 
Staying inside and eating is boring
 
7:23 PM
And bad for your health-ish-not-really
 
plan is to get a pizza because I genuinely feel like eating a lot
 
eating is deadly.
over a long time
 
Eating is an addiction, are you addicted to food?
 
I'm not I've been clean for 3 hours
 
Skip the pizza - get a calzone
 
7:24 PM
Call it 'entropy reduction' instead of cleaning.
 
I think it has to do with depression. I'm muching on whatever I can get my hands on, cooking tons of pasta and eggs and potatoes and stuff
 
@towc you should keep relying on chat bots and users to live your life for you
 
I had fast food for lunch
I feel like I'm going to die
 
I had a tuna sandwich because I felt like not being a piece of crap today.
 
@towc - well - I can tell you that the answer to depression aint eating a fuck load of pizza :)
 
7:24 PM
maybe if I eat something huge I won't feel like eating that much more the days after
 
"eat out" inside
 
@towc eat enough arsenic and you'll probably not eat for the rest of your life
It's one way to diet!
 
arse and old lace
 
the other thing was to hit up some more people I'm think I'm somewhat of an annoyance to, as I asked already to the few who were online that I thought I could enjoy sharing a meal with already said they either had other plans or that they didn't feel like it
 
!!summon 7
 
7:27 PM
normally I'd be ok with it, but I'm seeing that my conversational abilities are just dropping lately, and I doubt it's because I'm not talking with enough people
 
Oh, she's there, just dead
 
@towc conversation in real life and on here are completely different
 
@KendallFrey I was rebooting her
 
kinky
 
7:28 PM
@Vap0r what makes you think I think otherwise?
 
@towc Talk to more people. Talk to people with different viewpoints than you. With different experience
 
@rlemon kinky
 
this past week I've met and talked with more people than the 2 months before that
 
Dammit I come in here to make a joke and I'm too late.
 
what is kinky about putting new boots on?
 
7:28 PM
maybe there's a social burnout kinda thing
 
I don't wanna say it's impossible but it'd be really hard for your conversation skills to drop if you were doing that
 
Sweaty boot rash.
 
I HAVE SWEATY BOOT RASH!
 
@rlemon Ask the kids on TCAP
 
> The mixture of bacteria on your feet smell so sweet to me, baby.
 
7:29 PM
how kinky mike?
 
@rlemon no spluh, why do you think I'm over here in the stink-free zone?
 
> Is that planocryptophorous I smell?
 
!!kinkykendall
 
Oct 16 '15 at 15:11, by Kendall Frey
I can do goatse
 
Whew, all these long words are getting me hot and bothered, I love me some >2 syllable words.
 
7:31 PM
@towc I get tired of dealing with social situations when I have to do it a lot.
I think it's normal for normally introverted people.
 
s/a lot//
 
It's draining.
 
I'm introverted but I just use my crippling disgust for people with introverted personalities to force myself to go out and be apart of society. It works.
 
I have to do it alot.
 
a lot* :)
 
7:32 PM
@mikeTheLiar kinky
 
!!alot
 
I like that alot
 
you know there is this wonderful liquid that makes you social. It's called booze.
 
I used to like people, but then they kept pissing me off.
 
7:33 PM
booze helps, but timetimes you just want to get away from everyone.
 
lol @Vap0r - why not both!?
 
The thing about coke is that it makes you want to be around people but no one wants to be around you.
 
@mikeTheLiar so I guess my social experiences in real life are extremely similar to those in this chat?
 
Damn, I forgot about the days where people put "DIRTY" in a songs title to denote that it was explicit..
 
But yea normally if I'm around normal people I don't give a shit so I just stay thin minted out
 
7:35 PM
Just saw that for the first time in years.
 
user2620028
@Trasiva i was a few games from plat 1, trying to get to diamond, and everyone in diamond is either boosting or getting boosted, its insane right now. One teams bot lane is guaranteed to go 0-30 every game.
 
When I decide I have put in enough time into a social situation I am not interested in I feel physically relieved after getting out of the building and into my own car away from people. Like how you feel better after throwing up.
 
@Luggage why?
 
@Luggage - It's a weird feeling aint it?
 
@HatterisMad I haven't even managed to get out of S4.
 
7:36 PM
@Vap0r - because it's another form of work
 
Is this a professional situation or just social situations in general?
 
why? got me. genetics.
 
@tymeJV I understand that but only really feel it professionaly
 
user2620028
@Trasiva everyone is freaking out for end of season, but it is just so bad in dia right now that i refuse to play the game, I won't play if i am not having fun.
 
social in general. But.. I don't have Aspergers or anything. I can deal with people, read them, etc.
But. It just becomes draining when I have to keep doing it past my natural limits.
 
7:37 PM
I'm trying to determine if I want to post a question about a promise not chaining with a then, specifically I'm using request-promise-native to hit my company API that's working, but not chaining to the then statements that follow it, but I see a lot of questions around it, but not my specific scenario with request-promise-native. I'm trying to read stuff up around promises, and I'm still a very new to javascript/async programmer from a java background. Please don't eat me.
 
@S.Huston Welcome to the JavaScript chat! Please review the room 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 perhaps that's because it's the only time I care about people's perceptions.
 
fucking hate SD cards
why you just fail all of a sudden?!
 
How do I make this a question people want to answer?
 
why not just ask here
 
7:38 PM
@S.Huston - Just post what you've tried and what you're experiencing
Expected this, got that, etc
 
If you are reasonably sure it's not an duplicate, just put it on SO. People love getting rep.
 
@S.Huston rephrase it in such a way that you appear to be asserting something as a fact even if it's not true
 
I can probably find a duplicate
 
LOL Just so I get the "You're wrong and here's why" response? :)
 
they might even be civil ones on SO
 
7:39 PM
Just post a code sample
 
We all love to tell people their wrong, it's all a learning experience. Some people just say it nicer than others
 
wrongs*
 
they're*
 
@S.Huston well I mean....
yeah
 
Just to be clear, post code here?
 
7:40 PM
a little bit
 
don't post unformatted code
 
sure, just format it and if it's long use a past site
 
using ctrl+k to indent it
 
RequestPromise(this._options)
               .then((response) => {
                   console.log("response is!!!");
                   console.log(response);
                   resolve(response);
               })
               .catch((err) => {
                   this._logger.error("SpeccyRequestHandler ran into an issue with POST method: " + uri);
                   this._logger.error(err);
                   reject(err);
               });
 
I remember my first time on IRC - was trying to make a map for Half-Life - pasted the whole compile log in the chat. Banned
 
7:41 PM
My first console.log (Oh wow) isn't printing at all
 
the reject and resolve are probably not needed
 
Two chemists walk into a bar, one says "I'll have an H2O." The other chemist says, "I'll have an H2O, too." They both get their drinks, and the second chemist dies.
lmao
 
You ask a question? Banned. You post unformatted code? Banned. You post formatted code? Banned. We don't care. We ban you.
 
hmm. if the first log isn't logging, is the catch running? it should be. If it isn't, then RequestPromise probably isn't being ran either.
 
Two chemists walk into a bar, one says "I'll have an H2O." The other chemist says, "I'll also have a water", foiling the first chemist's assassination attempt.
 
7:42 PM
@S.Huston - What is RequestPromise
 
GOSH MIKE
 
But this request is working on a post to create a resource, and working, just not getting to the console.log, so I'm not seeing, the terrible, response of "true"
 
Also I'm pretty sure this joke is older than water.
 
import * as RequestPromise from "request-promise-native";
 
@mikeTheLiar two chemists walk into a bar, one says "I'll have an H20". Everyone laughs
 
7:43 PM
You guys wanna hear a CSS joke? position: fixed;
 
I'm trying to be modular, so I have this code in a requestHandler class that my tests (protractor) call, as a promise, so I can chain with thens to try to get things to run in some semblance of order
 
@mikeTheLiar hahahaha.... I don't get it
 
Laughing gas?
 
the resolve/reject is unnecessary because you should be able to remove the new Promise() and instead just return RequestPromise(...)
but that's not going to be what causes your console.logs to not run
the console.log in .then not running suggests the ajax request is failing.
 
OH darn, you're right. That should work.
 
7:44 PM
@Vap0r Wanna hear a programming joke? "JavaScript."
 
lol
 
JavaScirpt
 
Get out.
 
@mikeTheLiar - you take that back! JavaScript is gods language
 
Is there a god of insanity?
 
7:45 PM
@mikeTheLiar you're in the wrong neighborhood boy
 
@KevinB would it be working, but failing to return?
 
The room goes quiet except the click of the door lock.
 
if it were working, you'd be getting a console.log
console.logs don't just silently do nothing
 
for me they do
 
Yes, but is this another async thing is more my question I think
 
7:46 PM
none of you ever go on stage as a comedian
 
} else "Restart video" == a.options.onFinish ? (this.resetPlayer(), this.seek(0), this.play(), this.preloader.hide()) : "Stop video" == a.options.onFinish && (this.pause(), this.preloader.hide());
                else this.seek(0), this.pause()
what is this
 
Not mine?
 
@SterlingArcher shut up. I'm hilarious
 
not yours
 
@KevinB - that's optimized code there baby
look how few lines it is!
 
7:47 PM
But I've got 10 hours on Comedy Night, I'm proven to be hilarious.
 
@rlemon don't scalp me bro
 
100/100 people agree that 'Ground Beef' is an instant crowd pleaser.
 
@SterlingArcher lol
 
it's, a ternary, inside an else, with a nested ternary and then an else randomly at the end
 
ternaries are the devil - Mama Boucher
 
7:48 PM
If the question is ever "should I nest this ternary" - the answer is always yes
 
get out
 
-3
Q: messing up with a javascript code

DrakeI am working on a very messy code for video player but i need to add one more command to the already placed commns like this, i picked only that piece of code which i found relevant from the big file } else "Restart video" == a.options.onFinish ? (this.resetPlayer(), this.seek(0), this.play(),...

 
haha
 
Could I have something setup where they just die coming back? So I never get a response?
 
@S.Huston i don't think so. it'l always go to either success or error
in your case .then or .catch
 
7:49 PM
@KevinB already saw that one. Blinked, cv'd, moved on
 
I'll try fixing the stuff to just use the requestPromise directly and try from there. Thank you for not eating me
 
look it's lemon
0
Q: Jquery replacing space in search form with #

ChazlieWondering if someone can advise to why this is not working please. The idea so when a user enters SPACE on the search form, Its replaced with a #,, So if "Red Boots size 9" was typed in the search bar it would be replaced with (the # Doesnt get sent to database, Its just for show) #Red#boots#siz...

 
lemon's main account
 
hehe
 
oops read the question wrong... — jasonlam604 11 secs ago
homie what
 
7:55 PM
haha
 

« first day (2574 days earlier)      last day (2375 days later) »