Tag: Languages

  • killing a process in TCL

    How to kill a process in TCL with no binary or tclx

  • A python utf gotcha

    This one had me stumped for a while: # -*- coding: utf-7 -*- import datetime from sqlalchemy import ForeignKey, Column from sqlalchemy.types import Integer, Unicode, Boolean, DateTime default_due_date = datetime.datetime.now() + datetime.timedelta(days=30) Syntax error found on last line. Hmm, bring up a python interpreter and type the last line in with the imports. Works fine.…

  • When a dynamic library and program share functions

    This is about making procps have a proper library but it really is a generic sort of question.  Say you are making a library and a program that uses that library.  Now at times you may have convience type functions; procps has them for things like escaping command names or allocation different sorts of memory. …