Search This Blog

Wednesday, 17 December 2014

Sumatran Slow Cooked Pork

Into a slow cooker, put;

  • some chopped onions
  • some batons of carrot
  • pork shoulder steak
  • about half a pint of water
  • some chicken stock powder
  • three big spoonfuls of coconut milk powder
  • four chopped fresh red chillies
  • a handful of baby tomatoes
  • three bashed lemon grass stalks
  • ten curry leaves
  • two star anise
  • a spoonful of tamarind paste
  • two cloves of finely chopped garlic
  • some halved dried organic apricots
  • a scant handful of raw cashew nuts
  • finely ground roast 
    • black peppercorns 
    • coriander seeds
      • (about a tablespoon of each)
    • four or five cloves
  • a good dose of ground nutmeg or mace
  • a small knob of butter
Slow cook until the meat is tender and add a glug of fish sauce before serving with boiled rice.

Nice!

Friday, 17 October 2014

search for impact factors

search for impact factors via google search of site: http://www.bioxbio.com/

e.g. ieee transactions robotics site:http://www.bioxbio.com/

Year Impact Factor (IF) Total Articles Total Cites
2013/2014 2.649 120 7689
2012 2.571 123 7474
2011 2.536 105 6418
2010 3.063 98 7515
2009 2.035 137 6904
2008 2.656 133 7580

----------------------------------

For a list of journals with their impact factor, searchable by subject, use http://www.journal-ranking.com/

Tuesday, 30 September 2014

Getting started with the Intel Galileo

Tried following instructions on Ubuntu 14.04.  Unable to connect, unable to update firmware.  Port appears as ttyACM0 in group dialout.

Went into Windows 7.  Followed instructions.  Had to find driver in arduino distribution file structure (wasn't in tools directory as per docs).  Updated drivers for Gadget Serial device.  Still no dice.  Ah!  Now we have two serial ports - chose the other one.  Now can upgrade firmware.

Suggests that I need to go back into Linux and sort out a driver issue?

------------
No - on Windows 7, still cannot upload Blink!

Moving downloaded file to /sketch/sketch.elf on target
echo "Moving downloaded file to /sketch/sketch.elf on target"
#$fixed_path/lsz.exe --escape -c "cp sketch /sketch/sketch.elf" <> $tty_port_id 1>&0
$fixed_path/lsz.exe --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" <> $tty_port_id 1>&0
rzRetry 0: Got ZNAK
Retry 0: Got ZNAK
Retry 0: Got ZNAK
Retry 0: Got ZNAK
Retry 0: Got ZNAK
Retry 0: Got ZNAK

Transfer incomplete

Hmm.  Ah, ok - seems the IDE forgot the correct serial port; verified in Device Driver and set in Arduino IDE accordingly.  Have now uploaded Blink example.   It's not fucking blinking though.  Hang on... change board type to Galileo instead of Galileo Gen 2... and we're away!  Woo hoo... have a drink to celebrate!

Blinky blinky blinky blinky

Tuesday, 22 July 2014

Integrating Exchange Calendars and Thunderbird - Part II

There's a good route in with Thunderbird.


  1. Using the addons manager, add Lightning.
  2. Then download the EWS addon from here
  3. Restart Thunderbird
  4. Add a new network calendar, choose Exchange 2007/ onwards as the type, and use auto discovery to find your exchange server 
  5. Bingo!


Integrating Exchange 2010 calendar with Linux - The Horror

It would be possible to publish the .ics file, then miport it.  But our admin staff won't allow this.  So... 

  1. Find a Windows machine with a Staff install.
  2. Got to Outlook, Sharing, Pulish to Webdav server, and publish to http://www.icalx.com/public/mattstudley/Matthew_Studley_Calendar.ics
  3. Now import into Google Calendars... 
  4. Or into Thunderbird, etc.
This isn't a full integration.  But at least will allow me to see the events that people past in my calendar.  

What I need is full integration - I want to be able to publish my Google Calendar events to my outlook calendar so people can see my availability, and I want them to be able to insert items into this calendar so that I can see them in Google Calendar.

Thursday, 22 May 2014

Towards an automatic REF report

Get list of faculty members
Use a tool to get a list of all their publications, via google scholar.  I could use scholar.py

./scholar.py -c 100  --citation=bt -a "Matthew Studley"

Then extract the publication title and look up its impact.  Alternatively, get impact for item direct from scholar?



Tuesday, 20 May 2014

Automating MS Word on Linux

Making Docs Dance


I hate pointing and clicking again and again and again... If I have a bunch of word files I want to extract data from them, process it, and print them from the commandline.  Then I can do a bunch of them at once.

Extracting text

antiword is a tool which extracts text from word files.  It can do a bunch of extra stuff too.  This makes it easy to pull data out, use standard text processing, then produce output.

Making new files


python-docx (confusingly there seem to be two modules with this name, I found the one by Mike Maccana to be more useful (better documentation).  An easy way to programmatically produce Word files.  

Printing from the command line


Although antiword supports this (convert doc to pdf, then pipe to printer via a2ps or similar), it has problems with the UTF-8 encoding.  Instead, just use libreoffice from the commandline;

libreoffice -p *.doc

Making PDF output

libreoffice --convert-to pdf *.doc