K-Tec

What's the equivalent of 32KB?

More
16 years 5 months ago #53690 by darragh
Replied by darragh on topic Re: What's the equivalent of 32KB?

32Kbytes is 32 * 1024 * characters (Characters in the Ascii standard are representable as a byte )
So that is 32768 characters and given that most lines of text are about 80 characters, that represents 410 lines of text.
Walter Scott Houston's book Deep Sky Wonders has approximately 44 lines per page, so 32 Kbytes would present about 9 pages of text in his book


Except that UTF-8 and just about every modern character encoding scheme uses two bytes rather than 1 .... so half that :)

Most modern tools like Java will use single byte representation where possible.
Go check it out with this sample:
[code:1]
Byte byteStr[] = "a".getBytes();
System.out.println("Length of byte representation: "+byteStr.length);
[/code:1]

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #53692 by voyager
Replied by voyager on topic Re: What's the equivalent of 32KB?

32Kbytes is 32 * 1024 * characters (Characters in the Ascii standard are representable as a byte )
So that is 32768 characters and given that most lines of text are about 80 characters, that represents 410 lines of text.
Walter Scott Houston's book Deep Sky Wonders has approximately 44 lines per page, so 32 Kbytes would present about 9 pages of text in his book


Except that UTF-8 and just about every modern character encoding scheme uses two bytes rather than 1 .... so half that :)

Most modern tools like Java will use single byte representation where possible.
Go check it out with this sample:
[code:1]
Byte byteStr[] = "a".getBytes();
System.out.println("Length of byte representation: "+byteStr.length);
[/code:1]


I stand corrected .... unless you're writing in Chinese or some such.

Bart.

My Home Page - www.bartbusschots.ie

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #53701 by pmgisme
Replied by pmgisme on topic Re: What's the equivalent of 32KB?
The vast bulk of the frequencies in the spoken word occur below 2.5KHz.

You don't need Hi-Fi frequencies above 10KHz in any spoken telephone conversation to have a perfectly normal conversation.

Unless you usually shriek like an alto-soprano.

Or sing songs over the phone.

Peter.

Please Log in or Create an account to join the conversation.

  • dmcdona
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
16 years 5 months ago #53729 by dmcdona
Replied by dmcdona on topic Re: What's the equivalent of 32KB?

can I ask why you are worried about such a small file size such as 32KB


32KB was the extent of the memory in the Apollo Guidance and Navigation system that landed Man on the moon and brought him back home.

So, one second of high quality audio, two words on Skype or a few pages of text ...

Puts it into persepective...

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #53730 by pmgisme
Replied by pmgisme on topic Re: What's the equivalent of 32KB?
The Apollo software was hyper efficient.

It had to be.

Modern software writes 5000 lines of code when one efficient line would do.

Intel's mantra is:

"Whatever we build, Microsoft will drag it to its knees."

Peter.

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #53731 by voyager
Replied by voyager on topic Re: What's the equivalent of 32KB?

The Apollo software was hyper efficient.

It had to be.

Modern software writes 5000 lines of code when one efficient line would do.

Intel's mantra is:

"Whatever we build, Microsoft will drag it to its knees."

Peter.


And that's why smart people user Macs :wink:

My Home Page - www.bartbusschots.ie

Please Log in or Create an account to join the conversation.

Time to create page: 0.109 seconds
Powered by Kunena Forum