« first day (2742 days earlier)      last day (2206 days later) » 
03:00 - 20:0020:00 - 23:00

8:00 PM
koin certainly looks better than dagger or 2 at least
i think we need to develop a sample and check
 
I did that today
 
tim have you started using it in your project?
 
I have no projec
 
i am thinking of starting using rx might as well koin to it
 
I have an ever lasting dream of having a bot
 
8:02 PM
i mean the company project you working on
 
no we use dagger
 
migrate from that shit
bot of what tim?
 
here in chat
 
My first ML project will be a Dog / Cat classifier, so I can block all the cat walls posted here
 
I have no clue how this socket stuff with SE "api" works
can I donate towards rushing a release mehdi?
 
8:06 PM
haha!
btw, speaking of websockets I removed artemis and using now ActiveMQ
it was up and running in 30min
conclusion, don't trust technological suggestions and benchmarks on the web :D
 
If you run a hiring process in tech, go read your standard interview travel language from the perspective of someone who has never received anything free in their life and is terrified of owing anyone anything, and rewrite to avoid an unintended class competence check. https://twitter.com/AustenAllred/status/986997121575337984
 
@TimCastelijns for handling SO request?
 
for communicating with SE
none of it is documented
 
no i mean you want a bot for handling user request in this room?
 
mostly
and to practice
 
8:11 PM
i think i need to revive my bot too
 
what's your bot doing?
 
simple stuff like hello to new users and echo
basic stuff like that
 
oh... so it's not spreading fake news? :/
 
lol what why would i do that?
 
I was jk
in which language is it coded?
 
8:12 PM
java
 
eewww java
 
@AdamMc331 you around?
 
yeah, eew java, real men create bots with Scala :D
 
lol
what is your bot in tim?
 
nothing
I have no clue where to start
 
8:15 PM
lol
just use fish's lib
and make in java
your bot will be up in 10 mins
 
I want pure kotlin
 
@CarlAnderson yes
What's up?
 
I don't want easy, I want to learn something new
 
I was just talking to the Kotlin guy (well one of them) on my team
 
^^Time travel
 
8:16 PM
well then refer to his library to see how he did it and then code it in kotlin
 
go on..
 
...
 
I don't know fish lib
 
he was making sure I understood that if we had listeners declared in a class, that we needed to put them up near the top of the file, otherwise Kotlin won't find them in time
and mentioned how most of the team preferred to put the listeners at the end of the file in Java
 
sigh you forget tunaki and your princess bot
 
8:17 PM
I do think the listener has to be defined before you use it, even though that seems like it doesn't make sense in a compiled language lol
Also I have never seen people put listeners at the bottom what
 
and I felt like I was transported back to programming in C
 
oh I don't know you mean him when you say fish
 
wow that is a sad limitation of kotlin
seems like back to C
 
in C, in a function, you have to declare all of your variables at the top of the function, you can't declare them mid-function
 
I don't think that's true at all
 
8:21 PM
Interface does not have constructor :O
 
1993 called, they want their programming paradigms back.
 
We can't go back to 1993
I can't start over like this
I haven't hit a save checkpoint yet
 
@AdamMc331 source plz
 
I don't have one, I'm thinking in practice I've run into this somewhere
 
by listener you mean a interface right?
 
8:24 PM
but I could be wrong. I could have been inside the same scope where it makes sense to be an error, like inside a function
 
i just tried creating a interface seems to work if i create it at the end
 
I don't believe a modern language like this would have such a dumb requirement
 
^ i have to agree
also this :
47
Q: Kotlin: Interface ... does not have constructors

Aleph AlephI am converting some of my Java code to Kotlin and I do not quite understand how to instantiate interfaces that are defined in Kotlin code. As an example, I have an interface (defined in Java code): public interface MyInterface { void onLocationMeasured(Location location); } And then furth...

is this still a issue adam?^
 
@AdamMc331 hmm..I didn't get compensated for the two jobs I've gotten
 
Really? Were they out of state or were you a local applicant?
 
8:28 PM
I wasn't local for either
took the bus
 
@ColdFire Sounds like it - youtrack.jetbrains.com/issue/KT-7770
Interesting. The companies I interviewed with flew me out. Although, I felt guilty like the people mentioned in the tweet and I never actually expensed my rideshares or anything. :| they booked the flight and hotel, I covered the rest even though I should have expensed it.
 
Clarification, if you try to use an object declared after an init block it won't be able to find it
 
interesting? Is there a simple gist you can recreate? I mean I trust the IDE to tell you if something is wrong but I don't know the exact question or how to figure out why it can't be done lol
 
give me a sec
 
@AdamMc331 oh that is fucking annoying
damn i guess i would write interface in java for now
and that issue dates back to 2015 :/
> Here Kotlin interfaces becomes second-class citizens in their own language :(
 
8:34 PM
heavily modified, but here
 
lol so fucking true^
 
Isn't this how Java worked for the longest time?
The obnoxious view.onclicklistener?
 
findViewById is obsolete in kotlin btw
 
@CarlAnderson So you're saying this only compiles if your anonymous class creation is above the init block?
 
8:36 PM
yes I have seen this before this is what I was thinking of. I don't know the explanation for it. I'll try to find it
 
what if there is no init block?
they are not that common
 
then it's fine
 
Yeah I'm gonna ask this in the kotlin slack because I wanna understand too.
 
same i get a error
textwacher must be initialized
 
what about non activity classes? I have never seen an init block in an acitivity
 
8:39 PM
i think its related to when init is called
 
^ That's plausible
 
as far as i know init is called early so whatever init uses has to be declared before hand
 
I will report back with whatever the Kotlin gods say
well it shouldn't be related to when init is called right
 
that is what i thought from our 2 mins conversion i am in no way kotlin expert lol
 
you'd think that all of this could be resolves at compile time
 
8:41 PM
possibly but i dont know how exactly this init block works
that must be why this is a issue at all
as per this init is used for constructors
> When object is created, code inside initializer block is executed
 
yeah
constructors are initialized in the order they're defined in the class - kotlinlang.org/docs/reference/classes.html#constructors
so init does in fact run first
 
after any primary constructor right
 
@Onik you have write access, please start by reading the rules: room-15.github.io
 
I'm not sure. If you define your primary one first, maybe. but I think you have to define it first
> During an instance initialization, the initializer blocks are executed in the same order as they appear in the class body, interleaved with the property initializers:
 
yeah same i couldnt find anything in the docs about the primary constructor and init order
 
8:48 PM
but activities are not supposed to have init blocks are they
 
@AdamMc331 I mean the one right after the class name. You cannot not define it first
 
> Constructors are a different beast ant they are performed after all the properties were initialized and all init blocks were performed
from this it seems constructor are called after the init block
This is not entirely correct. init blocks contain code which is included in the primary constructor. In your example, they are executed because the secondary constructor delegates to the primary constructor using the : this(0) syntax. If a secondary constructor does not delegate to the primary constructor, init blocks will not be executed when the class is initialized using that constructor. — yole Nov 13 '15 at 10:17
 
yole is on the kotlin team btw
 
@TimCastelijns can you elaborate on this?
 
8:52 PM
you can do synthetic imports for views
 
neat, thanks
 
what happens if you use _ in id?
 
@Onik for leaving without acknowledging the rules, your access has been revoked.
 
nothing happens
 
do we have to keep the same naming in kt files :(
 
8:56 PM
Back from lunch and I missed the dagger comments... sigh
 
yeah we stabbed dagger to koin
 
yes you have to keep the _
 
that sounds bad :(
 
not perfect but much better than this viewbinding shit
 
so byby butterknife?
 
8:58 PM
if you only use butterknife for viewbinding then yes
 
My work is actually looking get more involved with kotlin
 
Atlassian shares are on sale. Down 10% in the last hour.
 
From the little I've used it so far, seems easier
 
@TimCastelijns You did define it first, it's right after the class name. ;)
It's just implicit
 
see you guys tomorrow
 
9:07 PM
@Onik Welcome! Please read our room rules before participating.
 
cya Een
 
@Eenvincible bubye
 
Hello everyone, just joined the room, am new here. I have read and understood the rules!
 
thanks Onik and welcome
 
Welcome, Onik!
For some reason I want to type Oink...
 
9:15 PM
:D
lol oink
Welcome!
 
Thanks a lot!
FYI, Onik is vice versa from Kino (German) which stans for Cinema (Eng) :)
 
Wir gehen heute ins kino
 
@TimCastelijns What movie?)
 
Aus bei mit nach zeit von zu
 
welcome onik
 
9:22 PM
@ColdFire +1!
@TimCastelijns Which is? )
 
good night people
 
@ColdFire Good night!
 
A list of things that indicate the 3rd name something
Forced to memorize this 15 years ago in high school. I don't think I will ever forget this list
 
10:07 PM
Good night people!
 
Good night, Onik!
also good night everyone
 
gn mehdi
 
10:24 PM
@trevor-e until when did you say you would be in berlin again? tomorrow or today? :o
(I just got back to berlin!)
 
Did you see my question about Brrrlin?
I was proud of that pun. :(
 
@Ahmad I am packing now actually :/
 
noooo
:(
 
flight at 8am
 
;-;
 
10:26 PM
>.>
<.<
 
3rd time's the charm!
 
haha seriously
 
now that I missed you twice in a row
 
i'm so tired otherwise I would stay out some more and just sleep on the plane
 
no worries dude :)
where did you stay?
 
10:28 PM
near hackescher markt
 
aaa nice!
very touristy tho
you should stay in the former east next time :}
 
yea I like the area
our office is kinda in that direction
 
yah
I like that area a lot
 
03:00 - 20:0020:00 - 23:00

« first day (2742 days earlier)      last day (2206 days later) »