Please have a look at this query

hi there,
i'm implementing a wildcard search utility in my app (restricting usage by allowing to use '*' & '?' only, so no hectic job here), i've achieved the correct matching of a given text & a text with wildcards but to some extent by manual check which very hectic to me, now i want to try with new code which is (incomplete) as follows, please correct & suggest me,
class WildcardSearchUtility {
    static boolean isNodeStringMatchingWildcardText(String wcText, String nodeText) {
         char    c1[] = wcText.toCharArray();
         char    c2[] = nodeText.toCharArray();
         int     n1 = c1.length;
         int     n2 = c2.length;
         int   i1 = 0;
         int   i2 = 0;
         for ( ;     i1 < n1   &&   i2 < n2;     i1++, i2++) {
            if(c1[i1] == '*') {
                      // don't know what to do
               if(i1 != (n1-1)) {
                  i1++;
            } else if (c1[i1] == '?') {
                      // don't know what to do
               if(i1 != (n1-1)) {
                  i1++;
            } else if(c1[i1] != c2[i2])
               return false;
         return false;
   }when i implement the code it should correctly match the given text and a wildcard search text, for example:
     String    wildcardText = "*L?st*";
     String    nodeTexts[] = {
          "List",   "ActionListener",   "JComponent",   "SomeText",
          "Last",   "AbstractList",     "JButton",      "Component"
          "Like",   "ABCDLastPQRS"
     System.out.println("Search text is " + wildcardText + "\n");
     for(int i=0; i < nodeTexts.length; i++) {
          boolean matching = WildcardSearchUtility.isNodeStringMatchingWildcardText(
                                wildcardText, nodeTexts);
System.out.println(
"\tmatching with \""+ nodeTexts[i] + "\"\t" +
(matching ? "[Matched]" : "[Not Matched]\n");
System.out.println("Done");
the output must be like the one below
Search text is "*L?st*"
         matching with "List"         [Matched]
         matching with "ActionListener"         [Not Matched]
         matching with "JComponent"         [Not Matched]
         matching with "SomeText"         [Not Matched]
         matching with "Last"         [Matched]
         matching with "AbstractList"         [Matched]
         matching with "JButton"         [Not Matched]
         matching with "Component"         [Not Matched]
         matching with "Like"         [Not Matched]
         matching with "ABCDLastPQRS"         [Matched]
Donei'd appreciate any suggestions, sample codes, corrections by you experts
thanx in advance,
Afroze.

the jdk1.4 comes with regular expression treatment ...
here it is a sample code:
to test:
* A class which provide a way of filtering a folder relative a set of filename masks
* @version 1.0
* @author Felipe Ga�cho
public class teste
   static public void main(String[] args)
      MyFileFilter t = new MyFileFilter(new String[]{"*.jpg","i*o*u","*88*"});
      System.out.println(t.accept("teste.jpg"));
      System.out.println(t.accept(".jpg.jpg.jpge"));
}The filter class:
import java.util.*;
import java.io.*;
* A class which provide a way of filtering a folder relative a set of masks
* @version 1.0
* @author Felipe Ga�cho
* @date september - 2001
class MyFileFilter implements FileFilter
     /** The array of valid masks */
   private Object[][] masks = null;
   /** The wildcard. The default wildcard is the character '*' */
   private String wildcard = "*";
   /** The description of this filter. For example: "JPG and GIF Images" */
   String filterDescription = "";
     * The constructor
     * @param setOfMasks A set of masks which will be used as filter
   MyFileFilter(String[] setOfMasks, String description)
          filterDescription = description;
      masks = new Object[setOfMasks.length][];
      for(int i=0; i<setOfMasks.length; i++)
         masks[i] = parseMask(setOfMasks);
     * The constructor
     * @param setOfMasks A set of masks which will be used as filter
MyFileFilter(String[] setOfMasks)
          this(setOfMasks, "");
     * Sets the character used as wildcard
     * @param wildcard The new wildcard character
public void setWildcard(String newWildcard)
          wildcard = newWildcard;
     * Returns the current wildcard character
     * @return The current wildcard character
public String getWildcard()
          return this.wildcard;
     * Creates an array with all tags of a mask
     * @param mask The mask which will be used to filter a folder
private Object[] parseMask(String mask)
          StringTokenizer maskParser = new StringTokenizer(mask, wildcard, false);
          ArrayList maskTags = new ArrayList();
          // Fill the array of tags representation of the mask
          while(maskParser.hasMoreTokens())
               maskTags.add((String)maskParser.nextToken());
          // Check if the first character of the mask is a wildcard (open mask on left)
          if(mask.startsWith(wildcard))
               maskTags.add(0,wildcard);
          // Check if the last character of the mask is a wildcard (open mask on right)
          if(mask.endsWith(wildcard))
               maskTags.add(wildcard);
          return maskTags.toArray();
     * The validation process: the filename is parsed from the left to the right
     * seeking the mask tags. If a tag in the mask can�t be reached
     * in the filename it return false, otherwise it returns true.
     * @param filename The filename to be test
     * @param mask An array containing the mask tags
private boolean valid(String filename, Object[] mask)
          // Test if the first tag of the mask is present at the start of the filename
if( ! mask[0].equals(wildcard) && ! filename.startsWith((String)mask[0]))
return false;
          // Test if the last tag of the mask is present at the end of the filename
if( ! mask[mask.length-1].equals(wildcard) && ! filename.endsWith((String)mask[mask.length-1]))
return false;
for(int i=0; i<mask.length; i++)
               // If the tag is a wildcard, then ignore this tag and continues the verification
               if(mask[i].equals(wildcard))
                    continue;
               // The index of a non-wildcard tag in the filename
               int indexOfTheTag = filename.indexOf((String)mask[i]);
               if(indexOfTheTag == -1)
                    return false;
               // The tag were found. Continues the verification from the tag index plus its length
               filename = filename.substring(indexOfTheTag + ((String)mask[i]).length());
          return true;
     * Check if a filename is like one of the masks
     * @param filename The filename to be checked
public boolean accept(String filename)
for(int i=0; i<masks.length; i++)
if(valid(filename, masks[i]))
return true;
return false;
* The FileFilter method overwrite
* @param filename The File which the name should be verifyied
public boolean accept(File filepath)
return accept((filepath.getName()).substring(filepath.getName().lastIndexOf(File.separator)));
* The FileFilter method overwrite
* @return The description of this file filter
public String getDescription()
return filterDescription;

Similar Messages

  • Material staging in WM - Jurgen please have a look at this

    Dear Jurgen,
    I'd kindly like to ask you to please have a look at this issue.
    Re: Requesting urgent reply
    Thanks in advance,
    Csaba
    (sorry for sending message this way...)

    I answered in the other thread.

  • Have a look at this query

    I have been trying to tune this query without any luck. Any idea from you please:
    SELECT A.ACCOUNT_ID, A.ACCOUNT_NAME FROM ACCOUNTS A
    WHERE 113600 IN (
    SELECT AA.ACCOUNT_ID FROM AGENCY_ACCOUNTS AA CONNECT BY AA.ACCOUNT_ID= PRIOR AA.AGENCY_ID
    START WITH AA.ACCOUNT_ID = A.ACCOUNT_ID )
    ORDER BY UPPER(A.ACCOUNT_NAME)
    Cheers
    ade

    The row source operation wasn't generated because likely you did not disconnect to close all cursors. But I managed to reproduce your situation anyway, so here it is:
    SQL> create table accounts
      2  as
      3  select 113600 account_id, 'Account 113600' account_name from dual union all
      4  select 113601, 'Account 113601' from dual union all
      5  select 113602, 'Account 113602' from dual union all
      6  select 113603, 'Account 113603' from dual union all
      7  select 113604, 'Account 113604' from dual union all
      8  select 113605, 'Account 113605' from dual
      9  /
    Tabel is aangemaakt.
    SQL> create table agency_accounts
      2  as
      3  select 113601 agency_id, 113602 account_id from dual union all
      4  select 113600, 113601 from dual union all
      5  select 113602, 113603 from dual union all
      6  select 113602, 113604 from dual union all
      7  select 113603, 113605 from dual
      8  /
    Tabel is aangemaakt.
    SQL> insert into accounts
      2  select account_id + 10*l
      3       , 'Account ' || to_char(account_id + 10*l)
      4    from accounts
      5       , (select level l from dual connect by level <= 1488)
      6  /
    8928 rijen zijn aangemaakt.
    SQL> insert into agency_accounts
      2  select agency_id + 10*l
      3       , account_id + 10*l
      4    from agency_accounts
      5       , (select level l from dual connect by level <= 1786)
      6  /
    8930 rijen zijn aangemaakt.
    SQL> exec dbms_stats.gather_table_stats(user,'accounts')
    PL/SQL-procedure is geslaagd.
    SQL> exec dbms_stats.gather_table_stats(user,'agency_accounts')
    PL/SQL-procedure is geslaagd.
    SQL> select table_name,num_rows from user_tables where table_name in ('ACCOUNTS','AGENCY_ACCOUNTS')
      2  /
    TABLE_NAME                       NUM_ROWS
    ACCOUNTS                             8934
    AGENCY_ACCOUNTS                      8935
    2 rijen zijn geselecteerd.
    SQL> alter session set sql_trace true
      2  /
    Sessie is gewijzigd.
    SQL> select a.account_id
      2       , a.account_name
      3    from accounts a
      4   where 113603 in
      5         ( select aa.account_id
      6             from agency_accounts aa
      7          connect by aa.account_id = prior aa.agency_id
      8            start with aa.account_id = a.account_id
      9         )
    10   order by upper(a.account_name)
    11  /
    ACCOUNT_ID ACCOUNT_NAME
        113603 Account 113603
        113605 Account 113605
    2 rijen zijn geselecteerd.
    SQL>  select a.account_id
      2        , a.account_name
      3     from accounts a
      4        , agency_accounts aa
      5    where a.account_id = aa.account_id
      6  connect by prior aa.account_id = aa.agency_id
      7    start with aa.account_id = 113603
      8  /
    ACCOUNT_ID ACCOUNT_NAME
        113603 Account 113603
        113605 Account 113605
    2 rijen zijn geselecteerd.
    SQL> disconnectThe second query is one I constructed and produces the same output for my data. You'd have to verify if it does in your case. The difference is quite huge as can be seen from the tkprof file:
    select a.account_id
         , a.account_name
      from accounts a
    where 113603 in
           ( select aa.account_id
               from agency_accounts aa
            connect by aa.account_id = prior aa.agency_id
              start with aa.account_id = a.account_id
    order by upper(a.account_name)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.02          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        2    110.93     113.78          0     650731          0           2
    total        4    110.93     113.80          0     650731          0           2
    Misses in library cache during parse: 1
    Optimizer mode: CHOOSE
    Parsing user id: 59 
    Rows     Row Source Operation
          2  SORT ORDER BY (cr=650731 pr=0 pw=0 time=113785428 us)
          2   FILTER  (cr=650731 pr=0 pw=0 time=74184 us)
       8934    TABLE ACCESS FULL ACCOUNTS (cr=38 pr=0 pw=0 time=35779 us)
          2    FILTER  (cr=650693 pr=0 pw=0 time=113685925 us)
      19353     CONNECT BY WITH FILTERING (cr=650693 pr=0 pw=0 time=113548690 us)
       7445      FILTER  (cr=205482 pr=0 pw=0 time=20566967 us)
    79825290       TABLE ACCESS FULL AGENCY_ACCOUNTS (cr=205482 pr=0 pw=0 time=80133916 us)
      11912      HASH JOIN  (cr=445211 pr=0 pw=0 time=50638096 us)
      19357       CONNECT BY PUMP  (cr=0 pr=0 pw=0 time=351638 us)
    172954795       TABLE ACCESS FULL AGENCY_ACCOUNTS (cr=445211 pr=0 pw=0 time=173694389 us)
          0      TABLE ACCESS FULL AGENCY_ACCOUNTS (cr=0 pr=0 pw=0 time=0 us)
    select a.account_id
          , a.account_name
       from accounts a
          , agency_accounts aa
      where a.account_id = aa.account_id
    connect by prior aa.account_id = aa.agency_id
      start with aa.account_id = 113603
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        2      0.06       0.05          0        183          0           2
    total        4      0.06       0.05          0        183          0           2
    Misses in library cache during parse: 1
    Optimizer mode: CHOOSE
    Parsing user id: 59 
    Rows     Row Source Operation
          2  CONNECT BY WITH FILTERING (cr=183 pr=0 pw=0 time=52133 us)
          1   FILTER  (cr=61 pr=0 pw=0 time=6847 us)
       7445    COUNT  (cr=61 pr=0 pw=0 time=36611 us)
       7445     HASH JOIN  (cr=61 pr=0 pw=0 time=21806 us)
       8935      TABLE ACCESS FULL OBJ#(54905) (cr=23 pr=0 pw=0 time=69 us)
       8934      TABLE ACCESS FULL OBJ#(54904) (cr=38 pr=0 pw=0 time=9047 us)
          1   HASH JOIN  (cr=122 pr=0 pw=0 time=22377 us)
          2    CONNECT BY PUMP  (cr=0 pr=0 pw=0 time=38 us)
      14890    COUNT  (cr=122 pr=0 pw=0 time=72268 us)
      14890     HASH JOIN  (cr=122 pr=0 pw=0 time=42484 us)
      17870      TABLE ACCESS FULL OBJ#(54905) (cr=46 pr=0 pw=0 time=17981 us)
      17868      TABLE ACCESS FULL OBJ#(54904) (cr=76 pr=0 pw=0 time=86 us)
          0   COUNT  (cr=0 pr=0 pw=0 time=0 us)
          0    HASH JOIN  (cr=0 pr=0 pw=0 time=0 us)
          0     TABLE ACCESS FULL OBJ#(54905) (cr=0 pr=0 pw=0 time=0 us)
          0     TABLE ACCESS FULL OBJ#(54904) (cr=0 pr=0 pw=0 time=0 us)
    ********************************************************************************Regards,
    Rob.

  • Please have a look at this, problem loading images from jar.

    I made a post at the wrong place..
    Pleae have a look at it:
    http://forum.java.sun.com/thread.jsp?forum=422&thread=434524&tstart=0&trange=15

    Answer (hopefully not totally useless) posted over there.

  • Please have a look at this.

    There is something that happens in my code that I can't figure out. I have some varaibles defined in my main class, it's just one class anyway and the rest are inner anonymous. When I come to use them from an inner class, the code doesn't behave as I want it to unless I write the variables I'm using again inside the inner class, which is or are, actionListener/s.
    here's the code to see what I'm talking about:
    final String year = yearField.getText();
    final String id = idField.getText();
    final String student = studentIdField.getText();
    final String section = sectionIdField.getText();
    final String project = projectIdField.getText();
    final String mark = markField.getText();
    final String grade = gradeField.getText();
    final String pass = passField.getText();
    insert.addActionListener(new ActionListener()
        public void actionPerformed(ActionEvent e)
             String year = yearField.getText();
             String id = idField.getText();
             String student = studentIdField.getText();
             String mark = markField.getText();
             String section = sectionIdField.getText();
             String project = projectIdField.getText();
             String grade = gradeField.getText();
             String pass = passField.getText();
            if((year.equals(""))&&(id.equals(""))&&(student.equals(""))&&(mark.equals("")))
                JOptionPane.showMessageDialog(jf,
                   "Please enter a value"
            else if(year.equals(""))
                JOptionPane.showMessageDialog(jf,
                   "Please enter a value for Year"
            else if(id.equals(""))
                JOptionPane.showMessageDialog(jf,
                     "Please enter a value for ID"
            else if(student.equals(""))
                 JOptionPane.showMessageDialog(jf,
                   "Please enter a value for Student Id"
            else if(mark.equals(""))
                 JOptionPane.showMessageDialog(jf,
                     "Please enter a value for Mark"
            else
                  try
                          DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
         Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433","admin","admin");
         Statement statement = connection.createStatement();
         String query = "Insert into Results (Student_Id,Result_Year,Term,Degree,Pass,Project_Id,Univrs_Fac_Dept_Id,Grade,Univers_Fac_Dept_Section_Id) values ('"+student+"','"+year+"','"+term+"','"+mark+"','"+pass+"','"+project+"','"+department+"','"+grade+"','"+section+"')";
                         statement.executeUpdate(query);
         connection.close();
         catch(SQLException sqlerr)
              System.err.println(sqlerr);
         );Now, if I don't include the variables again inside the actionListener, the code doesn't move outside the if statement. Does anybody know why is that happening?
    I just have another small question. When I need to check that a Chooser isn't empty, how do I do it? I mean with a string, you say: if(object.equals("")), what's for the items?
    Thank you very much and sorry for the lot of talking.

    you have to be careful with your variables:
    the declared variables inside the actionlistener(s) are not these in your main class!!
    what you might do:
    a) let your main-class implement ActionListener
    public class MainClass extends PARENTCLASS implements ActionListener {
       public static void actionPerformed(ActionEvent ae) {
    }b) create your own event handler
    public class MainClass extends PARENTCLASS {
       public MainClass() {
          insert.addActionListener(new YourActionListener(this));
    public class YourActionListener extends ActionListener {
       private MainClass main;
       public YourActionListener(MainClass parent) {
          main = parent;
       public void actionPerformed(ActionEvent ae) {
          main.year = "abc";
          main.id = "id";
          // or implement setXXX methods -> main.setYear("abc"); main.setId("id"); ...
    }hope it helps...

  • EtreCheck Report: Could somebody please have a look at this?

    Hello guys (m/f)
    I just did an EtreCheck after I read about it a whilke ago here on the Apple Support Communities.  I'm using a late 2012 iMac now, but my previous iMac (2009, not sure when exactly) seemed to be slow too.  It's slow opening tabs, sites, etc.  And it's slow shutting down.
    BTW I switched off Time Machine a while ago, as my external WD started reporting bad block.  (Wanted to get my NAS to take over, but can't figure out why.   That's why I've been going without a Time Machine backup for way to long.)
    Here's the report:
    Hardware Information:
              iMac (21.5-inch, Late 2012)
              iMac - model: iMac13,1
              1 2.9 GHz Intel Core i5 CPU: 4 cores
              8 GB RAM
    Video Information:
              NVIDIA GeForce GT 650M - VRAM: 512 MB
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0
              AirPlay: Version: 1.9
              AppleAVBAudio: Version: 2.0.0
              iSightAudio: Version: 7.7.3
    System Software:
              OS X 10.9 (13A603) - Uptime: 0 days 9:23:21
    Disk Information:
              APPLE HDD HTS541010A9E662 disk0 : (1 TB)
                        EFI (disk0s1) <not mounted>: 209,7 MB
                        Macintosh HD (disk0s2) /: 999,35 GB (607,16 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              com.iospirit.driver.rbiokithelper          (1.21)
              com.eltima.ElmediaPlayer.kext          (1.0)
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [invalid] com.avermedia.installerPlugin
              [loaded] com.adobe.fpsaud.plist
              [not loaded] com.avermedia.installerPlugin.plist
              [loaded] com.bombich.ccc.plist
              [loaded] com.eltima.ElmediaPlayer.daemon.plist
              [loaded] com.iospirit.candelair.daemon.plist
              [loaded] com.iospirit.candelair.sync.plist
              [loaded] com.leapmotion.leapd.plist
              [loaded] com.memeo.Memeod.plist
              [loaded] com.prosofteng.DriveGenius.locum.plist
              [loaded] com.wdc.WDDMservice.plist
              [loaded] com.wdc.WDSmartWareServer.plist
              [loaded] com.zeroonetwenty.BlueHarvestHelper.plist
    Launch Agents:
              [loaded] AVerQuick.plist
              [loaded] com.leapmotion.Leap-Motion.plist
              [loaded] com.synology.SynoSIMBL.plist
              [loaded] com.synology.SynoSIMBL_RefreshFinder.plist
              [loaded] org.glimmerblocker.updater.plist
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist
              [loaded] com.divx.agent.postinstall.plist
              [loaded] com.google.keystone.agent.plist
              [loaded] com.plexapp.helper.plist
              [loaded] com.prosofteng.DGMonitor.plist
              [failed] de.writeitstudios.cookiestumbleragent.plist
    User Login Items:
              DiskLed
              FontExplorerXAutoload
              iTunesHelper
              System Events
              Mippy
              Mail
              Safari
              Camino
              blueharvestd
              Mippy
              BlueHarvest
              BlueHarvest
              Sony Ericsson Bridge Helper
              WDDriveManagerStatusMenu
              CNQL2410_ButtonManager
              WDQuickView
    3rd Party Preference Panes:
              Candelair
              Flash Player
              Flip4Mac WMV
              FUSE for OS X (OSXFUSE)
              GlimmerBlocker
              Perian
              WDQuickView
    Internet Plug-ins:
              AdobePDFViewer.plugin
              AdobePDFViewerNPAPI.plugin
              Default Browser.plugin
              DirectorShockwave.plugin
              Flash Player.plugin
              FlashPlayer-10.6.plugin
              Flip4Mac WMV Plugin.plugin
              Google Earth Web Plug-in.plugin
              iPhotoPhotocast.plugin
              JavaAppletPlugin.plugin
              PDF Browser Plugin.plugin
              QuickTime Plugin.plugin
              RealPlayer Plugin.plugin
              VLC Plugin.plugin
    User Internet Plug-ins:
    Bad Fonts:
              None
    Time Machine:
              Mobile backups: OFF
              Auto backup: NO
              Time Machine not configured!
    Top Processes by CPU:
                   2%          WindowServer
                   1%          EtreCheck
                   1%          fontd
                   0%          Leap Motion
                   0%          SystemUIServer
                   0%          DiskLed
                   0%          dpd
    Top Processes by Memory:
              336 MB             Safari
              279 MB             Finder
              229 MB             WindowServer
              221 MB             Camino
              205 MB             com.apple.IconServicesAgent
              123 MB             com.apple.WebKit.WebContent
              115 MB             Mail
              57 MB              PluginProcess
              49 MB              com.apple.WebKit.Networking
              49 MB              mds_stores
    Virtual Memory Statistics:
              3.10 GB            Free RAM
              3.55 GB            Active RAM
              497 MB             Inactive RAM
              878 MB             Wired RAM
              734 MB             Page-ins
              0 B                Page-outs
    Hope you guys find something.  (and that this is the right place to put my question!)
    Sincerely
    Mathy

    You have a lot of potential for things to go wrong. If any of the red items are old they could be doing a lot of damage to performance, since they are loaded into the system level.
    Synology appears to be doing something with SIMBL - follow the removal instructions at http://www.culater.net/software/SIMBL/SIMBL.php
    It is a hacky way to inject code into apps. Check the synology site for updates.
    The failed launchd job [failed] de.writeitstudios.cookiestumbleragent.plist could cause issues within your user account.
    Your login items are duplicated.
    BlueHarvest
    BlueHarvest
    blueharvestd
    Mippy
    Mippy
    That isn't a great idea. I'd suggest you logout, log back in but hold shift as you click the login button it will disable all those apps & show you if they are part of your issues.
    'Safe mode' will disable all third party extensions & startup items (hold shift after the chime until the spinning 'cog' appears). Ensure the login window says 'safe mode'.
    https://support.apple.com/kb/HT1455
    Be aware that some features will be disabled like wifi on some models, graphics drivers will be in a reduced mode - this is normal in safe mode. Reboot to go back to normal.
    Hopefully the notes below will help you understand the report better
    Mathy Van Nisselroy wrote:
    Kernel Extensions:
              com.iospirit.driver.rbiokithelper          (1.21)
              com.eltima.ElmediaPlayer.kext          (1.0)
    Launch Daemons:
              [invalid] com.avermedia.installerPlugin       <<-- WTH !?
              [loaded] com.adobe.fpsaud.plist
              [not loaded] com.avermedia.installerPlugin.plist
              [loaded] com.bombich.ccc.plist
              [loaded] com.eltima.ElmediaPlayer.daemon.plist
              [loaded] com.iospirit.candelair.daemon.plist
              [loaded] com.iospirit.candelair.sync.plist
              [loaded] com.leapmotion.leapd.plist
              [loaded] com.memeo.Memeod.plist
              [loaded] com.prosofteng.DriveGenius.locum.plist
              [loaded] com.wdc.WDDMservice.plist
              [loaded] com.wdc.WDSmartWareServer.plist
              [loaded] com.zeroonetwenty.BlueHarvestHelper.plist
    Launch Agents:
              [loaded] AVerQuick.plist
              [loaded] com.leapmotion.Leap-Motion.plist
              [loaded] com.synology.SynoSIMBL.plist
              [loaded] com.synology.SynoSIMBL_RefreshFinder.plist
              [loaded] org.glimmerblocker.updater.plist
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist
              [loaded] com.divx.agent.postinstall.plist
              [loaded] com.google.keystone.agent.plist
              [loaded] com.plexapp.helper.plist
              [loaded] com.prosofteng.DGMonitor.plist
              [failed] de.writeitstudios.cookiestumbleragent.plist
    User Login Items:
              DiskLed
              FontExplorerXAutoload
              iTunesHelper
              System Events
              Mippy
              Mail
              Safari
              Camino
              blueharvestd
              Mippy
              BlueHarvest
              BlueHarvest
              Sony Ericsson Bridge Helper
              WDDriveManagerStatusMenu
              CNQL2410_ButtonManager
              WDQuickView
    3rd Party Preference Panes:
              Candelair
              Flash Player
              Flip4Mac WMV
              FUSE for OS X (OSXFUSE)
              GlimmerBlocker
              Perian
              WDQuickView
    Internet Plug-ins:
              AdobePDFViewer.plugin
              AdobePDFViewerNPAPI.plugin
              Default Browser.plugin
              DirectorShockwave.plugin
              Flash Player.plugin
              FlashPlayer-10.6.plugin
              Flip4Mac WMV Plugin.plugin
              Google Earth Web Plug-in.plugin
              iPhotoPhotocast.plugin
              JavaAppletPlugin.plugin
              PDF Browser Plugin.plugin
              QuickTime Plugin.plugin
              RealPlayer Plugin.plugin
              VLC Plugin.plugin
    Red items are loaded at the system level (not necessarily bad, but they have the potential to modify the OS).
    Blue items are loaded at the user level
    Cleanup:
    All the usual caveats apply, backup before you modify the system, delete the items (or move them to another disk or folder if you are worried about deleting the wrong thing) but ensure the originals are gone or updated.
    Use the Finders "Go menu > Go to Folder…" when you need to open the hidden ~/Library (your users library).
    Reboot for the system changes to take effect.
    How to find updates:
    The critical launchd jobs & kernel extensions use reverse domain notation e.g.
    com.logmein.hamachi.plist means look at http://logmein.com for updates (if you don't recognize it removing it may be appropriate)
    In short: You want to try to update or remove all the system level items.
    Startup Items: Stored in /Library/StartupItems/
    Startup Items have been discontinued by Apple since Mac OS 10.4. They are responsible for making changes at a system level. Remove them all or spend time ensuring ALL related software is up to date. You need a very good reason to have anything installed in here. The developers are ignoring Apple guidelines by installing these - not a good sign.
    Kernel Extensions: Stored in /Library/Extensions/
    Kernel Extensions also load third party code, but they insert it into the 'core' of the OS. These can be safe, however you must ensure the related tools or apps are up to date, otherwise the system is basically built upon quicksand. Remove them all & see if the OS works better.
    Launchd jobs: several types
    LaunchAgents          - Stored in /Library/LaunchAgents
    LaunchDaemons       - Stored in /Library/LaunchDaemons
    User LaunchAgents   - Stored in ~/Library/LaunchAgents
    These are all background jobs, they are not necessarily bad, but if they are loading old code it could be doing untold damage to the performance & stability of the entire OS. Focus on the System level jobs (the ones inside /Library - the system level) also remove ['failed'], non-system jobs.
    EtreCheck gives a status on launchd jobs…
    [loaded]                  - a running job
    [not loaded]            - jobs that are set not to run, basically harmless, remove them unless you plan to use the associated software (if it is up to date)
    [failed]                    - jobs in a crashed or unknown state, it could be forking processes or using all the system resources, remove these.
    User login items:
    Applications and helpers that are managed inside 'Systems Preferences > Users and groups > Login Items tab'.
    These are loaded at the 'User level', consider removing all of them whilst you troubleshoot.  When you decide to re-add them ensure the software is up to date.
    3rd Party Preference Panes: & Internet Plug-ins:
    /Library/PreferencePanes/ and ~/Library/PreferencePanes/
    /Library/Internet Plug-Ins/ and ~/Library/Internet Plug-Ins/
    Once again these items all must be up to date, or remove them from your system. If the prefpanes manage additional software use the uninstaller or see the developers site for uninstall instructions. You can also right click to remove 3rd party preference panes in System preferences
    Read the list of Internet plug-ins carefully, there are often duplicate Flash player versions that won't help stability, it's just wasted space too.
    Don't forget to also update Safari's extensions in it's preferences (if you have any).
    Re-run EtreCheck after cleaning up to see if items have returned (some apps will reload the background jobs when re-opened, so either update or remove the software).
    Hope that isn't too daunting, the OS should be better if there are less old items running at the system level.

  • Arrrrrrr! Someone please have a look at this code!

    Ok! I'm pulling my hair out! I've got this code!
    import mx.transitions.Tween;
    import mx.transitions.easing;
    function turnOn() {
    new Tween(camel_shoe_mc, "_alpha", Regular.easeIn, 0, 100,
    1, true);
    camel_bt.onRollOver = turnOn;
    function turnOff() {
    new Tween(camel_shoe_mc, "_alpha", Regular.easeIn, 100, 0,
    1, true);
    camel_bt.onRollOut = turnOff;
    function turnOn() {
    new Tween(fudge_shoe_mc, "_alpha", Regular.easeIn, 0, 100,
    1, true);
    fudge_bt.onRollOver = turnOn;
    function turnOff() {
    new Tween(fudge_shoe_mc, "_alpha", Regular.easeIn, 100, 0,
    1, true);
    fudge_bt.onRollOut = turnOff;
    Now this is what is happning! you rollover the camel_bt the
    camel_shoe_mc show's up, great! Then you rollover the fudge_bt and
    the camel_shoe_mc come's up!! Is there a way of having this code in
    the same layer? Or do I have to make a new layer for each. Or is
    the code written wrong? I do have about 50 "_mc" so I would like to
    have the code in one place as well as the images. I hope someone
    out there can help! If you need to butcher the code by all means
    do! That's for having a look!!!!

    the code is great! Even if it should be "i++". The whoe thing
    work's like a charm! It's just what I wanted! Christmass comes
    again! Hay, seeing as I have you hear. Do you have any idea what
    code I should add to the _bt's so when you click on them it fills
    in a form at the bottom of the page? i.e rollOver the button it
    inform's you waht the color is and you click the button and it
    fill's out a combo box form at the bottom.

  • Can you please have a look on this small script?[SOLVED]

    Hello guys,
    I am writing a small script which has to do the following:
    1. It should run without any interruption. (Therefore while [ 1 ])
    2. While working continuously, it should check whether a folder named "check" is available in the folder "/home/arch".
    3. If it is the case, it should execute the script /home/arch/shutdownServer1
    The bash script I am trying to execute is the following:
    #!/bin/bash
    while [ 1 ]
    do
    if [$(ls /home/arch | grep check)="check"]; then
            /home/arch/shutdownServer1
    fi
    done
    I tried to execute the code while the folder named "check" was available in the folder "/home/arch" But I got the following error.
    /home/arch/myscript: line 5: [check=check]: command not found => This implies that the expression "$(ls /home/arch | grep check)" was evaluated correctly because of check=check. But why does it say "command not found"? Since check=check it should be evaluated as true and execute the script shutdownServer1?
    P.S.: myscript is the name of the bash script file.
    Guys, please help me.
    Thanks in advance
    Last edited by Archie_Enthusiasm (2010-11-29 12:20:58)

    Try one of these
    if [ $(ls ~/ | grep check) ]; then
    ~/shutdownServer1
    fi
    or
    [ $(ls ~/ | grep check) ] && ~/shutdownServer1
    Edit: @Allan: thanks for '-d', I completely forgot that
    Last edited by igndenok (2010-11-29 11:59:16)

  • Please have a look at this thread

    hi ,
    i guess this forum is right place for the below thread, so instead of cross posting referring the thread.
    some body please guide me on this
    http://forum.java.sun.com/thread.jspa?threadID=5292095&tstart=0
    Thanks
    R

    hi hpr3 - thatnks for the suggestion.
    I did that. I had one spell this morning when MySpace worked fine. Then it all went back to the spinning wheel.
    I uninstalled again, reinstalled, did the permissions, restarted. Same problem.
    This may be spurious, but during the successful session I noticed that a Quicktime movie file which was on my desktop had a thumbnail image instead of the old style non-picture icon. Now that file has the old style icon. Related, do you think?

  • URGENT ..PLEASE HAVE A LOOK AT THIS :(

    i bought HP Pavilion notebook about an year ago and took good care of it. However 2 months ago i had trouble with my charger so got it replaced. After this, I started facing start up issues which i managed to solve somehow using HP chat support. Now 2 weeks after my laptop went out of warranty my laptop refuses to start at all and when i took it to a HP repair shop i found that my laptop charger was faulty and damaged my motherboard. My laptop needs a new motherboard, which will cost me over 9500 INR!
    When i inquired extending my warranty i found that HP has stopped this service for Pavilion series and now I'm stuck with a huge bill. I'm tired of calling HP support and going to service centre and this issue had already taken more than 20 days.
     People please help me out.Hope i find a solution to my problem here.
    SERIAL NUMBER:<text removed for privacy>

    @rakhmad
    model number: dv5-1002 au , product no:FN402PA
    yup i got it replaced with original HP . Though my previous adapter was 65 W(18.5V) compared to my new charger 90 W(19.5 V)  .I recently checked HP part surfer and didnt found the new charger 463956-001 there .
    Could it be the cause of issue ?The HP service centre who gave me the charger claims that it is comaptible though HP telephone helpline denies it . It has been 20 days and i'm stuck

  • Please, have a look at this issue

    https://discussions.apple.com/message/18046309#18046309

    Hi Topher,
    Thank you.
    Did you say "Doing this should preserve your user files, account settings, and installed applications as they currently are" ?????
    I had no idea....
    I will reinstall then..thanks.

  • Can you have a look at this video and give advice please?

    Hi Guys,
    Can you have a look at this video-
    http://www.youtube.com/watch?v=UA0x3bQUW-g
    I shot it for a friend at a hotel. Can you let me know if if works ok / stutters etc. on your computer.
    I edited hdv pal / ppro cs3 then adobe media encoder to H 264 1280 x 720 25fps bitrate min 2 max 4. keyframes 25.
    It looks pretty bad i think at the normal youtube. It looks a lot better when you hit the 'watch in hd' but begins to stutter.
    Do you have any advice?
    Many thanks
    scott

    First, thank you for doing a very nice piece. I'm a tad bit tired of the "in-your-face" skateboarding pieces. The young lady is also "easy on the eyes."
    Second, I looked at the piece in both resolutions, and also after all buffering had completed. The only things that I saw were one Transition at about the 1/4 point that seemed to have about a 1-frame "glitch," or something. Two of the Titles also did not seem to fade-up/move-in at the same pace, or with the same smoothness as the others. Even looking at movement, like the flag (again near the 1/4 mark - sorry that I did not write down the exact TimeCode), I did not notice any stuttering. I'd better get this out of the way right now, I'm viewing on my laptop's 17" 1680x1050 nVidia GeForce 8800M GTX-512MB display, with full hardware acceleration.
    Not sure what you, and Dan, are seeing. I'm usually a pretty critical observer, though might be missing something important. If you can give me a TimeCode and where, in the frame, you're both seeing the problems, I'll be glad to give it another go.
    Good luck,
    Hunt
    PS I like the mood that both the visuals and music convey. My wife also made note of the URL, for our next trip to the UK in October.

  • Sql Query Tuning. Please help me to tune this query

    Hi All ,
    I have this problematic Sql . It is taking huge time to execute. It contains a view CIDV, which i think is the bottleneck.
    I have pasted the query below. I will be pasting TKPROF and explain plan for the same. Please advice me to tune this query.
    SELECT GCC.SEGMENT1 || '.' || GCC.SEGMENT2 || '.' || GCC.SEGMENT3 || '.' ||
           GCC.SEGMENT4 || '.' || GCC.SEGMENT5 || '.' || GCC.SEGMENT6 || '.' ||
           GCC.SEGMENT7 || '.' || GCC.SEGMENT8 || '.' || GCC.SEGMENT9 OFFSET_ACCOUNT,
           OOD.ORGANIZATION_CODE,
           CIDV.SUBINVENTORY_CODE OFFSET_SUBINV,
           MIL.SEGMENT1 || '.' || MIL.SEGMENT2 || '.' || MIL.SEGMENT3 || '.' ||
           MIL.SEGMENT4 || '.' || MIL.SEGMENT5 OFFSET_LOCATOR,
           CIDV.LAST_UPDATE_LOGIN
      FROM APPS.CST_INV_DISTRIBUTION_V       CIDV,
           APPS.GL_CODE_COMBINATIONS         GCC,
           APPS.MTL_ITEM_LOCATIONS           MIL,
           APPS.ORG_ORGANIZATION_DEFINITIONS OOD
    WHERE CIDV.TRANSACTION_ID = :B2
       AND CIDV.PRIMARY_QUANTITY = (-1) * :B1
       AND CIDV.REFERENCE_ACCOUNT = GCC.CODE_COMBINATION_ID
       AND OOD.ORGANIZATION_ID = CIDV.ORGANIZATION_ID
       AND MIL.INVENTORY_LOCATION_ID = CIDV.LOCATOR_ID
       AND GCC.ACCOUNT_TYPE = 'A'****************
    TKPROF
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute  68337     10.32      10.32          0          0          0           0
    Fetch    68337    229.75     936.36      58819    6743323       1121       68232
    total   136675    240.07     946.69      58819    6743323       1121       68232
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 203     (recursive depth: 1)
    Number of plan statistics captured: 1
    Rows (1st) Rows (avg) Rows (max)  Row Source Operation
             1          1          1  MERGE JOIN CARTESIAN (cr=102 pr=15 pw=0 time=193608 us cost=56 size=219 card=1)
             1          1          1   NESTED LOOPS  (cr=100 pr=15 pw=0 time=193483 us cost=53 size=219 card=1)
             1          1          1    NESTED LOOPS  (cr=99 pr=15 pw=0 time=193407 us cost=52 size=215 card=1)
             1          1          1     NESTED LOOPS  (cr=96 pr=15 pw=0 time=193378 us cost=51 size=190 card=1)
             1          1          1      NESTED LOOPS  (cr=93 pr=15 pw=0 time=193284 us cost=49 size=162 card=1)
             1          1          1       NESTED LOOPS  (cr=89 pr=14 pw=0 time=185515 us cost=46 size=138 card=1)
             1          1          1        NESTED LOOPS  (cr=85 pr=12 pw=0 time=157975 us cost=44 size=81 card=1)
             1          1          1         NESTED LOOPS  (cr=83 pr=12 pw=0 time=157925 us cost=43 size=73 card=1)
             1          1          1          NESTED LOOPS  (cr=81 pr=12 pw=0 time=157641 us cost=43 size=132 card=2)
             1          1          1           VIEW  CST_INV_DISTRIBUTION_V (cr=78 pr=12 pw=0 time=156386 us cost=41 size=118 card=2)
             1          1          1            UNION-ALL  (cr=78 pr=12 pw=0 time=156378 us)
             0          0          0             NESTED LOOPS OUTER (cr=44 pr=9 pw=0 time=124997 us cost=20 size=291 card=1)
             0          0          0              NESTED LOOPS  (cr=44 pr=9 pw=0 time=124993 us cost=18 size=255 card=1)
             0          0          0               NESTED LOOPS  (cr=44 pr=9 pw=0 time=124990 us cost=18 size=251 card=1)
            33         33         33                MERGE JOIN CARTESIAN (cr=25 pr=6 pw=0 time=98544 us cost=14 size=192 card=1)
             1          1          1                 NESTED LOOPS OUTER (cr=22 pr=5 pw=0 time=85754 us cost=12 size=156 card=1)
             1          1          1                  NESTED LOOPS  (cr=19 pr=4 pw=0 time=79830 us cost=10 size=120 card=1)
             1          1          1                   NESTED LOOPS OUTER (cr=17 pr=4 pw=0 time=79813 us cost=9 size=113 card=1)
             1          1          1                    NESTED LOOPS  (cr=15 pr=4 pw=0 time=79752 us cost=8 size=106 card=1)
             1          1          1                     NESTED LOOPS  (cr=11 pr=2 pw=0 time=43120 us cost=6 size=93 card=1)
             1          1          1                      NESTED LOOPS  (cr=7 pr=2 pw=0 time=43087 us cost=4 size=83 card=1)
             1          1          1                       NESTED LOOPS  (cr=6 pr=2 pw=0 time=43072 us cost=4 size=80 card=1)
             1          1          1                        TABLE ACCESS BY INDEX ROWID MTL_MATERIAL_TRANSACTIONS (cr=5 pr=2 pw=0 time=43042 us cost=4 size=76 card=1)
             1          1          1                         INDEX UNIQUE SCAN MTL_MATERIAL_TRANSACTIONS_U1 (cr=4 pr=2 pw=0 time=43011 us cost=3 size=0 card=1)(object id 12484094)
             1          1          1                        INDEX UNIQUE SCAN MTL_TRANSACTION_TYPES_U1 (cr=1 pr=0 pw=0 time=20 us cost=0 size=764 card=191)(object id 9983)
             1          1          1                       INDEX UNIQUE SCAN MTL_TXN_SOURCE_TYPES_U1 (cr=1 pr=0 pw=0 time=7 us cost=0 size=54 card=18)(object id 9987)
             1          1          1                      INDEX UNIQUE SCAN MTL_SYSTEM_ITEMS_B_U1 (cr=4 pr=0 pw=0 time=27 us cost=2 size=736324450 card=73632445)(object id 12484155)
             1          1          1                     INDEX UNIQUE SCAN MTL_SYSTEM_ITEMS_TL_U1 (cr=4 pr=2 pw=0 time=36626 us cost=2 size=957481070 card=73652390)(object id 12484137)
             1          1          1                    TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=2 pr=0 pw=0 time=42 us cost=1 size=3290 card=470)
             1          1          1                     INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=1 pr=0 pw=0 time=28 us cost=0 size=0 card=1)(object id 9847)
             1          1          1                   TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=2 pr=0 pw=0 time=12 us cost=1 size=3290 card=470)
             1          1          1                    INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=1 pr=0 pw=0 time=7 us cost=0 size=0 card=1)(object id 9847)
             0          0          0                  INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=1 pw=0 time=5915 us cost=2 size=36 card=1)(object id 705891)
            33         33         33                 BUFFER SORT (cr=3 pr=1 pw=0 time=12713 us cost=12 size=36 card=1)
            33         33         33                  INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=1 pw=0 time=12582 us cost=2 size=36 card=1)(object id 705891)
             0          0          0                TABLE ACCESS BY INDEX ROWID MTL_TRANSACTION_ACCOUNTS (cr=19 pr=3 pw=0 time=26591 us cost=4 size=59 card=1)
            66         66         66                 INDEX RANGE SCAN MTL_TRANSACTION_ACCOUNTS_N1 (cr=18 pr=2 pw=0 time=13607 us cost=3 size=0 card=3)(object id 12484127)
             0          0          0               INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=0 pr=0 pw=0 time=0 us cost=0 size=4 card=1)(object id 9847)
             0          0          0              INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=0 pr=0 pw=0 time=0 us cost=2 size=36 card=1)(object id 705891)
             1          1          1             NESTED LOOPS  (cr=34 pr=3 pw=0 time=31269 us cost=21 size=288 card=1)
             1          1          1              NESTED LOOPS  (cr=30 pr=3 pw=0 time=31161 us cost=19 size=275 card=1)
             1          1          1               NESTED LOOPS  (cr=26 pr=3 pw=0 time=31105 us cost=17 size=265 card=1)
             1          1          1                NESTED LOOPS  (cr=25 pr=3 pw=0 time=31082 us cost=17 size=261 card=1)
             1          1          1                 NESTED LOOPS OUTER (cr=23 pr=3 pw=0 time=31027 us cost=16 size=254 card=1)
             1          1          1                  NESTED LOOPS  (cr=21 pr=3 pw=0 time=30980 us cost=15 size=247 card=1)
             1          1          1                   NESTED LOOPS  (cr=20 pr=3 pw=0 time=30957 us cost=15 size=243 card=1)
             1          1          1                    NESTED LOOPS OUTER (cr=19 pr=3 pw=0 time=30926 us cost=15 size=240 card=1)
             1          1          1                     NESTED LOOPS  (cr=16 pr=3 pw=0 time=30389 us cost=13 size=204 card=1)
             1          1          1                      NESTED LOOPS  (cr=11 pr=0 pw=0 time=665 us cost=9 size=131 card=1)
             1          1          1                       NESTED LOOPS OUTER (cr=8 pr=0 pw=0 time=306 us cost=7 size=95 card=1)
             1          1          1                        TABLE ACCESS BY INDEX ROWID MTL_TRANSACTION_ACCOUNTS (cr=5 pr=0 pw=0 time=37 us cost=5 size=59 card=1)
             2          2          2                         INDEX RANGE SCAN MTL_TRANSACTION_ACCOUNTS_N1 (cr=4 pr=0 pw=0 time=17 us cost=4 size=0 card=3)(object id 12484127)
             1          1          1                        INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=0 pw=0 time=216 us cost=2 size=36 card=1)(object id 705891)
             1          1          1                       INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=0 pw=0 time=352 us cost=2 size=36 card=1)(object id 705891)
             1          1          1                      TABLE ACCESS BY INDEX ROWID MTL_MATERIAL_TRANSACTIONS (cr=5 pr=3 pw=0 time=29716 us cost=4 size=73 card=1)
             1          1          1                       INDEX RANGE SCAN MTL_MATERIAL_TRANSACTIONS_N23 (cr=4 pr=3 pw=0 time=29588 us cost=3 size=0 card=1)(object id 12484133)
             0          0          0                     INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=0 pw=0 time=520 us cost=2 size=36 card=1)(object id 705891)
             1          1          1                    INDEX UNIQUE SCAN MTL_TXN_SOURCE_TYPES_U1 (cr=1 pr=0 pw=0 time=22 us cost=0 size=3 card=1)(object id 9987)
             1          1          1                   INDEX UNIQUE SCAN MTL_TRANSACTION_TYPES_U1 (cr=1 pr=0 pw=0 time=16 us cost=0 size=4 card=1)(object id 9983)
             1          1          1                  TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=2 pr=0 pw=0 time=34 us cost=1 size=7 card=1)
             1          1          1                   INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=1 pr=0 pw=0 time=19 us cost=0 size=0 card=1)(object id 9847)
             1          1          1                 TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=2 pr=0 pw=0 time=44 us cost=1 size=7 card=1)
             1          1          1                  INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=1 pr=0 pw=0 time=14 us cost=0 size=0 card=1)(object id 9847)
             1          1          1                INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=1 pr=0 pw=0 time=13 us cost=0 size=4 card=1)(object id 9847)
             1          1          1               INDEX UNIQUE SCAN MTL_SYSTEM_ITEMS_B_U1 (cr=4 pr=0 pw=0 time=49 us cost=2 size=10 card=1)(object id 12484155)
             1          1          1              INDEX UNIQUE SCAN MTL_SYSTEM_ITEMS_TL_U1 (cr=4 pr=0 pw=0 time=96 us cost=2 size=13 card=1)(object id 12484137)
             1          1          1           TABLE ACCESS BY INDEX ROWID HR_ALL_ORGANIZATION_UNITS (cr=3 pr=0 pw=0 time=1246 us cost=1 size=7 card=1)
             1          1          1            INDEX UNIQUE SCAN HR_ORGANIZATION_UNITS_PK (cr=2 pr=0 pw=0 time=24 us cost=0 size=0 card=1)(object id 250158)
             1          1          1          INDEX UNIQUE SCAN HR_ALL_ORGANIZATION_UNTS_TL_PK (cr=2 pr=0 pw=0 time=275 us cost=0 size=7 card=1)(object id 689101)
             1          1          1         TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=2 pr=0 pw=0 time=38 us cost=1 size=8 card=1)
             1          1          1          INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=1 pr=0 pw=0 time=15 us cost=0 size=0 card=1)(object id 9847)
             1          1          1        TABLE ACCESS BY INDEX ROWID GL_CODE_COMBINATIONS (cr=4 pr=2 pw=0 time=27531 us cost=2 size=57 card=1)
             1          1          1         INDEX UNIQUE SCAN GL_CODE_COMBINATIONS_U1 (cr=3 pr=1 pw=0 time=19925 us cost=1 size=0 card=1)(object id 51426)
             1          1          1       TABLE ACCESS BY INDEX ROWID MTL_ITEM_LOCATIONS (cr=4 pr=1 pw=0 time=7758 us cost=3 size=24 card=1)
             1          1          1        INDEX RANGE SCAN MTL_ITEM_LOCATIONS_U1 (cr=3 pr=0 pw=0 time=51 us cost=2 size=0 card=1)(object id 9761)
             1          1          1      TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=3 pr=0 pw=0 time=85 us cost=2 size=28 card=1)
             1          1          1       INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK2 (cr=2 pr=0 pw=0 time=29 us cost=1 size=0 card=2)(object id 5379798)
             1          1          1     TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=3 pr=0 pw=0 time=25 us cost=1 size=25 card=1)
             1          1          1      INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK2 (cr=2 pr=0 pw=0 time=11 us cost=1 size=0 card=1)(object id 5379798)
             1          1          1    INDEX FULL SCAN GL_SETS_OF_BOOKS_U2 (cr=1 pr=0 pw=0 time=69 us cost=1 size=4 card=1)(object id 1380842)
             1          1          1   BUFFER SORT (cr=2 pr=0 pw=0 time=110 us cost=55 size=0 card=1)
             1          1          1    TABLE ACCESS FULL FND_PRODUCT_GROUPS (cr=2 pr=0 pw=0 time=59 us cost=3 size=0 card=1)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      library cache lock                              2        0.00          0.00
      library cache pin                               2        0.00          0.00
      Disk file operations I/O                      249        0.00          0.00
      db file sequential read                     58819        2.61        714.28
      gc cr grant 2-way                            5198        0.16          4.52
      gc current grant busy                           1        0.00          0.00
      KJC: Wait for msg sends to complete           517        0.00          0.05
      library cache: mutex X                        433        0.01          0.04
      gc cr grant congested                          28        0.08          0.18
      latch: ges resource hash list                   5        0.00          0.00
      gc current block 2-way                        513        0.11          0.61
      gc current block congested                      2        0.00          0.00
      latch: gc element                              16        0.00          0.01
      latch: cache buffers chains                     4        0.00          0.00
      latch: object queue header operation            3        0.00          0.00
    ********************************************************************************

    Explain Plan for the query
    SELECT STATEMENT, GOAL = ALL_ROWS               Cost=56     Cardinality=1     Bytes=219
    MERGE JOIN CARTESIAN               Cost=56     Cardinality=1     Bytes=219
      NESTED LOOPS               Cost=53     Cardinality=1     Bytes=219
       NESTED LOOPS               Cost=52     Cardinality=1     Bytes=215
        NESTED LOOPS               Cost=51     Cardinality=1     Bytes=190
         NESTED LOOPS               Cost=49     Cardinality=1     Bytes=162
          NESTED LOOPS               Cost=46     Cardinality=1     Bytes=138
           NESTED LOOPS               Cost=44     Cardinality=1     Bytes=81
            NESTED LOOPS               Cost=43     Cardinality=1     Bytes=73
             NESTED LOOPS               Cost=43     Cardinality=2     Bytes=132
              VIEW     Object owner=APPS     Object name=CST_INV_DISTRIBUTION_V     Cost=41     Cardinality=2     Bytes=118
               UNION-ALL                         
                NESTED LOOPS OUTER               Cost=20     Cardinality=1     Bytes=291
                 NESTED LOOPS               Cost=18     Cardinality=1     Bytes=255
                  NESTED LOOPS               Cost=18     Cardinality=1     Bytes=251
                   MERGE JOIN CARTESIAN               Cost=14     Cardinality=1     Bytes=192
                    NESTED LOOPS OUTER               Cost=12     Cardinality=1     Bytes=156
                     NESTED LOOPS               Cost=10     Cardinality=1     Bytes=120
                      NESTED LOOPS OUTER               Cost=9     Cardinality=1     Bytes=113
                       NESTED LOOPS               Cost=8     Cardinality=1     Bytes=106
                        NESTED LOOPS               Cost=6     Cardinality=1     Bytes=93
                         NESTED LOOPS               Cost=4     Cardinality=1     Bytes=83
                          NESTED LOOPS               Cost=4     Cardinality=1     Bytes=80
                           TABLE ACCESS BY INDEX ROWID     Object owner=INV     Object name=MTL_MATERIAL_TRANSACTIONS     Cost=4     Cardinality=1     Bytes=76
                            INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_MATERIAL_TRANSACTIONS_U1     Cost=3     Cardinality=1     
                           INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_TRANSACTION_TYPES_U1     Cost=0     Cardinality=191     Bytes=764
                          INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_TXN_SOURCE_TYPES_U1     Cost=0     Cardinality=18     Bytes=54
                         INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_SYSTEM_ITEMS_B_U1     Cost=2     Cardinality=73632445     Bytes=736324450
                        INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_SYSTEM_ITEMS_TL_U1     Cost=2     Cardinality=73652390     Bytes=957481070
                       TABLE ACCESS BY INDEX ROWID     Object owner=INV     Object name=MTL_PARAMETERS     Cost=1     Cardinality=470     Bytes=3290
                        INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_PARAMETERS_U1     Cost=0     Cardinality=1     
                      TABLE ACCESS BY INDEX ROWID     Object owner=INV     Object name=MTL_PARAMETERS     Cost=1     Cardinality=470     Bytes=3290
                       INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_PARAMETERS_U1     Cost=0     Cardinality=1     
                     INDEX RANGE SCAN     Object owner=APPLSYS     Object name=FND_LOOKUP_VALUES_U1     Cost=2     Cardinality=1     Bytes=36
                    BUFFER SORT               Cost=12     Cardinality=1     Bytes=36
                     INDEX RANGE SCAN     Object owner=APPLSYS     Object name=FND_LOOKUP_VALUES_U1     Cost=2     Cardinality=1     Bytes=36
                   TABLE ACCESS BY INDEX ROWID     Object owner=INV     Object name=MTL_TRANSACTION_ACCOUNTS     Cost=4     Cardinality=1     Bytes=59
                    INDEX RANGE SCAN     Object owner=INV     Object name=MTL_TRANSACTION_ACCOUNTS_N1     Cost=3     Cardinality=3     
                  INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_PARAMETERS_U1     Cost=0     Cardinality=1     Bytes=4
                 INDEX RANGE SCAN     Object owner=APPLSYS     Object name=FND_LOOKUP_VALUES_U1     Cost=2     Cardinality=1     Bytes=36
                NESTED LOOPS               Cost=21     Cardinality=1     Bytes=288
                 NESTED LOOPS               Cost=19     Cardinality=1     Bytes=275
                  NESTED LOOPS               Cost=17     Cardinality=1     Bytes=265
                   NESTED LOOPS               Cost=17     Cardinality=1     Bytes=261
                    NESTED LOOPS OUTER               Cost=16     Cardinality=1     Bytes=254
                     NESTED LOOPS               Cost=15     Cardinality=1     Bytes=247
                      NESTED LOOPS               Cost=15     Cardinality=1     Bytes=243
                       NESTED LOOPS OUTER               Cost=15     Cardinality=1     Bytes=240
                        NESTED LOOPS               Cost=13     Cardinality=1     Bytes=204
                         NESTED LOOPS               Cost=9     Cardinality=1     Bytes=131
                          NESTED LOOPS OUTER               Cost=7     Cardinality=1     Bytes=95
                           TABLE ACCESS BY INDEX ROWID     Object owner=INV     Object name=MTL_TRANSACTION_ACCOUNTS     Cost=5     Cardinality=1     Bytes=59
                            INDEX RANGE SCAN     Object owner=INV     Object name=MTL_TRANSACTION_ACCOUNTS_N1     Cost=4     Cardinality=3     
                           INDEX RANGE SCAN     Object owner=APPLSYS     Object name=FND_LOOKUP_VALUES_U1     Cost=2     Cardinality=1     Bytes=36
                          INDEX RANGE SCAN     Object owner=APPLSYS     Object name=FND_LOOKUP_VALUES_U1     Cost=2     Cardinality=1     Bytes=36
                         TABLE ACCESS BY INDEX ROWID     Object owner=INV     Object name=MTL_MATERIAL_TRANSACTIONS     Cost=4     Cardinality=1     Bytes=73
                          INDEX RANGE SCAN     Object owner=INV     Object name=MTL_MATERIAL_TRANSACTIONS_N23     Cost=3     Cardinality=1     
                        INDEX RANGE SCAN     Object owner=APPLSYS     Object name=FND_LOOKUP_VALUES_U1     Cost=2     Cardinality=1     Bytes=36
                       INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_TXN_SOURCE_TYPES_U1     Cost=0     Cardinality=1     Bytes=3
                      INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_TRANSACTION_TYPES_U1     Cost=0     Cardinality=1     Bytes=4
                     TABLE ACCESS BY INDEX ROWID     Object owner=INV     Object name=MTL_PARAMETERS     Cost=1     Cardinality=1     Bytes=7
                      INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_PARAMETERS_U1     Cost=0     Cardinality=1     
                    TABLE ACCESS BY INDEX ROWID     Object owner=INV     Object name=MTL_PARAMETERS     Cost=1     Cardinality=1     Bytes=7
                     INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_PARAMETERS_U1     Cost=0     Cardinality=1     
                   INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_PARAMETERS_U1     Cost=0     Cardinality=1     Bytes=4
                  INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_SYSTEM_ITEMS_B_U1     Cost=2     Cardinality=1     Bytes=10
                 INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_SYSTEM_ITEMS_TL_U1     Cost=2     Cardinality=1     Bytes=13
              TABLE ACCESS BY INDEX ROWID     Object owner=HR     Object name=HR_ALL_ORGANIZATION_UNITS     Cost=1     Cardinality=1     Bytes=7
               INDEX UNIQUE SCAN     Object owner=HR     Object name=HR_ORGANIZATION_UNITS_PK     Cost=0     Cardinality=1     
             INDEX UNIQUE SCAN     Object owner=HR     Object name=HR_ALL_ORGANIZATION_UNTS_TL_PK     Cost=0     Cardinality=1     Bytes=7
            TABLE ACCESS BY INDEX ROWID     Object owner=INV     Object name=MTL_PARAMETERS     Cost=1     Cardinality=1     Bytes=8
             INDEX UNIQUE SCAN     Object owner=INV     Object name=MTL_PARAMETERS_U1     Cost=0     Cardinality=1     
           TABLE ACCESS BY INDEX ROWID     Object owner=GL     Object name=GL_CODE_COMBINATIONS     Cost=2     Cardinality=1     Bytes=57
            INDEX UNIQUE SCAN     Object owner=GL     Object name=GL_CODE_COMBINATIONS_U1     Cost=1     Cardinality=1     
          TABLE ACCESS BY INDEX ROWID     Object owner=INV     Object name=MTL_ITEM_LOCATIONS     Cost=3     Cardinality=1     Bytes=24
           INDEX RANGE SCAN     Object owner=INV     Object name=MTL_ITEM_LOCATIONS_U1     Cost=2     Cardinality=1     
         TABLE ACCESS BY INDEX ROWID     Object owner=HR     Object name=HR_ORGANIZATION_INFORMATION     Cost=2     Cardinality=1     Bytes=28
          INDEX RANGE SCAN     Object owner=HR     Object name=HR_ORGANIZATION_INFORMATIO_FK2     Cost=1     Cardinality=2     
        TABLE ACCESS BY INDEX ROWID     Object owner=HR     Object name=HR_ORGANIZATION_INFORMATION     Cost=1     Cardinality=1     Bytes=25
         INDEX RANGE SCAN     Object owner=HR     Object name=HR_ORGANIZATION_INFORMATIO_FK2     Cost=1     Cardinality=1     
       INDEX FULL SCAN     Object owner=GL     Object name=GL_SETS_OF_BOOKS_U2     Cost=1     Cardinality=1     Bytes=4
      BUFFER SORT               Cost=55     Cardinality=1     
       TABLE ACCESS FULL     Object owner=APPLSYS     Object name=FND_PRODUCT_GROUPS     Cost=3     Cardinality=1     

  • Please take a look at this. Attempting to make a professional brochure/bound 5-page presentation.

    Please take a look at this template I made for a Statement of Qualifications pamphlet.
    Here is a link to google drive. I made this template from scratch in Photoshop CS6.
    SOQ Page_Blank(no lettering).pdf - Google Drive
    What I am curious about, is that some of the lettering often looks blurry, although the page is 500pixels per inch 8.5x11, 76MB .psd file. What can I do about that?
    Also, I want to make it easy to write and edit the actual content that will go onto the page. Not all of us here have photoshop to edit the lettering. Is there a way I can export this to word so they can edit the content whenever? Are there better options (programs) to help me design this template? I am guessing I am somewhat pushing photoshops limit as to making a bound 5-page presentation. I am stuck and would like this to be easier. All suggestions for both of my questions as well as overall action toward making this would be great.
    Here is an example of a SOQ Pamphlet that I have been using as reference. In my eyes the design is perfect!
    http://www.ch2m.com/corporate/markets/environmental/conferences/setac-2013/assets/CH2M-HIL L-land-conservation-restoratio…
    Any help is great,
    Thanks,
    Adam

    Since photoshop can not do pages, your on the right track by using pdf format. Since it can do pages, but really requires acrobat pro to bind the pages together.
    Your best bet is InDesign then Illustrator would be the next option. Each of these can do multi page documents.
    There is absolutely no reason to use 500px/inch for the resolution anything between 150 and 300 would suffice leaning towards 300ppi.
    If the text is blurred a few things that can cause that, 1) anti-aliasing 2) document was created as a low resolution then upsampled 3) text is rasterized 4) document is rasterized.

  • Please help to re-write this query using exists or with

    Hi please help to re-write this query using exists or with, i need to write same code for 45 day , 90 days and so on but sub query condition is same for all
    SELECT SUM (DECODE (t_one_mon_c_paid_us, 0, 0, 1)) t_two_y_m_mul_ca_
    FROM (SELECT SUM (one_mon_c_paid_us) t_one_mon_c_paid_us
    FROM (
    SELECT a.individual_id individual_id,
    CASE
    WHEN NVL
    (b.ship_dt,
    TO_DATE ('05-MAY-1955')
    ) >= SYSDATE - 45
    AND a.country_cd = 'US'
    AND b.individual_id in (
    SELECT UNIQUE c.individual_id
    FROM order c
    WHERE c.prod_cd = 'A'
    AND NVL (c.last_payment_dt,
    TO_DATE ('05-MAY-1955')
    ) >= SYSDATE - 745)
    THEN 1
    ELSE 0
    END AS one_mon_c_paid_us
    FROM items b, addr a, product d
    WHERE b.prod_id = d.prod_id
    AND d.affinity_1_cd = 'ADH'
    AND b.individual_id = a.individual_id)
    GROUP BY individual_id)
    Edited by: user4522368 on Aug 23, 2010 9:11 AM

    Please try and place \ before and after you code \Could you not remove the inline column select with the following?
    SELECT a.individual_id individual_id
         ,CASE
            when b.Ship_dt is null then
              3
            WHEN b.ship_dt >= SYSDATE - 90
              3
            WHEN b.ship_dt >= SYSDATE - 45
              2
            WHEN b.ship_dt >= SYSDATE - 30
              1
          END AS one_mon_c_paid_us
    FROM  items           b
         ,addr            a
         ,product         d
         ,order           o
    WHERE b.prod_id       = d.prod_id
    AND   d.affinity_1_cd = 'ADH'
    AND   b.individual_id = a.individual_id
    AND   b.Individual_ID = o.Individual_ID
    and   o.Prod_CD       = 'A'             
    and   NVL (o.last_payment_dt,TO_DATE ('05-MAY-1955') ) >= SYSDATE - 745
    and   a.Country_CD    = 'US'

Maybe you are looking for

  • APEX listener returns blank login page

    APEX 4.2.2 APEX listener 2.0.2 Glassfish 3.1.2.2 Platform is 32bit Linux, Amazon EC2 I am reasonably certain that I have deployed apex.war and i.war correctly to Glassfish, and defined a virtual path and a database connection correctly. When running

  • Download/install error in CC App

    Hello, Whenever I try to download & install an app from the CC App installed on my Windows 7 64-bit laptop, I get this undefined download error (image attached).  The only way to fix this is to re-install the CC app then go and try again, which then

  • SQL Conectivity error (1418) on SQL Mirroring in SQL Server_2014 Enterprises

    I perform this subjected task/activity in DOMAIN environment with Multiple VPN. No matter what I try, I constantly run into a 1418 error, I've check all my tcp/ip configs both in sql, and the server 2012 os, on both vms/physical machine.  I've enable

  • Starting weblogic cluster and admin server on Win 2000 platform

    Hi! Here's my problem scenario: I'm running my WLS 8.1 application as WLS cluster on Win 2000 platform. I have 3 replicated WLS servers in my cluster and of course one WLS server as admin server (4 WLS servers all together). I'm starting my WLS appli

  • Message app keeps crashing

    Recently I upgraded to Android lollipop but after that the message app just won't open and keeps on crashing when I click on it. Can anyone help me on this?