kandi background
Explore Kits

prism | 实时数据分析平台

 by   weibocom Java Version: Current License: No License

 by   weibocom Java Version: Current License: No License

Download this library from

kandi X-RAY | prism Summary

prism is a Java library. prism has no bugs, it has build file available and it has high support. However prism has 2 vulnerabilities. You can download it from GitHub.
实时数据分析平台
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • prism has a highly active ecosystem.
  • It has 38 star(s) with 44 fork(s). There are 23 watchers for this library.
  • It had no major release in the last 12 months.
  • prism has no issues reported. There are no pull requests.
  • It has a positive sentiment in the developer community.
  • The latest version of prism is current.
prism Support
Best in #Java
Average in #Java
prism Support
Best in #Java
Average in #Java

quality kandi Quality

  • prism has 0 bugs and 0 code smells.
prism Quality
Best in #Java
Average in #Java
prism Quality
Best in #Java
Average in #Java

securitySecurity

  • prism has 2 vulnerability issues reported (0 critical, 1 high, 1 medium, 0 low).
  • prism code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
prism Security
Best in #Java
Average in #Java
prism Security
Best in #Java
Average in #Java

license License

  • prism does not have a standard license declared.
  • Check the repository for any license declaration and review the terms closely.
  • Without a license, all rights are reserved, and you cannot use the library in your applications.
prism License
Best in #Java
Average in #Java
prism License
Best in #Java
Average in #Java

buildReuse

  • prism releases are not available. You will need to build from source code and install.
  • Build file is available. You can build the component from source.
  • prism saves you 1164 person hours of effort in developing the same functionality from scratch.
  • It has 2627 lines of code, 259 functions and 36 files.
  • It has medium code complexity. Code complexity directly impacts maintainability of the code.
prism Reuse
Best in #Java
Average in #Java
prism Reuse
Best in #Java
Average in #Java
Top functions reviewed by kandi - BETA

kandi has reviewed prism and discovered the below as its top functions. This is intended to give you an instant insight into prism implemented functionality, and help decide if they suit your requirements.

  • Schedules the scheduling of a topology
    • Scan classes by jar .
      • add component to topology
        • Reads the message .
          • initialize and get streams from the spout
            • refreshes scribe async client
              • Deserialize a log message
                • Starts the ZK server .
                  • Connect to server .
                    • called when a message is received

                      Get all kandi verified functions for this library.

                      Get all kandi verified functions for this library.

                      prism Key Features

                      实时数据分析平台

                      Is there an `id` of `prism' id Just`?

                      copy iconCopydownload iconDownload
                      mapRouteEncoder ::
                        ( p1 `Is` A_Prism
                        , p2 `Is` A_Prism) =>
                        Optic' p1 ixy1 FilePath FilePath ->
                        Optic' p2 ixy2 r1 r2 ->
                        (b -> a) ->
                        RouteEncoder a r1 ->
                        RouteEncoder b r2
                      

                      Unable to coerce during `DerivingVia` when using optics types like `Prism'`

                      copy iconCopydownload iconDownload
                      newtype Prism' s a 
                        = Prism' (forall p f. (Choice p, Applicative f) => p a (f a) -> p s (f s))
                      
                      instance MkPrism Foo where
                        mkPrism = MyPrism . coerceA . coerceB $ p
                          where MyPrism p = mkPrism :: MyPrism (Stringable Text)
                      
                      newtype Prism' s a 
                        = Prism' (forall p f. (Choice p, Applicative f) => p a (f a) -> p s (f s))
                      
                      instance MkPrism Foo where
                        mkPrism = MyPrism . coerceA . coerceB $ p
                          where MyPrism p = mkPrism :: MyPrism (Stringable Text)
                      

                      What is a `Prism' s a` but with a context `ctx`?

                      copy iconCopydownload iconDownload
                      type RouteEncoder ctx s route = ctx -> Prism' s route
                      
                      pimap :: Prism' b a -> Prism' c d -> (y -> x)
                        -> RouteEncoder x a c -> RouteEncoder y b d
                      pimap p q f r ctx = p . r (f ctx) . q
                      
                      encodeRoute :: RouteEncoder ctx s r -> ctx -> r -> s
                      encodeRoute enc ctx r = review (enc ctx) r
                      
                      decodeRoute :: RouteEncoder ctx s r -> ctx -> s -> Maybe r
                      decodeRoute enc ctx s = preview (enc ctx) s
                      
                      \ctx -> otherLens . myRouteEncoder ctx . otherPrism
                      
                      makeRouteEncoder a b c ctx = prism (f a b ctx) (g c ctx)
                      
                      myRouteEncoder = makeRouteEncoder myA myB myC
                      
                      type RouteEncoder ctx s route = ctx -> Prism' s route
                      
                      pimap :: Prism' b a -> Prism' c d -> (y -> x)
                        -> RouteEncoder x a c -> RouteEncoder y b d
                      pimap p q f r ctx = p . r (f ctx) . q
                      
                      encodeRoute :: RouteEncoder ctx s r -> ctx -> r -> s
                      encodeRoute enc ctx r = review (enc ctx) r
                      
                      decodeRoute :: RouteEncoder ctx s r -> ctx -> s -> Maybe r
                      decodeRoute enc ctx s = preview (enc ctx) s
                      
                      \ctx -> otherLens . myRouteEncoder ctx . otherPrism
                      
                      makeRouteEncoder a b c ctx = prism (f a b ctx) (g c ctx)
                      
                      myRouteEncoder = makeRouteEncoder myA myB myC
                      
                      type RouteEncoder ctx s route = ctx -> Prism' s route
                      
                      pimap :: Prism' b a -> Prism' c d -> (y -> x)
                        -> RouteEncoder x a c -> RouteEncoder y b d
                      pimap p q f r ctx = p . r (f ctx) . q
                      
                      encodeRoute :: RouteEncoder ctx s r -> ctx -> r -> s
                      encodeRoute enc ctx r = review (enc ctx) r
                      
                      decodeRoute :: RouteEncoder ctx s r -> ctx -> s -> Maybe r
                      decodeRoute enc ctx s = preview (enc ctx) s
                      
                      \ctx -> otherLens . myRouteEncoder ctx . otherPrism
                      
                      makeRouteEncoder a b c ctx = prism (f a b ctx) (g c ctx)
                      
                      myRouteEncoder = makeRouteEncoder myA myB myC
                      
                      type RouteEncoder ctx s route = ctx -> Prism' s route
                      
                      pimap :: Prism' b a -> Prism' c d -> (y -> x)
                        -> RouteEncoder x a c -> RouteEncoder y b d
                      pimap p q f r ctx = p . r (f ctx) . q
                      
                      encodeRoute :: RouteEncoder ctx s r -> ctx -> r -> s
                      encodeRoute enc ctx r = review (enc ctx) r
                      
                      decodeRoute :: RouteEncoder ctx s r -> ctx -> s -> Maybe r
                      decodeRoute enc ctx s = preview (enc ctx) s
                      
                      \ctx -> otherLens . myRouteEncoder ctx . otherPrism
                      
                      makeRouteEncoder a b c ctx = prism (f a b ctx) (g c ctx)
                      
                      myRouteEncoder = makeRouteEncoder myA myB myC
                      
                      type RouteEncoder ctx s route = ctx -> Prism' s route
                      
                      pimap :: Prism' b a -> Prism' c d -> (y -> x)
                        -> RouteEncoder x a c -> RouteEncoder y b d
                      pimap p q f r ctx = p . r (f ctx) . q
                      
                      encodeRoute :: RouteEncoder ctx s r -> ctx -> r -> s
                      encodeRoute enc ctx r = review (enc ctx) r
                      
                      decodeRoute :: RouteEncoder ctx s r -> ctx -> s -> Maybe r
                      decodeRoute enc ctx s = preview (enc ctx) s
                      
                      \ctx -> otherLens . myRouteEncoder ctx . otherPrism
                      
                      makeRouteEncoder a b c ctx = prism (f a b ctx) (g c ctx)
                      
                      myRouteEncoder = makeRouteEncoder myA myB myC
                      
                      type RouteEncoder ctx s r = ctx => Prism' s r
                      
                      ctx ~ Zippity x
                      s ~ Whatever x
                      
                      class FooC x where
                        getFoo :: Foo
                      
                      class BarC x where
                        getBar :: Bar
                      
                      class (FooC x, BarC x) => ConfigC x where
                        getBaz :: Baz
                      
                      whatever :: forall x. FooC x => Prism' (Thing x) (Thingum x)
                      yeah :: forall x. BarC x => Prism' (Thingum x) (Yak x)
                      uhHuh :: forall x. ConfigC x => Prism' (Yak x) Hum
                      
                      data Config = Config
                        { _fooConfig :: Foo
                        , _barConfig :: Bar
                        , _bazConfig :: Baz }
                      
                      data UsingConfig x = UsingConfig
                      
                      instance Reifies x Config => FooC (UsingConfig x) where
                        getFoo = _fooConfig $ reflect (Proxy @x)
                      instance Reifies x Config => BarC (UsingConfig x) where
                        getBar = _barConfig $ reflect (Proxy @x)
                      instance Reifies x Config => ConfigC (UsingConfig x) where
                        getBaz = _bazConfig $ reflect (Proxy @x)
                      
                      type RouteEncoder ctx s r = ctx => Prism' s r
                      
                      ctx ~ Zippity x
                      s ~ Whatever x
                      
                      class FooC x where
                        getFoo :: Foo
                      
                      class BarC x where
                        getBar :: Bar
                      
                      class (FooC x, BarC x) => ConfigC x where
                        getBaz :: Baz
                      
                      whatever :: forall x. FooC x => Prism' (Thing x) (Thingum x)
                      yeah :: forall x. BarC x => Prism' (Thingum x) (Yak x)
                      uhHuh :: forall x. ConfigC x => Prism' (Yak x) Hum
                      
                      data Config = Config
                        { _fooConfig :: Foo
                        , _barConfig :: Bar
                        , _bazConfig :: Baz }
                      
                      data UsingConfig x = UsingConfig
                      
                      instance Reifies x Config => FooC (UsingConfig x) where
                        getFoo = _fooConfig $ reflect (Proxy @x)
                      instance Reifies x Config => BarC (UsingConfig x) where
                        getBar = _barConfig $ reflect (Proxy @x)
                      instance Reifies x Config => ConfigC (UsingConfig x) where
                        getBaz = _bazConfig $ reflect (Proxy @x)
                      
                      type RouteEncoder ctx s r = ctx => Prism' s r
                      
                      ctx ~ Zippity x
                      s ~ Whatever x
                      
                      class FooC x where
                        getFoo :: Foo
                      
                      class BarC x where
                        getBar :: Bar
                      
                      class (FooC x, BarC x) => ConfigC x where
                        getBaz :: Baz
                      
                      whatever :: forall x. FooC x => Prism' (Thing x) (Thingum x)
                      yeah :: forall x. BarC x => Prism' (Thingum x) (Yak x)
                      uhHuh :: forall x. ConfigC x => Prism' (Yak x) Hum
                      
                      data Config = Config
                        { _fooConfig :: Foo
                        , _barConfig :: Bar
                        , _bazConfig :: Baz }
                      
                      data UsingConfig x = UsingConfig
                      
                      instance Reifies x Config => FooC (UsingConfig x) where
                        getFoo = _fooConfig $ reflect (Proxy @x)
                      instance Reifies x Config => BarC (UsingConfig x) where
                        getBar = _barConfig $ reflect (Proxy @x)
                      instance Reifies x Config => ConfigC (UsingConfig x) where
                        getBaz = _bazConfig $ reflect (Proxy @x)
                      
                      type RouteEncoder ctx s r = ctx => Prism' s r
                      
                      ctx ~ Zippity x
                      s ~ Whatever x
                      
                      class FooC x where
                        getFoo :: Foo
                      
                      class BarC x where
                        getBar :: Bar
                      
                      class (FooC x, BarC x) => ConfigC x where
                        getBaz :: Baz
                      
                      whatever :: forall x. FooC x => Prism' (Thing x) (Thingum x)
                      yeah :: forall x. BarC x => Prism' (Thingum x) (Yak x)
                      uhHuh :: forall x. ConfigC x => Prism' (Yak x) Hum
                      
                      data Config = Config
                        { _fooConfig :: Foo
                        , _barConfig :: Bar
                        , _bazConfig :: Baz }
                      
                      data UsingConfig x = UsingConfig
                      
                      instance Reifies x Config => FooC (UsingConfig x) where
                        getFoo = _fooConfig $ reflect (Proxy @x)
                      instance Reifies x Config => BarC (UsingConfig x) where
                        getBar = _barConfig $ reflect (Proxy @x)
                      instance Reifies x Config => ConfigC (UsingConfig x) where
                        getBaz = _bazConfig $ reflect (Proxy @x)
                      
                      type RouteEncoder ctx s r = ctx => Prism' s r
                      
                      ctx ~ Zippity x
                      s ~ Whatever x
                      
                      class FooC x where
                        getFoo :: Foo
                      
                      class BarC x where
                        getBar :: Bar
                      
                      class (FooC x, BarC x) => ConfigC x where
                        getBaz :: Baz
                      
                      whatever :: forall x. FooC x => Prism' (Thing x) (Thingum x)
                      yeah :: forall x. BarC x => Prism' (Thingum x) (Yak x)
                      uhHuh :: forall x. ConfigC x => Prism' (Yak x) Hum
                      
                      data Config = Config
                        { _fooConfig :: Foo
                        , _barConfig :: Bar
                        , _bazConfig :: Baz }
                      
                      data UsingConfig x = UsingConfig
                      
                      instance Reifies x Config => FooC (UsingConfig x) where
                        getFoo = _fooConfig $ reflect (Proxy @x)
                      instance Reifies x Config => BarC (UsingConfig x) where
                        getBar = _barConfig $ reflect (Proxy @x)
                      instance Reifies x Config => ConfigC (UsingConfig x) where
                        getBaz = _bazConfig $ reflect (Proxy @x)
                      

                      How to use lens to access a record field behind a sum type

                      copy iconCopydownload iconDownload
                      optic1 = stStep . _StateRun . _2 . _Just
                      
                      optic2 = stStep . _StateRun . _Just . stMMistake
                      
                      optic3 = stStep . _StateRun . stMMistake . _Just
                      
                      mMistake = st ^? stStep . _StateStepRun . _2 . _Just
                      mMistake = st ^? stStep . stMMistake . _Just
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                               | Quux { _f :: Int -> Double }
                      
                      optic1 = stStep . _StateRun . _2 . _Just
                      
                      optic2 = stStep . _StateRun . _Just . stMMistake
                      
                      optic3 = stStep . _StateRun . stMMistake . _Just
                      
                      mMistake = st ^? stStep . _StateStepRun . _2 . _Just
                      mMistake = st ^? stStep . stMMistake . _Just
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                               | Quux { _f :: Int -> Double }
                      
                      optic1 = stStep . _StateRun . _2 . _Just
                      
                      optic2 = stStep . _StateRun . _Just . stMMistake
                      
                      optic3 = stStep . _StateRun . stMMistake . _Just
                      
                      mMistake = st ^? stStep . _StateStepRun . _2 . _Just
                      mMistake = st ^? stStep . stMMistake . _Just
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                               | Quux { _f :: Int -> Double }
                      
                      optic1 = stStep . _StateRun . _2 . _Just
                      
                      optic2 = stStep . _StateRun . _Just . stMMistake
                      
                      optic3 = stStep . _StateRun . stMMistake . _Just
                      
                      mMistake = st ^? stStep . _StateStepRun . _2 . _Just
                      mMistake = st ^? stStep . stMMistake . _Just
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                               | Quux { _f :: Int -> Double }
                      
                      optic1 = stStep . _StateRun . _2 . _Just
                      
                      optic2 = stStep . _StateRun . _Just . stMMistake
                      
                      optic3 = stStep . _StateRun . stMMistake . _Just
                      
                      mMistake = st ^? stStep . _StateStepRun . _2 . _Just
                      mMistake = st ^? stStep . stMMistake . _Just
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                               | Quux { _f :: Int -> Double }
                      
                      optic1 = stStep . _StateRun . _2 . _Just
                      
                      optic2 = stStep . _StateRun . _Just . stMMistake
                      
                      optic3 = stStep . _StateRun . stMMistake . _Just
                      
                      mMistake = st ^? stStep . _StateStepRun . _2 . _Just
                      mMistake = st ^? stStep . stMMistake . _Just
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                               | Quux { _f :: Int -> Double }
                      
                      optic1 = stStep . _StateRun . _2 . _Just
                      
                      optic2 = stStep . _StateRun . _Just . stMMistake
                      
                      optic3 = stStep . _StateRun . stMMistake . _Just
                      
                      mMistake = st ^? stStep . _StateStepRun . _2 . _Just
                      mMistake = st ^? stStep . stMMistake . _Just
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                      
                      data Foo = Bar { _x :: Int, _y :: Double }
                               | Baz { _x :: Int, _z :: Char }
                               | Quux { _f :: Int -> Double }
                      
                      data StateStep
                          = StatePause
                          | StateRun {-# UNPACK #-} !Runny
                      
                      data Runny = Runny
                        { _ryCounter :: Int
                        , _ryNoMistake :: Maybe Text
                        }
                      

                      Lenses, the State monad, and Maps with known keys

                      copy iconCopydownload iconDownload
                      balance <- use $ users . at uid . to fromJust . balance
                      
                      getUser :: UserId -> M User
                      
                      getsUser :: UserId -> Getter User a -> M a
                      
                      balance <- use $ users . at uid . to fromJust . balance
                      
                      getUser :: UserId -> M User
                      
                      getsUser :: UserId -> Getter User a -> M a
                      
                      balance <- use $ users . at uid . to fromJust . balance
                      
                      getUser :: UserId -> M User
                      
                      getsUser :: UserId -> Getter User a -> M a
                      
                      s <- get
                      let user = s ^?! users . at uid
                      
                      use1 :: MonadState s m => Traversal' s a -> m a
                      use1 = use . unsafeSingular
                      
                      view1 :: MonadReader s m => Traversal' s a -> m a
                      view1 = view . unsafeSingular
                      
                      balance <- use1 $ users . ix uid . balance
                      
                      balance <- use $ users . unsafeSingular (ix uid) . balance
                      
                      s <- get
                      let user = s ^?! users . at uid
                      
                      use1 :: MonadState s m => Traversal' s a -> m a
                      use1 = use . unsafeSingular
                      
                      view1 :: MonadReader s m => Traversal' s a -> m a
                      view1 = view . unsafeSingular
                      
                      balance <- use1 $ users . ix uid . balance
                      
                      balance <- use $ users . unsafeSingular (ix uid) . balance
                      
                      s <- get
                      let user = s ^?! users . at uid
                      
                      use1 :: MonadState s m => Traversal' s a -> m a
                      use1 = use . unsafeSingular
                      
                      view1 :: MonadReader s m => Traversal' s a -> m a
                      view1 = view . unsafeSingular
                      
                      balance <- use1 $ users . ix uid . balance
                      
                      balance <- use $ users . unsafeSingular (ix uid) . balance
                      
                      s <- get
                      let user = s ^?! users . at uid
                      
                      use1 :: MonadState s m => Traversal' s a -> m a
                      use1 = use . unsafeSingular
                      
                      view1 :: MonadReader s m => Traversal' s a -> m a
                      view1 = view . unsafeSingular
                      
                      balance <- use1 $ users . ix uid . balance
                      
                      balance <- use $ users . unsafeSingular (ix uid) . balance
                      

                      Connect stack bar charts with multiple groups with lines or segments using ggplot 2

                      copy iconCopydownload iconDownload
                      library(tidyverse)
                      
                      # mrs <- tibble(...) %>% mutate(...) # omitted for brevity, same as question
                      
                      mrs %>% ggplot(aes(x= value, y= timepoint, fill= Score))+
                        geom_bar(color= "black", width = 0.6, stat= "identity") +
                        geom_area(
                          # Last two stacked bars
                          data = ~ subset(.x, timepoint %in% c("pMRS", "dMRS")),
                          # These exact values depend on the 'width' of the bars
                          aes(y = c("pMRS" = 2.7, "dMRS" = 2.3)[as.character(timepoint)]),
                          position = "stack", outline.type = "both", 
                          # Alpha set to 0 to hide the fill colour
                          alpha = 0, colour = "black",
                          orientation = "y"
                        ) +
                        geom_area(
                          # First two stacked bars
                          data = ~ subset(.x, timepoint %in% c("dMRS", "fMRS")),
                          aes(y = c("dMRS" = 1.7, "fMRS" = 1.3)[as.character(timepoint)]),
                          position = "stack", outline.type = "both", alpha = 0, colour = "black",
                          orientation = "y"
                        ) +
                        scale_fill_manual(name= NULL,
                                          breaks = c("6","5","4","3","2","1","0"),
                                          values=  c("#000000","#294e63", "#496a80","#7c98ac", "#b3c4d2","#d9e0e6","#ffffff"))+
                        scale_y_discrete(breaks=c("pMRS",
                                                  "dMRS",
                                                  "fMRS"),
                                         labels=c("Pre-mRS,  (N=21)",
                                                  "Discharge mRS,  (N=21)",
                                                  "Followup mRS,  (N=21)"))+
                        theme_classic()
                      
                      library(tidyverse)
                      library(ggalluvial)
                      
                      # I personally prefer to create a new object when you do data modifications
                      mrs_long <- 
                        mrs %>% mutate(across(-Score,~paste(round(prop.table(.) * 100, 2)))) %>%
                        pivot_longer(cols = c("pMRS", "dMRS", "fMRS"), names_to = "timepoint") %>% 
                        mutate(Score=as.character(Score),
                               value=as.numeric(value),
                               ## I've reversed the level order
                               timepoint = factor(timepoint, levels= rev(c("fMRS", "dMRS", "pMRS"))),
                               Score = factor(Score, levels = 6:0))
                      
                      ggplot(mrs_long,
                             aes(y = value, x = timepoint)) +
                        geom_flow(aes(alluvium = Score), alpha= .9, 
                                  lty = 2, fill = "white", color = "black",
                                  curve_type = "linear", 
                                  width = .5) +
                        geom_col(aes(fill = Score), width = .5, color = "black") +
                        scale_fill_manual(NULL, breaks = 6:0,
                                          values=  c("#000000","#294e63", "#496a80","#7c98ac", "#b3c4d2","#d9e0e6","#ffffff"))+
                        scale_y_continuous(expand = c(0,0)) +
                        cowplot::theme_minimal_hgrid()
                      #> Warning: The `.dots` argument of `group_by()` is deprecated as of dplyr 1.0.0.
                      #> This warning is displayed once every 8 hours.
                      #> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
                      
                      ggplot(mrs_long,
                             aes(y = value, x = timepoint, fill = Score)) +
                        geom_alluvium(aes(alluvium = Score), alpha= .9, color = "black") +
                        scale_fill_manual(NULL, breaks = 6:0,
                                          values=  c("#000000","#294e63", "#496a80","#7c98ac", "#b3c4d2","#d9e0e6","#ffffff"))+
                        scale_y_continuous(expand = c(0,0)) +
                        cowplot::theme_minimal_hgrid()
                      
                      library(tidyverse)
                      library(ggalluvial)
                      
                      # I personally prefer to create a new object when you do data modifications
                      mrs_long <- 
                        mrs %>% mutate(across(-Score,~paste(round(prop.table(.) * 100, 2)))) %>%
                        pivot_longer(cols = c("pMRS", "dMRS", "fMRS"), names_to = "timepoint") %>% 
                        mutate(Score=as.character(Score),
                               value=as.numeric(value),
                               ## I've reversed the level order
                               timepoint = factor(timepoint, levels= rev(c("fMRS", "dMRS", "pMRS"))),
                               Score = factor(Score, levels = 6:0))
                      
                      ggplot(mrs_long,
                             aes(y = value, x = timepoint)) +
                        geom_flow(aes(alluvium = Score), alpha= .9, 
                                  lty = 2, fill = "white", color = "black",
                                  curve_type = "linear", 
                                  width = .5) +
                        geom_col(aes(fill = Score), width = .5, color = "black") +
                        scale_fill_manual(NULL, breaks = 6:0,
                                          values=  c("#000000","#294e63", "#496a80","#7c98ac", "#b3c4d2","#d9e0e6","#ffffff"))+
                        scale_y_continuous(expand = c(0,0)) +
                        cowplot::theme_minimal_hgrid()
                      #> Warning: The `.dots` argument of `group_by()` is deprecated as of dplyr 1.0.0.
                      #> This warning is displayed once every 8 hours.
                      #> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
                      
                      ggplot(mrs_long,
                             aes(y = value, x = timepoint, fill = Score)) +
                        geom_alluvium(aes(alluvium = Score), alpha= .9, color = "black") +
                        scale_fill_manual(NULL, breaks = 6:0,
                                          values=  c("#000000","#294e63", "#496a80","#7c98ac", "#b3c4d2","#d9e0e6","#ffffff"))+
                        scale_y_continuous(expand = c(0,0)) +
                        cowplot::theme_minimal_hgrid()
                      

                      JavaFX 11 Error intializing QuantumRenderer when running custom JRE image on Windows

                      copy iconCopydownload iconDownload
                      java "-Djava.library.path=path_to_natives" -classpath "your_classpath" <Your main class>
                      

                      stuck on javafx.graphics does not export com.sun.javafx.sg.prism to unnamed module

                      copy iconCopydownload iconDownload
                      <build>
                          <plugins>
                              <plugin>
                                  <groupId>org.apache.maven.plugins</groupId>
                                  <artifactId>maven-dependency-plugin</artifactId>
                                  <version>3.2.0</version>
                              </plugin>
                          </plugins>
                      </build>
                      
                      [INFO] --- maven-dependency-plugin:3.2.0:tree (default-cli) @ NewGistFX ---
                      [INFO] com.dustinredmond:NewGistFX:jar:1.0-SNAPSHOT
                      [INFO] +- org.openjfx:javafx-controls:jar:16:compile
                      [INFO] |  +- org.openjfx:javafx-controls:jar:win:16:compile
                      [INFO] |  \- org.openjfx:javafx-graphics:jar:16:compile
                      [INFO] |     \- org.openjfx:javafx-graphics:jar:win:16:compile
                      [INFO] +- org.openjfx:javafx-fxml:jar:16:compile
                      [INFO] |  \- org.openjfx:javafx-fxml:jar:win:16:compile
                      [INFO] +- org.controlsfx:controlsfx:jar:11.1.0:compile
                      [INFO] +- net.synedra:validatorfx:jar:0.1.13:compile
                      [INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test
                      [INFO] |  +- org.apiguardian:apiguardian-api:jar:1.1.0:test
                      [INFO] |  +- org.opentest4j:opentest4j:jar:1.2.0:test
                      [INFO] |  \- org.junit.platform:junit-platform-commons:jar:1.7.1:test
                      [INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test
                      [INFO] |  \- org.junit.platform:junit-platform-engine:jar:1.7.1:test
                      [INFO] +- org.eclipse.mylyn.github:org.eclipse.egit.github.core:jar:2.1.5:compile
                      [INFO] |  \- com.google.code.gson:gson:jar:2.2.2:compile
                      [INFO] +- com.fifesoft:rsyntaxtextarea:jar:3.1.3:compile
                      [INFO] +- junit:junit:jar:4.13.1:test
                      [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
                      [INFO] +- com.dustinredmond.fxtrayicon:FXTrayIcon:jar:3.1.1:compile
                      [INFO] +- org.kohsuke:github-api:jar:1.133:compile
                      [INFO] |  +- org.apache.commons:commons-lang3:jar:3.9:compile
                      [INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.5:compile
                      [INFO] |  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.5:compile
                      [INFO] |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.12.5:compile
                      [INFO] |  \- commons-io:commons-io:jar:2.8.0:compile
                      [INFO] +- com.squareup.okio:okio:jar:2.10.0:compile
                      [INFO] |  +- org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.20:compile
                      [INFO] |  |  \- org.jetbrains:annotations:jar:13.0:compile
                      [INFO] |  \- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.4.20:compile
                      [INFO] +- org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.5.31:compile
                      [INFO] |  \- org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.5.31:compile
                      [INFO] +- com.squareup.okhttp3:okhttp:jar:4.9.2:compile
                      [INFO] +- org.springframework.security:spring-security-crypto:jar:5.5.3:compile
                      [INFO] +- commons-codec:commons-codec:jar:1.15:compile
                      [INFO] \- eu.mihosoft.monacofx:monacofx:jar:0.0.7:compile
                      [INFO]    +- org.openjfx:javafx-base:jar:12.0.1:compile
                      [INFO]    |  \- org.openjfx:javafx-base:jar:win:12.0.1:compile
                      [INFO]    +- org.openjfx:javafx-web:jar:12.0.1:runtime
                      [INFO]    |  \- org.openjfx:javafx-web:jar:win:12.0.1:runtime
                      [INFO]    \- org.openjfx:javafx-media:jar:12.0.1:runtime
                      [INFO]       \- org.openjfx:javafx-media:jar:win:12.0.1:runtime
                      
                      package com.example.monacotest;
                      
                      import eu.mihosoft.monacofx.MonacoFX;
                      import javafx.application.Application;
                      import javafx.scene.Scene;
                      import javafx.scene.layout.StackPane;
                      import javafx.stage.Stage;
                      
                      public class MonacoTestApp extends Application {
                      
                          public static void main(String[] args) {
                              launch(args);
                          }
                      
                          @Override
                          public void start(Stage primaryStage) throws Exception {
                              // create a new monaco editor node
                              MonacoFX monacoFX = new MonacoFX();
                              StackPane root = new StackPane(monacoFX);
                      
                              // set initial text
                              monacoFX.getEditor().getDocument().setText(
                                      """
                                      #include <stdio.h>
                                      int main() {
                                         // printf() displays the string inside quotation
                                         printf("Hello, World!");
                                         return 0;
                                      }
                                      """
                              );
                      
                              // use a predefined language like 'c'
                              monacoFX.getEditor().setCurrentLanguage("c");
                              monacoFX.getEditor().setCurrentTheme("vs-dark");
                      
                              // the usual scene & stage setup
                              Scene scene = new Scene(root, 800,600);
                              primaryStage.setTitle("MonacoFX Demo (running on JDK " + System.getProperty("java.version") + ")");
                              primaryStage.setScene(scene);
                              primaryStage.show();
                          }
                      }
                      
                      module com.example.monacotest {
                          requires javafx.web;
                          requires eu.mihosoft.monacofx;
                      
                          exports com.example.monacotest;
                      }
                      
                      <?xml version="1.0" encoding="UTF-8"?>
                      <project xmlns="http://maven.apache.org/POM/4.0.0"
                               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
                          <modelVersion>4.0.0</modelVersion>
                      
                          <groupId>com.example.monacotest</groupId>
                          <artifactId>MonacoTestApp</artifactId>
                          <version>1.0-SNAPSHOT</version>
                      
                          <properties>
                              <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                              <java.version>17</java.version>
                              <javafx.version>17.0.1</javafx.version>
                          </properties>
                      
                          <dependencies>
                              <dependency>
                                  <groupId>org.openjfx</groupId>
                                  <artifactId>javafx-web</artifactId>
                                  <version>${javafx.version}</version>
                              </dependency>
                              <dependency>
                                  <groupId>eu.mihosoft.monacofx</groupId>
                                  <artifactId>monacofx</artifactId>
                                  <version>0.0.7</version>
                                  <exclusions>
                                      <exclusion>
                                          <groupId>org.openjfx</groupId>
                                          <artifactId>*</artifactId>
                                      </exclusion>
                                  </exclusions>
                              </dependency>
                          </dependencies>
                      
                          <build>
                              <plugins>
                                  <plugin>
                                      <groupId>org.apache.maven.plugins</groupId>
                                      <artifactId>maven-dependency-plugin</artifactId>
                                      <version>3.2.0</version>
                                  </plugin>
                                  <plugin>
                                      <groupId>org.apache.maven.plugins</groupId>
                                      <artifactId>maven-compiler-plugin</artifactId>
                                      <version>3.8.1</version>
                                      <configuration>
                                          <source>${java.version}</source>
                                          <target>${java.version}</target>
                                      </configuration>
                                  </plugin>
                              </plugins>
                          </build>
                      </project>
                      
                      [INFO] --- maven-dependency-plugin:3.2.0:tree (default-cli) @ MonacoTestApp ---
                      [INFO] com.example.monacotest:MonacoTestApp:jar:1.0-SNAPSHOT
                      [INFO] +- org.openjfx:javafx-web:jar:17.0.1:compile
                      [INFO] |  +- org.openjfx:javafx-web:jar:win:17.0.1:compile
                      [INFO] |  +- org.openjfx:javafx-controls:jar:17.0.1:compile
                      [INFO] |  |  +- org.openjfx:javafx-controls:jar:win:17.0.1:compile
                      [INFO] |  |  \- org.openjfx:javafx-graphics:jar:17.0.1:compile
                      [INFO] |  |     +- org.openjfx:javafx-graphics:jar:win:17.0.1:compile
                      [INFO] |  |     \- org.openjfx:javafx-base:jar:17.0.1:compile
                      [INFO] |  |        \- org.openjfx:javafx-base:jar:win:17.0.1:compile
                      [INFO] |  \- org.openjfx:javafx-media:jar:17.0.1:compile
                      [INFO] |     \- org.openjfx:javafx-media:jar:win:17.0.1:compile
                      [INFO] \- eu.mihosoft.monacofx:monacofx:jar:0.0.7:compile
                      
                      <build>
                          <plugins>
                              <plugin>
                                  <groupId>org.apache.maven.plugins</groupId>
                                  <artifactId>maven-dependency-plugin</artifactId>
                                  <version>3.2.0</version>
                              </plugin>
                          </plugins>
                      </build>
                      
                      [INFO] --- maven-dependency-plugin:3.2.0:tree (default-cli) @ NewGistFX ---
                      [INFO] com.dustinredmond:NewGistFX:jar:1.0-SNAPSHOT
                      [INFO] +- org.openjfx:javafx-controls:jar:16:compile
                      [INFO] |  +- org.openjfx:javafx-controls:jar:win:16:compile
                      [INFO] |  \- org.openjfx:javafx-graphics:jar:16:compile
                      [INFO] |     \- org.openjfx:javafx-graphics:jar:win:16:compile
                      [INFO] +- org.openjfx:javafx-fxml:jar:16:compile
                      [INFO] |  \- org.openjfx:javafx-fxml:jar:win:16:compile
                      [INFO] +- org.controlsfx:controlsfx:jar:11.1.0:compile
                      [INFO] +- net.synedra:validatorfx:jar:0.1.13:compile
                      [INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test
                      [INFO] |  +- org.apiguardian:apiguardian-api:jar:1.1.0:test
                      [INFO] |  +- org.opentest4j:opentest4j:jar:1.2.0:test
                      [INFO] |  \- org.junit.platform:junit-platform-commons:jar:1.7.1:test
                      [INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test
                      [INFO] |  \- org.junit.platform:junit-platform-engine:jar:1.7.1:test
                      [INFO] +- org.eclipse.mylyn.github:org.eclipse.egit.github.core:jar:2.1.5:compile
                      [INFO] |  \- com.google.code.gson:gson:jar:2.2.2:compile
                      [INFO] +- com.fifesoft:rsyntaxtextarea:jar:3.1.3:compile
                      [INFO] +- junit:junit:jar:4.13.1:test
                      [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
                      [INFO] +- com.dustinredmond.fxtrayicon:FXTrayIcon:jar:3.1.1:compile
                      [INFO] +- org.kohsuke:github-api:jar:1.133:compile
                      [INFO] |  +- org.apache.commons:commons-lang3:jar:3.9:compile
                      [INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.5:compile
                      [INFO] |  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.5:compile
                      [INFO] |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.12.5:compile
                      [INFO] |  \- commons-io:commons-io:jar:2.8.0:compile
                      [INFO] +- com.squareup.okio:okio:jar:2.10.0:compile
                      [INFO] |  +- org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.20:compile
                      [INFO] |  |  \- org.jetbrains:annotations:jar:13.0:compile
                      [INFO] |  \- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.4.20:compile
                      [INFO] +- org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.5.31:compile
                      [INFO] |  \- org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.5.31:compile
                      [INFO] +- com.squareup.okhttp3:okhttp:jar:4.9.2:compile
                      [INFO] +- org.springframework.security:spring-security-crypto:jar:5.5.3:compile
                      [INFO] +- commons-codec:commons-codec:jar:1.15:compile
                      [INFO] \- eu.mihosoft.monacofx:monacofx:jar:0.0.7:compile
                      [INFO]    +- org.openjfx:javafx-base:jar:12.0.1:compile
                      [INFO]    |  \- org.openjfx:javafx-base:jar:win:12.0.1:compile
                      [INFO]    +- org.openjfx:javafx-web:jar:12.0.1:runtime
                      [INFO]    |  \- org.openjfx:javafx-web:jar:win:12.0.1:runtime
                      [INFO]    \- org.openjfx:javafx-media:jar:12.0.1:runtime
                      [INFO]       \- org.openjfx:javafx-media:jar:win:12.0.1:runtime
                      
                      package com.example.monacotest;
                      
                      import eu.mihosoft.monacofx.MonacoFX;
                      import javafx.application.Application;
                      import javafx.scene.Scene;
                      import javafx.scene.layout.StackPane;
                      import javafx.stage.Stage;
                      
                      public class MonacoTestApp extends Application {
                      
                          public static void main(String[] args) {
                              launch(args);
                          }
                      
                          @Override
                          public void start(Stage primaryStage) throws Exception {
                              // create a new monaco editor node
                              MonacoFX monacoFX = new MonacoFX();
                              StackPane root = new StackPane(monacoFX);
                      
                              // set initial text
                              monacoFX.getEditor().getDocument().setText(
                                      """
                                      #include <stdio.h>
                                      int main() {
                                         // printf() displays the string inside quotation
                                         printf("Hello, World!");
                                         return 0;
                                      }
                                      """
                              );
                      
                              // use a predefined language like 'c'
                              monacoFX.getEditor().setCurrentLanguage("c");
                              monacoFX.getEditor().setCurrentTheme("vs-dark");
                      
                              // the usual scene & stage setup
                              Scene scene = new Scene(root, 800,600);
                              primaryStage.setTitle("MonacoFX Demo (running on JDK " + System.getProperty("java.version") + ")");
                              primaryStage.setScene(scene);
                              primaryStage.show();
                          }
                      }
                      
                      module com.example.monacotest {
                          requires javafx.web;
                          requires eu.mihosoft.monacofx;
                      
                          exports com.example.monacotest;
                      }
                      
                      <?xml version="1.0" encoding="UTF-8"?>
                      <project xmlns="http://maven.apache.org/POM/4.0.0"
                               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
                          <modelVersion>4.0.0</modelVersion>
                      
                          <groupId>com.example.monacotest</groupId>
                          <artifactId>MonacoTestApp</artifactId>
                          <version>1.0-SNAPSHOT</version>
                      
                          <properties>
                              <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                              <java.version>17</java.version>
                              <javafx.version>17.0.1</javafx.version>
                          </properties>
                      
                          <dependencies>
                              <dependency>
                                  <groupId>org.openjfx</groupId>
                                  <artifactId>javafx-web</artifactId>
                                  <version>${javafx.version}</version>
                              </dependency>
                              <dependency>
                                  <groupId>eu.mihosoft.monacofx</groupId>
                                  <artifactId>monacofx</artifactId>
                                  <version>0.0.7</version>
                                  <exclusions>
                                      <exclusion>
                                          <groupId>org.openjfx</groupId>
                                          <artifactId>*</artifactId>
                                      </exclusion>
                                  </exclusions>
                              </dependency>
                          </dependencies>
                      
                          <build>
                              <plugins>
                                  <plugin>
                                      <groupId>org.apache.maven.plugins</groupId>
                                      <artifactId>maven-dependency-plugin</artifactId>
                                      <version>3.2.0</version>
                                  </plugin>
                                  <plugin>
                                      <groupId>org.apache.maven.plugins</groupId>
                                      <artifactId>maven-compiler-plugin</artifactId>
                                      <version>3.8.1</version>
                                      <configuration>
                                          <source>${java.version}</source>
                                          <target>${java.version}</target>
                                      </configuration>
                                  </plugin>
                              </plugins>
                          </build>
                      </project>
                      
                      [INFO] --- maven-dependency-plugin:3.2.0:tree (default-cli) @ MonacoTestApp ---
                      [INFO] com.example.monacotest:MonacoTestApp:jar:1.0-SNAPSHOT
                      [INFO] +- org.openjfx:javafx-web:jar:17.0.1:compile
                      [INFO] |  +- org.openjfx:javafx-web:jar:win:17.0.1:compile
                      [INFO] |  +- org.openjfx:javafx-controls:jar:17.0.1:compile
                      [INFO] |  |  +- org.openjfx:javafx-controls:jar:win:17.0.1:compile
                      [INFO] |  |  \- org.openjfx:javafx-graphics:jar:17.0.1:compile
                      [INFO] |  |     +- org.openjfx:javafx-graphics:jar:win:17.0.1:compile
                      [INFO] |  |     \- org.openjfx:javafx-base:jar:17.0.1:compile
                      [INFO] |  |        \- org.openjfx:javafx-base:jar:win:17.0.1:compile
                      [INFO] |  \- org.openjfx:javafx-media:jar:17.0.1:compile
                      [INFO] |     \- org.openjfx:javafx-media:jar:win:17.0.1:compile
                      [INFO] \- eu.mihosoft.monacofx:monacofx:jar:0.0.7:compile
                      
                      <build>
                          <plugins>
                              <plugin>
                                  <groupId>org.apache.maven.plugins</groupId>
                                  <artifactId>maven-dependency-plugin</artifactId>
                                  <version>3.2.0</version>
                              </plugin>
                          </plugins>
                      </build>
                      
                      [INFO] --- maven-dependency-plugin:3.2.0:tree (default-cli) @ NewGistFX ---
                      [INFO] com.dustinredmond:NewGistFX:jar:1.0-SNAPSHOT
                      [INFO] +- org.openjfx:javafx-controls:jar:16:compile
                      [INFO] |  +- org.openjfx:javafx-controls:jar:win:16:compile
                      [INFO] |  \- org.openjfx:javafx-graphics:jar:16:compile
                      [INFO] |     \- org.openjfx:javafx-graphics:jar:win:16:compile
                      [INFO] +- org.openjfx:javafx-fxml:jar:16:compile
                      [INFO] |  \- org.openjfx:javafx-fxml:jar:win:16:compile
                      [INFO] +- org.controlsfx:controlsfx:jar:11.1.0:compile
                      [INFO] +- net.synedra:validatorfx:jar:0.1.13:compile
                      [INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test
                      [INFO] |  +- org.apiguardian:apiguardian-api:jar:1.1.0:test
                      [INFO] |  +- org.opentest4j:opentest4j:jar:1.2.0:test
                      [INFO] |  \- org.junit.platform:junit-platform-commons:jar:1.7.1:test
                      [INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test
                      [INFO] |  \- org.junit.platform:junit-platform-engine:jar:1.7.1:test
                      [INFO] +- org.eclipse.mylyn.github:org.eclipse.egit.github.core:jar:2.1.5:compile
                      [INFO] |  \- com.google.code.gson:gson:jar:2.2.2:compile
                      [INFO] +- com.fifesoft:rsyntaxtextarea:jar:3.1.3:compile
                      [INFO] +- junit:junit:jar:4.13.1:test
                      [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
                      [INFO] +- com.dustinredmond.fxtrayicon:FXTrayIcon:jar:3.1.1:compile
                      [INFO] +- org.kohsuke:github-api:jar:1.133:compile
                      [INFO] |  +- org.apache.commons:commons-lang3:jar:3.9:compile
                      [INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.5:compile
                      [INFO] |  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.5:compile
                      [INFO] |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.12.5:compile
                      [INFO] |  \- commons-io:commons-io:jar:2.8.0:compile
                      [INFO] +- com.squareup.okio:okio:jar:2.10.0:compile
                      [INFO] |  +- org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.20:compile
                      [INFO] |  |  \- org.jetbrains:annotations:jar:13.0:compile
                      [INFO] |  \- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.4.20:compile
                      [INFO] +- org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.5.31:compile
                      [INFO] |  \- org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.5.31:compile
                      [INFO] +- com.squareup.okhttp3:okhttp:jar:4.9.2:compile
                      [INFO] +- org.springframework.security:spring-security-crypto:jar:5.5.3:compile
                      [INFO] +- commons-codec:commons-codec:jar:1.15:compile
                      [INFO] \- eu.mihosoft.monacofx:monacofx:jar:0.0.7:compile
                      [INFO]    +- org.openjfx:javafx-base:jar:12.0.1:compile
                      [INFO]    |  \- org.openjfx:javafx-base:jar:win:12.0.1:compile
                      [INFO]    +- org.openjfx:javafx-web:jar:12.0.1:runtime
                      [INFO]    |  \- org.openjfx:javafx-web:jar:win:12.0.1:runtime
                      [INFO]    \- org.openjfx:javafx-media:jar:12.0.1:runtime
                      [INFO]       \- org.openjfx:javafx-media:jar:win:12.0.1:runtime
                      
                      package com.example.monacotest;
                      
                      import eu.mihosoft.monacofx.MonacoFX;
                      import javafx.application.Application;
                      import javafx.scene.Scene;
                      import javafx.scene.layout.StackPane;
                      import javafx.stage.Stage;
                      
                      public class MonacoTestApp extends Application {
                      
                          public static void main(String[] args) {
                              launch(args);
                          }
                      
                          @Override
                          public void start(Stage primaryStage) throws Exception {
                              // create a new monaco editor node
                              MonacoFX monacoFX = new MonacoFX();
                              StackPane root = new StackPane(monacoFX);
                      
                              // set initial text
                              monacoFX.getEditor().getDocument().setText(
                                      """
                                      #include <stdio.h>
                                      int main() {
                                         // printf() displays the string inside quotation
                                         printf("Hello, World!");
                                         return 0;
                                      }
                                      """
                              );
                      
                              // use a predefined language like 'c'
                              monacoFX.getEditor().setCurrentLanguage("c");
                              monacoFX.getEditor().setCurrentTheme("vs-dark");
                      
                              // the usual scene & stage setup
                              Scene scene = new Scene(root, 800,600);
                              primaryStage.setTitle("MonacoFX Demo (running on JDK " + System.getProperty("java.version") + ")");
                              primaryStage.setScene(scene);
                              primaryStage.show();
                          }
                      }
                      
                      module com.example.monacotest {
                          requires javafx.web;
                          requires eu.mihosoft.monacofx;
                      
                          exports com.example.monacotest;
                      }
                      
                      <?xml version="1.0" encoding="UTF-8"?>
                      <project xmlns="http://maven.apache.org/POM/4.0.0"
                               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
                          <modelVersion>4.0.0</modelVersion>
                      
                          <groupId>com.example.monacotest</groupId>
                          <artifactId>MonacoTestApp</artifactId>
                          <version>1.0-SNAPSHOT</version>
                      
                          <properties>
                              <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                              <java.version>17</java.version>
                              <javafx.version>17.0.1</javafx.version>
                          </properties>
                      
                          <dependencies>
                              <dependency>
                                  <groupId>org.openjfx</groupId>
                                  <artifactId>javafx-web</artifactId>
                                  <version>${javafx.version}</version>
                              </dependency>
                              <dependency>
                                  <groupId>eu.mihosoft.monacofx</groupId>
                                  <artifactId>monacofx</artifactId>
                                  <version>0.0.7</version>
                                  <exclusions>
                                      <exclusion>
                                          <groupId>org.openjfx</groupId>
                                          <artifactId>*</artifactId>
                                      </exclusion>
                                  </exclusions>
                              </dependency>
                          </dependencies>
                      
                          <build>
                              <plugins>
                                  <plugin>
                                      <groupId>org.apache.maven.plugins</groupId>
                                      <artifactId>maven-dependency-plugin</artifactId>
                                      <version>3.2.0</version>
                                  </plugin>
                                  <plugin>
                                      <groupId>org.apache.maven.plugins</groupId>
                                      <artifactId>maven-compiler-plugin</artifactId>
                                      <version>3.8.1</version>
                                      <configuration>
                                          <source>${java.version}</source>
                                          <target>${java.version}</target>
                                      </configuration>
                                  </plugin>
                              </plugins>
                          </build>
                      </project>
                      
                      [INFO] --- maven-dependency-plugin:3.2.0:tree (default-cli) @ MonacoTestApp ---
                      [INFO] com.example.monacotest:MonacoTestApp:jar:1.0-SNAPSHOT
                      [INFO] +- org.openjfx:javafx-web:jar:17.0.1:compile
                      [INFO] |  +- org.openjfx:javafx-web:jar:win:17.0.1:compile
                      [INFO] |  +- org.openjfx:javafx-controls:jar:17.0.1:compile
                      [INFO] |  |  +- org.openjfx:javafx-controls:jar:win:17.0.1:compile
                      [INFO] |  |  \- org.openjfx:javafx-graphics:jar:17.0.1:compile
                      [INFO] |  |     +- org.openjfx:javafx-graphics:jar:win:17.0.1:compile
                      [INFO] |  |     \- org.openjfx:javafx-base:jar:17.0.1:compile
                      [INFO] |  |        \- org.openjfx:javafx-base:jar:win:17.0.1:compile
                      [INFO] |  \- org.openjfx:javafx-media:jar:17.0.1:compile
                      [INFO] |     \- org.openjfx:javafx-media:jar:win:17.0.1:compile
                      [INFO] \- eu.mihosoft.monacofx:monacofx:jar:0.0.7:compile
                      
                      <build>
                          <plugins>
                              <plugin>
                                  <groupId>org.apache.maven.plugins</groupId>
                                  <artifactId>maven-dependency-plugin</artifactId>
                                  <version>3.2.0</version>
                              </plugin>
                          </plugins>
                      </build>
                      
                      [INFO] --- maven-dependency-plugin:3.2.0:tree (default-cli) @ NewGistFX ---
                      [INFO] com.dustinredmond:NewGistFX:jar:1.0-SNAPSHOT
                      [INFO] +- org.openjfx:javafx-controls:jar:16:compile
                      [INFO] |  +- org.openjfx:javafx-controls:jar:win:16:compile
                      [INFO] |  \- org.openjfx:javafx-graphics:jar:16:compile
                      [INFO] |     \- org.openjfx:javafx-graphics:jar:win:16:compile
                      [INFO] +- org.openjfx:javafx-fxml:jar:16:compile
                      [INFO] |  \- org.openjfx:javafx-fxml:jar:win:16:compile
                      [INFO] +- org.controlsfx:controlsfx:jar:11.1.0:compile
                      [INFO] +- net.synedra:validatorfx:jar:0.1.13:compile
                      [INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test
                      [INFO] |  +- org.apiguardian:apiguardian-api:jar:1.1.0:test
                      [INFO] |  +- org.opentest4j:opentest4j:jar:1.2.0:test
                      [INFO] |  \- org.junit.platform:junit-platform-commons:jar:1.7.1:test
                      [INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test
                      [INFO] |  \- org.junit.platform:junit-platform-engine:jar:1.7.1:test
                      [INFO] +- org.eclipse.mylyn.github:org.eclipse.egit.github.core:jar:2.1.5:compile
                      [INFO] |  \- com.google.code.gson:gson:jar:2.2.2:compile
                      [INFO] +- com.fifesoft:rsyntaxtextarea:jar:3.1.3:compile
                      [INFO] +- junit:junit:jar:4.13.1:test
                      [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
                      [INFO] +- com.dustinredmond.fxtrayicon:FXTrayIcon:jar:3.1.1:compile
                      [INFO] +- org.kohsuke:github-api:jar:1.133:compile
                      [INFO] |  +- org.apache.commons:commons-lang3:jar:3.9:compile
                      [INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.5:compile
                      [INFO] |  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.5:compile
                      [INFO] |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.12.5:compile
                      [INFO] |  \- commons-io:commons-io:jar:2.8.0:compile
                      [INFO] +- com.squareup.okio:okio:jar:2.10.0:compile
                      [INFO] |  +- org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.20:compile
                      [INFO] |  |  \- org.jetbrains:annotations:jar:13.0:compile
                      [INFO] |  \- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.4.20:compile
                      [INFO] +- org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.5.31:compile
                      [INFO] |  \- org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.5.31:compile
                      [INFO] +- com.squareup.okhttp3:okhttp:jar:4.9.2:compile
                      [INFO] +- org.springframework.security:spring-security-crypto:jar:5.5.3:compile
                      [INFO] +- commons-codec:commons-codec:jar:1.15:compile
                      [INFO] \- eu.mihosoft.monacofx:monacofx:jar:0.0.7:compile
                      [INFO]    +- org.openjfx:javafx-base:jar:12.0.1:compile
                      [INFO]    |  \- org.openjfx:javafx-base:jar:win:12.0.1:compile
                      [INFO]    +- org.openjfx:javafx-web:jar:12.0.1:runtime
                      [INFO]    |  \- org.openjfx:javafx-web:jar:win:12.0.1:runtime
                      [INFO]    \- org.openjfx:javafx-media:jar:12.0.1:runtime
                      [INFO]       \- org.openjfx:javafx-media:jar:win:12.0.1:runtime
                      
                      package com.example.monacotest;
                      
                      import eu.mihosoft.monacofx.MonacoFX;
                      import javafx.application.Application;
                      import javafx.scene.Scene;
                      import javafx.scene.layout.StackPane;
                      import javafx.stage.Stage;
                      
                      public class MonacoTestApp extends Application {
                      
                          public static void main(String[] args) {
                              launch(args);
                          }
                      
                          @Override
                          public void start(Stage primaryStage) throws Exception {
                              // create a new monaco editor node
                              MonacoFX monacoFX = new MonacoFX();
                              StackPane root = new StackPane(monacoFX);
                      
                              // set initial text
                              monacoFX.getEditor().getDocument().setText(
                                      """
                                      #include <stdio.h>
                                      int main() {
                                         // printf() displays the string inside quotation
                                         printf("Hello, World!");
                                         return 0;
                                      }
                                      """
                              );
                      
                              // use a predefined language like 'c'
                              monacoFX.getEditor().setCurrentLanguage("c");
                              monacoFX.getEditor().setCurrentTheme("vs-dark");
                      
                              // the usual scene & stage setup
                              Scene scene = new Scene(root, 800,600);
                              primaryStage.setTitle("MonacoFX Demo (running on JDK " + System.getProperty("java.version") + ")");
                              primaryStage.setScene(scene);
                              primaryStage.show();
                          }
                      }
                      
                      module com.example.monacotest {
                          requires javafx.web;
                          requires eu.mihosoft.monacofx;
                      
                          exports com.example.monacotest;
                      }
                      
                      <?xml version="1.0" encoding="UTF-8"?>
                      <project xmlns="http://maven.apache.org/POM/4.0.0"
                               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
                          <modelVersion>4.0.0</modelVersion>
                      
                          <groupId>com.example.monacotest</groupId>
                          <artifactId>MonacoTestApp</artifactId>
                          <version>1.0-SNAPSHOT</version>
                      
                          <properties>
                              <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                              <java.version>17</java.version>
                              <javafx.version>17.0.1</javafx.version>
                          </properties>
                      
                          <dependencies>
                              <dependency>
                                  <groupId>org.openjfx</groupId>
                                  <artifactId>javafx-web</artifactId>
                                  <version>${javafx.version}</version>
                              </dependency>
                              <dependency>
                                  <groupId>eu.mihosoft.monacofx</groupId>
                                  <artifactId>monacofx</artifactId>
                                  <version>0.0.7</version>
                                  <exclusions>
                                      <exclusion>
                                          <groupId>org.openjfx</groupId>
                                          <artifactId>*</artifactId>
                                      </exclusion>
                                  </exclusions>
                              </dependency>
                          </dependencies>
                      
                          <build>
                              <plugins>
                                  <plugin>
                                      <groupId>org.apache.maven.plugins</groupId>
                                      <artifactId>maven-dependency-plugin</artifactId>
                                      <version>3.2.0</version>
                                  </plugin>
                                  <plugin>
                                      <groupId>org.apache.maven.plugins</groupId>
                                      <artifactId>maven-compiler-plugin</artifactId>
                                      <version>3.8.1</version>
                                      <configuration>
                                          <source>${java.version}</source>
                                          <target>${java.version}</target>
                                      </configuration>
                                  </plugin>
                              </plugins>
                          </build>
                      </project>
                      
                      [INFO] --- maven-dependency-plugin:3.2.0:tree (default-cli) @ MonacoTestApp ---
                      [INFO] com.example.monacotest:MonacoTestApp:jar:1.0-SNAPSHOT
                      [INFO] +- org.openjfx:javafx-web:jar:17.0.1:compile
                      [INFO] |  +- org.openjfx:javafx-web:jar:win:17.0.1:compile
                      [INFO] |  +- org.openjfx:javafx-controls:jar:17.0.1:compile
                      [INFO] |  |  +- org.openjfx:javafx-controls:jar:win:17.0.1:compile
                      [INFO] |  |  \- org.openjfx:javafx-graphics:jar:17.0.1:compile
                      [INFO] |  |     +- org.openjfx:javafx-graphics:jar:win:17.0.1:compile
                      [INFO] |  |     \- org.openjfx:javafx-base:jar:17.0.1:compile
                      [INFO] |  |        \- org.openjfx:javafx-base:jar:win:17.0.1:compile
                      [INFO] |  \- org.openjfx:javafx-media:jar:17.0.1:compile
                      [INFO] |     \- org.openjfx:javafx-media:jar:win:17.0.1:compile
                      [INFO] \- eu.mihosoft.monacofx:monacofx:jar:0.0.7:compile
                      
                      <build>
                          <plugins>
                              <plugin>
                                  <groupId>org.apache.maven.plugins</groupId>
                                  <artifactId>maven-dependency-plugin</artifactId>
                                  <version>3.2.0</version>
                              </plugin>
                          </plugins>
                      </build>
                      
                      [INFO] --- maven-dependency-plugin:3.2.0:tree (default-cli) @ NewGistFX ---
                      [INFO] com.dustinredmond:NewGistFX:jar:1.0-SNAPSHOT
                      [INFO] +- org.openjfx:javafx-controls:jar:16:compile
                      [INFO] |  +- org.openjfx:javafx-controls:jar:win:16:compile
                      [INFO] |  \- org.openjfx:javafx-graphics:jar:16:compile
                      [INFO] |     \- org.openjfx:javafx-graphics:jar:win:16:compile
                      [INFO] +- org.openjfx:javafx-fxml:jar:16:compile
                      [INFO] |  \- org.openjfx:javafx-fxml:jar:win:16:compile
                      [INFO] +- org.controlsfx:controlsfx:jar:11.1.0:compile
                      [INFO] +- net.synedra:validatorfx:jar:0.1.13:compile
                      [INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test
                      [INFO] |  +- org.apiguardian:apiguardian-api:jar:1.1.0:test
                      [INFO] |  +- org.opentest4j:opentest4j:jar:1.2.0:test
                      [INFO] |  \- org.junit.platform:junit-platform-commons:jar:1.7.1:test
                      [INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test
                      [INFO] |  \- org.junit.platform:junit-platform-engine:jar:1.7.1:test
                      [INFO] +- org.eclipse.mylyn.github:org.eclipse.egit.github.core:jar:2.1.5:compile
                      [INFO] |  \- com.google.code.gson:gson:jar:2.2.2:compile
                      [INFO] +- com.fifesoft:rsyntaxtextarea:jar:3.1.3:compile
                      [INFO] +- junit:junit:jar:4.13.1:test
                      [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
                      [INFO] +- com.dustinredmond.fxtrayicon:FXTrayIcon:jar:3.1.1:compile
                      [INFO] +- org.kohsuke:github-api:jar:1.133:compile
                      [INFO] |  +- org.apache.commons:commons-lang3:jar:3.9:compile
                      [INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.5:compile
                      [INFO] |  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.5:compile
                      [INFO] |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.12.5:compile
                      [INFO] |  \- commons-io:commons-io:jar:2.8.0:compile
                      [INFO] +- com.squareup.okio:okio:jar:2.10.0:compile
                      [INFO] |  +- org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.20:compile
                      [INFO] |  |  \- org.jetbrains:annotations:jar:13.0:compile
                      [INFO] |  \- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.4.20:compile
                      [INFO] +- org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.5.31:compile
                      [INFO] |  \- org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.5.31:compile
                      [INFO] +- com.squareup.okhttp3:okhttp:jar:4.9.2:compile
                      [INFO] +- org.springframework.security:spring-security-crypto:jar:5.5.3:compile
                      [INFO] +- commons-codec:commons-codec:jar:1.15:compile
                      [INFO] \- eu.mihosoft.monacofx:monacofx:jar:0.0.7:compile
                      [INFO]    +- org.openjfx:javafx-base:jar:12.0.1:compile
                      [INFO]    |  \- org.openjfx:javafx-base:jar:win:12.0.1:compile
                      [INFO]    +- org.openjfx:javafx-web:jar:12.0.1:runtime
                      [INFO]    |  \- org.openjfx:javafx-web:jar:win:12.0.1:runtime
                      [INFO]    \- org.openjfx:javafx-media:jar:12.0.1:runtime
                      [INFO]       \- org.openjfx:javafx-media:jar:win:12.0.1:runtime
                      
                      package com.example.monacotest;
                      
                      import eu.mihosoft.monacofx.MonacoFX;
                      import javafx.application.Application;
                      import javafx.scene.Scene;
                      import javafx.scene.layout.StackPane;
                      import javafx.stage.Stage;
                      
                      public class MonacoTestApp extends Application {
                      
                          public static void main(String[] args) {
                              launch(args);
                          }
                      
                          @Override
                          public void start(Stage primaryStage) throws Exception {
                              // create a new monaco editor node
                              MonacoFX monacoFX = new MonacoFX();
                              StackPane root = new StackPane(monacoFX);
                      
                              // set initial text
                              monacoFX.getEditor().getDocument().setText(
                                      """
                                      #include <stdio.h>
                                      int main() {
                                         // printf() displays the string inside quotation
                                         printf("Hello, World!");
                                         return 0;
                                      }
                                      """
                              );
                      
                              // use a predefined language like 'c'
                              monacoFX.getEditor().setCurrentLanguage("c");
                              monacoFX.getEditor().setCurrentTheme("vs-dark");
                      
                              // the usual scene & stage setup
                              Scene scene = new Scene(root, 800,600);
                              primaryStage.setTitle("MonacoFX Demo (running on JDK " + System.getProperty("java.version") + ")");
                              primaryStage.setScene(scene);
                              primaryStage.show();
                          }
                      }
                      
                      module com.example.monacotest {
                          requires javafx.web;
                          requires eu.mihosoft.monacofx;
                      
                          exports com.example.monacotest;
                      }
                      
                      <?xml version="1.0" encoding="UTF-8"?>
                      <project xmlns="http://maven.apache.org/POM/4.0.0"
                               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
                          <modelVersion>4.0.0</modelVersion>
                      
                          <groupId>com.example.monacotest</groupId>
                          <artifactId>MonacoTestApp</artifactId>
                          <version>1.0-SNAPSHOT</version>
                      
                          <properties>
                              <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                              <java.version>17</java.version>
                              <javafx.version>17.0.1</javafx.version>
                          </properties>
                      
                          <dependencies>
                              <dependency>
                                  <groupId>org.openjfx</groupId>
                                  <artifactId>javafx-web</artifactId>
                                  <version>${javafx.version}</version>
                              </dependency>
                              <dependency>
                                  <groupId>eu.mihosoft.monacofx</groupId>
                                  <artifactId>monacofx</artifactId>
                                  <version>0.0.7</version>
                                  <exclusions>
                                      <exclusion>
                                          <groupId>org.openjfx</groupId>
                                          <artifactId>*</artifactId>
                                      </exclusion>
                                  </exclusions>
                              </dependency>
                          </dependencies>
                      
                          <build>
                              <plugins>
                                  <plugin>
                                      <groupId>org.apache.maven.plugins</groupId>
                                      <artifactId>maven-dependency-plugin</artifactId>
                                      <version>3.2.0</version>
                                  </plugin>
                                  <plugin>
                                      <groupId>org.apache.maven.plugins</groupId>
                                      <artifactId>maven-compiler-plugin</artifactId>
                                      <version>3.8.1</version>
                                      <configuration>
                                          <source>${java.version}</source>
                                          <target>${java.version}</target>
                                      </configuration>
                                  </plugin>
                              </plugins>
                          </build>
                      </project>
                      
                      [INFO] --- maven-dependency-plugin:3.2.0:tree (default-cli) @ MonacoTestApp ---
                      [INFO] com.example.monacotest:MonacoTestApp:jar:1.0-SNAPSHOT
                      [INFO] +- org.openjfx:javafx-web:jar:17.0.1:compile
                      [INFO] |  +- org.openjfx:javafx-web:jar:win:17.0.1:compile
                      [INFO] |  +- org.openjfx:javafx-controls:jar:17.0.1:compile
                      [INFO] |  |  +- org.openjfx:javafx-controls:jar:win:17.0.1:compile
                      [INFO] |  |  \- org.openjfx:javafx-graphics:jar:17.0.1:compile
                      [INFO] |  |     +- org.openjfx:javafx-graphics:jar:win:17.0.1:compile
                      [INFO] |  |     \- org.openjfx:javafx-base:jar:17.0.1:compile
                      [INFO] |  |        \- org.openjfx:javafx-base:jar:win:17.0.1:compile
                      [INFO] |  \- org.openjfx:javafx-media:jar:17.0.1:compile
                      [INFO] |     \- org.openjfx:javafx-media:jar:win:17.0.1:compile
                      [INFO] \- eu.mihosoft.monacofx:monacofx:jar:0.0.7:compile
                      
                      <build>
                          <plugins>
                              <plugin>
                                  <groupId>org.apache.maven.plugins</groupId>
                                  <artifactId>maven-dependency-plugin</artifactId>
                                  <version>3.2.0</version>
                              </plugin>
                          </plugins>
                      </build>
                      
                      [INFO] --- maven-dependency-plugin:3.2.0:tree (default-cli) @ NewGistFX ---
                      [INFO] com.dustinredmond:NewGistFX:jar:1.0-SNAPSHOT
                      [INFO] +- org.openjfx:javafx-controls:jar:16:compile
                      [INFO] |  +- org.openjfx:javafx-controls:jar:win:16:compile
                      [INFO] |  \- org.openjfx:javafx-graphics:jar:16:compile
                      [INFO] |     \- org.openjfx:javafx-graphics:jar:win:16:compile
                      [INFO] +- org.openjfx:javafx-fxml:jar:16:compile
                      [INFO] |  \- org.openjfx:javafx-fxml:jar:win:16:compile
                      [INFO] +- org.controlsfx:controlsfx:jar:11.1.0:compile
                      [INFO] +- net.synedra:validatorfx:jar:0.1.13:compile
                      [INFO] +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test
                      [INFO] |  +- org.apiguardian:apiguardian-api:jar:1.1.0:test
                      [INFO] |  +- org.opentest4j:opentest4j:jar:1.2.0:test
                      [INFO] |  \- org.junit.platform:junit-platform-commons:jar:1.7.1:test
                      [INFO] +- org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test
                      [INFO] |  \- org.junit.platform:junit-platform-engine:jar:1.7.1:test
                      [INFO] +- org.eclipse.mylyn.github:org.eclipse.egit.github.core:jar:2.1.5:compile
                      [INFO] |  \- com.google.code.gson:gson:jar:2.2.2:compile
                      [INFO] +- com.fifesoft:rsyntaxtextarea:jar:3.1.3:compile
                      [INFO] +- junit:junit:jar:4.13.1:test
                      [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
                      [INFO] +- com.dustinredmond.fxtrayicon:FXTrayIcon:jar:3.1.1:compile
                      [INFO] +- org.kohsuke:github-api:jar:1.133:compile
                      [INFO] |  +- org.apache.commons:commons-lang3:jar:3.9:compile
                      [INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.5:compile
                      [INFO] |  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.5:compile
                      [INFO] |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.12.5:compile
                      [INFO] |  \- commons-io:commons-io:jar:2.8.0:compile
                      [INFO] +- com.squareup.okio:okio:jar:2.10.0:compile
                      [INFO] |  +- org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.20:compile
                      [INFO] |  |  \- org.jetbrains:annotations:jar:13.0:compile
                      [INFO] |  \- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.4.20:compile
                      [INFO] +- org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.5.31:compile
                      [INFO] |  \- org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.5.31:compile
                      [INFO] +- com.squareup.okhttp3:okhttp:jar:4.9.2:compile
                      [INFO] +- org.springframework.security:spring-security-crypto:jar:5.5.3:compile
                      [INFO] +- commons-codec:commons-codec:jar:1.15:compile
                      [INFO] \- eu.mihosoft.monacofx:monacofx:jar:0.0.7:compile
                      [INFO]    +- org.openjfx:javafx-base:jar:12.0.1:compile
                      [INFO]    |  \- org.openjfx:javafx-base:jar:win:12.0.1:compile
                      [INFO]    +- org.openjfx:javafx-web:jar:12.0.1:runtime
                      [INFO]    |  \- org.openjfx:javafx-web:jar:win:12.0.1:runtime
                      [INFO]    \- org.openjfx:javafx-media:jar:12.0.1:runtime
                      [INFO]       \- org.openjfx:javafx-media:jar:win:12.0.1:runtime
                      
                      package com.example.monacotest;
                      
                      import eu.mihosoft.monacofx.MonacoFX;
                      import javafx.application.Application;
                      import javafx.scene.Scene;
                      import javafx.scene.layout.StackPane;
                      import javafx.stage.Stage;
                      
                      public class MonacoTestApp extends Application {
                      
                          public static void main(String[] args) {
                              launch(args);
                          }
                      
                          @Override
                          public void start(Stage primaryStage) throws Exception {
                              // create a new monaco editor node
                              MonacoFX monacoFX = new MonacoFX();
                              StackPane root = new StackPane(monacoFX);
                      
                              // set initial text
                              monacoFX.getEditor().getDocument().setText(
                                      """
                                      #include <stdio.h>
                                      int main() {
                                         // printf() displays the string inside quotation
                                         printf("Hello, World!");
                                         return 0;
                                      }
                                      """
                              );
                      
                              // use a predefined language like 'c'
                              monacoFX.getEditor().setCurrentLanguage("c");
                              monacoFX.getEditor().setCurrentTheme("vs-dark");
                      
                              // the usual scene & stage setup
                              Scene scene = new Scene(root, 800,600);
                              primaryStage.setTitle("MonacoFX Demo (running on JDK " + System.getProperty("java.version") + ")");
                              primaryStage.setScene(scene);
                              primaryStage.show();
                          }
                      }
                      
                      module com.example.monacotest {
                          requires javafx.web;
                          requires eu.mihosoft.monacofx;
                      
                          exports com.example.monacotest;
                      }
                      
                      <?xml version="1.0" encoding="UTF-8"?>
                      <project xmlns="http://maven.apache.org/POM/4.0.0"
                               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
                          <modelVersion>4.0.0</modelVersion>
                      
                          <groupId>com.example.monacotest</groupId>
                          <artifactId>MonacoTestApp</artifactId>
                          <version>1.0-SNAPSHOT</version>
                      
                          <properties>
                              <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                              <java.version>17</java.version>
                              <javafx.version>17.0.1</javafx.version>
                          </properties>
                      
                          <dependencies>
                              <dependency>
                                  <groupId>org.openjfx</groupId>
                                  <artifactId>javafx-web</artifactId>
                                  <version>${javafx.version}</version>
                              </dependency>
                              <dependency>
                                  <groupId>eu.mihosoft.monacofx</groupId>
                                  <artifactId>monacofx</artifactId>
                                  <version>0.0.7</version>
                                  <exclusions>
                                      <exclusion>
                                          <groupId>org.openjfx</groupId>
                                          <artifactId>*</artifactId>
                                      </exclusion>
                                  </exclusions>
                              </dependency>
                          </dependencies>
                      
                          <build>
                              <plugins>
                                  <plugin>
                                      <groupId>org.apache.maven.plugins</groupId>
                                      <artifactId>maven-dependency-plugin</artifactId>
                                      <version>3.2.0</version>
                                  </plugin>
                                  <plugin>
                                      <groupId>org.apache.maven.plugins</groupId>
                                      <artifactId>maven-compiler-plugin</artifactId>
                                      <version>3.8.1</version>
                                      <configuration>
                                          <source>${java.version}</source>
                                          <target>${java.version}</target>
                                      </configuration>
                                  </plugin>
                              </plugins>
                          </build>
                      </project>
                      
                      [INFO] --- maven-dependency-plugin:3.2.0:tree (default-cli) @ MonacoTestApp ---
                      [INFO] com.example.monacotest:MonacoTestApp:jar:1.0-SNAPSHOT
                      [INFO] +- org.openjfx:javafx-web:jar:17.0.1:compile
                      [INFO] |  +- org.openjfx:javafx-web:jar:win:17.0.1:compile
                      [INFO] |  +- org.openjfx:javafx-controls:jar:17.0.1:compile
                      [INFO] |  |  +- org.openjfx:javafx-controls:jar:win:17.0.1:compile
                      [INFO] |  |  \- org.openjfx:javafx-graphics:jar:17.0.1:compile
                      [INFO] |  |     +- org.openjfx:javafx-graphics:jar:win:17.0.1:compile
                      [INFO] |  |     \- org.openjfx:javafx-base:jar:17.0.1:compile
                      [INFO] |  |        \- org.openjfx:javafx-base:jar:win:17.0.1:compile
                      [INFO] |  \- org.openjfx:javafx-media:jar:17.0.1:compile
                      [INFO] |     \- org.openjfx:javafx-media:jar:win:17.0.1:compile
                      [INFO] \- eu.mihosoft.monacofx:monacofx:jar:0.0.7:compile
                      

                      Get the list of registered view for navigation with Prism

                      copy iconCopydownload iconDownload
                      if (containerRegistry is DryIocContainerExtension dryIoc)
                      {
                          IContainer container = dryIoc.Instance;
                          Type[] types = container.GetServiceRegistrations()?
                              .Where(x => !string.IsNullOrEmpty(x.OptionalServiceKey?.ToString()))
                              .Select(x => x.ImplementationType)
                              .ToArray();
                      }
                      
                      internal class MachineModeRegistry : IMachineModeRegistry
                      {
                          public MachineModeRegistry(IContainerRegistry containerRegistry)
                          {
                              _containerRegistry = containerRegistry;
                          }
                      
                          #region IMachineModeRegistry
                          public void RegisterView<T>()
                          {
                              _containerRegistry.RegisterViewForNavigation<T>(nameof(T));
                              _listOfViews.Add( nameof(T) );
                          }
                      
                          public IReadOnlyCollection<string> RegisteredViews => _listOfViews;
                          #endregion
                      
                          #region private
                          private readonly List<string> _listOfViews = new List<string>();
                          private readonly IContainerRegistry _containerRegistry;
                          #endregion
                      }
                      
                      _containerRegistry.RegisterInstance<IMachineModeRegistry>(new MachineModeRegistry(_containerRegistry);
                      
                       _containerRegistry.Resolve<IMachineRegistry>().RegisterView<Manual1View>();
                      
                      internal class MachineModeRegistry : IMachineModeRegistry
                      {
                          public MachineModeRegistry(IContainerRegistry containerRegistry)
                          {
                              _containerRegistry = containerRegistry;
                          }
                      
                          #region IMachineModeRegistry
                          public void RegisterView<T>()
                          {
                              _containerRegistry.RegisterViewForNavigation<T>(nameof(T));
                              _listOfViews.Add( nameof(T) );
                          }
                      
                          public IReadOnlyCollection<string> RegisteredViews => _listOfViews;
                          #endregion
                      
                          #region private
                          private readonly List<string> _listOfViews = new List<string>();
                          private readonly IContainerRegistry _containerRegistry;
                          #endregion
                      }
                      
                      _containerRegistry.RegisterInstance<IMachineModeRegistry>(new MachineModeRegistry(_containerRegistry);
                      
                       _containerRegistry.Resolve<IMachineRegistry>().RegisterView<Manual1View>();
                      
                      internal class MachineModeRegistry : IMachineModeRegistry
                      {
                          public MachineModeRegistry(IContainerRegistry containerRegistry)
                          {
                              _containerRegistry = containerRegistry;
                          }
                      
                          #region IMachineModeRegistry
                          public void RegisterView<T>()
                          {
                              _containerRegistry.RegisterViewForNavigation<T>(nameof(T));
                              _listOfViews.Add( nameof(T) );
                          }
                      
                          public IReadOnlyCollection<string> RegisteredViews => _listOfViews;
                          #endregion
                      
                          #region private
                          private readonly List<string> _listOfViews = new List<string>();
                          private readonly IContainerRegistry _containerRegistry;
                          #endregion
                      }
                      
                      _containerRegistry.RegisterInstance<IMachineModeRegistry>(new MachineModeRegistry(_containerRegistry);
                      
                       _containerRegistry.Resolve<IMachineRegistry>().RegisterView<Manual1View>();
                      

                      Discord Bot Not Playing Audio discord.js v13

                      copy iconCopydownload iconDownload
                      const client = new Client({ intents: [Intents.FLAGS.GUILDS] });
                      
                      const myIntents = new Intents();
                      myIntents.add(Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_VOICE_STATES);
                      
                      const client = new Client({ intents: myIntents });
                      
                      const client = new Client({ intents: [Intents.FLAGS.GUILDS] });
                      
                      const myIntents = new Intents();
                      myIntents.add(Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_VOICE_STATES);
                      
                      const client = new Client({ intents: myIntents });
                      

                      Community Discussions

                      Trending Discussions on prism
                      • Is there an `id` of `prism' id Just`?
                      • Unable to coerce during `DerivingVia` when using optics types like `Prism'`
                      • What is a `Prism' s a` but with a context `ctx`?
                      • How to force gpu usage with JavaFX?
                      • How to use lens to access a record field behind a sum type
                      • Lenses, the State monad, and Maps with known keys
                      • Connect stack bar charts with multiple groups with lines or segments using ggplot 2
                      • Can I use Prism for WinUI 3 apps?
                      • JavaFX 11 Error intializing QuantumRenderer when running custom JRE image on Windows
                      • stuck on javafx.graphics does not export com.sun.javafx.sg.prism to unnamed module
                      Trending Discussions on prism

                      QUESTION

                      Is there an `id` of `prism' id Just`?

                      Asked 2022-Mar-19 at 18:11

                      I have a function called:

                      mapRouteEncoder ::
                        Prism' FilePath FilePath ->
                        Prism' r1 r2 ->
                        (b -> a) ->
                        RouteEncoder a r1 ->
                        RouteEncoder b r2
                      

                      This function is often used by specifying "identity" prisms (if we can call it that) in the first two arguments because only the 3rd function is specified, viz.:

                          stringRouteEncoder
                            & mapRouteEncoder (prism' id Just) (prism' id Just) changeModel
                      

                      I use optics-core, and is there anything in that library to replace prism' id Just something more idiomatic?

                      ANSWER

                      Answered 2022-Mar-19 at 18:11

                      I'm not familiar with the idioms for that package, but I'd be tempted to use castOptic equality to turn the identity Iso into a Prism. That seems to get the idea across pretty well. However, I would expect that in most contexts you wouldn't actually need to convert it to a Prism; you can presumably use polymorphic functions (like preview and review) that will accept an Iso as well as a Prism.

                      In your case, I suspect the right approach would be to write something like

                      mapRouteEncoder ::
                        ( p1 `Is` A_Prism
                        , p2 `Is` A_Prism) =>
                        Optic' p1 ixy1 FilePath FilePath ->
                        Optic' p2 ixy2 r1 r2 ->
                        (b -> a) ->
                        RouteEncoder a r1 ->
                        RouteEncoder b r2
                      

                      Source https://stackoverflow.com/questions/71540457

                      Community Discussions, Code Snippets contain sources that include Stack Exchange Network

                      Vulnerabilities

                      The package prismjs before 1.23.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the prism-asciidoc, prism-rest, prism-tap and prism-eiffel components.
                      Stack-based buffer overflow in Rebellion Asura engine, as used for the server in Rogue Trooper 1.0 and earlier and Prism 1.1.1.0 and earlier, allows remote attackers to execute arbitrary code via a long string in a 0xf007 packet for the challenge B query.

                      Install prism

                      You can download it from GitHub.
                      You can use prism like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the prism component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

                      Support

                      For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

                      DOWNLOAD this Library from

                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 430 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit

                      Share this Page

                      share link
                      Consider Popular Java Libraries
                      Try Top Libraries by weibocom
                      Compare Java Libraries with Highest Support
                      Compare Java Libraries with Highest Quality
                      Compare Java Libraries with Highest Security
                      Compare Java Libraries with Permissive License
                      Compare Java Libraries with Highest Reuse
                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 430 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit

                      • © 2022 Open Weaver Inc.