« first day (1383 days earlier)      last day (3550 days later) » 
00:00 - 18:0018:00 - 00:00

user457812
 
user457812
Snapped a screenshot of my exploded app shortly before doing so crashed Xcode.
 
user457812
The obvious buffer overflow at the top of the list might have been one of the reasons it crashed.
 
cool
 
 
2 hours later…
2:18 AM
Hi, Android!
 
@PearsonArtPhoto I see you!
 
annnndddd gone
 
2:32 AM
aww
 
 
1 hour later…
user457812
3:41 AM
Cat is trying to discern the source of the popcorn smell in my room.
 
user457812
Apparently just gave up and decided to burrow into my sleeping bag.
 
4:26 AM
@Ahmad?
 
4:45 AM
@emmanuel o/
'sup?
brb
 
morning
 
5:03 AM
morning
 
5:26 AM
good morning
 
5:56 AM
wat.
 
user457812
6:49 AM
 
user457812
I'm good at making lots of commits in a small amount of time because I didn't commit anything as I was going.
 
7:05 AM
0.o
did you add via patchmode & commit a whole bunch of code?
 
user457812
Yes.
 
user457812
The way I normally compose commits in git: `git add --patch` and `git commit --verbose` ⇒ http://twitter.com/nilium/status/485595404679933953/photo/1
 
@Ahmad I sent Game about Squares to my daughter before I left work yesterday, she spent the whole night playing it finally came out around 10pm and said she hated me for sending it to her :)
 
user457812
Basically that, ~38 times
 
7:27 AM
@DaImTo hahah :D my evil plan has added up.
 
:)
why is it my questions on stack never get answers. ;/
 
which one?
post it here, maybe someone can help
 
Its C# visual studio
wrong channel I think :)
 
oh lol
yeah then maybe it's hard to get an answer to that here hehe
 
I am learning android at home on my own time I am spying here hoping to learn something :)
 
7:34 AM
:D
but you're a C# dev by day?
 
yup
 
cool
 
business intelligence stuff
I have gotten into android due to Google Glass and my Lg watch. Im used to being able to wright little programs to make my life easer on my PC. I have ideas for android to but don't have the android knowledge to be able to code them. Yet.
 
user457812
Reminds me, since I don't know if I mentioned it, I should be hearing more about the job I applied for by the end of the week.
 
whats the job?
 
user457812
7:37 AM
Junior iOS dev.
 
ooh cool DalmTo
 
Oh that sounds nice.
 
so you're a data scientist right?
or am I confusing things?
 
user457812
It's good for me. I get to work on stuff I'm sort of familiar with and I get to continue living in my hometown since they decided to start their business here rather than Silicon Valley (where it'd be near impossible)
 
I get paid to dig around in other peoples data yup.
 
7:39 AM
nil what happened to the android position you applied to?
 
user457812
Where?
 
I didn't manage to get down to Silicon Valley I would have loved to see it.
 
Wasn't there one? hmm can't remember
gtg, later people
 
user457812
I applied at Cyanogen but they turned me down
 
user457812
Applied at Google but told them that, frankly, I probably wouldn't pass an interview because of my lack of a formal CS background
 
user457812
7:41 AM
Had a few other people who contacted me about Android stuff but they're always senior positions and nobody will hire me for those
 
user457812
I also get a lot of offers for senior iOS dev positions and I really don't know how that happens
 
I thought Google doesn't give a shit bout CS backgrounds.
 
I feel bad for you guys, when I got out of collage there where so few computer programmers that it was easy to get a job. Add on the fact that I'm a woman and I didn't have any problem. You guys have it hard
 
user457812
@LawGimenez They don't care if you have a degree, but they care if you have the knowledge you'd get from one.
 
user457812
Which I think is fair enough.
 
user457812
7:44 AM
Not really hard, just that it's always something you have to relocate for and everyone wants a PhD with 10 years of experience
 
user457812
The other problem is that folks like me who grew up making stuff they wanted to make get it sort of rough because the reality is that whatever job you get, it's probably not going to be exactly what you'd want to do on your own.
 
A job rarely is what you want to do on your own time.
 
user457812
The other downside to that is that you end up putting yourself in a corner.
 
that's kinda why they call it a job, and not paid fun time :)
 
user457812
So, most of my experience is in C++ and graphics programming and so on, and unless you're a game developer, that's probably not up your alley.
 
user457812
7:46 AM
Meaning the mass quantities of jobs with DB experience required and web dev stuff and all that just do not fit.
 
I spent a year once working on a system for the garbage men in the area, coded in Visual Basic 6, for a woman who was a #¤%&% all she let me do for a year was code message boxes and fix bugs. I had 15 years experience at the time. Felt like a waste of a year but I got paid to do nothing.
 
user457812
I can get by doing just about anything if I can find a way to make it interesting, but web dev's never once seemed that way.
 
user457812
I could even make dialog boxes interesting by spending my spare time building a little DSL for dialog boxes.
 
web devs are under paid iMO. I did php web dev for 5 years before moving over to Desktop development
 
user457812
I think most developers are overpaid.
 
7:49 AM
come to Denmark.
that's not the case here
 
user457812
I'm referring mostly to the insanity of Silicon Valley, though.
 
I don't even want to know what they make.
the thing is I think Google hires only the best of the best the specialist's in there field people with a desire to do their best. You have to pay big bucks to get people like that.
 
user457812
It varies pretty widely
 
user457812
I could see startups actually making their employees take a loss if they convinced them to
 
user457812
Others might have 80-90k USD as entry-level
 
user457812
7:57 AM
And most of the problem is that they have to pay a lot because the rent and cost of living has increased because people realized, hey, these people make a lot of money, we can increase the cost of the things they pay for (i.e., rent, goods, etc.)
 
should let people work from home more doesn't matter where they live then, fly them in for meetings now and then.
 
user457812
That'd be ideal, though it might make communication harder for some people
 
user457812
If it were me, I'd set up a company IRC server.
 
user457812
Tell people to be on there while working.
 
user457812
Requires discipline on the part of the people working at home though
 
8:06 AM
Morning
 
user457812
'Lo.
 
How many years of experience to be called a Senior dev anyway? 5?
 
8:27 AM
the number is not important
you can write for-loop for 5 years
and still be a junior
 
But, I'm talking about from an HR's perspective.
 
I have 20 years experience never been senior. Not that I would really want to be then I would actually have to know what I was taking about instead of acting like I know what i'm talking about.
 
Oh. Job postings confuses me up to this day. Looking for Senior, 1-4 years. I don't think that range is Senior enough.
 
you can apply nevertheless. In the worst case they will say you no
 
i think it means that they have worked as a senior for 1 -4 years not someone with 1-4 years exprenice
 
user457812
8:37 AM
shrug
 
user457812
Whatever the case, job descriptions are typically bad.
 
it never hurts to apply the worst they can do is say no.
 
user457812
It's really genuinely amazing how bad they are and how bad they continue to be
 
user457812
I like how a job description could say "Must have been an Objective-C developer for 30 years" and this requirement is not technically impossible to meet.
 
user457812
Obj-C being 31 years old now.
 
8:39 AM
god can you imagine working with the same language for 30 years?
 
user457812
Well, considering C's still doing quite well and C++ is doing better than ever, yep
 
user457812
Now that's not to say you used only one language for 30 years
 
user457812
I try to find at least one new programming language to fiddle with every year just because it's neat to see what people are trying.
 
the thing is there is always something new.
 
user457812
Which is why it's an easy thing to do.
 
user457812
8:43 AM
The hard part was when I started trying to learn functional programming
 
I miss fiddling with Python.
It shouldn't be the case if the code wasn't that BAD!
 
Its taken me ages to wrap my head around Android, I have never had such a hard time learning a language.
 
user457812
Not having mutable state drove me crazy because I couldn't figure out how you'd do it
 
user457812
s/Android/Java/
 
user457812
Incidentally, sed is a terrible tool and I can't figure why anyone would use it over awk.
 
8:45 AM
I would really like to kick visual studio right now if your intesrted.
 
8:58 AM
Gotta go. Later! =)
 
-3
Q: whats the '?' in code

user3793387can someone explain these code? why does it have ? in there? package course.examples.theanswer; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class TheAnswer extends Activity { public static final int[] answers = { 42, -10, 0, 100, 1000 }; publi...

 
user457812
I haven't used Visual Studio for more than maybe 30 minutes in the past couple years
 
user457812
Mac user and all that, so going to Visual Studio now would be painful
 
user457812
Especially since their C++11 support is bad
 
low quality questions
low quality answers
0
Q: Android : Json parse error

MatthewI'm trying to get data from json url But i got an error. Here's My Json [{"id":"1","contest_name":"BOB","url":"http:\/\/campaign.apps.com\/bob","start_date":"2014-07-01","end_date":"2014-08-31"}] Here's my Code // Creating new JSON Parser JSONParser jParser = new JSONParser(); /...

 
user457812
9:02 AM
I never get my answers done before someone shoves theirs out the door because I spend a lot of time editing mine.
 
you should answer anyway
 
user457812
Could, but it's pretty demotivating and I'd rather spend time working on code.
 
user457812
Or my typically absurdly long blog posts
 
lol
OK. Will modify my answer accordingly. Please remove downvote.
learn2crack is blocked. Can you post code here?
what's going on?
 
user457812
I don't know but I think I'll go to sleep
 
9:08 AM
sleep tight
 
> learn2crack
wat.
 
Ahmad, it is the Json question I just linked,
 
yeah I saw that
 
Here's the code from learn2crack
Can u edit ur question and paste that jsonparser.java code?
 
user457812
Also: 69 day streak on GitHub.
 
user457812
9:16 AM
Go me.
 
lol bb
69? o.0
my highest was 9 :[
 
 
1 hour later…
10:29 AM
how do I store stuff in an SQLite database when the size might change? I.e 4 strings today might be 6 tomorrow. Trying to do it without harcoding it like arraylist.get(1).getString(); then arrayList.get(2).getString;
 
I guess in the same column ?
you can either save a json format, or use a blob
 
save your string in a column, add a new row for each string,
 
so if there are 4 strings, I need to insert it onto a new row 4 times, can that be done via a for loop or something?
 
vogella.com/tutorials/AndroidSQLite/article.html I followed that tutorial last week worked well.
Although your going to have to consider what your doing with your strings, should you be updateing them or deleteing them and adding new ones
 
Don't know why I'm getting so confused by this
 
10:43 AM
because its databases, sounds like you don't have much experience with it.
 
10:56 AM
@AdamS Ahh. I messed up database updating. Uninstalling and reinstalling it should fix it
Or even just a clear data
 
i don't have much experiance with databases and multiple data of the same type yeah, most of the database stuff I've done is all, inserting stuff one at a time
instead of inserting an array or whatever
any I think I might have it
 
 
2 hours later…
12:39 PM
@RaghavSood SHIT RAGHAV. I expected better of you!
 
12:50 PM
how somebody can judge an answer if he has no experience on that field
 
Good morning
he shouldn't
 
hi cM
 
Hi
Someone didn't like one of your answers, I take it?
 
it was put in the low quality queue
just because I didn't throw in it a bunch of code, but I simply said it's achievable with a Spannable
 
 
1:05 PM
Hmm...depending on the question I guess that is still an answer
But you know that one-liners aren't usually greeted very well.
 
1:17 PM
I agree, but I no one of the android tag complained - just users from other tags. On the other hand, the accepted answer was just a copy post from another answer
I always open to criticism
 
Well, answers get automatically flagged when they are short. So it probably wasn't any user who flagged it
 
really ? are you sure?
 
they could judge an answer if they have experience on the site itself, but not the particular field
 
I am sure
 
there are things across the board that make answers good.
 
1:22 PM
I am always sure
On a side note, I just deleted about 20 "answers"
Well, voted on them anyway
 
Hey
 
hi TGM
 
cm, its not like that afaik
 
I'm pretty sure it is. However, I have been wrong once or twice in the past so I will search
Actually, in the queue itself I believe some of them say, "Automatically flagged because of it's length"
Or something similar
 
No post go in the queue until & unless anyone flagged it.
 
1:29 PM
8
Q: What are the criteria for low-quality posts?

Alexander Tobias HeinrichOnly recently I earned the privilege to review Low-Quality Posts. I am now wondering how the system determines if a post is (possibly) low-quality or not. The review header always displays the same message: This answer was flagged as low-quality because of its length and content. This reads...

 
braoth share your knowledge with us, pleaes
 
According to that, all were in the beginning. Though it's a bit unclear about now.
 
Hmm
 
I asked in the Tavern and linked the convo. I hope that was ok...I've never really talked in there
@Sam Welcome
 
Sam
@codeMagic Thanks. That's fine.
 
1:36 PM
OH, unihedron left
 
Sam
Did he get access?
From what I know, only messages that match the current spam criteria get auto-flagged. I never knew it could get flagged based on it's length as well.
 
@Unihedron welcome. The rules are up there --> ^
 
Thanks!
 
@UmerKiani Welcome. Please read the room rules
 
1:52 PM
brb
 
2:16 PM
what does big nerd ranch (BNR) mean?
 
oh thanks, one of users wrote BNR on his question, and I was unsure about its meaning
thanks broath you know all
 
Ah, I wouldn't have know just by seeing 'BNR'
And you are quite wise for noticing that, bro
 
we are a wonderful and meaningful couple, broht
 
:D
 
2:21 PM
:P
 
The amount of variations of that word you come up with is astounding
 
it just a binomial coefficient
In mathematics, binomial coefficients are a family of positive integers that occur as coefficients in the binomial theorem. They are indexed by two nonnegative integers; the binomial coefficient indexed by n and k is usually written . It is the coefficient of the x k term in the polynomial expansion of the binomial power (1 + x) n. Under suitable circumstances the value of the coefficient is given by the expression . Arranging binomial coefficients into rows for successive values of n, and in which k ranges from 0 to n, gives a triangular array called Pascal's triangle. This family of numbers also...
 
Right, but the word is actually only 3 letters but you some how have it up to 6
:D
 
ahhah
 
Sam
2:37 PM
@codeMagic Sorry, was afk. Thanks, read the rules. Thier quite similar to ours actually.
 
Especially the xkcd part. ;)
 
Sam
Huh, I didn't see anything about XKCD...
 
... Whatever. (looks away)
 
No worries, I knew you guys wouldn't have a problem with them
 
Oh! I'm allowed to post pictures of my app! (glees delightfully)
 
2:42 PM
morning
 
Good morning!
 
Sam
Morning! (Although it's 4 pm where I am...)
 
good morning
 
(And it's 23:43 where I am.)
 
morning
 
2:46 PM
stop it! you all are reminding me the pains of dealing with dates and timezones
 
Ah, sorry. How about a cup of coffee instead?
 
lol, too much caffeine is bad for me
one cup and I'm set for the day
 
when you say bad, do you mean you go crazy?
 
\o
 
Sam
2:51 PM
No, he gets a CaffeineOverflowException.
5
 
yup haha
 
3:05 PM
Heya Everyone :D
 
Hey @TheLittleNaruto!
 
Unihedron!
 
Naru! I might have seen your name from a question somewhere.
 
You must have seen as I am popular . hehe
I am about to complete this current project. Though a complete testing is remaining!
 
Good luck!!
 
3:11 PM
Thanks :D
 
I love caffeine
 
true that
 
Sam
@TheLittleNaruto Hi
 
Hey Sam!
 
@TheLittleNaruto Hi man
 
3:17 PM
the project I am working on is already on play store, which was developed on Phonegap and having very bad feedback. So a re-development is happening here in Android and iOS separately.
Hey TGM
 
3:34 PM
 
lolol (facepalm)
 
lol this one's good
 
4:03 PM
lol
 
4:14 PM
bro, that's for you
0
Q: outputStream is null, android using Http POST

IvanMatalaIm trying to upload a pdf file from my android towards my webserver Here is my android code public static void httpsend() { HttpURLConnection connection = null; DataOutputStream outputStream = null; DataInputStream inputStream = null; String pathToOurFile = E...

 
:D
hammered!
 
you are a bad boy
 
Apparently you were scared to lay down the law on that one
 
I did actually
an user asked for the logcat
 
yes sir how do we fix it? — IvanMatala 6 mins ago
by googling.
 
4:21 PM
please don't call me sir. It does make Jesus cry
 
Yes sir. I mean... (runs away)
 
@Ahmad lmao
 
:D
 
This is really what that little box should say
 
@blackbelt I meant to use your hammer
This is classic...
> how can I capture the logcat? Its so fast it disappears real quick all those red texts
 
4:28 PM
i want red text messages
 
but they are so fast
 
i bet they stole that idea from Ferrari, savages
 
Just feed them alot of cake, then they will get fat and be slower
 
@SanjayKumar Welcome. Please read the room rules
 
my hammer broke in the low-quality queue, cM
 
4:30 PM
i wish i knew what I was doing when resizing images for different densities
I just keep the aspect ratio of the original and scale it down
 
Haha, bb!
 
:D
 
Sam
sup
 
Hey @Carl
 
4:42 PM
this working from home/shuttling the kids around thing is getting old
 
Carl!
 
I'm not getting much of anything done, and I'm super tired.
 
I was curious how that was working out for ya. Just this week, right?
 
theoretically, yeah
they have the same bike camp next week
but there's no way I'm doing this another week
so we'll have to figure something else out
kids are freakin tough
 
Magic, I want to know, how much you must earn for living in NY ?
 
4:48 PM
I don't live in NY but probably a lot. I know apartments are expensive
That also depends on if you mean New York City or just somewhere in the state
 
Yes in the City.
Suppose if someone is earning something around 4974.300 US Dollar per month. Is it fine ? Can he save money too ?
 
and to live in diagons halley ?
 
5 grand per month = $60k per year. That's not enough for NYC.
 
Without researching the matter, I would say you probably could. Especially if you use public transportation which a lot of people there do
 
Anybody from India here?
 
4:52 PM
No, Carl?
 
no. Just here in Seattle my monthly mortgage is $2k per month
would probably be $3k in NYC
 
mine is cheaper but with HoA and utilities its around 2k
 
For 1/8 the space :P
 
Right, but you have a house with a family. I guess that makes a difference but I don't know if he does
 
I dont have family, I'll be all alone. :D
My parents live in the native city only, they wont leave the place
 
4:55 PM
I was making $60k in small-town Illinois almost 10 years ago.
 
What does "the native city" mean? You mean where you live now?
 
$60k in NYC ten years later? Well.. someone's getting their money's worth
 
No, I mean the birth place.
 
$5k gross ?
 
My birth place or theirs?
 
4:56 PM
@SanjayKumar Yes.
Theirs! Magic.
 
Lol, that was just a little bit of fun
I guess I was wrong, Naruto (good thing it's the end of the month) you better get a raise
Or you can move to Indiana instead. That will definitely get you by in that shithole
 
The thing is, My company sent a guy from India branch to NYC branch and they are paying him around 5k USD. If I'll work well, then my chances are good. That is why I was curious.
 
Sometimes they pay for relocation. You might check that out
 
Directly, It's hard to get working VISA for USA or Europe.
It's good if the company you're working in, will send you.
@codeMagic Yes, it's a lot than what they pay in here.
If you'll convert it into Indian currency, It'll be like INR 300,000.
 
@TheLittleNaruto ssup ?
office ?
 
5:02 PM
Yep :D Itachi
 
@TheLittleNaruto planning for NYC ? :O
 
housing in Boston sucks
 
Housing here in Hong Kong sucks.
 
1800/month buys a rundown crap apartment
 
@Unihedron from hongkong ?
 
5:03 PM
there's so many college students that I'm competing against who don't mind doubling up or living in a shithole
 
@trevor-e i hate my life here
 
where are you?
 
@ItachiUchiha Not sure. Right now. check this
 
Rental is expensive as no tomorrow, and an average apartment is smaller than a US courtyard. (rudeness reduced)
 
@trevor-e from bangalore
 
5:09 PM
I'm paying $650/mo to rent a house with a basement but that's hard to find even around here.
But only about 800 sq ft
 
~3500hkd/mo for a 60-100 sqft room around here, if you're lucky.
 
I'm very picky about housing which is probably why I'm having such a hard time finding a new place haha
 
I agree. It's hard getting used to a new living place.
 
I just don't want a place like the one I had during college.... shudders
 
@trevor-e @Unihedron I want to move out of my country :'(
 
5:12 PM
I want my own dimension ;(
 
i want my 4th dimension :P
 
bugs.eclipse.org/bugs/show_bug.cgi?id=427148 <-- so apparently I can't update my windows Eclipse version :-P
 
Solution: Change to Android Studio
 
Android Studio is based on IntelliJ Idea (most probably betta than eclipse)
 
5:20 PM
I'm using Eclipse. Thinking of switching to IntelliJ though.
 
U should
 
so then I can deal with this?
3
Q: Everything is breaking in Android Studio 0.8.1

JMRboostiesI just updated Android Studio from 0.6.1 to 0.8.1 None of my code changed, but the new update breaks everything. It seems like the entire Android SDK is not loading properly. A given class ends up looking like this: The project is question still uses the old ANT compilation system, but I have...

no thanks, am holding off on AS for now
 
^ False ^
 
Laugh out loud zebras :)
 
At least for me, everything is fine
 
5:21 PM
for 0.8 it's best to just do a clean installation. haven't heard of anyone else having that issue
 
I like eclipse, as i have never tried IntelliJ Idea and I am too lazy to learn new shortcuts :P
 
you can keep eclipse shortcuts
although it's better to learn the new ones
 
My 0.6 AS refused to even acknowledge the 0.8 update, I just had to reinstall. That was my only problem.
 
5:32 PM
yea .6 to .8 requires a new install
@CarlAnderson if you can download .6 i'd recommend it
 
5:47 PM
lol
 
.8 is leagues better than .6
 
What's wrong with setAlpha() ? Why my imageview keep taking the deprecated one instead of one which added in API Level 11. ?
 
@trevor-e i wish i could use it
 
have you tried the latest 0.8.4 at all?
and installing to a completely clean location instead of upgrading?
the new project structure in 0.8.4 is sooooo awesome
 
yea, same issues
 
00:00 - 18:0018:00 - 00:00

« first day (1383 days earlier)      last day (3550 days later) »