« first day (1623 days earlier)      last day (3317 days later) » 

7:09 PM
grr just got the same
 
And now me.
 
And not me. But I'm back so there's that
 
7:27 PM
Can anyone please tell me how does your AS behave on Shift Arrow Down?
Does it just select or also do the multiple cursor thingy.
 
just select
 
Thanks
And you're on the March 24 build?
 
Hey guys, anyone know of any good docs about app behavior while the phone is locked?
 
march 17
 
Hrm, restart fixed that. Strange bug.
 
7:33 PM
i'm sure this happened already
but i really need it... youtube.com/watch?v=kfVsfOSbJY0
 
^
felt my spidey senses tingling.
 
7:56 PM
what about this
-1
Q: Android Studio stops responding after placing first UI element

user3191545The SDK is kind of 'freezed' after I add an element like "TextView". It doesn't say 'Not Responding' but every button is unclickable, so I have to close it every time using Task Manager. If I minimize AS, then the entire window gets black. How to fix this?

You could try re-installing, or maybe buy a new computer. — ItzHoudini 7 mins ago
 
8:11 PM
> TIL Japan imports rice from the U.S. as required by the World Trade Organization, but almost none of it ever actually reaches Japanese dinner plates. Instead, the imported rice is donated to North Korea, fed to pigs, or left to rot in vast Japanese warehouses, sitting in storage for years.
most of the rice is grown in CA. Fucking CA. Dry CA.
and it takes a lot of water to grow rice
this is just so wasteful
 
rice protectionism lol
 
@TusharTushKhush denied for low A:Q ratio and using chat for support only. Fix those before requesting again
 
Hey guys, wanna know why android audio sucks?
21
Q: AudioRecord object not initializing

turtleboyIn the below code my audioRecord object is not initializing. I tried moving it to the onCreate method and made it a global. I've logged the state and that returns a value of 1 which means ready to use. The debugger says that startRecording is being called on an uninitialized object. It is also sa...

this comment is the best part
This isn't going to work as well as you think because some Android devices will enter a Black Hole of Hell if you use an unsupported sample rate. The only way to get the microphone to work again is to reboot the device. – Learn OpenGL ES Oct 22 '12 at 19:16
 
LOL
 
8:31 PM
R.I.P
 
Haha
11
Q: Why hast thou forsaken me, Stack Overflow?

itcheeI have been a happy Stack Overflow for the past years. I never bothered to register, because all the questions that I would have asked, had already been asked. And those questions all had answers, nicely presented for me savor them. Until that one day, not long ago, where I had one question th...

Typically, a question like that on meta would get a lot of downvotes. But I guess it made people smile. It did for me
 
I fucking hate apple
 
Atleast their phones work...
 
I've got strong properties attached to a service being deallocated while they are still being used
with any sort of optimization enabled
its fucking stupid
stop deallocating my shit
 
8:49 PM
weak references?
 
no, strong properties crashing with a bad access showing a nil self
only happens on 8.1+
 
@codeMagic nice :)
 
9:06 PM
I even did an answer
hope it's not too stupid
 
facebook's ability to track everything is extremely scary
just went there and I was scared by what I have seen
 
stay away
time to go home and get ready for the --Weekend Weekend--
 
looks like whenever I have to go there I must use tor browser and thoroughly filter everything
 
fun fun fun fun
 
9:17 PM
you use Facebook?
 
nope
just got to contact with one human being who prefers it
now I know it was a bad idea
and visiting it even when not logging in is a bad idea, too
 
9:34 PM
what's this?
 
9:50 PM
a stackoverflow user
 
the photo looks suspicious
 
in what sense?
RT @BrianBergstein: This week saw the warmest temperature ever recorded in Antarctica. http://www.wunderground.com/blog/JeffMasters/comment.html?entrynum=2944&cm_ven=tw-jm
:s
 
its done, sweet
i built this really nice library which does automatic db insertion and reading
 
10:06 PM
have a great weekend guys; am out
 
I've run into elenasys before, she cursed in romanian at someone else in this room then denied it saying that's not what it means
then deleted the message
oh yeah she said in Romanian "Eat Shit" because cM went meta on her
good times
 
cM went meta on her?
did I miss something?
oh found it
 
link it, you SO guru you
How did you find it? there's not like a search for user interactions that I know of
12
Q: how to call the overridden method of superclass

Hisham MuneerMaybe this could be very simple but I am confused about my little example. public class Animal { public void eat() { System.out.println("Animal Eats"); } public void shit() { System.out.println("Animal Shits"); } } public class Cat extends Animal { @Overr...

 
Feb 20 at 0:25, by codeMagic
I have closed the question. mananc rahat — Elenasys 4 mins ago
my googling/searching-foo is my best asset
 
ah
me too, but I'm not quite as good as finding chat message in SO as you =p
 
10:23 PM
question time
not an SO question
more philosphical
but having to do with code
so, i have an object called artist
stored locally it just has some basic data on the artist and then some reference oolumns to other tables
similar artists, upcoming events, etc
 
I've been allocated, therefore I am
3
 
the response from the API contains an artist hash
which is all the artist data
and then some arrays which are the contents of the join tables
right now im calling that "GetArtistResponse"
that object contains the artist object, and arraylists of the objects belonging to the artist
so question is, when i actually use the artist in the app its to populate an activity will all the pertinent information
i could a) include arraylists of the events and stuff owned by the artist (even though that does not mirror the db or json structure)
or b) create a new object which contains everything i want in the artist's activity
or c) store them all individually in the activity class
or d) something completely different
thoughts?
 
I would model the Artist object in whichever way makes the most sense, all the "arraylists of the objects belonging to the artist" should be part of the artist object. Don't worry about mirroring data structures that's what the API conversion is for
then you can pass that model around to where ever the artist is needed. extracting bits where you don't need the whole artist like in a song fragment
But in general a Model only object that manages your data is very useful to have
 
hmm, ok
 
So it would look like API -> Artist Objects -> Any interface that uses an artist has everything it needs in the Artist Object
 
10:31 PM
Ah, yes I remember her. Good times. That wasn't my first run in with her
 
thats doable
basically just change it from a "GetArtistResponse" to just "Artist"
thats option a) basically
i did it another way with events, in that case i did option a and liked it ok
 
well you will want to abstract the API and Json parsing away from the object creation and the getters/setters
 
just trying to be clean and nice or whatever
yea, thats what ive spent this week building
a sick library which takes any object and converts it from json into a java object
 
so you'd still have a getArtists() method but it will create Artist Objects
 
and can store it in sqlite and retrieve it in the same manner
yea
i was just unsure if getArtists() should return a pure artist which owns its sub-objects
or like an artist wrapper which has the artist along with the sub objects all on the same level so to speak
i like pure artist better im thinking
 
10:34 PM
yeah that makes the most sense to me, you don't want to decouple strict one to one relationships
that just makes the code harder to follow and manage
 
agreed
 
sometimes you do, but not if you can help it
In cases where it's read only you can get away with only passing part of the Artist object that you need , but sometimes that's just micro optimization and kinda silly
 
yea
i think this will be nice in the end
 
So it's been winter for 6 months in Canada. What the actual fuck.
The first snow (here in Waterloo) was on Nov 1st.
So I guess 5 months. But it was cold before that.
 
10:56 PM
damn reflection is my shit
when you use it intelligently it makes things so nice
 
reflection is slow tho
but agree, it's nice
 
i think for the limited use im doing its OK
 
you still have snow in Canada, Adam?!
 
just for api interaction and db insertion
which is relatively slow anyhow
id never do it like
on the ui thread
and im only using it with annotations, it really isnt too slow
 
yeah for limited use it's perfectly fine
I forgot the name of the DI framework that was using reflection
but in the case of dependency injection it was just awfully slow from what I read
I think it was roboguice
 
11:03 PM
Reflection is really nice for using a custom font everywhere in your app and only setting it in a theme
You'd think Android would have support for that but nooo
 
11:25 PM
i cant figure out one little reflection trick though
not really reflection, more gson
oh shit that might work
 
11:49 PM
Good evening, awesome androiders. My task tonight is to get my phone to not hang. I've heard that people who use your app might not like it if it hangs.
 

« first day (1623 days earlier)      last day (3317 days later) »