« first day (1851 days earlier)      last day (3104 days later) » 

12:27 AM
the new xkcd is so good
 
tfw watching the Udacity Material Design course and the guy shows his build.gradle file and there's a Jake Wharton library
 
12:46 AM
lol
 
mr5
@Eenvincible is that real?
 
1:03 AM
o/ ola
 
mr5
\o
moy bien
 
mr5
1:33 AM
Is there a particular reason to have reference for a Runnable?
 
What you mean?
 
mr5
a variable that holds a reference for the Runnable
Because I mostly see (new Runnable() {})
 
@McAdam331 eh? have you ever met an android developer who doesn't know him?
it's a very popular library, why are you surprised?
 
Hello everyone
 
Jake Wharton is the man
 
1:42 AM
I like his boss's presentation style better
 
His boss?
 
Someone talk to meh
 
yeah, his boss, hold on
finding the talk
 
Hey Tris
 
1:43 AM
Hey Lawrence lol, I'm bored
 
yo @TristanWiley
 
Damn that ping was loud, hello new circle.
 
this guy @LawGimenez infoq.com/author/Eric-Burke
sorry #Tris xD
 
Bookmarked it Leo
 
Tristan, not Tris. Tris is reserved for my girlfriend and @McAdam331
 
1:45 AM
Yo Tristan
 
fine, Tristan
xD
 
mr5
so Mc is Tristan's gf?
 
rofl
was thinking the same
 
Adam is not a female xD
 
mr5
But you just said he's your gf?
 
1:47 AM
Nope, I said my girlfriend AND Adam can call me Tris
 
ok ok, so you treat them the same
and different to the rest of us
 
Yep, basically
 
how sad ;(
 
j/k lol
btw we have a traffic light today
 
1:49 AM
Yep
 
night peeps
 
Night
 
oh before I leave
this talks is good
 
mr5
I can't decide if I will implement Runnable or extend the Thread
 
Depending on the scope of that function
If you want it a quick thread process, just use an anonymous Runnable
 
2:02 AM
oh you know about RxJava @Ahmad?
 
@Ahmad What is the butterknife library for? I only know of Jake wharton because of you guys.
 
Square's libraries are the best
 
mr5
Didn't know Jake Wharton
because I'm still a newbie
 
@McAdam331 basically it's some annotations that helps you eliminate verbose findViewById()
 
Oh okay
Kotlin can do that too which is really cool
 
2:09 AM
same to the new DataBinding
 
mr5
annotation is slowly becoming a template
 
I haven't tried Kotlin yet, is it easy to integrate in Android Studio?
 
mr5
in the future, we can insert code there
 
the code looks so different
 
o/
Who's the new ball?
 
2:12 AM
It is easy to integrate into AS
There's a plugin
^That's what I meant about eliminating findViewById() in kotlin
 
oh I see
 
I was ignored
:(
 
mr5
:(
 
I dont get the "Bro do you even code" thing
 
mr5
My sympathy and regards
 
2:16 AM
Thanks mr mime
 
Is that an insult?
 
mr5
yep, I think Law
 
It is
 
mr5
it's to point out that your code is horrible
like you use while loop instead of for loop
 
mr5
2:18 AM
and use a Runnable instead of Thread
he controls the cat with his hand
 
user457812
Woo iPad Pro soon
 
or when you write something then Android Studio suggests you a better way lol
 
mr5
you can notice his drumming skill is not good though :|
 
Whats wrong with using while loop?
 
I forgot the word for that even on my native language lol
 
user457812
2:21 AM
Esperanto?
 
But it's like when you have a phrase, and create another one based on the first one, to tell the same thing on a different context.
 
user457812
Analogy?
 
Like: "Bro do you even lift?" which is said to the ones who try to do something that requires strength and fail on it
Almost that nil
 
user457812
Nevermind.
 
user457812
You said "Bro do you even lift" and my brain just went "this is not something to bother thinking about"
 
user457812
2:23 AM
I need to just skip tomorrow somehow
 
user457812
So I can order an iPad Pro sooner
 
mr5
uhh @McAdam331 this is your fault! That drake songs keeps playing in my head
 
My native language is portuguese lol
 
mr5
And that fantastic dance
 
user457812
2:23 AM
Here, this'll get it out of your head.
 
mr5
what's that?
 
@mr5 YOU USED TO CALL ME ON MY CELL PHOOONE
 
user457812
Music.
 
mr5
yeah it does! haha
 
2:24 AM
LOL
that song is so stupid
 
LOL
 
user457812
Also great.
 
mr5
@McAdam331 LATE NIGHT WHEN YOU NEED MY LOOOVE
 
the cat is really great
after that the owner andy eat the cat
 
2:25 AM
we only eat dogs #justasianthing
 
mr5
bruh that's obvious
 
user457812
If you want to see something eat a cat, you should watch Lily C.A.T.
 
mr5
they'll get used to it
 
LOL
 
mr5
AND I KNOW WHEN THAT HOTLINE BLING
THAT CAN ONLY MEAN ONE THING
 
user457812
Screw it, I'm just going to post undertale stuff now.
 
mr5
I KNOW WHEN THAT HOTLINE BLING
THAT CAN ONLY MEAN ONE THING
 
EVER SINCE I LEFT THE CITY YOUUUU
 
user457812
Oh, you said the word hotline
 
mr5
2:28 AM
^ drake fan and is dancing that dance craze
it's Mc I'm referring no offense nil xD
 
i love that tennis one haha
 
@McAdam331 DON'T IGNORE MEEEEEE
 
2:30 AM
Mauker plz
 
where is that guy in white from mr5?
 
mr5
dunno. I think some dancer of 70s?
 
that dance is even more catchy lol
 
mr5
McAdam is doing that dance now
 
2:32 AM
@McAdam331 I'LL PING YOU TO DEATH
@McAdam331 AND DAMMIT, THEY'VE TAKEN OUR IDEA
 
mr5
@McAdam331 please upload your vid dancing with hotline bling song
 
I'll do it for $20.
 
@McAdam331 Doon't forget the keystore
 
user457812
Here, have an entire album
 
mr5
2:33 AM
haha
I KNOW WHEN THAT HOTLINE BLING
THAT CAN ONLY MEAN ONE THING
 
user457812
Oh look more music
 
user457812
More. ಠ_ಠ
 
mr5
I know you really want this vid nil to be posted here
 
mr5
YOU USED TO CALL ME ON MY CELLPHOOONE
I know you guys going crazy about it so here's the official video of HOTLINE BLING by DRAKE
 
user457812
I don't know who drave is but I'm not clicking them
 
Drave is like meth, not even once
 
I know when that hotline bling
That can only mean one thing
 
mr5
the beat stuck in my head
"Drake the type of nigga to lick his finger before turning the page on an iPad."
 
2:42 AM
ever since i left the city you you YOU
 
mr5
YouTube comments are the best lol
 
LOL
 
user457812
You should just go listen to more retro/synth-wave music
 
like?
 
user457812
2:45 AM
Like all the stuff I linked.
 
Liked the song
Will start that
It's also my kind of music
 
mr5
and the Hotline bling
 
Im into rap a lot
 
user457812
I'm into anything that sounds great while programming
 
user457812
Which is what I've linked so far.
 
mr5
2:53 AM
I'm into any music that matches my current mood
And my current mood is hotline bling
That can only mean one thing
 
OMG
stop it mr5 lol
 
mr5
EVER SINCE I LEFT THE CITY YOU!
 
user457812
points to all the music he linked
 
user457812
That is the current mood for everything.
 
user457812
 
user457812
Also good.
 
user457812
I have no idea what it is though.
 
mr5
3:08 AM
I'm making a command queue polling service
And this is my implementation
What do you guys think?
 
My old boss want me to work for him again
:o
 
mr5
That can only mean one thing
 
He wants the D(eveloper)
 
mr5
so did he call you in your cellphoone?
 
He did
 
mr5
3:10 AM
late night when he needs your service?
@Mauker ?
 
Oh it wasn't right now hahahahaha
 
user457812
I'd be wary of an old boss trying to get me back
 
Why?
I know why I had to leave and why he wants me back
 
mr5
Oh guys you don't get the joke -_-
 
I do mr mime hahahaha
 
mr5
3:14 AM
no you don't
 
I do
he wants my "late services" ( ͡° ͜ʖ ͡°)
 
mr5
no
I'm singing the lyrics of Drake's Hotline bling
How could you not know it? Y_Y
 
Ohhhhhhh
oh damn
hahahahah
 
rap makes your vibe pumped up
If you see a bug, just shoot it
 
user457812
That's a lousy attitude.
 
3:27 AM
Whuuut
Where's the love bro?
 
user457812
Nowhere. I haven't heard any rap that suits me yet.
 
user457812
I have, however, had four cups of coffee today.
 
Test device?
 
No, main phone
the old one will be the test device
 
user457812
3:31 AM
I only buy iPhones now.
 
Looks decent
 
Gave up on them
 
Nil smh
 
on iPhones
 
user457812
Learned my lesson from the absolute awfulness of Android stuff right now
 
3:32 AM
Well if it suits you
 
user457812
It's frustrating. Google tries every year to introduce some new measure that OEMs and carriers are supposedly all in on that should make Android better, and then it falls apart within a month, crashes, burns, and next year they do it again.
 
user457812
Android tablets are still awful, and almost everything that isn't Google's has micropayments out the ass.
 
user457812
Cyanogen and One Plus might be the closest anyone will get to what Google actually ought to do.
 
Why cant I execute my Go executable on the server Nil? It says permissions, it's because Im not root?
 
user457812
I don't know.
 
user457812
3:35 AM
I'm not on your server.
 
user457812
What's it say if you do file yourexecutable?
 
user457812
Assuming you're on a server with file
 
64-bit LSB executable, x86_64
I compiled the correct one bec before it was giving out wrong Arch something
 
user457812
What're the permissions on it?
 
But Im not root, so I guess that's the reason.
I chmod it to 777
Read write and ex
 
3:37 AM
@nil Motorola is doing a good job with Android lately. That's why I chose that phone
 
user457812
Are you trying to open any ports?
 
Ok, not yet. What about ports?
 
user457812
Well, it'd crash after running, so probably not that.
 
user457812
Who owns the file?
 
Anyone
 
user457812
3:38 AM
No, user and group.
 
user457812
Who owns the file?
 
I guess all group, isnt it included in 777?
 
no
 
user457812
Who
 
777 means anyone can modify read and execute
check with ls -l
 
3:38 AM
Ow right
 
user457812
What distro?
 
user457812
How did you build it?
 
Only the user im logging in, no root
Server is on Debian
 
user457812
Are you using selinux?
 
user457812
apparmor?
 
3:40 AM
Im on Mac, I compiled it GOOS=linux go build some-script.go
I need root access I guess?
 
user457812
FreeBSD isn't Linux.
 
user457812
Are you using selinux or apparmor?
 
Nope none
 
user457812
I can't really think of what could be going wrong.
 
user457812
I'd say delete the binary on the server and your machine and rebuild it.
 
3:41 AM
yeh, I'll try that
 
user457812
Was there anything in the syslog or dmesg?
 
mr5
Should I mark the variable volatile if it will be accessed and modified by the other thread?
 
user457812
In what?
 
Not sure bout syslog
 
THESE DAYS ALL I DO IS WONDER IF YOU'RE BENDING OVER BACKWARD FOR SOMEONE ELSE
 
mr5
3:44 AM
That can only mean one thing
 
user457812
You probably shouldn't use volatile in Java. You definitely shouldn't use volatile in C or C++ because the chance that you know what it's doing is slim.
 
mr5
The consequences are these: I have a running Service that serves as a bridge from a device that advertised data(Bluetooth), to a client which is an Activity. Now I want to make a command queue polling service, that will execute those commands and the function is located under the Service
And I want to detect if the Service is still up while the command queue polling service is executing
First comes to my mind is, make variable from the Service the determines if it is still up
And the Service has the Queue of commands
Should I marked that queue as volatile?
since it will be accessed by it's own thread and the other?
 
user457812
No, because that's bad.
 
user457812
Either use an atomic or synchronize.
 
user457812
Or third, use communication
 
mr5
3:56 AM
communication like...?
 
user457812
Channels
 
user457812
Up to you to figure out how to do that in Java 'cause it's probably unpleasant.
 
user457812
Either way, what you suggested creates a data race.
 
mr5
ohgawd
what have I bitten off
brb lunch time
 
user457812
Welcome to threads. If the language isn't built for it, using them sucks immensely.
 
user457812
3:59 AM
Java isn't built for it.
 
What's a good multithread language?
(And yeah, I have Threads on Java)
 
user457812
Depends on whether you want to focus on concurrency or parallelism
 
For concurrency then
 
user457812
Erlang (and Elixir) and Go are both kind of the best at making concurrency natural right now.
 
user457812
I believe Rust also has stuff built in, but I don't know how its scheduler works or if it has one
 
user457812
If you don't know who Rob Pike is, just keep in mind that you're always using at least one thing he worked on.
 
Don't you remove on me Adam
 
I'll do what I want
 
FINALLY AN ANSWER
I can sleep now
 
<3
 
4:12 AM
<3
 
user457812
Watch Rob Pike ಠ_ಠ
 
I am
 
user457812
Pike's talks are always neat.
 
I'm liking this one
 
I have a Kotlin question
do you still use JavaDocs?
for documenting methods and such
 
4:16 AM
I do
 
Hmm
so when I switch my project to kotlin
I have a class that implements base columns with means it has the ._ID attribute, but it's not recognizing that member.
Also kotlin won't let me do cursorAdapter.swapCursor(null) anymore.
wat
Related:
18
Q: Overriding static methods in java

user2395360i know that we cannot override static methods in java. I read here why: but can someone explain the following code: class A { public static void a() { System.out.println("A.a()"); } } class B extends A { public static void a() { System.out.println("B.a()"); ...

@DaveS since you like Fallout ^
And also because I feel like I'm talking to myself so I had to ping someone.
 
4:42 AM
omg I can't take you serious anymore because of this @mr5
https://gyazo.com/4bf9aa57ea09ff8b4671032716a5f6df
 
:'D
Mr5 likes the D[rake].
 
I actually laughed out loud lol
 
mr5
^ LoL players will know
 
come on, it's my game ;(
 
mr5
@LeoLink yeah I wonder why they don't get the joke
 
4:46 AM
do you play LoL @mr5
 
mr5
I used to play that game with my friends. We always win because of me (I'm kinda good playing Lux that time) then I realized I can't deny the creeps.
So I switched to DotA 2
Then my life became miserable
I only have 20% chance of winning every match
And my MMR(match making rate) is below average
 
:p
I played dota 1 for 4 years
 

« first day (1851 days earlier)      last day (3104 days later) »