albertlee
Senior Members-
Posts
1259 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by albertlee
-
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
-
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
-
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!"); } }
-
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?
-
thx pulkit, so the best way is to add the solute into the container first before the solvent? right? Albert
-
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
-
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
-
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
-
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
-
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
-
Asking about bootable USB/Firewire external HD.....
albertlee replied to albertlee's topic in Computer Science
yes, but I found no porting of my external harddrive.... -
Asking about bootable USB/Firewire external HD.....
albertlee replied to albertlee's topic in Computer Science
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. -
Asking about bootable USB/Firewire external HD.....
albertlee replied to albertlee's topic in Computer Science
Jonathan is not a directory...how am i supposed to find the port? -
Asking about bootable USB/Firewire external HD.....
albertlee replied to albertlee's topic in Computer Science
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..... -
Asking about bootable USB/Firewire external HD.....
albertlee replied to albertlee's topic in Computer Science
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 -
Asking about bootable USB/Firewire external HD.....
albertlee replied to albertlee's topic in Computer Science
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? -
Asking about bootable USB/Firewire external HD.....
albertlee replied to albertlee's topic in Computer Science
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 -
Asking about bootable USB/Firewire external HD.....
albertlee replied to albertlee's topic in Computer Science
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 -
Asking about bootable USB/Firewire external HD.....
albertlee replied to albertlee's topic in Computer Science
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 -
Asking about bootable USB/Firewire external HD.....
albertlee replied to albertlee's topic in Computer Science
no. -
Asking about bootable USB/Firewire external HD.....
albertlee replied to albertlee's topic in Computer Science
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? -
Can any one recommand any famous java UML software? Albert
-
Asking about bootable USB/Firewire external HD.....
albertlee replied to albertlee's topic in Computer Science
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 -
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