https://kotlinlang.org logo
Join SlackCommunities
Powered by
# knote
  • n

    Nikky

    02/26/2019, 4:38 PM
    i am leaving for the event, hope its not too cold outside..
  • n

    Nikky

    02/26/2019, 4:38 PM
    i pushed some incomplete stuff to
    nikky/observables
  • n

    Nikky

    02/26/2019, 4:39 PM
    NotebookRegistry and Notebook may give you a idea of what i am attempting to do
  • n

    Nikky

    02/26/2019, 4:41 PM
    https://github.com/DaemonicLabs/KNote/blob/nikky/observables/core/src/main/kotlin/knote/api/Notebook.kt
  • a

    amanda.hinchman-dominguez

    02/26/2019, 4:42 PM
    it's cold af here hahaha
  • n

    Nikky

    02/26/2019, 4:42 PM
    there is already a extension for wrapping a
    KObservableObject
    as a
    ReadOnlyObjectWrapper
  • n

    Nikky

    02/26/2019, 4:42 PM
    i was in NZ for the last 2 months
  • n

    Nikky

    02/26/2019, 4:42 PM
    i am so used to summer right now
  • a

    amanda.hinchman-dominguez

    02/26/2019, 4:42 PM
    alright cool, I'll take a look. All I have to do is put in a listener for changes in the page registry, right?
  • a

    amanda.hinchman-dominguez

    02/26/2019, 4:43 PM
    well not ALL
  • a

    amanda.hinchman-dominguez

    02/26/2019, 4:43 PM
    but I mean, to properly update the GUI*
  • n

    Nikky

    02/26/2019, 4:43 PM
    this is actually just the notebooks.. pages are yet to come
  • n

    Nikky

    02/26/2019, 4:43 PM
    but it will be very similar
  • n

    Nikky

    02/26/2019, 4:44 PM
    i also added deprecated annotations to some bits that are gonna be removed
  • a

    amanda.hinchman-dominguez

    02/26/2019, 4:44 PM
    but if I can listen to the notebook I can get the updates right?
  • a

    amanda.hinchman-dominguez

    02/26/2019, 4:44 PM
    well, I'll just take a look and take a stab 🙂
  • n

    Nikky

    02/26/2019, 4:44 PM
    yes
  • a

    amanda.hinchman-dominguez

    02/26/2019, 4:44 PM
    aight cool
  • n

    Nikky

    02/26/2019, 4:44 PM
    even the pageRegistry itself is in a
    ReadOnlyObjectWrapper
  • n

    Nikky

    02/26/2019, 4:45 PM
    it can disappear.. if the notebook gets removed or reloaded
  • n

    Nikky

    02/26/2019, 4:45 PM
    thats why its nullable there.. the current gui code compiles but surely will nto work..
  • a

    amanda.hinchman-dominguez

    02/26/2019, 7:05 PM
    yeah haha it doesn't work
  • a

    amanda.hinchman-dominguez

    02/26/2019, 7:05 PM
    I'm trying to rewrite it to remove the deprecated stuff
  • n

    Nikky

    03/04/2019, 3:11 PM
    @amanda.hinchman-dominguez we should use this channel more often.. it might be useful for others to follow the discussion
  • n

    Nikky

    03/04/2019, 3:13 PM
    it turned out that the specific thing i had tried to make work with idea loading dependencies of scripts and so on. does not quite work, maybe i can make it work via serializing just the most necessary data, or i can focus o nthe next step, configurable default imports
  • n

    Nikky

    03/04/2019, 3:51 PM
    okay so tell me if i sound too insane..
  • n

    Nikky

    03/04/2019, 3:54 PM
    if KNote starts a daemon in the background (with checks if it is stil la matching version and restarts as needed) and all information is properly serialized via some sort of inter process communication, probably sockets or so then both the idea part can request required data for dependencies, the frontentends (CLI, GUI) can request data, AND possibly run at the same time
  • n

    Nikky

    03/04/2019, 3:54 PM
    not sure if that should be a focus either way, it sounds complicated
  • a

    amanda.hinchman-dominguez

    03/04/2019, 7:34 PM
    It does sound complicated... at least for where we're at in the bit we're at rn
  • n

    Nikky

    03/14/2019, 4:32 AM
    mumble server:
    <http://meowface.org|meowface.org>
    💯 1