Recent Notes

Displaying keyword search results 91 - 100
Created by Dr. Xi on August 19, 2009 03:37:18    Last update: August 19, 2009 03:37:18
Orafaq states that: Oracle XE is limited to: only use one CPU on a system use up to 1GB of RAM store up to 4GB of data The following database features are not supported: partitioned objects internal Java virtual machine (JVM) More info: http://forums.oracle.com/forums/thread.jspa?messageID=2190391 http://forums.oracle.com/forums/thread.jspa?messageID=1648531
Created by Dr. Xi on August 19, 2009 03:21:43    Last update: August 19, 2009 03:30:14
Writing Java stored procedure in Oracle requires that an embedded JVM is available in the Oracle server. Select from dba_registry to see if JVM is installed: SQL> select comp_id from dba_registry; COMP... Or: SQL> describe dbms_java More information available here: http://www.idevelopment.info/data/Oracle/DBA_tips/Java/JAVA_10.shtml
Created by James on July 13, 2009 02:56:04    Last update: July 15, 2009 15:56:53
The CSS 2.1 spec has these definitions about the position property: static : The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply. relative : The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position. When a box B is relatively positioned, the position of the following box is calculated as though B were not offset. absolute : The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's containing block . Absolutely positioned boxes are taken out of the...
Created by Dr. Xi on July 15, 2009 01:13:47    Last update: July 15, 2009 02:18:37
James, I posted your note to reddit and the feedback was that the browsers are behaving correctly by the spec. Look at the definition of "containing block" . Especially, point 4: If the element has ' position: absolute ', the containing block is established by the nearest ancestor with a ' position ' of ' absolute ', ' relative ' or ' fixed ', in the following way...If there is no such ancestor, the containing block is the initial containing block.
Created by Dr. Xi on July 14, 2009 17:08:05    Last update: July 14, 2009 20:51:22
Hooray James! I tested in Opera and it behaved the same! So is the spec wrong or the implementation wrong? Or, may be they are both right. But why?
Created by Dr. Xi on June 06, 2009 19:21:57    Last update: June 06, 2009 19:21:57
import time import random # Python sleep...
Created by Dr. Xi on June 06, 2009 18:31:44    Last update: June 06, 2009 19:01:57
You can use the system call from the os module to execute an external program: >>> import os >>> os.system(the_command_line_st... However, the path to the executable contains a space character, the system call treats the strings after the first space as arguments, causing an error. Python doc recommends the use of the subprocess module: The subprocess module provides more powerful facilities for spawning new processes and retrieving their results; using that module is preferable to using this function. For example, using wget to get the google home page: >>> from subprocess import Popen, PIPE >>> (out...
Created by Dr. Xi on April 27, 2009 16:58:26    Last update: April 27, 2009 16:59:36
Can you be more specific? Some relevant code snippets would be helpful. DoubleInvocationException seemed like a custom exception.
Created by woolf on April 17, 2009 01:51:27    Last update: April 17, 2009 02:20:52
Configuration Bring up the System Properties dialog and click the System Restore tab. Usage Bring up the System Restore tool from the Accessories -> System Tools -> System Restore menu. Cleanup Open disk properties (right click on the drive, select properties), in the general tab click Disk Cleanup , click the More Options tab to clean up space used by System Restore . Reference Windows XP System Restore Is Easy to Use
Created by Dr. Xi on March 02, 2009 23:29:08    Last update: March 28, 2009 21:35:41
An HTML form contains more than what meets the eye. This bookmarklet displays information about form fields in the page. When there are multiple forms on the page, successive invocations of the bookmarklet display each form in turn. Add this link to your bookmarks. Here's the code: <html> <body> <a href="javascript: i...
Previous  4 5 6 7 8 9 10 11 12 13 Next