Last weekend I tried a timelapse software on my mobile phone, and here’s the result:
I think I’ll do more of these…
Last weekend I tried a timelapse software on my mobile phone, and here’s the result:
I think I’ll do more of these…
Comments Off on Timelapse, experimental (April 2012)
Posted in Common
While playing with a development server at work, we just came across an error message like this:
Cannot open your terminal '/dev/pts/0' - please check.
So, there seemed to be rights-related problem, and searching the web brings up quite a lot of forum entries about this topic, with maily this two solutions:
root
and then sudo
to user/dev/pts/0
writable for the userI didn’t want to try the first one, because that might allow the user to fall back to root, so I tried the second one. At first it worked, but when I completely closed the user’s session, /dev/pts/0
seemed to be gone, and the next try failed again, so it’s not a permanent solution.
The solution (that worked for me):
But finally I came across another solution that worked like a charme: you just need to SSH onto the machine directly with the desired user, and then it’s no problem to open a screen
.
In our previous tries we had logged in as root
and then sudo
ed to the user, which caused this problem. Maybe I’ll investigate some alternatives or eventually more in-depth information about why this works this way, but for now I’m quite happy that we have a working solution.
Inspired by a question on StackOverflow (which was actually about using regex to replace strings used for a Hangman game) I hacked together a file in C# that contains a minimal implementation of the Hangman game.
The code is up on Github: https://github.com/jcoder/nHangman
It’s actually more of a protoype, but maybe it’s helpful to somebody.