« first day (2914 days earlier)      last day (2260 days later) » 

09:00
@TimCastelijns I did
where do you call it
I saw a dutch string just now bro
The second?
@TimCastelijns It was commented, was a test
android:onClick="@{handlers.fabClicked}"
Is where the second one is being called
activity_main.xml
is that the correct syntax
09:02
@ColdFire: I have a friend who has solar company, and he tells me that its very difficult to get govt projects. They have very difficult requirements which can mostly be fulfilled by big companies. Also, the fact that south has big solar project all to Adani (even when it was not involved in solar at all before that) makes me believe him.
Yes, because it worked on this method
when did it stop working
public void mainDashFabClicked(View view) {
    Toast.makeText(context, "Test Storage!", Toast.LENGTH_SHORT).show();
}
This method works with
@ZeekHuge do you expect the requirement to be cut so that your friend can get a project?
android:onClick="@{handlers.mainDashFabClicked}"
09:03
government project are always difficult to get
reliance was not involved in railways before and you know what the UPA government gave them mumbai and delhi metro project
you don't need a context reference btw. Activity is a context, you can just pass "this"
so if a company isnt in a field doesnt mean they will never get into that field
I know, you told me
But I tried and same outcome
solar is a good field for earning so ofcourse big companies are coming into it
It keeps telling me intent is null, but when debugging it is not
09:05
@ColdFire: He has demonstrated that his projects work and actually fulfill all the basic requirements. Adani had no experience of it at all. And we know that BJP has strong ties with Adani. I am not saying its bad. Overall its benefit to us (people). But .. just stating the fact.
how do you know bjp has strong ties with adani and congress does not?
maybe context is null?
reliance is not foolish to only have strong ties with one party
Neither
reliance is in bed with both
09:06
All objects have value
It is. Thats what the Rafal deal revolves around. Giving the project to a 3 months old ambani company.
It is = "reliance is in bed with both"
rafale controversy have absolutely no proof at all
i do not believe in thin air claims
also believing rahul gandhi lol not going to happen
congress doesnt have any other issue to attack so they are pushing this bs
i should add reliance took over a defense company and its not a 3 month company
also stupidly we are dragging france into this , this is going to bite us in the back
domestic politics shouldn't involve other countries
but expecting congress or rahul gandhi to understand it , is asking for a lot
I am pretty sure there are enough papers on this.
you mean news sources?
or government papers?
and tbh, I do not watch news, so I havent ever heard any congress person to speak on this.
no, like real paper-work
09:15
good guy news isnt worth watching anyway
I am talking based on what I discuss with people, and have read from some I-assume-to-be-reliable sources ..
i am just telling that big companies are going to get contract irrespective of whoever is in power
you can start by seeing the contract from 2004-14
there was heck a lot of contract given to reliance during that time too why is this a issue now if it wasnt a issue back then?
I compared the two methods while debugging
Watching all involved objects, they have the exact same values (except for ID's)
So there is 0 reason why it would crash
@ColdFire: I told you. As per my knowledge, it was a 3 month old company. It was difficult for me to believe that, because that would be a stupid "ghapla" even if they wanted to do so, but that's what I know as of now.
i already told you they took over a defense company
09:20
java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.ActivityThread$ApplicationThread android.app.ActivityThread.getApplicationThread()' on a null object reference
also 3 month or not is not really relevant , rafale choosed them as a offset partner
i am sure you know the offset agreement?
3 mins ago, by Cold Fire
also 3 month or not is not really relevant , rafale choosed them as a offset partner
I am sure, you havent read any "paper work" on that
and that was just told by yet another politician
pls enlighten me
the paper works you refer to
what is your context mw
What I mean is, you just told me not to believe a politician. And I am asking you, was that read by you somewhere reliable or was just said by a politician ?
coz, I remember hearing that some cabinet minister said that line
09:27
i have not quoted a politician i have said what i mean
if he said i am not aware i do not watch MSM
:44190925 ClickHandlers handlers = new ClickHandlers(MainActivity.this);
public ClickHandlers(Context context) {
    this.context = context;
}
but clickhandlers is an activity?
8 mins ago, by Cold Fire
also 3 month or not is not really relevant , rafale choosed them as a offset partner
whats the source for this ?
09:29
like following project
you cannot manually instantiate activities
hi Tim
print media read it yourself
cya
instantiate ?
09:29
Hi CF
public class ClickHandlers extends Activity
@MwBakker this does not work. use onCreate for initialize
Cf is there any reference project or 2 way databinding android.
But why does this one work?
public void mainDashFabClicked(View view) {
    Toast.makeText(context, "Test Storage!", Toast.LENGTH_SHORT).show();
}
And not the other?
because they don't do the same
09:31
2 mins ago, by Cold Fire
print media read it yourself
yet again.
anyway ..
@MwBakker you need this not context
AS takes too long to load after update.
what yet again?
"this"
is the same for you guys?
09:32
you are one to come up with a claim that all money is going to adani
and i am still waiting for some proof for that
Indexing takes longer than prev version
09:32
@bluetoothfx Did that, same error
btw Print Media and MSM are not same
I am going to try OnCreate()
may you please suggest me a sample
:'(
09:33
xD
OnCreate() added, same error
@TimCastelijns They both use context in order to perform something on it?
@TimCastelijns Yes, added that overriden method
did you remove the constructor?
09:34
No
Must I?
so much @ :/
Going to try this now
Crash at 'this'
hmm what is your issue mwb?
It's telling me 'this' is a null-ref
09:37
Saturday 6th October, 2018 https://t.co/Hm3yPyeizp
i was distracted didnt see any other chat
But while debugging the object 'this' is not null
Do you have an MCVE?
MCVE?
09:40
I'll try
If you can share a tiny example project that replicates this problem, it might be easier for someone else with nothing better to do to help
For example, me
Petition to make messages in this room at least 2 characters long
There, at least you guys look happy now
09:42
lol
So the thing is, I can have the .Onclick set in the MainActivity of course, and there it works
But it would be non-consistent since I want to perform binding on other elements too
"ClickHandlers handlers = new ClickHandlers(MainActivity.this);" this is wrong as I told you
new ClickHandlers(this) also does not work
Yeah, I don't follow that code at all
Or no constructor either
09:49
Why can't you just get the context from the view in onclick?
I tried your possibilites Tim
I just refered back to where it went wrong after testing your suggestions
@RaghavSood ?
I can
But I get the error showed in the gist
21 mins ago, by Tim Castelijns
you cannot manually instantiate activities
instantiate ?
Ill google that first
make an instance of
This doesn't work?
09:53
hmmm
Shit, I gotta go for a moment
Manager left already
Sorry
Brb
need javascript nerd
How do I shorten this, I don't like the if else branch
 const entityId = this.props.getEntityId(e);
        if (isChecked) {
            selection[entityId] = e;
        } else {
            delete selection[entityId];
        }
10:10
if (isChecked) selection[entityId] = e; else delete selection[entityId];
^ here you go xD
forgot headphones at home
i need music.
selection[entityId] = isChecked ? e : null;
2
Buy another pair of headphones. Leave one at office and one at home always
Repeat for laptop charger
@CptEric provides music
repeat for every fucking cable (lightning, microusb, typec)
already d that
i have like 3 headphones at home
right now
10:13
xD
I have only one broken usbc in office, forgot normal one at home
god bless wireless adb
i duct taped one broken usb and it works again
cant put null there
I AM STUPID
6
I HAVE BEEN LITERALLY STARING AT MY 3RD PAIR OF HEADPHONES FOR 4H and 15 MIN
THEY ARE ON MY SCREEN.
like, hanging off a corner of the screen
fucking stupid and fucking blind.
Eric you would have got more stars if you called yourself an idiot
!stars
10:17
 User       | Message (19671)                                  | Stars (50623) | Link
-------------------------------------------------------------------------------------
 McAdam331  | I'M AN IDIOT.                                    | 28            |
 Carl Ander | PUBLIC SERVICE ANNOUNCEMENT: If the word "fuck"  | 25            |
 Eenvincibl | So I am gonna have a son!                        | 24            |
 WarrenFait | ATTENTION: Who ever just mass starred here: If t | 22            |
 W0MP3R     | I develop in php, and i like it                  | 21            |
I'm gonna make the most starred message in universe
I"M AN IDIOT BECAUSE I DEVELOP IN PHP AND I LIKE IT ALSO I"M AN IDIOT BECAUSE I"M GONNA HAVE A SUN AND IF THE WORD "FUCK"
!stars
delete and null are not the same
try undefined then
also not the same
10:21
fuck js
are you mocking our hard-earned stars??
@MarkO'Sullivan so true
you can't reach the star board just by plagiarism...
```
const entityId = this.props.getEntityId(e);
delete selection[entityId];
if (isChecked)
selection[entityId] = e
```
Nov 2 '17 at 15:43, by W0MP3R
with my luck, i would fart and die in a explosion
yes
10:23
close enough, but i dont like that either
Hey guys, I invented a new word, it's called plagiarism
2
@WarrenFaith Let's find out
What don't you like about it?
There's only so much you can improve when working with JS
There's a fairly low upper limit on how nice your code can be
That sentence is out of context!!
we were talking about some P&P RPG
D:
Don't like that it always deletes
@W0MP3R lol context doesnt matter in starboard xD
I guess that is why it was starred in the first place xD
Nov 2 '17 at 15:46, by Tim Castelijns
could you draw us that image?
Tim xD
11:30
@RaghavSood Unfortunatly it did not
Same error
I have absolutely no idea why
I have no idea what you are trying to do
When you click that button, is your MainActivity still alive?
alive?
Has it finished?
No
It's going from main screen to the other
public void mainDashFabClicked(View view) {
    Toast.makeText(context, "Test Storage!", Toast.LENGTH_SHORT).show();
}
This method does work
11:37
I'm not sure how to really help unless you can package this whole thing into a tiny AS project that demonstrates it, your code snippets don't really convey what you're trying to do
It sounds like you have a context leak somewhere tbh
I'm trying to turn the above code in that gist to a bound button
In a ClickHandler class
12:16
1 message moved to Trash can
lol since when feeds show elections?
Lol somewhere in Trash "Java is better than C#" 4-stars
xD
o/ Maukerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
in Trash can, Dec 14 '16 at 2:38, by little pootis
java is shit
that is also in trash and 7 stars xD
CFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
12:31
should have used a caps F that small f looks bad
!alive
@MwBakker Online since 02-10-2018 12:33 (UTC). Running version 1.6.2 on master@6f501e7
Aha, I have combated terrible API design in such a nice and elegant fashion
You madde a wrapper, didn't you?
What happened to Zucc?
12:33
Only needed to write a custom JSON marshaler and unmarshaler, specify an entirely new type for block pointers, and mix pointer and value passes into a nice spaghetti
cries in go
2
Zucc was renamed to a boring name so it won't contribute to raising useless flags
lol
Who exactly flags a bot?
The navy
now this is a awesome answer^
@MwBakker apparently some people did that is why the name change
12:39
Hate to break this to you but simplifying macroeconomics and wealth distribution to chickens isn't really a good argument
You can come up with similar arguments for many scenarios
I found it quite spot on
Wealth is not measured by how much money / stuff you have, but what you do with it
I mean, I'm not disagreeing with the point it conveys. I'm pretty sure that approach to solving poverty won't work too well
But that analogy doesn't sit too well with me
As it stands, it's more apt for the question "If everything cost one dollar, and we gave everyone one dollar, would it solve poverty?"
@RaghavSood man he just gave a example you have to understand the motive not the example
12:42
In reality, an actual redistribution like that would result in people getting a lot more money than a dollar
@RaghavSood Talking about actual money creates inflation
It's entirely feasible to invest some of it, and spend some on immediate needs
Because money is purely built on trust
Unlike one chicken, which is either dead or alive
exactly its the points he conveying is important the chicken is just a analogy
12:42
While a chicken actually functions
The key difference is you can't do much with one dollar if everyone has it. You can do much with a chicken dispite others having one or not
replace one chicken with x dollars situation doesnt change much
Which is why he gave that example, I think
No, but you can do a lot with 100,000 dollars even if everyone has 100,000 dollars
But less and less the more people have it
if everyone has 100000$ inflation will make it worthless
12:43
Hence, the reason why 1% is so wealthy
the money itself will lose value massively
Same concept applies with if everyone had a 100 chickens
You could totally eat some and farm some
Yes but no matter the situation of the vualue of the chicken
As long as its alive, you can still eat
You can't eat money
12:45
Sure, I'm not arguing against that point
I'm just saying 1 chicken is an oversimplification
yes well for the audience it was required
if he took 100 chicken he had to take in little bit changes and things more complicated the more you introduce stuff
he just over simplified it for peeps
Set up a scene with forest, water and fish. Some will catch one fish a day to not starve
Other will use twigs to make tools for fish equip in order to catch more and feed the others
And you can use the fish as some sort of money
Either way, trading pricipes are always the same
Money is no more than "temporary stored labour / thinking value" is how I see it
Well, yes, that's why it's often described as a "store of value"
If you're lucky
Not so lucky if you live in Venezuela
12:49
lol
well too bad communism and socialism screwed them
poor folks
Not -just- that, they had some horrible leaders too
yeah that too
@RaghavSood exactly
and also over reliance on oil
I used to think Dubai would also drop because of overreliance
12:51
depends on if over reliance is actually a overreliance or perception
also luck
Then I put 20 liters in my gasoline tank and dream about cruising again
Cruising to work, but still
13:13
@RaghavSood So if I upload the project to git you will be able to see what I am trying to do?
Unless it's just the problem code, I'm probably not gonna have time to set up and run everything
I have to pick a fight with JSON that morphs depending on what the weather is here
No, unfortunatly there is no problem in the code
Nor in building
@MwBakker I know a stacktrace that begs to differ
If you can simplify your code to 2 activities + layout + minimal gradle that still shows the problem, I can take a look
?
Well that is kind
But unfortunatly meanwhile I got another problem
1 step forward 2 steps back
So there is nothing to show
May be have got repo and post a link here. I can take a look when I have time.
13:27
It looks like I have to throw the entire thing away and rebuild
Some binding classes were not generated automatically
It's horrible, but Android and binding are absolutely no friends as it looks like so far
I hate typing on mobile. I make so many typo errors!.
> Array of signer objects associated with this account. Since an account can have at most one signer object, this array must have only one element if present
Why is it an array then?!?!
^bad design
It's like these people read up on how to design a good RPC interface and did the exact opposite, but only sometimes
Brilliant, really
@RaghavSood where you see thart? :D
13:37
This is an API I wouldn't mind using JS for, the lack of strict typing would save a lot of time
Probably built by JS developers tbf
xD not by php ones?
BACK
FRONT
wait why are we discussing wether chickens are a valuable resource or not? ofcourse they are
13:49
No one said chickens weren't valuable
if everyone had atleast one chicken and one rooster, it would definately solve extreme poverty. and create a cereal shortage on the mid-span
Should make that the room motto
2
At one point they use a ViewModelProvider static class to pick VM's
And then a little down in the documentation they use a SharedViewModel class to pass data between
Why?
I can just pass data through the VMProvider class right?
nobody understands android docs anyway dont worry
13:52
Well here I seem to miss a complete motive
when have the android docs made sense or provide a fully working example?
it's not like they were paid for it by a macro corporation of billions of users.
holy shit android
yeah a android discussion
i know
I'm using kotlin's synthetic binding, and it works wonders... Except when I rotate the screen
why on earth is the view null?
synthetic binding sounds like 1970's scifi chatter
13:57
@tim any clue on this? ^
> i'll incorporate this syntethic binding into our ship's matrix so the preprocessor can engage the engine in full warp. ~ Captain Luke Van Spock
4
LOL
cries in rxjava
In activity or fragment. It shouldn't be null.
Activity
Here's the flow:

« first day (2914 days earlier)      last day (2260 days later) »