User Tools

Site Tools


haas:status:status_201512

STATUS updates

TODO

  • update grade not-z scripts to handle/be aware of winter terms
  • update system page for (new)www
    • include information on db server
  • upgrade mail VM to jessie/opensmtpd
  • upgrade LDAP VMs to jessie
  • create new router, using OpenBSD 5.7
  • scripts to write:
    • user homedir backup pruning script
    • deploy studentlistcreate as a cron job once again
    • machine backup pruning script
    • status page monthly cycle script
    • revive gimmeh script, now that text access seems possible
  • manual pages to write:
    • lab46 usage tutorial
      • include mercurial repository checkout info
      • include irc class chat tutorial
    • data structures, sll/dll library functions as their own manual pages

URLs

Some links of interest:

Other Days

November 16th, 2015

pod OpenJDK

It seems the issue with running jar files on the pods comes down to ulimits (and OpenBSD being overly restrictive by default).

Here's a fix (changed 512 to 1024), located in /etc/login.conf:

default:\
        :path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\
        :umask=022:\
        :datasize-max=1024M:\
        :datasize-cur=1024M:\
        :maxproc-max=256:\
        :maxproc-cur=128:\
        :openfiles-cur=512:\
        :stacksize-cur=4M:\
        :localcipher=blowfish,8:\
        :ypcipher=old:\
        :tc=auth-defaults:\
        :tc=auth-ftp-defaults:

November 13th, 2015

C++ Operator Overloading

I remember this used to seem so confusing in the past… but having played so heavily with pointers, linked lists, and manipulations therein, this suddenly wasn't any bit of a problem at all.

Working on code for a custom number class:

number & number :: operator+(const number &rhs)
{
    this -> add(rhs);
    return *this;
}
 
number & number :: operator=(const number &rhs)
{
    if (this != &rhs) // with equal, need to check for self-references
    {
        delete this;  // deallocate what we currently have
        memcpy(this, &rhs, sizeof(number)); // replace with copy 
    }
    return *this;
}

Useful links:

Month Status Page Navigation

haas/status/status_201512.txt · Last modified: 2015/12/02 09:12 by wedge