Re: [Hampshire] Python multiplicaton

2010-01-21 Thread Stephen Pelc
 Hugo Mills wrote:
 Another alternative would be to use the decimal module[1] for all
  your numbers.
 
 Hugo.
 
  [1] http://docs.python.org/library/decimal.html

 That works perfectly for me - thanks

As a side note to this, I'm involved in a construction planning 
application - it planned the new Hong Kong airport.

The competing apps use standard IEEE floating point. Our app 
uses 128 bit integers and an implied binary point. This is 
sometimes called fixed point arithmetic.

When you put a pile into the ground, the top of the pile is 
rough and not suitable for immediate construction. Consequently, 
the piles are capped to form a smoother surface. In estimating 
the cost of the concrete for the capping, the difference between 
the integer calculation and the floating-point calculation was 
US$10,000,000. The integer calculation was right.

Floating point is always an approximation. Under some conditions 
it can lead you into an awful mess. There's a paper by Goldberg 
that is a good reference
  http://docs.sun.com/source/806-3568/ncg_goldberg.html

Stephen
-- 
Stephen Pelc, step...@mpeforth.com
MicroProcessor Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691
web: http://www.mpeforth.com - free VFX Forth downloads


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] 06 February at IBM Hursley

2010-01-21 Thread Damian Brasher
Adam Trickett wrote:

 We have again been invited to IBM and so our next meeting on the 6th of
 February will be at IBM Hursley Labs. As with last time entrance and exit
 times will be less flexible than a Southampton meeting but I hope this is
 offset by the excellent meeting that will take place there and everyone will
 want to be there from start to finish anyway

Are talks practical? I'd like to offer a 15-20 minute talk, with or without a
projector, about my new ebook Walking With the Elephants.

Damian

-- 
w: http://www.diaser.org.uk - Open Source Data Vault Application - beta-1
w: http://www.walkingwiththeelephants.co.uk ebook about small scale OSS
collaborative development
f: http://sourceforge.net/export/rss2_projnews.php?group_id=258272
b: http://interlinux.co.uk/wordpress

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] 06 February at IBM Hursley

2010-01-21 Thread Anton Piatek
2010/1/21 Damian Brasher l...@interlinux.co.uk:
 Adam Trickett wrote:

 We have again been invited to IBM and so our next meeting on the 6th of
 February will be at IBM Hursley Labs. As with last time entrance and exit
 times will be less flexible than a Southampton meeting but I hope this is
 offset by the excellent meeting that will take place there and everyone will
 want to be there from start to finish anyway

 Are talks practical? I'd like to offer a 15-20 minute talk, with or without a
 projector, about my new ebook Walking With the Elephants.

Absolutely! We have an auditorium with an enormous projector and
wireless microphones!

Shall I put you down for this talk? (can you remind me again what the
book is about?)

Anton


-- 
Anton Piatek
email: an...@piatek.co.uk   
blog/photos:http://www.strangeparty.com
pgp: [74B1FA37] (http://www.strangeparty.com/anton.asc)
fingerprint: 7401 96D3 E037 2F8F 5965  A358 4046 71FD 74B1 FA37

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] 06 February at IBM Hursley

2010-01-21 Thread Damian Brasher
Anton Piatek wrote:

 Absolutely! We have an auditorium with an enormous projector and
 wireless microphones!

Super, I will use a projector. This will make a nice change from being a BaB
meeting facilitator.

 Shall I put you down for this talk? (can you remind me again what the
 book is about?)

Yes.

ebook excerpt: “This ebook is designed to help you gain some deeper insight
into a small scale, technical Open Source software development collaboration.
Perhaps you, the reader, have started, or are part way through, a project; or
you are a manager or investor wanting to dig a little deeper into the inner
workings of Open Source software development. As the designer, developer and
author of a project I recently completed a stage of collaboration that took
the software from a prototype to a beta-1 evaluation product. I’ll be talking
you through the stages of development from initial conception to beta-1.” –
Damian

[Oh yes! also need to remind HLUG members that a free copy is available in
return for a short review, anywhere between 4 - about 60 words. If you do,
please do blog your review if you want to, I may not use your review or may
edit the review for brevity. I won't chase you for a response so simply
delete the ebook or forward to a friend to review if you don't like it or
don't have time. The offer is open indefinitely.]

email: feedback {...@} walkingwiththeelephants {.} co {.} uk for a free copy.

Damian

-- 
w: http://www.walkingwiththeelephants.co.uk ebook about small scale OSS
collaborative development

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [OT] ebook review free offer - re-post

2010-01-21 Thread Damian Brasher
[Re-post to clarify a request I posted earlier, based on some feedback.]

A free copy of my new ebook Walking With the Elephants is available in
return for a short review, anywhere between 4 - about 60 words. If you do,
please do blog your review if you want to, I may not use your review or may
edit the review for brevity. I won't chase you for a response so simply
delete the ebook or forward to a friend to review if you don't like it or
don't have time. The offer is open indefinitely.

Best Regards Damian

w: http://www.walkingwiththeelephants.co.uk ebook about small scale OSS

Excerpt: “This ebook is designed to help you gain some deeper insight into a
small scale, technical Open Source software development collaboration.
Perhaps you, the reader, have started, or are part way through, a project; or
you are a manager or investor wanting to dig a little deeper into the inner
workings of Open Source software development. As the designer, developer and
author of a project I recently completed a stage of collaboration that took
the software from a prototype to a beta-1 evaluation product. I’ll be talking
you through the stages of development from initial conception to beta-1.”

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [OT] data.gov.uk

2010-01-21 Thread Damian Brasher
Sean Gibbins wrote:
 Browsing the BBC's tech news today I spotted this article:

 http://news.bbc.co.uk/1/hi/technology/8470797.stm

 Reading past the bit about Sir Tim Berners-Lee's involvement, I notice a
 Southampton Uni professor - Professor Nigel Shadbolt - was involved too.

Not just the boys at ECS; Dame Wendy Hall is working on some heavy duty work
exploring the interface between the life sciences and the physical
sciences.

http://users.ecs.soton.ac.uk/wh/

Damian


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--