Chatroom
 

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may 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.

Go Back   Bad Astronomy and Universe Today Forum > General Interest > Off-Topic Babbling
Register FAQ Members List Calendar Mark Forums Read

   

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 15-December-2004, 02:36 PM
kucharek's Avatar
kucharek kucharek is offline
Order of Kilopi
 
Join Date: Feb 2002
Location: Karlsruhe, Germany, Old Europe
Posts: 4,148
Default What is heavier, zeros or ones?

I've a compact flash storage card. When will it be heavier, when I fill all bits with zeros or ones?


Let the games begin... :P
__________________
"Flying in space is risky business, but just staying on this planet is risky business too." - John Young, astronaut
Reply With Quote
  #2 (permalink)  
Old 15-December-2004, 02:39 PM
Candy's Avatar
Candy Candy is offline
Banned
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 12,671
Default

I hate you!
Reply With Quote
  #3 (permalink)  
Old 15-December-2004, 02:43 PM
jfribrg jfribrg is offline
Established Member
 
Join Date: Mar 2002
Location: 40N 75W mag 4.1 sky at best
Posts: 1,470
Default

The zeroes of course. With a 1, you get the weight of the digit. With a 0, you get the weight of the digit along with the weight of the hole in the middle.
Reply With Quote
  #4 (permalink)  
Old 15-December-2004, 02:44 PM
Kizarvexis Kizarvexis is offline
Established Member
 
Join Date: Dec 2001
Location: Riverview, FL
Posts: 582
Default Re: What is heavier, zeros or ones?

Quote:
Originally Posted by kucharek
I've a compact flash storage card. When will it be heavier, when I fill all bits with zeros or ones?


Let the games begin... :P
Neither. When you put a bit of data on a card you are just changing the orientation of the bit that is already there. You aren't adding anything but organization to the card.

Kizarvexis
__________________
"We don't just borrow words; on occasion, English has pursued other languages down alleyways to beat them unconscious and rifle their pockets for new vocabulary." - James D. Nicoll
Reply With Quote
  #5 (permalink)  
Old 15-December-2004, 02:48 PM
ngc3314's Avatar
ngc3314 ngc3314 is offline
Established Member
 
Join Date: Mar 2004
Location: 87.5W 33.2N
Posts: 1,716
Default Re: What is heavier, zeros or ones?

Quote:
Originally Posted by kucharek
I've a compact flash storage card. When will it be heavier, when I fill all bits with zeros or ones?


Let the games begin... :P
That would depend on which way you hold the card with respect to the local geomagnetic field...
Reply With Quote
  #6 (permalink)  
Old 15-December-2004, 02:51 PM
Nicolas's Avatar
Nicolas Nicolas is offline
Order of Kilopi
 
Join Date: Sep 2004
Location: Belgium
Posts: 12,758
Default

the zeros:

if you have zeros, you might as well have a hundred or a thousand times zeros, that still remains zero. So for every 1, you can take as many zeros as you want! So if you load you card with zeros, and it feels like putting a lot of redundancy in it, you might no longer be able to lift your PDA!!
__________________
To the regular visitor of internet bulletin boards it is clear that it's an excellent idea your parents get to choose your real name.
Reply With Quote
  #7 (permalink)  
Old 15-December-2004, 03:15 PM
Grey's Avatar
Grey Grey is offline
Order of Kilopi
 
Join Date: May 2003
Location: Michigan
Posts: 3,345
Default Re: What is heavier, zeros or ones?

Quote:
Originally Posted by ngc3314
That would depend on which way you hold the card with respect to the local geomagnetic field...
This was my instinctive guess, too (that it was a magnetic switch, so the heavier one would be whichever was the higher energy state, depending on its alignment with any external fields). However, after a quick review of just how a flash memory card works, I see that there is a thin oxide layer for each cell. This layer is uncharged to store a 1 and given a negative charge to store a 0. This means that there are some extra electrons in the material when storing 0, so the mass should be a little higher.
Reply With Quote
  #8 (permalink)  
Old 15-December-2004, 04:13 PM
TrAI TrAI is offline
Established Member
 
Join Date: May 2003
Location: Norway
Posts: 947
Default Re: What is heavier, zeros or ones?

Quote:
Originally Posted by kucharek
I've a compact flash storage card. When will it be heavier, when I fill all bits with zeros or ones?

Let the games begin... :P
Well, As I remember it, a Flash memory device is in essence just an array of field effect transistors with a capacitor doped on top of each(actually it is a bit more involved, but it is the capacitors that matter). I think a low cell voltage is counted a "1" and you charge the capacitor to set the bit to "0". So, the question is, is a charged capacitor heavier than a discharged one...
__________________
Game over, you lose, we hope you enjoyed playing the exciting game of Thermodynamics...
Reply With Quote
  #9 (permalink)  
Old 15-December-2004, 06:44 PM
Grey's Avatar
Grey Grey is offline
Order of Kilopi
 
Join Date: May 2003
Location: Michigan
Posts: 3,345
Default Re: What is heavier, zeros or ones?

Quote:
Originally Posted by TrAI
Well, As I remember it, a Flash memory device is in essence just an array of field effect transistors with a capacitor doped on top of each(actually it is a bit more involved, but it is the capacitors that matter). I think a low cell voltage is counted a "1" and you charge the capacitor to set the bit to "0". So, the question is, is a charged capacitor heavier than a discharged one...
RAM uses capacitors, but since capacitors leak over time, RAM loses stored information if it's not constantly powered. Flash memory is a little more complex so that it can hold datd when unpowered, but you're at least correct that there's an induced charge (on an oxide layer between a floating gate and a control gate in this case) to change the setting from 1 to 0. Whether charging a neutral object increases or decreases mass depends on whether you charge it negatively (adding electrons) or positively (removing electrons). Since in this case it's a negative charge, that means the mass increases (the extra mass of all those electrons).
Reply With Quote
  #10 (permalink)  
Old 15-December-2004, 07:54 PM
01101001's Avatar
01101001 01101001 is offline
Order of Kilopi
 
Join Date: Mar 2004
Posts: 13,453
Default Re: What is heavier, zeros or ones?

Quote:
Originally Posted by kucharek
I've a compact flash storage card. When will it be heavier, when I fill all bits with zeros or ones?
That reminds me of the recent "video compression" explanation in Dilbert.
__________________
0 1 1 0 1 0 0 1 1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1 1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 1 1 0 0 1 0 1 1 0 ...
Reply With Quote
  #11 (permalink)  
Old 15-December-2004, 08:02 PM
John Jones's Avatar
John Jones John Jones is offline
Established Member
 
Join Date: Apr 2003
Location: Iowa, USA
Posts: 981
Default Re: What is heavier, zeros or ones?

Quote:
Originally Posted by Kizarvexis
Quote:
Originally Posted by kucharek
I've a compact flash storage card. When will it be heavier, when I fill all bits with zeros or ones?


Let the games begin... :P
Neither. When you put a bit of data on a card you are just changing the orientation of the bit that is already there. You aren't adding anything but organization to the card.

Kizarvexis
OMG!

You didn't think he was serious did you?
__________________
Quote:
If you admire him so much, then how about you learn to spell his name right?

It's Niels Bohr.
Olsen the moderator.
Reply With Quote
  #12 (permalink)  
Old 15-December-2004, 08:39 PM
mike alexander's Avatar
mike alexander mike alexander is offline
Order of Kilopi
 
Join Date: Jul 2003
Location: McMinnville, Oregon
Posts: 10,058
Default

Couldn't you check the effect of a magnetic field by using a strong magnet to pick up a blank card vs. one filled with data and see which is more strongly attracted?
__________________
If they can get you asking the wrong questions, they don't have to worry about the answers.
Reply With Quote
  #13 (permalink)  
Old 16-December-2004, 12:22 PM
Kizarvexis Kizarvexis is offline
Established Member
 
Join Date: Dec 2001
Location: Riverview, FL
Posts: 582
Default Re: What is heavier, zeros or ones?

Quote:
Originally Posted by John Jones
Quote:
Originally Posted by Kizarvexis
Quote:
Originally Posted by kucharek
I've a compact flash storage card. When will it be heavier, when I fill all bits with zeros or ones?


Let the games begin... :P
Neither. When you put a bit of data on a card you are just changing the orientation of the bit that is already there. You aren't adding anything but organization to the card.

Kizarvexis
OMG!

You didn't think he was serious did you?
Well, you never can be quite sure on a message board, especially this one, but I thought he might be kidding.

In any case, some other posts are tending toward the idea that there might be a very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, slight difference between a 1 and a 0 on an atomic level.

Kizarvexis
__________________
"We don't just borrow words; on occasion, English has pursued other languages down alleyways to beat them unconscious and rifle their pockets for new vocabulary." - James D. Nicoll
Reply With Quote
  #14 (permalink)  
Old 16-December-2004, 12:26 PM
Damburger Damburger is offline
Established Member
 
Join Date: Nov 2004
Location: Leicester
Posts: 1,245
Default

Don't be silly - 0s and 1s weigh exactly the same.

However, 0's are rounder than 1's, so if there are any kinks in your computer cables they will be able to get round the bend but the 1's might get stuck. Keep your cables nice and straight.
Reply With Quote
  #15 (permalink)  
Old 16-December-2004, 12:51 PM
Wally Wally is offline
Established Member
 
Join Date: Oct 2001
Location: Grand Rapids, Michigan
Posts: 1,082
Default

Experimentation has shown that while all 1's, a flash card will sink when placed in water.

If all 0's, it will in fact float. . . just as a large rock will sink, while in fact a small pebble will float.
__________________
. . . My moustache is touching my brain!!!!
Reply With Quote
  #16 (permalink)  
Old 16-December-2004, 03:06 PM
Paul Mitchell's Avatar
Paul Mitchell Paul Mitchell is offline
Established Member
 
Join Date: Nov 2004
Location: Guildford, England
Posts: 209
Default Re: What is heavier, zeros or ones?

Quote:
Originally Posted by Grey
I see that there is a thin oxide layer for each cell. This layer is uncharged to store a 1 and given a negative charge to store a 0. This means that there are some extra electrons in the material when storing 0, so the mass should be a little higher.
That would imply you're giving the whole card an overall charge, which seems unlikley to me. Surely we're talking about displacing charge around/in/either-side-of the oxide layer, with the overall total remaining at zero.

Therefore, they weight the same 8)
Reply With Quote
  #17 (permalink)  
Old 16-December-2004, 03:58 PM
Fram's Avatar
Fram Fram is offline
Established Member
 
Join Date: Aug 2004
Location: Buggenhout, Belgium
Posts: 3,140
Default

Well, you only need one place to get a zero. For a 1, on the other hand, you have to enter 0,999999999999999... so that's definitely heavier. On the other hand, a zero has two signs, and a 1 only 0,99999999999..., so that might compensate a bit (pun intended!).
__________________
Knowledge is a curse, but ignorance is worse
Reply With Quote
  #18 (permalink)  
Old 16-December-2004, 05:52 PM
lek lek is offline
Established Member
 
Join Date: Apr 2004
Posts: 334
Default Re: What is heavier, zeros or ones?

Quote:
Originally Posted by Grey
However, after a quick review of just how a flash memory card works, I see that there is a thin oxide layer for each cell. This layer is uncharged to store a 1 and given a negative charge to store a 0. This means that there are some extra electrons in the material when storing 0, so the mass should be a little higher.
If everyone keeps on formatting flashes into zeros and never use them again, will we eventually run out of electrons?
Reply With Quote
  #19 (permalink)  
Old 16-December-2004, 06:45 PM
frenat frenat is offline
Established Member
 
Join Date: Sep 2002
Location: Robins AFB, GA
Posts: 844
Default

I ran out of electrons once last year. Oddly though it was a positve experience overall.
__________________
"Eternal vigilance is the price of supremacy"
------------Mark Twain

"Women are like Voltron. The more you can hook up, the better it gets."
Reply With Quote
  #20 (permalink)  
Old 17-December-2004, 01:31 AM
hedin's Avatar
hedin hedin is offline
Junior Member
 
Join Date: Aug 2003
Location: Denmark
Posts: 59
Default

Quote:
Originally Posted by Wally
Experimentation has shown that while all 1's, a flash card will sink when placed in water.

If all 0's, it will in fact float. . . just as a large rock will sink, while in fact a small pebble will float.
only if it weighs less than a duck

If it weighs more than a duck it is a witch and weŽll have to burn it at the stake
__________________
Consumatum est-nune est bibendum.
Reply With Quote
  #21 (permalink)  
Old 17-December-2004, 03:04 AM
Grey's Avatar
Grey Grey is offline
Order of Kilopi
 
Join Date: May 2003
Location: Michigan
Posts: 3,345
Default Re: What is heavier, zeros or ones?

Quote:
Originally Posted by Paul Mitchell
That would imply you're giving the whole card an overall charge, which seems unlikley to me. Surely we're talking about displacing charge around/in/either-side-of the oxide layer, with the overall total remaining at zero.
The charge comes by connecting it to an external voltage (the power source for the memory) briefly, so I think that it does actually induce a net charge, though it would obviously be quite small. Since it's fun to seriously investigate something completely trivial, I'll see whether I can find out more detail. Of course, even if the extra electrons do come from an external source, that would mean that the batteries in your digital camera become lighter by exactly the same amount, so it would still all balance out, sort of.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT. The time now is 08:46 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
©  2006 Bad Astronomy and Universe Today