« first day (2422 days earlier)      last day (2511 days later) » 

12:04 AM
@JoseSilva You need at least 80 rep, and a a:q ratio of 3:4 to talk here. Please see this link for more details.
 
12:25 AM
stop
 
HAMMERTIME!
 
12:35 AM
Yes, I meant having the image as a drawable, design folks in this room can help you in it :D as you said, it's pretty hard to draw programmatically
 
Great, thanks! That shouldn't be too hard. Just have to figure out how to place the buttons for the positions
 
damn you room15
you've got me annoyed at pings
cM what would it take for you to grant access to @AndroidDev?
 
It would depend on who @AndroidDev is and if he meets the requirements
Why do you ask?
 
he's also working on this ChatSE project
I don't think he meets the reqs
 
Why the hell not?
 
If you vouch for him and he's around right now, I'll give him conditional access
 
conditional access?
and I just pinged him se we'll see
 
He'll be watched closely and on a short leash.
"conditional" might have been the wrong word
 
ah
probational?
 
there you go
 
12:53 AM
hmm was I on this? >_>
 
No, you just had one foot on the ban list. lol
 
o_O
pls
I bow to the mighty RO
 
:P
 
No bowing necessary. You turned your pingy attitude around and saved yourself :D
 
12:55 AM
so tempted to ping
 
Don't do it @TheWanderer
 
!/meow
 
GASP
 
stop
 
12:56 AM
HAMMERTIME!
 
rip bot
 
!/hang
 
  +---+
  |   |
  |
  |
  |
__+__

-------------------
 
t
!/hang t
 
  +---+
  |   |
  |
  |
  |
__+__
t
--t--t----t------t-
 
12:57 AM
!/hang z
 
!/hang a
 
  +---+
  |   |
  |   O
  |
  |
__+__
t, z
--t--t----t------t-
  +---+
  |   |
  |   O
  |
  |
__+__
a, t, z
--t-at----t---a--t-
 
!/hang w
 
!/hang e
 
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, e, t, w, z
e-t-ate---t---a--t-
 
12:57 AM
!/hang h
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, h, t, w, z
e-t-ate---t---a--t-
 
!/hang '
 
@DaveS I will only accept alpha characters
 
lol
 
!/hang x
 
12:57 AM
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, e, h, t, w, x, z
ext-ate---t---a--t-
 
damnit I helped
 
!/hang p
 
  +---+
  |   |
  |  \O/
  |   |
  |
__+__
a, e, h, p, t, w, x, z
ext-ate---t---a--t-
 
!/hang s
 
  +---+
  |   |
  |  \O/
  |   |
  |  /
__+__
a, e, h, p, s, t, w, x, z
ext-ate---t---a--t-
 
12:58 AM
srs?
 
@DaveS please RTFM - AndroidBot
 
!/hang r
 
  +---+
  |   |
  |  \O/
  |   |
  |  /
__+__
a, e, h, p, r, s, t, w, x, z
extraterr-t-r-a--t-
 
!/hang extraterrestrial
 
@TheWanderer You people suck. The word is extraterritoriality
 
12:59 AM
!/hang i
 
lel
 
  +---+
  |   |
  |
  |
  |
__+__
i
i----------i---i--
 
!/hang a
 
  +---+
  |   |
  |
  |
  |
__+__
a, i
i----------i-a-i--
 
uhh...I didn't mean to start another one
!/hang l
 
12:59 AM
  +---+
  |   |
  |   O
  |
  |
__+__
a, i, l
i----------i-a-i--
 
I failed it by guessing the wrong word xD
!/hang d
 
!/hang n
 
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, d, i, l
i----------i-a-i--
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, d, i, l, n
in--------ni-a-in-
 
!/hang c
 
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, c, d, i, l, n
in---c----nica-in-
 
1:00 AM
!/hang g
 
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, c, d, g, i, l, n
in---c----nica-ing
 
!/hang t
 
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, c, d, g, i, l, n, t
int--c----nicating
 
!/hang s
 
!/hang r
 
1:00 AM
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, c, d, g, i, l, n, r, s, t
int-rc----nicating
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, c, d, g, i, l, n, s, t
int--c----nicating
 
we broke it
 
lol
 
!/hang e
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, c, d, e, g, i, l, n, r, s, t
interc----nicating
 
!/hang o
 
1:01 AM
!/hang o
 
@TheWanderer o was already submitted
 
I win
 
wow
 
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, c, d, e, g, i, l, n, o, r, s, t
interco---nicating
 
!/hang m
 
1:01 AM
  +---+
  |   |
  |   O/
  |   |
  |
__+__
a, c, d, e, g, i, l, m, n, o, r, s, t
intercomm-nicating
 
!/hang u
 
!/hag intercommunicating
 
@TheWanderer Correct! The word is intercommunicating.
@codeMagic That didn't make much sense. Maybe you meant: hang
 
hag lol
 
1:02 AM
Bull shit! I was correct
 
I beat u tho
 
@AndroidBot you're a fucking hag
 
:( -- @AndroidBot
 
!/learn hag hang
 
@codeMagic Command hag learned
 
1:03 AM
thank you
!/hag
 
@codeMagic hang
 
lol
 
well, that backfired
 
!/tell TheWanderer hag you
 
1:04 AM
@codeMagic Don't be annoying, drop the @, nobody likes a double-ping.
 
lmao
 
lolol
 
@TheWanderer hang
 
ten
 
o_O
hmm is there a way to programmatically add a view to a SupportActionView?
 
1:14 AM
I'm not sure what a SupportActionView is
!/unlearn hag
 
@codeMagic That didn't make much sense. Maybe you meant: learn
 
never mind, bot
 
rip
you know the getSupportActionBar() method in AppCompatActivity?
My app isn't using a toolbar
 
Oh, not sure about that. Used it once, didn't like it. Made my own until they came out with the toolbar
 
I can make my own??
 
1:17 AM
Well sure. I mean, I just created my own action bar type thing with a custom layout, extended a custom base activity and included the custom action bar
The original actionbar sucked
 
I just created a LinearLayout with the Views I needed, added it to a base Activity, and overwrode it when needed for custom functionality in certain activities
 
meh I'll just give up on that
now I need to figure out why the app is causing the test devices to overheat
 
That's probably best. Giving up is easiest
4
 
lol
is there something special that an ASyncTask might need to actually end it?
because something's staying awake that shouldn't
and idk what
 
1:22 AM
I don't know what you mean
 
well when I have the app in the foreground it sucks battery and runs the CPU like crazy
 
Unless you have a foreverloop, AsyncTask shouldn't keep running
 
something's being kept awake and running
 
And they shouldn't be used for tasks that last more than a few seconds
 
but everything seems to finish
 
1:23 AM
@codeMagic hahaha
 
they're not. Just for loading in user icons
 
Mehdi!
 
:D
 
Look at your Threads when debugging and see what is taking up resources
Do you have services running?
 
only service is Firebase
but the app is fine in background
how do I see which thread is using resources?
 
1:25 AM
I forget the tab. Maybe Android Monitor. But something shows you which threads are active
Mehdi probably knows. He's smarter than me
 
I'm not XD
but the new AS 3.0
has a neat profiler
that shows running threads and GC events as well
(as they happen)
 
not updating :p
 
I'm still on 1.5. See, I told you he's smarter than me :P
 
o_o
 
1:28 AM
being able to develop production ready apps on 1.5 is the real deal :D
 
haha
 
 
1 hour later…
2:49 AM
@AndroidDev You need a a:q ratio of 3:4 to talk here. Please see this link for more details.
 
3:03 AM
@codeMagic ^
aha
so two Binders are running all the time
but which binders?
 
3:28 AM
morning room
 
morning?
 
pls
 
3:56 AM
:P sorry
 
 
2 hours later…
5:30 AM
o/
 
5:55 AM
\o
 
6:10 AM
whatsup CA
 
6:24 AM
Not much. Just about my bed time
 
Morning, folks
 
morning
 
6:50 AM
Good night
 
7:12 AM
@CarlAnderson Love it.
 
user443346
o/
 
@OcuS But the bot was built by Raghav. Coincidence? I think not. Mystery? Maybe. Hotel? Trivago.
 
7:43 AM
@Ahmad Well I wasnt expecting that to happen, I have 2 observables created from Realm observing 2 different class's objects, now when anyone of them changes I need to trigger the zip operation on both of them and emit.
Now since Zip diposes both of the observables, realm gets closed and no more observing changes
 
8:21 AM
o/
 
8:49 AM
@McAdam331 meh its a fork of caprica
 
9:14 AM
 
9:30 AM
Realm works so beautifully with rxjava its like magic
 
9:50 AM
lol
 
10:06 AM
@TimCastelijns how the do you delete a Realm instead of migrating?
 
Realmconfig.deleteifmigrationrequired() or something
 
realm.delete();
lol Tim is like a ghost everytime online
@MarkO'Sullivan hey
 
so i set it in the config then?
thats better
new RealmConfiguration.Builder().deleteRealmIfMigrationNeeded()
I was stuck in a paradox
my schema changed
device has older schema
so when I do Realm.deleteRealm(Realm.getDefaultInstance().getConfiguration)
the Realm.getDefaultInstance() would throw migrationexception
thanks @TimCastelijns you potentially saved me hours lol
 
Sure thing
 
11:11 AM
Goooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!!!!
 
11:33 AM
OMG
also o/
 
OMG
 
12:05 PM
happy saturday everyone!
 
user443346
12:17 PM
@TimCastelijns Another Realm question for ya, whats the best practise for an 'auto increment' column
 
Why do you need it
 
user443346
12:32 PM
Nvm, I'm a moron. I wrote some terrible code months ago
 
@Ahmad EEEEEEEEEEEEEEEEEEEEEEE
 
1:15 PM
scary right
 
yes
 
1:37 PM
@TimCastelijns for change listeners to work correctly (in rxjava context) I must subscribeOn a thread that has a Looper correct?
is there any other requirement like the observeOn thread must also have a looper?
 
@W0MP3R morning
 
whats the damn better ads standards
 
lol
 
HOW ARE WE SUPPOSED TO MAKE MONEH?
 
1:42 PM
I know nothing about rxjava
 
by not showing ads
 
you're an ad
everyone mute CF
 
well Tim I subscribed on Schedulers.io() I guess sincee its java compliant it doesnt have the android's handlers and loopers
hence addChangeListener was throwing
 
whatsup fu bhargav, Tim
 
fu coldy
 
1:45 PM
wat
 
hehe
 
I am annoyed
I've converted all my threads to ASyncTasks, and the only things running now are some Fabric.io queues, but the CPU is still running high
 
well asynctask should be more costly than thread
so IMO thread are less memory hogger
 
memory isn't the issue
the CPU is just constantly running
I converted my threads to tasks and it went downa bit, but it's still pretty high
 
well both case cpu wont be affected
 
1:48 PM
hmm
 
unless you are not stopping a thread
 
so why was it?
 
Well wanderer Im thinking your threading isnt the issue
 
what could it be?
 
async tasks are 1 shot
per object
on 1 executorservice
so I can understand the improvement in cpu usage, but unless a thread is actually doing loads of work it wont hog the cpu as far as I know
 
1:50 PM
well they are doing a fair amount of work
I just can't figure it out
 
There are specific android schedulers bhargav
 
2:24 PM
TW you can monitor your app for a while with a profiler and after it will tell you where the cpu time was spent on
 
Yeah the profiler is pretty new
Came out with as 3.0 at io
 
2:43 PM
yeah
 
TraceView
It's great
I spent a lot of time with it at Groupon
 
@TimCastelijns yes I am using AndroidSchedulers.from(Looper) right now, alternatively I create an Executor from a HandlerThread im going with the former at the moment
 
so I need to update to AS 3.0?
 
you can also use traceview as raghav suggested
 
how
 
2:55 PM
i havent used it much so raghav can explain you better
 
TraceView is pretty simple. You pick a point in your code to start tracing, and another to stop
 
HAMMERTIME!
 
You then get a tracefile, which you can visualise
 
Hey all, I have one quick question about Data binding. Are merge tags supported? I can't get them to work.
 
And it'll tell you which method call in your code took how much time
No idea what you're on about
 
3:01 PM
hmm it seems to have fixed itself...
 
no
 
yes
 
where there is an inconsistency on the behaviors of your system (app or whatever)
 
Yes realm is updated on looper thread
 
well it was consistently hot and now it's consistently not
 
3:04 PM
Running hot as in physically heating up?
 
it means that you're not testing with the same exact "ecosystem", in other words you're testing your system under other conditions which are not failing, and not the same conditions
 
That could be for any number of reasons
GPU, battery, CPU, sun hitting your phone's glass
 
wish I had a direct line of contact with some rxjava experts
 
I believe BlackBelt and Warren use RxJava quite a lot
 
@WarrenFaith on which thread does the onComplete() method invoked by the take() operator get executed?
is the scheduler passed to subscribeOn or the scheduler passed to observeOn ?
 
3:09 PM
@MehdiB. two different devices, both having the app run with shift+f10
installing normally also made it heat up
@RaghavSood yes. The CPU was going crazy
 
How do you know it was the CPU and not one of the other factors?
 
because the CPU was running high when I checked it, and the area with the CPU was hot
also no rendering happening on screen
 
Fair enough, just making sure you weren't on a wild goose chase :P
Plot Twist: The Wanderer is running a fever and blaming his phone
 
pls
is there a way to keep the button click animation when the background is a drawable?
 
Specify different drawables for each state in the click
It's called a statelistdrawable or something like that
 
3:24 PM
ahh ImageButton
 
3:41 PM
yeah what raghav said
 
I know there's the statelistanimator
 
4:12 PM
btw, with kotlin one may write inline functions and they will not add up to method count
also, it's theoretically possible to hit method count limits even while writing all in one method, because it's possible to define classes inside methods, and to define methods in these classes. it's still all in one method, but more methods are generated.
 
4:55 PM
I don't know why some people remove Override annotations from their code...
 
because they are bakka
 
That's a word I haven't heard in a long, long time
 
5:20 PM
bakka?
 
XD
 
5:40 PM
anyone knows how to change the name of app widget showing "EXAMPLE" in widget picker?
 
6:04 PM
i can't happen to find a way to change the name from EXAMPLE to my chosen one
 
6:19 PM
found it. No worries
Thank you :D
 
6:35 PM
Dam I cannot open the stackovwrflow chat site on my desktop. Seems like something wrong with my network. Seems to be blocking certain sites
Can open the same sites on mobile data.!:(
 
rip
 
Seems the fault lies with service provider. I need to get rid of BSNL.
 
their logo looks like it's from the 90s o_O
 
6:54 PM
lol
get jio
 
 
1 hour later…
8:00 PM
I understand now that I am a very stupid human
i spent more than 5 hours trying to figure out why my observer wasnt getting called, when the subscription was getting GCed because there was no strong reference to it >.>
2
 
8:45 PM
damn
I want to do rx again
 
 
1 hour later…
10:08 PM
hmm I wasn't really thinking about buying an Essential for my next phone, but the bootloader is unlockable....
and if I'm going to be giving up IR and removable battery for my next phone anyway, why not the headphone jack as well?
 
10:22 PM
is everyone dead?
did Raghav's bot get you all?
 
It's 699
 
10:54 PM
Great... Skobbler SDK provides these 4 methods, which I have to test because I have no idea what they mean....
- getCurrentAdviceCurrentStreetName ()
- getCurrentAdviceNextStreetName ()
- getNextAdviceCurrentStreetName ()
- getNextAdviceNextStreetName ()
 
11:23 PM
What is Skobbler?
 
@realDonaldTrump No, we don't. Please cease your incessant yammering.
 
wat
 
11:52 PM
@Code-Apprentice It's an SDK providing a Map and features related to Geoloc, navigation, cities data etc..
it's strong part is the fact that it's based on OSM (Open Street Map) and gives you access to data such as "avoid highways", "next turn", "remaining distance", "max speed on this road" etc..
the downside is that its richness turned the API in a monster and it's not well designed, too many callback methods to implement, too many features to configure for 1 simple thing etc..
 

« first day (2422 days earlier)      last day (2511 days later) »