The following LWJGL code is expected to render a blueish square in the center of the screen. Instead, I get a blank white screen. It’s like the rendering is not working at all, or that I am rendering outside of the screen. I’m a complete noob in OpenGL and LWJGL, so I’m out of my depth. I we…
Tag: scala
The optimal way to lock and write to a file in Scala on Linux
I’m having a hard time finding the correct way to do any advanced file-system operations on Linux using Scala. The one which I really can’t figure out if best described by the following pseudo-code: Basically open a file in append mode (create it if it’s non existent), get an exclusive lock …
Install Play! with activator on linux
I’m new with the framework Play! and Linux and I’m trying to install Play! scala. I’m following the official tutorial (official play! tutorial) But I have this problem : when I run this command : $ activator new my-first-app play-scala I have this warning : And when I run sudo apt-get instal…