Slashdot Mirror


User: Fjord

Fjord's activity in the archive.

Stories
0
Comments
1,781
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,781

  1. JUnit advantage? on Java Tools For Extreme Programming · · Score: 2

    I have a question for the JUnit users out there. Basically we are doing unit tests here in the following way:

    1. We mark the test code in the classes between special comment lines (so that it can be programmatically removed)
    2. The tests are in static methods with the prefix "test", called by a Test.class in each package. Test.class has a main that just calls the other tests
    3. Each test prints out on a single line the class it's in, the name of the test and "passed" or "failed" and the failure may have extra info as to why it failed

    This is working well for us, but considering how many people are happy with JUnit I was wondering what it provides over this way of doing unit tests? Basically, I'm just looking for some of the things that JUnit has provided you (above and beyond what the above gives) and maybe a real use example, but don't really need to be sold on unit testing (we already think it's great and are doing it).

    F

  2. Re:LOL! on Gamespot Goes to Subscription Model · · Score: 2

    I think you are talking about a Visa check card, not a "debit card". Visa check cards still use the visa system to get money out of your account. I personally don't like the idea of them, since there is no buffer between the card and my cash, and considering the amount of visa fraud going on (my wife was dinged $200 in a russian charge-cash back scam. naturally, visa dropped the charge, but if that happened on a check card we would have been out the $200 until we caught it and may have bounced a check), I don't really like that idea (but then again, I can get a credit card).

    Visa Check Cards can be thought of as debit cards, but they not all debit cards are visa check cards. Usually they are cards that use a direct connections or the plus network (interac in canada) to access the account and debit it. There is also no fraud protection or any of the other things that Visa offers, but they require a pin (the Check Card does not).

    Or you may be thinking of a Visa credit card issued by your bank.

  3. Re:Americans don't know what they don't know on Communication Making The World Less Tolerant · · Score: 1

    Let's see... IIRC Ottowa is the capital of Canada.

    I've never heard of Ottowa. I was born in Ottawa. I guess you don't recall correctly.

  4. Re:Backdoor? on Dartmouth Student Invents A Carnivore Leash · · Score: 1

    The only way I see this happening is through redundancy: inserts of your medical records go into n vaults at different locations with different keys and possibly even different subsystems (although this would increase the crackability of the system as a whole, if an exploit is found by a white hat first, it would be easier to just destroy one vault, than make a new system, migrate the data, and then destroy all the older vaults).

    Although, what are you really that concerned about? People get medical treatment in emergency situations with little or no medical history thousands of times per day. If you are especially allergic to something, then you can always get a medic alert bracelet to (mostly) ensure they don't use it on you while you are unconscious. It would suck a little to have your medical history wiped, but the important things, you or your parents will remember, the others don't matter. Medical practice has never really had a problem with incomplete records before.

  5. Re:The immortality ring may be a fraud on Book Review: Voodoo Science · · Score: 1

    Just so long as I'm not guiltied to a zegnatronic rocket society, I'll keep my immorality ring until I impeach Clinton and other former presidents, which is easier with the extra 72 hours I found in the 4-day 4-cornered natural harmonic timecube.

  6. Re:Homeopathy & "alternative" medicine on Book Review: Voodoo Science · · Score: 1

    Mostly they do it because they don't have to. Drug companies would love to sell their drugs without proper trials.

    The second thing is that it's expensive to run these trials and without the ability to patent your work, there is little immediate motivation to spend the money. The game theory works against it.

    The only thing I can really see working is if non-profit organizations were to run the trials on behalf of the people effected with the disease in question. I haven't seen it yet, but I think it's coming.

  7. Re:I find that line particularly interesting on AMD Takes Microsoft's Side in Antitrust Case · · Score: 2

    I'll also bet that AMD runs solaris, too, since there is a x86 version of it.

  8. Re:Simple Solution... on AMD Takes Microsoft's Side in Antitrust Case · · Score: 1

    Maybe I don't know much about Lindow's case, but if you write code, you can release parts under the GPL, then make binaries from that code and release them however you like. It's your code, you chose the license and you can relicence your code however you want.

    If Lindows is based on wine, it doesn't matter since up until recently wine was BSD, so you can always take code up until the switch and do whatever you want to it.

  9. Re:Hold on a damn second on AMD Takes Microsoft's Side in Antitrust Case · · Score: 1

    They already farm out support because it's isn't profitable for them to do that themselves.

    Who do you think pays the bills to the 3rd party that provides support? Dell, Gateway, Compaq, etc. The fact is that "farming out support" doesn't mean they don't provide support. They pay a company, like, say, Convergys to hire people on a contract and those people essentially work for Dell. They are paid by convergys to go through training and they are paid by convergys hourly to give customer care, but then Dell pays Convergys their salary, plus extras.

    Yeah, it's cheaper this way, convergys has the infrastructure in place to do phone based customer care (they even have new systems that allow the employee to sit at home with a headset on and a computer in front of them, thus lowering their costs). They can usually ramp up a contract faster because people are coming off another contract or waiting for one (no one is allowed to work two contracts). It makes sense, but it doesn't have anything to do with the viability of support. Support is the business that these guys are in! Otherwise you'd just get a frankenstein from Joe's PC Shack.

    BTW, I know quite a few people who have worked/still work at Convergys (and other call centers).

  10. Re:Best Friend Money Can Buy on AMD Takes Microsoft's Side in Antitrust Case · · Score: 1
  11. Re:Support for own opinion MAYBE??? on AMD Takes Microsoft's Side in Antitrust Case · · Score: 1

    yeah, pretty much no chance

  12. Re:Backroom arm twisting on AMD Takes Microsoft's Side in Antitrust Case · · Score: 2
    Except for the part that says

    WASHINGTON (Reuters) - Microsoft Corp.'s (NasdaqNM:MSFT - news) first witness against antitrust sanctions sought by nine states admitted in court on Tuesday that he asked for a favor when Microsoft Chairman Bill Gates called seeking his testimony.

    Jerry Sanders, chief executive of computer chip-maker Advanced Micro Devices Inc. (NYSE:AMD - news), also conceded he had not read the states' proposed sanctions, but that Gates had told him they were ``crazy'' and would fragment the Windows operating system.


    I can see how you were confused by the title, though. "Microsoft Witness Sought a Favor From Gates" only kinda looks exactly like what he said.
  13. Re:Wow - that is a big swap space! on $24.5 Million Linux Supercomputer · · Score: 1

    Only when running emacs.

    ba dum tss

  14. Re:Which Plug-Ins Will Work? on Mozilla Branches For 1.0 RC1 · · Score: 1

    I don't know when you learned HTML, but I learned it to make my first web page in 1993 to display on Mosaic, HTML didn't have a version number, and it had both the em and i tags.

  15. Re:obligitory view-source comment on Mozilla Branches For 1.0 RC1 · · Score: 2

    I never understood this comment. The DOM browser is better than view-source in almost all cases, especially since you can use the tool to click-select your DOM object. View-source is so IE5.

  16. Re:I must admit that i didn't think it would happe on Mozilla Branches For 1.0 RC1 · · Score: 2

    It does. having come from ie5, it's what I always use.

  17. Re:I must admit that i didn't think it would happe on Mozilla Branches For 1.0 RC1 · · Score: 1

    I'm like the other respondent, I write web application that rely a lot on JavaScript for the UI. Originally I was using IE5 for development, but I've switched to Mozilla since 0.9.9. The JavaScript is all DOM1 so, it's pretty easy to stay compliant with IE (whereas it's easy in IE to go out of compliance with other IE version). Also the DOM browser really helps a lot in other cases.

    Eventually I will get around to learning how to use the JavaScript debugger. I haven't had enough of a problem yet to warrent learning it, though.

  18. Re:I must admit that i didn't think it would happe on Mozilla Branches For 1.0 RC1 · · Score: 1

    I know this is a crap reason to not use a browser, but it's that F5, , white screen, page-draws-down that bugs me.

    I'm not quite sure what you mean. I've only been using Moz since 0.9.9 and haven't noticed this problem. I just tried F5 on the main /. page and my user page, and I didn't see this effect either (the page continued to be displayed until the next one was rendered.

    Not to say there aren't other annoyances. My current peeve is the way text is highlighted in the address bar. It always seems to be doing the wrong thing.

  19. Re:A bunch of easy reasons here... on PS2 Vs. X-Box: Winner Emerging? · · Score: 3, Interesting

    The title of the article is "PS2 Vs. X-Box: Winner Emerging?" It's comparing these specific consoles. It's not saying that Sony has beat Microsoft, just that ti looks like they are winning this round. There are many reasons for this, some of which you cite, but it's still valid to say that sales are favoring the PS2, even a year and a half after its release.

    Still, contemporary hard data would be nice. The articles really only talked about the X-box flagging, but also said this is a bad time of year for consoles. There was that sound-bite from Goldman Sachs and data pertaining to the three days after the launches of the respective consoles, but nothing hard to back the claim up.

  20. Re:show me the money! on GeekPAC · · Score: 2

    Right now, sure. But if the PAC starts an endowment, you'd be surprised how quickly that can grow to the point where the income from it will match the lobby budget for a major corporation. MicroSoft, Oracle, and Enron all had to spend their revenue on production, maintaining their position, growth, and a million other thigns as well as lobbying. The PAC just has to do that one thing.

  21. Re:One possible strategy. on GeekPAC · · Score: 1

    For the most part, I find I do need what my SUV does often enough. It's hard to haul lumber or animals around in a fiat (this hauling as support for my wife's animal shelter). Most times you don't need an SUV or truck, but the times you do, you really need it. I'd have a small car as a second vehicle, but not as the only one. It's just not practical.

  22. Re:A modest proposal on Tattered Cover v. Thornton Reversed · · Score: 1

    Amazon is far from being the monopoly that Microsoft is. They've barely become cash flow positive.

  23. Ah on The Handspring Treo In Real Life · · Score: 2

    this must be one of the Slashvertisements they were talking about a few days ago.

  24. Re:PR0N on A New Low for Web Advertisers: Pop-Up Downloads · · Score: 1

    wait til you get the spam advertising prAWn. Now that's disturbing.

  25. Re:why mozilla rules here on A New Low for Web Advertisers: Pop-Up Downloads · · Score: 1

    I'm using 0.9.9. It's so usable, that I find IE to be unusable now (IE is too slow, relatively, doesn't have tabbed browsing, and you need a 3rd party install to stop popups). The one part where it sucks is that the plugins all look for Netscape, and when they can't find it, don't install.