« first day (2285 days earlier)      last day (2665 days later) » 

user2620028
10:02 PM
@taco how you doin man
 
🌮
 
does res.locals overwrite app.locals object in case of conflicting property in expressJS?
 
10:19 PM
lol
ello everyone
 
10:30 PM
ello govna
 
are mobx+react+electron apps...sane?
 
@NathanJones Sure
I've been looking for an excuse to use mobx
& usually I use react & electron if I'm doing something that doesn't explicitly require a server
So that'd be my choice
 
10:48 PM
What is the correct way to stop node on linux ? just ctrl + c, or need to do pkill node
 
how can I keep the same header and footer on my html pages?
 
@ADISbayrakcan ctrl c
 
ohhi
bout time to change my avatar
 
I'm still rocking my spooky one
 
what if @Meredith 2nd answer says not same.
http://serverfault.com/questions/256331/how-to-stop-node-js-server
 
10:51 PM
i mean, you could just kill the session too, right?
 
pkill works the same as kill doesn't it?
except the regex part obv
 
killall -u rlemon
 
But ctrl c just sends the interupt signal
 
10:53 PM
Whereas kill allows you to specify which signal to send
Hopefully you only ever need to send interrupt
 
I think pkill is just an alias for kill -9
 
pkill node
should kill all p s ?
 
I think you can pkill node -2
Which should be the same as ctrl c
 
Let me try
 
13
A: What is the difference between kill , pkill and killall

OtheusThe kill command is a very simple wrapper to the kill system call, which knows only about process IDs (PIDs). pkill and killall are also wrappers to the kill system call, (actually, to the libc library which directly invokes the system call), but can determine the PIDs for you, based on things li...

 
11:01 PM
got a film on split personality?
not like fight club
well, maybe like fight club
 
process.on('SIGINT', () => console.log('interrupted'))
Doesn't get called if you run pkill node -2
...Or when you ctrl c so fantastic
 
but seriously.. wat?
just cache the damn function
 
@towc Birdman, Memento...
 
@towc split
idk if it's good
 
11:08 PM
@towc throw mama from the train
not really split personality
but crazy
 
yo can someone tell me what the best practice is
for templating
on the client side?
 
React?
ejs
not sure exactly what you're asking for
 
Spacebars
Lol jk spacebars sucks
 
Ineverusemine!
 
@SterlingArcher what, you don't like drinking in space?
 
11:17 PM
Wat
 
I was born in the wrong generation
 
@rlemon I am making a very simple html + css +js webpage
 
Why couldn't I have been born in the age of space bars?
 
and want a template for different links on that page
 
11:18 PM
@SterlingArcher Space bars
 
Floating around drinking bubbles of vodka tang
 
... get out
 
@qaispak that doesn't really answer my question for your need, but I'll say ejs
 
@qaispak Good thing you selected the only technologies that'll work on a webpage :P
 
@qaispak making a web SITE or a web APP ?
 
11:19 PM
@Luggage site
 
handlebars / mustache
 
:(
ejs
 
or ejs, if you hate yourself
 
cfml
 
11:20 PM
no if you hate yourself jade or haml
 
nunjucks
 
ejs isn't changing anything
 
write your own
 
everything is perfectly familiar
 
just like me and your mom
 
11:21 PM
you still owe her money
 
im not paying
 
:buys plane ticket:
 
in controversial news:
> President Obama has commuted the sentence of Chelsea Manning, the former army intelligence analyst who was convicted of leaking classified military documents to Wikileaks.

The 29-year-old whistleblower, who was sentenced to 35-years in prison in August 2013, will now be released in five months, on 17 May of this year, instead of 2024.
4
 
11:24 PM
who's whistle did she blow
 
the US's
 
@SterlingArcher you don't know about manning?
 
He's trying to make a reference to oral sex.
 
I'm aware, but It's also Jordan
he could very well be in the dark here
 
ah, true.
 
11:27 PM
well now i dont wanna say
 
google the name
 
do i have to
 
it's kinda a big deal if you're an american especially
If Obama grants Manning clemency, Assange will agree to US prison in exchange -- despite its clear unlawfulness https://twitter.com/wikileaks/status/765626997057921025
now we wait
 
Twitter is not news.
 
cool story
 
11:28 PM
You're not news
 
The news article was linked earlier. This is called 'conversation'
 
if Twitter isn't news, the next four years will be interesting.
2
 
Also, with our new president, twitter may be relevant.
 
I can't help but wonder if this has anything to do with "leaving a last mark" as Obama leaves the office
Why now?
 
Every president does this at the end of their terms.
 
11:31 PM
she was one of quite a few pardoned/commuted
just the highest profile
> Mr Obama commuted a total of 209 sentences this week, pardoning 64 people at the same time. Over the course of his eight years in office, he has commuted the sentences of 1,385 people - the most issued by any president in US history. He’s also granted a total of 212 pardons.
 
right.. "pardoned". that's the word I was looking for. Presidents to the pardoning on the way out the door.
 
Just a PSA: The Lord Gaben is currently conducting an AMA here: reddit.com/r/The_Gaben/comments/5olhj4/hi_im_gabe_newell_ama
 
> Hey Gabe, is HL3 really completed and you're just the biggest troll of all time?
 
They had to disable the bot that automatically deletes any post with the number '3' in it
 
they can also commute sentances
 
11:35 PM
@david What a shitshow
 
@KendallFrey the AMA was about 5 minutes late... for those 5 minutes the /new/ queue was an amazing experience
 
obviously
 
also 👍 room, we had a short political discussion with no argument or flame-baiting
historic moment
 
We've been mostly good about that. We've had talks on gun control, etc.
 
11:38 PM
>The issue with Half-Life for me is that I was involved in a much higher percentage of the decisions about the games, so it's hard for me to look at them as anything other than a series of things I regret. There's no information in my response about what we'll do in the future. It's simply easier for me to be a fan of things that in which I was less directive.
 
i missed it :(
 
idc about politics lol
 
The gender thing the other day was the odd one.
 
probably why it happened
 
lol
@KendallFrey tl;dr obama is releasing manning early, jordan doesn't know who manning is
 
11:38 PM
whoa what, i was only gone 5 minutes and i missed a political discussion
 
@SterlingArcher To me, american politics is more like sports
 
and thinks that obama releasing someone at the end of his term is because he's nefarious
 
@rlemon I didn't either before I heard
 
really?!
 
how could you not?
 
11:39 PM
I say we're overdue for another meteor extinction
just fuck us up fam
 
how about "bradly manning"?
 
I may have heard the name before
 
I thought everyone who was prevy to the assange/wikileaks shit did
 
But no meaning was attached to it
 
well, it was a military persont hat stole a bunch of docs and gave them to wikleaks
 
11:40 PM
you suck
 
god dammit
 
@rlemon Basically all I've read into WikiLeaks is the "Assange is dead" hypothesis
 
some actuall illegal activities were uncovered (whistle blowing) but also maybe some more.
 
@Luggage so like snowden?
 
Sorta. Manning gave everything to Julian Assasnge and he released it all
Snowden gave it to a couple reporter sand they only released the parts they thought people needed
 
11:41 PM
That's a dick move
 
administration was quoted stating that snowden doesn't admit his crimes. he hasn't served due time, he's not going to be pardoned
 
From what I understand none of it was really worth leaking
At least from my perspective
 
Manning was used by Assange. Snowden acted alone
 
> we are are using it as the foundation of some unannounced products
 
> Asked about the two clemency applications on Friday, the White House spokesman, Joshua Earnest, discussed the “pretty stark difference” between Ms. Manning’s case for mercy with Mr. Snowden’s. While their offenses were similar, he said, there were “some important differences.”
“Chelsea Manning is somebody who went through the military criminal justice process, was exposed to due process, was found guilty, was sentenced for her crimes, and she acknowledged wrongdoing,” he said. “Mr. Snowden fled into the arms of an adversary, and has sought refuge in a country that most recently made a con
 
11:42 PM
btw, what happened to the whole assange is dead thing?
Is he dead or no
 
Well supposedly snowden didn't want to be in russia, but it sure doesn't make him look good.
Though.. with Trump in office, I wonder if snowden is in danger of being extradited as part of some deal.
or other.
(just idle speculation.. I have no idea how these things work)
 
inb4 Trump grants full pardon
 
Did anybody actually move to Canada because Trump won?
 
Probably
300 million data points is a lot
 
I saw 'reports' of people moving here during the election once the choices were trump or hillary
by 'reports' I mean twitter/reddit posts
 
11:46 PM
that's jsut something people say
 
Nobody I know moved
Still a ton of people moving out of red counties though
 
yea I don't expect people moved in droves
 
But that's always been a thing
 
but some probably did.
 
2 mins ago, by Kendall Frey
300 million data points is a lot
It's almost guaranteed someone did.
 
11:48 PM
jokes on them if they moved to any city in Ontario
 
and imagine how many people are considering a move right now due to family / job / other and might decide that this is one more reason.
 
I'm sure more people would move if Canada was further south
 
(more reasonable that moving just because of trump, of course)
 
So, question I just took this programming challenge on a website and they had you replace numbers < 5 with 0 and >= 5 with a 1. I used Regex but the one marked by users as best practices split it into an array, then mapped the array why would this be better?

Pastebin link: http://pastebin.com/BdSYeEsN
 
Like oppressive government vs shitty weather
Hmm
 
11:50 PM
taxes are high, canadian dollar is low, gun laws are 180 what most americans (poll) to want. gay marriage, abortions, etc. I always luled at the idea that people would want to move here to escape a 'socialist' DNC government (just reminiscing from the elections)
 
no, other way around. the democrats/liberals are the ones threatening to move.
 
I know conservatives threatened to move if Obama got elected
 
I was a bernie fan. I saw republicans saying if he was elected they were shipping to Canada
I was like.... bro..
 
Does Canada use the same approximate definitions of left and right?
 
eh
 
11:51 PM
@rlemon really?
I see it from the left so often
 
our politics are boring. no matter what side things don't really change.
 
and it's more high profile people like actors and actresses
 
@Loktar for sure it is more often with the left. but it is more of a joke when you see it from the right. iirc one politician was saying it
like, bro. Canada is pretty much left (in American politics)
 
aye
 
I know someone who's trying to move to denmark
She's actually danish though
 
11:53 PM
lol
 
idk how politically motivated it is, but denmark is way further left than america afaik
 
Let's all move in with FlorianMargaine. I imagine him having some farm outside of town.
 
yeah I'll never move out of the United States
 
DK made a huge blunder with refugees recently
 
Anyone? Is it just the site is bad about letting users mark things as best practice or is mine really that bad to only be marked as best practice like 3 times?
 
11:54 PM
@Meredith 60% tax
yea, I don't see that flying in USA
 
All of the good countries are also cold
 
Like Russia
 
the best country is cold in the north and warm in the south though.
 
-> not <->
 
Yes. The leader of the free world, the United States of America ;)
 
11:55 PM
@Loktar all a matter of perspective. Canada is warm in the south 😃
 
South canada is cold af
Like have you heard of minnesota
 
30c+ in the summer
 
There's an entire country north of that
 
pretty warm if you ask me
 
idc what the summer temp is
It's irrelevant when your summer is 1 month long
 
11:56 PM
honestly, anything > 30C is excessive
@Meredith eh, I live in southern ontario. I'm south of a good chunk of the USA
so we get a decent summer.
 
and that chunk is cold af
 
rained today
 
Like my winter this year was like 3 days long
Your winter lasts like 9 months
 
yea, you live in Florida
and our winter lasts like 4-5 months depending on what you consider 'winter'
 
less than 70 degrees at noon
 
11:59 PM
@rlemon heh that is an interesting statement
I'd probably run too if I knew I'd be treated like Manning was lol
man imagine if Snowden didn't flee
and who in the heck can you flee to who wont just extradite you to the US anyway
stuck between a rock and a hard place
 

« first day (2285 days earlier)      last day (2665 days later) »