anyone else around? If not I'm off to bed...
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
test please delete
Collapse
This is a sticky topic.
X
X
Collapse
-
-
Originally posted by BA to the Stars View PostIt was a marraige Jim but not as we know it!!!
I wonder what the Federation would make of same sex marraiges?Comment
-
-
The thing of beauty and joy forever that shall serve as my monument at CurrentClientCorp ran into the buffers slightly today... nothing serious, though
Having mucked about for too long working out how to deal with cumulative rounding errors that occurred, and tended to mount up when the user (me, in this case) interacted vigorously with the UI, I finally remembered one of the most important lessons of my time as a games programmer back in the Eighties: when you have a constrained amount of possible values for a given datum (or set of related data) that may result from user interaction then don't calculate: PRECOMPUTE!
By getting the server to precompute all the necessary values for the possible user manipulations, one not only relieves the client of computational strain, but can also take account of cumulative errors that build up if rapidly changing values are constantly being subject to rounding.
And as we're dealing with pixels here, there's really no reason for fractions to get involved: instead, the server can compute a set of purely integral values that cover the range, and then the very few calculations left to be done dynamically on the client will be able to operate purely by table lookup, addition, and subtraction - all very fast operations, which is essential with drag & drop stuff that may fire many events a second.
Hence my experience of optimising assembly language code for the tardy processors of the Eighties finds a use in creating a cutting-edge client-server graphical application in the Noughties
Me FTW!
(Also, me eschews false modesty, in this case )Last edited by NickFitz; 21 May 2008, 00:35.Comment
-
Anyway, on that note I shall bid you all goodnight - I actually feel quite enthused by the idea of getting some sleep, then going in tomorrow and realising this vision of perfection.
They'll be wondering why they ever let me go before I've done with them... although I have now decided that I will leave on Thursday, and will not even think about what comes next until after the Summer Solstice.
I should be feeling halfway sane again by then...Comment
-
-
Originally posted by NickFitz View PostThe thing of beauty and joy forever that shall serve as my monument at CurrentClientCorp ran into the buffers slightly today... nothing serious, though
Having mucked about for too long working out how to deal with cumulative rounding errors that occurred, and tended to mount up when the user (me, in this case) interacted vigorously with the UI, I finally remembered one of the most important lessons of my time as a games programmer back in the Eighties: when you have a constrained amount of possible values for a given datum (or set of related data) that may result from user interaction then don't calculate: PRECOMPUTE!
By getting the server to precompute all the necessary values for the possible user manipulations, one not only relieves the client of computational strain, but can also take account of cumulative errors that build up if rapidly changing values are constantly being subject to rounding.
And as we're dealing with pixels here, there's really no reason for fractions to get involved: instead, the server can compute a set of purely integral values that cover the range, and then the very few calculations left to be done dynamically on the client will be able to operate purely by table lookup, addition, and subtraction - all very fast operations, which is essential with drag & drop stuff that may fire many events a second.
Hence my experience of optimising assembly language code for the tardy processors of the Eighties finds a use in creating a cutting-edge client-server graphical application in the Noughties
Me FTW!
(Also, me eschews false modesty, in this case )Comment
-
Comment
-
Originally posted by BA to the Stars View PostIt was a marraige Jim but not as we know it!!!
I wonder what the Federation would make of same sex marraiges?Comment
-
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Autumn Budget 2024: Reeves raids contractor take-home pay Today 14:11
- How Autumn Budget 2024 affects homes, property and mortgages Today 09:23
- Autumn Budget 2024: Reeves raids contractor take-home pay Today 09:20
- Autumn Budget 2024: Umbrella companies hit, Employer NICs hiked, and BADR heading for 18% Yesterday 16:54
- Autumn Budget 2024: chancellor’s full speech Yesterday 16:34
- RecExpo got told this about Labour’s Employment Rights Bill… Yesterday 09:10
- A limited company just got one over HMRC on VAT; here’s how Oct 29 09:24
- Top 5 Autumn Budget areas for IT contractors to tick off Oct 28 09:30
- Top 5 umbrella company expenses things to still do in 2024 under 2016's T&S rules Oct 24 08:21
- PGMOL ties up Mutuality but Control’s new low bar is a concern set to run and run Oct 23 08:10
Comment