osullivj is currently certified at Journeyer level.

Name: John OSullivan
Member since: 2002-02-11 13:52:31
Last Login: 2012-10-03 13:45:23

FOAF RDF Share This

Homepage: http://etrading.wordpress.com

Notes:

Python advocate. C++, Java, C# financial software development professionally. FpML contributing author. Also some other minor contributions to ltxml and pymqi.

Got two new OSS projects in the pipeline, one small and one large. Both have had a year of part time coding so far. The littl'un is a generic template rendering system with implementations in Java, C#, Python and Tcl that features a couple of minor innovations. The big one is a new kind of component based programming system inspired by Richard Gabriel's Mob Software essay. It's coded in Python base, of course ! See the homepage for lots more background info.

Articles Posted by osullivj

Recent blog entries by osullivj

Syndication: RSS 2.0

Wow ! IronPython goes open source, and Jim Hugunin joins the CLR team at MS.

Work: starting my new job tomorrow.

Hacking: fun with wxpython.

Hacking: new release of templ. Minor fixes in the Python version driven by levitt development. C#, Java and Tcl code is unchanged.

Hardware acceleration: my first reaction to hearing about XML hardware acceleration was disbelief. Just another symptom of inappropriate application of XML, and code bloat in general, I thought. After all, XML seems to be the default formatting choice for any messaging job these days, irrespective of performance, interoperability or code ownership requirements. And so much enterprise coding reduces to shuffling data between UI layer, database and messaging format.

But then I thought again. Remember the 8087 ? CPUs didn't always have onboard FPUs. If you needed to do a lot of number crunching, you added the floating point capability. Likewise with graphics. CPUs used to do the bit blitting. As the demand for graphics applications increased, dedicated cards came onto the market that relieved the CPU of the graphics processing. Could we be seeing a similar trend for text ? After all, the string processing workload for the typical PC has been ever rising for the last ten years, with ever increasing volumes of email, HTML, XML etc. Maybe CPUs need specialised Text Processing Units alongside their FPUs and GPUs.

SSL & pymqi: I got an email about SSL and Les Smithson's pymqi this morning. I added some code to pymqi a couple of years ago, and it turns out that my code needs further extension to enable SSL support. I don't have time to do this work myself. But I thought I'd better blog my recommmendations so they're in the Google cache for anyone else who runs into this issue.

First off, you need IBM's SSL MQ sample. You can find this by Googling for ssl mq mc6c. It has some example code: amqscnxc.c, which shows the SSL config info being put into a struct that's passed to MQCONNX. The struct is an MQCNO which pymqi 4c doesn't implement. MQCNO holds a ptr to an MQCD, which I added to an earlier version of pymqi.

So to enable SSL configuration in pymqi, you must implement a Python class for the MQCNO struct, and allow it to be passed into QueueManager.connectWithOptions, and then into MQCONNX. The following changes to pymqi will be needed...

  • Add class cno(MQOpts) to pymqi.py. Use my cd class as a template, but follow the structure of MQCNO.
  • Change QueueManager.connectWithOptions() to add an extra param: an instance of your new cno class.
  • Change pymqe_MQCONNX() in pymqe.c to extract the new param you added in 2, and pass it through to MQCONNX.

54 older entries...

 

osullivj certified others as follows:

  • osullivj certified gilbertt as Journeyer
  • osullivj certified osullivj as Journeyer
  • osullivj certified jakd as Apprentice
  • osullivj certified fxn as Journeyer
  • osullivj certified jono as Journeyer

Others have certified osullivj as follows:

  • osullivj certified osullivj as Journeyer
  • fxn certified osullivj as Journeyer
  • jono certified osullivj as Journeyer
  • gilbertt certified osullivj as Journeyer
  • wspace certified osullivj as Journeyer
  • arascofield16 certified osullivj as Journeyer

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page