« first day (2028 days earlier)      last day (2926 days later) » 
00:00 - 17:0017:00 - 00:00

5:02 PM
@Luke, are you sure you are putting those paths as mentioned? I guess if you use variables to put paths in FILE(), may be those variables are being concatenated.
 
 
o/
Welcome new guys!
 
Jason, looks better in IDE with proper spacing (it's 3 lines)
Janaka, nah, it's just a small project of mine (which used to work several months ago), those lines are literally copied, and it's final field.
Whatever, it's not that important anyway, I can just hardcode the proper one, I'm not using Windows much lately
o/ Adam
 
How are you, Luke?
why
 
fine, a bit overwhelmed by school, you?
 
5:14 PM
I was like that, but now I'm graduated!
 
planning to finish a few projects during the summer
 
o/
 
lol
 
yup
 
5:20 PM
feels great, right Adam?
 
user457812
Rate-limited API servers were made for people like me.
 
category screen(use sharedPreferences to store category id on click on a category)
item list screen(use onStart() event to load related items according to the categoryId saved in sharedPreferences)
^^ is this a good way to do?
 
lol Mac
 
It does feel pretty good, Trevor.
I'm just fighting the lack of motivation at my current job right now since it's winding down
 
5:24 PM
when does your new job start Mac?
 
but I'm gonna spend some time cleaning up some automated testing code I wrote about a year and a half ago before passing it on to a coworker.
May 23rd.
I'm going on vacation in between jobs for a week. :)
 
o/ @nil
 
good idea Mac
always take a week or two between jobs
o/ Neb
off to standup, back in a bit
 
@CarlAnderson (Pinging you just so you can read this later in case chat blows up while you're gone) I wish I could have taken more time off but it didn't work out that way. This job actually wanted me to start this week, but I told them I had this vacation planned already (which I stated on my app, too, that I wanted a start date of the 23rd and they ignored it) but then they gave me a choice. I wasn't going to use 5 of my vacation days in the first month of being hired so I started after.
It will be nice to spend a week down in the mountains (Tennessee) and recharge a bit.
 
5:41 PM
There should be some good Whiskey Moonshine in those mountains if you check the bush.
 
Yeah, I know.
lol
 
o/ Morning!
 
o/
 
Talking about moonshine - youtube.com/watch?v=Yp56sT66D1U
 
Woo, the second request of Android Arsenal worked.. DebugPort is up there!
 
5:44 PM
\o/
link?
 
I watched this doc about Marvin "Popcorn" Sutton, great doc
 
@TĂșlioF. What was it called?
 
"This is the Last Dam Run of Likker I'll Ever Make"
the YT link is the full documentary
 
5:49 PM
Jason I might make some minor changes to your readme in a moment
 
cool! looking forward to it
 
Also
it's a bad idea to keep that .idea folder in there
I can try and fix that too let me see lol
made a pr for the readme though
 
Made a minor suggestion to your PR
 
ah shoot my bad let me fix it
 
how do you brainstorm without an .idea folder?
 
5:53 PM
ftfy
 
merged
thanks for the PR
 
no problem
I'm gonna do something else to it in a sec
apparently my work computer didn't have git installed lol
 
d'oh
 
We use svn so I've never needed it
 
We use SVN also, and our infrastructure is kinda tightly bound to it.. even though most of us would rather use Git, it's not really worth the investment to make the switch yet
 
5:57 PM
what the heck is wrong with my fork of your repo
it doesn't show the changes I made
lolwut
 
did you start a new branch?
 
yeah that's what happened I figured it out
idk why github made the new branch for me
 
@McAdam331 Why is it a bad idea to have the .idea file included? I thought that since it's not part of the default .gitignore provided by AndroidStudio that it was alright
 
It's not for some reason but it includes some AS configurations that aren't always consistent between machines which is why it's a bad idea to have it. At least, that's what I thought the reason was.
 
I took a month off after graduation before starting my job
some people I know took the whole summer off
surprised they were trying to get you to start so early lol
they must love you
 
6:05 PM
Yeah I think they did.
They also only interviewed me twice, when it's typically three with this company.
After my first interview, which went really well, I couldn't wait to get home and send them a followup thank you email. In the 30 minutes it took me to drive home they had already emailed me inviting me back in for my final interview. :|
 
There's some things in /.idea that are worth adding, like codeStyleSettings.xml, or some inspection disabling stuff, etc..
 
I may not be the most knowledgeable, as you guys probably picked up in here, but I have a pretty solid work ethic. Hypocritical because this job is less than thrilling to me, but I definitely think I showed my passion for technology during the interviews. My new company also sponsored the hackathon so they were able to see first hand my leadership skills and public speaking skills, which probably helped seal the deal for me.
 
What company?
 
You'll love their name - HelloWorld
Trevor I was just stalking your github and came across that work time app, it's relatively outdated do you know if it still works on the newer OS and such?
 
I can't imagine how much that domain name cost
 
6:13 PM
hahaha wow I never thought about that
 
someone probably bought it the second it was possible to register domain names through InterNIC
 
@McAdam331 not sure, haven't touched it in a long time lol
 
Hm. Maybe I'll find out
 
not sure if it even uses Gradle haha
 
the project structure looks different haha
yeah it doesn't look like Gradle actually
nope
 
6:15 PM
yea it's old Eclipse-style
 
4 years ago was probably Eclipse ADT
 
I'll probably just delete that project from my Github lol
 
god damnit why am I so slow in this chat
two messages in a row you beat me to what I wanted to say lol
 
lol
eww, I used to put {} on new lines
 
@McAdam331 I cloned your fork to test out the changes and sdk v 23.0.3 wasn't on my machine.. I checked the SDK Versions repo and the newest available was 24.0.0-rc3... will try to build again
 
6:16 PM
I also had lots of redundant comments :P
 
@trevor-e I'm going to steal that main java file though before you do
 
sure
 
just for my own curiosity haha
 
you doing something similar?
 
I wasn't planning on it. While we were talking I just went to see if you happened to be working on anything and it showed up under your popular repos and I thought it sounded like an interesting idea
I was just curious how you shut off some of those things, and which 'power using features' you shut off.
 
6:19 PM
ah
the only app that I'm "working" on right now is a super secret alarm clock app
 
I can tell this is old Trevor though
 
but I haven't touched it in a few months
 
hungarian notation, new line brackets
This code screams four years old lol
Super secret?
 
haha
it's an alarm clock app that lets you put alarms into groups
and then you can perform group-level alarm modifications
like shift all alarms in the group by an hour
 
Ooh okay
 
6:21 PM
or turn all alarms in the group off
etc
 
So things like class alarms and work alarms being different?
Nice idea
You know it's old Android code when: public class WorkTimeActivity extends Activity
 
so you could have a work alarm group that's for during the weekday
 
and not AppCompatActivity which has been around a while
 
and another group for the weekend
and if you feel like sleeping in on a particular weekend, you can shift the entire group by whatever time
and choose whether the change should be sticky or not
 
Sounds pretty robust. How far along are you?
 
6:22 PM
I've been migrating everything in our app over to AppCompat lately, and holy crap it is a lot of effort.. I wish the guy who originally started the app would've known about AppCompat before he got going
 
the UI is pretty much done, just need to add the database stuff for managing the alarms
 
Well, as always, I doubt you'll need help but let me know if there's anything I can do. Always looking for a way to expand. Except for the time I told Eski I'd help him on a project and then school happened and I never did. :(
 
lol
I've been taking online Scala and Rx classes which have taken up most of my time lately
 
oh nice
I need to start practicing some Perl before the new place
 
I still extend the basic activity
 
6:35 PM
@McAdam331 if you need inspiration for another open source contribution, I added an issue for an enhancement idea I have
otherwise I'll start working on it sometime this weekend probably
 
> I have just partnered up with a thrilling location-based mobile analytics start-up here in Berlin. They are looking for a Lead Android Guru to come onboard to derive insights of real-world behaviour from a pool of data.
> Shall we connect?
 
What's your idea, Jason?
 
that is the most buzzword per word count I ever got
 
@eski Is there a reason?
 
I don't need anything else
 
6:47 PM
That's fair.
 
Adam: github.com/jasonwyatt/Android-DebugPort/issues/3 Basically a way to access/modify non-public fields of objects from the interpreter
reflection FTW (in this situation)
 
access non public fields? Seems counter intuitive.
@GiaRui This room requires 100 reputation for access.
 
It'd be useful for the purpose of DebugPort
 
oooh @WarrenFaith that sounds interesting
 
especially viewing the values.. it can be argued that modifying values isn't as necessary, but I can see the case when you'd want to tweak something to see what happens
 
6:53 PM
yeah but like, they're private for a reason, no?
I mean I understand the DebugPort isn't meant as anything malicious, but still.
 
When you run the debugger you don't find it useful to see the values of all fields within an object? even if they're private?
 
I do, but isn't the built in debugger different? Aren't access modifiers to prevent other code, such as the DebugPort, from seeing it? I'm really just playing devil's advocate here, I understand where you're coming from. Is it even possible, though?
 
well I hate those contact messages suggesting awesome stuff but you only get real details just before you sign... of course AFTER you survived any test or interview
 
You're right when we're talking about actual code, but for purposes of debugging: it makes perfect sense to me
 
yeah it doesn't really matter in this case Adam
 
6:58 PM
You can definitely access private fields and call private methods with reflection, I've had to do it in order to solve a real pain in the ass of a bug a while ago - it was the only solution
 
yes, and android doesn't have the security against reflection that regular Java applications do because they are already sandboxed in their own processes
 
Interesting. So reflection basically overrules encapsulation?
 
yes, it can
234
Q: How do I read a private field in Java?

Frank KruegerI have a poorly designed class in a 3rd-party JAR and I need to access one of its private fields. For example, class IWasDesignedPoorly { private Hashtable stuffIWant; } IWasDesignedPoorly obj = ...; How can I use reflection to get the value of stuffIWant?

it's a very useful tool to have
 
@McAdam331 that is important if you want to test hidden methods
 
sometimes you have to prevent a memory leak from an incompetent ad sdk, or debug apis you don't have public access too, etc..
 
7:01 PM
99% of reflections I use is only inside testing
 
So is this what I use if I want to run like unit tests on my code for private methods?
Damnit too slow again what the fuck
Warren answers the question before I even asked it.
 
sometimes changing to package private makes sense if you have a good packaging structure, and then you won't need to use reflection because you can access it from tests in the same package
 
Damn, I am too close to Jon Skeet...
 
What do you mean by package private? Like protected or is there a slight difference there?
 
true, but changing visibility inside productive code to enable testing seems bad practice
 
7:03 PM
package private is the default visibility if you don't specify anything else
 
SBT started throwing error messages in Lisp. And I thought Clojure is Lisp and Java's child, not Scala
Sometimes I really miss Android development
 
hm so it's not the same as protected
why do I feel so dumb in this room like I should know these things
 
posted on May 05, 2016 by Reto Meier

Posted by Dan Austin and Jeff Vander Stoep, Android Security team To help make Android more secure, we encourage and reward researchers who discover vulnerabilities. In 2015, a series of bugs in mediaserver’s libstagefright were disclosed to Google. We released updates for these issues with our August and September 2015 security bulletins. In addition to addressing issues on a monthly bas

 
looks like the difference being package-private is not accessible via sub classes
 
7:05 PM
nope, package protected fields and methods aren't visible outside the package, ie in subclasses
yes, that
 
aha! I beat someone to something for once.
 
grats Adam
 
ty
let me bask in this moment for a second
 
I'm still stunned by the 5.4k chars Lisp-esque line starting with java.lang.Exception, that's why I'm slow
what sane person would code that, isn't the point of error messages to be Googleable?
 
Be me: Sends email saying you need to click this link to opt-in to open beta then check google play to get the app, Be future beta tester: replies to email, how do I get the beta app?
 
7:13 PM
Wow, I was scrolling through chat logs trying to find a message I said once and instead found this really deep question from Octavian.
Oct 11 '11 at 12:38, by Octavian Damiean
Hehe. If god created the sun on the fourth day how had four days passed? :D
 
checkmate
 
well I suppose the answer is that one day 1 god created night and day
so
only check I guess, but not checkmate
oh man, I never miss this opportunity to share my favorite one liner now
And God said to John, "come forth, and receive eternal life!" But John came fifth, and won a toaster.
That was the fourth time I've shared that apparently.
 
Next time you'll win a toaster
 
lol
 
7:28 PM
testing private fields seems flaky
 
I don't test fields, I test methods
 
I use explosive methods in fields for bomb testing.
 
oh woops
late to the convo, but why not give those methods default visibility?
 
your explosive diarrhea? I'm tired of your shit, Dave
2
 
lol
 
7:31 PM
lmao
 
lolol
 
@trevor-e we're not talking about needing to access those fields from code running in the app, but instead from a REPL client connected to the app, for debugging
 
I'm referring to what WF said, not the project you're working on
if you make a method package private, that also refers to test packages of the same name
 
I've seen use cases for it where those tests are really helpful
 
What?
 
7:38 PM
Like a copy method/constructor. I've used reflection and private access to iterate over each field to make sure they are the same in the copy. And that's a really easy thing for someone adding a field to miss adding the copying code for it.
 
That's real, too, guys. Right from my phone.
Happy #CincoDeMayo! The best taco bowls are made in Trump Tower Grill. I love Hispanics! https://www.facebook.com/DonaldTrump/posts/10157008375200725:0 https://t.co/k01Mc6CuDI
 
that seems like overkill for testing a copy method/constructor
why not just assertEquals(original, copy)
and if you keep proper equals/hashcode methods then it should just work
crap, I just finished upgrading to El Capitan and now my fonts for Android Studio are screwed up :/
 
can't use that because we just check that the ids are equal in the equals method
also, that just shifts the problem to remembering to add it to the equals method
 
@trevor-e because a private method should stay private
 
we've had serious bugs as a result of forgetting to do those things, so having a test that fails the build if it's forgotten is really helpful
 
7:46 PM
package private is practically the same as private
remembering to add it to the equals method seems like something you want to test for lol
 
if I don't want that this method is called from outside of the class, I make it private. Changing that with the potential risk that someone calls this method in production code just to make it testable without reflection seems flaky to me
> package private is practically the same as private
not really?!
 
It depends on your packaging structure
 
that works for a library but not for an app
 
If your packaging structure is nice and modular, it's pretty similar
at least from a pragmatic perspective
 
yea, depends on your package structure
we have a very fine-grained package structure, so it's never a problem for us
if we lumped everything in one package, I can see how package-private would be an issue
 
7:48 PM
but you have the case that you have two classes inside one package, right?
 
yes, but generally those classes would never reference each other
 
the key problem is "would"
what can be done will be done
 
I could go either way on it
 
yea, it's definitely possible for someone to reference a package-private method, but that's why we have code reviews. I can't say I've ever seen someone do it by accident, which seems like a good tradeoff for nicer tests.
 
I am more the "prevent the accident" guy :D
I mean making a method accessible is done with two lines or so
encapsulated in a method and it is not worth the trade off for me
 
7:54 PM
is maintenance a lot of work?
if you want to refactor a method name, you have to refactor, then run tests to find which ones are now broken, then make the change
since there's no compilation errors with reflection
 
AS will find the literals actually
 
thats why refactoring in AS is powerful enough to help you there :D
 
that's not so bad then
 
in AS 2.0 the code completion even helps you with reflection. Instead of copy&paste the method name you can use the code completion to get the "methodName" string as a parameter
beautiful :D
 
o/
 
user457812
7:58 PM
Yo, @nebulae
 
heyo
 
Ok, I have a question for navigation :) who cares to listen? :P
 
user457812
The whole world. You'll need a bigger megaphone.
 
Just don't use Apple Maps for navigation and you'll be okay.
 
8:01 PM
lol
a-ha! finally fixed the stupid font problem
 
You said, Apple maps?
 
LOOOOL
I'm dying omfg Mauker my sides
 
hahahaha
 
lol
 
I hereby say, if Adam dies, it's Dave's fault.
 
8:04 PM
the highway to heaven
 
oh oh oh
 
You can't put that on me
 
I said that before too, Mauker!
Dec 8 '15 at 1:09, by McAdam331
> Adam McNeilly
1993 - 2093
Here lies a man who was finally too tired of Dave's shit.
 
Perhaps
But I can put that on China team
 
lol
 
8:07 PM
China team will do us all in
 
I googled error message and first result on Google is my own self-answered question
and it doesn't help
I feel like I should know how to solve it
 
o/
 
is this a possible AS update spoiler?
or has this always been here?
 
o/
 
8:18 PM
What is it for? O_o
@Luke LOL that's awesome
 
some debugger options
I wonder if they'll announce AS support for some iOS development at IO?
 
i don't have an objective c area, but im also on a somewhat out of date version
 
I'm on 2.1
 
okay, I think I figured it out, postgresql jdbc drivers keep changing their maven artifact names and it's driving me nuts
I haven't fired up AS in a while, but I don't think I ever poked through Objective C debugger settings, sorry
 
@trevor-e Would they rebrand it to Mobile Studio then? O_o and if they were, why Obj-C?
interesting thought though, they might be announcing something cross platform.
 
8:23 PM
apparently some people got Swift compiling to code compatible with Android's NDK, so it's possible
 
Seems unlikely, and there's already this jetbrains.com/objc
 
see ya guys o/ Gotta go
 
8:48 PM
@nurulnalza you have to have 100 rep to talk here, sorry.
 
9:27 PM
omg the new android studio is so fucking dumb
this supposed run stuff faster thing is broken and doesn't even run the new code some times
 
yea I disabled it
 
user457812
I'm going to blame @CarlAnderson for my death while we're blaming people for our deaths.
 
9:44 PM
the instant-run functionality?
or whatever it's called?
@nil LOL, how am I supposedly responsible for your death? Over-caffeinated?
@R.ghostboy you don't have enough rep (100) to talk here.
 
10:16 PM
Anyone else with 1 reputation points want to request access?
 
lol
 
10:30 PM
How is everyone?
^ rhetorical question
 
I assume it was the instant run thing
I watched the code get changed and the run button get pressed and then what happened on the device did not reflect the change that was just made
 
well that's not reassuring
 
10:46 PM
@CarlAnderson I do! Can I have access?
 
you already have access, silly
 
I feel all special now
So what is new?
 
LOL
sorry, I didn't know you were serious
 
No, I wasn't. I'm never serious.
 
when you join the Android chatroom, you can't write out messages until you're put on the Write Access list: chat.stackoverflow.com/rooms/info/15/android?tab=access
people can request access, even if they don't have enough rep to actually talk (20 rep required for that)
we're special snowflakes in here, so we require 100 rep from our users
 
10:52 PM
I know. I just joined last week. I think cM was the guy that approved me.
 
user457812
@CarlAnderson I don't need reasons! If Trump can somehow get nominated while obsessing over the size of his tiny hands, then I can blame you for my future death.
 
but there's no software system in place to enforce that requirement, so even people with 1 reputation point can request access. And I have to politely decline them, or chaos ensues.
@nil I am proud of my accomplishments.
 
I honestly worry about the potential candidates we have for presidency.
One is a pathological liar, the other hates people of my skin color, but loves tacos apparently...
 
yes, but even his tacos have a wall around them
 
user457812
I'll pick the pathological liar, 'cause the one who hates brown people is also a pathological liar.
 
user457812
10:56 PM
At least one of them doesn't seem to try to incite hatred of brown people.
 
True...
I still hate the options thought
 
user457812
That said, I'm currently disappointed in my dad for actually being all-in on Trump entirely because he's a single-issue voter and that issue is guns.
 
though*
 
user457812
So if anyone has ever said a bad thing about guns, he automatically hates them.
 
Yes, because guns are the most pressing issue for the country.
I have a lot of military friends like that.
 
user457812
11:00 PM
Definitely. After all, without guns, the brown people might rob the slightly paler brown people.
 
user457812
Note: this is basically the logic my dad uses.
 
user457812
He'll couch it in self defense or the need to be able to protect himself against a government that couldn't care less what he does, but it more or less comes down to him being one of those people who likes talking about how rebellious they are on forums dedicated to talking about how rebellious the forum-goers are when they post angry comments on facebook.
 
I got fellow veterans offing themselves, many of them are also homeless, we got refugees (many kids) literally dealing with stuff they never should, a failing education system, a failing medical care system, and corruption running rampant under the guise of "lobbying".
But guns, and Obama.... let's focus on that.
Ok, rant over. Anyone know of a good JSON Schema builder?
 
user457812
I'd just use protobuf 3.
 
user457812
Then you don't have to deal with JSON trying to describe JSON, which is a terrible experience.
 
11:17 PM
@Mauker =( sounds like there will be no solution
 
00:00 - 17:0017:00 - 00:00

« first day (2028 days earlier)      last day (2926 days later) »