« first day (1847 days earlier)      last day (3086 days later) » 

6:00 PM
@MadaraUchiha it was the correct answer
 
That's not the look of "my dad is lame" lol
It's more like "oh dad, come on now."
 
"Oh, you"
 
> "dad - you said if I came to the grammys I could meet Taylor Swift.. lets gooooo"
> "Taylor Swift is a fucking pussy, put on this eyeshadow and grab the goats blood"
 
that wife though, good for him
 
@SterlingArcher she's looking at him like she did on day 1
 
6:05 PM
lol #UnexepectedGymnastics
 
@SterlingArcher I'm gonna have to invoke phrasing on that one
 
@here Anyone use bootstrap here?
 
@KendallFrey apparently Terraria doesn't like ultra wide res i.imgur.com/KqoEM8D.jpg
 
Can anyone try to help me figure out why my tabs are actually going to the links instead of opening the tabs
 
6:06 PM
@KendallFrey that's not fair, I specifically added "on" so that it wouldnt come out like that
 
here is my hbs file:
    <div class="main-section main-section-left">
        <div class="row">
            <h1 class="col-xs-12">Hotel Amenities</h1>
        </div>
        <div class="row">
            <div class="col-xs-3">
                <ul class="nav nav-pills nav-stacked" data-tabs="tabs">
                  {{#each hotel.amenities}}
                    <li role="presentation" {{#if @first}}class="active"{{/if}}><a href="#{{id}}Amenity" aria-controls="{{id}}Amenity" data-toggle="tab">{{name}}</a></li>
                  {{/each}}
 
@SterlingArcher you used that word again
 
As soon as I click on one the URL changes to the href of the link
 
lol his almost censor
 
6:08 PM
@rlemon pure gold
 
> I dont' give a fuuu... uhh, shit..
 
@Neal iirc, you're just clicking links not invoking tab data
you shouldnt be using a href
 
@SterlingArcher Than what should I use? That is what the docs say to use
 
Are you preventing default anchor action?
 
@SterlingArcher No.
should I?
 
6:10 PM
yes, otherwise the <a> is just a normal link
 
@SterlingArcher I read that. I copied my html out of that
 
Hey @rlemon do you farm Lihzahrds? I tried making a Lihzahrd grinder and failed badly, due to the way they change shape.
 
did you try data-toggle instead of anchors?
 
@SterlingArcher ooo use data-target u mean?
one sec
 
@KendallFrey I have not.
 
6:11 PM
mmk
 
but again, this weekend I'm fixing my gaming pc
I can take a shot at it
 
>Activates a tab element and content container. Tab should have either a data-target or an href targeting a container node in the DOM. In the above examples, the tabs are the <a>s with data-toggle="tab" attributes.
 
@rlemon whats wrong with your computer?
 
@SterlingArcher data-target does not seem to be working
 
@Loktar still haven't recovered from the ssd failure
 
6:12 PM
toggle not target
 
been very productive in the meantime
 
I wish my boss would be understanding and know that if I was ripped beyond repair, I would work so much better.
 
@SterlingArcher No dice man
 
> ripped beyond repair
 
heh... as @KendallFrey would say phrasing
 
6:16 PM
@SterlingArcher blah I figured it out. it is a crappy part of our code base that does weird stuff.
it works not with href
 
@Loktar me? that's not my thing
 
lately it seems to have been.. unless for some reason I just happen to see most occurrences of you talking about phrasing.
 
your use of the word phrasing has gone up since October
 
6:19 PM
I did watch Archer recently
 
if you were a stock PHRA I would buy you
just sayin.
 
He's watched more Archer since then lol
@Loktar it's a shame we can't buy people anymore :(
(spoiler: that was a joke)
 
LOL
 
You can in Canada
 
I know there is a lol remember when they died joke in there somewhere
I just can't find it.
 
6:20 PM
Who would want to buy a french person?
 
I remember someone had an app that would take a word and show a nice pie-chart of usages of that word by chat user.
 
!!youtube this is the time nothing more
#throwbackfriday
 
To be technical, it's illegal to buy someone in Canada, but selling yourself is ok
 
@Retsam was in the HTML room and was bogus
 
6:21 PM
That makes no sense.
 
they only scraped like 2 weeks of history
 
it makes lots of dollars though
 
@rlemon Ah. It'd be cool to get that working better, to answer those sort of questions.
 
One Finger Death Punch is a fun game.
 
6:24 PM
sweet I'll check it out
@Retsam I agree
I also love the KungFury game which is really similiar
 
Hah, I saw Kung Fury, didn't realize there was a game.
Though there was one scene that really reminded me of OFDP, so I'm not surprised.
 
yeah I think its like 1.99 on Steam
 
my guess: not very
 
i don't get it either
 
crl
6:28 PM
In react, do you attach event handlers in componentDidMount or you put the methods in the dom?
 
in the render method usually
 
crl
hmm ok, (I have many things for DnD and didn't want to mix this logic with other template things)
 
like <element onClick={this.handleClick}>Something</element>
if not using createClass, just have to make sure to bind the event before hand, I do it in the constructor
 
crl
yes saw that
 
why are all these new frameworks making me use inline event handling :(
 
6:30 PM
@crl well react will need to know the order of the elements somehow, or else on a rerender it will just put them in the order it thinks they should be in
or you may get an invariant error
@SterlingArcher its not true inline events with react
 
Are they written in the HTML attribute? :(
 
> We'll take a deeper look under the hood soon but for those of you who can't wait, the short answer is that React uses event delegation and listens for events at the root of the application. React keeps track of which rendered nodes have listeners. The synthetic event system implements its own bubbling and calls the appropriate handlers.
^ random quote from a tutorial
@SterlingArcher no way
that would be terrible
 
crl
is componentDidMount reexecuted on each new render react decide to do? no I guess
 
@crl nope just when its initially mounted
 
crl
ok
 
6:32 PM
my main problem now is babel won't convert export default to modules.export, it's spitting out exports.default instead. How do I get babel to use modules.export?
 
> Invoked once, only on the client (not on the server), immediately after the initial rendering occurs. At this point in the lifecycle, you can access any refs to your children (e.g., to access the underlying DOM representation). The componentDidMount() method of child components is invoked before that of parent components.
 
So it's not like angular?
<div class="btn btn-primary submitBtn" ng-click="closeModel('filterModel'); openModel('cardModel');">Apply Fields</div>
Isn't that hideous?
 
user1596138
That's not how React is. That's just puke angular
 
<button data-reactid=".1.0.$=1$=012.$=12">Save</button>
 
user1596138
There is a reason it's dying haha
 
6:33 PM
I'm doing inline styles on purpose..
so ignore that
but thats a button which has events tied to it
and thats the generated markup
 
Dollar signs??
 
data-auto is also custom to us at work
so thats the rendered markup of a react component
     <button data-auto={this.props.dataAuto} onClick={this.handleClick} style={[styles.button, styles[this.props.type]]}>{this.props.children}</button>
thats the render method in react that creates the button above
 
user1596138
Such dynamicicity (new word)
 
this.props.children just means it will render anything thats a child of it so I can use the component like... <mybutton>Any random text<span>something cool</span></mybutton>
 
So the rendered output of react excludes these react handlers, but you still have to type them into your markup?
 
6:37 PM
if you want to handle events you need to tell them to
its declaritive
so its easy looking at the JSX to say, oh this does x on click, and this does y
react manages the events globally so in the end its pretty nice
 
That looks more like javascript than Java. — azurefrog 1 min ago
Oh man.
 
So what is the intended use of generator statements? Like what's a use case where they're necessary or convenient?
 
user1596138
@corvid hipsters
 
No no, by all means please keep going :D — Sterling Archer 20 secs ago
lol they're going at it
 
@corvid Search mdn, and look for the SO answer on python's yield statement
 
6:42 PM
@corvid Lazy generation of sequences
 
@corvid generating stuff
 
Can it be used as a callback function? Eg, if you're receiving messages and want to yield until reaching a specific message?
 
@corvid A generator as a callback? wat?
 
It can be used for the same thing as await, so you should look into await if you're interested in that
 
Indian curry for lucnh today; spicy as shit today
 
6:45 PM
!!s/as//
 
@rlemon Indian curry for lucnh today; spicy shit today (source)
 
yes, that too
 
socket.on('data', function* (data) {
  data.toString().split('\n').forEach(message => yield message);
});
something like that
 
No
 
6:48 PM
Look into observables
 
@corvid so, there's a place where they write down how you can and should do things
it's fascinating
I believe they call it "the spec"
@corvid you might try reading that
 
The spec is the least useful thing to read
 
@copy It's better than nothing.
 
W3schools is less useful to read than the spec.
 
6:55 PM
I'm liking Scam School's math puzzles
Given 1000lb of potatoes that are 99% water by weight, how much do they weigh total if water evaporates until they are 98% water by weight?
 
@JanDvorak idk man, those live demos are nice
 
crl
I hope events 'bubble' (upward/forward) the same way with react than with actual dom, else I've done things for nothing
 
This was great to wake up to: lots more Force Awakens footage: https://www.youtube.com/watch?v=SdAUiyeJMFQ&feature=youtu.be
 
@KendallFrey 0.98% less?
@SomeKittens sorry
 
haha
whenever I get a random ping from you I know it's Star Wars
 
crl
6:58 PM
Did Chinese made a copy of SW?
 
@rlemon so, 990.2lb? nope
 
pure guess
 
500 lb
 
@KendallFrey just looked up the answer, I would have gotten it eventually.
The potato paradox is a mathematical calculation that has a counter-intuitive result. The "paradox" involves dehydrating potatoes by a seemingly minuscule amount, and then calculating a change in mass which is larger than expected. == DescriptionEdit == The paradox has been described as: You have 100 lbs of potatoes, which are 99 percent water by weight. You let them dehydrate until they're 98 percent water. How much do they weigh now? The Universal Book of Mathematics states the problem as follows: Fred brings home 100 lbs of potatoes, which (being purely mathematical potatoes) consist of 99...
 
6:59 PM
@crl different trailer for different geo area
 
I remember the puzzle
 
youtube.com/watch?v=339k4XEvbxY I can't even jump this high...
 

« first day (1847 days earlier)      last day (3086 days later) »