Storing and Writing Settings

Hey,
Sorry if the topic is misleading, but basically I'm looking for a better way to store and retrieve settings/properties to/from files.
Currently I'm using "Properties", but I'm a bit worried as to how it stores the settings.
Eg. If mutiple objects load the Properties file, and other objects modify the Properties file before the first object stores settings will be lost.
Obj1 -> Loads Properties file
Obj2 -> Loads Properties file
Obj2 -> Changes Property
Obj2 -> Stores
Obj1 -> Changes Property
Obj1 -> Stores.
Everthing changed from Obj2 will be lost.
Is there a better API/Way of doing it?
I'm writing a Server/Client Instant Messenger (out of boredom) with an Admin Console. Basically the admin can change any of the users settings, BUT if the user currently has these settings loaded and stores after the admin has all admin changes are undone.
Even just some way to change a single Property at a time would fix this.
I've read up a little on the Preferences API but not totally sure if this is what I want.
Thanks in advance, and sorry for any confusion above :)

The only time it could possibly occur is in the
milliseconds it takes to:
load config
change properties
save configUnderstood, but I come from a world where code gets pounded hard 24/7/365. Given enough uptime, every improbable situation becomes inevitable. The thing you think will never happen is always the thing that bites you in the ass. This environment may have made me too paranoid.
I'll look into cleaning that up a bit though using the
methods you mentioned above.
This whole project is just me wasting some time while
learning. And deciding the chances are small enough
not to worry about it is probably a bad habit to
start.I'd consider using both of my suggestions. There's probably no reason to couple systemwide settings and user settings. Give each user its own settings that are persisted independently. Make all references to system or user settings coordinate through a single, unified view of the settings. Don't let clients "check out" settings unless you want to add transaction support. In other words, don't let two objects get their own copies of the settings and then send them back when they've changed. Make every object work with the the only instance of the settings.

Similar Messages

  • WHERE ARE "DESKTOP" AND "DOCK" SETTINGS STORED?

    I want to backup my desktop and dock settings. Where are they stored so that I can do this?
    Thx.
    Mike

    If you are backing up your home folder, you are also backing up your user prefs all of which are stored in "Your User Name"/Library/Preferences. There are several other "Preferences" folders that contain "global" prefs, namely /Library/Preferences and /System/Library/Preferences.
    One potential "trap" though... corrupted prefs files are often the cause of anomalous system behavour so saved prefs should be copied back into new folders with caution.

  • Reading the Blob and writing it to an external file in an xml tree format

    Hi,
    We have a table by name clarity_response_log and content of the column(Response_file) is BLOB and we have xml file or xml content in that column. Most probably the column or table may be having more than 5 records and hence we need to read the corresponding blob content and write to an external file.
    CREATE TABLE CLARITY_RESPONSE_LOG
      REQUEST_CODE   NUMBER,
      RESPONSE_FILE  BLOB,
      DATE_CRATED    DATE                           NOT NULL,
      CREATED_BY     NUMBER                         NOT NULL,
      UPDATED_BY     NUMBER                         DEFAULT 1,
      DATE_UPDATED   VARCHAR2(20 BYTE)              DEFAULT SYSDATE
    )The xml content in the insert statement is very small because of some reason and cannot be made public and indeed we have a very big xml file stored in the BLOB column or Response_File column
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (5, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (6, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (7, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (8, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');
    Insert into CLARITY_RESPONSE_LOG
       (REQUEST_CODE, RESPONSE_FILE, DATE_CRATED, CREATED_BY, UPDATED_BY, DATE_UPDATED)
    Values
       (9, '<?xml version="1.0" encoding="UTF-8"?><xml-response><phone-number>1212121212</tracking-number></xml-response>', TO_DATE('09/23/2010 09:01:34', 'MM/DD/YYYY HH24:MI:SS'), 1, 1, '23-SEP-10');THe corresponding proc for reading the data and writing the data to an external file goes something like this
    SET serveroutput ON
    DECLARE
       vstart     NUMBER             := 1;
       bytelen    NUMBER             := 32000;
       len        NUMBER;
       my_vr      RAW (32000);
       x          NUMBER;
       l_output   UTL_FILE.FILE_TYPE;
    BEGIN
    -- define output directory
       l_output :=
          UTL_FILE.FOPEN ('CWFSTORE_RESPONCE_XML', 'extract500.txt', 'wb', 32760);
       vstart := 1;
       bytelen := 32000;
    ---get the Blob locator
       FOR rec IN (SELECT response_file vblob
                     FROM clarity_response_log
                    WHERE TRUNC (date_crated) = TRUNC (SYSDATE - 1))
       LOOP
    --get length of the blob
    len := DBMS_LOB.getlength (rec.vblob);
          DBMS_OUTPUT.PUT_LINE (len);
          x := len;
    ---- If small enough for a single write
    IF len < 32760
          THEN
             UTL_FILE.put_raw (l_output, rec.vblob);
             UTL_FILE.FFLUSH (l_output);
          ELSE  
    -------- write in pieces
             vstart := 1;
             WHILE vstart < len AND bytelen > 0
             LOOP
                DBMS_LOB.READ (rec.vblob, bytelen, vstart, my_vr);
                UTL_FILE.put_raw (l_output, my_vr);
                UTL_FILE.FFLUSH (l_output);
    ---------------- set the start position for the next cut
                vstart := vstart + bytelen;
    ---------- set the end position if less than 32000 bytes
                x := x - bytelen;
                IF x < 32000
                THEN
                   bytelen := x;
                END IF;
                UTL_FILE.NEW_LINE (l_output);
             END LOOP;
    ----------------- --- UTL_FILE.NEW_LINE(l_output);
          END IF;
       END LOOP;
       UTL_FILE.FCLOSE (l_output);
    END;The above code works well and all the records or xml contents are being written simultaneously adjacent to each other but we each records must be written to a new line or there must be a line gap or a blank line between any two records
    the code which I get is as follow all all xml data comes on a single line
    <?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7369</empno><ename>James</ename><job>Manager</job><salary>1000</salary></emp><?xml version="1.0" encoding="ISO-8859-1"?><emp><empno>7370</empno><ename>charles</ename><job>President</job><salary>500</salary></emp>But the code written to an external file has to be something like this.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <emp>
      <empno>7369</empno>
      <ename>James</ename>
      <job>Manager</job>
      <salary>1000</salary>
    </emp>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <emp>
    <empno>7370</empno>
    <ename>charles</ename>
    <job>President</job>
    <salary>500</salary>
    </emp>Please advice

    What was wrong with the previous answers given on your other thread:
    Export Blob data to text file(-29285-ORA-29285: file write error)
    If there's a continuing issue, stay with the same thread, don't just ask the same question again and again, it's really Pi**es people off and causes confusion as not everyone will be familiar with what answers you've already had. You're just wasting people's time by doing that.
    As already mentioned before, convert your BLOB to a CLOB and then to XMLTYPE where it can be treated as XML and written out to file in a variety of ways including the way I showed you on the other thread.
    You really seem to be struggling to get the worst possible way to work.

  • Problem on reading and writing from from a *.txt file

    I get Problem on reading and writing from from a *.txt file. The following is the read() method...
    The software said the DataInputStream is depreciated. Can anyone help me please?
    public void read()
        File file = new File("C://Documents and Settings//Charles//My Documents//Brunel//EE2065//Assignment and Lab//Assignment 4 and Lab 4//data.txt");
        FileInputStream in = null;
        String str = "";
        try
          in = new BufferedReader(file);
          //in = new FileInputStream(file);
          for(;;)
            str = new BufferedReader(in).readLine();
            //str = new DataInputStream(in).readLine();
            if(str == null)
              break;
            System.out.print(str);
        in.close();
        catch(IOException e)
            System.err.println("execution error: " +e);
      }

    Thank you for your reply. I have made some change. However, there is an incompetable type found error.
    in = new BufferedReader(new InputStreamReader(in));The following are all of the code.
    public void read()
        File file = new File("C://Documents and Settings//Charles//My Documents//Brunel//EE2065//Assignment and Lab//Assignment 4 and Lab 4//data.txt");
        FileInputStream in = null;
        //BufferedReader in = null;
        String str = "";
        try
          in = new BufferedReader(new InputStreamReader(in));
          //in = new FileInputStream(file);
          for(;;)
            BufferedReader Bstr = new BufferedReader(new InputStreamReader(in));
            //str = new BufferedReader(in).readLine();
            //str = new DataInputStream(in).readLine();
            if(str == null)
              break;
            System.out.print(str);
        in.close();
        catch(IOException e)
            System.err.println("execution error: " +e);

  • Problem in reading no. of files and writing into a single file

    Hi,
    Iam with Problem in reading no. of files and writing into a single file....
    Iam reading no. of files stored in local directory.......
    Iam able to read and print the data in files successfully....but while writing..only first file is being written...and the next files are not written in my output file...
    plz tell me my mistake....I hope Iam doing some mistake while writing into file...PLz help.....
    Basically my code structure is like this....
    import java.io.*;
    import java.util.regex.*;
    import java.util.*;
    import java.text.*;
    import org.apache.poi.poifs.filesystem.POIFSFileSystem;
    import org.apache.poi.hssf.usermodel.HSSFWorkbook;
    import org.apache.poi.hssf.usermodel.HSSFSheet;
    import org.apache.poi.hssf.usermodel.HSSFRow;
    import org.apache.poi.hssf.usermodel.HSSFCell;
    class Writing {
    public static void main(String args[]) throws Exception {
              FileOutputStream fileOut = new FileOutputStream("ServerResult.xls"); //my output file
              int counter = 1;
              File dir = new File("C:/Perform/ServerLogs");
              String[] children = dir.list();
              if( children == null)
                   System.out.println("The Directory mentioned does not exist");
              else {
                   for (int fileNo = 0; fileNo < children.length; fileNo++ ) {        //Files iteration starts
                        String filename = children[fileNo];
              File logFile = new File(filename);
    FileReader logFileReader = new FileReader(logFile);
    BufferedReader logReader = new BufferedReader(logFileReader);
    StringBuffer sBuf = new StringBuffer(5000);
              HSSFWorkbook wb = new HSSFWorkbook();          
              HSSFSheet sheet = wb.createSheet();
              HSSFRow rowTitle;
              HSSFRow rowReq;
              HSSFRow rowRes;
    String aLine = null;
    boolean skip = false;
    boolean readed = false;
    boolean initReq = false;
              boolean flag = false;
    long requestTime = 0;
    long responseTime = 0;
    long recdTime = 0;
    long sentTime = 0;
              long hasTime = 0;
              long presentTime = 0;
              int hasCalls = 0;
    Pattern startMessage = Pattern.compile("^<MESSAGE.*ID=\".*_"+args[0]+"\".*", Pattern.DOTALL);
    Pattern requestMessage = Pattern.compile("^<MESSAGE.*TS=\"(.*)\" CATEGORY=\"RequestMsg.\".*ID=\".*_"+args[0]+"\".*<ActName>(.*)</ActName>.*", Pattern.DOTALL);
    Pattern requestMessage1 = Pattern.compile("^<MESSAGE.*TS=\"(.*)\" CATEGORY=\"RequestMsg.\".*ID=\".*_"+args[0]+"\".*<Svc id=\"(.*)\">.*", Pattern.DOTALL);
    Pattern responseMessage = Pattern.compile("^<MESSAGE.*TS=\"(.*)\" CATEGORY=\"ResponseMsg\".*ID=\".*_"+args[0]+"\".*", Pattern.DOTALL);
    Pattern initMessage = Pattern.compile("^<MESSAGE.*TS=\"(.*)\" CATEGORY=\"HostConnInit\".*ID=\".*_"+args[0]+"\".*", Pattern.DOTALL);
    Pattern initResMessage = Pattern.compile("^<MESSAGE.*TS=\"(.*)\" CATEGORY=\"ResponseMsg\".*ID=\"null\".*", Pattern.DOTALL);
    Pattern initResIDMessage = Pattern.compile("^<MESSAGE.*TS=\"(.*)\" CATEGORY=\"ResponseMsg\".*ID=\"null\".*<IATA>"+args[0]+"</IATA>.*", Pattern.DOTALL);
              Pattern sentMessage = Pattern.compile("^<MESSAGE.*TS=\"(.*)\" CATEGORY=\"DCMsgSentInfo\".*ID=\".*_"+args[0]+"\".*", Pattern.DOTALL);
              Pattern rcvdMessage = Pattern.compile("^<MESSAGE.*TS=\"(.*)\" CATEGORY=\"DCMsgRcvdInfo\".*ID=\".*_"+args[0]+"\".*", Pattern.DOTALL);
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
    DecimalFormat dcf = new DecimalFormat("########.##");
    String actName = "";
              if (fileNo ==0)
              rowTitle = sheet.createRow((short)0);
              rowTitle.createCell((short)0).setCellType(HSSFCell.CELL_TYPE_STRING);
              rowTitle.createCell((short)0).setCellValue("Req/Res");
              rowTitle.createCell((short)1).setCellType(HSSFCell.CELL_TYPE_STRING);
              rowTitle.createCell((short)1).setCellValue("Action");
              rowTitle.createCell((short)2).setCellType(HSSFCell.CELL_TYPE_STRING);
              rowTitle.createCell((short)2).setCellValue("Server Time(in ms)");
              rowTitle.createCell((short)3).setCellType(HSSFCell.CELL_TYPE_STRING);
              rowTitle.createCell((short)3).setCellValue("Request Vs Response Time in Server(in ms)");
              rowTitle.createCell((short)4).setCellType(HSSFCell.CELL_TYPE_STRING);
              rowTitle.createCell((short)4).setCellValue("Time Taken By HAS/HOST(in ms)");
              rowTitle.createCell((short)5).setCellType(HSSFCell.CELL_TYPE_STRING);
              rowTitle.createCell((short)5).setCellValue("No. of HAS calls");
              rowTitle.createCell((short)6).setCellType(HSSFCell.CELL_TYPE_STRING);
              rowTitle.createCell((short)6).setCellValue("Data Size");
              //wb.write(fileOut);
    while((aLine=logReader.readLine()) != null) {
    if(aLine.startsWith("<MESSAGE TYPE=\"EVENT\"")) {
    Matcher m = startMessage.matcher(aLine);
    if(m.find()) {
    sBuf.setLength(0);
    sBuf.append(aLine);
    skip = false;
    initReq = false;
    m = initMessage.matcher(aLine);
    if(m.find()) {
    initReq = true;
    } else {
    if(initReq) {
    m = initResMessage.matcher(aLine);
    if(m.find()) {
    sBuf.setLength(0);
    sBuf.append(aLine);
    skip = false;
    } else if(aLine.startsWith("</MESSAGE>")) {
    if(!skip) {
    sBuf.append(aLine);
    readed = true;
    } else if(!skip){
    sBuf.append(aLine);
    if(!skip && readed) {
    String tempStr = sBuf.toString();
    if(tempStr.length() > 0) {
    boolean reqMatched = false;
    Matcher m = null;
    if(initReq) {
    m = initMessage.matcher(tempStr);
    actName = "Intialization";
    } else {
    m = requestMessage.matcher(tempStr);
    String time = "";
    if(m.find()) {
    reqMatched = true;
    for (int i=1; i<=m.groupCount(); i++) {
    String groupStr = m.group(i);
    if(i == 1) {
    time = groupStr;
    } else if(i == 2) {
    actName = groupStr;
    } else if(!initReq){
    m = requestMessage1.matcher(tempStr);
    if(m.find()) {
    reqMatched = true;
    for (int i=1; i<=m.groupCount(); i++) {
    String groupStr = m.group(i);
    if(i == 1) {
    time = groupStr;
    } else if(i == 2) {
    actName = groupStr;
    if(time.length() > 0 ) {
    try{
    requestTime = sdf.parse(time).getTime();
    }catch(Exception ex){}
    System.out.println("Request,"+actName+","+time+",,,,"+dcf.format(((double)time.length()/1024.0))+"K");
                                  //bw.write("Request,"+actName+","+time+",,,,"+dcf.format(((double)time.length()/1024.0))+"K");
                                  String reqDataSize = dcf.format(((double)time.length()/1024.0))+"K" ;
                                  rowReq = sheet.createRow((short)counter);
                                       rowReq.createCell((short)0).setCellType(HSSFCell.CELL_TYPE_STRING);
                                       rowReq.createCell((short)0).setCellValue("Request");
                                       rowReq.createCell((short)1).setCellType(HSSFCell.CELL_TYPE_STRING);
                                       rowReq.createCell((short)1).setCellValue(actName);
                                       rowReq.createCell((short)2).setCellType(HSSFCell.CELL_TYPE_STRING);
                                       rowReq.createCell((short)2).setCellValue(time);
                                       rowReq.createCell((short)3).setCellType(HSSFCell.CELL_TYPE_STRING);
                                       rowReq.createCell((short)3).setCellValue("");
                                       rowReq.createCell((short)4).setCellType(HSSFCell.CELL_TYPE_STRING);
                                       rowReq.createCell((short)4).setCellValue("");
                                       rowReq.createCell((short)5).setCellType(HSSFCell.CELL_TYPE_STRING);
                                       rowReq.createCell((short)5).setCellValue("");
                                       rowReq.createCell((short)6).setCellType(HSSFCell.CELL_TYPE_STRING);
                                       rowReq.createCell((short)6).setCellValue(reqDataSize);
                                       counter = counter +1;
                                       System.out.println("counter is "+counter);
                             Matcher l = sentMessage.matcher(tempStr);
                             Matcher k = rcvdMessage.matcher(tempStr);
                   if(l.find()) {
                                            for (int i=1; i<=l.groupCount(); i++) {
         String groupStr2 = l.group(i);
    try{
    sentTime = sdf.parse(groupStr2).getTime();
    }catch(Exception ex){}
                        if(k.find())
                                                 for(int j=1;j<=k.groupCount(); j++) {
                                                 String groupStr1 = k.group(j);
                                                 try{
    recdTime = sdf.parse(groupStr1).getTime();
    }catch(Exception ex){}
                                                 presentTime = (recdTime - sentTime);
                                                 hasTime = hasTime + presentTime;
                                                 hasCalls = hasCalls +1;
    if(!reqMatched) {
    if(initReq) {
    m=initResIDMessage.matcher(tempStr);
    } else {
    m=responseMessage.matcher(tempStr);
    if(m.find()) {
    for (int i=1; i<=m.groupCount(); i++) {
    String groupStr = m.group(i);
    try{
    responseTime = sdf.parse(groupStr).getTime();
    }catch(Exception ex){}
                                                 String resDataSize = dcf.format(((double)tempStr.length()/1024.0))+"K" ;
                                                 rowRes = sheet.createRow((short)(counter));
                                                 rowRes.createCell((short)0).setCellType(HSSFCell.CELL_TYPE_STRING);
                                                 rowRes.createCell((short)0).setCellValue("Response");
                                                 rowRes.createCell((short)1).setCellType(HSSFCell.CELL_TYPE_STRING);
                                                 rowRes.createCell((short)1).setCellValue(actName);
                                                 rowRes.createCell((short)2).setCellType(HSSFCell.CELL_TYPE_STRING);
                                                 rowRes.createCell((short)2).setCellValue(groupStr);
                                                 rowRes.createCell((short)3).setCellType(HSSFCell.CELL_TYPE_NUMERIC);
                                                 rowRes.createCell((short)3).setCellValue((responseTime - requestTime));
                                                 rowRes.createCell((short)4).setCellType(HSSFCell.CELL_TYPE_NUMERIC);
                                                 rowRes.createCell((short)4).setCellValue(hasTime);
                                                 rowRes.createCell((short)5).setCellType(HSSFCell.CELL_TYPE_NUMERIC);
                                                 rowRes.createCell((short)5).setCellValue(hasCalls);
                                                 rowRes.createCell((short)6).setCellType(HSSFCell.CELL_TYPE_STRING);
                                                 rowRes.createCell((short)6).setCellValue(resDataSize);
                                                 hasTime = 0;
                                                 hasCalls = 0;
                                                 counter = counter + 1 ;
    sBuf.setLength(0);
    readed = false;
              wb.write(fileOut);
              } // End of for (int fileNo = 0; fileNo < children.length; fileNo++ )
    }     //End of else
              fileOut.close();
    } //End of public static void main
    } // End of Class

    First of all, use [code]-tags to make your code readable, please.
    I didn't do a complete inspection of your code (because it's too much and unreadable as it is) and I don't know POI, but creating a new HSSFWorkbook for each input file sounds fishy to me ... try re-using the workbook and just creating a new sheet in each iteration.

  • Regional and Language Settings for Window and BEX Style

    Hi All,
    When I change the Regional and Language Settings for Windows, Standards and Formats value to English (USA) the standard Style for BEX is active. For instance, input-ready cell is bordered with blue. But when I switch to Turkish this style is not active.
    Additionally, I have to change Style for each Workbook one by one. How can we adopt a style to every workbook.
    Regards,

    Lars,
    This is a setting on the 'Defaults' tab in the User Profile. This can be set when a new user is set-up in SU01, or it can be changed by each user according to personal preference in SU3. I'm sure there is a system table where these settings are stored that could probably be edited for all users, if that is desired, but I don't know which table that would be off the top of my head.
    Hope this helps...
    Bob

  • Rreading and writing this file's metadata (xmp) has been disabled. Renders unplayable/corrupted files

    Hi everyone,
    I've been using Premiere Pro CC for a while now, as I have a YouTube channel, and I've rendered, exported and edited around a dozen different videos, and have had no issues until now. I haven't done anything to my settings, but randomly, I am now unable to export any videos. I've tried exporting multiple times, using different formats, and I still get the same error:
         File importer detected an inconsistency in the file structure of [FILE NAME]. Reading and writing this file’s metadata (XMP) has been disabled.
    I've looked around, and I've seen just about no help in fixing the issue, so I was hoping that someone could help me out.
    Some of my computer details are:
    Premiere Pro CC
    Toshiba Z10T
    Windows 8.1
    Hopefully that's enough to go by
    Thanks guys

    After moving LR3.5 and catalogs to a new computer running Windows 7 and LR from an XP system, I suddenly had 6400 files with exclamation points--failure to synch metadata or similar warnings on every file.  If I thought I had one without the error, if I clicked on it--there error showed up.    It was very frustrating and I was wondering if I was going to have to keep my old computer forever.
    After I searched for a couple of hours and found that there have been several discussions concerning failures to sync xmp sidecar files and failures to write metadata on this forum and others.  Some of the postings had angry rants against Adobe.  On my system, it was not Adobe that should be blamed, it was Microsoft:
    On one of the Adobe threads, I noticed a post that the person had multiple external drives and the problem did not show itself on one drive.  The person said that changing the permissions on the other hard drives solved the problem.   I tried this and it worked for me.  I did not have this problem with this same drive on my XP system.  I will try to find that other forum and thank the person who gave me the solution.

  • I have a 60G classic with a non-functioning center select button. Can I set a specific playlist and change settings by hooking up to my PC and then maintain those settings and that playlist once I go remote?

    I have a 60G classic with a non-functioning center select button. Can I set a specific playlist and change settings by hooking up to my PC and then maintain those settings and that playlist once I go remote?

    I'm having a little trouble understanding the part about your password having to be reset. Why is that happening??
    Let's start with Firefox's settings:
    (1) You can configure the password manager feature on this tab:
    orange Firefox button (or Tools menu) > Options > Security
    There is a checkbox to enable/disable the feature.
    There also is a "Saved Passwords" button to review and remove any passwords you do not want Firefox to keep.
    That tab also has a feature to set a Master Password so that no one can use your saved passwords without knowing the Master Password. You may need to exit Firefox in order for Firefox to ask for that again.
    Related articles:
    * [[Password manager - Remember, delete and change saved passwords in Firefox]]
    * [[Use a Master Password to protect stored logins and passwords]]
    (2) Site-specific permissions
    If you want to use the password manager for other sites but NOT a particular site, you can configure that in the Permissions Manager.
    In a new tab, type or paste '''about:permissions''' in the address bar and press Enter.
    After the page loads, use the search box in the upper left corner to narrow down the list to the site you want to configure. Highlight the site on the left side, and on the right side, choose Block under Store Passwords.
    (3) Form autocomplete suggestions
    Separate from passwords, Firefox remembers entries you've made into forms (in most cases) and lists the matching ones below the form field in a drop-down.
    To clear a suggestion, press the down arrow key to highlight it and press the Delete key.
    To turn off this feature, see this article: [[Control whether Firefox automatically fills in forms with your information]].
    To review and selectively edit or delete form history entries, you need an add-on. For example, you could try this one: https://addons.mozilla.org/firefox/addon/form-history-control/

  • User Settings and System Settings

    Which settings are stored at the user level and which settings are stored at the system level? I asked Apple support if it was possible to reset all Mavericks settings to default and retain my apps and data. They suggested I create a new user and transfer my personal files over. I expected this to start with all the settings at default, but I've found that the Network and Energy Saver settings remained the same. What other settings are not set to default when a new user is created?
    Also, Apple failed to mention that the new user would have to take ownership of the old user's files. I'm wondering if the command below was the proper way to do so:
    sudo find / -user oldusername -exec chown newusername {};

    All system-level settings are stored in /Lbrary/Preferences/, including the hidden .GlobalPreferences.plist file.
    Can't help with the Unix command, but seriously doubt their advice. Why would you want to create a new user? The normal way to reset user settings is to remove the plist files stored in /username/Library/Preferences/.

  • Virtex6:Configuration data download to FPGA was not successful. DONE did not go high, please check your configuration setup and mode settings

    Hello,everyone.
    I am using virtex6 FPGA and trying to download mcs file to PROM and have failed.
    I download .bit file to FPGA and succeed.
    When i try to download .mcs file to PROM XCF128X-FTG64C(BPI Flash) and choose Slave SelectMAP Mode
    and the process is about 68% it fails.
    The message below the IMapct is as belows:
    done.
    PROGRESS_END - End Operation.
    Elapsed time =      0 sec.
    // *** BATCH CMD : identifyMPM
    // *** BATCH CMD : assignFile -p 1 -file "C:/Users/Administrator/Desktop/TEST/LED/led.bit"
    '1': Loading file 'C:/Users/Administrator/Desktop/TEST/LED/led.bit' ...
    done.
    INFO:iMPACT:2257 - Startup Clock has been changed to 'JtagClk' in the bitstream stored in memory,
    but the original bitstream file remains unchanged.
    UserID read from the bitstream file = 0xFFFFFFFF.
    INFO:iMPACT:501 - '1': Added Device xc6vlx240t successfully.
    INFO:iMPACT - Current time: 2014/3/13 8:48:14
    // *** BATCH CMD : Program -p 1
    PROGRESS_START - Starting Operation.
    Maximum TCK operating frequency for this device chain: 66000000.
    Validating chain...
    Boundary-scan chain validated successfully.
    INFO:iMPACT - 1: Over-temperature condition detected! [ 230.52C >  120.00C]
    1: Device Temperature: Current Reading:  230.52 C, Max. Reading:  230.52 C
    1: VCCINT Supply: Current Reading:   2.997 V, Max. Reading:   2.997 V
    1: VCCAUX Supply: Current Reading:   2.997 V, Max. Reading:   2.997 V
    '1': Programming device...
     Match_cycle = NoWait.
    Match cycle: NoWait
     LCK_cycle = NoWait.
    LCK cycle: NoWait
    done.
    INFO:iMPACT:2219 - Status register values:
    INFO:iMPACT - 0011 1111 0111 1110 0100 1011 1100 0000
    INFO:iMPACT:579 - '1': Completed downloading bit file to device.
    INFO:iMPACT:188 - '1': Programming completed successfully.
     Match_cycle = NoWait.
    Match cycle: NoWait
     LCK_cycle = NoWait.
    LCK cycle: NoWait
    INFO:iMPACT - '1': Checking done pin....done.
    '1': Programmed successfully.
    PROGRESS_END - End Operation.
    Elapsed time =     23 sec.
    Selected part: XCF128X
    // *** BATCH CMD : attachflash -position 1 -bpi "XCF128X"
    // *** BATCH CMD : assignfiletoattachedflash -position 1 -file "C:/Users/Administrator/Desktop/TEST/LED/leda.mcs"
    INFO:iMPACT - Current time: 2014/3/13 8:49:32
    // *** BATCH CMD : Program -p 1 -dataWidth 16 -rs1 NONE -rs0 NONE -bpionly -e -v -loadfpga
    PROGRESS_START - Starting Operation.
    Maximum TCK operating frequency for this device chain: 66000000.
    Validating chain...
    Boundary-scan chain validated successfully.
    INFO:iMPACT - 1: Over-temperature condition detected! [ 230.52C >  120.00C]
    1: Device Temperature: Current Reading:  230.52 C, Max. Reading:  230.52 C
    1: VCCINT Supply: Current Reading:   2.997 V, Max. Reading:   2.997 V
    1: VCCAUX Supply: Current Reading:   2.997 V, Max. Reading:   2.997 V
    '1': BPI access core not detected. BPI access core will be downloaded to the device to enable operations.
    INFO:iMPACT - Downloading core file D:/Xilinx/14.3/ISE_DS/ISE/virtex6/data/xc6vlx240t_jbpi.cor.
    '1': Downloading core...
     Match_cycle = NoWait.
    Match cycle: NoWait
     LCK_cycle = NoWait.
    LCK cycle: NoWait
    done.
    INFO:iMPACT:2219 - Status register values:
    INFO:iMPACT - 0011 1111 0111 1110 0100 1011 1100 0000
    INFO:iMPACT:2492 - '1': Completed downloading core to device.
    Current cable speed is set to 6.000 Mhz.
    Cable speed is default to 3Mhz or lower for BPI operations.
    Current cable speed is set to 3.000 Mhz.
    Setting Flash Control Pins ...
    Setting Configuration Register ...
    Populating BPI common flash interface ...
    Common Flash Interface Information Query completed successfully.
    INFO:iMPACT - Common Flash Interface Information from Device:
    INFO:iMPACT - Verification string:  51 52 59
    INFO:iMPACT - Manufacturer ID:         49
    INFO:iMPACT - Vendor ID:              01
    INFO:iMPACT - Device Code:            18
    Setting Flash Control Pins ...
    Using x16 mode ...
    Setting Flash Control Pins ...
    Setting Configuration Register ...
    '1': Erasing device...
    '1': Start address = 0x00000000, End address = 0x008CE03B.
    done.
    '1': Erasure completed successfully.
    Setting Flash Control Pins ...
    Using x16 mode ...
    Setting Flash Control Pins ...
    Setting Configuration Register ...
    INFO:iMPACT - Using Word Programming.
    '1': Programming Flash.
    done.
    Setting Flash Control Pins ...
    '1': Flash Programming completed successfully.
    Using x16 mode ...
    Setting Flash Control Pins ...
    Setting Configuration Register ...
    '1': Reading device contents...
    done.
    '1': Verification completed.
    Setting Flash Control Pins ...
    Current cable speed is resumed to 6.000 Mhz.
    '1': Configuration data download to FPGA was not successful. DONE did not go high, please check your configuration setup and mode settings.
    `Elapsed time =    814 sec.
    and i find many people have met the same thing. But they are spartan  series FPGA and i try to low the Resistances of Mode pins,M0 M1 and M2, but the problem does not been solved.
    I have read the status Registers and find there is an over-temperature state 
    and in Impact i could not readback the registers. It is strange.
    I am anxious about this problem and have not solved it yet
    What reasons may it be?
    Hope for your answer, thank you

    Hi~I want to know if you solve the configuration problem for virtex-6?
    As I encounter the  same configuration problem, I want to consult  you with some question.
    Can I have your email?
    gszakacs wrote:
    I have measured the VCCINT and find it is 1.0V, not 2.997V;
    That is not at all surprising.  I always assumed the problem is with reading the XADC (system monitor) block and not with the voltage or temperature.
    my Reference board is ML605
    That would have been nice to know at the beginning...
    It seems that you have selected the correct mode, assuming your jumpers are set as required in the ML605 Hardware User's Guide.  See table 1-27, table 1-33 and the note below it about switch S1.
    I'm not that familiar with the details of this reference design, but it may be that the slave SelectMap circuitry requires a reset or power cycle to actually configure the FPGA.  Have you tried power-cycling to see if the FPGA boots from the flash?
    I'd also suggest that you select the V6 in the JTAG chain view, then go to the debug menu of Impact and select Read Device Status (this is from memory, but it's something like that).  That will not only show the bits of the configuration status register, but also describe what each bit means.  Among other things you can check the state of the FPGA's configuration logic and the Mode pins.
     

  • I updated Itunes today to the latest version. Windows 7 64bit. None of my drivers work and get an error when itunes starts, about registry setting for reading and writing dvds and cds missing. Anyone else have the same issue. I downloaded itunes again, re

    I updated Itunes today to the latest version. Windows 7 64bit. None of my drivers work and get an error when itunes starts, about registry setting for reading and writing dvds and cds missing. Anyone else have the same issue. I downloaded itunes again, reinstalled still have same issue.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • Temorary Internet Files and History Settings

    Hello I am testing on of my sites and have a small problem
    with caching, can
    some one confirm.
    In Internet Options >> Temorary Internet Files and
    History Settings, what
    should I have the
    "Check for newer versions of stored pages"
    every time I "visit the webpage", or "Automatically"
    regards
    kenny

    Hi,
    Sorry for the late response.
    Before going further, what’s the operating systems of our server and client?
    As far as I know, we have to use customized .adm or .admx file to reset the maximum size of IE cache size.
    If our server is Window Server 2003 and client is Windows XP, we can refer to the following thread for the customized .adm file.
    GPO for IE Disk Space Cache
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/a0138089-2073-4890-96cf-b492aa151dec/gpo-for-ie-disk-space-cache?forum=winserverGP
    If our server is Windows server 2008 or above, the following article can be referred to for more information.
    Creating a Custom Base ADMX File
    http://technet.microsoft.com/en-us/library/cc770905(v=ws.10).aspx
    In addition, we can try asking in the following forum to see whether they can help.
    XML, System.Xml, MSXML and XmlLite
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=xmlandnetfx&filter=alltypes&sort=lastpostdesc
    Best regards,
    Frank Shen

  • Backup Finder and Dock settings?

    What files do I need to include in my Backup app backup plan, to preserve my finder and dock settings in case of crash?

    I found this thread looking for a solution to a Dock issue. Something odd is happening on my Mac Pro—with every restart, my Dock is reduced to a meagre 4 programs and even when I repopulate it with the 15 or so items I like to have in there, they're gone at the next reboot.
    I looked for com.apple.dock.db, com.apple.finder.plist, and com.apple.dock.plist in my home/library/preferences folder, none are there. Is there anywhere else they are stored?

  • [865PE/G Neo2 Series] Memory timings and power settings anyone?

    I'm not very good with computers, so I've just played around with the timings on my memory, but have not found one stable setting as of yet.
    The memory is brand new and I've tested it for errors on my brothers computer and there's nothing wrong there.
    Intensive harddrive usage, dvd playing and intense downloading while listening to music are sure ways to crash my system. "..........Not less or equal" is the most common error message, but there are
    many many more.
    Oh, maybe I should point out that overheating's not an issue, cause I've good fans and run my computer without sidepanels.
    I also like to say that I have the first generation of p4 with ht and 533fsb.
    I'm sure there's something I forgot to mention but here below I'll paste the system summary that Sandra gave me.
    Would be forever grateful if someone could help me out with the memory timings and power settings for my board. Setting it to "auto by spd" gives me a very unstable system, so no avail there.
    I'm running the mem at 2.70 and sometimes at 2.65, since these two settings seem to be the ones with least crashes.
    The Memory installed are 4*512mb ,kingston 512 kvr333x64c25 pc2700
    The PSU is a Tagan "TG480-u01" 480w
    Many many thanks in advance guys. 
    SiSoftware Sandra
    Processor
    Model : Intel(R) Pentium(R) 4 CPU 3.06GHz
    Speed : 3.10GHz
    Performance Rating : PR4118 (estimated)
    Cores per Processor : 1 Unit(s)
    Threads per Core : 2 Unit(s)
    Internal Data Cache : 8kB Synchronous, Write-Thru, 4-way set, 64 byte line size
    L2 On-board Cache : 512kB ECC Synchronous, ATC, 8-way set, 64 byte line size, 2 lines per sector
    Mainboard
    Bus(es) : ISA AGP PCI IMB USB FireWire/1394 i2c/SMBus
    MP Support : 1 Processor(s)
    MP APIC : Yes
    System BIOS : American Megatrends Inc. V2.5
    System : MICRO-STAR INC. MS-6728
    Mainboard : MICRO-STAR INC. MS-6728
    Total Memory : 2GB DDR-SDRAM
    Chipset 1
    Model : Micro-Star International Co Ltd (MSI) 82865G/PE/P, 82848P DRAM Controller / Host-Hub Interface
    Front Side Bus Speed : 4x 135MHz (540MHz data rate)
    Total Memory : 2GB DDR-SDRAM
    Memory Bus Speed : 2x 168MHz (336MHz data rate)
    Video System
    Monitor/Panel : Iiyama A201HT VisionMaster Pro 510
    Adapter : RADEON X800 Series   
    Adapter : RADEON X800 Series Secondary
    Imaging Device : CanoScan FB630U/FB636U #2
    Imaging Device : Video Blaster WebCam 3/WebCam Plus (WDM) #2
    Physical Storage Devices
    Removable Drive : Diskettenhet
    Hard Disk : ST3160023AS (149GB)
    Hard Disk : WDC WD1000BB-00CAA0 (93GB)
    Hard Disk : WDC WD1200JB-00CRA1 (112GB)
    Hard Disk : FUJITSU MPG3409AT  E SCSI Disk Device (38GB)
    CD-ROM/DVD : PHILIPS DVDR1640P (CD 63X Rd, 63X Wr) (DVD 8X Rd, 8X Wr)
    CD-ROM/DVD : PLEXTOR CD-R   PX-W4824A (CD 40X Rd, 48X Wr)
    CD-ROM/DVD : AXV CD/DVD-ROM SCSI CdRom Device (CD 32X Rd) (DVD 4X Rd)
    CD-ROM/DVD : AXV CD/DVD-ROM SCSI CdRom Device (CD 32X Rd) (DVD 4X Rd)
    CD-ROM/DVD : AXV CD/DVD-ROM SCSI CdRom Device (CD 32X Rd) (DVD 4X Rd)
    CD-ROM/DVD : AXV CD/DVD-ROM SCSI CdRom Device (CD 32X Rd) (DVD 4X Rd)
    CD-ROM/DVD : AXV CD/DVD-ROM SCSI CdRom Device (CD 32X Rd) (DVD 4X Rd)
    Logical Storage Devices
    1.44MB 3.5" (A:) : N/A
    Hard Disk (C:) : 149GB (101GB, 67% Free Space) (NTFS)
    Xp (D:) : 112GB (2.1GB, 2% Free Space) (NTFS)
    Big (E:) : 93GB (9GB, 10% Free Space) (NTFS)
    Jimjimjim (F:) : 38GB (2.1GB, 5% Free Space) (NTFS)
    Bologna_2 (G:) : 3.9GB (UDF)
    CD-ROM/DVD (H:) : N/A
    Bfv_3 (I:) : 486MB (CDFS)
    Doom 3 roe (J:) : 650MB (CDFS)
    Sims2ep1_1 (K:) : 650MB (CDFS)
    Bf2 dvd (L:) : 1.9GB (UDF)
    CD-ROM/DVD (M:) : N/A
    Peripherals
    Serial/Parallel Port(s) : 1 COM / 0 LPT
    USB Controller/Hub : Intel(R) 82801EB USB Universal Host Controller - 24D2
    USB Controller/Hub : Intel(R) 82801EB USB Universal Host Controller - 24D4
    USB Controller/Hub : Intel(R) 82801EB USB Universal Host Controller - 24D7
    USB Controller/Hub : Intel(R) 82801EB USB2 Enhanced Host Controller - 24DD
    USB Controller/Hub : Intel(R) 82801EB USB Universal Host Controller - 24DE
    USB Controller/Hub : USB-rotnav (hub)
    USB Controller/Hub : USB-rotnav (hub)
    USB Controller/Hub : USB-rotnav (hub)
    USB Controller/Hub : USB-rotnav (hub)
    USB Controller/Hub : USB-rotnav (hub)
    USB Controller/Hub : USB-enhet (sammansatt)
    USB Controller/Hub : Stöd för USB-skrivarport
    FireWire/1394 Controller/Hub : OHCI-kompatibel IEEE 1394-värdstyrenhet
    Keyboard : Logitech HID-Compliant Keyboard
    Keyboard : HID-tangentbordsenhet
    Mouse : HID-compliant MX310 Optical Mouse
    Mouse : HID-kompatibel mus
    Mouse : HID-kompatibel mus
    Human Interface : Logitech WingMan Force 3D USB (HID)
    Human Interface : HID-kompatible konsumentkontrollenhet
    Human Interface : HID-kompatibel enhet
    Human Interface : Logitech Virtual Hid Device
    Human Interface : Logitech Virtual Hid Device
    Human Interface : Logitech USB MX310 Optical Mouse
    Human Interface : Logitech WingMan Force 3D USB
    Human Interface : USB HID (Human Interface Device)
    Human Interface : Internet Keys USB
    MultiMedia Device(s)
    Device : Audigy X YouP-PAX A4 v1.00 Audio Driver(WDM)
    Device : Creative Game Port
    Device : Pinnacle PCTV Stereo PAL Capture Device
    Printers and Faxes
    Model : Microsoft Office Document Image Writer
    Model : Canon PIXMA iP4000
    Model : Adobe PDF
    Power Management
    AC Line Status : On-Line
    Operating System(s)
    Windows System : Microsoft Windows XP/2002 Professional (Win32 x86) 5.01.2600 (Service Pack 2)
    Network Services
    Adapter : Intel(R) PRO/1000 MT Desktop Adapter #2

    Thanks for your answers.
    Danny: 1. Yes, I've put my memory in my brothers computer, and ran memtest there, and it came out ok, but on mine it crashes almost instantly.
              2. Yea, I have 2 fans blowing into the case and one out, so airflow is good, cpu is also cool and seems to be happy ;-)
    Geps:  I can't say I understand all these numbers but there are som specs here as an example, Tagan TG480-U01 480W ATX
    I can't imagine that this psu ain't enough, and if so.....I've been had by the dealer. 

  • How do i run an external monitor with my macbook and change settings so that when i close the lid the signal to the monitor is not lost and i can continue using the mac with a mouse and a wireless keyboard?

    How do i run an external monitor with my macbook and change settings so that when i close the lid the signal to the monitor is not lost and i can continue using the mac with a mouse and a wireless keyboard?

    No, nothing will prevent the computer from going to sleep when you close its display except third-party hacks that are designed to do exactly that. I strongly advise against using any of those, as they may interfere with successful entry into clamshell mode (and they carry other downside risks as well). Just wait until the computer is asleep (with its sleep light pulsing), then press any key on the keyboard. It sounds as though your setup is working as it's designed to do.

Maybe you are looking for

  • BO XI 3.0 on RHEL 5.2

    Hi everyone, The supported platforms guide says that BO XI 3.0 supports RHEL 4 and higher patches, we are planning to install it on RHEL 5.2, is this installation safe? is this installation supported? Thanks, Fabio

  • How to add date in XSLT?

    All, soa version: 11.1.1.4 There is a requirement for me to add date to the current date in XSLT.  I searched in 'Data functions', there I couldn't find any pre-defined functions.  How do I achieve it in XSLT?  Any help is appreciated. thanks sen

  • [Microsoft][ODBC SQL Server Driver]Invalid character value for cast specifi

    [Microsoft][ODBC SQL Server Driver]Invalid character value for cast specification An you help me with this error? This is the problemativ query: Search QUERY : SELECT DISTINCT theK_files.fileid, theK_files.name, theK_files.t itle, theK_files.descript

  • It takes several times hitting the home button to get out of an app. Is this normal

    It takes me several times to hit the home button to get out of an app is this normal?

  • ADS Credential Rights Issue. All reports checks successful...

    I am having an ADS issue in my EP production environment. When users click on any adobe form, it gives 2 popup, stating 1) u201CThis document enabled extended feature in Adobe Reader. The use of the extended features has expiredu201D 2) u201CThis doc