Slashdot Mirror


User: TheSunborn

TheSunborn's activity in the archive.

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

Comments · 991

  1. Re:Exceptions on New & Revolutionary Debugging Techniques? · · Score: 1

    I would say c++ with a debugger such as gdb qualify. In fact I sometimes prefer to debug c++ code with a coredump insted of java becasue you also get the value of your variabels which is often usefull.

  2. Re:Under the Rug on A Glance At Garbage Collection In OO Languages · · Score: 1

    Thanks. I did not know they fixed that bug in 1.4 but it does still not solve the problem that finalize is not running. Just see this program. It will leave the JavaTestFile with a size of 4 bytes not containing the text "hello world" so finalize is not running -(

    import java.io.*;

    public class Test {
    public static void main(String args[]) {
    try {
    File f=new File("JavaTestFile.txt");
    if(f.exists()) {
    System.out.println("Testfile already exists");
    }
    else {
    ObjectOutputStream o=new ObjectOutputStream(new FileOutputStream(f));
    o.writeUTF("Hello world");
    }
    }
    catch(Exception ex) { }
    }
    }

  3. Re:Under the Rug on A Glance At Garbage Collection In OO Languages · · Score: 1

    And the Runtime.runFinalizersOnExit() which enables this says:

    Deprecated. This method is inherently unsafe. It may result in finalizers being called on live objects while other threads are concurrently manipulating those objects, resulting in erratic behavior or deadlock.

    Enable or disable finalization on exit; doing so specifies that the finalizers of all objects that have finalizers that have not yet been automatically invoked are to be run before the Java runtime exits. By default, finalization on exit is disabled.

  4. Re:err, what? on A Glance At Garbage Collection In OO Languages · · Score: 1
    Are you using finalize as destructor? That's not good. Just look at the documentation for finalize (As described by Sun in the Object class)


    The Java programming language does not guarantee which thread will invoke the finalize method for any given object. It is guaranteed, however, that the thread that invokes finalize will not be holding any user-visible synchronization locks when finalize is invoked. If an uncaught exception is thrown by the finalize method, the exception is ignored and finalization of that object terminates.


    Welcome to the world of leaked resources in Java(TM).
  5. Re:Under the Rug on A Glance At Garbage Collection In OO Languages · · Score: 1

    You don't have destructors in java. And if you use finalize as a destructor, then that is your problem.

    If your program have an awt/swing gui, your only way to stop the program is calling System.exit(). And if you call System.exit() your objects are not finalized (That is: The finalize method is not called)

  6. Re:Not agreeing with Apple here on Update on Playfair · · Score: 1

    But cdburning and re-ripping does lower the audio quality.

    Now I Apple would use their time to setup a shop to sell to EU, that would be better use of their time.

  7. Re:Java eh? on Can You Spare A Few Trillion Cycles? · · Score: 1

    Yes we do. And then we find out that they way swing layout JComponents changed from 1.3 to 1.4 so we need to insert ugly things so support java v1.3 which were needed due to the need of mac support. (Java 1.4 was in beta for MacOS X at the time, so we could not just tell people to upgrade)

  8. Re:Bummer... on Sun Sacks UltraSparc V and 3300 Employees · · Score: 1

    Performence under heavy load has nothing to do with the cpu. It has something to do with the motherboard and it's io/dma system, and much more to do with the OS so what is really needed is a good port of solaris to a faster cpu such as the Opteron. (Or itanium, but Sun will NEWER do that)

  9. Re:No, Ultrasparc V and Gemini employees will stay on Sun Sacks UltraSparc V and 3300 Employees · · Score: 2, Informative

    Did we read the same link?
    It starts with
    "Santa Clara, Calif.-based Sun has stopped work on the UltraSparc V, a server chip"

    The key here is: "Stopped work on"

  10. Re:Freedom, AAC, and fair use. on PlayFair Pulled Due to DMCA Request · · Score: 4, Insightful

    Yes, but converting from one lossy soundfile to an other lossy soundfile does produce a result that is worse then what you would get if you made a original to lossy. Just try to make this test

    Take a mp3 file, convert to ogg. Convert back to mp3. Repeat 10 times. Then do a binary diff on all the 10 mp3 files, and you will se that they are ALL different, and that the quality of the last mp3 you made will be far worse then the first mp3 you started with.

    Now if only Apple would begin to sell music here en EU, but thats the debate for an other day :}

  11. Re:Good... down with Real on Real Problems · · Score: 0

    What page is that on???
    If I go to real.com and click the "Free download now" I get to their download page, where they want my email, and want me to subscribe to
    "RealOne Arcade GamePass - Recommended!" Free 30-day Trial, then just 6,95 /mo.
    Next step they ask for name, and other info they don't need.

    There is a other link called "free realplayon" on the front page too. That take you to a download page where clicking on the large download button on the center will ask you for credit card information so they can charge you
    "All this and more for only 49,99 ! "

    What link did you use to get real player with only 2 click?

    Martin Tilsted

  12. Re:What kind of comment is that? on New Tool Cracks Apple's FairPlay DRM · · Score: 1

    There is a step 0 however.

    Buy a cdburner.

  13. Re:DeCSS on New Tool Cracks Apple's FairPlay DRM · · Score: 1

    Will this not also make it posible to play the aac files on platforms that support aac, but not drm aac?

    Reencoding to mp3 is a bad solution because the quality will be worse then if the songs were directly encoded in mp3. This actuelly make me want to use the apple store, because I know I will be able to play the songs i buy no matter what operationsystem I use.

    Now if only apple would open an store for eu so I could actuelly buy their songs I would be happy :}

    btw: Does anyone know if it is posible to search the songs that apple have for sale from a browser?

  14. Re:Price? on Red Hat Recap · · Score: 1

    The price of 179$ for the workstation version is an anual subscription rate(Needed for updates) so if you plan to keep your workstation running Redhat WS 3 for the next 5 years it would cost you 179*5=895$. So total price depends.

    Martin

  15. Re:At a loss.... on Red Hat Recap · · Score: 1

    Yes, but updates are part of the support so...

    Quote from license:
    "Customer may not use one subscription for Services for more than one system concurrently. Any unauthorized use of the Service will be deemed to be a material breach of this Agreement."

    so you lose your options to download updates if you ever patch computer while an other is still running.

  16. Re:Per-Seat pricing is fine. on Red Hat Recap · · Score: 1

    What is needed is the ability to buy widtout any kind of support but WITH updates. Running redhat widtout updates are (as with any other os) dangerous if your computer is connected to the internet.

    What is needed is an option to
    download redhat iso+patches onces, and then install/patch as many computers as wanted

  17. Re:$179? No problem. on Red Hat Recap · · Score: 1

    The problem is that the 179$ is an Annual Subscription. My os install typical last 4 years, so the price for a redhat workstation would be 716$ and the price for Red Hat Enterprise Linux ES 1576$.

    So with the current pricing installing windows would be cheeper.

    Martin

  18. Re:Right thing? on How India is Saving Capitalism · · Score: 1

    And that company will likely be an indian company with access to workers at 1/4 the price.

  19. Re:Price Comparison on Apple Ships Xserve G5 · · Score: 1

    It is a valid program yes for THAT specific compiler, but not a valid(As defined by ANSI/ISO) c program.

  20. Re:Hrmmmm.... on Gates: Hardware, Not Software, Will Be Free · · Score: 1

    And try to price an oracle database to run on that, and the price of the hardware could be 0 widtout anyone in acounting noticing it. And then you start hiring people to use the system, and then you find out how little the hardware cost matters for much systems.

    For highend(16+ processors) servers this is not really true yet, but that is not really the space that microsoft works in anyway.

  21. Re:Price Comparison on Apple Ships Xserve G5 · · Score: 1

    Do you write html for a living? Because nobody else defines standart as "It works on my system" so it must be the way the standard defines it.

  22. Re:Women of geekdom on iPod Mini Worldwide Rollout Delayed · · Score: 1

    The difference and the reason I would buy the mini-ipod is that it is a smaller form factor.

    And that I don't have more then a few GB of music.

  23. Re:Why PDF? on Free Culture · · Score: 1

    But that's not a problem with the pdf format which is open and fully described. It is a problem with your software.

  24. Re:Price Comparison on Apple Ships Xserve G5 · · Score: 1

    Well, acording to Bjarne stroupstrup it is not valid c++ and HE should know :} Bjarnes faq for void main()

  25. Re:Price Comparison on Apple Ships Xserve G5 · · Score: 1

    But that does not change the fact that it is NOT a valid c program.