Better HN
topnewbestaskshowjobs
Log inSign up

nullc

19,345 karma · joined Dec 24, 2010 (15y ago) · 7,239 submissions

gmaxwell

http://nt4tn.net/

Submissions

comment 14y ago · link · parent

The bitcoin system adapts itself to keep the rate of coin creation constant. So it's impossible to say what their return will be in the future. Perhaps a few monts later someone puts out a run of 28nm ASICS at 1/4 the price with 4x the performance and they're bought in massive waves.

comment 14y ago · link · parent

You probably know this, but for people that don't—

"They are" is the wrong pairing. The subsidy halves every 210,000 blocks (~4 years) as part of the innate core rules of the system enforced by every participant.

So it would be more accurate to say "They cut" (past tense as this was established years ago), or "The system will" (no human actor).

Also it looks like the halving will be early December to late November. (The block number is fixed, not the time, and because the difficult updates lag rapid increases/decreases in computing power can shift the date around a bit)

comment 14y ago · link · parent

It uses energy to do so— just like a heat pump can heat your home with greater output than electrical input, but not no electrical input.

The more exciting detail is that computation itself doesn't increase entropy, at least not if reversible computing is use. Only errors or, rather, their correction do... So things may be more rosy than you might guess: http://arxiv.org/abs/quant-ph/9908043

comment 14y ago · link · parent

This is the core secret of the sampling theorem. It says if you have signals of a particular type (bandlimited) you can do a certain kind of interpolation and recover the original exactly. This is no more surprising than the fact that you can recover the coefficients for an N degree polynomial using any N points on it, though the computation is easier.

It turns out that if you reproduce a digital signal using stair steps you get an infinite number of harmonics— but _all_ of them are above the nyquist frequency. The frequencies below the nyquist are undisturbed. Then you apply a lowpass filter to the signal to remove these harmonics— after all, we said at the start that the signal was bandlimited— you get the original back unmolested.

Because analog filters are kinda sucky (and because converters with high bit depth aren't very linear), modern ADCs and DACs are oversampling— they internally resample the signal to a few MHz and apply those reconstruction filters digitally with stupidly high precision. Then they only need a very simple analog filter to cope with their much higher frequency sampling.

comment 14y ago · link · parent

This isn't true. Sample a bandlimited impulse. The exact timing is encoded into the gibbs oscillations of the signal. So long as you have a high enough SNR you can have timing as precise as you want. (and because the ear doesn't work with ultrasonics— it is itself bandlimited— it uses the same phenomena for timing)

comment 14y ago · link · parent

Yea, and and if the bandwidth/storage is at all an issue 6x size bloat from 24/192 pays for 6 separated tracks. (Actually more, because multitrack is more losslessly compressible while 24/192 is less). If you're already providing multitrack then 24 bit audio would make sense... otherwise, meh.

comment 14y ago · link · parent

Not unless you pass them through a non-linear filter like a distortion effect.

(yes, the ear-brain system is non-linear too— but apparently it filters out the ultrasonics before they do anything measurable in this regard)

comment 14y ago · link · parent

Alas, they don't— you can easily demonstrate this for yourself. Startup an audio editor and generate tones at 25k and 28k (make sure you can't hear them— otherwise you have severe distortion screwing up your test) then play both at once. You will not hear a 3kHz tone.

The tone you get from an acoustic beat is not a real tone— it's a perceptual quark that requires you to be able to hear the tones in the first place.

comment 14y ago · link · parent

They don't— the air is linear (except at insane sound pressures) so there is no interference. While the ear is not linear, it doesn't respond at those frequencies.

If it really worked that way it would be trivial to demonstrate. Alas, it doesn't.

comment 14y ago · link · parent

Acoustic "beat tones" aren't "real" tones— you hear them because of non-linearies in the ear-brain system, but you have to hear the initial tones first. (Well, unless you're talking >>130dB SPL levels where the air starts becoming non-linear, but then lower frequency recording would capture it fine)

If you could hear subharmonic beats from ultrasonics then it would be _very_ easy to demonstrate, alas.

comment 14y ago · link · parent

To avoid the trouble of digging up the link: http://www.davidgriesinger.com/intermod.ppt

Slides 29-35 address this point.

comment 14y ago · link · parent

16 bits is not "very limiting" for anything, unless you think your ears themselves are very limiting.

Many things are mastered poorly— recording engineers crushing the dynamics in order to get the loudest possible signals— mostly a problem for pop music, but nothing is immune.

It's been observed that the various 'higher-definition' recordings have less brutal mastering— no doubt owing to the different audience they are marketed to. But this isn't a property of 24-bit vs 16-bit distribution.

comment 14y ago · link · parent

Indeed, but if there were non-linearies in the ear (there are many, of course) which allowed detection of ultrasonics (less likely, because the first stage of the ear is impressively linear) you'd expect them to show up in the actual listening tests.

The TFA does at least make this the-proof-is-in-the-pudding point somewhere in its depths. :)

comment 14y ago · link · parent

Not somewhat unusual. A one of a kind specimen.

If you test this and hear something, it's almost certainly because the ultrasonic signal is being distorted by your amplifier and speakers and you're hearing distortion products that are ending up at frequencies you can hear.

comment 14y ago · link · parent

Audio tweaker with hacker leanings but without carpentry skills? Start your engines: http://drc-fir.sourceforge.net/

comment 14y ago · link · parent

First, if you can "hear the steepness" you really can hear higher frequencies, but I assume you meant "maybe you can hear higher frequencies but not higher frequency _tones_"...

People have suggested this. It's been tested in rigorous double blind tests— involving both real music signals as well as special test tones (Linked from the article). The tests were unable to show that people could hear the ultrasonics. Moreover, there isn't any physiological basis to expect people to be able to. You can't expect a stronger result than that.

Common 48KHz audio already goes a bit beyond what adults are known to be able to hear, so you've already got some headroom for "but what if a few people hear better than anyone the researchers have been able to find!".

comment 14y ago · link · parent

Yes, thats basically it. They do this _exceptionally_ well in fact.

Typically the technique used inside DAC is to digitally upsample the signal (by duplicating samples, often to a few MHz— also allowing them to use a low bit-depth DAC) then it applies a very sharp "perfect" digital filter to cut it right to the proper passband (half the sampling rate). The analog output then contains only a tiny amount of ultrasonic aliasing which is so far out that it's easily rolled off by simple induction in the output.

This isn't just theory. Here is a wav file I made at a 1kHz sampling rate, where every other sample is -.25/.25: http://people.xiph.org/~greg/1khz-sampled.wav (so a 500Hz tone, the highest you can represent with 1kHz sampling).

Feeding that file to a boring resampler (I used SSRC, but anything should give roughly the same result— a least when not quite so ridiculously close to nyquist, most will attenuate near-nyquist data extensively) and get this: http://people.xiph.org/~greg/1khz-sampled-to-48khz.wav

Here are the two signals plotted against each other: http://people.xiph.org/~greg/1khz-to-48khz.png

As you can see— the 500Hz sinewave is reconstructed perfectly. (Of course, a 500Hz square wave would not be (you'd get a sinewave out) but this is because a 500Hz square wave contains energy far beyond the nyquist of 1kHz sampling).

Here is a spectrograph of the same signal http://people.xiph.org/~greg/1khz-to-48khz-spec.png showing that the tone is indeed pure (the faint background noise is the dither the resampler applies when requantizing its high precision intermediate format back to 16 bits).

comment 14y ago · link · parent

No. This really is not the case. The article _specifically_ addresses this misconception.

The signal reproduced from your 44.1kHz sampled digital input is not a stair-step like some broken waveform editor might display: On output it goes through a matched reconstruction filter (which may, in fact, be digital and involve an oversampled DAC or it could be analog though those are harder to build without compromise). After the reconstruction filter the output is _EXACT_, assuming the input only contained energy below the nyquist (well, and was sufficiently far away from the reconstruction lowpass).

So even a 5khz sine wave is reproduced perfectly with 44.1kHz sampling.

7219.

There is no point to distributing music in 24-bit/192kHz format.(people.xiph.org ↗)

732 points · by nullc · 14y ago · 316 comments

comment 14y ago · link · parent

And you believe it? Why? Google for solidcoin copyright. You can see the posts on bitcoin talk _months ago_ talking about this.

Looking for myself, it appears that they still haven't fixed the copyright notices. The file cited on the github page still has the mentioned code with nothing but a copyright notice by solidcoin.

And if there is no issue they could simply file a DMCA counternotice and get everything put back up.

comment 14y ago · link · parent

Where do you get no prior contact from?

The fact that SolidCoin had stripped the copyright notices from the fails and were fraudulently claiming to have rewritten everything (as part of their process of closing access to Solidcoin and putting it under a restrictive license) was a popular discussion subject on the AltChains forum and had come up multiple times.

They also apparently violate the Berkley DB license.

comment 15y ago · link · parent

And LLVM was bootstrapped by using GCC as the front end before clang was written to replace it.

The freedom to combine with another program _temporarily_ while you bootstrap something better improves productivity significantly.

And the world before GCC had a great many commercial compilers. Many of the crap. GCC replaced almost all the crap ones, so that only free compilers and a few commercial compilers that were good enough to offer something over GCC existed.

comment 15y ago · link · parent

You laptop has a _hardware_ H.264 decoder? What laptop is that? GPU shader code != hardware.

comment 15y ago · link · parent

It's arguably unethical to mention solidcoin and link to their PR material without at least a little word of warning:

Solidcoin is not a decentralized system like bitcoin. Every other block must be mined by one of several trusted parties. This has advantages and disadvantages.

(Because there are only a few bitcoin clients and only one popular one bitcoin has some centralization problems too, but it's not really comparable)

The solidcoin trusted parties have used this ability to change the rules of the system substantially on the users. E.g. the payout per block was recently reduced from 32 SC to 5 SC. Users could not disagree by simply refusing to "upgrade" because the trusted parties stopped issuing blocks on the old network.

There is a bunch of other funny business as well. Do your research.

comment 15y ago · link · parent

This isn't true. There are several kinds of built in upgradeablility.

First, the relevant structures have version identifiers, so new clients could operate on a mixed network without problems (though with the new features disabled) and continue to parse old messages.

Secondly, all bitcoin transactions are governed by small programs written in the transactions (called scripts). Many of the scripting OP codes are 'reserved' and treated as NO-OP by the clients today. If a vulnerability was found in ECDSA and we needed to migrate off it fast— You could write transactions which require a (say) lamport signature PLUS an ECDSA signature.. and encode the lamport signature requirement in script as a NO-OP (e.g. one of the no-ops gets redefined a 'check lamport signature'). Old clients will ignore that requirement and consider the txn good if the ECC key was good, new clients will validate it. The network could run mixed for a long time, though transactions sent and received by old clients wouldn't enjoy the improved security.

The script mechanism doesn't let you upgrade everything, e.g. you can't change the hash used for the proof of work or merkle tree that way... but that aspect of the usage is the most robust against attack. E.g. Bitcoin would still be acceptably secure if MD5 were used in the POW as well studied functions tend to fail fairly slowly with attacks becoming more powerful gradually. For those things you're left with the alert... and even there the system can use indicators in coinbase to have mining nodes vote on when to activate the change.

Because no one mining would be left on the old network clients that didn't upgrade would just see transaction processing stop, not a significant split.

comment 15y ago · link · parent

It's perhaps easier to go the other way.

Can you find this online? "Description of the Brain of Mr. Charles Babbage"

T1 - Description of the Brain of Mr. Charles Babbage, F.R.S JF - Philosophical Transactions of the Royal Society of London. Series B, Containing Papers of a Biological Character (1896-1934) VL - 200 SP - 117 EP - 131 PY - 1909/01/01/ UR - http://dx.doi.org/10.1098/rstb.1909.0003 M3 - doi:10.1098/rstb.1909.0003 AU - Horsley, V.

comment 15y ago · link · parent

None of your links are working for me.

The only things in archive.org right now appear to be a half dozen issues from the mid-1800s.

comment 15y ago · link · parent

They don't do full text search on these articles.

comment 15y ago · link · parent

No, just not stupid enough to write the oppositions briefs for them.

But really, you don't need to be a genius to obtain large collections of scientific papers. Many people have them— its a prerequisite for doing meta-analysis for example. The distinction here is making them available to the general public.

comment 15y ago · link · parent

Probably you don't understand where the line is because no one else is quite sure either.

Most of the underlying information on Google Maps is public domain—road locations and physical features of the terrain are all uncopyrightable facts. What they claim copyright to are the map visuals: the particular style of drawing the maps, and the photographs they took. (though perhaps even that is debatable, since the photography is a robotic process)

You should be able to take the Google data and extract everything uncopyrightable from it to draw your own maps. (And if you're interested in public maps, you should see the OpenStreetMap project.)

But say you want to include some of the other things on Google Maps--place markers for hotels and restaurants, for example. Any one of them is an uncopyrightable fact: that's where it is. But what if you choose to mark the same collection of the same sorts of things that Google has marked--are you infringing on their copyright in the selection? The more you can make an argument that there was some original thought in the selection the harder it is to tell.

US law is pretty clear on plain facts being ineligible for copyright, even if it took work ("sweat of the brow") to compile them. But copyright in things like collections of data is much less clear.

1
238239240241242