« first day (1777 days earlier)      last day (3163 days later) » 

12:03 AM
...
Bro
You need to slowbro down
 
sbrodown?
 
No, slowbro:
 
I want to mega slowbro
or maybe slowking
 
mr5
12:53 AM
o/
Morning
 
1:08 AM
Morning yo
 
o/
 
mr5
yo Law
mc, you never sleep?
 
It's only 9 pm haha
But, no. I sleep ~4/5 hrs
 
mr5
You are always up whenever I enter the room. haha
Yet we're on different timezones
 
That's how I feel about @Ahmad. No matter what time of day it is, he's on.
 
mr5
1:14 AM
But I rarely see's him chatting
 
What is sleep anyway?
 
mr5
Last day I didn't sleep. This chat is open till I go to work. In the morning; open SO again and you're still here. How come? lol
 
Yeah, I don't shut up either. :'D
 
mr5
It's for us weak people
 
I enjoy chatting with you guys! I don't have much of a social life. Even when I do, I squeeze in room-15.
 
1:16 AM
What is this "social life"?
 
mr5
o.O
 
Twitter SDK is cool now, compared to their previous bullshit.
 
mr5
It's the outer world of caves
 
Glad they followed Facebook's SDK awesomeness.
 
mr5
Uhh, how do you get the instance of an Activity started by startActivityForResult ?
 
1:23 AM
???
What do you mean?
Wouldn't that just become your new current activity?
 
mr5
It's an Activity themed Dialog
so I'd like to get the instance from the background activity
 
I dont get it
 
mr5
Just like I poped up a dialog
 
What is an Activity themed dialog? Sounds like old school to me
 
mr5
`<activity
android:theme="@android:style/Theme.Dialog"
android:excludeFromRecents="true"
android:name="com.kinpo.biosensingutility.dialogs.ActivityDialog">`
o.O this formatter is messed up
 
1:25 AM
Why are you still doing that
 
mr5
Like that
 
Wouldn't a DialogFragment be easier for this? Or am I missing something?
 
mr5
Uhm, I'd like to display a popup dialog but I want to retrieve result from there using onActivityResult
 
Yeh DialogFragment is way easier. That implementation is old school 2 years ago
 
mr5
Okay. I'll check it out
 
1:26 AM
You can still use a DialogFragment, you'll just have to implement your own callback interface.
 
mr5
That is hard though
 
No, not at all.
 
It is hard at the first because you are not familiar with it.
 
mr5
I mean the Activity themed dialog
 
I can try to make a gist, if you'd like.
 
1:27 AM
Go ahead MC Adams! Teach him
Word
 
MC Adams on the track
 
mr5
Well, I always try to retain my classes as generic as possible
 
Show em how we do this shit
 
Can you give some background onto what's on the dialog? You must be accepting some kind of input? Is it complicated, or is it just like a string?
 
mr5
I could just easily put all the data inside that ActivityDialog but I want to always separate the logic
It's just a dialog with a listview then once I pick some item, it will be dismissed then retrieve back the result in onActivityResult
 
1:29 AM
I don't see why a DialogFragment class isn't separating the logic?
This way, in the future, you can show that Dialog from any activity. That dialog is it's own module.
 
mr5
Yeah I will look at it haha
 
Ah
mr5!
I have stuff for you
 
mr5
I'm not trying to say I would not use it.
What is it?
 
Is there an off chance you've ever installed my app? Because I've done exactly that!
 
mr5
Okay giff me thy link :D
 
1:31 AM
And it's open source, but if you can give me like 10 minutes I'll throw the relevant code into a gist for you.
Only because I don't want you digging through all of my shitty code ;P
 
mr5
You sound like a marketing guy lol
 
Haha
 
mr5
10 minutes started now...
?
 
mr5
Where's the app?
 
1:36 AM
The one file is the XML for my dialog (just a listview), one file is for the fragment I populate the listview using a CursorLoader, and use onItemClickListener to see when something was selected. In the last file is the activity, that implements your interface, and overrides the onMyObjectSelected() function.
Oh, hold on.
 
user457812
Complained about NewEgg on Twitter and they asked me to send them an email, so I sent them one. Don't know why I bothered, it's all dumb.
 
user457812
It's not like they make any money off of me.
 
mr5
There are dollars on it. Should I be worried if I had no money?
 
Well if you have no money there's no use in using it haha ;P
Actually, yes there is! My app might help you save your money!
 
user457812
1:38 AM
Looks like an app I built for myself and never released, except not ugly.
 
Oh this is ugly haha.
 
mr5
Uh I mean, is that free? haha
 
I'm making some tweeks.
OH lol yes it's free
 
user457812
If you'd seen my app, you wouldn't be saying yours was ugly.
 
user457812
I made mine as dumb as possible just so I had something I could track account balances on when I spent stuff, since logging into my old bank account was awful.
 
mr5
1:39 AM
My eyes hurts whenever I see currency symbols. icrieeveritiem
 
user457812
I don't use Android, so I can't say anything.
 
user457812
Plus Ascension 2 is still pre-Material UI.
 
I just stumbled upon the worst tutorial ever.
They lost me at the first two.
 
mr5
My phone says I have an insufficient internal storage but I do have 70mb free.
 
1:44 AM
They missspelled "Any Samsung Device"
 
user457812
Well, it's not an iPhone, so it's automatically worse.
 
bruh
iPhones suck
 
user457812
Search your heart, you know I'm right.
 
mr5
Everything sucks!
 
I really don't like them, honestly.
 
user457812
1:46 AM
This is because you're wrong.
 
Adam, Hangouts
 
mr5
mc, couldn't install your app even if I have uninstalled 5 apps and have 100mb+ free space of internal storage
 
Wow. That's really bizarre, I didn't think it was a memory killer..
I'll look into it, though!
 
user457812
It's probably an Android issue.
 
mr5
What's the file size? I think it's the system itself. I've been in this issue before when I'm trying to install just < 5 mb of app
Agree
 
1:50 AM
On my apps page it says 2.01 mb used in internal storage
lmao
so either, that's not the size you're looking for, or it is an android issue
 
Clear some cache
 
mr5
Argh. Can't do it!
 
Been using iPhone for almost a month, it sucks
 
mr5
Uhm, can you send directly the apk file?
 
Uhh
well
I've been doing a lot of testing, I can try to find the last release-apk, but idk if it's the right one.
 
mr5
1:57 AM
9
A: ''insufficient space on the device'' – but my sd card has plenty space?

user2360363It has worked on Kitkat so may apply to older versions of Android Settings > Storage > Phone Storage ( or could be Internal storage, wherever Google Play Services is) > apps > Google Play Services > Click Clear cache (on the same page) Manage space > Clear all data > Manage search storage > cle...

It say's clear the cache of my Google Play Services.
I'm worried if I will be needed to redo all the stuff I have done before ie. logging in to Google-related apps.
 
Worth a shot?
Well don't worry about it, my app is nothing special.
 
mr5
Well you had me curious about it so I'll do whatever it takes just to see it.
#dramaMuch
Even if I switched to SD card as the default installation location which has 300mb+ of free space, that error still occurs.
Damn Android!
Or either, damn Google Play Store!
 
How do I make the keyboard from one edittext go to the next one, instead of the enter key or whatever?I tried imeoptions, but it didn't work.
 
mr5
The focus?
What do you mean by keyboard? It's the caret blinking you are talking about right?
 
Like, I have two edit texts. If you type in the first one, sometimes they have an arrow in the bottom right that instead of enter (new line) it moves to the next edit text
 
mr5
2:05 AM
Oh so you want to change the focus after you pressed the enter/go key?
Just set the inputType="text"
 
:| I can't belive I forgot to do that.
I was wondering why it used to do it but wouldn't do it this time and that's why
 
mr5
lol. I could not even make a simple Android app without searching the Internet
Maybe because you have used a different version now
 
Idk, I'll run it with the inputType and see
Mr5 thank you that worked.
I hope my gist for the dialog/interface helps you too
 
mr5
I thought Android IDE's always warns the developer when not setting an inputType for edittext
 
My computer is running very slow so it might not have come up right away
 
mr5
2:14 AM
Desktop?
 
macbook
 
mr5
o.O how poor am I for asking you a shitty question
lol
I lived in a 3rd world country and thought everyone uses a PC which runs a Windows. lol
Mc, yay! Your gist is very good. Thanks!
 
Haha, it's okay. I'm very fortunate to have this computer, but it's been slowing down on me.
:D
Aren't you glad I didn't go to sleep. ;)
 
mr5
Yes! You should always do that
Haha no seriously. You should take a sleep
You'll regret it one day
 
First world developers don't sleep son
 
mr5
2:20 AM
o.O
They are always up!
 
That's true!
 
mr5
And we're always down
As well in our economy
 
In fact, I hate sleeping
Im also from 3rd world and I hate sleeping, just wanna clarify on that
 
I am young, I am working hard to gain knowledge. Graduation is 8 short months away, I am determined to chase big dreams.
No time for sleep.
 
Sleep is the cousin of death
 
mr5
2:23 AM
The next human patch should have a feature of resetting their body clock so we can stay up for 36 hours
I have read some researches about the human capacity to stay up for more than 24 hours
 
user457812
Could just change how units of time scale so a day is 36 hours.
 
mr5
And the sunlight is one of the factor why is that
What they've done is they stay in the underground for about...uh 6 months. Their body adjusted that 36 hours is just like a normal 24 hours
 
I have stayed up well over 24 hours before.
Hackathons.
 
user457812
I've done it for finals at university. That's it.
 
user457812
I have no plans to ever do that again, and reserve over 20 hours of being awake for emergencies.
 
mr5
2:29 AM
I've done it last day as well and still go to work after. I have stayed awake for more or less 40 hours!
And I will never do that again. Ever!
 
user457812
Worst I've had at work is an 18 hour day.
 
mr5
I feel like I snorted a two full bowl of weeds
Never sleep?
 
user457812
I didn't sleep for that day, no.
 
mr5
I love metro colors. I wonder how they have came up with that colors
 
wow, crazy! I try not to do that. I am usually up for 18-20 hours though. Today may be an exception. I've been up for about 15, but I'm kinda sleepy
.
 
mr5
2:41 AM
I've done those no-sleeping-moment-because-of-programming-during-college-days many many times than I'd like to admit
 
You havent tried it at work yet?
 
mr5
Just tried it last day
I feel dying
 
I work 8 hours, go home and code for 8 more.
 
mr5
That must be exhausting
 
Yes, but I love what I do and I'm constantly pushing to learn more and gain an edge over others my age. There are many students my age who have accomplished for more than me.
The only thing that would make it better is if I were an Android developer for work
 
Why the hell is 'a' getting put at the bottom of my list.
Last I checked, 'a' comes before 'checking'
idk, i'll deal with it tomorrow
 
user457812
3:48 AM
Why would you upload that video.
 
user457812
drinks more
 
user457812
Maybe I will understand through the power of booze.
 
I dont get the video but it's funny.
 
user457812
4:07 AM
I have had enough cats and injuries and have enough scars to just think it's weird that anyone would share it.
 
user457812
4:30 AM
I am drunk enough now to find everything funny. Now is everyone's chance to feel good about their awful comedy skills.
 
user457812
I'm sorry I don't have anything about millisecond timings to mention this time.
 
mr5
4:56 AM
1+1=10
now laugh
hey
"Wow I am amazed at how well this noob could program!"
Mc, xD
 
user457812
I used to feel like I was just kind of mediocre as a programmer.
 
user457812
Experience has convinced me that I'm probably much better than I thought and much worse than I thought.
 
mr5
That citation is for Adam. I just read one of his app's reviews xD
Guess he's already sleeping now
 
5:46 AM
^ OS X cache files
 
Yo
 
user457812
6:03 AM
Please avoid running "cache cleaners" and whatnot on OS X.
 
user457812
That stuff's part of the reason your computer actually runs well.
 
user457812
Otherwise, I fear what you might do if you look in /var/vm
 
user457812
God forbid you see that OS X is actually creating multi-GB files
 
user457812
People who don't understand their OS should never, ever run tools claiming to free up disk space.
 
yo!
glasses gang rocks!
who wanna join?
 
user457812
6:05 AM
Get out. This is Rando territory.
 
You wanna fight, bruh?
 
user457812
Someone want to give me owner status again so I can make this funny?
 
Lets go with a classic cowboy gunfight.
 
user457812
I'm still too drunk for that.
 
user457812
Speaking of which, I think I'll go lie down
 
user457812
6:08 AM
Very tired.
 
ah, okay (sad of no fighting)
 
oy
 
@nil I don't run that tool
I only use it to remove stray files when uninstalling an app
 
user457812
I wouldn't be so sure that it's actually doing that.
 
user457812
6:13 AM
Been using OS X long enough to know that you have to be really gullible to believe what those apps claim.
 
well it basically removes all the preference files... but yeah, it might do other things too
 
user457812
.. Removes all preference files? Why the hell would you be ok with that?
 
and apple approved that app
 
user457812
Apple approved a "memory cleaner"
 
user457812
You know what the memory cleaner does?
 
6:14 AM
i don't really trust apple
 
user457812
Nothing unsafe, but it also doesn't do anything other than allocate enough memory to force everything else to swap.
 
user457812
So when it does that, it looks like a lot of memory gets freed up. In reality, you've just made your system perform worse because it then has to page stuff back in from swap.
 
user457812
All of these tools are snake oil.
 
user457812
They are made for gullible people who don't know any better.
 
user457812
Do not run them.
 
6:15 AM
yes
 
What the fuck are you talking bruh?
 
that's why i don't clean my memory nor clean my cache file with it
 
user457812
People who do run them are idiots and deserve what will happen to them for doing so.
 
I use memory cleaner on my Windows PC
 
I know how OS X performance is good
 
user457812
6:16 AM
Congrats, I explained what memory cleaners do.
 
user457812
Now you can stop running it.
 
not even for android
 
user457812
Using memory is not a bad thing. OSes can handle using more memory than is physically available. If you try to get in the way of that, you are actually making it perform worse because you are convincing it to do things that it does as a last-ditch effort to free up physical memory.
 
user457812
i.e., paging it to disk
 
well that's the purpose of swap
 
user457812
6:18 AM
Swap is slow
 
swap is only if you're desparate
 
user457812
You do not want to use swap unless necessary. Memory cleaners force it, and thereby make everything slower because you then have to access stuff from swap.
 
otherwise os can free up stuff by itself, no?
 
user457812
Let me repeat this so it's really clear: memory cleaners are bad, do not use memory cleaners.
4
 
user457812
Think of the OS as a smart, self-driving car. It is safer if you don't try to take the wheel.
 
6:20 AM
unless it's a new unstable kind
 
user457812
And now time to sleep.
 
sweet dreams
 
user3119231
7:07 AM
morning my friends
 
7:25 AM
morning \o
 
o/
 
user3119231
\o
 
o/
 
\o
 
user3119231
It's friday !
 
7:28 AM
yay \o/
 
user3119231
is something here like caprica?
 
My last day of work, then I'm off for 3 weeks before uni starts WHOOOOOOOOO
 
lucky...
 
7:49 AM
morning
 
\o morning gents
 
Hey o/
 
Whats new and exiting?
 
Any of you guys, really fix this lint errors?
 
I often wait til the end of my project cycle to fix lint errors
Any of you with cats know that sometimes they just go bonkers for absolutely no reason. Does anyone feel like Android Studio is very similar to these animals?
I just replaced a line with a copy paste of itself in order to fix it...
 
8:04 AM
You still not done with those weird AS errors ha
 
I turn the unhelpful ones off :)
But many of them are, annoyingly, very useful
 
8:24 AM
\o
 
o/
 
8:57 AM
facebook didn't even bother to update their gradle link to the newest version
why
 
Which is the Array which starts off filled to MaxInt?
SparseArray?
 
o/
 
Yes
Hi OcuS
Happy Post Birthday!
 
/me does a barrel roll.
Yeah. T.Hanks.
I'm sad nobody wished me a happy pre-birthday on wednesday :(
 
adds in his calendar to wish OcuS a happy pre-birthday on 26/08/2016
 
9:07 AM
\o/
 
makes a note to switch from saying "happy post{*days} birthday" to "happy pre{*days} birthday" on 26/02/2016
 
@user1253236 Access denied. You have a default username and the minimum reputation required for access is 100 points on StackOverflow as stated by the rules.
@ResearchDevelopment Access denied. The minimum reputation required for access is 100 points on StackOverflow as stated by the rules.
@Roster Access denied. The minimum reputation required for access is 100 points on StackOverflow as stated by the rules.
@Aditya Access denied. Low reputation, low A:Q ratio, help vampirism suspicion.
 
9:41 AM
0/
 
do you guys ever put part of your test code into your working classes? Rather than in your unit test classes only? I think I have to put some code into my main class for it to run, but only for testing, so not sure if it's a good idea
 
I do.
 
I pretty much have to unless I refactor my entire app to not use databases, I guess I'll just add a flag for it to only run when the unit testing class passes in the right extra or something
 
I think if you find you have to introduce test code into your real code, you've not designed your working code well enough.
But, until the point where it's "well designed" and you have no choice :P
 
my main gripe is that I can't insert mock data into my database in the ActivityIntrsumentationTestCase2 class and pass in Intent extras, because the database requires an activity context, and Google say don't call the activity context until after the intent has passed through, otherwise no extras will be added
so it's either don't insert data to database, or don't send intent extras, never both :(
 
10:00 AM
You can send mock intent extras I think on that class
 
Why does your database require an Activity Context o.o
That seems a bit... mad
 
Because I have many databases all subclassed, so I am calling for a certain Dao class which requires the context, then calling a method that inserts data into the database
if that makes sense
 
You using Ormlite?
Doesn't matter I guess - your Database should be callable from static context
 
nah SQLite, so public abstract class first, with public methods, every database extends that and has SQL commands
 
So that you can run tests on the Database, and seperately pull out your database and return values from somewhere else
And you should interface out specific methods required rather than use direct implementations in classes
 
10:08 AM
hmm, everything is custom, not built by me, sounds like it needs a massive rework
 
nods
Should be relatively easy - but involved a lot of code change and to be safe a lot of testing.
Know what I mean though?
You should have something like class Database() { void getProducts(ProductUpdateListener listener) { listener.onUpdate(); }}
and then have your class implement ProductUpdateListener
(For that matter you should have your Database class implement GetProductable interface :)
 
yeah makes sense. I guess it's one of the reasons you're supposed to add unit testing first!
 
Abstracts out functionality so you can quickly grow stuff as well as test later
 
thanks for helping as well
yeah makes sense. I guess it's one of the reasons you're supposed to add unit testing first!
 
You learn to do it on the fly with enough practice :)
Or at least, refactor at high speed! :D
 
10:20 AM
NOOOOOO I've just fucked up. Replaced every document path entry for hundreds of document with the word "tempPath" because I accidently left the "'s in. For a customer as well...... FUCK
 
Yipe - got a back up?
 
no0o0oOO0o
 
cmd z
quickkkk
 
Anybody got a Samsung E7? What is this shit
 
No backups. My colleague is going to write a recursive program to check for each file name, then copy the path back to the table, while I deal with another issue.
At least there is hope for recovery
 
10:30 AM
f*cks things up, let's colleague fix it
jk, hope you can recover that
 
LOL, I could write it myself, but he wanted to do it...... I'm not going to stop him haha.
 
typical last day at work I guess ;) leave with an explosion
 
HaHa, maybe I should just leave right now
 
11:17 AM
\o
 
Hi Warren! How's baby?
 
just a short stop to say thank you to all the wishes I got :)
she is a pure cutie... though the nights are like expected: interrupted every hour or two
beside that we enjoy it
and I am very happy that I have 2 month off from work
 
cool
and I am happy that I can go home this weekend
 
I have already lost track of the days of the week
was kind of shocked to see it is already friday
 
Very glad you have healthy happy baby :)
 
11:27 AM
:P
 
11:41 AM
and I am away again. enjoy the day!
 
Bye Warren! Take it easy :)
 
12:10 PM
oh damn I missed warren
laters @WarrenFaith!
I just got the most amazing intro into how certificates work
 
share ?
 
X.509 ones?
 
12:30 PM
hey guys
 
12:47 PM
was just too much
just the basics
and how we did certificate pinning in order to prevent man in the middle attacks
and how intermediate and root certs work
 
12:59 PM
o/
 
cM o7
 

« first day (1777 days earlier)      last day (3163 days later) »