ICT: Diary
D: 28 W: 05

< May 2015 >
Sun Mon Tue Wed Thu Fri Sat
 12
3456789
10111213141516
17181920212223
24252627282930
31 

Based on notaweblog.php by joshua stein

[ ] Sunday, 31 May 2015 [ ]

Essence of SQL

Essence of SQL

Finished re-reading the Essence of SQL. The next stage is to implement some examples of the essence of SQL in:

  • PostgreSQL
  • SQLite

AirPrint

Needed to build pycups on OpenBSD - so had to change all the references to /usr/local/include so that the include files were used in the build this allowed cups in python:

port:fred ~> python
Python 2.7.9 (default, May 18 2015, 14:58:14) 
[GCC 4.2.1 20070719 ] on openbsd5
Type "help", "copyright", "credits" or "license" for more information.
>>> import cups
>>> conn = cups.Connection()
>>> print conn
<cups.Connection object for /var/run/cups/cups.sock at 0xd6468620f00>
>>> print conn.getPrinters()
{u'C500': {'printer-is-shared': False, 'printer-info': u'Lexmark C500', 'printer-state-message': u'Waiting for printer to finish.', 'printer-type': 10522636, 'printer-make-and-model': u'Lexmark C500 Foomatic/foo2slx (recommended)', 'printer-state-reasons': [u'none'], 'printer-uri-supported': u'ipp://localhost/printers/C500', 'printer-state': 3, 'printer-location': u'Hall', 'device-uri': u'socket://192.168.5.66'}}

Now need to work out how to get AirPrint Generate to generate a service file for avahi so that I can get printing working on the iPad's in the house.

Barrier Breaker 14.07

Super simple and speedy system upgrade of OpenWRT.

booksqlipadlinux


$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $