« first day (2658 days earlier)      last day (2515 days later) » 

00:00
also, here's the github one: github.com/JavaScriptRoom/culture/issues/…
wordpress.com
> love life
wordpress is for people who think they know things
yes, I agree I shouldn't talk about that, except when it's just really funny
livejournal and tumblr are for being sad
00:01
@Shmiddty well, if it's not this chatroom, it's a bunch of facebook friends who've had enough of me. And if it's not them, it me talking to myself
you're already talking to yourself
do it not here
some people sometimes have great advice about my things
Why do python commands not work with Node.js execFile?
require('child_process').execFile('python', ["—-version"], function(error, stdout, stderr) {
  console.log('error', error);
  console.log('stdout', stdout);
  console.log('stderr', stderr);
})
this code hangs
@RahulDesai Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
doesn't hang for me
00:04
what do you get?
do you have python installed?
of course
stdout
stderr python: can't open file '—-version': [Errno 2] No such file or directory
python --version tells me the version correctly
those two tacks are not the same
00:04
my bad, the earlier version hanged
@ssube why is it throwing stderr?
Because it’s not a file
because --version is a real argument
whatever smart dashes you're using are not
try a better editor?
1 min ago, by ssube
those two tacks are not the same
hah, it converted it to an em dash
what are you writing in MS word?
^
I know the word art is cool but it's really bad at symbols
00:06
I made a drag and drop website in msword once
could just be web browser doin it
@ssube if I just do "version" it still errors out
stderr python: can't open file 'version': [Errno 2] No such file or directory
le sigh
I would tell you to run python --help, but...
huh, apparently I have 140bpm
think my watch is broken
00:07
maybe you're dying
oh no, my pulse is actually unusually fast
panic attack
breathe deep padewan
> oh no, everything's going too great!
I feel really chill though
140bpm isn't fast
anyway, enough of my non-love-life diary
00:09
it's dangerous
take deep breaths and drink some water
if it's at rest
trust me I'm a doctor
s/c/g/
well, I've been sitting for 6 hours for the first time in months
@ssube I am still clueless about what I am missing
00:10
sitting only gives you high blood pressure if you've been doing it for 60 years
when exercising, the most I think I've ever seen was 120, and it was heavy exercise
120 while working out is rookie numbers
5 mins ago, by Shmiddty
hah, it converted it to an em dash
@Mosho or i have a great heart :P
120 while working out? were you dead?
00:11
my resting heart rate (right after waking up) is in the 40s
> 140 bpm while sitting down for 6 hours
it's back to 60 now
let me remind y'all I did professional national rowing competitions in 2 countries, and had been training as a short-distance runner in between
and then you spent a year starving and homeless
your point?
well, went for runs every morning
until the knee thing
and now am going for hikes weekly, and do pushups/pullups twice a day
which is enough to at least keep me in ok shape
plus I'm eating more healthy now
I only eat korean short ribs and mcchickens
00:23
halthily?
@towc s/more healthy/healthier/
00:43
@Shmiddty too much muscle. My brain is shrinking
/\\/.test('\')
this is always breaking
Uncaught SyntaxError: Invalid or unexpected token
cant figure out why
!!> /\\/.test('\')
@Shmiddty "SyntaxError: unterminated string literal"
I get that
00:48
!!> /\\/.test('\\')
but what if thats the user input
@Shmiddty true
I will need to escape it myself
no
you only need to escape it in the string literal (and regex). You wouldn't need to modify user input
because \ is telling the parser to escape the next character
!!> /'/.test('\'')
@Shmiddty true
00:52
so '\' is an unterminated string literal
!!afk hometime
late night :(
01:44
1
Q: "If" Statement Acting Like "While" Loop

FrancefireI've started creating a Discord bot. Here's the problem: the bot is spamming. I want him to send only one message when the condition is true. I'm using an if statement, but it acts like a while loop. Here's the code: const Discord = require("discord.js"); const client = new Discord.Client(); co...

lmao
1 message moved to Trash can
@Frondor Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
1 message moved to Trash can
@Frondor Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
well... it lacks indention, but i assume that's just because chat doesn't convert tabs to spaces
git commit -am "did stufff"
git commit -am "Dear Git, Today I would like commit some code that fixes JIRA-1234"
git commit -am "Captains Log - Stardate 3324.7"
02:14
what's the a flag do again?
ah
so you don't have to stage your changes first
Red Foreman was in DS9... wat
I never noticed before
He’s all made up as a cardassian
morn
Spammer
says the person writing his life in the channel
wink wink, nudge nudge
02:30
That’s not spam, you dolt. Read the room rules.
is that why your messages got moved to trash and an admin asking how that is not spam?
@ndugger That’s not spam, you dolt. Read the room rules.
isn't calling someone dolt a plausible reason to report someone?
:)
@Daemonk excuse you? Dude comes in at the sane time almost every day, doesn’t contribute to any conversation, and just says “morn”. That’s spam.
he talks, but not much.
02:34
@Luggage do a search for every time he said “morn” in chat, and how little he’s contributed after saying it
It becomes obvious pretty quickly
I love how much importance you give to all this
i'm aware. once per day when he enters the night shift
Why does someone saying "morn" bother you?
he's talked to me. others. The room gets quiet at this time of night
@Tavo because I find you extremely annoying, and your messages completely inconsequential
02:35
ok. now he knows.
so are you, and you don't hear me complaining
morning everyone
lol
hi :)
LOL
02:36
(sorry ndugger i love you)
started back in July
If it really bothers you as much, just put him on ignore and move on.
2
Jul 21 '17 at 1:00, by Arrow
@Tavo every time I see you, I see the word "morn"
lol this topic isn't as uncommon as I assumed
When I first brought it up, he said that he’d only listen if an RO agreed, and so one did (I think it was Kevin or Ben), but then he got upset and said that he’d continue to do it anyways.
I love how you chop off part of the story to make your point
02:37
I mean... out of the thousands of messages a day one dude saying morn once doesn't seem so bad
I don't really see an issue with a once/day (I think?) good morning even when the person talks less than average.
you should work for the CNN or Fox News
That’s all there was to the story. An RO agreed that it’s spammy, and you decided to ignore them
Jan 2 at 8:12, by Madara Uchiha
> He says "Hello" to us every morning, the jolly bastard! How dare he!
I asked him to give me a good reason why that is considered spam. He didn't even reply
02:38
@Loktar TBH it seems slightly weird to say exactly the same thing at the same time every day to no one in particular.
weird !== a big deal
using arrow as an example for anything is a bad idea
@Luggage yes
if we put up with towc, this is NOTHING
02:39
hey now there is a variance of about an hour
@david oh lmao yeah I wasn't using that to suggest anything
just thought that was funny someone else has even mentioned it
I just did a search for the word morn since I was curious
It honestly caught my attention as a spam bot or someone trying to automate chat messages to get stats or something
i've come to expect it. It's comforting.
if anything he's definitely consistent
like an 'everything's OK alarm'
I brought it up, an RO agreed that it was spammy, and now another RO says that the behaviour is weird
02:40
@Loktar I'll consider him a good bowel movement
lol
(sorry @Tavo :P)
someone said that when he sees me saying morning, he knows he has stayed awake for too long and goes to bed
if the criteria was 'one RO thinks it's spammy', you wouldn't be here.
looks like towc used to say it before that
02:41
I am a social service
@Luggage chat canary
@Luggage yes, but your opinions are bad
that's your opinion :)
@KendallFrey I've been called worse :P
what would be the expected result @ndugger?
dude gets kicked for saying morn?
02:42
@Loktar I made a point once that Whenever I see tavo I probably overstayed watching movies :P
oh, it was you
LOL @KamilSolecki
Which us uhhhhhh today
Heckin 3:40 am. I better roll out
3 hours of sleep left
damn dude
go to bed
I just don’t understand why he does it. It’s spammy, and when confronted, he just claims that he’s being nice. What if I showed up at your house every day to just shake your hand, then leave?
02:43
or stay awake and go straight to the office
@ndugger what if I went to a public chat room every day and just said morn in the morning once?
doesn't seem so bad lol
@ndugger I wonder how your example relates to what I do
@ndugger well he is saying hello. Why the he'll would you make a bother out of that
I say hello every day when I get to work as well. Others do too
@Loktar and then said nothing afterwards? It’s not bad, it’s just spammy and annoying and raises red flags
lol dude idk
02:44
!!afk whoopsie sleepsie
get this guy on a watch list, he's telling us morn!
lol idk man I just don't agree
just shoot me out of my misery
Jan 2 at 3:07, by ndugger
Because I like arguing
we have a lot of people who just creep here without even saying morn
@KamilSolecki but then you work with those people. What if you went to work, said hello, then left? It’s just weird and unnecessary
@Daemonk who are you?
02:45
@Loktar not THAT I don't get.
yeah that is really odd to me, all the idlers
it's not IRC, they have to have a tab open for this
granted, they most likely idle in other rooms too
but still just kind of odd
yea, re-join all favorite rooms
tonight we don't have as many as normal though
I wanted to use someone as an example and can't find any I don't really know
maybe Jenna Sloan I guess, but I've never seen them beyond tonight
@ndugger ¯\_(ツ)_/¯
Clearly
02:47
@Loktar he is a regular in the Java channel. He is quite active there
ah yeah I assume anyone idling is probably active in some other room
man one day this chat will close, and I will be sad
I only idle in this room... there is often useful conversation
sad and happy
was just looking at the webdesign room, I idle in there
this conversation is not as useful, but it's still fun to read
02:48
it used to be super active, but most cool people moved here 😒
@Luggage yea
before that day we should make sure we have everyones contact info that we care to have
like you @Luggage I don't have you anywhere else but here
sorry my paranoia is kicking in, I imagine the chat being shut down tomorrow lol
contact info as in like just hangouts
not being creepy like addresses or anything
i have lemon on hangouts, so i'm good. he's often a focal point
good
lugagage66 on steam
yeah idk would be cool to be able to stay in touch and move to some other room with the regulars if that did happen
my email is easy to find, too. i don't hide it
02:50
hah I will add you there, kind of odd we aren't already on steams friend list
hmm no users match that
/me looks at lemons list
@david that's the main reason why I'm here and not very active. I learn from other people's conversations. Unfortunately, my JS skills are not quite there, so I can't contribute much
sure you can.
well, to this conversation, for sure :P
towc does, so anyone can! 😋
lol
02:52
towc contributes in his own special way
Maybe now you’ll all take this matter seriously
maybe you should focus your energy elsewhere
lol
something productive perhaps?
where did you make that?
02:55
write a blog.
quality myspace sparkle gif
I’ll write a livejournal
@Loktar geocities
lol
I just googled “sparkle text gif”
02:56
What was that ugly/awesome british car site, ndugger?
https at least
nice. they have high-dpi images.
'retina'-ready
wtf.. is anyone else getting the chick singing at gunpoint on the right?
lol yea
I can't tell if this is real or fake
most of the stuff works, even the quote portion
I thought it was 'real'.
02:58
ah nm this has to be fake, all of those people are hipsters
not car sales people
no douche hair or suits
Because it’s england or something
wth crazy..
also I just realize Ling was a she
by reading the article
lol, yea
@ndugger quality find ty
03:02
it makes me wish i was in britain and needed to lease a car
lol
ohhi
I restarted. Probaby stupid.
and pointless
heh
all that matters is that you're havin fun
just got home, bout to boot it up
03:08
I noticed entities in stupid places on a previous update, and just assumed i might have similar issues. I want to get further in the storyline, though
i now know where not to build my base, and where the hole to the degassi mushroom cave base is
I know where it is approximately. I thought it was on the southern grassy plateau where you were
right
it was directly below my base
Specifically the hole that is right above the base
ohh, where NOT to build it
I missed that word.
yeah, i don't want to be within range of reaper screams
03:10
lol
someone in discord said they respawn
i don't believe them, but.... who kn ows
This time I started my first base in grassy plateau on the NE side.
I assumed they would just because it makes it kinda of easy iif you can get rid of them...
it took repairing my prawn 4-5 times
Also.. what about other animals? You say they area persistent, but they attack each other there there are still always some left
yeah, i'm not sure. to me it seems like there's always more stalkers later on than before
like, they spread out into the shallows
03:12
yea, that.
But maybe they just move around as they chase you or some other prey and that is their new location?
that is what happens
Like.. I stabbed a sandshark and it went running into the shallows. I wonder id he lives there now
evidenced by the reaper i killed being in shallows
or if it always returns to around where it started
that's just where it toted me, then it stayed in that area
03:13
so you know the 'center point' for the reaper moved?
the only ones that return to their starting point for sure are the adult ghost leviathans that spawn every 30 seconds while you're in the void
hmm.. dunno. this is a unity based game
that shouldn't matter. they can still program in any behavior they want
all i know is throughout the beta, it was relatively common for reapers to end up out of place if they go after you and you lead them out
ah, ok.
i don't know if it's coded around a central point that potentially moves, or if they just... kinda circle
alright, here we go
03:29
i'm not close to a kelp forest
how is that possible? isn't everything?
it was 200m away
04:19
well windows installation has become so easy
its like they want you to reinstall windows every n days :D
I remember the days when you had to insert CDs in order or else you'd end up with Blue Screen
that it is
damn
i forgot to leave a beacon at my base, and it's quite far
heh, cool, i'm in grassy plateaus according to F1, but it's sparse reef and has shale
40m of water, where my base is
04:49
05:10
Has javascript already won ? What did it win ?
@nomanbinhussein 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.
 
2 hours later…
07:01
@nomanbinhussein Approximately 3 internets.
07:14
@MadaraUchiha Are you sure? Seems like a bit much for JS
@jAndy Hi. Also, the game
@KevinB time to rise!
@Loktar nice. I already have checked how it works tho. I like to figure these things out :D
07:30
How do you guys write clean ( unopinionated ?) ajax calls. For example I want to have a POST ajax call that does something on success. But I want to reuse the same ajax call somewhere else and on success I want to do something else
1 message moved to Trash can
@Paran0a Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
		function submitStatus(status) {
			$.ajax({
				method: 'POST',
				url: "test",
				data: status.toString(),
				success: function(data) {
					$('#random-div').show();
				}
			});
		}
SO is the solution to pass the optional callback function to the ajax call
		function submitStatus(status , callback) {
			$.ajax({
				method: 'POST',
				url: "test",
				data: status.toString(),
				success: callback()
			});
		}
@Loktar fuck. TIL something. subscribed to that channel
@Paran0a yeah that way. You can also add an error callback
but the convertion of status to a string should be done with a separate function so that you can control it better
it can be a string or object
Yeah I shouldve left the toString out , it doesnt matter for the current topic :D Yes, that was also my second question ,what do you do when you want to handle errors , or complete , or success events, then I would need 3 callbacks in that case
i recommend to use fetch api or the native xhr
at that, you can pass two callbacks: an onComplete and an onError.
07:40
i dont think ive ever used , I'll look into it
you are trying to abstract ajax that has been abstracted by jQuery. Better to go to barebone.
Hmm yeah , I see your point . Makes sense
07:54
@KarelG Not necessarily.. having your own function makes future adjustments easier
It's one thing if you're making a function that passes everything to $.ajax and another to simplify where possible I think. Nothing wrong with that
though I suppose your function shouldn't modify the data unless you would wish it to be modified in all cases
08:09
ohai
@KamilSolecki hai o/
Ok I've started, is this making sense jsfiddle.net/kdgrrre7 ? Regarding AJAX
Hmmm how do I pass data, textStatus, jqXHR into my own callbacks
08:24
0
Q: Convert all url image from text to balise html using directive angularjs

Taki RahalI want change all url image from text by balise html '' using regex and directive angularjs (1.6) Any idea ! Lorem ipsum dolor sit amet https://static.pexels.com/photos/170811/pexels-photo-170811.jpeg Lorem ipsum dolor sit amet https://static.pexels.com/photos/170811/pexels-photo-170811.jpeg Lore...

wat
I have 0 clue what he wants
youre just not on his level
oh burn!
he probably wants to grab the urls from the text and convert it to a html structure with image elements
keh, he just asks for a coding service
I am merging a git branch but it is saying everything up to date even the codes are different
I need the codes to be updated
please tell me how can i do that?
08:44
did you commit the changes in your branch?
try git status there.
there is no commit, but the codes are different
what should i do in this case?
show the output of git log -1 at both branches
Hello all
@user2218492 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.
@KarelG
On Branch Development
Date: Thu Jan 25 13:29:10 2018 +0600
config update
On Branch Cleaned-Android
Merge: a6a5e6f aef36a8
Author: shamim khan <[email protected]>
Date: Mon Jan 1 11:52:42 2018 +0600
conflict resolved
=============================================
Let me clear the scenario a bit more-
I have the codes in development with comments and some unnecessary code

I checked out to branch Cleaned-Android and removed unnecessary codes and kept it there around 1 month ago.

Today while I was trying to merge cleaned-android into development, I am finding everything up to date.

I am not understanding how is this even possible. I just want to merge cleaned-android into development

« first day (2658 days earlier)      last day (2515 days later) »