**** BEGIN LOGGING AT Thu Sep 22 02:59:59 2016 Sep 22 03:02:19 How do I commit the changes to a module that is *included* in my project in Android Studio (git)? Sep 22 03:02:45 If I right-click on it, I don't get the "git" submenu Sep 22 03:03:03 Arancio: Use the git commandline? Sep 22 03:05:12 loke: well, I can open the project of the included module and commit from there. But why can't I do that from the project where the module is included? Sep 22 03:05:37 How do you work with included modules, usually? Sep 22 03:05:46 This is so moronic Sep 22 03:06:34 Android Studio is full of features and still can't do this simple operation? Sep 22 03:07:23 Arancio: I'm sure it can. I just never bothered to find out how :-) Sep 22 03:07:34 Settings -> Version Control -> Register VCS root @ Arancio Sep 22 03:07:51 Or just use cl Sep 22 03:10:40 * Arancio goes to Settings -> Version Control then presses the "Help" button Sep 22 03:17:52 orbyt_: Thank you very much! Sep 22 03:18:18 Guys you are amazing!!! !! !!! ! Sep 22 03:18:44 =^) Sep 22 03:18:55 (except when you bash me and accuse me of trolling) Sep 22 03:19:11 =^) Sep 22 03:42:34 ElliotAlderson: Mr Robot S02E12 is out! Sep 22 03:43:11 hey its shmoooz ! Sep 22 03:43:35 comes out from lurking to talk about mr robot Sep 22 03:44:20 hey! it's still sortof android related Sep 22 03:44:48 Android's are Mr Robots Sep 22 03:45:54 shmoooz: you're deluded. Mr.Robots is off topic and it's not even a good series Sep 22 03:48:01 shmoooz: you can join #android-dev-tv-series to chat about Mr.Robots Sep 22 03:50:18 Arancio: tell us why it isn't a good series Sep 22 03:51:02 shmoooz: I don't do off topic chat. I only chat about tv series in #android-dev-tv-series Sep 22 04:04:33 TacticalJoke did you see that article about architecture on /r/androiddev ? Sep 22 04:04:35 omg look who it is Sep 22 04:04:42 Nah, not yet. Sep 22 04:05:17 TacticalJoke: haven't seen you in ages, did you stop doing android stuff? Sep 22 04:05:25 shmoooz! Sep 22 04:05:29 Nah, I still do. Sep 22 04:05:47 I've been back for days, shmoooz. Where have *you* been?! :D Sep 22 04:07:07 hmmm, yeah I was busy a little , my big tv burned out so I'm busy changing the burned capacitors Sep 22 04:07:35 Doh. Sep 22 04:07:47 Are you still doing Android stuff? Sep 22 04:08:03 not much, very little Sep 22 04:08:04 <[Saint]> shmoooz: you really think a guy with the vanity nick ElliotAlderson doesn't know that? ;) Sep 22 04:10:46 [Saint]: Elliot is very unstable, you never know what he knows when Sep 22 04:11:59 half the time he doesn't even know who he is Sep 22 04:12:25 g00s: Was that worth watching? Sep 22 04:12:35 I'm pretty lazy lately. Sep 22 04:12:41 TacticalJoke i haven't seen it yet, wondering the same thing Sep 22 04:12:47 yeah lazy too Sep 22 04:13:04 Anyone wanna be the test dummy? Sep 22 04:13:14 at this point effective architecture on android is an unattainable goal :D Sep 22 04:13:25 Yeah. Sep 22 04:13:32 so i think, is this snake oil or the cure to cancer Sep 22 04:13:56 It's putting band-aids on a deflating balloon. Sep 22 04:14:28 brrrfffftttttttt Sep 22 04:14:50 Stockholm syndrome has set in quite a lot for me now, though. Sep 22 04:15:02 I'm in the "it's not so bad" denial mindset. Sep 22 04:15:11 Until I consciously analyze it. Sep 22 04:15:36 eh not me. i'll completely move on if there are no affordable nexus-like devices i can unlock and flash different versions of android easily Sep 22 04:15:59 sure as hell not paying 650 usd for a android device that has google experience Sep 22 04:16:20 for 650 i'd go straight for the iphone. better customer service, etc Sep 22 04:16:21 The Moto G4 is decent. Sep 22 04:16:40 sure i'd love something like that, but the problem is moto and their track record lately of updates Sep 22 04:17:01 nothing wrong with the hw, looks like a nice device Sep 22 04:17:09 I still love my Moto G2 Sep 22 04:17:13 One thing I like about the low price is that I can happily throw it away after a couple of years. Sep 22 04:17:59 Moto G. That's how we roll. Sep 22 04:18:23 Moto Rollas Sep 22 04:18:27 TacticalJoke: +1 Sep 22 04:18:51 shmoooz: haha Sep 22 04:19:13 If you buy something expensive and you ruin it, you'll weep for months over it; if you buy something cheap and you ruin it, you'll just say "meh" and get another cheap one Sep 22 04:19:24 Yeah. Sep 22 04:19:46 I see all these iPhones with cracked screens. Must be painful. Sep 22 04:19:49 the Moto G is super durable, not a scratch after a car runs over it Sep 22 04:20:43 Just leave your smartphone at home: no cracked screens Sep 22 04:20:50 "Many "bro-country" songs are about attractive young women, the consumption of alcohol, partying, and pickup trucks." Sep 22 04:20:52 https://en.wikipedia.org/wiki/Bro-country Sep 22 04:21:21 I love that summary. Sep 22 04:21:21 TacticalJoke: that sounds awfully familiar to rap, but without the pickup trucks Sep 22 04:21:44 but moto isn't really moto any more its lenovo ... Sep 22 04:22:01 and their customer support / warranty processing has gone downhill too Sep 22 04:22:09 g00s: You worry too much. :D Sep 22 04:22:15 as far as i'm concerned, moto is gone Sep 22 04:22:33 Has there ever been a vigorous investigation into finding out if there's a difference between a rapper and a redneck in the US, TacticalJoke? I think it's worth pursuing. Sep 22 04:23:24 Hand over your $200 and enjoy your premium-at-a-budget Android experience! Sep 22 04:23:44 g00s: their own fault for allowing themselves to be bought and sold, greedy CEO's want to cash out Sep 22 04:24:01 Idiosyncratic: I think race may be the only difference. Sep 22 04:24:15 TacticalJoke: lol Sep 22 04:25:07 TacticalJoke: but since there are wiggers, do blacknecks exist as an equivalent? Sep 22 04:27:36 #android-dev: asking the hard questions Sep 22 04:28:07 Idiosyncratic: good morning full of ads impressions Sep 22 04:28:34 Arancio: guten morneng Sep 22 04:28:51 *morgen Sep 22 04:29:24 Angela Merkel to you too! Sep 22 04:29:36 Please use #android-dev-pop-music for this kinds of conversations Sep 22 04:30:21 Arancio: what's with the hate crimes, bro? Stop tripping on hateorade. Sep 22 04:31:55 ok Sep 22 04:32:43 Arancio: concerning the ads impression, they're kinda chaotic Sep 22 04:33:13 Idiosyncratic: what does chaotic ads impression mean? Sep 22 04:34:05 Arancio: the daily number of ad impressions fluctuates chaotically on a daily basis :P Sep 22 04:34:10 Arancio: happy? :P Sep 22 04:34:29 *the number Sep 22 04:35:13 ok Sep 22 04:35:25 I'm moderately happy Sep 22 04:35:33 Thanks for asking Sep 22 04:43:23 Does lasserix still come in here? Sep 22 04:43:43 TacticalJoke i saw him once or twice a month ago ... but not much Sep 22 04:44:00 where did groxx go ? Sep 22 04:44:03 I used to love how opinionated he was. :D Sep 22 04:44:08 heh Sep 22 04:44:10 Yeah, groxx disappeared too. Sep 22 04:44:38 I'm stuck Sep 22 04:44:45 these days, i wonder when android devs disappear, if they were killed by some samsung device exploding Sep 22 04:45:10 because the note 7 isn't the first samsung device to have propensity for fire Sep 22 04:45:11 TacticalJoke: I'll try to fill the void that he left behind. I'm hella opinionated too! Sep 22 04:46:55 Idiosyncratic: Git or Mercurial? Sep 22 04:47:03 bazaar ! Sep 22 04:47:09 TacticalJoke: CVS Sep 22 04:47:10 I tried that once. Sep 22 04:47:22 Bazaar was like a slower, weirder Mercurial. Sep 22 04:47:40 Android developers who don't die by Samsung bombs die of hanger. Better die in battle! Sep 22 04:48:00 *CSV, goddamn it Sep 22 04:48:16 My first VCS was Subversion. I loved it back then. Sep 22 04:48:19 CVS is right. Sep 22 04:48:31 CSV = comma separated values Sep 22 04:49:07 Oh goddamn it, my joke failed. I thought CSV had a VCS for some reason. Sep 22 04:50:07 I remember reading Pragmatic Version Control Using Subversion and being amazed. Sep 22 04:51:26 i read the svn 'red book' it was short, and everything seemed so simple ... Sep 22 04:51:36 Yeah, I read that too. Sep 22 04:51:41 then i had to read like 4 git books, and even now i use like 4 commands :P Sep 22 04:53:13 Git is fugly. Sep 22 04:54:04 TacticalJoke did you use ST ? Sep 22 04:54:09 or maybe it was gordon_ Sep 22 04:54:12 https://www.sublimetext.com/blog/articles/sublime-text-3-build-3124 Sep 22 04:54:18 Not me. Sep 22 04:54:35 TacticalJoke uses notepad++ Sep 22 04:55:10 I use AS and my old C#/.NET text editor. :D Sep 22 04:55:15 I used to use gVim. Sep 22 04:57:12 TacticalJoke: are you aware of the Intellij-wide vim plugin? IdeaVim? Sep 22 04:57:30 Yeah. I quit vim though, ages ago. Sep 22 04:57:55 and it took you ages Sep 22 04:58:18 im using vim since years ago. i just dont know how to exit Sep 22 04:58:56 When I got to the stage where I was forgetting how to use normal text boxes, and wishing every text box had a vim-input mode, I realised something was badly wrong. Sep 22 04:59:42 TacticalJoke: most of the software that I use on a regular basis has some sort of vim plugin installed :D Sep 22 04:59:55 iyes everywhere you type has a 'i' before it to go into insert mode Sep 22 05:00:32 i've been using atom with the project switcher plugin. i have ~15 gapps decompiled, atom switching between them. can do searches through all the projects, etc Sep 22 05:00:36 and x's where you meant to delete Sep 22 05:02:14 when I had to help other people moving from machine to machine I had to get back used to using normal text editors Sep 22 05:16:40 In the last 10 minutes, the emulator has crashed five times. Sep 22 05:17:43 And it just crashed again. Sep 22 05:18:23 thats one way to simulate android Sep 22 05:18:52 :D Sep 22 05:19:29 TacticalJoke did you pass the emulator --samsung flag ? Sep 22 05:19:48 i was just reading today , samsung doesn't honor the usual file picker intent ? Sep 22 05:20:00 mind blowing how they get away with that ... Sep 22 05:20:09 mind blowing ... that the CTS doesn't cover it Sep 22 05:20:58 still feels like google is learning the stuff MS was back in 95 getting all the oems to run their platform Sep 22 05:25:20 Yeah, that sounds ridiculous. Sep 22 05:26:01 I feel that devs should refuse to write Samsung workarounds. But of course that's not really feasible. Sep 22 05:44:46 quite Sep 22 05:44:56 *quiet Sep 22 05:47:34 Android Studio can't render shadows and calls it a "fidelity warning". It's not incompetence, but "fidelity warning". Sep 22 05:47:47 TacticalJoke how are you storing the reddit discussions , what data structure on disk ? Sep 22 05:51:27 "Chinese Officials Aren't Sure Where Their Falling Spacecraft Will Land" hopefully one of the Trump buildings Sep 22 05:53:09 drumpf* Sep 22 05:54:12 he'd sue the chinese Sep 22 05:54:21 hello all, can anyone help me with a testing error Sep 22 05:54:41 he'll make them put all the debris back into orbit Sep 22 05:55:35 tumble4ya, just ask Sep 22 05:55:44 staeksauce will they pay for it? Sep 22 05:55:52 he'll see to that as well Sep 22 05:56:14 i get java.lang.UnsatisfiedLinkError when i run a test: (java.lang.UnsatisfiedLinkError: android.opengl.GLES20.glCreateShader(I)I) Sep 22 05:56:15 and charge them an inconvenience fee that he will then disburse amongst all Americans Sep 22 05:58:28 Idiosyncratic: is renders shadows just fine here Sep 22 05:58:36 the class im testing depends on opengl, do i have to add that to my build path? Sep 22 06:00:12 tumble4ya: what's a build path? Sep 22 06:02:38 Hello all. I recently upgraded Android Studio, and my app, which was working fine before, now crashes. Particularly, findViewByID() always seems to return null Sep 22 06:03:04 Relevant, the reason I updated was because I kept getting errors when trying to specify build flavors Sep 22 06:03:43 err, product flavors Sep 22 06:03:45 rufsketch1: hello! Sep 22 06:04:04 product flavors? Sep 22 06:04:08 so I suspect this has something to do with that. But I'm not sure what. I've never used product flavors before and still don't entirely understand them Sep 22 06:04:40 Arancio, yes, to let me create ad-free and ad-supported versions of an app using the same signing key Sep 22 06:05:31 rufsketch1: thanks for the explanation. I didn't know they existed Sep 22 06:07:32 I just spent $50 on an iap, I feel dirty Sep 22 06:08:01 pfn: lol Sep 22 06:08:20 Arancio, no problem. Any clue how I could debug these nullPointer errors? Sep 22 06:08:20 pfn: what did you buy? A diamond unicorn? Sep 22 06:08:33 in game currency for ffbe Sep 22 06:09:13 you're playing enough to be worth spending that much? Sep 22 06:09:26 pfn: so you're the one who spends on IAP's in android Sep 22 06:09:29 what's ffbs Sep 22 06:09:33 e Sep 22 06:09:48 Might as well support the ecosystem Sep 22 06:10:18 I think it's occupied like over a hundred hours of my time the past month, it's helped me through a rough time Sep 22 06:10:32 Ffbe is a game Sep 22 06:10:35 Final Fantasy: Brave Exvius? Sep 22 06:10:44 Yes Sep 22 06:10:57 better than alcohol anyway Sep 22 06:11:13 i spent $63 on beer yesterday so Sep 22 06:11:17 pfn: self-flagellate 50 times for each $ and god will forgive your sin Sep 22 06:12:10 rufsketch1: never had a null pointer from findViewById(). Either it doesn't compile or it works Sep 22 06:12:38 So strange. If I remove anything that calls any elements (which findViewById() returns as null), the app doesn't crash, however, I am presented with a gray screen, and not my layout Sep 22 06:12:56 Eh, I've spent like $20-30 on each meal for the last month as well Sep 22 06:13:00 stevef: you have a problem. hint: it's not the sauce stains on your shirt Sep 22 06:13:25 Arancio, so it seems it can't find my activity_main. But I don't know how to get it to be able to find my activity_main Sep 22 06:13:30 pfn: but food keeps you alive. FFBE doesn't. Sep 22 06:13:30 Lots of chicken and waffles and good ol' Mac n cheese Sep 22 06:13:42 rufsketch1: did you try re-creating the project from scratch? Sep 22 06:13:56 rufsketch1, I'm a complete noob, but do you need to View.findViewById();? Sep 22 06:14:21 I eat for a week with $30 Sep 22 06:14:38 eh, coulda gotten by on $5 fast food meals Sep 22 06:14:54 no fast food Sep 22 06:15:16 staeksauce: no, because in the context of an Activity you're using its views so the View isn't necessary Sep 22 06:15:20 better chicken and waffles Sep 22 06:15:43 Idiosyncratic, ah ok, I ran into trouble earlier in a custom adapter I made Sep 22 06:16:53 rufsketch1: did you try File -> Invalidate Caches/Restart? Sep 22 06:18:32 Idiosyncratic, I did not. Let me see. if that works. Sep 22 06:21:01 Android Studio 2.2 is giving problems to me too Sep 22 06:21:08 It freezed Sep 22 06:21:22 i have some code , when i compile it in vanilla java(through terminal) it works fine , but the same code in android gives a null pointer exception. can anyone tell me why , please? code -->https://gist.github.com/codeboy101/2b9281517b4a6d087a80b0004aa2b098 Sep 22 06:22:47 line 39 gives the exception Sep 22 06:23:50 Idiosyncratic, no dice. To explicate on the issue, elements do indeed seem to have an R id assigned. It's just that findViewById() returns null on whatever ID I assign. Sep 22 06:24:02 superKiller: are you a Java newbie? Sep 22 06:24:19 Arancio: why do you ask ? Sep 22 06:24:42 superKiller: that looks like code written by a total programming newbie Sep 22 06:24:58 <[Saint]> What a valuable insight that was. Sep 22 06:25:01 lol Sep 22 06:25:03 <[Saint]> Please, more. Sep 22 06:25:16 superKiller: member declarations are not sequential statements. Please use a constructor Sep 22 06:25:53 superKiller: I didn't mean that as an offense. Sep 22 06:26:08 superKiller: I'm a Java newbie too Sep 22 06:26:13 <[Saint]> "To fix your issue, first you must battle. In the tower of the 13 pedants" Sep 22 06:26:16 I figured it out! The problem was that I was an idiot this whole time :) Sep 22 06:26:23 Arancio: i understand what you're saying Sep 22 06:26:26 rufsketch1: what was it? Sep 22 06:26:33 (accidentally deleted setContentView at one point) Sep 22 06:27:09 Idiosyncratic o/ Sep 22 06:27:16 Arancio: but why is the File object null in case of android ? Sep 22 06:27:19 rufsketch1: thanks for sharing this pearl of Android programming without shame so that we can learn from you Sep 22 06:27:51 raoul11: konichiwa Sep 22 06:28:24 I teach by example :) Sep 22 06:28:28 superKiller: it's not "in case of Android". In the first case you initialized some variables in a method, in the second you declared some fields in a class. I wonder how that compiled in first place. Use a constructor to run the same code Sep 22 06:28:29 i always seems to forget how to implement inapps Sep 22 06:29:19 raoul11: draw a pentagram on the floor with the blood of innocents and shout "Baphomet" 666 times Sep 22 06:29:54 superKiller: was I clear? Sep 22 06:30:18 that works Idiosyncratic ? Sep 22 06:30:26 coz ill do it. Sep 22 06:31:07 raoul11: I did it and made 5 euros with AdMob. Definitely works. Sep 22 06:32:50 thats a lot Sep 22 06:32:58 how many installs Sep 22 06:33:18 raoul11: in total ~350, 40 being on Google Play :( Sep 22 06:33:36 i mean on admob, for those 5 euros Sep 22 06:33:44 ecpm nd shit /: Sep 22 06:34:51 raoul11: can't see an ECPM statistic Sep 22 06:35:03 0___o Sep 22 06:35:17 how much did you get per install on admob though? Sep 22 06:35:25 i know its per country/campaign Sep 22 06:35:41 just wondering how my ads supplier (apppnex) is doing in compare Sep 22 06:36:01 raoul11: it seems that I get 4 euroes for every 1000 impressions Sep 22 06:36:05 appnext* even Sep 22 06:36:21 thats your ecpm Sep 22 06:36:26 (: Sep 22 06:37:15 raoul11: games services says that I have 26 active losers playing my game right now Sep 22 06:37:39 I meant to say most honorable and wise users Sep 22 06:37:55 Idiosyncratic: can't you make impressions in a view that is under another view? Sep 22 06:38:11 link me Idiosyncratic ill add a 5 star to push it Sep 22 06:38:21 raoul11: you already did :D Sep 22 06:38:25 oh Sep 22 06:38:27 its u Sep 22 06:38:30 sneaky Sep 22 06:38:37 * Arancio facepalms Sep 22 06:39:04 you change nicks more often than Arancio changes wanksocks Sep 22 06:39:13 raoul11: :D Sep 22 06:40:42 raoul11: I know that you wanted to be my wanksock forever but I like to change Sep 22 06:40:55 Sorry Sep 22 06:42:12 Android Studio ruined my computer Sep 22 06:42:18 <[Saint]> a buddy of mine once cut his junk on his wank sock due to all the encrusted manbutter on it and got an MRSA infection and almost lost a ball. Sep 22 06:42:31 <[Saint]> that's a PSA, people. wanksocks take lives. Sep 22 06:42:59 this is a respectable channel guys Sep 22 06:43:07 <[Saint]> Ha! Sep 22 06:43:10 <[Saint]> good one. Sep 22 06:47:12 your buddy actually admitted to that? I'd take that to my grave Sep 22 06:48:02 staeksauce: 1) he's his friend 2) can we maintain a minimum level of decency in this channel? Sep 22 06:48:20 My computer has serious problems. Control-Alt-Del doesn't work. Sep 22 06:49:02 <[Saint]> isn't that gigantically hypocritical, Arancio? Sep 22 06:49:12 <[Saint]> Just sayin'. Sep 22 06:49:49 [Saint]: I said "decency" not "intellectual honesty" Sep 22 06:51:01 <[Saint]> I'm aware of what you said, but it's kinda a moot point when you yourself broke out the word 'wanksock' for your own amusement a few minutes prior. Sep 22 06:51:32 I didn't broke out. It was raoul11 Sep 22 06:51:55 * Arancio google to check what "broke out" means. Sep 22 06:51:57 <[Saint]> Ahhhhh, you were just repeating it. Right. That makes it completely different. I see. Sep 22 06:52:04 <[Saint]> Sep 22 06:52:14 He insulted me. I replied. Sep 22 06:52:29 And asked for the conversation to stop there Sep 22 06:52:59 <[Saint]> "Guys, stop saying mean things. The mean things stop after *I* say them!" Sep 22 06:53:04 It's not like I kept insulting him. I could have do that but I didn't Sep 22 06:53:05 <[Saint]> good one. Sep 22 06:53:29 And you don't know the kind of guilt I experienced Sep 22 06:53:49 <[Saint]> All I'm saying is you don't get to partake in the behavior and then call anyone else out on decency. Sep 22 06:54:12 I'm a born-again decent person Sep 22 06:54:19 [Saint]: oh stop yer trolling Sep 22 06:54:19 I wasn't decent. Now I am Sep 22 06:54:55 Gloomy: hi! Sep 22 06:56:04 wvdhaute: hi! Sep 22 06:57:53 My computer is dying Sep 22 06:58:30 Arancio: search for his next incarnation at a PC shop. It might cost you money. Sep 22 07:02:53 ded Sep 22 07:02:59 thank god /: Sep 22 07:07:16 Idiosyncratic: my computer is almost new Sep 22 07:07:37 Idiosyncratic: I had to push the reset button Sep 22 07:09:29 Idiosyncratic: there is no way to cheat AdMob? Sep 22 07:16:59 many ways to cheat, even more ways to get caught Sep 22 07:18:29 Arancio: I don't cheat Sep 22 07:18:54 Idiosyncratic: Silly me. Why did I ask? Sorry. I didn't mean to insult you. Sep 22 07:19:13 Arancio: :P Sep 22 07:44:44 Jesus Christ, AS 2.2 is even slower than 2.1 Sep 22 07:45:02 Idiosyncratic: Slower at what? Sep 22 07:45:55 loke: *everything* Sep 22 07:48:04 But hey, I have 4GB of RAM and the state-of-the-art CPU of Intel E2180 Sep 22 07:48:21 *that is Sep 22 07:48:58 I haven't noticed any difference on Ubuntu Sep 22 07:52:03 Idiosyncratic: is E2180 state-of-the-art? Sep 22 07:52:20 Idiosyncratic: what art? Sep 22 07:52:28 Arancio: at sucking, duh Sep 22 07:52:53 *of sucking Sep 22 07:53:10 my compliments for having developed an Android application on that machine Sep 22 07:53:48 Arancio: I tweak the hell out of my applications, that's how I manage to do it :D Sep 22 07:54:19 the java implementation works fine , but the android implementation gives me null pointer exception --> https://gist.github.com/codeboy101/2b9281517b4a6d087a80b0004aa2b098 Sep 22 07:55:00 superKiller: I already explained you what's wrong Sep 22 07:55:14 superKiller: and, by the way, you didn't even tell "Thank you" Sep 22 07:55:24 Arancio: also, did you update Android Studio's java heap allocation thingy? Maybe that's why it runs slow for you Sep 22 07:56:44 Idiosyncratic: I updated it. Thanks for the link. It didn't freeze anymore. Earlier I had major computer problem that was not Android Studio's fault. Sep 22 07:57:21 Arancio: honestly, at 16GB you could lower Window's pagefile size and force it to use more of your RAM and swap less Sep 22 07:57:24 superKiller: why didn't you put that code in a constructor as I told you? Sep 22 07:57:54 Idiosyncratic: I have 32GB and I'm proud of each one of them. Sep 22 07:58:30 Arancio: in that case, you could disable the pagefile altogether Sep 22 07:59:07 superKiller: It looks like you are trying to access files that are on your computer Sep 22 07:59:28 You can only access files on your device itself from an app Sep 22 07:59:35 Idiosyncratic: I am a pathologic Firefox tab hoarder Sep 22 07:59:46 Arancio: though, there are debates about whether you should disable it completely or not. I would put something low like 256MB or something. https://superuser.com/questions/810170/should-i-disable-swap-file-if-i-have-lots-of-ram-or-should-i-move-it-to-a-virtua Sep 22 08:01:23 Isn't the OS smart enough nowadays not to use the swap file when it's not necessary? Sep 22 08:01:44 Seems like something a user shouldn't worry about Sep 22 08:01:58 *shouldn't have to Sep 22 08:02:03 pduin: afaik, not when it comes to Windows Sep 22 08:02:16 I could be wrong, though Sep 22 08:02:23 Arancio: i put the java code in a constructor and was waiting for you to reply Sep 22 08:03:56 superKiller: reply to what? Your code is still all in the member declaration. Put it in a constructor and step-debug it Sep 22 08:04:09 superKiller: plus what pduin said Sep 22 08:04:44 superKiller: can you use the debugger? Sep 22 08:05:14 superSlow? Sep 22 08:07:41 i am using jni, but the dll im using is somewhere in the sdk. how can i find what dll the project is using. i would like to know so i can include it on my gradle tests Sep 22 08:11:05 superKiller: ?!? Sep 22 08:12:10 Arancio: can you please tell me what exactly you're asking me to do ? Sep 22 08:12:26 superKiller: do you know what's a constructor? Sep 22 08:12:34 yes Sep 22 08:12:41 i have one in the WorkFiles class Sep 22 08:12:53 superKiller: that you don't use in your Android code Sep 22 08:13:43 i have a MainActivity constructor though Sep 22 08:13:43 superKiller: either you use it in your Android code or add a ctor in the class in your Android code Sep 22 08:14:27 MainActivity has no constructor in your gist Sep 22 08:15:05 Arancio: https://gist.github.com/codeboy101/2b9281517b4a6d087a80b0004aa2b098 Sep 22 08:15:51 superKiller: are you pathologically lazy or what? Sep 22 08:15:59 superKiller: can you put the other code in the ctor too? Sep 22 08:16:00 Arancio: ? Sep 22 08:16:29 //File f = new File(mPath); Sep 22 08:16:29 /ArrayList mFileNames = new ArrayList<>(Arrays.asList(f.list())); Sep 22 08:16:29 Arancio: still not helping me out Sep 22 08:16:54 You idiot! PUT THAT IN THE FUCKING CTOR! Sep 22 08:18:30 Of course I meant to type "You my dear eliot" as name-calling is not tolerated Sep 22 08:18:44 Arancio: okay done it . now ? Sep 22 08:19:09 now put a break-point at the beginning of the ctor and run the app in debug mode Sep 22 08:19:33 okay Sep 22 08:22:04 Arancio: yeah the mPath = null Sep 22 08:22:52 your string variable is null right after you assign a string literal to it? Sep 22 08:23:09 I don't believe tha Sep 22 08:23:10 that Sep 22 08:23:36 Arancio: at the beginning of the constructor , the mPath = null, when breakpoint at end of ctor , mPath = string literal. Sep 22 08:23:51 ok. what about the other variables? Sep 22 08:24:07 superKiller: by the way, are you really sure you want to program computers at all? Sep 22 08:25:38 Arancio: why do you say that? Sep 22 08:25:42 wtf Sep 22 08:25:59 superKiller: nothing. I didn't mean to say it. Forget it Sep 22 08:26:09 what about the other variables? Sep 22 08:26:17 you forget to take your meds Arancio? Sep 22 08:26:43 Arancio: its okay :) Sep 22 08:27:47 mPath is set to the correct string literal even then the null pointer exception occurs Sep 22 08:28:06 what is the value of the other variables? Sep 22 08:28:29 what's the value of f? Sep 22 08:28:38 Arancio: which varialbles do you want to know the value of ? Sep 22 08:28:42 f Sep 22 08:29:07 do you have to find what variable causing the exception exactly. do you understand that? Sep 22 08:29:38 With Gradle, is it at all possible to have the version installed off USB cable appear as a separate package to the real one from play store? Sep 22 08:30:28 sdousley: build two variants and distribute accordingly Sep 22 08:30:40 https://developer.android.com/studio/build/build-variants.html Sep 22 08:31:02 Arancio: "f = /home/icekiller/AndroidStudioProjects/Proto/app/src/main/res/raw" Sep 22 08:31:10 OK, i'll take a look thanks alex_PP Sep 22 08:31:59 superKiller: f.list() Sep 22 08:32:42 Arancio: yeah ? Sep 22 08:33:01 superKiller: yeah what? what's the value of f.list()??? Sep 22 08:33:29 superKiller: did you understand that you have to find what's the null expression that is causing the exception? Sep 22 08:34:09 Arancio: yes i got that part Sep 22 08:34:32 superKiller: so? What. is. the. value. of. f.list()? Sep 22 08:36:10 Arancio: that's causing the NPE Sep 22 08:36:31 but the same code in plain java works fine for the same directory Sep 22 08:36:55 now you can understand the suggestion that someone else gave you before Sep 22 08:37:02 that directory is in your computer Sep 22 08:37:05 not in your device Sep 22 08:37:09 not in your emulator Sep 22 08:37:21 damn Sep 22 08:37:43 so 1) you have to handle the case where the directory specified is wrong Sep 22 08:37:51 and Sep 22 08:38:06 2) you have to specify a correct directory, at least sometimes Sep 22 08:38:31 thanks me? Sep 22 08:38:31 Arancio: what way can i use to get the file in my emulator ? Sep 22 08:39:27 superKiller: what file? You can't access a file in your computer from your emulator. You put the file in your emulator and fix the path Sep 22 08:39:49 Thanks, Arancio. You have been very useful and kind. Sep 22 08:40:27 You're welcome, my friend Eliot superKiller. Sep 22 08:40:59 Arancio: exactly what im asking . how do i get the file in my emulator ? put it in res/raw ? Sep 22 08:41:32 superKiller: or in "assets" Sep 22 08:41:57 superKiller: google how to access files in "assets" or "res/raw" Sep 22 08:47:03 alex_PP: that seems to work great, but is there a way to change the name of the app within the gradle file, so I can easily tell which is which? As it stands, I have the app name defined in strings.xml Sep 22 08:47:17 I thought I deserved a thanks. And a hug. Sep 22 08:48:16 you can add extra src/res folders for the flavours you've added Sep 22 08:48:31 src/whatever/java src/whatever/res Sep 22 08:48:42 ah ok, so as I have a debug variant, I can add a debug/res/strings.xml and put the new name in there? Sep 22 08:48:54 yeah Sep 22 08:48:56 (That's unlikely the exact path, I'll replicate path to strings.xml from main app) Sep 22 08:48:59 cool Sep 22 08:53:38 You can also use resValue in your build.gradle to generate the app name resource Sep 22 08:56:23 SimonVT: ah ok, that's handy, I've done it now with a new strings.xml file. but how would I do it with the resValue? Would that be something like: resValue app_name "(D)Name" in the debug type? Sep 22 08:57:20 Can't remember the exact syntax, but yes, you tell it type, name and value. Then it creates the resource Sep 22 08:58:34 looks like it should be resValue "string", "app_name", "(D)Name" from a quick google Sep 22 08:58:43 I basically prepend it with (D) so I know that's the debug variant :) Sep 22 08:59:08 I think I'll go with that as that's less new files/folders to have to deal with. :) Sep 22 09:02:41 my current app has a load of variants, I started writing a gradle plugin to add overlays to the icons so I could keep track, but haven't had time to finish Sep 22 09:02:56 if anyone wants to steal the idea, please do Sep 22 09:04:13 sdousley: that's fine in this case, as it's just your debug build, but for more complex stuff the files are easier to keep track of Sep 22 09:04:34 I wouldn't like to have the _real_ app name in the build file for example Sep 22 09:23:08 hello all, im new here Sep 22 09:23:45 i have a question about content rating. Sep 22 09:24:13 superKiller: did you manage to do what you wanted? Sep 22 09:25:37 im building an app that views web comics and i had some issues with the publishing check team about some of those cartoons i added. Sep 22 09:27:36 alex_PP: yeah, I do actually have a second flavor, in which I'm using the second set of files as I have different strings/logos etc Sep 22 09:28:15 in the play store there is an parent control option that can be set , is there a way to access (read) that in my app? Sep 22 09:37:04 nielsnl: hello Sep 22 09:42:42 hi Sep 22 09:43:04 sorry i lost me connection earlier. Sep 22 09:43:50 nielsnl: you didn't miss anything. Nobody cared to answer your question Sep 22 09:44:14 i see. Sep 22 09:44:33 I don't know anything but that subject. Sorry Sep 22 09:45:32 i have been searching in the development documents and did not found anything yet. Sep 22 09:45:51 maybe im searching for the wrong thing Sep 22 09:46:45 np arancio Sep 22 09:47:36 why do you need to access content rating via your app? Sep 22 09:48:27 i like to filter the list of web comics based on that settings Sep 22 09:49:36 but content rating is a global setting Sep 22 09:50:33 so you file a content rating, get something like this after its processed: http://i.imgur.com/c0Zvrtf.png and you can hardcode it on your app based on it Sep 22 09:50:46 yeah, i dont think i see your point, is that a bad thing? Sep 22 09:51:26 i think you're misunderstanding content ratings Sep 22 09:52:09 maybe, Sep 22 09:53:29 im saying, that your content rating is defined on your console based on the questionnaire you submittied Sep 22 09:53:30 what i need is a way to filter the list based on the user that is using the app. Sep 22 09:54:04 yeah, that is whati understand, yes. Sep 22 09:54:06 after its being processed, you can just hardcode the content rating into your app, host it on some site, and filter from it Sep 22 09:54:49 but content rating has nothing to do with the user actually using, its a global settings you submit based on what content you currently have Sep 22 09:55:05 true. but thats not what i intent to do. Sep 22 09:55:37 sorry Sep 22 09:56:51 content rating is basically a certificate which you apply for, and in case you violate it - say, state theres no sex things on the content, and your app does have that, it can cause to suspension and worse Sep 22 09:57:25 i know, i know. Sep 22 09:57:41 nielsnl: you mean the "only show apps with X content rating" settibg in the store Sep 22 09:57:42 ? Sep 22 09:57:44 i found about that myself already Sep 22 09:58:05 correct justjanne Sep 22 09:58:22 Well, I'm not sure if that's even possible Sep 22 09:58:49 i want to use that same setting to include in my filter. Sep 22 09:59:39 i saw an option that is telling of the device is under parent control. so i was hoping this was also available **** BEGIN LOGGING AT Thu Sep 22 10:11:19 2016 Sep 22 10:25:11 superKiller is a ungrateful moron Sep 22 10:35:14 Arancio: please don't insult the other users Sep 22 10:36:14 SimonVT: it took much effort to help him and he quit without even saying "thanks" Sep 22 10:36:32 I don't ask much Sep 22 10:36:34 I don't care Sep 22 10:37:02 You should Sep 22 10:48:19 Just because someone doesn't say thanks, doesn't mean they're not thankful, and doesn't mean you should insult them. Sep 22 10:48:38 thanks, everyone Sep 22 10:48:44 lol Sep 22 10:48:46 lol Sep 22 10:49:01 I don't care LOL Sep 22 10:53:07 sdousley: what would that mean, then? Sep 22 10:53:38 rilassati Sep 22 10:54:00 * Arancio takes a deep breath Sep 22 10:56:31 Arancio: not saying thanks doesn't mean anything. You're assuming that by him not saying it, he's not thankful Sep 22 10:57:30 well next time I'll think the solution of his problem in my mind and won't tell him Sep 22 11:09:50 Should I be updating my sourceCompatibility and targetCompatibility in build.gradle? Currently I have them both as JavaVersion.VERSION_1_6 Sep 22 11:11:52 Arancio, that's better than being a toxic person. Quiet > insulting other people here. Sep 22 11:12:03 sdousley, probably not. Is there a reason you want to? :) Sep 22 11:14:05 Mavrik: no particular reason Sep 22 11:14:19 targetCompatibility actually sets how bytecode is generated Sep 22 11:14:36 So if you set it to 1.8 the resulting JVM code won't work on Android :P Sep 22 11:14:46 (Without conversion back to 1.6 level) Sep 22 11:14:53 OK, that's fine. I'll leave it 1.6 then Sep 22 11:14:53 :) Sep 22 12:03:55 thepoosh http://i.imgur.com/0Yr8F33.jpg Sep 22 12:04:08 Idiosyncratic ^ Sep 22 12:04:49 raoul11: man, I thought I looked dead Sep 22 12:04:59 why buddy? Sep 22 12:06:25 raoul11: meh, I used to have a depressed look, but since I found Jesus, I greet the day with a smile and end it with a smile! Sep 22 12:06:47 so positive Sep 22 12:07:40 raoul11: have you found Jesus yet? :P Sep 22 12:08:04 isnt he a taco seller on san diego? Sep 22 12:08:11 raoul11: lol Sep 22 12:10:17 why do you make fun of that guy? Sep 22 12:10:32 of jesus? Sep 22 12:10:36 How would you feel if a picture of yours was turned into a meme? Sep 22 12:11:19 i guess you're not familiar with r/roastme Sep 22 12:12:18 I guess I'm not Sep 22 12:16:21 http://images.delcampe.com/img_large/auction/000/189/962/242_001.jpg Sep 22 12:17:31 Jesus, the most beloved Jew by all Jews! Sep 22 12:18:45 I wager that 90% of Christians don't even know that Jesus was a Jew Sep 22 12:18:50 If Jesus was Jew why should I be Christian? Sep 22 12:18:57 Everybody know it Sep 22 12:19:38 s Sep 22 12:20:52 Arancio: it would've been so cool if the Roman/Greek gods would be the dominant gods in Europe Sep 22 12:21:04 *would be Sep 22 12:21:50 it would be cooler if Satan was the most venerated deity Sep 22 12:22:05 raoul11: your concept of a singular god sucks. Had to say it. Sep 22 12:22:14 it'd be the cooliest if you guys PM'd each other Sep 22 12:22:29 coolest Sep 22 12:22:35 whatitis: well, no-one's talking Android stuff right now Sep 22 12:22:58 smart, go somewhere else Sep 22 12:23:08 Idiosyncratic: that doesn't authorize you to talk about pagan religions Sep 22 12:23:31 Idiosyncratic: this channel is for Android application development only Sep 22 12:24:27 There is #android-satanism for that Sep 22 12:24:39 #iphonedev has #iphonedev-chat Sep 22 12:24:55 Does #android-dev has a channel like that? Sep 22 12:25:03 *have Sep 22 12:25:58 Yes, it's called #android-satanism Sep 22 12:27:22 hi all Sep 22 12:27:31 when an app is backgrounded, that's the onPause state yeah? Sep 22 12:29:35 michael_mbp: how backgrounded? by a dialog? Sep 22 12:30:11 clicking the home-button? Sep 22 12:30:29 it will be pause and more Sep 22 12:30:36 possibly destroyed Sep 22 12:31:01 so onPause() -> onCreate() again? Sep 22 12:32:09 michael_mbp: Check the first image on this page: https://developer.android.com/reference/android/app/Activity.html Sep 22 12:32:10 onPause() -> onStop() Sep 22 12:32:22 and possibly onDestroy() Sep 22 12:32:34 yeah, as pdui said Sep 22 12:32:58 thanks both Sep 22 12:35:23 You are welcome Sep 22 12:37:12 here's a scenario - some ads are fetched during a splash view, and stored as a class variable - where this array of ads are later accessed via a couple views. At the moment, there is no checking in future view if this data is there or not. I would expect that we need to add this logic in onResume()? Sep 22 12:37:32 Hello, Do you have any idea of what should I use to make content of a View slowly disappear, and new content slowly appear, with blurring effect or something ? Sep 22 12:37:49 I dont know where to start, or what stuff I should use Sep 22 12:38:03 mtr_: animations Sep 22 12:38:11 The less elgant way would be to save this array (serialise it?) during onPause/onStop and check for it in onResume/onRestart Sep 22 12:38:21 that would at least save API calls etc. Sep 22 12:38:29 mtr_: https://developer.android.com/training/animation/index.html Sep 22 12:40:12 Arancio: cool :) Sep 22 12:40:19 Yay! Sep 22 12:50:30 raoul11: HA! Sep 22 12:50:48 thepoosh, am addin firebase invites nao Sep 22 12:51:06 firebase invites as in the google page? Sep 22 12:53:06 as in users inviting other users and gainin game currency Sep 22 12:53:17 tryin to figure out this deep links thingie Sep 22 13:00:35 raoul11: did I ever ask what kind of application are you working on? Sep 22 13:00:43 If I may ask Sep 22 13:08:21 its a game Arancio Sep 22 13:08:42 cool Sep 22 13:08:59 well, even if it sucks at least it's not another IRC client Sep 22 13:09:05 :D Sep 22 13:09:24 I'm sure it's cool Sep 22 13:10:38 Is it a game with an IRC client in it? Sep 22 13:17:11 Is it yet another chat client? :P Sep 22 13:18:29 justJanne: will yours be a separate client or will you merge your changes into the original one? Sep 22 13:20:46 raoul11: it's kinda cool Sep 22 13:20:59 you have an intent-filter Sep 22 13:21:09 that catches BROWSABLE events Sep 22 13:21:15 and then does an action Sep 22 13:21:32 basically the way I see it, it's a watchdog for cool things Sep 22 13:23:38 Idiosyncratic: huh? Sep 22 13:23:56 justJanne: aren't you working on quassel droid? Sep 22 13:24:03 justJanne: saw the NG on it Sep 22 13:24:12 well, that just means "next generation" Sep 22 13:24:21 it’ll replace quasseldroid towards the end of the decade Sep 22 13:24:28 justJanne: lol Sep 22 13:24:45 current ETA is in the second half of the decade Sep 22 13:24:56 justJanne: if Google Allo won't make IRC obsolete by then, of course :D Sep 22 13:25:07 Google Allo won’t even make hangouts obsolete Sep 22 13:26:34 Allo bashing again Sep 22 13:26:45 no need to bash it Sep 22 13:26:59 that’s just beating a dead app Sep 22 13:27:58 Guys I created the official chat channel for Android developers, it's #android-satanism. You are all welcome to join! Sep 22 13:28:41 There are already a certain number of members of this channel Sep 22 13:29:29 Arancio: why we need to join it since we already here?! Sep 22 13:29:53 Moshdev: it's a channel for off topic chats Sep 22 13:31:32 Arancio, why call it 'satanism'? Sep 22 13:31:38 So that we don't pollute this venue with chat about ethnicity, religion, rotten google products and other less commendable topic of discussions Sep 22 13:32:14 you mean, rotten Google Android Apps? Sep 22 13:32:38 bitkiller: because #android-chat is boring. And because the occasion for creating it was a chat about satanism and other pagan religions Sep 22 13:33:00 yeah, rotten Google Android apps Sep 22 13:33:06 Arancio: Please don't advertise your random irc channels Sep 22 13:33:21 SimonVT: I made it to de-pollute this channel Sep 22 13:33:42 There are #android and #android-offtopic Sep 22 13:33:52 Oh Sep 22 13:34:00 Official, and i-dont-know-if-official Sep 22 13:34:27 Ok. I'll shut down my channel then. It's not needed Sep 22 13:34:39 Thanks Sep 22 13:43:26 still not capella... wow Sep 22 13:48:12 SimonVT: will you ever say something to me that is not reprimand? Sep 22 13:48:14 a Sep 22 13:48:33 Not likely Sep 22 13:59:28 Jesus Christ, styling an alert dialog is so hard Sep 22 14:00:14 styling is hard, period Sep 22 14:00:44 Idiosyncratic, it'd be easier to just write your own dialog :) Sep 22 14:01:17 Zharf: think that I prefer the XML way Sep 22 14:02:05 Idiosyncratic: please don't use the name of our Lord in vain Sep 22 14:02:47 Idiosyncratic: are you restyling your app? Sep 22 14:03:31 Arancio: just the alert dialog because the custom font is hard to read at the tiny resolution it's set to Sep 22 14:03:43 And really, I just want to change the font's size Sep 22 14:09:54 Zharf: you know what, I'll go with using a popup for this like you recommended X_X Sep 22 14:14:38 Hi All Sep 22 14:15:30 I'm working on implementing in-app billing. The fact that I can't buy my own products is really annoying while trying to test my code. Do you have any tricks to get around this? Sep 22 14:19:32 use a phone with a diff account that your developer account and add that account to license testing Sep 22 14:19:42 that=than Sep 22 14:22:43 If I use a second account, then I can't use a debug release. Sep 22 14:23:24 Why Google won't let me use my account as a debug account boggles my mind. Sep 22 14:26:38 <_genuser_> hey guyhs Sep 22 14:27:11 hey Sep 22 14:28:35 _genuser_: hey! Sep 22 14:28:49 _genuser_: does your nick mean "genymotion user"? Sep 22 14:28:57 <_genuser_> gentoo user Sep 22 14:29:13 <_genuser_> had to sign up back when I was installing gentoo. Sep 22 14:29:50 <_genuser_> so apparently you can't just wash your mouse. Sep 22 14:30:17 wash your mouse_ Sep 22 14:30:21 ? Sep 22 14:30:33 <_genuser_> computer, mouse. wash with soap. Sep 22 14:30:38 <_genuser_> under running water. Sep 22 14:30:53 _genuser_: gentoo? You like waiting 15 minutes compiling due to a software's minor 0.0.1 version change? :P Sep 22 14:31:26 <_genuser_> Idiosyncratic: it may not be your cup of tea but lot of reasons went into my selecting gentoo. and over the years I've come to appreciate and prefer it. Sep 22 14:31:55 <_genuser_> did you know that unlike ubuntu/debian, I don't have to "install a major update" by wiping my machine. Sep 22 14:32:27 <_genuser_> where the alternative is to "upgrade" from within and then cry all over the forums looking for help because it broke everything. AND then find out that the support doesn't really recommend doing that. Sep 22 14:32:34 _genuser_: was jesting in a friendly manner :). Does the native mtune really make a difference in performance? Sep 22 14:32:37 off topic guys... Sep 22 14:32:37 <_genuser_> they want you to either use LTS or wipe your machine every 6 mo. Sep 22 14:33:05 <_genuser_> Idiosyncratic: at the time, the really old laptop I was using could only install gentoo, heh. Sep 22 14:33:33 <_genuser_> Idiosyncratic: the debian installer broke and ubuntu was too heavy for it. 700MHz single core. so I went with gentoo and flux. Sep 22 14:33:55 <_genuser_> Idiosyncratic: now, I mainly use it for my fileserver to do raid1. Sep 22 14:34:03 _genuser_: debian's installer broke out on me too a couple of times Sep 22 14:34:36 <_genuser_> Idiosyncratic: mine was really old and the nic wasn't getting regoznied and it wouldn't proceed. I tried a bunch and they all broke. Sep 22 14:35:20 <_genuser_> Idiosyncratic: this laptop didn't have a cdrom either. So I actually installed grub4dos on winNT, and then from grub menu selected the gentoo livecd kernel and loaded it that way. Sep 22 14:37:22 _genuser_: ever tried arch? Sep 22 14:38:04 User Gentoo for a few years, ~2002-2005 or 6. Got sick of the time sink, but I still miss Portage. Sep 22 14:38:08 *used Sep 22 14:38:09 <_genuser_> Idiosyncratic: I did. didn't like the community. (just my opinion) they seemed too snooty. If you can't pacman after reading man, don't bother them. Sep 22 14:38:20 <_genuser_> they're just there to do nothing. Sep 22 14:38:23 _genuser_: lol Sep 22 14:38:44 _genuser_: yeah, arch and debian communities are kinda toxic Sep 22 14:38:53 <_genuser_> I build an lfs, and wrote a package management system in bash. I'd say 60% complete. with dep tracking, etc. Sep 22 14:38:59 <_genuser_> then I realized it's a huge waste of time. Sep 22 14:39:30 <_genuser_> I felt ubuntu was helpful. debian was ok as long as you rtfm'd. openbsd, and arch were the most unhelpful. like they wanted to drive people away. Sep 22 14:40:04 <_genuser_> slackware, if you stick it out, they'll warm up. Sep 22 14:42:18 <_genuser_> Idiosyncratic: back to android, got my lib sorted. git is updated. I need to push out 0.0.3 to bintray and move to the main proj. Sep 22 14:42:28 _genuser_: my problem with these communities is that regardless of how much information you give out to the channel about your problem, there's this vocal asshole that gives you the !rtfm and detracts mature people from trying to help you Sep 22 14:42:52 <_genuser_> one of the things that's missing from #gentoo. Sep 22 14:42:57 <_genuser_> you'll rarely get the rtfm. Sep 22 14:43:11 what's the root of the problem here Sep 22 14:43:15 there's text everywhere Sep 22 14:43:55 <_genuser_> tx: ? in terms of hard to help? Sep 22 14:44:04 yeah Sep 22 14:44:09 _genuser_: it's like there's a competition there about who can appear the most smug Sep 22 14:44:09 ah found it Sep 22 14:44:26 * tx is a big debian user here Sep 22 14:44:43 I suppose the point is that so many problems can be fixed if you look at documentation first. Sep 22 14:44:54 even using --help first! Sep 22 14:45:20 "hey which one of of= or if= is the source and destination" Sep 22 14:45:24 <_genuser_> tx: yep. I think most of my problems when isntalling were driver related, or config related. where I need somethign not covered in teh basic docs. Sep 22 14:45:33 "dd --help | grep of" Sep 22 14:45:44 <_genuser_> tx: yeah, those questions are tough. Sep 22 14:45:52 * tx sighs. Sep 22 14:45:55 tx: not when an update breaks something and the bug tracker of the package doesn't have any solutions and you're curious if someone in the community got a fix Sep 22 14:46:21 I said SO MANY problems can be fixed if people look at doccos first Sep 22 14:46:22 *has a fix Sep 22 14:46:25 not all problems lol Sep 22 14:46:49 it's so easy to just vaguely explain an issue you're having on IRC Sep 22 14:47:00 Meh, dinner time for me Sep 22 14:47:02 rather than doing a google search and looking at answers on stackoverflow or forums Sep 22 14:47:15 so people tend to do it! Sep 22 14:47:41 <_genuser_> man, I washed my mouse (knowing it might destroy it). Then a half hour of blowdrying later, it's still finicky. Sep 22 14:47:47 <_genuser_> seems like I'm gonna be buying a new mouse today Sep 22 14:47:52 what is it? Sep 22 14:48:05 <_genuser_> a cheap wireless microsoft brand. Sep 22 14:48:09 ah Sep 22 14:48:13 <_genuser_> logitech, sorry. Sep 22 14:48:27 was going to say, I use R.A.T mice and they are notoriously PITA'ey on Xorg. Sep 22 14:48:51 <_genuser_> this is win7. standard logitech 30$ mouse. Sep 22 14:49:10 sounds like a hardware problem then :( Sep 22 14:49:11 <_genuser_> I knew I should just use lysol wipes on it. But I was kinda curious too, to see what happens if you really wash it and dry it out. Sep 22 14:49:33 you're really going to need to get in to every nook and cranny Sep 22 14:49:35 <_genuser_> it's either still wet, of my heavy blow drying with super hot air probably broke something. Sep 22 14:49:50 I suggest incinerating it and using a reactor to put the atoms back in place and of the right elemental type Sep 22 14:49:58 <_genuser_> yeah, I opened it up, wipes, blew dry for good 5 min. Sep 22 14:50:11 <_genuser_> I think I'll go shopping tonight. I need a new case too. Sep 22 14:50:21 <_genuser_> I had one machine sitting in a milk crate running out of it. Sep 22 14:50:24 <_genuser_> *have Sep 22 14:50:55 Honestly, it’s hard to find the balance about what to ask. If it takes 2 hours of searching google and reading documentation to find a difficult answer that someone could tell in you 2 minutes in chat, of course it makes sense to go that route Sep 22 14:51:08 A paper tissue and alcohol are usually perfectly sufficient for cleaning computer, keyboard and mouse Sep 22 14:51:12 konk3r: of course Sep 22 14:51:17 But it’s annoying if someone doesn’t at least TRY to google it Sep 22 14:51:21 but a lot of questions are very obvious. Sep 22 14:51:22 yes Sep 22 14:51:36 Google it, look up documentation, and if you can’t find it in ~20 minutes and have no real leads think about asking Sep 22 14:51:39 and it's often easy to tell when people haven't because their questions are uneducated Sep 22 14:51:51 / uninformed Sep 22 14:52:00 <_genuser_> tx: I notice jumping in/out of RDP session is what's messing up the mouse now. odd. Sep 22 14:52:29 <_genuser_> tx: http://www.cryptobadger.com/wp-content/uploads/2013/06/rig_full.jpg Sep 22 14:52:41 pro. Sep 22 14:52:48 <_genuser_> tx: so I got one machien sitting around like that. I could probably buy a new case for it, and a new mouse at the same time. Sep 22 14:52:51 I definitely get that Sep 22 14:53:23 tx: It’s like when someone posts a new question on the sub that can be *easily* answered by googling their exact title Sep 22 14:53:32 indeedy :) Sep 22 14:54:05 <_genuser_> how Ned Flanders of you ... Sep 22 14:54:06 Don’t ask someone else to do your work. At the same time, I’ve definitely run into smug people that get pissed when you ask about something technical that is almost impossible to figure out without help Sep 22 14:54:21 Most people here have been pretty good though Sep 22 14:54:28 have you tried beibg in ##linux during college / uni peak times Sep 22 14:54:38 so many sed, awk, grep homework questions :P Sep 22 14:55:15 <_genuser_> sed/awk stuff, it's just plain impossible to understand for people who're trying to get others to do it for them. Sep 22 14:55:33 <_genuser_> you gotta just sit down with the doc for a bit. maybe 10-15 minutes and you can sort most of the basic sed/awk crap. Sep 22 14:55:38 ikr Sep 22 14:55:43 it's not even hard if you just stop and read Sep 22 14:55:51 <_genuser_> if you don't use it for a while, you'll forget. but that's fine, you can just read it again. Sep 22 14:56:08 "hey how can I extract this data and sort it this way from my built in dictionary file" Sep 22 14:56:20 <_genuser_> ^ that's why stackoverflow was invented. Sep 22 14:56:25 <_genuser_> heh Sep 22 14:56:44 stackoverflow used to be dangerous Sep 22 14:56:48 <_genuser_> I just type in my question into google, and go to the first few SO links. it's mostly answered in one of those. Sep 22 14:56:55 <_genuser_> dangerous? Sep 22 14:57:01 before there was a lot of moderation (by users), people used to post very dangerous answers Sep 22 14:57:03 <_genuser_> malware dangerous of bad opinion dangerous Sep 22 14:57:11 "Oh sure you can do it like this rm -rf ~" Sep 22 14:57:12 :P Sep 22 14:57:18 <_genuser_> oh right. Sep 22 14:57:48 <_genuser_> if you're doing stuff and you spot jake wharton on an okio, okhttp, picasso thread, just ignore everythign else. commonsware is helpful too. Sep 22 14:57:51 <_genuser_> etc. etc. Sep 22 14:59:10 <_genuser_> think this mouse isn't done drying yet. it's selectively ignoring windows, lol. Sep 22 14:59:11 rm -rf ~ == remake, with the root force flags. It rebuilds your home directory using the correct attributes. Sep 22 14:59:42 <_genuser_> and fixes you wifi drivers too! Sep 22 15:01:11 heh speaking of which Sep 22 15:01:22 need to go put the broadcom BT blobs on my NUC Sep 22 15:01:25 to get bluetooth working Sep 22 15:06:33 <_genuser_> wonder if I should blow dry it a bit more. Sep 22 15:07:11 Any hints about in-app billing? That don't require a second device, that I don't have :) Sep 22 15:10:05 hi Sep 22 15:10:42 i clone this https://github.com/chrisbanes/cheesesquare but when i run i have this error: Suppressed: java.lang.ClassNotFoundException: Didn't find class "com.support.android.designlibdemo.MainActivity" , anybody can help me ? Sep 22 15:11:48 somebody just created this account to troll, right? tx? _genuser_ ?? Sep 22 15:14:20 <_genuser_> MikeWallaceDev: heh, unlimited supply of those questions. Sep 22 15:14:57 <_genuser_> MikeWallaceDev: I'm getting my mouse click in random places and I'm trying to determine if it's getting better, or if the first I should do after work is to get a new mouse. Sep 22 15:25:19 Is there a Picasso like library for lazy loading Strings in a TextView? Sep 22 15:25:49 _genuser_: dont worry, gentoo is awesome Sep 22 15:26:09 for me to poop on Sep 22 15:26:38 lol Sep 22 15:26:59 lazy loading strings in a textview? Sep 22 15:26:59 gentoo is great if you don't value your time Sep 22 15:27:01 like.. in a list? Sep 22 15:27:28 Hey guys Sep 22 15:27:29 tx: yeah Sep 22 15:27:50 Got a field in a cell in a listview that has to retrieve a string, which may take a while Sep 22 15:27:52 How do I know what layout portion should go in my fragments and what layout portion should go in my activity? Sep 22 15:29:52 pduin, I still don't see the problem you're trying to solve Sep 22 15:30:03 just display the string when you get it, no? Sep 22 15:30:11 It's basically a semi-heavy database operation to get that string Sep 22 15:30:21 and? Sep 22 15:30:29 using BottomSheetBehavior can i have 2 different expanded heights, the same as Maps App Sep 22 15:30:30 I rather have it lazy load, than directly caching it in the database Sep 22 15:30:45 It's supposed to end up in a listviewcell and I like the scrolling to be smooth Sep 22 15:31:08 So an asynchronous call is a must Sep 22 15:31:24 so the peek size for the first time is 56dp and when you expand it, it become peek height 290dp, and then full screen expanded Sep 22 15:31:26 ok, I get it Sep 22 15:32:08 all i need is just a hint where i can start with it Sep 22 15:32:45 Not sure if that is something that ....dammit, the networking lib that Google made... what's its name?? Any way, maybe it can handle that? Sep 22 15:32:58 but oging to the db instead of the network Sep 22 15:33:38 Volley! Sep 22 15:33:46 Volley!? Let me google that Sep 22 15:33:56 volley's terrible Sep 22 15:33:58 I'm just throwing shit on the wall... Sep 22 15:34:15 I like looking at shit, so that's ok Sep 22 15:34:16 It might not do that at all. Sep 22 15:34:46 Or maybe even UIL? Like instead of loading an image, make a plugin to load from the db? Sep 22 15:35:25 Can someone help a bit with the separation between fragments and activities? Sep 22 15:35:25 The thing is that you will have to deal with threading and views coming and going, cancelling operations, etc... Sep 22 15:35:49 Yeah, that's what I was searching a library for Sep 22 15:37:05 Wait... If you have a cursor, shouldn't CursorAdapter do this already? Sep 22 15:37:15 It's not like this is a new problem... Sep 22 15:39:05 Maybe, I will have to check that out tomorrow. Thanks for the suggestions MikeWallaceDev, I think I have enough material to do some research on how to tackle this Sep 22 15:39:21 coolies! Sep 22 15:40:51 <_genuser_> gordon_: :) Sep 22 15:41:03 <_genuser_> ok, so apparently mispronouncing a kid's name is now Sep 22 15:41:08 <_genuser_> microaggression Sep 22 15:41:32 also, big props for gentoo devs for still developing openrc Sep 22 15:41:43 hopefully they will take over systemd ;) Sep 22 15:42:34 <_genuser_> gordon_: I try to stay openrc. not sure what the whole systemd mess is about Sep 22 15:43:11 _genuser_: too much Sep 22 15:44:47 eh, systemd is a great idea Sep 22 15:44:53 even linus agrees Sep 22 15:45:17 <_genuser_> gordon_: I'm using it most file a fileserver now, or in vmware. Also on just one laptop so I can run TOS on it. Sep 22 15:45:32 <_genuser_> pfn: linus often pontificates about random things. Sep 22 15:45:52 pfn: some of it is good Sep 22 15:45:57 but it becomes a mess Sep 22 15:46:00 big monolith Sep 22 15:46:10 not mentioning binary logs Sep 22 15:46:28 binary logs aren't that big of a deal once tools to work with them become common Sep 22 15:49:00 but it's an init system Sep 22 15:49:29 not dns cache, network manager, login, mounting system or ntc Sep 22 16:06:02 Guys, is this custom attribute declaration correct? https://gist.github.com/anonymous/791ee60bd7a18f858810ad6c8e11abf4 Sep 22 16:06:45 I'm trying to use the attribute here: https://gist.github.com/anonymous/113696344c17f9db53c480fbbb28456f Sep 22 16:06:58 but it doesn't compile Sep 22 16:07:19 It says: Error:(7) No resource identifier found for attribute 'textSize' in package 'com.gk.richtextview' Sep 22 16:07:28 Can you help me? Sep 22 16:07:50 you have to prepend something Arancio , just a sec... Sep 22 16:10:39 <_genuser_> Arancio: let's see I just did that for my lib. Sep 22 16:11:03 <_genuser_> https://github.com/maxpower-ndrd/profileimagecropper/blob/master/profile-image-cropper/src/main/res/values/attrs.xml Sep 22 16:11:06 <_genuser_> that's how I declare them. Sep 22 16:11:44 _genuser_: does my usage look ok? https://gist.github.com/anonymous/113696344c17f9db53c480fbbb28456f Sep 22 16:11:50 Arancio, you didn't declare "custom" Sep 22 16:11:50 <_genuser_> https://github.com/maxpower-ndrd/profileimagecropper/blob/master/image-cropper-test-proj/src/main/res/layout/activity_main.xml Sep 22 16:11:53 <_genuser_> then that's how I use them. Sep 22 16:12:01 you should have a red line there, no? Sep 22 16:12:29 Ooops, just saw it :D Sep 22 16:12:35 <_genuser_> so teh declaration looks fine. Sep 22 16:12:54 you use res-auto Sep 22 16:13:26 <_genuser_> well, I did app: Sep 22 16:13:37 <_genuser_> and then alt-enter in AS when it compained. It auto added res-auto for namespace Sep 22 16:13:37 _genuser_: I used res-auto instead of res/packagename and it worked. Thanks! Sep 22 16:14:27 <_genuser_> see, my lib is helping people already! Sep 22 16:14:29 <_genuser_> lol Sep 22 16:14:34 :D Sep 22 16:14:42 It did help, indeed Sep 22 16:14:45 Thanks! Sep 22 16:14:59 <_genuser_> no worries, just glad I actually know something. Sep 22 16:15:13 <_genuser_> or rather "have something for lookup when needed" Sep 22 16:22:45 d Sep 22 16:22:47 d Sep 22 16:25:04 Is their any way I can make a completely empty project in AndroidStudio. I am even "app" folder should not get created. I want to make everything inside modules. Sep 22 16:25:22 you’re going to need app Sep 22 16:25:47 just rename app to whatever it is you eventually want the project to be called Sep 22 16:28:07 In marshamallow if we this property "setprop persist.fw.force_adoptable 1" as hard coded in board config, there will be any performance issues. Sep 22 16:28:22 thanks s73v3r Sep 22 16:29:20 t2mkn- that cant be possiable Sep 22 16:30:57 ya, a facility should be added like that. Sep 22 16:31:59 why? You’re going to need a module. it doesn’t make a whole lot of sense to not add one by default Sep 22 16:32:26 Can someone tell me if there's an XML alternative to making a PopupWindow's background dim? I have only found this method, but it's wasteful http://hastebin.com/unusecoban.go Sep 22 16:34:26 how to add cpu-utilization UI logging feature to android application Sep 22 16:34:54 like, a graph of CPU Utilization? Sep 22 16:35:00 you can turn that on in the Developer options Sep 22 16:36:01 IT Sep 22 16:36:03 WORKS Sep 22 16:36:04 ! Sep 22 16:36:08 Thanks guys! Sep 22 16:37:35 s73v3r- like graphs cpu utilization on the android application Sep 22 16:38:06 i like to create an applicatioin in which one part of the screen should display the cpu utilization Sep 22 16:38:13 how i can i do that. Sep 22 16:39:44 In Developer Options, there’s a “Show CPU Usage” option, which shows a text form of something that sounds similar to what you want Sep 22 16:39:52 i’d look at the source for that, and see what they’re doing Sep 22 16:40:23 once you get the numbers, there are any number of graphing libraries Sep 22 16:41:41 I would probably just read /proc/stat if you want a % lol Sep 22 16:42:18 ok Sep 22 16:42:45 that too. I’d be willing to bet that’s what the developer options thingy is doing Sep 22 16:43:42 tx- how would u read /proc/stat from android-app Sep 22 16:44:31 iirc they restricted access to /proc in N Sep 22 16:45:56 how the cpu utilizatioin data can be read from android-app Sep 22 16:46:26 it’s been a while, but I think you can read it just like a file Sep 22 16:47:02 SimonVT; heh Sep 22 16:47:49 iron_host; here's the secret Sep 22 16:48:02 use ActivityManager.RunnngAppProcessInfo Sep 22 16:48:05 what kind of permissons should i give to xml file Sep 22 16:48:14 and ActivityManager.RunningTaskInfo Sep 22 16:48:36 tx- good Sep 22 16:51:30 ugh, does appcompat have an agnostic way of loading a drawable (vectordrawable)? Sep 22 16:51:33 tx-is there any possiably to show live cpu utilization on android application Sep 22 16:52:35 pfn: Maybe AppCompatResources#getDrawable Sep 22 16:52:40 AppCompatResources Sep 22 16:52:51 was just finding it in apidoc, thanks Sep 22 16:53:25 hi, just trying again, is there a way to get the parent control setting for the max content rating ? Sep 22 16:57:33 Hi, is there a way to document flows with some mockups for android apps? I mean... there was a guide that I can't find now about gestures and what they means and how to use them, seems that guide show how a "slide" gesture and I'm looking something similar to document my apps Sep 22 16:58:02 that guide is in Android website but now I can't find it, don't remember how it is called Sep 22 17:03:05 aah finally this: https://material.google.com/patterns/gestures.html Sep 22 17:03:12 thanks anyway.... Sep 22 17:03:16 http://hanhuy-acra.appspot.com/public/com.hanhuy.android.irc.lite/e612c60ba1d0f29843f3a31cdceb68c90bc81949 Sep 22 17:03:27 ugh, wish it would tell me what the actual failure was... Sep 22 17:04:11 but systemui is another process, and the exception doesn't propagate :-/ Sep 22 17:04:15 uhh. anyone push a beta apk to the play store and not get the "update" option? Sep 22 17:11:00 Hello, I read on Google API that RecyclerView has a default animation for adding/removing items, but i cant see this animation. I added an AnimationListener on the Recycler, its never called Sep 22 17:12:04 After adding item on the adapter, i call mAdapter.notifyItemInserted(position); Sep 22 17:12:15 it refresh the View, but no anims Sep 22 17:13:36 E ( 1618) StatusBar: java.lang.RuntimeException: Binary XML file line #3: You must supply a layout_height attribute. Sep 22 17:13:37 'ah, there it is Sep 22 17:13:48 weird, not having this problem in api21 or api19... Sep 22 17:13:51 mtR_: iirc the animations only occur when you do a notify add or remove Sep 22 17:13:59 rather than just notify the adapter that the data has changed Sep 22 17:14:30 https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter.html Sep 22 17:14:48 notifyItemChanged / Moved / Inserted / Removed Sep 22 17:14:57 I haven't played with it for a while though Sep 22 17:15:48 You mean should notify the RecyclerView instead of his adapter ? Sep 22 17:16:05 oh, yes Sep 22 17:16:06 sorry :p Sep 22 17:16:26 notify the attached view Sep 22 17:16:31 I guess is a better way of putting it Sep 22 17:17:32 Notifying the adapter is the right way of doing it Sep 22 17:18:17 ah wait I did link to the adapter Sep 22 17:18:20 phew, yeah Sep 22 17:18:40 I thought I was reading the recyclerview spec for a second :p Sep 22 17:18:41 Haven't had any issues with it not working out of the box Sep 22 17:19:12 same, did you try to remove an item in the middle of your screen too? and remove this animationlistener you don't need it atm Sep 22 17:19:26 iirc, there is almost no animation if the item is at last position or not visible Sep 22 17:19:55 ill try with middle item Sep 22 17:20:04 or maybe you're not calling mAdapter.notifyItemInserted(position); on the UI thread Sep 22 17:20:17 there must be a reason Sep 22 17:21:11 weird resources configuration bug... Sep 22 17:21:22 for some reason, my values-v16/dimens.xml is getting ignored.. Sep 22 17:24:44 Items just shows up so fast, i cant even see if there is an anim :/ Sep 22 17:24:51 Good enough reason to drop api16 support Sep 22 17:25:32 hmm, interesting, maybe it's because of my fucked up config scoping, the layout file is in layout/ there is no corresponding @dimen/height in value/ but it only exists in values-v16+ Sep 22 17:25:47 mtR_: I think you can slow down animations in the Developer Options on the device Sep 22 17:26:36 Maybe you disabled animations in dev options.. Sep 22 17:26:43 They should be fairly obvious Sep 22 17:27:31 SimonVT, my stupid app still runs on api8 or something silly Sep 22 17:27:45 capella-5x had to end my FF experiment for now. with just 1-2 tabs (split process) it started off good, but after some 'heavy browsing' maybe 10 websites or so, mem usage goes through the roof to 1.4G. Safari stays flatlined. This new AS seems to be using more memory too, wonder if its OpenJDK Sep 22 17:28:15 weird, for some reason, my @dimen/notification_height isn't getting found... Sep 22 17:28:33 pfn is this using iotta or regular android ? Sep 22 17:28:52 this is a remoteviews, it must all be xml Sep 22 17:28:58 iota wouldn't have this problem :P Sep 22 17:29:30 g00s, noted! Sep 22 17:29:50 i'll try 50 when it hits beta :D Sep 22 17:30:22 Still have active users on api8? Sep 22 17:30:40 :') Sep 22 17:31:33 SimonVT, apparently... Sep 22 17:31:45 Even the support libraries are minsdk 9 Sep 22 17:31:54 at the same time, play store doesn't give me a breakdown of api level + versionCode Sep 22 17:32:06 actually, I just said 8, it's probably 10 or something Sep 22 17:32:14 I just call 2.3 8 for some reason Sep 22 17:32:52 i set windowTranslucentStatus true and windowDrawsSystemBarBackgrounds true and CoordinatoLayout with android:fitsSystemWindows="true" and inside i have AppBarLayout and a Toolbar, in my toolbar i have app:layout_scrollFlags="scroll|enterAlways" Sep 22 17:33:54 when i scroll up my toolbar is below the status bar Sep 22 17:34:05 i need it out of screen, only apear my tabs Sep 22 17:35:08 android.database.sqlite.SQLiteDatabaseCorruptException: database disk image is malformed (code 11) Sep 22 17:35:14 this is a comforting exception... Sep 22 17:35:46 pfn did you try opening a read-only db with WAL enabled ? Sep 22 17:36:03 yeah, those are very sad things Sep 22 17:36:06 all defaults, no Sep 22 17:36:44 it's a rare bug report Sep 22 17:36:57 some of the oems fiddle though ... Sep 22 17:37:06 HTC enabled wal by default on some models Sep 22 17:37:08 I've seen that as well, I just ignore it.. I figure the device is messed up somehow Sep 22 17:37:28 http://hanhuy-acra.appspot.com/public/com.hanhuy.android.irc.lite/d26d30b4e3181bee064bbed9444bb5325ec5f613 Sep 22 17:37:43 i have similar situation https://mzgreen.github.io/images/3/scrollingtoolbar.gif but my status bar is transparent and show the parts of toolbar when scroll up Sep 22 17:39:09 t0th_-_, then don't request windowTranslucentStatus Sep 22 17:39:45 i need it Sep 22 17:39:58 then make all the views fitsSystemWindows Sep 22 17:40:05 up until the one that you want to scroll under the toolbar Sep 22 17:40:10 er, under the status bar Sep 22 17:40:27 translucent status bar and nav bar are the biggest pains Sep 22 17:40:34 almost no one does it Sep 22 17:41:13 Is multicast really disabled on Android 5.0 and higher? The second post in this StackOverflow thread says so http://stackoverflow.com/questions/35832133/android-multicast-working-very-unreliably Sep 22 17:47:21 I doubt it Sep 22 17:48:29 http://venturebeat.com/2016/09/21/google-play-starts-rolling-out-to-chrome-os-stable/ Sep 22 17:48:38 time to test on chromebooks :P Sep 22 17:49:21 for 1% of market ? Sep 22 17:49:54 wonder if chromebooks become serious pcs like macbooks one day Sep 22 17:50:06 Well i made my animation work, by changing my Adapter type to RecyclerView.Adapter instead of the real name of my adapter Sep 22 17:57:03 hi guys Sep 22 17:58:07 I have question I'm building .aar library file and I have problems with including dependencies especially dagger.Does anyone has experiance with it ? Sep 22 17:58:18 including dependencies is automatic Sep 22 17:58:47 but I get this issue Caused by: java.lang.ClassNotFoundException: Didn't find class "dagger.internal.Preconditions" on path Sep 22 17:59:08 be specific Sep 22 17:59:24 and where is the pom for your aar Sep 22 18:00:40 if your aar has no pom, then you must add the dependency in your consuming project Sep 22 18:01:04 owh ok Sep 22 18:01:37 so how do I generate pom or android studio does it when I build my library project ? Sep 22 18:01:59 pom is only used if you publish it to a repo Sep 22 18:02:10 locally or otherwise Sep 22 18:02:19 well I want to use .aar file locally Sep 22 18:02:31 if you use the .aar by itself, then you must always specify its dependencies in your consuming project Sep 22 18:03:03 so there is no other way around ? Sep 22 18:03:12 not if you want to be sane Sep 22 18:03:43 well my client wants closed source and I was thinking to create .aar file and distribute it via cdn Sep 22 18:03:54 your cdn can be a maven repo Sep 22 18:03:58 just a private repo Sep 22 18:04:01 and the problem is solved Sep 22 18:05:27 I guess there is a way to include all libraries as jars too but that's like shooting in my leg Sep 22 18:05:46 use a proxy repo Sep 22 18:06:25 any self-respecting java shop has one setup Sep 22 18:07:15 yeah, but there’s a difference between a java shop and a mobile shop Sep 22 18:08:38 a client that utilizes cdn is often a java shop Sep 22 18:08:54 (i.e. operations at scale tend to use enterprise platforms like java) Sep 22 18:10:14 anyone using firebase invites? if so, do you use a html template or just a message? Sep 22 18:18:42 hey guys, does anyone know how I can declare an intent filter to open all links for *.domain.com in my app? Sep 22 18:28:36 so i want to set a BreakPoint on my views bc when I scroll down a card disappears , and never get redrew onto the screen. Sep 22 18:29:08 How would I set a BP on something like a recycler view ( how to i get to this code in AndroidStudio) Sep 22 18:32:53 you should read the documentation, but to set a BP you usually (like in most IDE including AS) clicks on the left bar between the line numbering and the code line Sep 22 18:33:08 a red disc will be displayed showing there is a breakpoint there Sep 22 18:40:47 ohhh .. yeah sorry I want to set a BP in the android code not my own. how do I reach the recyclerview class was the issue ( or any specific background class that I dont override ) Sep 22 18:43:44 view source for the class Sep 22 18:43:47 set breakpoint Sep 22 19:14:30 ugh, I hit @j in ideavim and now intellij is ghosttyping some macro I recorded like years ago... Sep 22 19:15:04 pfn: I've did what you proposed I made additional gradle file that comes with .aar file then I do apply from in my app gradle file but as I have fat aar file that's composed from multiple modules all my resources are merged and as I'm referencing some of resources in code I get NoClassFoundException any thougths about resources Sep 22 19:15:38 resources are unrelated to noclassdeffound Sep 22 19:15:40 be specific Sep 22 19:15:58 hitting qj ftl Sep 22 19:16:08 I'm using getString(R.string.something) Sep 22 19:16:22 and I must import com.example.R Sep 22 19:17:08 again, what you're asking is unrelated Sep 22 19:17:08 be specific Sep 22 19:33:36 Does okhttp respect response Cache-Control headers, and not hit the network if the max-age is so large? Sep 22 19:38:01 yep Sep 22 19:38:11 Remember to set a Cache on your OkHttpClient Sep 22 19:40:34 SimonVT: I am setting "new Cache(getExternalCacheDir(), 1024*1024 * 10)" on my OkHttpClient (with OkHttp3) and am getting response headers of "max-age=60" which I would expect to cache for 1 minute, and not hit the network during that time, but it is Sep 22 19:42:10 I don't really know the spec, but OkHttp should follow it Sep 22 19:42:22 Or at least behave like Firefox/Chrome Sep 22 19:42:53 Hmm okay thanks. That's what I was thinking/hoping, just not able to get it working :P Do you know the spec JakeWharton Sep 22 19:47:31 The comment on the Javadoc for the CacheControl.java file makes it sound like either s-maxage or max-age is not honored by the okhttp cache, https://square.github.io/okhttp/3.x/okhttp/okhttp3/CacheControl.html#sMaxAgeSeconds-- Sep 22 19:52:01 Okay this makes it pretty clear that s-maxage is the one not respected https://github.com/square/okhttp/blob/master/okhttp/src/main/java/okhttp3/internal/cache/CacheStrategy.java#L84 Sep 22 19:52:03 howdy Sep 22 19:55:37 hi Sep 22 19:55:48 i clone the https://github.com/chrisbanes/cheesesquare Sep 22 19:56:09 when i try run i have this error: Suppressed: java.lang.NoClassDefFoundError: com.support.android.designlibdemo.MainActivity Sep 22 19:56:18 Caused by: java.lang.ClassNotFoundException: Didn't find class "com.support.android.designlibdemo.MainActivity" on path: DexPathList Sep 22 19:57:23 anyone have a surface book? Sep 22 20:12:51 http://hanhuy-acra.appspot.com/public/com.hanhuy.android.irc.lite/e4a1474421b8a330b6951fdd14f1dee0b4c0dbaf Sep 22 20:13:03 hmm, why can't it resolve R.attr.selectableItemBackground... it's provided by appcompat Sep 22 20:18:27 maybe it's not being handled by appcompat for blackmagic reasons, otherwise it makes sense since API 11 min: https://developer.android.com/reference/android/R.attr.html#selectableItemBackground Sep 22 20:20:32 adq, it's appcompat.R.attr.selectableItemBackground Sep 22 20:20:35 not android.R Sep 22 20:20:59 * pfn shrugs, fuck 2.3.8 ;-) Sep 22 20:21:01 well, it was not obvious when i looked the crash report Sep 22 20:21:07 maybe because of proguard? Sep 22 20:21:21 i have no idea, so many things go wrong on android all the time for me anyway ;) Sep 22 20:21:24 the resource has been removed Sep 22 20:21:37 and in this case, it's failing to resolve the resource in the theme Sep 22 20:21:51 old crash report anyway, maybe new appcompat fixes it Sep 22 20:28:47 ugh, it looks like this bug has trickled into some 6.0.1 devices: https://code.google.com/p/android/issues/detail?id=191246 Sep 22 20:33:19 I wish AS would remember and set what was the last tab used on any group side (split win) when i move an active tab on the other side/group instead of giving me anything except the last tab used Sep 22 20:33:35 searched and tested all possible related settings, none does it Sep 22 20:33:49 s/on the other/to the other/ Sep 22 20:41:13 <_fg> I'm running the android emulator from a fully updated android studio, no skin, 1920x1080 (landscape) resolution, 420dpi, Android 7.0 (tried with 6.0 too) and when I launch it, I can only see the home button in the navigation bar, back and recent are missing. It's not just the icons missing, if I click anywhere in the navigation bar it will trigger the home button action. I've also tried different ABIs and got the same results. Any Sep 22 20:41:13 <_fg> ideas on how to fix that? Thanks Sep 22 20:41:40 Grab Genymotion instead? Sep 22 20:47:11 <_fg> That would be an option, but I'd rather stick with the stock emulator, if possible :) Sep 22 20:59:44 there really isn’t much reason to, other than Genymotion is only free for non-commercial use. Sep 22 21:00:20 Help! I call imputMethodManager.toggleSoftInput(InputMethodManager.SHOW_FORCED,0 ); inside onResume() but the keyboard appears only when the device is in landscape mode. Why? Sep 22 21:03:04 <_fg> I'm actually using for work related stuff Sep 22 21:03:15 so emulator it is Sep 22 21:03:23 have you tried destroying and recreating the emulator image? Sep 22 21:03:38 or tried a smaller sized device? Sep 22 21:04:25 s73v3r: how do I pronounce your nick? Sep 22 21:08:57 <_fg> s73v3r, Yes. I tried recreating it several times, changing devices, resolution, dpi, pretty much everything I could think of :) As additional information, if I change the dpi so that it looks like a tablet device, it works fine, with the navigation bar at the bottom on landscape. Also, while N shows the home button, M shows a blank bar. Sep 22 21:15:32 _fg: hi Sep 22 21:35:55 with MVP, i'm finding myself creating services with the sole purpose of promoting priority in the lifecycle, it doesn't feel right having empty services Sep 22 21:36:16 :-/ Sep 22 22:05:30 services are only useful for being a lifecycle container Sep 22 22:05:35 unless you're doing IPC Sep 22 22:07:04 although, I don't see how any MVP component outlives an activity Sep 22 22:07:58 pfn: if you wish to keep the model around and updated even when switching activities, Sep 22 22:08:10 Or between multiple activities (multiwindow!) Sep 22 22:08:27 (although multiple windows of the same app still require a hack, right?) Sep 22 22:22:15 looks like adb is having problems on macOS sierra Sep 22 22:24:01 bunch of stuff doesn't work on sierra Sep 22 22:24:07 Worth waiting for 10.12.1 Sep 22 22:25:53 hmm, global entry is $100 and you automatically get tsa pre with that? shit, that's a no brainer to apply for Sep 22 22:28:43 Mavrik i'm just about to update 10.11.{latest} :D i stay 1 release behind Sep 22 22:28:59 they seem pretty bad with bugs too lately Sep 22 22:29:30 Also stuff like PPTP is gone. Sep 22 22:29:34 Karabiner doesn't work. Sep 22 22:29:36 Bunch of other bugs. Sep 22 22:29:48 * g00s googles karabiner Sep 22 22:29:48 All of that for... Siri? Bounch of iOS integration crap? Sep 22 22:30:09 what's a good android development podcast? Sep 22 22:30:42 hexagonSun_ fragmented podcast i guess Sep 22 22:30:49 i haven't listened to them but they seem popular Sep 22 22:31:11 cool, thanks Sep 22 22:32:02 They're ok. Sep 22 22:32:10 Android Dev Backstage is fine too Sep 22 22:32:53 will check Mavrik Sep 22 22:40:21 i can't listen to stuff that long, get bored Sep 22 22:40:37 hey TacticalJoke Sep 22 22:41:09 Hey, g00s. Sep 22 22:44:44 you guys see this? https://developers.google.com/android/guides/app-preview-messaging Sep 22 22:45:57 thought google was giving us the business with it being some speial google-only feature with the integration on allo Sep 22 22:57:26 what format does a image need to be to be added to a image view? Sep 22 22:59:17 ffs already tried jpg and png Sep 22 22:59:31 both should work Sep 22 22:59:43 Any of supported formats will work. Sep 22 22:59:48 (Listed on d.android.com) Sep 22 22:59:52 unless you really tried ppg and jng :D Sep 22 23:12:53 ffs Sep 22 23:13:46 mImageView.setImageResource(R.drawable.img24); Sep 22 23:15:54 <_genuser_> do any of you connect your github repos with your real life persona? Sep 22 23:16:21 <_genuser_> so that the employer can then search your name, find your other social links and go thru what you do. Sep 22 23:16:40 <_genuser_> not that I do controversial stuff, but I figure a carefully created persona just for work is probably still better. Sep 22 23:16:42 MikeWallaceDev: A wild Mike Wallace sighting! Sep 22 23:17:13 * MikeWallaceDev raises head from behind bushes Sep 22 23:17:23 _genuser_: I'm very private. I like the idea of a carefully created persona. Sep 22 23:17:25 _genuser_, having a real persona on GitHub is an asset not liability. Sep 22 23:18:15 I'm not smart enough to have a persona... Sep 22 23:18:40 I'm all out there... Want my phone number? It's on my G+ profile. Sep 22 23:18:45 'Persona' sounds like a Spanish guy trying to speak English. Sep 22 23:18:57 Italian guy :D Sep 22 23:18:57 Also don't do stuff publicly under your name you'd regret :P Sep 22 23:19:58 My number is no. I'm from the Meghan Trainor school of privacy. Sep 22 23:21:42 Why does 'Gradle Build' take so long when there are no changes. :[ Sep 22 23:22:45 <_genuser_> TacticalJoke: right, I understand that. Sep 22 23:23:10 <_genuser_> Mavrik: agreed, however, my username is shared by my other social media personas. Sep 22 23:24:04 <_genuser_> Mavrik: really all I participate in is a little soccer a little tech mention once a year, but still I do'nt like the idea of slipping up and saying something that can be connected to my "mr. business" persona. Sep 22 23:25:02 <_genuser_> TacticalJoke: there's a meghan trainor school of privacy? Sep 22 23:25:06 hrmf. Sep 22 23:25:13 Not sure if that's how you should approach it. Sep 22 23:25:32 I'd rather say that your other personas should never broadcast things you wouldn't let your employer see. Sep 22 23:25:58 <_genuser_> you know how it is, you get a little carried away, you post somethign about your favorite soccer team losing... and then.... Sep 22 23:26:12 <_genuser_> kinda like Hope Solo made a mistake and called the other team cowards. Sep 22 23:26:31 <_genuser_> ok bad example, she'd been building up the rage for a while. Sep 22 23:26:37 Don't. Sep 22 23:26:40 Seriously. Sep 22 23:26:43 _genuser_: https://youtu.be/cMTAUr3Nm6I Sep 22 23:26:47 What you post on the internet stays on the internet. Sep 22 23:26:50 And can be connected to you. Sep 22 23:27:09 <_genuser_> Mavrik: for the most part, I avoid online discussions, etc altogether. Sep 22 23:27:36 <_genuser_> and yep, if it's online it will stay online. But the degree of work required to connect it to you might be different. employer vs. google. Sep 22 23:27:42 <_genuser_> google probaby knows what you dream about, lol. Sep 22 23:28:26 No, it's not different. Sep 22 23:28:43 <_genuser_> hmm, you're thinking all those background check companies that can really build a profile? Sep 22 23:29:04 No, I'm thinking about just how easy it is to connect nicks to a real person by pretty much anyone with a bit of time. Sep 22 23:29:22 And just how easy it is to broadcast that to anyone, including all your friends and employers. Sep 22 23:29:27 <_genuser_> Mavrik: true that. I can see what you're saying. Sep 22 23:29:32 All you need to do is piss of a single troll :) Sep 22 23:29:47 Also, most employers don't care about what you think about football :P Sep 22 23:30:05 Unless you work at my company. Then you'll get beer and a flamewar about which team is better :P Sep 22 23:30:26 <_genuser_> probably better to either have a completely different username for dumbassery, or just leave it alone altogether. Sep 22 23:30:29 It's not that easy, Mavrik. Sep 22 23:31:01 Most people couldn't connect pseudonyms with real persons even with huge amounts of time, as long as the real person has been careful. Sep 22 23:31:09 The NSA, on the other hand, could easily do so. Sep 22 23:31:50 <_genuser_> pissing of a technically minded troll, yep. Sep 22 23:32:01 <_genuser_> they'll go all out, find your IP, then link it to your home address and bam. you're made. Sep 22 23:32:26 <_genuser_> I have never really used my real name online. so if it's just a random shmuck looking for me, they won't find me. Sep 22 23:32:34 How would they link it to your home address? Sep 22 23:32:44 TacticalJoke, if they're careful yes. Sep 22 23:32:48 But that means constant paranoia Sep 22 23:33:10 A single photo posted on twitter will break that. Sep 22 23:33:16 Because it gives out GPS coordinates. Sep 22 23:33:41 Or you know, after 5 years you'll wanna sell your phone on a forum and have to give out your address or something. Sep 22 23:33:51 It's incredible what comes back to haunt people. Sep 22 23:34:02 (Like us having issues with publishing BBS logs from 1990s :P) Sep 22 23:34:13 (Biggest trolls there are bosses and parents now.) Sep 22 23:34:37 never heard of anyone doing that, publishing old trolly shit from bbs way back in the day Sep 22 23:35:26 It worries me just how forthcoming kids today are with their details. Sep 22 23:35:37 They all post their full names, general locations, photos. Sep 22 23:35:44 <_genuser_> TacticalJoke: all those people who piss someone off online and then somehow their entire personal lives are leaked. I don't know how. Sep 22 23:36:01 _genuser_: Because they're clueless about anonymity. Sep 22 23:36:01 <_genuser_> I'm really not super informed on all that. Sep 22 23:36:15 Just posting a photo, as Mavrik says, might be enough. Sep 22 23:36:16 <_genuser_> TacticalJoke: not being super informed about all that, I might have made similar mistakes.... Sep 22 23:36:25 TacticalJoke, i've just started 'what if aristotle's kid had an ipod' Sep 22 23:37:21 <_genuser_> Mavrik: so back to my github. I figured posting some android code might help me migrate from .NET to android. Sep 22 23:37:57 <_genuser_> but now it's linked to my github nick. which isn't tooo far away from my other nicks. so err, maybe I should change it to either my real name or another random name. Sep 22 23:38:10 <_genuser_> or screw the world, deal with it. I have opinions... lol. Sep 22 23:38:16 just deal with it Sep 22 23:38:43 _genuser_, or maybe you should be a single self only Sep 22 23:38:59 <_genuser_> bitkiller: yeah, but that single self would have to be super groomed. Sep 22 23:39:05 <_genuser_> you can only exist online with a single purpose. Sep 22 23:39:29 <_genuser_> or a single persona onine can only exist with a single purpose. Sep 22 23:39:36 <_genuser_> mixing them gets all ... blah. Sep 22 23:41:32 I don't think we even have a single self. Sep 22 23:41:54 <_genuser_> oh, you hear voice too? :p Sep 22 23:41:56 How we act at work is (or should be) way different from how we act while drinking with the boys. Sep 22 23:43:16 TacticalJoke, we would get too much offtopic for the channel, but, yeah, the single self is just a target, probably unreachable in this life Sep 22 23:43:18 Depending on the job. Sep 22 23:43:22 <_genuser_> Mavrik: heh, how about when people post your pictures online and then tag you, lol. Sep 22 23:43:38 bitkiller: Hmm, I wonder whether it's even desirable. Sep 22 23:44:13 Hey guys Sep 22 23:44:32 The other day, I had to scream at one of my neighbours, almost getting into a physical fight. 30 minutes later, I was carrying my one-year-old niece. I was arguably a totally different person. Sep 22 23:44:42 <_genuser_> bitkiller: I kinda like the idea of multiple identities, carefully crafted for each purpose. Work, Music (I don't mix this with others), Writing, Drawings, Regular online pontifications... Sep 22 23:44:55 Can someone please help me with this bug I'm having trying to load a fragment from an uninstalled APK? Sep 22 23:45:12 http://pastebin.com/4WxDt5cg Sep 22 23:45:20 TacticalJoke, a spanish writer named Jose Ortega y Gasset wrote 'i am me and my circunstances' Sep 22 23:45:39 That's a good way of putting it. :] Sep 22 23:46:02 <_genuser_> I think that's slightly different than putting forth a single purpose face. Sep 22 23:46:17 <_genuser_> your circumstances shape you into the person, but that doesn't mean you have singular focus in life. Sep 22 23:46:42 <_genuser_> kinda like folders. if we dumpted every file into a single folder... oh boy. Sep 22 23:46:58 TacticalJoke, _genuser_, are you guys experienced with using AssetManager and Resources? Sep 22 23:47:40 if the apk is uninstalled, why would you think you’d be able to get the fragment? Sep 22 23:47:42 <_genuser_> android-dev916: you're using a compiled apk and trying to parse out of it a single fragment and load it? Sep 22 23:48:00 I think I will be able to. Sep 22 23:48:02 also, why don’t you just use the fragment in your code Sep 22 23:48:03 Yes I am Sep 22 23:48:11 Because I want to load it dynamically Sep 22 23:48:14 And update it remotely Sep 22 23:48:22 that is a terrible idea Sep 22 23:48:27 I can load classes, but not a fragment Sep 22 23:48:39 you will spend far more time trying to make this work than you will ever gain in being able to change it dynamically Sep 22 23:49:02 <_genuser_> is the other apk yours? can you not just pull in the code into your proj? Sep 22 23:49:05 if your goal is a view that will be updatable remotely, you’d probably be better off with a webview Sep 22 23:49:06 Yes it's my APK Sep 22 23:49:15 I want to do native views/code though Sep 22 23:49:21 It's just a side thing Sep 22 23:49:35 <_genuser_> not sure how to help you, sorry. Sep 22 23:49:39 I was able to find a resource but it's in chinese and badly translated into english Sep 22 23:50:10 https://github.com/singwhatiwanna/dynamic-load-apk Sep 22 23:50:17 <_genuser_> I'd say some joke abou translations but as Mavrik says DON'T. Sep 22 23:50:20 if the thing is uninstalled, then you can’t count on it being there Sep 22 23:50:24 <_genuser_> even freenode is logged. Sep 22 23:50:52 <_genuser_> my understanding is, he's shipping an apk with his main apk... as resource? data file? Sep 22 23:51:11 my understanding is that it’s another apk that might be on the device? Sep 22 23:51:29 <_genuser_> that's just risky business. half the time you can bring up installed crap. Sep 22 23:51:32 that’s probably something that could use some clearing up Sep 22 23:51:34 <_genuser_> especially on samsung devices. Sep 22 23:51:50 No the other APK is also mine Sep 22 23:51:56 I am downloading it to internal storage Sep 22 23:52:04 how? Sep 22 23:52:04 Think of it as over the air updates Sep 22 23:52:06 <_genuser_> as data file? Sep 22 23:52:08 "Yahoo says 500 million accounts stolen" lol Sep 22 23:52:10 As an APK Sep 22 23:52:13 <_genuser_> after the main app is installed? Sep 22 23:52:20 <_genuser_> g00s: you gots link? Sep 22 23:52:22 You can pull classes out, just XML Resource Files I am not able to yet Sep 22 23:52:29 http://money.cnn.com/2016/09/22/technology/yahoo-data-breach/ Sep 22 23:52:40 _genuser_: yes after the main app is installed Sep 22 23:52:46 <_genuser_> g00s: thanks. I tired earlier yahoo's own main page. figured they wouldn't put it there. Sep 22 23:53:32 <_genuser_> state sponsored actor, in 2014. Sep 22 23:53:34 I mean XML layouts* Sep 22 23:53:36 <_genuser_> so why bother informing people now. Sep 22 23:53:46 why not just include the layouts in your main app? Sep 22 23:53:57 and just download the config through a web call? Sep 22 23:54:04 <_genuser_> or just download xml files as xml from the same place where you download apk from. Sep 22 23:54:14 Yes, but how to render XML into a layout Sep 22 23:54:23 That's also a nightmare Sep 22 23:54:36 you can dig into the bowels of the layout inflator, and see what you can do there Sep 22 23:54:38 <_genuser_> you dynamically generate an xml and then add it to the layout? Sep 22 23:54:50 Yeah something with reflecting XmlBlock Sep 22 23:54:51 <_genuser_> yeah, I was gonna say you're trying to write a JIT layout inflater. Sep 22 23:55:16 Class clazz = Class.forName("android.content.res.XmlBlock"); Constructor constructor = clazz.getDeclaredConstructor(byte[].class); constructor.setAccessible(true); Object block = constructor.newInstance(data); Sep 22 23:55:16 but to be honest, once you’ve gone to the point of downloading stuff yourself, there really isn’t any reason for it to be in an APK Sep 22 23:55:19 you could try an AAR Sep 22 23:55:39 True... Sep 22 23:55:43 or, what’s the thing games do Sep 22 23:55:47 the resources download Sep 22 23:56:07 obb? Sep 22 23:56:16 that might be it Sep 22 23:56:30 <_genuser_> the breach is said to have occured in 2014. Yahoo urges users to change their password. Sep 22 23:56:34 <_genuser_> 2 years lATER!!!! Sep 22 23:57:01 I want to load layouts though, layouts included in another apk Sep 22 23:57:11 I don't know why it's so hard. Does anything look wrong with the code I posted? Sep 22 23:57:28 it’s hard because it’s not something that was ever supported Sep 22 23:57:52 <_genuser_> right, you're supposed to just compile it in. Sep 22 23:58:08 loading layouts like that can be a huge backdoor Sep 22 23:58:42 <_genuser_> so then layout will have associated class functionality behind it. You're shipping that along wiht it also? Sep 22 23:58:50 <_genuser_> button in layout, button click code in class? Sep 22 23:59:10 yeah, how do you actually populate the layout, and handle the events from the layout? Sep 22 23:59:42 <_genuser_> I'd just _install_ a second apk/app, that accepts certain intent.s Sep 22 23:59:53 <_genuser_> then just send those activities the work, and receive back the result. Sep 23 00:00:48 <_genuser_> that way you can load new view which can be smaller apks, etc. etc. But unless you app is huge, probably just update the app with a new view. Sep 23 00:01:16 well, today a fixed a problem with a kind of an android cms renderer Sep 23 00:01:58 android-dev916: the other option is to just use React Native Sep 23 00:02:03 <_genuser_> bitkiller: and I thought what I did was exciting. Sep 23 00:02:05 it basically takes db data with ui items specs (positioning, size, type) and lays it out Sep 23 00:02:28 but it's ugly and not very usable i'd say Sep 23 00:02:49 but... the client asked to be this way Sep 23 00:02:51 <_genuser_> I washed my mouse, does that count as exciting? Sep 23 00:02:59 JobScheduler: "As of API 24, you can now use a content provider change as a trigger to perform some work. " Sep 23 00:03:07 those damn providers just won't go away ! Sep 23 00:03:08 <_genuser_> *NOT my pet. My computer mouse. Sep 23 00:03:46 _genuser_, yesterday i lost my root partition Sep 23 00:04:07 Did you clean it with mousewash? Sep 23 00:04:16 <_genuser_> bitkiller: hd failure or user error? I've lost mine before due to typing in wrong number in fdisk /dev/sdX Sep 23 00:04:17 _genuser_, by luck it wasn' t /home Sep 23 00:04:38 <_genuser_> bitkiller: lol, mine was my windows partition on a dual install. lost ALL my music projects. Sep 23 00:04:46 my error while resizing it using gparted Sep 23 00:04:58 <_genuser_> as long as your data is safe! Sep 23 00:05:02 gparted is still around ? :D Sep 23 00:05:12 i used to call it dparted Sep 23 00:05:24 like, when you fuck up and your stuff departs :) Sep 23 00:05:29 or it does Sep 23 00:05:31 <_genuser_> heh. Sep 23 00:05:42 <_genuser_> one of the benefits of gentoo is it's versionless. and ever evolving. Sep 23 00:05:58 <_genuser_> once you install it, you don't have to do any of the gparted type stuff again. Sep 23 00:05:59 "agile" Sep 23 00:06:01 _genuser_ ultimately i think you get yourself into some state thats borked Sep 23 00:06:02 i did i mke2fs -S without specifying the partition type Sep 23 00:06:10 <_genuser_> well, I guess you could resize partitions at some point. Sep 23 00:06:44 <_genuser_> alright, tea time calleth. Sep 23 00:24:18 oh, neat, accessibilityservice in api24 can do automated gestures Sep 23 00:25:10 maybe I'll try my hand at writing a game automater Sep 23 00:27:06 wtf AS Sep 23 00:27:26 if I copy then paste something like: ask = (TextView)view.findViewById(R.id.ask); Sep 23 00:27:42 AS will auto-transform it into: ask = (TextView) view.findViewById(ask); Sep 23 00:28:44 Import classes first; ask questions later. Sep 23 00:29:26 that will be a fun task for screwing with CV and detecting shapes/buttons/maps/etc Sep 23 00:30:59 adq: It doesn't do that here. It leaves `R.id.foo` alone. And I have "Insert imports on paste" set to "All". Sep 23 00:31:49 it's weird it does not do it for all the fields/names Sep 23 00:31:58 like instead of ask, i have another with name, it does not do it Sep 23 00:32:07 anyway Sep 23 00:32:12 it's driving me mad, as always Sep 23 00:32:24 adq, in the past, I've found that it would import id, so instead of R.id.foo, it'd become id.foo Sep 23 00:32:52 never seen it static import automatically Sep 23 00:34:23 hmm Sep 23 00:34:38 indeed Sep 23 00:34:50 import static [...].R.id.ask; Sep 23 00:40:02 stable wifi in and around your favorite pub?... "that feeling"... 😜 Sep 23 00:44:51 it's a pub, wtf you doing on any device? Sep 23 00:50:07 oh, heh, non drinking avid reader with serious homework backlog Sep 23 00:50:34 and the women are in low ratio Sep 23 01:04:58 I have an app with 40k daily active users. I haven't really tried to monetize the app and I don't have that much time to work on it. I was talking to a friend and he wants to work on the app part-time (he works at a big tech company). We decided to split ad revenue 50/50 and I would keep any revenue from in-app purchases. Now I'm having second thoughts. He wants to start on the project right away but I want a contract or Sep 23 01:04:58 something. Does anyone have advice? Sep 23 01:05:53 Whats the app? Sep 23 01:06:00 I would rather not say Sep 23 01:06:09 ...why? Sep 23 01:06:15 just because :P Sep 23 01:06:35 Then what kind of advice are you expecting Sep 23 01:07:29 should I try to create a contract? Does that sound like a fair deal? Sep 23 01:07:32 does not sound like a "friend" if you cannot trust him Sep 23 01:08:19 Yes, you should have a contract. Why wouldnt you? Sep 23 01:09:10 orbyt_, right. He just wants to dive into the project and I'm not ready to share code until we have everything in a contract. I've just never done anything like this before. Sep 23 01:10:37 Yes, contract, non-compete, nda clause if needed. Sep 23 01:10:54 Really ought to pm me which app as im quite curious Sep 23 01:26:58 hi Sep 23 01:32:40 capella-5x has homework ? Sep 23 01:33:36 self assigned g00s, long story 😉 Sep 23 01:38:24 ahh, yes, square box Sep 23 01:54:33 Keep having to manually attach the debugger, since 2.2. :E Sep 23 02:00:05 TypeScript 2.0. Sep 23 02:02:14 Wonder how that compares to Kotlin/JS. Sep 23 02:02:39 Or "Kotlin.js". Sep 23 02:06:07 TacticalJoke i hear good things about TS Sep 23 02:06:21 Another Anders language. Sep 23 02:07:10 i never saw any up to date authoritative reference book though Sep 23 02:15:17 capella-5x3 no offense, had to put you on ignore until your connection gets better Sep 23 02:16:32 g00s yah til "get in car, lose wifi"... might get better, and I am sorry for that :-/ Sep 23 02:20:15 I'd stream some background music, but I can't figure out how to Spotify the channel Sep 23 02:20:47 g00s missed another NYC Android developer's meetup today Sep 23 02:20:52 Although you didn't miss much Sep 23 02:21:13 hey Ologn how did it go ? Sep 23 02:21:45 The Firebase talk was not that interesting...the Recyclerview talk was ok if you have dozens of views to deal with Sep 23 02:22:05 Then touchlab is trying to do some Android to iOS port which sounds doomed Sep 23 02:23:07 lol Sep 23 02:23:25 Any cross-platform port has to be based in C/C++ and OpenGLES I think Sep 23 02:27:07 ologn, "doomed"? Sep 23 02:27:37 Ologn do you plan on giving any talks there ? Sep 23 02:28:44 capella-5x3, writing Androidy stuff and having it ObjC compiled to iOS sounds like a doomed cross-platform prospect... Sep 23 02:29:30 touchlab not viable long term? base app not paying off? Sep 23 02:29:37 g00s, not in the near future. Sep 23 02:31:47 capella-5x3, touchlab's cross-platform effort is probably doomed...just like most cross-platform efforts Sep 23 02:32:26 mmm Sep 23 02:35:07 personally I like that stuff Sep 23 02:36:13 planning more complex, but yes Sep 23 02:37:00 I've been working on porting things to Android, and have worked on some iOS/Android/Linux/MacOS stuff. Sep 23 02:37:09 I like working on it, but I know how hard it is Sep 23 02:37:29 find a partner in the enemy canp 🤑 Sep 23 02:48:14 for a true cross-platform experience you really should have a webview-based app, that's universally unusable on all platforms Sep 23 02:50:13 heh, unusable **** ENDING LOGGING AT Fri Sep 23 02:59:58 2016