Slashdot Mirror


User: alexo

alexo's activity in the archive.

Stories
0
Comments
3,441
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 3,441

  1. Re:Java???? on Scalable Nonblocking Data Structures · · Score: 1

    Java surpassed C++ performance many years ago, and by such a wide margin that no one even bothers running benchmarks anymore.

    Do you have definite proof of that categorical statement or are you talking out of your ass?

    In general, I have found that most benchmarks in which Java surpasses C++ in speed were done by people who have either poor understanding of C++ (using sub-optimal constructs) or poor familiarity with the compiler (using sub-optimal optimization options).

    Here's what I found:
    • Przemyslaw Bruski in his take on the Java vs C++ benchmark writes:

      When looking at C++ code, I've noticed many performance problems, which probably may go unnoticed for people with strong Java background. These problems were not present in Java code. In other words, to make this benchmark fair, I had to make some modifications to the original code. In doing so, I tried to make the code as close to the original as possible, even if my personal coding style is completely different. The results?

      On Intel, all tests but two ended with C++ being better. Overall, C++ was twice as fast as Java.
      On Athlon, every individual test ended with C++ performing better than Java. Overall, C++ was three times faster than Java.

    • Nikolaus Gebhardt in his blog entry about C++ vs. Java 1.6 - A fair Benchmark writes:

      Knowing a bit about the C++ and Java optimizers, I was also able to revert the results completely. For example although using equivalent Java and C++ code, I was able to make the C++ version take 16 seconds for the nested loops-test while Java only needed 1 second by adding some virtual method calls which I knew Java could optimize. I also was able to make the C++ version run in only 78 ms while the equivalent Java version needed even 10 seconds by only using static loops - the C++ optimizer then would not even loop anything and just add the values together. This is partially what some of the wrong benchmarks out there are doing - even if not intentional. The results?

      To make it short: As I expected C++ outperforms Java in every single test. But interestingly Java is getting closer now

    • The Debian Computer Language Benchmarks Game shows that, on average Java is 2 to 2.5 times slower than C++.

    To summarize:
    1. That when benchmarking an algorithm in a programming language, you have to use the most efficient implementation for the language you are testing.
    2. That it does not matter that language X is slower than language Y as long as it is fast enough for the task at hand.
    3. That AKAImBatman was talking out of his ass.

    Best regards,
    Alex
  2. Re:We switched to gmail. on Large Web Host Urges Customers to Use Gmail · · Score: 1

    For your sake, I hope you're not stupid enough to think that your company's trade secrets are safe in email that doesn't go through gmail...

    Is there any reason for them not to be safe on an local, internally administered mail server?

    Outgoing email is a different issue altogether.
  3. Re:We switched to gmail. on Large Web Host Urges Customers to Use Gmail · · Score: 0

    My company switched to useing gmail.

    For your sake, I hope your company doesn't have any trade secrets.
  4. Re:MLC, not SLC. on Samsung 256GB SSD is World's Fastest · · Score: 1

    Spealing of SLC vs. MLC.

    What are the best (fast, reliable) SLC-based USB keys?

  5. Re:how do counterfeiting and copyright on Anti-Counterfeiting Trade Agreement · · Score: 3, Informative

    A copied song--as it was not produced by the authorized agent--could be considered "counterfeit."

    Except that private copying of music is legal in Canada.

    the act of reproducing all or any substantial part of
            (a) a musical work embodied in a sound recording,
            (b) a performer's performance of a musical work embodied in a sound recording, or
            (c) a sound recording in which a musical work, or a performer's performance of a musical work, is embodied
    onto an audio recording medium for the private use of the person who makes the copy does not constitute an infringement of the copyright in the musical work, the performer's performance or the sound recording.


    Sonds to me like the assholes in power are trying to circumvent the laws for the benefit of American corporate interests..

    Time to contact your Member of Parliament and express your displeasure. Snail mail works best, no stamp is needed.
  6. Re:Can't put that genie back into the bottle on US Plots "Pirate Bay Killer" Trade Agreement · · Score: 1

    Think for a moment: not only would the treaty be illegal in, for example, Canada, but can you imagine the government touching this treaty with a 10' pole? After NAFTA? With a minority government? With the public and media attention currently on the unfair and heavy-handed tactics being used to pressure Canada into adopting US copyright laws right now?

    Allow me to quote an article from Saturday's National Post.
    (emphasis and notes mine)

    Border officials may seize iPods under trade deal
    International regulator could police copyright

    Vito Pilieci, Canwest News Service Published: Saturday, May 24, 2008

    OTTAWA - The federal government is secretly negotiating a copyright agreement that could make some information on Canadian iPods, laptop computers or other personal electronic devices illegal.

    Called the Anti-Counterfeiting Trade Agreement (ACTA), the new plan would see Canada join other countries, including the United States and members of the European Union, to form an international coalition against copyright infringement.

    The agreement is being structured much like the North American Free Trade Agreement except it will create rules and regulations regarding private copying and copyright laws.

    Federal trade agreements do not require parliamentary approval.

    The deal would create an international regulator that could turn border guards and other public security personnel into copyright police. The security officials would be charged with checking laptops, iPods and even cellular phones for content that "infringes" on copyright laws, such as ripped CDs and movies.

    The guards would also be responsible for determining what is infringing content and what is not.

    The agreement also proposes that any content that may have been copied from a DVD or digital video recorder would be open for scrutiny by officials -- even if the content was copied legally. [1]

    The leaked ACTA document states officials should be given the "authority to take action against infringers (i. e., authority to act without complaint by rights holders)."

    Anyone found with infringing content in their possession would be open to a fine. They also may have their device confiscated or destroyed, according to the four-page document.


    "If Hollywood could order intellectual property laws for Christmas, what would they look like? This is pretty close," said David Fewer, staff counsel at the University of Ottawa's Canadian Internet Policy and Public Interest Clinic.

    Michael Geist, Canada research chair of Internet and E-commerce law at the University of Ottawa and an expert on Canadian copyright law, said, "The lack of consultation, the secrecy behind it and the speculation that this will be concluded within a matter of months without any real public input is deeply troubling."

    Both Mr. Fewer and Mr. Geist said once Canada signs the new trade agreement it will be next to impossible to back out of it.

    In Canada, border guards already perform random searches of laptops at airports to check for child pornography. ACTA would expand the role of those guards.

    The deal could also impose strict regulations on Internet service providers, forcing them to hand over customer information without a court order.

    [1] All private copying of music is legal in Canada.
  7. Re:Can't put that genie back into the bottle on US Plots "Pirate Bay Killer" Trade Agreement · · Score: 1

    Think for a moment: not only would the treaty be illegal in, for example, Canada, but can you imagine the government touching this treaty with a 10' pole? After NAFTA? With a minority government? With the public and media attention currently on the unfair and heavy-handed tactics being used to pressure Canada into adopting US copyright laws right now?
    Thinking about it...

    Yes, I can not only imagine it but see it happening.
  8. Re:I'm not sure what the point is.... on Canadian ISP Ordered to Prove Traffic-Shaping is Needed · · Score: 1

    I expect they'll continue to shape traffic even when they can't prove that it's required because the internet infrastructure they do provide is virtually indispensable and there'll be squat the CRTC can do to enforce it.
    Nationalize the infrastructure?
  9. Re:Lawyers should be disbarred for lying? on Judge Rejects RIAA 'Making Available' Theory · · Score: 1

    So lawyers lie. It seems to be an accepted practice. I was just wondering why NYCL felt justified in saying that lying lawyers should be disbarred.

    Since NYCL is a lawyer himself, you should be more precise in phrasing your questions.
    You asked if they should be disbarred and he gave you his opinion that yes, they should.
    Ask him if they do get disbarred and you'll get a different answer.
  10. Re:We already KNOW Einstein's theory is wrong on New Science Standards Approved in Florida · · Score: 1

    Relativity is all about high speeds.
    Perhaps you were thinking about Newton?

  11. Re:Professional Tools on Microsoft to Give Away Developer Tools to Students · · Score: 1

    I gave Eclipse a spin, just a few weeks ago. It was a confusing, frustrating and fruitless experience.
    I am a long-time Visual Studio user (from VC++ version 1.0 on Windows 3 to VS 2005).
    Coming to Eclipse, I'd _really_ appreciate an ability to use Visual Studio key mappings in it.
    It would make the experience much less frustrating.

    Is it possible without manually setting each key binding?
  12. Political parties in Canada on Delays to Canadian DMCA Could Doom Act · · Score: 1

    First of all, at the federal level there are only 3 national parties that actually win seats in the House (I'm not sure where you got 4-5 from).

    4 Actually:
    Conservatives
    Liberals
    NDP
    Bloc Québécois

    Unfortunately, we blew our chance to fix the system. So we're stuck with a system where a party that got 10.5% of the popular vote has 16.5% of the seats while one that got 17.5% of the votes has less than 9.5% of the seats (not to mention the Greens with 4.5% of the votes and zero seats).

  13. Re:I wonder... on Cell Phone Use Study Sees Increased Cancer Risk · · Score: 1

    You've obviously never been driving with your wife.

    Sometimes you just want to set her to silent, fold her in half, and stuff her in the glove compartment.
    Especially for people like you, they have the inflatable variety.
  14. I sympathize on RIAA's Attack On NewYorkCountryLawyer Fails · · Score: 1

    > So I asked my youngest son, who is an astrophysicist and techie, and he set me straight.
    > And my life hasn't been the same since.


    I know exactly how you feel.

    My youngest son (who is 3 and has an opinion on everything) also loves setting me straight.

  15. Think big! on Sci-Fi Tech We Could Have Right Now (For a Price) · · Score: 1

    I want magic !
    (In my lifetime)

  16. Attention span on The Life of a Software Engineer · · Score: 1
    And if you can be bothered to read the whole page, you'll find the following requirements:

    # Licensing by a provincial or territorial association of professional engineers is required to approve engineering drawings and reports and to practise as a Professional Engineer (P.Eng.).

    # Engineers are eligible for registration following graduation from an accredited educational program, three or four years of supervised work experience in engineering and passing a professional practice examination.

  17. Canadians: send this to your MPs on ISP Filters & Copyright Extension Defeated In EU · · Score: 1

    We are facing the same problem.
    http://www.michaelgeist.ca/content/view/2601/125/

  18. Re:In other words ... on Student Expelled For Facebook Photo Description · · Score: 1

    The University's president can't tell the difference between a 35mm canon, and a 9mm browning.
    Perhaps he got confused between a 35mm Canon and a 35mm cannon?
  19. snowflakes in hell on Interview With Pirate Party Leader Rick Falkvinge · · Score: 1

    ... the chances for global copyright reform
    When logic and sense argue against money and power, we know who wins.
  20. New use for silicon? on Body Heat Could Charge Your Cellphone · · Score: 1

    scientists have discovered a much more efficient way to use silicon to convert heat into electricity.
    The "exotic dancers" will finally be able to contribute to the economy.
  21. Re:Enema Within on 2007 Darwin Award Winners · · Score: 1

    > Absorption would happen through the colon.

    But that can put you in a comma.

  22. Re:Read the Ernie Ball story on 12 Companies Caught Stealing Software in 2007 · · Score: 1

    I would have loved to have fought it. But when (the BSA) went to Congress to get their powers, part of what they got is that I automatically have to pay their legal fees from day one. That's why nobody's ever challenged them--they can't afford it.
    WTF?
  23. DDOS on NSI Registers Every Domain Checked · · Score: 1

    [old fart mode on]

    You youngsters think you got it figured out?

    Here's how you you attack an infrastructure without all that "high tech" bullshit

    Prerequisite: Coordinate with lots of people (using /. is acceptable)

    try {

    1) Find out the customer support number.
    2) Set aside a couple of hours, get comfortable with a phone and a good book (or in front of the TV).
    3) Dial the number in step #1
    4) Read the book (or watch TV) while on hold.
    5) When you get a person, ask their full name, then keep them on the line for a while complaining about the issue.
    6) Ask to be transferred to a supervisor. Insist on it. Be polite but firm. Use phrases like "I am sorry but this is just not acceptable" and "Mr/Ms $full_name, are you refusing my legitimate request to escalate the issue?". Do not let the algorithm terminate at this point.
    7) Repeat step #4 while on hold for supervisor.
    8) When you get the next person, get their full name, then complain to them. Keep complaining even if they promise a solution. Keep them on the line as long as possible. Try to not let the algorithm terminate at this point.
    9) Every once in a while inquire about the possibility of escalating your call even higher.
    10) If they agree to escalate, repeat from step #7.

    } catch {

    10) If you were cut off, call again to complain about $full_name being rude to you and hanging up on you. Use the same tactics to waste their time and "escalate" as high as you can get.
    11) If by some fluke you seem to reach somebody in the corporate structure, engage them in *polite* conversation regarding the unethical behavior of their company. Mention that you are typing a letter to your representative / the FCC / the local paper as you speak.

    }

    12) Repeat from step #1 until it's no longer fun.
    13) Post about your experience to several fora, encourage others to play too.
    14) Take a break.
    15) GOTO #1 (nuts to you, Dijkstra!)

  24. REM on Dreams Actually Virtual Reality Threat Simulation? · · Score: 1

    Going on a tangent,

    Are there any other indicators of REM sleep (except EEG changes and the actual eye movement) that can be detected with simple and relatively unobtrusive equipment?

    Taping electrodes to one's head is problematic and some people find the eye cover too disturbing.

  25. Cost of doing business on WTO Awards Caribbean Country Right to Ignore US Copyright · · Score: 1

    Does anyone seriously think that $21M/year is going to change the US behavior?