« first day (2771 days earlier)      last day (2192 days later) » 
04:00 - 18:0018:00 - 00:00

4:29 AM
@TimCastelijns hello i need some help, can i ask for it?
 
5:10 AM
Did you read the rules?
 
5:23 AM
(°_°)/
 
5:47 AM
Morning
 
6:10 AM
Goooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!! :D
@CptEric draw what?
 
morning all
 
@W0MP3R day by day your morning energy level is increasing.
You have done nice progress actually.
 
good morning
 
o/
 
6:57 AM
@RajBedi you don't need my permission to ask something, just ask and maybe someone will answer
 
7:10 AM
TGIF
 
o/ WF
 
7:26 AM
@TimCastelijns great! Thank you
 
7:51 AM
@codeMagic yeah our mobile dev is pretty much 100% RN components atm and I'm guessing we're moving to fully RN eventually
it's super quick for some things
Relies too heavily on 3rd party plugins (for stuff like Maps, social sharing, etc)
Also I'm not a fan of NPM. Shit ton of npm packages even in a basic RN app
 
android also has a shit ton of them. They are just bundled into the support lib
 
hello everyone! need some help. I'm adding views dynamically (spinner), i'm able to add it but when i click on spinner to choose option the app crashes.
my code: public void Add_ctrls() {
LinearLayout ll = (LinearLayout)findViewById(R.id.linearLayoutDecisions);

String[] country = { "India", "USA", "China", "Japan", "Other", };
Spinner s1 = new Spinner(this);
s1.setOnItemSelectedListener(this);
ArrayAdapter aa = new ArrayAdapter(this,android.R.layout.simple_spinner_item,country);
aa.setDropDownViewResource(android.R.layout.activity_list_item);
//Setting the ArrayAdapter data on the Spinner
s1.setAdapter(aa);

LinearLayout.LayoutParams p = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
 
8:06 AM
please, follow the rules
no paste of code
use gist, codepen, etc
 
8:18 AM
In ExecuterService, If I submit 5 tasks, they get executed sequentially, right?
 
i don't know, i tihnk i have not used it
 
user9550968
how do i use recyclerview's getfixedscroll position to get a fixed scrolling position because right now i have right scrolling position
 
8:38 AM
what is "right scrolling position"?
@RajBedi if you have more than 2 or 3 lines of code to share, use gist or hastebin or something. Btw we need the error it crashes with
 
'' == '0' // false
0 == '' // true
lul, just javascript things
 
lol
@rupinderjeet just check the source code
i havent used ExecutorService but i guess it must have a setting for doing sequentially
 
what about 0 == '0' murat?
 
user9550968
@TimCastelijns "right scrolling position" means i have a card stack of recyclerview with a scrolling position of right direction i'm trying to change its scrolling direction to left
 
8:53 AM
its true
Took me one day to figure out a problem
and this was the correct solution stackoverflow.com/a/45269834/4467208
sad story
 
Hi
Anyone knows about WorkManager Api
?
I need to run a some task every 15 mins in background.I did like this PeriodicWorkRequest.Builder myWorkBuilder = new PeriodicWorkRequest.Builder(MyWorker.class, 20, TimeUnit.MINUTES);
But its not working correctly
 
well
you want 15 mins but you set it to 20 mins
 
sry Its for 20 mins
@TimCastelijns
 
9:13 AM
o/
 
@TimCastelijns got it..
 
o/
 
> the app crashes
share the stacktrace (in a pastebin)
 
9:34 AM
also format the code so we can read it
 
And remove the "comma" After "Japan, Other"
 
Is there anywhere (website / app) where you can find the smallest phones which has Android 5.0 or above?
 
@MehdiB. got it
 
320x480 probably
just the smallest in general, since you can install android 5 anywhere you want basically
 
^
 
9:44 AM
Yeah true but what about out of the box, already installed Android 5?
 
320x480
 
We're getting weird issues with our social sharing feature where the text is squished
 
samsung galaxy core duo
i'll test it rn broh
tell me where i gotta go
 
sharing
 
is caring
 
9:45 AM
click a round, open up Round Overview / Round Summary (top right is sharing icon and edit icon)
 
Good noon
 
testing on our smallest 5.X device, a samsung galaxy core Prime
 
is it 320x480?
 
1cm smaller thn our duo
it's 3.something"
so probably, yes
 
you shouldn't cater to people with 320x480 devices and also have the money to play golf with your device
 
9:47 AM
^
 
buy a decent phone and stop bothering me
 
sell a ShotScope phone
rebrand a huawei or something
XD
"this is our supported device".
running splash rn
try demo
still there
still there
"forgotten password, we can sort it out".
@MarkO'Sullivan [BUG REPORT][ERIC-TEST][DANGEROUS]
clicking again on test demo showed the demo screen corretly
 
@CptEric wot
lol I just tried 320x480 and it's fine on Android (although really really small)
 
yo
check messenger
found another bug
 
post them here plz, I want in on the gossip
 
9:53 AM
can0t
theyre videos
 
thanks eric!
Appreciate it, passed it on to the other mobile dev who's in charge of social sharing
 
no problem mark. doing documentation vs testing stuff
not a hard thing to choose
 
we've noticed the same issue on iPhone 4
 
thanks for providing me more nightmare material mehdi
 
10:06 AM
:D
 
Can I reduce this somehow? hastebin.com/vefoxekica.cs Everything seems too similar.
 
the last 3 could be a single if
with Ors
and the first one i think discards some of the possibilities
 
you actually don't need any of those inner 3 ifs i think
 
But I have this feeling that everything here can be merged too much.
 
10:10 AM
what is this code supposed to do, and is this contained in a method without other lines below or above it?
 
probably could simplyfly the blues and reds
 
It just needs to set if event should be executed. This boolean is set. and, later after some lines, this boolean is used to mark this event as last event.
 
you should split it up
1 method for checking if it should be executed
1 method for mark even as last
 
oh yes, this is going to be set in a method like "private boolean shouldWeProceed()" where I will use return false;.
 
10:15 AM
You are damn confident if you think asking JS questions here is ok Murat
you got some heavy balls there
3
 
fite me
Mark is on my side
 
XD
 
so this code is isolated in a method rup? No lines above or below it?
 
based on the "flag2" I would say it is from the big method he posted a few days ago, so: no, there is code above/below
 
10:19 AM
not above or below it, but method as a whole is used, that effects what to execute next.
wait, let me write it
something like this hastebin.com/kemifoloke.cs
 
is this working currently? It seems off
 
This works in its raw original form that I showed you some days ago, here hastebin.com/kicodiketu.java
 
for example if your event is not null this will return true without checking the other conditions
 
wait a minute, this is hard to consume
 
@MarkO'Sullivan i have a 320*480 phone with android 2.3.3
 
10:30 AM
if event is not null, it will check next condition.
event is null OR event's last input is null OR ...
right?
 
it will stop checking conditions once it finds the first one that is true
 
yes, so if event is null --> event is not reliable.
if event's last input is null --> event is not reliable.
 
and it's the opposite for AND, it's called "short-circuiting"
 
193
A: Java logical operator short-circuiting

BohemianThe && and || operators "short-circuit", meaning they don't evaluate the right hand side if it isn't necessary. The & and | operators, when used as logical operators, always evaluate both sides. There is only one case of short-circuiting for each operator, and they are: false && ... - it is n...

yes but I don't you need both event and event.getLastInput to be not null for it to be reliable?
 
@MuratK. I don't post JS in here, I just post my rants - see React Native rant #<insert number>
 
10:35 AM
if he removes the "event == null" check and only lets "event.getLastInput" check, it will throw an NPE
 
@ColdFire Android 5.0+ is only support
 
@WarrenFaith can i ask TS questions, tho?
 
OH FFS
Fuck samsung.
 
oh i thought you need less than 5.0 lol
 
hat?
 
10:35 AM
Fucking shitey phones absolute useless
 
what?
 
#shotscope @shotscope wish the stands where still there 😃
he's using a samsung to share that
what in the fuck is samsung doing with the rendering
 
nice
 
@MarkO'Sullivan bro are you not backing me up in a bar fight
 
@MuratK. bro it's not a bar fight, if it was, I wouldn't want anyone in here fighting :(
That's a Samsung S8+
SM-G955F
 
10:36 AM
@MarkO'Sullivan lovely samsingsung
hey that's jordy's
ask @Jordy for testing
 
@MarkO'Sullivan how was it supposed to render?
 
@Jordy try out my sharing feature you Samsung worshipper
@ColdFire nicely :(
 
lol looks you have used some absolute values in the layout
 
@MarkO'Sullivan check messenger
 
@ColdFire it's all done within React Native
 
10:42 AM
uses RN, is surprised when it doesn't work
 
oh no idea then
 
@TimCastelijns i'm not surprised, I've been trying to tame the fires the past couple of months
 
share dialog it works fine on 2/3 phones i tested, number rendering on 3/3
 
Looks like it might be just a Samsung issue ¬_¬
 
laughs in nelson HA HA
but then again, i've also suffered from samsung shits
so, i know that feel, bro.
 
10:46 AM
Idk if there's any work around
....
if (device.manufacture == "Samsung") {

this.selfdestruct();

}
 
should always put the string constant on the left hand of the ==
 
What
Really?!
 
yes
avoids the NPE
 
bro
 
10:49 AM
although I mean on the calling side of the .equals() of course
 
we are in javascript
what is a npe
 
I don't know about javascript
 
@MuratK. ..... from an undefined object :D
 
@AndyOHart you have access. Start by reading the rules and confirm you have read them before saying anything else
 
10:53 AM
I have an overlay derived from SurfaceView and sometimes it seems to skip the part where it sets itself on top of everything else, so it doesn't become transparent and all you see is the SurfaceView, not the camera it should be overlaying. Does anyone know of a way to check whether it is where we expect it to be.
I can't see any thisIsDefinitelyOnTop() kind of check.
And it seems weird to set the z-index every time you redraw on something that might redraw many times per second.
 
@ColdFire TIL
 
@TimCastelijns I understood this, but I don't see how I am doing it? See I modified it to hastebin.com/suturepuge.cs to separate both conditions.
 
@MarkO'Sullivan TIL
 
I'm not the only one who didn't know that?
 
@AndyOHart I clicked the wrong button. Fixed
 
10:58 AM
right.
 
I have read and understood the rules
:)
 
cool, welcome
 
Welcome Andy o/
 
whats up all
 
SurfaceViews are inexplicably black.
Birds are singing.
The sun is shining.
Sometimes Camera2 just doesn't ever get the camera.
 
11:00 AM
welcome
 
Nobody knows why.
 
Camera1 too, sometimes.
 
anybody using Firebase in their app?
 
That's a shame, I was wondering whether the deprecated but far less complicated Camera API might be a better option.
Is the standard practice in these situations to just have some kind of timeout and just try and get the camera again if it hasn't started in a reasonable time?
 
the deprecated is less complicated, but it still sucks
 
11:04 AM
no, the reboot works.
 
just reboot the device.
 
i use that
 
11:28 AM
wtf
 
XD
> Damn this is pretty advanced, I'm going to have to avoid gates until I get the hang of this.
 
11:44 AM
@AndyOHart yep
nice video mehdi. Not sure what the very last sentence means
 
hahaha, not sure either XD
 
xD
 
hahahaha
not sure why but this makes me laugh :D
 
this guy is a genius (disclaimer requires math skills to understand)
 
12:00 PM
he already has the eastern europe hair style
 
@MuratK. you are as racist as @ColdFire .... but I agree
 
sorry that he was not wearing the addidas track suit, would have been more obvious
 
@TimCastelijns I love how the guys puts an emphasize on "saving time"
 
@tim
@TimCastelijns have you tried firebase on new versions with new gradle and android studio? im having weird issue where FirebaseStorage is saying its got private access, so the documentation isnt work out for me :D
 
@MehdiB. oh it's just a pile of grass, nobody there xD
 
12:14 PM
XD
 
@AndyOHart yeah AS 3.1 with firebase 10.something
 
and you never had issues with it?
 
not that particular issue
but I mostly have experience with firebaseDatabase, not storage
 
ah i see
 
my colleague recently implemented some feature with storage, he had no issues
 
12:18 PM
werd
weird*
i tried it in a java class and works
however in kotlin classes when i auto import it has
 
btw you can edit messages by pressing arrow up
 
private var reference: com.google.firebase.storage.StorageReference, however StorageReference is red and it says unresolved reference
strange issue
ah ok thanks for the tip :)
 
unresolved reference is probably due to misconfigured gradle
have you synced?
 
yeah so many times :D but it works in java files which is weird
 
do you have the kotlin dependencies set up?
98
Q: Brace yourselves: The GDPR is coming!

Tim PostIt's actually nothing to worry about. You as users end up with more protection, and companies like us are left in a place where we've got a framework for handling your information that puts much stronger guard rails around responsibility, transparency, and accountability. The GDPR is a good thin...

 
12:35 PM
How can I change back to old Logcat format?
I/SampleTag: test
       test
       test
I need it as below:
I/SampleTag: test
I/SampleTag: test
I/SampleTag: test
 
why do you depend on this format?
 
New format is hard to read when there is a lot of output..
 
@rams you have access. Start by reading the rules and confirm you have read them before saying anything else
 
adb logcat still shows the tag in every line
 
processId filter.
 
12:40 PM
o/
 
There is no setting for old format?
inside the Logcat.
 
filter for the tag you want and ignore the rest :D
 
thanks, this is easier.
 
@TimCastelijns i believe i have them set up correct
i wrote the first screen of the app in kotlin and it runs fine
but when i try add firebase it just cant find the classes
 
ok not really sure what could cause it. @Adam is our kotlin expert
 
12:57 PM
If you studio can't find the firebase lib it's probably an issue with the dependency and not Kotlin tbh but I'm not sure
 
hmm
well i have
implementation 'com.google.firebase:firebase-core:15.0.2'
implementation 'com.google.firebase:firebase-storage:15.0.2'
 
hmm
 
and java file can use it fine
what version is working for you in kotlin?
 
Interesting. Well I'm not using firebase so idk if the kotlin version matters
what is the error you get? It just can't find the class at all?
Did you try writing it in Java, making sure it works, then using the Java-Kotlin converter to be 100% sure it's Kotlin that is causing the problem?
 
so when i go to follow their steps on their docs,
i write FirebaseStorage and auto import comes up and i see it there, when i click it, it changes to
com.google.firebase.storage.FirebaseStorage
and FirebaseStorage is red and says unresolved reference FirebaseStorage
 
1:02 PM
Hmmm
 
i havent wrote the whole code in java, literally just made a class to try the storage and it isnt showing an error.
it has the same imports in the java and kotlin files but in kotlin it gives an error for those imports
very weird stuff
 
Will try with those implementation's you gave
one minute
 
appreciate it
 
o/ adam
 
I have Kotlin version 1.2.31 and my IDE could resolve the class, but once I added those FB libs I couldn't build because I kept getting this:
> Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at bintray.com/android/android-tools/…) or updating the version of com.google.android.gms to 12.0.1.
> Task :app:processDebugGoogleServices FAILED
Found com.google.firebase:firebase-core:15.0.2, but version 12.0.1 is needed for the google-services plugin.
Found com.google.firebase:firebase-storage:15.0.2, but version 12.0.1 is needed for the google-services plugin.
Did you check into your google-services version? One way to help resolve these kinds of issues where the IDE doesn't build right is to use the terminal and run ./gradlew clean build --stacktrace and you'll get a more detailed explanation of what's going wrong.
 
1:11 PM
google services i have is classpath 'com.google.gms:google-services:3.3.1'
do you have an example of the versions you used that worked?
 
I haven't gotten it to work yet either, I'm not quite sure where I need to update that plugin yet. but perhaps you should try with "com.google.android.gms to 12.0.1" from the error message I got? I'm not sure if that's your problem - I'd try looking at the console output and seeing if you get something more specific.
 
1:23 PM
im really not sure what to do, com.google.android.gms to 12.0.1 doesnt seem valid at all
might just write it in java haha
 
consider posting a Q on the site
 
Try writing it in Java and seeing if it actually builds and runs. Just because it doesn't show an error doesn't mean you're not gonna have the same play services problem when you hit build.
 
yeah true il give it a go now
 
:)
 
1:47 PM
GitHub's improved their design :D
Love the way you can see your recent activity
 
@MarkO'Sullivan How recently?
oh yah...that's new...
stackoverflow.com/questions/50396120/… no mcve and refuses to give it
 
2:05 PM
> CA: explains why he needs the code
> user: bro why you need my code
¯\_(ツ)_/¯
3
 
@TimCastelijns you saw that, huh?
 
I just read it when you shared the link
 
oh yah...I forgot I asked for a cv
 
@DhruvMevada you have access. Start by reading the rules and confirm you have read them before saying anything else
 
https://t.co/IcNaHm99mf
 
2:11 PM
I have read and understood the rules
Did anyone tried using FlexboxLayoutManager with new androidx packages?
 
classes in androidx are not different
 
no dhruv
@Code-Apprentice lol some users are persistant
 
@ColdFire and I will persistently answer other questions instead
 
Oops my mistake, They released new 1.0.0 version two days ago, I just updated from flexbox:0.3.2 , trying with the new version now
 
Stop being a bully to new users cA
 
2:19 PM
@TimCastelijns Wow, the coincidence. I was watching this guy's video few hours back before checking the chat. This dude even came on America's got talent
 
yes he made the semi finals
 
Nice! that's pretty Neat!, cc @eski
 
:)
 
lol
 
Gonna try something
A̱̺͕̤̥̝̻̮͒̄̎ͬ̂̓̐ͦ̍̚͠͠ľ̨̬͔̼̼̗ͫ̒ͧ́͊ͬ͗͑͒ͦ̓̂̾͂ͩ̋ͮ̀l̶̨̅̋ͤ̉̿͐́̌̿́̂̋̎̐̈̑̉̎͘͏̳͎̣͉̞̙͇̫̲̰̻͓̘͚̜̝ͅ ͊ͣ̌͑̐͗͂̔̀ͯ͏̰̬͙͇̬̱͔̰̜̦͍̩̦̘̀́͢á̲̱͕̪ͦ̔ͧ̏̀ͯ͋ͯ͋̀̀ͬͣ̿͠r̸̖͙̖̤͓̖͔̳̼̺̻͍̯͔ͫ͑̏ͯ̒̒̐̉ͮ̉̌͌̉ͨ̓́́͢͠o̢̭̘͈̞ͨ͐͛̓ͥ̒͂̉͛̏̈́͛͜uͤ̄̉̃ͦ̓̈́̓͆͛͜͏̜̞̱̮̥́́͠n̴ͣ͒ͣ̊ͫ̂̈̌ͫͥ̏ͬ̈́̔͟҉̪̻͓̗d̜̙̠̼̼͖̱̹͇̙̣̳͈̖͙̮̖͚ͫͩ̈̈͗ͭ́̊̊͐ͤ̃́̄ͫ͝͠ ̘͍̩̫̫̟̠̜̻͈͛͌̏͐̂͆̔ͩ͛ͩ̀ͪ̋͜͞͝͞u̵̵̪̥͕͎̻̙̜͓̮͚͙̯͓̠̜̠͖͚̿̐̿̾̾͑ͭ͝ͅs̡̢̬̻̙̗̞̥̫̺̘̼̜͙͍̫̯̫͙̗ͫ̆̾ͧ̑͂̌̏͑͠͠ ̷̷̄ͭͣ̔̎̉̉ͣ̔̔͊̃ͬͨͯ̚͏̜̺̬͕
ͩ̓̈́̒̈́̇̓̍̾ͧ̌̐ͬ̎̃͂̓̏̚҉̛̣̜̝̰͈͖C̡̨̛͈͙̙̹̩̱̦̜̘̼͒̄ͧͤ̄̀ͭ̽ͯͬ͂ͩͪͦͯͫ̐͝ĥ̶͍͙̼̱͍͚̤ͣ̄ͦ̋ͭ̒ͩ̌́̚̚á̷̶̴̢̪̩̝͚̪̻̬̖͚̰͚̦̦̠̘͔̅ͯ̇͂̚o̡̨̧̭̗̠̭̙̗͖͇̦̹̲̹̲̘͓͉̼̅ͩ̍̽̔ͯ̉̍͋̇̓ͨ͂͌ͤ͢͝ͅş̙̲͓͉͖͖̬̤̫̪̼̱̮̺͈̼͙ͦ̍ͥ̐̉͠͠
There is word limit on chat?
 
2:35 PM
yeah
 
@Abhi a character limit, not just a word limit
 
Alright
 
@eski I should bully you instead, then, right?
 
I was trying some Zalgo text
 
oh no cA...I don't want no trouble
 
2:52 PM
Gooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo‌​oooood Afternoon Everyone!!!!!!! :D
 
afternoon
 
Good Afternoon Womp
 
We'll see.
Maybe it is, maybe it isn't. You never can tell with afternoons.
Is there a way to make it not charge when I'm debugging?
I think that one of the problems I am running into is something to do with power management and it absolutely never happens while my phone is connected to the debugger.
And it never happens in an emulator.
Or is there a way to wirelessly connect a debugger I guess?
 
yes you can connect over tcp/ip
but it is slower
also check developer options > select usb configuration
 
3:09 PM
I might need to figure that out.
Alternately I need a way to trick my app into thinking there is always a debugger connected.
As apparently that makes it work perfectly.
 
@W0MP3R wompers!
 
that's not a good solution
find the culprit and fix it instead
 
Hiya CA!!!!! :D
 
How you doing today?
 
goooood!!!! :D
let's see if i manage to create some VM to clean my main pc of things x3
 
3:18 PM
Oh I would love to fix the problem but as it only happens when I'm not connected to anything ( and particularly when my phone first wakes up in the morning, so again power management? ) it's quite hard to find. I've probably spent three weeks trying to figure out one bug and I've worked around it to a large degree but sometimes it still shows up and I have no idea why.
 
 
2 hours later…
5:00 PM
                                                                                              \00
 
Hiya Een!!!!! :D
 
Womper
Long time
 
yes!!
How is it going???
 
Not bad; still here
 
5:19 PM
> Coworker: We should go to a sit down for lunch today.
> Coworker 2: Only if we can all sit like in that painting.
> Me: You mean all on the same side of one long table?
@PrittBalagopal This room requires a higher Answer/Question ratio. Feel free to request again when you have more answers: room-15.github.io
 
xD
 
lmao the link
@AdamMc331 getContext() == null
 
5:35 PM
@glenatron you may wanna use a reporting tool, or make a simple REST api for exceptions uploads
 
04:00 - 18:0018:00 - 00:00

« first day (2771 days earlier)      last day (2192 days later) »