« first day (2490 days earlier)      last day (2684 days later) » 

13:01
Time to go!!
Will read later
Cya later peeps!!!! :D
Bye W0mp. Nice sweatshirt btw
Morning, Android!
Woooo
Wait I thought that was available in the beta channel :(
btw GoT last night was awesome
its always awesome :D
13:04
@MarkO'Sullivan nah, it has only been Canary since Google I/O
I'm tempted to use canary but I don't want it to fuck up while I'm working
later womp
user443346
@MarkO'Sullivan I switched to Canary because of Tim. Works like a charm :o
I have read and understood the rules
@MarkO'Sullivan You can install both side-by-side
13:10
Tim works like a charm?
Welcome, Curio!
welcome, curio
Thanks :)
@Code-Apprentice that's effort though :c I just want one build which will defo work and have cool features
user443346
And indeed, you don't even have to install Canary. You download the binaries.
user443346
13:11
And run it.
welcome curio
user443346
Just download it Mark, you'll see.
The recommended way is to install the canary version side by side to the stable - but who does that?
Not me
user443346
^ nobody since Canary has no installer.
user443346
13:11
Atleast not for Windows.
@MarkO'Sullivan I like to have both so I can play with Canary on less important projects and then use Stable for my primary Android app.
i used to use 2 version but not now
user443346
13:23
What's the best way to safe a variable trough the entire application? I guess getSharedPreferences?
@ZeekHuge Welcome! Please read, confirm reading, and follow the room rules before you do anything else: room-15.github.io
Jordy you could put it in the Application class
user443346
Also a good one, any reason why I should put it in the application class instead of getSharedPreferences?
will you need the value when you close and reopen the app?
do you mind if the value is GCed?
user443346
13:33
Yes, I need to keep the value intill my users 'signs off'.
if it's just 1 standalone value, put it in prefs
user443346
Will do, thanks :) still not really clear why I should put it in the Application class. Or will this value get erased as soon the app restarts?
Not in a Realm DB?
are you OK, Tim?
I don't know what mark means with put it in the application class
lol ocus
13:37
Hey, what does a release process look like for you?
Don't put it into Application since it can be re-created and you would lose the variable or get a npe even
Like, how do you typically test that a new version works well? What are some common Android scenarios I should be scared of?
> error: constant string too long
changes between android api versions are scary
Anyone ever got that before?
13:38
are you logging something mark?
are you using a Samsung phone mark?
It's just a really massive string I'm trying to use as a variable
make it small?
I can't
it's data which needs to be sent to our wristband
> the length of a string constant in a class file is limited to 2^16 bytes in UTF-8 encoding.
13:43
use a StringBuilder or StringBuffer?
SO answers which suggest subclassing Application always rub me the wrong way. This always seems like such a hack.
sometimes it's necessary
Yeah but if I return that string from Retrofit, it wont work
@TimCastelijns where did you read that?
I think the first hit when I googled your error
Read and understood the rules. Thanks
13:45
@TimCastelijns I have yet to see a situation where the problem cannot be solved in some other way.
2
A: Java "constant string too long" compile error. Only happens using Ant, not when using Eclipse

Jörn HorstmannThe length of a string constant in a class file is limited to 2^16 bytes in UTF-8 encoding, this should not be dependent on the compiler used. Perhaps you are using a different character set in your ant file than in eclipse, so that some characters need more bytes than before. Please check the en...

Welcome Zeek
@Code-Apprentice why do you think it a hack? How do you otherwise handle similar functionality?
I have some ideas but wondering about your view
13:47
if that's a too long string, why not use a Stream?
@TimCastelijns i skimmed over that quickly and missed it :(
Just load the string to a file maybe?
user443346
Or make it json.
Would love good references on chat.stackoverflow.com/transcript/message/38601418#38601418 by the way
Jordy, JSON is just a data serialization format, it would still be a string.
You would run the tests and hope it passes
13:50
Yeah, but anything in particular? Remember, I'm not an Android developer - I'm a developer using Android
I have been trying to understand how the ContactsContract work. I think I have understood it well, except he Aggregation of contacts. My use case is similar to the WhatsApp handles it. If new contact is added, the sync adapter should be invoked, if the name of an existing contact is changed, it should appear in my list. I have added the raw-contact with Account type = my_account, and have added the but Phone.CONTENT_ITEM_TYPE and added the phone number.
Now I expect it to aggregate with the main contact details and get DISPLAY_NAME
but, id do not gets aggregated, and the DISPLAY_NAME is simply the number.
@TimCastelijns All of the situations I have seen can, and should IMO, be handled by passing data in an Intent or storing data more permanently in a file, database, or SharedPreferences. Of course, we are talking broad generalities here. Can you think of a specific example where you believe subclassing Application is required?
Any one can suggest me something on it ?
@Code-Apprentice Yes, initializing something prior to the loading of the first activity
Why would you need to do that? (I'm asking to understand, hopefully not to challenge.)
13:52
@PriyankaChauhan access removed. You just said thanks and went offline without reading the rules.
@BenjaminGruenbaum it's important to be aware on how certain API levels can affect your app, and handle limitations gracefully
Well if you did not change the sdk versions there is not much to take care of
CA - I'm working on an app where I need to load a speech module before the first screen, because the voice recognition must start as soon as the first screen opens
otherwise they'll be a delay of a 2 secs and the user would think that it's not working
@ZeekHuge ContactsContract does not work alone. It is the data you need to use the ContentProvider that gives contact data.
@Code-Apprentice database initialization is often done in application class. It is not required of course but it is convenient
13:53
You could run the app on different os versions and see if its still working with the new changes
Benjamin check the behavior changes section in the docs
Why not use a dialog showing "loading" or smth
@MehdiB. that sounds like a reasonable use. An alternative is to have a dummy activity which does that work and then goes to the first actual screen. But that might not be doable...dunno
I think the best solution is to get the response to split strings bigger than the limit which is around 62k characters
Yes, the ideal would be a loader on an empty activity, but That's what I'm trying to convince the customer to approve
13:55
All the examples of subclassing Application I have seen on SO are to implement some singleton and store data in the Application.
@Code-Apprentice of course I am using contentProviders for all data things, but its all happening inside the ContactsContract.
@Code-Apprentice I use acra crash reporting, it requires you to annotate the application class
Benjamin: have unit tests (junit/mockito), have ui tests for critical workflows/activities (expresso), have beta-testers (Fabric/Crashlytics/Beta)
@ZeekHuge It will probably help if you provide a small example to demonstrate what you are describing in words. Of course, "small" is very relative, especially when you are talking about Android development.
Benjamin: also, there are some tools like Firebase Android Test-lab that allows to remotely install and run tests on real devices. I've never tried it (and I think it costs money-money) but I like the idea
14:06
Afternooooooooooooooooooooon!!! :D
wazzup W
@TimCastelijns that seems like a good reason to subclass Application
trying to decide what to waste my afternoon with :3
I also initialize realm and other libs in my application class
why not wasting your afternoon trying to decide what to waste your afternoon with
3
14:08
I guess the only examples I have seen have all used the technique improperly to solve a problem that has better solutions.
understandable
kind of what i'm doing right now
you have time to waste? I have almost none of that any more.
oh well... in september i'll start to die
'cause workd and uni
and I bet you wish you didn't waste so much time before, CA
14:11
work and uni?
That doesn't sound fun
I wish I didn't
it's not fun xD
@W0MP3R @CptEric Any decent Computer Science universities in Spain/Catalonia that teach in English?
that teach in english....
@RaghavSood so you finally want to learn how to program correctly?
3
14:12
everybody quiet. Tristan is here.
let me think
Lol
I'd settle for learning at this point
don't kid yourself thinking you need a university in order to learn
dutchies are always so serious...
says a german
14:14
which just put some pressure behind that statement :D
@TimCastelijns we do that, thanks, anything else
it's my way to deal with his never ending bullying
@Code-Apprentice I'm quite happy with content providers :)
@BenjaminGruenbaum it may not matter for your app, but a bunch of manufacturers install "helpful" app manager apps that for example kill everything that belongs to your app if it is not opened for X days
COUGH samsung
0
Q: Working of android contact aggregation

ZeekHugeI have been trying to understand how the 'Contacts Framework' in android work. My use case is similar to WhatsApp`s friends list : If new contact is added, the sync adapter should be invoked. if the 'name' of an existing contact is changed, the changes should appear in my list too. Its the ...

@Code-Apprentice : asked it as a question. please have a look
14:30
@TimCastelijns iOS11 does this (cultofmac.com/485432/…), I won't be surprise if android starts soon to follow that trend too..
> It looks like you're using an adblocker. etc...
@TimCastelijns No, but I need a bachelor's degree to get a work visa in most countries because India's diplomatic relations are about as well-worked out as your app code :D
user443346
14:41
@TimCastelijns Bought one! Now I can finally get hired.
bro, they are free. I think you got scammed
user443346
Shiiiiiiiiit
I went to a bank to ask them about the process of buying back a loan,
the guy told me: well you buy the loan, you pay the amount the bank owes you
I told him: ok, how about you give me something else I can't figure from the name of "buying a loan"
his colleagues mocked him and I got to meet the director then :D
meeting the director, is it like being sent to the principal's office?
14:48
for illiterate people yes, otherwise it just means having access to their time and expertise on finance for free XD
From now on, I gotta be careful, I still have 10 "XD"s to consume before switching to something else (9 now), gotta use them wisely
user443346
 Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/devtools/build/android/desugar/runtime/ThrowableExtension;
user443346
What the hell is this error
NoClassDefFoundError
looks genuine enough
user443346
14:51
Smells like a fraude, wouldn't hire you Tim.
Nice, even got the seal of approval
lol
raghav would hire tim with that degree
didn't know Raghav was hiring
all raghav would ever hire is an extra cpu core
yup i came to know just now too
user443346
14:53
@ColdFire @RaghavSood I don't know but since you guys showed me the images about Indian people herassing girls on facebook I see meme's about it every day. Every single day it makes me think about you guys xD
images when?
user443346
Couple of weeks ago
i do not remember showing you any image
lies
user443346
I send a picture at first, I didn't understand the meme. You explained it to me.
I remember
14:54
me really?
user443346
Yeah
https://www.theguardian.com/world/2017/jul/04/women-india-cow-masks-sexual-violence-sacred-cattle
to the point that some have started putting cow masks to make men respect the holiness of the mask :D
(sorry for the double ping)
user443346
user443346
^ stuff like that
show me the transcript
user443346
14:55
I rather not search my ass off since i'm almost done @ the office
the fuck i am seeing it for the first time
user443346
Be my guess and do it yourself <3
user443346
I didnt send this image back then
meh its on you to search
user443346
it was very different
14:55
why would i bother searching
user443346
But same concept.
user443346
Why would I search for it aswell?
it must be raghav and definitely not me
Jul 18 at 12:30, by Jordy
Can anyone explain this Indian meme for me? I have no clue
user443346
Thanks Tim.
user443346
14:56
Oh it was @Ahmad who explained it.
user443346
Nvm.
i do not see even 1 message of mine in that transcript
fake news
user443346
Well you're still Indian.
so?
stereotyping are you?
user443346
You also think Tim and me are the same.
user443346
14:57
Eating frikandellen all day everyday.
except that is true
haha!
no
I wish :(
i never thought you both are same
and never said so
user443346
We all know you're a liar sometimes CF
user443346
14:58
But I respect you.
relax CF he only meant that it reminds him of you guys, because you are from india. No stereotyping
CF - he's joking :D
user443346
Indeed :')
user443346
CF has a very itchy triggerfinger :(
well we say who is liar here
he's teasing you CF!! XD
user443346
Atleast Mehdi and tim gets it
it's because I am dutch and mehdi wants to be dutch
easy for us to get your intention
well whatever i didn't like the stereotyping
15:01
understandable, I think he didn't mean it that way
and this is not the first instance i have seen this
Tim - haha!
@TimCastelijns added to collection
lol that reaction tim nice
Just started huge MR with my team and gitlab went down. Raghh
merge request
ah, so time to get a good justifiable cup of coffee, or tea in your case Graeme :P
maple syrup I am thinking
15:07
do you think an englishman would adopt canadas official drink and ditch tea?
I imagine it's part of the immigration process
that would make sense, along with having to write on a whiteboard the different variants of "sorry"?
possibly
Jordy regarding your internet archive ban : reddit.com/r/india/comments/6sqt3q/…
just found it
you think that comes before or after the icehockey tryout?
15:12
o/
Yo
Carl, can you test an app I made?
\o
If not no worries, sorry to put you on the spot
Anyone wanna test my app? lol
how much does it pay
What app is it?
15:13
100 TristanCoins
YES
I'm about that coin life
meh 0 INR then
It's an app for the site trumptwitterarchive.com
lmao the site name
15:14
sorry too busy atm Tristan
No worries
It's literally an archive of every Trump Tweet ever
Is it your website?
Nononono
It's the largest archive of Donald Trump's tweets
but is it yours?
It archives in real time, any deleted Tweet
15:17
has trump tweeted about this site?
oh wow, Jake Wharton to Google
yup carl
Surprised it took so long
yup should have been quite earlier
since the ABS days
15:20
Tim - I'd think on the break of the match :D
(do they have breaks in Hockey? :D)
Yes, bones
haha!
@MehdiB. The English drink more Coffee than Tea :P We already also say Sorry a lot. We just say it passive aggressively.
Or sarcastically
15:30
I love the continuous sarcasm on english movies XD
Have a nice evening all
is so much fun being sarcastic in english
bye~~
I watched Snatch lately, and I must say, the rhetorics and sarcastic replies are very good :D
15:37
I've noticed a couple of times I've said something I think is fairly normal and Canadians have been horribly insulted and think I'm very rude / mean
Like what?
Can't think of any off the top of my head
"Next person to request a PR without commenting their code better know how to land on their feet after being tossed off the roof"
Perfectly normal statement in WarrenLand
Similar :)
I once said in a meeting that some people were going to get stabbed
legitamately
And one of the ladies was like "Do you know who I am? I'm head of HR!"
And she didn't like it when I said "Okay?" :D
15:40
People got offended by that? That's just a daily occurrence in Glasgow
I think she was aiming for shock an awe rather than bemusement
"Do you know who I am?" -"Do I look like i care?"
haha!
> Sol: He's a natural, ain't you Tyrone?
Tyrone: 'course I am...
[reverses into parked van]
Vinny: A natural fucking idiot.
^Graeme when people tell him he can't do stuff at work
hahahah
15:45
I'm actually very good over here in Canada
I'm becoming a manager :P I have to behave
Congrats!
uooo
Congrats!!!! :D
also, make sure to raise the salary of good developers
Graeme I thought you were for leaving your workplace? Did things get better?
lol
congrats graeme
15:52
Not congrats :P
I do much less coding now
ooo
:(
I have no choice but to stay here until at least next year
but you get to have enough time to code on your personal projects :D
managers don't have time for personal coding
15:53
i still haven't found a 2014 MacBook retina to get my data back :(
Carl - unless they're experts on delegating stuff :D
Even then, managing is very time consuming
I've rarely come across managers who end up coding more than required for code reviews/merging PRs
AWS is hard
Doesn't sound like a fun job for me :D
it isnt
but atleast you get rid of coding timelines and uncertainity
Not really, because now you have to set them
Which is arguably worse
Okay, I think I've managed to ssh in to these machines
Now to actually set them up
16:06
really? in my company developer used to set them
A manager would still be in charge of the overall project timelines to some extent
yup he is
btw raghav are there any shop that rent a MacBook for a day?
i need one to get my data back :(
Not a clue
i tried at many places with no result to get the model i need :(
Managers are less in charge of timelines that developers
16:18
Let's rephrase that - Managers get to take the blame when the timeline doesn't work out
We get told what functionality and timeline is, then we get our developers to tell us how long they expect it will take, then we cry in the middle while we watch the deadline heading towards you knowing you can't ever hit it :P
And wishing you could shake developers that don't do what you need them to do :D
Being a manager has taught me a lot about how to be a better developer in terms of which developers are good for teams and which are horrible
I feel like HR is going to send Graeme a life sized card board cut out of the HR lady to keep in his office and look at every time he feels like firing people
Okay, got the jumper set up
Now for logging
!/meow
No bot
panda army!!!
Cool I'll get to meet Jake :O
oh wait, kotlin hmm
16:47
so my wife found this 101 Wacky Computer Jokes book from 1998 that was going to get thrown you, you guys want to hear some?
Of course!
What did the shoe salesman do when he got a computer?
well we are already tired of your shit so go on
he booted up. @AdamMc331 @TristanWiley
16:49
How is the Internet like your front yard?
you have to modem both
4
lol
not click youtube links anymore xD
Why did the computer cross the road?
To get a byte to eat
16:52
XD
CF - haha! this one is legit I promise
lol Mehdi I've seen that one
I never thought this was a thing XD
ok i didn't got this cross the road joke :/
computer
byte
a bite to eat, a byte to eat
16:54
"Get a bite to eat" is a common phrase in English meaning "Get something to eat"
@Graeme which are good for teams and which aren't?
so cross the road is just for show :/
A common US joke is "why did the chicken cross the road?" followed by a punchline
Or "Why did X cross the road"
"Why did the chicken cross the road?" is a common riddle joke. The answer or punch line is: "To get to the other side." It is an example of anti-humor, in that the curious setup of the joke leads the listener to expect a traditional punchline, but they are instead given a simple statement of fact. "Why did the chicken cross the road?" has become iconic as an exemplary generic joke to which most people know the answer, and has been repeated and changed numerous times over the course of history. == History == The riddle appeared in an 1847 edition of The Knickerbocker, a New York City mont...
It's an ironically bad joke setup
anti-humor, yeah.
"Why did the chicken cross the playground? To get to the other slide"
16:58
i see
seems like a pretty bad joke to me
that's the point of puns and dad jokes
to be so bad they make the listener groan for your amusement
kinda punch in the face of the guy who makes that joke
^ I follow this like a religion I follow Adam
3

« first day (2490 days earlier)      last day (2684 days later) »