« first day (1350 days earlier)      last day (3613 days later) » 

12:00 AM
really?
really you motherfucker
newest sdk is omitting zip-align
i swear android is the worst sometimes
 
now we will just die of cancer
 
why the fuck is there 0 left padding on that page?
and im an idiot I was zoomed in
 
12:15 AM
Everybody's so mad today.
 
I'm pretty happy
tomorrow is friday
and maker faire is this weekend
 
/mutters Y U FAIL, TESTS?
 
so you could fix them
when my boss finds an error it is usually something he has not specified and told me
cause he always like explaining and if I try to write something down he thinks it takes too long
so I make him write me emails with requirements
and then I ask him questions
and at the end he wonders why something didn't work
 
you're supposed to read his mind... duh
 
yes
next time
brain reading helmet
and when I don't do something right, he is like, yeah that's so easy if you know finance
you don't know anything, do you :D
and I am like, yeah, that's why I work here to learn
you are expecting me to know financial matters
while I have no previous education about it
:D
 
12:29 AM
tell him you'll handle the financials if he handles the coding
 
 
1 hour later…
1:37 AM
Where do you guys suggest I save related files to my application
 
1:48 AM
to open ended
you'll have to define "related files" a bit more
 
bin
 
I am storing files like user data in the private storage which I think is a good idea
so are there standards or suggestions of setting additional permission rights or access rights to those files
assuming they contain very sensitive user information and you want to avoid data mining, unrestricted access, even from the user
 
well
A) what do you mean by "private storage"
B) you can't prevent 'unrestricted access' from the user. (nor should you want to imo since after all it is their device, not yours)
C) if you store stuff in /data/data/com.your.package.name/ directly no other app on the device except yours will get read access to the directory (unless you explicitly set read access for particular files). But this does not entirely prevent user access. If the device is rooted the read access is trivial since su binary can bypass
D) if your data is "very sensitive" you shouldn't store it on the device. Communicate it securely to a remote machine that you have far more control over than the users device and store it there.
 
2:10 AM
Good day android programmers a pleasant day to everyone
 
Does anybody still using a Pull To refresh on a listview?
 
2:28 AM
not I
 
Thanks a lot FoamyGuy!
 
 
2 hours later…
4:36 AM
Heya Everyone :)
 
μακακας, I am not sure of pronouncing your name :(
anyway sup ?
 
 
1 hour later…
5:48 AM
\o
 
Heya Williams
 
Heya TheLittleNaruto
 
ssup ?
 
just learning BitBucket
What do you use for version control ?
 
I use my PC hard disk.
;)
 
6:00 AM
doesn't it difficult for you in a big project ?
 
Naah!
I manage it date by date.
 
omg
 
What you do ?
 
I used to use SVN but for now using BitBucket
 
BitBucket is pretty cool and has privacy too for free :)
 
6:01 AM
yes
 
Did you switch Job ?
 
No
 
but I still don't know how to resolve conflicts in BitBucket, still didn't have that situation.
when I will have conflict then it would put somewhat me in trouble to fix that
 
Someone can help you in Bit Bucket
 
6:06 AM
I think so because guys use here
 
Heya
 
Williams, you can ask your query to @ItachiUchiha
 
Does it have the same conflicts with Github?
 
@Williams Conflicts in source ?
 
No conflicts right now
but later may be
 
6:12 AM
It works pretty same way as it works in SVN !
If you have a conflict, it won't allow you to push !
 
ok then it will be good for me to resolve
 
You will have to compare and resolve it !
 
ok
 
6:40 AM
posted on June 27, 2014 by Romain Guy

Chet and I gave a talk entitled “Material Witness” at Google I/O today. I am happy to announce that the entire talk is now available on YouTube. I have also published the following resources: The slides in PDF format The slides in Keynote format (recommended, contains videos) The demo’s source code Enjoy!

 
user457812
6:53 AM
I can only imagine how hard using git gets for people who expect it to work the same as subversion.
 
user457812
40
Q: partial commits with subversion

beneGiven the case I made two independent changes in one file: eg. added a new method and changed another method. I often don't want to commit both changes as one commit, but as two independent commits. On a git repository I would use the Interactive Mode of git-add(1) to split the hunk into smalle...

 
user457812
This is also sort of funny.
 
user457812
Chosen answer: use git on top of subversion.
 
user457812
Most-upvoted answer: 8 steps!
 
user457812
One of which can potentially nuke all your changes to a file.
 
7:55 AM
Morning !
 
Morning
 
morning everybody
 
user457812
 
user457812
Still one of my favoritest videos.
 
8:12 AM
lol
 
user457812
I wonder if there are still fights over git vs mercurial.
 
user457812
I'd wonder about bazaar, but bazaar's dead.
 
8:29 AM
Ahmad, Romain Guy was on the android UI toolkit team ?
 
I wanted to totally revert to a previous commit (locally), I made git checkout <hash> to that desired commit. I'm fine with it, now I want to totally delete everything that is after my current state. How to do that?
 
reset hard ?
 
still detached
 
restore the head and the reset hard to the hash
but read the documentation before
and I should not give people git suggestios
 
"restore the head and the reset hard to the hash" how to do that?
don't be afraid about wrong advice - remote contains what I need, I just want to fix this local mess I created
 
8:44 AM
uhm
git reset --hard hashcode didn't work?
 
user457812
What do you mean delete everything after your current state?
 
user457812
What do you mean by state and after?
 
good morning
 
hellloo
 
morning
AndroidStudio is in beta (0.8)
 
8:47 AM
i managed to fix eclipse thanks to my work pc having the file, thank god
 
user457812
pokes @DenRimus
 
just a sec
 
AS is 0.6.1 (at least last time I checked)
 
yep 0.6.1 i checked too no update available !
 
I mean, that I committed unwanted things to my local master. I desired to remove them. I made git reset --hard <hash>, where hash was a commit previous to the most last one, that unwanted one.
Code got reset in working directory, but git status was still showing that I am one commit ahead than origin remote 0_o
then I made git checkout <hash> to the same hash as above and now I'm in some detached state, which I don't understand.
I guess you can never be too good at git commands
 
user457812
8:53 AM
What branch are you on?
 
master
 
user457812
Are you sure?
 
yep
 
user457812
Do git branch and double-check.
 
wait
detahed state gone after re-swithing to master
den@den-drobiazko-pc:~/IdeaProjects/fishpictures$ gs
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)

nothing to commit, working directory clean
but I'mm still ahead of origin/master
 
user457812
8:54 AM
So if you do git log, is the commit you wanted to remove still there?
 
yes
 
user457812
So, there are two-ish ways to do this (plus more ways you shouldn't do this)
 
user457812
First way is you can now do git reset head^ and that'll nuke the most recent commit, but the files will remain the same (i.e., as though you hadn't committed the changes).
 
user457812
Using --hard will also nuke the changes.
 
user457812
By default, it's --mixed, which'll keep the changes but it'll reset the head to whatever you tell it to.
 
user457812
8:58 AM
The other way, which I usually do because I somehow screw up git-reset every single time, is to just do git rebase --interactive and just delete the line for the commit, which in turn means it's going to rewrite history without that commit.
 
user457812
That might not work with a single commit though.
 
hm. In this particular situation I'm fine with nuke-ing all work after HEAD-1 state. So I do git reset --hard <hash>?
wait, do I specify hash for the commit to delete, or the commit that I want to became the last after reset?
 
user457812
git-reset sets the head (of the branch) to the commit you specify.
 
lol
now I get
At the beginning I made reset to commit that was already the last possible
ok< here we go
yeeeah
got it now. A big, huge thanks!
 
user457812
Also keep in mind that if you're only nuking the last commit, you can just reset to head~ (or head^ — they should be functionally the same for only one)
 
user457812
9:08 AM
If you want to be as confused as I am by the various revision specifiers, you can read git help revisions.
 
AS 8 has to downloaded from the website I think
 
user457812
As a side-note: I really like git.
 
user457812
And for some reason really like explaining how to do things in git.
 
i like pretending i know what I'm doing
...
 
user457812
Possibly because every time someone figures out how to do a thing in git, a kitten is born. Also because people seem to be really happy when they figure out how to use git.
 
9:13 AM
do you guys use sourcetree or just the command line?
 
user457812
Since git usage is more or less full of I-suddenly-get-it moments.
 
user457812
I use the command line.
 
user457812
I know a lot of people who use SourceTree, and I like it, but I get stuff done faster with the CLI.
 
interesting, I get stuff done a lot faster with SourceTree
 
user457812
I think you can do most normal stuff in SourceTree just as quickly as the CLI.
 
9:14 AM
mind you i'm not doing anything fancy, just backups
 
user457812
I've been using git since 2008-ish, though, so I started off with the CLI.
 
user457812
So it just sort of goes that I'm going to know the CLI better than SourceTree.
 
yeah makes sense
 
Always confuses me about some #stackoverflow users: they have a question, but don't respond to context/more-info queries in comments.
 
problem is I don't think they use SO as a last resort, it's like the first thing they do, then they start googling or something ridiculous
 
9:24 AM
RenderThread is new in android L version ?!
 
I guess my git kitten was born long ago
And I use command-line
but sometimes I still get lost in git things
 
9:46 AM
btw one more question
this one cost me one day, and still haven't found a way to make it work ((
0
Q: Ask for additional facebook permission

Den RimusI'm having trouble while trying to retrieve an additional permission "publish_action". I assume that user has already logged in via facebook thus basic permissions are granted. Then I have this code (from my fragment): List<String> permissionsRequested = Arrays.asList("publish_actions"); List<S...

 
just a side not for your comment: if you say something like "that is not an option", provide a reason so others can understand without asking for details again
 
I can't edit a comment, can I?
 
Warren, I get a lot of Waiting for device. this two last days !
 
you have a 5-mins window to edit comment
 
I don't quite understand your question Den
are you trying to request read and publish permissions in one go?
 
9:55 AM
no!
I have read permissions already
later in my app workflow I want to request from user publish_actions permission
I added one more comment about the reason why no to use proposed lib
 
I have done it before in a similar way
you can set your own callback though, so you don't have to rely on onActivityResult
 
tried that, didn't work. Can you explain with some code samples?
 
I'll add code to your question not here, one sec
 
ok, thanks
 
10:09 AM
Abdellah, have you tried restarting adb and/or device?
 
Restarting the device solve the problem
adb not solved the problem
unplug/replug of the device solved the problem and is the best solution
13
Q: Android Studio: "Waiting for device." Trying to run app on phone

pasta12So I'm attempting to transition from Eclipse to Android Studio today. I generated the Gradle build files in Eclipse and imported into Android Studio. I changed my preferences to run the app from a USB device instead of the emulator. Now when I run my app with my phone plugged in, all I get is a m...

 
RED_ can you give a gist of your callback and everything that runs after it (related to using session, i mean)
 
for I just needed to open a new activity
so it's just Intent in = new Intnet() startActivity() etc etc
i'll add the callback code to my answer
 
WHOOOOHOOOO WELCOME BACK @GRAEME!!!!!
how are you my friend?
 
user457812
.. An ant just crawled up my MBP screen.
 
10:22 AM
I'm gone for 2 years and I not only lose my mod but also write access? :)
I'm good thanks, how goes?
 
user457812
You gave up the owner status, remember? >_>
 
yeah we cleaned up a year ago or so
 
Plus all my stars are gone - who knew?
 
user457812
I think an ant might've ridden the cat onto the bed and made its way onto the laptop.
 
Did you enjoy Google I/O? :)
 
10:23 AM
 
haven't watched a second of Google I/O
 
user457812
I didn't pay much attention to I/O.
 
user457812
I just know we've got playstation buttons and support hell coming up.
 
:o
You should - it was awesome
 
user457812
i.e., a repeat of here's-ICS-and-onward-stuff-but-support-2.x-because-nobody-will-get-an-update
 
10:28 AM
I started the day by saying "I don't understand this wearable stuff - if you have a phone they don't even have a purpose" and by lunch time I had lined up which watch and set of apps I would need to get.
 
user457812
I'm still in the thoroughly-don't-care-about-wearables group.
 
user457812
It's not a cyborg body, so it's not my cup of tea
 
Also, L-preview is super lovely to use. Very nippy!
 
i missed loads of google io
i've got everything added to watch later on youtube
 
@nil i had watched Psycho-pass any other one :p
 
10:30 AM
Although I'm currently in the middle of an "Eclipse Update" aka "Install Eclipse From Crash and Reimport all projects" because of it.
 
yeah theres a bug with eclipse and ADT tools
i spent all night fixing that and a few minutes this morning
 
user457812
Anyway, sleep time.
 
what time is it over there?
 
11.31am - Where are you Red?
 
I'm in the UK, so same
 
10:32 AM
@user1835337 rejected for using default username (please read our room rules to get detailed informations)
 
I'm still trying to figure out how to stop my projects referencing annotation.jar :) Silly Eclipse.
 
haha, i just grabbed and old annotation.jar from my work pc and added it
 
XD That can't be the accepted solution can it? :)
 
of course not! but i needed projects working, specifically the facebook sdk
 
Currently duplicating me project directory so I can reimport them brand new :P
Anybody in here try out Glass btw?
 
10:35 AM
@Darshana rejected. You have a bad question/answer ratio plus bad chat style (stuff like "bat" and "u") plus excessive ping usage (triple ping in a single message)
 
Also, @OctavienDamien and @Merlin no longer around?
 
Octavien gave up his ownership as he was annoyed by the request pings
and I haven't seen Merlin in ages
 
Hopefully he got a better job
 
does someone know if @Glitch got the job at Atlassian?
A colleague of mine goes to Sydney to work there as well within the next month
 
10:57 AM
Well Done!
 
well, I tried that facebook callback
not being called.
 
where are you starting the new permission request?
onCreate?
 
@warren yes he got the job
 
11:16 AM
Ah good to know
 
no, in one button's onclick
 
12:00 PM
 
12:12 PM
@HimanshuAgarwal Rejected. You're a help vampire. You're only dumping your questions in all Android rooms.
 
o/
finally home
 
\o yoo!
So you're in the same time zone as me now?
how is spain?
 
yeah
it is nice
but I am really tired
 
Feeling any jet lag?
how long have you been traveling now?
2 days?
 
yeah
i am on a phone and it sucks
i will come back later
 
12:20 PM
If I where you I would just sleep through now
 
enjoy your sleep
 
Go and sleep 12 hours man :D
 
doing that will kill me
 
Do guys think this question should have been put on hold?
0
A: How do you achieve Material design components pre API 21?

GraemeAs of now this is the closest Google have come to offering compatibility: http://developer.android.com/preview/material/compatibility.html As there are additional basic "android:" tags in the new API, that I imagine will be used extensively, you will need provide alternate layouts for API 21 (...

The original question was absolute pants - but reworded I think it's okay.
 
16 hours ago, by Ahmad
It's my chance, I'm going to do the MaterialBarScherlock Lib
Guess I can forget that now. Og it's not in the support lib
:(
why emmanuel?
 
12:23 PM
Graeme definitely.
 
i want to sleep when people sleep
otherwise i will be up when they sleep
 
Oh right, otherwise your sleep cycle will be messed
Good call
 
later guys
 
wait, 2pm is a valid time for a 18h nap
 
Blackbelt: Ah - would have been nice to get a heads up if Google release a compatibility package or set of libraries
 
12:28 PM
that for sure... but since nobody knows, why bother asking in the first place
 
Hey guys !
Everyone from Germany over here :)
 
You as well?
 
Naah
 
@trevor-e Just booked my flight through KAYAK, definitely better than the sites I tried before
 
Our queen is german so I am german
 
12:36 PM
why are all flight booking sites so cluttered and ugly?
The queen and german? o.0
 
indeed
whole royal family is
 
Oh TIL
Didn't know that so many ancestors that where german
But I think that's the case in all royal families all over Europe
 
possibly yeah
 
they married people from other royal families in other countries to bond
and guarantee that in case of war they wouldn't fight against them
 
Our original royal family line died out didn't they? So they had to import a German
vorsprung durch deutsch Königtum
 
1:01 PM
I leave for one second and @Graeme is back! o/
 
Graeme is back? o.O
 
Hi Glitch, Raghav!
 
@WarrenFaith Yes I did get the job!
 
Was hoping the room would be bursting with excitement over Google IO
 
Google I/O was pretty meh
 
1:04 PM
I have to rewatch so much
Missed the whole day yesterday
because of the football game
 
This was my favourite one
I want my watch to tell me to eat Pizza in case I forget...
 
But we knew about the watch stuff ages ago
 
I'm undecided on if I like the watch
On one hand, you can do stuff with it
On the other, one day battery
 
you went to Google IO graeme?
 
I do wish the Moto360 was released so I could claim it on tax
 
1:05 PM
I'm pretty thrilled about my Pebble's four day
 
Raghav - This is why you should keep your watch just on the one hand!
<awaits applause>
 
slowly applauds
 
I'm not sure I'd even wear it to be honest. It's too ugly
 
Ahmad - Nah, just watched the keynote
Glitch - I'm waiting for the motorola one to come out
 
@Glitch a colleague of mine will start there next month as well.
 
1:07 PM
Wearing a Moto360 means giving up this: stockwatches.com.au/shop/s001b
 
though he is iOS dev
 
@WarrenFaith I don't actually start until Jan 2015
But I do have the job
 
I had the foresight to create
I shall get that damned badge now :D
 
I guess that gives me time to finish Lux 2.0, if Google's 'adaptive brightness' doesn't kill my sales
But I doubt their algorithm is any different to the iOS auto brightness
 
Oh no. I already have that badge :/
 
1:09 PM
that watch looks exactly like the moto 360
looks just as big too
 
Such a badge hoarder
 
Heh. I literally get them for no reason these days
 
@RED_ No where near as big or thick
 
I barely answer anymore, but I keep getting ones from upvotes on old answers
 
pretty cheap for a solid swiss watch :)
 
1:11 PM
Before @Graeme left he must have infected me with the fashion bug
:P
 
same raghav
I used to answer stuff
 
There are worse things I could infect people with I guess :D
 
Did you end up leaving Aus?
 
Who, me?
 
yeah
 
1:13 PM
I left Aus like - A bazillion years ago :) Before I came in here
 
Oh right, I can only remember the bit where you hated the fashion scene here :P
 
I didn't hate it - it's just several years behind the rest of the world :)
Was in Perth anyway
 
I've been trying to dress better, but I'm consciously ignoring trends. Sticking with the classics
 
lol, I got tumbleweed badge )
I asked a question that no one likes, has interest in it or an answer )
voohoooo!
 
whenever I read your name I read "Don Imus" first =x
 
1:26 PM
gg
I wonder if I can change that displayed name
 
I think it changes your name site wide
I used to be Tim, but I got tired of there being so many Tims so I changed
You should not change it just on my behalf though
 
2:23 PM
@Ahmad nice! where are you traveling to?
also congrats @Glitch
do you know what team you will work on there?
 
2:37 PM
Android studio has a built in colour picker that generates hex codes, hell yes
that's fantastic
 
yea it does, and some more perks
and in the latest version the previews got more powerful and dynamic
 
this is my go to when using eclipse: 2createawebsite.com/build/hex-colors.html
easier than opening photoshop
 
:D bookmarked hehe
thanks for the share red
 
do you huys have private apps just developed for you ?
 
have private apps that are made for us? not sure I follow
 
2:47 PM
Hey guys.
 
hey ak
 
How is everyone?
 
intellij has had the color picker feature for a long time
 
good so far, about to start some work for the day
 
looking at it, the sdk guide doesn't really provide a lot of info for android L
i'm going through it quite quickly, probably because I can't test it on a device till i get home
 

« first day (1350 days earlier)      last day (3613 days later) »