« first day (1445 days earlier)      last day (3504 days later) » 
00:00 - 18:0018:00 - 00:00

12:06 AM
solved that trello problem, it's actually pretty simple
Hash % 37 = index of char to prepend, subtract index of char from hash, div 37, repeat
answer ends up being lollipop
 
12:18 AM
here's some pseudo code to solve it pastebin.com/YQ2zV7du
 
12:50 AM
Hello, Android!
 
\o
 
 
1 hour later…
2:09 AM
o/
 
2:40 AM
Sup @Cjames submitted your application already?
 
@@ still busy @LawGimenez dammit... maybe this night
 
Ayt
 
2:57 AM
Hello, @LawGimenez @Cjames
I kind of like how the name completion now shows avatars, too!
 
Lol
Sup @Code-Apprentice, how's project going?
 
which one?
I haven't worked on the baseball card app for months
 
Hey @LawGimenez did they fix the bugs?
 
well, that's not entirely true...A couple of days ago, I fired up AS for the first time in at least a month.
 
how many are you in the that project?
 
3:01 AM
First time using AS?
Ye @Cjames we're fixing it
 
3:13 AM
Cool
 
@LawGimenez not at all. I've been using AS since version 0.5.something
@Cjames I have one other person helping me with it
 
Tell them that I'm waiting for the T-shirt LOL hahaha
 
interested in joining?
 
T_T @Code-Apprentice I'm the only android programmer here
Sure
 
checkout the github repo and issues
let me know if there is something that you would be interested in working on
 
3:16 AM
Cool I've made an Baseball app tracker like this
 
really?
did you ever publish it?
 
Yeah
 
want to see it? but its not really that cool as you expect it because it's not the premium one
@@ theres so many wrong things going in that project
 
cool
for basketball instead of baseball...but similar idea
 
3:20 AM
The premium one can create players
in Free version it can only create teams
 
ahh
the biggest difference is that my app is for tracking baseball cards, not individual games
 
it will generate PDF file for the past games record
like how many fouls,
for this player
Time outs
though to be honest the UI and UX is not that really good
in Premium you can substitute players also ^_^
 
My UI is very plain...default fonts, black and white colors
 
Yeah.. but is this project still going for updates?
I don't know about mine.
but the premium is waiting for confirmation
to be published
 
yes, I still on making updates to my baseball card app. I just haven't worked on it for a couple of months.
I'm starting to get an itch to work on it soon, though.
I actually have some changes ready for an update so that the UI uses the screen space on tablets better.
 
3:33 AM
Cool do you mind to let me test your app?
@LawGimenez Tell them I'm waiting for the T-shirt HAHAHAHA :p
 
not at all
you can install directly from GP or fork the github repo and install from code.
 
Hm.. ok that cool. I'm thinking for another project for my self
 
yah, I would like to start another project, too, but I have a difficult time coming up with ideas.
 
4:22 AM
Tshirt bout what?
 
0
Q: How can i create a View owned by a global object in Android?

glutzI have a webview that is owned by an Activity class. I access the webview via findViewId(). That works well. Now i'd like to have the webview persist globally. So I've extended the Application class. How can i access the webView from there though. Because the Application class doesnt allow fi...

wow
 
Nexus 6 is this real? Looks good
 
for the bug reports LOL @LawGimenez
 
Lol you aint getting one, but I'll get the time to recommend you on LinkedIn.
I also got a call from Bridge. =)
 
So hows the call?
 
4:35 AM
Interview initial
 
Cool give some speech for me
haahah
 
I'll tell you tomorrow how it goes.
 
They will not accept you
you're over qualified
 
I am not.
 
Are they looking for senior
android dev?
 
4:36 AM
Nope. Just enough experience.
 
are they looking for 1 applicant?
 
I dont know how many they're looking.
 
Ok gonna try that
I think I'll try to pass this night
 
ayt =)
 
0
Q: Changing the contents of a java file through gradle for different build types in Android

AhmedI am working on an Android Project where I have to replace the contents of a java class for only one build type (i.e. release build type) through gradle. I don't want to delete or replace the original contents for different build types. As an example I have two different build types: Debug O...

This is almost definitely an XY problem.
 
 
1 hour later…
5:47 AM
morning
 
 
1 hour later…
7:15 AM
morning
 
o/
 
7:33 AM
\o Morning
 
8:27 AM
@Peter Welcome! Please read, follow and praise the room rules
 
hi @WarrenFaith
long time no see
 
o/
 
mr5
9:06 AM
\o
Uhmm...
Why do Php outputs "null" if I have a character of 'ñ' in my database? I know this is some encoding stuffs but I thought doing these following stuffs would solve it but it didn't:

Apply this to Php header:

header('Content-type=application/json; charset=utf-8');

And change the table encoding in the database to "utf-8-bin"

any things I missed?
 
you do realize that this is no php room, right?
beside that encoding issues can have different points of failure
 
mr5
Uhm, I thought it was just encoding stuffs w/c is...
 
w/c?
I prefer written words....
 
w/c stands for wrong chat
 
it can stand for quite a lot thats why it should be written out in the first place. Prevents confusion...
and fun fact: your version is not even listed there
 
9:22 AM
agreed
yes that's even written in rules that not to use chat speak
 
true, back to your issue. have you verified that your database contains the correct char?
 
Warren!
you live
 
Never was something different :)
 
How are things?
Kid on the way?
 
we are trying :)
 
9:35 AM
haha
You haven't been around in a while...neither have I though
 
yeah, just came back yesterday
thought after a short vacation I can give it a shot
 
have you rejected anyone yet?
 
I am not an owner
 
so you are in here as a regular?
no VIP?
 
just a chatter
though I realized the amount of writers doubled since I left
 
9:39 AM
haha
some questionables?
I think we had the same issue
 
400+ and I left with 120 something, if I am not wrong
2
 
Damn...
 
well I only know the old guys, no clue about the new ones but yesterday was ok, so no disturbance in the force...
 
I was asking about you a while back
I am glad you are back
 
thanks :)
I spied in the history for my name
 
9:42 AM
Haha...I actually asked Emm on gchat about it
What did you find?
 
just some questions where I am
 
What are you playing these days?
 
games? nothing currently
 
Yeah same here
 
just too busy somehow
 
9:46 AM
I did sneak some BF4 in a couple weeks ago...it was amazing
 
before my vacation I was so over games actually
I started 10 different games in 2 hours and never played more than a few minutes
couldn't rest and get into the spirit
I kind of hate it when it happens
 
morning
 
o/
 
Man 10 games and no luck?
Have you grown up??
 
sometimes I think that way :D
 
9:50 AM
maybe you should just wait for the next BF
later Warren!
 
later!
 
 
1 hour later…
11:05 AM
> The Android team has made it pretty clear that Gradle is the future from here on out, so if you're still on Eclipse then I don't know what to tell you.
 
it is too strong you're still on Eclipse then I don't know what to tell you.*
 
yup
 
11:32 AM
the problem lies with big and older projects...
I also have a colleague who is going strong against AS/Gradle
he said that he will abandon Android if Google drops Eclipse support
well, too strong for me as well :)
 
11:49 AM
lol
how can you not like grade and AS?
 
well my colleague is kind of stubborn imho
he complains about everything, exaggerates everything and even complains that the Android Devs are ruining the system since 2009
 
haha
 
12:09 PM
lol
 
12:31 PM
what is up folks
 
nothing really
 
nothing much
 
12:49 PM
yo
user image
2
 
1:23 PM
Morning
 
hey
 
o/
 
\o
 
o/
 
so Google Play has removed the "trending" section in sub-categories, anyone has an idea why?
 
1:31 PM
Getting in late today. Got a call from a customer in Florida EARLY this morning who needed help and I couldn't go back to sleep...ugh!
No idea
 
so you're doing tech support full time now?
even when you're at home?
dude you need to remind your boss that you're a programmer :/
 
Yep!
Well, we're (I) am trying to save this account because someone screwed it up
I told him yesterday actually. I got an email from our COO (and one of the founders) about training a new account...
I went to my boss and asked if we could pass this off to...I don't know...customer service
yeah, I do all this shit and I got reamed earlier this year about how I don't put in enough effort and it doesn't seem like I care much anymore...FUCK YOU!
 
Good morning everyone!
 
o/
 
I have the locale of my phone in english, but I would like to retrieve a string from vaules-it. Is it possible?
 
1:41 PM
I love Flight of the Conchords.
 
Delete the corresponding string everywhere else
 
I can't,
why I can't specify the locale :(
getString(int, locale)
 
97
Q: Changing Locale within the app itself

HubertMy users can change the Locale within the app (they may want to keep their phone settings in English but read the content of my app in French, Dutch or any other language ...) Why is this working perfectly fine in 1.5/1.6 but NOT in 2.0 anymore ??? @Override public boolean onOptionsItemSelected...

 
it looks like craziness
 
That's what I do and it works
 
1:47 PM
what orb
what you do
 
wtf... the guy has a problem with locales, and he solves it by tweaking screen density settings?
 
Change it programmatically with Locale and Configuration
Oh, you just want to change one String? Should be possible
 
Are you sure you want to be doing this? What is the use case?
 
Unfortunately, I feel half asleep still so my brain isn't functioning properly
 
I have to retrieve only one string
 
1:53 PM
I get it, but why?
 
it's a product thing
 
user457812
Localization outside of iOS, Mac OS, and Android is hell on earth.
 
user457812
And maybe Windows Phone 8. Haven't tried Win8 dev because haha.
 
I am sure you'll find a way to do it like this one, but maybe you shouldn't be doing it at all is all I am saying.
 
blackbelt, does it need to be a String or is it a currency or something?
 
user457812
1:56 PM
It's funny to think how bad everything prior to a lot of mobile stuff is
 
user457812
And how good it was that mobile stuff came after all the bad stuff so they knew what to avoid
 
no currency.. just some silly text :(
 
Localization on WP8 was pretty easy. Very similar to Android.
Oh :( Sucks. Can you have a "my_silly_text_italian" string in your English strings file? >_>
 
I was thinking the same thing
 
That is what I am suggesting.
Maybe he will want you to have silly English text in the Portuguese version later. It is still bound to that one locale, so switching to another one doesn't seem like the best solution.
 
3:00 PM
So this is fun. We have a view pager in a fragment with child fragments in the pages.
It's persisting state across rotations, and... I can't figure out why.
=\
 
check your manifest
maybe you have one of those weird flags set (configChanges)
 
Naw nothing weird set there.
It's just... we're calling mViewPager.setCurrentItem(0); every time, yet on rotations it's not selecting index 0, like I'd expect.
I mean, it's exhibiting the behaviour I want, but not the behaviour I expect from the code.
 
That middle picture would cheer anyone up :D i.imgur.com/5Tq9WIW.jpg
4
 
:)
What kind of animal is that?
 
3:15 PM
I once knew it... thought totally forgot the name
 
According to Ahmad's link, a Quokka
 
It looks.. Australian.
 
Quokka
indeed
 
Never heard of it but it sure is adorable. And I don't use the word "adorable" often
 
that is cute, cM :D
 
3:18 PM
It is. I had to share it with my wife.
 
Hmmm. So we have to restore the fragments layout manually, then Android restores things into that layout for us. So we were setting the view pager to 0, then Android was saying HA FUCK YOU and restoring layout into it.
It's so long since I've done any UI code.
 
wow, that sounds awful
 
It's not so bad. I've definitely had worse headaches :)
 
o/
 
3:39 PM
Hey, TGM
 
3:52 PM
I have arrived!
 
:( Yay!
Well, he can use a lot of big words but I'm not really sure he's saying anything...meta.stackoverflow.com/questions/272486/…
Maybe I'm just too tired
 
Wow, that person must be crazy.
 
Pretty sure of it
 
And by crazy I mean he has a bunch of PhDs
 
I hate you, DrawerLayout
 
3:59 PM
Do not rely on ready-made primitives ( at a cost of "bending" mandatory design feature set so as to meet the library-available primitive, but rather develop another, a new, higher-order Formal Communication Pattern Signalling, being assembled from library primitives, so that it meets the whole specification.
 
he must be a troll
 
:D
 
reminds me of A Connecticut Yankee in King Arthur's Court
the princess in that story only spoke in single sentences that were nearly an entire page in length.
 
Some people think expressing themselves in a normal, almost every day, manner doesn't make them smart enough.
 
4:04 PM
@blackbelt here a small #pixelpushing post dedicated to you: You can't handle the truth!
 
I am depressed and sad in this moment. It is not fair
 
hey folks, a little help here. I'm calling getResources().getBoolean(R.bool.isTablet) to check if my app is running on a tablet rather than a phone. returns true. Next, I call setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE); to use a landscape layout for tablet.
so far so good. the problem is that the layout being loaded is not the landscape, and because of that, some of the UI elements are "missing", causing a NPE
 
I am heading home. Cya!
 
cya!
 
4:10 PM
See ya, Warren
 
bye
 
o/
that problem happens only when my home screen is on portrait mode and I open the app
 
Later Warren
 
R.bool.isTablet??? that's a thing?
 
I added that to bools.xml
I wish it was that simple...
so for values-sw600dp/bools.xml isTablet = true;
for regular values/bools.xml isTablet = false
it's not THE solution, but a nice workaround for the majority of the cases
 
4:16 PM
on the other hand, you should always check against null references
 
i know. that would solve the NPE issue, for sure
but it wouldn't handle the wrong layout issue
 
did you put the layout in the layout-land directory?
 
yes
if the home screen is already on landscape, it loads as I want
but if it needs to rotate right away, it loads the wrong layout
 
can you use SCREEN_ORIENTATION_LANDSCAPE
instead of the SENSOR?
 
for testing, sure
 
4:20 PM
@Guilherme Yeah I was looking for something simple that was built in. I wish the Android developers had a little more foresight and had something like that as a characteristic of the device built-in
 
bb, it didn't make any difference
Carl, I believe that the modifiers (small, large, swXXXdp, etc) are a good approach that they decided to follow, and it actually makes sense in a way
but the simplicity of "is a phone/is a tablet" is so huge, and it could make a lot of our problems easier...
 
@Ahmad It indeed seems the HackShanghai is better with teams, can you send me your email so I can include us as a team?
 
just sent you on fb
 
bye guys
 
o/
 
4:29 PM
yeah probably, Guil
 
cya
 
See ya later
@mistrfu I just noticed you posted that link to the question I linked to earlier...LOL!
 
Yeah, I am tired and grumpy. I hope I won't get banned again.
:)
 
Again??? Ha
 
Yep :(
 
4:39 PM
I doubt that will get you banned but probably deleted. I hesitated to upvote the comment but had to :D
What did you get banned for, if you don't mind sharing?
 
I was programming a bot for SO and to be able to participate in chat it has to have certain amount of point so I asked question and answered them with my real account.
 
Ohhh, haha yeah that will do it
 
But it was real questions and I wrote super nice answers to them.
But hey, I will ask you guys next time.
It was totally deserved that time.
 
I was walking back to my office a few minutes ago with my lunch and the customer service lady threw something and slammed her door...scary!
 
nice
man what I wouldn't give to work in your office codeMagic.
 
4:45 PM
hahaha
 
Haha...it is kind of a circus at times
We put dry ice in a sink full of water last week to watch what it did
2
 
:)
My office is filled with cool stuff, but it's lonely. (homeoffice)
 
As much as I don't like people, I don't think I would like working from home everyday
 
I get it. I am little afraid of the day I will have to step into a real office. I tried couple times in the past years, but the environment was so far always worse. Either underwhelming hardware, or furniture, noise level, temperature, slow internet,...
 
4:53 PM
> There is no new!!!
> How does Networking work in java (or in generall)?
"...or in generall"
 
5:08 PM
What the hell is a "Stack Overflow netiquette maxim" and where can I get a list of these?
 
5:22 PM
You would have to ask user<someNumbers> he seems to have all the answers
 
5:51 PM
I might have to start following this guy around when I'm bored...
I do not feel fair to compare anyone to a kid, Sir. I do believe in both personal integrity & professional ethic of people who conducted psychological tests on devastating socio-pathologic culture malformation effects coming from nothing but a granted right to un-constrained anonymously penalise another person -- The Issue, so related to what was opened here. — user3666197 18 mins ago
 
I can't even make it through the whole rant without laughing
 
> Have not seen so far a single constructive input from those, who have just executed their right to silently delete any text and penalise somebody else, be it in a name of whatever high, which thus remains JUST destructive as opposed to his/her MISSED opportunity to spend their time (if they wished to intervene ) and re-think, create and write an improved, better and a more descriptive answer to the Customer.
 
wut? I didn't even see that one. Nice find, Carl
I think that should be our new room description
 
lol
yeah that's in his profile
is there a character limit on the room description? :D
 
5:55 PM
There probably is
not sure, what do you wanna ad?
 
1
A: Robust Measures of Algorithmic Trading - Based on Robert Pardo's Book

user3666197Remark on the subject With all due respect to the subject ( published in 2008 ) the term robustness has it's own meaning if-and-only-if the statement also clarifies in which particular respect is the robustness measured and against what phenomena is it to be exposed & tested the Model-under-revi...

 
wow what the fuck is that guys problem
 
he sounds super pretentious
 
@user3666197, you're writing is uniquely overwrought. — Kirk Woll 52 secs ago
 
5:57 PM
 
is that
is that a myo ?
 
nice how do you like myo?
 
:0
 
00:00 - 18:0018:00 - 00:00

« first day (1445 days earlier)      last day (3504 days later) »