This notebook present a minimum example on how to use Spark with the Almond Scala kernel in Jupyterlab. Notice that Spark 2.4.2 is used since it is the only stable Spark version that supports Scala 2.12 as of now. Please refer to almond-sh/examples for more examples.
Develop GUI Applications Using Kotlin
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
TornadoFX (which is a lightweight wrapper over JavaFX) is the most popular GUI framework in Kotlin.
kotlin-libui is another possible choice.
Take Screenshots in Python
Comments¶
- PIL.ImageGrab works on macOS and Windows only.
PIL.ImageGrabis relatively slow.python-mssandPyQt5are better alternatives if performance of screenshot is critical. Notice that saving an (e.g., PNG) image can take significant time (might take up to 0.5 seconds) too, this is often due to image compression is slow. Lower the compression level can significant reduce the time needed to save an image. Please refer to Saving a PNG file is slow
Tips on Cloud9
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
- Java/Scala support is not ready at this time.
Docker Images for Cloud9
- cloud9-docker is a good docker image for cloud9 IDE. You are able to attach a local directory as …
Tips on Eclipse Che
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
You can launch an Eclipse Che server using the command below.
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v /workdir/che:/data eclipse/che start
The …
Tips on PyQt5
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
https://www.youtube.com/watch?v=0wAU5usATX8