« first day (3067 days earlier)      last day (1886 days later) » 

12:00 AM
The longer the title, the less important the job. (source)
 
12:31 AM
@ukama what kind of reports?
 
 
6 hours later…
6:31 AM
picks nose
 
 
5 hours later…
12:00 PM
The first woman to run and finish the Boston Marathon was Roberta Gibb in 1966. However, because women were not allowed to officially enter the race until 1972, she did not get credit for it. (source)
 
12:31 PM
picks nose
 
Does anyone here know about producer-consumer pattern and an example of it in JavaFX?
 
 
5 hours later…
5:40 PM
Yo @Wietlol, if you figured out how to react to route changes with kotlin-react-router-dom, ping me please :D
I can only get it to work with js("...") but not with a method reference -.-
 
what?
 
I want to react to a certain route change in my webapp because I need to run some jquery then. I got to the point where I have a listener setup so that I can run JS; hang on.
Also: Yesterday you mentioned something about RComponent eh? You mean you have them defined as class? If so, why would you want to change that?
If I put listen(js("console.log('stuff')") there, I can read stuff in the commandline. I cannot get it to work with the method reference though; am I missing something again?
 
 
1 hour later…
6:45 PM
ill be back in about 30 minutes
have to drive home
 
6:59 PM
Sure, no worries! Will see when I get back to the project today, a friend had something planned for this evening as well. Have a save ride!
 
7:45 PM
does it work with a lambda instead of a method reference?
 
7:57 PM
would then be listen { }, right?
 
ye
 
Gimme just the tiniest of seconds.
njet.
 
what does listen return?
 
In the JS world it would return a function that allows to cancel the listener.
 
if you put listen(js("console.log('stuff')") there, when does it write to the console?
when you mount or when you unmount?
 
8:03 PM
When I change from /workshops to /workshop (and I register it in the component that is in the route for /workshop)
so on mount I guess.
 
that is not what you want
so, your js version also doesnt work
 
It is not? How comes?
 
because you want your function to run when something happens (url changes I think)
not on the mount
 
Hang on; lemme try something
Oh. Yeah that makes sense.
 
also, did you install anything for the history.listen?
 
8:11 PM
Ah shit; I think I am missing some withRouter stuff: stackoverflow.com/a/45373907/6707985
I only read the history.listen part there and thought that would be enough; will try that later.
Thanks :)
 
Oof. I just noticed that I didn't even need the router change thing. componentDidMount was completely enough for me.
@Wietlol That looks impressively unimpressive O-O
 
the graphics arent the big deal
download the zip and unzip it and open the html in your browser
 
Interesting.
 
you can edit the html and set the attributes differently
 

« first day (3067 days earlier)      last day (1886 days later) »