Mittwoch, 2. Januar 2013

I'm currently in the process of writing the actual document, my study thesis. Per custom, it is written in . The LaTeX editors for Windows are as bad as they come, but TeXstudio certainly isn't the worst. It also comes with a neat feature that commits your work to a SVN repository whenever you save your files.

Now, I don't use SVN, I use git instead. So I followed this advice on teaching TeXstudio to use git. First, open your command settings at Options → Configure TeXstudio → Commands → SVN and change the values for SVN and SVNADMIN to 'git'.

Then open bash and tell git to use the command 'ci':

git config --global alias.ci "commit"

There you go. Now you can enable auto-commit at Options → Configure TeXstudio → SVN.
Be advised that these automatic checkins will clutter your repository. It may be a
good idea to switch to a different branch before working with TeXstudio and
pick/squash the changes to the master branch after you are done.

Dienstag, 4. Dezember 2012

I've recently started evaluating my Alloy models by script. This is a challenge, because Alloy does not offer simple command line parameters in order to be run from promt. However, there is a way, and Felix Chang tells us:

You can invoke it like this: (it will execute every command
in every Alloy file you specified, and if an assertion
has a counterexample, it will show the values of every sig
and every relation in that counterexample)

Looking good, right? Well, hardly.
Even with nicer formatting, line breaks, etc. the proof is not quite readable. Now, it looks like people have actually managed to work with these proofs and I'm quite curious about how they accomplished that. There is a description of all the symbols used in the proof, but what I'm lacking is some kind of command line parameter which simply feeds the proof back into Z3.