**** BEGIN LOGGING AT Mon Mar 21 02:59:58 2016 Mar 21 03:02:51 i have a drawerlayout that gets covered by another view. whats the proper way to debug/find the source of the problem? Mar 21 03:03:01 whats happening - http://i.imgur.com/8O72Edq.png Mar 21 03:03:05 expected - http://i.imgur.com/nWunHWL.png Mar 21 03:03:14 Whats your all's general retention rate as far as current/total installs goes Mar 21 03:04:18 and kuroro...what did you change between the pictures lol Mar 21 03:04:25 1/ Mar 21 03:04:27 1% Mar 21 03:04:46 pfn: 1% current installs to total installs? Mar 21 03:04:59 thats shit Mar 21 03:05:18 serious?! damn Mar 21 03:07:33 here's a sample video demonstrating the problem - http://3.sendvid.com/9rf719n5.mp4 (basically at the 17 second mark, i was able to make drawer fully display by clicking on one of its items ) Mar 21 03:09:33 and here's the xml of the activity - http://pastebin.com/raw/VzGQv49x (im using materialdrawer so you wont see drawerlayout in that xml, but even if i dont use materialdrawer and use drawerlayout manually, i still see same problem) Mar 21 03:17:10 your drawer isn't match parent Mar 21 03:22:16 intersting insight. i'll take note of that, and see if its the case. looking at github, it looks like its using match_parent though - https://github.com/mikepenz/MaterialDrawer/blob/v5.1.5/library/src/main/res/layout/material_drawer.xml . but ill investigate further Mar 21 03:23:36 but i just did an experiment. i replaced the videoview with a and the problem went away. let me try other types of Views Mar 21 03:33:32 What the heck.. Why would I be able to access my protected methods in my tests? I jave a pojo I am testing and I can call protected methods? Mar 21 03:33:46 using junit and mockito Mar 21 03:36:57 same package? Mar 21 03:45:32 hmm. i was able to solve my problem by adding "android:background" to my VideoView. i dont know why it worked. strange Mar 21 03:47:08 dsardari, well I guess that must be it. It is in my test module, but the package name is the same, so that must be it Mar 21 03:47:12 huh. thanks Mar 21 03:54:46 same package Mar 21 03:54:57 "test module" is irrelevant Mar 21 04:52:19 can I use platform/frameworks/opt/datetimepicker Mar 21 05:00:40 Hello Mar 21 05:01:27 When using Android SDK Manager for the first time, what packages are relevant for basic Android development? Mar 21 05:01:44 I already unticked some android TV and Wear stuff Mar 21 05:01:55 What shouldn't I untick? Mar 21 05:02:07 Is the Atom 64 stuff relevant? Mar 21 05:05:47 imo all the qemu images are highly irrelevant Mar 21 05:05:53 genymotion ftw Mar 21 05:08:04 so untick all except..? Mar 21 05:09:20 The Android N isn't really relevant for a one off application right? Mar 21 05:10:09 It is the newest version of android but 6.0 is stable Mar 21 05:10:35 Alright, Android N unticked Mar 21 05:14:42 "Sources for Android SDK"; I assume this is for building Android SDK? Mar 21 05:19:25 rgb-one, I believe so Mar 21 05:20:24 What reason would I as have for building an Android SDK? My use case is a simple calculator application Mar 21 05:27:01 rgb-one: it's also useful for seeing how components are implemented - but you can always install it later if needed. Mar 21 05:28:31 What about the ARM EABI, Intel x86 Atom and Atom_64 stuff? What are they for? Mar 21 05:29:43 My target is mobile phone Mar 21 05:30:44 no Mar 21 05:30:52 sources are for framework Mar 21 05:31:02 and the system images are for emulator Mar 21 05:31:14 sources are not for building, but understanding Mar 21 05:31:44 Alright pfn, what do you recommend I install? Mar 21 05:32:24 exactly what you need and nothing more Mar 21 05:32:35 I don't know what I need Mar 21 05:32:45 just one framework sdk, and one emulator image if desired Mar 21 05:33:08 get 23 sdk and you're done Mar 21 05:33:12 ARM EABI is for mobile phones? Mar 21 05:33:44 no Mar 21 05:33:55 it's just an abi for emulator Mar 21 05:34:03 don't bother with emulator at all Mar 21 05:34:22 I can just plug my phone in right? Mar 21 05:35:03 yes Mar 21 05:35:26 So I unticked all but Documentation, SDK platform and Samples for SDK (I assume these are examples) Mar 21 05:36:19 Under the Android 6.0 (API 23) category that is Mar 21 05:38:16 this part isn't hard to figure out, just do it until you can build Mar 21 05:39:00 What is the Google API useful for? Mar 21 05:39:10 rgb-one: making use of google services Mar 21 05:39:26 google api is no longer useful Mar 21 05:40:13 Well, I doubt it is for this calculator app Mar 21 05:49:00 less ask, more. do Mar 21 06:01:25 less do, more be Mar 21 06:04:06 huh... most recent build I have of day-job app is May 2015 Mar 21 06:19:14 pfn: Alright, packages installed and project created Mar 21 06:28:28 Hi, I am using volley for a request, and show toast using Activity.this as context when requestf fails. This is causing a leak. Will switching to getApplicationContext fix this leak? Mar 21 07:00:26 astroduck: could be. puting activities in runnables/callbacks may cause leaks Mar 21 08:56:20 hi! Mar 21 08:58:31 is Android Studio 2.0 still in Preview? Mar 21 08:59:28 Hey guys, anyone used facebook sdk ? Mar 21 08:59:57 It's only for API 15+ ? Mar 21 09:00:20 So If my app is API 9+, I can't use it, or is there any solutions ? Mar 21 09:05:07 I saw someone mention compatibility version in stack post, but I can't find it Mar 21 09:05:27 why would your app be 9+? Mar 21 09:06:08 apps shouldnt be adults only Mar 21 09:20:51 Leeds, we sell transit tickets for bus & train, so we go as low as we can Mar 21 09:32:15 Hello guys, I made a simple compass, but there's just to much stutter in the compass movement. I tried a simple lowpass filter as suggested on some stack overflow, but I still have that small shaking movements. Does anyone knows of a good solution for my compass problem? Mar 21 10:10:17 hi! Mar 21 10:12:56 I am using Android Studio 2.1 Preview 3, and with some simple NDK code all my #include lines are red. fox example: #include #include . the problem is only in editor, the compile process and application on device run with no problems Mar 21 10:14:12 any ideas why this is happening? Mar 21 10:21:30 Hey. I'm putting some buttons and textfield together in my layout file. Is it possible to change the font to one of my own in xml? It's a ttf font Mar 21 10:22:13 not unless you create a custom view with it's own attributes Mar 21 10:23:26 Bernzel_, https://github.com/chrisjenx/Calligraphy Mar 21 10:26:27 danijoo: Do I have to use third party libraries for this really? How can there not be a native solution for this? Mar 21 10:26:42 no you dont have to Mar 21 10:27:16 you can also spend a few hours/days and implement it on your own Mar 21 10:27:43 oh. So it can't be created with xml even? Mar 21 10:27:49 I'll have to do my own Button class etc? Mar 21 10:28:34 you would have to load your font from the assets, create a TypeFace object and set it on every view that should use that font Mar 21 10:29:00 thats the NIH-syndrome solution ;) Mar 21 10:29:08 Hello everyone Mar 21 10:30:12 I am going to develop a Ludo game in Android (https://en.wikipedia.org/wiki/Ludo_(board_game)) and would like to use the right tools for the job (I have experience in developing Android apps but no games so far). Can you recommend me libraries that game developers/studios use? Mar 21 10:30:38 syntagma, libgdx or unity Mar 21 10:32:40 libgdx all the way syntagma Mar 21 10:32:53 danijoo: thanks btw, I'll use that library :p Mar 21 10:33:08 thanks. Isn't unity more popular in the game industry? Mar 21 10:33:43 popular isn't always best. Mar 21 10:34:08 you might get your game done faster with it because its less manual coding Mar 21 10:34:24 but both are viable options and good games have been written using both Mar 21 10:36:40 I have a WebView that has a WebChromeClient set to it that overrides the onJsAlert method and only does return super.onJsAlert(view, url, message, result); inside; However , when an alert is created from a webpage the alert dialog is shown *behind* the webview, any ideas why? Should I bypass the super.onJSAlert and create my own dialog? Mar 21 10:38:09 by behind I mean that I only see the alert dialog after I close the webview Mar 21 10:38:22 because it is displayed behind it Mar 21 10:39:07 maybe the context isn't right, i.e. the view passed to super.onJSAlert Mar 21 10:58:17 danijoo: with that library, does the font have to be in a "asset" folder? Mar 21 10:58:56 Bernzel_, what are the docs saying? Mar 21 10:59:42 it says to put them in asset folder, but I thought maybe that wasn't necessary since suddenly my project can't resolve R after doing so Mar 21 11:02:43 oh wait, I need to create my own Application class Mar 21 11:03:48 yes. it shares the typeface accross all your textview instances to reduce overall memory Mar 21 11:03:57 thats why it must be initialized somewhere at start Mar 21 11:05:09 I see. Mar 21 12:06:07 What's the syntax for running "gradlew --refresh-dependencies" ? I can't run that as it is, I must be missing something Mar 21 12:12:05 Bernzel_: it's an option, you still need a command - gradlew --refresh-dependencies build, for example Mar 21 12:27:34 I have a 1080x1920px image that I use as background for my Layout. But I get "Bitmap too large to be uploaded into a texture" warnings and the image isn't drawn on the screen. Do I have to make multiple sizes of this image ? Mar 21 12:30:03 Bernzel__, you could resize it in runtime as well Mar 21 12:40:40 hithere Mar 21 12:41:03 I am trying to implement Toolbar activity and use it as old ActionBar Mar 21 12:41:21 using this guide http://developer.android.com/training/appbar/setting-up.html#utility Mar 21 12:42:58 ktwo: how? Mar 21 12:57:58 Bernzel__, theres not only one way. maybe google for resize background drawable programmatically Mar 21 13:01:42 bolovanos, ... and? Mar 21 13:02:41 Zharf, and of story - found solution for my problem right after I created screen shots :) Mar 21 13:50:08 so, i connect to wifi with captive portal Mar 21 13:50:24 nice, i can just try to ping google to see if i have actually network connection Mar 21 13:50:30 which will tell me i dont Mar 21 13:50:55 but how to know if user signs in to that captive portal Mar 21 13:51:10 no event or broadcast is triggered then Mar 21 13:59:03 anypony? Mar 21 14:00:29 Ashiren: check for a 204 from http://clients3.google.com/generate_204 Mar 21 14:01:04 i know Mar 21 14:01:07 i do that Mar 21 14:01:53 but i need to know when user signs in, so when to check internet again Mar 21 14:18:51 ktwo: is putting the image in "drawable-nodpi" instead of just drawable a valid option? Mar 21 14:19:41 why not just put it into the drawable folder? Is it an svg? Mar 21 14:20:55 Bernzel__, i personally wouldnt use a full-hd image for any background purpose. actually - any image. Its rarely seen, flat colors are the modern approach Mar 21 14:21:57 ktwo: indeed, but this is in fact the layout I'll be going for, I have no choice. Mar 21 14:23:15 and it did work to put it in that folder it seems. weird Mar 21 14:31:18 Zharf, ad Toolbar - yes I have found something else Mar 21 14:31:22 http://stackoverflow.com/questions/26464326/how-do-i-make-drawerlayout-to-display-below-the-toolbar Mar 21 14:32:15 My content was behind Toolbar - like if it were in RelativeLayout set with gravity top Mar 21 14:32:43 Wrapping with Relative layout did not work Mar 21 14:33:31 what worked was former content wrapped with "android.support.v4.widget.DrawerLayout" as told on that stack link Mar 21 14:35:38 question is why has to be wrapped in an such obscure way? - or is there better way to do what I need (Toolbar than content lined up to the lowest part of the toolbar)...? Mar 21 14:41:57 another thing is that with "android.support.v4.widget.DrawerLayout" FAB android.support.design.widget.FloatingActionButton disappears Mar 21 14:42:12 probably it is behind that Drawer Layout Mar 21 14:49:16 bolovanos, would need to see your layout Mar 21 14:51:35 yes Mar 21 15:00:15 Zharf, give me some time, I was about to push it to git, but it collapsed Mar 21 15:00:55 is it possible to properly embed mapView into fragment? When I do this it becomes slow and unresponsive. And my layout is pretty simple Mar 21 15:02:07 vohsalab: do you mean MapsFragment? Mar 21 15:04:37 nope just mapView Mar 21 15:04:51 can I use mapView as common view not as root view? Mar 21 15:05:32 Does anyone have an example of using a pageradapter with a different cursor for each page? I've tried using a "CursorPagerAdapter" implementation but everything I have tried results in swiping left or right to the same results Mar 21 15:26:19 Can I specify two "gravity" values for a EditText ? Now I got "android:gravity="center_horizontal" " which does the job of centering the text horizontally, but I need it to centered vertically too Mar 21 15:29:17 Bernzel__: yes just add '|' between the different values Mar 21 15:31:47 so simple, and so easy to forget... thanks thepoosh Mar 21 15:35:15 <[twisti]> where do icon packs put the icon files ? im trying to access them from tasker but i cant find them Mar 21 15:43:05 hey hey ... Mar 21 15:43:45 anyone familiar with this type of error : com.fasterxml.jackson.databind.JsonMappingException: No suitable constructor found for type [simple type, class net.we4x4.we4x4.LoginSection$userInformation]: can not instantiate from JSON object (need to add/enable type information?) Mar 21 15:45:37 No suitable construct ? someone suggested that it is because of a missing no-arg construct of an inner class that need to be declared static ? and i really did not understand that, and going over my code http://pastie.org/10768776 i couldnt find something like that ? Mar 21 15:46:02 its firebase Mar 21 15:47:43 Is it possible to apply a drawable/image on top of the "top bar" / "action bar" or whatever it's called. So remove the text that's currently there, keep the color and put a drawable centered on top of the bar Mar 21 16:02:19 Bernzel_ that was not reply on my question right !? Mar 21 16:03:52 well Mar 21 16:05:40 try to make the inner class public tatic Mar 21 16:10:09 you mean the inner class of usrInformation Mar 21 16:16:40 yes Mar 21 16:27:49 Ashiren: for the rescue! Mar 21 16:40:55 hey all.. can anyone tell me how to set the wError switch when compiling w gradle? Mar 21 16:55:47 ugh, my 2013 moto x is dying, it won't hold a charge, maybe I need to reorder the 5x now that they fixed their lag problems, allegedly Mar 21 16:57:34 I've followed this guide in every detail: http://developer.android.com/training/appbar/setting-up.html and still I get "Missing styles. Is the correct theme chosen for this layout" "NOTE: one or more layouts are missing the w/h attributes" although I have defined the layout width / height Mar 21 16:59:06 huh? how does the "activate with project fi" work, if I just buy a nexus phone and activate fi, then switch back to my regular provider, it gives the $150 credit? Mar 21 16:59:10 jeez, that's like easy... Mar 21 17:20:38 slow day Mar 21 17:20:47 agree haha Mar 21 17:20:49 apple event Mar 21 17:22:12 <|PiP|> im trying to import assets into my drawable folder using android studio, but whenever i try to import it and using the built-in resizer, it puts the assets into mipmap. how can i import into drawable and have android studio automatically resize the assets for each resolution aswell? Mar 21 17:48:20 how to you stop the android emulator from autocompleteing Mar 21 17:48:24 in a textbox Mar 21 17:48:45 same way you do it on a device Mar 21 17:49:26 the only poroblem is, I can't get around on the device in the settings, I can only see like the first few things Mar 21 17:50:37 it doesn't reach to my scrollwheel, there's no scrollbars Mar 21 17:50:43 not real sure how to use it Mar 21 17:50:46 you drag Mar 21 17:52:08 hm.. I guess that's my real problem, tghe dragging isn't working Mar 21 17:52:23 it just opejns whatever I've clicked Mar 21 17:52:37 are you holding it down? Mar 21 17:52:52 nope, but it's very slow.. it's possible it doesn't react fast enough Mar 21 17:53:02 then that’s not a drag Mar 21 17:53:06 seems like it freezes for a sec when I click, then it just opens whatever without detecting my drag Mar 21 17:53:07 you have to hold down the mouse button Mar 21 17:53:10 get a device Mar 21 17:53:23 yeah I need to Mar 21 17:53:28 this is jhust really hard lol Mar 21 17:53:59 the emulator is absolute shit, and google should be ashamed to have released it as they did Mar 21 17:54:30 s73v3r have you tried the new ones ? Mar 21 17:54:33 no Mar 21 17:54:56 I guess one thing I can do.., I'll just prefill out everything so I don't have to type anything, that should get me moving again Mar 21 17:55:03 until I can buy a device Mar 21 17:55:08 not sure what to buy also Mar 21 17:55:14 doesn’t matter Mar 21 17:55:24 something of this year or last Mar 21 17:55:31 maybe a nexus Mar 21 17:55:44 but I’d suggest a samsung, if it’s your only device Mar 21 17:56:06 I guess I have the htc evo 4g Mar 21 17:56:16 that’s pretty old. Mar 21 17:56:46 but it has a lot of GBs Mar 21 17:57:17 lol anyone else remember that htc evo 4g / iphone video ... Mar 21 17:57:30 'but i want an iphone' Mar 21 17:57:33 'why' Mar 21 17:57:35 the one with the autogenerated animation? Mar 21 17:57:37 'because' Mar 21 17:57:39 yeah Mar 21 17:57:53 the only thiung is, this complicates things... Mar 21 17:58:06 cause now I can't reach the web service for testing Mar 21 17:58:12 Postman Mar 21 17:58:29 is this something on the side, or something for work? Mar 21 17:58:42 I actually have a project at work and at home Mar 21 17:58:49 I nmeed for both really Mar 21 17:58:59 but right now, for work Mar 21 17:59:11 then tell them to go buy you something today Mar 21 17:59:14 for home, I can pout the webservices outside more easily Mar 21 17:59:20 there is zero excuse for work not providing you with what you need Mar 21 17:59:45 ai, th Mar 21 17:59:51 hmm that's true! Mar 21 18:00:09 of course it’s true. Why would you put up with anything else? Mar 21 18:01:33 but you won’t be able to use that device for your side project Mar 21 18:01:53 well at home I have my wifes s4 mini Mar 21 18:01:59 I can test on that Mar 21 18:02:12 at work I don't think this evo will cut it, it doesn't appear on the list of devices Mar 21 18:02:17 likely, not new enough Mar 21 18:02:20 nope Mar 21 18:02:29 tell them to go out and buy you something recent, today Mar 21 18:02:36 and that you won’t be able to progress until you get it Mar 21 18:02:49 hm ok sounds good Mar 21 18:02:58 if they’re a halfway decent company, they should have no problem at the very least ordering you something today Mar 21 18:09:51 ordered a 5x again Mar 21 18:11:28 :) Mar 21 18:14:16 and I thought there was an N preview update over this weekend Mar 21 18:15:34 Hmm, no idea, on Nexus 9 OTAs are still disabled afaik Mar 21 18:17:31 pfn didn't you already have a 5x ? Mar 21 18:18:17 Mavrik: how are they disabled? Mar 21 18:18:29 * p_l got Android N through OTA, it just took 3 days or so... Mar 21 18:19:17 p_l, https://code.google.com/p/android/issues/detail?id=203007#c64 Mar 21 18:23:44 Hello Mar 21 18:24:40 how come when i compile 4.4.2 from source, the files in /system/lib are way larger, and they don't work as drop-in replacements on a device running 4.4.2? Mar 21 18:25:44 this isn’t really the right channel for that. this is app development Mar 21 18:25:55 you could try #android-root Mar 21 18:27:30 s73v3r: thanks Mar 21 18:42:36 Should I use shared properties to save login username ? Mar 21 18:42:51 you can. or you could use the accounts manager Mar 21 18:43:00 hm, iPhone SE starts at $400 ... was hoping maybe $350 w/32GB Mar 21 18:43:18 I mean Shared Preferences * Mar 21 18:44:53 we got what you meant Mar 21 18:45:24 g00s: yeah, weird that it starts at 16, but then goes up to 64 Mar 21 18:49:05 g00s, did, returned it, getting it again now that lag issues have been allegedly fixed Mar 21 18:50:04 $400 dolar phone, state of art comedy lol Mar 21 18:51:17 $350, but whatever Mar 21 18:52:00 huh really Mar 21 18:52:09 That's pretty good price for an iPhone Mar 21 18:52:12 and $400 for a phone is cheap, how is that comedy Mar 21 18:52:18 iphone is $700? Mar 21 18:52:19 no, the iPhone is $400 Mar 21 18:52:27 oh, is that what's coming out of loop you in? Mar 21 18:52:30 thought we're talking 5x Mar 21 18:52:36 that's why it's funny Mar 21 18:52:45 well, iphone 5c was cheap Mar 21 18:52:45 most flagships are about the same price, be they iPhones or Androids Mar 21 18:53:05 the latest nexus is above the norm then Mar 21 18:53:26 one would be a little hard pressed to call Nexus phones flagships, given that they usually have midrange specs Mar 21 18:53:47 6p isn't midrange, neither was 6, 4 and 5 and gn were midrange though Mar 21 18:54:25 6p costs $500 Mar 21 18:54:37 Didn't bother looking at the specs but it better be flagship lol Mar 21 18:54:39 so the iphone price has fallen dramatically then Mar 21 18:54:41 6 might not have been, but then everyone was bitching about the price Mar 21 18:54:50 6 was flagship specs Mar 21 18:55:05 i meant 6 not being midrange Mar 21 18:55:13 right Mar 21 18:55:58 anyway, this iPhone isn't expensive at all Mar 21 18:56:09 I'm shcked Mar 21 18:56:25 sounds thoroughly midrange then Mar 21 18:56:31 4", lcd, midrange4 specs, etc. Mar 21 18:56:50 it’s got the same features as all the other iPhones: TouchID, Apple Pay, high res camera and screen Mar 21 18:57:04 it has a good CPU Mar 21 18:57:10 wait SE isn't flagship Mar 21 18:57:26 it’s pretty close. A lot closer than the 5c was Mar 21 18:57:47 it’s got a 64bit A9 chip, and the motion coprocessor Mar 21 18:57:59 it’s pretty much a 6s in a smaller case Mar 21 18:58:07 well, it's taking last year's phone and selling it again Mar 21 18:58:11 that makes it midrange this year Mar 21 18:58:11 Oh it starts at $400 not $350 Mar 21 18:58:20 casadogg, yeah, I was mixing up context when I said that Mar 21 18:58:39 hmm Mar 21 18:58:44 this changes stuff Mar 21 18:59:02 it's a new old phone Mar 21 19:07:26 How many published apps do you guys have? I'll publish one but can't decide between iap or ads Mar 21 19:07:37 I mean I'm inclined to IAP because ads just plainly suck Mar 21 19:08:44 "Apple's iPad Pro 9.7: An iPad Air 3 that costs $100 extra" lol yeah, i'm not buying that Mar 21 19:09:04 casadogg ads suck Mar 21 19:10:59 g00s right on! Mar 21 19:14:29 ads suck, but they’re one of the only reliable ways to make money Mar 21 19:17:03 casadogg, make a free and a paid version Mar 21 19:17:17 soon enough you will see the paid one will earn you close to nothing :p Mar 21 19:17:42 people prefer paying with their data and soul. sad but true :( Mar 21 19:18:00 if the app is good I think people will be inclined to purchase stuff Mar 21 19:18:11 if it's bad then it's bad and I'll discontinue it Mar 21 19:18:20 or try to improve it to the point where it doesn't suck Mar 21 19:18:22 some will Mar 21 19:18:37 but the number is small compared to users willing to use an app without paying Mar 21 19:18:49 its not a matter of sucking or not :/ Mar 21 19:18:57 when you mean make one free and one paid you mean one free with ads and one paid without ads? Mar 21 19:19:10 if you want that. yes Mar 21 19:19:18 hmm Mar 21 19:19:19 or only with ads and IAP to remove them Mar 21 19:19:48 sounds good too Mar 21 19:27:09 when using Thread thread, is there a way to wait until the thread is complete before doing the next thing? Mar 21 19:27:20 Thread thread = new Thread(new Runnable(){ etc Mar 21 19:27:37 it seems like the ui responds before the thread is complete, but it's hard to tell Mar 21 19:27:39 you can join on the thread. Is that what you wnat? Mar 21 19:27:45 oh nvm Mar 21 19:27:56 you want to run on the ui thread after that thread is complete Mar 21 19:28:14 if you want to do that, you have to post back to the ui thread with a handler Mar 21 19:28:14 well, I was hopeing I can block until the thread is complete Mar 21 19:28:23 what thread do you want to block? Mar 21 19:28:30 well I'm doing an http post Mar 21 19:28:37 I want everything to just wait until I'm done Mar 21 19:28:57 but it seems to complete things before the thread is complete, I guess I need to use a callback orsomething Mar 21 19:29:33 http://pastebin.com/Wh8LmdRw Mar 21 19:29:41 flickr has a job application pitch in their HTML code Mar 21 19:30:20 seems like this thread completes after I've left the function idk Mar 21 19:30:53 does anyone know whats supposed to happen when you create a fragment, call setTarget() on it, and then rotate the screen - are we supposed to setTarget() on that again if we see it in the fragment manager ? Mar 21 19:31:53 guideX: why are you running in a separate thread like that? Mar 21 19:32:13 herriojr: It gives me an error if I don't Mar 21 19:32:21 Let me get the err Mar 21 19:32:24 one sec Mar 21 19:32:29 guideX: ok, that's because you're on the UI thread then Mar 21 19:32:34 it's like "Cannot do internet from main thread" something like that Mar 21 19:32:44 herriojr: is there another way to avoid that problem? Mar 21 19:32:46 guideX: yeah, so you can't block Mar 21 19:32:54 guideX: yeah, don't block Mar 21 19:33:17 guideX: have you tried looking at something like retrofit for your network communication/ Mar 21 19:33:34 Is it possible to cast to a generic type? Mar 21 19:33:35 I haven't checked that Mar 21 19:33:59 generics give me a headache Mar 21 19:34:27 I'm also not sure why I asked before just trying that... ignore me Mar 21 19:34:28 herriojr: blocking is the exact behavior I want, is there a way to block? perhaps no thread, but it's ok that way? Mar 21 19:34:38 can I perhaps use communications on the main thread? Mar 21 19:35:09 the way it forces network communication off the main thread is pretty annoying lol Mar 21 19:35:30 then it forces me into this pattern of callbacks which I wasn't planning for Mar 21 19:36:12 guideX: you get used to it Mar 21 19:36:34 guideX: but look at retrofit and something like rxjava or you could do an asynctask Mar 21 19:36:36 herriojr: I was also thinking, would it be horrible to go into a loop with a Thread.sleep and wait for completion? Mar 21 19:36:46 guideX, yes Mar 21 19:36:55 guideX: any blocking or sleeping on a ui thread is bad Mar 21 19:36:55 guideX, use proper threading mechanisms rather than sleep Mar 21 19:37:00 but wait()/notify() satisfies that need Mar 21 19:37:07 sleeping on any thread is bad Mar 21 19:37:19 why Mar 21 19:37:28 read jcip Mar 21 19:37:33 it's sending communications, don't want the user to use it during that time anyways Mar 21 19:37:48 blocking IS what I want, so the user doesn't click more buttons Mar 21 19:38:09 well ok, i'll try the other ways though Mar 21 19:38:20 guideX: trust us, you don't Mar 21 19:38:22 blocking is wrong Mar 21 19:38:26 regardless of what you "want" Mar 21 19:40:07 having a tough time finding a good web link on the subject if anyone knows one Mar 21 19:40:52 read jcip Mar 21 19:40:59 . Mar 21 19:41:32 hmm don't have that one Mar 21 19:41:40 I'll check it out if I ever find it though Mar 21 19:41:54 you can also do rx Mar 21 19:42:14 which solves pretty much the same problem Mar 21 19:42:18 why would you block everything Mar 21 19:42:27 cluelessness :P Mar 21 19:42:30 casadogg: why not Mar 21 19:42:40 I don't want the ui responding to the user during a http post Mar 21 19:42:44 that simple Mar 21 19:42:44 depends on what you mean by blocking Mar 21 19:42:47 do you mean setting up a loader? Mar 21 19:43:09 and letting the user wait while he stares at the loader Mar 21 19:43:23 well, when the user clicks "login" I want the whole ui to be frozen in place until I gget a response or a failure Mar 21 19:43:44 otherwise, now I must worryu that they'll click this, and that Mar 21 19:43:50 who knows what'll happen Mar 21 19:44:01 I kind of want no part of these threads Mar 21 19:44:01 wrong way to think Mar 21 19:44:19 hrm ok Mar 21 19:44:20 the way I see it, you have to add something to indicate the user is logging in Mar 21 19:44:23 an indicator Mar 21 19:44:28 else the user will think the application hang up Mar 21 19:44:41 well it'll hang for a second Mar 21 19:45:02 as in hung up for good Mar 21 19:45:19 ok, well i'll keep looking around for what to do, jeez in c# sending an http post is butt easy Mar 21 19:45:32 guideX, the wrong way, sure Mar 21 19:45:38 the same is true in java Mar 21 19:45:47 yeah, buyt you must use threads in java with yuour http post Mar 21 19:45:54 you must in C# as well Mar 21 19:45:58 not like in c# at all, it blocks, the way I'd expect it to Mar 21 19:46:05 hey! anyone know the best time in an app to download json data? Should it be at onCreate method? onResume? Mar 21 19:46:10 see, you're doing it the *WRONG* way in C# Mar 21 19:46:21 lol it just means you are firing the http request in the UI thread Mar 21 19:46:31 well, yeah Mar 21 19:46:39 in java you can do that as well Mar 21 19:46:44 but you shouldn't, really Mar 21 19:46:58 g00s: HA! Mar 21 19:47:18 thepoosh ha .... Mar 21 19:47:22 it creates a bad experience to the user Mar 21 19:47:29 where are you brah? Mar 21 19:48:19 thepoosh have you ever used getTargetFragment() / setTargetFragment() ? Mar 21 19:48:26 nope Mar 21 19:48:31 never heard of it Mar 21 19:48:34 lol Mar 21 19:49:00 but, now I must do things like javascript, ajax communications, then callback .. I don't like things that way, because then, NONE of my code is reusable Mar 21 19:49:09 if I must bind to all these callbacks, now my code is all one use Mar 21 19:50:42 anyways, i'll keep researching.. not happy on this point, wish android would leave the decision making (good or bad) to the developer, and not someone else Mar 21 19:50:58 guideX it leaves to you Mar 21 19:51:06 you don't need a thread to make your request.. Mar 21 19:51:13 but then I get that error... Mar 21 19:51:41 and what do you mean your code is not reusable man Mar 21 19:51:55 well, now the logic for the front end must be in my callback Mar 21 19:51:59 a bad situation for me Mar 21 19:52:08 I wanted to httppost for anything Mar 21 19:52:16 but now, each httppost must be like a custom one Mar 21 19:52:31 kind of like in javascript, when you call ajax Mar 21 19:52:35 jquery etc Mar 21 19:52:52 well going to read about threads more.. http://stackoverflow.com/questions/12416075/implementing-method-callback-in-android Mar 21 19:54:20 well callbacks are needed for this kind of stuff Mar 21 19:54:56 idk, in c# I never have needed them, I guess that's where the confusion comes from Mar 21 19:55:01 guideX, android should most certainly disallow blocking operations on mainthread, don't care about your ability as a developer Mar 21 19:55:04 as bad as it may be Mar 21 19:55:11 you absolutely need them in C# Mar 21 19:55:17 you /think/ you didn't need them Mar 21 19:55:24 I never have in the past Mar 21 19:55:55 you have, you just haven't realized it Mar 21 19:55:56 typically, I need to block internet communications when it's not async, (like an irc client or something) Mar 21 19:56:11 anyway, if you absolutely want to create garbage, you can disallow network on main thread strict mode Mar 21 19:56:31 pfn: ah ok, but for android this is a *really bad practice Mar 21 19:56:33 ? Mar 21 19:56:42 for ANY platform Mar 21 19:56:44 C# included Mar 21 19:57:31 guideX it sucks on any platform when the UI freezes up Mar 21 19:57:42 that's true Mar 21 19:57:57 but then development's like a million times harder with all those threads Mar 21 19:58:09 learn to develop :) Mar 21 19:58:18 pretty much ^^ Mar 21 19:58:29 I just wish it wasn't like "Up to android" that kinda bugs me :) Mar 21 19:58:35 c# at least gives you the choice Mar 21 19:58:47 regaurdless of how much better it is or isn't Mar 21 19:58:48 I told you already, you can disable network on main thread exceptions Mar 21 19:58:54 it *IS* up to the developer Mar 21 19:58:58 yeah but the default..... Mar 21 19:59:02 but yeah I hear ya Mar 21 19:59:04 but it's protecting you from stupidity by default Mar 21 19:59:14 if you want to be stupid, you have to choose to be Mar 21 19:59:23 I will try to learn to use threads more often for android then, even if I don't see the point at all Mar 21 20:00:04 * g00s predicts guideX isn't going to be developing for long Mar 21 20:00:22 I've been a developer for many years, but this is my first android app Mar 21 20:00:25 if you can't see the point of not freezing your UI .. what can we say :) Mar 21 20:00:57 well sometimes that's what you want, you wanna freeze the ui, and only show like when progress is madfe, to say, move the progress bar Mar 21 20:01:04 false Mar 21 20:01:11 you never want to freeze your UI Mar 21 20:01:12 EVER Mar 21 20:01:13 pure comedy Mar 21 20:01:16 on ANY platform Mar 21 20:01:35 that's only something a junior developer can accomplish Mar 21 20:02:09 in windows desktop apps, during short running operations where the program isn't usable anyways during that time, what's the difference? the ui will either be frozen between progress bar updates or not Mar 21 20:02:14 makes NO DIFFERENCE to the user Mar 21 20:02:36 makes all the difference Mar 21 20:02:43 in windows, you get a prompt that the app is not responding Mar 21 20:02:44 all the time Mar 21 20:02:48 with shitty apps like that Mar 21 20:03:05 (thread-blocked app is doing something -> click -> app is not responding, close?) Mar 21 20:03:08 well yeah, but you update the progress bar, which also means the ui doesn't die unless the user is playuing with it during that time Mar 21 20:03:09 *ALL THE TIME* Mar 21 20:03:18 yeah that's true Mar 21 20:03:26 if you think that's acceptable, stop programming, now Mar 21 20:03:44 ok ok ok, i'll go learn the threads thing :P Mar 21 20:04:26 you need like 5 lines of code to run a block async Mar 21 20:04:28 dont be lazy now Mar 21 20:04:48 I've never done it in android Mar 21 20:04:52 must learn :P Mar 21 20:08:27 Yeah I agree, freezing the screen is not good Mar 21 20:08:58 Especially when it comes to Android apps, if I see an app freezing, I'll close it and try it again. If it happens again, I'll think it's a bug and not use it. Mar 21 20:09:01 Hello Mar 21 20:09:37 I am trying to use JDBC to connect to a database. However, I am getting "Communications link failure". When I try the same code in a different project (same URL and credentials), it does work. Mar 21 20:09:44 Any ideas why? Mar 21 20:10:32 markyosullivan: I'm just a little caught off guard, and not a big fan of running lots of threads Mar 21 20:10:59 usually in c#, you can prototype the app without threads, and see where you'll need to add them, but with this, it's by default Mar 21 20:11:05 so? Mar 21 20:11:09 disable stupidity by default Mar 21 20:11:11 you find that wrong? Mar 21 20:11:16 just different is all Mar 21 20:11:32 but i'll get used to it Mar 21 20:11:40 you're making a bad analogy to C# Mar 21 20:11:47 you have been writing crap in C# this whole time Mar 21 20:11:50 read abotu asynctask Mar 21 20:11:51 I just need to think about how to still make my code not one time use, I feel like android is making that decision early on for me Mar 21 20:11:53 start there maybe Mar 21 20:11:55 quit using C# as your reference guide Mar 21 20:11:58 hrm ok Mar 21 20:12:03 i'll try to put c# out of my mind Mar 21 20:12:16 you've beend oing it wrong in C#, and now you want to continue doing it wrong in android Mar 21 20:13:14 Does anyone know the answer to my JDBC question? :3 Mar 21 20:14:08 don't use jdbc in an android app Mar 21 20:14:26 What should I use? Mar 21 20:15:13 connect to the database through a webservice layer Mar 21 20:15:42 or alternatively use sqlite locally if that is a better option Mar 21 20:16:01 SQLite locally would definitely be better. But my university has set daft requirements. Mar 21 20:16:11 (depending on requirements) Mar 21 20:16:21 android-dev994: wouldn't it be better to hit a http service? Mar 21 20:16:32 * guideX doesn't like3 the idea of database access in my app Mar 21 20:16:35 How would you send data using an HTTP service? Mar 21 20:16:48 I know that you can use it to get data. Mar 21 20:17:25 android-dev994: I am a beginner in android, but this is my early code to do that http://pastebin.com/Wh8LmdRw Mar 21 20:17:34 probab ly not good code, but maybe give you some idea Mar 21 20:18:10 of course, you must make the webservice too to talk to the database Mar 21 20:18:32 I already use the web servlet "Jetty" which can display data from my database. Mar 21 20:18:45 But I didn't think that you could change the data in the database using Jetty? Mar 21 20:19:06 oh hrm Mar 21 20:19:34 I don't know about jetty, I'm using a WCF service built in c# to do my reading and writting Mar 21 20:19:48 Hmm. Mar 21 20:20:03 It's odd, I've got JDBC working fine on my own app. It's my friend's app that is having the problem. Mar 21 20:20:15 I don't mind using JDBC on the app. It's just something for university, security isn't important,. Mar 21 20:20:23 oh hrm Mar 21 20:20:54 I can copy the code from his project into my own and it works. But if he tries to run the code on his own project it says "Communications link failure". Mar 21 20:21:25 maybe the sql server isn't available to connect to from his current location Mar 21 20:21:31 We're using the same SQL server. Mar 21 20:21:41 Just different databases. Mar 21 20:21:45 oh hrm Mar 21 20:22:02 that's why I don't like using sql in the app though, (partially), too hard to ensure proper communications Mar 21 20:22:12 but good luck making it work :) Mar 21 20:22:27 As I said, I can copy the exact code from his app into mine and it works and shows the database values. But if I try to run it from his app, it doesn't work. Mar 21 20:22:32 Thank :c Mar 21 20:22:36 *Thanks :c Mar 21 20:23:26 Does anyone else have any ideas? >_< Mar 21 20:24:02 pfn: it seems like I can block if I want to, by adding the "thread.join();" right below the "thread.start()" but I'm not going to do that, i'll learn the proper way Mar 21 20:24:36 pfn: thanks for the suggestion Mar 21 20:30:52 Anyone have any thoughts on using EventBus to pass data from IntentService to activity vs using a ResultReceiver? Mar 21 20:32:00 dianne said don't use RR for this, so that should be enough ;) Mar 21 20:32:32 somewhere in the archives a few years ago Mar 21 20:32:45 Whos that Mar 21 20:32:48 you'll wind up leaking stuff Mar 21 20:32:54 dianne hackborn Mar 21 20:33:07 What do you reccomend using Mar 21 20:33:29 you can use an event bus if you want. plenty go that route Mar 21 20:33:37 RxBus :D Mar 21 20:34:17 I am using EventBus now but I find it messy Mar 21 20:35:37 And I implemented RR and feel like it is cleaner Mar 21 20:35:55 Make a nested class inside the activity that extends RR Mar 21 20:36:22 Get the action, get the resultCode, then modify the ui Mar 21 20:38:17 well i encourage you to look around for the caveats - there are a few, its not going to work out well Mar 21 20:38:33 g00s, like what? Mar 21 20:38:44 probably why nobody uses it for that Mar 21 20:38:57 drose379 like i said, you'll have to search around through ancient history Mar 21 20:39:02 I thought thats what its supposed to be used for Mar 21 20:39:14 Its parcelable for the reason of being able to be passed through Intent I thought Mar 21 20:39:36 like i said, a few gotchas. search. Mar 21 20:40:02 beside, your service will never know if the RR it has is even valid, the activity could have been destroyed Mar 21 20:40:43 That would be an issue wouldnt it Mar 21 20:40:44 A leak Mar 21 20:41:23 i think iosched 2012 used it, but don't know where you would find that Mar 21 20:41:31 2011 or 2012 Mar 21 20:41:57 How do you acheive this g00s Mar 21 20:42:03 drose379 look for the conversation of dianne H and mark murphy talking about it on google groups Mar 21 20:43:04 Ok Mar 21 20:43:09 https://groups.google.com/forum/#!topic/android-developers/eQSa8W_eRug Mar 21 20:43:14 But I dont want to use EventBus either Mar 21 20:43:56 mbarisa yeah thats the one , good google-fu :) Mar 21 20:44:31 Thanks mbarisa Mar 21 20:44:54 np, it was first result of first search: dianne hackborn and mark murphy ResultReceiver Mar 21 20:45:02 So what do you reccomend g00s Mar 21 20:45:21 i don't have any recommendations, there are so many ways to do this Mar 21 20:45:30 How do you do it Mar 21 20:45:58 also a topic i dislike, since it comes up everyday for like last 5 years Mar 21 20:46:05 7 Mar 21 20:46:18 Haha ok Mar 21 20:46:37 What you dislike g00s? Mar 21 20:47:26 just a boring topic :) Mar 21 20:47:31 a dead horse topic Mar 21 20:47:49 like its been asked every day since 2010 Mar 21 20:47:59 I seem to be never around when it's asked Mar 21 20:48:01 :( Mar 21 20:48:07 and there isn't any one way to do it Mar 21 20:48:31 I've just bounced around a few ways and I'm looking for a solid way of doing it Mar 21 20:48:31 "Anyone have any thoughts on using EventBus to pass data from IntentService to activity" Mar 21 20:48:41 That was me markyosullivan Mar 21 20:48:43 What's the IntentService do? Mar 21 20:48:56 Makes a HTTP request Mar 21 20:48:58 there isn’t any one way to do it, but there also doesn’t seem to be any real good way to do it Mar 21 20:49:05 they all have their downfalls Mar 21 20:49:06 Generally curious about your situation (most likely wont be able to help) Mar 21 20:49:18 No prob markyosullivan Mar 21 20:49:29 Hi, I'm in the process of implementing a secondary touch display for android (hdmi display /w usb touch screen), has anyone tried to push secondary touch events to a presentation api dialog? Mar 21 20:49:31 s73v3r, downfalls of using ResultReceiver? Mar 21 20:49:34 drose379 would it not be better using a library for handling HTTP requests? Mar 21 20:49:43 Its not really about that markyosullivan Mar 21 20:49:57 drose379: those are covered in the thing that g00s and friends were talking about Mar 21 20:50:10 The discussion Mar 21 20:50:12 So what are you trying to do and what is the problem drose379? (or have you posted this and I've missed it) Mar 21 20:50:34 I make a request in an IntentService and im looking for the best way to pass data back to an Activity Mar 21 20:51:02 g00s s73v3r, how do you guys stay on IRC? Are you signed in on your mobile? Or just constantly signed on when you're at your PC? Mar 21 20:51:10 I've noticed both your names before Mar 21 20:51:11 i’m on a computer Mar 21 20:51:47 I would use RxBus if you use RxJava anyway, probably you are doing same request in activity in some point, so you can have same handling for it :) Mar 21 20:52:00 drose379: So you make an HTTP request which sends either JSON data or XML data back to you in that IntentService and you're trying to parse it so you can use it in the activity? Mar 21 20:52:27 drose379 i think i mentioned the last Android Summit session with Yigit Boyar on app architecture, did you watch it ? Mar 21 20:52:28 markyosullivan: people can have a vps or something similar, then have a "tmux" or "screen", with irssi or something, and irc will stay there forever :) Mar 21 20:52:36 No I didnt Mar 21 20:52:47 watch that first Mar 21 20:52:47 you should. it’s pretty good Mar 21 20:53:16 'getting result to activity' is the wrong way to think about it. its getting result, putting it somewhere, and letting activity pick it up when it comes around again Mar 21 20:53:30 which could be another process Mar 21 20:53:37 When the activity comes around again? Mar 21 20:53:37 mbarisa: You can use screen with an irc client? :s Mar 21 20:54:01 drose379: It’s possible the activity went away while you were in the middle of fetching Mar 21 20:54:08 Right s73v3r Mar 21 20:54:20 Would you use AsyncTask for that case then s73v3r? Mar 21 20:54:26 you don’t want to have to make the same call again just because the user decided to switch over and check a sports score Mar 21 20:54:28 markyosullivan: are we talking about same "screen" :D that is a linux app :) Mar 21 20:54:40 Is there a protocol or best practice for asking questions here? Mar 21 20:54:41 no, I wouldn’t use AsyncTask for web requests Mar 21 20:54:49 ghentx: don’t be a dick Mar 21 20:54:56 Hah, got it. Mar 21 20:55:09 ghentx: if you’re asking about something crashing, post a stack trace and code Mar 21 20:55:15 mbarisa yep! Though I'm not sure how you're supposed to use screen with an irc client :P I'm using Relay on Elementary OS Mar 21 20:55:26 s73v3r, ok I see what you are saying s73v3r Mar 21 20:56:04 So where can you store it so that the Activity knows that the request has been done Mar 21 20:56:15 ghentx be patient, it's a good place for asking questions but always make sure you've tried searching Google / Stack Overflow first ;) Mar 21 20:56:15 Yeah, it seems I'm trying to do something that while it's probably been done at the rom level, isn't feasible at the app level, which is a single android device driving two independently mapped touch screens (one by way of USB & HDMI) Mar 21 20:56:18 depends on your app Mar 21 20:56:28 if you’re using a database, for instance, that might be a place Mar 21 20:56:33 markyosullivan: that is irc client in terminal, at least I use that, it is called "irssi" and i use it on some machine that is always on, so i just reconnect to it and get last tmux attach.. that is it Mar 21 20:56:40 hey all.. can anyone tell me how to set the wError switch when compiling w gradle? Mar 21 20:56:41 or if you’ve just implemented a data repository, that can be a place too Mar 21 20:57:02 s73v3r, you mean in the local SQLite database? Mar 21 20:57:17 or a ContentProvider, or Realm Mar 21 20:57:40 Personally, I would just use Retrofit and be done with it, but it sounds like youv’e got other requirements Mar 21 20:58:05 How would retrofit solve this Mar 21 20:58:17 it handles all the background stuff for you Mar 21 20:58:26 you simply give it a callback, and it will give you the data Mar 21 20:58:40 I feel like thats what im doing with ResultReceiver Mar 21 20:58:46 not the same Mar 21 20:59:16 Hmm Mar 21 20:59:30 it will be nice when yigit finishes this https://github.com/yigit/android-priority-jobqueue Mar 21 21:00:21 g00s: nice, never heard Mar 21 21:01:17 s73v3r swift 2.2 Mar 21 21:01:27 isn’t that already out? Mar 21 21:02:38 yeah since march 21 :) Mar 21 21:02:56 RustyShackleford, https://news.ycombinator.com/item?id=11331534 Mar 21 21:07:05 mbarisa drose379 whats funny is that thread between mark / dianne is from 2010 ? lol Mar 21 21:07:13 and ... its still not obvious in 2016 :) Mar 21 21:07:17 Right Mar 21 21:07:23 won't be obvious in 2017 either Mar 21 21:07:31 Wonder why Mar 21 21:07:35 won't be obvious until they just rethink the whole thing :) Mar 21 21:07:50 How come? Mar 21 21:07:51 surprised, they couldn't give use something better than fragments in all those years Mar 21 21:07:59 i think it’s the same reason why the design support lib didn’t come out until it did: They thought everyone just knew what to do Mar 21 21:08:06 i know there are 3rd party things like flow / mortar but Mar 21 21:08:24 So why does RR exist Mar 21 21:09:33 it all comes back to this: android asks you, the developer, to save essential pieces of state at specific time because its inefficient for the OS to page everything to disk. that made sense in 2010. now its 2016, and we still have all these lolcycles and crap Mar 21 21:10:22 i doubt anyone coming up with a mobile OS in 2016 would be like, yeah lets do it this way Mar 21 21:10:43 Hmm Mar 21 21:10:51 dunno about you Mar 21 21:10:59 but 2010 feels like yesterday Mar 21 21:11:07 so I kind of understand them Mar 21 21:11:23 g00s, so you dont enjoy developing for Android? Mar 21 21:11:33 it should be called "dramacycle", cause it's not funny Mar 21 21:11:33 jvrodrigues sure it made sense back then Mar 21 21:11:44 I see what you mean though Mar 21 21:11:55 you always have to look at why these things were done, and they were done for a good reason Mar 21 21:11:58 "it will be nice when yigit finishes this https://github.com/yigit/android-priority-jobqueue" Mar 21 21:12:00 its just that ... things haven't evolved Mar 21 21:12:02 starred, thanks for sharing Mar 21 21:12:13 problem here is backwards compatibility Mar 21 21:12:20 you cant change stuff without breaking everything Mar 21 21:12:29 well yeah thats like another meta problem Mar 21 21:12:33 mbarisa: I never have my machine always on :( This is why I think slack is better Mar 21 21:12:43 they could evolve the platform if most people were using N and N-1 Mar 21 21:12:47 evolve faster Mar 21 21:12:55 ultimately Mar 21 21:12:58 the problem lies in the carriers Mar 21 21:13:09 "problem here is backwards compatibility" not a problem when old Android versions aren't used as much Mar 21 21:13:28 the problem is that they are used a lot Mar 21 21:13:38 android 6 is still a small fraction of devices Mar 21 21:14:16 7% of my userbase :( Mar 21 21:14:29 you still have most devices in pre lollipop states Mar 21 21:14:38 s73v3r some apple updates, looks like machine will reboot :D Mar 21 21:14:58 hello Mar 21 21:14:59 google made a middleground between having update control over their OS and having devices using it Mar 21 21:15:18 "the problem is that they are used a lot" stop supporting them Mar 21 21:15:52 markyosullivan: lol? you want me to stop supporting 62% of the whole userbase? Mar 21 21:15:57 not going to happen Mar 21 21:15:58 jvrodrigues: I don’t think you can really call their decision a “middle” ground Mar 21 21:16:03 I've got an almost even spread between 6.0, 5.1, 5.0, and 4.4, skewing towards newer. But that's very much NOT reflected in the overall platform stats, which show 2.13% for apps in communication on 6.0 Mar 21 21:16:21 it was. they could have retained control over updates, but they would have lost manufacturers Mar 21 21:16:29 means users Mar 21 21:16:33 markyosullivan, are you on any android related slack groups? I havent found one yet :( Mar 21 21:16:36 i disagree Mar 21 21:17:01 Hi there, I have a problem with a line of code apparently crashing a thread with no reason: byte[] resBytes = res.getResult(); String resStr = new String(resBytes, StandardCharsets.UTF_8); do you see anything weird in it? Mar 21 21:17:02 danijoo I know of one, it was posted on /r/androiddev recently, never tried it out and not sure if I could find it Mar 21 21:17:29 jvrodrigues, if you stopped supporting it, would your user base not just upgrade? Mar 21 21:17:32 sorry gents, i'm at my wits end. I've compiled a csv file into the app's emulated directory(root folder?) and trying to load it with javascript with webview, but can't find for the life of me find the URL to the emulated storage with HTML Mar 21 21:17:49 markyosullivan, im in `Android United` but kinda sucks there :/ admins create millions of channels for everything and now they are all dead because of that Mar 21 21:17:55 markyosullivan: they would move to the competitor Mar 21 21:18:11 ie extra groups for wear, db-persistance, rxandroid ..... Mar 21 21:18:28 markyosullivan: The problem is we’re on a platform where the users can’t easily upgrade Mar 21 21:18:35 its a lot more realistic to expect phones like the galaxy S4 I have at home to by updated to the newest version Mar 21 21:18:42 yet Im stuck with 4.2 Mar 21 21:18:48 danijoo: how can I join there? :D Mar 21 21:18:53 because my carrier refuses to deploy the update Mar 21 21:19:04 danijoo, that one is the most active one I've seen Mar 21 21:19:09 but they're mostly filled with morons :- Mar 21 21:19:24 danijoo: I don't think that's the one I heard of, I might have a search for it on Reddit in case I starred it or something Mar 21 21:19:34 Mavrik, theres no discussion at all because of too many channels :/ Mar 21 21:19:47 Yeah, this channel is way more active Mar 21 21:19:54 s73v3r, jvrodrigues: We're in a world where a good android phone can cost $25 Mar 21 21:20:01 no, we’re not Mar 21 21:20:08 that $25 phone is not a good phone Mar 21 21:20:09 we are in different worlds then Mar 21 21:20:36 Okay, not good but it must be better than the phones which are running Android sdk 6 Mar 21 21:21:04 you mean api level 6? Mar 21 21:21:20 they’re not running API 6. Mar 21 21:21:20 what do you guys deploy for: 4.0+? Mar 21 21:21:27 4.1 Mar 21 21:21:35 we’re talking about people who are still stuck on deploying for API 14 Mar 21 21:21:36 4.1 here aswell Mar 21 21:21:36 4.0 still supported just not advertised :) Mar 21 21:21:50 yeah Mar 21 21:22:02 4.0 def not supported Mar 21 21:22:23 depends from project to project Mar 21 21:22:29 but 4.0 or 4.1 Mar 21 21:22:31 we’re on 4.4+, even though all of our bluetooth stuff requires 5.0+ Mar 21 21:22:37 but the problem is that unlike an OS like mac or windows Mar 21 21:22:45 where the users mostly migrate to new versions Mar 21 21:22:51 what. Mar 21 21:22:52 jvrodrigues: I thought you meant level 6, I was wondering what was going on :D Mar 21 21:22:54 in android youc annot expect a user to migrate to the newest versions Mar 21 21:23:00 jvrodrigues, what are you talking about :D Mar 21 21:23:07 There's people still using Windows 7 and even XP Mar 21 21:23:12 which are all older than most of Android :D Mar 21 21:23:17 true Mar 21 21:23:20 but I don’t think they’re the majority Mar 21 21:23:24 same Mar 21 21:23:28 s73v3r, yes, yes they are. Mar 21 21:23:30 specially with the windows 10 free upgrace Mar 21 21:23:39 Desktop software essentially supports version as old as Android 2.0 :P Mar 21 21:23:45 i don’t think so. let’s look it up Mar 21 21:24:19 well Mar 21 21:24:27 windows 7 has most of the market share Mar 21 21:24:28 it sems Mar 21 21:24:51 Yep Mar 21 21:24:53 Released 2009. Mar 21 21:24:57 Android 2.2 released 2010 :) Mar 21 21:24:58 true true Mar 21 21:25:01 jvrodrigues: So it's 4.1 you were talking about? I misread what you posted, apologies Mar 21 21:25:08 THe other side of the coin though. Mar 21 21:25:08 yea Mar 21 21:25:14 I just did a memory dump of my app with as 1.5. Is it normal that its taking more than 5 min to "Compute denominators" ? :/ Mar 21 21:25:16 Windows 7 is way less broken than Android 4.4 even :P Mar 21 21:25:22 Scratch my good $25 phone comment Mar 21 21:25:32 jvrodrigues: did you look at the netmarketshare link? Mar 21 21:25:37 I was thinking of phones running Eclaire ffs :D Mar 21 21:25:44 And supporting it isn't a ridiculous crapfest of bugs Mar 21 21:26:27 yeah, even if they’re running Windows 7, there is a general feeling that you can count on them to install patches Mar 21 21:26:34 yes Mar 21 21:26:54 danijoo: https://androidchat.co/ Mar 21 21:26:56 Also you have most APIs available you'd expect Mar 21 21:27:21 markyosullivan, gonna check it out. thanks! Mar 21 21:27:32 While Android N finally got API to query for number of available HW video decoders :P Mar 21 21:27:39 I haven't checked it out, so I'm going to do the same! Mar 21 21:27:55 "AndroidChat celebrates its 2000th member", well seems popular for sure Mar 21 21:28:03 yey my machine restarted :) Mar 21 21:28:24 markyosullivan what is AndroidChat ? Mar 21 21:28:38 s73v3r: yea Mar 21 21:28:56 but I stand by my statement Mar 21 21:28:57 g00s: "AndroidChat is an open community with a Slack team open to everyone. A place where every developer, idealist, entrepreneur or geek is welcome to share their ideas, questions and successes. " Mar 21 21:29:04 its easier for a desktop user to update its os Mar 21 21:29:07 than it is for an android user Mar 21 21:29:12 true Mar 21 21:29:24 danijoo was asking about a slack channel for Android dev because I said that I prefer slack channels instead of IRC Mar 21 21:29:40 just cause I like seeing what I missed out on in case it was something I'd find interesting Mar 21 21:29:55 I noticed it was posted on /r/androiddev a couple months ago Mar 21 21:30:02 Just never tried it out myself Mar 21 21:36:29 Now I wish I could use multiple Slack channels at once Mar 21 21:38:55 is there anyway to force a devices sound through usb to my computer? Mar 21 21:40:36 markyosullivan, you can . Mar 21 21:45:07 markyosullivan: which slack server is it? Mar 21 21:55:37 danijoo: Sorry I meant multiple slack teams :D Mar 21 21:55:57 jvrodrigues: https://androidchat.slack.com Mar 21 21:56:35 markyosullivan, slack desktop app allows you to add multiple.. Mar 21 21:57:45 danijoo: I think I might have to get that :D Mar 21 21:57:46 where do I ask for entrance? Mar 21 21:57:57 jvrodrigues: https://androidchat.co/ Mar 21 21:58:49 nice Mar 21 21:58:55 going to add myself to that group Mar 21 21:59:01 an extra place to shitpost is always nice Mar 21 21:59:13 for an android dev that has literaly no life Mar 21 21:59:21 I don't think you shitpost :D Mar 21 22:01:01 you havent seen my final form yet Mar 21 22:01:18 so I got this one customer Mar 21 22:01:19 who Mar 21 22:01:26 enjoyed my work so much Mar 21 22:01:37 he didnt only said thanks but he also sent my a basket of goodies Mar 21 22:01:44 laser engraved Mar 21 22:02:32 what would he have sent if he disliked your work? :x Mar 21 22:02:44 you dont want to know Mar 21 22:04:41 true Mar 21 22:04:56 but this was the hardest customer I had to dat Mar 21 22:05:13 so its only fitting Mar 21 22:05:47 alright Mar 21 22:05:55 I guess after 14 hours of work Mar 21 22:05:57 my day is finished Mar 21 22:05:59 :D Mar 21 22:17:22 I wonder if there's a free(oss) alternative to ES file manager that's any good Mar 21 22:17:30 ES file manager was good up until they started doing nasty shit Mar 21 22:18:49 What nasty shit they doing? Mar 21 22:19:09 bullshit malware reports, upsell in app to garbage, etc. Mar 21 22:20:00 Sounds like a pain in the ass Mar 21 22:20:30 I don't think I have a file manager app atm Mar 21 22:20:42 I like ES because of the cifs and sftp support Mar 21 22:21:02 this is silly Mar 21 22:21:17 this app has packages like activity, fragment, fragment.card, etc Mar 21 22:21:19 pfn, I prefer Fx for that, also has less retarded UI :/ Mar 21 22:35:00 'support fragments do not retail loaders on rotation" Mar 21 22:35:13 apparently fixed, and then busted again in 23.2 Mar 21 22:38:21 hm, now that recyclerview has wrap_content, i wonder if its just easier to put a few in a vertical linear layout than have one RV with sections, multiple view types, etc Mar 21 22:38:36 i mean, if its way worse in efficiency that would be bad Mar 21 22:47:08 g00s, interesting, didn't know they implemented wrap_content for the rv Mar 21 22:47:22 I wonder if it behaves as I think it does, or it does something else Mar 21 23:05:59 looking for a guide on how to read a contact's physical address Mar 21 23:06:16 ? Mar 21 23:06:26 loaders suck Mar 21 23:06:30 anyone that uses them is a sucker :P Mar 21 23:06:51 doesn't excuse them being broken Mar 21 23:06:59 but they still suck, and they're for suckers ;-) Mar 21 23:15:49 do recyclerview item view types have to be contiguous? Mar 21 23:16:44 no Mar 21 23:17:01 unlike the listview, recyclerview view types can be whatever the hell you want Mar 21 23:17:34 i have one now where my view type is a hash Mar 21 23:19:18 useful, thanks Mar 21 23:33:32 I don't think there's anything that this app isn't leaking Mar 21 23:34:31 but at least it crashes fast when the AsyncTask.THREAD_POOL_EXECUTOR runs out of space for new tasks after a few rotations Mar 21 23:35:21 AsyncTask Mar 21 23:35:25 * jug6ernaut cringes Mar 21 23:35:34 jug6ernaut, yeah... Mar 21 23:35:50 I just picked this app up from github to try to fix the issues it has Mar 21 23:35:56 but I feel like rewriting the whole thing Mar 21 23:36:12 how big is it Mar 21 23:36:21 around 65kloc Mar 21 23:36:35 not too bad, I bet I could do it in 20 Mar 21 23:38:25 fun Mar 21 23:39:31 I don't really want to take over it from the original developer though, I should probably email him and see how he'd feel about me fixing his app Mar 21 23:39:47 it looks and runs very well, but it has a lot of crashing and leaking issues -.- Mar 21 23:40:10 not that the leaking issues are very noticeable by users Mar 21 23:40:23 the crashes is what made me look into it Mar 21 23:40:37 que es de app Mar 21 23:41:09 just issue a pull request Mar 21 23:41:19 well, probably more than one Mar 21 23:41:25 s73v3r, I don't do github Mar 21 23:41:35 time to start Mar 21 23:41:37 nope Mar 21 23:41:38 never Mar 21 23:41:43 then quit bitching Mar 21 23:41:57 I'll just email him the patches Mar 21 23:42:11 and he’ll probably tell you to do a pull request Mar 21 23:42:15 in c# I could do something like "var myojb = js.Deserialize(data);" to deserialize json.. is there something that easy in android? Mar 21 23:42:30 and I'll just continue using my personal build while his users suffer, I don't care about his users :p Mar 21 23:42:42 so basically, you’re going to be an ass Mar 21 23:42:51 guideX: there is the org.json api, but it’s crap Mar 21 23:43:17 s73v3r: hrm I don't mind if it's crap, the built in .net one is crap too, I kinda expect it :) Mar 21 23:43:25 probably something like newtonsoft json to replace it to Mar 21 23:43:36 but just going to try the built in one :) Mar 21 23:43:58 s73v3r, if he chooses to ignore my help, that's not my problem, but I won't use github for his benefit, or anyone elses Mar 21 23:44:14 why not use github, it's so easy and helpful Mar 21 23:44:22 esp for personal/non work related projects Mar 21 23:44:24 it's a social network crap Mar 21 23:44:26 Zharf, that’s an incredibly stupid and selfish way to look at it Mar 21 23:44:34 no, it’s a collaboration hub Mar 21 23:44:39 it's social Mar 21 23:44:46 no, it’s collaboration Mar 21 23:44:50 and who cares if it’s “social" Mar 21 23:44:56 Zharf: I felt like you once.. I was extremely caught off gaurd when I found how amazing it is to keep my code in github Mar 21 23:44:58 it has profiles Mar 21 23:45:04 I don't do profiles Mar 21 23:45:11 so don’t fill it out Mar 21 23:45:16 you’re honestly being pretty childish Mar 21 23:45:17 honestly, I don't use any of the social parts of github, so it's pretty much my own little world in there Mar 21 23:45:50 it's barely social, it's nothing like facebook, it's not like I can lik eyour code :D Mar 21 23:46:00 yes you can Mar 21 23:46:02 star Mar 21 23:46:03 :/ Mar 21 23:46:06 oh Mar 21 23:46:16 basically, they’re really too lazy to do stuff, so they want an excuse Mar 21 23:46:18 well, it's not like you can "react" to someones code Mar 21 23:46:24 well? Mar 21 23:46:30 guideX: could file an issue or something Mar 21 23:46:30 lol Mar 21 23:46:34 hehe Mar 21 23:47:34 I have other reasons to hate github which I have overcame in the past, for one, git is prevelant in the command line, I loath the commandline, github exposes your code to anyone, github isn't svn... Mar 21 23:47:49 gotten over all of it though, like it now Mar 21 23:47:53 you can make your code private... Mar 21 23:48:00 well if you pay Mar 21 23:48:09 guideX: exposing your code to anyone is a pretty stupid complaint, because that’s it’s reason to exist Mar 21 23:48:17 you can always spin up your own git server Mar 21 23:48:22 and I have Mar 21 23:48:32 s73v3r: in the past, I used to think I could sell my software as shareware (which was true up until a point) Mar 21 23:48:48 so things like github were a no no.. but as time went on, people bought less and less shareware Mar 21 23:48:49 guideX: which has nothing to do with what we’re talking about now Mar 21 23:48:52 making my reasoning a mute point Mar 21 23:48:55 nope Mar 21 23:54:09 so org.json doesn't deserialize in the magical way I would think eh Mar 21 23:54:21 looks like you kind of have to use loops, which is ok Mar 21 23:54:31 but how do you use the loops with a json array Mar 21 23:55:31 i'm doing this kind of thing http://pastebin.com/SXjS8j8p Mar 21 23:56:56 do you really comment each line like that? Mar 21 23:57:26 I do, because I'm noobish, and I'm trying to gain a better understanding Mar 21 23:57:30 (in android) Mar 21 23:58:23 usually, I use the xml comments, but don't have that in android studio :) Mar 21 23:59:21 to iterator JSONArray you'd just use for(int i = 0; i < array.length(); ++i) { ... } Mar 21 23:59:29 but frankly I'd just use gson :) Mar 21 23:59:36 ah ok cool Mar 21 23:59:45 well i'll check them both out thanks Mar 21 23:59:53 guideX: in AndroidStudio, you have Javadoc Mar 22 00:00:03 ah ok Mar 22 00:00:27 i'll learn about it Mar 22 00:03:53 ah so like in this one .. http://stackoverflow.com/questions/7634518/getting-jsonobject-from-jsonarray Mar 22 00:04:00 cool Mar 22 00:07:57 yep Mar 22 00:09:58 meh, I always forget if I can initialize variables prior to calling super Mar 22 00:19:24 Hey! Crashlytics NDK crash reporting adds lib/*unsupported-architectures" to my .apk, I was wondering if there was a way to remove those directories from a built apk (using a gradle command, or a post-build hook) Mar 22 00:20:00 Just having those directories present causes an "unsatisfiable link error" Mar 22 00:22:51 explodes, ndk.abiFilters Mar 22 00:23:13 Eh, I use " Mar 22 00:23:15 Hi all Mar 22 00:23:48 Whoops, sorry- I use "ndk-build" to build my libs directly because of a lot of messy external deps; ergo, I'm not using the ndk closure Mar 22 00:24:03 Is there any reason ony one ViewPage is being populated? I have multiple ViewPage's in my view but only the first one added is showing pages. Mar 22 00:26:23 anybody hiring hard working junior developers in the lower 48 states? Mar 22 00:26:40 southern california Mar 22 00:27:13 s73v3r you're in socal ? Mar 22 00:27:59 RustyShackleford shops don't want hard working junior devs, they want hard working senior devs :D Mar 22 00:28:01 so much competition in socal Mar 22 00:28:11 junior devs just make mess for senior devs to clean up :P Mar 22 00:28:18 yeah I see plenty of ads for senior devs Mar 22 00:28:40 when do I graduate from junior to senior? Mar 22 00:28:48 its not time, its wisdom Mar 22 00:29:02 great. I happen to be smart as fuck Mar 22 00:29:27 RustyShackleford: http://thecodelesscode.com/case/100 Mar 22 00:29:32 Read this, and be enlightened Mar 22 00:32:38 thats insightful Mar 22 00:32:56 i'm enlightened. Am I a senior dev now? Mar 22 00:33:32 sigh Mar 22 00:35:09 RustyShackleford, don't expect to be senior under 5 years Mar 22 00:36:20 I wish guava had more functional bits in it Mar 22 00:36:31 I want zipWithIndex.filter blahblahblah Mar 22 00:47:08 RustyShackleford you can go to bootcamp and become senior in a few weeks :D Mar 22 00:48:44 Hey guys, something weird is happening with my ViewPage's, I'm adding many of those dinamically to my fragment. But it just showing the first one added. Mar 22 00:49:25 add them better Mar 22 00:49:35 Others appears as empty, but they are not Mar 22 00:51:01 oh shit, andy grove died Mar 22 00:51:43 It start happening when I started using fragments on it, when I as using a regular PageAdapter it works good, now when I'm using FragmentStatePagerAdapter it start falling Mar 22 00:56:31 do DialogFragments with setRetainInstance(true) work these days ? Mar 22 00:56:50 g00s: not sure what you mean Mar 22 00:57:03 one of those code boot camps? or am I missing a joke? Mar 22 00:57:12 RustyShackleford lol yes joke Mar 22 00:57:34 woosh Mar 22 00:57:39 right over my head Mar 22 00:57:54 oh christ, from fucking 2011 https://code.google.com/p/android/issues/detail?id=17423 Mar 22 00:58:53 And I'm getthis this warning: W/FragmentManager: moveToState: Fragment state for PaginaFragment{149aeb09 #6 id=0x7f0e00a5} not updated inline; expected state 3 found 2 Mar 22 00:59:35 JoseBravo yeah, that is benign Mar 22 00:59:53 they just wanted to scare the shit out of us :) Mar 22 01:02:23 <|PiP|> when using a RecyclerView, which lifecycle method is best to attach an onClickListener to a view element? Mar 22 01:05:18 activity = oncreate, fragment = onViewCreated Mar 22 01:06:24 |PiP|, with a Recyclerview you're generating views in the Adapter, yes? So your onClick would be via the adapter, yes? Mar 22 01:23:22 anyone else having issues with pidcat on android 6? Mar 22 01:27:52 reinstalling from homebrew with --HEAD fixed it Mar 22 01:27:55 got a (kinda really) dumb question... Mar 22 01:28:39 with the web, you can call a webservice, and session variables will be used/remembered... with android, when you call the webservice, is it like, a new session everytime? Mar 22 01:28:44 know that's kind of vague :) Mar 22 01:29:02 seems like my web's session is wiped every time I touch services (only from android) Mar 22 01:29:18 maybe has nothing to do with android, just wondering what you think Mar 22 01:30:36 for instance, when I call login from my website, I get a session, and I cannot login again.. if I try to login again, I get an error from the service... if I do it with android, I can call login over and over, as if the session is lost immediately Mar 22 01:43:13 I've never seen an android app leak so much ;_; Mar 22 01:43:42 it starts with about 24MB memory usage and after about 10 rotations it's at 200MB Mar 22 01:43:58 I should sleep, it's almost 4 in the morning Mar 22 01:43:59 Zharf sounds like normal android app :P Mar 22 01:44:07 Zharf using leak canary ? Mar 22 01:44:07 g00s, nothing like I ever wrote Mar 22 01:44:35 g00s, not yet, I just did a short dive into this to see if it's something I can quickly fix Mar 22 01:44:46 Zharf yes, get some sleep - it will still be leaking when you get up tomorrow :D Mar 22 01:44:48 but I guess I need to make a more thorough analysis during the weekend Mar 22 01:45:06 but at least I made it possible to rotate 10+ times Mar 22 01:45:14 before it was crashing after 2-3 times Mar 22 01:45:51 (it never unregistered the fragments from localbroadcastmanager Mar 22 01:47:22 I just don't know how I'm going to handle all these asynctasks being started all the time, it crashes because it starts so many of them that the executor can't take any more in the queue Mar 22 01:47:30 oh well, sleep time Mar 22 01:50:03 sounds like a case of AsycTask Mar 22 01:50:24 acute, i may add :) Mar 22 02:00:58 change the parameters of your executor Mar 22 02:02:39 I wonder how pidcat will work on n+ Mar 22 02:04:00 Exists a method from an element View that I can override that execute code when the view is created? like onCreateView of a fragment ? Mar 22 02:14:50 well I have the scaffolding for this project down pat I think Mar 22 02:15:12 I'm not sure what to tackle next. I have too many features I want to add, which goes first? Mar 22 02:17:01 start with the features that are essential, basic planning Mar 22 02:17:29 start with the hardest essential feature Mar 22 02:17:43 hardest = most unknowns, including design + architecture Mar 22 02:18:10 well there are two forms of public transit here, buses and trains Mar 22 02:18:21 i've implemented the essential features for trains Mar 22 02:19:00 i.e. show when they are arriving. I would also like to plot their location on a map Mar 22 02:19:28 or I can work on the essential features for the bus routes Mar 22 02:20:42 i'd probably do something with the bus routes next Mar 22 02:21:00 if you haven't used that api yet Mar 22 02:21:57 so , i saw a brand new book on OO - haven't seen one of those in a long time Mar 22 02:21:59 its very similar. I'm thinking that if I spend time polishing the train parts of the app, I'd get the bus parts done easy Mar 22 02:22:20 but looking through the ToC, noticed a whole chapter on SWT - seems silly Mar 22 02:22:21 theoretically I have all the tricky parts figured out Mar 22 02:22:42 work on the tricky parts ;) Mar 22 02:23:07 those are the fun parts anyway Mar 22 02:26:59 RustyShackleford what are your favorite programming books ? Mar 22 02:35:29 g00s: Java for Dummies Mar 22 02:35:34 any thoughts on how BLE Reader might hang for a couple seconds.. not crash.. just hang? I am newbe android developer.. but I have BLE that hangs after about 6 reads.. then picks up where it left off... Mar 22 02:36:06 The C Programming Language I guess. I made a it decent way through that one Mar 22 02:36:26 most programming books are so dense and 1000 pages long Mar 22 02:37:06 RustyShackleford yeah when i look to learn a new language, i always try to find the 'K&R' for it ... Mar 22 02:38:50 learn you a haskell is pretty good Mar 22 02:38:55 comparable to k&r Mar 22 02:39:08 I don't think i've ever finished a programming book cover to cover Mar 22 02:49:01 eh, lyahfgg is ok Mar 22 02:49:14 it's kinda good, mostly just OK Mar 22 02:51:32 haskell makes my head spin Mar 22 02:51:49 i spent like 3 montsh playing around with it. if I revisited I would have to start all over Mar 22 02:57:30 RustyShackleford: It's not you, it's Haskell Mar 22 02:59:36 I just hate having to learn a new library, and haskell's library conventions are just so odd compared to what I'm use to **** ENDING LOGGING AT Tue Mar 22 02:59:58 2016