« first day (3139 days earlier)      last day (1794 days later) » 
00:00 - 14:0014:00 - 22:00

12:44 AM
Ribbit
 
 
2 hours later…
2:17 AM
Ribbit
 
That's an oldie, casually I just saw the Spanish version of that story yesterday
Why people keep starring cats :(
Those monstrosities are evil
 
morning Raymond
 
Mornight Zarni
 
Do you know the best way not to appear API keys
when our app is de-compiled by reverse engineering methods?
Although I used proguard, my api keys can be seen after de-compiled my apk. I was struggling for 2 days and not still luck :(
 
2:36 AM
I've never seen about it being important to protect those keys till now
What's your concern?
 
I am still struggling for that Raymond.
Can anyone share the best way not to appear API keys
when our app is de-compiled by reverse engineering methods?
 
Did the frog named 'Ribbit'?
 
Rob
@ZarNiMyoSettWin The only way to not have it reverse engineered is to not compile it into your binary in the first place
Anything else merely obfuscates it and makes it more difficult to obtain... but it's always possible
 
At least Google services API keys can be "restricted" to package names
It grants you some level of protection, but besides that, generally decompiling an app is a crime if you use this for bad purposes
 
@Rob Thank you Rob.
@RaymondArteaga except Google services API keys, most api keys cannot be restricted with package names. So, I want to hide these keys when decompile my apk.
 
2:46 AM
Do the same as Google, or even better, use encryption keys
Trust certificates and stuff for your protocols
But only if it worths the trouble
 
okay Raymond.
 
Also on user log in you can generate new API keys and throttle their access to server resources
There's a whole bunch of solutions you can apply depending on your use case
 
But, I am afraid attacker can also know how to request to my server and will generate new API keys by reading de-compiled code.
 
Rob
Then lock down the routes they shouldn't be able to access, and implement rate limiting, validation and logging
Because there's no way you're going to prevent someone from obtaining a key if they're really determined
 
Again, it depends on your use case and server implementation. You can open a private chat if you don't want to flood this room and give me more details if you want
 
3:01 AM
okay. Thank you Rob & Raymond.
 
3:35 AM
Ur welcome
 
mornight!
 
mornight frog.
 
I'm not going to sleep yet
 
ooops.
 
It's only 23:42 here
Don't worry, mornight anyways :) in case I fall asleep
 
3:43 AM
Ohk. I just came to know that I came to work early
communicating with clients needs sometimes huge Patience. as we have no idea how they are going to "bang" or "praise".
 
3:58 AM
that is why Huawei was pulled :D LOL
 
ha ha
 
Now I'm definitely going to sleep
 
okay Raymond
 
Mornight all!
 
4:50 AM
GoodMoRnIng
 
 
2 hours later…
6:30 AM
Goooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!!!! :D
 
o/
 
\0/
 
6:43 AM
Morning
 
1
Q: Implement Sharing Location Places Picker same like WhatsApp without Places Picker Since it got deprecated

Manohar PerepaWe had a requirement of sharing location which is a similar kind of WhatsApp with respective to User Interface & functionality. I have come across that Google Place Picker has got deprecated and also migrated to Places Clients. Say Like as, https://i.stack.imgur.com/JQKQx.png and when they ...

 
7:04 AM
o/
 
7:19 AM
\o
 
7:39 AM
o/
 
7:50 AM
9gag got a lot worse! Oh. Oops, I was looking at the R15 starboard, my bad.
 
8:02 AM
lol
 
01101100 01101111 01101100
I so want to buy BF4
 
8:29 AM
o/
 
o/
 
purrrrrwwwwwwww
 
?
 
that's how cats purr (spinnen)
 
Ah I see
 
8:37 AM
I wish to create an army of ducks and conquer the world.
 
You are more in luck with wombats
 
Wombats would be light cruisers but ducks are all-purpose(bombers, IFVs, amphibious assaults vehicles)
War prisoners get to eat duck eggs
 
That image is a prime candidate for a "Your argument is invalid" meme.
 
@TimCastelijns Here is your reminder
 
8:52 AM
morning, nerds
 
Mornerd
Murat how much horsepowerrrrrr does your Benz have?
 
honestly I regret that I have not more
lousy 136
 
bro, that is a matter of perspective
 
fun fact: male ducks rape female ducks
 
Humans once fought with Emus....and they lost the war
The Great Emu War
 
9:00 AM
@MuratKaragΓΆz I used to have a female and male duck as pets
 
The Emu War, also known as the Great Emu War, was a nuisance wildlife management military operation undertaken in Australia over the latter part of 1932 to address public concern over the number of emus said to be running amok in the Campion district of Western Australia. The unsuccessful attempts to curb the population of emus, a large flightless bird indigenous to Australia, employed soldiers armed with Lewis gunsβ€”leading the media to adopt the name "Emu War" when referring to the incident. While a number of the birds were killed, the emu population persisted and continued to cause crop destruction...
 
When it was spring there was no love, there was bitter rape
the ducklings were cute though so I let it be
 
great, now you know why the female duck was distressed all the time
 
he always raped her while they were in the water, nearly drowning her
nature can be very cruel
also one day when there were like 15 eggs, the male duck decided to just F it and flew off to the horizon
Leaving her behind, the entire neighbourhood looked for him for 3 houres
 
o/
GoT over :(
 
9:05 AM
just kidding
@MarkO'Sullivan I already GoT over it
 
@MarkO'Sullivan chill, can watch it tonight
earliest
 
I wont spoil dw
I did quote endgame to my mate who hadn't seen it ... although it's not really a direct spoiler because there was no context to it
 
@MwBakker could you please remove this?
 
I can't anymore
 
1 message moved to Trash can
 
9:08 AM
Alright thanks
 
you're lucky mehdi is merciful
what is the current issue on your project?
 
I am working on the real-time search
Everything is working but the list only gets updated when I put away the keyboard
There is info on it on Google so I think I'll figure soon
The adapter is an observable and the list a LiveData, gets notified but only when the keyboard is down as it seems
 
that is very strange
 
I see more topics on people dealing with this matter
android:hardwareAccelerated="true" could be one of the tricks but it didn't do it
Maybe put in a notifyDataSetChanged somewhere anyway
 
that makes no sense
what class are we talking about
searchviewmodel#searchRelevance
 
9:16 AM
1
A: Listview with Filter won't refresh until keyboard is hidden or return is pressed

user2408799I had the some problem and I tried a lot of solutions without good result. I solved this issu by adding android:hardwareAccelerated="true" in manifest file for my activity. Try to use this solution it can help you

It worked for him though
@TimCastelijns This is SearchActivity, in which SearchedEntityRepository is responsible for retrieving the list
 
do you not need notifyDatasetChanged with databinding?
otherwise try putting it in setListSource below setting the uiEntities
 
@TimCastelijns With Observable<> there should be no need
I don't need to use it anywhere else where my list and adapter are bound and changable real-time
 
@TimCastelijns yes this was indeed my next step
but could be redundant though
 
yes don't do it
 
9:20 AM
I do want to see if it makes any difference
Adding notifyChange() makes a difference, but it is definitly redundant. It is about the timing when the change is called and this may have to do with the executor object I am using
 
of course, but you shouldn't need it
 
exactly
I will try to retrieve the list per executor
 
what can I search for that will give results? For testing
 
And setting it outside the executor process
@TimCastelijns it searches for any storage, rack or component available
I have a storage called test, and 4 automatic generated racks called "Kast_x"
 
what do I have to do to trigger it
o I have it now
 
9:40 AM
you might find something here medium.com/androiddevelopers/… it doesn't mean much to me
 
Haha it has databinding in the title "it doesn't mean much to me, I still hate it"
a bit overkill to override all the onChanged also to add animations and such but maybe there is something in the article related to my problem
 
it also works when you type kast and then press enter and backspace with the keyboard still open
 
I think I see the problem, but not sure
 
share
 
The adapter here is an Observable<> but the List<UiEntity> is not
 
9:47 AM
ok let me know if that is the issue
 
List<> on it's own does not have notifiers present
I will
 
I wanted to let you know that on android it's not customary to put the name of the previous screen next to the < button
 
Yes you have told me that it's more an iOS thing
But I dk how else I will let the user know his last screen and having the ability to click on it
 
the user knows what the previous screen is because he just came from there, you don't need to tell him
you can show a <- button that will automatically go back to the previous screen
it's part of toolbar api
will be nice for your next project
 
@TimCastelijns thing is because I could not put the entire search into one query, I can't have an Observable output because I am adding/removing items
but adding the title of that activity to that is not correct?
woops sorry for all the pings
 
9:56 AM
it's not incorrect. It's just not something that we do on android
 
YIPEE YIPEE YOW YIPEE YEAH YIPEE YEAH !
 
This was the most starred message last year on this day:
May 21 '18 at 11:35, by Tim Castelijns
what kind of retard blocks git
 
@MwBakker I don't follow
 
nvm it's not that relevant
I can't initiate a new ObservableList because it's not finding FXCollections
 
wrong import
that is a class from javafx
 
10:05 AM
there is nothing to import
I am working with Observables yet I cant initiate ObservableList
 
instantiate?
it is an interface
 
is that the word?
 
I have been using it all wrong
 
do you need an observablelist?
 
10:07 AM
Well either that or I need to add NotifyChange after re-setting the adapter's sourceList
... which now is not redundant since I am working with a regular list
 
just use that notify then. It's time to finish up now. If it works it works, on to the next issue
 
yes
overcomplicating things are my middle names
notify is the most efficient way now and takes least resources (otherwise notify is called on every .add in the filter process rather than result)
 
ok good
next issue?
 
gotta finish the ability adding component based on what categories are present
nearly finished but the adapter
 
ok let me know if you need help
 
10:21 AM
Will do, thanks
 
I google this every time. Related comic: xkcd.com/1168cptloop Nov 26 '13 at 12:25
 
lol
but tar on its own is a valid command
 
"Mr Gorbatsjov, tar down this wall"
 
I never think using tar, I automatically do: "tar -xzvf archive"
xzvf sounds nice for me for some reason XD
 
10:45 AM
Good noon
 
11:06 AM
I just had a telephonic interview for 1 hr and 15 mins. totally exhausting
 
yeah interviews for CEO positions tend to be quite long :D
 
this is for a android position :(
i wish it was for a ceo position
 
how is it perceived in India, to frequently change jobs?
is it something normal?
 
no its not normal. But i had no choice
 
I understand, was just wondering if recruiters in India cared about this or not
 
11:13 AM
every interviewer asks why did you quit your last job. second question why did you not stay in the previous job while looking for a new job.
 
yeah so it's the same in most places
 
Its hard to convince them that it is something i had to do not by choice but by force
 
but do you actually tell them why you quit? or do you evade the question?
 
i tell them i was put on bench and there were no projects and that's why i quit
they don't ask any further questions
you can't evade that question
not sure how much of that convinces them, but i am not put under any unnecessary scrutiny.
 
just show them your rep in SO XD
 
11:18 AM
No one really cares.
they treat so reps as another thing to be put in garbage
 
show them bench reps
Lift their desks
"this is what I can DO for YOUR company"
 
good luck Raghu
 
java.lang.OutOfMemoryError oh boy
Gotta set the size of the images a little lower haha
 
recycle bitmaps when you're done with them
 
11:31 AM
set large heap size from your manifest....just like majority of stupid answers are in SO ;)
 
@TaseerAhmad haha that is like shoving the dirt underneath a carpet
@TimCastelijns Not sure if I do that, but I def have overhead when loading a RV with images
 
Thumbnails? Create thumbnails
Not when scrolling through RV, it will drop the performance
 
ahmed ewess requested access. Rep: 185 - Questions: 4 - Answers: 20 (ratio 4:20)
 
!accept
 
They are too big to just be thumbnails but I will set the right dimensions
 
11:35 AM
@ahmedewess welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
Are images repeating? How often images get changed?
 
not repeating
they can be changed easily, but won't happen that often
 
I assume you would be already using image cache library. How about you load a certain amount of images(3 or 4), if they are no longer visible(recycled), load next 3-4 images
And yep the image size will be a problem :(
 
Doesn't RV already do that part of recycling what is no longer visible?
if not, this is where I misintrepetated
 
I think not, but glide does it
 
11:52 AM
@MehdiB. LOL
 
It depends on how your view holder pattern is set up. RV only caches a view and reuses it by placing in new data. Ofcourse by pattern I mean that if you provide some global context to Glide, it won`t be easily letting go off the loaded images
Where as if you provided told glide to load with context to some view(activity), it would let go off the objects once activity goes out of scope
 
I don't use glide
But this is fun: there in an OnTextChanged listener attached to an edit_text field
and it gets called on while scrolling
No reason whatsoever
The editText is not even visible
 
Probably due to nesting scrolling behavior of multiple 'overlapping' views?
 
no nesting scrolling going on, nor overlapping views
But im figuring out what this is
the editText element is visible AFTER longclick
 
@TaseerAhmad how do you come up, from the top of your head, with these possibilities that are ranked so low in the likelihood ladder? XD
 
11:59 AM
Yet is somehow manages to be called on it's onTextChanged without being visible
 
@MehdiB. I don`t know how his app is setup nor how it looks so I am giving generic solutions :P
 
I know, but the main issue and weird thing is there is an OnTextChanged being called on an element which visibility is set to GONE
Such should not happen, no matter the set up
I have a quick fix, but I won't know the cause of this odd behaviour
 
maybe the databinding sets the state of the edittext to "", triggering onTextChanged
 
that could be the case
Or a reload issue, in which the editText is visible (depending on a boolean) comes to VISIBLE for short time, short enough to have the onText triggered while filling in the hint or such
 
it's easy to verify. Just remove databinding from the project and see if it's fixed
 
12:05 PM
XD
 
:(
 
@ahmedewess your access has been revoked because you did not respond
 
what does the text change to?
 
Now checking
Ahm
So RV does recycle the listitems and puts them back
While doing that the editText gets visible for a very short while untill the bound boolean of visibility is set
in that short while the text of editText is also being set (the editText has the same text when visible because perhaps a user just wants to remove the last letter or such)
 
12:53 PM
o/
 
Lucas Bustamante requested access. Rep: 4624 - Questions: 71 - Answers: 103 (ratio 4:5.8)
 
!accept
 
@LucasBustamante welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
1:08 PM
I have read and understood the rules, and I will not drink ass-Bourbon.
10
 
thanks and welcome, Lucas! :D
 
ass-bourbon sounds like something that could get me suspended again
 
Word
 
1:13 PM
WELCOME LUCAS!!!!!!!!!! πŸŽŠπŸŽŠπŸŽ‰πŸŽ‰πŸŽ‰πŸŽŠπŸŽ‰πŸŽŠ
 
@codeMagic see? Someone actually cares about the ass-Bourbon rule
@Graeme PowerPoint
And welcome, Lucas!
 
@Mauker i finally get this joke now
 
lol
 
What's new in Android land?
 
More locked bootloaders, finally a black theme and the end of an era for Huawei
 
1:20 PM
Again, very glad I didn't go for the mobile lead role at Huawei here in Canada
 
lucky one.
 
Why did you pass on that opportunity?
 
He can see the future.
(added the "." on the end to show I mean business)
 
nice
I was testing on android Q emulator and well what do you know it's buggy :D [x] time wasted [ ] time not wasted
 
Morning everyone ^_^
 
1:32 PM
love the cat bb
 
lmao him doing the selfie?
 
hahah yes
 
bahahah yeah he set that pic up nicely
DAMN LOL @ the Huawei
they really dun goofed
 
Ribbit
 
Quack
 
1:37 PM
Powerpoint
... wait
 
stop chatting, finish the app
 
Whats the name of the feature where you pull a small 'bagde/icon' and the activity/frag opens as you slide
 
@Mauker glad to see it's being taken seriously. There's no coming back from ass bourbon
 
chatting keeps me sane
 
Glad to see you're still alive my friend
 
1:39 PM
@MuratKaragΓΆz Because Huawei were in the news being banned from putting technology into places. I didn't want their name on my resume.
 
o/
 
Thanks, Mauk!
 
O em gosh
CM, How's it going?
 
cM?! In the morning?!
 
We talked about ass-bourbon and he showed up
 
1:44 PM
Lol, that's the only reason. And the ping. Back to work
 
Now that I am trying to size the image, my bitmaps after decoding remain null
I have no idea why
25
A: Pre-guess size of Bitmap from the actual Uri, before scale-loading

Dave MorrisseySee the Android guide to handling large bitmaps. Specifically this section: BitmapFactory.Options options = new BitmapFactory.Options(); options.inJustDecodeBounds = true; BitmapFactory.decodeResource(getResources(), R.id.myimage, options); int imageHeight = options.outHeight; int imageWidth = ...

 
user443346
Good news everyone, your favourite Flying Dutchman arrived.
 
Flying as in "vlieg op"
Kidding :)
 
user443346
Flying as in Opvliegend
 
Where will his ashes be burrowed?
 
user443346
1:49 PM
Why would you burrow ass
 
user443346
That's a weird tradition in Cuba
 
*buried
The car accident kills count just increased to 4 :(
4 kills 20 wounded
 
@Jordy πŸ˜‚
 
XD it was a bad accident -_-
Dead people should be respected
 
00:00 - 14:0014:00 - 22:00

« first day (3139 days earlier)      last day (1794 days later) »