**** BEGIN LOGGING AT Mon Jan 02 03:00:01 2017 Jan 02 03:28:51 happy new year to all! Jan 02 04:05:20 atbe: You too! Jan 02 04:05:34 This place should be less dead. Jan 02 04:06:59 We need a bot Jan 02 04:08:04 Yeah. Maybe it can insult people at whim like in ##java. Jan 02 04:09:56 Maybe we can get ahold of Microsoft's Tay bot Jan 02 04:10:21 Thanks TacticalJoke ! Jan 02 04:10:47 :D Jan 02 04:11:36 Happy New Year, Melatonina Jan 02 04:31:26 atbe: ditto Jan 02 04:31:27 TacticalJoke Giant Meteor is being shy Jan 02 04:33:01 maybe its waiting to make dramatic appearance during trump's inauguration Jan 02 04:34:19 g00s__: hopefully, and hopefully it has good aim :) Jan 02 04:36:06 well, we suspect its big enough to destroy the planet so ;) Jan 02 04:44:44 i think i saw that meteor in real genius with val kilmer Jan 02 04:50:46 g00s__: the .3 mile one? Jan 02 04:50:54 nah that will be fine Jan 02 04:56:30 g00s__: We can only hope. :D Jan 02 05:12:30 Hi, I'm trying to connect my android phone to my ubuntu laptop. I get the error "adb server version (32) doesn't match this client (36)". Does this mean I need to find adb v36 for my ubuntu laptop? Jan 02 05:15:03 zeist: no need Jan 02 05:15:42 it means an adb server of version 36 is already running Jan 02 05:17:33 blackghost: Huh ok, so why does it use version 32 then? Does it mean I have multiple adb servers on my laptop, and I need to get rid of some for it to work? Jan 02 05:19:17 yes it seems like you have Android Debug Bridge version 1.0.36 already running on your machine and you trying to run Android Debug Bridge version 1.0.32 on top of it without killing the v36 server Jan 02 05:20:00 'adb kill-server' command can be used to kill the already running server Jan 02 05:27:03 probably have ubuntu adb and android studio adb running side by side Jan 02 05:27:25 I don't bother installing the debs of the android sdk anymore Jan 02 05:29:08 Thanks blackghost and missingno, I uninstalled the "android-tools-adb" package from the Ubuntu repositories, and copied the adb program from my android sdk platform-tools folder into the ubuntu system files, all good now :) Jan 02 05:49:06 will android development use Go as the primary language, possibly in the near future? Jan 02 05:51:19 g00s__: we aok now? Jan 02 05:52:55 adempus No Jan 02 06:19:30 hi, i have been trying to fix this since 10 am, Jan 02 06:19:57 the using namespace std; keeps giving me Symbol "std" unresolved error Jan 02 07:07:43 g00s__: hi hi Jan 02 07:09:57 oh finall Jan 02 07:10:07 where in lefuk have u been Jan 02 07:10:38 was on vacation with the kids Jan 02 07:10:48 and took me an hour to sign in this mornig Jan 02 07:10:51 sup raoul11 Jan 02 07:11:02 \: Jan 02 07:11:47 hey thepoosh . just got done watching 'kumiko, eth treasure hunter' lol that was weird as hell Jan 02 07:12:49 wut Jan 02 07:12:55 defuq is that? Jan 02 07:13:02 I've been watching Fargo Jan 02 07:13:04 the tc series Jan 02 07:14:18 thepoosh the story of the movie is Fargo-esque itself. i guess a Japanese lady went to Fargo to commit suicide, the police thought she was looking for the buried treasure Jan 02 07:14:27 the movie is about the burried treasure version Jan 02 07:15:01 hello Jan 02 07:15:06 Rinko Kikuchi did a good job Jan 02 07:15:45 Melatonina: hi Jan 02 07:15:54 I like Miazakki Jan 02 07:16:06 thepoosh android land is boring as hell Jan 02 07:16:09 also, super excited for Ghost in the shell Jan 02 07:16:20 thepoosh: ? Jan 02 07:16:20 oh yeah, maybe - we'll see Jan 02 07:16:22 g00s__: started doing some salesforce on the side Jan 02 07:16:32 thepoosh: "A jaded Japanese woman discovers a hidden copy of Fargo (1996) on VHS, believing it to be a treasure map indicating the location of a large case of money." Jan 02 07:16:45 WUTWUTWUT Jan 02 07:16:49 Melatonina: never watched it Jan 02 07:17:10 that is so weird Jan 02 07:17:16 I have watched a VHS with a Japense girl in it once though Jan 02 07:17:39 thepoosh http://kotaku.com/the-real-story-behind-kumiko-the-treasure-hunter-1694010461 Jan 02 07:17:41 wyoung: hehehe Jan 02 07:17:52 * thepoosh reading Jan 02 07:17:52 why is it called "salesforce"? Jan 02 07:18:03 Melatonina: because it's a CRM system Jan 02 07:18:05 what has it do with "sales"? Jan 02 07:18:16 Melatonina: It is a buzz word for a shit system based off PHP Jan 02 07:18:33 hehe Jan 02 07:18:34 thepoosh why salesforce ? Jan 02 07:18:49 g00s__: why g00s__ ? Jan 02 07:19:01 my brother is dealing with it in a managerial position and is trying to learn how to program Jan 02 07:19:01 was maverick taken? Jan 02 07:19:14 so I'm learning to help him Jan 02 07:19:27 hm ok Jan 02 07:19:28 wyoung: asking many questions this morning are we? Jan 02 07:19:30 in other news, Nokia is going Android! :D Jan 02 07:19:40 thepoosh: it is late afternoon and I have a glass of scotch Jan 02 07:19:42 woohoo, like blackberry ! Jan 02 07:19:48 I envy you Jan 02 07:19:57 wyoung: you in HK like Leeds? Jan 02 07:20:10 I'm using immersive mode for my video player. When I swipe to bring the navigation controls, they appear on top of my player's controls. How do I move my controls when the navigation controls appear? Jan 02 07:20:18 thepoosh: AU Jan 02 07:20:28 hellz Jan 02 07:20:30 that is far Jan 02 07:20:39 thepoosh: AU is close to me :) Jan 02 07:20:41 "bring the navigation controls on screen" Jan 02 07:20:45 thepoosh: US and UK is far :) Jan 02 07:20:53 you ozzies Jan 02 07:21:15 yes, that is how you pronounce it! none of this AUUUUSSSie bs Jan 02 07:21:22 thepoosh: you must be UK Jan 02 07:21:28 or a country that knows how to speak enlighs Jan 02 07:21:31 english* Jan 02 07:21:47 wyoung: Israel, my parents are from the US Jan 02 07:22:05 thepoosh: oh nice! Happy hunnakah!!! Jan 02 07:22:28 thepoosh: What is it now? the last day? Jan 02 07:22:37 last day was yesterday Jan 02 07:22:41 ah ok Jan 02 07:22:48 8 days, I get it Jan 02 07:22:51 we were in sync with the gregorian this year Jan 02 07:22:52 same as kwanzaa Jan 02 07:22:58 same as xmass Jan 02 07:23:18 although kwanzaa starts on 26th Jan 02 07:23:24 thepoosh lights his hannukia like noone else Jan 02 07:23:37 I lit the shit out of it! Jan 02 07:23:44 I AM THE MASTER LIGHTER Jan 02 07:24:08 lewis litt Jan 02 07:25:05 I don't know how to google the question I asked. Keyword suggestions are appreciated too Jan 02 07:25:22 Melatonina: wut Jan 02 07:26:07 thepoosh: Q: I'm using immersive mode for my video player. When I swipe to bring the navigation controls on screen, they appear on top of my player's controls. How do I move my controls when the navigation controls appear? Jan 02 07:26:39 isn't that part of the whole adjust keys in the manifest? Jan 02 07:32:23 thepoosh so, your brother wants to learn how to program? or he just needs enough to do something in salesforce ? Jan 02 07:32:39 he want's to learn how to program Jan 02 07:32:48 because the pay for programmer and manager Jan 02 07:32:53 is about 10k more Jan 02 07:33:59 but ... salesforce ? i missed why that was important Jan 02 07:34:09 i' start with python or something Jan 02 07:34:51 * Melatonina googles "android adjust keys manifest" Jan 02 07:36:23 thepoosh do you guys use AWS lambda ? Jan 02 07:37:51 yes Jan 02 07:38:02 g00s__: he already deals with salesforce Jan 02 07:38:12 and there's a lot of cash invested in the world Jan 02 07:38:33 has lambda been working out for you guys ? Jan 02 07:39:07 not sure, I think it does server alerts and some data gathering and report generation Jan 02 07:39:20 maybe also some scaling operations Jan 02 07:39:24 I need to ask the server peeps Jan 02 07:40:48 thepoosh i wonder if its worth learning, or if this is one of those 'let the experts do it' Jan 02 07:42:33 thepoosh: what did you mean with "the whole adjust keys in the manifest". It doesn't look that my problem is related to that Jan 02 07:42:39 it seems like a very easy thing to learn Jan 02 07:43:06 Melatonina: you can add a globalLayoutListener and animate the control movement Jan 02 07:43:19 g00s__: I am mostly learning it for him Jan 02 07:43:27 I don't care about the system very much Jan 02 07:43:48 thepoosh: ok. thanks Jan 02 07:43:53 sure sure Jan 02 08:04:09 thepoosh so , do you think 2017 will feature nuclear war ? Jan 02 08:04:55 nope, actually don't think trump is the worst of the worst Jan 02 08:05:02 I hope he won't be terrible Jan 02 08:05:07 and surely think he sux Jan 02 08:05:30 but not that he is "literally hitler" as louise ck claims Jan 02 08:05:40 lol, pray tell , who do you think is the worst of the worst ? Jan 02 08:05:53 hmmm Jan 02 08:05:56 probably putin Jan 02 08:06:00 lol Jan 02 08:06:10 there are some who are really bad Jan 02 08:06:17 i.e. Sarah Pailin Jan 02 08:06:27 I've heard some neo-nazi's saying its too early to compare Trump to Hitler. He still has to prove himself. Jan 02 08:06:39 /s Jan 02 08:06:40 HA Jan 02 08:06:43 trump asked in a previous interview why we don't use nukes Jan 02 08:06:58 using nukes is stupid in the human point of view Jan 02 08:07:09 so I think you really need to be stupid to use them Jan 02 08:09:40 thepoosh our labor secretary owns a fast food chain Jan 02 08:09:43 lol Jan 02 08:09:58 the DE guy, perry, wanted to eliminate the dept of energy Jan 02 08:10:08 pruitt wanted to eliminate the EPA Jan 02 08:10:36 a bunch of misfits, i guess they want to make the govt truly disfunctional Jan 02 08:11:35 thepoosh http://ww3.hdnux.com/photos/43/12/16/9216906/9/920x920.jpg Jan 02 08:11:45 looks like a populist :) Jan 02 08:14:27 thepoosh do you do any JS at all ? Jan 02 08:14:46 did in the past Jan 02 08:14:56 our servers are written in Node Jan 02 08:15:07 oh, how did that work out Jan 02 08:15:14 well i guess lambda uses node Jan 02 08:23:28 g00s__: where's maverick? Jan 02 08:23:32 orbyt_: why? Jan 02 08:31:33 thepoosh: GlobalLayoutListener is not called by design when system controls come on screen while in immersive mode Jan 02 08:34:52 I'm looking into OnSystemUiVisibilityChangeListener Jan 02 08:36:26 9l Jan 02 08:36:26 p Jan 02 08:36:26 k Jan 02 08:36:27 k Jan 02 08:36:38 hi Jan 02 08:37:08 hi Jan 02 08:38:54 I've got a widget composed by a linearlayout , and inside it there are an imagebutton and an imageview. Using this method, the bottom imageview (stripe) is not displayed anymore Jan 02 08:39:49 widget.xml: http://pastebin.com/w2gTPH5m Jan 02 08:41:13 How could I change layout in order to make the imageviw appearing again without inserting new bad effects? Jan 02 08:41:21 Any ideas? Jan 02 10:08:40 random r&d link https://github.com/mgasiorowski/quality_mobile_apps_mindmap Jan 02 10:08:54 posting those links make me feel im doing something productive Jan 02 10:11:33 Ashiren: you da bomb! Jan 02 10:26:45 Ashiren: what links are them? Things that you use to develop mobile applications? Jan 02 10:38:27 just random stuff i stumbled onto Jan 02 10:38:35 (its not mine) Jan 02 10:43:13 hello , can anybody tell me what are the boxes displayed in the facebook messenger or whatsapp called ? Jan 02 10:43:43 the boxes in which the messages are displayed Jan 02 10:43:59 message cell Jan 02 10:44:18 they are implemented usually as 9-patches Jan 02 10:45:02 thepoosh: can those messages be implemented in listView Jan 02 10:45:13 that is exactly how they are implemented Jan 02 10:47:56 superKiller: here is the same question as I asked and got answered a few years ago Jan 02 10:47:56 http://stackoverflow.com/q/11202206/1056359 Jan 02 10:48:55 thepoosh: thank you :) Jan 02 10:49:52 I'm trying to understand what actions I should actually create new Activites for in my app, so I've had a look at other apps: In the Google Calendar app, when I create a new entry - is that a new activity, or something else? Jan 02 10:53:01 thepoosh: that was a stylish way to say to superKiller that he's few years behind you :) Jan 02 10:54:19 Melatonina: I was always a stuck up little shit Jan 02 10:55:13 totokaka: the first thing that happens when you press "+" is not a new activity. Is some form of full screen dialog. Then, when you choose what kind of item you want to create, that's a new activity that gets created, yes Jan 02 10:56:48 Thanks, Melatonina. Any Idea what kind of layout to use to get the X and "save" bar that is used when creating a new activity in gcalendar? Jan 02 10:58:14 totokaka: you have to customize a Toolbar Jan 02 10:59:08 totokaka: or just go fullscreen Jan 02 10:59:32 Ok. Thanks for the pointers Jan 02 10:59:41 that's probably a customized Toolbar Jan 02 10:59:46 totokaka: np Jan 02 11:57:02 Hey. I have a hard time googling for information on accessing server sockets *on* an android emulator, since basically all results are about accessing a server socket *from* an android emulator. Can someone point me to helpful ressources? Jan 02 12:08:53 you mean you want to connect in android emulator, as client? Jan 02 12:14:01 I have a server application on my android emulator and want to connect with a program on my host computer. Jan 02 12:23:22 Started working on a project that uses android annotations a lot... seems pretty cool. Seems also like the cause of quite a few dev issues. Jan 02 12:26:12 mchl_nix: found this http://stackoverflow.com/questions/14684411/how-to-connect-to-a-http-server-running-in-android-emulator Jan 02 12:35:08 Syzygy: still didn't merge mah pull request? Jan 02 12:35:53 I keep forgetting, and when I remember it I can't D: Jan 02 12:36:31 gosh darn it Jan 02 12:36:36 I'll write a reminder and do it when I get home. Jan 02 12:36:43 Looks promising, Ashiren. I'll take a look. Jan 02 12:38:47 I'm feeling antsy because I haven't been home for more than a few hours since christmas. Jan 02 12:56:47 hi! Jan 02 13:04:52 zedz: hi Jan 02 13:13:30 zedz: so? was "hi" everything you had to say? Jan 02 13:29:00 Melatonina: dunno yet :) Jan 02 13:33:28 I have a video wider than my screen how do i stretch this across the screen while keeping the width height ratio Jan 02 13:35:10 Ok turns out video resolution was off Jan 02 13:40:31 I have an interesting concept, but I also have a question in regards to said concept. How do you verify locational data/information? Jan 02 13:40:40 Considering you don't even need root to spoof GPS Jan 02 13:40:59 Looks like it worked, thanks Ashiren :) Jan 02 13:43:24 Lvl4Sword: then you can't? Jan 02 13:53:56 Melatonina: Hmm. That's disappointing :/ Jan 02 13:56:01 Lvl4Sword: I don't know. I was using common sense. If GPS can be faked easily (at what level?), you can't be sure. You could use IP geolocation information to check if the device is really around the position it says it is. Not much more. Depending on how GPS information can be spoofed, you could gain low level access to the GPS and get the correct information. Jan 02 13:57:35 IP geolocation is so commonly wrong, that you'll just piss off legitimate customers. Jan 02 13:57:53 Don't piss off legitimate users to hunt for few people hacking. It's bad for your business. Jan 02 13:58:21 Then disregard that suggestion. Jan 02 13:58:57 Yeah, for these things the best advice is: don't rely on device data, make sure you know what to do when they start sending wrong data. Jan 02 13:59:07 Never trust the client ;) Jan 02 14:04:53 nifty lil tool http://json.parser.online.fr/ Jan 02 14:05:04 * raoul11 thepooshes thepoosh Jan 02 14:15:44 raoul11: hi hi hi Jan 02 14:15:51 sup Jan 02 14:18:36 kk Jan 02 14:18:41 writing a JS script Jan 02 14:20:37 ewww Jan 02 14:20:44 learnin retrofit nao thepoosh Jan 02 14:20:48 epic stuff Jan 02 14:21:17 yeah Jan 02 14:21:21 pretty cool yo Jan 02 14:21:58 indeed Jan 02 14:23:34 why if I watch a video on my desktop it looks decent and if I watch the same video on my smartphone in fullscreen it quite sucks? Jan 02 14:23:43 raoul11: you know what I like the most? Jan 02 14:23:46 Interceptors Jan 02 14:23:59 i like velociraptors more Jan 02 14:24:10 i hate you right now Jan 02 14:24:13 but the integration with gson, so sweet Jan 02 14:24:41 .addConverterFactory(GsonConverterFactory.create()) Jan 02 14:24:45 hows that so simple Jan 02 14:24:55 yeah, for me right now it's too much of a hassle but my next project is definitely going there Jan 02 14:25:19 i still gotta write the entire api model out, but doesnt look like its gonna be an issue Jan 02 14:25:35 mayb pagination handling Jan 02 14:25:44 writing pojo is not a big deal Jan 02 14:27:07 yep Jan 02 14:27:18 did this example with stackoverflow Jan 02 14:32:00 is it possible to mock a non-NDEF Tag object for NFC unit testing? Jan 02 14:42:46 Hi. I want to do screen recording on devices I own with my app on it. Is there something that compresses video well or even pauses while there is no interaction? Jan 02 14:43:25 Ideally I could leave it running for 6h and harvest after the showcase is over Jan 02 14:43:47 you want to spy your girlfriend, right? Jan 02 14:43:55 Melatonina, hahaha Jan 02 14:44:00 :) Jan 02 14:44:20 No actually trying to test a kiosk-style app without sneaking around the backs of people Jan 02 14:44:49 maybe streaming it out will be ok, have to test the wifi on site :) Jan 02 14:45:27 did you google "android screencast"? Jan 02 14:45:54 not yet. I know there is a lot. I wondered if someone already had a simmilar usecase and figured out what works well Jan 02 14:46:02 e.g. the local storage vs streaming Jan 02 14:46:15 and file sizes, performance etc Jan 02 14:47:24 and auto-start of streaming so I don't have to be present at the begin of the showcase etc.. :) Jan 02 14:47:54 My experience is limited to spying my girlfriends, sorry Jan 02 14:48:54 ^ plural is because they leave me after they discover it, so I have to find a new girlfriend Jan 02 14:49:29 Mate im offended here. Its not my fault that theyre all on insta its sad Jan 02 14:51:44 Im still struggling with a videoview... Fuck Jan 02 14:52:25 Melatonina, alright :) uor usecases might have enough in common though :) Jan 02 14:52:48 especially if you track your ex too, so you loose physical acess Jan 02 14:52:52 ~access Jan 02 15:00:47 anotheryou, Android has a screen record API Jan 02 15:00:53 You'll get a H.264 compressed video Jan 02 15:01:03 You can start stop recording after touch I guess? Jan 02 15:01:55 ok, out latest build kills battery via media server Jan 02 15:02:13 devices are showing media server taking 30-50 percent from the battery Jan 02 15:02:23 what the F did we do?! Jan 02 15:02:40 also, seems like it's related to Glide image loader but I doubt that Jan 02 15:05:07 Mavrik, I'm actually not coding native, so I'm not sure how easy a custom solution would be.Some 3rd party app sounds more practicaal Jan 02 15:05:40 Well, install an app then :) Jan 02 15:06:16 Mavrik, recommendations? .. :) Jan 02 15:07:04 Best would be: hidden (apart from status bar), start remotely, streamable over the internet Jan 02 15:10:27 Is there a way to check what the currently selected mockgps provider is? Jan 02 15:11:28 I'm writing tests for an application that uses gps and I want to confirm that the correct provider is selected before sending gps info to the location manager. Jan 02 15:11:51 This is only relevant to > 22 devices. Jan 02 15:15:03 is it possible in retrofit to define one interface with multiple end points for a get requests? Jan 02 15:43:41 raoul11, how would that work? Jan 02 16:20:08 Mavrik: it's obvious: it would call both endpoints and return the first response **** BEGIN LOGGING AT Mon Jan 02 17:28:38 2017 Jan 02 17:32:36 hi all Jan 02 17:32:40 raoul11: still here? Jan 02 17:32:46 hi thep Jan 02 17:33:09 hi mel Jan 02 17:33:26 any thoughts about why this version causes media server to eat up my user's battery? Jan 02 17:38:40 no experience in that field, sorry Jan 02 17:40:30 same here, getting to figure it out Jan 02 17:40:40 because qa is blocking this for release Jan 02 17:43:38 found this http://www.techentice.com/fix-mediaserver-battery-drain-heating-problem-android/ Jan 02 17:43:45 this sux Jan 02 18:49:35 Hello =) Jan 02 18:49:48 yo Jan 02 18:50:06 (= Hello Jan 02 19:02:14 hi Jan 02 19:02:36 hi Jan 02 19:13:02 * raoul11 thepooshes thepoosh Jan 02 19:15:15 I am having trouble compiling Android, and I'm pretty sure it is a minor user error. I started with three tar files, prebuilt, lichee, and android, which I untarred in separate folders. In lichee, I ran build.sh config and then build.sh in lichee, and it said that it worked. Jan 02 19:15:49 I later figured out that prebuilt needed to be in the android folder when I compiled android, and now that compiled without errors. Jan 02 19:16:39 However, I'm on the last step, which should just be "pack". It is throwing errors like "No private recovery resources for TARGET_DEVICE". Jan 02 19:17:19 I suspect this is because I did not put the lichee stuff in the correct place. Is there any tutorial online on how to compile starting with these three tar files? Jan 02 19:19:05 JonathanEyre: wrong channel Jan 02 19:19:13 JonathanEyre: read channel topic Jan 02 19:19:23 JonathanEyre: go to #android-root Jan 02 19:19:30 JonathanEyre: happy 2017 Jan 02 19:19:37 thanks Jan 02 19:21:36 thepoosh: retrofiting works nice Jan 02 19:21:49 cool cool cool Jan 02 19:22:02 auth was easy with an interceptor Jan 02 19:22:29 should i postcheck the returned items or what? Jan 02 19:23:44 wut Jan 02 19:24:13 part of the pojo is a url Jan 02 19:24:20 shud i postcheck that its a valid url Jan 02 19:24:38 is there any pre-pojo stuff i can do? Jan 02 19:24:43 pre-fetch that is Jan 02 19:27:07 why would something be a bad url? Jan 02 19:27:14 you can do that with an interceptor Jan 02 19:27:18 pre validation Jan 02 19:27:54 plz show how thepoosh <3 Jan 02 19:28:06 just a sec Jan 02 19:28:10 will try soething out Jan 02 19:30:48 https://github.com/square/okhttp/wiki/Interceptors Jan 02 19:30:53 raoul11: ^^ Jan 02 19:32:49 thanks thepoosh, my brain is moosh atm, will read that tommorow Jan 02 19:32:57 sure sure Jan 02 19:33:02 go watch Sherlock Jan 02 19:33:05 i see a lot of varients of code on retrofit Jan 02 19:33:11 gonna wait till the season ends Jan 02 20:10:18 Hm, broken USB cables are tricky... Jan 02 20:12:05 Zta, oh goodness, yes. Jan 02 20:12:41 It was charging all right, but I couldn't get the debugger to connect. Jan 02 20:13:10 Zta, always have a backup cable on hand haha Jan 02 20:13:45 As I look at this problem more, I actually think I did the lichee+android build steps correctly. the pack command after a successful "make -j8" ends on this error. "No private recovery resources for TARGET_DEVICE astar-q82sd" "No rule to make target 'systemimage-nodep'" Has anyone seen this sort of error before? Jan 02 20:13:52 I brought my USB C from work. I don't have many of those. Jan 02 20:14:55 wrong channel.... Jan 02 20:14:58 Zta, ah. This is what I use when I dev on my nexus 6p http://a.co/b9bbKqP Jan 02 20:15:39 I only have 1 c to c cable and c to a cables. The ones that came with the device Jan 02 20:16:05 Hmmm, nice Jan 02 20:16:20 I highly recommend it. Jan 02 20:18:45 good to know Jan 02 20:19:03 Maybe my cable is degenerating too Jan 02 20:19:07 Melatonina, you also you a usb c device? Jan 02 20:19:13 It's a bit too short, actually Jan 02 20:19:39 you also have* Jan 02 20:19:58 I'm adding fling playback to my video player Jan 02 20:20:51 yes, USB C Jan 02 20:21:26 What kind, if you don't mind me asking? Jan 02 20:21:55 I only found a 1 m cable. I would need at least a 1.5m cable Jan 02 20:22:04 What do you mean with "kind"? Jan 02 20:22:11 I had a cheap A to C from deal extreme. It's a shame the build quality is so poor, because it was rather ingenious since the A plug couldn't be plugged in the wrong way. The plug is rather flimsy but it's the cable itself that's broken. Jan 02 20:22:12 What kind of device? Jan 02 20:22:13 what kind of device Jan 02 20:22:22 Sure, Nexus 5X Jan 02 20:22:49 nice, Zta that's interesting, I didn't know type A could support that Jan 02 20:23:20 It does if you build it smart =) I'll see if I can take a picture and show you... Jan 02 20:23:48 The only reason why I prefer an adapter over an A to C cable is that I can reuse any of my micro-usb cables or anyone else's if I'm not within reach of my cables Jan 02 20:24:20 Zta, use imgur Jan 02 20:25:33 by the way, amazon has those adapters from a manufacturer named Aukey for $6.99 usb pack of 3 Jan 02 20:29:08 do you know a cheap way to get a "out of tune TV" effect on Android? Jan 02 20:29:31 Melatonina, example? Jan 02 20:29:59 atbe: I didn't manage to focus properly, but I think you can see why the plug works both ways: http://imgur.com/a/gn1ox Jan 02 20:30:09 ah, like the discolored random pixilation? Jan 02 20:30:36 Zta, ah, they worked much harder at aligning it with the center, and spent pins on both sides Jan 02 20:30:39 very nice! Jan 02 20:31:06 Yes, it's a flimsy little plastic plate with pins on it. Jan 02 20:31:09 wait, did they put pins on both sides? Jan 02 20:31:14 yes Jan 02 20:31:21 I see, interesting design Jan 02 20:31:49 Clever fix for a problem that's been haunting humanity since the dawn of USB A. Jan 02 20:31:58 https://media2.giphy.com/media/riw3K0D2h4klG/200_s.gif Jan 02 20:32:01 Well, USB. Jan 02 20:32:06 Zta, indeed, but high risk in terms of damage control Jan 02 20:32:11 http://il.static.1001fonts.net/n/o/not-tuned-tv-font-1-big.png Jan 02 20:32:25 or just white noise Jan 02 20:32:26 http://lorirtaylor.com/wp-content/uploads/2014/10/white-noise-creativity-300x200.jpg Jan 02 20:32:53 but I'd like something more "slightly out of tune TV" effect than static Jan 02 20:33:02 Melatonina, http://jsfiddle.net/AbdiasSoftware/vX7NK/ Jan 02 20:33:09 Melatonina: Just play a repeating gif and have it fade out when your video starts? Jan 02 20:33:26 I think I did that once actually. Perhaps even the same gif anim as you've found! Jan 02 20:33:49 It looks familiar Jan 02 20:35:18 Perhaps make two of those play on top of each other, one with alpha=0.5 and make them play at different speeds to make it look totally random and noisy Jan 02 20:36:11 Melatonina, http://www.curtpalme.com/images/SMPTE.gif Jan 02 21:47:25 Grr... I do adapter.notifyDataSetChanged() but my RecyclerView appears to completely ignore this. It doesn't even consult the Adapter's getItemCount() Jan 02 22:10:07 It is as if the RecyclerView was initialized in a view of 0 height (e.g. empty adapter), even after adding items and notifying then the recyclerview never consults its adapter because it thinkgs there's no room to expand anyway Jan 02 22:11:52 Are you using an ArrayAdapter Zta ? Jan 02 22:12:15 NoRecyclerView.Adapter Jan 02 22:12:19 No; RecyclerView.Adapter Jan 02 22:12:48 Hm, got something working now if I change the RecyclerView's LayoutParams myself. Jan 02 22:16:31 you should print a debug statement at the point in your code where you call notifyDataSetChanged Jan 02 22:17:38 are you positive that point in your code is being executed? Also, are you sure you initialized the adapter? Does your layout look fine when you are previewing with some random values for all your views? Jan 02 22:17:43 Zta, Jan 02 22:19:16 All positive. Jan 02 22:19:37 Could you reveal the surrounding code? Jan 02 22:19:39 I use break points instead of log statements, and the debugger stops as expected. Jan 02 22:19:56 if the shoe fits Jan 02 22:20:03 I can try.. Jan 02 22:21:06 Are you calling it on the ui thread or a different thread? Jan 02 22:24:00 Did you extend the Adapter yourself and change the underlying array of data before calling notifyDataSetChanged? The default behavior of a a RecyclerView.Adapter will use the array of data you provided the adapter when you instantiated it. Jan 02 22:24:36 eh, that's a silly question given that you've changed the data already and are trying to get the changes to take effect on the ui Jan 02 22:26:32 atbe: It's nothing fancy, but it's a lot of code: http://pastebin.com/1rz4ixZe Jan 02 22:27:19 i'm basically making a RecyclerView show a grid of thumbnails, 3 pr. column. Jan 02 22:27:24 change that line to this Jan 02 22:27:33 http://pastebin.com/PwLvNkFP Jan 02 22:28:00 you are trying to call that function from the ui thread Jan 02 22:29:11 I don't have runOnUiThread in my custom View.. Jan 02 22:30:12 But.. I could pass a Handler with my setImageUrls() and do handler.post(...) ? Jan 02 22:30:45 That is also another option Jan 02 22:30:52 did you try replacing that line, though? Jan 02 22:31:11 I'm trying now. I just need to comment out my fix first. Jan 02 22:31:17 ok, sure Jan 02 22:32:31 you will to reference the activity Jan 02 22:32:32 I pretty sure I already am running on the UI thread btw. Jan 02 22:34:02 I'm changing view visibility later in that same call where I set data.. Jan 02 23:32:22 anyone experienced enough with Facebook SDK to know how I can acquire a new token? I use the short-lived token i get from FB to authenticate with my API and I issue another short lived token, I'm trying to figure out how I can get a new FB token to re-auth with my API so users who have longer sessions or leave the app running in the background can get reconnected without having to relaunch the app Jan 03 01:49:59 grekkos if your auth token becomes invalid why would you have to re-launch the app to get another one Jan 03 02:48:08 http://www.nielsen.com/us/en/insights/news/2016/tops-of-2016-digital.html Jan 03 02:48:19 thought android market share was greater in the US Jan 03 02:49:46 Larger than 53% you mean? Jan 03 02:49:57 yeah Jan 03 02:50:05 i know its higher globally **** ENDING LOGGING AT Tue Jan 03 03:00:01 2017