**** BEGIN LOGGING AT Tue Jan 05 02:59:58 2016 Jan 05 03:00:43 That in itself is not a problem from the banking side (terrible for the lender though) but would never on its own have triggered any crisis. They are, after all, highly risky instruments, and banks should treat them as such. Jan 05 03:01:06 The real problem was caused by commodisation of the subprimies. Jan 05 03:02:12 Yup. Jan 05 03:02:30 But those were no issues on themselves either. Jan 05 03:02:57 Because if you have a derivate based on hundreds of loans, it's very safe — how likely is it that everyone stops being able to pay? Jan 05 03:03:18 Then you have AIG, insuring impossible things, Jan 05 03:03:41 And then you end up with old grandmas investing in derivates of subprimes Jan 05 03:04:17 My teacher called those derivates always "bagged meals". It's like prepackaged food, from the outside it looks kinda okay, but if you ever take a look inside, you just wanna puke. Jan 05 03:04:36 @ justJanne and loke bit off topic guys Jan 05 03:04:59 Yoah, true. But chats dead anyway at this time. Jan 05 03:05:11 We'll go into PM, though, thanks for reminding Jan 05 03:05:27 its dead because no ones gonna ask a question in the midst of a finance debate lol Jan 05 03:05:35 but thanks Jan 05 03:07:09 Hm. Probably. I meant more "it's always dead at this time" though. Jan 05 03:08:18 orbyt_, you ever worked with Palette class? Jan 05 03:08:47 Anyway, I'm gonna go on standy for 8h. See you on reboot. Jan 05 03:09:19 *standby Jan 05 03:09:31 drose379: no i havent Jan 05 03:09:47 Ok orbyt_ Jan 05 03:13:52 I wonder if I can take the toolbar out of the collpaing toolbar layout Jan 05 03:21:17 why in the world do dynamically added views not respond to any methods other than textcolor/size etc. Anything like setMinLines has 0 effect Jan 05 03:21:40 orbyt_, do you know if there is a way to change the expanded text background in a CollapingToolbarLayout? Jan 05 03:21:46 Sorry for the seemingly random questions Jan 05 03:24:16 Does anyone know where I can find an open source android project with a proguard configuration file that works for that project? Jan 05 03:24:40 drose379: the text background? Jan 05 03:24:45 Yep Jan 05 03:24:48 either proguard is hard or I'm dumb. Jan 05 03:24:50 or bother Jan 05 03:24:54 err.... both Jan 05 03:24:59 yea it's looking like the latter Jan 05 03:25:30 the_rabbit: this has some default settings for common libs: https://github.com/krschultz/android-proguard-snippets Jan 05 03:26:35 orbyt_: I can take another look at that one. I did find it though. Again, maybe it's just my lack of experience and ignorance. Thank you though. Jan 05 03:27:27 drose379: not sure Jan 05 03:28:05 pretty sure you can change the text color when its open/closed but im not sure what your referring to with text background Jan 05 03:32:49 Re Jan 05 03:37:34 on another note, I just found another repo I can contribute to. Thanks again orbyt_ Jan 05 03:44:52 <_genuser_> hey hooligans Jan 05 03:48:02 <_genuser_> y'all don't have to be shy. Jan 05 03:56:55 Hi guys, anyone been getting SSL handshake issues with the GCM servers? Jan 05 03:57:09 I've had it randomly happen on 2 servers (that push notifications) Jan 05 04:04:20 _genuser_: yes, just us introverts. Jan 05 04:05:48 orbyt_:turns out that's exactly what I needed, a revisit. Thanks again Jan 05 04:06:55 mhm Jan 05 04:43:47 are touch events queued? Jan 05 05:22:57 <_genuser_> geez you touch android and it starts paging. Jan 05 05:23:01 <_genuser_> *android studio. Jan 05 05:23:31 <_genuser_> do'nt know why google is so lazy that it couldn't write a new ide focused on android dev. instead of using up idea which is the most useless one they could have started with. Jan 05 05:24:03 I think IntelliJ is pretty good, better than eclipse Jan 05 05:24:23 that was the most useless one they could've started with...and they did! :) Jan 05 05:24:27 <_genuser_> for me, it takes toooooo much RAM. you touch it and then tab away and it starts paging. Jan 05 05:24:39 <_genuser_> they could have started with notepad and hit the mark better. Jan 05 05:24:54 you can still use notepad if you want, and gradle for building :) Jan 05 05:25:07 pretty sure someone here uses VIM Jan 05 05:25:17 <_genuser_> haha, vim/notepad it only cool to talk about. Jan 05 05:25:24 <_genuser_> I still like intellisense and all that jazz. Jan 05 05:25:29 <_genuser_> I just dislike intellij. Jan 05 05:25:47 <_genuser_> the monster that it is. ... correction - the useless monster that it is. Jan 05 05:26:02 <_genuser_> anybody who was on the original intellij team should be flogged in saudi arabia. Jan 05 05:26:08 <_genuser_> they don't have pardons over there, lol. Jan 05 05:26:34 bit harsh! Jan 05 05:26:42 <_genuser_> altho, I will settle for giving their email address to Virender Singh from Calance. Jan 05 05:27:04 haters gonna hate I guess Jan 05 05:27:22 <_genuser_> haha, I feel a little prima donna'ish going on a rant about AS. Jan 05 05:27:44 <_genuser_> it's just that my computer actually "literally" stops for 20 seconds or so when I switch away and come back to AS. Jan 05 05:28:00 <_genuser_> now, if I close everything else... I'm sure it'll run just fine. Jan 05 05:28:38 <_genuser_> since you're the only one here.... let me ask you a question. have you had to resize a DialogFragment? Jan 05 05:29:05 not from memory...last time I tried to use DialogFragments I got frustrated and went back to Dialogs I think Jan 05 05:29:13 resizing either of those was a PITA from memory Jan 05 05:29:42 <_genuser_> if I resize it, the contained LinearLayout doesn't. even tho it's set to match parent. and I've explicitly set the LinearLayout to 200, LayoutParams.{WRAP_CONTENT,MATCHPARENT} Jan 05 05:29:46 <_genuser_> but no go. Jan 05 05:30:00 <_genuser_> I might just build a custom dialog then. it will be easier, probably. Jan 05 05:30:30 maybe. Dialogs have always been painful... Jan 05 05:30:41 <_genuser_> hmmm, no wait, when I set it to 200, I see it changing to something really small. Jan 05 05:31:23 <_genuser_> so then I guess the screen size I'm getting from getActivity().getWindowManager().getDefaultDisplay().getSize(point) isn't matching what LineraLayout expects. Jan 05 05:31:30 <_genuser_> even tho, I think it's fine for DialogFragment. Jan 05 05:31:40 <_genuser_> I may have to figure out if I need to adjust for dp vs. pixel thing. Jan 05 05:33:43 <_genuser_> half my code is just Log.d() Jan 05 05:34:12 lol Jan 05 05:34:31 <_genuser_> to be cleaned up at some point. but for now, lot of info dumping to console. Jan 05 05:34:42 <_genuser_> altho, I"m sure the .d get scrubbed from the release apk. Jan 05 05:35:01 heh, you'd think that... Jan 05 05:35:56 <_genuser_> I remember reading that in teh docs somewhere. Jan 05 05:36:10 <_genuser_> ok, I think the discrepancy between size is pixel vs. dp stuff. Jan 05 05:36:17 unless they've changed it I think you have to handle that manually Jan 05 05:37:15 <_genuser_> Dialog width 1089 (60% of screen size). when I set in code params.width=200 and then do setLayoutParams() for LinearLayout, it takes up about half of the intended area. Jan 05 05:37:23 <_genuser_> so if I convert, it should be good to go. Jan 05 05:37:52 I think there's a util method of some sort that lets you do that easily Jan 05 05:37:57 <_genuser_> barbs: handle which stuff manually? removing log.d's? Jan 05 05:38:03 yep Jan 05 05:38:16 could be wrong though Jan 05 05:38:19 * _genuser_ googles "convert pixels to dp android" Jan 05 05:39:07 <_genuser_> well, I see a SO article with a class that does conversion. Jan 05 05:39:21 * _genuser_ makes a new file in project Jan 05 05:42:55 <_genuser_> alright back to coding (star trek....) Jan 05 06:10:16 Anyone got any ideas: http://stackoverflow.com/questions/34602923/textview-inside-framelayout-being-cut-off-and-not-wrapping Jan 05 06:25:28 in onDraw() do you have access to the pixel data that was written to the last frame? Jan 05 06:25:44 i have a textview and i have an array of strings, one for each line Jan 05 06:26:01 on every frame i draw every string to the canvas. Jan 05 06:26:32 when a new string is sent for display the top one is discarded from the array (actually an ArrayList) and the new one is added to the bottom Jan 05 06:27:16 i think it would be cheaper on cycles if i used a couple of Rect's and copied the text up one line (its an imageview not a textview) Jan 05 06:27:49 if not i COULD dedicate a bitmap of my own Jan 05 06:28:00 just dont want to waste the memory if i dont have to Jan 05 06:31:57 im guessing... ImageView.getBackgroundDrawable() Jan 05 06:34:28 but i think that just gets me a copy of it which means im using the memory anyway and it takes the cycles to create the copy every frame Jan 05 06:34:44 better to just cache my own copy of the frame Jan 05 06:34:51 ty for the help :P Jan 05 06:37:04 np Jan 05 06:54:04 hello. I have a small personal app that needs to play an audio file (from the internet). I'm too lazy to make a half-decent display for Mediaplayer, so I put an