**** BEGIN LOGGING AT Fri May 01 02:59:59 2015 May 01 03:00:36 CedricBeust, I disagree, and function() blah blah isn't really a lambda shortcut May 01 03:00:56 scoping rules in js are pretty insane too May 01 03:01:01 pfn_: Why not? It's a closure May 01 03:01:28 It closes over the surrounding lexical context May 01 03:02:34 DragonPunch, that chart is the exact opposite of the point you just made May 01 03:03:36 pfnQ: I think this is a really unproductive conversation. I'm going to sit out. Do what you want to do mate. May 01 03:04:14 Perl (#26), the best tier-one language, is 5x more expressive than the worst, JavaScript (#51),  May 01 03:04:26 quote from the site you use as evidence May 01 03:04:49 Yeah that's nonsense May 01 03:04:52 CedricBeust, then java anonymous classes are also closures, does that make them lambda? May 01 03:05:09 pfn_: Java's anonymous are totally closures May 01 03:05:14 *classes May 01 03:05:27 just very verbose ones :) May 01 03:05:43 Yes, very verbose May 01 03:05:54 but Java has had closures since 1.1 (1996? 1997) May 01 03:06:13 I'll out myself as a javascript fan. it has its warts, but you can do some seriously useful stuff with it, very easily. May 01 03:06:56 I'm not a Javascript fan but I acknowledge its strengths. Even if I think its object model is insane May 01 03:07:01 though personally I think type inference + optional typing is more likely to take over dynamic typing. May 01 03:07:02 I have a hard time liking dynamic languages. May 01 03:07:12 CedricBeust, 1997 or so May 01 03:07:26 pfn_: YEah that's my recollection but I'm too tipsy to look it up May 01 03:08:22 CedricBeust: yeah, understandable :) if you avoid some of the (well-known) weird areas, and "use strict";, it's saner. and the VMs are getting terrifically fast. May 01 03:11:08 <_genuser_> wow, how annoying. I had a ghost instance of AS just running in the background. May 01 03:11:19 <_genuser_> no wonder my desktop had slowed down to a drawl. May 01 03:11:34 <_genuser_> just marvel at the dumbass everyday who decided to use intellij as the base for AS. May 01 03:12:23 the best dumbass ever :D May 01 03:12:55 <_genuser_> they should have stuck with eclipse with a new splashscreen instead of intellij with a new splashscreen. May 01 03:13:18 <_genuser_> just like firefox etc. etc. people just do a get on latest mozilla code, slap on an ugly UI and push it. May 01 03:13:39 I guess I should try intellij on a crappy machine sometime, to get an idea of the pain May 01 03:13:58 but I've never had any performance issues with it May 01 03:14:14 <_genuser_> mine's respectable. 6core, 8GB, but I'm running other crap also that I don't want to have to shutdown just because I decided it was time to code android apps. May 01 03:14:19 groxx, and yeah, static typing with inference is far better than dynamic May 01 03:14:40 I haven't had any problems with intellij on any of my systems May 01 03:14:41 <_genuser_> I mean I thought eclipse was slow but after moving up to 8GB, I never had much trouble getting eclipse to run fine. May 01 03:14:45 well, it's not unusual for me to leave 2-3 IDEA instances open May 01 03:14:55 never had any issues May 01 03:14:57 JesusFreke: y u hate ur ram May 01 03:15:04 I usually have 4-8 projects open May 01 03:15:08 or is AS just way worse about memory? May 01 03:15:16 groxx: I have plenty of it :p May 01 03:15:34 but they're all sharing the same jvm instance, I believe May 01 03:15:54 so the same 4g or 8g or whatever pool of ram May 01 03:16:01 I forget what I have it set to atm May 01 03:16:05 probably 8g May 01 03:16:10 Xmx 4 or 8gb? wow May 01 03:16:17 that probably runs happily for quite a while May 01 03:16:34 <_genuser_> JesusFreke: I have ninjatrader/flstudio/eclipse/50-100-tabs-of-chrome, running one AS causes unlimited paging. May 01 03:16:50 <_genuser_> however, if I move to 32G RAM, it might be all breazy. May 01 03:17:03 <_genuser_> the mobo can handle it, I should just buy 3 more 8GB sticks when it's on sale. May 01 03:18:06 triple channel? it seems like such an odd number. it shoulda jumped to 4, but I guess 3 lets them squeeze more $ out of people :| May 01 03:18:33 the only time it's slow for me is when it's doing that initial indexing pass May 01 03:18:57 and I use it on some fairly large projects May 01 03:19:15 <_genuser_> alright rebooting, bbl May 01 03:30:04 anyone know of any good RecyclerView extensions? at the moment I just need header/footer and maybe swiping and a fast scroller. May 01 03:34:02 hi all... can android.widget.TextSwitcher be used in stead of android.widget.TextView? and in the xml for the layout, to define a TextSwitcher, is the def ? May 01 03:43:16 _genuser_ i am seeing that AS starts 2 gradle daemons May 01 03:44:28 50 to 100 chrome tabs is 5 to 10gb right there May 01 03:45:17 groxx come on , its a learning experience ! May 01 03:45:57 <_genuser_> g00s: I finally rebooted. I'm not starting AS until I have to again, lol. May 01 03:46:04 <_genuser_> my current proj is in eclipse, so it's all cool. May 01 03:46:27 i do wish the AS / gradle guys would just add NDK (is that still missing ugh) and focus on robustness May 01 03:46:58 <_genuser_> with the amount of talent google has they could have written an IDE from scratch and improved it. May 01 03:47:03 if i'm slowed down its not because a missing AS feature, its because its (1) taking forever (2) doing dumb shit May 01 03:47:08 <_genuser_> they could have written one to be general purpose like eclipse, or intellij. May 01 03:47:26 yeah ... i dunno May 01 03:47:34 or start with one that's already quite good :) May 01 03:47:42 <_genuser_> for most of their stuff, they have always written a lean mean application. May 01 03:47:54 <_genuser_> the problem with "what's quite good" is that it's subjective. May 01 03:48:06 <_genuser_> but "what's lean and specific to your framework" is not. May 01 03:49:04 they should do what MS is doing and write some SublimeText glue :D May 01 03:49:17 or a plugin for making minecraft mods May 01 03:49:24 :) May 01 03:49:46 I was kinda "WTF?" about that, until I remembered MS bought minecraft May 01 03:49:59 also did you see the hololense + minecraft demo ? May 01 03:50:07 yea May 01 03:50:17 oh, speaking of "did you see" May 01 03:50:34 https://www.youtube.com/watch?v=MFzDaBzBlL0 May 01 03:50:35 :D May 01 03:51:01 a bike that steers in the opposite direction May 01 03:51:26 that's how bikes work naturally May 01 03:51:51 turning = countersteer May 01 03:53:00 no, you turn the handlebar left and the wheel turns right (on this bike) May 01 03:53:22 .. opposite of the usual function. May 01 03:54:08 "ridgid way of thinking" .. i wonder if some of the dumb languages are doing that to programmers :P May 01 03:56:21 rigid May 01 03:56:31 ridgid is a brand May 01 03:56:42 a generic one though May 01 03:57:21 ridgideridoo May 01 03:58:25 saw a guy unicycling through Singapore last week - quite nimbly at that May 01 03:58:31 JesusFreke, indeed May 01 03:58:39 Leeds: nice :D May 01 03:58:46 I imagine it's quite a mindfuck May 01 03:59:38 there are unicycles like that too. basically 2 wheels stacked on top of each other, so that when you pedal forward, it goes backward May 01 03:59:42 JesusFreke: I thought of you May 01 04:00:15 which is completely evil, because your every corrective reaction only serves to throw you further off balance May 01 04:05:28 g00s: :p yeah, but I wanna avoid learning. or reading a bunch of crappy code to fix the bugs. most I've seen aren't exactly pantheons of beauty. May 01 04:06:17 I have an idea about how to build all of it, but I'm hoping someone else has had a better idea. May 01 04:07:36 the best is when you write some code, and have to include 3-4 refs to SO or blogs so when you come back, its like WTF oh yeah, i need to restudy that crap :) May 01 04:34:17 hm, protobuf3/JavaNano uses mutable objects now \o/ May 01 04:37:28 Those people in the AS 1.2 /r/androiddev thread. May 01 04:37:33 "The only difference I see is a CPU window." May 01 04:37:39 Do people just not read stuff? :D May 01 04:38:16 i have to try the scratch thing May 01 04:38:55 As far as I can tell, scratch files are good only for testing regexes and formatting JSON. May 01 04:39:02 Though I read they're gonna be executable at some point. May 01 04:39:29 TacticalJoke, how's the app coming? May 01 04:39:47 Pretty well. It takes so long though. May 01 04:40:13 Agreed it can, have you released any betas/alphas yet to play store? May 01 04:40:14 Turns out that making a reddit client is basically making 10,000 different things. May 01 04:40:24 Not yet. May 01 04:40:39 in your mind yes, but you've gotta exit that eventually :) May 01 04:40:44 I created a subreddit for it. But it's private so far. :D May 01 04:42:26 Internet may break soon, so get it out :) May 01 04:42:43 Is Al Gore gonna turn it off? May 01 04:42:54 he did create it so..... May 01 04:43:16 the NSA will make sure it works May 01 04:44:54 :D!!! May 01 04:44:57 Distraction free mode May 01 04:44:59 Is everyone gonna use JDK 8 now that Java 7 is dying? May 01 04:45:21 For certain definitions of 'dying'. May 01 04:45:23 I asked this morning how other people dealt with all their text going to the left because it was driving me crazy May 01 04:45:24 Distraction free mode is so 2-3months ago :/ May 01 04:45:34 yiati: I wish it'd hide the menu bar on Windows. :/ May 01 04:45:52 I want a "full screen" mode that simply removes the nonsense without hiding the Windows task bar. May 01 04:46:04 whatitis: huh, didn't know it existed until it showed up in the 1.2 changelog May 01 04:46:36 It was an update to IDEA, that AS eventually graduated to May 01 04:46:51 TacticalJoke: I've considered just developing in presentation mode May 01 04:46:56 Haha. May 01 04:46:58 whatitis: ah May 01 04:47:29 That, too, hides the task bar, though. May 01 04:47:47 challenge accepted, seriously with all of these shortcuts May 01 04:48:04 but I reaallly like the centered text in distraction free mode May 01 04:48:24 I wish we still had the notion of tabs in distraction-free mode (even if they were hidden). May 01 04:48:30 It's kinda annoying not being able to switch between files. May 01 04:48:39 sounds like distractions May 01 04:48:50 Every one of the "full screen" modes has a major flaw, IMO. May 01 04:49:03 Maybe not Presentation Mode. May 01 04:49:30 Also, why can't I just hide the menu bar? Being forced to see it all the time is pointless. May 01 04:49:51 If I wanted it, I'd press Alt+F. May 01 04:49:57 Or just Alt, maybe. May 01 04:50:08 huh you can mix presentation and distraction free, size 40 font all day for me! no more squinting May 01 04:51:21 TacticalJoke ctrl-e May 01 04:51:32 True. May 01 04:51:47 i had the project structure up in distraction free mode May 01 04:51:59 Slower than Ctrl+Tab for me, though. :\ May 01 04:52:04 And Ctrl+Shift+Tab. May 01 04:52:08 (For next/previous tab.) May 01 04:52:11 what i'd really like to add to distraction free mode is IRC at the bottom XD XD XD May 01 04:52:28 like weechat in console May 01 04:52:31 jk May 01 04:52:48 plus lots of flashing bright colors and beeping noises May 01 04:53:50 If I press Ctrl+Tab or Ctrl+Shift+Tab in distraction-free mode I lose the editor cursor. Hmm. May 01 04:54:16 why would you press those combinations? May 01 04:55:17 If i press and hold power button on my PC in distraction-free mode my computer shuts off...hmmm May 01 04:55:19 Curious cats try such things. May 01 04:55:28 That's expect, whatitis. :D May 01 04:55:34 expected* May 01 04:55:54 what do you expect from Ctrl+Tab ? May 01 04:56:01 or AnyButton+Tab May 01 04:56:11 In distraction-free mode, I expect nothing. May 01 04:56:13 should I update to AS 1.2? I am running 1.1 now May 01 04:56:19 Yeah, Carbonflux. May 01 04:56:25 thanks :) May 01 04:56:34 It has been decided that you should update. :D May 01 04:56:38 Distraction should mean, less stuff on screen, not locking keyboard May 01 04:56:40 g00s: could get tmux+weechat going in the terminal tab in AS May 01 04:57:09 The main thing I like about 1.2 is that intellisense is now (usually) instant. May 01 04:57:24 Previously (even though I had auto-pop-up on) it'd delay for like 100ms. May 01 04:57:52 Though we still have the annoying "Don't press Alt+Enter yet! delay. May 01 05:00:12 You are looking for flaws if you narrow down a delay of 100ms May 01 05:00:34 Nah, it was really annoying. May 01 05:00:39 Slowed down my typing big time. May 01 05:00:56 Slowed down your release even more big time May 01 05:01:17 I'm being a troll tonight :) May 01 05:02:06 Hey guys, my internet went down so I couldn't see if my message was sent or not. I have a question about the Android emulator versus the real devices: is it possible to test the device & camera orientation using the emulator or I must get different devices in order to check my app? May 01 05:02:31 pigiman, sure May 01 05:02:58 Whatitis - how? I keep getting real weird behaviours from the emulator May 01 05:03:30 I tried both Genymotion and the basic emulator that comes with Android Studio (or installed from there) May 01 05:03:53 What is weird May 01 05:04:02 you couldn't get orientation? May 01 05:04:20 Best bet is to pastebin some code May 01 05:04:32 is it just me or is the 1.2 UI a bit different, more minimal ( in linux. ) May 01 05:04:45 or also maybe some screenshots of failure/winning etc.... May 01 05:04:53 Carbon, than what? May 01 05:05:00 AS 0.1b? May 01 05:05:03 than 1.1ish May 01 05:05:08 doubt that May 01 05:05:08 heh May 01 05:05:12 whatitis - So I am forcing my app to use portrait mode by using mCamera.setDisplayOrientation(90) while if I do this using the emulator the camera is sideway May 01 05:05:22 It's very similar on Windows. Not sure about Linux, though. May 01 05:05:26 1.2 final has been a progression of 1.2b since a few months ago May 01 05:05:29 if not longer May 01 05:05:45 so for the emulator I have to use mCamera.setDisplayOrientation(0) and for different real devices I have to use setDisplayOrientation(90) May 01 05:06:04 pigiman, is orientation 90 == to rotated? May 01 05:06:22 yea because landscape is 0 (which is the default for the camera) May 01 05:06:38 pigiman, think i remember someone else in passed few days talking about using those settings and getting weird results May 01 05:06:50 so you need to narrow it down, and not keep it so obtuse May 01 05:07:26 meaning ? May 01 05:07:39 meaning do some research May 01 05:08:00 you are the one wanting a result, if not what expected to some research and less wanting a spoon May 01 05:08:17 what have you done to test and figure out any odd results? May 01 05:08:52 and are your oddest results with emulator, or on real devices? if emulator.....who cares May 01 05:09:33 anywho my trolling is done, gonna go watch some prerecorded baseball May 01 05:09:47 Most boring-to-watch sport ever. :D May 01 05:09:59 yea I have done some research, there are few old bugs with the emulator and the sensors but they are like from 2011-12. And its easier for me to use the emulator than other devices :) May 01 05:10:02 i concur, but nothing else to watch :) May 01 05:10:35 I'm watching snooker lately. May 01 05:10:40 anyway, thanks whatitis May 01 05:10:54 Watch the Baltimore Orioles play home games during riots :) May 01 05:11:00 haha May 01 05:11:16 yep, sorry couldn't be more help, but if emulator is issue, try others, and try real devices May 01 05:16:06 i wish i could warn anyone the hell that awaits them should they decide to add code generation task to their gradle builds May 01 05:16:14 AS is just never happy with it May 01 05:16:44 it just launched the app, still have error markers everywhere May 01 05:16:58 at least they used to go away when a successful build completed May 01 05:17:05 now they just linger ... May 01 05:19:30 http://i6.5cm.ru/i/Efdx.png May 01 05:19:35 how do I hide this dialog? May 01 05:21:27 found it May 01 05:28:14 <_genuser_> pretty cool, how if someone plugs in a USB drive in a computer in movies, it immediately copies the entire hard disk onto the USB drive. May 01 05:28:18 <_genuser_> in 2minutes.... May 01 05:28:50 <_genuser_> and also shows a dialog showing, "copying " May 01 05:29:37 It's a Unix system; I know this! May 01 05:29:49 May 01 05:29:55 <_genuser_> in some shows, they show XP!!! May 01 05:30:09 Let me know if you need a VB GUI to track his IP May 01 05:30:19 <_genuser_> visual basic? May 01 05:30:22 <_genuser_> .NET or 6? May 01 05:30:25 4! May 01 05:30:29 <_genuser_> LOL. May 01 05:30:43 <_genuser_> especially if it has a progress that has small vertical rectangles. May 01 05:30:47 <_genuser_> instead of a solid color. May 01 05:31:59 g00s, add build/classes to your class path in AS May 01 05:32:30 pfnQ i'm doing it right, its just busted May 01 05:32:34 g00s, that makes code. generation errors go away May 01 05:32:51 that or flag your output directories as sources May 01 05:33:28 you are supposed to use variant.registerJavaGeneratingTask(task, variantDir) May 01 05:33:34 that takes care of everything May 01 05:33:50 builds work from AS & CLI, its just that AS editors are fucked up with error markers May 01 05:34:58 apparently getting AS and gradle on the same page is ... extremely difficult May 01 05:35:05 2 years ... May 01 05:36:39 sometimes if i do 'clean project' it gets cleared up May 01 05:36:57 but now clean project is throwing another gradle error from the manifest merger ... May 01 05:37:13 again, something that doesn't normally error out in normal operation, just on clean for some reason May 01 05:37:21 and gradle clean works from CLI also May 01 05:37:25 its a friggin mess May 01 05:38:22 i'll just keep on filing bugs ... May 01 05:39:25 Is there any way to force a submenu to allow a submenu? May 01 05:40:47 g00s: Any idea what F* is inteded to be used for? May 01 05:40:56 intended* May 01 05:42:48 wheatthins: Not sure, but apps I've seen just open a new sub-menu. May 01 05:43:11 I guess a navigation drawer is another option. May 01 05:44:39 TacticalJoke no idea, i think for theorem proving May 01 05:59:11 From StartMenuActivity.java I'd like to execute the contents of CreateGameMenuActivity.java onclick of an element May 01 05:59:35 I have the onclick logic working and can have it execute within StartMenuActivity.java, but do not know how to execute what's in CreateGameMenuActivity.java May 01 05:59:42 TacticalJoke: moment of your time? May 01 06:03:13 You might as well just ask. Then if I can't answer I can stay silent and pretend that I was AFK or something. May 01 06:06:11 wheatthins: An activity for starting a menu and an activity for creating a game menu? U wot m8. May 01 06:10:14 TacticalJoke, It makes more sense on google glass. I have a settings menu, but menus can only have one sub menu May 01 06:10:30 I have a menu that has New Game, Resume Game, and Settings May 01 06:10:45 And Settings has a few options, one of which is Create new gametype May 01 06:10:58 I'm trying to handle all the gametype stuff in CreateGameMenuActivity.java May 01 06:24:57 interesting http://www.teslamotors.com/presskit/teslaenergy May 01 06:25:18 i still worry a bit about lithium - fires, stability, abundance (environmantal costs, etc) May 01 06:27:07 wheatthins: I don't know about Google Glass. Could you add an extra to the Intent? May 01 06:34:08 JesusFreke this is cool http://www.gizmag.com/velove-armadillo-cargo-cycle/36995/ May 01 06:34:25 if that compartment could be made big enough to sleep in, that could be my home :D May 01 06:34:45 g00s, you like teslas? May 01 06:35:07 eprime i find the company fascinating, but can't afford any of their things May 01 06:35:14 oh May 01 06:35:22 i think i'll be getting the x early next year May 01 06:35:53 yeah, they will be doing a lot of progress in energy storage May 01 06:37:28 i wonder how they will sell that, afaik its illegal to hook up something like that in many places to your house mains May 01 06:37:53 it's really meant to be used with a solar system May 01 06:38:11 but elon is a smart guy, and he's kicking lots of asses so :D May 01 06:38:12 g00s, it is? probably depends where you are May 01 06:38:40 i wonder if the hyperloop will ever become a reality May 01 06:39:03 if bernie sanders became president, lots of great things could happen :D May 01 06:39:18 sorry, talking about the US :D May 01 06:40:46 europe here, tesla got a plant in the netherlands May 01 06:42:29 wonder if you guys will end up with a hillary as pres ;) May 01 06:49:00 iprime i dont' think she'll be hard enough on financial reform, too many close ties / supporters from wall street May 01 06:50:53 g00s, and what do you think are the chances for obama? May 01 06:51:14 he's done, this is his second (last) term May 01 06:52:20 dont really like what he's done with NSA / surveillance May 01 06:52:43 oh there's a terms limit May 01 06:54:26 i think he's done good wrt environment ;) May 01 06:55:06 at this stage of the game, the world can't addord a dipshit doesn't take environment seriously (imho) May 01 06:55:11 *afford May 01 06:55:46 you mean their successful listening to germany? May 01 06:56:19 g00s, i've recently watched a video of obama and bill nye talking about that May 01 06:57:28 i missed that , would probably be interesting to see May 01 06:58:20 https://www.youtube.com/watch?v=Xe5IiNCvFJA May 01 06:59:37 iprime thanks May 01 07:00:41 also, somebody really needs to confront these for-profit privitized jail companies like CCA May 01 07:01:19 where i lived in AZ, municipalities had contracts with CCA, they had to keep them 90% occupied May 01 07:01:39 if they weren't 90% occupied, taxpayers paid the difference May 01 07:01:56 one of the most perverse things i've ever read about May 01 07:02:04 big business, it is May 01 07:03:11 iprime the collateral is human bodies :| May 01 07:05:56 iprime i think it will be talked about in this race; marco rubio has ties to GEO which is like CCA, together they are the 2 largest for-profit prisons May 01 07:07:15 iprime like you alluded to, bug business - lots of money manipulating laws to put/keep people in there (mandarory sentencing, etc) May 01 07:08:14 thepoosh ! May 01 07:08:18 hi May 01 07:08:38 i wonder what chanches are google will do another $200 tablet at i/o May 01 07:10:06 0% May 01 07:10:13 even better, i'd like to see google do http://blogs.windows.com/buildingapps/2015/04/29/microsoft-brings-windows-10-to-makers/ and have an official rpi/beagle port May 01 07:10:17 nexus 7 line is dead May 01 07:10:36 i hear they have been bricking, so i'm treating mine well May 01 07:10:52 2013 used some shitty flash May 01 07:17:42 rx 1.0.10, lots of bugfixes May 01 07:25:02 g00s, well the only good solution is lowering crime May 01 07:33:01 hm , what is the maximum integral value for double before it begins to skip values May 01 07:44:43 Hi, how do I get ?actionBarSize or any other appcompat attrs programatically? May 01 07:49:10 yoavst http://stackoverflow.com/questions/6052549/how-to-get-theme-attributes-values May 01 07:49:50 array,getResourceId() May 01 07:49:56 if I use ?actionBarSize May 01 07:50:00 it is a dimen resource May 01 07:50:01 right? May 01 07:51:32 My app builds goes threw apk install but then app not installed what happening May 01 08:05:56 seriously? that's all the information you're going to give? May 01 08:19:48 anyone know why this while loop keeps getting called http://pastebin.com/LiTyYAsY May 01 08:20:39 I put the result at the bottom for some reason after it finishes the operation it gets called again... is it possible that it goes back up top and resets newDayTime... I thought once a while loop is called it goes only till it finishes then continues downward in the code May 01 08:22:23 The magic numbers are real May 01 08:23:51 Also, what is end time? You haven't set it within the code example May 01 08:25:51 What are you trying to achieve? May 01 08:43:14 groxx, are you on? May 01 09:07:16 does someone here uses anko (kotlin) May 01 09:13:43 j May 01 09:13:45 Oops. May 01 09:18:36 yoavst: May 01 09:19:42 TacticalJoke: thanks May 01 09:19:44 Though the android.googlesource.com version is the other way around. May 01 09:20:00 I'm trying to switch to kotlin's anko May 01 09:20:15 need to find a runtime replacement to style May 01 09:21:52 yoavst: Be sure to check out #kotlin. I think the main guy behind Anko hangs out in there. May 01 09:22:16 kotlin channel is so quite :( May 01 09:25:22 Yeah. There was a litte discussion earlier, but it fizzled out quickly. May 01 09:26:31 kotlin channel? May 01 09:27:02 #kotlin May 01 09:33:32 a note for AS update to 1.2 -- it just create for some reason a folder ~/.AndroidStudio1.2 instead of ~/.AndroidStudio and copies only settings but not plugins May 01 09:33:39 copying a plugin back seems to work May 01 09:47:02 I guess it doesn't want to assume plugin compatability for intellij 14? May 01 09:55:04 Why does android studio 1.2 got json support? May 01 09:55:14 shouldn't be for ultimate only? May 01 10:13:24 I have all the relevant lines in my build.gradle just like this https://github.com/googlesamples/android-testing/blob/master/testrunner/AndroidJunitRunnerSample/app/build.gradle May 01 10:13:37 yet android.support.test is not available for import May 01 10:21:43 anthaas i am trying to call the loop until newdaytime is less than endtime int May 01 10:22:00 for some reason it works but then it resets again without jumping out of the loop May 01 10:28:41 after moving a Google Play app to another developer account, do updates to the app have to use the same old signing key? May 01 10:34:21 I guess most people on this channel live in the US since it gets so quiet when it's daytime here in europe May 01 10:39:10 oh for god's sake. AS won't show android.support.test for importing when building a !debug variant. no guide tells you that. May 01 11:02:12 wasting my time finding working tool that generates classes from json May 01 11:30:14 Evaluate expression in AS 1.2 while debugging makes the app crash. May 01 11:42:44 Damn, Kotlin is even more concise than I thought. May 01 11:42:53 Check out this flexbility and conciseness: http://pastebin.com/aXy92cgN May 01 11:43:09 https://vid.me/Bq4S i'm done with the canvas, too bad for the lineargradient color change, I've got _one_ new in ondraw May 01 11:43:23 not sure yet, how I can eradicate it and still keeping a dynamic gradient May 01 11:48:06 hello! If I want to keep permanent connection to imap server and send complicated data types from it to view, what is the best way to realise it? May 01 11:53:16 anyone use android week view library May 01 11:54:58 TacticalJoke: that's nice May 01 12:05:16 Hi Androidstudio is not implementing auto methods May 01 12:05:24 is thee a trick for that May 01 12:07:20 if i do "startActivityForResult(connectDeviceScreen,55); it shoudt implement protected void onActivityResult May 01 12:07:28 but nothing happens May 01 12:07:42 no red sign nothing May 01 12:10:09 14121995 May 01 12:24:47 TacticalJoke: nothing shocking after Ruby or Clojure et al. What amazes me that it runs on Android fast May 01 12:33:33 maybe i dd hang up the intelliJ May 01 12:47:48 now near one hr searching to start a new activety< May 01 12:48:04 to get a string back May 01 12:55:07 I am attempting to read the contents of a file but it doesn't seem to want to read in the files May 01 12:55:18 If I print log messages it quits after it reads into bufferstream May 01 12:55:23 But doesn't trip error May 01 12:57:57 pastebin the code :? May 01 13:00:54 http://pastebin.com/r1aH5nWJ May 01 13:02:01 Ashiren, May 01 13:02:11 Hi May 01 13:02:20 I'm rex_ May 01 13:04:26 is it possible to print text from a test method? (junit4) May 01 13:05:10 Ashiren, alternate: http://pastebin.com/mvqS1m4b May 01 13:06:45 well May 01 13:07:24 so you put all in try and catch exception May 01 13:07:33 which is empty.. no wonder it doesnt print out anything May 01 13:08:26 If I add a log message and try to print any of the strings I've read, they don't print though May 01 13:08:51 do you have read/write storage permission May 01 13:08:54 yes May 01 13:08:57 I think May 01 13:09:19 May 01 13:09:24 Is that not sufficient? May 01 13:10:37 oh now i see you try to read from URL May 01 13:11:09 I have the file locally too, I've not been able to get it to read from URL or local May 01 13:11:31 Was trying to recycle code from an Android project for this Glass project by reading from URL but no dice May 01 13:11:49 for local youd need android.permission.WRITE_EXTERNAL_STORAGE May 01 13:12:06 for url youd need to add http:// in the begginning May 01 13:13:00 and also internet permission May 01 13:13:04 Ah May 01 13:13:18 Internet is implicit https://developers.google.com/glass/develop/gdk/permissions May 01 13:13:28 But I see external storage isn't May 01 13:14:02 May 01 13:14:02 ? May 01 13:14:23 android.permission.WRITE_EXTERNAL_STORAGE May 01 13:14:29 i dont know much about glass May 01 13:14:50 Seems to just be stripped down kitkat with some api differences May 01 13:15:20 kitkat has also READ_EXTERNAL_STORAGE but with write it is implicit May 01 13:15:47 When I do the offline set of code I pasted, openFileOutput is highlighted as an error May 01 13:16:10 Intellij suggests making a method of it but I don't know what to put in it May 01 13:16:20 private static FileOutputStream openFileOutput(String filename, int modeAppend) { May 01 13:16:20 } May 01 13:18:00 and private static FileInputStream openFileInput(String filename) { May 01 13:18:00 } May 01 13:18:07 Are what intellij generates May 01 13:21:14 dunno how to help you May 01 13:21:21 Darn May 01 13:21:30 Is there a better way of going about this than what I've currently got? May 01 13:22:43 probably :o May 01 13:23:22 If I do locally, does Android want the file's location in my /workspace? May 01 13:23:48 And is that ~/workspace/etcfullpath or is it from the starting point of, say ../app May 01 13:24:05 o.O May 01 13:24:10 it is the phone May 01 13:24:49 I should mount this with adb then and see if I can figure out the exact path May 01 13:25:05 "/sdcard/file.txt" would be sdcard path on most phones May 01 13:25:29 but using https://developer.android.com/reference/android/os/Environment.html would be safer May 01 13:25:56 from what I've heard it is unsafe to rely on hardcoded /sdcard May 01 13:26:05 with all the /whatever/emulated/0 random crap May 01 13:26:18 s/unsafe/unwise/ May 01 13:26:27 eeyup May 01 13:27:38 isn't it weird that a single test method is run three times in a row? May 01 13:28:20 depends May 01 13:28:50 ..on what May 01 13:29:20 could it be because I have three test suites ? that I just copy-pasted :p May 01 13:31:04 too little info May 01 13:33:50 any idea why a Button can't be found, just after an Activity has been launched? the code is practically the same as in android's developer guide May 01 13:34:04 Hi, How can join channels like #swift-lang? It just says I'm banned May 01 13:34:21 I've tried joining from web, IrcCloud and KiwiCloud May 01 13:34:53 the app is not launched in the emulator for the test May 01 13:40:34 Hello. I'm using MediaController class which create it's own window, to display the controls. Then when any of these controls is used this window gets focus. However I need to focus to stay on my activity's window, is there any way I can do this without writing my own controller class? May 01 13:41:53 Siamaster, obviously you are banned then, probably for a reason. you should take it with the channel owner/ops May 01 13:42:06 I've never been on that channel May 01 13:42:17 you try May 01 13:42:21 #swift-lang May 01 13:42:43 works fine for me May 01 13:42:47 they might ban webclients like that. A lot of channels ban webclients, because abuse frequently comes from there. irccloud maybe not so much, but kiwiirc, definitely May 01 13:42:54 probably your network range and/or your ISP has been banned May 01 13:43:39 right now, I'm on simple chrome May 01 13:43:40 anyway, this is android-dev, hardly a good place to discuss this :p May 01 13:44:12 :( ok May 01 13:44:52 apologies if this is the wrong place to ask. But on a non-rooted device, would the app installer be able to replace say, the bluetooth library? May 01 13:45:23 you could flash a new os and replace the bt library yes May 01 13:46:01 right, but would the application installer have enough privileges to do so? May 01 13:46:02 non rooted? no May 01 13:46:06 oh May 01 13:46:09 non rootet May 01 13:46:10 d May 01 13:46:10 ravilov, ok..as I thought. Thanks May 01 13:46:11 no May 01 13:46:12 you cant May 01 13:46:30 ok cool. Thanks May 01 13:47:27 ravilov, how can I find one of the owner/ops May 01 13:48:02 /msg ChanServ access #channel list May 01 13:48:17 /msg chanserv help May 01 13:48:24 seriously, lrn2irc :p May 01 13:48:30 thanks May 01 13:48:53 if you want to use something, you have to know how beforehand, don't you? May 01 13:49:30 lol May 01 13:49:41 ok, so there is an issue with bluetooth >4.2 whereby in summary..it will not function with my car. I can patch the bluetooth stack, rebuild and reflash the device for sure...but its kinda awkward. It would be nice to package something up to do the same thing May 01 13:50:17 you can't really make a userland workaround for system stuff May 01 13:50:26 it would seem that, seeing as the device is rooted..then that shouldn't be a problem, I can build a patched bt library and push it in with the app installer...but thats not a solution for someone's phone which isn't rooted May 01 13:51:01 Anyone have experience with aidl? A team member of mine is insisting that aidl is the way to go for a new feature were trying. But we don't need the feature to be used by other apps. We only want it for our app. May 01 13:51:04 ravilov, yeah..sucks somewhat. There is basically a missing packet which my car doesn't send back. Can't remember exactly which offhand, but bt in >4.2 expects it, otherwise kills the connection May 01 13:51:23 I guess I could perhaps spoof the packet with something in userland maybe? although that sounds pretty horrible May 01 13:51:42 if you're making stuff for your own benefit only, you can do whatever you want, if you're making for the general public, your best bet is to document the problem and suggest a solution a user has to implement on their own May 01 13:51:58 * dcr226 nod May 01 13:52:08 other than that, yeah you can fiddle with the stack but that's always tricky and hacky and potentially unreliable May 01 13:52:56 it would require either a binary patch, or rebuilding against each new release..neither is particularly elegant as a solution May 01 13:53:29 sounds like you're doomed :p May 01 13:53:44 Hello guys, I get ECONNRESET when I perform URL request from osmdroid lib to my local server. But when I do it from an Android browser than it works. Any idea? May 01 13:54:09 Heh..yeah May 01 13:54:34 My local server is in the same app using ServerSocket class. May 01 13:55:17 https://www.youtube.com/watch?v=xRduLUvrjOw following the vid I pasted yesterday, i'm done with this part :) <3 canvas May 01 13:58:39 http://docs.oracle.com/javase/tutorial/ the basic is enough for start to learn develop for android? May 01 13:58:58 is it better to use a BUNDEL or a ident to return a string from a closing activety May 01 14:00:14 bundel? ident? lol May 01 14:00:33 as an android dev you should at least know how to spell it out right May 01 14:00:59 to answer your question, I'd say intent May 01 14:01:35 bundle/intent? May 01 14:01:41 ;-) that is my main problem Speelling Intent v Bundle May 01 14:02:06 also "speelling" apparently May 01 14:04:01 http://channel9.msdn.com/Shows/Inside-Windows-Platform/Project-Astoria-Build-great-Windows-apps-with-your-Android-app-code May 01 14:04:05 this is amazing May 01 14:04:28 but the bundle is inside the intent May 01 14:04:30 wut wut May 01 14:04:44 crazy guy talking! May 01 14:04:59 way to self-label May 01 14:05:29 I heard about the ability to run Android apps on Windows devices, is that the initiative they meant? May 01 14:05:54 I'm expecting my app to be launched in an emulator when tests are run. this does not happen. what things should I check ? May 01 14:06:01 yea it is I think May 01 14:06:52 this is amazing man May 01 14:08:28 Odaym: there should be some (easy) porting process May 01 14:08:40 easier than the video showed? May 01 14:09:31 what do you guys think about JetBrains' anko? May 01 14:10:54 if you gonna go that way, you'll probably have started going the Kotlin way May 01 14:11:01 so the more the merrier May 01 14:11:26 Odaym: ah, missed the link May 01 14:15:49 Odaym: yeah, I am move to Kotlin May 01 14:16:16 Odaym, yes is that May 01 14:16:31 Odaym May 01 14:23:04 Odaym May 01 14:23:29 it is indeed me May 01 14:24:42 if you have an app you're writing where you populate data and test with it, I highly encourage you to write code that will populate it with sample data with a single button May 01 14:24:45 it's so useful May 01 14:26:42 meaning you press the button, fetch the data, if it doesn't exist you add it, otherwise do nothing May 01 14:42:09 I can't believe that I really have to get a Chrome extension so that I can sort cards in my trello lists May 01 14:45:09 Odaym: Sort them how May 01 14:45:38 in a useful way (creation date) May 01 14:45:58 right now they're all either Due or Overdue, while creation date gives Trello a sort of automatic stats creation tool! May 01 14:46:18 list the number of cards in Done, sort by Creation Date, scroll to the bottom when you created the very first one, feel good May 01 14:48:47 Odaym: hmm yeah sorting by date does seem to be a nice feature. I've been using trello a bit lately. Seems a bit constrained at times, but for the most part I really like it May 01 14:49:22 the only test for it is teamwork while using it May 01 14:49:31 alone it is naturally amazing May 01 14:50:22 I recently was forced to move to Jira at work because everybody else uses Jira May 01 14:54:11 Odaym: I do really like Jira May 01 14:54:37 we use it at my office as well May 01 14:54:38 Trello is basically Jira's "Agile" tab May 01 14:54:43 done better May 01 14:54:49 it's like 10% of what Jira is May 01 14:55:08 the ability to add as many lists as you want in Trello is Jira's idea of filtered Views May 01 14:56:02 well I respect Atlassian a lot, regardless May 01 14:56:06 Odaym: There are so many nice plugins that Jira has though that stuff like Trello lack, such as being able to link git commits to actual tickets May 01 14:56:16 really May 01 14:56:32 from bitbucket? May 01 14:56:36 yep May 01 14:56:42 that's really nice May 01 14:56:44 just like github has with it's ticketing May 01 14:56:49 we usually link them to Slack where they dont belong May 01 14:58:03 hi guys, i have a scrollview of categories defined in category_item, and i have a always visible item at the bottom of the screen "add category", it looks identical to the regular item views so i was thinking of reusing the category_item view but i'm not sure how i could define values for it, i'm expecting something like May 01 14:58:49 because the ones in the scroll view are dynamically created, they don't have any values in them, but add category is static so i could prepopulate it "at compile time" May 01 14:58:58 its too easy not to try May 01 14:59:07 just try it you'll see in 1 minute May 01 15:01:35 Odaym, it includes the layout, but it doesn't populate it with what i'm telling it to (at least the way that i would expect to populate it) May 01 15:02:43 maybe because the item you are including (becoming the parent in the case of the add category) has wrap and wrap on height and width May 01 15:03:10 nah even if it has wrap and wrap it should show its contents (the textview and image) May 01 15:03:20 you can change and see what you've done in the Design tab May 01 15:03:33 android.test.ActivityUnitTestCase.startActivity() fails and I can't find out why. any clues? May 01 15:03:36 Odaym, it is showing the textview and the image, it;s just that there is no prepopulated text (i have a default fallback image) May 01 15:03:45 saapas, logcat May 01 15:04:35 that's impossible loin .. May 01 15:04:51 remove all the other elements and keep this one, if you still don't see anything then there's something else wrong May 01 15:05:27 why dont the textview and imageview have height and width attrs? didn't you copy/paste those? May 01 15:05:35 or you went to sublime and took them out before pasting? :P May 01 15:06:07 Odaym, i don't want to redefine the layout, i just want to give the views default values, bringing everything here would defeat the purpose May 01 15:06:31 I said what I thought would help May 01 15:06:37 aside from that, I don't know May 01 15:06:53 thanks Odaym May 01 15:12:58 pfn, http://pastebin.com/5ugXh1n5 May 01 15:14:52 saapas, there's more in logcat May 01 15:15:49 pfn, I don't see any other relevant lines than those May 01 15:16:00 * pfn shrugs May 01 15:16:02 there's more in logcat May 01 15:19:00 logcat -s ActivityUnitTestCase May 01 15:21:18 also, why would you expect new Intent(ACTION_MAIN) to work? is that how it's documented to work? May 01 15:23:59 pfn, I found it somewhere. wanted to try since new Intent(getInstrumentation().getTargetContext(), LatestWeeksView.class) did not work May 01 15:24:13 ..and the latter *is* documented May 01 15:24:25 if it fails to work, read logcat May 01 15:24:27 why is that so hard... May 01 15:25:55 guys is there a way to sync my workspace in android studio so i could access it from multiple computers? May 01 15:26:00 what would be a good place to store a small history of items? May 01 15:26:04 reflection, git May 01 15:26:05 think 5-10 plain strings May 01 15:26:32 pfn, for god's sake. I always read logcat. there has been nothing useful. May 01 15:26:41 saapas, logcat -s ActivityUnitTestCase May 01 15:26:46 there's always been something useful May 01 15:27:39 saapas, just because you "read" it doesn't mean you "see" it May 01 15:28:08 oh really. May 01 15:31:30 speaking of testing, time to see if the junit4 runner works in my build May 01 15:34:19 should I use google cloud instead of github? May 01 15:37:10 why not bitbucket? May 01 15:38:00 idk, pfn suggested git. im new May 01 15:41:36 reflection: google cloud and github are different things May 01 15:43:02 reflection: and git != github May 01 15:43:36 Darkwater: SharedPreferences May 01 15:43:36 whats the difference? May 01 15:43:56 reflection: http://stackoverflow.com/questions/13321556/difference-between-git-and-github May 01 15:44:08 thanks yiati May 01 15:44:21 thanks May 01 15:44:35 reflection: git is a tool, github is a service that uses git May 01 15:44:46 bitbucket and github are the same sort of thing May 01 15:44:57 bitbucket has free private repos which is nice May 01 15:45:07 alright so I need both if I want to sync my workspace, right? May 01 15:45:33 reflection: git + a service? It would make your life easy yes May 01 15:45:48 thanks May 01 15:51:00 findFragmentByTag only works after some time, not next row after commit. any suggestion? May 01 15:53:33 there's executePendingTransactions May 01 15:54:55 the strange thing that I never had to use it before May 01 16:02:35 Suppressed: java.lang.ClassNotFoundException: android.support.test.runner.AndroidJunitRunner May 01 16:02:35 wtf May 01 16:02:39 anyone know of a way that I can automatically publish a apk to google play? May 01 16:02:49 Just to keep the alpha builds up to date each day May 01 16:03:18 when i call finish() in my main activity, it is equivalent to calling System.exit(0) in any activity right? May 01 16:03:19 ort.test-runner-0.2.jar | grep AndroidJ | grep Runner May 01 16:03:19 android/support/test/internal/runner/junit4/AndroidJUnit4ClassRunner.class May 01 16:03:19 android/support/test/runner/AndroidJUnitRunner.class May 01 16:03:21 the fuck May 01 16:03:40 donguston: https://developers.google.com/android-publisher/ May 01 16:03:43 i run into some weird problem - i have 2 activities - one is the main activity and the other is not May 01 16:03:53 could probably run something like that May 01 16:04:00 when the back button is pressed in the main activity i have a yes/no dialog and if yes is pressed - finish() is called May 01 16:04:00 oh, nevermind, I fucked up, lel May 01 16:04:10 i would expect my application to close but it just goes to the other activity May 01 16:04:15 should i be using System.exit(0) instead? May 01 16:04:35 burntcookie90, Ill try it out. I have got a script to package a apk, but just need to get it uploading automatcally May 01 16:05:47 donguston: i'd be intriguied in how it goes. wouldn't mind having travis off of my develop branch and auto deploy to alpha for me May 01 16:08:46 ActivityTestRule :thumbup: May 01 16:12:05 hey guys...I've got smth to ask... May 01 16:12:11 I have a Android KitKat phone and I have root access to the phone but I don't have the stock ROM for it. So with this root access, can I create the ROM out of it? May 01 16:14:22 ReGiStRaS: Probably won't get much help here, "Root/custom ROMs, head to #android-root" May 01 16:14:56 alright thanks May 01 16:25:41 for the settings activity, what is the normal/default parent activity? May 01 16:26:20 im think the top level settings the parent would be the main activity May 01 16:26:42 im thinking for the top level settings the parent would be the main activity May 01 16:30:31 huh May 01 16:30:47 i would use separate settingsActivity with PreferenceFragment May 01 16:33:16 anyone use calendar weekview library ... I am having an issue where the event name shows up three times... and it does not show up three times if I use the newMonth newYear input so it is really wierd... why I cannot do without it May 01 17:22:39 hey, is there an easy way to detect when an ImageView is no longer used, so I can recycle it’s bitmap? Or does that happen already? May 01 17:23:34 Ashiren: okay May 01 17:24:22 afair reycle happens automatically since android 3.0 May 01 17:24:44 if not sure, you can do something like imageView.setImageXXX(null) May 01 17:27:29 s73v3r: What do you mean by "no longer used"? May 01 17:27:41 s73v3r: the vm has garbage collection that happens, as long as nothing is referencing the imageview the bitmap will automatically be recycled May 01 17:27:51 not on screen May 01 17:28:24 ugh, stupid test library includes android:label May 01 17:28:28 so causes manifest merge issues May 01 17:28:30 my listviews have reused cells, but there are longer scrollviews that don’t have that May 01 17:28:30 but is it referenced May 01 17:29:03 s73v3r: just use an adapter, and you don't have to worry about any of this May 01 17:29:26 If it's the child of a live ViewGroup, it'll still be referenced and nothing will be collected. May 01 17:30:06 when recycling views, if I just do ImageView.setImage(), is that going to reuse the bitmap object? May 01 17:30:56 s73v3r: That's not enough details. It all depends on where the bitmap is supplied from May 01 17:31:09 s73v3r: Using Picasso here would make your life a lot easier May 01 17:31:20 It will manage caching and reuse of bitmaps for you May 01 17:32:29 they’re images that we download from the network. May 01 17:32:47 is there any width limit on navigation drawer? May 01 17:32:52 Picasso would make life easier. Unfortunately I don’t think we can get it in today May 01 17:34:51 I don't think Picasso supports the inBitmap thing: https://github.com/square/picasso/issues/174 May 01 17:34:53 s73v3r: Do you have any sort of singleton in your app that is caching bitmaps retrieved from network in memory, and managing requests for setting bitmaps to the ImageView asynchronously? May 01 17:35:01 Though, yeah, it does caching and all the res.t May 01 17:35:03 rest.* May 01 17:35:40 yes May 01 17:36:04 s73v3r: Then your answer lies in how that thing you made operates May 01 17:36:05 well, right now we’re using Volley’s NetworkImageView May 01 17:36:42 Okay then the answer lies in how NetworkImageView recycling happens. I believe that it will recycle bitmaps for you May 01 17:36:49 ok May 01 17:37:30 thanks May 01 17:39:11 guys, How would I add text to the up button in action bar, I want to go up when either the text or the arrow is pressed May 01 17:41:18 similar to the "book" here, http://developer.android.com/design/media/navigation_with_back_and_up.png May 01 17:44:24 Hey guys, is there a simple way to get a grid view paginated? May 01 17:44:37 ie, when I scroll down on a gridview, I don't want it to just loosely move May 01 17:44:45 I want to have pages of cells May 01 17:45:24 meadhikari: http://developer.android.com/reference/android/app/ActionBar.html#setTitle(int) May 01 17:45:32 thre are some goodlibraries for that May 01 17:45:56 staggered grid view libs May 01 17:46:30 tx: https://github.com/timehop/sticky-headers-recyclerview May 01 17:47:06 hmm, sort of on the write track May 01 17:47:28 http://i.stack.imgur.com/qocTe.jpg May 01 17:47:39 want to have these as well (but vertical obviously) May 01 17:49:43 just rotate your view tx :) May 01 17:49:43 tx: ViewPagerIndicator May 01 17:50:20 yiati, not the title but a separate text for the back button May 01 17:50:43 meadhikari: yes, that's the title May 01 17:51:45 yiati, title is something other, I want a separate text which when clicked also would act as if the back arrow was clicked May 01 17:51:55 Hello, can anyone tell me if there is an app that allows us to stream phone's screen on a laptop? May 01 17:52:07 diplomaticus, Airdroid May 01 17:52:18 Hum... Where would be a good place to ask around for someone willing to help a poor FOSS project maintain its android port? 'cause this is clearly not the right place, based on the topic. May 01 17:52:36 you could try /r/AndroidDev May 01 17:52:47 meadhikari: http://developer.android.com/reference/android/app/Activity.html#setTitle(int) May 01 17:53:03 Isnt airdroid just a file sharing platform? I meant if I watch a video on youtube (on my phone) it appears on my laptop. May 01 17:53:07 durn. guess that would require registering for reddit. Maybe can get one of the channel users to do that ☺ May 01 17:53:11 you could also try seeing if the Android Dev Digest or Android Weekly guys would be willing to put a mention in their newsletters May 01 17:53:23 nemo, felinemenace? :) May 01 17:53:30 adq: wassat? May 01 17:53:40 mistook you from someone else, don't bother :) May 01 17:53:43 kk May 01 17:53:49 meadhikari: I linked to the wrong title the first time, it's activity title not actionbar title May 01 17:53:53 meadhikari May 01 17:54:10 adq: um. maybe wasn't a mistake? This is Hedgewars FWIW. But. I bet you confused me w/ nemo from Spring RTS, he has a fair amount of visibility May 01 17:54:27 adq: don't know if they are making any attempts at Android tho that would be pretty awesome May 01 17:54:58 Can anyone suggest me a way to overcome the tethering limit imposed on my by my carrier on an iphone? May 01 17:55:00 s73v3r: http://www.androiddevdigest.com/ ? May 01 17:55:01 for your issue, you could try the f-droid community too nemo May 01 17:55:12 diplomaticus: try #android May 01 17:55:13 nemo: yup May 01 17:55:14 but i guess this also requires registration to post on their forum May 01 17:55:23 adq: yeah, I guess I shouldn't be lazy ☺ May 01 17:55:29 alright thank you May 01 17:55:31 I'm just not a big forum person and there are so many... May 01 17:55:49 I don't have a HN account either. I occasionally try getting things corrected by poking them on IRC 😝 May 01 17:55:50 f-droid is really FOSS centric May 01 17:55:55 so it makes a perfect target May 01 17:55:57 kk May 01 17:55:59 f-droid might be your best bet, assuming your app is also distributed there, or if you’re interested in getting it distributed there May 01 17:56:15 s73v3r: not particular. just sad that our android stuff has languished after all the energy people put into it May 01 17:56:23 just due to lack of main dev time/interest May 01 17:56:25 what is the project? May 01 17:56:42 s73v3r: ehm. Hedgewars... our app store version does not represent the latest effort. May 01 17:57:09 yiati, you see two separate text here http://i.imgur.com/ZWXWEbd.png I mean this May 01 17:57:43 s73v3r: http://www.ganggarrison.com/filehost/hedgeroid/hw-android-netplaydemo.apk this is probably the closest thing to an up to date apk and it is years out of date May 01 17:57:54 every once in a while I feel guilty about this May 01 17:57:55 diplomaticus, they have this screen sharing thing too May 01 17:58:09 what platforms does the project run on? May 01 17:58:12 oh got to check it out May 01 17:58:15 s73v3r: in theory all of 'em ☺ May 01 17:58:23 s73v3r: well. any w/ gles so no windows obv May 01 17:58:28 s73v3r: er. windows mobile that is. May 01 17:58:50 s73v3r: we even have an unmaintained HTML5 cross-compile 😃 May 01 17:58:57 my problem is i want to watch things on my laptop as my phone screen sucks.. i have great internet speed and connectivity but the tethering is limited May 01 17:59:11 One wonders if the new cross platform stuff they announced might help you there, if you’re interested in supporting WP May 01 17:59:43 s73v3r: our crosscompile path for that is pretty funny... pascal → C (using custom tokeniser unc0rr wrote in haskell) → llvm → asm.js May 01 18:00:03 the project is written in pascal? May 01 18:00:18 s73v3r: the engine... frontend is in Qt C++ (well, the main frontend). Server is haskell May 01 18:00:29 meadhikari: That looks like iOS which is not the same. Have you tried setting the title yet? May 01 18:00:30 android frontend is java obv and iOS one is objc May 01 18:00:52 s73v3r: I suspect given how unmaintained all our mobile and web ports are, adding WP is probably off the table for now May 01 18:01:09 meadhikari: action bar with title should work May 01 18:01:11 i see May 01 18:01:17 s73v3r: well. unless you're offering to do it! ☺ May 01 18:01:42 I’ll take a look. I’ll admit I know nothing about pascal or haskell May 01 18:01:54 s73v3r: well. the subset of pascal we use is pretty C-like May 01 18:01:58 min2, can you please give me some more info on that http://i.imgur.com/ZWXWEbd.png May 01 18:02:29 s73v3r: no use of OOP for example. also, to support the pascal-to-C tokenising, we stripped out some of our pascal stuff like default vars May 01 18:02:48 s73v3r: engine is pretty much just structs and function pointers. May 01 18:02:58 I'd like to migrate it to rust 😃 May 01 18:03:16 If you’re already doing all that, why not just write the engine in C? May 01 18:03:37 s73v3r: the C conversion is pretty hideous May 01 18:04:04 s73v3r: due to C's lack of units and operator overloading mostly. May 01 18:04:06 meadhikari: setTitle May 01 18:04:15 C++? May 01 18:04:18 ew May 01 18:04:29 please help May 01 18:04:30 http://stackoverflow.com/questions/29992393/how-to-download-files-to-internal-storage-not-external May 01 18:04:34 please! May 01 18:04:35 meadhikari May 01 18:04:38 http://pastebin.com/SeHaQaQX May 01 18:04:39 s73v3r: I'm pretty serious about the rust thing... just need rust to settle down a bit ☺ May 01 18:05:03 rust could be interesting, too. Although it sounds like you’d need that to support mobile, right? May 01 18:05:04 s73v3r: also deal w/ some of the fun that its compile-time validation would impose. we use waaaaaaaaaaay too many global variables for example May 01 18:05:19 can anyone help please? May 01 18:05:20 s73v3r: our mobile support is just fine already. What we lack is maintainers May 01 18:05:41 i mean if you were to move the engine to rust May 01 18:06:15 hiii May 01 18:06:17 anyone please? May 01 18:06:20 s73v3r: probably my biggest concern w/ Rust is linux distros more than our binary builds. May 01 18:06:43 s73v3r: well... that and whether what it would impose on us engine-wise would be worth the gains May 01 18:06:47 meadhikari: Don't concern yourself with the fact that it's called title. You may disagree that it should be called title, but it will do what you want. Just run it, and try. May 01 18:07:30 meadhikari: this is not iOS, that is the title May 01 18:07:37 s73v3r: not sure it will be possible to cleanly handle our current "iterate over linked list, calling associated function pointer which will also iterate over same list mutating items and invoke functions that will do the same thing" May 01 18:07:40 Duvdevan: Just use Log.d to figure out what's going on. May 01 18:07:56 if not, that's pretty much dead in the water. although maybe with some very strict "unsafe mutation" sections May 01 18:08:04 Duvdevan: Programming doesn't work by writing a huge blob of code and hoping it works. It works by making one tiny change upon a working base. May 01 18:08:32 s73v3r: anyway. thanks for the suggestions on places to look. will ask around May 01 18:08:51 yiati, really thanks for your time, I got the title working but I want something more the "Back" text beside the back icon too, any idea how can I achieve that :( May 01 18:09:28 yiati, I want the "Back" text to be clickable in same fashion as the back arrow May 01 18:10:06 meadhikari : did you try this http://pastebin.com/SeHaQaQX May 01 18:10:21 s73v3r: BTW, if for any reason you feel the urge to try building it, here's our current Building on Linux - note this is for the desktop, not the various mobile ports... May 01 18:10:22 meadhikari: That functionality is already built in depending on the version of Android you're running, some have it some don't. If you need it, you will have to implement it yourself May 01 18:10:36 s73v3r: https://code.google.com/p/hedgewars/wiki/BuildingOnLinux you're always welcome to try it. say, to play the dev version w/ me ☺ May 01 18:11:38 Are the Build on OS X instructions up to date? May 01 18:11:59 s73v3r: ummmmmm 😃 May 01 18:11:59 meadhikari: if you need it *(on all versions) May 01 18:12:02 s73v3r: good question! May 01 18:12:05 * nemo pokes koda May 01 18:12:20 min2, yes but how to also include the text "Salir" from here http://i.imgur.com/ZWXWEbd.png and make it clickable and act like back May 01 18:12:35 s73v3r: (in #hedgewars that is ) May 01 18:12:40 meadhikari: http://stackoverflow.com/questions/16209963/action-bar-icon-as-up-enabled-not-the-title/16216966#16216966 May 01 18:12:42 yiati, any tutorial or blog on how to implement that or what that is called would be really helpful May 01 18:12:44 if not, I could try building it this weekend, and at least contribute up to date instructions May 01 18:12:49 14:12 < Zorg> looooooolll May 01 18:12:55 yiati, thanks a lot May 01 18:12:56 s73v3r: that doesn't sound good 😉 May 01 18:13:14 s73v3r: he made a release build for OSX last release when koda was AFK due to our doing the release on xmas eve May 01 18:13:24 'cause the rest of us are apparently not as strict about xmas w/ family May 01 18:13:30 in setTitle("Salir"); May 01 18:13:42 meadhikari: The text salir would be the "title" on Android, and the text in the middle is not a thing in stock Android May 01 18:13:45 s73v3r: hm... 14:12 < Zorg> maybe they're fine for building actually May 01 18:15:17 Anyone know how to register a global unhandled exception handler? (ACRA does that, right?) Specifically, something that works for all threads. May 01 18:15:48 google analytics does that too May 01 18:15:55 and crashlytics :) May 01 18:17:14 hey, git question (using android studio) there are two branches which were originally identical, im on branch a, I want to switch to branch b... and merge the differnces between them, from my own code.... how do I do that? May 01 18:17:47 viran read up on rebase May 01 18:17:51 s73v3r: 14:17 <@koda> if the links are still up, yes the build instructions are correct May 01 18:19:17 thanks g00s. May 01 18:19:34 i would do it outside of the ide though ;) May 01 18:19:49 s73v3r: qt4, not 5 btw. build instructions for OSX are not as all copy and paste like linux May 01 18:20:03 well, at least they are in theory functional, unlike the current Windows ones May 01 18:22:10 any good simple android game development tutorials? May 01 18:22:13 or should i use libgdx May 01 18:22:29 yiati, thanks for the stackoverflow link, I think I am heading for the right direction May 01 18:23:05 im not really looking to create super awesome 3d media-intensive games just a simple 2d game May 01 18:25:05 i tried googling it but there are no results from this year May 01 18:25:12 so perhaps there is a different way of doing game development in lollipop May 01 18:26:03 libgdx seems sufficient for 2d May 01 18:27:13 I heard about unity 3d for game development May 01 18:27:14 I have a MapView but it does not show the map May 01 18:27:16 strange May 01 18:27:30 i am building on API15 May 01 18:27:49 unity is overkill May 01 18:27:51 libgdx eh? how come i dont see any popular libgdx games on the android market May 01 18:27:53 and i have Google API selected May 01 18:27:56 huhh May 01 18:27:58 tbh i don't even see any games on the market that use libgdx May 01 18:28:08 really? May 01 18:28:34 yeah May 01 18:28:43 https://play.google.com/store/search?q=libgdx&c=apps&docType=1&sp=CAFiCAoGbGliZ2R4egIYAIoBAggB:S:ANO1ljJmbDg May 01 18:29:32 ooooo May 01 18:30:43 o wow May 01 18:33:05 hi May 01 18:34:13 can somone explan me internal storage is storage specific to app but wher is it on phone? next is internal storage persistant does it live after reboot? May 01 18:37:01 well May 01 18:37:48 internal storage should persist after reboot May 01 18:38:00 as for where it lives on the phone, you’re not supposed to care May 01 18:38:21 ok ty May 01 18:38:23 its probably in /data/data/com.yourpackage May 01 18:38:23 I am fairly certain that it wouldn’t be on a removable SD card May 01 18:38:36 no i was just May 01 18:38:43 asking so i can confirm May 01 18:38:45 from outside, accessible only from root May 01 18:38:48 unless you’re on a Samsung phone, in which case it’ll be somewhere else, becase fuck you May 01 18:38:52 thet i writed one file May 01 18:39:23 i want to confirm i created a file May 01 18:40:48 why i geting cannot resolve file output stream May 01 18:41:14 how would we know May 01 18:41:58 http://developer.android.com/guide/topics/data/data-storage.html#filesInternal May 01 18:42:08 u just copy pasted example to my buton May 01 18:42:20 FileOutputStream fos = openFileOutput(FILENAME, Context.MODE_PRIVATE); May 01 18:42:41 maybe import :? May 01 18:42:54 but what May 01 18:43:05 it aint ofering me anything on alt tab May 01 18:43:25 what IDE are you using May 01 18:44:02 studio May 01 18:45:13 what about alt+enter May 01 18:45:31 i mislepd alt tab May 01 18:45:37 i thinked alt enter May 01 18:45:44 oO May 01 18:46:24 that would be some bug or really messed up project settings May 01 18:46:26 i thik i got it May 01 18:46:47 ye May 01 18:46:50 it works now May 01 18:46:56 duno why it dient before May 01 18:49:59 is calendar inbild in android May 01 18:50:03 or shoud i use time? May 01 18:50:31 inbild? May 01 18:50:33 anyone know where intellij stores scratch files ? May 01 18:51:20 that was fun... got the junit4 test runner working May 01 18:51:39 https://github.com/pfn/android-sdk-plugin/tree/master/sbt-test/android-sdk-plugin/android-test-kit May 01 18:51:56 man, i thought you were trying to get it to work in a reg projcet May 01 18:52:12 They should be in ~/AndroidStudio1.2/config/scratches/. May 01 18:52:18 TacticalJoke ah thanks May 01 18:52:39 It's kinda lame that we have to (AFAIK) manually delete them. May 01 18:52:43 i foud what i was looking http://developer.android.com/reference/java/util/Calendar.html May 01 18:53:14 so can i do calendar.getinstances().toString? May 01 18:53:44 TacticalJoke you using linux ? May 01 18:53:50 Nah, Windows 7. May 01 18:53:58 TacticalJoke: on purpose? May 01 18:53:59 :D May 01 18:54:20 ok, i found them in ./Preferences/AndroidStudio1.2/scratches May 01 18:54:31 I was using Windows for Delphi and Visual Studio mostly. I guess I could switch to Linux now. But Windows 7 and 8.1 aren't so bad. May 01 18:54:34 thought they would be in my project .idea folder or something May 01 18:55:05 I'm looking forward to Windows 10. May 01 18:55:51 I just can't be without bash/zsh built in May 01 18:55:53 g00s: You can do this in Kotlin: with (StringBuilder()) { append("one"); append("two") if (foo) { append("three") } } May 01 18:56:07 and some sort of good package management solution May 01 18:56:14 All because of this one-liner: https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/src/kotlin/util/Standard.kt#L19 May 01 18:56:14 still haven't messed around with kotlin May 01 18:56:36 i'll learn c# next hopefully May 01 18:56:39 or f# May 01 18:56:58 I missed a semicolon there. May 01 18:57:22 But anyway it's a VB-style with construct. :D I hated it in VB, but it's cool that it's implementable with one line in Kotlin. May 01 18:58:22 I'd like to learn Rust. May 01 18:58:39 I did like the look of Nim at first, but when I see serious Nim code I feel like gouging my eyes out. May 01 18:59:01 Maybe I just don't enjoy Python-like syntax. May 01 19:03:27 what is command to chek if file exist? May 01 19:04:23 Gnjurac, where? bash? :) May 01 19:05:11 internal storage android studio May 01 19:05:15 trol May 01 19:06:41 evil May 01 19:06:53 * g00s adds another ignore :) May 01 19:10:59 +1 May 01 19:11:15 -1/0 May 01 19:12:53 exists() May 01 19:12:56 fout it May 01 19:12:58 ahha May 01 19:13:50 You make me wish I couldn't read :/ May 01 19:17:40 finally ! http://www.gizmag.com/ch4-fart-tracker/37260/ May 01 19:17:51 never lose stinky again May 01 19:18:46 I'd think the steel might be worse than the plastic. steel corrodes D: May 01 19:19:09 :P plastic would melt sooner tho i think May 01 19:19:29 maybe they'll release a higher tier made of solid titanium May 01 19:21:12 hahahahah May 01 19:22:31 TacticalJoke: "with". that thing that people hate in JavaScript. (though admittedly it's saner in a stronger type system) May 01 19:22:40 hi i got near 400 of this strings "checked,2,58.3,-40,18,ST,3.2," in a file what is the best to store it to get access like itemlist.getitem(position) May 01 19:23:10 split by comma May 01 19:23:13 the string come in to a readbuffer readline May 01 19:23:20 Yeah, I was never a big fan. But it's cool that Kotlin is so powerful that you can create 'with' with a single line. :) May 01 19:23:43 tx: i need the hole line String May 01 19:23:48 with() is cool May 01 19:23:54 I wish Java would have it :/ May 01 19:24:23 I actually like "with". in JS you can totally shoot yourself in the foot with it, but when you _don't_ it's almost as nice as a Builder pattern, but with zero cost. May 01 19:24:40 if we're talking about with as a resource management construct :) May 01 19:24:42 That's true; the builder thing works nicely with it at times. May 01 19:24:56 Mavrik: you mean "try with" maybe? May 01 19:25:14 the itemlist shoudt that be a arrayAdapter of strings May 01 19:25:20 how to know my file path May 01 19:25:32 lists are not accesabel in java direct as i understand May 01 19:25:35 of new created internal file May 01 19:25:41 groxx, *shrug* I mean like python with consturct May 01 19:25:45 and I think C# has it as well May 01 19:25:53 where you say with(file) { blah blah } May 01 19:26:02 In C# it's "using". May 01 19:26:05 and file is automatically closed and freed as control leaves scope May 01 19:26:07 yes, using :) May 01 19:26:08 You could easily create this in Kotlin. May 01 19:26:19 ah. yeah, that's s/with/try { } finally { file.close() }/. those are nice. May 01 19:26:33 especially when you have multiple closeables May 01 19:26:34 http://prntscr.com/70ds80 May 01 19:26:59 yet another reason C# feels like Java++ May 01 19:27:29 mhm, C# did start out as Java++ May 01 19:27:37 now it's just... superior in any way :P May 01 19:29:12 I think this is how you'd create C#'s 'using' in Kotlin: inline fun using(closeable: Closeable, body: () -> Unit) { try { body() } finally { closeable.close() } } May 01 19:29:23 And that's an inline function, so there's no instance-creation overhead. May 01 19:29:38 http://prntscr.com/70ds80 May 01 19:29:46 Then it's just "using (whatever) { doStuff() }". May 01 19:30:13 TacticalJoke, that... looks awful May 01 19:30:14 :) May 01 19:30:19 ^ this reminds me. Cursor _gained_ the Closeable interface somewhere after Gingerbread. so using it as a Closeable will compile just fine, but crash on gingerbread. May 01 19:30:38 What's awful about it? It's power and clarity. May 01 19:30:53 You just said you wish Java had it. With Kotlin, you can create it in a couple of lines. May 01 19:31:01 I strongly dislike "smart" languages where you can define stuff that looks like a language construct May 01 19:31:15 Since that usually makes everyone implement their own... ->> Scala. May 01 19:31:17 well, arguably this is just "language which has functions and blocks" May 01 19:31:36 with a block being an implicit argument May 01 19:31:38 it just happens to look like a normal java keyword if you're approaching it as java code May 01 19:31:40 not seen anywhere :) May 01 19:31:48 Mavrik: that is called a lisp curse May 01 19:31:57 It's just passing a lambda to a function. The fact that you can say "using (foo) { bar() }" is a result of Kotlin's allowing us to pass functions *outside* of the parentheses if they are the last parameters. May 01 19:31:57 i am confused May 01 19:32:00 whit dumb stuff May 01 19:32:11 TacticalJoke, yes, that's the horrible part May 01 19:32:13 I don't think this criticism applies to Kotlin. May 01 19:32:17 you get a parameter May 01 19:32:24 It's not horrible. May 01 19:32:24 that's not syntactically defined as a parameter May 01 19:32:38 it's not visible, it's not explicit, it hides what it does May 01 19:32:38 i just want to check if file exist and if it exist append with time.tostring and if not create new file and append May 01 19:33:21 this lispy goodness is cool only as long as you're the only one maintaining a code base May 01 19:33:38 I think you're just closed-minded, Mavrik. :p May 01 19:33:52 No, I just maintained enough code in different languages. May 01 19:34:21 Mavrik: correct me if I'm wrong, but this sounds closer to "don't use [a crap-ton of] microscopic helper functions" May 01 19:34:36 no dont talk about stupit stuff solve my problem then do thet if you relly must May 01 19:34:54 Kotlin is clever. It manages to give huge power without making it easy for people to create ridiculous code. It's unique in this aspect, IMO. May 01 19:35:15 Well, unique in certain parts (e.g., operator overloading being just convention). May 01 19:35:37 groxx, which part? :) May 01 19:35:46 no no no May 01 19:36:18 oh operator overloading May 01 19:36:24 Mavrik: well, you like "using" in C#, right? so why dislike it when it's functionally identically reproduced in another language, even with identical syntax? May 01 19:36:27 TacticalJoke: might I ask what's your background? May 01 19:36:33 TacticalJoke: just curious May 01 19:36:41 icedp: In terms of languages? May 01 19:36:46 yes May 01 19:37:13 groxx, I don't dislike the functionality, I do dislike language features that enable definition of it ;) May 01 19:37:23 gotcha May 01 19:37:42 groxx, or more clearly, the fact that function block gets passed as an implicit parameter to a function May 01 19:37:46 Quite a few languages. Most of my time has been spent in C++, Delphi, and C#. May 01 19:38:02 "Delphi" is actually the language name (it was renamed from "Object Pascal" with Delphi 7, I think). May 01 19:38:05 and operator overloading, that's also the devil May 01 19:38:21 i think i figured out no thanks to your arguing May 01 19:38:25 (yes, I've maintained tons of C++ code.) :) May 01 19:38:27 Mavrik: is this mostly anti-implicit-blocks then? there are definitely some solid arguments there, just trying to follow accurately May 01 19:39:00 Operator overloading is terrible in C++; I agree. May 01 19:39:38 In Kotlin, it's just convention. "a + b" is just "a.plus(b)". You don't have to use + there. May 01 19:39:56 yeah, gotta say I'm not fond of operator overloading. you can pretty easily get into problems where "a + b != b + a" which I see as an implicit violation of what "+" promises. May 01 19:40:01 operator overloading is fine, its just how its implemented. Gosling made the mistake of saying, oh its terrible - look at c++ ... but he wasn't smart enough to do it correctly in Java May 01 19:40:05 groxx, anti-implicit suff in general. If it's a parameter, let it be defined the same way as a parameter May 01 19:40:41 groxx: isn't that because people expect '+' and other operators to be commutative, when it's not guaranteed to be the case? May 01 19:40:45 if you use c++ as operator overloading, yeah its very bad :) May 01 19:40:50 Mavrik: agree regarding operator overloading, but they are overloaded even in Java. or do you mean overloadable by a programmer May 01 19:40:56 that's what I like at for example Go - the way how they're nazi about stuff being explicit and done one way only May 01 19:41:09 icedp, overloadable by a programmer with impunity May 01 19:41:19 shoerain: yeah, basically. so e.g. I don't think string concatenation should use "+", though it's common enough that it's not really an issue. May 01 19:41:25 icedp, stuff like Scala libsabusing random symbols for operators May 01 19:41:32 icedp, which makes code unreadable May 01 19:41:43 stuf like a uh unrelated, but is there a chart/spreadsheet of device marketshare? I have the opportunity to buy a bunch of different phones/tablets for development and wonder which ones to get May 01 19:41:49 Are you guys recommend evernote for taking notes while learning? May 01 19:41:51 Mavrik: AFAIK, that's not possible in Kotlin. May 01 19:41:58 reflection, I prefer plain old dead trees :) May 01 19:42:09 Operator overloading there is just an optional abstraction (regardless of how people have implemented things). May 01 19:42:21 hehe but it takes so long to handwrite.. >< May 01 19:42:21 TacticalJoke, haven't looked at it yet enough, I wonder how it'll end up when it picks up a bit :) May 01 19:42:24 shoerain: http://developer.android.com/about/dashboards/index.html is one, or I think flurry and a few other analytics companies occasionally blog about it May 01 19:42:38 Mavrik thats a straw man, its like saying .add() can be confusing if it actually subtracts. Operator overloading helps embedding DSLs, and its up to the designer to be clear May 01 19:42:39 Mavrik: I bet you'll end up liking it and realising that a lot of your concerns don't apply to Kotlin. :D May 01 19:42:44 reflection, evernote is fine if you type faster than sketch :) May 01 19:42:53 Technically, Scala doesn’t have operator overloading. The problem with its implementation is allowing unicode characters to be method names, and when you couple that with infix support… boom May 01 19:42:58 alright thanks May 01 19:42:59 Prom is tonight. Someone want to take my date so i can code instead? May 01 19:43:00 shoerain: it's important to note that google's dashboard only includes Play devices, which is what, less than 2/3? China's big. if that's relevant t what you're building. May 01 19:43:04 I absolutely hate "clever" stuff, and for that reason I mainly hate C++. May 01 19:43:06 i could make a external DSL " g00s, there's nothing "straw" in the way how most libs in languages that allow overloading abuse that May 01 19:43:22 it's easy to say "eh, just don't use that" May 01 19:43:27 groxx: sweet thanks, i'll take a look at both May 01 19:43:35 and harder to not curse the assholes abusing that in lib you use / have to read / maintain May 01 19:43:36 I guess play devices don't include stuff like the "kindle fire"? May 01 19:43:41 or the "nook color"? May 01 19:43:51 DadFoundMy, just tell him you got an inner ear infection and can't dance due to balance issues May 01 19:43:51 shoerain: no May 01 19:44:18 Hmm, how do you distribute apps in China? Xiaomi store? May 01 19:44:21 whatitis: him? Do you assume everyone on the internet is a girl? May 01 19:44:23 :D May 01 19:44:38 I assume everyone is like amphibians May 01 19:44:55 reflection: personally, I distrust evernote. I've read far too many tales of big sync failures, and in the past they've been promising the moon for years in terms of export-ability, but last I saw they still weren't very good at it. May 01 19:44:56 groxx: wait the dashboard only seems to mention platform and screen density versions -- i was hoping for specific devices. Like I should probably get an SGS3/S4/S5, maybe an htc one, etc. May 01 19:45:08 Everyone is automaticly a 23 year old white male for me May 01 19:45:09 at least vertebrates May 01 19:45:16 reflection: it's a lock-in. in many ways a very nice one, but it's still a lock-in, so I'll avoid it. May 01 19:45:41 groxx, what would you suggest? May 01 19:45:50 groxx last i looked at evernote, i couldn't use it without an account, even for just local notes May 01 19:46:12 which is turn off for me :) May 01 19:46:29 Mavrik: just was thinking about it today http://techcrunch.com/2015/04/27/android-surpasses-ios-in-revenue-if-chinas-android-app-stores-are-combined/ May 01 19:46:32 They wanting you to signup to keep a sync? May 01 19:46:56 yeah May 01 19:47:05 hmm May 01 19:47:11 Mavrik: perhaps this http://appsborg.com/index.php/process.html May 01 19:47:14 I figure you probably have to localize to Simplified Chinese May 01 19:47:24 reflection: ¯\_(ツ)_/¯ I'm still figuring that out. I hear OneNote is good, and Microsoft is _way_ better at building stable + safe-for-your-data products. May 01 19:47:36 icedp, this it seems: http://shouji.baidu.com/ May 01 19:47:41 Mavrik: iirc from when i lived in china you could use the play store for only free apps May 01 19:47:45 Hi May 01 19:47:56 Anyone got the android docs offline reading? May 01 19:47:57 OneNote is pretty awesome yes May 01 19:48:15 Let me know please how you got it. Or httrack? May 01 19:48:16 Mavrik: yeah, that's one of top 3 May 01 19:48:56 looking at those screenshots, funny how must have very light / white themes May 01 19:49:02 I wonder if this list is that accurate: http://www.appbrain.com/stats/top-android-phones -- i'm not sure how appbrain collects their data May 01 19:49:07 also totally different aestethic May 01 19:49:22 groxx, actually I'm coming from onenote and it's a disaster. it feels real glitchy and uncomfortable especially on 2013 version May 01 19:49:33 Hi May 01 19:49:38 shoerain: unfortunately I dunno. I occasionally run across blog posts that cover cheap-test-suite-devices, but I can't find any at the moment :\ May 01 19:49:41 I asked about android docs May 01 19:49:47 shoerain, that mirrors our stats partially... but DO remember, that those stats GREATLY change via geography May 01 19:49:55 e.g. there's bunch of US-only crap on Verizon May 01 19:50:09 Good night from Germany 8hr of programming tofday !! ;-) May 01 19:50:13 you'll never see on your stats, while in EU you'll see alot more HTC and very little motorola May 01 19:50:48 stuff like that, we have very varying data between apps depending on demographic :) May 01 19:50:55 FTR, here is operator overloading in Kotlin: http://pastebin.com/E05RAr4G May 01 19:50:58 well, motorola kinda crapped on our market... May 01 19:51:06 I define 'plus' and people can use '+' if they want (or 'plus' if they want). May 01 19:51:13 I see no drawback whatsoever. May 01 19:51:23 Mavrik (and groxx): well if you were to recommend ~10 devices to purchase (mixed between phone and tablets), what would you suggest? May 01 19:52:09 oh, we just had a shopping spree :) May 01 19:52:54 for phones: a nexus, an htc, an lg, and the rest as samsungs. samsung is overwhelmingly the most problematic, in my experience. May 01 19:53:03 SGS3 (by far the most popular), Note 2-4 (older the better, phablet stuff), SGS6 (current state-of-the-art), HTC Desire 310 or similar (slow HTC), Samsung Galaxy Tab 2/3 (Slow samsung tab) May 01 19:53:03 wtf you still talking trash May 01 19:53:15 you may want to get an older HTC or LG if you're targeting older devices, they're pretty different than the recent ones May 01 19:53:29 whats comonad to output text from file to textView May 01 19:53:41 You probably want a cheap LG (had some firmware bugs there), and Nexus 7 2012, 2013, Nexus 9 and Nexus 5 May 01 19:53:51 input text May 01 19:54:18 For winning jackpot, Sony Ericsson WT19i is the hard test for your layouts :) May 01 19:54:30 Gnjurac: your questions are _very_ strongly implying you haven't googled or looked through even the basic android documentation. do so. we're not here to walk you through every line of code, that's usually what you pay someone to do. May 01 19:54:45 I think Gnjurac believes this is Google. May 01 19:54:47 oh ok i go cry May 01 19:54:53 you know how? May 01 19:55:00 Little does he know, it's multiplayer Notepad. May 01 19:55:05 lol May 01 19:55:10 no i beliveed smart people help other May 01 19:55:24 What is with the typing, is that on purpose? May 01 19:55:27 multiplay notepad thet nice one May 01 19:55:42 Gnjurac: You're just asking people to do everything for you. People get really bored of that. May 01 19:55:45 p_l what do you mean about motorola ? May 01 19:55:54 And you're also making weird statements that make you seem a little crazy. May 01 19:55:56 no english not my main and sometime i miss some letter May 01 19:56:12 g00s, Motorola decided to exit a large part of EU market May 01 19:56:15 and probably something else too May 01 19:56:23 e.g. I can't even buy a Nexus 6 here due to taht May 01 19:56:28 oh May 01 19:56:31 D: their recent phones have been quite nice though, that's sucky May 01 19:56:53 yup, the local telco said they just refused to send / sell them phones May 01 19:56:56 its tough being an android OEM May 01 19:57:00 if you aren't samsung May 01 19:57:01 and by the wey i googled it and foud 5 difrent examples so i wantet eazyer road May 01 19:57:08 g00s, well, if you refuse to sell your shit May 01 19:57:09 but whatewer May 01 19:57:10 I agree :P May 01 19:57:37 although i guess LG had a respectable quarter May 01 19:57:58 Yeah, I hope new Nexus phone will be an LG again :/ May 01 19:58:01 or heck even ASUS May 01 19:58:14 asus fucked up the last 2 nexus 7s May 01 19:58:17 fuck asus May 01 19:58:18 lol May 01 19:58:37 or Huawei May 01 19:58:37 i'm still using an htc desire HD as my main phone.. i'm glad with it :) May 01 19:58:40 That would be funny :D May 01 19:58:51 or those Xaiomi guys (sp) May 01 19:58:51 i don't get ppl changing their phone each year at an undecent price May 01 19:59:09 Mavrik: heh that's a lot of samsung devices May 01 19:59:10 (might explain why nexus 6 was a fail (from market pov)) May 01 19:59:26 adq, well, it's a phablet May 01 19:59:30 lol nexus 9 -- do people use it May 01 19:59:39 i think also beside HW, nexus line may have been tarnished May 01 19:59:42 right May 01 19:59:52 some nexus devices aren't always without carrier stuff May 01 19:59:56 shoerain, you get it to make sure your code works on arm64-v8 May 01 19:59:57 In android studio I click on docs and there is no android docs.. Please May 01 20:00:22 I don't wanna download android sdk for eclipse :( May 01 20:00:23 shoerain, also 4:3 screen. May 01 20:00:34 rexrex, you might doing something wrong May 01 20:00:36 also OpenGL profiler actually works on it. May 01 20:00:39 it's in the sdk anyway May 01 20:00:39 rexrex: where are you clicking for docs? May 01 20:00:41 i think google sees nexus users as beta testers :) May 01 20:00:42 BTW, for completeness, here's a full example of that 'using' thing: http://pastebin.com/kintkyTi May 01 20:00:55 g00s, yeah, it's pretty obvious :) May 01 20:01:05 adq: burntcookie90: Docs and How to May 01 20:01:06 g00s, i think so, then android wear dev are guinea pig? May 01 20:01:08 but then again, my N5 is on service atm May 01 20:01:12 so I've used Note 4 for a week May 01 20:01:14 adq XD May 01 20:01:15 and now SGS4 for a week May 01 20:01:16 (it's ... i don't want to describe) May 01 20:01:17 burntcookie90, think can just hold ctrl and click May 01 20:01:20 and holy shit May 01 20:01:25 (got few wear devices here..) May 01 20:01:26 I wanna kick Samsung somewhere painful. May 01 20:01:40 lol May 01 20:01:49 whatitis: ctrl+click is navigate to source May 01 20:01:52 It's android studio if it wasn't clear. May 01 20:01:55 Mavrik, just stub their toes, that stuff hurts May 01 20:02:16 like the xkcd wtf level, this channel seems more and more reflecting the frustration that android devs daily occur May 01 20:02:18 it's just criminal that SGS4 works worse than Nexus 4 on Lollipop May 01 20:02:21 ahh true, not documentation, ctrl-q May 01 20:02:22 and it cost like 3x as much at launch May 01 20:02:35 ah, the quick documentation May 01 20:02:37 I use middle-click to navigate to declarations (or, in 1.2, find usages in certain cases). May 01 20:03:03 ^ same May 01 20:03:03 rexrex: are you using the quick documentation shortcut? May 01 20:03:12 cmd+b May 01 20:03:13 best May 01 20:03:18 cmd+b takes you to source May 01 20:03:22 alt+f7 to find usages May 01 20:03:34 im in windows... And just open android studio window. May 01 20:03:36 yep May 01 20:03:45 cmd+b actually finds usages ifyou're at the declaration May 01 20:03:47 killer features of IDEs that :) May 01 20:04:03 burntcookie90: Yeah, I'm so glad they added that. May 01 20:04:05 been there in many IDE since more than 10 years :p May 01 20:04:11 I don't think I need Alt+F7 anymore. May 01 20:04:18 please don't call that _innovation_ ;) May 01 20:04:20 TacticalJoke: it's incredibly useful, especially since it's in a modal and not in the find window May 01 20:04:27 adq, we're not. Just don't tell those VIM people we have that. May 01 20:04:42 (secret but: i'm a vim user too :p) May 01 20:04:45 they still think grepping is a reasoable way to navigate a codebase May 01 20:04:46 :P May 01 20:05:06 vim is best May 01 20:05:09 vim is good May 01 20:05:16 I also love Intellij's navigate-to-implementation icons. May 01 20:05:24 i tried visual studio 2015 by the way May 01 20:05:25 For abstract members. May 01 20:05:43 adq: it doesn't have a vi mode :( May 01 20:05:48 i did click crtl+q on something related to android but i want like html files for reading offline' May 01 20:05:53 there is a plugin for visual studio if you want vi edit in it May 01 20:06:04 but i was just curious, i need C/C++ completion and support May 01 20:06:05 adq: oh there is? link? May 01 20:06:16 for this: http://developer.android.com/sdk/index.html .. In eclipse adt its easy but i dont wanna download it again May 01 20:06:39 burntcookie90, i'm not using it, but i know it exists May 01 20:07:04 rexrex: https://stackoverflow.com/questions/2898053/android-offline-documentation-and-sample-codes May 01 20:07:15 adq: i'll have to take a look later. May 01 20:07:19 :) May 01 20:07:23 rexrex: if you have the SDK manager, and download the docs for a particular API, the HTML files will be in your android sdk's folders. May 01 20:07:32 rexrex, on OS X you get Dash May 01 20:07:41 Online documentation FTW. :D May 01 20:07:43 which is pretty awesome offline reference app May 01 20:07:47 Offline source code FTW. May 01 20:07:51 dunno on which OS you are May 01 20:07:57 I'm on windows :( please... And I want this: http://developer.android.com/sdk/index.html for offline reaing May 01 20:08:01 https://chrome.google.com/webstore/detail/android-sdk-search/hgcbffeicehlpmgmnhnkjbjoldkfhoin this plugin in far too useful for me May 01 20:08:06 rexrex: did you check my link May 01 20:08:07 rexrex, make some effort please May 01 20:08:24 yes i check on users/my user/android studio and can't find May 01 20:08:32 if you're not able to reach yourself the documentation, what will happen when you will start coding? May 01 20:08:35 rexrex, http://zealdocs.org/ May 01 20:08:46 rexrex: use wget --mirror: http://stackoverflow.com/a/6936095/198348 May 01 20:08:48 rexrex: that's the android studio location, not the sdk location May 01 20:08:51 Mavrik: what if told you vim has go to local/global declaration at least for 15 years (gd/gD) but don't listen to me - they must be stupid those vim users May 01 20:09:01 rexrex: have you downloaded the documentation in the sdk manager? May 01 20:09:05 huhu icedp May 01 20:09:06 I think so May 01 20:09:08 just to know i still dident figure it out May 01 20:09:08 icedp, that never worked reliably for pretty much any of my codebases May 01 20:09:10 Mavrik: oh wow zeal looks sweet May 01 20:09:30 icedp, especially not in C++/C even with clang-completer enabled and compiled properly May 01 20:09:41 icedp: yeah, lol May 01 20:09:50 works for me, you usually need good plugin for a particular language May 01 20:09:59 rexrex: sounds like it might be http://stackoverflow.com/a/18651916/16295 May 01 20:10:25 well, apparently the "best" one for C/C++ is meh at the best of times :) May 01 20:10:36 (also ctags generation sucks.) May 01 20:13:11 groxx: I found it in appdata thanks.. But I have the android lolipop webpage is there something difference? May 01 20:13:43 "Android 5.0 Lollipop" May 01 20:14:50 omg google May 01 20:15:55 In android sdk manager I have usb driver, support library and some in android 5.1.1 May 01 20:17:26 Marvik: this looks nice i will check it but not what i asked for May 01 20:18:23 Yo, Q about query strings + Retrofit. Can I send a json array back as a query string? May 01 20:19:08 i.e. journals[0][personId]=22&journals[0][date]=2015-04-28 May 01 20:23:23 TextView ekran = (TextView)findViewById(R.id.prikazivac); and when i try ekran.setText setText beacomes red why it wont alowe me to setit May 01 20:23:24 ? May 01 20:24:12 impossible May 01 20:24:18 something else is wrong May 01 20:25:54 hahah probably May 01 20:26:30 it givem me some auto try cahes May 01 20:26:57 http://prntscr.com/70en1j May 01 20:28:28 how are you defining a function inside a function? May 01 20:28:40 Prikazi bracket closes and then right after it there is code May 01 20:28:57 lol, Gnjurac May 01 20:29:04 a File is not text May 01 20:29:15 Assuming you're not trolling, you just need to learn Java. May 01 20:29:21 oh, that too May 01 20:29:27 like May 01 20:29:29 but still that is impossible code, you cant run that May 01 20:29:35 the braces are all messed up May 01 20:29:35 i sead yesterday i am learning on go May 01 20:29:42 not like that man May 01 20:29:46 go back, way back May 01 20:29:50 Oh, man, that code is amazing. See the initializer there? May 01 20:29:54 this is copy pasted code May 01 20:29:55 rexrex: as far as I'm aware, that's the only docs. it's essentially a mirror of the current website. May 01 20:30:17 :/ May 01 20:30:20 its copy pasted cuz i coudent find May 01 20:30:29 no explanation May 01 20:30:30 It' not related but anyone play clash of clans? May 01 20:30:37 just stay simple, leave files alone for now May 01 20:30:40 Gnjurac: That code has basic syntax problems. May 01 20:30:43 so i used it as reference May 01 20:30:44 make setText work May 01 20:30:57 i am trying from start now May 01 20:31:14 rexrex: there's an api version selector thing at the top of the api reference, which dims out things too new. no old tutorials or anything though. May 01 20:31:14 File > New Project :P May 01 20:31:29 i did like thet 5 time yesterday and got javamail client to work and learned somthing May 01 20:31:38 yet still cant setText? May 01 20:31:43 impossibur! May 01 20:31:56 Gnjurac: Can I ask your age? May 01 20:32:03 (Just to see whether my predictions are correct.) May 01 20:32:03 24 May 01 20:32:07 Oh. May 01 20:32:10 no May 01 20:32:13 you miss again May 01 20:32:17 at 24 I sucked too May 01 20:32:18 we all suck May 01 20:32:28 now Im 25 May 01 20:32:28 i sucked worse than you did! May 01 20:32:30 haha, no May 01 20:32:34 no you didnt May 01 20:32:44 I suck so much, that I STILL suck May 01 20:32:48 you suckED May 01 20:33:09 Yeah, but it's so easy to google stuff. May 01 20:33:12 We have it easy nowadays. May 01 20:33:19 and yet we manage to suck May 01 20:33:20 dude, I sucked so much that it retroactively made my family suck going back 4 generations May 01 20:33:21 wew May 01 20:33:26 HAHA May 01 20:33:30 ok ok May 01 20:33:31 you win May 01 20:33:33 s73v3r: /r/nocontext May 01 20:33:44 ahahha May 01 20:34:05 SO is practically a programming personal assistant. May 01 20:34:14 One who is sometimes wrong, unfortunately, though. May 01 20:35:18 Maybe one day Google will harvest all knowledge from humans' brains and we'll never ask a human a question again. May 01 20:35:34 and sit there doing nothing May 01 20:35:36 can't wait May 01 20:37:11 is the android support library open source -- i.e. we can contribute to/fork it? I'm talking about https://developer.android.com/tools/support-library/setup.html May 01 20:37:29 lol i dident see i have closed bracket right under publick void May 01 20:37:32 f i am blind May 01 20:38:13 shoerain: I think this is them: https://android.googlesource.com/platform/frameworks/support/+/refs/heads/master/ May 01 20:38:39 Not sure about contributing. May 01 20:39:08 i guess it's the same standard on contributing as anything else in AOSP -- i.e. not much? May 01 20:41:09 I love updates :-) java.lang.IllegalArgumentException: AppCompat does not support the current theme features // what features that is? I've commented out May 01 20:42:28 if I want to simulate an object floating on the screen, I'd need to do gyroscope, no? May 01 20:42:32 i think i got it May 01 20:42:46 shoerain why do you say "not much". AOSP merges contributions fast if you know who to add as reviewer :D May 01 20:42:52 I mean how else would it float, it needs to be anchored, I cant write in the floating code May 01 20:43:08 Gnjurac I hope you didn't wrap the setText call with static braces May 01 20:43:42 or whatever the non static class-level braces are called May 01 20:43:55 Afzal: duno http://pastebin.com/aix8n94X May 01 20:44:10 okay, yeah that's better May 01 20:44:59 hmm, producers in dagger 2 do async. Overlapping with rx somehow? May 01 20:45:08 it works May 01 20:45:09 yey May 01 20:45:12 underlapping May 01 20:45:22 jesus JakeWharton you're so quick. May 01 20:45:36 he has dagger and other terms mapped to make a sound May 01 20:45:37 lol May 01 20:45:44 i mean, i figured May 01 20:45:50 either that, or he's implanted IRC into his brain May 01 20:45:50 huh, now I'm confused about the difference b/w underlap and overlap :/ May 01 20:45:51 lol May 01 20:45:55 He just has nothing better to do May 01 20:45:58 + May 01 20:45:59 lol May 01 20:46:02 i get paid to sit and watch this channel May 01 20:46:07 LOLOLOL May 01 20:46:08 no notifications set up May 01 20:46:14 how do i get to that point in life May 01 20:46:21 practice, practice, practice May 01 20:46:34 he also has a bot set up to commit to git every day May 01 20:46:50 yea it's actually an AI program he wrote one to do the thinking for him May 01 20:46:56 he works "remotely" May 01 20:46:57 ok i go sleep now May 01 20:46:59 cya tomorow May 01 20:47:00 hahah May 01 20:47:51 this is really complex http://developer.android.com/guide/topics/sensors/sensors_motion.html#sensors-motion-gyro May 01 20:48:10 I cant understand it, is that the way to see the sample of the gyro working? May 01 20:49:18 Afzal: oh that's cool, I didn't see that happening when I was looking at some AOSP bugs with code fixes May 01 20:49:30 g00s: the locked down (and late) Milestone compared to Droid, which was pretty much the only motorola phone you'd hear about in EU :D May 01 20:49:44 Odaym which part is complex? you look at values from the event May 01 20:50:22 I dont understand whether that's a sample or that's the least amount of boilerplate that you need to see a result May 01 20:51:23 Odaym that's not the least amount. this is http://www.vogella.com/tutorials/AndroidSensor/article.html#sensoroverview_listener May 01 20:51:54 blah, you get the idea idea. event.values[0], 1 and 2 are the x,y,z May 01 20:52:23 ohhh May 01 20:52:33 I dont want a gyroscope then, I dont even know what gyroscope means apparently May 01 20:52:37 Odaym: gyroscope output is angular speed May 01 20:52:41 I want a thing to move when device is tilted May 01 20:52:49 so that's accelerometer May 01 20:52:50 Odaym: code calculates rotation vector for sime time May 01 20:52:59 *some time May 01 20:53:26 right? May 01 20:53:30 accelerometer May 01 20:54:39 http://dictionary.reference.com/browse/gyroscope?r=75&src=ref&ch=dic May 01 20:54:45 used to maintain equilibrium, determine direction, etc. May 01 20:54:49 Odaym: accelerometer, yeah May 01 20:55:12 Odaym: ever played with a gyroscope? May 01 20:55:20 I am now, this sample https://play.google.com/store/apps/details?id=com.kircherelectronics.com.gyroscopeexplorer May 01 20:55:38 Odaym: it depends on what responsiveness you'd like to get May 01 20:55:54 but in the end I want to do animate(myImage, byAmountFromAccelerometer) May 01 20:56:59 Odaym: I mean like one of these: https://www.youtube.com/watch?t=79&v=p9zhP9Bnx-k May 01 20:57:02 do you want smooth rotation or just detect the tilt? May 01 20:57:33 yea Ive seen that groxx, my friend can make it float May 01 20:58:13 let me show you actually May 01 20:58:44 well I want it to accelerate the more you tilt in any direction icedp May 01 21:03:22 Odaym: you should use TYPE_GRAVITY, if not available TYPE_ACCELEROMETER but pass it through a filter May 01 21:03:33 otherwise it would be jerky May 01 21:04:02 are there multiple ways to create tests in an android project? I see ActivityInstrumentationTestCase2 and ApplicationTestCase, and maybe even a few others. I just want to do something as simple as JUnit May 01 21:04:17 Im playing with that vogella one May 01 21:05:37 shoerain: there's also ActivityUnitTestCase, and you can run _actual_ JUnit tests if there's no android dependency. I think AS 1.2 does junit nicely? if not, you can move non-android code to a java module and test it like any other piece of java code. May 01 21:06:06 shoerain: checked http://developer.android.com/tools/testing/testing_android.html ? May 01 21:08:02 ug. those testing tutorials are a mess. May 01 21:08:32 maybe this'll be better http://developer.android.com/training/testing.html May 01 21:09:09 groxx: yeah they are awful haha May 01 21:09:23 and most not updated for Android Studio either :( May 01 21:10:02 if i could just copy paste a file and then magically run "tests", that's all I could ask for May 01 21:10:19 s/could/would/ May 01 21:10:23 anyway. if you're doing anything with UI, you probably want to check out Espresso. if it's "pure" java with no dependency, you probably want to do actual junit tests, because they'll be way faster on your desktop vm than on a device. May 01 21:10:45 and if it's something in between, then God help you, because Google apparently isn't :| May 01 21:10:53 hahaha May 01 21:11:07 i'm writing some exercises for students who are using android studio to help familiarize android resoures (strings.xml, drawables, etc.) May 01 21:11:17 so i figure i'll write some tests that fail that they can get to pass May 01 21:11:53 i would be okay using a third party library too just for the sake of simplicity May 01 21:12:42 ah. good luck :) I've basically done zero testing, so I can't help ya much there. espresso would be for anything UI related though (like maybe "make this button say X"), and it's the official (new) system for doing so. May 01 21:12:58 some others here have, hopefully they'll join in. May 01 21:13:42 otherwise, blog posts about android studio + testing are probably where I'd look first, since the official docs are so bad May 01 21:14:26 shoerain, there's essentially two ways of doing tests May 01 21:14:43 shoerain, there are instrumentation tests which run on the device and there are (new/beta) tests that run on JVM with mocked Android May 01 21:14:47 which ones would you like to do? May 01 21:15:03 I guess JVM with mocked android -- if it's faster May 01 21:15:20 i think going forward i'll be doing instrumentation tests May 01 21:15:35 it is, but remember, they won't catch bunch of stuff (memory conditions, native stuff, etc.) of the actual device May 01 21:15:44 you're using Gradle I presume? :) May 01 21:15:51 I guess -- I was able to run it May 01 21:16:06 i've been out of the android loop for 2 years, i have no idea what's changed :x May 01 21:16:30 well, Gradle is the build system that assembles your app, compiles it and does the testing, it's kinda important :P May 01 21:17:00 yeah, I was able to run this command earlier: "./gradlew build connectedCheck", but wasn't too useful for me... May 01 21:17:29 ok, more questions - are you going to test code (without UI) or actual activity UI stuff? e.g. do you need a working activity? May 01 21:17:38 shoerain: heh. quite a lot in two years. and testing basically just arrived in android studio, so there's little documentation or tutorials or anything comparatively. May 01 21:18:16 * groxx resumes lurking, as /me has nothing else to contribute for now :) May 01 21:18:45 Mavrik: going forward i will be working with working activities May 01 21:18:57 so i'll pay the upfront time cost of doing that May 01 21:19:04 ok, then I suggest you start with instrumentation testing right away May 01 21:19:18 shoerain, if you started with basic AS project, you should have an "androidTest" folder right? :) May 01 21:19:41 Mavrik: sure do May 01 21:19:55 ok, that's the place you'll throw in test classes May 01 21:20:05 I figured I can add something like this: ` public void testLol() throws Exception { assertNotNull("lol"); } May 01 21:20:06 lemme just censure one of ours May 01 21:20:07 ` May 01 21:20:20 but maybe I'm not following the right format May 01 21:23:14 I have read file working just fine with scanner, but not file write. http://pastebin.com/9rhLusaA May 01 21:23:46 whoa almost thought i wrote that May 01 21:24:06 ok I got the ball moving within bounds too May 01 21:24:15 its definitely accelerometer that I needed May 01 21:24:38 shoerain, this is how an activity test looks like https://gist.github.com/izacus/82b5bf7490a7cca09909 May 01 21:24:40 is Scanner kinda similar to Serializing/Parceble stuff? May 01 21:24:47 night for me May 01 21:24:51 (note that they just added new JUnit4 format, but I'd wait a bit for the documentation to show up) May 01 21:25:31 shoerain, if you don't need the activity, then you extend InstrumentationTestCase instead of ActivityInstrumentationTestCase2 and omit the constructor May 01 21:25:44 You can run those tests directly from AS May 01 21:26:31 And as was said, Espresso 2.1 is a neat library you use to click/tap/drag stuff on UI :) May 01 21:26:57 also to assert view X has Y / exists / etc May 01 21:27:06 oh yeah, i'll probably use Espresso going forward May 01 21:27:48 InstrumentationTestCase instead of ApplicationTestCase? The default file in androidTest/ extends 'ApplicationTestCase' May 01 21:28:07 yeah, that's the new JUnit4 format May 01 21:28:17 ooooh May 01 21:28:18 you can use that, but it was introduced with AS 1.2 May 01 21:28:30 and it's sufficiently documented, I haven't had the time to look into it yet :) May 01 21:29:12 junit 4 came with android test support lib May 01 21:29:49 Why do ppl keep wanting to waste time with setting up TestCases? I just don't get it.... May 01 21:30:21 Is it to validate some kind of personal issues? May 01 21:30:25 whatitis: eh, it's useful when people break code May 01 21:30:34 Bah... May 01 21:30:44 O.o May 01 21:30:44 Shit happens, use Log.X May 01 21:31:05 you have a goal, why add extra Java Test cases May 01 21:31:43 whatitis: meh, some people get stuff out of it -- it's worthwhile enough May 01 21:31:52 I guess May 01 21:31:56 useful in a team / big app where you don't have everything in your head. useful when you need to ensure X works, but don't want to poke the button hundreds of times in the future. May 01 21:32:00 Hey how do I make my library project available as an external library? May 01 21:32:02 I'm not sure if you're trolling or serious O.o May 01 21:32:15 ashwink005, external library? May 01 21:32:30 I've never used it, so guess don't matter to me, just seems like alot of it is ppl tryin to validate themselves while not actually doing anything May 01 21:32:33 and there's the entire TDD crowd that says tests drive better internal architecture May 01 21:32:57 Mavrik: so that others can use it in their apps, by adding a compile dependency in build gradle May 01 21:33:10 ashwink005, ah, you'll have to publish it to a maven repository May 01 21:33:33 ashwink005, by default as you've seen Android gradle scripts will either pull libs from Maven Central or jCenter May 01 21:33:41 in my experience jCenter is slightly less painful to publish :) May 01 21:33:56 https://www.virag.si/2015/01/publishing-gradle-android-library-to-jcenter/ :) May 01 21:33:59 And i'm serious, why add another level of abstraction to developing just to justify that your Java code works, instead of just doing it til it works May 01 21:34:26 Mavrik: dude how do u know all this stuff? I'm learning android but I have no clue where to get the basics right May 01 21:34:45 ashwink005, actually having to do it... a few times actually helps :P May 01 21:34:55 Mavrik: haha :) May 01 21:35:06 Mavrik: any good resources you could point me to? May 01 21:35:07 whatitis, I'm still not sure if you're serious or not... how do you do QA for your software? May 01 21:35:28 QA what? May 01 21:35:42 Trolling then :) May 01 21:35:57 Mavrik: guess I'll try seeing if I can figure out ApplicationTestCase and if not, fall back to ActivityTestCase. There is no getInstrumentation() in ApplicationTestCase, though :\ May 01 21:35:59 ashwink005, hrmf... Android Weekly and the Google I/O videos are great as soon as you grab basics May 01 21:36:41 Mavrik: whoa! just checked them! thanks bro!! May 01 21:36:45 I really don't get the need to check wether my Java works in a test case, versus just knowing what you are doing, and knowing your goal and testing without needing a seperate Unit of Testing May 01 21:36:48 Mavrik: thanks a ton :) May 01 21:36:54 * g00s hopes whatitis isn't writing anything important :D May 01 21:37:18 whatitis, but that's what I asked, how do you test your apps/library? May 01 21:37:31 bah versus what i've seen here, i hope most ppl done use apps created from ppl in #android-dev to be honest :/ May 01 21:37:36 android developers backstage podcast is good, fragmented podcast is new and good, and blogs of some google devs / dev-relations people like http://cyrilmottier.com/ May 01 21:37:48 yep May 01 21:37:54 but I'm a troll :) May 01 21:38:07 hence Android Weekly, they tend to aggregate the cool blog posts :) May 01 21:38:11 I forget what the term was for people like CM. there is one. officially-recognized android brainiacs, basically. May 01 21:38:21 i'd like if someone could distill those fragmented podcasts down to 2-3 minutes May 01 21:38:31 tired of podcast and vid May 01 21:38:35 heh May 01 21:38:37 g00s, maybe just read the notes? :D May 01 21:38:38 it's not a suitable material to share knowledge May 01 21:38:40 yeah, I'd rather read notes May 01 21:38:42 especially when it's deep May 01 21:38:48 and it's slooooow May 01 21:38:51 podcasts are plenty interesting but they're not searchable May 01 21:39:04 add a Test unit for those podcasts May 01 21:39:08 I do regular 2hr drives, so podcasts are nice :) May 01 21:39:14 * adq asserts whatitis May 01 21:39:19 :) May 01 21:39:25 ah indeed, when you drive.. :p May 01 21:39:52 yeah, I've taken to podcasting while on the train. but I could read the same words in less than half the time. May 01 21:40:17 Mavrik not if you fall asleep at the wheel :P May 01 21:40:18 hm. maybe fragmented would accept and post transcripts. May 01 21:40:19 They're not cool for actually learning tech stuff, but actually listening how other companies organize their processes / libraries and rationale for their solutions is rather useful May 01 21:40:49 yeah, "reason for X" is useful, as are "Y is interesting, look it up" May 01 21:40:53 :p May 01 21:40:55 that's hard to find outside the interview structure May 01 21:40:57 I'm not fully hating JUnit or whatever, i'm just not a full convert of needing any JVM testing aside from just running my code on devices. I haven't hit that wall of needing a seperate test of just using a device/emulator May 01 21:41:00 well summarized May 01 21:41:13 whatitis, hmm, but that's what our testing actually does May 01 21:41:20 whatitis, runs code on device, clicks through the app May 01 21:41:34 whatitis, do you still do that manually? Yourself on 20+ devices and don't forget a thing? May 01 21:41:43 but at what length, when do you seperate running on a device to saying, oh i should check the jvm first? May 01 21:41:56 is your code that complex that your are unsure of results? May 01 21:41:58 jvm unit tests are 100x faster May 01 21:42:02 that's the point May 01 21:42:05 I think unit tests are great when you have some specifications knowing what should be in and what should be out May 01 21:42:11 on-device tests are integration tests May 01 21:42:15 100x faster on oh this may work? May 01 21:42:18 Yep. May 01 21:42:24 then that makes sense May 01 21:42:30 And the integration tests are hellova useful :) May 01 21:42:45 I do neither, but I understand the use of them all May 01 21:42:46 A lot of guess work then May 01 21:42:57 what guess work? unit tests are fast, that's the point May 01 21:43:04 rather than wasting a minute for each test cycle May 01 21:43:09 but it's only fast cause you are guessing May 01 21:43:15 guessing? not really May 01 21:43:17 otherwise you understand it May 01 21:43:33 hrmf May 01 21:43:48 Yeah, real life doesn't work like that after the project grows a bit :P May 01 21:43:52 i'm a noob with the testing, so don't mind me :) May 01 21:44:06 whatitis, the point is - tests tell you "does this STILL work" May 01 21:44:09 i just have a goal and dive in May 01 21:44:20 if you're maintaining something over a large amount of time that's actively developed May 01 21:44:32 so it's mainly for large scaled apps May 01 21:44:36 that'd make sense May 01 21:44:39 no May 01 21:44:46 it's faster to run a 70sec test suite to see it the app is still fully functional after you replaced your crappy REST framework with Retrofit ;) May 01 21:44:50 i just see these small time app devs wanting it, makes no sense to me May 01 21:45:37 just imagine a simple blackbox, aka your implementation, and a standard, describing what's in and what's out, take any crypto functions per example May 01 21:46:16 in --> [blackbox] --> out, you don't control in and out, but you have to make your blackbox implementation follow the standard/spec, and there unit tests come handy to validate "anything" May 01 21:46:23 I imagine, i know my goal, i kinda know how to get there, if issues Log.X it, i don't see adding ANY JVM testcases to my code, but i'm small time May 01 21:47:07 this is why concept (or specs) matters a lot, otherwise you will have to continously re-adjust your blackbox implem and tests together May 01 21:47:10 which is more than painful May 01 21:47:54 honestly I don't do unit testing for my small sideproject apps either May 01 21:47:58 I've dealt with some pretty complex issues with Android, never needed any JVM Testing to make sure my java was correct. But guess that's just me :) May 01 21:48:00 neither do i :p May 01 21:48:03 occasionally I regret it May 01 21:48:12 inline debugger is neat http://t.sql01.com/sc/5e9e1745_1430516878.png May 01 21:48:18 but for professional stuff that's developed several years it does save our arse regulary May 01 21:48:54 to make sure your Java is correct? May 01 21:49:00 is that all the Testing does? May 01 21:49:32 if so, you're all fired! :) May 01 21:49:47 Hi! What is the problem with myArrayMap.valueAt? it doesn't keep the order of insertion. is it ok? May 01 21:50:12 you want an ArrayList for keeping insertion order May 01 21:50:13 Mattx, you put that together quite well May 01 21:51:21 whatitis, ? May 01 21:51:21 Mattx, why is HashMap or whatever are using valueAt, why not use the map as declared? May 01 21:51:23 Mattx: not sure what the question is there May 01 21:51:49 Mattx, your question is shit. May 01 21:51:54 hmm, HashMap doesn't have valueAt() :) May 01 21:52:04 is a ArrayMap suppose to keep the order of insertion so that .valueAt(3) returns the 4th inserted element? May 01 21:52:22 supposed * May 01 21:52:45 * that instead of just posting some code and real situations :/ May 01 21:53:04 Mattx, what type exactly is "myArrayMap"? May 01 21:53:12 whatitis, do you need code or examples to answer that? what kind of programmer are you? May 01 21:53:23 Mavrik, ArrayMap May 01 21:53:24 i'm a monitor off programmer May 01 21:53:31 whatitis, poor you May 01 21:53:43 I guess, but sorry for u :/ May 01 21:54:17 Mavrik, I suppose it is not intended to be used with .valueAt(number), just want to check May 01 21:54:17 Mattx: docs imply the hashcode values are held in a sorted array, so no, they won't match the insertion order May 01 21:54:36 Mattx, uh, no, the implementation guarantees nothing of the sort May 01 21:54:53 Mattx, LinkedHashMap however does let you iterate over items in insertion order May 01 21:54:56 I would guess that the "at" methods are faster because it's all backed by an array. no need to copy / check / anything, just index and return. May 01 21:55:00 Paste some code fool May 01 21:55:09 so ppl stop guessin May 01 21:56:04 I'll try with LinkedHashMap Mavrik, groxx, thanks May 01 21:56:10 hahah gl May 01 21:56:35 see you in a few May 01 22:00:30 Mavrik: hmm... shouldn't I get something like 1 out of 1 tests succeeded: http://i.imgur.com/XO2QpyW.png May 01 22:01:13 shoerain, it looks like you have the wrong run configuration May 01 22:01:30 oooh, I can't use a default run configuration on ActivityTest? May 01 22:02:02 I see, "Android Tests"? May 01 22:02:09 yes, Android Tests :) May 01 22:02:26 and you use "AndroidJUnitRunner" May 01 22:02:39 and probably wanna set "All in module" May 01 22:03:18 Hmm cannot resolve symbol "AndroidJUnitRunner" May 01 22:03:40 click on three dots next to runner field and click on it there so it'll be fully qualified :P May 01 22:04:19 I do see "android.test.InstrumentationTestRunner" May 01 22:04:45 cool May 01 22:04:58 hmm May 01 22:05:26 shoerain, that one should work too, AndroidJUnitRunner is in testing-support-lib May 01 22:05:46 shoerain, what are you testing? May 01 22:05:57 that tests work May 01 22:06:13 whatitis: exercises for students in a class May 01 22:06:32 testing them how? is what i meant May 01 22:06:35 Can anyone help me write to a file? I have read from file already working with scanner May 01 22:06:51 Is it normal to include run configurations in a project? I know that's not the case with IntelliJ and Eclipse... May 01 22:07:12 wheatthins, do less scanner unless you know why, use more writing to files May 01 22:07:21 whatitis: well i just wrote some dummy methods now, but I'm making sure the students understand about strings.xml, drawables, etc May 01 22:07:30 shoerain, good distaction May 01 22:07:49 see this is why i hate testings, seems like bullshit May 01 22:08:30 whatitis, what? May 01 22:08:55 wheaxxxx, its easy to write to files May 01 22:09:00 you fail May 01 22:09:15 google the shit, it's so simple May 01 22:10:01 this channel is so poluted...i need to take my troll elseware May 01 22:10:03 whatitis, followed several different examples on stackoverflow and keep running int assorted errors May 01 22:10:20 *into assorted May 01 22:12:24 AndroidJUnitRunner is a little weird, you can't do activity tests without importing espresso? May 01 22:13:26 oh, it's in com.android.support.test:rules May 01 22:17:40 wheatthins: what are you trying to write to a file? May 01 22:18:11 groxx, just some strings delimited by newline May 01 22:18:41 Trying to test it currently by writing the contents of one .dat to another May 01 22:18:53 Mavrik: sweeet, it works! I wonder if I can show output of succeeded/failed tests though. I.e. stuff from System.out.println or Log.i() May 01 22:19:46 wheatthins: new FileWriter(filename).append(string).flush().close(); ? May 01 22:19:46 shoerain, System.out/log only goes to logcat May 01 22:21:17 Yup, I see output in `adb logcat`. It would be nice if there was per test output when i click into a particular test May 01 22:21:46 there isn't May 01 22:21:50 junit doesn't capture output May 01 22:22:02 filling out the Content Rating questionnaire when all of a sudden: “Does the app contain any Nazi symbols, references, or propaganda?” 0.o May 01 22:22:02 groxx, I get an issue where .close is highlighted May 01 22:22:16 Cannot resolve method May 01 22:22:48 wheatthins: well, you'll have to split that out to different lines. FileWriter doesn't return 'this' from each of those methods :) May 01 22:23:19 tricknology_: Godwin's Law reigns supreme May 01 22:24:13 so meta May 01 22:24:42 I feel the need to compare something to Hitler to make it true. May 01 22:25:14 hitler would compare something to hitler to make it true. May 01 22:25:24 groxx, still struggling with it May 01 22:26:35 wheatthins: I suspect you have a different error than "cannot resolve method' May 01 22:26:55 if your example looks anything like this, that is: http://cl.ly/image/09350o1h2P1o May 01 22:31:32 still tripping my catch (FileNotFoundException e) May 01 22:32:29 ah. well you may need to create it first. May 01 22:32:42 The file? it exists May 01 22:34:58 FileNotFoundException seems to imply otherwise. message / stacktrace? May 01 22:38:00 groxx, how do I find it in logcat? I'm familiar with finding logs May 01 22:39:35 test7 write: hmm May 01 22:39:40 File not found. Please scan in new file. May 01 22:39:45 which is both my error messages May 01 22:39:47 Is all I'm able to find May 01 22:39:49 wheatthins: is it crashing your app? and is it in e.g. onCreate? also: sometimes I find AS's logcat tab's default annoying. if you just have nothing, try switching the right dropdown from "show only selected application" to "app: ". May 01 22:40:30 how about you pastebin some of the surrounding, maybe there's something obvious May 01 22:41:17 under the error view, yes? May 01 22:41:41 not sure what error view you're talking about May 01 22:41:55 Log level can show info, debug, warning, error, and verbose May 01 22:42:03 Oh, also assert May 01 22:42:09 In android studio May 01 22:42:20 ah. I usually leave it at verbose :| May 01 22:42:40 Ah. Last time I did that someone complained May 01 22:43:36 groxx, http://pastebin.com/dWrxGR2s May 01 22:44:56 huh. what's the code look like? May 01 22:45:16 The pastebin link I provided prior May 01 22:45:17 Hold on May 01 22:45:25 Changed a few things, reuploading May 01 22:45:34 (this is the code that went with the above link) May 01 22:45:59 pastebin evidently has a 10 paste per 24 hour limit. May 01 22:46:16 :| alas. well, there are a ton of similar sites. May 01 22:46:18 http://paste.ee/p/9Nc2I May 01 22:47:27 yeah, watch out what you copy/paste :) generally you want to e.printStackTrace() or throw another exception, otherwise it can be hard to find causes of problems May 01 22:47:28 Utilities.fileWrite() is called from a different class by the way May 01 22:49:44 groxx, http://paste.ee/p/E5kqr now with e.printStackTrace() May 01 22:49:51 two things: 1) do you have the write-external-files permission? and 2) you shouldn't hardcode a path like "/sdcard/". use context.getExternalFilesDir() instead. May 01 22:49:58 05-01 17:49:00.353 14218-14218/? W/System.err﹕ java.io.FileNotFoundException: /sdcard/datfiles/currentgame2.dat: open failed: EACCES (Permission denied) May 01 22:50:18 Permissions on the file on the device are rw-rw-r-- May 01 22:50:33 And the apk has May 01 22:52:23 wheatthins: does it actually use "com.google.android.glass" as the prefix, or is the normal permission right? http://developer.android.com/reference/android/Manifest.permission.html#WRITE_EXTERNAL_STORAGE May 01 22:52:44 Not sure, but it is on glass May 01 22:53:02 https://developers.google.com/glass/develop/gdk/permissions May 01 22:53:42 Google included in the project I'm building this on top of May 01 22:53:52 Which is an API demo they provide May 01 22:54:21 that's a different permission though. if you click through the write_external_storage one, it links to the normal android docs. May 01 22:54:30 try android.permission.WRITE_EXTERNAL_STORAGE May 01 22:56:02 groxx, http://paste.ee/p/UySri May 01 22:56:36 Starts at 143 May 01 22:57:59 that one has an easy cause at least. the array is empty, you can't set position 0 because it doesn't exist May 01 22:58:04 .add instead of .set May 01 23:00:22 Hrm, even switched around a few things and still cannot write May 01 23:01:53 does anyone know of a decent way to profile android code? specifically, I want to trace a few blocks of code, which'll be called a bunch of times from multiple sources. I would use startMethodTracing(), but iirc that's both a) global, and b) replaces the saved file each time, so I can't _really_ restrict tracing to when the interesting stuff is running. May 01 23:02:12 Derp. May 01 23:02:21 Apparently, the file I'm reading from to write to another file is empty? May 01 23:02:25 Something overwrote it at some point May 01 23:02:34 w00t, progress :) May 01 23:03:45 Fixed the input file but output still won't work May 01 23:04:31 So the current code just blanks the first file, interesting May 01 23:04:41 I know what code I want to use to create currentgametype2.dat then May 01 23:05:16 how do I convert something like this: <02><00><00><00><30><30><38><43><00><00><30><30><38><43><00><00> into byte with python? strip and encode? May 01 23:05:23 ah shit wrong chan May 01 23:06:27 Mavrik: thanks mucho, looks like I got some tests running now: https://github.com/shurane/unit-1-android-resource-exercises/blob/master/app/src/androidTest/java/nyc/c4q/unit_1_android_resource_exercises/ActivityTest.java. Guess I get to keep adding to it now May 01 23:06:44 groxx, so it's creating the file but not writing May 01 23:06:45 I am trying to launch an intent.MAIN in adb shell using the following command: am start -a android.intent.action.MAIN -n com.example.hellojni/com.example.hellojni.HelloJni I get an Error Activity class {com.example.hellojni/com.example.hellojni.HelloJni} does not exist May 01 23:06:56 Please advise May 01 23:07:38 acmehandle: well, does it exist? and is it an Activity? and is it in the manifest? May 01 23:08:33 I checked AndroidManifest.xml there is an entry package="com.example.HelloJni" is an entry. May 01 23:09:13 I compiled it using ndk-build and near as I can tell it built...but honestly I'm only going by that it said built successfully May 01 23:09:31 I tried installed it, or so I believe, on my android VM May 01 23:10:02 acmehandle: that's the package name of the app, basically its unique ID. you also need an , etc. May 01 23:11:33 for application android:label the entry is "@string/app_name" May 01 23:12:03 and activity entry says ".DemoActivity" May 01 23:12:32 acmehandle: then you probably need `n com.example.hellojni/com.example.hellojni.DemoActivity` May 01 23:13:19 acmehandle: The label is the name of the app. Like "Youtube". What you need is what groxx said May 01 23:14:14 it's `-n /`. e.g. you can build an app that has `com.anything/com.my.app.MainActivity` - the package name is _mostly_ just an internal UUID, nothing more. May 01 23:18:12 groxx, apparently it's printwriter.println and not printwriter.write May 01 23:19:19 It's writing a line now May 01 23:19:20 wheatthins: ah, does the scanner eat newlines? May 01 23:19:27 I understand what youre saying groxx. For the sake of expediency I tried what arkaros suggested and I get the same error. May 01 23:19:42 I am not sure if the package is even really installed now. May 01 23:19:50 on the android VM May 01 23:19:56 groxx, unsure. I can't figure out how to feed it multiple lines from scanner now lol May 01 23:20:27 acmehandle: `adb shell pm list packages` will tell you everything installed May 01 23:20:56 Yeah, its installed May 01 23:21:21 Ok then I have to figure out how to construct the package name on the command line correctly then May 01 23:22:42 groxx, http://paste.ee/p/RXCx4 is my method now May 01 23:23:04 I commented out printer.println("test"); but it does wrk May 01 23:23:05 *work May 01 23:23:18 Does it look like Im doing something wrong in the scanner logic? May 01 23:24:09 wheatthins: not sure. I haven't used Scanner :| what's happening? May 01 23:24:16 At the top of the activity class the package should be specified. If enter /. it should work. May 01 23:24:33 Is the acitivy added to the manifest file btw? May 01 23:24:46 Should I perhaps try com.example.HelloJni rather than com.example.hellojni because when I do a pm list packages the entry is com.example.HelloJni May 01 23:25:11 acmehandle: yes, the package name and activity name are case sensitive. May 01 23:25:33 groxx, I'm trying to pass it a file of strings, and I have it reading line by line and adding to an arraylist string, then writing that via primntwriter to the file I just created May 01 23:25:47 The file creates and I can write individual lines to it, but I suspect something's getting caught up somewhere May 01 23:25:47 Yeah, that worked May 01 23:25:52 Nice :) May 01 23:25:54 :-) May 01 23:26:00 I'll use something other than scanner if I have to, I just need this working May 01 23:26:57 That AndroidManifest.xml is a whole mess. May 01 23:26:59 wheatthins: I'd guess that you need to move the i++ to the next line, but tbh I still don't know what's actually happening :) though if you're just trying to copy it, no need to stick it in a list, just .println(sc.nextLine()) directly, I'd think May 01 23:27:13 I mean on my end specifically May 02 00:11:05 anyone know of a web service that will give you a flame graph (for time spent in sections), if you annotate your code? May 02 00:17:02 https://gist.github.com/pfn/9120bc6d9bc20dc8b0d5 May 02 00:17:04 ah, that's so hot May 02 00:21:33 whoops, fixed May 02 00:24:51 can anyone tell me how to trick the google play store into thinking im a dif device then what I have? May 02 00:25:15 you don't May 02 00:25:29 I converted my Nexus Player to cm 12.1 and half the apps wont let me install do to the name May 02 00:25:32 yes you can May 02 00:26:55 Elimin8er also, off topic for this channel May 02 00:29:05 modify CM May 02 00:29:41 more specifically the part that returns info about your device. May 02 00:38:33 http://arstechnica.com/gadgets/2015/05/01/googles-dart-language-on-android-aims-for-java-free-120-fps-apps/ May 02 00:39:00 ugh, shiit May 02 00:41:23 goddamnit May 02 00:42:45 but.. May 02 00:43:08 what happens when you have a something running at say.. 100fps on a 60fps screen May 02 00:43:15 you start missign frames, no? May 02 00:43:23 I guess it woul dstil be 60fps.. May 02 00:47:22 "Proof of Concept for interfacing Rust and Java-Android via JNA" hm interesting May 02 00:56:50 yeah, I think I'm more interested in rust. nice memory characteristics, nice multithreading, sounds perfect for a mobile device. May 02 01:04:47 yeah, but dart is google. and google's gotta be google May 02 01:16:42 this looks interesting http://www.amazon.com/Your-Code-Crime-Scene-Bottlenecks/dp/1680500384 May 02 01:17:05 can't get ebook from oreilly tho, have to use pragprog May 02 01:24:25 groxx do you think google will keep using java for the long haul ? May 02 01:24:42 nobody really knows, i find it interesting what others speculate May 02 01:35:10 "It's Friday, I'm single and I've just been paid!! You know what that means!!! Red Bull and coding." May 02 01:35:37 oops, I should have taken my "s off that... #JokeFail May 02 01:38:13 MikeWallaceDev gotta prepare for your next talk ! May 02 01:38:52 :D May 02 01:38:59 I'm planning on doing more GDGs May 02 01:39:05 g00s: probably. why not? it's a mature language and ecosystem. they may add others, but I suspect it's here to stay. May 02 01:39:39 oracle java is mature, but we're not oracle java :| **** ENDING LOGGING AT Sat May 02 02:59:58 2015