« first day (1286 days earlier)      last day (3654 days later) » 
00:00 - 21:0021:00 - 00:00

9:00 PM
What is it with ppl and NPEs?
 
YetAnotherNullPointerExceptionQuestion
YANPEQ
 
Answered it.
The first one
What's shocking is that the user has 1.2k rep and is not able to debug a simple NPE.
 
they have a 202 to 5 Question to Answer ratio
how is it not surprising they have 1.2k rep?
 
Oh I didn't see the q:a ratio. It's just that sometimes I assume that if you have more than 1k rep you're out of the beginner league
 
user457812
How the hell do you have 202 questions and only 1.2k rep?
 
9:05 PM
and know some of the stuff that is required to debug simple things
 
user457812
I have only 60 answers and 2.6k rep or so.
 
Must have been bad questions then
Makes things even worse
 
user457812
It's raining outside and I keep hearing the rain beat against a window in another room and thinking it's a hard drive making noise
 
user457812
It's driving me insane ಠ_ಠ
 
How can rain sound like a hard drive?
 
user457812
9:07 PM
You know the thunk-thunk-thunk-thunk sound hard drives make?
 
Ah I see
 
user457812
It's like there's a ghost hard drive thunk-ing in my closet ewwwwwwwwwwwwwwwwwww
 
As a former computer repair technician, i find that sound comforting.
 
user457812
I only find old modem handshake sounds comforting.
 
That just gets me excited.
 
user457812
9:10 PM
When I figured out what the handshake was actually doing (long after I stopped using dial-up), it was even cooler to me
 
There was a diagram on reddit a few months ago. It was pretty cool.
 
0
Q: How to test Java JAR in Android?

Arjun PatelI have Java JAR with JUnit4 tests, which is being used by an Android application. I have received request to test the JAR within Android. Is it possible ? As Android has there own test runners with JUnit3. Do I have to use what is supported by Android ? Or Is it possible to execute JUnit4 tests i...

Hmm...can you install a JUnit4 file with your test package and run it on a device or emu?
 
no idea
 
don't think so
not sure why you would care about testing a java jar in android though
 
user457812
Android + tests == maniacal laughter turning into sobs as you curl up into a ball
 
9:18 PM
it's true
I still haven't managed to create a test project the way I want to with gradle
 
user457812
I just don't bother. At all.
 
I have tests for my baseball card app, but it's been a nightmare.
 
https://groups.google.com/forum/#!topic/android-test-kit-discuss/AvkvaB4PXgA
still no reply since the 18th
 
o/
What's up Room 15! :)
 
user457812
YOUR FACE.
 
user457812
9:22 PM
YOUUUUUUUUUUUR FAAAAAAAAAAAAAAAAAACE.
 
Oh my.
 
user457812
Hm, I got a spammy email from what appears to be a teacher's compromised email account
 
hey adam!
 
user457812
Not sure how to notify a person of that
 
user457812
I'm not going to call them because that's long distance..
 
user457812
9:24 PM
And I suspect emailing a person at their compromised account won't really do much good
 
user457812
I guess I'll just let them figure it out on their own.
 
So, Canada water is weird.
 
user457812
wat
 
user457812
How is water weird
 
It tastes weird and leaves funny residue in the kettle.
Light switches on/off positions are upside down.
There's no on/off switches for power outlets in the walls.
And, it's cold. Who knew Canada was cold? Why did no one tell me?
 
user457812
9:29 PM
Is it heavy water?
 
Yeah I think so.
 
user457812
You'll get used to it.
 
user457812
I think it was called heavy water, anyway.
 
user457812
My ability to remember terms for things I haven't had to use terms for is bad.
 
lol Adam
 
9:32 PM
Sounds like hard water
 
Yeah, we'll get used to it, but it still tastes weird. Bottled water tastes fine so we've just been buying that when we're out :D
 
user457812
That's the word I was looking for: hard water.
 
user457812
Heavy water's the stuff used in reactors.
 
From more calcium in the water
You can get a cheap under-the-sink filter or a more expensive whole-house filter
or, yeah, just get used to it
 
user457812
Just drink it as is. Easy source of calcium.
 
user457812
9:34 PM
You'll never have a deficiency.
 
I'm more worried about our housing deficiency at the moment. Looking at an apartment tomorrow. First one we've looked at.
Not really sure what's gonna happen. It looks perfect (location, south facing, price, etc) for us, but we don't have any credit here :(
 
they will probably ask for more than a month's rent as a deposit
 
We've got references, and can pay the move in costs no problems... so hopefully it won't be a problem.
Yeah it looks like first & last month is pretty common.
 
if it is like here
 
We could do like 6+ months if we had to (though not really comfortable handing over that much money).
 
9:37 PM
But I hear Canadians are nicer than Americans so maybe it will be even easier there :P
 
just tell them that the Queen sent you
 
Lol
 
Hmmm, that might not be believable.
Prince William was just in NZ recently.
We'll say he sent us.
 
sure
he is not as intimidating as the old lady though
 
So, I thought I'd check the population of my city...
Up to 51,000 as of two years ago. We're growing
 
9:48 PM
Heh.
 
Where are you code?
 
getting internet 2 years ago was a big deal codeMagic
 
wow, it's almost as though early Americans said "Oh, how is the rest of the world doing it? We'll do the opposite then!"
even with light switch positions!
 
we invented the light switch!
 
Prosperous Elkhart, IN
 
9:49 PM
it's the rest of the world doing it wrong
 
:D
 
you realize the caveman nature of that name codeMagic?
 
Definitely, Emmanuel! Now, if we get electricity soon to run those internets it will probably increase even more
 
well people will start watching TV instead of making kids...so it will go down
 
Because it's shaped like an Elk's heart
 
user457812
9:50 PM
Caveman?
 
user457812
chains @codeMagic down and forces him to observe the world only via shadows on a cave wall
 
user457812
Perfect timing for an experiment.
 
user457812
Is this the real life or is this just fantasy?
 
Galileo, Galileo...
 
caught in a landslide....
 
9:56 PM
...of poop
Oh, sorry, I thought we were discussing my day
 
you mean your year?
how's the job search going btw?
 
Yes, describes my year, as well
Not too great. Trying to decide if learning to develop for microcontrollers or doing my own Android project is going to benefit me more
Going with microcontrollers right now just because my brother bought a Raspberry Pi and some other shit on his company dime for us to do something with
Not much around here as far as Android goes
How's getting me a remote gig with your company going?
Also, everyone should see this title before I edit it
0
Q: how run codes one by one in onclick() method android

Delta7I have these codes b1.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { intent.putExtra("chapter", 1); b1.startAnimation(animZoom1); startActivity(intent); }}); the method runs all lines in one tim...

 
I have these codes.
 
My brother's place is hiring for what he does...
Unfortunately, me and hardware is like...an orange and something that doesn't go well with an orange
 
toothpaste!
 
10:02 PM
Yes, an orange and toothpaste
I could probably do ok with hardware but I've just never really had the interest much
 
10:15 PM
Same, I've never had any real interest in hardware
 
I hate when people don't get my jokes
http://meta.stackoverflow.com/questions/252074/what-incentives-are-there-to-game-stackoverflow#comment6246_252074
and/or sarcasm
especially since they are usually gold
My brother is an electrical engineer tech so that's basically what he does. He's tried teaching me but just never cared enough I guess
Though, I'm hoping to learn something once we start working on this project together
 
user457812
I wanted to teach my little sister to program but she gives zero shits about computers beyond using them for music/video.
 
user457812
That was kind of disappointing for me that someone in our family didn't find computers interesting.
 
Is everybody in your family besides your sister interested in computers?
 
Everyone in mine is, as far as siblings go
 
10:23 PM
My mum only uses the internet to listen to radio stations and to Facebook
Everything beyond that is magic to her
 
Lol...that's how mine is. Well, the Facebook part, anyway
 
user457812
My dad was a programmer, my mom finds computers interesting but not to the level that anyone else in our family does.
 
user457812
My brother studied computer science in Canada and works for IBM
 
Nice
 
user457812
My older sister was born before we had computers, though she played a lot of games on them, so I forgive her for not caring as much
 
user457812
10:25 PM
My younger sister was born after DOS and by the time she was playing games I don't think she cared at all about how they worked
 
user457812
To put that into perspective: only one person in my family has not used DOS.
 
lol
That's pretty interesting
Not a lot of families can say that
 
user457812
I keep wondering what it is that gets people interested in learning enough to get started programming
 
user457812
For me and my brother, it was games.
 
user457812
For my dad, it was just work and he needed the money.
 
10:27 PM
To be honest I don't know what exactly got me started
 
user457812
Really, most of the programmers I know started coding because they wanted to make games, but that's also because I've always been sort of shoving myself into the game industry since I was about 11 years old.
 
I guess I just wanted to know more about computers than anyone else. I couldn't stand if someone knew more about them in my school than I did. Computers where my territory.
 
user457812
I could guess other people might accidentally end up writing code because they wanted to make websites
 
So naturally I somehow stumbled upon programming
 
user457812
So they somehow go from static sites to PHP or CGI/Perl
 
user457812
10:30 PM
And then maybe they end up going "well I can do this with sites, so what else can I do?"
 
True
 
user457812
Note that modern web developers don't have this step and instead go "well I can do this with sites so maybe I can just make everything a website?"
 
user457812
flips off node.js and web apps
 
I never thought I wanted to program until my first class when I was like 26. It sounded boring before that. After that, I was hooked
 
user457812
The first code I wrote was stuff for a text adventure.
 
user457812
10:32 PM
It was very badly made. And written in Perl.
 
And it wasn't even a programming class. It was a logic and design class. Luckily the professor was a programmer and introduced us
 
0
Q: Unable to render XML

alexsummersIm trying to use the SlidingPanel library by Umano. While the DemoApp compiles and runs fine. It doesnt render the XML. Here's the exception that the XML displays while rendering: http://pastebin.com/TZ2iSydg activity_demo.xml <RelativeLayout android:layout_width="match_parent" an...

 
user457812
These days I just seem to end up writing code just to see if I can do what I'm thinking of.
 
user457812
Rarely has an applicable purpose.
 
anybody have good lib suggestions for slidingup panel? like google music?
 
10:35 PM
My first line of code was in python. I just search for learning programming on Google and the first suggested me to download python 2.7 (I think) and IDLE.
I think it was >> print "you won"
but in german, "Du hast gewonnen"
 
user457812
I was going to say I didn't learn Python until fairly recently but just realized it's been over 6 years and I can't say that anymore.
 
user457812
grumbles
 
Yeah, that's usually how I say it, Ahmad
 
user457812
Is onnen pronounced like onn-enn or ohn-enn or something else?
 
user457812
I'm not sure how two Ns are supposed to work in German.
 
10:37 PM
yes, like onn-enn
 
posted on April 24, 2014 by Tor Norbye

We've just released Android Studio 0.5.6 with the following improvements:Bug fixes for several critical bugs reported in 0.5.5. Thanks for your help!Improvements to the build.gradle file editor support. Code completion, show documentation and go to declaration is now smarter (though it is still slow, so wait a second or two for results, and it still includes some "noise" in the form of base Gro

 
@alex answered it.
 
Thanks, Feeds!
 
I don't at all understand why this is happening
I have an Activity that is creating a Runnable, handing it off to a ThreadPoolExecutor, and then calling finish(), and then the Runnable never gets executed.
if I don't call finish() the Runnable finishes executing.
 
10:53 PM
How are you "handing it off"?
 
-1
Q: How to avoid multiple "Superuser granted to" - in su repeated task Android

MohitHere is a code for taking a snapshot on a rooted android device: Process sh = Runtime.getRuntime().exec("su", null,null); OutputStream os = sh.getOutputStream(); os.write(("/system/bin/screencap -p " + "/sdcard/img.jpg").getBytes("ASCII")); os.close(); os.flush(); sh.waitFor(); I wish to take...

> I wish to take these screenshots repeatedly every 200ms
what.
 
I'm calling a static RequestManager.executeRequest function that calls executor.submit(myRunnable)
 
But myRunnable is still a variable of the Activity which doesn't exist once you close it, correct?
 
it's not a member variable
 
Or did I just confuse myself? Shit!
 
10:59 PM
final RunnableSubclass myRunnable = new RunnableSubclass
RequestManager.executeMyRunnable(myRunnable);
finish()
 
ctrl + k
I'd help, but I have no idea Carl.
 
yeah I've been staring at this most of the day
it doesn't make sense at all to me
 
I noticed something weird at work today
I have a timer that increments seconds on the right side of the app, and on the left side in a different fragment I have a list, and getView is getting called whenever the timer ticks
seems like they should be independent of each other
 
What are you all expecting
it's typical Android
 
haha
 
11:04 PM
I'm just trying to find a way to make it work
I haven't hit the point where I can laugh at this yet
 
lol, thats a pretty silly thing, not being able to render custom views
 
I wonder if just drawing the timer on the canvas will stop the list refresh
 
user457812
I now haves a dollar in steambucks. Yay for people dumb enough to buy virtual trading cards.
 
11:31 PM
well, maybe tomorrow this will make sense
cya all
 
cya
yet another question with findViewById usage before setContentView ... — Selvin 6 mins ago
Selvin - Im sorry but how could I fix that? — user3570967 2 mins ago
isn't it obvious? you should use findViewById after setContentView ... — Selvin 2 mins ago
haha :p
 
@CarlAnderson is RunnableSubclass an inner-class of your Activity?
 
11:50 PM
I think I've found the same guy from the above posted comments:
screaming for halp on IRC.
 
Another NPE question...
/shake head
That's three that I've seen today.
 
00:00 - 21:0021:00 - 00:00

« first day (1286 days earlier)      last day (3654 days later) »