VLC d-bus documentation

Because I had to search far and wide, here are some vlc dbus methods, I can’t quite get all of them to work.

/ – identify the player
/TrackList – get the tracklist
GetMetadata : Gives all meta data available for element at given position in the “TrackList”
GetCurrentTrack : Position of Current URI in the “TrackList”
GetLength : Number of elements in the “TrackList”
AddTrack : Appends an URI in the “TrackList”, play it immediately if the 2nd argument is TRUE
DelTrack : Removes an URI from the “TrackList”, given its position
/Player – ?
Next : Goes to the next element (what if we’re at the end?)
Prev : Goes to the previous element (what if we’re at the beginning?)
Pause : If playing : pause. If paused : unpause. If stopped : start playing
Stop : Stop playing.
Play : If playing : rewind to the beginning of current track, else : start playing.
Quit : Makes the “Media Player” exit.
GetStatus : Return the status of “Media Player”: 0 = Playing, 1 = Paused, 2 = Stopped.
VolumeSet : Sets the volume (argument must be in [0;100])
GetVolume : Returns the current volume (must be in [0;100])
PositionSet : Sets the playing position (argument must be in [0;100])
PositionGet : Returns the playing position (must be in [0;100])

Intel ifort flags

Update: I’d really recommend gfortran over ifort. Intel fortran compiler was always a pain to install, the documentation seems kind of buried, the restrictions on use are servere, and I never got much of a performance benefit. I guess I’d be happy to do something similar for gfortran flags.

The intel ifort compiler is capable of generating code for automatic cpu dispatch which optimizes code for the processor architecture. Here are some of the flags for that little bit of goodness:

-ax generate code specialized for processors specified by
while also generating generic IA-32 instructions.
includes one or more of the following characters:
K Intel Pentium III and compatible Intel processors
W Intel Pentium 4 and compatible Intel processors
N Intel Pentium 4 and compatible Intel processors. Enables new
optimizations in addition to Intel processor-specific optimizations
P Intel Core processor family with Streaming SIMD
Extensions 3 (SSE3) instruction support
T Intel Core2 processor family with SSSE3
S Future Intel processors supporting SSE4 Vectorizing Compiler and
Media Accelerator instructions

And in my opinion the critical flag is to turn off the debugging information, and in order to do that the flag is: -diag-disable cpu-dispatch

Intel of course keeps updating, so the most recent version here: http://software.intel.com/en-us/articles/intel-fortran-composer-xe-documentation/#lin

The Important Bit of the PDB File Format

So I find that I occasionally have to look up the pdb_format so I’ve just posted it here (pdf format).  Note that this is only the ATOM line format, but that’s generally what I’m interested in.  Hope this is convenient to at least one other person.

Also see here:

COLUMNS        DATA  TYPE    FIELD        DEFINITION
-------------------------------------------------------------------------------------
1 -  6        Record name   "ATOM  "
7 - 11        Integer       serial       Atom  serial number.
13 - 16        Atom          name         Atom name.
17             Character     altLoc       Alternate location indicator.
18 - 20        Residue name  resName      Residue name.
22             Character     chainID      Chain identifier.
23 - 26        Integer       resSeq       Residue sequence number.
27             AChar         iCode        Code for insertion of residues.
31 - 38        Real(8.3)     x            Orthogonal coordinates for X in Angstroms.
39 - 46        Real(8.3)     y            Orthogonal coordinates for Y in Angstroms.
47 - 54        Real(8.3)     z            Orthogonal coordinates for Z in Angstroms.
55 - 60        Real(6.2)     occupancy    Occupancy.
61 - 66        Real(6.2)     tempFactor   Temperature  factor.
77 - 78        LString(2)    element      Element symbol, right-justified.
79 - 80        LString(2)    charge       Charge  on the atom.