« first day (2079 days earlier)      last day (2860 days later) » 
00:00 - 14:0014:00 - 00:00

12:15 AM
I got exactly 1k rep1!!!1
Dangit. Got an upvote
 
@AndrewL. Not any more :D
 
I cry. :(
 
there there, you are back to 1.000 again ^^
 
Nooo
Nevermind, I don't like 1k ;)))))
Haha
<3
 
Wait till they run the cleanup script past midnight, removing all serial upvotes oO
 
12:23 AM
:((
 
To those who claim the human eye can only see 30 fps, you're idiots. I was playing iRacing with my Rift, and it was running at 70 fps instead of the usual 90. It felt terrible.
 
I see 60 clear as night n day
Even with an eye at 20/300
 
@VeronicaDeane So you are not human.
 
Very good point
Wouldn't be surprised at all
 
"The eye of an Octopus has a flicker fusion frequency of 70/sec in brightlight"
Did you play in brightlight?
I am seeing myself out...
 
12:27 AM
flicker fusion rate isn't relevant
 
 
3 hours later…
3:18 AM
@Loktar was expecting unexpected jihad
 
lol
 
Also, Ted has an interesting definition of "never"
 
3:41 AM
hey guys I have a really weird request
icarly.wikia.com/wiki/Derf I'm trying to find a UTF8 codepoint for that character, but so far this is the only one remotely close I can find: ㇃ => \u31C3. Can anyone find a closer match?
just highlight me if anyone finds something, I gotta go
 
4:23 AM
@VeronicaDeane Cruhad is scarier
 
Don't have time to finish, but just docked. Cont. tomorrow
this.state = "Zzzz";
 
4:51 AM
@VeronicaDeane don't objectify yourself!
Oh wait, I forgot you are kendall.
 
5:10 AM
Hey all
 
5:44 AM
Ponies
 
6:15 AM
Chickens
 
Pigs
 
Pootises
 
@phenomnomnominal Every time I say hey to my mom she says "hey is for horses"
 
What do gay horses eat?
 
Haaayyyy
 
6:28 AM
Horse dick.
 
Oh that is something
 
Is that a thing?
Sorry
I'm dumb.
 
ain't it just
 
Why would you eat an vital organ of the same species?
 
nutrients?
 
6:39 AM
classic male, "vital"
 
"Look for the Treasure in the Desert Sand" ~.~?
 
Fuckin hell. What's the difference between two editions of a college textbook published 3 years apart?
I feel like they rip you off because there aren't major differences
 
> Baked donkey dingdong proudly presented on a bed of crisp lettuce.
 
I'd definitely eat that
 
6:45 AM
@AndrewL. probably
 
Which message was that an answer to, the txtbook or the lettuce
 
to the textbook, I'm not much into the penis platters
 
I went to sleep this morning at 4:30 am.
 
Donkeys don't eat each other..other's nevermind
 
It's McGraw Hill. Feel like they rip you off every few years with a 'new and improved edition'
 
6:47 AM
I bet you could find free textbooks, I stopped buying books from my Uni on the 4th semester, was really no point in buying 600 page books for half semester courses
 
Yeah. That's what I'm trying to do
 
and ofc my Uni picked the most expensive university publishers in the world
 
I had to complete a CS introductory course where I learned Java. The book was hideous
It was literal cancer
 
omg McGraw Hill...
 
That was a bit ago.
~$270 for a book aww hell nah
~$100 for used and ~$30-50 for renting
Poots, 7 hours o' sleep is the magic number
@FilipDupanović The newer edition and the older edition have the same amount of pages and cover the same concepts, and are 99% identical.
.-.
Also the international versions drive me crazy and always come from india
 
6:54 AM
I don't think there's a difference, we had more than one edition of OS from Tannenbaum
 
International editions are basically scams. If you search for 'bargain textbooks' they give you an alternate version straight from india. They claim they don't change much but lots of things are 'different'
 
I bought the third edition of the minix book for under $2.
 
well, that's a bargain on a ~1000 page book
 
I bought the paperback edition of this for $5.. shop.oreilly.com/product/9780596806767.do
 
7:06 AM
stackoverflow.com/q/38025333/5647260 What the hell is this answer?
How? A $5 paperback that's 1k pages?
 
he bought a paperback for a different book
 
Oh
How do you get such low prices?
 
@AndrewL. ahh, the golden age, of disabled right clicks, snowflakes, marquee
 
I bought the Minix book for ₹100 ($1.47).
 
What currency is that? Rupees?
 
7:08 AM
@AndrewL. Bought from a book store that doesn't know how much these books are worth.
@AndrewL. yeah
 
Link me please
If these prices are that legendary I will rethink my perspective on india
 
hold on there, the magic price tags don't work on everything
 
Also I officially do not anyone in british gov after david cameron left
 
you can get Half-Life for ₹100, but it'll only work in India :P
 
7:10 AM
Yeah. I'm sad. Textbooks are hard to get ahold of at a low price
Haha. Episode 1?
 
Half-Life 2... ok not ₹100, but ₹300 tops
 
Ahh. I've had that in my steam lib for quite some time. Haven't played since 2014.
 
Games and electronics are considerably more expensive here.
 
Because US
I'd kill for a textbook which is new or in great condition for ~$50
 
well, you have Amazon which ships used books, so lucky you!
 
7:13 AM
The book I'm looking at is sitting at $80
For an acceptable used
 
we only had a small window of opportunity to buy off the books from seniors
 
@AndrewL. I can buy 60 of them for that price here.
 
The books in my colleges library are all old.
Where @littlepootis ?
 
If you're buying a few books, ask someone from India to buy them from used book store (or a new one) and then ship them to you.
I haven't shipped to US in a while.
 
They had Jon Skeets book though. Pretty solid book.
You live in india @littlepootis ?
 
7:16 AM
Yep
 
oh, TIL Skeet is an author of several books
 
Oh really, which others
 
must remember this in case I, or shit otherwise, takes a wrong turn and I end up on .NET
here's his author page on Amazon amazon.com/Jon-Skeet/e/B001JP0M8K
 
lol, a few peeps are selling at that price
 
Nevermind. I can't read
 
7:19 AM
time for your 7.0 dose xD
 
> $0.01 + $3.99 shipping
 
Haha
The problem is india usually doesn't have the US edition for textbooks.
 
Often the only difference between "US edition" and "Indian subcontinent edition" is the paper quality.
It's still pretty good.
 
I've seen 'international editions' that have totally different contents and chapters. They sometimes even teachh the entirely oppostie thing
Geez it's getting late/early. I better get some sleep.
Bye y'all
 
Publishers like O'Reilly and Pearson reduce costs by printing them in India.
@AndrewL. Bye, night.
@AndrewL. Haha. McGraw-Hill?
 
7:23 AM
nn Andrew o/
 
 
1 hour later…
8:44 AM
(:
 
What's everybody working on?
 
 
1 hour later…
10:15 AM
hey @BenjaminGruenbaum! I have a small problem for you :P
if it helps with the motivation @VeronicaDeane couldn't really solve it
here it is:
 
> find all integer a,b,c for which a * rt(2) - b = c * rt(3)
 
I know that it only works with a,b,c=0
root
square root
 
so a * sqrt(2) - b = c * sqrt(3) ?
 
10:16 AM
but can't prove why
yeah
 
Oh, they have to be integers?
It's fairly easy to prove.
 
I mean, the problem instinctively seems to be with irrational operations with rationals not returning rationals unless the rational is 0
but can't formalize it
yeah
 
Ok, first of all, do you know how to prove that sqrt(2) is not a rational number?
 
yeah
 
The rational numbers are closed under division (by anything but zero), multiplication, addition and subtraction.
So you realize why there are no integers a,b,c where you can perform arithmetic between them and get sqrt(2) right?
(realize -> can prove that)
Similarly, you know how to prove that sqrt(3) isn't rational, right? (Just take the proof for sqrt(2) and replace the 2s with 3s).
 
10:19 AM
hi all
 
Now, prove it for the case b = 0.
 
yeah @BenjaminGruenbaum, but you are working with two irrational numbers, so... can't prove that you can't use any rational transforms on sqrt(2) to get sqrt(3)
which is the problem
 
Oh, I see where your trouble is, let's solve it for a * sqrt(2) = c * sqrt(3) - and you'll take it from there?
 
i need a small help where date of birth calculation starts from 1900
 
I get it, a/c = sqrt(2)/sqrt(3), sure
 
10:21 AM
If c is zero then a must be zero and it's fine, otherwise c is not zero and we divide both sides by c and sqrt(2)
 
currently what i am doing is 365*115 years
 
which can't be possible because sqrt(2)/sqrt(3) is not rational while a/c must be
 
Quick question (10 second job for someone who knows) --- looking for Firebase Angular documentation --- firebase.com/docs/web/libraries/angular/guide (can only find legacy docs)
 
but you didn't acount for the b
 
but that is not dynamic
 
10:21 AM
And indeed get a/c = sqrt(2) / sqrt(3) = sqrt(2/3) now just prove the same way that sqrt(2/3) is not a rational number.
 
each and every time I need to change the date
 
Well, for zero value of a or c the proof is trivial, right? @towc
 
but that still doesn't put b into consideration
@BenjaminGruenbaum definitely
 
how can we solve this any idea suggestion
 
So let's assume a and c are not zero.
 
10:23 AM
and neither is b
 
I'm trying to figure out how to say this without vector spaces.
 
go ahead and use them :P Something new to learn about is always good
but why vector spaces and not simple groups?
 
Now, we agree that a * sqrt(2) + b * sqrt(3) is never zero, right? (The sqrt(2/3) proof)
 
any suggestion for my quesstion
 
@Mahadevan if your working with dates momentjs.com/docs/#/manipulating
 
10:24 AM
@BenjaminGruenbaum given a and b are nonzero
 
i don't want to use any third party
 
(this is called an independent linear system with the basis sqrt(2) sqrt(3) and 1)
 
a or b
 
thanks @FilipDupanović
 
@BenjaminGruenbaum something to google
 
10:24 AM
but i don't want to use third party plugin for this
 
@towc cool, so for every non-zero a and b we get a * sqrt(2) != c * sqrt(3)
 
oh, right, nvm
yup, agree
 
now, a * sqrt(2) + c * sqrt(3) is still an irrational number, right?
 
@Mahadevan what do you want to do exactly?
 
with nonzero a or c, agreed
 
10:26 AM
(assume by contradition it's not, then it's equal to some rational d and then show it directly with the same proof you'd use for sqrt(2))
 
ok, get to the point :P
 
@Mahadevan given someone's DOB, compute years since 1900?
 
If it's not a rational number, then neither is a * sqrt(2) + c * sqrt(3) + b (again, formally show by assuming by contradition)
@Mahadevan new Date(your year)?
 
oh loool ofc, thanks
can't believe Kendall couldn't figure it out
 
new Date(1,1,1900)
 
10:27 AM
or me
 
let say for example if i am using 25/06/1901

in my current code i am getting cannot be before 1900
but if i am selecting 1903 in the year

then i am not getting any error
 
@towc kendall doesn't have any formal math education from what I know, this stuff isn't something you learn from being smart - only from doing these sort of exercises hundreds of times over and over. I recommend "Linear Algebra Done Right" by Axler and "Calculus" by Spivak if you want ot learn more.
 
ok, thanks
 
any time.
 
yeah, you did reccomend the second book before once or twice
and it was like a very good romance book :P
 
10:29 AM
@Mahadevan dates are actually really hard to get right, I hope you realize that, JavaScript native dates don't do what you describe and I think moment doesn't either. Honestly your best bet is probably to transpile a real date time library.
 
true
but need some customization in my fucntion let me try
 
lol
!!> var d = new Date(); d.setFullYear(00); d.toString();
 
:)
 
In Chrome that just logs junk, also - what happened to the bot. @Zirak @rlemon
 
@BenjaminGruenbaum "SyntaxError: missing ; before statement"
 
10:30 AM
Thanks
 
:)
 
@BenjaminGruenbaum "Sun Jun 25 0000 06:31:10 GMT-0400 (LMT)"
 
^ lol, firefox shitting the bed too.
@Mahadevan honestly I think what you're asking for will take months of development. Sorry for the lame answer.
 
why is that junk?
 
omg
 
10:32 AM
Because it says the year is 0000, and unless Jesus died a 115 years ago - that's not really great.
Just to give you an impression of how complicated this is stackoverflow.com/q/6841333/1348195
 
setFullYear(0) sets the year to 0...
I don't get why is that wrong..
!!> var d = new Date(); d.setFullYear(1900); d.toString();
 
Run it in Chrome and then in edge and awe
 
@towc "SyntaxError: expected expression, got '>'"
@towc "Mon Jun 25 1900 06:35:23 GMT-0400 (EST)"
 
oh right, edge is stupid...
 
is this possible in angularjs
 
10:37 AM
do it in vanilla JS if you can
or use a single-purpose library
no need to use the whole of angularJS
 
 
1 hour later…
11:55 AM
hi ppl
@AwalGarg hi
 
hey Victor o/
 
hey @FilipDupanović
haven't seen you :D
I have no idea how to build that redux thing for my app (if you remember my problem from the past few days)
 
I was skulking in the rear ^^
 
what's up? :D
 
IIRC, wasn't it something that wasn't directly related to Redux?
I have to run to the pijaca, brb in 10
 
12:07 PM
@FilipDupanović I want to integrate redux with my app
alright
@FilipDupanović ping me when you get back here
 
12:29 PM
@Victor how can I help?
 
well, I don't really know
 
Is my profile picture showing up ok? On mobile there's this gray bottom 1/2 for some reason
 
@AndrewL. looks alright
@FilipDupanović I don't remember what's your experience with redux
 
Weird. Might just be the mobile app
 
@Victor I think @ssube was helping you out; I'm out of touch for ages
 
12:38 PM
@ssube are you around? :D
 
I can help out with convincing you NOT to use Redux :P
but what are you stuck with @Victor? I can vaguely remember you mentioned something about inflating a couple of stores or what not
I can probably give a few pointers for managing state
 
@FilipDupanović what do you recommend instead of redux? IIRC there was a discussion here about this, but I kind of missed it
 
yeah, I think there were a few instances recently where others disclosed their displeasure with Redux
 
but what is a good alternative? (other than writing my own lib, cause I don't have time)
 
@Victor personally I use the context API facebook.github.io/react/docs/context.html; this.context has everything referenced on it that a view component would need to interact with the application
 
12:44 PM
@FilipDupanović but that has serious problems still
 
I expose event emitters or github.com/Reactive-Extensions/RxJS observables in the context
 
@MadaraUchiha, canonical bounty candidate? stackoverflow.com/q/34352140/3597276
 
@FilipDupanović well, ok. I might drop redux. and use some pseudo-redux of mine
 
there was some framework, mooxc, that others mentioned using, but I can't dig it out
 
@FilipDupanović should I pass the socket connection as a context prop?
 
12:53 PM
hmm, that's a good question
well, if you'd want to use the context API (with Redux or not), if the socket connection is something that is created and exists for the duration of the application (like a DB connection), then you might expose the raw socket (or some API wrapping it) through the context
 
I have an API for my configuration, yeah
 
and this would usually be bootstrapped when the root component of the application is being mounted; if that's not the case (you might intermittently open and close connections), then you'd probably want to push it deeper into the tree, to the higher-order component that would be responsible for managing the socket
IIRC, you mentioned that you were frustrated with how your sources are organized on disk, right @Victor?
 
I have started writing <LiveDataProvider /> 10 minutes ago
@FilipDupanović not really, no. I was frustrated with not knowing what reducers to write, how to split them, I mean
 
yeah, in that respect, Redux is a bit of a turnoff because you should really be at the liberty to pick how you manage application state (independently of your view/DOM)
and things would probably get really strange if your React component had to talk to a worker that split work between other workers, because if you were using Redux as a silver bullet you'd probably end up somewhere where you can't really make use of any of it's types and APIs
 
I'm sure this has been asked before but wbich should I learn Angular 2 or React. People on reddit made it seem like Angular was dying but I want to see another communities views
 
1:05 PM
@FilipDupanović, if I have <RenderSite /> which create child context { userInfo /*.. etc.*/ } and then create a <LiveDataProvider /> whose getChildContext returns { socket: /*...*/ }, and then nest them, will the context be a concatenated result of the two contexts or not?
 
Redux is terrible :D
 
@grasshopper if you want to wake up in a sand castle, pick Angular 2; if all you want is a shovel and a name to your person, pick React; if you still want a sand castle, but of a different kind, pick a framework that's designed alongside React
 
@grasshopper I'd consider react + mobx or Angular 2 before Redux, but React is generally just a library that does one thing well. It's more like handlebars or Angular2's templates than like Angular
 
^ @Victor mobx
 
@FilipDupanović Yeah, a bulb lit above my head as well :))
 
1:08 PM
So in no way is Angular dying?
 
@grasshopper what do you mean by dying?
 
3 mins ago, by Victor
@FilipDupanović, if I have <RenderSite /> which create child context { userInfo /*.. etc.*/ } and then create a <LiveDataProvider /> whose getChildContext returns { socket: /*...*/ }, and then nest them, will the context be a concatenated result of the two contexts or not?
 
@BenjaminGruenbaum guess becoming irrelevant or to some major degree is less relevant
 
@Victor yes, it's going to be composed for the children down the tree; the context is designed to be consumed identically to props
 
@grasshopper some people still use backbone or mootools or extjs. I would not say that things become dead very quickly.
You can happily write angular 1 for tens of years to come - that said, personally I think that would be a bad idea.
 
1:12 PM
I don't believe for a minute Angular is dying
 
Personally, I like React a lot since the DOM is in the JS and not vice versa and you get very clear errors. I also like MobX because it does dependency tracking much better.
 
yes, Angular 1 will become obsolete in the next 2 years, but Angular 2 seems to have some good stuff going for it
 
in that respect, Angular 1 is certainly dead, since Angular 2 has replaced it by design
 
Angular 2 and Angular 1 are completely different frameworks, Angular 1 became usable at 1.2, Angular 2 isn't close to usable yet IMO.
Angular 1 is not dead.
You can keep using angular 1 just fine - it has the same problems it had a while ago. We switched from it to React a year ago but that doesn't mean you should too.
 
Man its hard making a choice, part of me wants to stick with what I know.
But i feel like to grow i should take a shot at React
 
1:14 PM
It wouldn't hurt to learn React
 
Oh, it's important to learn all options regardless.
 
that would not be an unwise choice, though React has a more focused task than Angular 1/2
 
whether or not a framework is dying or here to stay, it will give you lots of insights in how to approach certain problems
 
By all means, when a new framework comes out give it a shot - you learn a lot by using other libraries frameworks and languages even if you don't end up writing with them.
 
Even if Angular died right now and everyone switched to something else I won't regret having spent 2.5 years working with it. It taught me all kinds of MVVM principles, and a lot of basic JS along the way
@BenjaminGruenbaum Exacty
 
1:15 PM
So from a learning perspective there is definitely no con to learning react
especially if i plan on being a developer for the long term.
 
Yeah, and it also takes like 2 minutes, want to learn React?
 
@grasshopper yup
 
In react, you construct your HTML (your DOM tree) using react elements instead of downright HTML. You have a React.render function that takes the output of that first function and renders it to an element.
 
@BenjaminGruenbaum Yeah!
 
Also, React is not a full framework like Angular is. It can do a lot less but it still can do very powerful stuff, just give it a try
 
1:17 PM
React.render(React.createElement("span"), document.getElementById("root"))
Because that syntax is terse, you use something called JSX that's a compile step - Babel and TypeScript both do this anyway:
 
see I don't like how "IN" the html is in the javascript
 
^ ok, it's a bit better now, since some helper methods were moved to their own respective packages
 
// same example, with JavaScript with jsx
React.render(<span></span>, document.getElementById("root"))
 
ReactDOM.render
 
You can create your own component by extending React.Component
 
1:18 PM
(or are they still bundling the addons?)
 
@FilipDupanović +1
 
class MyComponent extends React.Component {
  render() {
     return <span>Hello!</span>; // can also include other components here
  }
}
(There is also another syntax called functional components, and react vs. react-dom but that's not in the two minutes)
 
but what if I have a huge html page?
 
grats! 2 min
 
@grasshopper you break it into a lot of small components, components are like directive - you never have huge directives.
 
1:19 PM
@grasshopper the page is broken down into discrete components and you compose these into a tree, just like DOM elements
 
Now, components in React have two ways to get data - they have state (local data) and props (data passed to them - like function arguments).
class MyComponent extends React.Component {
  render() {
      // pass props as {x: 5} to MyOtherComponent created here
      return <MyOtherComponent x={5} />
  }
}
You have no special template syntax, you compose components with plain JS (.map for example) so you don't really need to learn any special syntax or tricks, only JSX with tags - it's really simple.
You compose multiple components to form your free and then render it, typically whenever a piece of data changes you .render the tree, if you change a .state of a component (this is done by .setState and should be done rarely) - it gets re-rendered.
 
so what will the MyComponent do with the X?
is it just an attribute?
 
If you access this.props.x inside it it will be 5, you can pass data and functions this way.
It's like attributes, but it's not strings - you can pass objects just fine.
 
(+ context, similar to props, but you compose the context a bit differently than prop data and you let React implicitly pass it to child components; this.context.x)
 
oh ok so its like the ng for angular?
 
1:22 PM
It's like passing attributes to a directive in Angular.
 
ok well what about DOM logic
 
That's really most of what there is to React, you make components, you pass them data with props or keep local data with state.
 
like ng-if
 
@grasshopper you use if, it's javascript:
 
oho
so I determine how it renders
 
1:24 PM
class MyOtherComponent extends React.Component {
 render() {
     if(this.props.x > 0) {
        return <span>{this.props.x}<MyOtherComponent x={this.props.x - 1} /></span>
     } else {
          return <span>Done</span>;
     }
  }
}
 
@BenjaminGruenbaum This is where I got stuck, since the sum of two irrationals isn't irrational in the general case, and I don't know enough to prove it for square roots
 
This for example will draw recursively the numbers from 5 to 1 when called in the other end from MyComponent.
@VeronicaDeane I suggested to towc that he proves it ad-hoc for sqrt(2/3) in this case. It can also be proven directly for square roots of prime numbers IIRC, can dig that up if you care.
(that is, that they are linearly independent)
 
sqrt(2)/sqrt(3) = sqrt(2/3) = irrational, that's easy. It's the addition that I can't handle.
 
ty, reading
 
1:27 PM
@BenjaminGruenbaum ok I'm loading up a yeoman template now
 
@VeronicaDeane oh, if they are nonzero then the result of their sum is irrational too - adding a rational number to an irrational one won't make it rational (prove that based on the fact the rationals are closed under addition - and you could subtract negative that number to get an irrational again).
 
gonna see how things look
 
@grasshopper I suggest a boilerplate and not that, and to do the free egghead.io stuff - but that's simple enough.
 
@BenjaminGruenbaum Yep, got that too
 
@grasshopper I also suggest taking a look at mobx with mobx-react, it's dead simple - has just two concepts - observable (might change) and observer (listens to changes) and everything works automatically.
 
1:28 PM
@BenjaminGruenbaum why not yeoman
 
yeoman is pretty worthless IMO, but if it works for you by all means have a blast with it
 
00:00 - 14:0014:00 - 00:00

« first day (2079 days earlier)      last day (2860 days later) »