peterlog

the web log of peter sabaini

  • Home
  • About
    • 1
      3 Nov 2010

      Slides: LaTeX vs S5

      • Edit
      • Delete
      • Tags
      • Autopost

      For my (mostly internal technical) presentations I used to use the S5 system, driven by reStructuredText

      For this usecase, this seemed perfect: reStructuredText is, frankly, fun to write, there is some Emacs support, it can be machine-edited quite easily.

      So when I started with my database course at first I produced the slides with this tool chain. However, it turned out there were some issues with this approach:

      • Although my course is not heavy on math, I needed at least some math formatting. There are ways to format math via a special role and LaTeX, but none I could find for S5

      • Layout capabilities as a whole are rather limited

      • And last but not least, there is no sane way of producing true printed output of the slides as they appear on screen. My students hated this — they like to write on slide printouts, and I think thats a very valid use case.

      So, I’ve gone back to LaTeX and the Beamer class (which I used to use for previous courses). This is slightly more verbose to produce but alleviates the aforementioned problems. Plus, I’ve got access to a whole lot of LaTeX niceties. For example automatic TOCs, automatical overviews on section change, and of course great typography.

      The “production environment” now looks like this:

      • Emacs with AuCTeX
      • XeTeX engine (Unicode yay!)
      • Beamer
      • minted and Pygments for source code highlighting
      • booktabs for table layout

      I’ve set up some Emacs macros to deal with the LaTeX verbosity and am quite happy with this setup now.

      Some caveats:

      • One has to be careful to use the [fragile] option of frames if minted-formatted source is to be inserted, otherwise LaTeX will report a “FancyVerb Error” (I believe this also happens with verb environments)

      • Also, for frame titles, the \frametitle command seems to be more robust than the implied frame title option of the frame environment

      • And: creating templates for beamer is still hard :–)

      • views
      • Tweet
    • 4
      6 Oct 2010

      Database Teachings

      • Edit
      • Delete
      • Tags
      • Autopost

      I’m teaching again! Yesterday I’ve held the first lecture in the course “Databases: Implementation and Advanced Concepts” aka “Databases 2” for students of Health Care Engineering at FH-Joanneum

      Yes, the title is a bit fancy. It is the second course concerning databases the students are taking. They’ve learned about SQL, relational theory, some database modelling topics (normalization etc.) in the previous course. I’ll be talking about a whole lot if topics: indexing, transactions, concurrency issues, authorization, security issues, performance, error handling, and then some. While most of the course will deal with relational databases (I’ll be using PostgreSQL for the practical work), I hope I can make room for some non-relational systems as well. I’ve thought about giving an intro to CouchDB, and about Object-oriented databases, and maybe XML database systems. But then, the curriculum is quite crammed as it is, and I’d rather have the topices treated thoroughly then wedge in anything I can think of. Hope I can restrain myself :–)

      The first lecture went quite well I think. Students were attentive and engaged in the discussion. I’ve been a bit fast with my material, and I have to take care that I don’t align my tempo with the faster students so everybody benefits. Anyway, I’ve got a feeling this is going to be a good course, and I’m really looking forward to the next lectures.

      • views
      • Tweet
    • Search

    • Tags

      • programming
      • linux
      • system
      • python
      • switzerland
      • photo
      • posterous
      • zug
      • database
      • android
      • erlang
      • kitteh
      • music
      • tool
      • couchdb
      • electronica
      • work
      • JavaScript
      • NoScript
      • animation
      • aquarium
      • austria
      • biking
      • bug
      • comic
      • conveniencetrumpssecurity
      • dns
      • ehealth
      • elga
      • emacs
      • emkuu
      • fun
      • gaming
      • gesundheitspolitik
      • golang
      • graphic novel
      • html5
      • industrial
      • java
      • latex
      • mail
      • messaging
      • microformats
      • mysql
      • oracle
      • perl
      • politics
      • postgresql
      • puppet
      • rant
      • restructuredtext
      • ruby
      • science
      • security
      • skype
      • styria
      • twisted
      • vintage
      • younggods
      • zeroconf
      • zope
    • Archive

      • 2012 (13)
        • May (2)
        • April (1)
        • March (2)
        • February (1)
        • January (7)
      • 2011 (29)
        • December (5)
        • September (4)
        • August (3)
        • July (1)
        • June (1)
        • April (4)
        • March (5)
        • February (1)
        • January (5)
      • 2010 (35)
        • December (6)
        • November (4)
        • October (3)
        • September (5)
        • August (5)
        • July (11)
        • June (1)
    • Obox Design
  • peterlog

    software, sysadmin, python, zope, erlang, linux, teh interwebs, cats, austria, switzerland

    18898 Views
  • Get Updates

    Follow this Space »
    You're following this Space (Edit)
    You're a contributor here (Edit)
    This is your Space (Edit)
    Follow by email »
    Get the latest updates in your email box automatically.
    Loading...
    Subscribe via RSS
    TwitterFacebookBuzzLinkedIn