« first day (1471 days earlier)      last day (3459 days later) » 

12:05 AM
yeah
but iirc AA does it via reflection
which is incredibly slow
ah sorry
no reflection
I confused it with RoboGuice
RG uses reflection heavily and should not be used
 
I was afraid it might be reflection too, but nope. It generates classes. I will probably keep BK in for now, but it's good to know.
 
ButterKnife also uses code generation
o/ all
 
I know, I was just saying I was afraid AA might be using reflection, but it isn't. And that is good since I am trying to make my app faster, not slower. Aslo, hi! :)
 
Yeah AA uses code gen as well
but I do not like that you need to use a code gen class for it to work
 
12:24 AM
You mean the Enhanced components and the fact that you then have to use your Activities and Fragments with _ at the end, right?
 
This conversation with Comcast is fucking annoying
That is all
 
Internet troubles?
 
yeah, that is what I mean
 
Do you think I have to use it even on classes annotated with @EBean?
 
I do not know
I think you need to do it with Activities due to the other stuff you can get for free
I think I am starting to understand Mortar
 
12:35 AM
No, trying to rent Sandlot 2 and it's giving me a fucking error
 
Awesome, be good at it you will teach it to me later.
 
I hate Comcast
 
What is Sandlot?
Em, do you want to say something about Mortar to check if you get it and simultaneously start teaching me?
 
The Sandlot is an awesome movie about kids playing baseball in a...sandlot. I own the first one but we are trying to rent the second.
 
cM I know what it is now.....
..... too late
40% on RT
 
12:39 AM
Anyone know a way to pass a Method through a bundle in Android?
 
why do you need to do hat?
 
I want to make a general purpose Service to manage calls to Retrofit.
It's probably not possible, but it would make my life a bit easier...
Actually, the more I think about it, the less likely it really seems...
 
Can you define an interface and classes which implement that interface?
 
It would just be a lot of work, and it might be easier to just cheat a little...
I think I'll do something along those lines, basically an abstract wrapper. It might be a bit tricky overall, but I'll see what I can manage...
 
then the individual classes implement Parcelable and you can pass instances through an Intent.
just slinging out what comes to mind...make of it what you will
 
12:43 AM
I really should just do a Command type interface.
 
yah...that sounds more or less like what I'm trying to describe
 
Actually, that's probably the best solution, although it'll be a lot of duplicate code...
Well, it looks like I learn a new pattern tonight!
 
I've never implemented the Command pattern.
 
I've only implemented a half dozen or so, new ones are always a good thing.
 
I agree
I read the whole GOF book a while back, but have only actually implemented a couple of them in my own code.
unfortunately I had to put all my books in storage at my parents, so I don't currently have access to it.
 
12:48 AM
You know, I could just do this via a Runnable...
 
I keep coming up wioth code only to realize it is a pattern later.
 
I'm just not that talented...
 
Like this command pattern you talk about now, I did that for a one project in Python couple years ago, to this day I had no clue it was a patttern.
 
The biggest thing that I got from the GoF book was a better understanding of object oriented programming.
 
I really should read about them more, I only have couple books and neither is really awesome
 
12:55 AM
@nana I am not ready to teach yet
 
Ok, I'll wait.
 
it is weird to do everything with Views
 
Just found this sourcemaking.com
3
 
no Fragments
 
I can only imagine, even though Fragments are Views, right?
Super heavy, but still views.
 
12:56 AM
@nana AWESOME RESOURCE!
I would define Fragments as "Views" with a lifecycle
 
@nana Fragments are more like watered down Activities.
 
Fragments are somewhere between Views and Activities.
 
^
 
They have the lifecycle of Activities, but function kind of like views.
 
I was wrong I actually thought they implemented View class.
 
12:58 AM
they not Avtivities in the sense that they do not get their own Window
 
from an inheritence point of view, we can't say a Fragment is a View. Nor can we say that a Fragment is an Activity. But they behave somewhat like both.
 
yeah, that is why I placed Views between ""
I think the only Fragment that gets its own window is DialogFragment, but I might be wrong
 
The intent of a fragment is to act like an activity, but allow multiple of them.
DialogFragments aren't quite close enough to Fragments where I can really understand their point...
 
even then, DialogFragment is probably contained in a window rather than being a window in and of itself.
 
1:00 AM
How do you define Window?
 
of course, I'm just speculating...I haven't ever used a DialogFragment.
 
It's really hard to make a good DialogFragment that is replaceable in a main Activity. I think I did it once, and it took me quite a while...
 
fun fact: Android has a class called ActivityGroup that allowed to have multiple Activities in one screen at the same time
 
> Deprecated since API level 13
interesting...
 
I never knew that...
I did do a View once that was very similar to a Fragment, back before Fragments existed...
 
1:02 AM
I thing DialogFragment does gets its own window
this particularly means that touch events will not be propagated down to what is below them
 
man, I'm so frustrated with one of my students today...I probably pissed him off enough to never call me again, even.
it's just frustrating that he wanted me to show him how to do the assignment without gaining any understanding or thinking for himself.
any ways...that's my vent for today
 
1:17 AM
hi all
 
YAY!!! I fixed my Dagger issue
 
Hi
 
grats, emm!
 
Good on you Em.
 
Hi, @Dave
 
1:21 AM
o/
 
\o
 
1:32 AM
so...every time you do ObjectGraph.plus(new SomeModule()), SomeModule needs to to have the module you are plussing on its addsTo{}
 
that doesn't mean much to me
but then I haven't looked at Dagger yet...
definitely on my todo list
 
I encourage everyone to look into it
and if you have questions I might be able to help
it can be frustrating, there is a learning curve
specially if it is the first DI framework you are using
 
I've never used any DI framework. I'm looking at Spring a little, too.
 
From what I understand, Spring is much more than a DI framework, right?
 
yes
LOTS more
my primary interest in it is for Spring MVC to build a web service backend.
 
1:37 AM
yeah, on my brief time learning Grails, they mention it
in fact, Grails uses Spring
 
I'm getting there, slowly...
 
there is so much magic behind all these MVC platforms...
 
I can write to my server, on the ui thread, and I'm working on getting it off the ui thread...
 
Rails, Grails, Spring... too much magic
 
@PearsonArtPhoto it doesn't give you a NetworkingOnMainThreadException (or whatever the fuck it's really called)?
 
1:39 AM
It does, but not if I test it as a unit test.
 
oic
wow...I actually got the exception name right
 
It's got to be the most self-explanatory exception, that everyone questions the first time they see it...
 
NetworkOnMainThread, isn't it?
 
NetworkOnMainThreadException yes
oh...there's no "ing"
and almost as self-explanatory as NPE
 
The Android tools keep getting nicer and nicer...
And that doesn't even count Android Studio...
 
1:44 AM
I really like the new support annotations
being able to tell if an int is actually a resource id is really useful
 
oh...you have to use a support library to get those annotations? I was trying to add it to my app and didn't see it in the autocomplete.
now that you mention that, though, I remember reading/hearing that before.
 
Wooo GO ROYALS!
 
pfft...sports
 
I hadn't even realized that... I'm going to have to look at that.
I could plead ignorance and ask why it's a good thing that the royal family is moving or some such, but I actually do know of the Royals...
And my Server just received the input! This is a rather complex code (~20 unique lines per API...), but it works...
Hmmmm....
I think I'll keep it, I might find some uses for it somewhere...
Now, on to the next part of my project...
I think one more major step before I start working on the UI in earnest, but that should be easy enough... Hopefully...
 
2:13 AM
man, this project takes too long to build...
 
I am pretty 'meh' on most sports but since we're in the world series for the first time in forever I figure I should care at least a little
fights on tonight too though so I actually have sports on both tv's
 
One of the many things I like about moving to NYC is that I will be able to go to some NBA games!
 
2:28 AM
What's a World Series?
Em, I still haven't been. But I went to NHL games and Baseball! NHL is watchable.
 
Baseball is not dynamic enough for me
 
The only game I watched was too boring. I sat there for hours and nothing happened, literally nothing. No score. Except on home run. Mets vs Yankees.
Tennis is fun, this was my 3rd consecutive year at US Open.
 
ohhh yeah you are right man the US Open!
I used to play tennis
but then I went back to Basketball
 
I wish there was a Moto GP here. I am not flying to Texas for it.
 
I wanna get to the US open some time
 
2:43 AM
It's really big, the Arthur Ash is TOO big I think.
This is from my last visit.
 
Definitely interesting. Are you going to test if it works?
 
I am not using Google Play on this project
 
I guess I'll have to test it.
 
3:10 AM
@Emmanuel When you run an app that uses ButterKnife, have you ever noticed java.lang.ClassNotFoundException: butterknife.internal.ButterKnifeProcessor in the logcat?
 
nop
 
when you have a chance, mind checking if you get it?
 
I never got it
 
hmm...
know of any reason why I am getting it?
fwiw, it doesn't crash the app. It's just logged.
so it's possible that your app causes the error, but you just haven't noticed it.
 
I do not see it on the logcat
 
3:14 AM
It's probably nothing to worry about...just really strange
compile 'com.jakewharton:butterknife:5.1.2'
This is correct, right?
 
if it wasn't you wouldn't be able to do ButterKnife.inject()
 
it's not supposed to be provided or something weird.
 
nop
 
hmm...
I guess I should make an SSCCE to try and reproduce this
 
SSCCE?
something something Environment?
 
3:26 AM
self contained example or something
minimum possible chunk of code that produces an odd or "wrong" result. I forget the acronym right now though
 
Short, Self Contained, Correct Example I think
 
ah, yep
 
@Code-Apprentice Do you have the keep stuff in proguard file?
 
@Emmanuel I thought that acronym was known by everyone on SO =p
 
not me, at least
 
3:36 AM
@nana I don't use proguard...why do you ask?
 
Because it could be stripping it, but if you don't use it... it probably isn't.
 
at least I've never purposely enabled proguard. AFAIK, you have to do that...it's not turned on by default is it?
 
Are you using AS?
 
yes
I ported this particular app over from an Eclipse project, though.
 
Hmm, who knows what it generated then.
 
3:40 AM
I tried importing an Eclipse project into AS today for the first time
didn't work right
you shouldn't need to convert your Eclipse project anymore, AS automatically imports, but it doesn't do a great job
 
Does it then use gradle or the oldschool build system?
 
it converts everything to gradle
 
I remember last year when I took over a Eclipse Android project it only half assedly imported it and was still using a mixture of things.
It still didn't use Gradle
 
it should now
 
apparently the exception occurs when running instrumented tests.
 
3:48 AM
Good to know
 
4:11 AM
WTF?!
-1
Q: Add an image to an android splash screen in intellij android studio?

KatyOkay so what I'm wanting is to add a splash screen but then add an image into my splash screen so it displays before the app starts. I think(?) I found the right code to actually do the splash screen but I can't get the image in it. Fro what I've read it needs to be in a png file, which it is but...

the question sucks...but that answer?
 
4:23 AM
what's wrong with the answer? other than the hand-holding...
oh...and wtf language is that? C#?
 
that is what I meant
 
I found an appropriate dupe: stackoverflow.com/questions/5486789/…
which is apparently where the OP found an example...
I'm edging up on 18k...slowly but surely
 
 
2 hours later…
6:29 AM
> EFI is publicly traded on the NASDAQ exchange
I want to see this company get crushed
I hope everybody sells
 
> EFI was charged $3,500 -- yes, seriously -- for being at fault.
^ sad
 
seriously
how is that even possible
 
good lawyers
 
yeah :|
 
6:50 AM
> posted just shy of $200 million in revenue in its last financial quarter.
seriously? how greedy do you have to be to not pay $20 per hour or more...let alone minimum wage.
2 more rep...
yay! 200 points today...I think that's like my 3rd or 4th time
in Lounge<C++>, 17 hours ago, by Andy Prowl
I wish I could downvote his email
 
7:40 AM
    	   Geocoder geocoder = new Geocoder(context, Locale.getDefault());
    	   address_list = geocoder.getFromLocationName(address, 1);
sometimes is not giving me the right lat & lng
 
that's not good
 
 
3 hours later…
11:06 AM
 
11:36 AM
\o
 
o/
 
12:15 PM
@chmod711telkitty The GeoCoder implementation is up to the device manufacturer. I think most use Google, but not necessarily all.
 
12:39 PM
Oo, thanks for the info
 
1:07 PM
If you want consistent results, there are 4 "free" online geocoders that I'm aware of.
GeoNames, Google, Mapquest, Open Street Maps, and ERSI (I know that's 5, but...)
Most of these are free for use in an app, although there may be API limitations. Of them, the most free are Mapquest and Open Street Maps.
Open Street Maps has a few implementations, Mapquest offers one using the data and one that's the more official database, each has their own pros and cons.
(I wrote an app that's entire purpose is to do reverse geocoding, and spend a lot of time at it...)
 
 
3 hours later…
3:55 PM
Morning, androids!
 
> public static final HttpStatus I_AM_A_TEAPOT

418 I'm a teapot.
3
 
Wow, I don't think I've ever seen an easter egg like that in an official specification...
 
It's a good one :)
 
look up the 1. april RFCs
Almost every April Fools' Day (1 April) since 1989, the Internet RFC Editor has published one or more humorous Request for Comments (RFC) documents, following in the path blazed by the June 1973 RFC 527 called ARPAWOCKY, a parody of Lewis Carroll's nonsense poem "Jabberwocky". The following list also includes humorous RFCs published on other dates. == List of April 1st RFCs == 1978 M. R. Crispin (1 April 1978). TELNET RANDOMLY-LOSE option. IETF. RFC 748. https://tools.ietf.org/html/rfc748. A parody of the TCP/IP documentation style. For a long time it was specially marked in the RFC index with...
 
4:14 PM
o/
Has anyone with Inbox noticed significantly increased battery drain?
My phone pretty much drained itself overnight.
Battery stats show "Android OS" and "Android System" as the main culprits
 
Nope. No difference for me
 
Any one of you have a spare invite?
 
4:42 PM
Android Studio got slower and slower and slower and the froze...
I had to do "End task"
It feels like that was a bad idea
 
haven't got any invites yet
damn
 
Please note the absence of NYC ;)
@johgru Lately this has been happening to me too (not AS's fault, I am processing extremely large files). If i wait long enough it will offer me to increase XmX settings, I am on 3GB now, then it restarts and works fine the next time.
 
Hello, Android
 
Sup cA.
 
is it so expensive in nyc as well?
 
5:03 PM
Yah, NYC is definitely expensive.
not as ridiculous as Silicon Valley apparently
 
@n4zg Rejected. Go answer some questions and come back
 
I like the 2nd article about NASA's SoundCloud page.
 
and o/ all
 
\o
 
o/
 
5:07 PM
\0 emm
 
Just bought NBA tickets to go with a friend
Nets vs Magic
$13
 
Wow
Nosebleed seats?
 
are you in NYC now? When do you officially start the new job?
 
yeah, but I think they are still good seats
I start Nov 3rd
I am on STL still
 
Okay
2 hours of work is gone :(
are*
 
5:15 PM
Err. How?
It saves your changes for you
 
Apparently not :p
 
Unfortunate :(
 
This scares me a little bit.
Especially since my dev account is my main account too.
 
Yeah
 
5:32 PM
google is been suspending lots of accounts just based on lose evidence lately
 
@Liza I am going to give you a shot. You have write access. Please read and follow the rules. Avoid pings please.
 
@Liza are you around? if not I will remove your access
 
Thanku..Thanku Thanku.:) :)
No No plz dont..:(
 
5:45 PM
..:(
):..
 
@Liza please, avoid chat speak like "plz" or "Thanku"
Adam, I guess I will not be using Pallet with Picasso just yet
 
pallet?
what's that?
 
It is a way you can get out prominent colors out of images
it was added in 5.0
 
oh cool!
 
It looks really cool
 
user457812
5:49 PM
kickstarter.com/projects/1010151028/purposematch ← This is seriously hilarious.
 
Palette* ;)
 
Anyone know how HTML5 Canvas performance is on mobile?
 
try it out
 
Ok, anyone know any HTML5 canvas mobile websites?
 
1 message moved to Trash can
@Liza, I do not know what to do with you??? Why did you want access?
 

« first day (1471 days earlier)      last day (3459 days later) »