« first day (1646 days earlier)      last day (3294 days later) » 
00:00 - 15:0015:00 - 00:00

12:00 AM
Woah there cM.
No need to be jealous.
Can we add circleavatars as a room tag, since we have cyanavatars?
 
I still don't have one:/
 
What color do you like, Tristan?
 
Rainbow
 
I think you overestimate my skills.
but it gives me something to do, hold on.
 
Hehe okay
But it's not the same as getting a @nana approved one
 
12:04 AM
ponders putting my app up for code review
 
Wow, well if I'm not good enough I'll just give up.
 
It's not that you aren't good enough. You can't approve it with the Nana approval
 
12:19 AM
Apps are so frustrating.
 
What's wrong?
 
I just didn't take enough time to design this ahead of time and now I've hit road block.
 
Aww :/
I need to learn to to package my app and put it on the market :S
 
I don't think it's all that difficult, really. I haven't done it, but it doesn't appear hard.
I'm hoping mine will be ready to go soon.
 
I just haven't done it either
 
12:25 AM
I've done it!
 
I just realized only now that putting it in the app store is a course requirement :P
 
Wow lol
On the top under build just click Generate Signed Apk
 
It's that simple? :P
 
You have to create a keystore if I remember correctly
But it's pretty simple
 
:)
 
12:28 AM
It should be as far as I remember
Make sure you press release, not debug
 
Well, then I just have to google "how to make keystore" ^^
 
You don't really, it walks you through it
If I remember correctly
 
Nice :)
I assume updating it is easy too?
 
Same process, just have to remember your password and remember to change the version code and other thing
 
Version code? Like from 1.0 to 1.1?
 
12:34 AM
Yeah, and the other thing. When you're updating.
 
I see :)
 
Yup, version code and version number
 
:3
 
Gem, I'm gonna come back to you for some extra help testing my app before I submit it too ;P
 
Hmm... I'm not liking the result of googling "how to create keystore in android"... It keeps linking me to this:
> Create a keystore. A keystore is a binary file that contains a set of private keys. You must keep your keystore in a safe and secure place.
Thanks, but How do I do that!? >:C
 
12:52 AM
^
 
There's the "Key store path" what do I put in there?
Never mind, I'm retarded Z_>
Also, it's 3 am :P
"This project doesn't contain any App Engine modules" O.o
 
1:10 AM
How do I fix that?
 
1:21 AM
^That's always the quesiton isn't it?
I know nothing about it, so I can't help you ha.
 
Me neither. Weird...
 
Shoot, maybe if I don't sleep tonight I'll look into releasing my app. I will probably sleep though.
 
I should sleep soon as well :P
 
Haha, it's only 9:30 for me, I've got itme.
 
it's 3:30 am here :')
 
1:37 AM
Is there a way to see in github how many commits you've made in a day?
because I think I broke a record today.
 
hehe
 
Apparently ten commits.
I think that's only ten times I've pushed from AS to github. Individual commits I've made a lot more, but I don't always push them through each time.
No it does count each, because it just went from 10-14. That's almost a record for this project though haha.
 
Hehe. Well, lotsa work done then :)
 
The most is 17 commits in a day, and that was the day i pushed the project to github lmao
so today is definitely my most productive.
 
1:53 AM
Anyone here ship from USPS recently?
 
2:49 AM
0
A: Linked List Operations

nanaI think you problem is under-specified. but with what we have : Splitting a singly linked list: def split( head ): middle = head current = head index = 0 while current.next != None: if index % 2: middle = middle.next current = current.next ind...

Can I have some love please? But not too much!
Every time I touch Python I realize how much I miss it.
 
Sorry, I don't know Python.
 
You don't trust my mad skillz?
;) Good thinking
 
Aha, I thought that was a question, not an answer you shared lol
+1 because I love your enthusiasm in answers, and because I knew just enough about lists to follow along.
 
Maybe you even learned something! Slicing is awesome :)
 
I did a little bit with it in the fvew CodeCademy tutorials I've followed.
 
2:57 AM
I don't think OP will ever look at it again. Such a waste of a great answer.
 
I've had plenty.
I forgot the name, but I have a badge for having X amount of zero-score answers.
Such a shame.
 
I am trying to consciously upvote questions i bump into and answers I find useful, it takes effort.
 
It does. I've been doing that recently too, because I noticed there was a badge for upvoting so many questions. I have a bad habit of upvoting answers to questions I've found through google, but not the question, when I realize they've asked a good question if it's turned out to be something I needed too.
 
Exactly
 
If I don't publish my app anywhere, is it fine to just use the apk to spread it?
 
3:09 AM
I got +6 on a question I asked the other day, but still haven't gotten the answer I was hoping for. :/
 
Gemtastic: sure, but why would you not put it in play store?
 
Because I don't have any money
 
It's only $25 for a developer's license for google play, if i'm not mistaken
and it's a one-time fee.
I paid it forever ago, and right now I've wasted it because I don't have an app in the store.
But I'm cruising through mine tonight. 24 commits today, and I'm still coding.
 
@McAdam331 Yeah, but I'm probably not gonna develop anything else worth publishing
Not that this is worth publishing either
 
So what? In the grand scheme of things, $25 is nothing, and the experience you get from building an app that people use, and being able to add that to your resume is far more valuable than that small amount of money.
 
3:12 AM
People aren't gonna use this app :P
 
So what?
 
So what? I don't have the money. I'm broke. I spent what little I had on a phone
Because I actually need one
Who cares if I publish or not?
 
Having it in the app store is a tangible proof of your experience that you can show to people one day. An app people can download and use is a lot nicer than just showing them a git repository, IMO.
 
I just wanted to know if you could pass it around as a signed apk
@McAdam331 I completely agree with that, but I'm actually not that interested in becomming an app developer
Not professionally
It's somethign I do for fun
 
Well then don't worry about it for now. I just think that if you had the money it'd be worth it, because maybe one day you'll do something for fun that people might actually use, and you'll have the resources to give it to them.
 
3:17 AM
The day I do make something fun for people they might actually use I will probably have the money to register
But this app is my school project, the first one I've ever built. I haven't even played around in android; I sat down and just made this in one go, first android stuff I ever touched.
 
Well it's really impressive for your first one.
 
If you mean it, I'm very happy. (just because I'm a n00b it doesn't mean I want to make shit)
 
At least the UI looks decent. The UI on my apps always look like crap, that's half the reason I haven't gotten to publishing one. But this one feels promising, and @TristanWiley says it looks professional, so I've got that going for me. Not sure how creditable that is, though ;P
 
It does look nice :P
I'm downloading it now
 
Well, the UI is where I come from; I started doing front-end web development because I figured drawing was fun XD
I'm working on version 1.2 now; with GPS input! :D
 
3:23 AM
@Ahmad You're supposed to be studying! :)
But, you're right. I knew about the camelCase (fucking Java mindmelt) but didn't want to make another edit so soon :P
@Ahmad I won't hold it against you if you don't respond, you really shouldn't :)
 
nana
 
cM, you're still up?
 
Yup
 
Awaiting a blackhawks loss tomorrow, then? ;P
 
Just got all the kids to sleep. So now I get to relax for a few and do a couple things before putting myself to sleep
Haha
 
3:28 AM
I shouldn't talk, all that hype for playoffs today and my team got crushed. :'(
 
@nana and @codeMagic ! My favoritest people here! and @McAdam331
 
Yo, cM!
cM, we haven't played a match yet! I NEED to destroy you.
 
I actually haven't been paying attention much to hockey this year. A little disappointed in myself :( But still a Chicago fan
Uh....I think Tristan is drunk
A match in what??? I'm game! Bring it!!!
 
In.. PingFuckingPong
 
I'm trying to get drunk, but I keep forgetting my beer is here. Maybe that means I am drunk?
 
3:31 AM
Dare to play me?
 
But if you NEED to destroy me in whatever it is then you probably shouldn't play me without some more practice
Game on!!!
 
^ lol
 
One winning?
Or two?
 
whatever
 
How many times do you want me to beat you basically, that'S the question.
 
3:32 AM
Are you two friends IRL?
 
How much shame can you handle?
 
Had an amazing Satuday night with Android Studio ^_^
 
A lot
 
No IRL we hate each other.
 
@Try_me34 Awesome! Me too, but I still have 28 more minutes to make something out of it haha. What're you working on?
 
3:32 AM
Yeah, IRL I slept with his sister so he's still a little upset about that
 
IRL I am his father uncle. :P
 
IRL I hate my father uncle :P
 
My face when cM talks about his real life.
 
Inviting...
 
accepting...
 
3:34 AM
You're still grey.
 
@McAdam3 awesome! Working on my thesis, creating an educational application. When I am done I will post it here and hear your opinions ^^
 
racism is not needed
 
:)
Do you have it installed?
 
@Try_me34 Awesome, maybe it'll teach me something.
 
yup
 
3:35 AM
there you go
 
@McAdam331 hope so dude ^^
 
1:0
 
@Try_me34 What kind of educational stuff?
 
Shame, I hate this bug.
 
wtf is going on?
 
3:41 AM
It crashes like this.
 
well that's nice
What do we do?
 
It looks like a pretty stupid bug, doesn't it?
 
@McAdam331 About Geography (10 biggest countries of the world), so I will be including study and quiz UI
 
very stupid
I think you hacked it
 
You could just put a timeout on the ball and if it overflows reset it.
I did not! Ok so it's one nil.
We will finish this some other day :)
 
3:44 AM
Why do I get a loss? That's crap!
 
@nana Is that an app? Because google play shows no results for 'PingFuckingPong'. ;P
 
You did? You shouldn't!
 
Mac, it's only for VIP
Yep, that's what it shows
 
Ah. First Nana with his VIP interwebs, and now with his VIP pong games.
 
Well I diodn't win, so I wonder who did, Nil probably.
 
3:45 AM
It's ok, I will make it up if you ever get brave enough to play me again
That fucking nil
 
Yesterday I got in to a Trevor Noah standup as VIP :)
 
\o/
 
/o\
 
\o/
whew! what a workout!
 
facepalm
 
3:49 AM
............................................________
....................................,.-'"...................``~.,
.............................,.-"..................................."-.,
.........................,/...............................................":,
.....................,?......................................................,
.................../...........................................................,}
................./......................................................,:`^`..}
 
Thanks, nana.
 
np
 
That's actually really good.
especially after recognizing it as captain picard.
 
That'S the original facepalm.
MAn I am trying to solve your issue, because I want your 50 points.
 
why are we facepalming?
 
3:52 AM
I think McAdam is ashamed of us :)
 
Because you and nana had a little ascii workout.
 
You got to workout to stay sharp
 
@nana It's been driving me nuts. I don't know what's causing the issue, let alone how to solve it.
 
I know the answer.
 
because it's only in that edge case of the doubles ending 0.
So answer my question lol
 
3:53 AM
You are doing network stuff on the UI thread. STAHP IT! You're welcome
 
Alright, I'm throwing in the towel for tonight. Today's commit count: 29.
Today felt pretty productive lol.
 
What? I wanted to answer your question and you won't even wait?
Ok then :P
 
I can wait.
I'm throwing in the towel on coding*
I still have a beer to finish.
 
Ok then, so what seems to be the problem?
 
With what?
 
3:58 AM
The test fails rightfully because the Strings don't equal.
 
but, why?
If I do the test with 3000.01, or .02, or anything
it works
but if I insert into the database 3000.00
 
Because one of the double representations implement the toString method differently.
 
The test will fail. Because it looks like SQLite truncated that .00
 
The sql stores it as a double, there is no with or without 00 because it doesn'T amke any difference.
It's the representation that differs. The projection of double into String
 
Okay but what I don't understand is they both started as the same double.
One went into the database, one stayed in the ContentValues object
when I convert the one from ContentValues to string, and the one from the Database to string, they're different. Why?
And why are they only different when it's .00?
And is there a way to change my test so that both strings are considered equal?
 
4:03 AM
The representation differs because it is projected by a different method I think.
 
I mean, you would think that ultimately both go through Double.toString() but I'm guessing that's not the case.
 
If you took for(Map.Entry<String, Object> entry : valueSet){ and instead of Object used MyObject where you override toString to append (or remove ) .00 in case it is double, you'll be fine I am sure.
 
I was trying to dig all the way down to that toString call but it's full of interfaces so I ahve no idea what gets called in the end. But you could step through it and see for yourself.
 
Yeah, I guess I'll try that.
Alright, i'm going in.
 
4:07 AM
Now, banks do it this way afaik. They don't store doubles, they store ints. And shift the decimal point on the view pretty muhc
They don't count in dollars but in cents
 
That sounds dumb lol
but I guess it makes sense cents.
 
It has other advantages, the whole decimal places on binary computers sucks ass really.
^^ :) True and true
 
So, basically, it looks like the Cursor.getString() never passes through Double.toString()
because it never really looks at the type
so maybe when I put it into the database it's being truncated, and I can fix it there?
I'll do some logging though, I'll do one that does getString() and one that does getDouble() and see what happens.
 
I still think that is not the right approach, I want to sugegst a switch statement that checks the type of the column
I am writing the code now, but if you think you will reject it let me know and save me time
 
A switch statement isn't bad, my only fear is that as columns/tables grow it could become really ugly and unmanageable.
But, I am open to the idea and maybe after I see it (if you feel like writing it) I'll change my mind, if it really isn't that bad.
Yeah, it has to do with just calling getString(). If I call String.valueOf(valueCursor.getDouble(idx)) I get the expected value.
A switch statement is gonna be the way to go, I guess. I'm not gonna try overriding cursor.getString() lol, and I don't know why it has that behavior.
 
4:23 AM
Ok, writing it up
Actually no switch just one if
Ok, I keep it short then
Wow, it'S past midnight I forgto to eat dinner, good.
 
@nana I'm gonna comment on your post, because I am on your side as far as the switch statement is concerned, and I'll let you know why because I think the info is good in a comment.
 
Ok
 
I think I know how to draw this switch statement up, but if you want to edit your answer to include the switch statement (or I can give you a gist of what I do use), it'd be nice to have, IMO.
@nana I tried this and it works fine. What do you think of it? gist.github.com/AdamMc331/c696791cc558e7ce5cdb
Hm. I have weird behavior comparing ints as ints, but not when I compared them as strings, so I think I'm just going to do a case for doubles and put everything else in default, until another error shows up.
Because this: junit.framework.AssertionFailedError: expected:<1> but was:<1>
 
4:43 AM
I explained my reasoning why I would switch on type instead of fields.
 
@nana okay, let me try yours out first.
 
Cool question though, it made me look into the insides a bit :)
Upvoted
As I said I should do more often.
 
Okay now you're going to hate this but
you know how I just mentioned it failed for an integer?
 
Yeah?
 
I'm getting that with yours too. And I don't know why, because even in the log expected and actual are the same.
 
4:46 AM
And the doubles pass?
Or does it not get to the doubles?
 
The doubles pass, so we fixed one problem and broke another.
I think it gets to the doubles?
 
Are you sure it's comparing values and not instances?
 
Yes, because it's failing on a column in my transaction table.
Let me look at that test real quick.
 
If it won't be obvious I'd probably swap the assertEquals(entry.getValue(), valueCursor.getInt(idx)); for assertTrue(new Integer(entry.getValue()).equals(valueCursor.getInt(idx)));
And let Java deal with it
 
I think you're on to something, I'm just trying to be sure.
Yeah, I thought you were but I still got that weird failure. I'll try assertTrue()
assertTrue(entry.getValue().equals(valueCursor.getInt(idx))); doesn't work either. I tried converting entry.getValue() to int but I can't seem to find valid syntax. What you typed doesn't work I can't do new Integer(object).
Welp
assertTrue(Integer.parseInt(entry.getValue().toString()) == valueCursor.getInt(idx)); this passed.
So, if you want to edit that into your answer, it's all yours.
I'm too tired to figure out why the others failed.
but probably an issue with comparing references and not values, like you said.
 
4:57 AM
Area51 on Stack is great :)
 
I can use assertEquals() instead of assertTrue() with the same fields as above and it'll pass too, so whatever floats your boat in your answer nana.
 
ok one sec, I laso fixed a logical error in the first variant.
assertTrue(new Integer.valueOf(entry.getValue()).equals(valueCursor.getInt(idx)));
Would you swap it for this and check?
I don't think you have to go all the wa to strings
I ahte strings, they are super slow.
 
Ughhhh
 
Can't do new Integer.valueOf(), and just Integer.valueOf() expects a String inside, so it's probably really similar to parseInt
I'm getting really tired. The bounty's good for 7 days, if you want to revisit this later on?
 
ME too
One last thing
assertTrue((new Integer((int)entry.getValue())).equals(valueCursor.getInt(idx));
 
5:12 AM
I'm not doing Integer(intValue) though, because entry.getValue() is an Object.
And there is no Integer(Object o) constructor.
 
Like this cast it
 
i'm dumb. i didn't try that.
 
Since you already know the type fits
assertTrue((new Integer((int)entry.getValue())).equals(valueCursor.getInt(idx)));
Sorry, missing )
 
jesus. assertTrue((new Integer((int)entry.getValue())).equals(valueCursor.getInt(idx))); gives me a class cast exception? I don't know why.
Why didn't you like assertEquals(Integer.parseInt(entry.getValue().toString()), valueCursor.getInt(idx)); ? It works.
 
What I'd really like to see is assertEquals(entry.getValue(), valueCursor.getInt(idx)); and why doesn't it match
Ok, I'll put it there. I don't like it because it goes thrhough strings.
Done
Too tired to function :)
 
5:19 AM
Alright. I'll put it as an accept, but since we've got time to play around with it I'll hold off on that 50 pts, as motivation to figure out the best way ;P
I'm tired also. I'm gonna get some sleep
 
:)
 
thanks for all your help nana, I really appreciate it.
The app works fine, it's just dumb test cases I put in for my sanity that failed lol.
 
No worries you owe me one ;)
No, 50! :P
:D
Anyways good night.
Tristan what are you doing awake at this hour! Go to bed.
 
@nana I beg you o'mighty one, circle?
Was on Skype, then decided to parse some XML
 
5:21 AM
Now? When need to sleep?
Have you picked your colour yet?
I don't thiink grey is your colour.
 
Since you said no to rainbow, I choose....
Neon pink :)
Or neon orange
or neon any color xD
 
Neon pink is a good choice actually, it goes great with black.
 
Then I choose you Neon Pink
 
Alright, I've closed Android Studio because I know it's the only way I'll go to bed.
Plus, baseball tickets for tomorrow, so that'a reason enough for a good nights sleep.
 
Then it's official :P
Just going to parse some XML then get to bed, damn you USPS API :P
 
5:25 AM
^ @TristanWiley
 
YES! :)
 
Use it wisely, it has powers.
Now, good night!
 
Night! I'm getting to bed :P
saves profile
 
ONE OF US! ONE OF US!
 
Shark bait hoo ha ha
 
5:29 AM
MY VIP internet again:)
 
Hehe it looks perfect :)
 
Because it is.
 
Yes
Does Stack not allow transparency in profile pics?
 
no :|
 
Aww
There should be a small string of data inside each image so we know who is truly a member of the circles :)
 
5:31 AM
They convert it anyways and probably clean the meta, but it'S worth looking into.
 
Oooh :) Alright, night
 
night
 
We could use Steganography
Steganography (US /ˌstɛ.ɡʌnˈɔː.ɡrʌ.fi/, UK /ˌstɛɡ.ənˈɒɡ.rə.fi/) is the art or practice of concealing a file, message, image, or video within another file, message, image, or video. The word steganography combines the Ancient Greek words steganos (στεγανός), meaning "covered, concealed, or protected", and graphein (γράφειν) meaning "writing". The first recorded use of the term was in 1499 by Johannes Trithemius in his Steganographia, a treatise on cryptography and steganography, disguised as a book on magic. Generally, the hidden messages will appear to be (or be part of) something else: images...
 
 
3 hours later…
8:13 AM
o/
 
8:30 AM
\o
 
9:11 AM
O/
 
 
1 hour later…
10:35 AM
0
Q: Automate monthly buying from Amazon.com using my android app

jaminatorI wanted to make an android app to automate buying a set of products every month from Amazon.com. Any ideas on which api would be free and easy to use, I started looking in Zinc.IO but looks like thats a paid service and involved making a curl call which I was having trouble setting up in android.

Any ideas guys?
 
 
2 hours later…
12:07 PM
Yo People
I am feeling drowsy.
 
what happened
 
I slept lately last night, and had to come to office early morning today for work. :-|
 
aww. it is still sunday for me
 
Anyway what about you ? When you'll start working again ? Or, You can work form home ?
No, It's Sunday for me as well.
 
12:28 PM
I worked from home, last week I started "going" to work
 
Dude i havent slept for 19h if that makes you hapier
xD
 
heh Try_me34
 
yeah fucked up schedule, hope to fix it soon. :p
 
netpork, That's good that your company allowed you to work from home. :)
lol, try
Believe me, if you're a developer, then that's never gonna fix.
:-)
 
Yeah its always messy like this but I think that its not worthy to code like 4-5 hours more with less sleeep because the stamina is effecting me a lot.. I dont know why I keep screwing my schedule tho xD
I think developing like 8-10h per day its the ideal, not more
 
12:43 PM
^
 
1:29 PM
Tln, well do do not care from where you work as long as the job is done
You work on weekends as well?
 
2:02 PM
o/ Morning
 
00:00 - 15:0015:00 - 00:00

« first day (1646 days earlier)      last day (3294 days later) »