« first day (2649 days earlier)      last day (2525 days later) » 
00:00 - 16:0016:00 - 00:00

00:58
@AdamMc331 LMAO!!
01:11
talking about keystores...I haven't used mine in a long time. I hope I have a copy around somewhere.
whew! I found it.
 
3 hours later…
03:51
o/
Everything is falling :D
watches pile of money burn
💸
Okay
Liquidated whatever was accessible
Let's ride this out
04:34
@FatimaMostafa You need at least 80 rep to get access here
@JamilHasnineTamim Welcome! Please read, confirm reading, and follow the room rules before you do anything else: room-15.github.io
05:15
Thanks :)
Let's try this again
41 mins ago, by Raghav Sood
@JamilHasnineTamim Welcome! Please read, confirm reading, and follow the room rules before you do anything else: http://room-15.github.io/
I have read and understood the rules
Welcome!
06:15
Morning.
06:46
What is normal amount of memory consumption by an app?
Is 192 MB enough?
haha!
I am doomed
Trying to get it down
Oh
07:02
lol 192mb that is insane usage
public static void start(Context context) is this bad for starting activities
starters
07:36
Gooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!! :D
goood morning!
@TristanWiley LMAOOOOOOOO
08:07
o/
\o giraffe killer.
2
08:20
okay room, from 1 to 10, how much do you like Bond title sequences?
@rupinderjeet depends on what is it doing
if ~180 MB of these 192 are some graphics which it, by design, absolutely needs to keep in memory, then I'd say this is passable
also, should i go to the cinema to see coco?
or the great showman?
but if there's no excusable reason, then of course 192MB is a lot, and it will be questioned by the users 100%
@W0MP3R you've seen 'em?
@CptEric lmao
08:25
i still need to know where that came from
i've seen the screenshots and i still have no idea :/
wtf
morning all
o/
\o
holy shit this commercial keeps getting better
doesn't look SFW
08:47
Hello Good noon people..
09:10
o/
09:28
\o
o/
@rupinderjeet if you were using Realm you could reduce that with their compactRealm() method
fuck my bathroom is soaking my below neighbor's bathroom's ceiling.
luckily my home insurance will cover it
luckily i decided to pay 10€/mo for a home insurance that covered most normal stuff
ugh spam mails get shittier everyday.
> "hello [user.name], your unemployment grant is ready to be delivered"
everybody knows that [user.name] was my father, i'm [user.name] Jr.
09:47
lmao
@SargeBorsch graphics as in list of images in a recyclerview with pagination?
@MarkO'Sullivan Office doesn't let us use a database as of now
mainly app consists of one Activity, with fragments, then nested fragments and then, viewpager in a fragment
bla bla
wait where do you store the data then if not in a database¿
Oh wait do you mean RAM?
do you have any heavyweight image?
Bitmaps maybe?
09:54
No, I serve as I receive from API
everytime
oh ok
I read picasso handles it. Allocating bitmaps in some Bitmap Pools and reuse it
still, if you have, say, 10 10mb images
they are reused, but still weight 100mb in total
Oh, should I use .resize() or something similar
should resize on server if possible
09:57
PHP guys hate me when I point out that
first look at the incoming image sizes
and local asset sizes
49
Q: Thanks a million, Jon Skeet.

hairboatYesterday, Jon Skeet hit 1,000,000 reputation on Stack Overflow. A million rep. The achievement quite frankly boggles the mind. I've been thinking about this meta post for days, trying to figure out how to describe the enormity of this accomplishment. I can't really find the words, but fortun...

Should I do something in recyclerview when items are not visible? like remove images or something
Oh ok, I will check image sizes
once a app crashed on a samsung.
apparently that samsung didn't like anything above 1280x720
and OOM'ed
:D
^ sarcastic laughter to not cry.
o/
10:06
:( samsung should just stop making poor logic, or handle our app-crashes with a decent apology letter to user
> "Our underpaid engineering team can't cope with releasing a dozen devices each month and mantain all of them, so your purchased device, who is not in the flagship gamma(Galaxy sX, Galaxy Note X), will suck sometimes. Att. Samsung".
@CptEric sometimes everytime.
i just wanted to be polite.
fixes bowtie
Picasso.with(Context) uses a singleton. So, I don't need to care about using .with(Context) everytime.
10:19
\o
1
smallpicasso might be headshotted by GC
the poor little fella won't stand a chance.
How do we know what will get attacked by GC? Isn't it just prediction.
1 is more readable, everything else barely matters
10:23
that too
oh wait i thought 2 was going to a global ref.
then 1 is more readable
Oh it was. Like I would have defined a getPicasso() in BaseAdapter or in BaseActivity.
like a singleton, but I checked innards of .with(context) they handle it already
it doesn't matter anyway
10:36
\o
@rupinderjeet 1
That blog post is actually quite interesting
now do the same with dagger
10:52
there are a few blogs on dagger as well
I am just now starting out with dagger :D
5
That's our timmy boi
put that dagger tag right into your profile
proandroiddev.com/…. This might help you.
I hope I'll learn dagger sometime
I'm currently learning RxJava
10:54
But this is the best youtube.com/watch?v=plK0zyRLIP8 to start with.
I'm actually spending time tinkering with Flutter atm
nice mehdi, I know the basics if you have questions
Thanks! I will! :D
So far, I followed this mindorks.com and Vogella's vogella.com/tutorials/RxJava/article.html and the official doc
69
Q: Why does the size of this Python String change on a failed int conversion

jeremycgFrom the tweet here: import sys x = 'ñ' print(sys.getsizeof(x)) int(x) #throws an error print(sys.getsizeof(x)) We get 74, then 77 bytes for the two getsizeof calls. It looks like we are adding 3 bytes to the object, from the failed int call. Some more examples from twitter (you may need to ...

did I ever post this?
stop messing with spanish letters in python
11:04
@MehdiB. I also read 500 articles, but I didn't fully understand it until I started using it
Good point, and all these articles say almost the same thing anyway :D
I'm gonna apply all this today
the only thing that is not really clear to me is what to pass to .subscribe()
there are multiple options and not sure what the difference is
not sure yet, maybe Murat knows
probably not, he doesn't have the tag in his profile
11:15
also there are multiple ways to keep track of subscriptions and how to dispose them if needed
CompositeDisposable add all subscriptions and dispose in onDestroy
why composite? There is regular disposable as well
yes you can. if you have multiple observables and you want to dispose them at once.
ok
can you inject stuff with dagger2 outside of classes that are a Context?
i am not sure if i used the right terminology
like a plain java class?
11:24
yes
e.g. I have a repo class where I wanted to inject a Retrofit instance
yes you can with constructor injection
does it mean I have to let dagger instantiate the repo?
something like this pastebin.com/ZByxjuQ1
No .Retrofit is injected in Repo Class.
is it good or bad practice to reference to dagger components directly?
i don't see a problem.
If i have a component dagger implements the interface and you can use the generated component. What you need to be careful of is the scope.
11:41
Is it possible to unit test primitive data types?
Or is it best to return Integer instead of int if you're looking to unit test?
Ah I found something Integer.class.isInstance(<value>)
Any way my test can be improved? assertTrue(Integer.class.isInstance(timeHelper.getDay()));
27
Q: How can a Dragon keep humanity in check?

Nick DzinkI am a Dragon and I have an infestation problem in my world. Currently I am the single one of my kind and your representation of a dragon in movie Desolation of Smaug is fairly accurate only there's no such thing as 'magic'. All of my life I had enjoyed an indolent life style: hunt when I am hun...

> Here is my question: How can I keep these hairless apes at bay and prevent them from inventing new ways to kill(specifically me).
@MarkO'Sullivan what is getDay()?
returns day int value from the TimeHelper class
I mean why are you testing it
It's probably a redundant test and the more I think about it, it might be better keeping it as a string
11:48
@rupinderjeet perhaps you should unload them from RAM and use internal storage as a cache or something
sanity check for testing the setting of our v2 time later down the line
either way if it returns some unexpected type, the compiler should pick that up
means I can quickly run over a large amount of tests and rule out a couple of things immediately if there's any issues with the time again
but it all depends on the requirements. it's all kinds of a tradeoff, you sacrifice A to get more of B
Actually I use int values so it'd be good to keep them
11:50
but I mean it makes not a lot of sense to test the return type of a method
I did a lot of logic within the method for setting the time within the BLE file, so I'm separating it into it's own class which will be easily testable
Just means if I go back and change the return method and change it to a string it'll immediately fail the test
or if someone else is working on it and changes it to a string
Just ensures that all the return types will be int
That's my thinking behind the test
WTF poop knive @WarrenFaith where do you get these things from?
@ColdFire what?
the link goes to reddit, and obviously reddit is full of poop in all seasons of the year
12:10
@CptEric from friends via IRC... not sure if anyone still knows what that is
@MarkO'Sullivan seeing android discussion for a change lol
i know what IRC is, i've used it in the past.
we switched to a more modern peer to peer messaging system...
:D
today I, by accident, stumbled upon this old gem:
-8
Q: Can unconstructive users be suspended on chat?

user285oo6Recently I happened to be on a chat where the users were busy talking crap (marriages, wifes, etc). I mean how at all can they even chat crap when they are supposed to chat something constructive? The group name is technology related and the chat is way off the books. Is there any way (algorithms...

pasting because of Coldies remark of "android chat" :D
lol <3
What's peoples thoughts on multiple assert statements in one unit test? I found this discussion about it: softwareengineering.stackexchange.com/questions/7823/…
12:13
> Please don’t post unprofessional images. Kitties and unicorns: okay. A screenshot of your app: sure. Twerking: no.
where do pidgeons fall?
he looks very professional with that tiny message slot.
I got a unit test ensuring that the time returned is always utc, checking all 3 parts of the time which is produced (hours, mins, secs), I could probably extend that and check the day, month and year
Though testing them all individually seems a bit overkill, if that test fails I know I have to go back and check how hours, mins and secs are set
:H
i might be missing something, but... why do you need that level of testing?
Sanity check lol
:/
keeps sharp stuff away from mark 'llright, move on. nothing to see here.
i find that you would have a lot less trouble with dates if you switched from java 7's Date and flew on the unicorn-powered joda time.
12:22
or if you have full access to java 8 on all devices, on the new time class.
can you tell me why I should not close it as the first dupe I found when googling that error
4
@EgeKuzubasioglu bfy.tw/G4Qp
not the same
question deleted :/
peer pressure
12:47
lol
12:58
@CptEric is joda time not a massive dependency?
Not sure if I have full access to java 8
you don't
unless you minSdk 26
best to forget about java8 until like 2023
the coolest stuff you can replicate with rx
13:32
Even with sdk 26 you do not have full access
wait
they changed it so 24
some 24 some 26
do not lie
most stuff is in 24, but java.time is in 26
How's everyone doing?
Morning
JodaTime - What you do when you can't be bothered to do dates properly
13:47
I'm pretty sure JodaTime is doing dates properly
You're better off than I am
Pretty good! how are you?
My latest approach to money math is string manipulation
Poorer, but can't complain
haha!
String.split/indexOf/substring for the win!
Yup
Works better than trying to get all the BigInt and similar libraries to cooperate cross platform
@MarkO'Sullivan nope
13:49
Especially with Javascript
I had Javascript spit out hex with decimals the other day
With the regular part in hex
Raghav where are you now. Singapore or New Zealand
And the decimals in base 10
NZ is next month
you're going to new zealand?
New Zealand is coming to me
It's on a fault line anyways
get me an all backs shirt ^^
13:50
A few thousand mile shift won't feel much different from an earthquake
Hah, I'll post you one
do share some pics if you do photography in spare time. Its a nice place ( NZ)
it will suffice
don't forget to visit hobitton
and edoras
Did a tourist trip of NZ already
Last May
@Graeme yay exactly.
It has begun
13:51
my camera lens will have fungus attack only in winters. I always have to take my DSLR to get it removed. Repairs are expensive :(
My order staircase has started filling
order staircase?
wait what?
fungus attacks on a lens?
what is this?
Yeah, fungi really like DSLRs
A progressive order staircase aiming for BTC at 9k
13:53
i see fungus grow on the lens. inside of the camera lens. I guess its because of some coating
fungus do not like normal glass only camera lens
"order staircase"
Where you place it Raghav?
Trailing buys, order staircase
Bitfinex
That's a nice website
I have some on Bittrex too but it's too much effort to log in
13:57
@CptEric Blurgh
i would totally break that glass.
in a terrible mortal accident.
@TimCastelijns Et tu, Brute?
Those stairs are ugly and cheap-looking as all hell
if only I could
@Graeme That stair cost me 5k :(
14:01
Holy crap!
Do you not have a lady folk in your life?
@CptEric seen what?
I've heard those are straight mens stand in for a sense of taste
(That was a joke by the way, I'm not actually as heterophobic as that makes me sound)
@RaghavSood can you set buy orders on Bitfinex with USD and not USDT?
@W0MP3R damovies
....
i need more info
14:03
> also, should i go to the cinema to see coco?
or the great showman?
@Graeme Not yet :(
@MarkO'Sullivan If you deposit USD, you get USDT
oh
both are great
more the great showman than coco
a huge 5/7 for me
awesome
will try
@Graeme yeah i use my gf for the good-taste-in-stuff thing.
picks clothing element slowly. stare at her.concerned satirical eyebrow raised? nope? okay, it's a yes
@RaghavSood i heard USDT could crash
and was there not some missing?
Sure
But, in case you haven't noticed, everything is crashing
14:09
wish i could get satellite data feed on demand.
What's a bit more crashing while crashing?
like "point at raghav", "take photography of him on that crystal clear window". "check his BTC balance from the pic".
@RaghavSood yep, still in profit so I don't mind so much. Will be fine by the end of the month :)
one month later
both of you remember to not get into heavy cash issues bc of crypto.
there's not enough spots in my couch for you all
Of course
I've already cashed out more than my initial investment
Not putting in any more cash either
14:23
feels weird to receive an invoice from a fellow developer
what=
I had hired a frontend dev freelancer to help me out on a project, and now I gotta pay him XD
ah, lol
I only hope his code was worth it XD
you're paying him before checking it?
14:29
Well yeah, I'll pay him for the final product not the quality of his code
do people pay after checking the code?
I'd make sure he can code to the standard I want before hiring him
we pay 15 30 55
I know he's good, I used him on a previous "easy" project and his code was clean
but no idea how his code will be on this one
and must comply to standards and design guides
to get the last one
what's 30?
14:31
%
15 at start, 30 on testing phase, 55 on completion
yeah, I mean, what is it for? at which stage do you pay 30%
oh okay
I didn't know that
@CptEric i've only put spare money into it, prepared to lose it all because I probably would have spent that money on nights out drinking, instead I've went out less and started investing in crypto. Probably done some good for my health :D
we used to do 33 - 66 or 33 - 33 -33 depends on project size
but the first was too demanding for freelancers and the 2nd made projects get slow after testing began
I gave him the formula I like to work with, time and material with a daily rate
now we include 3 pdf's, one for project requirements, another for coding requirements, and one for design requirements
14:37
I gave him a pdf with the flow and dummy ui, a long email with all what he should be expecting from the backend, asked him what Js framework he would most comfortable with (react) and I just talk to him as needed with regular 2 weeks batches of small versions until the completion
didn't wanna discourage him by setting a deadline
nice
more than we're sometimes provided when we're the ones hired to do external stuff
same, I tried to apply what I would like to be applied to me lol
btw, also
HAPPY YEAR OF THE CAMLID
user image
3
have a happy camelid.
Mehdi slam that money on the table and tell him he did an amazing job but next time you want it to be faster
14:53
Camelids look adorable / delicious
That went from 0 to 100
@MuratK. gotta grow a mustache for the slam part XD
@CptEric camlid?
camelid
15:08
Looks like an Alpaca
it's creepy looking
it's an alpaca
camelids are alpacas, llamas, camels and dromedaries
do camelids spit like llamas? :D
there's some alpaca farms around where I grew up
@MehdiB. yup, all of em
15:13
That's the funniest characteristic of these guys XD
nah, that's when they kick you in the nuts
XD didn't know they kick, I know camels kick and bite rarely
thats one happy camelid! makes me warm and fuzzy
I just assume they kick, since all animals like that do
internet back
15:55
15 of my 18gb dropbox space will be gone tomorrow :(
why? :O
a long time ago I got that space from the campus cup event
it expires today
that's lame
what good is storage that expires
use google drive
00:00 - 16:0016:00 - 00:00

« first day (2649 days earlier)      last day (2525 days later) »