HNHacker News
TopNewBestAskShowJobs

xiphmont

593 karma · joined March 5, 2012

submissionscomments
xiphmont··on The Gray-1, a homebrew CPU exclusively composed of memory
I was joking :-)

I've made a few simple microcontrollers and microsequencers in Minecraft (as 'micro' as you can get with a 1M feature-size) and I've often fantasized about bigger projects, but it's only been fantasy.

Still, it lends itself reasonably well to old NMOS-style layouts...

xiphmont··on The Gray-1, a homebrew CPU exclusively composed of memory
You can implement any logic function with a large enough lookup table. That doesn't mean it's necessarily a good idea.

It wasn't done this way then and isn't done this way now not because it's impossible (or even that hard), it's because it usually doesn't make sense compared to the alternatives. It's slow and burns a comparatively large amount of resources.

That said, the project is interesting precisely for the reasons that it renders these lessons concrete, and apparently was fun to implement.

...now back to my Minecraft RISC-V....

xiphmont··on Carbon monoxide poisoning from 3D laser printer may have killed Berkeley couple
I've never seen or heard of a non-industrial laser cutter with a gas supply.

Air assist, yes (to clear smoke and particles from the beam and protect the focus lens from soot), but that's just an air pump, not a gas supply.

xiphmont··on Carbon monoxide poisoning from 3D laser printer may have killed Berkeley couple
The CO2 laser tubes sold to hobbyists are sealed. There is no gas supply. Large industrial lasers use a gas supply in order to cut faster and at higher power.

Some home-built tubes do use a gas supply, but virtually no one builds their own CO2 tube to use in a laser cutter when better tubes are available on eBay for $100.

xiphmont··on Oh right, about those LEDs
$1720 delivered, and that's been fully recouped.
xiphmont··on Oh right, about those LEDs
True of most of the Chinese 'manufacturers' (usually just encapsulators) I've bought from. Hoewever, there are reliable Chinese manufacturers that hit spec reliably. It's just hard to sort the wheat from the chaff.
xiphmont··on A ThinkPad supervisor password crack
GND and PROT are pins 31 and 32 on the same chip, right next to SCL and SDA on the 8356908. I don't know where PROT might be exposed on the top of the PCB, it very well might not be. I soldered leads directly to the chip to test.
xiphmont··on A ThinkPad supervisor password crack
To be fair, I cannot say with certainty why it works; I don't have code for the BIOS or EC. The CoreBoot and LibreBoot people might be able to shed some light.

The more interesting aspect, verified by testing, is that it does work.

In my own testing, SCL to SDA will not work on the T2X, T3X, T4X, T60, X2X, X3X, X4X, or X60. It does work on the T61/X61 and T400/500.

PROT to GND works on all of the above. I also tested it on an X230 (works), but I didn't check SCL to SDA on that machine.

xiphmont··on A ThinkPad supervisor password crack
I also said 'SCL to SDA does not work everywhere, whereas in testing, PROT to GND does'.

PROT is not the WP pin. They're different. Go read the spec sheets.

The original hack as discovered was PROT to GND, not SCL to SDA. My only speculation was as to why the hack as reposted changed over time.

xiphmont··on A ThinkPad supervisor password crack
I'm not using the WP pin, I'm using the PROT pin. It forces the EEPROM to behave differently, because it signals it does not have a good power state. The EEPROM can be 'read', but the data it hands back is different. You can go read the spec sheets for the EEPROMs in question. You have the part numbers.

But I was more interested in the end-to-end test, as I expected others reading would also be:

SDL to SDA (the usual instructions given elsewhere) only works on some models.

PROT to GND appears to work on all. In my collection of ~ 30 machines, it works on all the models SCL to SDA does, as well as all the models SCL to SDA does not.

PROT to GND was the original hack as discovered around the time of the T20.

xiphmont··on A ThinkPad supervisor password crack
I did. Keep reading.
xiphmont··on A ThinkPad supervisor password crack
They did as of Haswell. New machines are crackable too with more effort, but this simple short trick doesn't work.

No, I don't know a trick for new machines, and am unlikely to look for one. Modern Thinkpads aren't machines I'm very interested in.

xiphmont··on A ThinkPad supervisor password crack
Correct. The HD password is a little closer to real security.

My motivation here is the same as most people buying old Thinkpads off eBay-- getting past the SVP on machines with a dead CMOS battery. I don't give a fig about any data on the hard drive :-)

xiphmont··on 24/192 music downloads make no sense
You're late to the game. Such high margin products have existed for some time. There are even published papers about them()!

The published papers tend to be by the same people making the supertweeters

xiphmont··on 24/192 music downloads make no sense
>That said, there's one thing the article does not address and that is "beating", or really inter-modulation distortion from instrumental overtones.

Beating and intermodulation distortion are entirely different things. They look similar on an oscilloscope, but they're not and they don't sound the same.

>Instruments are not limited to 20-20kHz. They can have overtones well above this range.

Correct. You can't hear the overtones beyond the upper portion of the hearing range (many people believe you can).

>In a real listening environment (i.e. live performance) these overtones have a chance to interact with one another in the air.

In reality they do not unless you're driving the air so hard the trough rarification is approaching hard vacuum. (That's not actually impossible. It's how ultrasonic audio 'beaming' devices work). Some performances are powerful enough to get close, eg, if you're sitting six feet from the pipe organ.

Once you're driving air so hard it becomes nonlinear, thus introducing intermodulation distortion in the air, that distortion produces actual audible-range distortion products. And because the distortion you're hearing is in the audible range, a recording will sample and reproduce it accurately.

You're hearing the audible _result_ of IMD, you're not somehow listening to the distortion curve itself.

> It is possible that these overtones may beat with one another

You're continuing to confuse beats and IMD, but here you're talking about beat frequencies, so Yes. But beat frequencies are a sort of auditory illusion. If one of the frequencies that would produce a beat is inaudible--- there's no beat. Easy to test, go try it.

> and cause inter-modulation products in the audible range.

IMD is not a beat. Inaudible ultrasonics will produce audible artifacts when the underlying reproduction system is nonlinear (another way of saying 'there's intermodulation distortion'). However, that's a playback artifact. If the IMD products were audible in the original signal, audible range sampling would reproduce them.

If it wasn't audible in the original performance, it should not be part of the recording, and it should not be part of the playback.

xiphmont··on 24/192 music downloads make no sense
> No they're not. And no matter how many times this gets linked to on the Internet, it's still wrong.

The article is still correct, just like it always was.

Ironically, most of your analysis is also correct. Somewhere in your understanding though, you're leaping sideways to an incorrect conclusion.

>The basic problem: the quieter a sound or detail gets, the fewer bits of resolution are used to represent it.

So far so good, but you're about to go wrong again once you start thinking in terms of stairsteps and boxes and looking instead of hearing.

Back to the bits.

What lower amplitude (and fewer used bits) means is that the sound, as represented, is not as far above the noise floor as a full-amplitude sound. The digital noise floor is completely analogous to, eg, the noise floor of analog tape. If you use a dithered digital representation, you get something that behaves exactly as analog does. You hear and perceive both the same way.

>In 16-bit recording, there simply aren't enough bits to represent very low level details without distorting them with a subtle but audible crunchy digital halo of quantisation noise.

On an audio tape, the magnetic grains are just too large to represent very low level details without distorting them with a subtle but audible crunchy halo of analogue distortion and hiss.

In a 24 bit recording, the noise you mention is still there! It's just shifted down [theoretically] 8 bits or -48dB. That's the only difference. The noise floor is lower.

[In reality, 24 bit isn't. Most recordings don't even hit a full 16 bits, and no recordings, unless they're mathematically rendered, can get deeper than about 21 bits. There is no such thing as a 24-bit audio ADC/DAC that delivers 24 bits. The very best available today are about 21 bits of signal + 3 bits of noise.]

So the difference in playback between 16 bits and 24 bits is about 5 actual bits. If you're complaining about soft sounds in a 16-bit recording 'not having enough detail' because they're down at, say, 3 bits of resolution, are you saying it's all fixed by using 8? Aren't 8 bits woefully too few for any kind of quality sound?

(I hope at this point, you realize you're barking up an incorrect tree)

If you're following me so far, we can continue, but I expect even this much is going to require more conversation.

xiphmont··on Free Lossless Image Format
Yes, but let's give this a little time. If this was going to be another example of 'the code is the spec' it wouldn't go far anyway. That's a n00b mistake, and I don't think these guys are n00bs.

If this is worth using (and it's the first thing in several years that made me sit up and say 'ooOOoo') it won't get lost. There will be a way for the world to use it.

xiphmont··on An audio format for creative DJing
Apple is one of the few vendors that supports AAC in exclusion of other formats (and, eg, ALAC in exclusion of FLAC, etc). And no, actually, AAC's declared licensing is considerably more expensive than mp3 (partly because AAC is a bundle of quite a few different codecs that share the same name).
xiphmont··on An audio format for creative DJing
Actually you mean exactly one player: iPod/iPhone. To play nicely with apple, you have to fork over the $2.50/copy. Ah well.

(Almost everything else currently using stems is mogg-based given the per-unit royalties for MP4 software support)

xiphmont··on An audio format for creative DJing
Why define a new AAC subvariant and not use an existing (and actually unencumbered) multitrack stem format like mogg that's been around for for a decade now?
xiphmont··on Thor – A Project to Hammer Out a Royalty Free Video Codec
Yeah, we're going to have to start arguing on what to name the hybrid soon, since 'Vopus' is already taken.
xiphmont··on Bug or Feature? Unintentionally Intentional Behaviors
Point taken, short intro added.
xiphmont··on Sample Rate and Bitrate: The Guts of Digital Audio (2008)
"The higher the rate, the closer you’ll get to the smoothness of the first image."

oops.

xiphmont··on Digital audio signals and how they really behave [video]
Oh, and the 'goofy' font is just Adobe Garamond, which we use in most Xiph stuff.
xiphmont··on Digital audio signals and how they really behave [video]
There's a fairly detailed writeup about the making of the previous video:

http://wiki.xiph.org/Videos/A_Digital_Media_Primer_For_Geeks...

Only a few things have changed since then. I've done some more work within Cinelerra (I wrote a new resampler and a new color grading filter for it this time around). I'm also using a pair of matched suspension microphones (AT853a Unipoints) instead of the Crown boundary piezeos, which I've decided just aren't suited to anything I do.

Cinelerra is not for the faint of heart, and I don't casually recommend it. It is very powerful, rather unfriendly, and picky about the formats it uses. However, it will do things none of the other FOSS editors can.

xiphmont··on Digital audio signals and how they really behave [video]
It's not obvious, but that's actually a real plot of a real signal example. Have a look in the source code for the cairo animations, it's generated from data.

It was easier to use a real example than try to draw something by hand that was close to correct :-)

xiphmont··on Digital audio signals and how they really behave [video]
The sad truth is that all the open source video editors are like that depending on what you're doing (with the possible exception of OpenShot, which I found to be reliable but limited).

In short, I found no FOSS video editor that did what I needed reliably out of the box. Given that problem, Cinelerra at least came close, the code was readable, and the design sound. Its biggest problem is that its file loaders/exporters are all old and bitrotting so they have become unreliable and crash-prone. For my stuff, I use raw video and so don't hit those problems.

In the process of making Episode 2, I wrote a new compositor resampler and a new color grading filter for Cinelerra (named Blue Banana). These should be appearing officially in the next major release. I hope to have some more file loader work done by then too :-)

xiphmont··on Digital audio signals and how they really behave [video]
thanks to both of you :-)
xiphmont··on Digital audio signals and how they really behave [video]
It was fun rebuilding that 3585. I had to wait almost six months for a working CRT that would fit that model to float past on eBay :-)
xiphmont··on Digital audio signals and how they really behave [video]
Yes, there's an RSS atom feed on the video pages, and we also have a 'video' mailing list at Xiph.org for new video announcements.
← PreviousPage 3 of 4Next →