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

6:00 PM
saw wall of text and this:
exit right
 
@SterlingArcher I'll remember that when you get fired. 😃
 
@Mosho like, clear cache and reload hard?
or just hard reload
 
yeah I want to detect clearing cache basically
 
Guys, food for thought. Trump no longer has to use twitter.
He now has access to the national emergency SMS line.
 
6:07 PM
@rlemon interesting, that should work
lol the use case is exactly what I'm doing
 
@Trasiva que the 4chan post
 
@Loktar Everybody gets greentext every morning!
 
@rlemon good news I actually got reimbursed shares for the company after explaining my position :o
 
@Loktar national SMS... 4chan.... (post to all DNC) "ARE YOU FUCKING SORRY?!"
 
good news boys I'm actually getting paid now
 
6:12 PM
you're a professional now
 
Feels good man
 
@Trasiva He actually has two twitter accounts now
 
@Trasiva ^
 
Oh geeze.
I didn't realize 4Chan already did that, lol.
Shouldn't be surprised though
 
6:17 PM
Wow, Trump's giving Ryan the middle finger.
 
Yes that's Jaden Smith and Shia Labeouf
 
@BenFortune dude that looks like some creepy cult shit
 
lmao
 
seriously, without context that video is just creepy and weird
even with context it's still kinda strange
 
Been going on for over 3 hours, they're aiming for 4 years
 
6:20 PM
future historians will be wondering who 'he' is and what great fear this cult had of him
 
He who waits behind the wall
He comes
Fuck, Trump is Zalgo
 
Haha brilliant
 
In honor of the Inauguration of President Trump, here are archive images of Washington, D.C., from space.… https://twitter.com/i/web/status/822496824657317889
 
6:23 PM
Though we stole it from the Chinese
 
Politics aside, Trump's sons are just ugly as fuck
 
@rlemon my apartment might be visible on that map
 
\o/
 
@ndugger That smug, gurning cunt of a smile.
 
I can't imagine growing up with those twats. Ugh, I just shudder thinking about it
 
6:27 PM
im crying
 
goat tea
haha I'm dying
 
can I have index.html come from disk cache?
just getting 304
I see the cache-control in the request, but how can I control that :\
 
what web server?
 
express
 
misinformative maybe, but funny
 
I don't serve static files with express, so not 100% familiar. but you can set headers there. Also the static middlewhere has a setHeaders() option
 
 
she needs an evil mustache for that shot
@Mosho express tatic middleware has a maxAge property that sets the header for oyu
 
which is what I did
hence max-age is set to 1 year
 
ohh, i missed that
 
6:40 PM
@SterlingArcher Oh man I felt that ding on the swing
 
wait till the fireworks xD
 
@Mosho is NODE_ENV production
 
nope
 
do that
> The NODE_ENV environment variable specifies the environment in which an application is running (usually, development or production). One of the simplest things you can do to improve performance is to set NODE_ENV to “production.”

Setting NODE_ENV to “production” makes Express:

Cache view templates.
 
hmmmmmm
 
6:42 PM
@SterlingArcher jesus christ
cue the law suit
 
I think he wants the browser to never even make a request, though
instead of making a request and getting a 304
 
echo 'alias please=sudo' >> .bashrc Chivalry ain't dead.
 
@rlemon they have quite a gathering now
 
have for a while
they have two channels (at least) with like 2 mil subs + each or something
 
6:48 PM
Are we talking about the same thing?
 
no
ohh you're talking about the cult video
 
yeah haha
 
god I can't watch that
 
Now I wanna see it
 
the NBC stream got interesting tho
 
6:55 PM
> Reason will prevail!
 
damnit. they forgot the lettuce on my sandwich. TRUMP!
 
Lol
 
are they filming that on a potato?
 
an xbox one to be exact
with a kinect
 
6:58 PM
@towc corn
 
good point
 
That protest is almost directly outside my old office
 
There is only one good point, and that is (0,0,0)
 
ewww
you mean (\sz.z,\sz.z,\sz.z)?
wait, I forgot how to represent lists...
oh right
 
in this case you don't want a list, you want a tuple
 
6:59 PM
 
oh fuck, I feel like I should know this
 
you define tuples by defining how to get the various components, right?
 
So I think that would be \f.f (\sz.z) (\sz.z) (\sz.z)
@towc <a b c> = \f.f a b c
 
oh lol
right
I'm dumb
 
7:01 PM
A list is a 2-tuple containing the head and the tail
 
@BenFortune O__o
 
wait wait wait actually
oh no I got it
 
!!s/list/your mom/
 
@Luggage A your mom is a 2-tuple containing the head and the tail (source)
 
damnit I still haven't mapped a key to lambda
I'll get it done at some point
 
7:09 PM
posted on January 20, 2017 by Axel Rauschmayer

In this blog post, you’ll learn: How a proposed “spec mode” for Babel makes transpiled ES modules more spec-compliant. That will help with preparing for native ES modules. How ES modules and CommonJS modules will interoperate on Node.js. How far along ES module support is on browsers and Node.js. Transpiling ES modules to CommonJS via Babel At the moment, the main way to use ES modules on

 
One little question guys. What do you call the elements in a programming languages that have a block?
for example if, loops, functions, classes
 
@Asperger blocks
 
I mean the technical term that groups those types together
 
thingys!
 
xD I know its a silly question, I just wasnt sure lol
 
7:12 PM
@Asperger blocks
 
I thought blocks at first but then again block refers to just the {...}
 
it kind of does
 
but since you guys say so
 
There's no technical grouping of everything that can contain a block
 
so can I just say blocks? (Im working on an IDE thats why im asking)
 
7:14 PM
That depends what you mean
 
I mean things like: void method() {} , class {}, if {}. Everything that isnt an expression?
the identifiers + name + {}
 
What are you doing that requires all those things be in one category?
 
Nothing special, I just want to group them, its not really required though. Just my autism making life complicated since I always have to categorize everything
 
Inauguration be like
user image
2
 
if only he accepted science to that degree
 
7:25 PM
Its unfortunate that democracy died, already before trump. Its only getting worst with the planned "ministry of truth" which is officially planned by media associations since a while now
 
...
 
 
Need to add +4 to that.
 
while I enjoy the memes, he's president. get over it. I don't like him, I don't like the other choice either. but I can see how it's becoming a conflict with users. can't we all just get along?
 
maybe, maybe not
 
7:27 PM
get over it especially if he isn't your president yeesh.
 
@Loktar he's your president, ok, get over it
:D
how's grapple hero coming along?
 
He is my president you're right
 
@Loktar in fairness, if the USA wants to present itself as the most powerful nation in the world, and POTUS as the most powerful man in the world, I can understand how other nations are looking at this with opinions and interest
 
I had to take a break from GH today for the inauguration :P
 
excuses
 
7:28 PM
I blame china
 
anyone got a better stream of the protests than NBC? it's so shitty quality of video
 
He is just a puppet...nearly all politicians are.
 
He's actually J. Doe in disguise
 
@rlemon its a bit unfortunate, I just saw the images. I wonder where our democracy is heading
 
it'l still be here tmorrow
 
7:32 PM
^
 
where'd all the hats go? 0.o
I'm living under a rock
 
Winter bash?
That was over weeks ago
 
^
 
whereas I don't like him, I agree with @SterlingArcher on the stance that I'm rooting that he does a good job because I have many american friends and ties with the country. only time will tell
 
The protests are really saddening.
Violent protests do nothing but give the govt a reason to suppress the protestors by more aggressive means.
 
7:34 PM
surprisingly, there's still no bang
 
@Abhishrek the flashbangs and pepperspray guns are something I've never seen live
 
Meh
 
has trump mentioned anything about policies with canadia?
 
wait.. shit.. does he know we have oil?
😉
 
maple syrup is the new oil
 
7:35 PM
i mean, he has exon
 
wait, do you actually have oil?
 
@towc No, because Trudeau already secretly is building a wall of poutine and maple syrup.
 
@towc Canada has a lot of oil, yea
it's controversy here, because fracking
 
Canada has a shit ton of oil.
 
As I mentioned that
 
7:36 PM
Whats your favorite JS testing tool?
 
A browser
 
chrome
 
console.log
 
^
 
@jake Monitor
 
7:37 PM
jquery
 
I mean like automated testing.
 
@Abhishrek He's gonna go from joking with you and being friendly, to nuking your ass back to the stone age.
 
@jake Indians
4
 
@jake cambodian children
 
@KendallFrey omg
@jake I've found mocha and chai very good, they are actually testing framework
 
7:38 PM
Javscript pls
 
Would this be a valid selector? .main:not(.disabled):hover
 
looks okay
 
Do guys hate testing tools?
 
No, I love my browser
 
@KendallFrey out of context, you might get > 10k stars :P
 
7:39 PM
guys in general?
or just those here
 
here
 
@jake we don't
but in JS land you have many
 
@Abhishrek so one for every 100,000
 
yep, number of people working with computers ;) that make it to stack overflow.
 
production is the best test environment.
 
7:40 PM
@Abhishrek I have seen as much today
 
@jake try with Chai / Mocha
 
@rlemon It does detect every production-breaking bug
 
i dont' have a favorite
 
also have a look at bluebirdjs babeljs.org
 
@KendallFrey free user-testing
call it a 'beta version' and let them opt in
 
7:41 PM
and other JS projects
I haven't tried AVAJS but have heard great things about it.
 
@rlemon I am just coming from there, now tasked with looking into automated testing.
 
go with the unit test lib that has the most stars on github
 
github stars are almost as prestigious as SO chat stars
 
7:43 PM
@KendallFrey so, very
@KendallFrey NASA in the 60's. i.redd.it/qr5sknv18vay.jpg proof it is all fake
 
hahaha
 
see figure a) the pool
 
I was going to go with ava but I read the angular mocks break it.
 
!!google JAKE Js testing
Is cap dead?
 
google hasn't worked in like a year dude
you've known this
 
7:47 PM
What does that do?
 
I haven't been in here for past 6 months, and you didn't notice that D: ?
!!welcome jake
 
@jake 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.
 
its a bot ;)
 
!!help
 
@jake Information on interacting with me can be found at this page
 
7:49 PM
someone wanna help me understand how I can make this a proper OOP extend of jquery with an init method that's also callable vial the onchange
 
just nuked some chicken for 10 minutes
not bad
feeling like a master chef
 
i'd like to do something like $('select').dynaselect(options)
@Mosho enjoy the ecoli :P
 
microwaving is safer than most forms of cooking actually
 
@Mosho doesnt the chicken take on a wierd rubber texture though
 
And can power a spacecraft by breaking the laws of physics
 
7:51 PM
Grab an electric pressure cooker, set & forget
 
you just don't understand those physics.
 
anyone wanna take a stab @ my issue?
 
feels fine to me
 
shut up! the em drive works!
:I want to go to alpha centauri:
 
I wanna go somewhere depressing and live in a cave
 
7:52 PM
 
Canada?
 
bingo
 
@rlemon ISIS
 
ISIS is in Canada now?
 
no
afayk
 
7:53 PM
not a cave cave
a posh cave
 
a man cave
 
beards optional
 
I can be your beard
 
beards are only optional if you can't grow one
 
@rlemon First you need to be your own beard
 
7:54 PM
😬
you guys suck
I try
 
I'm practically covered in beard
 
ITS NOT MY FAULT IM PATCHY
 
technically it is isnt it?
 
Every time you use that word, I'm going to think of my brilliant joke
 
no, I blame god
he made me this way
 
7:55 PM
ah sweet i figured it out
would that be considered bad jquery or
 

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