The thread is talking about arrays, and you mention std::list. Right, C++ standard library golden rule #1: always use std::vector, unless you have a really, REALLY, REALLY good reason to use something else. See also one of the other child posts.
std::vector is the array replacement. It has good random access speed. It is guaranteed to use contiguous memory. If it's not fast enough that's probably because you are allocating memory because you are storing by value and the STL makes a lot of copies of stored values internally in many operations(see other child post) - and that can be solved without defaulting to pointers by using a custom allocator.
If any of this seems too complex to you, you shouldn't have been bothering with performance-critical C++ yet, and learning more about the language and libraries first. I recommend the book "Efficient C++" by Dov Bulka and David Mayhew as an introduction, and "Effective STL" by Scott Meyers for more on the standard library.
Having just seen the movie in question, I have no doubt that the death of Heath Ledger has really fired up the media buzz around the movie, but it also happens to be one of the best movies I've seen for a while.
In the end it's going to be an enormous success because past all the buzz the movie didn't suck either so people will keep coming to see it past the opening week.
No, the point is that you never store the soft bits because there aren't any. You halve the storage space and add a fixed offset to every number that comes out of the data stream.
Say you start with 16 theoretical bits of dynamic range. You then compress the whole thing 2:1 and make-up gain it by 8 bits. You now know for sure that the lower 8 bits of your 16 bits are always going to be 0, void of information. So you stop storing them. Hey presto, half the space required!
They don't have to be flashy at all - I think it could work. If non-flashy text ads works for google search, why couldn't subtitle-like adverts work for YouTube?
If that's really what they wanted to do then they should have stuck with much milder compression and audio normalization.
Therefore I think YouTube *is* trying to run a loudness war.
Because as we all know every single person that plays the guitar is a bazillionaire!
It's a totally flawed argument - writing songs is like playing the lottery (unless you have a really big payola budget). That doesn't mean that the amount of protection for those that "won the lottery" is totally out of proportion. In fact I feel strongly that the current system is actually preventing more musicians from "earning a living" from music just to keep a couple of fat cats fat.
AhHAH, but YOU got meta-meta-trolled!
{ insert lame joke about racism here }
Don't think of an elephant!
Great! I'm applying for a job there, since it seems management has half a clue at least!
The thread is talking about arrays, and you mention std::list. Right, C++ standard library golden rule #1: always use std::vector, unless you have a really, REALLY, REALLY good reason to use something else. See also one of the other child posts.
std::vector is the array replacement. It has good random access speed. It is guaranteed to use contiguous memory. If it's not fast enough that's probably because you are allocating memory because you are storing by value and the STL makes a lot of copies of stored values internally in many operations(see other child post) - and that can be solved without defaulting to pointers by using a custom allocator.
If any of this seems too complex to you, you shouldn't have been bothering with performance-critical C++ yet, and learning more about the language and libraries first. I recommend the book "Efficient C++" by Dov Bulka and David Mayhew as an introduction, and "Effective STL" by Scott Meyers for more on the standard library.
(only somewhat tongue-in-cheek)
Do you have any idea what that kind of checking costs?
2:1 Compression over the entire dynamic range with half the dynamic range in make-up gain.
Having just seen the movie in question, I have no doubt that the death of Heath Ledger has really fired up the media buzz around the movie, but it also happens to be one of the best movies I've seen for a while.
In the end it's going to be an enormous success because past all the buzz the movie didn't suck either so people will keep coming to see it past the opening week.
No, the point is that you never store the soft bits because there aren't any. You halve the storage space and add a fixed offset to every number that comes out of the data stream.
Say you start with 16 theoretical bits of dynamic range. You then compress the whole thing 2:1 and make-up gain it by 8 bits. You now know for sure that the lower 8 bits of your 16 bits are always going to be 0, void of information. So you stop storing them. Hey presto, half the space required!
If the compression setup makes sure that 50% of the lower dynamic range is never used, then you don't need to store it either.
"New!!! Volume enhancement pills for YouTube!" ;-)
They don't have to be flashy at all - I think it could work. If non-flashy text ads works for google search, why couldn't subtitle-like adverts work for YouTube?
If that's really what they wanted to do then they should have stuck with much milder compression and audio normalization.
Therefore I think YouTube *is* trying to run a loudness war.
That's STILL compression :)
My first thought was "hey that sounds like kuil", which is the dutch word for hole. And judging by the current server state, that's what it is ;)
Technically compressors don't raise the level either, they reduce it. It's the make-up gain afterward that raises the level.
Maybe someone should start a rip-off site called MyFace.com or SpaceBook.com ;-).
A millennium clock is a decemmillennium bug.
If you want to scale it, it should read "BEWARE OF THE GOD".
You can find the code change itself in the diffs, which can tell you exactly what was fixed. Just not always why.
Because as we all know every single person that plays the guitar is a bazillionaire!
It's a totally flawed argument - writing songs is like playing the lottery (unless you have a really big payola budget). That doesn't mean that the amount of protection for those that "won the lottery" is totally out of proportion. In fact I feel strongly that the current system is actually preventing more musicians from "earning a living" from music just to keep a couple of fat cats fat.
The system works. It has decided to break the wrist of the programmer who sent the bad command instead, to prevent future harm.
+1 worrying ;-)
Somehow I think that with a Geert Wilders quote in the sig the grandparent poster isn't from the USA.
You don't know for a fact that it's gravity holding you down right now either. See you on the moon, I hear they have pools there now!