« first day (2174 days earlier)      last day (2775 days later) » 

1:00 PM
@CptEric ass-ter-isk
 
nope that is there is crashlytics
 
do i need firebase crash reporting?
 
@codeMagic that is what we called that symbol not multiply
 
Kind of anyway. But the last part kind of just mashes together
 
I want to use firebase so I am going with their crashing stuff as well
 
1:01 PM
i like it.
4 isk 6
:P
or 4 ass 6
 
CF, I didn't read the conversation, just the ping. But it is a multiply symbol
So, if you are multiplying you say "80 times one gazillion"
 
it can be a corrcetoin/correction* symbol.
 
But the symbol itself is an asterisk
 
weird
 
1:02 PM
yes symbol is asterisk
 
"times"
 
@WarrenFaith then currently no they dont have that maybe in future
 
i can't get past this lol. we use times on very early age multiplications, when they need to be simple concepts :I
 
So how do you say 4 * 6, Captain?
 
4 per 6
 
1:04 PM
what about into CM
 
wtf?
 
4 into 6
 
No
 
i think we use it sometimes
 
or 4 por 6 in spanish
 
1:04 PM
but yes mutliple and times is the correct word
 
Interestingly though, Cpt, when you talk about the size of a square for example, which is 4 times 6, you can say 4 by 6
 
o_o
and how do you call the "elevated" operation?
 
english is ambigious
 
Yes because you aren't multiplying then. You are describing the dimensions
 
2^16?
 
1:05 PM
"to the power of"
 
-_-
 
Math.pow()
 
your maths are slow!
 
Lol
 
nope
 
1:05 PM
It is all compiled into the same brain-code, what you call it doesn't matter
 
it was other method
@TimCastelijns brain code lol
 
we say "2 a la 6"
"2 to the 6th"
"2 to it's 6th"
 
We say "spinach a la creme"
:)
 
underrated comment :D
 
should i get the reference?
 
1:07 PM
??
 
and why do you use english and french in the same sentence?
like.. don't you have a word for creme?
eric is really confused by his new english language discoveries
 
too serious, just too serious
 
We stole some words from other languages and made them our own.. sorry
 
ocus should log in just to tell you to give those words back.
 
english language has most of the words stolen from other language
 
1:08 PM
but that was a dutch phrase freely translated into english, I don't know if english people also say that
 
even stolen from sanskrit our culture very very old language
 
warren, did you just told me i was too serious? a german? your laughter frightens wolves!
4
 
haha
 
You are welcome :D
 
:P
 
1:13 PM
@CptEric you forgot to add humans also
 
i inherently included anything below wolf in the food pyramid.
 
wonder how warren's girl survives that
perhaps she doesnt know what fright is as of yet
 
they're both germans.
afaik.
 
when someone purchases a feature in an app, how do you give the feature to user? is it given automatically? should i store a sharedPref with 'true' for that feature? and if feature is bought, enable it. else, disable it.
 
nothing is automatic in this world
even kids dont fall from sky
 
1:19 PM
you put a notify rror form and only grant it to those who have repurchased it thrice.
 
:/ i will get sued
 
@rupinderjeet47 if it is bought dont show purchase option
 
more seriously tho, we let the backend handle that.
 
i have a spinner. item #1 is free. item #2 is not. how do i remember that feature is bought and let the user use item #2. otherwise prevent him.
 
shared Preference
 
1:21 PM
load them through a well designed REST api that handles users and purchases
 
ask the payment provider if the payment was done and successful
 
so you can offer refunds, manage 'em, etc.
 
i think he is using google in app purchase
right rupinder?
 
still, google gives you enough data to store it in an api
 
yes sure it gives
 
1:23 PM
yes.
google in-app
 
sharedPref has drawback that it can be cleared
 
only problem is how do i remember that he bought it.
 
api eric already said that
store it in server
 
so, i need a web server for that?
ok
 
yes
 
1:25 PM
i will probably remove this sarcasm. and make two apps, free and paid.
 
haha
 
\o
 
trouble you mean?
 
you can always make the two apps thing with flavours
 
1:26 PM
so, only 1 app
 
if a user downloads free app, and clicks on upgrade button, and he downloads paid app. does the paid app Installs_over free app?
 
pretty easy with flavours
 
but two flavours
 
@rupinderjeet47 nope
 
nope
 
1:26 PM
that is not possible
 
can i do that?
ohh. i need to read about flavours then
 
^^
3
A: Under What Conditions Does ART Compact the Heap?

YvettePutting the pieces of the puzzle together. From what I can determine, ART will compact anything that is paused for 2-3 seconds and by paused it means not currently running in background, so activities, but not running services. It will also compact on the fly, or concurrently while the app is in...

 
nay, the old free app will still be there
 
can someone answer this
a question by commonware
 
> Putting the pieces of the pizza together.
 
1:27 PM
i am also interested in the answer
 
brain's hungry.
 
oops i linked the answer but anyway question is very interesting
i require knowledge of ART
pretty interesting considering all that performance improvement ART still couldnt improve anything and made performance only slow
 
1:40 PM
OKAY
need help
how would you store user data on an API
without login / register at any level
it must be 100% unique
 
with a unique id
 
and it's possible to keep it updated
 
android id
device id
 
i'm thinking on FCM/GCM token
 
IMEI
 
1:41 PM
can't access it unless root
 
yeah token is also a choice
but it changes every install
 
yeah
but that's not a problem
 
and on every data clear
 
yeah no big deal on that :I we can just create a new user slot for the new token
 
ok then no issues go ahead
 
1:42 PM
thing is, removing the old will be blogh.
can't use mac adress either, because it can change too
 
Can use installation id
 
since i7 was also dual core in laptops i saw
 
hmm
 
good idea tim
 
1:44 PM
2nd link has a ready to use implementation example
 
i have seen that
yes you can use that
 
problem is that you will never know if a user has removed the app, but you have that will the other options as well
still trying to figure out a way to work with that
 
so, in product flavours, i should have a boolean. free product with boolean false, and paid with boolean true. and just check it in my code.
 
there is a broadcast for that
but doesnt get called for removed app
 
opens file, sees table being used for formatting...cries
 
1:50 PM
:O
 
^ you meant in HTML?
 
And I have to add a new section next to the table. Not sure if I want to redo it all or not
yes
 
redo
if you have the time
 
reduce the pain!
 
My css skills are subpar but I'm pretty sure <td><div>/div><div>/div><div></div></td> is wrong
 
1:52 PM
haha CM
 
you missed a <
 
lol
 
probably but you get the point
 
table is a container after all
 
CM is always stuck in mess
 
1:52 PM
so it should hold your elements
 
you dont get to code something from scratch CM?
 
@ColdFire yup haha
 
how about import android.provider.Settings.Secure;

private String android_id = Secure.getString(getContext().getContentResolver(),
Secure.ANDROID_ID); ?
 
most of indian government websites are crap because of tables.
and JSP.
 
I've redone quite a few "tables" in this site already to be no tables since they really aren't...tables
 
1:53 PM
"A 64-bit number (as a hex string) that is randomly generated when the user first sets up the device and should remain constant for the lifetime of the user's device. The value may change if a factory reset is performed on the device.

"
 
@ColdFire Sometimes but a lot of my time is spent modifying existing code such as the example above
 
@rupinderjeet47 yes
@CptEric it is listed as it should not be used
read the whole info
 
This is contact information and I'm adding shipping information so a table could be ok maybe. But still not ideal and certainly not the way it currently is
 
yes keep shipping info in different table
 
this 'product flavors' creates two downloadable apps?
 
1:56 PM
@codeMagic i see that is sad
 
Very much sadness
 
whole info CF?
 
yes they said not to use it
 
who is they
and where
 
google
 
1:58 PM
CF, Different table...that's what I was doing.
 
where
 
#1: Avoid using hardware identifiers. Hardware identifiers such as SSAID (Android ID) and IMEI can be avoided in most use-cases without limiting required functionality.
ok nice CM
 
where
 
"ANDROID_ID seems a good choice for a unique device identifier. There are downsides: First, it is not 100% reliable on releases of Android prior to 2.2 (“Froyo”)."
 
2:00 PM
No one uses 2.2 and older
 
^
and the 2nd is that samsung has the same for different users o nsame device
 
no one develops for 2.2 and below i guess
 
which neither I or the client cares at all. fuck samsung.
:p
 
my friend has a 2.2 device
and i have 2.3 device
 
2:01 PM
i have an old bricked nexus one
 
Just use installation ID and stop worrying about up/downsides of other options :P
 
:P
 
:P
 
for now we'll use FCM token, but i want to push the installation id idea
 
yeah use that
 
2:02 PM
we'll use the fcm token for now because the user doesn't care for now
 
do note that the fcm token can change
 
until he reinstalls 4 times the app and he gets 4 notis. then the red phone will ring.
i know.
"we don't care for now, do it this way".
obey and serve.
 
haha
 
like maesters of ASOIAF.
 
two product flavours mean two variants of app in playstore?
 
2:04 PM
yeah
 
yes
 
@CptEric "as scientists often indicate, android's fabulous" ?
2
 
okay then
 
lol tim
to the starwall
 
lol
 
2:09 PM
@MarkOSullivan94 I do, I never use it
o/
 
@ahmad whenever you have time please PM me; I have a question regarding organizing a hackathon!!
 
Menelaos what is it?
 
I was wondering how hard is it to organize a MLH hackathon basically
 
o/ tristan
 
I remember that Ahmad was up to organizing BerlinHacks
 
2:11 PM
Partnering with MLH isn't at all hard, you just have to email them and as long as you meet the requirements, which isn't much, you're good.
 
If I want to reimburse some hackers do you know if they provide funds for it?
I submitted my application earlier this day and hopefully I will get to gHangout with someone from the MLH team
 
MLH doesn't provide any monetary help, they provide assistance organizing, they bring their hardware station and will help you before, during, and after the event.
 
I see; maybe I will try to contact with some students from JHU and ask them how did they manage to fund the travel of some hackers
the Medhacks was amazing
 
Contact sponsors, MLH will help you will all of this
 
Thanks Tristan; will do
 
2:16 PM
No problem!
 
fucking firebase docws
they suck
 
@McAdam331 We can contact each other on Hangouts, right?
 
d'oh... we found out a check on an important string in our app only reported that something is wrong when the very first (of 32 chars) is actually already against the rules.... My response was that we should have more code coverage to prevent that shit... coworker said: the teamlead already wrote a test for that... which was wrong as well and did not really test anything
I am so fucking happy that I am leaving...
 
Also.. Good morning everyone!
 
2:22 PM
haha warren
morning nana \o
 
> IntelliJ IDEA is the best IDE ever, eclipse is very advanced version of notepad.exe
LMAO
so true
 
actually not so true
eclipse is very good just not so good for android
 
eh
 
because google stopped developing eclipse plugin since 2013
 
Jetbrains is amazing
 
2:33 PM
Idk I just never happened to like anything else than Intellij
 
\oo
 
hey een
 
how is the going?
 
@eski it is but indexing has its perks too
 
indexing?
 
2:39 PM
yes IntellIj indexes whole project
 
all jetbrains IDEs do that
 
^
i seriously dislike slow build times, time taken for indexing of a new project, the amount of disk space it consumes, and every time i build its basically consumes 100% cpu usage
 
Not me, I like slow builds. Give me an excuse to do nothing
 
and most of intelliSense of IntelliJ comes from indexing
 
@TrumpSniff, Sniffington DC
*sniff*
178 tweets, 4k followers, following 4 users
 
2:43 PM
probably this factor compensate the eclipse lack of intellisense
 
It only indexes everything once
Never had any issues with that, and we have a huge project
 
yes true but many times i want to open a sample to see how that works
then it all adds up the time
 
Well, personally I favor all of the great stuff that you can do because of the indexing, so I don't mind if I have to wait a little bit when opening a new project.
 
yes true but actually sometimes becoz of the indexing other issues
IntellIj also
scan all files for typo and all
that is slow too
eclipse was very fast in that
like i solved an error it sometimes remain red for more than a minute
but overall IntellIj is good
i think both are good in there own ways
 
Lol the last time I used eclipse was the first day I used IntelliJ
 
3:04 PM
hehe me too for android it is better since flavour and all that things i need
 
@TristanWiley what were you replying to :D
 
if he uses gmail for google play
you can check by clicking the arrow on the left side of the message
 
3:21 PM
ah
I see, never seen that before
 
That's pretty common
I'm surprised by how many people don't realize that
 
I've only been here about a month or so :p
 
Good point
But I mean there's quite a few who have been around awhile and didn't know about it
 
yes
CM you have a mac?
 
Nope
Well, I do have one for work but I don't use it much
 
3:30 PM
:(
 
cM, how are you
 
Haven't turned it on in quite awhile, actually
Not too terrible, Een. How are things going with you?
I scooped it up to start learning iOS but didn't get very far before I got too busy with other things
 
o/
 
3:38 PM
is this enough for me to have two flavours: free and paid? can it be breached? hastebin.com/okirevofuh.scala
i used a boolean in buildconfig to know if app is free or paid.
 
Everything can be breached
The point is, no one is going to
And those who are, wouldn't have paid for it anyways (99.99% of the time)
So you live with it, and move on to better things
 
that makes it enough.
then.
 
what raghav said
^^
pretty much that's it
spam those users with ads hehe
 
i am giving them an option to disable ads :) for free
 
I have a Service. I want to do some stuff in a thread every 1000ms, but I also need a variable to be initialized in the thread (only once). how ?
Oh wait I already see
Silly me
 
3:57 PM
you used a flag?
 
what for
 
to intialize it only once inside thread?
 

« first day (2174 days earlier)      last day (2775 days later) »