Equivalent of this Thu Mar 10 00:00:00 EST 2005

Thu Mar 10 00:00:00 EST 2005
in
format like (mm dd yyyy)

Stop reposting every damn question.
Read the responses in your other thread.
http://forum.java.sun.com/thread.jspa?threadID=605368
If you don't understand them, then post followup
questions there.ITG, are you "afraid" to post to the original, like posting a new one somehow gives you a fresh start like you've moved to a different city or something? You're just bugging us by crossposting, as you've been told many, many times before.

Similar Messages

  • What is the non-recursive stack based equivalent of this function?

    what is the non-recursive stack based equivalent of this function?
         static void _try (int n)
              int i; if (n==4) print(); else for (i=0; i<4; i++) if (is_free(i,n)) {
                   x[n] = i;
                   _try(n+1);
         }

    It goes infinite no output. Thanks though.
    public class CopyOfDamen { // x[i] = x coordinate of queen in row i.
         static int N = 4; static Stack stack = new Stack(); static int [] x = new int[8]; public static void main(String [] par) { _try(); }
         // prints field
         static void print ()
              int i,j;
              System.out.print ("+----------------+\n");
              for (i=0; i<8; i++) {
                   System.out.print ("|");
                   for (j=0; j<8; j++)
                        if (j==x) System.out.print ("<>"); else System.out.print (" ");
                   System.out.print ("|\n");
              System.out.print ("+----------------+\n\n");
         // tests, whether (ix, iy) is beaten by queens 0...(iy-1)
         static boolean is_free (int ix, int iy)
              int i;
              for (i=0; i<iy; i++)
                   if ((x[i]==ix) || (Math.abs(x[i]-ix)==Math.abs(i-iy))) return false;
              return true;
         // tries to place queen n on row n
         static void _try () {
              int i = 0, n = 0;
    call:
              for(;;) { // forever
                   if (n == N) {
                        print();
                   } else {
                        for (;i < N; i++) {
                             if (is_free(i,n)) {
                                  x[n] = i;
                                  System.out.print(x[n] + " ");
                                  n++;
                                  stack.push(i);
                                  i = 0;
                                  continue call; // call _try (but first save state and initiate new state)
                        } System.out.println();
                   // _try returns (check termination criterion and restore state)
                   n--;
                   if (n < 0) break; // terminate
                   i = stack.pop();
    } class Stack {
         int StackSize = 32, top = 0; int [] stack = new int[StackSize]; public Stack() {} void push(int x) { if (top < StackSize) stack[top++] = x; } int pop() { if (top >= 1) return stack[--top]; return -1; }

  • Equivalent for this code

    Hi, Could you please let me know what is the EQUIVALENT for this code. This code replace 2 number of  0s or 1s to Just one 0 or 1. The code is very very slow when the input string is very big. Is there any way to replace it with something faster.
    Thanks 
    Attachments:
    Untitled 1.vi ‏7 KB

    This code takes 1ms to run on a string of 60,000 characters (one continuous string of 0's and 1's).  Whereas using your code, it takes about 900ms for the same string.

  • OVMRU_002030E Cannot create OCFS2 file system with local file server: Local FS OVMSRVR. Its server is not in a cluster. [Thu Dec 04 01:33:10 EST 2014]

    Hi Guys,
    Im trying to create a repository .I have a single node OVM server and have presented two LUN's (Hitachi  HUS110 direct attached (via FC))
    I've created a server pool and unchecked the clustered server pool. I see the LUN's (physical disk from Oracle Virtual manager) .But when creating the repository i'm having this error
    "OVMRU_002030E Cannot create OCFS2 file system with local file server: Local FS OVMSRVR. Its server is not in a cluster. [Thu Dec 04 01:33:10 EST 2014]"
    Any steps i missed?Appreciate anyone's input
    Regards,
    Robert

    Hi Robert,
    did you actually add the OVS to the server pool, that you created?

  • Equivalent of this db2 syntax in oracle?

    Can somebody please tell me what is the equivalent of the following in oracle:
    SELECT X.*
    FROM XMLTABLE (xmlnamespaces (DEFAULT "http://posample.org"),
    'db2-fn:xmlcolumn("CUSTOMER.INFO")/customerinfo'
    COLUMNS "CUSTNAME" CHAR(30) PATH 'name',
    "PHONENUM" XML PATH 'phone')
    as X
    I took this from http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.apdv.embed.doc/doc/c0023903.htm.
    Thx!

    SELECT X.*
    FROM XMLTABLE
    xmlnamespaces (DEFAULT "http://posample.org"),
    '/customerinfo' passsing "CUSTOMER.INFO"
    COLUMNS
    "CUSTNAME" VARCHAR2(30) PATH 'name',
    "PHONENUM" XMLTYPE PATH 'phone'
    ) x

  • Where can i find this fields MARA-BRAND_ID, MARA-BSTAT, MARA-FASHGRD, etc ?

    Where can i find this field in material master
    MARA-BRAND_ID
    MARA-BSTAT,
    MARA-FASHGRD
    MARA-FREE_CHAR and MBEW-HKMAT
    Ex: MARA-BRAND_ID can view in Grade Sub screen in Basic Data 1 view
    LIke wise kindly tell me where can i find this field.. Also tell me how to add this field to thier respective view.
    I made all above fields as  required entry  in oms9.. still its is not available.. I hope it is not available in my current screen in material master.. Help me to bring

    Dear SAP Girl,
    Your feilds is appear in Field Selection group for 200 in OMS9 T-Code
    This type of fields some times will not appear because  you have to activate to related topic.
    Go to OMS9 and study F1 help, you can get one idea,
    Hope this may helps you
    Prem.

  • Please help on this Lev-Mar problem

    Hi,
    I have two acquisition data sources that need
    to be fitted. Then the fitted parameters are
    passed along with data for further processing.
    As the data is heardware generated, I made a
    similar 'signal generator' to present very closely
    the problem.
    ===Please see the attached vi file===
    As you can see, these two Lev-Mar's function
    / derivatives are obviously different. We can edit
    the fuction / derivative node. But the problem
    is that when one is edited, the other changes too.
    Anyways, we can NOT have two different functions.
    My question is: How to have two different function
    / Deveritives here?
    By the way, how to replace the MatLab box into
    function node in my attached example?
    I can 'wire' the out
    put to next if it's a
    function node. It says the type of variables are
    different (output is a real instead of array).
    Attachments:
    Lev-Mar-Question2.vi ‏99 KB

    You have a few options for multiple function/derivatives.
    1. If you can express the model functions using the formula string syntax, then you might consider using the "Levenberg Marquardt.vi". Unfortunately the Levenberg-Marquardt.vi does not allow the specification of the derivative of the model function and always uses numerical derivatives. It is also somewhat slower than the "Nonlinear Lev-Mar Fit.vi".
    2. You could also save a copy of the "Nonlinear Lev-Mar Fit.vi" using a different name, and also the "Lev-Mar ABX.vi" and "Target Fnc & Deriv Nonlin.vi" with different names. Then you would have a different set of VIs to implement the curve fitting on two different models. This is ugly, but would work.
    3. You could modify the "Nonlinear Lev-Mar
    Fit.vi", "Lev-Mar ABX.vi", and "Target Fnc & Deriv Nonlin.vi" to accept/pass VI references. The "Target Fnc & Deriv Nonlin.vi" would then perform a call by reference to a VI that you wrote implementing the current model function.
    To replace the Matlab script node place the formula node inside a for-loop. The for-loop will auto-index the x and t arrays, and auto-build the y-array.

  • "for XML path "  Oracle equivalent of this SQL expression

    SELECT TheID,
    REPLACE(
    RTRIM(
    SELECT StudentID + ' '
    FROM StudentinSchoolLocation TL
    WHERE (LocationID = Results.LocationID)
    FOR XML PATH ('')
    ) AS StudentIDs,
    What is the equivalent of 'For XML path' used above
    The goal is to get a concatenated list of the group by columns. Like where ever the location is same , get the studentIds and make a comma seperated list of all ids for common location
    Works perfectly in SQL.
    Thank you

    Hi,
    user6287828 wrote:
    The goal is to get a concatenated list of the group by columns. Like where ever the location is same , get the studentIds and make a comma seperated list of all ids for common locationThat's called "String Aggregation"
    [AskTom.oracle.com|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2196162600402] shows several different ways to do it.
    I recommend the first one, the user-defined function STRAGG, which you can copy from that page.
    On Oracle 10 (and up) you may have a similar function, WM_CONCAT (owned by WMSYS), already installed.
    WM_CONCAT is not documented, so you may not want to use it in your Production applications.
    STRAGG is not so convenient if the order of items in the concatenated string is important.
    In that case, use XMLAGG or SYS_CONNECT_BY_PATH, as shown later in the asktom page.
    MODEL can also do ordered string aggregation.

  • In IE, hitting the 'F4' button would cause a 'dropdown' menu of recent web sites in the address bar; what is the Firefox equivalent of this?

    Hitting 'F4' in IE would display recently visited web sites under the address bar. This made it easy to use the keyboard (rather than the mouse); once the list web sites appeared, you could use the cursor buttons to move to the site you wanted, and hit enter. I can't find a similar feature in Firefox; instead, I have to mouse up to the Awesome Bar, click the little down arrow, and choose.

    See:
    * http://kb.mozillazine.org/Location_Bar_search
    * https://support.mozilla.com/kb/Location+bar+search

  • R12 equivalent on this 11i query

    All,
    I am working on an R12 upgrade project and by looking at the documentations, there are lot of tables in AP which are co-existing and changed but not getting a clear idea of what got changed and why multiple tables exist. Is there anyone here who can provide me the R12 query for this 11i query below?
    SELECT distinct
         ac.vendor_name,
         nvl(ac.address_line1,ac. address_line2) address_line1,
         decode(ac.city,null,'',ac. city||',')||ac.state||' '||ac.zip city_state_zip,
         pv.segment1 vendor_no,
         abb.bank_name payee_bank,
         ac.currency_code cur_code,
         ac.check_date pmt_date,
         ac.check_number pmt_number,
         ac.amount pmt_amount,
         ac.check_id
    FROM      ap_checks_all ac,
         ap_bank_accounts_all aba,
         ap_bank_branches abb,
         po_vendors pv
    WHERE
    ac.PAYMENT_METHOD_LOOKUP_ CODE in ('EFT','WIRE')
    and ac.status_lookup_code in ('NEGOTIABLE','CLEARED BUT UNACCOUNTED','RECONCILED UNACCOUNTED')
    and ac.vendor_id=pv.vendor_id
    and ac.external_bank_account_id = aba.bank_account_id
    and aba.bank_branch_id = abb.bank_branch_id
    order by ac.check_date;
    Thanks for your help.

    Hi,
    In R12 Banks and Bank branches are treated as parties and stores in HZ_PARTIES table. Also the bank accounts model has been changed in R12. All internal bank accounts store in CE_BANK_ACCOUNTS table and external bank accounts store in IBY_EXT_BANK_ACCOUNTS table. Please try below query for R12.
    SELECT distinct
    ac.vendor_name,
    nvl(ac.address_line1,ac. address_line2) address_line1,
    decode(ac.city,null,'',ac. city||',')||ac.state||' '||ac.zip city_state_zip,
    aps.segment1 vendor_no,
    hzp.party_name payee_bank,
    ac.currency_code cur_code,
    ac.check_date pmt_date,
    ac.check_number pmt_number,
    ac.amount pmt_amount,
    ac.check_id
    FROM apps.ap_checks_all ac,
    apps.IBY_EXT_BANK_ACCOUNTS IBYEB,
    apps.hz_parties hzp,
    apps.ap_suppliers aps
    WHERE
    ac.PAYMENT_METHOD_CODE in ('EFT','WIRE')
    and ac.status_lookup_code in ('NEGOTIABLE','CLEARED BUT UNACCOUNTED','RECONCILED UNACCOUNTED')
    and ac.vendor_id=aps.vendor_id
    and ac.external_bank_account_id = IBYEB.ext_bank_account_id
    and IBYEB.bank_id = hzp.party_id
    order by ac.check_date desc;
    If this answers your question please mark it as answered.
    Thanks,
    Ram
    FYI: This is just for your infromational needs.

  • SQL Server Equivalent of this for Oracle.

    I was just wondering if anyone know of any links similar to this(http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/12c/r1/poster/OUTPUT_poster/poster.html#).
    The fifth tab has an extremely informative picture of the architecture. Anything similar to that for SQL would be really handy.
    Thanks in advance.

    In addition to other posts, you can also check the following blogs about SQL Server architecture.
    SQL SERVER – Beginning of SQL Server Architecture – Terminology – Guest Post
    http://blog.sqlauthority.com/2012/08/30/sql-server-beginning-of-sql-server-architecture-terminology-guest-post/
    SQL Server architecture: Behind the scenes
    http://1hw.in/sql-server-architecture-behind-the-scenes/
    Thanks,
    Lydia Zhang

  • DW equivalent to this GoLive action?

    I have a site with some elements using Nate Baldwin's SetImageAndLink.action.
    I'm trying to find the same behavior or extension for DW CS3/5 so that I don't have to re-install GL just to edit a few pages.
    If it doesn't exist, I'll buy a beer for someone who would make it for us!
    Much obliged!
    -jon

    Hmm... I'll have to fix the 2010 image, but the others years are available... .
    Rolling over 1997 brings up the cover images for May 1997 & December 1997 -- a basic image swap; however, it also assigns a link to the particular backissues for that year, so that you can click through to them.
    The same is true for the following years.
    This was created with one of Nate Baldwin's actions for GoLive, & as I add new links here, I'd like to be able to re-code it in DW. If that behavior is available, I may just not know what it's called, or perhaps there is an extension out there that can be installed.
    Thanks.
    -jon

  • I have three programs I would like to uninstall from my apple pro ,   also I am trying to install skype but having great problems with this to  Marie

    Hello, I have three programs I would like to delete and uninstall from my apple pro , plus I cant seem to install skype for some reason,as we are going to be traveling around Australia soon I would like to keep in touch with family and friends. I would be most thankfull for your help
                                             Regards  Marie

    Hi Marie
    Can you please describe what happens when you try to install Skype? I've found one common issue people have is that they don't actually fully install it - a lot of people download it, open the downloaded image, and run it from there - and dont actually ever copy it to their Applications folder, so next time they look for it, it can't be opened. Try again from scratch - go to the Skype website, download the file, if it doesn't automatically display the Skype disk image on your Desktop, go to your Downloads folder, locate the Skype download and double-click it to open, then, open a new Finder window and drag the Skype application from inside the disk image to your Applications folder. Once that's done you can trash the disk image. Go to your Applications folder, find Skype and launch it. Let me know if you get stuck.
    As John says, it would be very helpful to know exactly which Mac you have. If its a laptop, you probably have a MacBook Pro, not a Mac Pro, which is a very large, heavy silver box and not amenable to being dragged around Australia!
    Matt

  • When trying to send photos using iphoto  a window comes up and says that email server did'nt recognize user name /password ...what do i do to correct this please  marie

    hello     when I try to send photos using the iphoto  a window comes up to tell me that my email server didn't rercognize user name /password  how do i correct this .. as i have cganged my email address  but i can't get rid of the old  one    thank you   marie

    Hi Cody\'sgirl,
    If you are having issues emailing photos directly from iPhoto, you may want to double check the email account information that is set in iPhoto. You may find the following article helpful (the section below is about setting up a new account, but it should be the same location to check existing account info):
    To set up a Photo Mail account:
    Choose iPhoto > Preferences, and then click Accounts.If you’re in full-screen view, move your pointer to the top of the screen to make the menu bar appear.
    Click the Add button in the lower-left corner.
    Click Email, and then click Add.
    Choose your email service provider.If your service provider isn’t listed, choose Other.
    Type the requested information.If you use the Mail application included with OS X, some account information might be filled in already. If you’re not sure what to type, contact your service provider.
    You can set up more than one Photo Mail account by repeating these steps for each account. When you send an email, you can change the outgoing account by clicking the From pop-up menu and choosing an account.
    iPhoto '11: Email your photos
    http://support.apple.com/kb/PH2421
    Regards,
    - Brenden

  • Equivalent of this.getCodeBase () for JFrame?

    In a JApplet, I can use this.getCodeBase () to retreive the current directory. How do I do this in a JFrame?

    Current directory isn't usually of much use. In general the files (like images etc.) which you generally pick up with codebase are better accessed through Class.getResource() which works pretty much the same whether you are in an applet or a stand-alone.

Maybe you are looking for