« first day (1622 days earlier)      last day (3318 days later) » 

3:00 PM
like - in runtime
 
if by re-packaging you mean re-packaging the "primary" apk, then maybe yes
 
you can download a new strings.xml in runtime and find a way to get the strings from it?
 
o/
 
you can re-package an additional apk maybe
and download it from somewhere else
 
> Internet Explorer is a next generation web browser from Microsoft.
(cough)
 
3:01 PM
but I know almost nothing about multi-apk setups, so maybe this is a lie
 
Mine's little crazy sometimes just 3GB per month sometimes 10GB in a day. (On the OPO)
 
10
Q: Android: How to generate xml resources on runtime?

HrkI have different strings.xml files in my resources folders (values, values_fr, values_de...) and I would like to load additional translations during runtime. Is it possible to add the new strings to those files even if it has already been compiled ? Or is there any workaround ? Thanks

here says that it's possible
 
something good came out of facebook;
 
yeah stetho is pretty cool
 
3:23 PM
randywestergren.com/how-i-cracked-trivia-crack always pay extra attention to what code will end in your final exported signed application
6
 
^ Nicely done
 
@surendra denied because...help vampire
 
high level vampirism, wow
 
How did you spot that vampirism?
 
recent chat history
 
3:35 PM
Well, it took some real detective work. I had to look deep down in history and do some analysis on the ratios and chats and recent shopping history but...
Or what Ocus said
 
I was simplifying for nana, but obviously, I did what you told first cM
 
Of course
 
Thanks for the simplification, it's still not simple enough for me though.
How does one see a recent chat history?
 
@pap denied. Help vampirism and you don't meet our min rep amount
 
3:38 PM
Oops
 
:)
Hey Tristan
 
I keep forgetting when I start to type a mention and press enter it sends
 
Click user --> user profile --> recent --> grab popcorn --> enjoy
 
but, brace yourself, it can be a hazardous place...
 
3:39 PM
Dun dun dunnnn
 
once, I bled from the ears
 
Is there a way click through to that from the user profile?
Ahhhhh! Ooops I didn't read that, thanks Cm.
 
AHHHHHHH
I'm going to finish and release an update for my app soon :)
 
I always click user profile on stackoverflow.com, that's why I couldn't navigate to it.
 
3:41 PM
STOP!
 
HAMMER TIME!
 
CAN'T TOUCH THIS!
 
 
\o
 
3:51 PM
o/
 
lol nana
 
o/
 
I'm a banana
 
_o¯
 
3:59 PM
\0
 
(͡° ͜ʖ ͡°)_/¯
 
how do you do that ocus?
 
4:11 PM
\o Carl
 
o/ carl
 
o- Carl
 
We teach our kids to be better at not getting caught.
 
lol
that is a small number relative to the population
 
4:17 PM
^
That doesn't happen everywhere.
 
yeah, sure, I just found this funny
 
everything is small if you put it to a relative position of indias total population.
 
Ur mom is not.
 
4:33 PM
nana, I'm going to have to ask you to re-read rule #2 of the room rules. Thanks.
 
^
nana's such a rebel.... Indian students cheat HIM!
err... uhm. yeah.
 
I thought the Yo Momma jokes are supposed to start with letters capital U and lower-case r right after each other.
Basically Ur\s[mM][ou]m\s.*
Back to the terminal I guess.
 
I see from the room rules that it's OK to exhibit non-obvious help vampire qualities. It's tempting to take that as a challenge.
 
4:49 PM
you're not the first person to consider this
 
we still have plenty of room on the ban list
 
^ lol
 
Haha!
 
Is that SFW?
 
4:53 PM
Hold on, since when are twerking images not allowed?
 
Just before I click on it and get fired for whatever comes up, you know...
@nana No, no, I'm not trying to say anything about whether that is allowed per the room rules. Just that the room is more tolerant of some images and speech than my workplace...
 
It is?
I just reread the rules and found the twerking clause.
 
I completely forgot about this rule
 
But apparently it had been there since the beginning
Or at least since the new repo last year.
 
it was there even earlier than that: github.com/nilium/android-room-rules/commit/…
 
5:00 PM
Room 15 had no beginning. It was always here.
 
2013
I think I could have caused that :)
 
Is twerking still a thing in 2015 ?
I wonder what's the twerking of this year
 
I don't have a clue, but I am sure Carl is already getting nervous :)
 
I don't have a clue, but I am sure Carl is already getting nervous. :)
 
I'm just tired and sick, nothing more.
 
5:04 PM
:) Thank cM, I'm aprecate him chnages
 
wat
 
:) Thanks cM, I appreciate your chnages!
 
Is that all?
 
/me yawns.
 
Sounds like you need a cup of freshly brewed coffee!
 
5:06 PM
yes
 
Nope
Almost though
 
:) Thanks cM, I appreciate your changes!
 
Yes.
 
They so highly intelligent people don't read every letter so I'm not surprised I missed that
I don't know who "they" are but they sound pretty smart
 
.
 
5:08 PM
I cnduo't bvleiee taht I culod aulaclty uesdtannrd waht I was rdnaieg. Unisg the icndeblire pweor of the hmuan mnid, aocdcrnig to rseecrah at Cmabrigde Uinervtisy, it dseno't mttaer in waht oderr the lterets in a wrod are, the olny irpoamtnt tihng is taht the frsit and lsat ltteer be in the rhgit pclae.
 
exactly
 
The rset can be a taotl mses and you can sitll raed it whoutit a pboerlm. Tihs is bucseae the huamn mnid deos not raed ervey ltteer by istlef, but the wrod as a wlohe. Aaznmig, huh? Yaeh and I awlyas tghhuot slelinpg was ipmorantt! See if yuor fdreins can raed tihs too.
 
I couldn't believe that I could actually understand what I was reading. Using the incredible power pf the human mind, I just died in your arms tonight, It must have been something you said, I just died in your arms tonight. I keep on looking for something I can't get, Broken hearts lay all around me, But I don't see an easy way to get out of this.
decrypted
 
Yaeh eiethr that or cM jsut wasn't piayng aoitetntn eognuh which cesuad the fcat taht he msiesd all those otehr hedidn mtiakess.
 
5:11 PM
Yeah I think so OcuS
 
@MrEngineer13 just watched that video, neighbor. Haha!
 
I wonder if the repeating technique works. I guess it depends on what do you want to create..
 
certainly prevents you from daydreaming
 
True
 
5:27 PM
\o
 
o/
 
\o
 
quiet in here today?
 
Programming in Python today...
And Java for Android at night.
I hardly know how to create an object anymore. Whichever language I'm in, I do it wrong.
 
@codeMagic delayed response but glad you liked it
 
5:30 PM
Is it Foo()? new Foo? Foo.new? Heck if I know. I just try them all until the language stops complaining.
 
Sorry, opened it and saved it for when I got a chance. Been fucking around with this update all day and I kept thinking I might have figured out the issue. But...nope
 
wish there was a gson for contentvalues
 
Ah, I thought you were looking through messages from earlier and stumbled on to it
 
eh, there kind of is
 
I always have that problem wayne... particularly in python
 
5:32 PM
but i dont know if i like it tbh
 
Hey neighbor, I'm glad you don't do any of these.
Especially that last one...
 
HaHa!
 
6:04 PM
lol
"I hate kids"
 
Ewww kids
 
Why school, y u block imgur
 
Oh boy!
 
that hurts
 
6:19 PM
Along with tons of other stuff. I really need to set up a ssh tunnel.
See if I can get that to work.
 
good luckl
 
@TheLittleNaruto not real, it's from the movie Mall Cop 2
 
Someone posted that on G+
Is it funny movie ?
 
it doesn't even look a bit real
 
imdb is saying, not yet released.
 
6:30 PM
I don't really watch many movies, and when I do, they're not comedies.
 
I see! Which movies do you watch ?
 
usually intellectual ones, ones that twist reality a bit. Stuff like Inception.
 
The first was pretty good. Haven't seen the second
 
Inception is really nice movie.
I watched thrice.
 
6:37 PM
Listening...
@codeMagic ...Wait , second ?
Why din't I know? There is Inception 2 as well.
 
Mall Cop 2
I haven't seen Inception
 
Then how did you say "The first was pretty good" ?
 
15 mins ago, by Carl Anderson
@TheLittleNaruto not real, it's from the movie Mall Cop 2
 
Ohh
like Carl did.
 
this is also fantastic:
 
6:49 PM
I'll sleep now.
Good Night People :)
 
a little bit o'reflection never hurt nobody
 
7:04 PM
o/
 
Hi, Dave o/
R cannot be resolved to a variable
 
No, Eclipse, your mom can't be resolved to a variable
 
o/
 
Go home Eclipse, you're drunk.
 
7:06 PM
^
 
eyyyyy
I found a place to stay in Berlin.
Awesome.
Not safe yet, but hopefully works out.
 
not safe?
 
don't forget your gat
 
not safe as is in not a done deal yet
 
0
A: convert JSON to contentvalues

JMRboostiesI made the following class to handle this when using @SerializedName annotations, it also adds support for ignoring certain fields. Hope it helps someone. import android.content.ContentValues; import com.google.gson.annotations.SerializedName; import java.lang.reflect.Field; import java.util.Ar...

if anyone ever wants to use gson in conjunction with contentvalues/db insertion
 
7:19 PM
wait did the code highlighting on stack overflow change?
it was different I'm sure
 
looks normal to me
 
ping @TheLittleNaruto
 
Ahmad, I thought so when I was looking at this dandy but not quite sure how it changed
 
@AdamS thats like double wrong
 
It's a cricket joke mate
Aus beat India. India will be cheering for NZ in the final. :D
 
7:23 PM
LOL adam
yeah something feels off cM, maybe it's just because I've been starring at this Sublime Text window too long
 
oh i get it
lol
 
I found this but that's from January. But I agree, something seems fishy and it's not the tuna I ate
 
Australia also beat Pakistan. I'm rooting for NZ!
 
I don't get it still but I'm ok with that
 
7:39 PM
I'm rooting for New Zealand because I'm pro Zoophilia
^ context
 
trying to figure out how to convert the contents of a cursor into an object
the way gson does json
 
Isn't there a way to implement a custom serializer with gson?
 
posted on March 26, 2015 by Android Developers

Today, we want to share some best practices on simple OpenGL Shading Language (GLSL) that can optimize the performance of your games and simplify your workflow. Specifically, Layout qualifiers make your code more deterministic and increase performance by reducing your work. Let’s start with a simple vertex shader and change it as we go along. This basic vertex shader takes position and te

 
7:58 PM
I don't even... cbc.ca/news/trending/…
2
 
@Ahmad yea, but im not really touching gson here
i want it to behave like gson
but the action is cursor->object
 
Aah I see
 
@NathanielD.Waggoner are you the one who said that you have worked with the ndk and AS?
 
I did ndk and AS
but it was awful
and I want to forget it
 
8:06 PM
At this point, if I can figure out how to get it to ignore it I will be ok
I'm going to eventually rip it out (until we decide it's needed again) but right now I just want to switch and not need it
Do you know if I can tell it to just ignore that shit for now?
 
what's stoping you from ignoring it?
 
It's trying to build it
So, I guess, not knowing how to ignore it is what's stopping me.
 
there's just no such thing as proper sample projects for square's flow and/or mortar
shit
 
I have v.0.8.14 Lol. I guess I should update
 
Why in the hell does AS keep looking in the beta channel and telling me I'm up to date? I switched to the stable channel then restarted
 
this article is really good
@codeMagic ooh I see
don't you have a compiled binary
just don't compile it and run the app
 
I'm guessing I need to reinstall AS since mine is so old?
 
I dunno
 
> If programmers are a cynical bunch, it's because we are reminded, constantly, of human fallibility. Our lives are a cycle of grand idea and skilled implementation followed by failure to build, failure to run, failure to work. We're smart people, and we never get it right the first time. We spend less time creating than we do finding and fixing the things we've done wrong. We cope with that by becoming either laid back and cynical or neurotic and cynical.
7
 
8:32 PM
Haha!
 
Personally I cope with drugs and cat gifs (cat gifs are drugs)
 
that quote is 11 years old now, but still rings true
 
Fuck nypost.com/2015/03/26/nyc-building-collapse They had the best french fries in MAhattan.
 
8:50 PM
hah. that's an awesome quote carl
where is that from?
 
15 mins ago, by Carl Anderson
 
apparently it's from room15
oh didn't see that source link, ty mreng
 
does anyone know if via reflection field values will accept null?
 
apparently not the first time I've posted it >.<
 
why shouldn't they jmr
 
8:55 PM
well i should clarify
for a primitive type
like will it just know to set it to 0
 
cM,
 
wow that was on 1st april 2014
you could have waited 6 days, could have been a whole year
 
I thought you just switched to AS from your old Eclipse?
 
@CarlAnderson these poor people without array bounds checking
 
You couldn't write games in Java 10+ years ago without getting laughed at.
 
8:56 PM
it should be possible to enable it in debug builds, and then his bug could be immediately catched
 
i dont get why you cant do games in java
im not saying from experience
 
but looks like C/C++ compiler/language developers just don't care about developers
 
ive just never tried to seriously make a game before in java, idk why its hard
 
Een, I switched at home but I hadn't for work yet
 
Java used to be a lot slower, but now it is very comparable to other languages
 
8:58 PM
array bound checking is possible in any language that has arrays
@JMRboosties it's hard because GC
 
Also, java can go to lower level languages if necessary for optimization
 
automatic garbage collection used to be the biggest hurdle, you couldn't write a game that would freeze in the middle of battle for memory to be collected.
 
so in Java realtime applications one must try to not allocate memory during the action, and this is sometimes incredibly hard
although solvable
 
ive never written in a language that doesnt handle its own GC
 
and I think it's the lesser evil compared to using an unsafe language which can't even be run in a safe mode even while debugging
 
9:00 PM
ive done java, c#, and some ruby
 
I think right now java lags behind more because the frameworks and stuff aren't written in Java because it used to be slow
 
i dont think ruby does gc at least
err doesnt do* as in it does
 
@autonomoustech your rep is too low for our requirements (100), access denied.
@autonomoustech see the room rules for more details.
 
the most annoying thing in Java (and JVM bytecode) for realtime apps — no user-defined value types
 
what does that mean?
 
9:04 PM
roughly speaking, value types are not stored in heap, that means, GC won't have to collect them
in C#, that's struct (although you can store them in heap)
in Java, no way
 
that man. racist to the fullest.
 
so, if you want something as simple as an immutable 2D vector (in a real-time app), in Java you can't afford this
because new •••() creates a new object and there's no guarantee that a clever VM optimizes this
 
> Politicians - along with actors, sports personalities and other celebrities - are so often caught making what come over as empty expressions of faux remorse, they have earned a Wikipedia entry for this category of contrition: the 'non-apology apology'.
 
"JVMs are surprisingly good at figuring out things that we used to assume only the developer could know. By letting the JVM choose between stack allocation and heap allocation on a case-by-case basis, we can get the performance benefits of stack allocation without making the programmer agonize over whether to allocate on the stack or on the heap."
14
A: Stack and Heap memory in Java

MichaelTWhere are primitive fields stored? Primitive fields are stored as part of the object that is instantiated somewhere. The easiest way to think of where this is - is the heap. However, this is not always the case. As described in Java theory and practice: Urban performance legends, revisited: ...

 
this is an ideal world that is still to be developed, unfortunately
 
9:10 PM
whats your guy's goto type for latitude longitude
 
especially on Android
 
how do you know?
I am curious about this topic as it pertains to android
 
just some performance testing
 
Hmm
When? What devices?
 
also, https://github.com/libgdx/libgdx/wiki/Memory-management#object-pooling
probably this thing exists for a reason
I don't know, they are likely the same — creating objects causes GC pauses and they are more than noticeable
 
9:16 PM
JW uses pools in this post to get Picasso to work with Palette
 
I just LOVE users. Example: We are running iOS beta for the Local WiFi/UI Rebuild/China problem fixing release which requires a GMG WiFi grill. We posted as much when we asked for beta testers. Then I get this gem in email: "I downloaded the app but I do not have the wifi device on my grill. Will I be receiving one to participate in the beta?"
 
"yes, if you purchase the VIP service"
wow, you're round now
 
I'm out for a bit. Will fuck with AS more tomorrow
See ya
 
welcome to the club :D
 
o/ neighbor
 
9:19 PM
Example 2: "Should I update the grill's firmware before running the beta?" It's listed in both the Welcome message and the FAQ that YES you should use the latest firmware.
Today will be filled with bashing my head against a wall I think
Example 3: "My alarm is too quiet" turn your volume up on your phone. We can't control volume.
 
this is not a productive activity
believe me, I tried (bashing my head against a wall)
 
it makes it feel better though Sarge
 
I recommend getting rid of all thoughts and going to sleep
and after sleep, you are reborn and everything that took place before is nothing more than a history of someone else
 
ANybody has an idea on this?
Dave?
 
Dave... stuck between a chinese firmware team and stupid customers.
2
 
9:25 PM
time to sleep
 
anybody got any idea?
 
well this is efficient
cya sarge
I can't even
this...
this is great.
I love it. so many buzzwords.
only if I knew how to translate phrasendrescherei into english.
phrasemongering.
 
"folders in the air"
 
@Eenvincible you could just check for the build version and show the dialog based on that
 
fog computing
 
9:33 PM
ok
 
if(android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP){
//Show date picker
} else {
//Show library
}
 
@Eenvincible no idea, I don't use material, I'm a rebel like that
 
Thanks let me try that
alright dace
*Dave
 
but yeah MrEng has it right
check the build version
I just read material and checked out mentally
 
do any of you Android Studio users commit your run configurations to git?
 
9:43 PM
I haven't carl, where are those stored?
 
I don't know, which is why I'm asking
I have some that are custom now that I'm using Espresso and experimental unit tests,
and I'd like to not have to set them up again when I work from home next time
@Ahmad, your daily dose of music is here.
 
yeah that might be convenient
 
:)
 
booyah
wrote a tool which takes a cursor and builds it into its object
reflection is love
 
it looks like they are stored in the workspace.xml file carl
which isn't so great to commit to your repo
you could store a separate file though with just the run configs and then just copy them in to your workspace.xml when you checkout
 
9:53 PM
Alright guys, am heading out
 
oh well
 

« first day (1622 days earlier)      last day (3318 days later) »