« first day (2931 days earlier)      last day (2014 days later) » 
00:00 - 14:0014:00 - 00:00

12:07 AM
Two working days gone trying to solve the gradle/jcenter/maven/android problem.....
There's tuns of people complaining projects broke overnight.....
https://stackoverflow.com/questions/tagged/android-gradle?sort=newest&pageSize=50
Heading out for today..... got to go sleep....... Maybe will solve it self overnight..... :joy:
 
 
6 hours later…
5:48 AM
Morning
 
6:06 AM
o/
 
6:31 AM
Gooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!! :D
 
7:04 AM
morning
 
\o
 
if i keep losing weight at this rate i might implode
 
Goddammit
I spent the last 15 minutes waiting for the oven to heat up
And turn out I only set the temperature dial, not the oven power dial
 
D:
 
@RaghavSood it's heatless.
 
7:25 AM
o/
 
Alright, food is in the oven, I can go back to doing useful stuff
 
what kind of food
 
Chicken, mushrooms, some pepper looking thing
My cooking strategy is essentially to throw a bunch of things into the oven and hope it doesn't catch fire
I'm very lazy
At least when it comes to food
 
@RaghavSood welcome to creative cooking
hands michelin star
NOT THIS RAMSAY
i fucking give up
 
Just not your day, huh?
 
7:35 AM
you get a chef oliver instead.
enjoy his awful accent and horrible paellas.
@RaghavSood print that on a mug
get rich af
 
can anyone help me with this ..
I am trying to find APIs by reverse-engineering an app. And I am getting a lot of "http://temuri.org/somethingSomething" . And I dont get it. What are they ? on googling about them, they look to be some name-space thing for microsoft development products. But then, what are they doing in the android app ?is it like a template for the APIs ? or what ?
 
you're the one reverse engineering it, not us.
what do they return?
 
That doesn't seem to be a functioning domain?
 
tempuri.org redirects to bing
 
Ah
That doesn't mean it is MS
It could just have a redirect to throw people like you off
 
7:47 AM
^
 
what browser do you use? It does not redirect to anything for me
 
Nah, it's MS
 
qouting wiki:
tempuri.org is the test default namespace URI used by Microsoft development products, like Visual Studio. It is available for XML Web services that are under development, but published XML Web services should use a more permanent namespace. Wikipedia
 
Registered via MM to MSFT
 
@TimCastelijns: firefox
 
7:47 AM
Can you share some examples of the actual URIs in the app?
 
sure
 
If they are using it for namespacing, they might be XML by products
Which would imply that their source is a MS library the app uses
 
"XML by products" didnt get that part
 
o/
 
Ah, hmm
It might be XML
You often set namespaces for XML schema
And since resource XML is compiled down to a binary, it could show up in binary searches
Then again, it shouldn't show up in that form
Unless the views are backed by Java code
 
7:52 AM
59 secs ago, by Raghav Sood
You often set namespaces for XML schema
like the "schema.android...." stuff ?
 
Yes
 
Indeed, it does look like a namespace
I see examples on SOAP APIs on weird sites
 
Yeah. And this file is inside the main package (with the company domain name), not inside any package related to MS.
 
Could be moved during compilation
What does the app do?
It's likely just consuming an API that was generated with MS stuff (visual studio, even) and didn't change the default namespacing
 
7:57 AM
The real question is, is this anything worth attention ? that is, can these be used as APIs ? but then who they might be using it ? coz, there is nothing relevant like "temuri.org" !
 
No, it's just namespacing
Namespacing only exists to avoid key etc. confusion between APIs
The actual API will be somewhere else
 
Cool. now the other questions : I still dont understand this namespacing thing for APIs. How is this helpful ?
And how does it work ?
 
morning, nerds
 
morning murat
 
morning EUrians and Bots
 
8:03 AM
hi indian
 
hey
 
btw, bytecode is quite readable. I didnt expect it to be that simple. bytecode readability > Assembly
 
a grafitti made of ciryllic characters drawn with poo -> assembly
 
lmao
 
@TimCastelijns You are right — Josh 3 mins ago
🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓
 
8:12 AM
lol that guy
noooooooooooooooooooooooob
 
Josh said tim is right
 
let it be known to the court
on october 25th, 2018. I was right
 
court disagrees
 
I appeal
 
appeal court agrees
 
8:13 AM
sweet
 
appeal rejected
 
wait
supreme court denied appeals to cases where coolness is derived
you must go to the international rightness court
 
No
this is internal NL Matter no ICJ involvement
 
why are you making up words
 
ICJ is a international court :/
Oh well ICJ is also in NL lol
 
8:16 AM
I have acquired dinner
 
> Headquarters location: Peace Palace, South Holland, Netherlands
Location: The Hague, Netherlands
 
LIES
it is 10:16
dinner is expected at 21:00
 
^
bot malfunction
 
It's 2116 here
 
how does that change the time dinner is?
 
8:17 AM
Time is a human concept
Oct 22 at 5:13, by Raghav Sood
I exist outside of human confines of time and space
Also, I'm out of mushrooms
How much do regular white button mushrooms cost in your countries?
It's hard to compare, because if you google "Price of mushrooms" you get... non-ideal results
 
you mean
?
5,40 € the KG
3,33 € the KG if unsliced
 
Lol
I think it works out to 10 euro or so per kg unsliced here
 
How can you eat that
it tastes like nothing
 
That's why you eat it with other stuff that includes marinades
No one just sits and eats non-magic mushrooms plain
 
8:22 AM
says the thousand recipes with similarly tasting sausages guys
says the "let's pust potato mash on everything" guys.
:D
 
lol
 
8:40 AM
\o
 
o/
 
9:11 AM
\o
 
\o
 
o/
 
\o/
 
I have an OnClick in my RV adapter
But how do I switch activity per intent in here?
 
9:29 AM
pass the context to the adapter or pass the click to the context where the adapter is
also the view that was clicked has a context, that should be usable as well
 
"switch activity per intent" what do you mean
 
@WarrenFaith would you make the getContext static in the MainActivity?
 
absolutely not
 
:44379270 Intent intent = new Intent(MainActivity.this, AddStorageActivity.class);
But this must not happen in the adapter of course
Or.. of course(?)
 
9:33 AM
indeed
 
you have the view where the click was done, right? In the clicklistener?!
 
instead you let the activity in this case implement a listener, call this when the item is clicked, and then when the item is clicked the activity can decide what to do with it
 
so do new Intent(view.getContext(), AddStorageActivity.class);
 
Alright thanks
But one of you suggest the clickListener in the activity, and the other the context in the adapter?
 
Where is your rv
in a fragment?
 
9:35 AM
In an activity
 
Well then you have the activity?
 
I would not make the clicklistener to be the activity. That means you still pass the activity to the adapter
 
But the clicklistener is in the adapter
 
context passing to an adapter can leak
 
it's not the responsibility of the adapter to decide what to do when an item is clicked
 
9:36 AM
If it's not a inner class you have to pass the context
 
@WarrenFaith I thought the same
 
I would not do what tim says by passing a callback to the adapter
 
you don't make the activity the clicklistener, you make it a listener
 
Hm I'm bad at choosing
 
try both, see what you like best and then decide
imagine the click does not just open a new screen anymore but also must trigger some API call for example. Are you gonna do that in the adapter? No
 
9:42 AM
Hmm, I think I'm eating too well
Can't see my ribs anymore
 
@TimCastelijns No I prefer the adapter to just be the 'set' element for the rv
And not the entire overall handler for inputs
I just want to know which way is the most efficient to 'pass' the handling to the activity
If you know what I mean
 
@TimCastelijns ok know I am interested how you differentiate that
 
"pass the click to the context where the adapter is"
I think I'll go for this one
The context in which the adapter is, is the MainActivity
So how do I pass this without having anything static in my MainActivity?
 
@WarrenFaith anonymous clicklistener 😂
 
is there a sensible way to have recycler view observe a LiveData of an arraylist instead of the arraylist
 
9:50 AM
When you create the adapter you pass it there? constructor for exmaple
 
@MuratKaragöz The context of the activity you mean?
 
The activity is the context
 
Yes, sorry
But so you would pass ref of the activity per constructor
And then have the OnClick call on the myContext.myClickHandler() for example
 
Thought you wanted only use it for an Intent?
 
Yes
Sorry I have to go for a moment
Brb
 
10:00 AM
you don't need to pass a context to RecyclerView.Adapter's constructor as, the correct context can be inferred from the parent view when inflation is necessary.
look here:
https://guides.codepath.com/android/Using-Context
 
yes but we are not talking about the inflation
@WarrenFaith sorry I was afk for a bit. I am a bit confused now
what do you do when clicking an event in the adapter or viewholder should trigger an API call
 
10:17 AM
When you're debugging could you please try to restrict your API key using the debug
SHA-1 certificate only?
How to restrict API key using only the debug SHA-1 certificate?
 
me too Tim, me too :D
 
@TimCastelijns we are talking about economy now? :o
 
Please no "Me Too" :)
 
me too lol
 
lol
 
10:29 AM
aren't you enjoying the metoo movement ronak?
 
lol. I am daily getting one notification related to "MeTo0"
 
Me took
 
There is a german version of it
#IchZwei
4
 
10:45 AM
i am having problems with unit testing.
argh..
 
skip it
 
no. it is needed
mockito says wanted but not invovked.
pastebin.com/iXx8cSC4 this is what i have in presenter
everything that is external to presenter is mocked
 
Smart Safin requested access. Rep: 27 - Questions: 8 - Answers: 0 (ratio 4:0)
 
that's my test. i am missing something very basic.
but that's taking too long for me to figure out
 
@MuratKaragöz lol there is even a german version haha nice
 
10:55 AM
but it has a different meaning
 
i have done this before so many times. today i am so tired that i can't see what is wrong. dam!.
 
it's about immigrants not being welcome as a german / not being welcome in their parents country
 
@ColdFire you have experience with vague crashlytics issues etc right?
 
yes kinda
 
> Just an FYI, we detected a new non-fatal issue in ???
how do you fix this 😂🤣
 
10:58 AM
@MuratKaragöz oh that is pretty different then :D
Lmao what where is the issue?
 
Why confused?
 
in ??? like it says
 
nothing else at all?
no line number nothing?
 
There is an adapter with an OnClick(), but I want the Activity to handle the Intent
 
no line number
 
11:02 AM
well see if there is a "???" in your code somewhere :D
 
dam this is due to suspend in koltin coroutine. the setup was right. took me ages to figure this out
 
and remove that :D
 
you think I have a class named ??? xD
nah I see now that this is raised in the internal.zzcf.zzb class of some google lib
of course
 
11:15 AM
Adeel Turk requested access. Rep: 782 - Questions: 5 - Answers: 56 (ratio 4:44.8)
 
!accept
 
@AdeelTurk welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
@TimCastelijns ads lib?
 
One man’s trash is another man’s codebase to provide legacy support for.
 
@MuratKaragöz This is true
So
I recieve the context ref per constructor
and then for example have
mainactivityContext.goToStorage(int storageID) ?
 
11:30 AM
finally works. but wasted good couple of hours on this.
feels like so near yet so far...................
 
couldn't be much more from the heart
forever trusting who we are
 
lol
 
Prashant singh requested access. Rep: 22 - Questions: 8 - Answers: 5 (ratio 4:2.5)
 
!reject
 
@Prashantsingh you currently do not meet the requirements to chat here. You can find our requirements in the rules.
 
11:39 AM
Having the context of the MainActivity in the adapter, I can't call on the method that the mainActivity has for some reason
 
I don't get what you are trying
@MwBakker just do this?
 
Smart Safin requested access. Rep: 27 - Questions: 8 - Answers: 0 (ratio 4:0)
 
!reject
 
@SmartSafin you currently do not meet the requirements to chat here. You can find our requirements in the rules.
 
@MuratKaragöz But shouldn't that Intent be in the MainActivity?
private StorageViewHolder(View itemView, Context context, RecyclerviewClickListener listener)
    { ... }
    @Override
    public void onClick(View v)
    {
        (MainActivity)context.goToStorage(v.getId());
    }
And the goToStorage() has the Intent handling
 
11:42 AM
(MainActivity)context don't do this
 
Well damn
 
the adapter does not care in which activity or fragment it is used
 
I honestly don't understand why you simply not put the intent in the onclick
 
I thought that would be bad practise
 
12:06 PM
you can use it, probably for your app it won't matter
if you want to put in more effort to create a more robust structure, I think that it should be done by the activity, not the adapter. For you it likely won't make a difference, but in larger projects it can
but many of these 'decisions' are subjective and of course people don't agree on everything. Hence I keep saying try different things and use what you yourself like
 
12:20 PM
Seriously ? Kotlin works for iOS as well ?
 
yes
well, kotlin native
 
Kotlin native = the part independent of Android APIs ?
Like the core kotlin ?
 
not sure
I'm not interested in it. You can probably find out in the docs
 
Okay. And someone was using flutter ?
For cross platform UI ?
 
David requested access. Rep: 935 - Questions: 129 - Answers: 8 (ratio 4:0.2)
 
12:27 PM
!reject
 
@David you currently do not meet the requirements to chat here. You can find our requirements in the rules.
 
@MuratKaragöz lol
o/
 
@TimCastelijns ?
@TimCastelijns You are right, it just seemed to me letting the Activity handle the Intent is the best way
Except I dk how to get the clicklistener of the adapter to that activity class
 
bro
why you go the dark path of timothy
 
I trust all of you
4
 
12:40 PM
lol
 
Ikr
 
@MwBakker Would you trust someone who laughs at your trust decalaration? Like what CF just did :/
 
bro I keep repeating that he should try all suggestions and decide for himself
 
12:58 PM
Back ~(-.-~)
 
Front (~-.-)~
 
Hiya Mauker!!!!!! :D
 
Wompaaaah o/
How are you today?
 
Womperrrrrrrrrrrrr and Maukerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
Did anyone read The Alchemist from Paulo Coelho?
 
1:05 PM
I did
 
Yes
 
it's the only book of Paulo Coelho I read
 
why's that?
 
Hello everyone! Has anyone you worked with drop shadow in navigation menu in Android?
 
@MuratKaragöz is the book good?
 
1:06 PM
idk I ordered it now
 
it's a nice read
 
what genre is it??
 
Adventure
 
fiction, classic, fantasy, philosophy
 
the story aside, it's about positive thinking and work and motivation
 
1:10 PM
kay
thanks people!!
 
@Mauker because I'm not really a fan of the motivational field
 
I have a textview constrained to the bottom of the page, and when the keyboard pops up, this textview is moved up, but other views (that are not constrained to the bottom) are not. Any clues?
 
Well the bottom moves away
 
but a button for example that is right above the textview is not moved, it vanishes behind the keyboard
the difference is that the button is constrained to the top
I don't know why it makes a difference
only with adjustResize btw, not with adjustPan
but the latter has other issues so I don't want to use it
 
@TimCastelijns too many genre lol
@TimCastelijns use RL with above above for all
they will all move upwards that way
 
1:16 PM
above above?
 
start laying UI with bottom and align other views with above i mean
that would give you the desired behaviour
 
I don't want that. I don't know the size of the screen and some stuff has to be on top and some on bottom
 
hmmm
you have to constraint them some way or another otherwise they wont react to bottom textview changes
 
I don't want to change the textview position
just show the keyboard and put it on top of the TV
 
@TimCastelijns Sorry about that Tim
Can't you make it bottom-constraint to the keyboard?
 
1:32 PM
keyboard is not a part of layout lol mwb
 
the view is not aware of the keyboard. Regardless, I just want to keep the TV in place and show the keyboard on top of it
 
@MehdiB. okay
 
My Intent switch goes wrong
But it's probably because of the activity
If I refer it to another activity, then I get a black screen
 
rip BSOD
what is this switch you speak of?
 
1:47 PM
Intent
And the black screen is in the mobile, it's a screen with a dark background
 
like switch(intent) { case case case }?
 
> Why don't you simply use Guava and its Joiner?
OP asks unclear question, gives answer from a random library
 
yes here use this library with 20k methods to do 1 thing
 
^
Murat : NotEnoughJQuery
 
1:54 PM
user image
3
 
@MuratKaragöz he just wants to replace the string concatenation by a stringbuilder append
 
I know, but still
> I am trying to change the following code to stringbuilder so i can format the output of an arraylist how can i do this.
format arraylist?
the fuck is that
 
Himanshu Dudhat requested access. Rep: 1355 - Questions: 21 - Answers: 70 (ratio 4:13.3)
 
he phrased it poorly indeed, my understanding is that he has an ArrayList and wants to inject "<br/>" (format in his terms) characters in it
 
After it is closed he has the chance to make it clear
 
1:57 PM
@TimCastelijns No like, intent.startActivity(class1,class2)
@W0MP3R I don't get it, it is BIOS right?
 
"2018" just written in the interior side, so it looks inverted from the outside
 
00:00 - 14:0014:00 - 00:00

« first day (2931 days earlier)      last day (2014 days later) »