- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Ok, first of all, for all you area-impaired folks, when a land area is given as "X km^2" that means "X square km" , NOT "X km by X km." Now, then, #km^2 to mm^2 696200*1000^2 * 1000^2
i.e. 6.962e17 mm^2
medium sized molecule is around 1nm in length, per http://h2g2.com/approved_entry/A791246
Hence, converting the land size to nm^2, 6.6962e17*1e6^2 = 6.692e29 molecules
1 mole = 6.023e23, so 1.16e6 moles of material. I'll let you decide on the density, and hence molar mass, of the 1.16 megamole asteroid.
Admin
Admin
Admin
Its embedded, so no filesystem, so no swap space, so no virtual memory.
Admin
Java: it used to be you compile once and wtf on one OS. Now you compile once and wtf on every OS!
Admin
I almost failed my algorithm analysis class because I used an i-86 Intel chip for my final project. We were to test a very large Quicksort array, and the Intel memory mapper has to do special tricks to read the array; the SUN workstations in the lab had no such problem.
Admin
(1024 - 1000) / 1000 = 2.4% (1048576 - 1000000) / 1000000 = 4.9% (1073741824 - 1000000000) / 1000000000 = 7.4%
So yes, they do diverge. Obviously. I can't tell if you were serious.
In any case, I think it was a big mistake to start using the same prefixes to mean different things. But by now, I don't know how we can ever get people to change. Especially when the alternatives being offered sound so stupid. Who wouldn't feel embarrassed uttering the word "tebibyte?"
Admin
MacOS user:
oh, my HDD can hold a 24GB file, let's dump this 24GB BD rip on it!
... "Not enough room?" WAIT A MINUTE!!!
Admin
Admin
What do you mean? The relative efficiency of any particular sorting algorithm should not depend on the quirks of the memory controller.
Admin
That has almost nothing to do with what I said. But, K versus k is the only one that works like that. All the others are capital in both binary and SI.
I do find the labeling on HDDs to be somewhat disingenuous. But to the average consumer, it really doesn't matter. As long as "1TB" is more than "750GB", it's accurate enough to make a choice.
Admin
It probably had to do with the data set size being larger than what fits in a normal 640K DOS executable.
If this was in the early 90s or maybe late 80s, you likely had to tell the compiler to build for "huge model" as a protected mode executable, and run it with the aid of a DOS extender and EMM386.
Nothing to do with Quicksort at all, but rather everything to do with the limited address space of real mode executables and the lack of a large linear virtual address space.
Admin
Admin
The PDP-10 had 36 bit words, and you could have 6, 7, 8, or 9 bit characters as you preferred -- all in the same program. The serial ports could also handle 5 bits per character, but IIRC you stored them as 6 bits internally. (Or you converted the BAUDOT to 7 bit ASCII.)
Conversion between the different sizes was mostly automatic in ALGOL. I have no idea if anybody ever tried to write a C compiler for it.
Admin
Admin
Well according to wikipedia the average diameter of Texas is 1200 km, assuming an spherical rock with this diameter and a density of normal rocks and a velocity of 17 km/s (typical asteroid velocities when impacting earth), the effects would be 'interesting'
By using the simulator on http://impact.ese.ic.ac.uk/cgi-bin/crater.cg I get the following result: Depending on angle, the length of the day could be changed by half an hour! and even at the other side of the earth the thermal effect would be more than 130 times that of the sun (meaning everything ignites) and would last for 50 hours.... So at a guess, no California would not be a good place to stay, and yes it WOULD kill Texas (and the whole North America as well as the crater would have a final diameter of more than 7000 km..., yes comparable to the radius of the Earth :-)
Yazeran
Plan: To go to Mars one day with a hammer.
Admin
No. We're talking about area. There are 10001000 millimeters in a kilometer. There are (10001000)^2 mm^2 in a km^2
Texas is 696,200,000,000,000mm^2.
Admin
Admin
If the asteroid was pure iron (atomic weight 55.845), it would weigh about 64780 kg. If it were instead solid iron III oxide (i.e., rust, Fe2O3, ) it would be considerably heavier (about 185261 kg). Not because it was more dense (in fact, it would be less dense), but because each individual molecule was heavier (molecular weight 159.7).
Captcha: plaga: A plaga pun your houses!
Admin
They could be using uClinux or something like that... (http://www.uclinux.org/)
Admin
If you don't have trivial dimensions it's not possible to use that on any modern system, period.
Admin
I'm just glad that the grammar nazis have something else to keep them busy. Watching for a missing or extraneous comma, looking for poor usage, et al. must just get really boring.
Admin
In terms of desktop PCs, Intel rules, but there are a lot more random devices with chips in them than desktop PCs.
Admin
Every page in the heap of a Linux process is virtual until written.
captcha: immitto -- always, but duplicatto never.
Admin
Most desktop PCs have several ARM cores in them as well. WiFi chipsets are typically ARM these days, as is Bluetooth. Nevermind the drive controller in your hard drive may be ARM based, or the optical drive.
For every Intel chip sold as the main processor, there's several ARM-based cores used as controllers for the main processor.
Admin
Oh, wait, you mean you DON'T use asteroids the size of Texas to kill fleas? Why not? I've never seen any point in taking halfway measures.
Admin
I don't really see the point of the whole "mibi" thing.
If the idea is that IT professionals get confused and think that a "kilometer" is 1024 meters, I can only say: No. Anyone who is confused by that is unlikely to be enlightened by the invention of new terms.
If the idea is that the average lay person thinks that 1 KB of RAM means exactly 1,000 bytes: (a) It is unlikely that he really cares about the difference anyway. He's looking for a rough measure of how big a RAM card he's buying. He's not counting individual bits. (b) It is not likely that anyone who carefully calculates the memory requirements of an application and compares it to the available RAM does not know what the prefixes mean.
Admin
If someone really struggles with confusion because size prefixes in computer memory mean something different than size prefixes in metric measurement, I can only say that this person must find the world a baffling place.
How is he supposed to insert his new Dodge RAM pickup truck into the RAM slot on his motherboard?
Why is the board game he bought from Milton Bradley, clearly labeled "MB", not one megabyte?
Why did Hormel put a spam filter on their email system? How will they send messages about their flagship product?
Why did his English teacher tell him that his paper should have used bullet points, when school rules specifically prohibit bringing firearms or ammunition on campus?
One could play this game all day long.
Lots of words mean different things in different contexts. Sometimes a person unfamiliar with the alternative meanings is confused. This can usually be cleared up with a 30-second explanation. Sometimes we get a moment's amusement when we notice a double meaning. (Especially if one of the possible meanings has to do with sex.) Most often we don't even notice, shifting from one context to another effortlessly.
This mibi stuff is a solution in search of a problem. People who understand the difference between k=1024 and k=1000 aren't confused now. People who don't understand the difference won't understand the new terms.
Admin
Ah, this brings back fond memories of the PDP-10, where byte size was a parameter in certain instructions.
But I think today the "8" faction has pretty much won the war. If there are systems out there using a byte size other than 8, I haven't heard of them in quite a while.
Admin
Admin
http://www.unisys.com/unisys/theme/index.jsp?id=1120000970018010225
Admin
When I was doing telecom hardware in NZ, we were using synchronous E1, which was described as 2.048Mb/s, and consisted of 32 timeslots of 64kb/s (64000, to carry 8000 audio samples per second coded into 8 bits each for a 4kHz bandwidth). In casual speech it was a 2meg connection, and was nearly always an aggregation of multiple customers. 2 timeslots could be used on a voice line for control, but only one was needed for data. You had to have a really big wallet to get a connection with more than 128kb.
Admin
Yes, bytes have had different sizes. On one machine I worked on the size of a byte was two digits (name that machine!).
As for arrays, just accessing the data differently can cause all sorts of (in)efficiencies! I was told (take it for a grain of salt!) that someone was accessing weather data by (in Fortran) holding the first subscript constant and varying the last ones in rapid order. On the VM machine (a Vax?) this made for ALL sorts of swapping. Changing the order of processing to the other way around yielded a speedup of many orders of magnitude.
Of course this is one of those days when you can say "Dimension 1000 you can't lose", back in the day when this would eat up almost ALL your available space (it was a smallish machine, and it was also the 60's).
Admin
Lisp, preferably running on a Lisp machine. A high level language targeting a high-level architecture. Lovely.
Admin
If you are going to rant about it, at least get it right. The binary prefixes replace the second syllable with "bi" for binary, so they are kibi (you got that one right), mebi, gibi, tebi, pebi, etc.
Admin
This very much coincides with my thoughts on the discussion.
Admin
Many are saying that this is fine in Linux, but static array declarations are initialized to 0 in C. Won't this declaration require the OS to actually write zeros into all 64 MB?
Admin
Admin
And the interrupts were latched in relays, but I don't know if it came that way from IBM or if that was one Waterloo's mods.
Admin
In one of last week's discussions, someone clicked and copied an extern on one computer and pasted on another computer. Both computers were on the same planet but globalization FAILED. I hope he got his money back.
Admin
Admin
Are you sure? If I were fleeing, I'm convinced I'd cover more ground than 4mm.
Admin
Admin
Hi,
I agree - the idea that we could actually improve anything is just plain silly. Instead of merely being inaccurate and/or ambiguous morons, we should strive towards complete meaningless by reviving the traditions of our Neanderthal forefathers and express all measurements by the duration of grunts!
I mean honestly, the idea of using a system of numbers is just too new and too hard. The human race used grunts without any problem for gruuuuuurrrrm years and numbers have only existed for exactly uurgh years, ug months and ook minutes.
Admin
FTFY
Admin
Meh. Come over to the Arduino forums. We see this all the time.
Admin
Admin
Meanwhile, a "56k" connection is 57600 = 56*1028.5714 bits.
Admin
True enough. Good point.
Admin
You are wrong. The binary prefix are an international standard. Look here: http://physics.nist.gov/cuu/Units/binary.html