« first day (1468 days earlier)      last day (3472 days later) » 

2:02 PM
I was super stoked about that phone for a bit but all of the invite + restricted pre-ordering shennanigans turned me off
I think now I'll just buy a new nexus at some point and put cyanogen on it
 
Why would you put CM on Nexus?
 
if they had released one+ normally I probably would've bought one
 
because CM is better than stock
 
Whlle we are on invites, does anyone have one for the Google Inbox?
 
2:03 PM
nobody outside google has invites for inbox
 
I am not used to not being invited to things.
 
so don't even start to search for them
 
privacy guard alone is worth switching to CM imo but there are a plethora of reasons I prefer CM
 
Maaan, sucks.
 
CM's privacy guard is how permissions should be implemented in the stock OS imo
and I can have my damn menu button back
 
2:04 PM
I was little afraid about CM not getting Gapps and such, but it looks like it's all there.
 
user457812
My keyboard is how keyboards should be implemented ಠ_ಠ
 
user457812
Loud and intolerable.
 
and presumably on the N6 in CM you'll be able to revert back to normal icons instead of this new playstation controller BS
 
Foamy is on a rage :D
 
truth
 
2:06 PM
"GET OFF MY LAWN".
 
I am ready for round 2 :D
just go ahead
 
"AND TAKE YOUR DUMB BUTTONS WITH YOU"
 
I like the new playstation buttons :)
 
I wouldn't dislike them if they'd been that way the whole time
but changing them now feels like they did it "just because"
perhaps they needed to in order to justify the money they spent on a designer
 
They changed the ones that you have now too. So. Nothing bad in a little change sometimes
 
2:09 PM
all of the previous changes have made sense though
this one feels ultra minimalistic for no reason
 
the only thing that is bothering me a bit is the aspect ratio of them
the old ones seem to be flat like 16:9
the new ones look 1:1 which makes them to be appear bigger
 
hey guys.
 
The only one that even remotely suggests its use is back
 
FOAMY. :D
 
user457812
2:11 PM
Found an interesting flaw in my USB hub and my new keyboard, also: if I plug it into my hub, the keyboard shuts off if I plug in a mouse
 
by looking at the other two (circle and square) you'd have no idea what they do without prior knowledge
maybe not enough amps to run both?
 
yo ed!
 
user457812
Possible. More likely the hub's a cheap $4 piece of crap.
 
user457812
Actually may just be that it draws too much power.
 
user457812
Also doesn't work if I plug a hub into the hub, since the second hub starts resetting itself if I plug the keyboard in
 
user457812
2:15 PM
Alternatively, the USB chip on the keyboard is wonky.
 
wow, I never looked at the price before. The jump in price between N5 and N6 is pretty crazy.
 
It's almost the double
 
thats why I keep skipping every other Nexus generation
 
both 4 and 5 were pretty cheap
 
Why does AS keeps spaming "Element objectAnimator is not allowed here" on my animation's xml?
 
2:23 PM
back then I was just a student... there is nothing "cheap" when being a student
Pedro, try to close all xml files and retry
 
This lint warning is bugging for a while now. Not just today...It compiles and works fine
But I want to know why is this happening
 
So updating to Yosemite breaks brew
 
hahahaha
> Mobile responsive bleeding edge RESTful gravatus holistic approach gamification.
 
OH I was using anim folder instead of animator..
 
2:39 PM
@Ahmad Replying to your message from last night... nope, don't have a desktop. I just moved countries mate! I don't even have a desk :P
 
where did you move to?
 
@Emmanuel We got our Dagger stuff all sorted! Threw out all that fizzbuzz stuff and just copied U2020. It's way nicer now.
Canada, Warren! :)
 
Canada, nice. I guess I would need to work on my kindness to live there :D
 
Welcome to the cold north, Adam. Which part?
 
Kitchener-Waterloo :)
Been here since April. Am... not looking forward to my first winter.
 
2:48 PM
Pfft, trade ya? I'm in Regina, SK.
Did -53 last Christmas.
 
Hahahahahah nooooo.
I'm used to it getting down to 3-4C in the depth of winter at night and maybe 10C during the day.
 
You guys are a bit warmer in the winter, -53C is pretty extreme even for us, normal winter day would be -20 / -25 ish. You'll survive. My first winter in Canada was rough, but you adapt. :P
 
already picked fave hockey team, adam?
 
hahah fair enough adam
-53C must be brutal
damn
I can't even imagine
 
3:03 PM
Eh, you stop noticing after -30, it all feels the same. Just walk faster and limit exposure. It's awesome, because it's so dry you walk inside and are immediately warm. Not like Germany, a -10 and you can't get warm for days.
 
heh
yeah I get what you mean
 
@AdamS I was upset last night
I couldn't get Dagger to work the way I wanted on the inherited code
I created a brand new project and used the same technique and it worked just fine
So I do not know what is going on
I will push the new repo so you can see how I did it so you can tell me what you think
 
Haha netpork I was already a Bruins fan from back in NZ.
My fiance grew up in Vancouver though, and everyone around here is a Leafs fan... neither of whom are looking too promising atm.
 
can someone please check if fotocommunity.de is online?
 
Opens for me
 
3:13 PM
loads forever for me
ok, thanks
 
Took about 3 seconds
 
stays in "connecting" mode
and fails after a minute or two
 
Warren, are you running gradle :P
My connection become very slow when I run it O o
 
Loads quickly for me
 
me too
 
3:20 PM
loads pretty well, warren
 
looks like our network... not my pc
colleague can't load it on his mac, too
 
what is this Celsius you speak of?
 
Warren are all pictures from Germany ?
 
I don't know, wanted to visited today for the first time
I just know that they claim to be the biggest photo community in europe
 
3:26 PM
great one
 
can't say :/ I only know someone working there
 
erm, what's that, car vs physics while driver is angry on his gf?
 
photo are from all the world
 
the driver is just plain stupid
 
stupid while on nervous breakdown
btw, are you doing some photography, warren?
 
3:42 PM
not really, I just got a new camera and did some photos
here are 3 of my favorites I did last weekend: plus.google.com/u/0/107810117768610116431/posts/GraH989Vizj
 
which camera?
dslr?
 
nice. recently, i have got nikon d3300 and bought nifty-fifty 1.8 prime lens. prime lens is really a win!
 
Warren how much ?
yeap 448$
 
I payed 579€ for two lenses
 
3:55 PM
448$ + 579€ ?
 
no, one camera, two lenses = 579€
 
I see.
 
I'm way too excited for reversible USB. Sitting here flip flopping usb cables to put into devices...
 
4:11 PM
My icon of the selected item in the sliding menu become invisible when a specific fragment (only one) get the cursor O o
 
aloha
 
posted on October 23, 2014 by Android Developers

By Wayne Piekarski, Developer Advocate With the latest release of Android Wear, wearables with built-in GPS like the Sony Smartwatch 3 can now give you a GPS location update directly from the wearable, without a paired phone nearby. You can now build an app like MyTracks that lets a user track their run even when they leave their phone at home. For wearable devices that do not have built-in G

 
How do I get Gradle to "fetch" all dependencies in IntelliJ?
 
normally it does it by itself
just define the dependencies and its done
 
not here...
 
4:25 PM
^
 
what exactly is missing?
 
also, it likes to remove my manually added librarys when I refresh the gradle project
 
Did you include the libs folder to the build?
 
nope
 
You have to
If you have library modules you need to include those as well
 
4:27 PM
wait, i did that...
compile fileTree(dir: 'libs', include: ['*.jar'])
this?
 
That looks like it
Do you have more than one module on your project?
 
yep
and the other one is not using gradle
another intellij module that is
 
And it is not using gradle?
 
nope
it uses maven
 
emmy.
 
4:29 PM
google insanity
 
I do not know how to include that one
 
you still got your glass?
 
Yes sir
 
dang.
was it seriously just pot luck?
 
4:29 PM
I don't want to build that module, just the one that uses Gradle
 
Haven't played with it a lot though
 
oh.
 
Then you should be fine
 
:(
I would kill to give one a go for a month.
send it over to me. ;)
 
Did you already come to the US?
 
4:30 PM
yup.
 
I am moving to NYC in a week and a half
Oh
 
I heard!
I liked the status!
:D
how'd you manage that with the wifey?
and I thought you were moving to London!? :(
 
She is coming along
 
of course.
 
I am closer...
 
4:31 PM
but how did you convince her to leave her job?
 
here's the thing: compile(group: 'com.google.guava', name: 'guava', version: '14.0.+') i should be able to get syntax completion for guava code with that, right?
 
Search for gradle please on google
 
emm, message me on hangouts in 2 hours?
we can have a chat. :D
 
Then type in guava
 
4:33 PM
I am at work...
 
going to leave work now and got to pick some stuff up on the way home.
ha okay, message me when you're free bro!
 
Will do
 
ciao guys.
 
Later
 
5:08 PM
Yay, which Calls are performed when the android keyboard shown ?
 
5:24 PM
I got it.
 
My new domain is finally up! :D
It took two days this time I was getting stressed.
 
\o/
 
Sup cM
 
trying to play with this material design support crap but i apparently don't know what I'm doing
Do you have anything up on your site? Or just secured the domain?
I'm playing with the nav drawer some more too, finally. Seems like a pain
 
5:32 PM
nice!
 
It's respon sive ;)
 
I'm doing exactly the same thing cM....fml and this crap...
can't even get colorPrimary to work -.-'
 
Me either
fml?
 
"fuck my life"
 
Oh, ha that's all I could think of but didn't know if it was some hi-tech term
 
5:55 PM
It crashes for me if I use Theme.AppCompat in styles.xml
 
What error does it give you?
 
Different ones because I've been playing around. Now, getActionBar() is returning null
 
Hello, World!
 
Are you using the new Toolbar or sticking with the SuppportActionBar?
 
Just the action bar for now
But I've never actually used it before because I created my own in the past
 
6:07 PM
Does your activity extend from ActionBarActivity?
 
yeah
 
Then use getSupportActionBar() instead and see if that works
 
AS doesn't even think that's a thing. This is in my nav drawer fragment
 
getActivity().getSupportActionBar()
 
Tried that
 
6:10 PM
((ActionBarActivity) getActivity()).getSupportActionBar()
You have to cast it first
 
hmm...Internet is wonky
seems I can still chat, though
 
codeMagic
You're not using a support fragment
 
No, I think my problems are deeper than that
 
Your fragment extends Fragment, right?
 
yep
 
6:14 PM
android.support.v4.app.Fragment?
 
Change your import to: import android.support.v4.app.Fragment;
Then you can do getActivity().getActionBar(), since getActivity() now returns a FragmentActivity.
 
^
 
Of course, if your'e extending ActionBarActivity.... you're probably using ABS? In which case you need to extend the ABS Fragment instead, I think? I dunno. I haven't used it in ages.
btw what was wrong with your car?
 
That gives me more issues. I hate fragments
 
AppCompat has ActionBarActivity
 
6:16 PM
Seems the battery was just completely drained. I think one of the kids didn't get the door shut all the way so the light didn't shut off
Charged it up all night and it's been fine since
mNavigationDrawerFragment = (NavigationDrawerFragment) getFragmentManager().findFragmentById(R.id.navigation_drawer);
Now that asshole has a red squiggly
 
I think that doesn't come with the lib
 
Yeah I don't know what a NavigationDrawerFragment is.
AFAIK a nav drawer is a layout you drop in your activity xml and then insert a left/right and main layout.
 
Shouldn't you be using the support version of the manager?
 
Try using getSupportFragmentManager() instead
 
I don't know
 
6:21 PM
I am on my phone
Can't really help now
 
ding ding ding...we have a winner!
 
Because your NavDrawerFragment is now a support Fragment instead of a normal Fragment. You have to use support when you're using support
 
Did it work?
 
Kind of. Now getActivity().getActionBar() returns null again
 
13 mins ago, by MrEngineer13
((ActionBarActivity) getActivity()).getSupportActionBar()
 
6:24 PM
I'm only using the support for the material shit. Shouldn't I be able to use regular fragments and such?
 
By material shit do you mean the widgets?
 
I just wanted to be able to use the themes right now
That's all
 
IIRC you have to extend from ActionBarActivity for Theme.AppCompat to work
 
Yes, and that's what I do in my activity but this is in the fragment class
Maybe I just shouldn't use the nav drawer this way. Looks like a pain anyway
I can extend my own baseactivity, put the "nav drawer" layout in each activity, and have all of the logic in the baseactivity
My boss keeps coming in here and wanting to talk to me about shit I don't care about.
I'm not quite sure what our policy on workplace violence is. Maybe I should go confirm with HR
 
Remember, it's easier to ask for forgiveness than permission
I'm pretty sure Ghandi said that
 
6:31 PM
:D
 
6:51 PM
@PedroOliveira did you get it working? Are you using android:colorPrimary?
 
so only way to use ObjectAnimator for <11 is to use nineoldandroid?
there's some nice compat libraries and I'm surprised to find no objectanimator
 
codeMagic, are you doing a dual pane layout?
 
No the Navigation Drawer Activity
I decided to take a little time and start on a low-priority app so I was just playing with some things
 
\o
 
o/
 
7:06 PM
\o
 
\o
 
@blackbelt, that's the compatible version, but not necessarily what works well? — David d C e Freitas 1 min ago
he has a point
 
What do you all think about this as a logo for my app?
 
I don't think it looks bad. Though, darker colors might look a little better
Then again, my design knowledge sucks so you'll want to ask Ahmad
 
7:13 PM
@Ahmad where are you?
someone on fiverr.com made this for me. I'm unsure about it, though...
 
do you have to pay for it?
 
Does baseball usually have the little plant thingies? What are those called... not olive branches.
 
I can't think of them being used at all and I'm a pretty big baseball fan. Unless maybe in the all star game but I don't think so
 
when i see those i think of movie festivals
or fred perry shirts.
why not two playing cards with a baseball on each... as if you were looking at them from the back. In this kind of an arrangement:
under that wording, i like the rest of that logo - i'm just worried that if those olive branchy thingies shrink to app-icon size the detail will be lost and it'll just look fuzzy
 
7:32 PM
Has anyone used this sliding menu? github.com/jfeinstein10/SlidingMenu
 
Nope
 
I have, cM
 
did you like it?
 
The Google library one is better, if you're not supporting below ICS
It was pretty well done, no major issues
 
Are you talking about the NavigationDrawer?
 
7:36 PM
Yep
I'm using that in Buzz
Works like a charm
 
I didn't have a problem with it when I played around with it before. But now that I added the support for material design, I'm having fits
 
@jlindenbaum they look like ferns to me
@blackbelt yah, I'm paying 5 bucks for it.
 
Ahh. Haven't delved into Material yet, so can't say
 
I wasn't going to for awhile but decided I'd have a slow day and play around
Mostly because I wanted to see the status bar color change :) But that isn't working anyway
 
8:04 PM
\o
 
hi
 
In Android (in memory managed programming languages like Java, more precisely), static methods can lead to "memory leaks"
I am not sure if I am reading it correctly
could somebody help me?
 
static variables are only garbage collected when the class they are in is unloaded from the classloader
so if a static variable references something that takes a large amount of memory
then it can "leak" it
 
22
Q: Can using too many static variables cause a memory leak in Java?

harshitIf my application has too many static variables or methods, then as per definition they will be stored in heap. Please correct me if I am wrong 1) Will these variables be on heap until application is closed? 2) Will they be available for GC at any time? If not can I say it is a memory leak?

 
like if you have a static viewgroup variable and assign your layout to it, your layout won't be garbage collected
and you could have huge bitmaps or w/e in the layout
 
8:13 PM
> As a result, unless you explicitly set them to null, they will live as long as the program lives
 
that's normal
3
Q: Using static methods in Android?

zFr3eakI already made some Apps in Android and noticed that I am often using static methods. For example I have an Class which extends PreferenceFragment. In this PreferenceFragment I set an onClick event on a Button. Button btn = new Button(getActivity().getApplicationContext()); btn.setText(...

so you mean a static method that set a static member
no, it is too much for my poor brain
 
"they will live as long as the program lives" not necessarily like I was saying. just until the class is unloaded
but yea, if you use static variables then you need to be sure to null them out correctly
 
I agree, I know how does static works
 
oh, derp
I just realized you said static methods
lol
 
no no but you made me think trough
you can have a static method that takes an activity as paramter
and set a static member
making two classes leak
 
8:18 PM
I wouldn't use a static method on an Activity like that anyway, it finishes an Activity object so it should be called on a reference to that Activity.
 
8:39 PM
Gah...I just can't win with these fucking fragments and support shit! Burn them...burn them all to the ground!
 
user457812
Fragments are easy.
 
user457812
I will just keep saying that until it drives someone insane.
 
What you don't know is that codeMagic is sitting in a white padded cell dictating this to someone...
 
cM do you use one activity per fragment? I cheated on my most recent app, since it's not dual pane, i just have one activity that hosts my drawer, adn then swap fragments.
 
@nil they are easy!
and no you don't need one activity per fragment, they are designed to be swapped around and have multiples per activity, otherwise just use an activity.
 
8:45 PM
I have them in tabs. I have fragments inside fragments...inside fragments?
 
It's not so much the fragments that are the issue. It's trying to use the AppCompat with it for the material shit
 
yeah, I had to duplicate a custom DialogFragment because one was for support FragmentManager and the other wasn't.
 
It's this stupid NavigationDrawerFragment. But I think...I have an idea
 
those libs can be a pita.
 
I was able to get it to work fine before. But now trying to use this new support shit I think is screwing me up
But tomorrow is another day and it's almost quittin' time
 
user457812
8:58 PM
Nested fragments are a bit of a pain
 
user457812
Doable, just ill-advised
 
9:17 PM
^
agree
 
NavDrawer, TabHost, Fragments - the combination of all three is a nightmare.
 
TabHost is a nightmare
I have to shiver when I think about this orange-ish accent color
and the implementation of it
 
has anyone managed to implement a material-like tab bar?
 
9:38 PM
nope
not yet
but shouldn't be really difficult
 
9:49 PM
o/
This article is really important to read...
and this one
I am ashamed that I didn't know that before hand...
I have questions now...
@Ahmad you should have answers for me
or @AdamS
or @CarlAnderson, but he is out...
@codeMagic maybe...
let's just ping everyone, lol
 
I don't see why those classes are implemented in such a way that the wrong way to use it is so simple
especially Handler
I'll be the first to admit I don't fully understand all of the rammifications, but wouldn't it have made more sense for them to build it to use the WeakReference implementation by default rather than what it is now which makes it easier to leak?
as it stands now it just seems like that is extra random boilerplate that you have to use if you want it to be "correct"
 
yeah
well now my question is
let's say you have an OnClickListener as a anonymous inner class
and then you do call setOnClickListenre(null) in onPause()
does the anonymous inner class still live?
hence, holding a reference of the enclosing Activity?
 

« first day (1468 days earlier)      last day (3472 days later) »