« first day (2245 days earlier)      last day (2704 days later) » 
00:00 - 17:0017:00 - 00:00

12:01 AM
Sixth is my laptop screen
 
12:36 AM
Previously, I was using my 32" TV for a monitor. But it is only 1330x768 resolution.
My most recent actual computer monitor before that was a 19" CRT. I used that for too many years.
 
1:33 AM
posted on December 08, 2016 by Android Developers

Posted by Patricia Correa, Head of Developer Marketing, Google Play We’re wrapping up our annual global Playtime series of events with a last stop in Tokyo, Japan. This year Google Play hosted events in 10 cities: London, Paris, Berlin, Hong Kong, Singapore, Gurgaon, San Francisco, Sao Paulo, Seoul and Tokyo. We met with app and game developers from around the world to discuss how to build

 
Recent recruiter spam: "Role: Business Analyst (Must Be 9+)"
So are they hiring 9-year-olds as Business Analysts these days?
 
 
1 hour later…
3:07 AM
lol
 
 
2 hours later…
5:36 AM
hm, @OcuS you working on AoC? @McAdam331
 
6:11 AM
dammit, Day 8 is up? I still haven't finished Day 7 ;-(
 
 
1 hour later…
7:19 AM
o/
@TristanWiley Nope, already done ! ;p repl.it/EkMI/0
quite fun and easy :)
@Code-Apprentice you're not on our leaderboard ?
thinking back, it was rather unchallenging. the real challenge would have been "here are the screen pixels, how many commands did it take to generate this screen?"
 
7:49 AM
\o
 
8:04 AM
\o
 
o/
 
8:23 AM
Recruiter here are basically: You are awesome, your profile is great, so much experience! How much is your salary? ---- never heard back from them... and my salary is average for country but high for my city (which has a only 2/3 of the average in the country)
 
lol
 
the worst is when they make you go through the whole hiring process to offer less in the end
 
Yeah
 
that's just so stupid
 
That is why I was upfront with my salary. I want that, if you are not willing to pay so much for someone, we are just wasting time
 
8:30 AM
somebody told me that interviewing is like begging for a job
I do the same
 
it is only begging for a job when you are unemployed at the time
 
but it happened more than once
 
if not, they are asking for you, not you for them
 
yeah true warren
 
I would say it depends
 
8:31 AM
it is the best to look for a job when you are already have one
because then you have no real pressure
 
on a so demanding market, it is just stupid
 
if you have non but have to provide for the family you might end up with bad conditions for yourself
 
well yes - worst is better than nothing
 
8:49 AM
\o
 
hi Tim
 
how are things
 
quite boring
 
how come
 
9:07 AM
peace
 
boring can be good sometimes
especially when you get time to do some stuff you are interested in
BB, as you asked for Databinding yesterday: tech.vg.no/2015/07/17/…
what is your thought on this?
 
we are using it
and I liked it so far
we are doing MVVM, but not with the official android support
we are using a third party data binding library
 
wow I just realized the amount of rep and answers you have O.o
I can't remember when I was as active as you on SO answering questions :D
 
9:23 AM
o/
 
lol - I have slowed down answering questions this year - two new jobs and the third one approaching
 
hey Tim o/
 
yo
 
yo
 
you switched that often the job this year?
 
9:35 AM
it was kind of crazy
and I got married too
 
oh congrats
 
thanks
 
unlucky
jk congrats!
 
Best wishes man!
 
congrats
 
9:55 AM
@singh.indolia sorry but you need at least 80 reputation to talk here. More details: room-15.github.io
 
thanks guys
 
Belt \O/
 
hi maven
 
:D
hows u BB(BlackBelt)
 
I am fine. How are you doing ?
 
9:59 AM
i m good
sweeter than before :xD
 
I dunno what do you mean by that - but I am glad to hear it
 
heheh
 
maveň
 
cc @Blackbelt :D
@kitty why ping
 
10:04 AM
yeah right
 
(Y)
 
lol bb
 
ha ha
maveň
 
evil ankit
Belt +1 for being nice to me :)
 
10:06 AM
oh poor berserk
 
CF have you done day 8 aoc yet
 
:( nope Tim
and too bored today
 
have you done day 1 yet?
 
nope :P
i did day 1 first solution though
 
I don't see your name on the leaderboard :P
 
10:10 AM
i havent submitted it yet
 
how do you know it works then
 
well i never said it worked ,i think i have done right
 
ahh well why don't you proceed?
 
gonna do it today
 
oh cool
can I have a resource string where some letters/words are bigger?
 
10:24 AM
using html and the tags <small> <big>
but not an exact size
 
oh ok, thanks
 
if you want a specific size you have to implement it using TagHandler
sure
 
o/
 
o/
 
10:35 AM
AS 2.2.3
"we feel like this is our most stable version of Android Studio to date"
how can you feel software
on the contrary to underwear
 
using it triggers a feeling
 
today has been a real rollercoaster omg https://t.co/CLqbRem7ec
 
lol
 
omg
this is too good
 
rofl
he has a valid point there and Drumpf just missed the opportunity
 
10:39 AM
cancel order
 
any one familiar with .aar file ?
 
yeah, they normally end with .aar
you are welcome
 
:)
 
it's like a regular java archive jar, but android proper.
 
anything else!
want to know the exact pros and cons of .aar .
 
10:43 AM
better to ask a specific question
 
pros: they contain android resources. cons: none
they are just jars enhanced with android resources that are needed when you want to use that library
 
then which is better in sense developer preservative?
 
jar with resources
 
there you go from the docs :

Unlike JAR files, AAR files can contain Android resources and a manifest file, which allows you to bundle in shared resources like layouts and drawables in addition to Java classes and methods.
 
10:44 AM
is aar
 
that question makes no sense
If there is an aar instead of a jar, it is because it needs to come bundled with android resources
in that case you can't say: na, I just want the jar!
 
simple explanation: jar is for java, aar is for android
 
not really tim :)
 
sounds good
 
there are jars that would not work without android context
 
10:46 AM
cater answer to question
 
Simple : Let's say You want to package an API or a lib :

1- You don't need access to android resources (XML etc....) : Jar (resources won't be packages)
2- You need to have access to android resources : aar (resources will be packaged)
 
anyway let me clear , is that effect on reverse engineering ?
 
no
 
oks ,thanks @MehdiB @WarrenFaith @TimCastelijns @ColdFire
 
10:48 AM
oops
 
!! o_O !!
 
better read the rules again lol
 
oks , will make sure now onwards
 
I have not seen this mass ping... I have not seen this mass ping
 
lol
 
10:50 AM
XD
 
Does @ -all work?
 
Hi, does GCM stop working after migrating to FCM?
 
have you read the migration docs?
 
when you have migrated, you shouldn't need GCM anymore, right?
 
11:04 AM
Yes, I don't need GCM anymore. But all the users are on GCM now and if I update, I have to ask them to logout and login again. Reason for logout and login is we are sending the token in login api
 
what makes you think that
 
Sorry Tim, didn't get you.
 
if I update, I have to ask them to logout and login again why do you think that
 
So that I can get the new FCM token and send it to backend through login api
 
what is the difference between gcm and fcm token?
 
11:10 AM
the same GCM token works?
 
you don't know?
see, you are worried about a problem that would occur if the token changes between gcm and fcm, but you don't know if it does. You're ahead of yourself :)
go step by step
 
ok, I will try this first. Thanks for your time and feedback Tim
 
sure
be sure to read the official migration docs
 
So I guess old token should work.
Ok. Both GCM and FCM point to the same server
 
correct
 
11:36 AM
oh man, it's a horrible experience when you've been working with a portrait orientation for so long and you decide to see what happens when you switch to landscape orientation. MY EYES. IT BURNS :(
 
12:21 PM
@OcuS done :)
 
Disable landscape and don't support it. Problem solved!
 
that is like: To have a network call on mainthread simply disable the threading policy
 
But that's a no-no
 
12:47 PM
fixed orientation as well
there are only rare cases where it would make sense (like vertical/horizontal scrolling games. Super Mario wouldn't make sense in portrait)
 
I've never seen anyone use an app in landscape that was not a game app
except to view image or something
 
Oh, we are talking about gaming apps? Well there you probably should support landscape
 
Tim video player app
 
1 min ago, by Tim Castelijns
except to view image or something
 
Android still fucks up the softkeyboard for landscape. Swallowing the complete layout just for typing makes no sense imho
At least on phones it is the case, on tablet you still see the layout
I prefer surfing the web in landscape as well
though most landscape use cases are on tablet
 
12:56 PM
richtig
 
I hate autorotate with a passion
 
you do know that you can disable it in your settings, right?
 
sure thing
you know when someone try to show something to you on the phone, everything prepared (scroll, zoom) and then while giving the phone autorotate kicks in and everything is fucked up
 
it is not that hard to keep a device in the orientation it has :D
don't be like that
 
that is hella interesting
is this something google will roll out theirselves, and make it the default patch way, or?
 
Yup, and this is how it actually works
https://github.com/andrewhayden/archive-patcher/blob/master/README.md
 
Ah I scanned through it at first and didn't see it
but did on the 2nd try :p
 
I missed the link from Murat as well, sorry for the repost
 
1:28 PM
Hi! does anyone know how to pass an object as parameter from android to webservice?
 
lots of people know that
 
And apparently the reason why they held off this algorithm is because it takes around 1 sec to compute 1 MB on 2015+ devices
 
i have a structure like this: paste.ofcode.org/334DgR5ZXJyGpneJrTCrqkc
can anyone tell me how to parse it?
 
xmlpullparser?
 
1:40 PM
are you the project owner? do you have a say about the data format?
 
no i am not the owner
 
because xml sucks :(
 
It's actually not that bad. I am parsing over 20k lines withing 2-3 seconds
 
anybody used Files database in android
i am trying to query this MediaStore.Files.FileColumns.MEDIA_TYPE
but something weird is happening
i am not getting any logs no crashes
just not working :/
 
-3
Q: My Zombie won't find itself.

sheepiiHDThat sounds extremely philosophical doesn't it? Anyways, I have a rather complex problem. My main_activity class gathers all of the Zombies like so: //Testing Runnable (used to compare the first zombie with the player) private Runnable updateLocations = new Runnable(){ @Override publi...

I am 100% aware of that, if you're talking to me. That's what I'm trying to tell them. It has nothing to do with the "nullness" of the Zombie. That's not where the problem lies. If it ALWAYS returns true, then it will cast the function ANYWAYS. Which means it will update the location regardless of a NPE. The problem I'm having is with the variables, numbers, and threads. — sheepiiHD Dec 4 at 13:29
 
1:49 PM
o/
 
peace kotzauber
 
> Zombies that moves away from the Brainz, must be an ill Zombie.
 
o/
 
lol netpork
Adding Bounty will give to more downvotes and you are not understanding the programming logic and being rude to member of SO — maveň 1 min ago
 
\o KZ
 
1:52 PM
o/ KZ
 
o/
wow...that guy is an ass
 
that's not nice cM, CF is a good guy
 
says you
 
:|
 
flag button is right there CF..
 
2:05 PM
resisting urge to flag Tim
 
lol!
 
ignoring cM as we dont care about fahrenheit
 
reaches slowly for banhammer
 
lol that typo^
 
typo?
 
2:16 PM
Seems like I'm the whiteboard of this guy
http://stackoverflow.com/questions/41040721/how-does-one-figure-out-upcasting-and-downcasting-in-java/41040964?noredirect=1#comment69290424_41040964
No idea what is happening..
 
just move on
 
Well he reached e) now he can finish f) aswell.. lmao
 
2:47 PM
Anyone know someone who does front end web development? The company I work for is looking for someone: shotscope.com/careers
 
You're an Android dev :p
Stop trying to take my job
 
I am an android dev
stop making me do web dev
 
lol
 
(not directed at you)
 
2:50 PM
I feel sorry for you having to do web dev
just cause I don't do it and I'd suck at it personally
maybe it'd be good if I was better at it
 
I suck at it too, trust me :)
 
Are those tags using rfid? Mark?
 
Not sure @MuratK. I haven't asked what it uses but the wristband itself uses BLE tech to communicate with the mobile apps
 
allright, thought we had a common field :)
 
3:13 PM
o/
 
o/
 
@OcuS wtf is wrong with my code
y do I suck
 
bcuz u suck
 
what ? again ? for today's challenge ??
 
Yeah lol
 
3:16 PM
 
common dude, it's very easy today
 
I knowwww
 
I haven't even looked yet lmao fucc
 
I have free time tonight though
TRISTAN
 
3:17 PM
STOP ONEBOXING SO BIG
 
thank you
 
oh wow that was rlemon's extension
 
what?
 
does he not know our rules about copy and pasting code? LOL
All the sudden my screen filled up with a code snippet and I'm like omfg who did this
 
3:17 PM
It's not his extension, Github gists automatically onebox
 
They didn't in the past
 
typo here grid.push(Array(51).join("0")); should be Area(51)
5
 
God damnit Tim lol
 
omfg
I fell for it, I went to look at the code and verify LMAO
 
but seriously, should it not be array 50?
 
3:18 PM
to everybody who is interviewing right now: hang in there
oh man this is so tiring
 
<3
 
No, because I want 50 0s
 
<3
 
Be strong Ahmad! We're rooting for you. :)
 
:)
 
3:19 PM
I don't think I understand that part of JS, why does 51 result in 50?
 
Tristan, try to display your grid between each instruction, it helps a lot to validate
 
(might also help for part 2 ;p
 
OcuS, I was doing this XY grid thing with mine, and if I printed it it would print sideways xD
 
lol
 
3:20 PM
col by col
 
Question!
 
shoot
 
Is there any build config variable or field specific to tests? Like I have my app run something for debug and release builds, but I want to avoid running this thing for tests
how do I do that?
(crickets)
nvm
I know the proper way to do it
I'll have the espresso test mock an intent with the extra that I need
 
3:36 PM
tell us
 
the code shouldn't care if it's in a test or not
the test should mock what's necessary
like this
    @Rule
    public IntentsTestRule<MainActivity> activityRule = new IntentsTestRule<MainActivity>(MainActivity.class) {
        @Override
        protected Intent getActivityIntent() {
            Context targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
            Intent result = new Intent(targetContext, MainActivity.class);
            result.putExtra(MainActivity.MY_KEY, false);
            return result;
        }
    };
 
GUYS I'M GOING INSANE
Can someone read through my code and see if they find errors? I seriously can't find anyone not working correctly
 
Same gist as earlier?
 
3:53 PM
Have you run a little unit test on your replaceAt function to make sure it works as expected?
just try like "Tradam.replaceAt(...)" and make sure it does what you want
because when I read it it doesn't make sense
but I'm also stupid
 
@codeMagic :xD
 
4:09 PM
o/
 
yo bitches! m/f
Is it friday yet?
 
o/ peeeeeeeeeehaaaaaaaaaaaaaa
nope
 
:(
 
:)
 
4:19 PM
It is for me. On vacation tomorrow :)
 
lol now you have asked for friday song being posted
 
\o
CF, did you ever get your query working?
 
o/
yes
 
good
fix mine now :)
 
4:24 PM
lol
well closed as no MCVE
 
:P
 
it was not a question though, so you can't close it :D
 
closed as not a question
 
> Closed as off-topic because it is just a request for code
 
4:28 PM
Is it bad that the only reason I realized I haven't ate lunch is because Carl came in and I associate Carl's arrival with lunch time?
4
 
@OcuS How do I join a leaderboard?
 
@McAdam331 That's because Carl eats all the stars.
 
lol
 
Mar 14 at 20:54, by Mauker
user image
 
4:33 PM
What kind of currency does Carl get paid in? Starbucks.
7
 
yesterday, by McAdam331
Dec 12 '15 at 21:36, by PearsonArtPhoto
Advent of Coding leaderboard code for this room- 30977-9926b1c6
 
8)
 
Got it
 
4:53 PM
Oh found it:
Mar 14 at 20:52, by Carl Anderson
I could remove ALL the stars...
 
00:00 - 17:0017:00 - 00:00

« first day (2245 days earlier)      last day (2704 days later) »