« Bill Gates: Living in Fantasy Land | Main | Steve Jobs' Thoughts on Music - And Mine »

The Dangers of Truncation in Programming

Warning: Truncation produces sometimes unexpected results:

truncation.jpg
Click for full size

I bet that seemed like the right number of characters at the time.

  • Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 0/5 (0 votes cast)


Close

Email this entry to:


Your email address:


Message (optional):


Comments (1)

I'd been looking for the co... (Below threshold)
snowballs:

I'd been looking for the code (really just the simple script) to do that, and I found it after a few days that fit the specific application I was working on. I didn't implement it for some reason - I forget why, and now I'm glad I spaced it.

OT, but Thomas - do you have any news on the root DNS server attack that's been reported? ( http://isc.sans.org/ ) ...and AP and Drudge have reports on it.




Advertisments






Archives

Categories

Credits

Publisher: Kevin Aylward

All original content copyright © 2003-2007 by Wizbang®, LLC. All rights reserved. Wizbang® is a registered service mark.

Powered by Movable Type 3.35

Hosting by ServInt

Ratings on this site are powered by the Ajax Ratings Pro plugin for Movable Type.

Search on this site is powered by the FastSearch plugin for Movable Type.

Blogrolls on this site are powered by the MT-Blogroll.

Temporary site design is based on Cutline and Cutline for MT. Graphics by Apothegm Designs.

Author Login

Site Meter


Terms Of Service

DCMA Compliance Notice