Slashdot Mirror


User: rbarreira

rbarreira's activity in the archive.

Stories
0
Comments
2,151
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2,151

  1. Evaluating a macro argument twice = bad idea on Microsoft To Banish Memcpy() · · Score: 1

    You have just made a macro which evaluates one of its arguments twice. Very bad idea...

    Imagine someone writes:

    memcpy (ptr1, ptr2, size++);

    Demons will fly out of the user's nose.

  2. That was 2 Euros of course on Intel Receives Record Fine By the EU · · Score: 3, Interesting

    2 Euros (why does Slashdot not display the Euro sign correctly when pretty much every other internet forum does?)...

  3. Re:But where does all that money go? on Intel Receives Record Fine By the EU · · Score: 3, Insightful

    Yeah I'm sure the 2 for each EU resident will save the whole continent

  4. They don't need to borrow to buy Yahoo... on Microsoft Raises $3.8B in Bond Sale · · Score: 1

    because MS's offer to buy Yahoo was not all in cash, part of it was stock.

  5. Re:I'll Be Damned on Why Text Messages Are Limited To 160 Characters · · Score: 1

    It's not really true that the cost is just the electricity. The more traffic the network has, the more and better base stations you need. This is infrastructure cost, but it may need upgrades, and definitely needs maintenance.

  6. No pedantry needed... on Atari Emulation of CRT Effects On LCDs · · Score: 3, Insightful

    ... since they were referring to realistic emulation... meaning closer to the reality of the system being emulated.

  7. It's already too widespread to contain on New Flu Strain Appears In the US and Mexico · · Score: 2, Informative

    Now, the moment you KNOW that it's spreading faster than you have the capacity to contain and control, THEN you take the drastic step of public alerts limited quarantine. Before then, it's just irresponsible.

    http://www.reuters.com/article/latestCrisis/idUSN25473389

    An unusual new flu virus has spread widely and cannot be contained, the U.S. Centers for Disease Control and Prevention confirmed on Saturday.

    "It is clear that this is widespread. And that is why we have let you know that we cannot contain the spread of this virus," the CDC's Dr. Anne Schuchat told reporters on a conference call.

  8. Re:suck it up on Judge In Pirate Bay Trial Biased · · Score: 5, Informative

    Not just a group that lobbies, a group that lobbies together with the prosecution!

  9. Re:What? on Pirate Bay Trial Ends In Jail Sentences · · Score: 1

    My point was that the revenue from these fines is insignificant next to their other revenues. So it was quite appropriate to post revenue numbers in this context.

    Anyway a few million dollars is irrelevant for those corporations.

  10. What? on Pirate Bay Trial Ends In Jail Sentences · · Score: 2, Informative

    What do you mean?

    Let's take Sony as an example since it's one of the companies:

    http://www.sony.net/SonyInfo/IR/financial/fr/viewer/07q4/slide/image/03_image.jpg

    As you can see, 8871 billion yen or $89 billion in revenue. That's for Sony alone.

  11. Re:Let me be the first one to say it ... on Pirate Bay Trial Ends In Jail Sentences · · Score: 0

    Does it?

    So you're telling me it would be really hard to find an illegal torrent through google?

  12. Re:The questions that come to mind on Pirate Bay Trial Ends In Jail Sentences · · Score: 3, Insightful

    It's not like 2.7 million euros divided by four companies is any real money to them. We're talking about companies with hundreds of billions of dollars in revenue every year.

    No, it's more about helping these guys not get bankrupt, if needed. But first there's all the appeals to go through, of course. Theoretically it could go up to the European Supreme Court.

  13. Re:Is there possibly anything we can do? on Pirate Bay Trial Ends In Jail Sentences · · Score: 2, Interesting

    For starters maybe we can all donate a little bit to pay their fine. I hope there's some way to do it at least.

  14. The questions that come to mind on Pirate Bay Trial Ends In Jail Sentences · · Score: 5, Interesting

    The questions that come to mind:

    1- Will Google be sued next (filetype:torrent anyone?)
    2- Where can we donate to help pay the fine?

  15. Re:COBOL, not so bad on COBOL Turning 50, Still Important · · Score: 1

    No, quite different. In C (and to a smaller extent C++) you know exactly what's happening in every statement. In Java, with the massive confusion of existing libraries, it's quite easy to ignore what your code is really doing. This often results in horribly inefficient code.

  16. Re:Define "working well" on COBOL Turning 50, Still Important · · Score: 1

    Why do you assume it was premature optimization?

  17. Re:Clueless person in need of help on Fears of a Conficker Meltdown Greatly Exaggerated · · Score: 1

    If I understand correctly, to do an RSA signature, the person sending the file holds the private key, not the person receiving it. That's what wikipedia says as well.

    It's the opposite of RSA encryption in this regard.

  18. Re:Best of intentions on BitTorrent Calls UDP Report "Utter Nonsense" · · Score: 1

    By user I hope he means the program which is using TCP, not the human user at the computer.

  19. Re:fairness on Bittorrent To Cause Internet Meltdown · · Score: 1

    You could, but then you'd be talking a different kind of coolness. Your point is that TCP makes it easier to program, the other separate point is that UDP doesn't require reliability which is good in some way.

  20. Re:No joke, coffee makers do have an effect on Daylight Savings Time Increases Energy Use In Indiana · · Score: 4, Insightful

    1200 watts is not surprising to me. A coffee maker has to boil water after all.

  21. Re:No secret ballot? on Discuss the US Presidential Election · · Score: 0, Troll

    In what way does knowning which machine you voted on constitute a violation of your vote's privacy? There are many people voting on the same machine.

    As others have said, it's probably for auditing reasons and in case the machine breaks down.

  22. Re:Once again kids: on Student Charged With Three Felonies For Finding Security Flaw — and Report · · Score: 1

    Sorry if I sound young and ignorant, but how exactly is that a good idea?

    Scenario 1: You let the car with the lights on alone... The owner either has to replace his battery or comes back before it runs out.

    Scenario 2: You go and switch off the lights. The owner or the police thinks you're attempting to steal the car and you end up in jail.

    So what's worse... Someone having to replace a battery or someone ending up in jail?

  23. Re:OK, here is a calculation on Distributed.net Finds Optimal 25-Mark Golomb Ruler · · Score: 3, Insightful

    According to this page, the same PC I mentioned before uses up 40 more watts when under full load than when idling. That's about 27% of the 150 watts I mentioned before.

    These figures are just ballpark numbers which give a rough idea. There are all kinds of people running these programs... Some make computer farms specifically to run them, some others don't buy new computers but leave theirs when they otherwise wouldn't, and then there's those who don't change their habits because of distributed computing. There's everything in between as well, making it very hard to estimate the real impact.

  24. OK, here is a calculation on Distributed.net Finds Optimal 25-Mark Golomb Ruler · · Score: 3, Informative

    Let's assume the project will terminate when 50% of the keyspace has been searched. That's 2^71 keys to search.

    A E6600 Core 2 Duo PC calculates about 17M keys per second according to a quick google search. This means around 1.4e14 computer-seconds to search 50% of the keyspace, or 3.85e10 hours.

    A PC like this one uses around 150 watts, so it would consume 5,775,000,000 KWh of energy to search that keyspace.

    Some different ways of visualizing this amount of energy:

    • At $0.10 dollars per KWh, that's almost $600 million worth of electricity
    • It's the energy contained in 600 million liters of gasoline (157 million gallons)

    This of course doesn't take into account future improvements in CPU efficiency.

  25. Precisely! on Distributed.net Finds Optimal 25-Mark Golomb Ruler · · Score: 3, Insightful

    Exactly... I participated in RC5-64, but RC5-72 just seems pointless to me. It's the exact same problem, just 256 times harder.

    Furthermore, these encryption challenges are not actually discovering anything. They're essentially brute-forcing a random number which another computer chose.

    Contrast this with distributed computing challenges about mathematics (such as OGR-25 which is being discussed here), health or other issues where the result is something meaningful and potentially useful about the world.