« first day (2111 days earlier)      last day (2837 days later) » 

12:21 AM
@Ahmad and @RaghavSood we have reservations for 12:15 at the pink door on Saturday.
See you there!
 
1:10 AM
0
Q: Why does my app stop working when I switch the place of elements?

MostafaUTDI'm writing a simple application which sets "yes" to such a TextView (its value is "no" by default) when I click on a button (the Button is next to the TextView). All fine .. It works perfectly. So what's the problem? When I close the program and then switch the place of them (both the button an...

 
1:28 AM
lol the democratic national convention is half empty now because all the bernie people walked out
 
lol
I have it on in the background but I'm not really watching
 
clinton's off to a rough start
 
1:46 AM
really?
 
So... who's the most popular third party so far? I think that is probably the better choice....
 
check all the top posts here
gary johnson is 3rd
 
Hmm... going to have to look this guy up. If all else fails, guess I'm writing someone in.
 
I'd call myself a libertarian but he's not much of one.
 
Wow so Bernie came out on the floor and pushed for Hill?
 
1:52 AM
johnson is probably the best option though
yeah he stayed in line, despite all the revelations that the DNC worked against him the whole primary
The committee chair stepped down because of the email leaks, and then hillary hired her for her campaign
 
I don't blame the guy. He pushed hard for some of his ideals to go through.
It's better to get some stuff then none.
 
lol none of his ideas are gonna go through under hillary
 
Well, they are butchered up versions, but still kind of there.
 
but it doesn't matter to her, she just wants the votes and then she's happy
doesn't look like she's going to get them now though
 
After the email debacle, no.
Then again, she didn't have very many of them to begin with.
well, looks like our country is stuck between choosing a moron and an idiot.
 
1:58 AM
it's better that way IMO
obama could get away with so much because everyone loved him
 
Think it'll make for a stronger third party support next election?
 
I just think it's better for people to be skeptical of those in charge
 
Anyways, way too late at work now.
Night all!
 
o/
 
2:35 AM
Can't sleep
 
@rlemon It's sad, but I actually want to play it.
 
3:14 AM
@TristanWiley riskyclicker.com
 
Oh nice
I haven't gotten anything NSFW yet
 
mr5
o/
Anybody still using SVN here in Android Studio?
 
I got 84 clicks
 
There is still SVN?
 
mr5
3:30 AM
yep. hehe
I accidentally clicked "sfw" for a really not safe for work image. Am I a bad person?
 
3:47 AM
Well, I clicked 3 times... then got nfsw
 
5 clicks for me
 
I made another Chrome extension
 
mr5
uhh I missed the AMA of Android Engr. I have a lot of questions to ask
like, are there any plans to switch from immediate mode instead of retain mode <- I think this is the main reason why the animations still suck in Android
also they could adapt the technique used by CoreAnimations in iOS such as layering
 
4:12 AM
animations are fine if you don't use fragments and only one activity
 
4:24 AM
finally booking.com guys decided to give me another shot!
 
mr5
@eski how about the delay transition when swiping the "quick settings/notifications panel"? This seems to be a normal behaviour but it isn't.
and you can notice this lag on all Android devices
 
4:49 AM
@carl sounds good! :D
 
5:17 AM
Morning
 
5:30 AM
\o
 
5:43 AM
im in the process of writing unit tests for that right now
 
@NitinSood You need at least 80 rep to talk here
 
is he your brother?
 
Nope
@CarlAnderson Sounds good, thank you!
 
mr5
lol
 
5:56 AM
o/
 
@Saveen welcome to the room. Please read the rules before you participate: room-15.github.io
 
Bhargav, improve formatting in your gist as a first improvement
 
mr5
@Bhargav instead of checking for listener nullability all the time, why not just validate it through constructor? Additional note
 
sigh
They never learn
 
5:58 AM
@Saveen and write permissions revoked
 
Huh
Saveen and Nitin Sood seem to be the same person
 
mr5
@Saveen what is the issue specifically? Does the service starts or not?
 
he can't talk anymore
 
mr5
why so harsh...
 
6:00 AM
because he didn't even pretend to have read the rules
 
mr5 I want to be able to pass null as the listener
thats why
 
Not reading the rules, help vamping
 
only call listener methods if listener is not null
 
that as well
 
6:01 AM
his messages seemed prepared (like copy&paste style)
 
mr5
ookay
 
hey guys gm
 
Raghav, do I have to know Nitin Sood? A black sheep of your family maybe? :D
 
xD
 
mr5
lool
 
6:03 AM
19 mins ago, by Raghav Sood
@NitinSood You need at least 80 rep to talk here
 
he denied any and all relations to Nitin Sood immediately after my question, if you ask me behaviour like that seems very suspicious to me
 
mr5
@Bhargav are you into optimization or just readability?
 
optimization
 
lol
well not all sood are raghav relatives you know
 
Thats how you deal with black sheeps in your family. Denial, heavy and full denial! :D
 
6:05 AM
like are there situations where im doing multiple transactions to db when I can take care of it in one transactions etc @mr5
 
mr5
well, I might just asks you questions about Realm since I haven't used it before.
 
sure
LOL! you need to accept black sheeps after all they're still family
 
Bhargav: my suggestion for your gist: use more NonNull/Nullable annotations, especially on members , plus final for parameters
 
mr5
does Real#commit executes db transaction on the fly?
or are there any equivalent like SharedPreferences#apply instead of SharePreferences#commit just to minimize IO operations
 
yes according to docs anyway, you cant do commit or any other transaction from a different thread in Realm
multi threading is not supported
 
6:08 AM
@WarrenFaith There is no room for mediocrity here!
 
you have to always do transactions to realm and accesses from the same thread the realm was instantiated
a huge disadvantage if you ask me, but saves the developer from race conditions too so meh
 
mr5
they could used the SQlite's built-in mutli-threading support or that single thread with serialization. I wonder why they didn't
 
they dont use Sqlite
realm is a completely different Database system built from ground up
 
mr5
o
 
there is no sqlite or SQL used anywhere in the Realm stack
 
mr5
6:12 AM
I think I somehow understand why they did that. Creating a db communications without the use of strings.
 
Realam uses C++
 
good morning
 
do I really have to use a Binder to test a service? :(
 
raghav that yahoo info you shared can you pls share again
 
I have no idea what you're talking about
 
6:14 AM
yahoo sold info
 
three ways: google, browser history or check raghavs chat history
 
mr5
@Bhargav (just a ridiculous suggestion) perhaps, redesign your queue like it has an entry point to begin any transactions, such that RealmQueue#beginTransaction#add#delete#count#endTransaction? :D
 
hmmm thats actually a good suggestion
only need to perform begin transaction for writes, dont need to do it for reads
 
mr5
and for the function that returns something such as boolean, just throw immediately if something bad happens
 
thats from the Collections interface I cant change that signature
 
mr5
6:19 AM
but the syntax might end horrible though
oh yeah I forgot
 
the methods that return boolean arent supposed to throw exceptions according to the docs
 
mr5
or hide&finalize those overriden functions and overload your own?
 
or wait what you said is correct actually
> If a collection does not yet contain an object that is to be added and adding the object fails, this method must throw an appropriate unchecked Exception.
 
@RaghavSood are you a vampire? you never sleep :O
 
ok i got some rewriting to do thanks mr5
 
6:23 AM
19 hours ago, by WarrenFaith
Raghav just need 13m37s sleep, if you know what I mean :D
 
mr5
@Bhargav hah! goodluck xD
 
Raghav , Your time starts now :)
13:37 must be power NAP.
 
and im also thinking maybe make the class generic and save it NoSql style? xD
ill put that aside for later
 
:hehe raghav :
 
yeah ordered my first batch of holidays
lol true raghav.
i may be the only person in the universe that finds 30 days of paid vacations a lot of days.
i'm too used to not having any :(
 
6:27 AM
30 days sounds good.
 
mr5
@Bhargav don't forget this in order for chaining calls to work
8 mins ago, by mr5
or hide&finalize those overriden functions and overload your own?
 
minimum by law is 24 days in Germany
 
i ordered just a week.
same here
i feel like i'll have to spend them all on christmas
 
24 are casual ?
 
last year i had to.
 
6:30 AM
we can take days from the last year up until end of march
 
Damn, I think this milk's gone sour
There goes my midnight coffee
 
I have 28 now, my wife has (with some benefits for night shift) up to 36
 
I kinda want one of those consulting gigs where they fly you out to fix stuff
 
we can't by law
 
I figure I'll only be able to do that for the next few years
After that it'll either get too taxing, or I'll have more adult responsibilities stuff
So enjoy it while I can
 
6:32 AM
oh and i wanted to show you this
dunno if it's translated, it's amazing ^^
 
Seems fun
 
you get 12 places to choose, yo can remove 1, you pay 150€, pick a date, and you get the flights + 2 hotel nights
and you don't know where you're flying (from those 11 left) until 2 days before
fix price, all the hotels are 4 stars or more
 
RESUMEN
IDA
BARCELONAAVENTURA
09 Sep 2016
Entre las 06:00 y las 00:00
VUELTA
AVENTURABARCELONA
11 Sep 2016
Entre las 06:00 y las 00:00
2 PASAJEROS
TODOS LOS DESTINOS EXCEPTO ESTOCOLMO y GINEBRA
TOTAL 310,00€
This is AWESOME
 
@mr5 what do you mean by that? You want me to make the interface methods final and how exactly do you hide them? Also if I do that, I wont be able to pass RealmQueue into methods looking for Collection<> or Queue<>
 
i know
 
6:37 AM
@RonakMehta ??
 
Ankit , Check waynabox.com
 
departing and returning to barcelona, the 9th of september to the 11th, to any random location except stockholm & ginevre , 310€ 2 passengers hotels & taxes included.
that's the translation.
 
yes
 
anyone does package by feature?
 
Groupon
We're in the middle of refactoring for it
 
6:40 AM
package by feature what is that?
you mean package structure by features
 
Java packaging scheme
im doing that right now, though its not perfect
 
good, lets say you have a customized dialogfragment with an adapter and an interface and shit... do you package it as a "feature" or just as a "widget" or "view" package?
 
i guess customview
 
it's reusable?
 
it is
 
6:42 AM
if so i'd choose widget...
but that's me
 
yeah, I tend to do that as well
 
its not specific to a feature for your app thats for certain right?
 
because in general I try to keep "features" like modules, no cross dependencies between them
 
mr5
@Bhargav through composition? create another class which has your RealmQueue. Anyway, that is over engineered I think
 
6:45 AM
yea thats over engineered lol >.<
unnecessary because ill be throwing exceptions like you said in the first place
basically translate the Realm exceptions into my custom ones and throw em
 
warren i see
 
features should be able to have dependencies between them, doesn't make sense otherwise
it wont happen often, but i dont think its taboo
@mr5 what Im most insecure about in the code the is Iterator() method >.<
 
mr5
@Bhargav I don't understand that code xD
I'm just throwing statements I'm not sure about
 
o/
 
@WarrenFaith We have a core package that contains stuff that contributes to the base structure of the app
Networking layer, cache, UI elements/adapters used by multiple features
Database access
A/B testing
All that goes into the core layer
All features build upon core
 
6:56 AM
o/
 
that is basically what I want to do as well, thanks for sharing
 
good structure raghav
can you share a sample structure how you did it
 
ah I was looking for that word "core" now I know where to put all my utils/ camera/ db packages into lol
 
mr5
btw barg, what project is that?
 
so a friend of mine just broke a teeth with the bike.
 
7:01 AM
that project isnt OS yet its a WIP
probably will go OS under my organization's github
even though I wrote the whole thing myself
 
note 2 self : OS = open source
 
depends on context :) Not every OS is OS :P
 
Linux is, OSX and Windows aren't
 
:p
rofl @Bhargav
 
7:04 AM
wait. we should agree on different case settings
OS = Open Source
os = operative system
 
i Agree
 
write it in a single message so that I can star it
 
nah don't worry
XD
 
first of all: OS means operating system, not operative...
second:
OS, O.S., Os, O's, or os may refer to: == Businesses == Ordnance Survey, national mapping agency of Great Britain Austrian Airlines (IATA code OS based on its original name: Österreichische Luftverkehrs AG) O.S. Engines, a Japanese manufacturer of model aircraft engines OutSystems, multinational software company which operates in the agile software development market == People == Alexander Os (born 1980), a Norwegian biathlete Os du Randt (born 1972), a South African rugby player Os Guinness (born 1941), an English author and social critic == Places == OÅ›, Kluczbork County, a village ...
 
7:06 AM
lol
 
> Open source, a software development model
Operating system, a software that manages the hardware and software of a computer
 
yeah not operative
 
in spanish / catalan it's operative
 
operating
 
7:06 AM
In German it is Betriebssystem. So let us stick with that :D
 
Lol I should really get back to learning German
I went on Duolingo yesterday
 
jawohl!
 
I apparently made it pretty far through the course
But their system is terrible for vocab learning
 
I need to learn spanish...
 
I found an easier solution to that. I keep Spanish speaking friends in every city I frequent :D
 
7:08 AM
como estas seniore
 
that's 25% italian
 
the sentence i just wrote?
dafuq why?
 
mr5
I have a question: Suppose you are creating a color-state-list with a varying drawable resolutions (ldpi, mdpi, xxhdpi, etc...). Where should I put this color-state-list? Should I make copy for all resolutions?
 
Ahhh! I forgot the fucking Lisp
 
Do you really need different colours for different densities?
Most state lists are the same regardless
If you don't just put it in res/drawable
 
7:10 AM
seniore is italian
lol warren i teach you for free
 
I will try it with duolingo since babel is too expensive
but I will come back to you, trust me... no better you do not trust me :D
 
I need some good german TV shows to watch
With subs
 
hmm Eric I definitely thought you said 25% italian coz I was missing the lisp :P
 
lisp?
 
lips ?
 
7:14 AM
http://www.imdb.com/title/tt0361748/
you can try this if you have not already
 
I've seen it in English
 
raghav. kobra alert
 
yeah, that tavern scene is great since it is mostly in german
and also you learn some differences
 
you lisp is when you stress the S's like you the a typical spaniard :P
 
7:16 AM
nobody does that here.
i'd probably need an example though
if you mean the use of "z's" instead of "s's" , only rednecks and "inner region villagers" do that.
 
I have document review priviledges! Woo!
Morning
 
morning
and yeah warren feel free to ask
 
congo greame
 
1rst tip : we don't use articles everywhere like in the english language
 
im just kidding eric,
 
7:27 AM
2nd tip : titles are surrogated with the speaking form.
so 'buenos dias señor' = "buenos dias"
^^
you can trust me. we have the highest grades of spain in castillian language and it's not even our native tongue.
buenas
tarde/tardes (afternoon/s) is femenine
 
fixed!
 
lol
 
Why am I still up?
 
because you like the night?
 
50% you're batman
 
7:39 AM
Just because I have a mountain of crap, and sleep upside down, doesn't mean I'm batman.
Just means I'm weird.
 
Congo?
Umbongo Umbongo?
 
\o
 
Ok, done with work. Time to go sleepy bye.
 
bb
 
everytime ankit says congo Graeme's there to make fun of it :P
 
7:53 AM
wow when?
:p
 
mr5
@RaghavSood I mean, color-state-list will have drawables as its elements which are in different resolutions
 
Make fun of it? I don't know what's going on :/
Umbongo Umbogo it's the rythm of the Congo. Not my fault.
 
you damn
now i've got civilization in my head
 
@mr5 If the only difference is the drawable, you can simply use @drawable, and it'll automatically select the right one
Assuming your drawables are in the right folder
This way, your state list can be under res/drawable, with the respective images in their respective folders
 
@PabloBaxter question is why do you wear your underwear on the outside?
 
8:07 AM
He's Superman
 
jpg files are not supported correctly by Android? Anybody can confirm?
 
jpg files are bad in general
 
But you can usually use them
Unless the file is really messed up
 
Picasso or Glide are not loading some jpg files
 
8:13 AM
gradle complains a lot on png's too
image handling as a whole is crap
 
But on iOS all jpgs are loading fine
 
meh not always
i've had problems with some weird color schemed jpg's
259 followers. 9 new this week. neat. people like my playlist apparently.
 
Eric - Catelonia is becoming an independent country?! theguardian.com/world/2016/jul/27/…
 
on our way since 2010
but yeah, today is the parliamentary vote to start the process
 
Good Morning Everyone~~ :D
 
mr5
8:27 AM
@RaghavSood thanks! :)
o/
 
So UK is leaving Europe and Catelonia is leaving Spain?
 
btw that poll results are biased, there's a 47.5% for yes, a 42% for no, and the rest (~14%) would not vote at all / undecided.
 
World is falling apart -.-
 
we still want to be part of europe ^^
just not of spain
 
We should be getting closer together and more unified not further apart and more distant :(
 
8:32 AM
i don't want to be unified with a fascist-tolerant country that loves animal torture
i think it's a reasonable point.
 
So you want the fascist-tolerant country that loves animal torture to operate with a much lower percentage of people who aren't facists and hate animal torture?
 
i don't care anymore after they gave the almost absolute majority again to the PP.
 
-.-
Star trek is never going to happen at this rate -.-
 
o/ peoplez
 
Morning OcuS
 
8:37 AM
\o
 
good morning to you all or whatever good time of the day it is where you are :)
 
sigh
i didn't see that
 
light blue : conservative right pseudo-fascist ( direct "sons" of the dictatorship ) , red = labour , purple = commie left , yellow = independentist commie left.
yeah you were in UK when these maps came out.
results by city :
 
ooooh
i saw that one
 
8:40 AM
green and dark green : center and leftie Basque independentists.
dark blue : center catalan indepndentists ( liberals).
the separation is already there, we're completely different politically. it's just a matter of time.
so, @Graeme , if they want to Trump all the way to auto anihilation, they're free to , but they shouldn't force us to sink with 'em.
 
No, you should stop them?
Unless your new country will have forcefields that stop their actions effecting you :)
In which case, you're fine.
^-^
 
we're fine. the only point of hte independentist movement is to be able to legislate all the things that we can't now
currently we can't force banks to rent abandoned buildings, we can't give grants to students, we don't have any say in the deficient train system...
 
Yeah but... leaving those guys to legislate all the things they want without as much resistance?
Meh, anyway, no point getting involved.
You guys do what you want, not like my ***** country is great.
 
we + basque country only count up to the 35% of the population.
 
shrugs
 
8:49 AM
we can't
and the electoral law gives us only 20 seats of the 350
so if 100% of the catalans that could vote voted the same, and the same happened in basque country, we'd still have ~280 against.
 
I'm backing out of talking about this :P We just had a month of arguing about this - I can't take anymore :P
You guys do what you want
 
^^
i'm sorry if it looks selfish but it's been too many years already.
 
mr5
^^
captain Eric as always
 
I'm happy that soon I get to move away to a nice happy country where we can retreat to the wilderness when stuff hits the fan :P
 
^^lol
"did you year that graeme?" -"what?" -" i think i heard farage's scream as he trapped his fingers on the brexit chapter" -"we're in the middle of ontario, don't be silly".
 
8:58 AM
@Graeme which "stuff" you mean?
 

« first day (2111 days earlier)      last day (2837 days later) »