downloading folders from google drive.

I wanted to download some course material on RL shared by the author via Google drive using the command line.  I got a bunch of stuff using wget a folder in google drive was a challenge. I looked it up in SO which gave me a hint but no solution. I installed gdown using pip and then used: gdown --folder --continue if there are more than 50 files you need to use --remaining-ok and only get the first 50. In such a case its best to download using the folder using the UI and decompress locally. Decompressing from the command line created errors related to unicode but using the mac UI I decompressed without a glitch.

Polyglot Data Science - GraalVM installation

GraalVM - polyglot data science
GraalVM allows polyglot data science for example switching between R and python within a single Jupyter kernel. 
"GraalVM is a universal virtual machine for running applications written in JavaScript, Python, Ruby, R, JVM-based languages like Java, Scala, Groovy, Kotlin, Clojure, and LLVM-based languages such as C and C++."

How I installed GrallVM

  1. I got GrallVM from:
  2. unpacked and moved it to:

    "/Library/Java/JavaVirtualMachines" which is where JVMs expect to be located on MacOS.
  3. As I code lots of Java and Android I wanted to keep my Java intact as this version of GraalVM is well experimental so I set:

    GRAALVM_HOME=$(/usr/libexec/java_home -v 11)
    path+=($GRAALVM_HOME/bin)...export GRAALVM_HOMEexport PATH
    In my .zshrc 
  4. After installing GrallVM on MacOS Catalina I could not run it as it had not been notarized for this OS. The normal intervention via the privacy settings did not work at all. But the following at the command-line added and exception in the OS gatekeeper which allowed me to get things up and running.

    xattr -d /Library/Java/JavaVirtualMachines/graalvm-ce-java11-19.3.1



Popular posts from this blog

Moodle <=< Mediawiki SUL integration - first thoughts

downloading folders from google drive.

AWS CloudFormation Pros and Cons