« first day (2735 days earlier)      last day (2214 days later) » 

12:06 AM
@Ahmad Damn, that tease at the end!
 
 
2 hours later…
2:29 AM
@eski ikr??
 
 
2 hours later…
4:16 AM
Good Morning guys
 
 
1 hour later…
5:39 AM
Good mooooooooooooorning
 
Zoe
5:58 AM
Morning
 
6:14 AM
morning
 
6:32 AM
Gooooooooooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!!! :D
 
@W0MP3R Too long, didn't read xD
Morning
 
user443346
7:03 AM
o/
 
user443346
7:14 AM
I feel ignored unwanted
 
user443346
Story of my life
 
lol
morning everyone
 
7:42 AM
Hi nerds
 
sup bretheren
yay new VSCode update
 
user443346
My VPN blocks Stackoverflow chat :<
 
@khalifathul you need a Q:A ratio of 4:3+ to chat here
 
user443346
So anybody here who installed a cloning / ghost image environment
 
7:58 AM
no, nobody
 
user443346
nonobody
 
no, not nonobody, nobody
 
user443346
no, not nobody, nonobody buddy
 
no baddy, not nonobody buddy, nobody
 
hi
 
8:10 AM
hi
 
how are you?
 
dead on the inside, happy on the outside
2
 
Can I use this in Retrofit as a Single Service per only one Retrofit object?
interface Clients {

    interface AccountClient { ... }

    interface ProductClient { ... }

    interface OrderClient { ... }

    ...

    ...
}
 
@TimCastelijns why?
 
I need a vacation
 
8:14 AM
@TimCastelijns I wish you be happy inside too. But sometimes I feel like Charlie Chaplin's Modern Times too.....
 
Apply for it.
 
guys, I need a small suggestion. I want to tint an ImageButton with different colors for different state. I tried tint with ColorStateList, but I noticed that it is L+ and I need to support Kitkat+. So I have different approaches: 1- use different images (same image with different color) and a DrawableStateList for different states 2- Inherit from ImageButton and manually tint background with DrawableCompat. Which one do you suggest?
 
Rupin: you need one retrofit instance per base url. At least I would do that
 
yup
 
8:56 AM
any git nerds here
 
suggestions?
 
yes and the answer is probably push --force
 
I have this strings file that is 90% the same, but some lines were added in a new version
however the old version was sorted alphabetically and the new one is not
git shows like 100 lines changed but in reality only like 5 were added and the rest were untouched
 
9:12 AM
sounds like different line endings
you dun good
 
no, just the order of the lines
for example old file has A B C, and the new one has B A C D
 
can you make it a merge request and check the changes on the git page
maybe locally you have different line endings for the ide
 
it is not about line endings
 
okay then it's correct?
since lines are changed or i don't get your problem
 
the thing is I only want to check if D was added or not, I don't care about the order of ABC
but it's really hard to compare the files when git thinks every line was changed
 
9:17 AM
there is nothing git can do to help you without you ordering it again
git makes line by line change detection
 
8
Q: git-diff: not taking line order into account

Diego HerranzI have a file in my repository that is generated by a software program. This program sometimes reorder the lines on that file, which is not really important because line order doesn't matter. The problem is that when performing git-diff it's very difficult to see whether anything has actually ch...

something like this
 
I would fix the issue that "reorders" the file in the first place
 
----------^
 
translation company manages this
¯\_(ツ)_/¯
 
9:26 AM
fire them
:D
we use poeditor.com and they have the new stuff always at the end
 
we are in the process of moving to a shared online service for translations, but not all parties are eager to change their process, so it's kinda going slowly
 
"nice" to see people react good to improvements
 
yes it makes us very happy.
 
yeah nice to see that
 
get an intern
let him do the translations
 
9:31 AM
bruh
if you can get me an intern who is fluent in 15 languages
 
damn 15 languages
what are you guys doing?
trying to bring world peace
 
o/
slept in fs
 
under which dir?
 
9:49 AM
just use google translate and tell noone
 
🤪
 
10:17 AM
o/
 
People are trying to get my PR reverted wtf
That guy is an absolute moron
 
user443346
Scotland police :ddd
 
hm they have issues with addons not using gradle 3
 
seems valid
 
10:30 AM
No there's a guy who has personal issues switching to gradle 3
I couldn't refrain from replying to him
He doesn't want to update a couple of files so wants RN maps to break for anyone building it with Android 3.x ... okay pal, fantastic idea
I'm livid
 
I said the same to eric last time upgrade to new gradle version
he did not
 
That's fine on a project to project basis but when you have a lib / plugin which breaks builds because of an old gradle version, it needs to be updated
 
10:47 AM
@WarrenFaith Hi, I do that , one client per one base url. We had 5 different base urls before, So I created 5 files/clients and 5 retrofit instances. PHP guys have merged 5 base urls into one now. Its been a month, I think I should come back to single retrofit as well. But, in 5 files, the methods are really nicely categorized, So I was thinking if one retrofit instance can have multiple services/clients.
Or maybe merge 5 client interfaces into one. But, that makes a big code file.
Or, have one parent interface for all of these, and pass parent to retrofit. Will it create services for nested interfaces. I don't how will I get instances of these nested ones.
 
if the API is big, the interface will be big. That is a simple truth and nothing you can change. If you want to keep your categories, just use code folding and name the folding areas as you have your categories. That makes it manageable
 
11:33 AM
thanks
 
o/
 
o/
 
\o
warren how did you fix the rxjava thing yesterday
 
o/
 
by using what I posted :D
I just wanted to see if someone has a better idea but the discussion just faded
 
12:32 PM
@rupinderjeet you can also use regions: //region name .. code .. //endregion
 
it could work with zip()
 
no, again, zip makes it parallel
 
yes I read here that it depends on how you subscribe to it
@s-hunter you're applying .subscribeOn to the zipped observable. I'm applying subscribeOn to the components of the zipped observable. In other words: you're creating one new thread for the observable that represents a combination of three component observables, I create one new thread for every single one of the component observables. — Bartek Lipinski Jul 7 '16 at 7:05
your flatmap is fine I think
@Naveen you need 80+ rep to chat here
 
1:01 PM
word
 
word
 
HIYA EVERYONE!!!! I would go name by name but there's a lot of messages and i don't have the time to look through all of them :D
 
for once I am not forgotten
 
lol netpork
 
jim carrey <3
 
hi. just thought a strange way for two-way message passing between 2 activities. it seem it works :)
Not sure if there is a better way there though or not.
 
what are you talking about?
 
What did you do
 
I used LocalBroadcastManager to send a request from 1 activity to other. I added a Messenger to its intent and used that messenger to send response back to sender... <.<
 
1:39 PM
we have a phrase for that in German: Das kannst du schon so machen, aber das ist dann halt kacke! (You can do it but then it's shit)
 
oh
 
sending data to an activity and getting something back -> startActivityForResult() is the way to do it
 
@WarrenFaith cannot do that.
and it was a fun phrase :D
 
why not?
 
I'm not speaking for another like 8 hours still, but I hope I make you all proud.
 
1:41 PM
Looks like they're going to roll back to Gradle 2.x
Well at least that's being suggested now
 
#rekt
 
the activity is the main activity. my setting activity (which is started by main activity) need to ask something from main activity at run time. if I wan to do that it will be so messed up. specially my main activity is bounded with another serivce...
 
makes no sense tbh
 
> need to ask something from main activity at run time
that is the crucial part and, without knowing what that might be, is bad design at best
 
@WarrenFaith best possible approach for me is binding both main and setting activity to my service. If I could do that, it can solve my problem. But from all of my searches, I couldn't find any good example for it.
 
1:49 PM
what does the service do?
 
it is an authentication service, an started bound service. Till now, only my main activity was using it. But now I need to do something and I need my setting activity to use it too.
one way is to bind this setting activity to service and ask directly. other way is that setting activity asks main activity and main activity ask service and send result back to settign activity.
 
an authentication service... what does that mean in detail?
 
You can bind as many components as you want btw
 
@WarrenFaith it authenticates to a service and creates a tunnel using vpn service for encrypting communication.
 
ah ok, that makes sense to be a service
 
1:56 PM
@MuratK. it should be simple is you are not using messenger/result receiver for communication between app and service. but if you are using them, I guess it can be complicated.
 
but as Murat said, it shouldn't be that hard to bind to a service from different sources
 
Not sure where you went wrong, but you might want to read developer.android.com/guide/components/bound-services.html
 
can't you use a bus system? Either otto or eventbus or a selfmade rx bus?
 
I'm using Messenger / result receiver approach in that guild right now. it works great. But when more than 1 activity binds to a service, I don't know how I should handle multiple communication channels.
@WarrenFaith I have never tried bus approach.
But I guess I can go read about it too. Anyway I have only 1 year of android experience, so I can wrong in my approach.
Anyway,I go work more on it. :) thanks for suggestion and your time. :)
 
2:12 PM
no more than 1 activity can/should bind to a service at a time
 
no they can
whether they should or not is a different matter altogether
 
To tell truth, I'm not sure that connecting more than 1 activity to a service is a good idea. especially if your service sends data to your activity (using passing ResultReceiver) too.
 
it is not a good idea
 
so my approach that secondary activity asks main activity for service request is better?
 
2:18 PM
then any 3rd approach?
 
why do 2 activities need a bound authentication service?
 
I probably would bind the app itself to the service so everyone can communicate with it
 
I would abstract it away behind a common repository or something
 
user443346
2:21 PM
They shouldve played this track
 
cool I played that on NGC
 
user443346
when talking with cuckerberg
 
pizza delivery soundtrack
 
password validation can only be done in service. Normally only main activity need to start service and work with it for password validation and authentication process. But Now I want to add change password to setting activity and like to validate password before changing it.
 
memories
I don't think that an activity should be doing any of this, from an architectural point of view
 
user443346
2:24 PM
Mr Aziz
 
even if you manage to put something together now, it will likely cause more problems in the future
 
You mean it was better that password validation was not in service?if so, I agree too. But my company is too obsessed with security and this is start of all these troubles. every thing is done in c++ code in JNI, which is loaded in service. I personally was against this approach but they asked this method.
 
no I didn't say that
I mean it is not the responsibility of an activity to do this
 
oh, you mean passing requests of another activity to service?
 
Mark Blufferberg after the 2020 elections: "I'm sorry it was my mistake"
 
2:32 PM
I think I will try and find another approach.
 
no that's also not what I mean
 
wait
is your service actually doing requests to some server?
 
yup
 
...
it should be accessible for your whole app
 
~(-.-~)
 
2:35 PM
exactly womp
 
user443346
@TimCastelijns I F I F L I P T H E P I Z Z A S , M R . A Z I Z W I L L F L I P O U T .
 
The simplest approach is that I allow change password only when you are authenticated. then no further validation is needed.
 
Finishing his homework. https://redd.it/8bhkz4 https://t.co/SsGoZF5WeA
 
I mean what about the future when you need different parts of your app doing the requests and so on?
 
@MuratK. I don't think it would happen. application is almost done and has only 2 activities (main and setting) + 1 service. So I don't think there will be that much future changes. This app is a port of finalized windows client to android.
whole engine is in a JNI which loaded by service and everything works well now.
I just want to make it a little more user friendly.
 
2:56 PM
35 mins ago, by Tim Castelijns
I would abstract it away behind a common repository or something
 
just used constraintCircle for the first time. Cool stuff
 
oh, I think I have what you mean in my code right now. I trying to work on it more.
thanks a lot for help. :)
 
tim, you also did some animations with it?
 
3:15 PM
Hi guys
Hi Tim
 
no just static placement
hi
 
How was the day Tim
 
I'm still at work
it's OK. My senior is away for 3 days so I have some extra responsibilities
 
Like what?
Sounds exciting!
 
Not breaking prod
Making sure keystores are deleted
 
3:27 PM
lol
@RaghavSood where you been man
 
Let's see you try to move to India after a year and still have internet
It's not a smooth process
 
deleting the keystore is a good way to ensure the app won't break with future updates
12
 
3:44 PM
@RaghavSood you moved to India?
 
@trevor-e ya'll broke it
 
@TimCastelijns Tim, nice sir
 
 
@MarkO'Sullivan raghav name is originated from India
 
we know
but he's no longer in india tho
 
3:48 PM
Yeah I thought he was in New Zealand
 
/o
 
Anyone have a look at the Google I/O schedule? Seems like there's quite a lot of Flutter stuff, pretty cool!
 
Shh only one conference matters today Mark.
Six more hours until my talk. It's gonna be a long day.
 
Good luck Adam! I replied to a guy on Twitter who was doing a talk there, wonder if he'll include my tweet :D
@AdamMc331 do you get nervous before talks?
 
4:04 PM
@TimCastelijns like how?
 
@TristanWiley I see you seen my GitHub stuff from earlier lol
 
@Srini he is indian but does not live in india
 
Oh okay CF
 
@AdamMc331 congrats what its about?
 
Testing, you don't pay attention to him do you :(
 
4:05 PM
I too get nervous while talk
 
@MarkO'Sullivan yeah lol
 
lol when did he say its about testing ?
@MarkO'Sullivan i have seen one of your old question was too tempted to cv it as POB lol
 
Primarily opinion based
 
Which one?
My old questions are awful
Well a lot of them, some are very popular so I guess for n00bs, like me at the time, they're useful
 
4:08 PM
dont remember but it was old
 
Probably from around 2013
 
0
Q: Designing Android Themes

Mark O'SullivanCan anyone tell me how I can change my apps theme from the default ones made available? Holo and Holo.Light get a bit boring after a while. The likes of Facebook, Google+, BBC Weather, Viber, Vine and Twitter all look very professional and have their own theme whereas the app I'm developing look...

must be this one lol^
This is an extremely broad question; moreover most of this stuff can be easily found via a cursory Google search. — Catherine Jul 18 '13 at 20:55
@MarkO'Sullivan well most of the people old question were awful lol
 
lmao that one hit 1k views like last week and I have no idea how
 
lol
 
looks like google is getting into code formatting for a few projects, heres the one for volley and the interesting bits so you can to : github.com/google/volley/commit/…
 
4:23 PM
@MarkO'Sullivan I'm here for a week
Then back to NZ
 
That's nice :) Is it a long flight?
 
my excellence ,Raghav
3
 
lol
 
4:42 PM
lol
 
4:55 PM
Good night guys
 
gn
 
5:37 PM
o/
 
o/
 
@AdamMc331 good luck and tell us how it went and do share the slides
 
o/
 
@MarkO'Sullivan Meh. I break it up
 
5:46 PM
how many stops?
 
Gonna murder try and meet @Ahmad in hkg
Then a friend in syd
Should take around 48 hours total
 
wow now that is long
 
@Raghunandan Slides are here. Talk is still 4 hours away. github.com/AdamMc331/EspressoPatronum/blob/master/presentation/…
 
thanks.
 
6:05 PM
i remember someone mentioning about how to get context in expresso
is that still a issue?
 
?? I don't think it should be. Do you know why they needed it?
You can get the context from the activity test rule.
 
yeah i just remembered someone mentioned it so ask
 
why adam ruins the cold war tho?
 
because he ruins everything
 
6:42 PM
@AdamMc331 since an activity is a context...
 
exactly
 
i have never written test cases lol
pretty sure he was trying to get context somewhere else
 
6:57 PM
lol nice
adam btw have you tried the latest support lib?
 
7:15 PM
@AdamMc331 this wouldbe even better if they used equations which are true
 
7:32 PM
OP answered a question in the question
Is it a right practice?
 
@TimCastelijns Okay then. Post a comment then please. I want to learn what would be the appropriate comment for this
 
I did
 
Got it, thanks
How y'all doin?
 
8:14 PM
@ColdFire I think I'm running the latest at work. Why do you ask?
 
to check if its stable enough for production
 
8:42 PM
Idk if we've pushed it all the way to prod yet but we definitely merged it in recently, I think. I won't be at work again until Monday.
 
9:08 PM
o/
 
oh
 
9:59 PM
does anyone have a link for adam's talk livestream
 
10:16 PM
@TimCastelijns here you go
 
thanks man
 
I lived. :)
 
well job
 
10:43 PM
@Mauker Thanks!
 

« first day (2735 days earlier)      last day (2214 days later) »