Syntactical difference among OCaml, Scala, F# and Haskell
What’s the syntactical difference among OCaml, Scala, F# and Haskell.
This page gives a side-by-side reference among OCaml, F#, Scala and Haskell:
What’s the syntactical difference among OCaml, Scala, F# and Haskell.
This page gives a side-by-side reference among OCaml, F#, Scala and Haskell:
ML Dialects and Friends: OCaml, F#, Scala, Haskell
Managing our research cluster, I frequently need to generate some string for new users’ password. How to generate them automatically and randomly in Scala? The passwords need characters ‘a’ – ‘z’, ‘A’ – ‘Z’ and ‘0’ – ‘9’ only. This piece of code works very well for me: def randomString(len: Int): String = { val…
How to install sbt for scala on Fedora Linux? It is not included in the default Fedora repository although scala is included. The download page of scala-sbt.org provides the RPM package. You can install the sbt rpm package by yum. We only need the URL to the RPM package. Here, let take version 0.13.1 as…
Not yet to totally delete the Linux user account, but how to effectively disable a Linux user account? That is, disable a user account while keep all its files/configurations. Later, if it is needed, so that I can enable it again. To effectively disable a Linux user account so that it can’t login using its…
Any tutorials or tips on how to manage LVM? LVM provides a flexible and easy way to management storage disks on Linux. It also provides a set of tools for management. Here are some tutorials and references for managing LVM: LVM man pages: https://www.systutorials.com/docs/linux/man/8-lvm/#lbAL Manage Disk Volume in Linux: http://www.hongkedavid.com/blog/disk_volume.html LVM with Xen: https://www.systutorials.com/b/linux/tag/lvm/ Remove missing phyiscal volumes…
How to read email in Maildir on Linux? You can use mutt by: mutt -f /path/to/mail/dir/ Read more: How to convert A4 paper format to read on Kindle 5 What’s wrong with the messages like “UnrecovData 10B8B BadCRC” and “failed command: READ FPDMA QUEUED” on Linux? How to convert the dmesg timestamps to easier to…
I find I sometimes lock the SSH terminal accidentally by ctrl-s on Linux. How to unlock/unfreeze it? Ctrl-s: lock the SSH terminal. Ctrl-q: unlock the SSH terminal. Read more: How to rearrange Alt, Ctrl and Win keys on Linux: Win as Alt and Ctrl/Alt as Ctrl How to Turn GNOME terminal to a Pop-up Terminal…