« first day (1572 days earlier)      last day (3601 days later) » 

17:00
I think some comedian has a bit about that
that was odd
reopened the tab,
and it immediately spontaneously closed
it's called a kick-ban
allergic reaction of SO to you
:D
I've been here three times and each time I come into see someone poking fun at Carl. Is this a trend?
no, we do it just when you are around
17:10
I guess I should come in more often.
it's a psychology experiment to see how we can affect a seemingly neutral 3rd party's judgement of a person they don't know
by questioning it you've just ruined months of planning and preparation... thank you for that by the way.
you just blew it Foamy
lol
he was getting too close. He would've figured it out
17:14
You guys sound like you're about to put a hit out on me.
"He knows too much, we need to get rid of him."
No we only use the room 15 hitmen for more serious situations
^
we might sic the help vampires on you though
Such as?
Oh please no.
I would rather spend a day in the iOS chat than deal with that.
wow guys he's serious
this is hilarious
love that guy
17:22
:D
I'm kinda glad Louis CK Doesn't have 80 billion dollars, the world would be a dark place.
i love his dark comedy, it's so self loathing
I love dark comedy in general.
17:46
oh wow, my Nexus 4 is triggering some sort of SocketIO exception every few seconds
this is weird
isn't POSIX what manages threads in Linux?
yes
rebooted the phone and it isn't happening now
POSIX Threads, usually referred to as Pthreads, is a POSIX standard for threads. The standard, POSIX.1c, Threads extensions (IEEE Std 1003.1c-1995), defines an API for creating and manipulating threads. Implementations of the API are available on many Unix-like POSIX-conformant operating systems such as FreeBSD, NetBSD, OpenBSD, Linux, Mac OS X and Solaris. DR-DOS and Microsoft Windows implementations also exist: within the SFU/SUA subsystem which provides a native implementation of a number of POSIX APIs, and also within third-party packages such as pthreads-w32, which implements pthreads on top...
probably some app misbehaving
man that book about Android Threading is so good
I encourage everyone to read it
17:54
What is good about it?
> 02-04 09:52:08.650: W/com.amazon.venezia/com.amazon.identity.auth.device.framework.SSODeviceInfo(399‌​2): Device does not have a valid Amazon serial number. If this is an Amazon Device set Build.SERIAL to the serial number and set Build.MANUFACTURER to 'Amazon'.
well, it explains Threading not only at the high level
it explains Android internals as well
how processes work in Android
how you can interact between processes
under the hood stuff?
I would say, it gives enough under the hood information for you to get a comprehensive picture of why the high level stuff works the way it does
it also talks about common memory leak issues
when it comes to Threads as well as Android's queueing mechanism
hmm, I might get it
I'd really just like to understand more of the internals at this point
It's not documented very well (or at all).
18:03
yeah
one thing I expected to see was some sort of mention of Android's boot sequence
but he mentions what is most relevant for programmers: all app processes are forked from the zygote process
Ich bin ein Berliner!
11:52 AM
yes you ARE a jelly donut!
Sarah • 12:13 PM
18:19
I am trying to implement ButterKnife and am getting a NullPointerException, anybody has an idea?
Are you out of butter?
haha yes am out of it
where are you calling inject?
@jlindenbaum still available to translate Mr Donut?
18:20
inside onCreate()
@CarlAnderson were you the one who had experience with the ViewPager class or was that cM?
I use ViewPager in my app
after setContentView? have a code snippet for us?
ButterKnife.inject(thsi) inside the onCraete just below the setContentView
let me share a gist
probably need the xml too
Okay. Well I have a design kind of question I guess Dave. Right now, I'm using it to display Prescriptions (one tab for each Prescription). What I do now is I read all of the id values in the Script table, and for each one I pass the ID as an argument to the script fragment and add it as a tab. Inside the fragment I call to the database to get specific script info and populate fields on the tab.
oh I just have a regular ImageView in the xml
you guys are brutal on your apps, If i was injecting things I'd use a Syringe not a Butter Knife.
I'm worried about those constant calls to and from the database each time I create a fragment (even though it's just a small SQLite database). Would it be better practice to make one call and get a bunch of Prescription DTOs and use those as arguments to each fragment?
Is it the same data set for each fragment?
just displayed differently?
18:25
Yeah basically. If I have 5 prescriptions, I'm calling the database once for each of the 5 tabs. I'm quickly realizing (even more so as I type it) that that's a dumb idea but I don't know what the right idea would be.
sounds like an expanding list to me
Personally I'd store the list of prescriptions in the hosting activity and supply them to the fragments as needed. That way you only have to manage refreshes in one place and only make a single query usually.
or if the information is detailed enough, a list with a preview that leads to a full page
there's a lot of ways you could display the data, expanding list would work as well. Depends on the information and how you display it.
mcadam
what you're doing in terms of database io
18:26
It is nice to have a summary and go straight to the prescription in question.
probably not the wisest
how big are these lists theoretically?
and are you executing the queries in batches? Or literally one off queries?
posted on February 04, 2015 by Android Developers

Posted by Laura Della Torre, Google Play team Trulia’s mission is to make it as easy as possible for home buyers, sellers, owners and renters to navigate the real estate market. Originally a website-based company, Trulia is keenly aware that its users are migrating to mobile. Today, more than 50 percent of Trulia’s business comes from mobile and growth shows no sign of slowing, so they know t

in the one off case
you should abort
Nate McAdam is a student just kinda getting started in Android. Don't get too critical.
I appreciate critique.
18:28
@McAdam331 yes, I'm the one who uses viewPagers
and either do them as batch quires, or select the full list of info and parse it. That can still be nasty, but its better than doing 10,000 individual quiries
unfortunately I have a meeting in about 2 minutes
not being too critical
It's okay Carl, seems to be ample opinion here haha.
not trying to be anyway
18:29
I think I meant make it more concise. It was kinda hard to follow with the split up lines.
Thats gen-u-ine advice
thats fair
The amount will be very small. It's designed to be a single user prescription organizer. Can't imagine a user taking an absurdly large amount of prescriptions. If I make one call to the database to get all current prescriptions, what would be the best way to populate each tab then?
you either call a setPerscription method on the fragment or supply it to the newInstance constructor
Should I create a Prescription object for each row that's passed to the tab? Should I just wrap all fields into a Bundle?
if the total is small, than its a much less substantial issue. But either way you would parse the list into prescription objects ahead of time, and pass those into the fragment somehow.
18:30
Both are good practice. =p
you could bundle wrap, but this sounds like a perfect object instance
I agree
you can make a neat little class that simply parses your db results into objects
Okay. I'm not having any problems with latency with this size of data but I hate setting myself up for poor design or things that aren't going to be scalable properly in the future.
If you had 10k results that you were doing individual queries for your current set up would not work, it would be far to slow
18:32
yeah I'd do what Nate is suggesting. Query once and keep an ArrayList or something of Prescription objects specific to the user.
and then supply that object to the fragment.
^ +1
also - apologies if was rude - it was a legit chat question though so i got excited =)
Okay. I'm gonna go give that a shot really fast. Shouldn't take much work.
No apologies, I came where I knew I could get help.
I'm sure in the back of your mind you all said 'what an idiot' but you didn't say it up front so I'm thankful!
;P
haha na, thats Nana
he's cruel
just make sure you don't use the object to alter the fragment until onCreateView otherwise you'll get some exceptions in onCreate as the layout isn't inflated yet.
@nana i think you're our enforcer
18:36
So I had to enable annotations in Intelli
I hate how popular 'sth' is getting, just type 'something'.
acronyms are for multi-word statements damn it
sth means something?
totes agrees
idkwtftam
3
Just like "tho"
18:39
^ best new acronym of 2015
smthg would at least be understandable
dat ass tho
"Add 3 more fucking letters"
^ a3mfl
idkwtftam
air muffler?
ah that make sense
atms
18:40
I want to learn hieroglyphics
could you imagine hieroglyphics as acronyms? it's just one hieroglyphic with 4 different corners.
that would be confusing.
lol
shit with the amount of emojis people use today we're headed back to hieroglyphics
shit mcadam has a c&h avatar now as well!
It's back to #notahmad again
at least it's more different than the one guilherme has
18:47
haha
that confused me a lot at first
#notahmad was fun though
lol
you guys wanna see some evil owls?
at least my avatar has a beard
That's true, Dave, your avatar is very Beardly
18:48
#jesuischarlie was just the successor of #notahmad
they been copying my style.
owls? I'm in.
#jenesuischarlie
ne suis pas*
only if you're being formal
the pas can be left out at times, i forget when those times are though tho
or french, but who wants to be french
@nathan you promised owls
yeah nathan
get on it
apparently one of those cases is not suis, but sais is.
je ne sais doesn't need pas but looks like je ne suis does?
@NathanielD.Waggoner owls now so I can clear my clipboard of my lined up image link to paste in response. You are beginning to interfere with my work.
19:09
material design guidelines typography gists: gist.github.com/eskimoapps/c95ea1ec7f9bb9872853
shouldn't that be MoTypefaces.java?
I'm a french minor, and I may be wrong because I haven't taken a class in a year but I've never seen either of those omit the pas.
@Eenvincible can you post the stacktrace?
I know you can omit the 'ne'. 'sais pas' is slang for 'dunno'
@DaveS Lol, maybe
@Emm, I got it; I had to enable annotation processors in IntelliJ; works now; thanks
okay in litterary that makes sense.
i couldn't help but think that in spoken french there'd be so many misconceptions between 'je suis' and 'je ne suis'
@Ahmad @DaveS you asked for evil owls so...
I did not know that was a requirement...
probably mcAdam, I haven't taken french in over a Decade and I only took 2 years
so I'll trust your opinion
yo dave - you need your translations?
i got the goods
Ich besitze seit neuestem einen Davy Crockett Wifi
Herstellungsdatum: 7/2014

Dazu hätte ich eine Frage:

welche Höchsttemperatur verträgt der kerntemperatur Fühler ?

auf eine Antwort von Ihnen würde ich mich freuen.

mit freundlichen Grüßen Norbert
Davy Crockett wifi....
19:18
I recently purchased a DCWifi, manufacturerd 7/2014. I have a question. What is the max temperature the core temperature sensor? I would love an answer. Greetings Norbert
accidentally a word... "core temperature sensor can resist / can handle?"
yeah I think he wonders how hot it can get before it fails
yes.
Dave - I am going blind because of that website. I think your products are cool, but that website. I literally want to murder those owls I posted above because of this website.
oh yeah it's awful
Did your china team write it?
Idk who wrote it, I know we do minor things for it to keep it running but it was probably made in the 90s
they haven't wanted to spend the money to redo it.
19:22
majestic asf
Alright Dave I got the ViewPager running via Objects and only one database call now. Thanks again.
np, glad I could help.
i need to recruit some friends to work with me. Trying to build an app by yourself is fun but exhausting.
if you wanted to get super optimized you could store the prescriptions locally and only query if the data set changes
19:24
lol
@DaveS holy crap.. Jlins right... dat website do...
I know I know
just forget about it and look at the app
Dave is that one of your apps?
omg you stole that website from the 90's
yeah that's the one I'm working on for iOS
Android is paused right now
although I did just notice we need to update 2 of the screen shots
One day I'll have an app in the play store. one day.
19:28
I already have it
but it's a shame to show it
all the shitty reviews came from the polished turd of the China app that I had to completely redo. I think I've only gotten two 3 star reviews since my version was released, rest 4-5
Not bad. and I just saw your comments about my C&H avatar haha
I was feeling left out
When I do a Build on my project I am seeing Errors (java: package R does not exist), but I can run the application on my device no problem. Should I ignore these errors? Is it an IDE issue?
ive tried importing my package, but that does not help either
that's a problem compiling your resources, check for errors in xml, sometimes eclipse messes up and you need to clean
Did you try 'clean project'?
19:36
look in the res folder, you will probably find the error there
I am using Intellij IDE not Eclipse
a layout file name with capital letters maybe
still might need to clean
I have a simple app, its only main.xml in the layout
if there isn't an error
19:38
yeah it does not have a clean, only rebuild
Like I said the wierd part is I can run the app from the IDE on my phone with no issues
any particular reason you're using eclipse and not AS?
So when do you get the issue?
if you have a build error with R.java then there's no way you are running it on your device
unless you had an old version already
he is using IntelliJ Nathan
The errors dont show when I do a run though, its confusing
verify your xml as well
if you have an issue in that it can cause weirdness
is there an "app" attribute in your main xml or in your menu.xml?
damn, you know it's good when a question is too broad even for chat to figure it out
19:42
The part that is confusing me the most is it does a Build when I run it, and there are 0 errors and the same 3 warnings i have when i just build the project
I do not think it is a good question per se
It is a bad question, i know :)
I did not get your last statement
its very broad and ambigious
you can likely tell where R.java failed by opening it up and seeing the last resource pointer it created
and then from that you know it failed while trying to create a pointer to the next resource
19:44
I am not use to Android, Java, and this IDE is the real problem
I am stuck in my .Net C# world
I can't stend IntelliJ
My company I work for provided it
Android Studio is free.
Just sayin'.
Is there a visual aid for the Layout or is just straight XML?
there's a visual aid if you prefer it.
Or you can just open up the XML file and write it yourself.
19:47
Like I said I am use to .Net C# visual studios easy mode :)
I've always been really happy with AS. Once I migrated from Eclipse I never went back.
I will definitely check it out, because I am really only using this IDE for Android
We have a different IDE for our web development
And we normally don't do Java otherwise. We are mainly C / C++
if you are a c# dev why don't you try xamarin?
Android Studio is the best editor I've ever used, IMO. It's auto-completion is great, the warnings it generates are super helpful, and the layout editor isn't bad.
I haven't tried it myself, but worth a look
19:49
@McAdam331 I will have to download it and give it a test run then
KSdev, it really sounds like it's a problem with the cache if it only doesn't work in IntelliJ
@trevor-e I will have to check it out if its more in line with C#
Certainly worth a shot. If the worst that happens is you go back to using IntelliJ then you've lost nothing but a little bit of time and gained the experience of trying something new.
@DaveS Well I just had the "Community" version 14.0.2, and just upgraded to the "Ultimate" version 14.0.3 and loaded the project and got this
@DaveS And I just tried to clear the cache too
hmm weird, is the sdk fully updated?
in the new version
19:50
@DaveS saw that suggestion through google :)
@DaveS Yeah I had to add the JDK and SDK because I did not import my old settings
i'm backtracking but does IntelliJ really not have a 'clean' option?
I do agree overall Mc, AS is turning into a pretty good IDE
@McAdam331 Lol, not that I see :)
yeah try Android Studio
Yeah, Nathan I enjoy working with it more than VS. Though it's hard to compare two IDEs that are used for separate purposes.
19:52
See I was using the "Community" version which is Free, but my company went and bought the "Ultimate" version
I will say that I really enjoy VS even though I have encountered many of bugs
Android Studio has come a long way. It was a painful grueling beta period of constant updates but it's really come together in my experience.
I have concluded that the errors from the build are just wrong. I deleted the app off my phone and just ran it, and it comes up no problem
so weird... bug i suppose
I will definitely check out AS though after hearing its praise
Thank you all for the help
Anytime.
fyi, downloading AS as we speak :)
I didn't really help I just pushed AS. But that might be a help in the long run haha.
19:55
found the answer KSDev
2
Q: Intellij IDEA 14 - Package R does not exist

Ben LeitnerWell, I recognize that this has been asked before, but in browsing the other answers: IntelliJ IDEA - Can't build anything, always get "package R does not exist" Error: java: package R does not exist etc. none of the solutions work. This is for a project that was building fine until at least the...

Alright guys I gotta head over to class again. Should just go home before the snow comes down even more.
@DaveS Yep that is it. Looks like it is the new version 14.0.3, cause like I said didnt see this with 14.0.2
coworker pasted this into our chat, "Samsung phones are by far the most popular Android phones. Whilst it's true that all Samsung phones from 4.1 and up have Roboto, they also have something called Samsung Sans, and if your user has set it as their default font then the android:font-family (as @Ahmad says)..."
Took me a second to realize who @Ahmad was
ahmad is famous
@DaveS Thanks Dave, I will be able to sleep tonight knowing its not a screw up on my end :)
19:59
lol np

« first day (1572 days earlier)      last day (3601 days later) »