« first day (1752 days earlier)      last day (3211 days later) » 

1:12 AM
 
o/
 
o/
 
Good morning McAdam3
 
1:29 AM
Hey Cjames kumusta? How's work there?
 
 
1 hour later…
2:29 AM
:D still fine @LawGimenez
 
 
3 hours later…
5:46 AM
Yo People
 
6:16 AM
\o
@trevor-e , cool app and cool GUI, when it'll be out in the play store?
could help localizing to spanish / catalan if you want to reach those markets too.
shit, it's been 4 hours since that last message. i'm speaking to myself.
 
o/
@CptEric you speak both - spanish and catalan? :)
 
yup.
 
that's awesome
 
i have a fluent english too and can read freanch though i have never learn to speak or pronounce it
learnt*
french*
too early in the morning to type correctly.
 
hahaha :D
you can edit messages with the arrow up key
I work with two spanish android devs and they told me they also understand italian
because it's kinda similar to spanish
but only if spoken really slow
 
6:32 AM
yup, same here.
 
that's so cool haha
I can't even understand swiss german
even though it's basically the same (in written form) as normal german
 
german is a weird language. we have a saying here " live's too short to learn german correctly ".
 
Lol
I guess you're right, there are quite a few grammatical exceptions
ttyl, gotta catch the bus
 
okay, cya later.
 
7:14 AM
o/
 
hi OcuS
 
7:31 AM
hi folks
 
yo o/
 
currently giving a more "material" look to a multi-platform app. slight touches of a lib i found give it a modern feel even on 2.3.1
though elevation will only be visible in 5.0.+
 
7:52 AM
you can use the new material support lib
or what lib are you talking about?
 
one that in the awesome android UI compilation
support lib does not give all the things i need
 
8:10 AM
Goodmorning my fellow android homies.
Does anyone know how to properly use the imageview scaletype? I don't see any difference.
And yes, I did look at the documentation ofcourse :)
 
depends on what you want to achieve
 
fit everything on screen in a relativelayout
 
if you care little of the stretching, fitXY
if you care little for the image to be fully shown but want it okay, crop_inside i believe it's his name
 
at first buttons were overlapping images on small screen devices. Now I changed it and the buttons fall offscreen. I think it is better if they keep their aspect ratio
i'll try crop inside again, but i don't think it helps (havent tried it with the recent changes though)
Yup, I don't see any difference with any scaletype I choose
 
can you post a screenshot of what's happening?
that would help.
 
8:16 AM
I don't know If I am allowed to post screenshots of this app
 
hmm ok.
your buttons are all in a row?
a linearlayout with a weight could solve your screen fitting problems.
 
I have a relLayout > LLayout > 2 imageviews (and some empty LL's)
Below the images (with RelLayout as parent) there is a LL with 2 buttons. Which I set to below the LL containing the images
 
below as Top - under - bottom or as top - under - top?
 
I think the images don't scale because they are in the linear layout. Yes a weight would be a solution I guess. Then I'd have to change the layout though. Thanks for the suggestions!
Entirely below, So I guess that is top-under-bottom
All because the german text is longer than other languages we have =p
 
heh.
localization is a mess with layouts. you have everything setup and then someone somewhere needs three words to describe a 1-word object.
 
8:24 AM
DO you know what the requirements are for the scaletype to have any effect?
Yeah something like that. This layout was already done a long time ago. Then I noticed the german language on a small screen messes things up
maybe I should make a new layout for small screens
 
scaletype scales a bitmap inside the bounds of a imageview, does not modify the size of it's imageView. for it to work, it only has to have a bitmap loaded (via code or via SRC), and depending of the type, it will modify how that bitmap looks inside those bounds.
so a 100x50px jpg on a 50x50dp ImageView will look horrible with FitXY, because it will horizontally collapse and look deformed
 
Thanks CptEric :) Yeah fitXY is not the one I need.
 
using center_crop it will crop a 50x50 square going from the central axis of the image (0,0 coordinates) and leave the rest out
center fit will make the image become smaller inside the bounds, but mantaining the image aspect ratio
 
center fit is the one i want to use, but it doesn't scale. So I'll have to change the size of the imageview itself. Thanks Eric! :)
Hmm.. I just tried without any images at all and it barely fits on screen
 
no problem
 
8:30 AM
I think I'll go make a new layout for small screen or something instead
 
i'm staring at my screen, waiting for android studio to decide if he wants to generate my apk or not...
 
There's no point in scaling it to the point you can't recognize the picture...
 
got stuck on 10:20:58 Executing tasks: [:app:assembleRelease]
 
lol that line reads funny
Don't think I've had that happen before. Try restarting AS?
 
tried.
will try with a different keystore
 
8:42 AM
hmm
anyone know why this isn't matching "Übermorgen"? (?:\b|^)übermorgen(?:\b|$)
I have compiled it with CASE_INSENSITIVE
 
Hm, apparently that screen i was fixing is not needed anymore. Guess I'll go work on important stuff instead :)
 
lol
 
maybe it doesn't recognize Ü as the capital letter of ü?
Just guessing
 
That'd be very weird :/
 
o/
Ahmad, two choices: replace ü with (ü|Ü) in a second or spend much time figuring it out :D
 
8:51 AM
oh damn
 
btw I'd likely replace all umlauts with "ue" etc. anyway
 
it's CASE_INSENSITIVE is only for ascii
I need a UNICODE_CASE flag
can't replace it cyg
it's user input
can't modify user input just like that :/
 
why not?
lemme talk to your boss
 
It would look very weird if you type in Ü and it says Ue instead
 
wait, what you gonna do with the input?
I thought this is just internal processing/matching
 
8:54 AM
Nope, not internal processing
we take the stuff the user writes in, process it with our natural language processor and then take out the meta data
 
ok, sorry
 
:)
well btw it works with the UNICODE_CASE flag
 
would it work when the user types uebermorgen?
 
that regex is only to change first character to upper?
 
I tend to do that
 
8:58 AM
i usually just userString.charAt(0).toUpperCase() for those things.
 
yeah but we have lots of regular expressions
can't just do that for every regex :/
ue wouldn't work
but we can probably integrate that
although, I've never actually seen somebody write that
why not just use ü?
 
D:
too lazy to switch from english keyboard layout
 
english keyboard? :0
infidel
 
i've never worked enough with regular expressions to provide a valid answer :/
 
let's see how wunderlist integrates with google now
if that works well I might switch
 
9:05 AM
it does
it works quite well
all tests pass! whoohoo \O/
 
congrats :D
 
:)
 
congrats!
 
like school, pass the tests and everything's ok
 
*than
fucking illiterates.
 
9:14 AM
true
 
9:30 AM
time for truth : app is built, now to test if all the changes apply correctly and the libraries update well.
XD
 
oh damn fuck
greek stock market crashed 23%
 
ue is the same as ü in german?
 
austerity : default's best friend.
number of states that have succeeded in avoiding default by impoverishing their population : -1
 
@miva2 yeah
Finally solved all lower case/casing problems
 
what was it?
 
9:52 AM
so I removed making the input lower case before processing it, and made the regex case insensitive
but this messed up all our calls of calling String#indexOf()
 
"take 1 down , patch it around, 99 more errors on the code..."
 
Lol exactly :D
 
10:14 AM
gtg time to go home.
 
10:28 AM
laters!
on 12:30 already? :D
Oh damn. I now know why openfiff wasn't working for me.
apparently I didn't have Xcode installed
wat
 
openfiff ?
 
\oo/
 
opendiff*
my mergetool
 
10:47 AM
Hey, what happened to the star I gave OcuS?
 
11:02 AM
 
11:56 AM
o/ hello people
 
@Glitch oh I thought someone accidentally starred that :|
(referring to the "\oo/" message)
dont judge a person by the color of their skin or by the content of their character but by the shape of their eyebrows
4
@jayeshkhitoliya rejected. you need a rep of 100 to talk in this room.
please answer some questions and request access again
 
12:54 PM
@Glitch what star ?
 
\o
 
o/
 
1:14 PM
\o
 
o/ morning
 
1:33 PM
morning
 
o/
 
1:52 PM
lolwhat, shape of eyebrows? =p
I wonder in what category I would fall based on my eyebrows
stupid emulators. I've been trying to get transparent statusbars all afternoon and then it works in one API 19 emulator but not in the other! </rant>
 
there are some issues with alpha on (some) emulators
 
Good to know
and some virtual devices are freaking slow, others are lightning fast
both x86 and arm, both small and bigger devices
 
I'm using mostly real devices for development but Genymotion should be quite good
 
i miss genymotion
Yeah now I realize why they told me to test on real devices, not on emulators =p
 
@LangustenGustel Welcome. Please read the room rules room-15.github.io
 
1:57 PM
there's also a web-testbed by samsung where you can test on real devices
though, I don't like their ToS
 
And good morning, room
 
o/ cM
 
I doubt that's for free =p
hi CM!
 
yo!
I liked genymotion for what little I've used it.
Don't think I've ever heard anyone say anything bad about it
 
miva2, it was when I used it maybe 1.5 years ago
 
1:58 PM
cM o/
 
windows 10 error message.......... "Something Happened".......... WHAT THE FUCK
 
They have devices here. I just don't like always getting them from someone else's locker and putting them back
 
Hey, Ocus!
 
hahaha
best error message?
 
I have read and understood the rules
 
1:59 PM
Than you, sir!
 
free testing by samsung?
 
yeah, but there was something in their ToS I didn't like, iirc you have to agree to use their service only for apps you (will?) publish on their store
 
that sounds more realistic.
Well it's a good deal still, I guess
 
> I have read and understood the rules
No stars on this messages please, it spoils too much ;)
 
Anyone a Dagger 2 pro?
 
2:05 PM
Why not? I liked the message =p
 
Dagger 2... I know a bit
o/
 
cM, for got to explain when I gave you that last you tube link, there's a few videos of weird random dots/lights/shapes in the blackness of space, then NASA cuts the video or changes camera, as if to say 'Dammit, the public shouldn't have seen that".
 
@Emmanuel Okay, I am trying to improve use a MVP
 
@miva2 You like it because you never said it (according to the room history) ? ^^
 
Damn, I have to get used to the chat-autocomplete to not push return ...
 
2:09 PM
Do you have experience with Dagger 1?
 
No I have been a roboguice user
 
Oh...
If you have time I would recommend understanding Dagger 1 first
 
I am trying to improve my Android archticture by using kind of a MVP Pattern. On my Activity I am creating an Interactor (pojo,not injected) in which I want to inject a class that stores an login-token to the shared-prefs (so it needs the context). This means Activity (Context) -> InteractorInterface -> Interactor (no context) -> SharedPrefUsingClass (Context). General question: Is it generally possible to inject the context into this "SharedPrefUsingClass" by using @Inject ?
 
matty, I searched and saw there were several. Didn't get a chance to watch any in much detail yet because it was a busy weekend.
But thanks for pointing that out. Could be interesting, a conspiracy theory, or both
 
It is true that Dagger 1 and 2 differ greatly when it comes to their core model for injection, but Dagger 1 is simpler
 
2:15 PM
@sanjaykumar Access denied. The minimum reputation required for access is 100 points on StackOverflow.
 
Yes, it is possible to inject it
 
@sanjaykumar Access denied. The minimum reputation required for access is 100 points on StackOverflow.
 
@sanjaykumar Ocus' message was pretty specific. You need at least 100 rep to join this room. Give some more stellar answers before requesting again
1 min ago, by OcuS
@sanjaykumar Access denied. The minimum reputation required for access is 100 points on StackOverflow.
 
In fact, you do not need the Activity to use SharedPreferences
You can use the Application
 
Requesting again before fixing that will likely land you on the ban list
 
2:16 PM
You're too nice, cM :)
 
Sometimes
 
That's why I love you, cM. Marry me <3
 
:)
 
Consider it done!
 
/o/
 
2:17 PM
\o\
 
Though, there's quite a few people that would argue that point
 
I don't care. Our love is too strong!
 
@Emmanuel ok, but there is a layer of abstraction between my Activity and the class that uses the Context for the shared prefs. Do I need to pass the application(-context) through to the class? Its like Activity -> InteractorInterface -> Interactor -> SharedPrefUsingClass so I can inject it?
 
Oh @sanjaykumar you make me sad
 
@codeMagic I take care of him.
 
2:20 PM
Thanks! (y)
You deserve to be the one
 
I've gotten so good at debugging
learning so much
love this place <3
 
Awe! We love you here too, Ahmad!
 
@sanjaykumar Welcome. You have been granted access to the "explicit read access" list a.k.a The Ban list. codeMagic and I were clear about the rules: you need a minimum of 100 reputation points on StackOverflow to gain the write access. We hope you'll enjoy your stay.
 
Congratulations, sanjay! That's a very exclusive list. I've been trying to get on it for years
 
I can fix that, my dear cM ;D
 
2:25 PM
I just learned about Alt+up/Alt+down. I think I will like that
Lol! You'd miss me too much, Ocus
 
True :|
 
\oo monday again
 
who is starring all those fucking messages ?
 
Look who's back! Besides, Een
 
Can a banned user star messages ?
 
2:27 PM
must be your lover ocus
 
Apparently
 
This time it's not me.
 
how are you cM?
 
Hmm...I might have to check into that though and bring it up on meta. With read only, they shouldn't be able to
Not terrible, Een, except for doing other people's jobs. Thanks for asking
How's it by you?
 
I only starred the "I have read and uderstood the rules" message. Hmm, don't know If I said that or not, probably not :p
 
2:29 PM
Probably just some....
 
Well, I have always said I want to retire at 33 and it is getting harder with time lol
 
Maybe someone is using an autoclicker on the position of the star
 
plants kitten image and scuttles away
 
Tristan you are here early today
 
2:31 PM
Why do we care about the stars again?
 
Annoying?
Maybe someone is high and loves everything a home says.
 
My momma, my momma says foosball is for the devil.
 
12
Q: Users without write access can still star messages

SomeKittensIn a chat room that's in gallery (i.e., users need to receive permission to send messages), users with no special permissions can still star messages (something that's most definitely 'writing' to the room). Example: The two stars here were me, despite not even requesting permission.

That's all I can find on the star subject
 
2:38 PM
Hmm...thanks
 
@R.MartinhoFernandes Welcome. Please read the rules :)
 
Think anyone can see who starred posts?
 
Yes
 
Moderators?
 
Yes, you can see it on the Websocket stream.
Anyway, please don't flag things instead of starring.
 
2:40 PM
Oh?
 
Flagging annoys some of the chat population who gets a notice to vote on the flags, and it's annoying as hell to be bothered to do so about perfectly normal stuff like Picasso quotes.
 
@R.MartinhoFernandes yeah, our speciall little flagger/starrer is away. Just being an ass
 
And I'm out :D Have fun.
Back to the C++ den of horribleness.
 
Have fun xD
 
2:45 PM
c++ is fun
but I only did the basics
 
so it is fun and that is why you did just the basics and was full of fun?
 
no because I changed school and that one gave java instead of c++ :(
and because android is normally java
first time I did java it was so confusing though. "There are no pointers in java" they said
C++ was much more clear in my experience.
I never had to do any c++ wizardry though =p
Well, everything I had to do in C++ was related to games so it's automatically more fun than writing java for boring applications
And who doesn't like overloading operators :)
ah good times
damn, I really sound old
 
lol, the hell is that? =p
Does anyone know how I can see in which commit a file was last edited?
I'm using sourcetree but don't find a searchoption
oh, maybe in AS!
 
use the freaking command line !
git GUIs are shit
 
2:59 PM
I found it, thanks
eh, i don't trust myself with git on command line
 
sourcetree is the shit
people who use command line are just wishing they were hackers :P
 
people who use command line just want to be sure what command is executed
 
I guess command line is better if you're a git wizard
 
wizard?
 
If you just want to commit and push and pull stuff, the gui works way better
 
3:02 PM
you can't become a git wizard if you don't start to use command line
 
you can also become a git goddess
hah
 
I did last friday. Am I a wizard now? :D
I havea git sticker on my laptop (not this one though). Does that make me a wizard?
how do I become a git goddess?
 
no. you're just a fucking HIPSTER
 
:(
According to my brother denying that I am a hipster is one of the symptoms of hipster
damn hipsters
 
using a GUI for git is like being in a car with another driver behind the wheel and thinking: "I'm in full control of the car !"
 
3:16 PM
hmm I don't know. It feels more like a shortcut to regularly used actions
Even with sourcetree there are still cases I need to divei nthe commandline for. And I barely use git.
I like seeing the changes I made in sourcetree before committing. Do you disagree it is more clear than command line?
 
git status ? git diff ?
to me, this is more beautiful than any GUI :)
 
yeah, that one looks nice
mine didn't have colors I think.
 
upgrade your CL tool, install cool themes and that's it ;)
iTerm + zsh = win
 
I did use some custom command lines, but then didn't do them with git. dammit, can't recall their names. I used one with a trial for about a month or so and then another one
I'm on a mac now, for developing
 
in this case you can use "win strategy" from above
gtg to the gym. cya tomorrow ;)
 
3:31 PM
Have fun!
 
3:41 PM
> Portland, OR, United States 08/03/2015 7:22 A.M. Package out for local post office delivery
estimated delivery 8/5/15
Umm...I don't think it's going to make it to Indiana by then
Wow, I was waiting for a "Why didn't you add this?" type of email and instead got a "Well done" email. I feel like I'm in the twilight zone
 
LOL, I found this in the code someone wrote in my stead while I was on vacation
"//FIXME activated this using an bundled argument? to prevent accidental reaction to urls
//links specified by putting <a> tags in the string
lblInfoMessage.setMovementMethod(LinkMovementMethod.getInstance());
lblInfoMessage .setText(args.getInt(KEY_INFORMATION_MESSAGE));"
You can set links like that that are automatically executed? D:
lol this guy is so funny. he writes everywhere "// fixme some kind of error"
and he writes empty ifs and elses
 

« first day (1752 days earlier)      last day (3211 days later) »