« first day (2869 days earlier)      last day (2078 days later) » 

12:02 AM
reddit.com/r/WatchPeopleDieInside/comments/99r8k1/… I am a horrible person for liking this
 
no
it can't be real, as the comments point out
there is way too much slapstick humor there
 
12:32 AM
Phew I feel re-deemded
 
I have held a boob stick and that seems literally impossible to me
 
who the fuck drinks 2 lattes and a smoothie in one day
 
that picture isn't accurate
like 2 orange juices I drink at least 3
 
What
 
I don't even have a jamaba juice :( where I live
 
12:42 AM
How do you drink that much orange juice
 
2 lattes is a joke
 
Why would you drink that much orange juice
 
oh I like juice a lot
I drink it out of the carton sometimes
grape juice also really good
I don't recommend it
 
That's disgusting
 
its just juice
I mean sugar and whatever is in fruits
 
12:44 AM
Do you put vodka in it
 
no just juice
I haven't had vodka
vOv no idea if that's good
 
You haven't had vodka?
 
no
 
Are you 21?
 
the only alcohol I have had was a bud light once
yeah over 21
 
12:45 AM
You should go buy a bottle of vodka
 
naah
I mean maybe someday
but its not really my thing
 
I mean if the only thing you've had is a bud light, I wouldn't blame you for not liking alcohol
But you gotta try something other than that
 
meeh
 
these go down easy for everyone
so long as you like banana
 
Dude buy a bottle of sobieski and mix it with orange juice
 
12:47 AM
I love bananan
 
you can get them without alcohol, but you need to sub the coconut
it's not a strong coconut
but it makes a difference
 
I go to our local smoothie place and just ask for banana smoothies
 
next time add grenadine and a small amount of coconut milk
 
One time in college when I was under 21
 
you won't regret it
 
12:48 AM
The only alcohol I had was a bottle of malibu
 
the OJ is optional imo
 
I can still taste it
 
I wasn't interested much in alcohol until I was in my late 20s
 
yeah I never moved out of my parents house for college
 
Fun fact you cannot get drunk off of malibu
 
12:49 AM
well university
it kinda screwed up having parties and drinking
why not
does malibu just taste bad
 
It's pretty low abv and pretty high cbv
coconut by volume
It really doesn't taste that bad but it's just a gross sickly coconut flavor
 
you hear the harvard professor blame saying coconut butter isn't healthy
its going to make my mother really angry
if I told here that
I really wish laptops had vga in ports
or hdmi really anything
just straight to the screen
I looked up your terms abv cbv
 
Hello friends!
William did u solve ur pi problem?
 
pi problem? Which one?
ahh that was somebody else I think
I mean maybe I was using trig to calculate tilt on values in a table
 
cbv isnt a real term
abv is alcohol by volume
 
12:57 AM
yeah I gave up on cbv
when it didn't come up on google
 
I said coconut by volume right below it
 
Rpi
 
lol yeah I am not reading
@ex080 now I am really confused pi or rpi?
 
U said u were trying to use senergy with ur Rpi
remember
 
@ex080 oh I linked to that article
I don't own a Rpi
 
12:59 AM
oh ok
but did u solve it
 
it just showed bluetooth in that
oh well hmm I got another step down
 
What's up @Meredith
 
I have the command on my other computer
 
I was supposed to go work out by there's a storm rn so I'm waiting it out
 
but basically I extract the ip address to by the mac address
 
1:00 AM
work this late?
 
Yeah
 
@Meredith 3rd shift
 
cool
 
?
 
Do u guys like ice cream bars?
 
1:01 AM
work out
 
I was supposed to go work out, by there's a storm rn so I'm waiting it out
not
I was supposed to go work, out by there's a storm rn so I'm waiting it out
 
Oh I typed by instead of but
 
damn I can't read
 
My bad
 
Anyways I had a dove bar today and it was good
 
1:02 AM
Have you ever had a choco taco?
 
I haven't left the house all day
 
Yes
 
I love choco tacos
 
@ex080 ice cream bars are okay but frankly I prefer frozen mango
 
@william is that a thing?
Like diced frozen mango?
 
1:03 AM
yeah at traders joeys
 
oh I live in a shitty part of town near uni
 
Trader joes baby bananas are my favorite
 
there is no trader joe here
 
@Meredith the chocolate covered ones
 
and i probably couldn't afford it anyway
 
1:04 AM
No
 
oh I like the chocolate covered ones
frozen also
 
I h8 banana
Ok I gotta go read research papers
!!afk
 
anyone else use slack?
It seems like I have to add the address/chat on every one of my devices
seems rather stupid
 
Yeah slack is weird
I'm not really a fan
 
It seems just barely better then IRC
with history support
my art class is really stupid
I am angry I couldn't take the other one
stupid time conflict
 
1:15 AM
I think discord is literally irc with a fancy ui
I'm assuming slack is too
 
who knows maybe
I doubt it
probably JSON
lo[l
@Meredith did you try something us before abilify
 
Yeah idr everything though
This would've been like 10 years ago
 
what irc client do u guys use?
 
1:31 AM
I used CIRC for a long time
 
slack is very much irc with a fancy ui
discord's main target was voice when playing games
the chat aspect was just low hanging fruit i think
although people are doing interesting things with it, like i've been getting back into wow and it seems the main sources of raiding information are now discord channels
 
@rlemon what do u use now?
 
discord
 
they just use stickied posts as their resources
 
Anyone doing natural language processing?
this isn't a JS question, just wondering
 
1:58 AM
@ex080 natural language processing for what?
 
Sentiment Analysis
 
does discord have chat history
no never down natural language processing really.
 
u can scroll up
 
@ex080 what do you want to know?
 
@Rick nothing in particular I was just wondering if anyone else has done stuff like that.
I think the applications are super cool
politics
finance
 
2:16 AM
It depends mostly on the objective. but It's basically machine learning.
 
Have u had experience?
 
ya, but mostly personal projects.
 
What did you use as your input?
Im thinking twitter
 
I used books
 
electronic?
 
2:22 AM
I think they did a ML twitter bot, and after 4chan got involved it was tweeting anti semitic vitrol
 
Twitter would have taken too long to set up. Not worth the effort if you are more interested in the math and algorithms. ya, huge text files
Books like novels are also better because you can do things like word clouds.
 
@rlemon yeah microsoft made it
@Rick I'm using it for financial markets indication
 
have you guys watched the eric andre show
 
twitter seems like a bunch of garbage statements. Very little context and not very much thought. for financial markets indication, you might want to focus on statistics and not so much twitter or opinions.
 
when breaking a project into multiple files i see multiple different ways. Is there currently any consensus on which is the best way?
 
2:34 AM
Basic high school statistics would probably give you a heads up over the competition. You would be surprised how low tech many companies are.
 
Oh im not investing it's for a project for class
the class is on ml
I was gonna do politics but someone took it
@MoonEater916 you mean like importing files?
 
@ex080 ya, i am breaking appart my code into things like input.js and render.js
and dialog.js which needs both input.js and render.js to build interactive dialog objects
Normally i would just include it as a library, but javascript doesn't seem to support this?
 
If it's in the browser
 
I use require if I'm doing node and importwhen im doing other JS browser stuff
 
Use browserify or webpack
 
2:42 AM
I want some coffee
 
I always crave caffeine at night
 
its moments like this that makes javascript irrating...
 
I think at some point I started associating tiredness with "I need caffeine" instead of "I need sleep"
 
rebound sleep really isn't a thing
so be careful drinking to much coffee
stay awake for a week you might get 14 hours of rebound sleep
but not much
 
@MoonEater916 what exactly are you asking? Do you want to know how to break one big JS file into smaller files?
 
2:47 AM
@ex080 in other languages you can build libraries and just pull things you need from them to make code cleaner and simpler... however as far as i can see java-script doesn't just have a "include" function for browsers.
they have alot of workarounds
 
That's the browser's fault
Every file you make needs to be sent to the client
So either send a bunch of files or concatenate them
 
meeh I don't think the browser did that bad of a job
look at vbscript
even worse
 
Hi!
I have a question about Webpack and Browser console
 
Yes me 2!
 
While in development mode I want to have access to the apps variables
Rather than specifying globals all for them one by one
Is there a quick solution?
 
2:53 AM
@Meredith you mean "<script src="client/Input.js"</script>"?
just stack them to heaven?
 
Sure
 
but no way to get one .js to communicate with another .js?
 
They all have access to each other
 
oh... ordering...
yes...
i see now
 
Yeah
 
3:06 AM
I put cold OJ in tea.
and it tastes really good
 
3:27 AM
...
i don't believe you
 
4:02 AM
 
 
1 hour later…
5:25 AM
what's with the RSS feeds
Also I have a feeling you guys never turn off your comps
 
we live in different timezones.
Someone goes offline.. there is someone else
 
we live in a society
 
Oh I know, I mean the people that are in my timezone or +-1 hour
@David don't we all
:)
 
Can two people with experience unit testing do me a favor? I answered the OP's question and even created a pull request implementing the solution but never got a response and the bounty is about to expire. If it looks good will you upvote? If I can get two upvotes in the next hour at least I'll get half the bounty
 
5:41 AM
I dont think its a good idea asking for upvotes here.. People will vote if they come across your answer and find it useful
Maybe this should be added to room rules? 🤔
 
fair enough, it's just annoying when someone puts a bounty on a question and then just lets it expire
 
Asking for upvotes is always dangerous because usually people just downvote instead
not many people on atm though so maybe it's safer?
 
lol, I guess there's always that risk :)
no worries, I'll let it expire. It's not a big deal, just annoying to put effort into an answer and never hear anything back
 
Is it possible to do something like const ExportDefault, { namedExport } = require('./some/nodejs/folder')? Since I can't use ES6 imports in node v8.9
nvm
 
6:02 AM
Is the module you're importing from an ES6 module?
You can do something like this:

const m = require('./some/nodejs/folder');
const ExportDefault = m.default, { namedExport } = m;
 
6:25 AM
Has anyone here heard of Wordless for WP? Use Pug, Sass, etc.. for WP
 
6:40 AM
@jsonGPPD Usually that's preceded by a question
 
@Alesana cool but I think the motto should rather be, stop using wp like its 1998
 
lol
 
:P yeah I am against WP
I'm trying to modernize my teams work tools - but they're against moving from WP.. so I'm trying to find a medium :P
 
7:03 AM
I'm wondering if there's a tool I can use that checks html for certain things before deploying, such as all images have alt tags, there is schema on every page, no html errors, have robots.txt, etc...
 
7:40 AM
@Alesana You mean a linter?
 
@BenFortune I feel like I should have known that haha
 
8:05 AM
I just want to make sure I'm not wrong here, please correct me if I am. Is the function value returned by an enclosing function called closure or the enclosing function itself? (I believe the inner function is the closure since it's the one that closes(freezes) the local variables of its wrapping function)
I understand the concept of closure, I just want to know which one is the one called closure.
 
As far as I use it
I call "closure" the function and the variables that it refers "around" the function, as you said more or less
 
"refers around" sounds complicated!
Not a native I am though. Thanks.
 
8:32 AM
not a native either ;) . Anyway the "freeze" word doesn't seem right to me. I hope you don't mean "it keeps some xerox copy of the variables". The local variables of the wrapping function can be changed by other means than inside the inner function.
But yeah, closure means basically that the inner function "keeps a reference" to the wrapping function's variable, if they are used in the inner function.
 
@Narnia "Closure" is the concept
It's the concept of an inner scope having access to variables from an outer scope, even though that outer scope should have ended.
 
8:48 AM
@Pac0 Thank you Pac. I like the word "freeze" I've learned it from here: eloquentjavascript.net/2nd_edition/03_functions.html
I don't know what is xerox copy
@MadaraUchiha Ah... Thank you. Now I see.
 
@Narnia It's worth saying that the variable isn't frozen, one of the biggest powers of a closure is that the inner function can read and modify variables from outside of the scope
function makeCounter() {
  let i = 0;
  return function() {
    return i++; // returns i from the outside, and then increase it
  }
}

const counter = makeCounter();

console.log(counter()); // 0
console.log(counter()); // 1
console.log(counter()); // 2
// ...
counter in this case is the internal function returned from makeCounter, and the numbers you get is the same i, increasing every time you call counter().
 
Yes this example shows "freeze" isn't a precise word. I just checked the 3rd edition of the book and it's removed there as well :)
@MadaraUchiha Sorry for asking but is this sentence complete?? (...is that the inner function and...)
 
@Narnia Yes, although I did have a typo
The first "and" should be "can"
 
I guessed :)
Thanks
 
🎉
 
9:14 AM
is document.cookie always defined? if so, could someone post a link to the spec that says it'll always be defined?
okay nvm, i found the spec, but mdn says the spec is out of date?
 
You can just check for it?
 
Yeah, you can't just read a spec and assume it'll always be defined, since different browsers implement different specs
 
in React, I have this configuration: <input onChange={this.setPath(this.value)}/> but I get undefined because this refers to the app class parenting it. I would like to pass the value of the input tag as a parameter to its onChange callback, I couldn't work out how to word it simply enough so Mr. Google would understand, maybe someone here can help?
 
@Cerbrus i know. i was more curious about the spec part of things
 
Even if the spec says X, browsers may still do Y.
 
9:28 AM
anyone know react?
 
just ask..
 
I did, noone's answering
 
@Cerbrus, i know, i was just interested in what the spec says, i'm aware that different browsers implement different things differently
gold star for alliteration
 
There is no MCVE in your query @JacobSchneider but I am guessing you need to use arrow or bind...
 
Okay, i'll try bind, because i've heard of it, but, what is arrow? is it a function?
 
Oh those, Yeah, i've heard of those
or library
I thought that arrow might have been some super awesome new API
i mean library
 
10:25 AM
a Australian with the german flag as avatar... interesting :)
 
10:37 AM
I was born in germany, but moved to australia when I was 9
still proud of my heritage, Germany is cool, they got good food
and, it s n o w s there
if you saw my last comment, apparently there are skiresorts in india. i didn't know that.
anyway, anyone got an answer on my React question?
 
11:04 AM
Anyone heard of sketchapp.com ?
 
yep
nvm, nup
it looks cool
what sucks, it only runs on mac
PC OWNED THE MASTERRACE!!! WHY U DIE???
in React, I have this configuration: <input onChange={this.setPath(this.value)}/> but I get undefined because this refers to the app class parenting it. I would like to pass the value of the input tag as a parameter to its onChange callback, I couldn't work out how to word it simply enough so Mr. Google would understand, maybe someone here can help?
 
11:36 AM
repost
 
@JacobSchneider what sketchapp ?
 
Sketchapp looks cool, yeah
but, no support for windows!
 
 
2 hours later…
1:40 PM
anyone here?
 
its weekend
 
Can I get an opinion on this function? I want to generate a tree by calling this function starting with an empty object for tree and repeatedly calling it with a whole bunch of paths (arrays of strings) but I'm not certain it always works:
 
Lol, good luck finding people in this shithole anymore
 
function GenTree(tree, path){
    for(var i = 0; i < path.length; i++){
        tree = tree[path[i]] = tree[path[i]] || {};
    }
}
 
You want to call it recursively?
 
1:48 PM
Iteratively
 
> tree = tree[path[i]]
so you're obliterating the tree each iteration?
 
This kind of thing: var tree={};GenTree(tree,["path","to","something"]);GenTree(tree,["path","to","somet‌​hingelse"]);
 
274
Q: Does Javascript pass by reference?

J AnyDoes Javascript pass by references or pass by values? Here is an example from Javascript: The Good Parts. I am very confused about my parameter for the rectangle function. It is actually undefined, and redefined inside the function. There are no original reference. If I remove it from the functio...

 
OBLITERATE, ALL TEH THINGS!
happy friday y'all
 
@BenFortune Ta, should've thought to look up the obvious
 
2:42 PM
I just saw someone making an ajax GET request with with some data passed along with it. How does that work? Is the data passed as query format?
 
yes
 
3:10 PM
posted on August 24, 2018 by CommitStrip

 
Any idea why my sinon mocked time doesn't avoid 'jwt not active' jsonwebtoken.verify error?
 
3:34 PM
@TravisWhite what are you trying to even do?
 
Unit test express middleware
The middleware verifies an azure active directory v1 token
 
@RyanCameron Actually, it's also possible to pass data in the body of a get request. careful with what you do with this information. gloryofsatan.jpg
 
3:55 PM
When pandora says your out of skips
document.getElementById("mediaelement_30").currentTime = document.getElementById("mediaelement_30").duration;
 
the skip protection is all client side? guess it would be semi complicated to make it server side
 

« first day (2869 days earlier)      last day (2078 days later) »