Comment Re:While I wrote my first programs in BASIC... (Score 1) 107
Comment Re: Lossless by removing information? (Score 2) 98
The same applies to precision too. For distribution of end-user audio going past 16 bits is IMHO pure marketing snake-oil, but this doesn't mean that you might not want to use significantly higher precision when processing, because then numerical errors come into play. When considering feedback in IIR filters, even single-precision floats are sometimes insufficient and in extreme cases this might even lead to unstable algorithms. Sometimes you can fix this by choosing an alternative algorithm with better numerical behaviour, but in some cases you might opt to have your plugins work in double precision. Even simple volume control (and certainly sample rate conversion if you're playing 44.1kHz on a 48kHz DAC) does lose a tiny bit of numerical precision, so there's no harm in having the PC convert the 16 bit media to higher precision for mixdown before sending it to the DAC... but that doesn't mean there's any real benefit in distributing anything more than 16 bits.
Overall I feel like the biggest problem with a typical discussion (online or offline) with regards to audio quality, sampling rates and precision is that it's very common for people to read something that applies to processing and then insist that it also applies to distribution media where in fact the engineering tradeoffs for the two are very different. A fancy high gain guitar amp sim might want to process with 16x oversampling and use double-precision floats internally to improve the numerical behaviour of it's circuit simulation, but that absolutely doesn't mean that there's any benefit whatsoever in 700kHz/64bits for distribution. For whatever reason, people treat audio as if it was made of magic pixie dust (and that's really what I was talking about with the gold plated ethernet cables). In the real world there's no magic and digital audio really is just regular engineering and all about finding the right engineering trade-offs which tend to be different depending on the purpose.
Comment Re: Lossless by removing information? (Score 2) 98
Oversampling in audio processing is also very much a thing to mitigate aliasing from non-linear processing (ie. any sort of distortion). This way hopefully the most significant aliasing will fall into the excess bandwidth so it can be filtered out by the downsampling filters, rather than folding over to contaminate the baseband. Usually it makes little sense to manually work with higher rate audio here though, since the oversampling is usually built into FX processors and plugins directly (generally makes more sense in terms of CPU efficiency, since you'd need the filtering mostly equivalent to resampling between different processors anyway to avoid letting the aliasing accumulate further).
Finally recording "ultrasounds" at high rates can be useful for stuff like SFX work where it's perfectly normal to record some ordinary everyday sound and then play it back at much slower rate to produce an extraordinary impression. When slowed down, the ultrasounds become audible and the results tend to be more convincing when the final Nyquist rate doesn't exceed the original Nyquist rate.
So... there are reasons to work with higher sampling rates for audio, but basically none of them have anything to do with anyone's hearing in terms of the final media. Even with 24 bits the extra dynamic range is mostly useful in a studio (ie. don't need to worry about leaving plenty of headroom). For final distribution media going past 44.1kHz/16bit is basically about as useful as using a gold plated ethernet cable for watching youtube.
Comment Re:And that's why it used to be... (Score 1) 43
Comment Re:Devil's in the details (Score 4, Insightful) 67
Most people seem to learn to hate math in school and I personally feel like trying to teach them to also hate programming is probably not going to be that useful. When the most common password is apparently still '123456' teaching people some basics of how to avoid the dark alleys of the digital society would seem like something that should have a much better return of investiment to the society as a whole, than trying to teach everyone to write code.
Comment Re:What utterly stupid code! (Score 1) 179
This is why you don't just set any old program to setuid, because most "normal programs" expect "normal operation" and setuid binaries just don't get that priviledge (pun intended). Writing setuid programs is very much a topic that needs to be studied specifically (and preferably restudied every time you start writing a new setuid program), because simply following normal good development practices (whether or not those were followed here) is simply not enough when your program effectively becomes part of the security policy and therefore part of the attack surface.
Comment Re:Algebra vs Calculus (Score 1) 179
Comment Re:Obvious (Score 3, Interesting) 242
Comment Re:This is like GM removing the spare in trunk (Score 1) 862
Comment Re:Virtualization (Score 1) 239
- I have one mouse and one keyboard.
- I can see what's going on in both OS at the same time
- I only need to lock/unlock my console once
- I can seamlessly copy-paste between them.
- If I need to remote from home, I can just take normal RDP and the Ubuntu is available in a window too.
Even useless eye-candy in compiz works fine (though it's a bit slowish with RDP over interwebs). Both systems run all the time (well, the Windows needs to be booted occasionally where as KSplice deals with the Ubuntu pretty well), and they work just fine. From work-flow point of view it's mostly like working with a single system.
I also have a console switch so I can access a separate Mac (for OSX) from the same console. It works too, but it's such a pain to hop from one system to another that I usually try to avoid having to bother. What this "hot switching" sounds like is basically like using such a console switch. Doesn't sound so great when you're used to being able to just focus another window.
Comment Re:Why.... (Score 2) 543
But it can be mitigated by using external USB drives and the 'dd' command, which allows an entire file system to be stored as an image file and then restored or even mounted temporarily.
No need to use 'dd' as you can just take a tar-ball of one filesystem. That way you don't waste space on storing (and more importantly moving) the garbage in unallocated space. There's nothing special about any of it, except whatever the bootloader (ie. grub hopefully) requires. You can use some Live ISO (usually the same one you used to copy the data over) to chroot into the system once the data is copied over and tell grub to reinstall itself (update-grub). The only other tweak required is patching new UUIDs to