114 karma · joined Mar 12, 2009 (17y ago) · 54 submissions
comment 16y ago · link · parent
Somewhere out there in mind-space is someone who believes in anti-induction: each coin flip of heads convinces him that the coin is biased toward tails. Anti-induction tells him that, the more something has happened in the past, the less likely it is to do so in the future. If asked why he trusts anti-induction, he exclaims: "Because it's never worked before!"
That said, just because these two minds are possible in mind-space, doesn't mean that they're equally likely to form naturally in any given physical universe. In fact, to our intuition, one of the two seems particularly unlikely...
Credit to http://lesswrong.com/lw/t9/no_license_to_be_human/
comment 16y ago · link · parent
"Zero" is a probability in the same way that "infinity" is an integer, because there's always a non-zero chance that your beliefs are mistaken.
comment 16y ago · link · parent
comment 16y ago · link · parent
Given that the body attempts to measure current calorie intake by calibrating past calorie consumption versus past perceived sweetness, this means that the glucose/fructose mix will prime the body to crave sweets more intensely. This is pretty much the only biologically plausible argument against HFCS.
Compare: the studies showing that diet sodas actually lead to an increased risk of diabetes (doi:10.2337/dc08-1799).
Compare: the various diets encouraging the daily consumption of nearly-flavorless olive oil (example implementation, unsuccessful: http://lesswrong.com/lw/a6/the_mysteries_of_shangrila_dietin...).
comment 16y ago · link · parent
What's more, if I could do 1 billion MD5s per second, then I could brute force every possible 8 character base-64 password (for one user at a time) in merely 3.25 days. Even if that one user has chosen his or her individual password by pulling it straight from /dev/random. Impractical against a site with 1000 low-value users? Sure, most black hats won't want to spend 5 to 10 years of compute power on that. But that's an utterly practical attack against a single, high-value account. If you're Twitter and someone just stole your salted password hashes, you'd better ring up Ashton Kutcher in the next 24 hours and tell him to change his password right now.
Something truly scary: this level of computer power can be easily achieved today using parallelism. I just now ran a benchmark on my personal Linux machine against 10,000 small files on a ramdisk, each of a size appropriate for salted passwords and each with unique data. According to this benchmark, my Athlon64 running at 800MHz can MD5 100,000 passwords per second using md5sum, complete with the system call overhead of opening and closing ten thousand files. Even so, my machine is only 4 orders of magnitude slower than the monster I described, and one of those orders of magnitude should be written off because my processor is years behind the times (sub-1GHz and single core). Shave off another order of magnitude due to the useless system calls, and one hundred modern $100 commodity processors could do this job today, and you could probably do it for half the price or less if you used DSPs or video card GPUs. This is trivially within the range of a project like Seti@Home or Folding@Home, or a dark-hat version of the same (running on a botnet of stolen CPU cycles).
Addendum: also note, these figures imply that one computer with a modern CPU can dictionary attack a salted password hash file from a 1000-user site in merely 200 seconds, i.e. about the time it takes to microwave a burrito. No need to build a botnet first.
comment 16y ago · link · parent
You do realize that this is how all modern "cryptographically secure" hash functions work, right? For that matter, so do the symmetric-key block ciphers that hashes are closely related to. All of them simply use S-boxes to obfuscate the numbers, followed by repeated "rounds" of simple bitwise primitives (bitshift, and, xor, perhaps addition modulo a power of 2). There's no inherent mathematical reason why combinations of these simple functions should be strong, when each function individually is weak.
This is precisely why cryptography is such a tricky field to work in.
comment 16y ago · link · parent
comment 16y ago · link · parent
If investors are making bad forecasts by assuming that such temporary upward trends in price will be sustained for a long time, or even permanent, then the result is a bubble economy.
A bubble exists because it is a self-fulfilling prophesy: when investors increase debt ("leverage") in order to invest in whatever good is currently rising in price (i.e. has already been bid up via debt-funded spending), those investors further increase the price and thus attract even more investors. This continues until a sufficient number of investors are cashing out in order to pay back the debt (whether due to the timeline of the loan or due to the lender calling them on their leverage position).
Investors who don't use leverage (i.e. use only their own money) are far less capable of creating large price moves: a leveraged investor can generate a trade volume two or three orders of magnitude larger than an unleveraged investor. Bubbles are much harder to sustain purely with unleveraged investments: to become a bubble, a price rise has to be sharp enough to attract attention, bringing in more investors to form the next layer of the pyramid.
comment 16y ago · link · parent
The first link on Google for the relevant keywords is http://www.phys.ncku.edu.tw/mirrors/physicsfaq/Relativity/GR..., which lays it out nicely.
comment 16y ago · link · parent
IIRC, AdS/CFT actually turned out to have a practical application a year or two back... something to do with superconductor physics I believe. So, in a sense, it's as "real" as anything mathematical is real. Whether or not it's relevant to our interpretation of reality is an open question.
Oh, except for two other tidbits that came from a completely different direction in physics.
First, The entropy of a black hole is predicted to scale with the surface area of the event horizon. General Relativity predicts that, once a black hole has formed, the volume of the event horizon grows with the square root of the mass that falls into it (because gravity falls off with 1/r^2), instead of the usual cube root of mass expected for physical object volumes.
Second, physicists have good reasons to believe that black holes are maximum entropy objects -- at minimum that's true in the thermodynamic sense of "entropy", because energy that falls into black holes cannot be used to perform work. (But information entropy is almost certainly equivalent to thermodynamic entropy anyway, so you can safely extend that conclusion to maximum information entropy if you like.)
(Side note: technically you can extract work from a black hole... if it's spinning. The "ergosphere" of a spinning black hole extends past the event horizon. As you extract work from the ergosphere, you siphon angular momentum from the black hole and shrink the ergosphere.)
Now, combine these two tidbits about black holes, and one concludes that the maximum entropy for a region of space should grow with the surface area of the region, rather than the volume. Doubling the radius multiplies the maximum entropy by 4, rather than the intuitive 8. There might be a flaw somewhere in this reasoning -- it's mooshing together relativistic physics and classical physics in a way that's not implicitly correct. But it presents a striking parallel with the AdS/CFT thing, which lends it some credence, and a lot of very smart people have gone looking for flaws in the idea and come up empty-handed.
If you combine all this together, you reach the possibility that the universe might be (in some sense) a CFT space mathematically equivalent to AdS ripples in the event horizon of a stupendously large black hole. This paper pushes that idea further, and the short summary is that the paper attempts to derive gravity within our CFT universe almost purely as a consequence of the Second Law of Thermodynamics operating on the AdS black hole ripples. However, the author might have just found a nice little piece of circular reasoning where he injected an unwarranted assumption, so it's not a done deal.
comment 16y ago · link · parent
Real disks use either CTR mode or CFB mode, neither of which has those two problems.
CFB mode depends only on the previous cyphertext block to decode the current block, which allows random access but amplifies a one-bit error to a one-block error. CTR mode uses the current logical block number as IV salt, so it's both random access and minimally-corrupting in the case of errors. AFAIK most real-world hard drive encryption uses CTR mode, precisely to avoid the problem that concerns you.
comment 17y ago · link · parent
Gold is overhyped right now -- anyone buying gold at the moment is a fool -- and, as a rule of thumb, any commodity that people watch like a hawk (gold, silver, oil) is going to have second-order effects that aren't necessarily correlated with supply/demand and isn't a very safe bet. That said, a lot of other less-watched commodities will be the first in line as newly-printed money trickles out into the economy and fuels an artificial manufacturing boom: copper, zinc, maybe some of the catalyst metals like palladium (too volatile for me), iron/steel to a far lesser extent (again, too volatile for me). If I'd had the money at the time to follow my gut in 2008, I would've made a killing on copper alone -- and if I'd put some into platinum, one year ago, pre-auto-bailout, I'd have made a very comfortable one-year return (on the order of 250%).
comment 17y ago · link · parent
Another thing to remember: there's essentially no difference between a fork() and a thread. On Linux, they're both implemented by the same clone() syscall -- they just specify different flags about what should be shared versus what should be split and copied. Both are extremely cheap, and if you're going to implement threading, you might as well implement fork() because [on hardware with virtual memory] it's almost free.
comment 17y ago · link · parent
Imagine two wireless devices that want to communicate. You can have them transmit omnidirectionally, but now you have two problems: (a) you transmit radio power in all directions, including useless ones, which wastes energy/battery life, and (b) you create interference in that frequency range, limiting the number of such devices you can cram into an area. If your devices can transmit their signals more directionally, at just each other rather than everywhere, you can fix both problems: your devices would require less power and produce less interference, making the world a much more gadget-friendly place.
Well, radio waves being what they are, they have a tendency to spread out as they travel instead of following a straight line. When waves bend around corners, it's called "diffraction", and when waves bend in empty space, it's called "divergence". Even a laser beam doesn't remain perfectly straight forever -- it "decollimates" over a long enough distance. The best way to keep radio waves from spreading out, and thus to obtain the full benefits of directionality, is to use a wave guide.
A wave guide is a device that forces the wave to flow down the center of the guide, usually in a straight line. It works because, as the wave approaches a section of the guide, it produces tiny electrical eddy currents in the sides of the guide, and these eddy currents repel the wave and force it to the center of the guide. As the wave passes by and leaves, the eddy currents are re-absorbed by the wave, ideally leaving the wave with 100% of its original energy content. (In reality, unless the guide is superconducting, the eddy currents will experience resistive losses, thus converting some tiny bit of the wave's energy to wasted heat. But this tiny resistive loss is still much, much tinier than all the wasted wave energy that would've gone flying off in useless directions if the guide hadn't been there.)
If they're so great, why haven't wave guides taken the world by storm? Because their cheap, flexible cousins are already ubiquitous: we call them "wires".
comment 17y ago · link · parent
There are indeed specific conditions under which merging occurs, but in geology they are extremely rare. If abiogenic oil theory were true, it would predict abundant oil in Washington state (close, but not too close, to vulcanism) and zero oil in Texas (where there are no volcanoes). The facts are, of course, otherwise. The amount of naturally-occurring abiogenic oil is quite possibly non-zero, but clearly accounts for at most a tiny fraction of all naturally-occurring oil.
Even if abiogenic oil theory were true, we would still be experiencing peak oil. Assuming it were true, the earth would have been producing all our current global oil reserves over the course of billions of years, and our current rate of extraction would be depleting the reserves faster than abiogenic production could refill them. (Two arguments why abiogenic oil must be slow, even if it's significant: one, the annual rate of carbonate rock subduction is not sufficient to sustain the current annual rate of oil extraction, even with 100% conversion; two, the oil produced would have to go somewhere, e.g. break to the surface and feed an ecosystem of oil-digesting bacteria, if it were being produced at such a rapid rate.)
comment 17y ago · link · parent
If there is radioactive material buried in the earth (there is), and there are geological structures that trap it (there are), then there will be underground deposits of helium (specifically Helium-4).
Other than the fact that the same rocks trapping helium can also trap natural gas, though, there is absolutely no further relation between the two. Why would there be? Helium is also found with deposits of radon gas, where no methane is present. BFD.
comment 17y ago · link · parent
comment 17y ago · link · parent
With all goods, the more of it you have, the less valuable it is. Individuals allocate goods to satisfy their most critical needs first. Ipso facto, the first unit of the good is worth the most, the second unit less so, and so on until the final unit is worth the least.
And money is simply a good, more fungible but otherwise no different than any other. The greatest utility of money is achieved by providing the necessities of life: food, drinking water, shelter. The next greatest utility is achieved by providing the basic comforts of life: showering water, clean laundry, furniture. After that comes longer-term goals, and so on (roughly mirroring Maslow's hierarchy of needs).
Now imagine two people, A and B, who earn $20,000/year and $80,000/year respectively. It's more unethical to take $200 from A than it is to take $800 from B. Why? While taking money from either one should be minimized (or preferably eliminated), in all likelihood A's $200 was going to meet a more critical need than B's $800.
As an argument ad absurdum, imagine that instead of taking away a flat percentage (1% of annual income for both), a flat absolute amount were taken instead ($500). The total amount taken would be the same, but now it would be evenly divided among both A and B, regardless of income. This would be the most fair arrangement of all, would it not? If a progressive tax is less fair than a flat percentage tax, then surely a flat percentage tax is less fair than a flat absolute tax. The flat percentage tax is still "punishing" B for making more money than A, when instead it "should" treat them equally and not care what their incomes are.
Clearly, though, this line of thinking is absurd, because A will be harmed disproportionately. Whereas taking $200 from A might prevent A from paying the electric bill, taking $500 from A might instead prevent A from paying the rent. The result is that, relative to the flat percentage tax, A has lost the fulfillment of a more critical need, while B has gained the fulfillment of a more minor need.
comment 17y ago · link · parent
I'm more familiar with CD-ROMs than HDDs, so I'll explain the need for encoding in those terms. The Red and Yellow Books specify that a track consists of "pits" and "lands", where pit-staying-pit and land-staying-land both represent "0", while pit-becoming-land and land-becoming-pit both represent "1". Due to limitations of the pressing process (which involves physically squeezing a piece of metal in a press to create the pits), you need a specific minimum number of "0" bits separating each "1" bit (because the metal in question isn't ductile enough). But people want to write arbitrary data to their CDs. This is a problem.
The solution: an encoding (Yellow Book, Annex D, Table D.1) maps 8-bit bytes into 14-bit "bytes". Because they had 16384 outputs for only 256 inputs, it was easy to find a list of outputs that spaced out the "1" bits with sufficient distance. (The other 16128 bit patterns are forbidden.)
Venturing out of familiar territory and back on topic, HDDs have a similar problem: high frequency bit changes are more difficult to write to disk, because the neighboring bit domains bleed into each other. That is, if you choose "north-up" to mean "1" and "north-down" to mean "0", then writing the pattern "10101010" will tend to muddle out the magnetic field, strongly increasing the likelihood that you'll lose the data (especially if it sits for a while before you write to that spot again). The solution is another mapping code: I think hard drives use something more tame (like 8-to-11) and have different requirements, but the principles are the same.
The downside from a data destruction POV: there's no guarantees that manufacturers use the same codes, even within their own product lines, since HDDs are sealed and have integrated controllers. The manufacturers don't even bother to tell you the physical encoding, because there's no need for anyone else to know it. The net result is that there is no longer any "magic code" you can write to a disk to stress sectors, guarantee data destruction, or have any other effect whatsoever upon the physical disk. All that stuff died out back in the days when IDE and SCSI hit the scene, after RLL and MFM drives died out.