« first day (1689 days earlier)      last day (3276 days later) » 

3:00 PM
> jQuery.makePage is a simple plugin that replaces the need to write any HTML that isn't referencing outside files.
 
@rlemon I think I'm going to be sick
 
heh I remember when he made that, it was actually cool for the time
 
I've created a Google+ community for the room talks. This way we can better schedule them and control when we would like to do our talks. plus.google.com/communities/118123346956343414180
9
@Zirak if you could add an event for your first talk, that would be peachy
 
user1596138
psh not getting a G+ profile
 
Don't you automatically have a g+ profile if you have gmail?
 
3:10 PM
@Cereal not xactly
 
user1596138
@Cereal nope
 
@rlemon Submitted join request
 
I need to do something about my g+ settings :/
 
3:13 PM
> the web/browser is dying.
 
ha!
 
Should I just stop reading here, or is it worth going on?
 
> Opinions expressed by Forbes Contributors are their own.
piece by Quora.
 
@Loktar best one so far.
 
@rlemon haha yeah man that one was awesome
 
3:14 PM
Actual, jedi, Shia Lebouf.
 
@corvid lol
 
@SterlingArcher cc ^ the video
 
@Loktar trolololol
 
user1596138
@corvid lmfao the article basically says the exact opposite of what we all say
 
@Loktar awesome way to promote yourself tho. 10 minutes in front of (probably his own personal) green screen and he's back in the spotlight for a few months.
 
user1596138
3:15 PM
I read > Java is the future
 
user1596138
Well... You're a little late
 
codepen.io/darkyen/pen/OVWdJv?editors=001 -- code review ? // depends if i will hire the person or not
 
@corvid 0
 
this is what i taught them at day #1 of work :-D
 
user1596138
@Abhishrek How are you in a hiring position lol
 
3:16 PM
@Jhawins MS-Ventures :P
 
@Abhishrek whitespace is bad, no null checks, parseInt without radix, reusing variables, all kinds of weird shit hardcoded. Simply put, no.
 
and by standing 3rd in Imagine Cup you get a bunch of more VCS intrested :P
@ssube lol
 
tons of repeated code
 
^ true dat
 
user1596138
@Abhishrek read: "I'm not"
 
3:17 PM
> if( checked === true ){
this.props.onComplete(this.props.taskInfo.id);
}
erm
 
@Abhishrek where are your proptypes and displayname?!
 
I wouldn't hire someone based on a pen like that.
 
user1596138
Don't fill people's heads with too many empty promises ;P
 
onChange={event => this.handleCheckboxChange(event)} :/
 
@Jhawins I can't here people in his room, atleast a few indians though :P
@BenFortune yeah thats unfortunately the way to do that in React 0.13 if you are following the ES 6 version
 
3:18 PM
oh nice catch @BenFortune
 
@Abhishrek code style is not consistent, jsx code formatting is terrible, data structures could be optimized, and everything @ssube said
 
Not sure how it works in React, wouldn't onChange={this.handleCheckboxChange} suffice?
 
user1596138
@BenFortune yeah...
 
reusing variables with names like value for multiple unrelated values is a definite sign that they have no discipline
 
@Jhawins What's wrong about it?
 
3:20 PM
this.state.task = {
  description: '',
  priority: 1,
  tags: []
};
Isn't that wrong too?
 
user1596138
Actually looking at the pen... That's using React for the bare minimum functionality?
 
Should be using this.setState
 
user1596138
@BenFortune yup
 
user1596138
React.Component{
  constructor(props){
    super(props);
    this.state = {
      task: {
        finished:false,
        description:'',
        priority:1,
        tags: []
      }
    }
  }
 
user1596138
There are functions for setting initial state and properties...
 
user1596138
3:22 PM
But then later on in the pen you set state properly.
 
I'm only just learning React myself, but I can see so many things wrong with that.
Unnecessary closures etc
 
@Abhishrek please tell me you weren't asking me to this todoapp
 
@BenFortune in 12 it would
@AwalGarg na uh :P
yours is completely different x)
 
Remind me never to ask for code reviews here
 
@Abhishrek relief
 
3:23 PM
@Abhishrek I'm using 0.13.x
 
@BenFortune are you using React.createClass?
 
@BenFortune if you use React.createClass it will work
 
@Cereal Write good code and it won't be a problem.
 
if you are extending React.Component it wont
 
yeah we use 0.13 as well, but createClass (which I def prefer)
 
3:24 PM
Does the context of this change with React.Component?
 
In simple terms it wont do the so-called hi-speed binding for you, automagically
you are supposed to use es6 for that
@Cereal the first time i asked, iirc raynos told me to change hobby or something.
i used to be a jQuery developer
 
@Abhishrek that's not a real thing
 
^ true story
 
@ssube facemonitor
why can you not understand sarcasm ?
 
@Abhishrek next you're going to claim to be a salesforce consultant
 
3:27 PM
or do i need to italics the jQuery developer part
 
user1596138
@Abhishrek looking at Component.... Why would you do it that way?
 
@Jhawins which component ?
 
user1596138
I'm asking out of genuine curiosity.
 
user1596138
Component.
 
Oh React.Component ?
 
user1596138
3:28 PM
Component vs createClass
 
@SterlingArcher link me your mysql+ promise code
 
user1596138
Yeah, it just looks a hell of a lot dirtier and doesn't do work for you
 
tnxs
 
user1596138
That's why i liked React so much, it handles a lot of that shit for you.
 
3:29 PM
@Loktar the flex at the end was amazing xD
 
@ssube Got it covered. Just don't ask me to prove it
 
@SterlingArcher yes
thanks.
just needed a ref.
 
My code is always beautiful right up until the specs change, I swear
 
user1596138
Better question: What is the point of that pen? What was the objective when the code was written relative to the way the code was written? Or is it just that you happened to follow the Component tutorial instead of createClass?
 
3:30 PM
To make a todo app using react :P and es6
 
@SterlingArcher Why no disposer? :P
 
@Jhawins I know how to use both, I personally prefer ES 6 way instead of .createClass for idk what reason
 
@BenFortune wat?
 
user1596138
@Abhishrek great for you!
 
@Abhishrek actually has a pretty good grasp of react and flux in general
 
user1596138
3:31 PM
1 min ago, by Jhawins
Better question: What is the point of that pen? What was the objective when the code was written relative to the way the code was written? Or is it just that you happened to follow the Component tutorial instead of createClass?
 
happy monday
 
Woah woah woah, hold on
 
@Abhishrek where is your flux repo?
 
user1596138
I'm asking why you used Component
 
You make the UI with react?
 
3:32 PM
@Loktar which one ?
 
Like.. all of it?
 
@Jhawins personal preference with the ES6 syntax
I also like to follow sebmeck's patterns
 
user1596138
And why you preferred this way over the other, because your code is much more complicated than it would need to be to achieve the same end result with createClass
 
user1596138
14 mins ago, by Ben Fortune
onChange={event => this.handleCheckboxChange(event)} :/
 
user1596138
This sucks lol
 
user1596138
3:33 PM
But yeah it's how you do it
 
@Abhishrek hmm I can't find it in your repos
 
user1596138
I wanna know what you are gaining in exchange for the sacrifice of having to do a lot more manually
 
but you made a todo app forever ago with vanilla flux
 
@Loktar oh the awwfood thing ?
 
yes!
 
user1596138
3:34 PM
Aside from using more ES6 arrows and looking all hipster
 
So I'm guessing createClass would let you do onChange={this.handleCheckboxChange}
 
that was a pretty good example.
 
xD its now a very injected demo of batuapay
 
@BenFortune yea
@Jhawins one day createclass will be gone
 
@Loktar lemme write a decent app with vanilla flux and react :-)
@Loktar the day might arrive soon :P
 
3:34 PM
they are pushing the es6 way pretty heavily.
 
user1596138
@BenFortune Yeah, there's no auto binding and no mixins with Component
 
user1596138
Psh
 
user1596138
Then I would bind things differently still
 
but then again calling .bind on constructor sounds stupid
@Jhawins enlighten me :-)
 
@Jhawins onChange={this.handleCheckBoxChange.bind(this)}
 
3:35 PM
yeah arrow functions are nice with the auto binding imo.
 
user1596138
@Shmiddty sure
 
@Loktar on that note, do you happen to use this ? github.com/banderson/generator-flux-react
 
@Abhishrek no, we use reflux
 
/ragequit ?
 
3:36 PM
why does shit break when shit goes production
shit
 
user1596138
@Abhishrek Eh, I see what's going on.
 
event=>this.handleCheckboxChange(event)
this.handleCheckBoxChange.bind(this)
 
fucking shit mysql deadlocks and stupid methods not routing where they should >.<
 
user1596138
Now stop pretend hiring people :P It hurts their feelings in the end
 
arg im gonna pull my hair out
 
3:37 PM
@Jhawins na - uh I really am, but only indians.
 
user1596138
Get yourself a job first lol
 
@Jhawins I do -_-
 
user1596138
Or did you start working somewhere?
 
@Jhawins facedesk
 
3:38 PM
you missed like last 8 months
 
user1596138
/me google's face desk
 
user1596138
I sure did!
 
Jesus whats with all the negativity
@Abhishrek just asked for some feedback
not your view on his life choices.
he is doing it correctly with the es6 classes
 
user1596138
lol I'm not saying he's doing it wrong?
 
3:40 PM
@Jhawins well in short, snapick pooped (couldnt find enough seed) -- gave up i got a job, then participated again in imagine cup after building a payment portal that works only for india (like paypal -- but targetted more to india). Won #3 in Imagine cup got a bunch of media attention and MS Ventures too and is in bizspark now and has a seed by Intuit bangalore incubator
 
if you two throw down make sure someone has a camera on it :D
 
@Abhishrek Don't forget propTypes and displayName
 
@Shmiddty haha I said that as well
 
haha
 
Lemme write code myself xD, then i will share for code-review then you guys can shoot me :-)
 
user1596138
3:41 PM
I'm eluding to the whole wasting dozens and dozens of hours of my life "helping" with something that was made up and didn't ever exist.
 
@Abhishrek I thought you specifically asked for a code review
 
user1596138
Which I have the right to bitch about :P. Don't go wasting other people's time, that's what I said. And I mean it.
 
25 mins ago, by Abhishrek
http://codepen.io/darkyen/pen/OVWdJv?editors=001 -- code review ? // depends if i will hire the person or not
 
user1596138
I have no problem with his current shit lol. Just holding a small grudge
 
@Jhawins don't review the code if you feel it is a waste of your time
 
3:42 PM
ah well thats an entirely different thing @Jhawins now I guess I understand where the anger is coming from
just seemed really out of place otherwise
 
user1596138
@rlemon Nah it's not about today :P.
 
user1596138
Yeah it is pretty out of place... Eh. It was a weird weekend I had too much time to myself lol
 
@Loktar I'm still lost... Should I not be using React.createClass?
 
@BenFortune eh no I would for sure (we do still here)
 
user1596138
Anyway, so yeah what's up with createClass?
 
3:43 PM
but its good to know the es6 way they are targeting
they said in the foreseeable future they have no plans to deprecate it
but... I imagine it will happen at some point
 
9 mins ago, by Loktar
@Jhawins one day createclass will be gone
xD
 
@Jhawins in simple terms react team is pushing a lil bit tooo hard on es6, and might aswell drop .createClass
 
@BenFortune I definitely think that will happen
 
Screw it, if it happens then I'll have some refactoring to do
 
so theres is that, plus i like the high order components pattern by sebmeck
 
3:44 PM
just not in the short term, but yeah what @Abhishrek said, they are really heavy on es6
 
createClass seems to make more sense to use though.
Even though I'm already using ES6
 
yeah lol same here, main reason we are using createClass is we have a lot of mixins being used from reflux
I considered going the full es6 route.. but didn't want to get too crazy
 
user1596138
I'm sure the old versions will still work just fine
 
user1596138
@Loktar dude this would be a huge rewrite if they remove createClass
 
user1596138
Haha
 
3:47 PM
am learning servlets 2.5 running on tomcat 6, so coming to javascript stuff, the presentation logic will go under WebContent/abc.html file of my DynamicWEbProjectwith javascript code within. Is that correct?
 
haha yea
 
!!s/servlets 2.5 running on tomcat 6/2003/
 
@ssube am learning 2003, so coming to javascript stuff, the presentation logic will go under WebContent/abc.html file of my DynamicWEbProjectwith javascript code within. Is that correct? (source)
 
is tomcat 6 even maintained?
Java 6 and 7 certainly aren't
 
3:50 PM
you're not maintained.
 
it's amazing what a simple application restart will fix
 
I communicate with jsp from servlet saying: this.getServletContext().getRequestDispatcher("/output.jsp").forward(request, response); How would I communicate with html(with javascript) sitting in WebContent from servlets? Is it the same call?
 
that's why I use a huge app pool and restart after every request
serve favicon.ico? restart.
 
@FlorianMargaine That sounds insane
Sounds a bit like the free heroku dynos
 
3:56 PM
blogs.windows.com/bloggingwindows/2015/06/01/… < Does this measn we get holo lenses in summer too ?
 
how can I create a private chat system with firebase, linked with instagram account?
 
> Will be launched in the same timeframe as windows 10
 
$(firebase).privateChatSystem({linkTo: 'instagram'});
That's kind of a big question. Of the "how do I make an app" variety.
 
@Luggage i bet hes trying that code.
 

« first day (1689 days earlier)      last day (3276 days later) »