« first day (2243 days earlier)      last day (2712 days later) » 

12:00 AM
lol
but seriously, it's nut jobs like these who give good religious people who are just kind to others, minding their own business, a bad name
 
agreed
 
I could go on a big rant about religion but I'll spare you all lol
 
@Ahmad same could be said for a lot of groups, political, religious, etc.
 
true
 
"That group of gamers would be known as a great group except for that one asshole who trolls everyone"
"That group of Android chatters would be known as a great group except for that @codeMagic guy's antics"
 
12:05 AM
I've never seen a group of gamers beat, kill, rape, maim people and destroy their business for playing on a different console though
 
Apple Could Release A Mouse-Compatible Version Of The Touch Bar As Early As 1983 https://t.co/bHhlbe9WqQ
 
let's just all agree humanity is awful
2
 
It's hard to agree with that when there's so many decent, reasonable, well rounded people whom you can disagree philosophically yet get along perfectly fine in practicality.
it's just the nationalistic, extremist points of view where morality is a assigned to a particular viewpoint that is awful.
 
Sure, Dave, but then there's folks like that codeMagic guy who make the decent folks seem like a small number
 
12:10 AM
You're not so bad cM, even if you hate the LGBT community by proxy for supporting Pence.
 
true dave
 
@DaveS sure, but have you seen his meta posts?
 
lol
 
nope, still don't hate them. People's personal business isn't my business as long as they don't push it on me
Speaking of assholes...Carl, have you ever had this?
 
12:12 AM
 
stuff is great, yes
had some of the Rye last night, actually
post-Christmas concert
 
certified non-ass borboun™
 
I'm off, night o/
 
Nice. My buddy just told me about it this weekend so got some tonight. I like it
Good night, Ahmad
 
12:13 AM
cya Ahmad
Makers, Bulleit, Woodford Reserve, Knob Creek
 
That's not the preferred order, is it?
 
those are the best go-tos
 
ok, I can agree with that
I can't believe I haven't had this kind before. So smooth and nice
 
I've also had: Bookers, Bakers, High West, Eagle Rare, Noah's Mill, Woodinville Whiskey
 
12:15 AM
Found my new logo
 
4 Roses
 
None of those sound familiar
 
yeah most of them are high-end
 
Wait, High West does but I haven't had it
 
that's cause I told you about it
 
12:16 AM
Oh, a rich man's drink. That's why
 
Sep 15 at 16:26, by codeMagic
Carl, were you serious about that High West or was that a trick?
 
Did you? I think I've seen it around here. Maybe I'll try it for a special occasion. like I want to drink something
Lol! It's sad that I had to ask
 
Dude you're living adjacent to the Bourbon state
you should be able to get the good stuff even cheaper than I can
Washington has some of the highest liquor taxes in the nation
 
Yeah but I live at the wrong end of the state.
 
a gallon of bourbon costs me $32 more than it costs you.
 
12:20 AM
oh wow, didn't realize it was so different. Good to see you've done your research :)
If I remember, I'll check it out this week
 
ahhh, the benefits of living close to NH
there's a zillion liquor stores right at the border
 
It's funny we're talking about this because my friend just sent me a message about Angel Envy. Don't know what that is but he said it's like $55/bottle
 
> There’s bourbon. And then there’s divine inspiration painstakingly crafted into a spirit so sublime you’ll want to share it with the world. We make the second one
 
@codeMagic Angel Envy is tasty I can attest to that.
I am not a bourbon nana, but I found that very smooth.
 
12:27 AM
Thanks, nana. I will have to try it
 
lol
I didn't drink any alcohol until I was 24, but even then I knew that the stuff on the bottom shelf tastes like rubbing alcohol
 
Haha!
I had my very first drink of beer when I was like 13 to try and impress some girls. It was so disgusting. And it was something like Old Style or Pabst. Needless to say, didn't try it again for awhile after that
 
I don't drink cheap booze
I've never had Miller, PBR, Bud, Coors
 
Well, my uncle lived with us and all he drank was cheap stuff so I popped one open thinking I'd be "cool". Nope
 
lol
that stuff isn't meant to be enjoyed, it's meant to get you drunk fast
 
12:35 AM
You've never had those?? I can understand not wanting to drink them but I can't believe you haven't tried it
 
nope, never bothered
 
That's true (mostly). I prefer a good stout or porter when I'm drinking beer but I still drink bud light sometimes
 
likewise I've never had bottom shelf bourbon
 
Especially on a hot summer day, a Bud Light can actually be quite refreshing
Wait, I think I have a gif for your last response...
 
I drink Captain Nelson with coke, but that's only because I mix it
that's about the only bottom-shelf alchohol I drink
 
12:37 AM
Don't know what that is
 
Yes but you need the music with it
 
I think the intent is plenty clear without audio
 
It is and I've actually shared it to Carl several times :)
 
12:52 AM
or maybe just once
 
1:05 AM
No, your search results have failed. There's been more
 
or was it all a dream cM
a glitch in the Matrix
 
Nope, your searching fu sucks
 
Sep 15 at 23:21, by codeMagic
/giphy DaveRocks
p.s. I am going to place first in my fantasy league for the regular season
week 14 bye and fantasy playoffs here I come
 
p.s. So am I
 
user457812
1:56 AM
Nice. Already have the new Android update. Now I can tick raise to wake off the list of things the Pixel doesn't have.
 
whoops answered the wrong question, my appologies — Falcon 1 min ago
really??
 
 
5 hours later…
7:21 AM
@TristanWiley Done 😉 (fairly simple today)
 
7:43 AM
hey
 
8:21 AM
\o
 
Interesting result of a Samsung Note 7 check to find the battery issues: instrumental.ai/blog/2016/12/1/…
 
8:51 AM
yeah interesting read
 
o/
 
9:13 AM
 
but op is not using HttpUrlConnection
 
@AlainProfessional sorry but you need to answer a few more questions to get a suitable Q:A ratio. For more details about our requirements: room-15.github.io
 
yea, god dammit which http lib is he using then?
 
wait that is httpclient
the deprecated one
and more so the removed one
 
oh the apache http lib
brennan.io/2015/01/16/write-a-shell-in-c really good guide on understanding the Shell
 
9:32 AM
o/
 
o/
 
peace
 
9:51 AM
morning
 
word~
 
word
 
10:06 AM
Skype password lost -> reset email -> new password given -> login failed on skype client -> login via website -> invalid password -> reset password -> first enter code by email -> done -> assign new password -> login via password -> someone else is using your account, you have to change the password -> first ensure you are you by enter a code -> code entered -> change password -> password changed -> finally login works
Way to go Microsoft!
so I just changed my password 3 times in the last 5 minutes to get access to skype... for a call we finally made via whatsapp... now I will remove skype again until next year, when I have to make that famous "once a year" call with skype
 
now imagine the actual code behind all this
 
I do not want to do that
 
lol
 
anyone present here doing aoc?
 
ocus is ^
 
10:13 AM
whats aoc?
 
advent of code
 
ohh the coding challenge
 
Oh I can't read, never mind
 
10:26 AM
In private File getFile(){}, if exception occurs, i return null. is this alright? I saw you guys talking about Avoid NPE and Don't return null yesterday.
 
what kind of exception?
 
you know the code you are writing. Only you can know if that's ok
 
Many, MalformedUrlE, InterruptedE, IOE, JSONE.
I check before using returned file though.
i think you guys were talking something about "avoiding NPE is better than try-catch"
 
Why are people so negative about Trump tweeting his political views? He's adapting to the times. Next step is diplomacy via Pull Requests
 
rup, what you also often see is something like private File getFile() throws IOException. Then you let the caller handle the exception
 
10:43 AM
It really depends in your case - getFile() for example is probably a crucial call to proceed. In this case I would not return a null and prove a throw as Tim mentioned
 
11:02 AM
@TristanWiley nice 10 stars you got there
In the release notes for play-services-location v10.0.1 it says
> Improvements to Bluetooth Low Energy (BLE) scans.
anybody have a clue where I can find details?
 
:O
WOOOOOOOOOOOO
@MuratK. that's not the details on the improvements
Also I finally got MPAndroidChart to work, it doesn't make sense why it does work but I've provided my code to in a reply to an issue on their GitHub issues because it seems like everyone was having similar issues
 
I want to know exactly what changed between v9.8 and v10.0.1
 
Me too @TimCastelijns
How do we get play-services-location v10.0.1, do we download it via SDK manager?
Wonder if there's anyone we could contact to find out details about the improvements
 
Ah that's what you mean. nvm
 
yes sdk manager
in version 38 of the repo
 
11:22 AM
contact Ian Lake :D
or someone like him on G+
 
Within SDK Tools?
Ah found it, Google Play services, v38
thanks
 
yes
I posted in the android-developers google groups
Keep you updated
 
Thanks! Could you link me to it in case I'm offline when you hear back
Think there's a way you can star it or something
to follow updates (I think)
 
If you want me to post on it just let me know
thanks for linking me
 
don't think there is anything to add :p
 
:)
 
12:31 PM
@CptEric pretty funny that facebook page about lotr
 
Hi People, how to send JSONObject as body through Retrofit 2.0? JSON Object is like this {"pointlist":[{"start_time":"2016-12-01","points":"10"},{"start_time":"2016-12-0‌​2","points":"13"}]} .
 
Use hashmap as body and fill it with json data
 
ok, I can add start_time and points using HashMap. What about pointlist? Which is the name of JSONArray
 
you can add a jsonarray to a hashmap
 
^
someone flagged jon skeet
in a chatroom
 
12:39 PM
Does he have 1M rep already?
 
nope not yet
 
Someone wants to have his digital life being deleted...
 
hehe true
 
how to include the JSONArray name (pointlist) in HashMap?
 
map.put('name', array)
 
12:56 PM
{"pointslist":{"values":[{"nameValuePairs":{"start_time":"2016-12-01","points":"‌​10"}]}} -- This is the body which is being sent when I use HashMap<String, JSONArray>
 
use hashmap <String, Object> instead
although shouldn't matter
you're not inserting the data in the hashmap correctly
 
Could you please tell me where did I do wrong?
 
I can not
left my crystal ball at home
 
112
Q: How to POST raw whole JSON in the body of a Retrofit request?

user3243335This question may have been asked before but no it was not definitively answered. How exactly does one post raw whole JSON inside the body of a Retrofit request? See similar question here. Or is this answer correct that it must be form url encoded and passed as a field? I really hope not, as the...

 
This is what I did - map.put("pointslist", jsonArray)
Interface looks like this -
@POST(GlobalVariables.POINTS)
Call<ResponseBody> sendPoints (@Header("Authorization") String token, @Body Map<String, JSONArray> map);
 
1:10 PM
In AsyncTask, does onPostExecute() run in background too?
 
onPostExecute of AsyncTask runs on UI thread.
 
I was reading an answer by @Blackbelt , Did the questioner wanted the AsyncTask to wait/pause until user performs action?
10
Q: How do I return a boolean from AsyncTask?

RapsFan1981I have some EditTexts that a user enters an ftp address, username, password, port anda testConnection button. If a connection is successfully estabished it returns a boolean value of true. boolean status = ftpConnect(_address, _username, _password,_port); ftpDisconnect(); ...

 
Not always if you invoke the task from a non ui thread
actually thats not true nvm
 
also, Toasts can't be shown in doInBackground, but they are allowed in onPostExecute.
 
What I meant was more like if you have a callback in the onPostExecute and the callback invokes a method, that's on a non ui thread
 
1:16 PM
AsyncTask has always to be started from the Ui thread, otherwise its callbacks behavior is unpredictable
 
yep.
 
starting with 4.1 Asynctask are always started on main thread
 
1:34 PM
@Mark do you know the difference between copyToRealm and insert? Which one do you use
 
1:51 PM
Off the top of my head, I'm not sure on the differences. I'm using copyToRealm. I thought I'd be able to copyToRealmOrUpdate but you need a primary key for that.
Insert seems to handle unmanaged Realm objects
I've definitely came across that terminology before
Anyone know how this map works in Google Play Console? Find it weird having a user from Guatemala. If a user was on holiday there but from the US would it come up US or Guatemala?
 
2:07 PM
it should come up as Guatemala, but i am not sure.
 
copyToRealm inserts the object into realm and returns the managed object
insert just does the insertion, hence it is much faster
I only recently learned about this, and have almost no use for a managed object at times where I'm inserting data into realm. So I am replaced most of my copy's by inserts
 
2:25 PM
how can i make a subClass internal to parentClass, but still keep subClass in separate file?
 
what do you mean by internal ?
 
I think he means inner
 
class parent{ class child{} }
 
it's called an inner class
 
if it is declared as inner how would you have it in a separate file ?
 
2:27 PM
can i keep this inner class in separate file because my activity class is 800 lines already?
 
the whole concept is to have it inside, otherwise you would have created a regular class ..
why not make it on a separate file and declare in it getters and setters
 
inner class is an AsyncTask which updates variables in parent class.
should i set them using setters of parent, or by making these variables static?
 
setters / getters
avoid static variables as much as you can.
 
thanks, sure.
 
You can make it package private by omitting the access modifier
 
2:35 PM
yes, you're right.
 
I would use neither getter/setter nor static vars, but a callback
you don't want to have a reference to your activity for using the getter/setter
 
o/
 
o/
 
Yes, that's the correct way for asyncs.
 
2:50 PM
o/
 
KodeZauber \o
 
@TimCastelijns I'm pretty sure I use the RealmObject after adding it to Realm
 
Ok then you're good :)
 
Thanks for the info though :)
 
Tim, I should officially change my s/n. I like that :)
 
2:57 PM
s/n ?
 
son's name
 
surname
 
cM, if you don't, I might
 
smurf name?
haha...go for it
 
lol not really
I just want to pressure you into doing it
 
2:59 PM
No seriously what is it
I can't tell who's trolling
unless everyone is
 
I figured ;)
everyone is
screen name
 
What's wrong with codeMagic?!
 
I was assuming that s/n stands for stackoverflow name
 
that works too
Nothing is wrong with it. But KodeZauber sounds cool too
 
It just sounds so powerful
 
3:01 PM
Maybe I'll create a new League of Legends account and use it there
 
and all the german guys will approve
 
kodeBuff
 
You mean KotZauber :)
 
ZodeKauber is better
 
Zodeka
 
3:06 PM
but ZodeKauber doesn't mean anything :P
 
Exactly
You can make your own meaning
 
What's a KotZauber?
 
Basically, shitmagic
 
thanks for the upvote cM
 
:)
:( I'll stick with KodeZauber then
 
3:13 PM
Love it
 
KotHause
 
Does anyone of you use Dagger2?
 
I do
 
3:32 PM
I use the infinitely less sharp version :)
 
Do you see it as nice-to-have or more like must-have?
 
are you sure you have understood its purpose ?
 
Yes, and the question still stands.
 
in regards to dagger I would answer neither. Conversely, If you ask - should I use dependency injection - then I would answer must-have.
 
3:45 PM
AdventofCode today was easyyyyy
@OcuS
 
that was the easiest of all, for now
 
Sadly there's many people like this in tech: i.imgur.com/r0W0Z6p.jpg
 
30 lines :D noob
we have similar solutions tristan :)
 
15 lines (part 1 + part 2) repl.it/EhRQ/2
 
@Blackbelt, I never used a DI framework. What would be the difference between well refactoring and decoupling your code and using a DI framework?
 
3:50 PM
Don't ping me
 
Tristan, nice commit messages
 
lol
 
Dagger is an injector - not a DI framework
 
I see
 
3:53 PM
gotta go - ttyl
 
o/
 
see ya later, orb!
PeeHaa in da haus
 
Yo bitches! m/f
 
lol
 

« first day (2243 days earlier)      last day (2712 days later) »