« first day (1815 days earlier)      last day (3137 days later) » 

12:41 AM
 
12:53 AM
Morning
 
o/
 
what if he'a USB C advocate tho
 
don't ruin the joke, just laugh.
 
whenever I get a USB C device I will unplug and and turn the plug around then plug it back in anyway. Out of respect for the past.
 
o/
 
1:01 AM
o/
 
\o
 
Have I missed anything exciting today?
 
I made an iOS app
I thought that was exciting. But otherwise, not really.
 
Sounds exciting!
Does it work?
 
Yeah! :)
 
1:25 AM
I am having severe writers block lately.
 
drink tea
 
I don't drink tea lol
 
sorry, I'm bad with advices
 
o/
 
\o
 
1:27 AM
anyone here ever used the app "Swift wifi"?
 
drink club mate
always makes me productive
maybe you can get it in the US
not sure
 
Oh man Tristan is here
 
uh oh
 
Wowwww
 
1:47 AM
Hahaha
 
2:04 AM
@McAdam331 I've been trying to think of ideas for you but haven't come up with anything :(
Whatever happened to the animations suggestion?
Or a nav drawer without fragments :)
 
I just haven't had time to learn animations enough. I'll try it out again soon.
Maybe you can answer another question
 
42
 
If I have a project
with packages com.androidessence.someSubPackage and it has a class in it say MainObject.java
and I also have a package com.androidessence.someSubPackage.innerPackage which has a file called "myFile.xml" and I want to access it from MainObject.java, how do I do it?
I tried MainObject.class.getResource("/innerPackage/myFile.xml").toString() but I'm getting an NPE
 
What do you mean? A layout file? It should be able to find it just fine
 
I'll double check that I'm using the right resource string but I'm pretty sure I am
It's not a layout file
I'm trying to read an XML file at runtime, that's inside a package, within the package of the file trying to read it if that makes sense.
I can put them in the same package if I want to, but I just can't figure out how to get relative file locations
 
2:07 AM
Oh wait, MainObject.java doesn't extend Activity, does it?
 
Nope.
 
Where is it actually stored? Assets or where?
 
In my main package.
com.androidessence.myApp
 
You should store a file like that in the assets folder, afaik
Or maybe I'm confused
 
I guess I could.
but if MainObject.java isn't an activity, how does it access resources?
This worked as a library, but the second I try to take the code to make it work the way I need it to this line of code doesn't work.
What the hell.
 
2:12 AM
Well, you would need to pass it a Context to access the resources if that isn't an issue
 
Yeah I'll have to move all the files and try something like that
 
I thought you were trying to access one xml file?
Create an assets folder in your main dir and put them there. Then access it
I have some code for doing that with AssetManager at the office if you need any help with it
Or I think I still have it. But there's not too much to it
You could also just save it to internal storage and read the file like that
 
Well I have multiple XML files ha but I pass in the name so if I can do it with one I can do the rest
I think I got it.
 
2:27 AM
What did you do?
 
Ultimately something like this: stackoverflow.com/a/15934525/3131147
I moved them into res/raw folder
and accessed them using the code in that answer. I did have to pass a Context into my function though, and use context.getResources().openRaw... but that was nbd
 
good
 
Thanks, @codeMagic!
 
2:47 AM
@McAdam331 I don't think I did anything but...you're still welcome
Got an email today that my "boss" wants me to take over the "Android project" he started a little while back. Fuck me
 
I just wanted to make you feel accomplished.
 
Get ready to see me bitch about abunchoffuckingvariablenameslikethis
Oh, well I certainly appreciate that!
 
wowfuckthosevariablenamesibetyourbosswrotethem
OMFG I DID IT
Gonna go do a victory lap
brb
Okay so my fat ass took a victory lap to the pantry and grabbed some gummi bears, I'm back now.
 
ofcoursehefuckingdidwhoelsewouldwriteshitlikethatandthinkit'sacceptablealsoidid‌​n'trealizehowharditistotypelikethisbecauseikeephittingthefuckingspacebarlikeanorm‌​alfuckingperson
 
Error: Invalid character ' in variable name.
 
2:51 AM
ohhhhh...gummybears drools
 
I have a 50 oz bag LOL
 
Noooo....anything is valid when you program like this dumb fucker
 
jar*
 
Nice!
 
I'd get a picture so you could realize just how many are here but I'm lazy
 
2:53 AM
In one place there's a <cfif> and in another there's a <CFif>. pick a fucking format!
That's ok, I would just throw things out of jealousy anyway
 
Guys
can I ask a question?
 
You just did. So, no. You asked your one question for the day
2
 
Whomp whomp.
That's like the second most classic dad joke of all time, right behind the "Hi ___, I'm dad!"
 
You're welcome
 
@Mauker I'll listen to your question.
 
3:06 AM
Adam, do you know if it's possible to detect if the user have remove the android wear from its wrist?
 
Hmmm. No, I'm not sure how you could.
 
That, and the battery can be a problem for my thesis
 
I think that would be difficult to know
Also, I'm off to bed
Good night, all
 
Good night
 
3:21 AM
o/
 
Damn... I have to solve this problem...
 
That's part of a thesis lol. I'll let you know when something comes to mind
 
3:34 AM
Yeah lol
hahahaha
 
Seriously though I'll keep it in the back of my head and if something crosses my mind I'll ping you
 
Thanks man
 
4:24 AM
 
5:09 AM
o/ ola
ola boots , ola dora
 
Yo Shinobis
Ola Cjames
 
@Cjames yo cat
 
Thanks maven
 
@maveň im a pussy
puss the cat
 
._.
 
5:19 AM
Jesus! What did you just say ? you're what ?
 
@TheLittleNaruto R.i.P
 
Puss the cat
:P
 
@Cjames how's all on mars ?
 
it's wet in here
you know humans just discovered water in here
@TheLittleNaruto Puss the cat dude
 
Lats night watched "The Martian".
Was a good movie.
 
5:23 AM
is it on the cinema?
 
oh i see
i don't usually go cinema just to watch movie
I don't have date, that's why
 
cool!
I see big foots footprinits
 
 
1 hour later…
6:43 AM
Use US English spelling to match Apple's API.

Preferred:

let color = "red"
Not Preferred:

let colour = "red"
let the grammar wars begin.
 
6:55 AM
there's also the if (x){ \n} and the if(x)\n{ \n} thingie.
1.4 is out
 
wtf
I just woke up at 4 PM
 
hmm... good morning?
now back to sleep. it's too early XD
someone complained here about this when 1.3.1 came out, so it's good news for him (and many of us). " We also re-introduced the empty app template for those who want minimum code generation when adding an activity to your project."
 
7:19 AM
o/
 
\o
 
\o
how was the seminar ocus? :)
 
o/
 
really nice, thanks for asking, we did some physical activities, I'm still exhausted, lol
 
nice, did that once, too
 
what type of seminar was that?
:P
 
work seminar on 2 days, the physical activities were on the first morning only ; the rest of the time was really related to work
 
cool.
 
hey boys, hey girls ;)
 
Superstar DJ's. Here we go
noob question: how do I differentiate strings resources for spanish-spain and spanish-chile (for example)? now I've got values-es but I need values-es_cl or equivalent... I always thought the it was working with the locale name... res/values-es_cl: Error: Invalid resource directory name
I feel dumb...
 
7:52 AM
i think android studio does not have that much level of difference
between locales
i mean, there's only one en, not en-uk,en-us,en-ca
 
That's unacceptable.
ow, found it, actually it's values-es-rCL
 
good.
my AS doesn't have that many language distinctions on the translation editor
 
mine neither... what a piece of crap
 
oh found it on creating new values file. why isn't that dialog part of "add Language translation" on the translation editor?
 
8:51 AM
\o
why is Monday so far from Friday
and Friday is so near to Monday
 
morning
 
9:13 AM
morning
netpork, because a fat bearded man said so.
 
worst joke ever
 
9:25 AM
woah, opening back app made ~4 months ago... "the fuck is this?", "the fuck is that?" , "why the hell the data model has so many language options?"
and then i remember the client's requirements for the API were so weird that we had to do i that way XD
 
9:58 AM
Same here, came back to an old app.
So many wtfs
 
10:21 AM
my country is boring. we don't have any type of whatsapp helper bot.
like @joke (joke of the day), @wiki (random wikipedia article) etc...
so i can't ship experimental feature client requested ( send whatsapp to a concrete phone ) that can be checked as working until they add the phone param to the api. :(
 
Guys I have an issue ; My Snackbar message isn't showing below my view (CoordinatorLayout) , when I click my FAB it was suppose to show it under the button , but instead it overlays it .
 
i might need more information on that. aren't snackbars supposed to appear as a keyboard ( over any of the App's UI elements, and attached to the bottom) ?
 
They should appear like this , however mine is overlaying that FAB
 
10:58 AM
@CptEric we can not even preorder phones from playstore
 
maybe there's too much text Lazai?
 
11:28 AM
learning git versioning the hard way
still can't understand how bitbucket works. 100%
 
what exactly do you not understand?
 
it's not visually doing what i tell him to do
so, i have a master , and i create a /DEV branch
and i tell him to create a branch called, for example, Messaging, under(inside) /DEV
yet it shows its under /origin, not under /dev...
so in "active branches", i see master, dev, and the new one
>_<
and yet i can still merge, pull, etc from and to DEV, achieving the desired results
it's not the desired visual versioning behaviour (and result).
 
the description is not clear
what's `origin` in your case?
 
master
 
why do you use these 2 names interchangeably?
also, what's the expected result?
 
11:42 AM
internally in my brain origin has a pointer to the master head , yet i know it refers to the whole remote server.
and the expected result should be:
-origin/Master (tag 1.0)
-origin/dev(tag 1.5)
-origin/dev/messaging(tag 1.5.1)
so, a main branch, that at some point breaks into a dev branch, that at some point breaks into a messaging branch
not everything going out from master and wibbly wobbly messing my head.
 
you could use sourcetree that will visually help you?
 
yup, i already use it, that's where the mess thing comes in.
 
:)
 
i know i'm doing something incorrectly, but can't find where or what.
so i go to bitbucket, i go to create branch, from : dev , create, and it creates the branch visually on master, not on dev. don't know if i'm explaining myself.
 
so everything is fine on bitbucket?
 
11:51 AM
no, in bitbucket it's the same.
looks like master and dev share the same colored line.
so i can't see the difference between merges into dev and into master
 
@CptEric Thank you for you help , I'll try testing it in the evening I think mine is a custom issue since I also have a listview in that layout.
 
np
also my sourcetree is in spanish by default ( thanks apple >_>) so it's hard as hell to find the correct interface statements for the english named commands .
rule #1 of technical software : you NEVER translate technical names. API is API, Merge is Merge, pull is pull, push is push...
 
ugh
care to try doing all that from the shell?
 
yeah but i want to learn to use sourcetree because this year is also my 3d anim / game design final year and i want to introduce versioning to my final project teammates
they know no shit of programming / versioning and i don't want their heads to implode.
 
you can use dropbox for versioning too
:)
 
11:59 AM
BT,DT. everything got overwritten.
to better explain
i want this to happen
but in my bitbucket / sourcetree, everything flows in and out of the blue clircled line
and even though it works(on the insides), it's visually complicated and might drive both me in my personal projects and my teammates in the class project, into severe code concurrency/deletion/overriding problems.
time to lunch, if somebody has an idea of what i'm doing wrong, ping me as much as you want to so i can catch you up after lunch.
 
 
1 hour later…
1:22 PM
o/ morning.
How was everyone's weekend?
 
watched the rugby, bit of football, and got bored doing nothing else
 
Sounds like fun.
 
o/
 
o/
Adam, broke my system and fixed it again. How about yours? :)
 
Pretty good. Did some iOS, watched some Netflix, went to the cider mill, pretty full weekend.
 
1:38 PM
I'm tired
;_;
 
@Lazai Did you fix this? I've seen this happen before. Are you using a LinearLayout to ensure the CoordinatorLayout you're using for the Snackbar appears below the FAB? Take a look at this answer to see what I mean.
 
1:59 PM
\o
 
\o
back at class
 
@Tieru write access to this room requires a min 100 rep on SO. Give a few more great answers and you will be there in no time
Good morning, room
 
o/
 
Got all the way to work and realized I had forgotten something somewhat important...
My computer :/
 
=(
I've done that before
sucks
 
2:06 PM
it's worse to forget the office keys.
 
I live half an hour from work so not terribly far but far enough
 
because the yare usually attached to your home heys.
and i've been into that.
 
luckily when I did it I was like 7 minutes away
 
I keep my office key on my keychain for my truck so that's nearly impossible for me :P
 
XD
 
2:13 PM
Rawr
 
I leave my computers at work. Only thing I can forget is to come to work.
 
I'd like to forget that
 
I just wrote a dynamic pivot query, I feel so accomplished. ^.^
 
\ooo
I am going all the way today with the \ooo
 
Triple threat.
 
2:28 PM
"dynamic pivot query"
sounds like basketball position
 
cM, what is not happening
 
?
A lot!
 
Well, that is something to worry bout!
 
 
^ isn't that what happened with mario balotelli?
 
2:39 PM
Burn!!!
 
lol
 
I hate people.
 
not really, i'm against monarchy actually.
 
OTL
 
mario balotelli is the best
what a guy
 
2:45 PM
Ibrahimović is my favorite
 
who is mario balotelli
 
Americans Italian football soccer player
 
football vs handmelon, the great naming fight.
 
I'm a narwhal, MOOOO
 
user image
3
LOL @McAdam331
I knew a better example where if you calculate from the left ignoring calculation orders you actually get 4
but if you did it properly you get 24
 
2:53 PM
No, it's 24
7(3^2-5)-7+3
 
...
 
4! = 4*3*2*1 = 24
 
Aha, you finally got it, Jyoon.
The answer's 4! Tristan
 
AHHHHH
OMG
 
2:55 PM
working for the weeekend
the spotify air punch playlist is bloody good
 
I'm fucking pissed xD
 
yawning outside, rocking out inside
 
Give me a star then ;)
 
@anbuselvan write access here requires a min of 100 rep on SO. Also, see the rules for other requirements
 
Yes, yes I am :)
 

« first day (1815 days earlier)      last day (3137 days later) »