« first day (1359 days earlier)      last day (3604 days later) » 
00:00 - 19:0019:00 - 00:00

12:20 AM
I posted a message to follow the repo on GitHub and someone actually did it.
 
12:31 AM
Have any of you looked at the Facebook HTTP API? Is it RESTful?
 
For the first time of my life i hear internal burning
 
sounds like you need some Tums or Rolaids
 
RESTful API must be :
Client–server
Stateless
Cacheable
Layered system
Code on demand (optional)
Uniform interface
 
which I have no idea if the Facebook API meets those criteria
 
7
Q: Is Facebook Graph API considered a RESTful API?

JoelIt seems that the old Facebook API was called the "REST API", while the new one is called the "Graph API". I wonder if the new Graph isn't a RESTful API as well? It seems like it conforms to the guiding principles of the REST interface, or am I wrong? Thanks! Joel

 
12:39 AM
cool, thanks
maybe I'll look at using --- umm....what's that library from square that wraps a REST API into a Java one?
 
np
I use Spring for android
 
user457812
I had to explain furries to my mom.
 
cosplay ftw!
 
user457812
Ehhhh I think cosplay and furries are different things
 
user457812
Furries are weirder
 
12:42 AM
true
cosplay is a broader category in my lexicon
 
android-arsenal.com <= here you can check more REST APIs
Code
 
atm, I'm just interested in posting on Facebook and Twitter from my app
 
@Ahmad I've just started looking through u2020. There's hardly any code in here!
 
Nice, but you can use ABS provider ?
Code
if you are using ABS
 
What's ABS?
 
user457812
12:47 AM
ActionBarSherlock
 
does it have social network functionality built into it?
 
user457812
Alternatively, anti-lock braking system.
 
given the context, the former makes more sense
 
user457812
I don't think ABS ships with anything other than the necessary compatibility stuff
 
user457812
Haven't looked through it particularly thoroughly, though
 
12:50 AM
Apparently, there is a "standard" nullpointerexception...
@codeMagic This is not actually a "standard" NPE. — matiash 10 mins ago
 
user457812
I'm pretty sure java.lang.NullPointerException is the standard NPE.
 
I thought so
 
Did you read the clarification?
maybe "direct" vs "indirect" would be a better qualifier rather than "standard" vs "nonstandard"
 
user457812
The actual issue is on line 31 of the automatic initialization of a class instance
 
exactly
 
user457812
12:54 AM
So it sounds like they've got a { … .getResources() } call before it's ready.
 
I did read it. It was definitely poor wording as he acknowledged
 
user457812
I'm not sure off the top of my head what initialization/ctor/etc. ordering is in Java though
 
I will probably reopen because of that but the question definitely wasn't closed too quickly as there are many reasons for it to be closed
 
anyone wanna help with the bounty I set on a Q?
1
Q: Facebook status not updated. Error 403, authentication error, SocialAuthException in Android

Nirav DabhiI have created an application, in that the authorization with Facebook is done fine, but when I tap on the update status button it shows exception. It returns status code 403. Code is: if (providerName.equalsIgnoreCase("facebook") { try { adapte...

 
user457812
1:00 AM
A programmer is someone who can simultaneously entertain the ideas that tight coupling is bad and fridges should be connected to the 'net
 
user457812
I love that too much to not share it again.
 
Presenting Presenting by Chet Haase
 
@Code-Apprentice This sounds similar but no explanation. note: I didn't really look at it since I haven't used it
What did you guys do to neb, anyway?
 
yes, that sounds similar to my problem...
although a bit more complex. I have just a single activity.
 
user457812
Far as I know, neb's just been busy with stuff.
 
1:09 AM
perhaps I need to back up and make an SSCCE.../sigh
sounds like a good project for tomorrow
 
Ah, wasn't sure if someone pissed her off or just busy. But I know she had a lot going on
 
user457812
1:31 AM
If someone pissed her off, I'm not aware of it, but she's an owner so she can put the beatdown on anyone who did.
 
user457812
I have now successfully tweeted a gif of the correct way to make commits in git.
 
user457812
The way I normally compose commits in git: `git add --patch` and `git commit --verbose` ⇒ http://twitter.com/nilium/status/485595404679933953/photo/1
 
user457812
This totally won't onebox the gif.
 
user457812
Which technically isn't a gif once it's on twitter.
 
1:36 AM
Does anyone know if Gson will auto convert { id: "123" } to an int if my field is int id;?
 
0
Q: Can't instantiate class; no empty constructor error - Android switching activities

RainbowJeremyI know there are many people with a similar problem, but I could not find the correct answer for me. I am getting this error when I try running my application. It occurs when I try switching activities, so I believe I am not doing this correctly. First activity: public class MainActivity extend...

uggg
 
user457812
That sure is some code-looking stuff
 
@adam not when it's in quotations
 
Damnit.
Who sends integers in strings anyway
3
 
Is the ID really a number? Or should you just use a String field?
 
1:43 AM
you could write a custom deserializer though
 
talking about which...I had a request to change my "Number" field to accept non-numerical characters in my baseball card app
 
14
A: How do I write a custom JSON deserializer for Gson?

Peter Knego@Override public User deserialize(JsonElement json, Type type, JsonDeserializationContext context) throws JsonParseException { JsonObject jobject = (JsonObject) json; return new User( jobject.get("id").getAsInt(), jobject.get("name").getAsString(), ...

that looks like what you need
 
Oh, I'm going to ignore the ID I think (or leave it as a String) for - the problem was image width/height. Those are going to be ints.
I'm only deserializing to this object, and I'm converting it to a local/internal object from there :)
I could use a custom deserializer, I was just wondering if it'd do it automagically for me or not.
So I'm just doing this :P return new Image(Integer.parseInt(width), Integer.parseInt(height), image, preview, title);
In other news; probably time I learned to RxJava.
 
:D
RxJava?
I've heard of it but never came around really looking at it
that's the netflix lib right?
 
Yeah
Check out GalleryDatabase in u2020
 
1:51 AM
aah! okay
 
GalleryView subscribes to the returned observable and replaces images when new ones come through.
 
sounds like that could come handy
oh man, so much to learn, but no time :s
 
Yeah.
I've finally got some time to learn all this stuff.
 
I'm going to digg though all of this in my summer holidays which are starting at the end of this week
so yeah, I might not see the daylight for a few weeks.
 
There's actually very little code in this app
 
1:54 AM
lol
yeah
most of it is just fancy stuff with dagger modules
 
I'm currently working on replicating it for a different API (wookmark.com/api/json/recent) and then I'm going to add bits and pieces slowly.
Dagger, RxJava, etc. I'm using Retrofit for the first time so we'll see how that goes.
 
Oh, you'll love Retrofit.
that's for sure
 
Yeah
 
it's awesome
 
I've written one interface
And my networking is done
lol
 
1:57 AM
yeah exactly haha
gtg, trying to get some sleep
cya
 
\o
 
Retrofit...that's the one I was thinking of.
I wonder if I can use Retrofit with the Facebook API
 
user457812
2:17 AM
I really need to come up with an idea for a new app just so I have an excuse to start playing with reactive stuff
 
user457812
i.e., rxJava/Scala or ReactiveCocoa or writing my own reactive thing
 
Just make a Flickr client
Easier to make something that's already been done if you just want to learn something :)
 
@nil I feel the same way about learning Dagger
 
user457812
My current idea is to mostly do an IRC client for iOS, but I'm still playing with how it'd work
 
user457812
Since right now, IRC clients on iOS mostly all fit the same mould, and that's why I want a new one
 
2:56 AM
I'm convinced that my FB trouble is with the settings on the server side rather than my app itself.
So now I need to figure out how to configure a test use using the HTTP API.
 
Just reinstalled GIMP. Going to try and learn it this time, rather than get scared off by the UI you need a PhD in.
 
lol
 
@AlexT. sounds fun!
 
Yeah! I mean, I've been programming OpenGL graphics and tying it to Box2D. It's going to be real nice just drawing pretty pictures for a while.
 
3:11 AM
I have GIMP in my sights, too. I'm thinking about using it to design the UI for my app.
Right now it's too plain and cookie cutter.
 
I bet it's not that bad, unless you composed it with MS Paint's spray paint. ;p
 
I like it. I think it's very clean.
What kind of adjustments are you thinking of making?
 
The form to enter information needs some adjustments IMO.
It's just a lot of long EditTexts, especially on a tablet.
 
 
2 hours later…
5:15 AM
Yay! I got my app to publish to a test user's facebook status!
freakin' finally!
 
Well Done!
 
6:19 AM
My whole family is sick now, so I'm trapped in my room since they've infected ALL THE THINGS
I had to disable the AC so they didn't turn it on
2
 
6:38 AM
ick!
what part of the world do you live in, Glitch?
 
from the part with crazy big spiders and mad kangaroos
 
Sydney
My family isn't very bright. One person was sick, and they sneezed all over the place and turned the AC on.
 
talking about spiders...my house is infested with them. Fortunately, they aren't very big.
@Ahmad I'm making some progress with Facebook!
 
user457812
6:54 AM
He is from the land of the vicious drop bear.
 
user457812
Known for lock-picking doors, breaking into homes, and clawing out the sleeping inhabitants' eyes.
 
user457812
Turns out drop bears are actually people on PCP.
 
*bears on PCP
 
user457812
Spider just tried to crawl across my floor unnoticed
 
user457812
That I'm telling you this means a) it was noticed and b) it's very, very dead.
 
6:59 AM
Nooooooo spiderbro :(
2
 
user457812
There is no shortage of spiders here.
 
user457812
With warm weather comes a ton of spiders crawling around
 
I need to find some socialauth experts...
 
7:48 AM
In Australia, does the AC fan spin the opposite direction?
 
lol doubt it
 
just wondering ;-)
 
I can't exactly check, this is a ducted system
 
 
3 hours later…
11:14 AM
o/
 
\o
what's up emmanuel?
 
11:37 AM
Nothing much
What is up with you?
 
preparing for my flight, maybe start packing
and I think I'll rent the dagger vid today
from JW
need something to do during my stay lol
unfortunately there are no direct flights from here to Lyon
 
Lol
I think Dagger will sink in with a bit of practice
It is one of those things that one day you start realizing that you are getting it
It helped me to look into Roboguice as well
 
12:05 PM
yeah
Didn't give Roboguice much though before diving into DI
 
It is a bit more comprehensive
You can do method injection
 
yeah looks like it
oh that's nice
 
12:21 PM
@Ahmad that cat is so awesome!
 
:D
 
This Android SDK update 23 is killing me.
 
why?
 
I figured I was missing some kind of dependency, so I figured I'd just install the entire SDK tools. Didn't fix it. Saw on here that there's some issue with the release. The solutions provided here seem useful, but unfortunately it's too late for me as I'm doing a full uninstall of the set. :(
 
:/
 
12:50 PM
\o
 
o/
in Lounge<C++>, 20 mins ago, by Puppy
kindly fuck off and don't come back
the c++ room - as classy as always
3
lol
 
Hate that room. Bunch of fuckwits.
Inb4 suspension
 
1:08 PM
yeah
just read through that
wow.
$124.000 in debt
"just" for a university degree
 
And that's exactly where Australia is heading
Our government wants to deregulate Uni fees
 
is it that high in the Australia as well?
I don't get it
 
We're literally swapping our system for the US system. US is finally getting a clue under Obama, and Australia is going backwards and inheriting the US system
Nope, currently it's like <$30,000 for a degree here at the most prestigious unis
 
we pay something around 600€ for a year
2 semesters
 
I'm like $2000 a semester
But I was lucky because they gave me a 20% discount for paying upfront
Now there's no discount
I owe $1000 at the moment, and that's it. I'll pay it off at the last minute.
 
1:15 PM
heh :p
 
Lux literally paid for my degree :D
 
:D
yeah I figured
when did you start working on Lux?
 
three years ago
 
nice
 
I hate this government. Education should be free, but it's only getting more expensive
 
1:18 PM
same everywhere unfortunatly
same with food housing and health care
 
Our education is actually free, 200€ of the ~300€/semester are for your transportation costs
 
Where ?
 
I'm glad I live in Germany.
 
ahh
 
I mostly paid for my degree with summer work.
 
1:19 PM
Sweden and Germany are the flip side ot my argument
 
$6-7000 per annum for a CS degree in NZ.
 
Yeah about £12000 per semester for CS in the UK now
thats jsut course fees too
 
per semester? o.0
 
Assuming you're a citizen; foreign students pay the full unsubsidised amount which is something ludicrous.
 
and accomadation
 
1:21 PM
Yeah foreign students have are much worse off
Foreign students in the US pay like $50k/semester
which is just ridiculous
 
Yeah i think the prices were 2 - 3 times more for courses for foreign students in the UK.
depends on the Uni though
 
A friend of mine want to study at a british university
don't know how he wants to manage the cost
I think he's going for Maths at Cambridge
 
That makes sense
Cambridge and Oxford are woth it if you can afford it
isn't cheap though
 
Yeah you probably make good money if you graduate from one of these uni's
 
You can make good money without ever going to uni
 
1:25 PM
Not necessarily in every field
it's easy if you can program
 
not just that you will end up with some contacts that will end up setting you up for life
its why the system is stacked against the majority of people in the UK
 
The contact thing is the main one
 
Yeah, the whole public tender thing in this country is a joke
 
2:05 PM
lol glitch
 
Hey
 
o/
 
2:35 PM
Commonsware's favorite sentence
 
2:51 PM
lol
 
o\
 
\o
 
waddup glitch!
 
just chillin (literally)
 
AC!
turn it down a notch
 
2:59 PM
it's off
 
hmm
 
plus this AC heats too
 
where is this source of this chill
 
the lack of AC :P
 
lol
 
3:03 PM
I can't turn it on because people are sick, and I like not being sick
 
you guys don't want to know what my education cost
 
Two pennies and a partially salted cashew shell?
 
lol I wish
 
more or less than 100k?
 
All my education was free, and the state give me money every months
:p
 
3:12 PM
before scholarships and everything
more than 200k
 
O o
 
it was the most expensive school when I started
 
0.0
wut
that's crazy.
did you at least cover some of it through scholarships?
 
yeah most of it
the engineering school gave a lot of scholarships and alumni and stuff
it is the trend in America
increase the tuition as much as possible, and they can get more total money because of the rich kids
it helps a school seem more prestigious as well
GWU's president started it

http://www.theatlantic.com/business/archive/2012/09/meet-the-high-priest-of-runaway-college-inflation-he-regrets-nothing/263032/#
 
3:37 PM
Any here employer? ;p
I am browsing jobs.
Allowed country for me: DE, NDL, UK, AU..
 
NSFW
 
3:59 PM
@Ahmad Any idea what those hilarious websites with terrible design and nonsense on them were? About computers
 
hilarious websites with terrible design?
 
bwahahhaah
That's brilliant
 
Crikey reading that website is giving me a headache and a nose bleed
 
4:16 PM
"Google once had 89,000,000 links to Time Cube site. "
"Educated stupid humans have not the rationale to understand 4-corner metamorphosis.

You are stupid and evil and do not know you are stupid and evil." -Gene Ray
I feel enlightened
 
haha
 
@RaghavSood aah! that's what you meant lol
was a bit confused
 
 
1 hour later…
5:47 PM
Hi, Android!
Anyone home?
@RaghavSood Is that English?
4
Q: How to make CheckBox dynamically in custom base class and how to get the checked valus?

BairaviI want to invite my friends, so i created a layout; in that layout I put an EditText and a CheckBox. If I have 10 friends, it means that the friends name should be shown in the EditText, then I will check the CheckBox and in the next Activity I will get the checked friends names only. How can I d...

cv plz
 
done
 
Hi, code!
I have code problems
 
Hi!
At least you don't have testing problems :D
 
how the fuck does this have 4 upvotes?!
 
I can try to help but I just stopped in for a minute while the kids eat their tacos
And favorited by two O.o
 
5:59 PM
Know anything about Facebook? ;-)
I was wondering the same thing, Ahmad.
 
Yes, I know I can watch everyone bitch on Facebook
 
> I want to invite my friends, so I created a layout
Because that's what everyone would do...not pick up the phone or something
 
But, if you are talking about the SDK, I haven't used it and would like to keep it that way
 
sock puppets
for sure
 
well, I'm actually using a 3rd party library.
not the native sdk
 
6:01 PM
Ah, I see. I still haven't done anything with any social networking, sorry
 
well, you could at least panic for me =p
 
oh, I've been doing that
 
thanks ;-)
 
I'm actually hanging from the fan right now
In all of the chaos, I actually knocked my kids down
 
while you are typing? That's pretty talented
 
6:09 PM
Hey guys, I was wondering, do any of you have any experience with the Google Play Game Services? I've seen that it can facilitate leaderboards and achievements and host matches, but my assumption is that this probably isn't the best tool to use when wanting to distribute files between users. Maybe Google Cloud instead?
 
Now I'm on the fan, the kids are all knocked out on the floor, and the dogs are howling like crazy
I am very talented
 
lol
 
@AlexT. Sorry, haven't used it
 
me neither
 
Ah no worries. I suppose I just have to get my feet wet with the API. It says it can allocate four slots of data for each user, but I'unno. Sounds kind of limited.
 
6:19 PM
I guess I'll have to dig into the source code for social-auth
Sounds like you might be right, Alex. I don't think it is meant for sharing files.
 
@Code Thanks dude. Google Drive SDK seems to provide specific support for file sharing between many users.
 
 
adding insult to injury
0
Q: Android Virtual Devise not working

user3342127I'm new to Android software development. to install the virtrual devise on Eclipse, I followed the steps as mentioned on http://developer.android.com/ but when I launch it, it starts loading and stops there! ! it just shows me the word "android" glinting. So what should I do to make it work? AV...

 
6:41 PM
lol reno
 
halo!
 
hey
 
hey people - quick question
we use ListView and supplemental adapter when we have typical items of unknown amount and placed vertically.
What if I need the same, but items placed it a table, say 5*3 cells. And still willing to use adapter of some kind and not willing to know what row or column the item is - just usual `position`.
What should I use?
I'm lost between TableLayout, GridView, GridLayout
and what adapter is ok to add for it?
 
00:00 - 19:0019:00 - 00:00

« first day (1359 days earlier)      last day (3604 days later) »