« first day (2021 days earlier)      last day (2931 days later) » 
00:00 - 14:0014:00 - 00:00

mr5
12:58 AM
o/
209
A: What is the name of the "-->" operator?

docx can go to zero even faster in opposite direction int x = 10; while( 0 <---- x ) { printf("%d ", x); } 8 6 4 2 You can control speed with an arrow! int x = 100; while( 0 <-------------------- x ) { printf("%d ", x); } 90 80 70 60 50 40 30 20 10 ;)

best answer
 
1:25 AM
building the sample app for @Graeme's lib. I need to use white icons for this though ahha
Graeme there's a minor bug in this
the background starts like transparent
I should stop on the same color I started with otherwise the gif looks weird haha
@Graeme I submitted a pull request for a super basic sample, but don't fret - I want to add to this. Tomorrow I will try to add a new feature and perhaps some of the Java code to provide an even better example for people who will use this.
 
mr5
1:44 AM
ew. blue&white
 
 
3 hours later…
5:12 AM
GM
 
 
1 hour later…
6:14 AM
morning
 
what's up warren?
 
just discovered that my car can make calls on my phone
 
6:30 AM
I use my car mainly for driving :D
but if you want to talk with you car, just do it :D
 
mr5
( ͡° ͜ʖ ͡°)
 
lol mr5
well, it's not like i want to
but it will indeed help me to have a hands-free device
 
mr5
I use my car mainly for ...
wait, I don't have one.
*(try not to cry)*
 
cry alot
 
lie down
hug the cat
 
6:40 AM
starts sneezing because of allergic reaction against cats
 
hands warren a tissue
i hate artists
 
mr5
how do I troubleshoot this?
what's that eric?
 
my city's May festival official banner
made by a renown contemprary artist :/
 
oh my...
 
16
Q: keytool error: java.lang.Exception: Failed to establish chain from reply

EddGenerate keystore: keytool -genkey -alias tomcat -keyalg RSA -keystore my.keystore -keysize 2048 Generate certificate signing request (CSR): keytool -certreq -alias tomcat -keyalg RSA -file my.csr -keystore my.keystore I then go off to godaddy and get some certificates. These i installed as...

not the same problem
bt might help
 
6:45 AM
300x digital zoom of a 1megapixel photo?
 
well, a twitter user found the truth behind
 
mr5
so I sudo chmod 766 on .android directory now I can't cd to it
 
it's a weather camera
on a foggy night
:/
not a single photoshop filter was used
 
I can count the artifacts... I mean, come one!
 
mr5
lol
 
6:49 AM
I have minus infinite designer skills but even I know that this "banner" is shitty done
 
thank god. because the mayor apparently "loves it"·
 
I don't even start with the typography... my design teacher would have killed me for EVERY LETTER A NEW COLOR!
 
the culture and sports chancellor is a friend of my gf and i know her facial expression, and during the "showing off" of the banner, she was like ... "my god, do i have to take part in this?"
 
mr5
so I needed to sudo chmod 777 to .android folder :|
 
damn :/
775 usually works too
it's almost everything except run from random user
 
6:52 AM
mr5, sounds about wrong owner/group of the .android folder?!
 
mr5
if it's stupid and it works, it ain't stupid ¯\_(ツ)_/¯
so I'm sticking with it
 
a friend of mine just made this photo yesterday and it's already shared 15K times on twitter asking for it to be the may festival banner photo
 
mr5
I've tried 760 but still not working though
whoa
 
#Nofilters #ShutterSpeedOnly
 
that is a nice photo
 
mr5
6:54 AM
very nice indeed
 
mr5, who is the owner/group of your .android folder?
 
and this is the alternative may festival banner , this "alternative festival" is organized by the commies and anticapitalists ( they have great booze ):P
 
why the fuck does my textview ignores the drawableTop I set?!
 
mr5
I dunno. me?
 
because you're angry , and he knows it
 
6:55 AM
do a ls -al
 
mr5
how do I know who is the owner?
 
> drwxrwxr-x 6 martin martin 4096 Apr 19 12:01 .android
owner and group should be your username
 
mr5
it's root and staff
my user name is mark though
 
@WarrenFaith does it show on the render?
 
so you fucked up the ownership
 
mr5
6:59 AM
I didn't do anything :|
 
chown mark.mark -r .android
it sounds like you started AS or the sdkmanager as root once
 
mr5
chown == change owner? amirite?
 
yes
-r for recursive (including subdirs and files)
 
mr5
hmm I just launched it directly on /Applications
 
ah you are on osx?
 
7:00 AM
yikes
mr5 is feeling the pain of doing osx/ios apps too
 
you should than only start with chown mark -r .android
 
mr5
yep
 
so you just change the owner, not the group
 
mr5
yeah. I noticed the error too illegal user name
 
illegal user name. an Apple police car is en route, do not try to hide.
 
mr5
7:02 AM
argh
no such file or directory
 
Eric: no the renderer did not show it correctly (it is gridview item) so he didn't know what do load as item
mr5: just delete the folder and try again
 
mr5
@CptEric take all this Apple products...please
 
it will delete your AVDs, too, just that you know
 
mr5
and my keystore right?
 
yeah
 
mr5
7:03 AM
o.O
 
but only the debug one
 
mr5
hey @McAdam331 I'm also deleting my keystore
just so you know
 
unless you have stored your playstore keystore there... but anyway you should have it in a backup, right?!
 
mr5
nah, it's alright to delete it. just installed AS recently
 
Eric: I managed to get it with xml and afterwards I tried three different methods to get it and the most obvious one did it: setCompoundDrawablesRelativeWithIntrinsicBounds(...)
 
mr5
7:06 AM
it's working fine now
thanks Warren :)
 
nice
 
mr5
who the hell is this staff btw?
I didn't remember creating that account
 
it is a group, not an account
probably some default usergroup for any registered user on the device?
 
weird
staff is the default OSX group
drwxr-xr-x 14 useit staff
 
mr5
haa
useit
your company name right?
 
7:09 AM
aye
 
mr5
what does that 'd' stands for ...no lenny face please
 
d means directory
 
i hate samsungs
Callback buffer was too small! Expected 1382400 bytes, but got 460800 bytes!
 
7:38 AM
Morning
Thanks @McAdam331
 
mornin'
 
Hi Eric
Now going to spend my morning trying to figure out how to make AS accept the git root of my module again as it's "forgotten" it
 
question graeme
how many items can bit in your library?
 
How ever many you want
 
i mean, filling the screen space without scroll
 
7:46 AM
All of the items are custom views and the space is divided equally.
 
google reccomends 3 or 4
hm
ok
it's 'cause i need 5
and i'll make a "example" project
 
Graeme, all you need it under the menu entry "VCS"
 
to show your bottom bar to "UI design boss" :P
 
Yeah, you could do 20 on a tablet - I think the "tablet" bottom navigation sucks :P
So I haven't implemented it :P
 
@RonakMehta
 
7:47 AM
Warren - My modules is "inside" my main git structure and it's confusing things.
 
maybe you'll be on a thousands of users app ^_^
 
Will keep trying with that way though if you think it's a good bet
 
your modules are git submodules?
 
8:00 AM
are "Git submodules" a thing?
If so - no
I have a git root as a directory inside a git structure though.
 
that is plain bad :)
 
I'm not a git expert x.x
I was told it was totally fine and happens all the time
 
normally you would do that with submodules, at least it would be a cleaner way of creating such a git root in git root thing
submodules create a context for your git commands. So based on your directory you are in when doing git, it knows if it should be applied to the main root or the submodule root
 
googles git submodules
 
8:17 AM
I have now created a submodule...
 
AAAAAND
now i'm designing a grand strategy board game
via hangouts
d10,d2 and d6
 
d2 is a coin :D
 
i know
XD
 
That's my bit of knowledge for the day/
Warren - AS doesn't recognise git roots of submodules either :D
Still fighting - please hold
 
ola
 
8:43 AM
I have read and understood the rules
 
o/
 
Thanks for the add, Ahmad! I had no idea this room (or even chat.stackoverflow.com) existed until I saw it come in as one of the referrers of traffic to Android-DebugPort
super cool
 
@JasonWyatt android debug port?
ohh that's awesome, is that your blog?
 
Ohhh yeah that
@petey linked to it a few days ago
 
8:52 AM
yeah
 
you can see referrers on github?
 
Yeah, in the "traffic" graph (only visible to project owners/team-members, i think)
 
mine doesn't say the exact url tho
or did it only say chat.stackoverflow.com for you?
 
if I click on "chat.stackoverflow.com" in my list, I get this:
 
\o
 
8:55 AM
ooooh interesting!
o/ bb
 
hi ahmad, how are you doing ?
 
good good just way too tired
listening to an intro to java lecture in uni... I could have just stayed home lol
and you?
 
indeed. I am fine thanks :)
 
"Intro to java" ? Aren't you ever so slightly past that Ahmad? :)
 
yeah, the lecture is called algorithms and data structures
so I didn't think they'd go over that
 
8:59 AM
lol Ahmad
Goodmorning! o/
 
\o
 
I got a nice book about algorithms and data structures. I saw they covered the same book on coursera. Maybe check that instead?
 
I have the same book
 
That's not the one I have. But I feel I saw that cover before.
 
9:02 AM
I've started reading CLRS a few years back. Was really difficult. I should maybe start again.
 
lot of maths in there
 
yah
 
Found it really well explained and intuitive
Not sure if everyone agrees to that
I failed my intro to java course the first time and passed this class while only studying 2 days before the exam and skipping tasks during the year lol
 
Sedgewick is a nice book as well
 
There's a failed triforce on the cover
Also, youtube is a great source for sorting algorithms :)
 
9:09 AM
do they sort the videos in a good way ?
 
*_*
 
Finally added an animation to my lib page - github.com/gwoodhouse/BottomNavigation
 
if(getChildCount() < 2) { should be the first check
 
Why?
 
why looping, even for one child, if you expect at least two
 
9:22 AM
Why check the count if the first item isn't the type that you need? :)
 
i need a name for my grand strategy tabletop game
 
because is way less expensive ?
 
roman era based
250bc to 440ac
 
It's a implementation time check - end user would never see that error - so expense doesn't matter. I'll change it though ;)
 
i could just ask Paradox interactive for the "Europa Universalis : Rome" name , but meh.
 
9:24 AM
Eric - Is this to play with mates or to sell?
 
dunno :/
i've started thinking on it an hour ago and i already got the conquer system, commerce, economy, politics...
should be working...
 
random.nextInt(7 - 0 + 1) + 0;
 
so maybe we make a very cool prototype to play with mates and show it to Edge, a tabletop company from BCN
edge is known for games like game of thrones tabletop, munchkins...
 
Eric: "Et Tu: Brutal"?
 
lol, nice
 
9:57 AM
Is anybody aware of an extended CoordinatorLayout that is also a NestedScrollingChild? I haven't had luck searching myself, and even though there is a bug report/feature request for it with Google, they responded saying they won't implement it. My designer wants some functionality that would make the most sense to be implemented as nested coordinator layouts
("nested" because we have nested fragments... outer fragment has a viewpager inside a coordinator layout, and one of the viewpager fragments needs some coordinator-layout-ish functionality too)
 
10:09 AM
uhm
i think it's inherited
 
it's a parent, but isn't a child
at least: it doesn't really play well as a scrolling child... when the fragment which contains the CoordinatorLayout is active, the ViewPager element stops behaving as @string/appbar_scrolling_view_behavior would suggest WRT the outer fragment's AppBarLayout
 
what do you need?
a scroll inside a viewpager?
 
I'll see if I can explain the layout in a gist, brb
 
that uses some of the coordinator layout's things?
(like hiding the toolbar) ?
 
10:17 AM
why not both?
XD
 
hah
 
find a partner that loves pizza. ^_^
 
CoordinatorLayout isn't a scrolling container? So why would it implement NestedScrolllingChild ?
 
I need to hide some filters which adjust how data is displayed in a recyclerview (within the viewpager fragment) but those filters should be hidden at first, and only display themselves when you scroll past the top of the recyclerview's data. In the ViewPager's parent, there is an AppBarLayout which also needs to collapse/expand
 
You can have <CoordinatorLayout><CoordinatorLayout><NestedScrollingChild> no problem?
 
10:22 AM
@JasonWyatt
 
the layout ends up being something like that^
 
Jason - Just remove the inner CoordinatorLayout - the outter Coordinator will deal with everything fine
 
it doesn't though.. because the inner appbarlayout isn't collapsed/hidden in that situation
 
You need to change your behaviours you assign to those views - make them dependent on one another
BB - I've updated my source if you'd like a look, much prettier. The first checkin was ever so slightly hectic.
 
Thanks Graeme, I'll give that a shot
 
10:28 AM
ok, could you share the link again?
 
O_O i hate ios @mr5
why the hell isn't the navbar outside the view controller's bounds?
it's been a lot since i did ios UI, doing this poop again.
 
eric how can i do that like if i want time diffrence from selected time like

6:30-4:30=2 hours
Json
any idea
 
uh? language? -__-'
 
java
android
 
10:36 AM
transform text to Date, Date to milliseconds, use the bigger one first in a 'A-B' operation, transform result back to Date, then parse to "hh hours"
dunno
:/
 
let me try
brother
 
avici starts playing..
heeeeeyyy brother...
 
@AdityaVyas You could give DateUtils.formatElapsedTime a try: developer.android.com/reference/android/text/format/…
 
^
 
Graeme, better
 
10:41 AM
ok jason
 
10:53 AM
eric its done
:)
thansk jason and eric
 
np
 
I currently listen to the Fragmented and Google Developers Backstage podcasts.. are there any other good android-dev podcasts out there I should be subscribed to?
 
11:08 AM
Did you update your docs for jcenter Eric?
 
nope
didn't found time
:/ i should
please send me hangouts with what i have to update
:,(
 
I'll follow them again for 1.0.1 of my library and see if it works
 
@JasonWyatt I think those are two big ones
otherwise also check out android dialogs on youtube
 
listen to ahmad, he's the podcast master
 
it's interviews with prominent community members
 
11:11 AM
You have a section called "Publishing to Jcentral()" which starts from "add new version" - which is fine. But you don't have a "Create your repository on JCentral()" section. I think that's where I got lost
 
awesome!
 
okay
 
Grrrr!!
"File upload failed"
What a well explained error. Thanks bintray. kick kick
 
11:30 AM
XD
Exception on line 101 : UnexpectedException ex caused by UnexpectedException
thanks, obama.
not a real exception case, just maybe what happened to you , graeme.
 
Eric - Do you know any reasons while file uploads would fail?
 
Internet, incorrect file output, filesize, version not increased
 
11:53 AM
Version 1.0.1 of BottomNavigation has been released! Grab it now from #bintray bintray.com/castle/maven/BottomNavigation/1.0.1/view!
2
:D
 
12:44 PM
syntax error when creating a database and I can't see where the error is , driving me nuts
 
The guy next to me has started singing Queen and rocking backwards and forwards :) People that say our job isn't detrimental to your mental health don't know what we do.
 
1:13 PM
Now that Adam has contributed to my library, I'm going to star his post. Tit for tat.
 
I did it as well :/
 
can you swipe between the bottomnavigation thing?
 
Swiping would be done on your ViewPager - at which point you'd call animateToChild(index)
I'm going to put in a ViewPager into the example next time I play with it
 
1:33 PM
o/
 
\o
 
Graeme
I just saw this conversation
 
Yes?
 
I'll add a ViewPager - it's one of the enhancements I wanted to make
but I just wanted to get a quick sample in there so you knew I wasn't leading you on haha
 
^ what do those emoticons mean? o/ and \o
 
1:34 PM
it's like a wave, Jason
the o is the head and the / is the arm
 
Okay - I've already done some enhancements :) Make sure you pull first
 
so it's like waving hello
:) Did you like it?
 
Yessum - Took me all morning to get AS to stop bitching about the new layout - ended up giving up and creating a new project from scratch ^-^
 
I figured that's what they meant, but wasn't sure if o/ meant something different from \o (like hello vs. goodbye)
 
That was the most thorough explanation of wave I have ever read
 
1:35 PM
nah the arm side is just preference lol
lmao cM
 
@Kaushik Now you came to spy on us? :D
 
1:57 PM
BACK
 
so I just told my team leader that one of my colleagues sucks... of course I provided quite some prove... I still feel a bit bad but not that bad
 
I used vysor for a go to meeting/demo today and it worked nicely
 
XD
poor warren
 
So whoever mentioned that, thanks! (I think Warren)
Well, if he does suck then your team leader aught to know about it. But still not fun when you have to do that
 
00:00 - 14:0014:00 - 00:00

« first day (2021 days earlier)      last day (2931 days later) »