Skip to content →

neverendingbooks Posts

chicken of the VNC

If I
ever get our home automation system configured I’ll use my (partly
broken) old iBook as my Indigo-server (or my MisterHouse-server when I brush up my
Perl-knowledge). It should then run quietly put away somewhere and I
don’t want to take it out every time I want to add another routine to
the program.
Fortunately there is a way to do this by turning
the iBook into a VNC-server, where VNC stands for
Virtual Network Computer. Here is how RealVNC describes
it

VNC (Virtual Network Computing) software makes it
possible to view and fully-interact with one computer from any other
computer or mobile device anywhere on the Internet. VNC software is
cross-platform, allowing remote control between different types of
computer. For ultimate simplicity, there is even a Java viewer, so that
any desktop can be controlled remotely from within a browser without
having to install software.

But can all this be done under
Mac OS X without too much hassle? The first step is to download
OSXvnc and install it on the iBook. Some of the
sourceforge-sites do not seem to have this package, but fortunately some
still do. Installation is no problem and when you fire OSXvnc up
you have to fill in a password which you need later to connect to your
OSXvnc-server (the iBook). Most other options one can leave at their
default values but in the Startup-pane it is useful to click on
the Configure Startup Item button. When all this is done, press
the Start button to launch the VNC-server.
Next step is
to go to the computer you want to use to control the VNC-server (an iMac
in my case). On it one needs to install the Chicken of the VNC software which makes the iMac
into a VNC-client. Fire it up and fill out the Host (the name of
your OSXvnc-server, iBookLieven.local in my case) and the
Password (the one of the OSXvnc-server program), press the
Connect button and the screen of your VNC-server will appear
which you can control with your mouse as if you were actually working on
the thing. Very handy as I managed to break the touch-control on my
iBook when installing a new hard-drive and I need the only USB-port to
connect to the X10-network…

Leave a Comment

projects in noncommutative geometry

Tomorrow
I’ll start with the course Projects in non-commutative geometry
in our masterclass. The idea of this course (and its companion
Projects in non-commutative algebra run by Fred Van Oystaeyen) is
that students should make a small (original if possible) work, that may
eventually lead to a publication.
At this moment the students
have seen the following : definition and examples of quasi-free algebras
(aka formally smooth algebras, non-commutative curves), their
representation varieties, their connected component semigroup and the
Euler-form on it. Last week, Markus Reineke used all this in his mini-course
Rational points of varieties associated to quasi-free
algebras
. In it, Markus gave a method to compute (at least in
principle) the number of points of the non-commutative Hilbert
scheme
and the varieties of simple representations over a
finite field. Here, in principle means that Markus demands a lot of
knowledge in advance : the number of points of all connected components
of all representation schemes of the algebra as well as of its scalar
extensions over finite field extensions, together with the action of the
Galois group on them … Sadly, I do not know too many examples were all
this information is known (apart from path algebras of quivers).
Therefore, it seems like a good idea to run through Markus’
calculations in some specific examples were I think one can get all this
: free products of semi-simple algebras. The motivating examples
being the groupalgebra of the (projective) modular group
PSL(2,Z) = Z(2) * Z(3) and the free matrix-products $M(n,F_q) *
M(m,F_q)$. I will explain how one begins to compute things in these
examples and will also explain how to get the One
quiver to rule them all
in these cases. It would be interesting to
compare the calculations we will find with those corresponding to the
path algebra of this one quiver.
As Markus set the good
example of writing out his notes and posting them, I will try to do the
same for my previous two sessions on quasi-free algebras over the next
couple of weeks.

One Comment

playtime

I
bought a couple of X10-building blocks : a tranceiver, an appliance- and
a lamp-module, a computer-interface and a motion detector and started
playing using the Indigo help-page. All modules worked immediately
and getting them under Indigo‘s control was also no problem.
Clearly it is fun to control a living room lamp and the coffee maker
from your computer but it gets even better when you program actions.
With Indigo you can let your home automation system react to
incoming emails. For example, if it is a rainy workday and I want to
have a cup of coffee when I bicycle home I can just send an email with
subject “Make coffee”. Indigo checks at home my email every
two-minutes and when it scans this subject-title it will send a signal
to the coffee maker to turn on (assuming I filled it with water and
coffee beforehand, otherwise it may result in a fire…). One can also
program it the other direction. For example, with Indigo I can
program things so that when the motion detector detects movement from
opening the front door, I can ask to send an email to work (or to a
mobile but as I am not using these things this is no option) with
message “Someone just walked in…”.
Getting the
motion-detector (MS13 for the experts) working was so far the second
hardest thing to do. I couldnt work out how to give it a home&unit
code
but I found a readable manual page which made everything work. I have to
remember to change the other default options of the detector.
The hardest thing to solve was to get the Indigo Web Interface working. Following the
instructions on this page to the letter I thought that I could control
my X10-stuff from any other computer (assuming Indigo is running
on my iBook) by accessing the
URL

http://iBookLieven.local/cgi-bin/Indigo.acgi

but all I got
was a ‘Server Error’. I figured out that the mistake was caused by the
acgi
dispatcher
program. The first time this is run, it asks for your
admin password to write some extra lines to the httpd.conf
Apache configuration file, but for some strange reason it didn’t want
to accept my password… Changing permissions on httpd.conf and
even creating a genuine root-account didn’t help so I was stuck
for a while. But then I found the Mac OS X
hack #91
which not only explains the use of the dispatcher tool but
also explains what it adds to the httpd.conf-file. So, I just
copied the following lines manually at the end of
httpd.conf

#BEGIN acgi dispatcher Include
/Library/WebServer/CGI-Executables/dispatcher.app/Contents/acgi.conf\r\
nEND acgi dispatcher

did restart the Apache webserved by a

sudo apachectl graceful

after which the acgi dispatcher
tool started up without problems and I got a working Indigo Web
Interface
. I must remember to put both Indigo and the
dispatcher into my StartUp items.
The Web Interface is
very basic compared to other house automation programs such as MisterHouse
which makes up for its sexist name by being open source! It is entirely
written in Perl
but as I am only halfway through the Learning Perl book at the moment, this will have
to wait a bit longer…

Leave a Comment