« first day (2533 days earlier)      last day (2638 days later) » 

00:11
hello, Android!
got a meetup tonight in about 20 mins
01:06
@Mauker It's probably saying instead of "if (condition) return" you can right "return if (condition)" I think. Is that what you were seeing?
01:50
Java 9 released!
 
3 hours later…
04:40
o/
@MehdiB. What's it do?
04:56
GM ALL :3
 
1 hour later…
06:19
Gooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!! :D
GOOD MORNING EVERYONE
OH
IF ANYONE WANTS THE GAME OUTLAST + WHISTLEBLOWER FOR FREE
VGMMMMMMM WOMP3R
HUMBLEBUNDLE
Struggle for paellaland. lovely name for a book indeed
Hiya Tim, Cat!!!! :D
i will make our designer draw a catalonia-sized paella pan with rice inside
and red pepper cut as the main monuments
nice
(I'll want to see it)
Gooood morning
@CptEric @W0MP3R Hows situation over there?
tense. spanish police was sent on looney tunes cruiser ships, but hte ports refuse to offer them services or docking
morning all
no detentions today
22K people have been demonstrating since yesteday morning infront of the justice palace
because of the 14 detained only 7 have been fred
in lleida?
06:58
and today 9AM expires the time to free them
barcelona
after 9AM, it's illegal detention
I'm sure it will be fine. They have 2 more minutes after all
Really difficult time for you guys.
of those 22k, 1k has been sleeping there as protest. the rest will come back after work / this morning
all unis except Lleida uni have ceased all classes
but our rector is a fascist asshole, so it's not strange
he writes or co-authors apologist books about the transition and franco from time to time
yeah i think it will be fine
07:01
the UB campus held a massive demo yesterday that ended at 6am today
concerts & all, all groups for free
dave or james?
Francisco
hitler's fat Bromance.
oh, different franco
07:03
I need about 3 beautiful locations for potential holiday destination, can be anywhere
dave of james? xDD
1) -> catalan coast
2) -> catalan pyrinees
3) -> Cantabria
i'd say here but with how things are going....
4) -> LLeida <3
option number 2 is the best
they give no shit of what happens below the 800m altitude point
and the skying centers are cheap AF
some have a 20-30€/day forfait
1) Catalan
07:05
world coud crumble and they would still be up there, speaking occitan and watching cool stuff like a fucking giant river sprawling from nowhere
2)France
3) India/Indonesia China
money is not important
then i reccomend a little of catalonia and Andorra
if it's for winter
or costa brava if it's for next summer
looking for specifics, not just countries
okay
07:06
okay
beautiful as land
or as buildings?
what type of destination you want?
St. Maurice Lake, catalonia :
island or mountains?
brokenwaters, just above that lake:
viella, 1h away from those lakes
07:08
are those holiday destinations? Or just places you spend a day at
holiday destinations
hotels, commodities, spas
the brokenwaters area takes 4 days to trip around , and you rent cabins
they're cheap and comfy.
^that is Taull church, not far from andorra or viella.
well i knew only about india for holiday destination :(
^andorra-the-old, capital of andorra, the oldest pricipalty left
I see you are a tiny little bit biased towards locations near catalonia
lol tiny little bit
07:10
preposterous
we have here
biased, we??
pfff
baqueira sky resosrt
we are not biased. we have almost every single climate and location type existing
1)Leh-Ladakh
2)NE trip
3) Shimla
4) Rajasthan
5)Gujrat
6)Goa
7)Puducherry
8)Andaman and Nicobar Islands
07:12
xD
you want carribean beaches? check. european beaches ? check. giant lakes? check. small ponds? check. giant mountains? check. giant valleys? check. -18ºC snow? check. >44ºC beaches? check.
eric same we have all types of climate and location
nah no snow
I go on holiday to chill, not to freeze
07:14
@TimCastelijns works anyway lol
yup no snow. i see people enjoy having a dip in freezing water
go to paris
you mean dutch people?
oh boy
nope he mean people
07:15
no any one.
this reddit threat is going to kill me
boring job. I have to append new lines by calculating how many products are on sale which will be printed via bluetooth on pages. But no page wasting cause they have T&C printed on the back and no half page print.
wait wtf
this is not your job
yup not my job but i am forced to. And i have been fixing NumberFormatExceptions which should really be done by a junior dev.
apparently he went to his home town without informing
07:27
:/
D:
what a poop person!!
ò.ó
kick that junior ass
POOP
i'm teaching our new android intern to scrap websites for links
your padawan??
07:31
kinda. it's a shared padawan
nice!!
and it's going fine??
he just started with java.
oh
damn poop
he's probably learn more with us than in ilerna lol
he knows how to use hashmaps already
and for( element : arraylist){}
like a octopus on a garage
nice!!!
07:32
yeah
mind your language young lady
srry
i'll try D:
nice eric
mind your language young dutch
10 hail mary's
for this grave sin
07:33
if i do that i'll burn ^
@CarlAnderson: Thank you for the ans :) But that is not the real point I am trying to ask. I am trying to know if there is a difference between using an anonymous inner class (object of a interface), as event-callbacks vs implementing the interface and then using this as event-callback listener.
@TimCastelijns what does that mean?
it's some kind of prayer
07:35
oh
@ColdFire Cool one
what kind of difference are you looking for Zeek
Soon Rann Utsav will be started.
in Gujrat right
07:40
Yes
oh yeah i think people say something like that in churches
Visit in nov-dec.
its been a while
@TimCastelijns releated to life-cycles. for a case like : ClassA is event dispatcher. And if ClassB start ClassA and wants to get events, ClassB can register event listener (using an interface from ClassA) using anonymous inner class, or ClassB can implement that interface and register itself as event listener.
Also assume that ClassB keeps a reference to this listener using weak-reference.

In the latter case (ClassB implements the interface), the listener will be alive as long as ClassB, while in the case where ClassB registers a anonymous inner class as listener, the listener, having onl
i don't know what you're talking about
but have a cookie
07:43
yes that is correct
seems correct to me
I'm not sure what memory leaks have to do with this
well not directly ofc, but we are using weak-reference to prevent memory leak. and if that prevents event-listener from getting the events, that is still a problem. (not related to memory leaks, but a different problem)
if that is a problem, why don't you use a strong reference and clean it up properly
07:48
Yeah. That is right. with methods like register/uregister. But after reading lot of memory-leaks Q&A, all just saying that : "use a weak-reference", I was wondering if such a problem will occur on not.
*or
have you actually encountered this problem?
I suppose not
why do you think so ? I mean .. is it rare for GC to behave like that ?
and I havent encountered such a problem, because I havent been using weak-references, so I might be creating memory-leaks
I'm just looking if you're trying to fix a problem that doesn't exist
all this was thought-experimenting things.
okay. Maybe I am :)
how I understand it, weak references can never produce memory leaks, because they are weak they can be GCed
Strong references provide more flexibility, but bring the responsibility of manual clean up
and those are not GCed automatically
I can be wrong of course
you can use LeakCanary to monitor memory leaks in your app
07:54
agree.
@TimCastelijns Got it ! Thanks :)
that was a big help
zeek you can test this with a sample code and leak canary.
will do :)
TimTheTeacher
but you cannot say that you should always use either strong or weak. It depends on the scenario
07:56
yup use Leakcanary +1
all the square libs are nice
i use Leakcanary many times
the junior dev has not even enabled proguard. dam
same I have never used proguard
08:00
always use proguard
i am using it since my first app
all release .apk with proguard enabled
should also check the .apk size. its 8.7MB. need to reduce the size as well
08:22
@Mehdi
@TimCastelijns : for example this : developer.android.com/reference/android/support/v4/media/…, android.os.Bundle, android.support.v4.media.MediaBrowserServiceCompat.Result<android.os.Bundle>)
YAY
my padawan now writes a whole site's map into a .txt
with tabs on the recursivity
I am assuming that, to prevent leaks, they should hold the Result object using weak-reference
page 1
--| Page 1.X
Page 2
--| Page 2.X
--| Page 2.x+1
----| Page2.x+1.x
and if that is the case, one should first use a global variable in the main class, to initialize the Result object, and then pass it to this method
08:29
nice
nice eric
writing ot files is slow tho
to*
or maybe, they are using strong-reference and when disconnect() method is called, they might be freeing it up.
but now you can just pop a URL onto the params and it prints the whole stuff
^^
next step, scrap the whole HTML out of it
mwa.ha.ha
08:31
and print it on the console <dramatic music>
nah
i'm not that bad.
eric are daily activities going on as normal in catalan?
that link is not working right . the onCustomAction() method of the MediaBrowserServiceCompat class
@ColdFire kinda
oh then that is good
the catalan government just paid the salary to all it's employees 10 days before
08:34
I don't know what you are talking about honestly
just incase shit goes south they have cash
so that's nice
wow nice of them
@TimCastelijns : let me try explain (maybe I am worrying too much ?) If a FragmentA starts MediaBrowserServiceCompat and sends a custom action using `onCustomAction()`. It can receive events back using the `Result` argument (of MediaBrowserServiceCompat` type) . right ?

Now, what If, for some custom action, that takes long, my FragmentA has already been killed ?
easy with the pings
he is here only
oops ! sorry ! I should use name directly (without pings)
08:39
gooood morniiiing anyone! o/
morning ocus
\o CF
wazzup?
nothing much getting my projects to compile
most of it done
java9 ? ^^
naah android only
08:42
oh. java1 then, olololol
lol
what about you?
@ZeekHuge how can the fragment be killed if the user is browsing media while in the fragment?
preparing next Tuesday release, merging, packaging, testing, etc
and starting to work on the v3.0 of the project. exciting :)
08:46
wait... the internet is broken?
wait no
but he looks like him
and nobody told me... :'(
kinda.
dunno.
guess we are talking to cached versions of ourselves
08:47
--cache-clean is enabled on me
maybe that's why i forget my lunch most days
soon we'll have 2 Internets, with EFF leaving W3C
does that mean that people that die just run out of timeout?
Tim : Is MediaBrowserServiceCompat only responsible to help in browsing media data and not in actually playing and managing the mediaPlayer ?
who is the idiot that set up a timeout? surely you, jeff
i don't care if it's a standard.
that kills people jeff.
08:48
I have never used that class but I can tell by the name that it is only a browser
i can tell that it's compat
so keep your play services updated
It's also possible that google gave it some dumbass name btw, and that would make me wrong
the catalan police detains a new yihadist while the spanish police is sleepin inside a looney tunes ship.
> Media browse services enable applications to browse media content provided by an application and ask the application to start playing it.
look there we have it, breach of SoC
08:51
omg
> the catalan church joins the pro referendum movement, 300 priests and bishops adhere to a text for freedom of speech, freedom of think, and self determination.
\o netpork
bro even the conservative church is against the gov :/
08:53
Tim : looks like they are using it to even manage the mediaPlayer and not just to browser it github.com/googlesamples/android-UniversalMusicPlayer/blob/…
yes, quite bad
so that is the case I have. If the service lives on (since it is playing music, or performing some long action on it), while the fragment gets killed.
Haha ! I guess, I should actually test it
and not just conduct thought experiments on it
the same applies here and in all other cases as well
choose between weak or strong and make sure to clean up if needed
nice for you eric
can this be shorter in java7?
for (Connection connection : response) {
ids.add(connection.getId());
}
09:02
why would you want to make it shorter?
because I have 3 of them in a row and it looks ugly AF
oh. dunno response.foreach( (connection) => {

}); ?
oh well
but it takes the same lines
its already short enough
09:03
in python it's just 1 line :(
oh boy
make it a one liner
oh well python :(
breakfast got eaten so fast
for (Connection connection : response) { ids.add(connection.getId()); }
09:04
puke
you asked for less lines
it didn't have to be pretty
Aaand I'm back to doing golang
how od you make it in python?
hopefully no JSON this time
ids = [connection.id for connection in response]
09:06
hideous as fuck.
it's the most beautiful piece of code ever written
rm -rf /home/timcastelijns/Development/*
^That's the most beautiful piece of code ever written
rm -rf Realm
5
09:22
rofl
plz, i don't know computer
can someone explain it to me??
rm (remove)
-rf (-r -f) (--recursive --force)
Ty Tim
i'll be eternally grateful
tim will die last
don't get scared if some panda goes out of his/her way to give you some cuddles
09:30
lol
what the poop is that "new" button D:
Pain in the ass.
Stack Overflow Salary Calculator

Find out what developers like you are earning.
I really don't want to try it anyday.
It hurts :D
-18
Q: Announcement: New feature notification

Joe FriendBackground We’re kicking off the first bit of work that will allow us to better communicate with members and visitors via the website. This work will be done incrementally over the coming months. Ultimately it will work across the entire Stack Exchange network, but initial usage will focus on St...

i don't like it
ò.ó
09:34
-19
@W0MP3R where
You all getting chance to pull moderator. :D
home stackoverflow
I'm a product manager @ Stack Overflow
Woah...
click on the grey X to make the button vanish
09:35
> Note: I’m posting this from a plane
Cool story, bro.
yay~~
> We currently only have salary estimates for the United States, Canada, the United Kingdom, France, and Germany. Help us expand our coverage by adding your salary
^ thanks, no thanks
same here
09:37
From now on, I'll append all my communication with "Note: I'm posting from a hot-air-balloon"
^ that's so cool
"Note: I'm posting from cell 623"
Prison/SE
xD
there has been a thing buggin us at work for days
today, I digged through tones of lines of code
to find that there was a == where it should be a !=
lmao ocus
lol womp little things that trouble us
09:53
seems I am payed not enough...

« first day (2533 days earlier)      last day (2638 days later) »