**** BEGIN LOGGING AT Sat Feb 13 02:59:58 2016 Feb 13 03:12:34 if I have an AppBarLayout, with Toolbar + TabLayout, can I make both scroll out of the way? examples I see only put app:layout_scrollFlags="scroll|enterAlways|snap" on the Toolbar Feb 13 03:18:18 well, windows got updated to windows relatively painlessly Feb 13 03:19:40 g00s, always abandon Android UI framework as soon as possible in favor of lower-level implementations Feb 13 03:19:58 knapper_tech O.o Feb 13 03:20:22 i dont want to re-invent coordinator layout and nested scrolling ;) Feb 13 03:20:24 I was thinking of using Spoon, but it has no Gradle plugin...and...what does it do that is useful? Feb 13 03:20:47 wth is spoon Feb 13 03:21:07 some jar that runs instrumentation tests and produces output as static html Feb 13 03:29:05 g00s: yes, as long as the tablayout is still a child of appbarlayout. I did it in the first design of an app I was making, dont remember it being very complicated Feb 13 03:29:56 orbyt_ ok thanks Feb 13 03:31:01 yup make the appbar (which contains toolbar+tablayout) collapse with app:layout_scrollFlags="scroll|enterAlways" Feb 13 03:31:21 don't forget to use app:layout_behavior="@string/appbar_scrolling_view_behavior" on the scrolling view Feb 13 03:31:32 and wrap everything with a CoordinatorLayout Feb 13 03:31:57 adq oh, so you put scrollFlags on the AppBar, not the children then ? Feb 13 03:32:34 * g00s tries Feb 13 03:32:52 oh indeed, you have to put them in the children Feb 13 03:33:12 hm, so children + appbar ? Feb 13 03:33:17 so all 3 views .. Feb 13 03:33:24 i'm checking without appbar right now Feb 13 03:33:41 no need for the appbarlayout itself Feb 13 03:33:56 only its children then Feb 13 03:34:10 ok thanks adq Feb 13 03:35:19 my understanding is that Android will ask an app to serialise if it needs to reclaim memory… if so, how can I force this scenario to test how my app behaves? Feb 13 03:47:57 Anyone familiar with Rx mind checking this out: http://stackoverflow.com/questions/35353242/executing-a-network-request-every-x-seconds-how-to-pause-resume Feb 13 03:48:27 Basically im polling an api every x seconds, but needed a way to pause the polling when the fragment went out of view Feb 13 03:48:41 my current solution has me duplicating code Feb 13 04:08:36 erisco: start a web browser with several large background tabs? Feb 13 04:08:50 Those usually just eat your memory away. Feb 13 04:35:45 Anyone here use JRebel? Is it worth using? Feb 13 04:36:18 I'm using a slow laptop for dev now (used to use a desktop) so Gradle builds are painfully slow and Instant Run is super buggy Feb 13 04:42:07 Tried it for Android when it was in beta and have tried it with other Java projects. I dont know what improvements they've made to the Android version but its useful for doing UI stuff Feb 13 04:43:17 jrebel seems like it works ok for small projects Feb 13 04:43:30 $50 is cheap Feb 13 04:44:44 there's also protify, but I've never optimized for spinning disk Feb 13 05:05:51 I hate the boilerplate of using composition in Java. I'm sitting on a case right now where inheritance would save dozens of lines (but it'd be less easy to test). Feb 13 05:07:51 Inheritance is so often the path of least resistance, though. It's like an alcoholic deciding on "just one more beer". Feb 13 05:09:00 I haven't used Kotlin much; I wonder whether their first-class delegation helps a lot on Android. Feb 13 05:14:14 then use it more and decide Feb 13 05:50:45 And that's all from Buzz McKillington. Now back to the studio. Feb 13 06:30:28 I don't use native delegation much, I actually realize I like it less than I thought I would. I initially wrote a proposal very similar to Kotlin's in 1998 so I was very excited about it. Looking at my Kotlin code right now, I've used it 3-4 times top. Feb 13 06:30:40 Not sure if it's because it's less useful or just that I don't think of using it as often as I should Feb 13 06:31:07 (FTR, my proposal from almost 20 years ago: http://www.beust.com/java-delegation.html) Feb 13 06:39:56 CedricBeust: WHat is native delegation? Feb 13 06:40:25 You can say you implement an interface and automatically delegate it to a field inside your class with the right type Feb 13 06:41:29 CedricBeust: Hmm, do you mean if you have a Java interface that declares getX and setX methods, and the Kotlin delegate allows you to have a field called "x" and thus implement the interface? Feb 13 06:41:56 loke``: https://kotlinlang.org/docs/reference/delegation.html Feb 13 06:43:05 CedricBeust: Oh I see. Feb 13 06:43:17 CedricBeust: I can see how that's useful. Feb 13 06:43:46 (it's also funny how so many of these features aren't even needed in a "better" object system like CLOS :-) ) Feb 13 06:43:57 It heavily hinges on the mantra "inheritance is useful, delegation is the only proper way". As it turns out, inheritance is not remotely as bad as a lot of people claim. Feb 13 06:44:10 Well CLOS has an MOP so it's kind of cheating Feb 13 06:44:24 it's also extremely overkill and hardly ever used in practice (both CLOS and its MOP :) ) Feb 13 06:44:40 s/useful/awful Feb 13 06:45:23 CLOS: "Here is a language and you can completely rewrite its semantis". "Thanks but we'll take the language. Thanks, though" Feb 13 06:45:34 CedricBeust: I wouldn't say "hardly ever used". You might not make many metaclasses, but the ones you do make are generally framework style ones, making them quite central. Feb 13 06:46:30 Can't comment, haven't touched CLOS in a solid 20 years Feb 13 06:46:41 I give you this, as a counterexample. A CLOS/MOP-based implementation of Object-to-Couchdb mapping, with transparent caching using memcached: Feb 13 06:46:43 https://github.com/cicakhq/potato/blob/master/src/potato/metaclasses.lisp Feb 13 06:47:32 Actually, this is better demo. It's an object using the features of this metaclass: https://github.com/cicakhq/potato/blob/master/src/potato/channel.lisp#L8 Feb 13 06:48:07 (also includes change-tracking) Feb 13 06:48:23 Now... I've been doing quite a bit of Kotlin recently, and I have been thinking about ow the same thing would be done there. Feb 13 06:49:11 It seems like some of it can be done using the delegate stuff, but as far as I can tell there is no way I can create a method that is called when a field is modified (and has the ability to override it) Feb 13 06:49:13 Am I wrong? Feb 13 06:49:47 How about setters of properties? Feb 13 06:50:51 val age: Int set(newValue: Int) { ... } Feb 13 06:51:02 CedricBeust: Yes of course. But wouldn't I have to declare the delegate of every property manually? CLOS has SLOT-VALUE-USING-CLASS which is a generic function that is called for _every_ slot modification. Thus, to get change tracking working, all I have to do is implement function method once. Feb 13 06:51:30 I'm not sure what you're trying to do since it's already supported in Kotlin Feb 13 06:51:53 Is it? Feb 13 06:52:02 Oh intercept all sets on properties of a given class? Yeah, don't see how you could do that right now Feb 13 06:52:21 Such a mechanism would impact the performance significantly, even for programs that don't use it. Feb 13 06:52:53 But at least the amount of boiletplate needed can be minimised to a single "by XXX", right? Feb 13 06:53:03 I'm still a huge fan of one of the rules that guided C++'s design: You should never pay for features you don't use. Kotlin scores pretty high on that scale Feb 13 06:53:04 XXX can implement all the necessary logic? Feb 13 06:53:37 CedricBeust: "high" as in "no paying"? Or "high" as in "you're paying a lot". Feb 13 06:53:50 I mean that as a positive Feb 13 06:53:59 Kotlin doesn't charge you (much) for features you don't use Feb 13 06:54:46 CedricBeust: For Android that's good, actually. And Android is the only yhing I'm using Kotlin for. I'd much rather use, say, ABCL for Android, but it scroes so much on the opposite end of that scale that it isn't practivcally possible. Feb 13 06:54:59 ABCL? Feb 13 06:55:48 Common Lisp on the JVM. It's very good actually. Anyway, Scala and Clojure suffer from the same problem when it comes to Android. Feb 13 06:57:19 scala doesn't suffer on android Feb 13 06:59:24 pfn: It doesn't? I was taking to a Scala developer who said it does. I don't know Scala so I wouldn't know myself. Feb 13 06:59:41 it doesn't Feb 13 07:00:19 there's no downside to using scala on android except for lack of official support Feb 13 07:00:25 pfn: Would you recommend using Scala for Android development, or are there other issues outisde of the langage or ART itself? Feb 13 07:01:05 I fully recommend scala for android, if that interests you, I find kotlin to be pretty limited Feb 13 07:01:33 pfn: Kotlin _is_ pretty limited, but as a "better Java" it does what it says on the tin. Feb 13 07:01:45 That said, I disagree with a some of their design decisions Feb 13 07:02:21 yes, I agree that it's a good java++, and that's what the masses want. Feb 13 07:02:30 I'm a dynamic typing kind of guy though. Scala seems to be incredibly static :-) Feb 13 07:03:29 That said, dynamic languages on the JVM tends to have performace problems unless the compiler has really good type inference, and even then it's easy to screw it up, causing an innocent change to cause a performance drop. Feb 13 07:03:46 (a static language simply refuses to compile if the type inference fails) Feb 13 07:04:13 Kotlins' limitations are a feature. If you don't need this feature. use another language. Feb 13 07:05:21 loke``, scala has a pretty amazing type system, and I utterly despise working in dynamically typed systems Feb 13 07:05:41 pfn: Sure. I never said you were wrong or that I was right. :-) Feb 13 07:06:05 loke``, but yes, it is absolutely static Feb 13 07:06:19 Both systems has their benefits and drawbacks. Which ones are important to your project depends on a huge number of factors. Feb 13 07:06:57 pfn: I'm hygely facinatied by static languages though. I started learning Haskell but despised the experience. Not because of the staticness, but because of other aspects of the language. Feb 13 07:07:04 Perhaps I should look at Scala. Feb 13 07:07:26 lots of people try to emulate haskell on scala Feb 13 07:07:36 loke`` Ceylon is apparently going to be supported on Android, within the next release if i recall Feb 13 07:07:41 that's basically the entire premise of scalaz Feb 13 07:08:20 pfn: Scalaz and its community seems to be quite painful. Feb 13 07:08:39 I'm actually trying to come up with a pure api for activities and fragments. Feb 13 07:09:01 thats mostly dibblego, he's always been painful. Feb 13 07:09:09 Thanks for the info. Need to go for lunch now. Feb 13 07:09:32 loke`` maybe you'll me using dart soon :P Feb 13 07:10:40 For a more reasonable approach, look at the cats library Feb 13 07:10:49 But plenty of very solid concepts come from scalaz/cats, no doubt Feb 13 07:10:53 if coming from lisp, dart is not attractive Feb 13 07:11:04 crap, the basic CoordinatorLayout / AppBarLayout thing acts weird when you go full screen Feb 13 07:11:52 cats is basically a reimplementation of scalaz, except intended to be modular, and without the political issues Feb 13 07:11:55 so i have one of these cheap iTag BT LE devices and i can't get it to pair. i'm stumped about how to go about debugging the connection Feb 13 07:12:16 suggestions welcome Feb 13 07:12:16 Hi. Feb 13 07:12:26 rigel hmm, in dev options you can turn on HCI logs Feb 13 07:13:40 I have a WebViewClient, and I would like to fire an event in it when onReceiveError() happens (i.e. when it can't open a page) so that the MainActivity can show a button. How can I do that? Feb 13 07:13:52 CedricBeust, I never knew you were infamously suspected for being "the" scala troll, heh Feb 13 07:14:05 uh? Feb 13 07:14:07 lol i saw a nick called cbuestwatch Feb 13 07:14:14 g00s: im not seeing a dev options in settings Feb 13 07:14:40 rigel you do have dev mode enabled right ? Feb 13 07:15:20 that guy is Simon Ochsenreither, not sure why he's so obsessed with me, but he calmed down a lot Feb 13 07:15:38 what is it again, about -> status ? Feb 13 07:15:57 soc claims that it's not him as well Feb 13 07:16:05 * CedricBeust shrugs Feb 13 07:16:20 Cedric u work at google? Feb 13 07:16:29 Used to Feb 13 07:16:32 g00s: now i do, i cant believe i didnt have it enabled Feb 13 07:16:35 https://www.reddit.com/r/scala/comments/454ahd/recent_dottyscala_fud/ Feb 13 07:16:41 b4b i thought you were a bot ! Feb 13 07:21:13 5 second app startup time for nyt, that's pitifully long for something that just reads the news Feb 13 07:21:25 I blame Groovy Feb 13 07:21:44 I mean these guys picked Groovy just so they could have the lambda syntax Feb 13 07:21:57 Talk about putting themeselves (the developers) before their users. Feb 13 07:22:24 "The code looks nice, who cares if it's slow" Feb 13 07:23:41 groovy was a good amount of time Feb 13 07:23:56 speaking of json parsing, yeah, gson is fucking slow Feb 13 07:24:08 and slow is anything that relies on reflection Feb 13 07:24:34 pfn: gson is slow? It was decent last I checked, do you have some data? Feb 13 07:24:38 What is the most idiomatic way to show a button when the web view cannot load a page? Feb 13 07:25:05 Argonaut and circe are amazingly fast on android. stuff that was taking like 5 seconds to parse in gson was like sub second in argonaut Feb 13 07:25:24 I'm a bit skeptical of that claim Feb 13 07:25:27 CedricBeust, several hundred kb of json Feb 13 07:25:58 every reflective call takes roughly 50ms on android, on a modernist devuce Feb 13 07:26:11 modernish Feb 13 07:26:17 That's not data for the claim Feb 13 07:26:33 look ups are slow overall, invocations pretty fast. But yes, reflection is still a no-no on Android overall Feb 13 07:26:33 i don't have anything handy right now Feb 13 07:26:54 I'm still skeptical of some JSON that would take 5 seconds to parse in Gson and subsecond in any other framework (argonaut or other) Feb 13 07:26:54 not at a pc to put good comparisons together Feb 13 07:27:12 If you ever have a github project I can clone and build to run tests, I'd be interested to Feb 13 07:27:28 I recommended gson across our org, happy to revisit that choice if there's data to support it Feb 13 07:27:30 it was private client feeds Feb 13 07:27:48 I'll anonymize it some day and write up some comparos Feb 13 07:28:07 Would be great. Make it available to others too so we can run it on various computers Feb 13 07:28:21 on the jvm, the diff is negligible Feb 13 07:29:14 Yes, I'm interested in the Android case Feb 13 07:30:22 Hey! I am trying to fetch user data from google play game services but have no idea where to start Feb 13 07:30:33 I have integrated it to my game Feb 13 07:30:53 but don't know how to fetch user data like name, emails connected etc Feb 13 07:32:55 I'm actually interested in trying out rust the next time I have a problem that needs solving in jni Feb 13 07:33:18 Java -> jni -> Rust? Feb 13 07:34:53 yeah, building an so directly with rust that's loaded Feb 13 07:36:15 That's a bold strategy, let's see if it will pay off, Cotton. Feb 13 07:39:01 I very rarely use jni, though, so it'll be unlikely any time soon Feb 13 07:45:37 so in genymotion i sometimes get this glitch http://wstaw.org/m/2016/02/13/001.png Feb 13 07:45:53 when expanding notification bar or changing activities Feb 13 07:46:02 someone has encountered similar problem? Feb 13 07:46:26 fedora, radeon 7770 open gpu drivers Feb 13 07:46:50 i mean wtf is this Feb 13 07:52:04 How can I write a replacement NfcAdatper service? Feb 13 07:53:36 *NfcAdapter Feb 13 08:06:59 who here voting trump? Feb 13 08:07:22 hah we'll see if I even voite Feb 13 08:07:35 ever see the south park where they elect a new mascot? Feb 13 08:07:53 Not appropriate for this channel Feb 13 08:56:29 Can anyone tell me what the most idiomatic way is to show a retry button when WebView fails to load a URL? Here is my question on StackOverflow if you want to answer there: http://stackoverflow.com/questions/35377353/what-is-the-most-idiomatic-way-to-show-a-retry-button-when-the-receiveerror-even Feb 13 10:43:14 hello, is there a document mentioning AOSP/Android versions and the linux versions on which they are based? Feb 13 10:55:17 anddam: sadly, that’s not possible – different OEMs use different kernels for different versions Feb 13 10:55:59 While the nexus devices used 3.1.10 on Android 5.1, I’ve seen HUAWEI devices on a 2.6 kernel running 5.0 Feb 13 11:08:44 justjanne: tanks, is there something just for AOSP then? I wasn't able to find any on android.com Feb 13 11:09:03 (or wikipedia that has just a partial description of the relationships) Feb 13 11:09:31 I'm specifically interested in tracing so the different linux versions matter as they implement different tracing facilities Feb 13 11:10:07 I’ll specify api level and kernel version, as known: Feb 13 11:11:38 3 => 2.6.27; 4 => 2.6.29; 5 => 2.6.29; 8 => 2.6.32; 9 => 2.6.35; 11 => 2.6.36; 14 => 3.0.1; 16 => 3.0.31; 17 => 3.4.0; Feb 13 11:11:51 After that, no info was released in the official Release Announcements anymore Feb 13 11:11:58 yay for docs Feb 13 11:12:00 thanks Feb 13 11:12:09 manually taken fromhttps://en.wikipedia.org/wiki/Android_version_history Feb 13 11:16:41 anddam, https://android.googlesource.com/kernel/ Feb 13 11:17:06 adq: that doesn’t tell you which android version used which kernel, though Feb 13 11:18:58 well, it partially does, take android wear kitkat kernel for example: https://android.googlesource.com/kernel/msm/+/android-msm-dory-3.10-kitkat-wear/README Feb 13 11:19:41 adq: and which Android version does that relate to? Feb 13 11:19:42 and some version inside makefile & other config https://android.googlesource.com/kernel/msm/+/android-msm-dory-3.10-kitkat-wear/Kconfig leads to https://android.googlesource.com/kernel/msm/+/android-msm-dory-3.10-kitkat-wear/Makefile (KERNEL_VERSION) etc Feb 13 11:19:45 it's just painful Feb 13 11:19:45 is there any good note taking application for android and ubuntu..i have used evernote earlier when i was using windows..now i have shifted to ubuntu completely and i'm missing only my evernote. Feb 13 11:19:50 justjanne, android wear kitkat Feb 13 11:19:56 oh, now I see it Feb 13 11:20:10 i took an example, but i agree it's just painful Feb 13 11:20:33 something I’d do when continuing work for the wikipedia article, but not today Feb 13 11:20:39 also the codename are obscure for wear, like it's all based on fish names Feb 13 11:20:46 that reminds me, gonna have to check the edit history of some articles Feb 13 11:20:53 and you need to know the relation between manufacturer/OEM and fish codename -__- Feb 13 11:21:04 i cannot imagine what it is for regular android device Feb 13 11:21:17 (and funny i took wear cause it's the least open of all android stuff) Feb 13 11:22:28 the main point is all kernels are seriously outdated on android anyway Feb 13 11:34:55 so I'd have to make a list of platforms and go checking one by one Feb 13 11:35:09 yes. Feb 13 11:35:17 And that’s only for AOSP devices Feb 13 11:35:23 other vendors have their kernels in other places, Feb 13 11:35:27 if available at all Feb 13 11:35:32 painful, as you said, but again I probably won't need the whole map but my choice will be limited to a few targets Feb 13 11:35:40 thanks for the info Feb 13 11:35:53 it might be best to check at runtime Feb 13 11:36:03 or to write an app which sends the kernel version to your server, Feb 13 11:36:06 and make it popular Feb 13 11:36:16 it's for a in-house study, no app deploye Feb 13 11:36:19 deployed Feb 13 11:36:26 no, deploy an app to get the stats Feb 13 11:36:33 like, a flashlight app which phones home Feb 13 11:36:52 but that'd be useful to gather statiscal info Feb 13 11:37:28 which is not my point Feb 13 11:37:42 well, it’d give you a full map version => kernel Feb 13 11:37:46 including all weird vendor bugs Feb 13 11:40:57 is there a particular online course that's considered the de facto, particularly given someone who's already a programmer, but on other languages, but has done android before but wants to learn to do it properly? Feb 13 12:21:53 does someone have experience with https://github.com/serso/android-checkout ? Feb 13 12:43:02 > To keep your public key safe from malicious users and hackers, do not embed it in any code as a literal string. Instead, construct the string at runtime from pieces or use bit manipulation (for example, XOR with some other string) to hide the actual key. The key itself is not secret information, but you do not want to make it easy for a hacker or malicious user to replace the public key with another key. Feb 13 12:43:04 ROFL Feb 13 12:43:23 > You should obfuscate your In-app Billing code so it is difficult for an attacker to reverse engineer security protocols and other application components. At a minimum, we recommend that you run an obfuscation tool like Proguard on your code. Feb 13 12:43:58 Every time I read that, I get the feeling like the people writing that have never even had any experience with designing secure systems Feb 13 12:44:05 Spoiler: Obscurity is not Security. Feb 13 12:44:24 justjanne, unfortunatly theres no other way if everyone can decompile your app :/ Feb 13 12:44:40 danijoo_: Everyone can decompile and modify your app content anyway Feb 13 12:44:54 yes Feb 13 12:45:03 thats what I just said :) Feb 13 12:45:08 the only choices you have are (a) trusting a third party (very few people manage to reverse and modify Google Play Services) Feb 13 12:45:19 or (b) loading content at run time from your server Feb 13 12:45:25 thats why you verify iab products on your own server Feb 13 12:45:27 but even with (b), anyone can modify it anyway. Feb 13 12:46:01 If we’ve learnt anything from piracy on the desktop, it’s that if someone wants to pirate your stuff, they will find a way. Feb 13 12:47:00 no reason to make it easy ;) Feb 13 12:47:07 Also, if I ever try to use an app from you, I’ll at least reverse it and read through every part of it before using it Feb 13 12:47:36 you are not john doe, so its fine Feb 13 12:47:48 hmm Feb 13 12:47:50 that’s the issue: Feb 13 12:48:00 if at least one malicious person ever reverses it, Feb 13 12:48:05 anyone else can get it, too. Feb 13 12:48:07 also have fun with proguarded non java code. it will be a hard read :p Feb 13 12:48:14 Not everyone who pirates games is experienced, Feb 13 12:48:20 I wonder if retrieving the public key from an API and then encrypting it with secure enclave would make this a bit more annoying. Feb 13 12:48:22 but it’s enough for one person to release a crack Feb 13 12:48:31 Mavrik, i thought about that too Feb 13 12:48:40 danijoo_: I’ve started coding as a kid working on Minecraft mods, before MCP was a thing ;P Feb 13 12:48:41 but I think its not really worth the effort Feb 13 12:48:51 The annoying thing is that you need to have some kind of static key anyway. Feb 13 12:48:57 That’s proguarded game code, changing with every release. Feb 13 12:49:00 Since you could use secure enclave to generate the key. Feb 13 12:49:22 Well, that’s the solution most people use. Use the secure enclave to generate a key, transmit public key to server. Feb 13 12:49:29 you can then retroactively revoke it. Feb 13 12:49:36 if someone has the will to go through proguarded XOR methods to receive the key, he will also have the will the extract if from what the server gives you Feb 13 12:49:41 so the pirate can’t get any /future/ content Feb 13 12:50:29 The best working solution is: steganographically mark the content each user receives. When you see pirated content, revoke the access of the user who got the content. Feb 13 12:50:43 now the pirates have to pay at least once every time they try to access anything.. Feb 13 12:50:52 that’s part of the reason why game studios love DLCs Feb 13 12:54:12 not worth doing that in that case :) Feb 13 12:57:21 its not the weak spot anywayss Feb 13 12:57:42 oh nice.. my keyboard starts doing double ss again -_- Feb 13 12:58:02 lol Feb 13 12:58:37 second time I replaced the mechanics.. seems like its time to get a new one. Feb 13 13:08:18 hello guys! Feb 13 13:09:53 Where I work we use samba 4 AD for user authentication. We have thousands of users. We are developing internal android apps and my question is: is there a way for our android apps use our already working samba 4 AD user base for authentication? Feb 13 13:13:48 Hi, what all options do I have to distribute my app for testing among alpha users ? Feb 13 13:14:03 I am using Fabric Beta for now Feb 13 13:14:08 looking for other options Feb 13 13:16:15 suhas_sm, check in your google play developer console of an app in "apk", beta testing / alpha testing and read about it online Feb 13 13:16:54 but I haven't uploaded it on google play yet Feb 13 13:17:00 but might give it a try Feb 13 13:17:37 suhas_sm, https://support.google.com/googleplay/android-developer/answer/3131213 Feb 13 13:17:47 thanks adq :) Feb 13 13:27:50 adq, I will stick to Beta for now. Less Nuances Feb 13 13:34:14 following along the maps example its not clear where the onMapReadyCallback is to be put...seems no matter where I try I get a illegal start of type error Feb 13 13:34:32 * REdOG is obv noob Feb 13 13:44:50 Link? Feb 13 13:45:58 suhas_sm: Google play has added more features to its beta thing Feb 13 13:46:34 suhas_sm: In fabric beta, users have to download another app while in case of google its play store Feb 13 13:47:05 REdOG, your activity or fragment must implement it. Feb 13 13:47:20 I think fabrics beta is way better then google Feb 13 13:47:38 hello Feb 13 13:47:40 more feedback and faster Feb 13 13:47:47 REgOD, you should be getting map reference inside onMapReady Feb 13 13:48:05 Yeah, faster is the key issue here Feb 13 13:48:11 how can i create a secure login system? People say sha1 is not secure anymore Feb 13 13:48:24 Google play says it will be available after hours Feb 13 13:48:41 But I ideally want to release it immediately to my team Feb 13 13:48:52 quick bug fix and release Feb 13 13:49:56 torak: for hashing, bcrypt or scrypt Feb 13 13:50:26 also, think about using session tokens and 2FA Feb 13 13:50:47 If you just use OAuth 2.0, those things are handled by the provider, though, so it’s less work Feb 13 13:51:03 (OAuth is the "login with Facebook/Twitter/Google+/GitHub/GitLab/etc") Feb 13 13:51:18 justjanne: thank you! that is very helpful. :) Feb 13 13:51:38 also, read about salting ;) Feb 13 13:51:53 suhas_sm: ok I think its there correctly but when it is I get "method getMapAsync in class MapFragment cannot be applied to given types method getMapAsync in class MapFragment cannot be applied to given types;" Feb 13 13:53:50 REdOG mapFragment.getMapAsync(this); ? Feb 13 13:54:41 where this is your activity or fragment implementing OnMapReadyCallback Feb 13 13:55:33 yes in the onCreate in main activity Feb 13 13:55:42 Correct Feb 13 13:58:26 where "this" is your activity or fragment implementing OnMapReadyCallback Feb 13 13:58:35 incase you were confused :P Feb 13 13:58:48 still am a little Feb 13 13:59:02 I understand 'this' pretty well Feb 13 13:59:07 heh ok Feb 13 13:59:22 but not quite how to tie together the main and fragment Feb 13 13:59:33 main and fragment ? Feb 13 14:00:24 public class appmain extends fragment implements onmapreadycallback Feb 13 14:01:16 and public class AppActivity extends AppCompat... Feb 13 14:16:11 i got it ! Feb 13 14:21:22 <_maddy> hello Feb 13 14:22:18 hi! Feb 13 14:22:27 how do you fix lint? Feb 13 14:22:54 by doing what lint says Feb 13 14:24:33 it didn't say anythhing really...says lint errors found ... fix lint errors Feb 13 14:24:55 suggests to do what looks like ignoreing them instead Feb 13 14:25:24 fix them or disable lint Feb 13 14:27:13 how do I enumerate theses "thems" Feb 13 14:27:28 <_maddy> I have a problem: my Gradle Build gets stuck on ":app:transformClassesWithDexForDebug" when I select "run app" from android studio Feb 13 14:27:45 all I see is it saying 2 errors 4 warnings but I do not know which lines to fix Feb 13 14:28:46 i see em now Feb 13 14:29:01 lint-results.html Feb 13 15:06:23 WHY IS THIS REFERENCED NOWHERE? o.O Feb 13 15:06:24 http://developer.android.com/tools/data-binding/guide.html Feb 13 15:06:30 Could have saved me so much time... Feb 13 15:07:26 > You can change your data model in a background thread as long as it is not a collection. Data binding will localize each variable / field while evaluating to avoid any concurrency issues. Feb 13 15:07:29 Seriously? Feb 13 15:07:34 Now I’m really angry Feb 13 15:07:46 hm? Feb 13 15:09:41 I could have saved days of work if I had known earlier, but this thing is mentioned nowhere Feb 13 15:10:01 where can i learn about acces tokens? How they work etc? Feb 13 15:29:44 https://www.youtube.com/watch?v=eVD9j36Ke94 Feb 13 16:03:11 hi everyone. i really got stuck and need someone's help. i have Nexus 5 with CyanogenMod 12.1 installed. i created a backup using Online Nandroid backup tool (used tar option for system and data partitions), but when i try to restore it, the phone just boots in a loop into CWM recovery. i successfully flashed CM firmware back and the phone works but i really need all my data back. Feb 13 16:04:02 i tried to restore just /data/system/users/* files from the backup - the phone boots but hangs on asking privacy guard settings for each application Feb 13 16:05:00 so, the question is how to restore the app's data from the nandroid backup? Feb 13 16:05:50 i must say i tried the option in Nandroid Manager which allows to restore user's app and data, without success Feb 13 16:19:15 android-dev044, wrong channel, read topic Feb 13 16:20:04 danijoo: oops. sorry. thanks for pointing Feb 13 16:46:38 is there a forum for code reviews ? Feb 13 17:56:16 suhas_sm: codereview.stackexchange.com Feb 13 17:56:41 thanks, vedu Feb 13 19:03:27 when i'm getting an okhtp result it goes to a new activitybut i dont want that activiy to popup when the app is in the backgorund what's the scoop there? Feb 13 19:03:57 Um, what does that have to do with okhttp? Don't invoke the intent in background. Feb 13 19:11:26 Mavrik well how would i not invoke the intent in the background? when should I invoke it? It seems that normally android is not supposed to surface the views if the app is in the backgorund is there a flag I need to set? Feb 13 19:11:45 Calguy: In some cases, you can simplify such UIs by showing the activity as soon as the download (or whatever) begins. It'll probably have a progress indicator until the download has finished. Not sure whether this applies in your case. Feb 13 19:12:08 Otherwise you'll have to say `paused = true;` in onPause and `paused = false;` in onResume, AFAIR. Feb 13 19:13:00 Calguy, I don't understand what kind of use case warrants poping up a new activity when data loads from the internet at all. Feb 13 19:13:06 What are you doing exactly? Feb 13 19:13:22 TacticalJoke, that's a horrible solution :P Feb 13 19:13:33 Mavrik: Which one? Feb 13 19:13:51 Tracking lifecycle with paused = something, it's not really maintainable :/ Feb 13 19:14:04 Yeah, I agree, but I seem to remember reading about cases where people have had to do this. Feb 13 19:14:16 Though maybe they were mistaken. Feb 13 19:14:35 TacticalJoke: but doesn't it get drawn in onCreate? Feb 13 19:14:45 Calguy: What gets drawn? Feb 13 19:16:43 TacticalJoke, yeah, usually it's better to use LocalBroadcastReceiver / Bus / RxJava observable to communicate from service to shown UI Feb 13 19:16:48 Was less flaky Feb 13 19:17:39 Mavrik: when it UPLOADS something to the internet, it goes to a confirmation page saying the upload succeeded Feb 13 19:18:07 Mavrik: but they don't want that to happen when the app is backgrounded...but it shoudl show hwne it is foregrounded Feb 13 19:19:01 Calguy: The simplest solution is, as above: show the activity *first*, with some kind of progress bar or "uploading" message until the upload has finished. Feb 13 19:19:26 TacticalJoke and then ti goes to a different activity Feb 13 19:19:43 Why a different activity? Just hide the progress bar and show "upload complete" or something. Feb 13 19:19:49 also on some cameras it only does 4;3 an dlooking for a good layout and solution that handleds that Feb 13 19:23:07 *sigh* Feb 13 19:29:53 Calguy: It's kinda hard to help since you seem to be jumping from topic to topic (OkHttp -> starting activities in the background -> cameras). It'd be best for everyone if you described what you're trying to do here. Feb 13 19:32:55 im good Feb 13 19:34:27 crap I missed the valentines sale on Nexus devices Feb 13 19:51:23 TacticalJoke: first I take a pic, then they review it, then they upload it, then there is a confirmation page Feb 13 19:51:33 3 activieis and the confiramtion apage does he uploading Feb 13 19:53:49 RustyShackleford: Which one were you looking at? Feb 13 19:54:05 3 activities that is Feb 13 19:56:49 Show an "uploading" activity (as above) or simply use a notification for the upload confirmation. Problem solved. Feb 13 19:57:59 It doesn't seem wise to pop up an activity after some asynchronous event completes. Feb 13 20:02:07 barq: 6p with matte gold color was 50 bucks off Feb 13 20:02:14 I see newegg and best buy still have that price Feb 13 20:02:34 I can't buy anything without making it a huge dilemma Feb 13 20:02:42 lol Feb 13 20:06:49 I want to add a FAB but the anchor view is in another layout (im using include tag). Is there a way i can reference the id of the anchor view or should i move the code in the same layout as fab ? Feb 13 20:14:01 csst0111, i had this issue few weeks ago -___- include and merge does not understand id out of their own file in the editor Feb 13 20:14:23 csst0111, you can set the anchor programatically or indeed put the layout in the same file :' Feb 13 20:14:37 i did not try to make AS bypass the error but it might work Feb 13 20:18:37 RustyShackleford wouldn't there be a presidents day sale ? Feb 13 20:18:48 maybe? Feb 13 20:18:51 I dunno, its over Feb 13 20:18:58 pres day is monday right ? Feb 13 20:19:50 hi there. I'm new to GCM. Just to understand, should I call at each application startup the InstanceID.getToken ? (I'm looking at RegistrationIntentService from GCM tutorial) I thought if the token was sent to my custom server, I can avoid this call no ? Feb 13 20:19:51 yeah probably some sales monday Feb 13 20:20:19 if the graphite or aluminum ones would go on sale, I'd prefer that Feb 13 20:20:35 I would have gotten gold for the $50 savings though Feb 13 20:24:36 I'm trying to import a 450,000 word text file dictionary list of words into a sqlite database. I don't think it is loading the whole file because I can only find queries up to the word babbie. Any idea why this might be the case? https://gist.github.com/emilabraham/7e306e0fd0126f45d6bb Feb 13 20:24:40 whichever is excess inventory will go on sale , like the pink ones :D Feb 13 20:25:05 honestemu wouldn't use sqlite for that ... Feb 13 20:25:48 g00s: What would you use? Feb 13 20:26:07 i'd serialize the entire dictionary into a big string Feb 13 20:26:08 Use the cloud [tm]. Feb 13 20:26:10 and store it in 1 sharedpreferences Feb 13 20:26:14 key / value pair Feb 13 20:26:18 achuinard trololol Feb 13 20:26:23 anyone here used react native? Feb 13 20:26:38 never underestimate the power of object oriented programming Feb 13 20:26:38 achuinard: Oh god. Feb 13 20:26:40 It's 2016. Bundling a dictionary with an app is questionable. :D Feb 13 20:26:42 looking at tutorials, the speed of development looks amazing Feb 13 20:27:09 honestemu: you should use firebase Feb 13 20:27:47 trust in the base Feb 13 20:28:01 I want this app to work without internet, so I don't think I'll be using anything cloudbased :-D Feb 13 20:28:18 the firebase sdk actually writes everything locally. you might be able to use it in offline mode the entire time Feb 13 20:28:26 any writes you make are readable locally Feb 13 20:28:32 and firebase supports offline persistence Feb 13 20:28:34 BOOM Feb 13 20:28:39 im all about that base Feb 13 20:28:45 no treble? Feb 13 20:28:51 no parse Feb 13 20:31:09 the first service to automate screenshots (including localized text / device frames) is going to make a killing Feb 13 20:31:36 ? Feb 13 20:31:40 i spent hours in gimp making my own screeners with text and it has doubled my downloads Feb 13 20:32:43 http://imgur.com/NSXRCec Feb 13 20:33:41 ? http://appscreenshotmaker.com/ Feb 13 20:34:14 or grab auto device frame from google and add text. takes 3 minutes Feb 13 20:34:27 ya it takes 3 minutes for 1 screenshot Feb 13 20:34:33 and u have 6 screenshots x 10 languages Feb 13 20:34:39 that link u sent aint bad Feb 13 20:34:41 its a starting step Feb 13 20:34:41 dont add frames to screenshots :? Feb 13 20:34:48 still gotta add the text Feb 13 20:34:51 frames aint even the hardest part Feb 13 20:35:11 https://github.com/sdoward/Awesome-Screenshots Feb 13 20:35:17 that dude started working on fully automated solution Feb 13 20:35:40 to be fair i want to pair that with like 'click this edittext, enter htis text in, click this button', etc Feb 13 20:35:49 maybe its just a pipe dream Feb 13 20:37:14 How would I go about making suggestions to my users based on their previous activity which I've recorded on a Firebase database? Feb 13 20:37:49 see honestemu we got another firebaser here Feb 13 20:38:04 they are everywhere Feb 13 20:38:10 For example, I have a reservation system, I notice that they make a reservation on the 15th of every month, how would I integrate a suggestion within the app where it suggests for them to book the date Feb 13 20:38:11 markyosullivan: this question sounds specific to your problem - like, you only know the answer Feb 13 20:38:16 dey all about dat base Feb 13 20:38:21 its sick Feb 13 20:38:23 Firebase > Parse Feb 13 20:38:35 is / was parse ever realtime (onStart onStop subscriptions?) Feb 13 20:38:37 Never liked Parse because of all the excess stuff which I didn't need Feb 13 20:38:51 Which I may now ironically need Feb 13 20:38:54 :D Feb 13 20:39:09 Like rain on your wedding day? Feb 13 20:39:12 it sounds like u need a backend with firebase Feb 13 20:39:20 A backend with firebase? Feb 13 20:39:21 i have a java server Feb 13 20:39:24 i have a java JAR Feb 13 20:39:32 that runs and subscribes to the /queue portion of my firebase Feb 13 20:39:34 and when your user does something Feb 13 20:39:39 like makes a reservation Feb 13 20:39:45 u should use the firebase onComplete to push a 'job' into your /queue Feb 13 20:40:12 I would have thought you could waited until the next time the user logs in, once they log in the app looks at history of the user and based on that makes suggestions? Feb 13 20:40:20 Though I was thinking that'd slow my app down a lot Feb 13 20:40:28 yea yea i mean again this question is basically your own app domain Feb 13 20:40:31 this isn't a programming question Feb 13 20:40:32 you've got hte data Feb 13 20:40:36 you need to write the logic around your problem Feb 13 20:41:02 you've literally got objects populated with all the information you need and you're asking us how to work with those objects and solve your app-specific issue? Feb 13 20:41:07 i'm confused Feb 13 20:41:33 Sorry, I thought I'd ask for advice before I try and attempt this :D Feb 13 20:41:48 i mean write your if statements Feb 13 20:41:51 right? Feb 13 20:41:51 Don't want to get half way through it and then sit there and be like "Oh fuck" Feb 13 20:42:14 It's definitely possible without an additional external backend? Feb 13 20:42:15 well, it sounds like your issue is more 'scheduling' future actions based on current actions Feb 13 20:42:43 I'm more worried about performance issues Feb 13 20:42:51 without a backend, could you use AlarmManager to have the app check in the future Feb 13 20:42:53 unresponsive app would not be good Feb 13 20:43:04 use alarmmanager Feb 13 20:43:07 to schedule somethin in the background Feb 13 20:43:08 in the future Feb 13 20:43:20 I like your suggestion, going to make a note of it Feb 13 20:43:29 and then if u use a service or whatever Feb 13 20:43:33 you got no performacne issues Feb 13 20:43:36 user wont even know Feb 13 20:43:37 Though what if the user shuts down the app completely? Feb 13 20:43:46 i think alarmmanager still gets triggered Feb 13 20:43:49 idk i havent really used it Feb 13 20:43:50 Really? Feb 13 20:43:52 but if its an alarm Feb 13 20:43:54 and i restart my device Feb 13 20:43:58 the alarms are still working Feb 13 20:44:02 (from the Alarm Clock app) Feb 13 20:44:02 right? Feb 13 20:44:15 Ah Feb 13 20:44:29 I could link it to the Firebase sessions right? Feb 13 20:44:41 well, that could be a minor issue if the firebase token has expired Feb 13 20:44:54 but i mean you get full access to your app's classes and such in the receiver for your alarm broadcast Feb 13 20:44:54 True Feb 13 20:45:02 so there you go Feb 13 20:45:49 Mavrik did you see this JavaCPP project - works on android Feb 13 20:46:50 is it spring yet Feb 13 20:49:56 g00s, yep, it's what Apple uses in Apple Music :P Feb 13 20:50:30 I'm not sure I like the API though Feb 13 20:50:37 Seems like a lot of manual work required :/ Feb 13 20:50:43 As opposed to Djinni we use now. Feb 13 20:50:56 Apple Music? Feb 13 20:51:03 *shudders* Feb 13 20:51:39 J’s on ma feet Feb 13 21:06:30 does the default camera app have special access to make face tracking faster? I'm using FaceDetector with FAST_MODE, and its still very slow... This is from the facetracker demo Feb 13 21:09:12 it gets better with lower quality, but the default camera at highest quality can do it really fast Feb 13 21:09:35 Jooeeeeee: it uses a different algorithm, which you don’t have access to. Don’t want competition ;) Feb 13 21:09:51 Anyone got some mIRC encoded IRC format strings for testing? I’m working on my mIRC -> SpannedString parser still Feb 13 21:33:26 Hi everybody, I am planning to release an ad-supported medical application in my college. AFAIK, Google's AdMobi earnings are basesd on clicks CPC. In a medical community it is very very unlikely to find one who may click an ad. The application is thought to be used frequently which means that ads are going to be viewed many times. So, I am here seeking for help in finding the most effective way to increase earnings in such conditions. Thanks in advan Feb 13 21:36:36 is there any community that clicks ads ? ^^ Feb 13 21:39:27 yes, me. Feb 13 21:39:30 When I’m bored. Feb 13 21:39:41 2 per second. The same ad. Over and over again. Feb 13 21:39:58 you should try my app then :p Feb 13 21:41:30 For sorry, ADS WHICH ARE DISPLAYED ARE AWFUL, why the ads' makers do their ones in a way that usually makes me very angry :-( Feb 13 21:41:37 ?! Feb 13 21:42:09 ?! Feb 13 21:42:14 !! Feb 13 21:42:56 Never mind Feb 13 21:43:12 ¡¡ Feb 13 21:44:24 its in the hand of the dev to remove intrusive ads by blacklisting them :) Feb 13 21:44:34 that will often cost some revenue though Feb 13 21:45:14 what is the usual ad revenue anyway? i've never put ads in an app but have an upcoming one that I would like to monetize Feb 13 21:45:23 In my country, English isn't our first language. So, ads are usually translated in a way which really may down your mood, I am talking here as a user. Feb 13 21:46:05 Anyways, what are your advices to increase revenue from ads ? Feb 13 21:46:18 Without annoying the user ofcourse Feb 13 21:46:31 orbyt_, totally depends on the ad form and your audience Feb 13 21:47:03 danijoo_: yea I figured. Feb 13 21:47:16 Mezo40: practically, you can only make money with ads if your users are actually going to be converted by them. Feb 13 21:47:54 Ads which might be ideal for your use case, if you’d sign your own ad contract (instead of using google) would be awareness ads, or ads for medical stuff. Feb 13 21:47:59 Mezo40, there are adcompanies that only pay you for installs - those suck in my experience Feb 13 21:48:25 awareness ads, like the Coca Cola ads (they don’t care about a direct conversion, as long as everyone’s first thought when hearing "Soda" is Coke) Feb 13 21:48:34 for the rest - send keywords if you can. this will increase eCPM Feb 13 21:49:00 and block antivirus/gambling/pron ads. they are intrusive and pay close to nothing Feb 13 21:49:44 I get frequently ads from the local government telling me to use the bus more often :D Feb 13 21:50:10 they don’t link anywhere, just say to use transit instead of car, and are actually nice to look at Feb 13 21:52:48 Mezo40, also dont use only one ad company Feb 13 21:53:23 use somethig like mopub and ad a couple of ad companies. mopub will take care only the one paying the most will serve Feb 13 21:55:06 Thanks a lot danijoo_ , I really appreciate your help Feb 13 22:26:04 hm guys - is there a small progress dialog that one can call to show that something is being done? it usually just has a message and some indefinite circle progress indicator.. or do I have to build it myself? Feb 13 22:26:37 There's ProgressDialog. Feb 13 22:26:42 (I want it to show in a small box "on top" of my other activities for a short period of time) Feb 13 22:26:48 is that what I'd be using in this case? Feb 13 22:27:22 Note that this is the first Google result for "android progress dialog". :D Feb 13 22:27:28 use a dialogfragment Feb 13 22:27:38 @ TacticalJoke I have googled first Feb 13 22:27:41 something close to http://stackoverflow.com/a/23276564/1373568 Feb 13 22:27:52 search better and try more :) Feb 13 22:27:56 but all examples show something else than what I intend to do.. hm thanks @adq Feb 13 22:28:02 adq: Not always a good idea here, though. If the process might finish while the activity is in the background, there'll be a crash. Feb 13 22:28:11 Though in general I agree about using DialogFragment. Feb 13 22:28:44 well in my case I have an activity, that runs and finishes and it goes back to the previous activity Feb 13 22:28:45 fully agreed TacticalJoke but he has to take care of these issues or he will learn about at least Feb 13 22:29:20 basically just some overlay for until the activity has finished something and itself Feb 13 22:30:25 also don't mistake me D: I have googled and I found ProgressDialog.. I was just not sure if it is the right way .. like.. I'd be making a dialog to just show a message - instead of using Snackbar or Toast Feb 13 22:30:48 so I thought perhaps there is something like those two for showing a generic "progress" dialog Feb 13 22:31:02 anyway - thanks. Feb 13 22:32:07 Aoi: In some cases you can avoid a dialog entirely and just show a progress bar. Feb 13 22:32:14 That's generally recommended, from what I read. Feb 13 22:32:38 In my case I want to block the user for this short amount of time - so blocking the user would be intended Feb 13 22:32:46 anyway :D off to the cinema - watching Deadpool! Feb 13 22:32:53 There is one case in my app where I show a ProgressDialog on top of a WebView because using a ProgressBar would be too tedious. Feb 13 22:33:18 Note that "blocking the user" might be as simple as disabling certain widgets. Feb 13 22:33:41 well - I do know what I want to do, TacticalJoke :) Feb 13 22:34:12 * Aoi poofs Feb 13 22:35:45 Note that this is the Fragment thing I'm talking about above (the crash thing): http://www.androiddesignpatterns.com/2013/08/fragment-transaction-commit-state-loss.html Feb 13 22:36:05 Ah, the joy of Fragments. :D Feb 13 22:37:27 And then there's FragmentTransaction.commitAllowingStateLoss which "fixes" the problem by throwing away the state. Feb 13 22:37:45 Smash the state! Feb 13 22:39:31 Hello I need to debug my application but at the same time I need to send a text message to it Feb 13 22:40:02 but the emulator only allows one to happen at a time Feb 13 23:00:15 which is that library for handling RESTful service calls? Feb 13 23:00:52 I can never remember the name Feb 13 23:01:03 RETROFIT? Feb 13 23:01:07 sry caps Feb 14 00:47:09 anyone else do development on windows? Feb 14 00:47:11 its really not idea Feb 14 00:47:14 *ideal Feb 14 00:47:41 linux works, but I want a macbook I think Feb 14 00:50:06 RustyShackleford: why not Dev on Android wear? Feb 14 00:50:15 I mean,you can run a webserver on it Feb 14 00:50:17 https://www.reddit.com/r/linuxmasterrace/comments/45l2yr/webserver_running_on_android_wear_lighttpd/ Feb 14 00:50:17 what is android wear ? :D Feb 14 00:50:27 Running intellij is just the next step Feb 14 00:51:11 I don't see the appeal of any wearables/smartwatches Feb 14 00:51:49 they make cool toys, but are they actually useful? Feb 14 00:51:58 Well, you can use them as very expensive raspberry pi's Feb 14 00:52:02 As the link shows. Feb 14 00:52:08 "DARPA recently flew a fully-laden quadcopter through an indoor obstacle course at 45 mph" holy sh%#%&^ Feb 14 00:52:12 That's gotta count as usable. Feb 14 00:52:29 g00s: you should see the shit researchers do... Feb 14 00:52:47 Flying quadcopter with 3 motor failures at 30mph through an obstacle course... Feb 14 00:52:57 i saw a video a few months ago where a bunch of drones collaborated to build a bridge from string Feb 14 00:52:58 By teaching AI to fly it, in fact. Feb 14 00:53:26 You know, 10 years ago, AI was "doesn't exist, always a human has to program it" Feb 14 00:53:31 Now we have neural nets. Feb 14 00:53:44 if i had more money i'd go into A/R drones now Feb 14 00:53:51 A/R or drones Feb 14 00:54:07 Yeah, me too. Feb 14 00:54:17 the hololens kit is like $3000 Feb 14 00:54:23 ouch Feb 14 00:54:29 But I'm busy registering too late for my uni courses so I miss them accidentally. Feb 14 00:54:43 justjanne CS degree ? Feb 14 00:54:52 Yup. Feb 14 00:55:01 nice Feb 14 00:55:30 My time management is the worst imaginable. Feb 14 00:55:58 Especially since I started trusting Google calendar, and used lollipops "silent" mode. Feb 14 00:56:03 It's so confusing. Feb 14 00:56:26 Silent is just no ringtones. Of course alarms and calendar events are going to get through, right? Nope. Feb 14 00:56:34 yeah i kinda have add for real, become hyperfocused on whatever is not important atm :D Feb 14 00:57:11 justjanne don't rely on the google clock, i've had that thing miss alarms a few times :D Feb 14 00:59:15 i've noticed that google keep will not always remind me Feb 14 00:59:25 same goes for google now Feb 14 00:59:54 i only trust my windows phone for critical duty of waking me up :D Feb 14 01:02:39 justjanne i always thought, one neat feature for an IRC client, would be that graph you see on github Feb 14 01:02:55 for example this one, where you see who talks when : https://github.com/square/okhttp/graphs/contributors Feb 14 01:03:14 or maybe something like this with squares https://github.com/swankjesse Feb 14 01:03:30 for the whole channel, so you can see when its alive Feb 14 01:03:41 seems most irc channels have their own rhythms Feb 14 01:04:32 i was thinking about making an irc client with electron, maybe use d3 for those visualizations Feb 14 01:04:47 project # 65615 Feb 14 01:09:14 verizon makes me pay to tether my phone Feb 14 01:09:23 can I get around this with a rooted phone? Feb 14 01:09:39 not sure why verizon still does this, the FCC basically said that it was bullshit Feb 14 01:19:22 Don't seee why the FCC would have anything to say about that Feb 14 01:19:35 Companies are free to restrict the services they provide as they see fit Feb 14 01:20:02 As for your other question, tethering is a server check so I doubt a rooted phone will make any difference Feb 14 01:21:41 CedricBeust: FCC can because they set that rule when selling them rights to use the spectrum Feb 14 01:22:19 Ok point me to the ruling of the FCC saying that carriers need to provide FCC for no additional charges. Feb 14 01:22:30 s/FCC/tethering Feb 14 01:24:24 CedricBeust: the ruling is the contract between Verizon and FCC for LTE spectrum that requires Verizon "shall not deny, limit, or restrict the ability of their customers to use the devices and applications of their choice on the licensee's C Block network." Feb 14 01:25:06 Ok point me to the ruling of the FCC saying that carriers need to provide FCC for no additional charges. Feb 14 01:25:32 "Charging for" is not "Restricting". Feb 14 01:27:51 CedricBeust: sure, they can charge, by raising charges for *every* contract that uses a C-block spectrum Feb 14 01:28:18 This is the part where the market gets to decide. Some carriers charge, others don't. The FCC has no authority there. Feb 14 01:28:20 i.e. they can't segment contracts into tethering/non-tethering Feb 14 01:29:57 yeah it has to do with data caps Feb 14 01:30:29 if you set a data cap, then you can't charge them more to use that data Feb 14 01:30:46 you can charge a tethering fee if you offer an unlimited data plan Feb 14 01:31:08 CedricBeust: FCC has the authority on rules they set when auctioning the spectrum, in this case the open-access rule for block C was implemented in exchange of $4.6bn minimal bid from Google Feb 14 01:31:37 what y’all nerds up to? Feb 14 01:31:50 You keep citing irrelevant stuff. Just show me where the FCC ruled carriers can't charge for tethering and I'll concede I'm wrong. Feb 14 01:33:07 CedricBeust: did u create this chatroom? Feb 14 01:33:36 I don't really recall if I created it Feb 14 01:34:01 i wonder if google monitors it Feb 14 01:34:02 CedricBeust: http://lifehacker.com/5933152/the-right-to-tether-what-the-verizonfcc-settlement-means-to-you Feb 14 01:34:27 lifehacker isn't an official source, but I'm pretty sure I didn't just pull it out of my ass Feb 14 01:34:30 Now that's some concrete stuff, thanks RustyShackleford, reading Feb 14 01:34:32 Damn Slack and their requirements to show your e-mail address. Feb 14 01:34:46 It's a nice site in general. I end up 10minutemail.com addresses. Feb 14 01:34:51 using^ Feb 14 01:35:15 damn there a site for errthang Feb 14 01:36:40 10minutemail.com is somewhat essential, IMO. :D Feb 14 01:37:48 So my understanding is that Verizon is forced to allow the download of tethering apps but they can still block tethering if they want to (and they do, at least for users with unlimited plans) Feb 14 01:38:19 I guess I should call verizon Feb 14 01:38:34 I have the Share Everything plan, I should be able to tether Feb 14 01:38:43 this article was dated a while ago Feb 14 01:38:56 The FCC investigation was specifically about blocking tethering apps, not allowing tethering (from my understanding) Feb 14 01:39:13 thats what I gathered too Feb 14 01:39:16 daaamn, if I knew I could link any of the stuff I found, I wouldn't waste time looking for official links Feb 14 01:41:04 CedricBeust: https://apps.fcc.gov/edocs_public/attachmatch/DOC-315501A1.pdf <--- the official release from FCC mentions the part where "metered data plans" were found to be charged extra in violation of Verizon's own reasoning for tethering charge Feb 14 01:45:59 that said, US mobile network market always makes me giddy at its insanity Feb 14 01:51:08 CedricBeust have you heard anything about this book ? http://www.amazon.com/Building-Maintainable-Software-Java-Future-Proof/dp/1491953527 ... quite an audacious goal to write about this topic in 2016 Feb 14 01:51:23 lots of good sources already Feb 14 01:52:41 "maintainable" might be the key ;) Feb 14 01:58:18 wooo i managed to redirect the output of my pc host inside the mic input of a genymotion vm on windows \o/ Feb 14 01:58:32 (with some weird "virtual cable" software) Feb 14 02:02:07 metered plans aren't charged extra for tethering Feb 14 02:02:09 and that's the result: https://vid.me/hmkm (don't bother prices, they are fictiv and random, and few renderers need to be fixed), this is a companion app on handheld (which takes mic input as on the watch) i'm working on to previsualize what you got on your watch, settings and IAB Feb 14 02:02:15 only unlimited plans are extra Feb 14 02:18:05 pfn: not *anymore* Feb 14 02:21:02 hi all, I have a little doubt about "repo init " with --reference option, will it work if I have 3 repos A, B and C, then B use A as reference and C uses B as reference ? Feb 14 02:24:31 this is weird. my AppBarLayout + scrolling behavior works 50% of the time, other 50% the recyclerview slides underneath the appbar by a few pixels and can't be exposed again Feb 14 02:24:42 i copied this crap right out of the docs, so i didn't mess it up Feb 14 02:28:39 g00s, not sure it will help i had weird behavior too in the past i can remember, try to put android:fitsSystemWindows="true" Feb 14 02:28:39 in your coordinatorlayout Feb 14 02:29:04 try also playing with or without android:fillViewport="true" in your scrolling container Feb 14 02:29:08 i'll try that - this only happens if i scroll at a certain speed Feb 14 02:29:34 i guarantee _nothing_ :) but ... you never know Feb 14 02:30:21 its like, when i scroll sometimes the appbar and recyclerview don't translate at the same rate Feb 14 02:32:35 any of use guys develop on windows? Feb 14 02:32:54 debating installing ubuntu. But then I might remember why I hate linux Feb 14 02:33:08 for dev, ubuntu is great Feb 14 02:33:17 for desktop, not so Feb 14 02:33:18 I develop on windows o.o; it works nicely Feb 14 02:33:25 +e Feb 14 02:34:08 though I am considering moving to ubuntu whenever Windows 7 runs out completely.. don't want Windows 10 Feb 14 02:34:34 RustyShackleford although last one i tried was technically xubuntu Feb 14 02:34:44 Why not? Techonologically it's pretty good Feb 14 02:35:46 if you are referring to me, capella, it is because I am used to Windows 7 and to be honest the only reason I am staying with Windows is that I still play a few games (very few) and they might not work on ubuntu too well Feb 14 02:36:19 Windows 10 is hardly different from Windows 7, UI-wise. Feb 14 02:36:30 most UI changes are good Feb 14 02:36:32 as for Windows 10 - perhaps I am paranoid, but I want full control over Updates (especially the ability to chose them) Feb 14 02:36:35 I stuck on Win 7 but needed to get to 8 for dev ... it's not much different and includes fixes, smoothes things etc... 10 does even better Feb 14 02:36:38 If you're used to Windows 7, you can use Windows 10 right away. Feb 14 02:36:43 technologically it's no brainer Feb 14 02:36:50 yep Feb 14 02:36:51 Aoi: then shell out money for Pro Feb 14 02:37:05 I use Windows 8.1 on laptop - and I would never install that crap on my PC.. well - to each their own, but I hate Aero Feb 14 02:37:18 lol @ hate Aero Feb 14 02:37:27 oh err excuse - not Aero.. Metro Feb 14 02:37:33 ah, there Feb 14 02:37:34 excuse me* Feb 14 02:37:53 Aoi: it got fixed later on back from the total idiocy of 8.0 and partially-fixed 8.1 Feb 14 02:38:06 The lack of a Start Menu in Windows 8.x was a terrible idea. Feb 14 02:38:07 which is why I endure it on my laptop .. Feb 14 02:38:14 No more Metro, it's "Modern" iirc ;) Feb 14 02:38:23 who cares D: Feb 14 02:38:32 you know what I mean though, don't you? :D Feb 14 02:38:45 TacticalJoke: the real trick with 8.x is to not look for start menu but do what I do on win7 anyway - hit "super" (aka "windows") key and start typing Feb 14 02:38:56 Yeah, I do that, but it's still annoying at times. Feb 14 02:39:02 engineers only mean why they say... it's a rule :p Feb 14 02:39:15 why do /I/ have to adjust to a system, p_l? the system is supposed to adjust to ME Feb 14 02:39:53 I actually might give Windows 10 a whirl on my laptop and see what happens.. Feb 14 02:40:41 I heard microsoft managed to display adds in the start menu of Windows 10 though.. and I am not even starting on the possibly unwanted communication to MS.. meaning them spying on me .. Feb 14 02:41:11 of course you might say Windows 7 has that, too.. but Windows 7 has been out for quite a bit longer so the wholes are mostly known and one can plug them better Feb 14 02:41:11 meanwhile, back in Android ... Feb 14 02:41:53 Aoi: I disabled Cortana and so on. Never see any ads. Feb 14 02:42:00 And suggestions and whatever else. Feb 14 02:43:27 so basically I upgrade to Windows 10 in order to not use Windows 10 features xD makes sense to upgrade indeed Feb 14 02:43:52 Cortana is not 100% of Windows 10's features. Feb 14 02:44:21 hm mind if I PM you? I'd rather not pollute this channel more D: Feb 14 02:49:39 hm read this http://www.pcadvisor.co.uk/review/operating-systems-software/windows-7-vs-window-10-comparison-review-3617974/ and I must say I do not need any of these.. I hope I won't have to upgrade for a long time Feb 14 02:53:04 I upgraded to 10 yesterday Feb 14 02:54:02 I don't like all the cortana stuff Feb 14 02:54:12 workspaces are nice Feb 14 02:55:38 well .. if I really wanted, I could have next to all features on Windows 7.. virtual desktops, a more flexible start menu... the only thing that's bothering me is DirectX 12 - then again no game requires that (apart of I think Quantum Break and that one is not out)= Feb 14 02:55:58 Aoi MS said this is the last 'full' release of Windows Feb 14 02:56:12 i guess from now on they just keep trickling updates Feb 14 02:57:06 which is nice and awful at the same time :/.. nice, because I get updates.. and not so nice, because they'll want money somehow and because I already am not able to control what updates I get (in Windows 10) - at least that's what I read **** ENDING LOGGING AT Sun Feb 14 02:59:58 2016