« first day (1377 days earlier)      last day (3576 days later) » 

5:02 PM
my GsonBuilder is not converting dates :(
from string to object
 
5:14 PM
wow
buncha jerks there
 
that sucks
@Guilherme do you have the date format set correctly?
 
so this guy buys a domain and think he has the right on a trademark?
Mr, I guess I do
because I convert my Obj to JSON, and the date is there on the string
but when I try to convert the string back to an Obj, the date is null
the GsonBuilders are set with the same pattern
 
does the Obj have the same pattern? print the JSON to console to find out
 
yes!
Object -> Json -> Object
all the properties are set properly, except for dates
even custom objects are ok
 
yay!
 
5:26 PM
finally hit over 1k rep!
 
k.
 
now you can see vote counts
 
hi Emm!
vote counts on what?
oh like total up/down votes
 
oh cool carl! :)
 
5:29 PM
Congratulations, Mr. Anderson!
 
just a few thousand more and you'll beat Jon Skeet!
 
o/
 
\o
 
And \o
Lol
Going to lunch
 
lol
later
 
5:32 PM
who is Jon Skeet?
 
Jon Skeet, Reading, United Kingdom
694k 288 4475 5858
 
he looks like a professor
how can a professor have so much spare time to waste on the Internet?
2
 
most of the people with highest score are professors here :P
 
I have no idea where he gets that time
he works at google
 
ahmad already mentioned that
 
5:35 PM
but that picture is soooo Univ. Professor-ish
blue background
indirect look
pink shirt
 
maybe he has interns on SO duty
 
interns that post on his behalf?
and he takes all credits? again, sounds soooooo professor-ish
 
its semi-probable
 
He has a long tail of posts. He could make 1 post a week for the rest of his life and probably continue to stay in the top 10.
 
yeah he probably just hits the daily rep cap with up votes on old posts
 
5:39 PM
he could donate rep points to stupid questions :(
 
probably gets his students to create accounts just to upvote his answers
 
plus he was one of the earliest adopters
so he answered the most basic stuff
that to this day a lot of beginners look at
 
@MrEngineer13 lol
 
we need to purge those basic questions and allow them to be re-asked and re-answered then
 
no no no, that's @codeMagic's tactic, MrEngineer, he hired a company in india that does that
 
5:41 PM
india? why india? that is prejudice!
 
Well, I hired them as a call center but they also do my bidding on SO
Because they are cheaper
 
everyone knows that chinese work harder
 
he could just go on Fiverr and get upvotes like that
 
no, the japanese work the hardest
 
but japanese are too few
 
5:42 PM
TIL Fiverr
that's really a thing?
lol
 
Fiverr makes sense because a professor would have 3.47M lying around
 
and I'll stop here before this failure of a terrible joke attempt grows into a stupid discussion
 
Yes it's real
 
yeah just downloading the app
 
how do you think I get my code?
I don't even know how to program...
 
5:43 PM
hahah
 
Guys, I lost my "work at home" mouse so please look through your things. Thanks
 
:O
 
o.o
lol
 
nice mosue
in exactly 5 hours today I've received 6 phone calls from unknown numbers that ring twice or thrice then stops
someone's pinging my phone to check if I answer
 
5:46 PM
haha,,,thanks, Mr. I've been looking all over for that guy. Now I can get back to work while using him to debug (much cuter than the duck)
 
they just want to see if you're still alive Guilherme
someone obviously cares
or stalks
or both.
 
but who?
I don't have unpaid bills
I don't owe any money
 
hehe
 
who's checking me out?
 
maybe recruiters?
 
5:49 PM
nah, they just spam my email
 
the NSA?
 
NSA doesn't need to call me to track me
 
Interesting. People are offering logo designs on fiverr for, well, five dollars.
They don't even look bad
 
then they complain that they can't make a living with their job
 
true
 
5:54 PM
watch out though
google image search them first
because they're usually stolen
 
oh yeah
that's probably tempting to do
 
FINAL-FU**ING-LY! I got this working :D
 
Java 102 x 1 Guilherme
One of the most annoying things on Android is having to make 5 types of an image, and I never know what size they should be
 
We have a tool that takes one image and makes a version for each dpi
 
6:02 PM
Has any good soul already made an application/script that resizes a large image into their smaller versions?
what tool? :D
 
Must be a python's tool
 
is there anything you can't do with python?
 
Yes, Many things
 
like?
 
yay Guilherme!
 
6:03 PM
@Guilherme I can make a tool using JAI
 
you can use Android Studio to autoresize images too
 
as far as I'm concerned, you can import coffeemaker and make coffee
 
lolz
 
you can import anti_gravity and fly
 
how MrEngineer?
 
6:04 PM
 
classic xkcd strip
(i posted before the image loaded)
 
right click drawable folder, new, image asset
 
Hmm interesting. The github API is a bit weird.
GET api.github.com/users will return a random list of users
lol?
 
image not found :(
 
is this intended?
 
6:06 PM
there must be some filter to get specific users
 
@TheLittleNaruto lolz, for the first time I can and you can't :P
 
hahaha , Now we'll exchange our words ;)
 
okay scratch that, isn't so random after all
just looked like it because the list was so long
it actually returns the users with the id 1-135
still a weird design choice though
 
Great!
 
with id 1 being assigned to a person with the handle "mojombo"
 
6:10 PM
At least you found its not random
 
as it seems, a former github employee
according to his blog he just left github a few months ago
it's a bit strange because he doesn't look like a co founder or something
why give him the id 1?
ups ups ups, he is the founder of github.
maybe I should have looked it up first
 
lol
he's one of the three
and he's the douchebag one
 
oh is he the one?
the one with the harassment thingy?
 
6:13 PM
I don't actually know, just thought that was a good one
 
it all makes sense now.
I remember the huge shitstorm a while back
 
@ItachiUchiha Now I can feel the same thing through what you suffered already :(
 
April 2014... so long ago :D
 
(Image not found)
 
6:16 PM
@MrEngineer13 thanks a lot!
 
@TheLittleNaruto lolz
 
Hello
 
PingOverflow
Plz use pings sparsely. k. thnx.
 
Can't set my timepicker
makes me crazy
this code is int onCreate of the activity that holds timepicker
 
Carl, April 2014 does feel like it was an eternity ago.
 
6:18 PM
April? haven't heard of it in ages..
 
there was an april this year? didn't we skip it this time?
 
dunno... someone said on April 1st the we were having April this year... but you know, April Fools..
 
lol
 
It seemed like April here for about 2 or 3 months. Summer didn't get the memo that it was suppose to start
 
summer is weird here.
 
6:24 PM
summer starts in December...
 
it was awesome the last few days
but of course today it had to rain like hell
wanted to go rowing today :(
oh well. some other day it is then.
this sounds so illogical to my mind
"summer starts in December"
 
just as much as "summer starts in June" sounds to me :P
 
but still
your winter is like our summer
isn't it like 20°C in brazil atm?
 
23 where I am
it gets much colder at night
 
wtf o.O
 
6:28 PM
like 15, 12
 
and it's winter?
wow
 
well... it says 23, I don't believe it
feels like 19
 
@Guilherme anytime, I was so excited when I found that
 
when I went to live in the US, I met a lot of Brazilians from other states
one of them lived in Pará (in the Equator line), and he told us that he had never been below 20°C before
 
6:31 PM
so when it was like 15°C he was already freezing
 
freezing?!
 
now imagine when it got down to -15°C
 
lol!
 
it was really cold in Illinois
 
-15C is nothing. My grandparents live in upper Michigan, the last time we went to visit them, in winter, it got down to -28C
 
6:33 PM
damn. that's really cold.
 
i read that last winter in Champaign, IL (were I lived), it got down to -25°C, with sensation of -50°C
 
we had like ~ -11°C max last winter
 
oh you were at UIUC?
 
I was
 
that's where I got my degree
lived there for 10 years before moving to Seattle
 
6:34 PM
10 years? how could you stand that long?
 
4 years at school, 6 years employed
 
the city is good, as long as you're a student...
but after that...
it was so empty... really dead on the summer
 
doesn't feel that way if you're not on campus, and if you haven't lived in a large city
 
I agree with the "Large city" part
I just happened to live 75% of my life in the largest city here
what did you study there?
 
user457812
THANK GOD THE POWER'S BACK
 
user457812
6:45 PM
Well, thank technicians, anyway.
 
/o/
 
@DestinyDawn You don't have much SO activity but what you have seems good...I'm going to roll the dice on you. Welcome, please read and follow the room rules
 
was the storm so bad?
I mean that's a pretty long time your power has been out
 
user457812
It was a pretty bad storm.
 
I'm interested to see what real winter is like.
 
user457812
6:51 PM
Real winter sucks.
 
I'm used to "summer starts in December" too Guilherme.
I'm also used to having p.much the whole of January off so that's gonna suck :|
 
Now you're in Canada. You'll eventually find out.
:D
 
a real winter is like food and bed
 
A real winter is a hardcore programming winter
I have noticed that I'm more productive during the winter because it's usually already dark around 6 pm
and I like working in the dark
 
can't you just turn off the lights and close the windows?
so you can be productive 100% of day
 
6:54 PM
But that'd be lying
 
lol
 
LOL
 
I try understand many days. But my thinks about this are equals null! Don't understand how it's can happen. And I decided post this video and wait for are developers with experience explain me, what it is ? — billy gates Apr 29 at 21:28
I love that question
 
need to delete that question :p
crap
 
yes, it's a terrible question
> my thinks about this are equals null!
is comedy gold though
 
7:02 PM
don't mock him, don't you know who that is? billy gates!
 
haha
 
I would pay money to see a video of Bill Gates reading the text posted by that user
I wonder if there's enough footage of him to do it Brian Williams raps style
 
hahah
you mean like this one?
I love this.
 
Hi, Android!
 
o/
 
7:05 PM
@Ahmad You use GAE for backend stuff, right?
 
yeah
Well, I switched around quite a lot
 
switched between what?
and where do you host your server-side?
do you host it on your own machine?
 
going back and forth between appfog, redhat's openshift and gae
I host/hosted it on either of these platforms
 
they each have hosting services to go with the API?
 
7:08 PM
which API?
I did however have, for some time, a raspberry pi running an apache server that served me as a test server.
 
user457812
I still find it really weird when I see GitHub users who have almost no personal repositories or public commits
 
user457812
Need to stop convincing myself that open sourcing personal projects is the norm
 
I'm thinking about using GAE to host and serve a centralized baseball card database.
 
I don't have any personal repositories yet
put I plan to
I do however have public commits
188 total this year, this isn't bad right?
 
7:10 PM
probably with a web front-end as well
 
I have one repo only
 
user457812
Also, I apparently have 102 repositories
 
@Ahmad one of which is to my BBCT ;-)
 
user457812
Bearing in mind that I deleted a lot of repos last years
 
I used GitHub mostly to fork other projects, report issues, etc
 
7:10 PM
hehe true
Code-Apprentice: sounds good
plus, the free quota should get you covered, since it includes like 100k db write and reads per day or something
 
if I have an activity where I have a Button, and I create a new OnClickListener to that button, and then I want to finish() my activity in that listener, how do I call finish()?
I can't call this.finish() because this is the listener, not the activity
 
just finish()?
TIL curl -L, can come in handy.
 
@Guilherme MyActivity.this.finish(); or just finish()
 
I'm trying that, hold on
this device is so slow :/
 
7:33 PM
Thank you for accepting me!
Sorry I left before, my Macbook Died.
 
Ahmad, Code-Apprentice, just the finish() worked :)
 
posted on July 24, 2014 by Tor Norbye

We've just released Android Studio 0.8.4 to the canary channel. In addition to a number of bug fixes, this version contains the new Android project view which offers a flattened and reorganized view of the Gradle project structure. It is not yet the default view, so to enable it, right click on the Project and choose "Android" from the list of views; it's at the bottom of the menu shown in the

 
Does anyone know where the system icons are for the Android SDK? I looked under the System-images directory but I can't find it
Never mind, I found them
My mistake
 
Yay for "Android project view"
 
7:39 PM
So. Anyone got any idea how we're supposed to charge tax to US customers as a Canadian company?
 
@AdamS I don't know if that's really possible. You'd have to file it with Google
 
What
 
o/
 
dling the update now!
 
Any thoughts on this:
 
7:41 PM
@AdamS Sorry, I misunderstood that completely.
 
0
Q: Dragging rotated text inside android canvas does not work as expected

AlinThere is something I am missing inhere so I hope you can share some light on me. I am drawing some text inside canvas. For this I have a class Word public class Word { private int x; private int y; private String text; } The app allows the user to rotate the text, and I h...

 
We're not selling an app, we're selling a SaaS service :P
 
@AdamS Ah, okay
 
Alin, did you try to multiply xMovement and yMovement by cosine and sine of the angle?
 
@Guilherme please add an answer to the question
I have not tried anything :) Geometry is not my strongest point
 
7:47 PM
is there any variable where you store the angle?
 
yes
the angle is stored in a class wrapper that holds an array list of words
 
In a LinearLayout, is it possible to do a right layout align?
To the parent
 
gravity=right?
 
I thought so
 
7:50 PM
eclipse scrolling has never been faster :)
 
android:layout_gravity="right" didn't work sadly
 
@DestinyDawn try android:gravity
 
It didn't work, normally I thought the gravity would only affect the objects within the container?

Ok. I just realized I worded that terribly wrong, I'm sorry.
Let me explain.
I have a LinearLayout, and within that layout, I have an ImageButton. I'd like the ImageButton to be aligned to the right of the LinearLayout
 
Can you pastebin your layout?
 
@Alin try this pastebin.com/q800SnU3
I can't guarantee for sure
 
7:55 PM
@DestinyDawn if it's a horizontal layout then layout_gravity="right" won't do anything
 
@codeMagic I didn't set the orientation stupidly
 
make sure your angles are in the appropriate unit (which I don't know if is radians or degrees, check Math reference)
 
It's not stupid. It is horizontal by default
I don't usually set it unless I want vertical
 
Here is my xml: pastie.org/9418340
 
So, no you can't right align it in that case with a property. You need a RelativeLayout or have other Views that push it to the right
You can use an empty View to take up enough space to push it to the right if you need to use LinearLayout
 
7:57 PM
This might make more sense as to why I'm using that type of layout: http://pastie.org/9418343

I'm new to android. I'm used to iOS
 
@Guilherme Thanks a lot, let me test it
 
You shouldn't need that LL. Remove it and use layout_alignBelow="@id/postsView and layout_alignParentRight="true" and that should give you about what you want
 

« first day (1377 days earlier)      last day (3576 days later) »