Jump to content

albertlee

Senior Members
  • Posts

    1259
  • Joined

  • Last visited

Everything posted by albertlee

  1. In Science, Do we deal with uncertainty only when the numbers we get are from the measuring we take? or there is other situation where we need to deal with uncertainty, in which has a limit of accuracy? Albert
  2. For the above code If I put this statement: System.out.println("i varriable is" + i); before if(i == 47) in the finalize() method, because I want to check which Chair is being finalized first, but why it turns out the program is running forever till my computer crashes? it somehow tells that the if(i == 47) loop never be executed... why? Albert
  3. class Chair { static boolean gcrun = false; static boolean f = false; static int created = 0; static int finalized = 0; int i; Chair() { i = ++created; if(created == 500) System.out.println("Created 500"); } public void finalize() { if(!gcrun) { // The first time finalize() is called: gcrun = true; System.out.println( "Beginning to finalize after " + created + " Chairs have been created"); } if(i == 47) { System.out.println( "Finalizing Chair #47, " + "Setting flag to stop Chair creation"); f = true; } finalized++; if(finalized >= created) System.out.println( "All " + finalized + " finalized"); } } public class Garbage { public static void main(String[] args) { // As long as the flag hasn't been set, // make Chairs and Strings: while(!Chair.f) { new Chair(); new String("To take up space"); } System.out.println( "After all Chairs have been created:\n" + "total created = " + Chair.created + ", total finalized = " + Chair.finalized); // Optional arguments force garbage // collection & finalization: if(args.length > 0) { if(args[0].equals("gc") || args[0].equals("all")) { System.out.println("gc():"); System.gc(); } if(args[0].equals("finalize") || args[0].equals("all")) { System.out.println("runFinalization():"); System.runFinalization(); } } System.out.println("bye!"); } }
  4. thx you guys According to my current ability, I would currently use this method.....but I am sure there must be a method telling the increase/ decrease of volume within calculation and prediction, because our science nowadays should be way more better than this simple chemistry, right?
  5. thx pulkit, so the best way is to add the solute into the container first before the solvent? right? Albert
  6. To pulkit, the volume does not increase, is that because that the solute is completely dissolved in the solvent? and according to YT2095, the voleme does increase, is that because the solute is not completely dissolved in the solvent? Albert
  7. thx YT2095, then the next thing is, if, just if I resolve to do it by adding the solvent first, then the solute to the container, ...... Can I first find out the volume of the solute according to its mass and its density, then subtract volume 1 litre from the volume of the solute? ALbert
  8. When we add the solute into the solvent in a container, the substance in the container should increase its mass, but I want to ask, Does it increase in volume? Because I was thinking that if it does increase the volume, then if we have a molarity 3M, we should not add exactly 1 littre of solvent into 3 moles of solute, since the volume shall not be 1 littre any more.... Any one? Albert
  9. to Dave, what I mean by equilent beside their purpose, and also how simlilar they function.... So since I have learned 3d studio max, would I get on easily on Cinema 4d? or there is another mac software more suitable? Albert
  10. I have learned 3D studio max at school, but I can't find a Mac version of 3D studio max.... Any one knows where to obtain a mac version? or if not possible, any equivalent mac software to 3D studio max? thx for furthur responds Albert
  11. yes, but I found no porting of my external harddrive....
  12. I have found this quite interesting.... I once measured my height in the morning when I just awaked, and before I slept. The record difference between Morning and Night is aprox more than 1 cm....... Is there any clue to it?
  13. To 5614 well, it does not do much on the main subject, because this is just viewing a computer on a network..... the port in ur previous message means the printer you are using is from the computer Jonathan in a network. Thx any, I still learn something too.
  14. Jonathan is not a directory...how am i supposed to find the port?
  15. no no no, 5614, you cant just leave boot.ini individually in C drive.. the code in the active sector of C drive does not point to boot.ini, it first goes to ntldr, it then reads the boot.ini and load Windows XP due to boot.ini's Information... Any way, i found this Information on the Internet, and hoping that ntldr can detect the external drive.....
  16. no 5614, I should leave the boot.ini in C drive, but there is more.......... If I think of how DOS is being loaded, it is not simply a boot.ini file, it has certain required files being loaded first before loading the whole system....... Any way, I should ask in another way: What files are required loaded first before loading the whole XP system? Albert
  17. thx for ur advice, 5614, I knew the file boot.ini in C drive is the one that controls where the Windows system should come from. [boot loader] timeout=30 default=C:\WINDOWS [operating systems] C:\WINDOWS="Microsoft Windows XP Home Edition" /FASTDETECT Above is the content of the file, and I know how to edit it, but since my HDD is an external drive, and my USB2.0 interface is on a combo PCMCIA USB2.0 card, not the on-board port, I doubt that before loading the Windows System, Can the Windows XP boot manager detect the USB2.0 external harddrive on the port of combo PCMCIA USB2.0 card? If not, any more furthur suggestion?
  18. Any way, thx to 5614 for your Information,.... More over, I would like to ask, since only my Windows System can detect my external harddrive, and I am able to install Windows under that system onto the external harddrive, is it possible to leave some kind of boot info in the local C drive and which points to the external harddrive whereas loads Windows? Apreciate for responds Albert
  19. Ok, Actually a harddrive would be faster than DVD if both are inserted on a computer, but how about the speed of their Interface? What is the speed of IDE(My combo DVD is not USB& firewire, what is its interface? is it IDE?) VS USB2.0? Albert
  20. well, no..... but on the other hand(assme my USB drive is not bootable), which one is faster on transfering data? a laptop DVD Rom VS a USB 2.0 harddrive? Albert
  21. 5614, Sayonara says that my BIOS probably can't detect USB device, but although it can't detect my external HDD, it can still detect my USB FDD. Again, is there any solution that I can install and boot my Windows from the external harddrive?
  22. Can any one recommand any famous java UML software? Albert
  23. Yes it can, it detects my USB FDD......... is'nt there any solution that I can install and boot my Windows from the external harddrive? Albert
  24. I have an USB/Firewire external HD, how can I make it bootable? and Install Windows in? because I cant find an option in BIOS to boot from the external HD..... Any body can help? Albert
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.