Slashdot Mirror


User: Petrus

Petrus's activity in the archive.

Stories
0
Comments
155
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 155

  1. Re:Classic application! on Software Based Echo Cancellation? · · Score: 1

    So far the best posted algorithm (not many were posted though :-)
    Some comments:
    1. L will be probably a lot bigger, itshould be samplingRage*MaxEchoDuration.
    E.g. 40kHz*250ms = 10,000 !

    2. Ws so not need to think about ref as zero-delay centered signal. That makes to seem the formulas too complicated.

  2. Re:Algorithm suggestion on Software Based Echo Cancellation? · · Score: 1


    Good, but Few comments:

    1. The speaker signal should be close to unit pulse.
    2. There is no need to subtract the signals.
    3. There is no need to do any tranform.
    4. There is no single echo to be handled, but infinite numbers of echoes from every point of the room superimposed together. You need sort of "Echo Profile.
    5. Subtracting the signals in frequency domain is not better, but worse and more computationaly intensive.

    The best is:
    1. Record the echo response to the impulse into E[i].
    2. Keep history S[i] if N previous samples.
    3. EchoCancelledSignal = Input - sum(R[i]*S[i])

    One problem:
    The echo might change as the source of sound and other objects or people move about the room. You might want to make the R[i] coefficients adaptive to the changes of echo as posted in the eralier algorithm.

    Petrus Vectorius

    P.S.:
    Go to comp.dsp newsgroups, it is actually quite trivial (as algorithm, implementation might require quite some processing power)

  3. Echo cancellation on 12 lines of code. on Software Based Echo Cancellation? · · Score: 4, Informative

    #define AdaptationRate 0.99
    // Basic adaptive LMS FIR algorithm.
    float EchoCancellation(float Sample)
    {
    static float History[MAX_ECHO_DURATION+1] = 0;
    int i;
    float AdaptationRate;
    float EchoAmpl;

    for( i=0; iMAX_ECHO_DURATION; i++)
    {
    EchoAmpl = History[i]*Coef[i];
    Coef[i] *= AdaptiationRate*(Sample-EchoAmpl);
    History[i+1] = History[i];
    }

    History[0] = Sample;
    return Sample-EchoAmpl;
    }

    That's all the "basic" science.
    You might find, that for 40kHz and 250ms echo this is too computationally intensive for a single Pentium. You may need some 1200 MIPS.

    You may then:
    1. Use Athalon ;-)
    2. Convert it to pointer arithmetic
    3. Convert it to integer arighmetic
    4. Skip some samples for echo estimation, sometimes
    5. Contact me to use more clever algoritm (IIR?)
    (Petrus.Vectorius@ied.com)

  4. Re:Oceans gobbling up more carbon dioxide on Goodbye Global Warming!...Hello Terraforming? · · Score: 1


    Listen to this guy.
    And I tought that I would not see a single guy on the Slashdot that would not be already dully brainwashed.

    Slashdolt, we need to work on you, before you destroy out multi-billion global waporware project and turn attention (God forbid) it into something useful such as the the polution that is actually happening.

    Secretly, my compliments.

    Anonymous Petrus.

  5. How to make money on Global Warming Craze. on Goodbye Global Warming!...Hello Terraforming? · · Score: 1


    1. Scientifically confuse the facts on dynamic ballances of gases in the atmosphere, rate of its creation consumption and necessary/resulting climate.

    2. Start a worldwide campaign predicting end of the world if nobody brings a solution.

    3. Before anybody wakes up from total consternation, announce solution of your own.

    4. Legalize solution as an only environmentally sensitive solution.

    5. Make a goverment subsidized plant that makes whatever was always produced in the nature naturally.

    6. Collect twice money on the product (biomass/ethanol), make more expensive fulel government mandated. Of course, you make it for $0.20/liter, sell for $0.40/liter, and government will get another $0.20/liter that is reasonable $2.40/galon for the consumer.

    7. Get tax rebate on byproducts Oxide/Water!

    What a splendid idea.
    How else can you make money if the Ozone hole was already cashed on and the world end doom frenzy faded?

    Petrus

  6. Re:Bogus Laws on Seeking Arguments Against the CBDTPA? · · Score: 1

    Supporting Big Corporation and monopolism is actually fascist ideology, not communist. According Fascist, Big Corporations would save Joe Shmoo, who would obviously hold some big corporation shares or work for them and benefit from it.

    Communist had a law, that copying is a subversion of state ideology, especially if it is about "eyes of needles" or other religiout material and all copy macines, faxes ad copy technoloty are in private hands illegaly and Joe Shmoo would be punished as a treason on state and communism.

    I wasted 25 years under communism and I do not think that you are not linking exactly the right things together.

  7. Immoral motives of CBDTPA proponents. on Seeking Arguments Against the CBDTPA? · · Score: 1


    The motives behind CBDTPA are immoral for several reasons:
    * Unjustly suspects customer from stealing.
    It offends every just citizen who simply does not do that.
    * Misinformes public that what is de facto playback protectio (playback is legal) is copy protection (cooying might be illegal)
    * Does not want to pay for its own infrastructure (descrablers, hardware keys, etc...), but rather wants to exploit current computers and internet at somebody else's costs, even non-customers.

    Petrus

  8. Re:ID Card Threat? on Hong Kong Gets Smart ID Cards · · Score: 1

    Why?

    Perhaps you migth think that attending an illegal religious service such as Catholic mass is not really a crime.

    And becouse you might know, that you will be jailed if you go to mass in China and they catch you.

    Hongkong is really a bit of problem. They are not used to these things being a crime. A better control of poeple needs to be in place. And you are not left wight many options in controlling somebody throughout his life, if you cannot reliably identify him.

    Petrus

  9. Re:ID Card Threat? on Hong Kong Gets Smart ID Cards · · Score: 1

    In East block communist parties the duty to carry ID and police right to identify you anytime is an obvious think. If you cannot identify yourself, the police has every right to arrest you since you just commited a crime.

    The problem is that such control is expensive, not pervasive (most people are not policemen) and pesronal - prone to error (usally officers do not arrest you to save themselves trouble of writing the protocol).

    A cheap, omnipresent, impersonal tollgates based on ID could bar you from entering hospital, transportation means (including your car voila, what en excellent car key!), bank, buying food and other merchandise or getting salary or even a job.

    Remember, China has a problem that some women want to have a second child witout the state's permission. And right now catching them is hard and expensive. Not becaue they would run to Tibet, they walk and live in the cities, just the police does not know where. Now, this ID can fix it.

    Only problem - ID's can be swapped with a friend. Until you get yourself catched by some policeman, who actually check your photo, you can get by.
    Any idea how can that be 'fixed' (besies harsh sentences for ID swapping)?

  10. Re:ID Card Threat? on Hong Kong Gets Smart ID Cards · · Score: 1

    Nobody want's to sell you anything in Communism.

    You'll come begging on your knees to have some, and then you are out of luck because only few parts were manufactures and the party officials and their friends already took it.

    And nobody is interested in manufacturing much more, since the level of production does cannot cause their job lost or raise their salary.

    Is China communism getting any different?
    I really don't know.

    But the guy who cuts your hair wants to see it and must access central database. And perhaps it says, "Authorized; Hair and the throat, too".

    Petrus

  11. Re:ID Card Threat? on Hong Kong Gets Smart ID Cards · · Score: 3, Insightful

    This is a communist heaven.

    Until now, the problem was - how can you control people if you cannot identify them.

    I was growing in a communist country. The state 'secret' police kept file on every citizen, containing his opinions, habbits, friends and sins againts communistic ideology. This was useful for tracing, coercing, arresting and convicting individuals. Or simply such file was used when you applied for a school or job.

    For instance.
    We bought cars, but somwehere in the law it said that the car remains state's property. But it was hard to trace, how are you using it, e.g. do you drive it to church (subversive use!).
    Can you make a car that would authenticated and started by smart card? I think, that I could engineer one in about 7 months.

    Petrus

  12. Re:I am not quite comfortable with the method. on Mandrake Asks for Support · · Score: 1

    Srry, Guys, They are ok.

    Actually, they ask for one lump sum.
    The $5/month is only a sales pitch to explain, how little it really is.

    Petrus

  13. I am not quite comfortable with the method. on Mandrake Asks for Support · · Score: 1

    I would prefer to prepay $70 *.2 distro rather than paying in small chunks $60 a year. There are ten other distros, that deserve same support.

    One habbit that I learned in dealing with Europian companies is insist on having to confirm each payment with your own signature.

    Sort of socialist inclination in most Western Europian nations tend to guarantee small and stable income to employees on one side, and on the other side no rights for customers to paid service except the right to pay. And once on automatic payments, this 'right' is hard to cancel or revert.

    I might try to buy Mandrake 8.1 Pwer Pack, instead, that will give them 50% more.

    Petrus

  14. Re:NAT & Firewalls on HTTP's Days Numbered · · Score: 1

    What he means:
    We'll if you were on the internet, I could visit you there. However, most of us are connected over DHCP, that means effectively being internet-homeless.

    DHCP is mostly used really to ease the connections, but rather to share limited ipv4 address space.

    I would like people to ring me on my workstation, just like on the phone, I would pick it up, open chat session, open his cam connection to see him and open a shared whiteboard over X11 fotwarding and have some seriout discussion.

    But for that, I ned an IP address at least as fixed as my phone number.

  15. What about validity of their aguments. on Sun Bashes Linux on (IBM) Mainframes · · Score: 1

    All seem to be rather moot points.
    It's free layer on proprietery z/VM, no problem.
    Linux is not as optimized as z/OS, well, it has other values.
    VM and Linux engineers are different sorts - well, anynone can learn.

    But what about this one.
    Would it be true that disk cashing would be
    counterproductive?
    What about the cost issue: what is cheaper, faster, smaller, less power hungry and services more users: server farm with 100 servers or one mainframe?

    They are not really saying much against IBM,

  16. Re:Lessons not learned on The Apache/Sun Relationship Worsens · · Score: 1

    Yes, english is not my first language. Slander is probably arcane term that remains only in use in legal documents, which probably lifted you up a bit. I apologise. Perhaps 'calumny' would be better expression.

    Yes, a typo. Should read:
    "all SUN wants is that the term "Java" to label only fully compatible proucts". That refers to Microsoft attempted extensions(read context). I have no doubts that JBoss if fully or at least nearly compatible.

    JBoss just wants to be tested. Well, no problem. Sun just wants to do the testing. And it just wants to be paid for the work. Just as I want to be paid for my work. So you can consider us fellows in crime.

    The money is negligible fraction of, say the $1b that IBM invested last year into Linux. How come nobody has a penny to spare? I pledge my $5, a comparable share to my salary as thetesting fees to $1b. Or no, the heck. I pledge $50.

    But by the way, is the "Java" sticker worth the 50 bucks?

    Petrus

  17. Re:Lessons not learned on The Apache/Sun Relationship Worsens · · Score: 1

    Nothing about law here:
    Slander \Slan"der\, v. t. [imp. & p. p. {Slandered}; p. pr. & vb. n. {Slandering}.] 1. To defame; to injure by maliciously uttering a false report; to tarnish or impair the reputation of by false tales maliciously told or propagated; to calumniate.

    I wish that people in their zeal keep in mind, that although they have right to opinion, they should think thrice about expressing it if that opinion may cause injury to someone's reputation.
    The harm is lot easier done than undone.

    If people won't learn this (not only on slashdot), they will ham popple with good intentions, alienate lot of observers and destroy good projects.

    If you compare it to OSI advocates, they are no less willing to compromise the Open Source definition than SUN is willing to change their stance on Java Certification.

    And now, compare, all SUN wants is that the term "Java" not to be used on fully non-comptible products, something that successfuly stopped Microsoft from embracing, extending and hijacking it.

    What's in a name?
    "Open sourcing", in turn, requires lot more from the donor than free use of a name.

  18. Re:Lessons not learned on The Apache/Sun Relationship Worsens · · Score: 1

    You wrote: [Sun] very cleverly exploited open souce development

    Do you remember where from do we have:
    --- Open Office?
    --- Mozilla?

    These are not only some Linux applications, these are major competitive Aces against omnipresent Monopoly. These far the only ones.

    More quiz qiz questions:
    --- Who coded Athena Widget set?
    --- Who donated OpenLook souce 11 years ago?
    --- What is XIL imiging library?
    --- What other company is opening source as much as http://www.sun.com/software/communitysource/ ?
    --- Which other Linux vendor open as much of i386 kernel code as Sun for Solars?

    What I see clearly is the ingratitude is the World's recompense. Do slanderers have the courage to put foot where their mouth is?

    Petrus

  19. Re:The Java certification is so cheap. on The Apache/Sun Relationship Worsens · · Score: 1

    Good Point.

    They are certainly very generous and straightforward, although they don't play the soft of new Open Source politics well. Perhaps they don't want to.

    When I said "Before Linux begun", I was referring to the OpenLook windowm manager (olvwm) and developement tool, that I was using in 1990 (Linux started in 1991) and that was never surpased as by neatnes and configurability by any GTK+, gnome or qt in neatnes and configurability, that was based on Athena widget set. I mean that one, which is not shipped with any mahor Linux distribution since 1997 and which WxWindows are stopping to support.

    It had quite nice, oval-shaped windows, wery neat graphics. E.g. the "stic-it" pins on the window, found only on KDE/gnome decade later were casting pin-shaped shade. The windows poping was neatly animated - on 30MHz 68030.

    It was atop of Athena Widget set, where every GUI item could be custom colored/fonted/sized... by 'editres' athena widget editor. That is something you won't see yet on gnome or KDE.

    Well, you know, we are slowly going backwards, limiting the capabililities of Linux, altil the Linux PC will be as arcane and unusable as Windows.

    More on Open Look:
    http://sunsolve.sun.com/data/802/802-5329-1 0/pdf/0 1.framenewnew.pdf
    http://www.vmlinux.org/xplan/

  20. The Java certification is so cheap. on The Apache/Sun Relationship Worsens · · Score: 4, Insightful

    I think, that lot of people are unjust casting curses to Sun. It was sun who donated most of Netscape (Mozilla), most of StarOffice (OpenOffice)and other things such as OpenLook even before Linux begun.

    Whether it would happen or not, they have the right to be careful about Java spec incompatibility. Perhaps it really does cost $50k to certify it. While $50k might be a lot for Apache, it is only some 0.005% of what IBM pledged to invest to Linux. Why do not some commercilal vendors team up with IBM to foot the bill for the Apache Java?

    Disclaimer:
    I have no afiliation with Sun whatsoever. I jst watch what is happening. Sun just gives out great software and reaps wrath. IBM is all promisses and is praised all over Linux "community".

  21. Re:HP does it with Omnibook on UNIX Process Cryogenics? · · Score: 1

    My HP Omnibook is saving to disk when it runs out of battery. When I srotch the laptop back again, it is first restoring the RAM for few seconds and then it freezes ;-(

    It only restores if te batteries run out in Windows.
    So, obviously it is not very good implementation.

  22. Re:Hibernation comments are missing the point on UNIX Process Cryogenics? · · Score: 1

    If the socket/dev open status is stored in RAM (and it most certainly is), than it is most certainly stored.

    If you simply take your whole 25Mbyte of RAM, add the intrenal registers dump, dump it to dedicated partition, you do not have to even sync the disks or look at the swap. The BIOS simply reloads the dupmped RAM, resloads all CPU registers and there it gets the PC program counter where it ended last time.

    The problem are the variables that are not in the RAM, e.g. CMOS contents, RTC time, parallel port initialization, CDROM RAM cache, sound card preset waveforms, your whole screen. These are dependent on the hardware and also have to be stored. Some of it should be restored (screen), some should not (System Time).

    If this is handled through BIOS on a closed system, all is fine because BIOS knows what to save/restore from where.
    If you are on a desktop system, you need to have for each driver a save and restore call to be able to handle the problem, because BIOS knows only about what is on the motherboard and cannot care about every card you might have plugged in.

    Shortly, there are problems but somewhere compltely eles than where you percieve them.

    Petrus Vectorius.

  23. Re:Wrong! on China Orders E-Mail Screening · · Score: 1

    That's right.

    Althought Fascist are often by media called extreme right, it is surprisingly incorrect.

    Fascism is a system that relies heavily on big corpporations and state social support.

    If left is more social and right more cometitive,
    than fascism looks to me more like extreme middle.

  24. Re:IIRC... on China Orders E-Mail Screening · · Score: 1

    While Capitalism is economical system, Communism si both economical as political. All major Communist thinkers stressed that Communism must be totalitarian.

    Along with the promise of equality Marx, Engels, Lenin, Gramschi, even Trotsky they without delay state, that some are more equal than others. Capitalists, small business owners, trade unionists, monarchs & nobility, all priests and religious inflexible enought to change to communist yesmans can choose between asimilation and deth. All other non-communist are to be distrusted and contempted.

    What is on the paper ended up evenworse in reality, ending with all the planned violence and some wars between communists themselves. Take French Revolution, Mexican, Portugal, Spanisch, Russian, All eastern block, China, Vieatnam, Korea, Mongolia, Cuba, etc..

    Which of them did not cause terrible and cotinuing bloodshet of many innocent ( andmostly poor) people, just as promissed in the literature of Communist thinkers. where is the 'nice' communism.
    Nowhere, really.
    Not even on paper.
    It never was.
    It is even too transparent as a deceptive promise of equality.

  25. Re:IIRC... on China Orders E-Mail Screening · · Score: 1

    Perhaps you are off on several accounts:

    The WWII was not directly result of fascism, but a result of nacism. After all, Hitler's party that won rigged elections in 1933 was "Deutsche Nazionalist" party (Gesamschaft?). True, fascist element of their ideology got them from crisis and gained big corporations as allies wishing to benefit from the war.

    But, it is the nazist, not fascist who desired the war.

    Marx did not advocate international war, only civil war or revoluiton. Lenin postulated, that communism must win worldvide by every possible means (I guess in State and Revolution book ) and also, that every violence against non-communits is justified.

    You are right about the e-mails.
    Thtat's just the case with e-mails. They belong to the state, together with people's cars, houses, children and their own lives. Of course true communist would never see party's view as a violence, so this is aimed only against the conterrevolucionaries, just as the Communist promissed.

    IMHO, US is on the way to communism, but still way behind other industrial countries. In France and Spain all popoulation is fingerprinted already for decades. In Holland, Germany and Sweeden people let on themselves impose such taxes, so that goverment pays more workers than there is tax generating workers and goverment can overvote any oposiiton from remaining private sector.

    Petrus.