« first day (2245 days earlier)      last day (2707 days later) » 

12:01 PM
@KendallFrey only your mom would be enjoyed while having physical contact with google's datacenter
 
user3119231
o/
 
hey guys I want to redirect traffic to different machines (ips) based on some value in header
is it possible by nginx?
haven't been able to find some after
some google searches
 
didn't know Jan Dvorak was a Haskell person
15
A: Tips for golfing in Haskell

LynnUse GHC 7.10 Jan Dvorak noted that you can only use language versions released before the challenge was made. The first version of GHC that contained this stuff was released on March 27, 2015. It's the latest version, and Prelude got some new additions that are useful for golfing: The (<$>) and (

 
user3119231
who's jan dvorak?
 
he's The Man (@JanDvorak)
and how do you even call a Haskell programmer? Nerd?
 
12:13 PM
@towc hipster
 
fair enough
but like, people who use Haskell must be the "clever" guys
the guys who program for the sake of programming rather than to actually solve problems
which can either be sad or really awesome I guess
 
It's called academia
 
fair enough
 
user3119231
@towc you know that you are playing with the fire when you ping @JanDvorak
 
why
He's not pingable anymore.
 
user3119231
12:24 PM
who knows
 
12:40 PM
@rlemon This could be interesting lowrisc.org
Same guys that created the RPi
 
Looks basically the same as the pi, what's the difference?
 
This is just the SoC, the pi is a SoC on a board
Basically an ARM alternative, maybe not as powerful. Probably closer to arduino
 
Hey Ben
got a minute?
 
@towc it's only a different paradigm. You are used with procedural paradigm
haskel is functional. It took a while for me to adapt to haskell
I had to change my way of thinking
 
1:03 PM
OSX zsh & iTerm2 users
is there a decent looking light theme (preferrably white background) for it?
 
There's no such thing as a decent looking light theme
4
 
amen brother
@BenFortune neat, but price would be a big decider here
@SterlingArcher youtube.com/watch?v=NUC2EQvdzmY dat video doe
If you're trying to play with the bot, please do so in the sandbox
room topic changed to JavaScript: Topic: JavaScript, ECMAScript. Read this: javascriptroom.github.io/rules. Before asking inform yourself on the XY problem goo.gl/taIqf | devdocs.io Documentation™ Helps. Room meta discussions: github.com/JavaScriptRoom/culture [ecmascript] [ecmascript-6] [javascript] [nodejs] [typescript]
 
1:25 PM
Is anyone applying to jobs and actually using the Developer Story on SO?
 
I imagine it is useful for people who use Careers
 
why not using it.. it's pretty much just a shiny vita
 
mines pretty basic. and I'm not even sure I've got it marked public
 
What do you mean careers? The jobs posted on the site?
 
yes
the careers side of life (where they make money) is a recruitment platform tied into the network
 
1:30 PM
Ah well in that case the developer story could be helpful.
 
strikewithme.org, huh?
one unfortunate fat finger away from s/i/o/
 
1:46 PM
strokewothme?
 
@Zirak you're speaking at Feb 22 at JSIL? Cool.
 
morning everyone
 
Good afternoon sir
 
Good morning Everyone
 
1:52 PM
@DharmeshGoswami 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.
 
What's the topic?
 
You
 
Which one is better? Angular Js or React Js?
 
Can't really compare them, as they do different things.
 
I just had my first taste of Black Mirror last night, it was yummy.
 
1:56 PM
It's pretty great
 
imgur album of cool filming thingies
jesus
 
Some of my client force to use Angularjs because they thought currently Its latest and advanced. But some said Angular is dying so use React Js
 
Holy shit that tracking
 
@rlemon That's how they do it?! I thought the car was like cut in half in order to get the camera through. Dang that's cool.
 
So I am confused between them.
 
1:58 PM
@DharmeshGoswami Use whichever one meets your use case.
@AmericanSlime Why not just a camera on a pole
 
@BenFortune That's a good idea, seems like it would be easier to work with than a guy jumping through the window while holding the camera.
You could have a zip line and mount the camera to it.
 
should I use flow or typescript? Is there any real difference?
 
typescript is a programming language
 
Isn't it a superset of javascript? (that's how they market it at least)
 
2:12 PM
It's not
 
Typescript is a language that's transpiled to JavaScript.
 
2:29 PM
gosh, is there a way to make the HTML specs more fancier?
I'm @_@ after 15 mins
 
Like, the spec?
There's a developer version at WHATWG.
 
But JavaScript is also valid TypeScript isn't it?
 
@ivarni not all javascript, no
 
how do i use an already built amd module in webpack?
i'm a bit lost in the documentation
i would normally have just included the library and used require(['library'], library => { .. }) in the browser
 
Just add it as a dep and use it as you would?
 
2:39 PM
Argh.. my linux server has been crashing lately..
like need to reboot the whole thing.
I need an adult.
 
TBA
1
Q: Binded Progress Bar is lost when Kendo Tree List Expands

TBAI have bind a progress bar inside a Tree View as given. <script id="progressField" type="text/x-kendo-template"> #if(CurrentStatus == "Progress") {# <div class='progressDetails'></div> #} else...

 
@BenFortune do you mean in the webpack config with externals?
 
TBA
Can anyone please help me on it
 
@bitten Thinking about requirejs, whoops. Dunno
 
trying to use separate <script> tags form some resources?
 
2:42 PM
 
@bitten an amd module is compatible with webpack.
 
@Luggage the author built the module and published it on npm, so it lives in node_modules
i don't know if that's throwing webpack
@BenFortune that link helped though, it seems defining an amd field in the externals object is helping
it was in the comments
 
@TBA Why can't people even take the time to correctly indent their code blocks?
 
Didn't know if webpack supported amd, was going to suggest shimming next
 
@BenFortune i'm getting somewhere, but now babel is trying to parse it
so i've excluded it and i seem to have something!
 
2:49 PM
@BenFortune I posted it to ndugger, then sterling posted it to ndugger, now you're posting it to me
someone ping sterling with it and we're full circle
 
externals: { 'lib': { 'amd': 'lib', }, }, was it ^^
thanks
 
@rlemon Haha, I missed it.
 
Guys, is there an ES6 way to do obj[key] = (obj[key] || 0) + 1 (source)?
Well, a different way
 
@bitten I have to go do some work for a few. I can help with webpack in a bit.
or.. you have it solved?
 
Bought some earbuds, but one side is longer than the other, apparently so it can go around your neck. Not sure how I feel about this change.
 
2:53 PM
@AmericanSlime just cut it and tie it together to adjust the lengh
 
haha
I'm pretty sure it doesn't work like that.
 
How can you know until you try?
 
@Luggage i haven't tested it yet but it's compiled and brought in the library
it was.. reasonably painless but i don't want to jynx it before testing :p
 
@bitten yea, amd module in node_modules is 'normal' and should be fine.
well.. node on't like AMD< but it'll use UMD. webpack will use either
my guess is it's umd
 
@Luggage they talked about amd and i had to use amd like syntax before putting it into the build
 
2:56 PM
well, whatever. webpack don't give a damn.
 
yeah :p
 
guys I am help vamping too much :|
 
We know.
 
Still a better love story than Twilight.
 
@corvid we tolerate you because you at least understand most of the answers to your vamping.
 
That's cool, didn't know you can search transcripts.
 
yeah and I try to at least provide some kind of code sample so it's not... unbearable...?
 
2:59 PM
Frequent but mild vamping. :)
 
Very polite vampire
 
in Teenage Territory, Oct 14 at 11:49, by little pootis
Like how do I kill myself if I fail to do it?
 
So edgy
 
Let's not go there.
 
3:01 PM
We need a mascot for this room.
 
Why not? Python room has cabbage guy from avatar
 
We have one. ^^
 
Also, our other mascot
 
Wait, is the angry unicorn really the mascot?
 
3:03 PM
Yes
 
I should probably read the rules.
 
Ya thunk?
 
it's giving me "moment_with_locales missing moment" in the console @Luggage
i'm not using moment but i guess the lib is
 
give me 5
 
user3119231
3:05 PM
@Luggage This shit gets me everytime
 
k :)
the file size is pretty much the same so i don't think it's stripping it out
 
i mean.. i have no answer for you.. but i'll maybe be able to help you look in 5 minutes, if your googling doen't solve it.
 
@rlemon That's what true happiness looks like.
 
3:06 PM
@Loktar @BenFortune @GNi33
 
you know one thing that actual kind of sucks about react is passing a property deep down the tree (without context)
Dashboard => Chat => ChatMessage => ChatMedia => ChatVideo, gotta pass the property down to all of them
 
@corvid yeah that's true
 
my god.... @SterlingArcher @Zirak "new" tv show to watch. Assy McGee
 
but why not just use context?
 
> Assy McGee is an animated sitcom featuring police detective Assy McGee, a parody of tough-guy cop characters, who is a walking pair of buttocks.
 
3:08 PM
 
This sounds like a job for TV Tropes!
 
i found a Christmas present for my gf ^^
 
OH FUCK I GOTTA GET A CHRISTMAS PRESENT FOR STEPH OH CRAP
 
😂
 
I wish giving money was acceptable as a gift.
 
3:10 PM
 
Nothing is more practical than money!
 
@SterlingArcher ^^
 
I've never dated somebody during the holidays what's not an acceptable christmas present?
 
lmao
 
@bitten Because I want the component to be re-usable; the Chat component is not necessarily rendered in dashboard
 
3:10 PM
She loves Rick & Morty though
 
@SterlingArcher dickinabox
 
@SterlingArcher potatoes
 
@SterlingArcher Gimp suit
Wait, no
 
@SterlingArcher get her the plushies I bought
 
AIDS?
 
3:10 PM
top kek
@rlemon omg Mr. Meeseeks?
 
@SterlingArcher awhhh the best character
actually no mr poopy butthole is
OHH WEE
 
@SterlingArcher Something you got last year but didn't want
Bonus points if it's food.
 
it's from Dan Harmon too
 
Omg @bitten @rlemon i'm getting her both
 
aw
jealous
i wanna be your girlfriend
 
Holly's getting a new computer, a new desk chair, and art supplies
 
Can't I just put money in a box and wrap it?
 
@AmericanSlime Make it rain
 
3:13 PM
@AmericanSlime you put it in a card, btw
 
@AmericanSlime put a box wrapped in money
 
if you want to make it socially acceptable
 
@rlemon lmao yeah I'm not going overboard.
 
or be funny and awkward and yeah put it in a box
 
3:14 PM
@bitten I forgot about a card...good idea.
 
LOL
ninja'd
 
@SterlingArcher Imma punch you in the ovaries.
 
/r/hailcorporate and all but society6 are doing free shipping today
and Hila from h3h3 has her shop up on there
more gift ideas
the triggered one is so great
 
not mah eggs D:
 
3:18 PM
until they get triggered
 
@SterlingArcher 6 years brah
every year you gotta out-do the last
 
I thought it was 7 going on 8 now
 
6 going on 7
 
Because 7 is the "legally married" stage
 
20% of my life has been with Holly
 
3:19 PM
@SterlingArcher What were you supposed to do last night?
 
@rlemon Time for a change. :)
 
@SterlingArcher is ok
 
@Trasiva is the right answer "work when I got home and get drunk at the same time"?
Because that's what I did because I got really pissed off
 
@SterlingArcher You dumb son of a bitch. We talked about that.
 
Today I'm in a "fuck it" mood :)
 
3:20 PM
When you leave work, leave it all at work.
 
The hangover won't let me be stressed today haha
 
@SterlingArcher don't stare too long to the screen or i would think that you want to fuck it
 
Then that's your fault for stopping.
 
@BenFortune holy...
 
Haha I'm scared the cumulative hangover would literally kill me
 
3:22 PM
what would be the expected behavior of this code? Each iteration would run "concurrently" with the last iteration (that is to say, not wait for the last), but within the for, it will await each action before continuing to the next one?
async componentDidMount() {
    const { viewerProgress: viewers } = this.state;

    for (const viewer of viewers) {
      await this.startSessionForUser(viewer);
      console.log('User started session');
    }
  }
 
@BenjaminGruenbaum "how do" is worse
:D
 
gfycat.com/AggravatingDentalAmericanwarmblood I'm not sure which is more impressive. opening a beer can like that with your teeth or doing a backflip in thong sandals.
 
"how" is even worse
 
@SterlingArcher Pussy, seven years of drinking and the hangover hasn't killed me yet.
 
3:26 PM
I've never had a hangover puke in my entire life shockingly enough
 
just stop getting hangovers
 
My hangover is typically just a short headache and massive confusion
 
So I have a 10-second hangover every time I wake up?
 
right around the corner from me 😒
 
@BenFortune sorry to hear it
 
3:28 PM
hooray my touch is in canada now
 
@SterlingArcher That's why a smart man drinks plenty of fluids before and after. Gatorade spiked with two shots of vodka with some tylenol on the bedstand for in the morning.
 
How are we sure you didn't do it @BenFortune
 
@SterlingArcher i found it was in the middle of the night pukes, i have never puked in the morning
 
Saw them all pull up on my way to dinner,
 
Gah, fucking bugs in my fucking AoC code
 
3:29 PM
@SterlingArcher You don't 😉
That makes no sense, English is hard
 
creepypasta.jpeg
 
nobody puts the e in jpeg anymore
 
@SterlingArcher scp-wiki.net
 
!!giphy jaypeg
 
3:31 PM
fuck yes
@rlemon you like Mastodon right?
 
sure
 
Still one of my favourite songs
 
How can you go that hard sitting at a desk?
 
@TristanWiley what
@AmericanSlime stand
 
@AmericanSlime kek
 
3:33 PM
I'm full tilt full time
 
uhm
to listen to submit event, i have to hook the event with 'submit' to the form right ?
 
lmao @rlemon the video for The Motherload has twerking in it and I don't know why... the song is savage xD
 
eg form.addEventListener('submit', validate);?
 
3:38 PM
<form onsubmit="myFunction()">
 
@AmericanSlime noooo
 
Lol
 
@rlemon wat
 
you pinged me on hangouts?
 
Oh, yeah
 
3:41 PM
lol
 
I'm smashing my head on my keyboard... again
 
there are better ways of generating random data
 
@rlemon He's also the butt of every joke.
 
3:42 PM
I don't actually need random data :P
 
Yes you do, don't lie.
 
@BenFortune yea, that's so terrible ... :goes back to code: <form onSubmit={ _ => this.props.formSubmitHandler()}>
 
you all don't answer me :-(
well ... i'm ready for checking the docs
 
@KarelG because your assumption was correct
 
ah. Well, that means the problem is somewhere else. It doesn't stop the submit :/ back to debugging with console.log mess
 
3:45 PM
Has anyone done the Advent of Code for today?
 
you need to cancel the event in the listener
the event will still propagate normally otherwise
 
@bitten solve your issue?
 
i've used event.preventDefault()
 
@rlemon So...I just had to write a debouncer for our Bing Maps stuff....my boss thought it was complete and total witchcraft.
 
do i have to use stopPropagation() ? o.O
 
3:45 PM
@Luggage nope :l
 
@KarelG shouldn't but try it
 
that's the library?
 
@Zirak @FlorianMargaine lwn.net/Articles/706703
 
@KarelG You're passing the event in right?
 
@Luggage conversejs.org
i went through the shimming modules doc but nothing really worked
 
3:46 PM
any errors when you installed it form npm.. like missing peer dependencies?
 
@AmericanSlime i might have lost my ability to associate (which slowly returns), i'm not that dumb :-)
 
if i import converse from './node_modules/converse.js/dist/converse.js'; console.log(converse) it takes me to an odd place in the code
 
not that i remember, i'll try again
 
God dammit they're so talented. I think 3 of them sing
 
3:47 PM
@bitten That doesn't look right
 
I collect guy fieri gifs
2
 
@bitten should jsut be import converse from 'converse.js'
 
@Luggage well it's already built, i read that they are just using npm so you can use npm to track version control
 
where in the docs do they say it's in npm?
 
3:49 PM
"main": "main.js", but that file doesn't exist lol
 
yea.. was about to check that.
some people don't know how to use npm
 
@Luggage i can't remember, but they build using a makefile
 
Does it default to index.js if it can't find it?
 
it might
 
Nvm, there's no index.js either
 
3:51 PM
i have no idea why it's on npm, i could store in in my assets folder that's no problem
then after this then add, commit, and npm publish
 
give me a minute, installing it to see for myself.
 
what they are doing seems very strange to me, but i don't mind using the require syntax in my file if i can tell webpack to handle it all correctly
alright, appreciate it
 
ok, i am where you are.
so.. ye.. they don't know hwo to use npm.
 
"hi webpack this file is using require.js already, so pls be okay with it and bundle it but let me somehow import it"
that's me if i could talk to webpack
 
they list moment as a devDependency, their "main" is wrong..
 
3:55 PM
@Luggage haha it's like free hosting man
 
I wouldn't use it on the grounds that the developers are clueless.
but.. we can probably fix it..
 
at least it moves vc outside of the browser
@BenFortune then closed 2 days later?
 
@bitten Probably for not replying.
 
3:58 PM
@Luggage haha i would like to do that
 

« first day (2245 days earlier)      last day (2707 days later) »