« first day (2511 days earlier)      last day (2661 days later) » 

00:37
cM
00:54
Dave
01:06
o/
Anyone on a chromebook that supports android apps trying to figure out if I need one to for development purposes and to answer this question?
mr5
mr5
02:06
o/
@EmanuelSeibold kapt is for kotlin annotation processing, that's not quite the same as importing the library all over again.
Adam I miss you
<3
UB okay over there?
03:05
o/
03:18
Yeah <3
 
3 hours later…
06:22
fucking fuckers.
good morning!
@TristanWiley Jaguar you?
oh wait
> 3 hours later…
well anyway
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
> Buffalo buffalo (the animals called "buffalo" from the city of Buffalo) [that] Buffalo buffalo buffalo (that the animals from the city bully) buffalo Buffalo buffalo (are bullying these animals from that city).
have fun in the uni
mr5
mr5
what does buffalo (verb) mean?
to bully someone
fuck tesla
this is the cheapest one in spain.
mr5
mr5
the tesla tech is now spreading in eu?
great
now I'll just wait 'til I can afford one
first salesplace will open in barcelona later this year
i already tweeted to elonmusk with a graph of the average spanish salary
mr5
mr5
whenever I hear Barcelona, I am thinking of beers
06:35
it would take ~25 years to pay one with only investing 20-25% of the yearly income on it
user443346
07:09
@CptEric Didn't see the tag, had an cremation unfortunately. So busy with other things.
user443346
And goodmorning all o/
cremation? i'm sorry
WOW testa is costly af
user443346
@CptEric Yeah from my uncle. But I'm ready to code again.
07:13
good morning all
american measurement systems are weird af
why is 20 miles per hour 30km/h but 48mph is 78km/h?
i mean
it makes no sense to have such a big distance and speed scale fit in so little numbers
80mph is 129, but 88 is 143.
because its murica
also 20 miles/hr is not 30km/hr
mr5
mr5
it's ~5 million in PHP
@ColdFire wasn't it?
well it's 32
yup its 32
user443346
@CptEric That's how I walk trough my house when I just woke up
that's how my cat wakes up
newspaper fakes CIA note alledgely sent to the Mossos ( police ), jullian assange claims it's fake.
wikilieaks confirms it's either the only note sent by the CIA to a regional police ever with punctuaction, naming and date errors, or it's fake.
lol that driver changing lanes
mr5
mr5
what do you call to that drop down notification?
like the opposite location of the SnackBar?
@mr5 dessertBar?
no idea
normal notification?
07:26
^
top snackbar?
130
A: How to show Snackbar at top of the screen

Adarsh YadavIt is possible to make the snackbar appear on top of the screen using this: Snackbar snack = Snackbar.make(parentLayout, str, Snackbar.LENGTH_LONG); View view = snack.getView(); FrameLayout.LayoutParams params =(FrameLayout.LayoutParams)view.getLayoutParams(); params.gravity = Gravity.TOP; view....

mr5
mr5
it's not necessarily needs to behave like a snackbar
I've seen it in some apps. The animation is different. Not really sure if it's standard
it sounds like the ios top notification
mr5
mr5
I've seen it but I think it's local to the app only.
The animation is height expanding coming from top then it will stays ~1.5seconds then height collapsing again to top
something like this but it will only show when your app is active:
hm
local notification
ios style
it's used mostly in facebookish games like potato farming
you know, for stuff like "hey your ants havefinished collecting resources"
08:05
o/
its a local normal notification mr5
@Jordy awesome. hot a handful of those places here
can batlle:
molí dels murris
user443346
So tell me, why is The Netherlands so ugly :(
you stole it from the sea
08:36
\o
@mr5 ongoing notification
lol jordy
awesome eric
okay
How fucked up is a newspaper when even Julian assange has to reply to your tweets stating that you fabricated clues?
Paper publishes highly suspect US intelligence document on ISIS attack in Barcelona ahead of Catalan referendum.… https://twitter.com/i/web/status/903081437888483328
sup netpork
Hah, Buzz can do that
That's actually the reason Buzz was written all those years ago
user443346
09:13
@TimCastelijns Give her Tim's banhammer.
Solely to filter WhatsApp notifications to my pebble
@TimCastelijns done and dusted closed
eric is the catalan referendum going to happen?
@RaghavSood what is buzz
yeah
it's gonna happen
the proclamation incase the yes wins has already been signed and presented to the parliament.
09:21
guys any easy way in volley to send json object in json array request ?
>
guys any easy way in volley
No, they're all hard
everything in volley is hard.
09:22
but I have heard the Spanish government is not supporting the referendum
so even if it happens and win
what will happen?
I doubt a new country will be formed
scottish unicorns will transport the country to the middle of nowhere.
there's a 400-page long "white book" that contemplates every possible outcome
from "spain says ok" to "spain sends the tanks in".
and how to carry on after yes or no wins
user443346
This video made my year:
they release chapters from time to time to scare the spanish gov lol
last one was "Debt and assets: how to deal with the separation of goods and wills in case of independance"
09:25
the funniest part explains the process to purchase the % of debt owes directly to the spanish debt owners, in exchange of them pressing spain up ( spain has 109% of the GDB in debt by today's figures)
^solution incase spain decides to not negotiate anything
It's the same process used when a bank doesn't want to concede rights and payments on a debted mortgage. the gov calls the bank's bank, and the small bank concedes.
the best outcome for both sides is a solution based on assets and GDP. spain loses 16% of it's debt instantly, turning it again into a A+ country, and catalonia gets a 65% of GDB debt, making it a A++ one.
user443346
Damn I'm getting mad. Using 'Mmmmurica VPN and still my Netflix gives me Dutch content. What have you done Netflix
block VPN's
track cookies
use your facebook data to indetify yourself
user443346
Even if I use incognito tab :(
user443346
Have Tor build-in in my VPN
user443346
09:37
Onion-network, not Tor ofcourse.
Jordinion
user443346
My mom asked me for a VPN last night, got curious why. She replied she's afraid she will get a fine for streaming Netflix.
user443346
Couldn't stop laughing.
user443346
"But streaming movies is illegal right????", sure mom.
09:40
Least she knows what a VPN is
my mum wouldn't have a clue
user443346
Guess she just saw something in the news :p
user443346
Dutch Filmworks got in the news. They hire people to check on torrents from their own movies. If they find a Dutch IP, they log it and ask our ISP for the details. If the ISP doesn't comply, they take it to court. Since 2015 it's officially illegal to download here so the judge will order the ISP to give the details. After that the user get's a fine at the door by mail. If you don't comply with it, they take you to court aswell.
user443346
Approx fine: €300 to €1000 for each movie you downloaded.
woah the netherlands suck even more
09:44
Mildly impressed I haven't hit the dex limit yet
here it's only illegal if you host a website for profit
if there's no ads, no subscription system, no payments involved, just links / views, it's alegal.
> PHP is a recursive acronym for PHP Hates Programmers
10 libraries, including Google Play and Firebase, and no dex limit
user443346
@CptEric Yeah we've been okay till last month. Now they want to catch the streamers/uploaders aswell. Even if you streamed a movie with Popcorn Time
why not make movies and cinemas cheaper?
user443346
09:46
I have no clue.. we have a foundation called Brein.
anyone using crashlytics here?
user443346
It's a company trying to screw everybody over when it comes to downloading.
in spain three days a year cinema costs 2.9€ instead of 8. the rooms are full All the sessions, the three days, cinemas make 10X revenue than the rest of days combined, and illegal downloads go down a 80% those days
do you have code lines mentioned in your stacktraces, Coldy?
09:49
yup
hm... do you do anything special?
> Fatal Exception: java.lang.NullPointerException
at com.....map.MapPresenter.isNetworkAvailable(Unknown Source)
at com.....map.MapPresenter.onStop(Unknown Source)
I always have "unknown source"
at least the first few entries, somewhere within the stacktrace it starts to have linenumbers
Are you using proguard?
yes
but as I read, crashlytics uploads the mapping automatically
You'll need to add `-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable`
Hmm
Not sure about the crashlytics bit, haven't gotten there yet
I'll let you know in a couple of weeks :P
hm ok, will give it a try
thanks
09:54
you need to add the things raghav said in proguard file^
without those you wont get line number anywhere
@WarrenFaith you should check up on Sentry.io
for me it beats crashlytics
not looking for an alternative yet
i like that yet
Eric - does it allows to customize the stactrace uploaded?
hm
started doing some android stuff today
question is: any clever way to pass function calls from one activity to another?
10:00
Interfaces?
What are you trying to do? Usually an activity calling functions in another activity is not the norm
@Jordy lol what a dumbass :D
"not the norm" ... that is an understatement :D
nono, I have like a general upload activity - it does some generic handling with the passed intents. I need a way to give that upload activity a function call somehow
what do you mean raghav? Just do new MainActivity().doFunction()
A functional call from/to where? To do what?
10:02
why do you need that murat? Smells like a potential XY problem
user443346
@TimCastelijns Little respect for my mom :(
sorry :(
I have an Upload Activity. I can configure it with intent extras. After it has done all the upload stuff it has his own callback "onUploadSuccess". Now I want to pass the method from the starting activity there
Don't
Use startActivityForResult to pass data back to the calling Activity
10:06
or dissasemble that chaos and use an eventbus
Don't want to return tho
It has his own views and stuff
What data are you trying to pass?
so the upload activity keeps living while you try to do a processing on your previous one?
It's gonna be basically a rest call. But for future stuff it should do a lot more.
No processing on the previous one. I pass all the information to the Upload Activity. It handles all the upload stuff depending on the extras. Basically Upload Activity is the end of the road
Usually, you would pass the information necessary for the call
URL, filepath, whatever
And construct the call in the UploadActivity
10:10
What I will do right now is to add another extra field to the Intent and hard code the evaluation on the "onUploadSuccess" callback. But for future references I need a better way to handle this..
then why not pass extra codes from the starting activities, "from: StartingActivity1", and you have a map of objects registered by starterActivity
then onUploadSuccess -> registery.get ("StartinActivity1").run ()
you want activity B to say "I am done" and activity A to do with that info as it pleases. You do not want B to know what method A has
oooooooorrrr use eventbuses.
registery being Map ("StartinActivity1", objHandler1 / "StartinActivity2", objHandler2) and objHandler implementing the same interface "Handler" for ex with one method: run
Yes, Tim
I will go for something like that Mehdi
but it's dirty
and demo is tomorrow - so no time to do stuff correctly..
10:13
what is it supposed to do?
How does eventbus cope with that, eric?
it decouples the logic
in case you don't care about activity A, no need for a registry
just pass the object on an intent
and call its run method
Yes, yes. That's how I will solve this now. The end goal is that when the upload has finished it will rest call the service that it's finished
10:17
why not decouple it all the way and make it a service?
services are scary
and the demo is tomorrow :D
user443346
I wish I can hold you forever Tim
user443346
Realm changed my life.
10:22
you can jordy
@AdamMc331, thanks. Means kapt is ONLY for annotation processors?
how 'bout performance / speed / whatever if using the java library if there's also a kotlin one using Kotlin in the project?
Kotlin get converted into bytecode used by the jvm same as Java does. Does that means that it doesnt make any difference since on the head of Kotlin it's java aswell?
do you know of any crash logger tool/service (preferably free / open source) that lets you enrich the payload containing the exception with other data? (without having to send a second log even with these data)
I've created a webservice for that, but I don't have time to stress test it for production
How do I use this kind of response using Retrofit and POJO models?
{
    "data": {
        "1": {
            "id": 56,
        },
        "2": {
            "id": 39,
        }
    }
}
make some pojos and parse it
10:32
^
do you need the "1" and "2" keys?
naah that is wrong
should have been an array
@rupinderjeet Map<String, Object> data
If you know the data then Map<String, YourIDIncludesObject> data
what if they change data from jsonObject to jsonArray? what happens to my POJO then?
JsonDeserializer :)
10:34
one of (org.simple.json, Gson)?
then you change the pojo
If you dont know if there's a JSON Array, String, Whatever wrap it into an object. Map<String, Object>. If you want to make it beautiful, create a Custom Json Deserializer and validate if the JsonElement is an Array or Object
even though you can, you usually don't change your Pojo that often, the data model should be agreed upon between you and the backend and other clients
no, like dynamically. The "data" element can be emptyArray, emptyObject, filledArray, filledObject, null, string or absent. And, sometimes whole Json response is just a string,
that's wrong
10:36
wow that sucks
I don;t have any control on them
It's easy
Had the same problems for a response where the same key can be object, array, whatever. pastebin.com/M8zPUedR
easy if you manually parse everything, too many null checks. And, how am I supposed to present data to user when I don't know what I might get. I thought maybe I don't know the right way to implement
No, not really
They say they are following PHP standards
10:38
XD
Even if there's Object OR Array, even if the Data are not in the common order, have the same keys, it isnt difficult since you can validate if it's an array ob Object and you can also use Generic (Object) in GSON
do I have a way through this, or I should talk to them again?
And if you really like it dirty, you can use reflection
and if someone says they're following Stalin's standards, does it make them good rulers? :D
Did you read what i wrote? :) Did you see the pastebin? :P
10:40
if he really likes it dirty, he'll use multiple catch blocks and normalize the response accordingly XD
Haha, no. If he really want it dirty he uses when() and Kotlin
Ok j/k, Kotlin is not THAT bad
not PHP level bad, for sure
lmfao PHP has standards?
10:42
i love it to create smth like isAnOldBastardAndCanPurchaseHardcoreGames : = when(age) { 18 -> true, 13..17 -> maybeTrue, 13 in 15 -> whatEVerTrue }
you learn new things everyday
Of course(?)
PHP 7 is not bad.
It's worst.
57 mins ago, by Cold Fire
> PHP is a recursive acronym for PHP Hates Programmers
yeah, just went through it. Isn't too much for a project? If you have 50 API features, I would need to treat every one of them differently.
haha! did you know that PHP7 developers say that "yeah, you guys know PHP from the version 4, but trust me PHP7 is awesome!"
10:43
just in case you haven't seen it^
@ColdFire or Programmers Hate PHP
@rupinderjeet, you didnt read what i wrote. I'm sure.
Kotlin is a synonym in germany for "Puke"
yeah mark anyway its the worst
@rupinderjeet his code is pretty generic and easily customizable
Ok, at least almost :)
10:44
hahaha
Mehdi, you'r from Morocco, right?
I know the technique using instanceof on Object. I used it.
How 'bout crime there? dangerous to visit for germans?
10:45
But, isn't that too much
compared to Retrofit
@rupinderjeet, read my sample-code.
I can't see any "instanceOf" in there
I can code it for you for just 140USD/Hour and i'm very slow, i promise :)
not really, depending on where you go really, if you stick to the big cities or cities used to see tourists you're safe, and as long as you don't go to shady places where I wouldn't dare myself go to :D
Most of the people the are black?
lol mehdi
no XD
10:46
I think its mixed
Okay. Usually black people are more friendly then white
@EmanuelSeibold lol nice price
@ColdFire, too cheap?
that is racist
or sarcasm?
10:47
okay, thanks, but behind the walls is a instanceof on gson's side
yeah very cheap
thats what i meant
if you head south (desert), people have darker skins
I'm white and like black people and am from canada. That has nothing to do with racism :P
But if i hear morocco i've always think about the smarty copy with the rainbow and the funny black guy
and camels and tents XD
mr5
mr5
10:48
heys Java/Kotlin guys
lol I was jk
mr5
mr5
you might want to engage in our C# polls :)
Kotlin? Where? Thought there's only one guy called Adam :P
kinda highlighting how people link everything to racism
Yeah, im absolutly no nazi even if i live in germany haha
10:49
lol
Dutch People are (hide)
mr5
mr5
I'm sure you're familiar with the collapse/expanding of code scope in your classes so you might want to vote if #region in C# is cool or not
I dont like region in any language. Doesnt matter if C# or Kotlin or whatever
but C# makes you start method/variable names with Capital letters mr5 :/
Why dont you just write subclasses instead of using regions
10:50
hitler sure made our sacred symbol Nazi tho
Mehdi, Common standards everywhere except Java and Kotlin :P
Hitler was from austria btw
mr5
mr5
@MehdiB. yeah. you need to learn to resist once you're in .NET
and Python with underscores :D
yeah I didn't said he was from germany
mr5
mr5
@EmanuelSeibold *Australia
10:51
If you'r in .NET and started using microsofts reactive then you stop using .NET :P
@mr5 Austria* :P
lmao he was not from australia
Hitler was vom Australia? He didnt have a kangaroo at home
mr5
mr5
@MehdiB. I know where the kangaroos are
10:52
@EmanuelSeibold can you give me a sample of Json for that class?
They're for sure not for Austria :D
We had a crazy woman here who had a kangooroo in her garage. she was fucking crazy
mr5
mr5
Austria is located in southern hemisphere fyi
rupinderjeet, { success: { ... } } or { success: "data" }
Austria is located in Europe, FYI
10:53
NO(!)
mr5
mr5
@MehdiB. no. Austria is a continent
oh okay
Austra is "maybe" in europe somewhere but they doesnt have anything with europe like turkey
@mr5 I dont like region in any language. Doesnt matter if C# or Kotlin or whatever, Why dont you just write subclasses instead of using regions
mr5
mr5
@EmanuelSeibold please cast your vote :)
@MehdiB. I was just messing with you xD
Done that before. Region is useless shit
austria has more with europe than turkey ever will
sorry didn't notice XD
lol mehdi
agree with tim
10:55
There's not a "proper" relationship with europe(?)
you're thinking of switzerland
Same same, not different :P
different country though
Except that they write annoying german -whatever mixed text
but they're part of the EU, right?
10:56
I like regions because I have pojos and other huge classes that are easier to read with region folding
yes they are
And their ambulance looks like a "Techno-Drug-Car"
how many countries is germans language used?
as long as it works how does it matter how it looks?
10:57
Many. Austra, Germany, Malle, Switzerland, Czech (:D :D :D, guys who are there know the joke)
I only personally know 1 person from Austria, he's a software architect, Phd in Physics, he's a beast in software development :D
I know one from switzerland, he left the school after the 8th and is the best developer i ever met.
I thought europe holds a strong stance on "Diplomas"
haha, no.

« first day (2511 days earlier)      last day (2661 days later) »