Bloggin in the UK RSS 2.0
 Saturday, October 21, 2006

I did some digging into the upcoming Open XML formats and found a great article by Ted Pattison explaining the changes MS have made. Essentially the new docx format is a zip file containing a bunch of other files mostly XML files that make up a word document ms refer to this as the 'Package'. Ted has written a great article that explains how it all hangs together in some detail.

So why did MS go to all this trouble? Well folks like me want to be able to programatically work with Word documents on the serverside so we can automate certain processes. The old binary formats supported by previous versions were unfriendly so we tended to use the word object model or VBA to do this. These were not very performant and less than 100% reliable. So according to Ted the new formats will allow manipulation of word files without installation of Word via some new .Net classes. To start with this will not be straightforward, first you will have to familiarise yourself with how a docx package is structured, but I imagine some coding gurus have begun work on this already and by the time Office 2007 is released you will be able to purchase a 3rd party component that will make indenting paragraphs a snip.

We have a need to manipulate bookmarks so we can inject data into documents prior to converting them to PDF's. I am on the lookout for worthy open source projects that are attempting to undertake this task, I would gladly make a contribution to their efforts in order to reap the rewards :o)

Another great article that goes into more detail

A project with example code on how to create a simple docx from scratch.

http://boulter.com/blog/2004/08/19/performant-is-not-a-word/

Saturday, October 21, 2006 2:09:20 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -

 Saturday, October 14, 2006

I have been using Google Spreadsheets to see how useful a tool it really is. I uploaded a small Excel sheet that I built for the purpose of testing out the GS application.

Unlike Excel in GS you have to insert extra rows and columns as and when you need them. You can perform multiple inserts by highlighting multiple rows, then right-clicking and selecting insert 5 below or above. I attempted to select 30 and insert 30 below then 60, 120, 240. When I tried to insert 240 something broke because the 240 rows did not get inserted and there was permanent Updating... message. Maybe this is just a glitch or maybe you cannot work with this many rows. I noticed that Internet Explorer's memory usage rose to ~80mb typically this is about ~20mb.

My conclusions are that currently they are only suitable for light duties, where online access and or collaberation is needed. This may with time and effort on googles part change.

 

Saturday, October 14, 2006 12:21:17 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -

 Wednesday, October 11, 2006

I just wasted a day figuring this out. Basically we have an ASP.net application written in VB dotnet where all the pages inherit from a base page. The base page in turn inherits from System.Web.UI.Page. We use the base page along with some user controls to 'theme' our application.

The application is quite mature so I was a little suprised when I checked it out of source control and it blew up in my face when I attempted to edit one of the web forms in the forms designer. A large message box would pop up complaining that ....

To finish the solution was to remove the Base Page file from the project and copy the contents to new file then add it back to the project then all was well again.

Apparently VS2003 is not very smart when it comes to Design Time / Run Time issues good things are already being said about VS2005 in this reagard but time will tell.

Wednesday, October 11, 2006 1:21:21 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -

 Saturday, October 07, 2006

We recently visited the Cornish Seal Sanctuary, I have posted a video on google video that I edited with Microsoft Movie Maker. This is the video editing for dummies utility offered free by microsoft.

http://video.google.com/videoplay?docid=4872552981579413160&hl=en

Saturday, October 07, 2006 2:26:37 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -

 Thursday, September 28, 2006

We were just notified by one of our client's that my company's website www.redlinesoftware.co.uk was not available. When we try to browse to it there is no response. I can't get www.brinkster.com to load either so I'm not sure what is going on.

I'm not the only one having this problem, I imagine there are some very worried people at Brinkster today. We have used them for nearly two years and this is the first problem we have had.

UPDATE: Looks like they are back online which makes the outage five hours max not too bad considering what brinkster charge.

Thursday, September 28, 2006 12:53:00 PM (GMT Standard Time, UTC+00:00)  #    Comments [1] -

 Monday, September 11, 2006

I discovered this site via http://www.feedmap.net/ , it is interesting to see how nearby other bloggers are simply as a measure of how commonplace blogging is becoming. My blog is not nearly as social as bluemeanie. I am very tech focused so tend only to read other techie blogs (check my blogroll) reading bluemeanie it is clear different people have differen reasons for keeping a blog.

The bluemeanie site contains a nice content focused on friends and family and travelling with lots of picures.

This entry contains a photo of our local park, 'Master Park'. http://bluemeanie.org/weblog/comments/master-park/

If any of the bluemeanie bloggers surf in here, then I would just like to say 'Hello to a fellow Oxted blogger'.

 

Monday, September 11, 2006 6:03:16 PM (GMT Standard Time, UTC+00:00)  #    Comments [1] -

 Thursday, August 17, 2006

I read this on the monowall mailing list, it was posted by Michael Graves

 

"Sure. Although it helps to know what protocols you run through m0n0. My Asterisk server places outgoing calls via IAX2 and accepts incomming calls via both IAX2 and SIP.

You absolutely have to start with a real world measurment of your connect speeds up and down. Your traffic shapping must not saturate either of those or the benefit will be lost.

The use the Magic Shaper Wizard on the Traffic Shaping tool. This will setup basic rules, pipes and queues. You should have two pipes; Total_upload & Total_download.

Here's where I change the setup a little. I add a third pipe called Dedicated_IAX_upload. I split my upload data rate between Total_upload and Dedicated_IAX_upload. In my case on Covad ADSL with a measured 650kbps upload I set my total upload speed for only 600kbps. I then assign 384kbps to pipe 2 (Total_upload) and 256kbps to pipe 3

(Dedicated_IAX_upload.)

In essence, I full time assign about 40% of my outbound bandwidth to the voip stuff.

Then in the rules section of traffic shaper I add two rules for my Asterisk traffic. All UDP traffic from the servers IP to the wan is driected to pipe3. All UDP traffic from the wan to the server is assigned to Queue 8 which is High_priority_download.

Of course you need firewall NAT and port forwarding settings in place as well. The traffic shaping isn't port specific in my arrangement.

I've had my Asterisk & m0n0 system in use for about 2 years. You need to understand that traffic shaping won't cure bandwidth issues, but it will make some situation more acceptable. I found that adding G.729 codecs to my server was also very helpfull in reducing the demand for bandwidth.

Also, I don't use any p2p stuff beyond Skype...which I'd rather not use but many of my overseas coworkers are addicted."

Thursday, August 17, 2006 3:14:03 PM (GMT Standard Time, UTC+00:00)  #    Comments [2] -

 Monday, August 07, 2006

Recently a friend asked me about which VOIP solution is best this is what I told him.

"Skype is the easier to setup it handles NAT traversal very well, the handsets we use for Skype (<£30) are USB so need to be plugged into a PC to work. I believe you can now get Skype Adaptors for normal analog phones and Skype phones that don't need a PC to work, I don't have any experience of these and they will be more expensive ~£100.

VOIPtalk offer SIP/IAX2 services, the handsets that support these protocols start at £50 but you should spend at least £80 to get a half decent one. You will need a CAT5 socket to connect them to your LAN although you could use WiFi. If you want to have several phones in your house with each room acting as an extension then you should think about installing Linux/Asterisk onto an old PC and run your own mini PBX. This will take a lot more setting up and the learning curve is a lot steeper. You pay a one-off fee of £10 for an inbound 0845 number and buy credit in £5-£50 chunks, you can set your account to auto top-up to save you the hassle of topping up via their website. If you go the VOIPTALK route make sure your Broadband Router has QoS functionality otherwise you won't be able to hear people when you are downloading large files. It will also need port forwarding and I would recommend using IAX2 over SIP as it only requires one port to be forwarded.
Some (most) routers will not allow SIP to traverse NAT.

In terms of call quality / reliability Skype has the edge in Internet=>Internet calls (which are also free) and Voiptalk has the edge in Internet=>Landline/Mobile calls.

Re call charges, I don't think there is a lot in it but you can checkout their respective websites.

I'm sure your aware that more and more ISP's are starting to offer VOIP services so you might be able to get what your looking for that way."

 

Monday, August 07, 2006 12:02:18 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -

Archive
<October 2006>
SunMonTueWedThuFriSat
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008
Charlie Barker
Sign In
Statistics
Total Posts: 144
This Year: 25
This Month: 1
This Week: 0
Comments: 53
Themes
Pick a theme:
All Content © 2008, Charlie Barker
DasBlog theme 'Business' created by Christoph De Baene (delarou)