« first day (1651 days earlier)      last day (3310 days later) » 

5:00 PM
it's been removed already
but look at this:
8 mins ago, by Try_me34
http://phandroid.com/2015/04/24/android-robot-apple-logo-piss-maps/
 
dam lol
what do you think about it ocus?
 
TBH, I dont think it was a vulnerability. Inside job.. Google ofc knew about it... You can't simply miss that...
 
thats what im saying
 
@Try_me34 you can miss, if you do not zoom enough
 
5:14 PM
still ?
It's gone already!
 
@Eenvincible Someone should make a blog post on this topic.
 
Hey guys quess what: https://www.google.gr/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=goog%20stock

Coincidence? I don't think so....
 
hrm, seems like I shouldn't have sold that Amazon stock yet
 
The stock is about +4%, pretty high
 
5:21 PM
folks
 
compare it with the previous days
 
I need some Facebook SDK 4 help
 
All I am saying is that this kind of moves are not random at all
@Guilherme Shoot it
 
how does "boje" sound for an app name?
 
Guil, I just finished upgrading from 2->3, I can't help you :-/
 
on SDK 3, I could check the login activity request code using Session.DEFAULT_AUTHORIZE_ACTIVITY_CODE
 
cygery - kinda meh
 
what about "jodel"?
 
if (requestCode == Session.DEFAULT_AUTHORIZE_ACTIVITY_CODE) {
    Session.getActiveSession().onActivityResult(this, requestCode, resultCode, data);
}
how do I do that on the new SDK?
 
is that facebook code I see?
 
5:24 PM
if (????) {
    callbackManager.onActivityResult(requestCode, resultCode, data);
}
 
Check my answer: http://stackoverflow.com/questions/29605236/login-facebook-getlocation-and-email/29605975#29605975
@Guilherme it has a full example of the `facebook sdk 4.0.+`
 
trevor, that is run when you finish login
inside onActivityResult()
 
cygery - better, but still not great
 
thanks :)
do you know the jodel app?
or maybe tellM
 
classic facebook, changing their SDK again
 
5:26 PM
@Try_me34 my friend on the Google Maps team says:
> having maps which accept user edits is always a trade off between allowing people freedom to make changes, and making a burdensome process to vet every single change. That dude had 400 good edits, building the map for this town, he had a high trust rating, and then bam,does that
 
@Try_me34, the problem is that if I have any other activities returning, I cannot call the FB callback method or my app will crash
the ideal solution is to filter by request code, like I did with SDK 3
 
@CarlAnderson The issue was there for several hours... I am not saying it was 100% Google's job, but I don't believe that these kind of actions happens just for trolling or just having fun.. There is always someone behind making a lot of money. Plus question yourself: If apple was urinating Google, would google leave this for over 10 hours+ online? And somehow Google's fund went super high today.. I don't know what happened there but I don't believe in these "accidents" so easily
 
sure @MrEngineer13
 
That's nice, but my guy works on the maps team, so I'm going to believe him instead.
 
5:37 PM
the stock spiked because they just announced earnings
 
sorry mrEngineer; I meant to direct the message to @McAdam331
 
No one's made a blog post all month.
 
I've debugged the request code to be 64206, with in hex is 0xFACE
 
sounds like that guy was playing the long con
just how high up does the conspiracy go?
 
690 meters
 
5:46 PM
maybe all the way to Page?
the Illuminati could be controlling him
 
definitely the illuminati lizard people: content.time.com/time/specials/packages/article/…
 
@Emmanuel The problem was that I was calling getActivity().getIntent().getExtras() in the fragment and not calling getArguments(). Rookie mistake.
 
6:03 PM
o/
 
Hey, Dave.
 
The problem was using more than one activity, and fragments.
 
The problem is never fragments
 
lol, at least you're being honest with your title "no_coding_knowledge"
 
the problem is always fragments
 
6:07 PM
^
 
no because if you don't use fragments they can't be a problem
 
I'll still blame fragments somehow
If I lose my keys I blame fragments.
 
pissed your wife off? fragments. Stub your toe? fragments
 
Well I am trying to do the master/detail flow on a tablet and it sounds like fragments are the best way to go in that situation?
 
@Codester you haven't answered any questions on StackOverflow and thus don't qualify for access. Check the room rules for details: room-15.github.io
 
6:10 PM
user image
2
 
o.o
^
 
And fragments aren't bad, it's just a matter of me learning how to use them. Someone else said in here last night that fragments are a tool, and can be very helpful if you know how to use them. Might have been Emm
 
yeah I agree with Emm
I use fragments in my view pager without issue but I also bypass a lot of their normal functionality and use them like you would an activity
 
whoops
that wasn't the link i copied
yesterday, by Emmanuel
Fragments are like a tool, you need to know how to use it properly and for what kind of jobs it is useful
 
6:21 PM
 
@eski Have you tried using Mortar and Flow?
their setup and learning curve is brutal
 
I don't really like it that much
 
I describe Fragments as Views with a lifecycle
 
views already have lifecycle
 
6:27 PM
not one that really ties to the Activity
it has a lifecycle to handle drawing and layout
 
it has all you would ever need
 
how would you save a View's state? You have to use the enclosing Activity
 
View.onSaveInstanceState :P
 
Fragments are kind of like re-usable view/controller combos
 
Fragment's provide a way to do it via callbacks and they are modular...
I agree with Dave
 
6:32 PM
they're bloat
 
you're bloat, but that's ok it keeps you warm in the arctic circle
 
also note the difference between Activity's onSaveInstanceState() and View's
> Hook allowing a view to generate a representation of its internal state that can later be used to create a new instance with that same state. This state should only contain information that is not persistent or can not be reconstructed later. For example, you will never store your current position on screen because that will be computed again when a new instance of the view is placed in its view hierarchy.

Some examples of things you may store here: the current cursor position in a text view (but usually not the text itself since that is stored in a content provider or other persistent s
That is View's
-2
Q: How detect blow in android device?

Pablo VillarI am new android programmer and I want to make an application to make certain event to blow. The only code I found to do this is at this link: http://androidexample.com/Detect_Noise_Or_Blow_Sound_-_Set_Sound_Frequency_Thersold/index.php?view=article_discription&aid=108&aaid=130 but also detects ...

 
I don't know what the issue is between the difference?
 
the way I read it, and I might be wrong, is that you should not store things like text
only things that pertain to the View itself, like its cursor's position
where as in a Fragment or Activity you do store things like text
 
hmm
I'm not sure it's kind of fuzzy
I think it's the same though
Don't store stuff you don't need to is what I get from it
which is true for activities too
I think if you use an MVVM approach it is very easy to persist your view state using something like auto-parcel
 
6:43 PM
I didn't read it so much as "do not store you do not need to, rather I read it as "you should not store these kind of things"
LOL at this comment:
New Feature in Android 5.0! Apps automagically open an extra time so users can practice clicking 'Back' more. — Jakar 1 min ago
 
Well, that does make sense for a TextView that has its content bound by some other data provider, but for something like an EditText it would follow the same logic as the cursor position example that you would store that with the view itself.
 
I guess so
 
well, that is what EditText does after all
 
I still do not think Fragment's are that bad
 
You will see the light someday
 
6:54 PM
LOL
I guess I have not faced a ton of issues for what I was trying to do
someday I might come back and say they are the worst thing ever
@Tom. You have write access. Please read and follow the rules
 
7:08 PM
Hello people. Quick question. Is it ok to have a static inner class Implement Parcelable without the outer class implementing it?
 
If Parcelable is not absolutely required for performance, I would ditch it completely.
(and use a kind of "normal" serialization)
 
I'm still trying to perfect my android development patterns emm
 
It is in this case I was just wondering if I can just do it in the static inner class
or would I need to move that class out?
does the parent class have any effect?
 
And still working out the best way to do the single activity and views way of deveopment
if you want to use a class as a parcelable object, you need it to implement Parcelable.
It's really that simple
 
I really think I have not coded enough yet
I have a long way to go to get better
 
7:16 PM
That'll be true until you die
there's just so much to learn
 
I mean, I feel that I have spend a lot of time reading about stuff, but I have not coded as much
 
ah yeah, nothing like practical experience
 
there's also a big difference between the best way to program, and the best way to program for a company or in a team
 
^
Adaptability and Problem solving are probably the two most important things
 
Hi, I am trying to get Android Studio to work on yosemite and ran into a 404 on google. I have sdk installed with brew. I opened the sdk managed and installed all the things I need. When I open android studio and it sets it up for the first time, I gave my sdk folder to it and it detected that few things were installed and few weren't and it wanted to install google repository under extras.
but it failed because the url it's trying is a 404. Now I have had r16 installed but since an update is available android studio wouldn't start with out installing it. I've tried installing this package with sdk manager but still no luck. I've disabled cache, tried with and without proxy, reset permissions, everything I could think of. I've been pulling my hair out. Why don't things just work for once?
 
7:18 PM
if you are by yourself, you start to create idioms, and your own kind of language, but one that only really makes sense to you even though it is probably way more efficient
 
"We've got 1 week to do X, what can we do?" versus "Whats the ideal way to do X?"
 
I'm actually way more interested in the kind of silo'd solo programming
I imagine programming would be a lot different if it was more like old school artisanry
 
What would make it old-school artisanry?
 
@eski thanks that makes sense.
 
yeah parcelabler is awesome
 
7:22 PM
^ the guy that coded that used to work with @eski
 
yep
 
I am just lacking a lot of stuff, design patterns, algos, etc
 
Thank you for working together with the guy who made parcelabler, Eski!
 
the best way to learn is coding with more Sr. people, that is why I like Pair Programming
 
@SargeBorsch Is there a reason for that? or is your reason "because it's freaking ugly"?
I also like pair programming
 
7:24 PM
@nana As it stands now we program so that people of an average skill level can come and replace us and understand it.
 
BTW the Pixel is beautiful. I have never seen a computer like this.
 
I tend to inspire other people when pair programming apparently... I do start feeling kind of useless if the other person always wants to type
 
@eski Ok, makes sense. But with clearly defined API it's not really necessary as long as all parts are properly encapsulated.
 
I agree with that nana
but my managers wouldn't :(
 
You don't want to write ugly code, right? I though you meant beautiful super efficient code.
 
7:27 PM
Make it communicate very clearly and effectively at the API interface level, but underneath you can still express yourself and program at the best of your ability (even if others might not be able to understand it). That would be my philosophy.
 
for me it worked out fine because I knew more Android than the Sr. devs (they were mostly Java guys) and they know more about core programming than I
 
^^ yes
 
Yeah it's just that that is subjective
 
Everyone has a style, right?
 
and acting like the standards laid forth by Google or whoever are the end all ideal is very counter to progress, at least at the individual level
 
7:29 PM
yeah, it is true that if you do not do your outside research you might still learn bad habits
 
@miva2 yes, because it's more hand job
 
Basically 99% of my programming style is suppressed when I am programming for a job
I'd like to program in pictograms for god's sake lol
 
You're probably right. I love smart code when I hack away in Python, but I'd never do that in Java because I would have no clue what I meant two hours later.
 
I think in 200 years our current skill level of programming is going to be considered like the cavemen's first attempt at the wheel
 
fuck me
getFields is returning an array of 0
 
7:35 PM
There's a lot more to programming than just the standard things people talk about.
^ JMR cursing right on cue
Are the fields public JMR?
 
its as if like
yea they are
but here is whats weird
literally the line before
it works
its as if you cant call the method twice or something
 
voodoo
 
There is this one guy at work that is incredible
I do not know about his coding style, but his ability to break down a problem and come up with a solution
 
@eski I don't think we will be here in 20 years ;)
 
probably not nana, but you get the point ;)
 
7:38 PM
fuck me figured it out
lmao
 
I think I do, I wouldn't say cavemen. I'd probably comapre it to the skills on pocket watch makers.
 
typo
 
Tedious process, that only few really mastered, in comaprison to what it is now. Automatic, human element removed.
 
1
Q: java.lang.OutOfMemoryError at java.util.ArrayList.add

stackstack2015i use following code for read many items from an xml file : try { InputStream istream = assetManager.open("files/Items.xml"); DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); Document doc = builder.parse(istream); ...

 
coma prison, leaving it :)
 
7:40 PM
> my records in items.xml : 150000 record
 
8:06 PM
-12
Q: Is there another site similar to stackoverflow? I would like to opt out of using this site

OKGimmeMoneyI would prefer to just abandon this site. I lost a ton of reputation on a post because someone marked it as too broad, and I expressed my disagreement in the comments - then they came back and all down voted the post and I lost even more reputation... Sometimes posts get marked as duplicates an...

 
"OKGimmieMoney"
anyone else like "yep"
lol
 
No one answered to stand up for Stack? ha
Given your responses/attitude so far, you might give Yahoo Answers a try... — James 7 mins ago
beautiful
 
It's on hold so you can't answer
 
Ooh. I didn't know that. But if you answer before, your answer isn't automatically deleted is it? Because I've seen answers on hold questions.
 
8:25 PM
No, doesn't get deleted. And there's a grace period. So, if you have started answering when it gets put on hold you can still post the answer
 
If a question is almost like a duplicate of two questions in one, what should you do? I decided to answer it anyways, but I'm not sure if I should have voted to close it or not, because combined it's a whole new question.
0
A: How do you change the text color of the Toast that appears when an ActionBar Item is held?

McAdam331If you would like to change the TextColor of a Toast, you can reference this question, as it has a good example. To do this on an action bar item, you'll first need to add a custom view to your action bar since it doesn't support a way to handle long clicks. I would create a layout file used fo...

 
If your new answer will provide an answer to both others then you can answer and vote to close the others as a dupe of yours or flag and ask a moderator to merge the answers from the others into yours
 
Just farm ALL the rep
 
Well I kinda combined the two answers to help this guy out. It's tricky, because individually it seems like it's own question, I can't find a duplicate.
I felt I could give a decent answer though, I'm just trying to build up my android points.
 
you dun good, kid. You dun real good
 
8:40 PM
Mostly because my code is giving me a headache so I'm taking a break to look at everyone elses.
 
I managed to break the chromebook already :|
 
i need to figure out how to subscribe to a uri
 
Trz #2
 
and not with some dumb cursor loader
just an "on uri changed" type listener
 
ubuntu.com <- Ubuntu 15.04 is here!
 
8:49 PM
Not an LTS
exactly 0 fucks given
 
lol didn't notice that
 
Maybe one, tops.
 
I'll have to wait then...
 
Yep, one more year.
 
"exactly 0 fucks" that's a pretty strong statement
 
8:51 PM
Ain't nobody got time to fuck with non-LTS releases.
 
Ubuntu releases are made semiannually by Canonical Ltd, the developers of the Ubuntu operating system, using the year and month of the release as a version number. The first Ubuntu release, for example, was Ubuntu 4.10 and was released on 20 October 2004. Consequently, version numbers for future versions are provisional; if the release is delayed until a different month (or even year) to that planned, the version number will change accordingly. Ubuntu releases are timed to be approximately one month after GNOME releases, which are in turn about one month after releases of X.Org, resulting in each...
next lts is 16.04
shit
 
That's what I said, April (04) 2016 (16)
 
And...I'm out for a bit
 
you guys are making me miss linux
 
Xtreme Xperience
 
8:54 PM
You should miss it, it is awesome.
 
that's the only name I can think of
 
Xeroxed xOS ;)
 
can't see the page...
 
my link isn't working?
 
9:03 PM
Worked for me, great read
10/10
 
still not working for me...
 
me neither emm
 
I always knew me and Carl were special.
 
Worked for me, I too am special. But I guess we all knew that already.
 
now it works
so now you are all not special
 
9:05 PM
contentoberserver
easy enough
 
That's not true.
 
Now Em is the only special one.
 
not to spell apparently
 
We're still special, we just have an extra.
 
my mom always told me I was special...
 
9:06 PM
does anyone know where the code is that triggers an orientation change in AOSP?
 
I would guess somewhere in ActivityThread?
 
I have a crazy desire to block orientation changes and handle it myself
 
all of my activities are portrait-only
 
I might do that for phones
 
can we set portrait only for phones?
it thought it was a global setting
 
9:10 PM
you can restrict it programmatically
then do screen size detection
 
^
 
but if you lock it to portrait on the manifest you cannot then specify something different for tablets, right?
 
As a user, I don't really care about being able to switch to landscape if it doesn't serve a special purpose (like youtube)
I think that's right emm
 
afaik manifest overrides any programmatic stuff
so yea
 
I actually find it really annoying when orientation changes even though I didn't want it to
 
9:12 PM
same eski we restrict our apps to portrait unless design wise landscape is useful or makes sense
I hate how browsers rotate when I'm laying in bed and trying to read
 
Yeah, that's why I made it so you have to trigger the orientation change manually in my e-reader app
anyway, time to catch the bus
o/
 
later
 
o/
 
o/
 
anyone ever override ellipsize behavior before?
rather than ... I'm looking to make it say +X
where X is the number of words hidden
 
9:28 PM
Hm, that's interesting. I've never done that, so no lol
 
oh I think I found out how to do it
sweet
 
Anyone ever done something like this?
0
Q: Inflate action mode menu based on the item that was clicked

McAdam331I have an activity that on a tablet uses the master/detail flow for a checkbook app (accounts on the left, transactions on the right). When an item is hard pressed I use a contextual action bar to allow the user to edit/delete the items if necessary. I do so like this: @Override public void onT...

 
9:39 PM
back
programming at the bus stop :D
 
lol
you're doing "usability testing"
 
mcadam, can you put the npe stack trace in the question?
 
yeah gimme a sec
 
^ street programmer
 
Wow, that hoodie even makes you look like an eskimo.
@petey added.
 
9:49 PM
Are you programming semaphores? :)
 
Is that you Eski?
 
didn't you read nana? That's a street programmer.
 
I did read that, but I am missing a link between a street programmer and Eski.
 
So, my former boss actually paid the money he promised
 
Great!
 
9:52 PM
Great ending of the week
 
Wanna go celebrate?
You paying?
 
it is too cold to go play outside
 
10:04 PM
have a great weekend guys;
out I go
 
later
 
10:48 PM
yes, that is me nana
 
10:59 PM
I saw that dave ;)
 
lol
I got bored trying to make it come out right, started sounding like a grandma
not a penis/banana
Still, when read in caveman grammar, it's like you just flashed someone and said, "oh yes, that is me nana"
 
it has many meanings, illustrating my depth as a person
 
Yaay new phone~
 
11:20 PM
what'd you get?
 
11:37 PM
@Gemtastic don't tease me like that.
 
she doesn't want to admit it's an iPHone
 
oh gross.
 
ok, I'm out of here, have a good weekend everyone
 
bye Carl
 
11:56 PM
@McAdam331 I got me a Oneplus one :P
 

« first day (1651 days earlier)      last day (3310 days later) »