CIN help with a struct argument
Hi, I am new in LabVIEW and complete newcomer in CIN. Now there is one task in which I have to call a DLL. The function info is as following:
BOOL WINAPI LKIF_GetCalcData(OUT LKIF_FLOATVALUE *CalcData1,OUT LKIF_FLOATVALUE *CalcData2);
Here is more about defination:
typedef enum {
LKIF_FLOATRESULT_VALID, // valid data
LKIF_FLOATRESULT_RANGEOVER_N, // over range at negative (-) side
LKIF_FLOATRESULT_WAITING, // comparator result
} LKIF_FLOATRESULT;
typedef struct {
LKIF_FLOATRESULT FloatResult; // valid or invalid data.
float Value; // measurement value during LKIF_FLOATRESULT_VALID.
Any other times will return an invalid value.
} LKIF_FLOATVALUE;
I looked through "Labview for everyone" and get me familiar with CIN, but it has a simple example with sinple argument. Can anyone tell me how to setup the input for this DLL? Should I make a cluster? Any help will be appreciated.
sipher
Problem solved. I wired a cluster with one I32 and one U16.
Thanks.
sipher
Similar Messages
-
Need Help with command line arguments for a class method
Hey guys,
I'm fairly new to programming in java.
I want to a write a class method that adds up its command line arguments which are numbers. For example, if the input was .... 5 2 3....then the output would be 10.
I have been told to use the Convert to convert a string to a double. I'm ok for writing the class method but I have no idea how to use Convert and why I need it in the method.
Can anybody help please?Hey guys,
I'm fairly new to programming in java.
I want to a write a class method that adds up its
command line arguments which are numbers. For
example, if the input was .... 5 2 3....then the
output would be 10.Okay. So you would receive the numbers to add as the String[] argument to a main method. The steps are simple:
1) declare a variable for the count
2) for each String in the array:
2.1) extract the value as a double
2.2) add this to the count
3) output the resulting count
I have been told to use the Convert to convert a
string to a double.
I'm ok for writing the class
method but I have no idea how to use ConvertThere is no class Convert in the Java API.
and why
I need it in the method. Do you understand you need to somehow convert each String to a double (step 2.1)? Since Convert is unknown to me, maybe you should just take a look at class Double. It can help you do step 2.1, the rest should be trivial enough.
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Double.html
Give it a go and feel free to post back with a specific problem you are having, accurately described if you please :-) -
Need help with a struct that i need to pass to a dll
I have just received an SDK from a third party vendor.
I need to pass a struct to a dll in order to use our measuring arm.
Here's the definition of the struct
struct vOpenInfo
int nFuncType; // = DLL_OPEN_CMM (or 1)
HWND hwnd;
WCHAR sSaveDir[128];
void (*HelpCallBack)();
Here's the definition of the only function that I can access from the DLL
int CmmSpecific(void *)
From what I understand the CmmSpecific function use the pointer on the structure to know what I want to do.
The only problem, is that I need to transform LabVIEW data onto that type of struct.
Does anybody have an idea how can I do it?
Thanks in advanceJulien Tozzi wrote:
I have just received an SDK from a third party vendor.
I need to pass a struct to a dll in order to use our measuring arm.
Here's the definition of the struct
struct vOpenInfo
int nFuncType; // = DLL_OPEN_CMM (or 1)
HWND hwnd;
WCHAR sSaveDir[128];
void (*HelpCallBack)();
Here's the definition of the only function that I can access from the DLL
int CmmSpecific(void *)
From what I understand the CmmSpecific function use the pointer on the structure to know what I want to do.
The only problem, is that I need to transform LabVIEW data onto that type of struct.
Does anybody have an idea how can I do it?
The previous post is basically correct but one thing catches my eye here and that is the fourth element in the structure which is a function pointer. The LabVIEW system can't really deal with this without quite some involved programming I would not recommend anyone to try without some very good C programming knowledge.
So if the API description doesn't tell you that it is valid to just pass in here a NULL value to disable the callback, writing a wrapper DLL that translates this into a more LabVIEW friendly interface is by far easier to do.
Rolf Kalbermatter
Message Edited by rolfk on 01-11-2007 10:09 AM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
REALLY NEED URGENT HELP with typedef struct char in LabVIEW
Hi,
So I am calling a DLL inside my LabVIEW VI.
Inside the DLL, I have the following structure:
typedef struct
char string[21];
} Geo_Tuple;
Then I used it here in a function by calling:
set_Geo_Coordinates(const File_or_Interactive State, const Input_or_Output Direction, const Geo_Tuple coordinates)
(Note that File_or_Interactive and Input_or_Output are typedef enum.)
So now, I am trying to implement this function in LV using the Call Function Node.
However, it's not working --> const Geo_Tuple coordinates does not have the correct structure.
So my question:
How do I implement
typedef struct
char string[21];
} Geo_Tuple;
So that I can use it here: set_Geo_Coordinates(const File_or_Interactive State, const Input_or_Output Direction, const Geo_Tuple coordinates)
Thanks!How have you configured your call library node? To get a representation in LabVIEW of your Geo_Tuple type you'll need to create a cluster that contains 21 U8 elements, which you can do by creating an empty U8 array and wiring it to "Array to Cluster" set to 21 elements. Connect this to the input side of the call library node. On the output side, convert back to an array, and from there convert it to a string.
-
Help with encapsulation and a specific case of design
Hello all. I have been playing with Java (my first real language and first OOP language) for a couple months now. Right now I am trying to write my first real application, but I want to design it right and I am smashing my head against the wall with my data structure, specifically with encapsulation.
I go into detail about my app below, but it gets long so for those who don't want to read that far, let me just put these two questions up front:
1) How do principles of encapsulation change when members are complex objects rather than primitives? If the member objects themselves have only primitive members and show good encapsulation, does it make sense to pass a reference to them? Or does good encapsulation demand that I deep-clone all the way to the bottom of my data structure and pass only cloned objects through my top level accessors? Does the analysis change when the structure gets three or four levels deep? Don't DOM structures built of walkable nodes violate basic principles of encapsulation?
2) "Encapsulation" is sometimes used to mean no public members, othertimes to mean no public members AND no setter methods. The reasons for the first are obvious, but why go to the extreme of the latter? More importantly HOW do you go to the extreme of the latter? Would an "updatePrices" method that updates encapsulated member prices based on calculations, taking a single argument of say the time of year be considered a "setter" method that violates the stricter vision of encapsulation?
Even help with just those two questions would be great. For the masochistic, on to my app... The present code is at
http://www.immortalcoil.org/drake/Code.zip
The most basic form of the application is statistics driven flash card software for Japanese Kanji (Chinese characters). For those who do not know, these are ideographic characters that represent concepts rather than sounds. There are a few thousand. In abstract terms, my data structure needs to represent the following.
- There are a bunch of kanji.
Each kanji is defined by:
- a single character (the kanji itself); and
- multiple readings which fall into two categories of "on" and "kun".
Each reading is defined by:
- A string of hiragana or katakana (Japanese phoenetic characters); and
- Statistics that I keep to represent knowledge of that reading/kanji pair.Ideally the structure should be extensible. Later I might want to add statistics associated with the character itself rather than individual readings, for example. Right now I am thinking of building a data structure like so:
- A Vector that holds:
- custom KanjiEntry objects that each hold
- a kanji in a primitive char value; and
- two (on, kun) arrays or Vectors of custom Reading objects that hold
- the reading in a String; and
- statistics of some sort, probably in primitive valuesFirst of all, is this approach sensible in the rough outlines?
Now, I need to be able to do the obvious things... save to and load from file, generate tables and views, and edit values. The quesiton of editting values raises the questions I identified above as (1) and (2). Say I want to pull up a reading, quiz the user on it, and update its statistics based on whether the user got it right or wrong. I could do all this through the KanjiEntry object with a setter method that takes a zillion arguments like:
theKanjiEntry.setStatistic(
"on", // which set of readings
2, // which element in that array or Vector
"score", // which statistic
98); // the valueOr I could pass a clone of the Reading object out, work with that, then tell the KanjiEntry to replace the original with my modified clone.
My instincts balk at the first approach, and a little at the second. Doesn't it make more sense to work with a reference to the Reading object? Or is that bad encapsulation?
A second point. When running flash cards, I do not care about the subtlties of the structure, like whether a reading is an on or a kun (although this is important when browsing a table representing the entire structure). All I really care about is kanij/reading pairings. And I should be able to quickly poll the Reading objects to see which ones need quizzing the most, based on their statistics. I was thinking of making a nice neat Hashtable with the keys being the kanji characters in Strings (not the KanjiEntry objects) and the values being the Reading objects. The result would be two indeces to the Reading objects... the basic structure and my ad hoc hashtable for runninq quizzes. Then I would just make sure that they stay in sync in terms of the higher level structure (like if a whole new KanjiEntry got added). Is this bad form, or even downright dangerous?
Apart from good form, the other consideration bouncing around in my head is that if I get all crazy with deep cloning and filling the bottom level guys with instance methods then this puppy is going to get bloated or lag when there are several thousand kanji in memory at once.
Any help would be appreciated.
DrakeUsually by better design. Move methods that use the
getters inside the class that actually has the data....
As a basic rule of thumb:
The one who has the data is the one using it. If
another class needs that data, wonder what for and
consider moving that operation away from that class.
Or move from pull to push: instead of A getting
something from B, have B give it to A as a method
call argument.Thanks for the response. I think I see what you are saying.. in my case it is something like this.
Solution 1 (disfavored):
public class kanjiDrill{ // a chunk of Swing GUI or something
public void runDrill(Vector kanjiEntries){
KanjiEntry currentKanjiEntry = kanjiEntries.elementAt(0); // except really I will pick one randomly
char theKanji = currentKanjiEntry.getKanji();
String theReading = currentKanjiEntry.getReading();
// build and show a flashcard based on theKanji and theReading
// use a setter to change currentKanji's data based on whether the user answers correctly;
}Solution 2 (favored):
public class kanjiDrill{ // a chunk of Swing GUI or something
public void runDrill(Vector kanjiEntries){
KanjiEntry currentKanjiEntry = kanjiEntries.elementAt(0); // except really I will pick one randomly
currentKanji.buildAndShowFlashcard(); // method includes updating stats
}I can definitely see the advantages to this, but two potential reasons to think hard about it occur to me right away. First, if this process is carried out to a sufficient extreme the objects that hold my data end up sucking in all the functionality of my program and my objects stop resembling natural concepts.
In your shopping example, say you want to generate price tags for the items. The price tags can be generated with ONLY the raw price, because we do not want the VAT on them. They are simple GIF graphics that have the price printed on a an irregular polygon. Should all that graphics generating code really go into the item objects, or should we just get the price out of the object with a simple getter method and then make the tags?
My second concern is that the more instance methods I put into my bottom level data objects the bigger they get, and I intend to have thousands of these things in memory. Is there a balance to strike at some point?
It's not really a setter. Outsiders are not setting
the items price - it's rather updating its own price
given an argument. This is exactly how it should be,
see my above point. A breach of encapsulation would
be: another object gets the item price, re-calculates
it using a date it knows, and sets the price again.
You can see yourself that pushing the date into the
item's method is much beter than breaching
encapsulation and getting and setting the price.So the point is not "don't allow access to the members" (which after all you are still doing, albeit less directly) so much as "make sure that any functionality implicated in working with the members is handled within the object," right? Take your shopping example. Say we live in a country where there is no VAT and the app will never be used internationally. Then we would resort to a simple setter/getter scheme, right? Or is the answer that if the object really is pure data are almost so, then it should be turned into a standard java.util collection instead of a custom class?
Thanks for the help.
Drake -
Need Help With File Matching Records
I need help with my file matching program.
Here is how it suppose to work: FileMatch class should contain methods to read oldmast.txt and trans.txt. When a match occurs (i.e., records with the same account number appear in both the master file and the transaction file), add the dollar amount in the transaction record to the current balance in the master record, and write the "newmast.txt" record. (Assume that purchases are indicated by positive amounts in the transaction file and payments by negative amounts.)
When there is a master record for a particular account, but no corresponding transaction record, merely write the master record to "newmast.txt". When there is a transaction record, but no corresponding master record, print to a log file the message "Unmatched transaction record for account number ..." (fill in the account number from the transaction record). The log file should be a text file named "log.txt".
Here is my following program code:
// Exercise 14.8: CreateTextFile.java
// creates a text file
import java.io.FileNotFoundException;
import java.lang.SecurityException;
import java.util.Formatter;
import java.util.FormatterClosedException;
import java.util.NoSuchElementException;
import java.util.Scanner;
import org.egan.AccountRecord;
import org.egan.TransactionRecord;
public class CreateTextFile
private Formatter output1; // object used to output text to file
private Formatter output2; // object used to output text to file
// enable user to open file
public void openTransFile()
try
output1 = new Formatter("trans.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openTransFile
// enable user to open file
public void openOldMastFile()
try
output2 = new Formatter("oldmast.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openOldMastFile
// add transaction records to file
public void addTransactionRecords()
// object to be written to file
TransactionRecord record1 = new TransactionRecord();
Scanner input1 = new Scanner(System.in);
System.out.printf("%s\n%s\n%s\n%s\n\n",
"To terminate input, type the end-of-file indicator",
"when you are prompted to enter input.",
"On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
"On Windows type <ctrl> z then press Enter");
System.out.printf("%s\n%s",
"Enter account number (> 0) and amount.","? ");
while (input1.hasNext()) // loop until end-of-file indicator
try // output values to file
// retrieve data to be output
record1.setAccount(input1.nextInt()); // read account number
record1.setAmount(input1.nextDouble()); // read amount
if (record1.getAccount() > 0)
// write new record
output1.format("%d %.2f\n", record1.getAccount(), record1.getAmount());
} // end if
else
System.out.println("Account number must be greater than 0.");
} // end else
} // end try
catch (FormatterClosedException formatterClosedException)
System.err.println("Error writing to file.");
return;
} // end catch
catch (NoSuchElementException elementException)
System.err.println("Invalid input. Please try again.");
input1.nextLine(); // discard input so user can try again
} // end catch
System.out.printf("%s %s\n%s", "Enter account number (> 0) ",
"and amount.","? ");
} // end while
} // end method addTransactionRecords
// add account records to file
public void addAccountRecords()
// object to be written to file
AccountRecord record2 = new AccountRecord();
Scanner input2 = new Scanner(System.in);
System.out.printf("%s\n%s\n%s\n%s\n\n",
"To terminate input, type the end-of-file indicator",
"when you are prompted to enter input.",
"On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
"On Windows type <ctrl> z then press Enter");
System.out.printf("%s\n%s",
"Enter account number (> 0), first name, last name and balance.","? ");
while (input2.hasNext()) // loop until end-of-file indicator
try // output values to file
// retrieve data to be output
record2.setAccount(input2.nextInt()); // read account number
record2.setFirstName(input2.next()); // read first name
record2.setLastName(input2.next()); // read last name
record2.setBalance(input2.nextDouble()); // read balance
if (record2.getAccount() > 0)
// write new record
output2.format("%d %s %s %.2f\n", record2.getAccount(), record2.getFirstName(),
record2.getLastName(), record2.getBalance());
} // end if
else
System.out.println("Account number must be greater than 0.");
} // end else
} // end try
catch (FormatterClosedException formatterClosedException)
System.err.println("Error writing to file.");
return;
} // end catch
catch (NoSuchElementException elementException)
System.err.println("Invalid input. Please try again.");
input2.nextLine(); // discard input so user can try again
} // end catch
System.out.printf("%s %s\n%s", "Enter account number (> 0),",
"first name, last name and balance.","? ");
} // end while
} // end method addAccountRecords
// close file
public void closeTransFile()
if (output1 != null)
output1.close();
} // end method closeTransFile
// close file
public void closeOldMastFile()
if (output2 != null)
output2.close();
} // end method closeOldMastFile
} // end class CreateTextFile--------------------------------------------------------------------------------------------------
// Exercise 14.8: CreateTextFileTest.java
// Testing class CreateTextFile
public class CreateTextFileTest
// main method begins program execution
public static void main( String args[] )
CreateTextFile application = new CreateTextFile();
application.openTransFile();
application.addTransactionRecords();
application.closeTransFile();
application.openOldMastFile();
application.addAccountRecords();
application.closeOldMastFile();
} // end main
} // end class CreateTextFileTest-------------------------------------------------------------------------------------------------
// Exercise 14.8: TransactionRecord.java
// A class that represents on record of information
package org.egan; // packaged for reuse
public class TransactionRecord
private int account;
private double amount;
// no-argument constructor calls other constructor with default values
public TransactionRecord()
this(0,0.0); // call two-argument constructor
} // end no-argument AccountRecord constructor
// initialize a record
public TransactionRecord(int acct, double amt)
setAccount(acct);
setAmount(amt);
} // end two-argument TransactionRecord constructor
// set account number
public void setAccount(int acct)
account = acct;
} // end method setAccount
// get account number
public int getAccount()
return account;
} // end method getAccount
// set amount
public void setAmount(double amt)
amount = amt;
} // end method setAmount
// get amount
public double getAmount()
return amount;
} // end method getAmount
} // end class TransactionRecord -------------------------------------------------------------------------------------------------
// Exercise 14.8: AccountRecord.java
// A class that represents on record of information
package org.egan; // packaged for reuse
import org.egan.TransactionRecord;
public class AccountRecord
private int account;
private String firstName;
private String lastName;
private double balance;
// no-argument constructor calls other constructor with default values
public AccountRecord()
this(0,"","",0.0); // call four-argument constructor
} // end no-argument AccountRecord constructor
// initialize a record
public AccountRecord(int acct, String first, String last, double bal)
setAccount(acct);
setFirstName(first);
setLastName(last);
setBalance(bal);
} // end four-argument AccountRecord constructor
// set account number
public void setAccount(int acct)
account = acct;
} // end method setAccount
// get account number
public int getAccount()
return account;
} // end method getAccount
// set first name
public void setFirstName(String first)
firstName = first;
} // end method setFirstName
// get first name
public String getFirstName()
return firstName;
} // end method getFirstName
// set last name
public void setLastName(String last)
lastName = last;
} // end method setLastName
// get last name
public String getLastName()
return lastName;
} // end method getLastName
// set balance
public void setBalance(double bal)
balance = bal;
} // end method setBalance
// get balance
public double getBalance()
return balance;
} // end method getBalance
// combine balance and amount
public void combine(TransactionRecord record)
balance = (getBalance() + record.getAmount());
} // end method combine
} // end class AccountRecord -------------------------------------------------------------------------------------------------
// Exercise 14.8: FileMatch.java
import java.io.File;
import java.io.FileNotFoundException;
import java.lang.IllegalStateException;
import java.util.NoSuchElementException;
import java.util.Scanner;
import java.util.Formatter;
import java.util.FormatterClosedException;
import org.egan.AccountRecord;
import org.egan.TransactionRecord;
public class FileMatch
private Scanner inTransaction;
private Scanner inOldMaster;
private Formatter outNewMaster;
private Formatter theLog;
// enable user to open file
public void openTransFile()
try
inTransaction = new Scanner(new File("trans.txt"));
} // end try
catch (FileNotFoundException fileNotFoundException)
System.err.println("Error opening file.");
System.exit(1);
} // end catch
} // end method openTransFile
// enable user to open file
public void openOldMastFile()
try
inOldMaster = new Scanner(new File("oldmast.txt"));
} // end try
catch (FileNotFoundException fileNotFoundException)
System.err.println("Error opening file.");
System.exit(1);
} // end catch
} // end method openOldMastFile
// enable user to open file
public void openNewMastFile()
try
outNewMaster = new Formatter("newmast.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openNewMastFile
// enable user to open file
public void openLogFile()
try
theLog = new Formatter("log.txt");
catch (SecurityException securityException)
System.err.println("You do not have write access to this file.");
System.exit(1);
} // end catch
catch (FileNotFoundException filesNotFoundException)
System.err.println("Error creating file.");
System.exit(1);
} // end method openLogFile
// update records
public void updateRecords()
TransactionRecord transaction = new TransactionRecord();
AccountRecord account = new AccountRecord();
try // read records from file using Scanner object
System.out.println("Start file matching.");
while (inTransaction.hasNext() && inOldMaster.hasNext())
transaction.setAccount(inTransaction.nextInt()); // read account number
transaction.setAmount(inTransaction.nextDouble()); // read amount
account.setAccount(inOldMaster.nextInt()); // read account number
account.setFirstName(inOldMaster.next()); // read first name
account.setLastName(inOldMaster.next()); // read last name
account.setBalance(inOldMaster.nextDouble()); // read balance
if (transaction.getAccount() == account.getAccount())
while (inTransaction.hasNext() && transaction.getAccount() == account.getAccount())
account.combine(transaction);
outNewMaster.format("%d %s %s %.2f\n",
account.getAccount(), account.getFirstName(), account.getLastName(),
account.getBalance());
transaction.setAccount(inTransaction.nextInt()); // read account number
transaction.setAmount(inTransaction.nextDouble()); // read amount
else if (transaction.getAccount() != account.getAccount())
outNewMaster.format("%d %s %s %.2f\n",
account.getAccount(), account.getFirstName(), account.getLastName(),
account.getBalance());
theLog.format("%s%d","Unmatched transaction record for account number ",transaction.getAccount());
} // end while
System.out.println("Finish file matching.");
} // end try
catch (NoSuchElementException elementException)
System.err.println("File improperly formed.");
inTransaction.close();
inOldMaster.close();
System.exit(1);
} // end catch
catch (IllegalStateException stateException)
System.err.println("Error reading from file.");
System.exit(1);
} // end catch
} // end method updateRecords
// close file and terminate application
public void closeTransFile()
if (inTransaction != null)
inTransaction.close();
} // end method closeTransFile
// close file and terminate application
public void closeOldMastFile()
if (inOldMaster != null)
inOldMaster.close();
} // end method closeOldMastFile
// close file
public void closeNewMastFile()
if (outNewMaster != null)
outNewMaster.close();
} // end method closeNewMastFile
// close file
public void closeLogFile()
if (theLog != null)
theLog.close();
} // end method closeLogFile
} // end class FileMatch-------------------------------------------------------------------------------------------------
// Exercise 14.8: FileMatchTest.java
// Testing class FileMatch
public class FileMatchTest
// main method begins program execution
public static void main( String args[] )
FileMatch application = new FileMatch();
application.openTransFile();
application.openOldMastFile();
application.openNewMastFile();
application.openLogFile();
application.updateRecords();
application.closeLogFile();
application.closeNewMastFile();
application.closeOldMastFile();
application.closeTransFile();
} // end main
} // end class FileMatchTest-------------------------------------------------------------------------------------------------
Sample data for master file:
Master file
Account Number Name Balance
100 Alan Jones 348.17
300 Mary Smith 27.19
500 Sam Sharp 0.00
700 Suzy Green -14.22Sample data for transaction file:
Transaction file Transaction
Account Number Amount
100 27.14
300 62.11
300 83.89
400 100.56
700 80.78
700 1.53
900 82.17 -------------------------------------------------------------------------------------------------
My FileMatch class program above has bugs in it.
The correct results for the newmast.txt:
100 Alan Jones 375.31
300 Mary Smith 173.19
500 Sam Sharp 0.00
700 Suzy Green 68.09The correct results for the log.txt:
Unmatched transaction record for account number 400Unmatched transaction record for account number 900------------------------------------------------------------------------------------------------
My results for the newmast.txt:
100 Alan Jones 375.31
300 Mary Smith 111.08
500 Sam Sharp 0.00
700 Suzy Green -12.69My results for the log.txt
Unmatched transaction record for account number 700-------------------------------------------------------------------------------------------------
I am not sure what is wrong with my code above to make my results different from the correct results.
Much help is appreciated. Please help.From the output, it looks like one problem is just formatting -- apparently you're including a newline in log entries and not using tabs for the newmast output file.
As to why the numbers are off -- just from glancing over it, it appears that the problem is when you add multiple transaction values. Since account.combine() is so simple, I suspect that you're either adding creating transaction objects incorrectly or not creating them when you should be.
Create test input data that isolates a single case of this (e.g., just the Mary Smith case), and then running your program in a debugger or adding debugging code to the add/combine method, so you can see what's happening in detail.
Also I'd recommend reconsidering your design. It's a red flag if a class has a name with "Create" in it. Classes represent bundles of independant state and transformations on that state, not things to do. -
Hi i need help with getting my homework for school
im in a nine week class that ends tommorw and need help go\etting my program working properly these are the requirements ofr the assignments:
Modify the Inventory Program by adding a button to the GUI that allows the user to move
to the first item, the previous item, the next item, and the last item in the inventory. If the
first item is displayed and the user clicks on the Previous button, the last item should
display. If the last item is displayed and the user clicks on the Next button, the first item
should display.
· Add a company logo to the GUI using Java graphics classes.
Modify the Inventory Program to include an Add button, a Delete button, and a Modifybutton on the GUI. These buttons should allow the user to perform the corresponding actions on the item name, the number of units in stock, and the price of each unit. An item added to the inventory should have an item number one more than the previous last item. Add a Save button to the GUI that saves the inventory to a C:\data\inventory.dat file. Use exception handling to create the directory and file if necessary. Add a search button to the GUI that allows the user to search for an item in the inventory by the product name. If the product is not found, the GUI should display an appropriate message. If the product is found, the GUI should display that products information in the GUI. Post final .class and .java files as an attachment.
this is what i have there are three java files im puttong in here
first is the panel frame
import java.awt.GridLayout;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.JLabel;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
import java.awt.Component;
import javax.swing.SwingConstants;
import javax.swing.Icon;
import javax.swing.JComboBox;
import javax.swing.JTextArea;
import javax.swing.JList;
import java.util.*;
import java.text.NumberFormat;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.net.URL;
import java.io.*;
import java.util.Scanner;
import javax.swing.JOptionPane;
import java.text.NumberFormat;
public class PanelFrame extends JFrame
private JPanel buttonJPanel; // panel to hold buttons
private JButton buttons[]; // array of buttons
private JLabel label1; // JLabel iventory number
private JLabel label2; // JLabel product name
private JLabel label3; // JLabel product price
private JLabel label4; // JLabel product in stock
private String p_ProductName; // private variable for the employee name.
private int p_UnitCount; // private variable for the hours worked.
private double p_UnitPrice; // private variable for the hourly wage.
private int p_ItemNumber; // private inventory number
//create inventory object
Inventory myInventory = new Inventory ();
// no-argument constructor
public PanelFrame()
super( "Panel Demo" );
//Add items to the inventory within the Invntory
myInventory.addItem(new productinfo(1,"Html a Begginers Guide",14,29.99));
myInventory.addItem(new productinfo(2,"Html 4 for Dummies",6,29.99));
myInventory.addItem(new productinfo(3,"Visio Step by Step",7,24.99));
myInventory.addItem(new productinfo(4,"APA Publication Manual",14,47.99));
myInventory.addItem(new productinfo(5,"The Gregg Reference Manual",14,37.56));
setLayout( new FlowLayout() ); // set frame layout
// JLabel constructor with a string argument
label1 = new JLabel( "Inventory Number:%s: %d\n ",p_ItemNumber );
label1.setToolTipText( "This is Inventory number" );
add( label1 ); // add label1 to JFrame
label2 = new JLabel( "\n\nProduct Name: %s: %s\n", p_ProductName);
label2.setToolTipText( "This is Product Name" );
add( label2 ); // add label1 to JFrame
label3 = new JLabel( "\n\nPrice : %s:$%.2f\n",p_UnitPrice );
label3.setToolTipText( "This is product Price");
add( label3 ); // add label1 to JFrame
label4 = new JLabel( "\n\nQuanity %s: %d\n",p_UnitCount);
label4.setToolTipText( "This is Quanity in stock: " );
add( label4 ); // add label1 to JFrame
buttons = new JButton[ 4 ]; // create buttons array
buttonJPanel = new JPanel(); // set up panel
buttonJPanel.setLayout( new GridLayout( 1, buttons.length ) );
String names[] = { "First", "Previous", "Next", "Last" };
JButton buttons[] = new JButton[ names.length ];
// create and add buttons
for ( int count = 0; count < buttons.length; count++ )
buttons[ count ] = new JButton( names[ count ] );
buttonJPanel.add( buttons[ count ] ); // add button to panel
} // end for
// setup the logo for the GUI ...image needs to be in same directory as source code
URL url = this.getClass().getResource("book103.gif");
Image img = Toolkit.getDefaultToolkit().getImage(url);
// scale the image so that it'll fit in the GUI
Image scaledImage = img.getScaledInstance(100, 100, Image.SCALE_AREA_AVERAGING);
// create a JLabel with the image as the label's Icon
Icon logoIcon = new ImageIcon(scaledImage);
JLabel companyLogoLabel = new JLabel(logoIcon);
companyLogoLabel.setBorder(BorderFactory.createEmptyBorder(3,3,3,3));
// add the logo to the GUI
getContentPane().add(companyLogoLabel, BorderLayout.WEST);
add( buttonJPanel, BorderLayout.SOUTH ); // add panel to JFrame
} // end PanelFrame constructor
} // end class PanelFramethis is the original part again with the code tag added
import java.awt.GridLayout;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.JLabel;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
import java.awt.Component;
import javax.swing.SwingConstants;
import javax.swing.Icon;
import javax.swing.JComboBox;
import javax.swing.JTextArea;
import javax.swing.JList;
import java.util.;
import java.text.NumberFormat;
import javax.swing.;
import java.awt.;
import java.awt.event.;
import java.net.URL;
import java.io.*;
import java.util.Scanner;
import javax.swing.JOptionPane;
import java.text.NumberFormat;
public class PanelFrame extends JFrame
private JPanel buttonJPanel; // panel to hold buttons
private JButton buttons[]; // array of buttons
private JLabel label1; // JLabel iventory number
private JLabel label2; // JLabel product name
private JLabel label3; // JLabel product price
private JLabel label4; // JLabel product in stock
private String p_ProductName; // private variable for the employee name.
private int p_UnitCount; // private variable for the hours worked.
private double p_UnitPrice; // private variable for the hourly wage.
private int p_ItemNumber; // private inventory number
//create inventory object
Inventory myInventory = new Inventory ();
// no-argument constructor
public PanelFrame()
super( "Panel Demo" );
//Add items to the inventory within the Invntory
myInventory.addItem(new productinfo(1,"Html a Begginers Guide",14,29.99));
myInventory.addItem(new productinfo(2,"Html 4 for Dummies",6,29.99));
myInventory.addItem(new productinfo(3,"Visio Step by Step",7,24.99));
myInventory.addItem(new productinfo(4,"APA Publication Manual",14,47.99));
myInventory.addItem(new productinfo(5,"The Gregg Reference Manual",14,37.56));
setLayout( new FlowLayout() ); // set frame layout
// JLabel constructor with a string argument
label1 = new JLabel( "Inventory Number:%s: %d\n ",p_ItemNumber );
label1.setToolTipText( "This is Inventory number" );
add( label1 ); // add label1 to JFrame
label2 = new JLabel( "\n\nProduct Name: %s: %s\n", p_ProductName);
label2.setToolTipText( "This is Product Name" );
add( label2 ); // add label1 to JFrame
label3 = new JLabel( "\n\nPrice : %s:$%.2f\n",p_UnitPrice );
label3.setToolTipText( "This is product Price");
add( label3 ); // add label1 to JFrame
label4 = new JLabel( "\n\nQuanity %s: %d\n",p_UnitCount);
label4.setToolTipText( "This is Quanity in stock: " );
add( label4 ); // add label1 to JFrame
buttons = new JButton[ 4 ]; // create buttons array
buttonJPanel = new JPanel(); // set up panel
buttonJPanel.setLayout( new GridLayout( 1, buttons.length ) );
String names[] = { "First", "Previous", "Next", "Last" };
JButton buttons[] = new JButton[ names.length ];
// create and add buttons
for ( int count = 0; count < buttons.length; count++ )
buttons[ count ] = new JButton( names[ count ] );
buttonJPanel.add( buttons[ count ] ); // add button to panel
} // end for
// setup the logo for the GUI ...image needs to be in same directory as source code
URL url = this.getClass().getResource("book103.gif");
Image img = Toolkit.getDefaultToolkit().getImage(url);
// scale the image so that it'll fit in the GUI
Image scaledImage = img.getScaledInstance(100, 100, Image.SCALE_AREA_AVERAGING);
// create a JLabel with the image as the label's Icon
Icon logoIcon = new ImageIcon(scaledImage);
JLabel companyLogoLabel = new JLabel(logoIcon);
companyLogoLabel.setBorder(BorderFactory.createEmptyBorder(3,3,3,3));
// add the logo to the GUI
getContentPane().add(companyLogoLabel, BorderLayout.WEST);
add( buttonJPanel, BorderLayout.SOUTH ); // add panel to JFrame
} // end PanelFrame constructor
} // end class PanelFrame -
Need help with calculator project for an assignment...
Hi all, I please need help with my calculator project that I have to do for an assignment.
Here is the project's specifications that I need to do"
"""Create a console calculator applicaion that:
* Takes one command line argument: your name and surname. When the
program starts, display the date and time with a welcome message for the
user.
* Display all the available options to the user. Your calculator must include
the arithmetic operations as well as at least five scientific operations of the
Math class.
-Your program must also have the ability to round a number and
truncate it.
-When you multiply by 2, you should not use the '*' operator to perform the
operation.
-Your program must also be able to reverse the sign of a number.
* Include sufficient error checking in your program to ensure that the user
only enters valid input. Make use of the String; Character, and other
wrapper classes to help you.
* Your program must be able to do conversions between decimal, octal and
hex numbers.
* Make use of a menu. You should give the user the option to end the
program when entering a certain option.
* When the program exits, display a message for the user, stating the
current time, and calculate and display how long the user used your
program.
* Make use of helper classes where possible.
* Use the SDK to run your program."""
When the program starts, it asks the user for his/her name and surname. I got the program to ask the user again and again for his/her name and surname
when he/she doesn't insert anything or just press 'enter', but if the user enters a number for the name and surname part, the program continues.
Now my question is this: How can I restrict the user to only enter 'letters' (and spaces of course) but allow NO numbers for his/her surname??
Here is the programs code that I've written so far:
{code}
import java.io.*;
import java.util.*;
import java.text.*;
public class Project {
private static String nameSurname = "";
private static String num1 = null;
private static String num2 = null;
private static String choice1 = null;
private static double answer = 0;
private static String more;
public double Add() {
answer = (Double.parseDouble(num1) + Double.parseDouble(num2));
return answer;
public double Subtract() {
answer = (Double.parseDouble(num1) - Double.parseDouble(num2));
return answer;
public double Multiply() {
answer = (Double.parseDouble(num1) * Double.parseDouble(num2));
return answer;
public double Divide() {
answer = (Double.parseDouble(num1) / Double.parseDouble(num2));
return answer;
public double Modulus() {
answer = (Double.parseDouble(num1) % Double.parseDouble(num2));
return answer;
public double maximumValue() {
answer = (Math.max(Double.parseDouble(num1), Double.parseDouble(num2)));
return answer;
public double minimumValue() {
answer = (Math.min(Double.parseDouble(num1), Double.parseDouble(num2)));
return answer;
public double absoluteNumber1() {
answer = (Math.abs(Double.parseDouble(num1)));
return answer;
public double absoluteNumber2() {
answer = (Math.abs(Double.parseDouble(num2)));
return answer;
public double Squareroot1() {
answer = (Math.sqrt(Double.parseDouble(num1)));
return answer;
public double Squareroot2() {
answer = (Math.sqrt(Double.parseDouble(num2)));
return answer;
public static String octalEquivalent1() {
int iNum1 = Integer.parseInt(num1);
String octal1 = Integer.toOctalString(iNum1);
return octal1;
public static String octalEquivalent2() {
int iNum2 = Integer.parseInt(num2);
String octal2 = Integer.toOctalString(iNum2);
return octal2;
public static String hexadecimalEquivalent1() {
int iNum1 = Integer.parseInt(num1);
String hex1 = Integer.toHexString(iNum1);
return hex1;
public static String hexadecimalEquivalent2() {
int iNum2 = Integer.parseInt(num2);
String hex2 = Integer.toHexString(iNum2);
return hex2;
public double Round1() {
answer = Math.round(Double.parseDouble(num1));
return answer;
public double Round2() {
answer = Math.round(Double.parseDouble(num2));
return answer;
SimpleDateFormat format1 = new SimpleDateFormat("EEEE, dd MMMM yyyy");
Date now = new Date();
SimpleDateFormat format2 = new SimpleDateFormat("hh:mm a");
static Date timeIn = new Date();
public static long programRuntime() {
Date timeInD = timeIn;
long timeOutD = System.currentTimeMillis();
long msec = timeOutD - timeInD.getTime();
float timeHours = msec / 1000;
return (long) timeHours;
DecimalFormat decimals = new DecimalFormat("#0.00");
public String insertNameAndSurname() throws IOException{
boolean inputCorrect = false;
while (inputCorrect == false) {
while (nameSurname == null || nameSurname.length() == 0) {
for (int i = 0; i < nameSurname.length(); i++) {
if ((nameSurname.charAt(i) > 'a') && (nameSurname.charAt(i) < 'Z')){
inputCorrect = true;
else{
inputCorrect = false;
break;
try {
BufferedReader inStream = new BufferedReader (new InputStreamReader(System.in));
System.out.print("Please enter your name and surname: ");
nameSurname = inStream.readLine();
inputCorrect = true;
}catch (IOException ex) {
System.out.println("You did not enter your name and surname, " + nameSurname + " is not a name, please enter your name and surname :");
inputCorrect = false;
System.out.println("\nA warm welcome " + nameSurname + " ,todays date is: " + format1.format(now));
System.out.println("and the time is now exactly " + format2.format(timeIn) + ".");
return nameSurname;
public String inputNumber1() throws IOException {
boolean inputCorrect = false;
while (inputCorrect == false) {
try {
BufferedReader br = new BufferedReader (new InputStreamReader(System.in));
System.out.print("\nPlease enter a number you want to do a calculation with and hit <ENTER>: ");
num1 = br.readLine();
double number1 = Double.parseDouble(num1);
System.out.println("\nThe number you have entered is: " + number1);
inputCorrect = true;
} catch (NumberFormatException nfe) {
System.out.println("\nYou did not enter a valid number: " + "\""+ num1 + "\" is not a number!!");
inputCorrect = false;
return num1;
public String calculatorChoice() throws IOException {
System.out.println("Please select an option of what you would like to do with this number from the menu below and hit <ENTER>: ");
System.out.println("\n*********************************************");
System.out.println("---------------------------------------------");
System.out.println("Please select an option from the list below: ");
System.out.println("---------------------------------------------");
System.out.println("1 - Add");
System.out.println("2 - Subtract");
System.out.println("3 - Multiply");
System.out.println("4 - Divide (remainder included)");
System.out.println("5 - Maximum and minimum value of two numbers");
System.out.println("6 - Squareroot");
System.out.println("7 - Absolute value of numbers");
System.out.println("8 - Octal and Hexadecimal equivalent of numbers");
System.out.println("9 - Round numbers");
System.out.println("0 - Exit program");
System.out.println("**********************************************");
boolean inputCorrect = false;
while (inputCorrect == false) {
try {
BufferedReader inStream = new BufferedReader (new InputStreamReader(System.in));
System.out.print("Please enter your option and hit <ENTER>: ");
choice1 = inStream.readLine();
int c1 = Integer.parseInt(choice1);
System.out.println("\nYou have entered choice number: " + c1);
inputCorrect = true;
} catch (NumberFormatException nfe) {
System.out.println("You did not enter a valid choice number: " + "\""+ choice1 + "\" is not in the list!!");
inputCorrect = false;
return choice1;
public String inputNumber2() throws IOException {
boolean inputCorrect = false;
while (inputCorrect == false) {
try {
BufferedReader br2 = new BufferedReader (new InputStreamReader(System.in));
System.out.print("\nPlease enter another number you want to do the calculation with and hit <ENTER>: ");
num2 = br2.readLine();
double n2 = Double.parseDouble(num2);
System.out.println("\nThe second number you have entered is: " + n2);
System.out.println("\nYour numbers are: " + num1 + " and " + num2);
inputCorrect = true;
} catch (NumberFormatException nfe) {
System.out.println("You did not enter a valid number: " + "\""+ num2 + "\" is not a number!!");
inputCorrect = false;
return num2;
public int Calculator() {
int choice2 = (int) Double.parseDouble(choice1);
switch (choice2) {
case 1 :
Add();
System.out.print("The answer of " + num1 + " + " + num2 + " is: " + decimals.format(answer));
break;
case 2 :
Subtract();
System.out.print("The answer of " + num1 + " - " + num2 + " is: " + decimals.format(answer));
break;
case 3 :
Multiply();
System.out.print("The answer of " + num1 + " * " + num2 + " is: " + decimals.format(answer));
break;
case 4 :
Divide();
System.out.print("The answer of " + num1 + " / " + num2 + " is: " + decimals.format(answer));
Modulus();
System.out.print(" and the remainder is " + decimals.format(answer));
break;
case 5 :
maximumValue();
System.out.println("The maximum number between the numbers " + num1 + " and " + num2 + " is: " + decimals.format(answer));
minimumValue();
System.out.println("The minimum number between the numbers " + num1 + " and " + num2 + " is: " + decimals.format(answer));
break;
case 6 :
Squareroot1();
System.out.println("The squareroot of value " + num1 + " is: " + decimals.format(answer));
Squareroot2();
System.out.println("The squareroot of value " + num2 + " is: " + decimals.format(answer));
break;
case 7 :
absoluteNumber1();
System.out.println("The absolute number of " + num1 + " is: " + decimals.format(answer));
absoluteNumber2();
System.out.println("The absolute number of " + num2 + " is: " + decimals.format(answer));
break;
case 8 :
octalEquivalent1();
System.out.println("The octal equivalent of " + num1 + " is: " + octalEquivalent1());
octalEquivalent2();
System.out.println("The octal equivalent of " + num2 + " is: " + octalEquivalent2());
hexadecimalEquivalent1();
System.out.println("\nThe hexadecimal equivalent of " + num1 + " is: " + hexadecimalEquivalent1());
hexadecimalEquivalent2();
System.out.println("The hexadecimal equivalent of " + num2 + " is: " + hexadecimalEquivalent2());
break;
case 9 :
Round1();
System.out.println("The rounded number of " + num1 + " is: " + decimals.format(answer));
Round2();
System.out.println("The rounded number of " + num2 + " is: " + decimals.format(answer));
break;
case 0 :
if (choice2 == 0) {
System.exit(1);
break;
return choice2;
public String anotherCalculation() throws IOException {
boolean inputCorrect = false;
while (inputCorrect == false) {
try {
BufferedReader br3 = new BufferedReader (new InputStreamReader(System.in));
System.out.print("\nWould you like to do another calculation? Y/N ");
more = br3.readLine();
String s1 = "y";
String s2 = "Y";
if (more.equals(s1) || more.equals(s2)) {
inputCorrect = true;
while (inputCorrect = true){
inputNumber1();
System.out.println("");
calculatorChoice();
System.out.println("");
inputNumber2();
System.out.println("");
Calculator();
System.out.println("");
anotherCalculation();
System.out.println("");
inputCorrect = true;
} else {
System.out.println("\n" + nameSurname + " thank you for using this program, you have used this program for: " + decimals.format(programRuntime()) + " seconds");
System.out.println("the program will now exit, Goodbye.");
System.exit(0);
} catch (IOException ex){
System.out.println("You did not enter a valid answer: " + "\""+ more + "\" is not in the list!!");
inputCorrect = false;
return more;
public static void main(String[] args) throws IOException {
Project p1 = new Project();
p1.insertNameAndSurname();
System.out.println("");
p1.inputNumber1();
System.out.println("");
p1.calculatorChoice();
System.out.println("");
p1.inputNumber2();
System.out.println("");
p1.Calculator();
System.out.println("");
p1.anotherCalculation();
System.out.println("");
{code}
*Can you please run my code for yourself and have a look at how this program is constructed*
*and give me ANY feedback on how I can better this code(program) or if I've done anything wrong from your point of view.*
Your help will be much appreciated.
Thanks in advanceSmirre wrote:
Now my question is this: How can I restrict the user to only enter 'letters' (and spaces of course) but allow NO numbers for his/her surname??You cannot restrict the user. It is a sad fact in programming that the worst bug always sits in front of the Computer.
What you could do is checking the input string for numbers. If it contains numbers, just reprompt for the Name.
AND you might want to ask yourself why the heck a calculator needs to know the users Name. -
Please help with a new dual purpose PC build
Hi everybody in AdobeLand!
I've been reading various boards and hardware sites and have started piecing together a dual purpose computer system. It will be used for both video editing (of pre-shot hacked, high bitrate I-Frame Panasonic GH2 DSLR and camcorder footage using the AVCHD codec @ 1080p 24 and 30 fps) and webcasting/streaming purposes. I would build two computers for each task, but it's just not in the budget right now. I'm already stretching things as is.
I'm still not sure if I will be using Adobe Premiere or Sony Vegas Pro 12 yet, though it seems like they organize their folders and file structures about the same. Adobe's cloud service has me a bit scared off right now. This new scheme feels like they have their hand purpetually in your wallet, which does not sit well with me. I may still go with Vegas 12 just to avoid that hassle right now. Help guide me here, experts! Telestream's Wirecast is being used for multi-cam switching and graphics for live and pre-recorded material being compressed and streamed.
Back on topic:
Here's the build as of right now...
OS: Windows 7 64-Bit Professional (Windows 8 absolutely sucks!)
CPU: Intel i7-4930k 6-Core Ivy Bridge (own)
Motherboard: Asus P9X79 Pro (own)
Memory: Crucial Ballistix 1.35v Sport DDR3L @ 32 GB (own)
GPU: EVGA GTX 770 FTW w/ 4 GB (will buy another HD monitor at a later date, hence the 4GB memory)
Case: Fractal Design XL R2 Full Tower
CPU Cooling: Noctua NH-D14 w/ SE2011 Bracket
PSU: Corsair RM1000 Quiet Series / 80 Plus Gold / 1000 Watts
Monitor: Dell U2412M Ultrasharp 24 inch / 1920x1200
Optical Drive: LG Blu-ray Writer
Keyboard: Microsoft 4000 Ergonomic
HDMI capture cards: Blackmagic Designs Decklink Mini (x2)
Storage:
I bought two Samsung 840 Pro SSD drives: one 128 GB and one 256 GB
Thinking about possibly 2 (maybe 3-4 if I really stretch) Seagate ST3000DM001 3TB HDD's.
I could sure use your help with any advise on arranging the storage to get the best bang vs. buck in speed and storage utilization (Wirecast can be setup to record live webcast sessions at 720p or 1080p in compressed files... probably no more than 120 minute webcasts... so that comes into play as well). Just don't have the funds for an uber-expensive RAID controller card right now.
Any opinions overall on the parts for the current build? I still have time to send back and exchange anything already purchased.
Thank you for your time and consideration.What do you not understand from:
With all the reading and writing going on, on the boot disk, it is understandable you need a (number of) dedicated disk(s) for video editing, especially with the bandwidths required when the clip duration is short and the number of tracks exceeds one and uses a codec more complex than DV. The kind of files used during editing are, in order of their need for speed:
Media cache & Media cache database files, created on importing media into a project. They contain indexed, conformed audio and peak files for waveform display.
Typically small files, but lots of them, so in the end they still occupy lots of disk space.
Preview (rendered) files, created when the time-line is rendered for preview purposes, the red bar turned to green. Read all the time when previewing the time-line.
Project files, including project auto-save files, that are constantly being read and saved as auto-save files and written when saving your edits.
Media files, the original video material ingested from tape or card based cameras. Typically long files, only used for reading, since PR is a non-destructive editor.
Export files, created when the time-line is exported to its final delivery format. These files are typically only written once and often vary in size from several hundred KB to tens of GB.
When you are doubting which category of files to put on which kind of disk, especially when using both SSD's and HDD's, keep in mind that the speed advantage of SSD's over HDD's is most noteworthy with the Media cache & Media cache database. These files are frequently accessed, are small and there are many, so reducing latency and seek times and increasing transfer rates pays off by putting these on a SSD, rather than on a HDD, even if it is a raid0. Export files can go to the slowest volume on your system, since you only export once. To help you decide, I have added priority rank-numbers for speed, with 1 for the fastest volume and 5 for the least speed-demanding category.
and
Well, in the benchmark tests we have not seen any noticeable difference between SSD and HDD in terms of performance, but logic dictates that there should be a small difference in performance when the volume used for media cache is a SSD, because of the much faster access time and lower latency compared to a conventional disk. If it is noticeable, it is specifically on this volume with the media cache and media cache database, due to the large amount of small files that need to be accessed and written. This argument does not apply to the media volume with a limited number of files, that are very big in size. -
Need Help with data type conversion
Hello People,
I am new to java, i need some help with data type conversion:
I have variable(string) storing IP Address
IPAddr="10.10.103.10"
I have to call a library function which passes IP Address and does something and returns me a value.
The problem I have is that external function call in this library excepts IP Address in form of a byte array.
Here is the syntax for the function I am calling through my program
int createDevice (byte[] ipAddress).
now my problem is I don't know how to convert the string IPAddr variable into a byte[] ipAddress to pass it through method.Class InetAddress has a method
byte[] getAddress() You can create an instance using the static method getByName() providing the IP address string as argument. -
Help with time machine back up
hey guys im having a serious issue with my logic pro. ive only noticed it since ive started a new project and wanted to use some factory instruments in the exs.
basically it cause logic to just crash when i try to open them and gives me this message, i.....the only thing i can think is that i did a time machine back up onto my new mac and its since ive done that im having problems so i assume time machine didnt put all the files where the should be.. i dont really want to have to delete all my logic files and redownload it incase i mess it up worse lol
any ways heres the report
Process: Logic Pro [221]
Path: /Applications/Logic Pro.app/Contents/MacOS/Logic Pro
Identifier: com.apple.logic.pro
Version: 9.1.8 (1700.67)
Build Info: Logic-17006700~2
App Item ID: 459578486
App External ID: 10394291
Code Type: X86 (Native)
Parent Process: launchd [154]
User ID: 502
Date/Time: 2013-05-14 14:20:41.701 +1000
OS Version: Mac OS X 10.8.2 (12C3103)
Report Version: 10
Interval Since Last Report: 104420 sec
Crashes Since Last Report: 5
Per-App Interval Since Last Report: 43021 sec
Per-App Crashes Since Last Report: 5
Anonymous UUID: 612A18CF-E4FB-4801-E3B9-9E3F9E18F369
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGABRT)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
*** CFEqual() called with NULL first argument ***
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x90d48a6a __pthread_kill + 10
1 libsystem_c.dylib 0x99197acf pthread_kill + 101
2 libsystem_c.dylib 0x991ce5ff __abort + 199
3 libsystem_c.dylib 0x991ce538 abort + 232
4 com.apple.logic.pro 0x003e6729 std::ostream& TraceOutContainer<CEvs>(std::ostream&, CEvs, char const*, int) + 3842985
5 libsystem_c.dylib 0x9918286b _sigtramp + 43
6 com.apple.CoreFoundation 0x99aa481d CFEqual + 45
7 com.apple.music.apps.MAFiles 0x02a496e5 CFileUtilGetSpotlightStatus(CFileRef const&) + 213
8 com.apple.logic.pro 0x001b6af7 std::ostream& TraceOutContainer<CEvs>(std::ostream&, CEvs, char const*, int) + 1550199
9 com.apple.logic.pro 0x001b8aad std::ostream& TraceOutContainer<CEvs>(std::ostream&, CEvs, char const*, int) + 1558317
10 com.apple.music.apps.MAAudioEngine 0x02b56ee9 CSamplerInst::LoadFile(CSamplerZone*, CSamplerFile*, int*, std::list<std::string, std::allocator<std::string> >&, CProgressBar*) + 329
11 com.apple.music.apps.MAAudioEngine 0x02b574e1 CSamplerInst::LoadFiles(int*, std::list<std::string, std::allocator<std::string> >&, int) + 657
12 com.apple.music.apps.MAAudioEngine 0x02b576c2 CSamplerInst::IncRefCount(int) + 210
13 com.apple.music.apps.MAAudioEngine 0x02b67f46 MDSampler::SetControlValueSub(int, long, CSamplerView*) + 1798
14 com.apple.music.apps.MAAudioEngine 0x02b6930a MDSampler::SetControlValue(short, long) + 42
15 com.apple.logic.pro 0x001bd57f std::ostream& TraceOutContainer<CEvs>(std::ostream&, CEvs, char const*, int) + 1577471
16 com.apple.logic.pro 0x001145a0 std::ostream& TraceOutContainer<CEvs>(std::ostream&, CEvs, char const*, int) + 885280
17 com.apple.logic.pro 0x0011507c std::ostream& TraceOutContainer<CEvs>(std::ostream&, CEvs, char const*, int) + 888060
18 com.apple.logic.pro 0x001bb3a9 std::ostream& TraceOutContainer<CEvs>(std::ostream&, CEvs, char const*, int) + 1568809
19 com.apple.music.apps.MAAudioEngine 0x02b6bd3f MDSampler::RecallDefaultParam(int) + 1567
20 com.apple.music.apps.MADSP 0x01d7156d CSamplerFilter::CSamplerFilter(long, double, bool&) + 22813
21 com.apple.music.apps.MADSP 0x01bbec81 0x1b81000 + 253057
22 com.apple.music.apps.MAPlugInGUI 0x01619956 GSender::Broadcast(GMessage const&) + 86
23 com.apple.music.apps.MAPlugInGUI 0x014c01f6 GControl::BroadcastValue(bool, int) + 182
24 com.apple.music.apps.MAPlugInGUI 0x014bfa88 GControl::SetControlPos(int, bool, bool, bool, int, int) + 328
25 com.apple.music.apps.MAPlugInGUI 0x014b9008 GButton::OnBeginAction(GControl::GHotSpot const&) + 136
26 com.apple.music.apps.MAPlugInGUI 0x014c134d GControl::HandleBeginAction(GControl::GHotSpot const&) + 61
27 com.apple.music.apps.MAPlugInGUI 0x014bfef4 GControl::OnMouseDown(GMouseDownEvent const&) + 644
28 com.apple.music.apps.MAPlugInGUI 0x01631696 GView::HandleMouseDown(GMouseDownEvent const&) + 374
29 com.apple.music.apps.MAPlugInGUI 0x0161ef43 GBaseView::EventMouseDown(GMouseDownEvent const&) + 771
30 com.apple.music.apps.MAPlugInGUI 0x0161e63a GBaseView::HandleCbEventMouseDown(GMouseDownEvent const&) + 250
31 com.apple.music.apps.MAPlugInGUI 0x017842ae GViewConnector::GViewConnector(NSView*, GGeoRect<int> const&, GListener*) + 17838
32 com.apple.music.apps.MAPlugInGUI 0x01782b11 GViewConnector::GViewConnector(NSView*, GGeoRect<int> const&, GListener*) + 11793
33 com.apple.music.apps.MAPlugInGUI 0x01782a3c GViewConnector::GViewConnector(NSView*, GGeoRect<int> const&, GListener*) + 11580
34 com.apple.AppKit 0x9789fa21 -[NSWindow sendEvent:] + 6968
35 com.apple.prokit 0x00fcb518 -[NSProPanel sendEvent:] + 257
36 com.apple.logic.pro 0x007c9f93 std::ostream& TraceOutContainer<CEvs>(std::ostream&, CEvs, char const*, int) + 7920659
37 com.apple.logic.pro 0x0091a181 void UnitTest::CheckEqual<ScTypeSetter::tVerticalAlignment, ScTypeSetter::tVerticalAlignment>(UnitTest::TestResults&, ScTypeSetter::tVerticalAlignment, ScTypeSetter::tVerticalAlignment, UnitTest::TestDetails const&) + 24513
38 com.apple.AppKit 0x9789aa0f -[NSApplication sendEvent:] + 4278
39 com.apple.prokit 0x00fa8d33 -[NSProApplication sendEvent:] + 2046
40 com.apple.logic.pro 0x0061503d std::ostream& TraceOutContainer<CEvs>(std::ostream&, CEvs, char const*, int) + 6130877
41 com.apple.logic.pro 0x00619cd1 std::ostream& TraceOutContainer<CEvs>(std::ostream&, CEvs, char const*, int) + 6150481
42 com.apple.logic.pro 0x0061506f std::ostream& TraceOutContainer<CEvs>(std::ostream&, CEvs, char const*, int) + 6130927
43 com.apple.AppKit 0x977b472c -[NSApplication run] + 951
44 com.apple.prokit 0x00fa9651 NSProApplicationMain + 424
45 com.apple.logic.pro 0x0002bad5 DummyConnection::DummyConnection() + 193
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x90d499ae kevent + 10
1 libdispatch.dylib 0x928e9c71 _dispatch_mgr_invoke + 993
2 libdispatch.dylib 0x928e97a9 _dispatch_mgr_thread + 53
Thread 2:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x90d467d2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x90d45cb0 mach_msg + 68
2 com.apple.CoreFoundation 0x99ac7599 __CFRunLoopServiceMachPort + 185
3 com.apple.CoreFoundation 0x99accf7f __CFRunLoopRun + 1247
4 com.apple.CoreFoundation 0x99acc63a CFRunLoopRunSpecific + 378
5 com.apple.CoreFoundation 0x99acc4ab CFRunLoopRunInMode + 123
6 com.apple.Foundation 0x91f2f13a +[NSURLConnection(Loader) _resourceLoadLoop:] + 395
7 com.apple.Foundation 0x91f931d8 -[NSThread main] + 45
8 com.apple.Foundation 0x91f9315b __NSThread__main__ + 1396
9 libsystem_c.dylib 0x99196557 _pthread_start + 344
10 libsystem_c.dylib 0x99180cee thread_start + 34
Thread 3:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x90d48be6 __select + 10
1 com.apple.CoreFoundation 0x99b10c00 __CFSocketManager + 1632
2 libsystem_c.dylib 0x99196557 _pthread_start + 344
3 libsystem_c.dylib 0x99180cee thread_start + 34
Thread 4:
0 libsystem_kernel.dylib 0x90d488e2 __psynch_cvwait + 10
1 libsystem_c.dylib 0x9919b220 _pthread_cond_wait + 833
2 libsystem_c.dylib 0x992210a1 pthread_cond_wait$UNIX2003 + 71
3 com.apple.music.apps.MAAudioEngine 0x02b363a9 MDFileIOThread_IsBusy + 3593
4 libsystem_c.dylib 0x99196557 _pthread_start + 344
5 libsystem_c.dylib 0x99180cee thread_start + 34
Thread 5:
0 libsystem_kernel.dylib 0x90d467d2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x90d45cb0 mach_msg + 68
2 com.apple.audio.midi.CoreMIDI 0x0137922d XServerMachPort::ReceiveMessage(int&, void*, int&) + 101
3 com.apple.audio.midi.CoreMIDI 0x01396ae0 MIDIProcess::RunMIDIInThread() + 144
4 com.apple.audio.midi.CoreMIDI 0x0139cc48 MIDIProcess::MIDIInPortThread::Run() + 24
5 com.apple.audio.midi.CoreMIDI 0x0137a805 XThread::RunHelper(void*) + 17
6 com.apple.audio.midi.CoreMIDI 0x0137a2ee CAPThread::Entry(CAPThread*) + 196
7 libsystem_c.dylib 0x99196557 _pthread_start + 344
8 libsystem_c.dylib 0x99180cee thread_start + 34
Thread 6:
0 libsystem_kernel.dylib 0x90d488e2 __psynch_cvwait + 10
1 libsystem_c.dylib 0x9919b289 _pthread_cond_wait + 938
2 libsystem_c.dylib 0x9919b512 pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreServices.CarbonCore 0x95aec6ad TSWaitOnConditionTimedRelative + 177
4 com.apple.CoreServices.CarbonCore 0x95aec184 TSWaitOnSemaphoreCommon + 272
5 com.apple.CoreServices.CarbonCore 0x95aec40d TSWaitOnSemaphoreRelative + 24
6 com.apple.CoreServices.CarbonCore 0x95ad21a3 TimerThread + 324
7 libsystem_c.dylib 0x99196557 _pthread_start + 344
8 libsystem_c.dylib 0x99180cee thread_start + 34
Thread 7:
0 libsystem_kernel.dylib 0x90d490ee __workq_kernreturn + 10
1 libsystem_c.dylib 0x9919904c _pthread_workq_return + 45
2 libsystem_c.dylib 0x99198e19 _pthread_wqthread + 448
3 libsystem_c.dylib 0x99180cca start_wqthread + 30
Thread 8:
0 libsystem_kernel.dylib 0x90d490ee __workq_kernreturn + 10
1 libsystem_c.dylib 0x9919904c _pthread_workq_return + 45
2 libsystem_c.dylib 0x99198e19 _pthread_wqthread + 448
3 libsystem_c.dylib 0x99180cca start_wqthread + 30
Thread 9:
0 libsystem_kernel.dylib 0x90d490ee __workq_kernreturn + 10
1 libsystem_c.dylib 0x9919904c _pthread_workq_return + 45
2 libsystem_c.dylib 0x99198e19 _pthread_wqthread + 448
3 libsystem_c.dylib 0x99180cca start_wqthread + 30
Thread 10:
0 libsystem_kernel.dylib 0x90d490ee __workq_kernreturn + 10
1 libsystem_c.dylib 0x9919904c _pthread_workq_return + 45
2 libsystem_c.dylib 0x99198e19 _pthread_wqthread + 448
3 libsystem_c.dylib 0x99180cca start_wqthread + 30
Thread 11:: com.apple.appkit-heartbeat
0 libsystem_kernel.dylib 0x90d48c72 __semwait_signal + 10
1 libsystem_c.dylib 0x99220a61 nanosleep$UNIX2003 + 189
2 libsystem_c.dylib 0x9922092a usleep$UNIX2003 + 60
3 com.apple.AppKit 0x979a3d4d -[NSUIHeartBeat _heartBeatThread:] + 879
4 com.apple.Foundation 0x91f931d8 -[NSThread main] + 45
5 com.apple.Foundation 0x91f9315b __NSThread__main__ + 1396
6 libsystem_c.dylib 0x99196557 _pthread_start + 344
7 libsystem_c.dylib 0x99180cee thread_start + 34
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x00000000 ecx: 0xbfffdeac edx: 0x90d48a6a
edi: 0xacacca28 esi: 0x00000006 ebp: 0xbfffdec8 esp: 0xbfffdeac
ss: 0x00000023 efl: 0x00000206 eip: 0x90d48a6a cs: 0x0000000b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x09bfc000
Logical CPU: 0
Binary Images:
0x1000 - 0xbeafff com.apple.logic.pro (9.1.8 - 1700.67) <D8F173FC-C08A-5AF3-A7DD-ECFFDB6A8877> /Applications/Logic Pro.app/Contents/MacOS/Logic Pro
0xe85000 - 0xeb8fe7 com.apple.music.apps.MAAudioUnitSupport (9.1.8 - 233.53) <4A75EC0F-CD9B-99B7-187C-FAD6560734D7> /Applications/Logic Pro.app/Contents/Frameworks/MAAudioUnitSupport.framework/Versions/A/MAAudioUnit Support
0xec7000 - 0xef8ff3 com.apple.musicaudiodataservices (1.1 - 251.4) <0265F317-13AB-6CF1-A171-7D5853442E75> /Applications/Logic Pro.app/Contents/Frameworks/MAAssetSharing.framework/Versions/A/MAAssetSharing
0xf08000 - 0xf0afff com.apple.ExceptionHandling (1.5 - 10) <D565F065-B45F-37FF-BA46-C675F95BBC00> /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHand ling
0xf10000 - 0xf6eff3 com.apple.music.apps.MALoopManagement (9.1.8 - 219.66) <A1CB744D-B391-438C-28DE-2CABB594E4A9> /Applications/Logic Pro.app/Contents/Frameworks/MALoopManagement.framework/Versions/A/MALoopManagem ent
0xf86000 - 0x11b7ff3 com.apple.prokit (7.3.1 - 1943) <FB023C34-D236-3B48-B87F-1D54EEBF32B3> /System/Library/PrivateFrameworks/ProKit.framework/Versions/A/ProKit
0x12cf000 - 0x1349fff com.apple.music.apps.MACore (9.1.8 - 477.58) <53D4EB61-BFD7-ADA1-217C-BBEA1F38DA80> /Applications/Logic Pro.app/Contents/Frameworks/MACore.framework/Versions/A/MACore
0x136b000 - 0x13b3ffb com.apple.audio.midi.CoreMIDI (1.9 - 78) <CE34882B-8B96-3376-9451-592BE9A0D04F> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
0x13d8000 - 0x142eff7 com.apple.music.apps.MAHarmony (9.1.8 - 199.72) <D93A5C62-91A1-2D04-A715-5805EBEF693B> /Applications/Logic Pro.app/Contents/Frameworks/MAHarmony.framework/Versions/A/MAHarmony
0x1447000 - 0x1861feb com.apple.music.apps.MAPlugInGUI (9.1.8 - 424.79) <D98859D6-BA99-5073-49B7-44B57F4FE211> /Applications/Logic Pro.app/Contents/Frameworks/MAPlugInGUI.framework/Versions/A/MAPlugInGUI
0x1a88000 - 0x1b6afeb com.apple.music.apps.OMF (9.1.8 - 109.7) <869B8C49-7726-C45F-E301-A21EAE7A3B3B> /Applications/Logic Pro.app/Contents/Frameworks/OMF.framework/Versions/A/OMF
0x1b81000 - 0x21d2fe3 com.apple.music.apps.MADSP (9.1.8 - 588.98) <7BEB4983-28A6-8808-2B8D-A48F0A3F0111> /Applications/Logic Pro.app/Contents/Frameworks/MADSP.framework/Versions/A/MADSP
0x28c9000 - 0x28eaff7 com.apple.music.apps.LogicFileBrowser (9.1.8 - 1700.67) <FEEA3128-4A7E-7FDD-0E7E-BFC9554CA78B> /Applications/Logic Pro.app/Contents/Frameworks/LogicFileBrowser.framework/Versions/A/LogicFileBrow ser
0x28f4000 - 0x296dff7 com.apple.music.apps.LogicLoopBrowser (9.1.8 - 1700.67) <3396D969-32DF-0446-8E3D-F2FE82B23CD8> /Applications/Logic Pro.app/Contents/Frameworks/LogicLoopBrowser.framework/Versions/A/LogicLoopBrow ser
0x2983000 - 0x29a4ff7 com.apple.music.apps.MAApogeeSupport (9.1.8 - 313.26) <D058F550-BB20-ABD6-51E8-3001AE32A6E1> /Applications/Logic Pro.app/Contents/Frameworks/MAApogeeSupport.framework/Versions/A/MAApogeeSuppor t
0x29ab000 - 0x29b0ff7 com.apple.music.apps.MAResources (9.1.8 - 212.66) <985579E4-F9E5-F7C6-39C8-FC294A330A2A> /Applications/Logic Pro.app/Contents/Frameworks/MAResources.framework/Versions/A/MAResources
0x29b5000 - 0x29e2ff3 com.apple.audio.CoreAudioKit (1.6.4 - 1.6.4) <65464AA8-31B1-3301-9342-2991D79432BB> /System/Library/Frameworks/CoreAudioKit.framework/Versions/A/CoreAudioKit
0x29f5000 - 0x2a05ff7 com.apple.AERegistration (1.2 - 401) <4FEFA52A-BF2E-2BCC-0124-4E3653B88D95> /Applications/Logic Pro.app/Contents/Frameworks/AERegistration.framework/Versions/A/AERegistration
0x2a1b000 - 0x2a27ff3 com.apple.music.apps.MAUnitTest (9.1.8 - 97.27) <FB0DE08A-CFEB-7039-796A-F05E8FE0DA11> /Applications/Logic Pro.app/Contents/Frameworks/MAUnitTest.framework/Versions/A/MAUnitTest
0x2a31000 - 0x2ae7fff com.apple.music.apps.MAFiles (9.1.8 - 144.87) <FF7A5441-B41F-B937-9269-29C589FE6BFF> /Applications/Logic Pro.app/Contents/Frameworks/MAFiles.framework/Versions/A/MAFiles
0x2b02000 - 0x2b7afe3 com.apple.music.apps.MAAudioEngine (9.1.8 - 158.42) <77E17BDE-E079-7A68-621C-2947475D0402> /Applications/Logic Pro.app/Contents/Frameworks/MAAudioEngine.framework/Versions/A/MAAudioEngine
0x2be3000 - 0x2beeff7 com.apple.music.apps.MAToolKit (9.1.8 - 359.28) <77A2C3F7-3530-3D65-4247-D520A1C1F487> /Applications/Logic Pro.app/Contents/Frameworks/MAToolKit.framework/Versions/A/MAToolKit
0x2bf4000 - 0x2c08ff7 com.apple.music.apps.MAVideo (9.1.8 - 12.70) <74AD8812-DB1B-1845-B389-ACB0FC255ECB> /Applications/Logic Pro.app/Contents/Frameworks/MAVideo.framework/Versions/A/MAVideo
0x2c1c000 - 0x2d3aff3 com.apple.WebKit (8536 - 8536.26.14) <C7BAC2E5-03F0-3516-86F1-49C4076A090F> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x2deb000 - 0x2f37fff com.apple.syncservices (7.0 - 713) <5DEDF14F-B123-362E-9461-47F55C7452CD> /System/Library/Frameworks/SyncServices.framework/Versions/A/SyncServices
0x2fb3000 - 0x304fffc com.apple.MobileMe (9 - 1.01) <EBADB981-9ED6-82B0-810F-F1CB05CB5A17> /Applications/Logic Pro.app/Contents/Frameworks/MobileMe.framework/Versions/A/MobileMe
0x30af000 - 0x315afff libcrypto.0.9.7.dylib (106) <B96063DD-DBFC-320E-97C7-9ED5099051AC> /usr/lib/libcrypto.0.9.7.dylib
0x319e000 - 0x31b4ffc libexpat.1.dylib (12) <D4F1FD2B-F75A-322C-843E-113EF5F8EEAF> /usr/lib/libexpat.1.dylib
0x31bd000 - 0x3e4cff3 com.apple.WebCore (8536 - 8536.26.14) <D8DCE3AB-556A-3C2F-8249-A38A0E3595E2> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x4727000 - 0x474cffe com.apple.prokit.LionPanels (7.3.1 - 1943) <56A7D10D-3AF6-3AAB-BFC9-18938735E108> /System/Library/PrivateFrameworks/ProKit.framework/Versions/A/Resources/LionPan els.bundle/Contents/MacOS/LionPanels
0x47c3000 - 0x47d0ff3 com.apple.Librarian (1.1 - 1) <88A55A5E-40FF-3234-8394-2317120B79AB> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
0x5700000 - 0x577fff7 com.apple.iLifeMediaBrowser (2.7.2 - 546) <24A0A118-874B-3C7C-B50C-C80BED03A15F> /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/iLifeM ediaBrowser
0x6f62000 - 0x6f70fff com.apple.iokit.IOHIDLib (1.8.1 - 1.8.1) <47437095-1433-3148-87F6-DEBD33DBFBD9> /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Co ntents/MacOS/IOHIDLib
0x6fc6000 - 0x6fcbfff com.apple.audio.AppleHDAHALPlugIn (2.3.5 - 2.3.5fc12) <1EABA0EA-1AA2-3EDB-A3AD-EE8FE2CC9AA4> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bun dle/Contents/MacOS/AppleHDAHALPlugIn
0x9abd000 - 0x9abeff5 +cl_kernels (???) <97579674-DC25-486F-A43F-9F13F4C9EFC2> cl_kernels
0x9ace000 - 0x9ad6ff7 com.apple.proapps.mrcheckpro (1.4 - 397) <25DBA6AA-139D-EFAC-1BF8-5D29A3DFA497> /Applications/Logic Pro.app/Contents/Resources/MRCheckPro.bundle/Contents/MacOS/MRCheckPro
0x9d00000 - 0x9dbeff3 ColorSyncDeprecated.dylib (400) <A959DD25-E448-3563-B74E-E58C69961C76> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/Resources/ColorSyncDeprecated.dylib
0x9e84000 - 0x9e92fff libSimplifiedChineseConverter.dylib (61) <60899F9C-A79F-3BC2-855E-DC5C78B98FEB> /System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
0x9eef000 - 0x9f18ff7 com.apple.datadetectors (4.0 - 199.0) <51A6E8D8-7918-35F3-86F8-B7E198260F7D> /System/Library/PrivateFrameworks/DataDetectors.framework/Versions/A/DataDetect ors
0x9fa4000 - 0x9fb0ffb libGPUSupport.dylib (8.6.1) <FB98F9CE-31D0-321C-90FE-87D30294921B> /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/lib GPUSupport.dylib
0x9fb7000 - 0x9fe3ffa GLRendererFloat (8.6.1) <72E3DBC7-4175-3D0C-A5AF-A0E6D6CB9CAA> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GL RendererFloat
0x9fec000 - 0x9ff4ffc libcldcpuengine.dylib (2.1.19) <17C33F7F-C359-313B-8044-F0E9CAC750FB> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengin e.dylib
0x1315e000 - 0x13160fff libCoreFSCache.dylib (24.4) <A089ED2E-0156-3937-BE32-5BED76DF4066> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache .dylib
0x13190000 - 0x13192ff3 com.apple.music.apps.anvil.resources (9.1.8 - 280.4) <232E095C-4B63-5F35-5A7A-0CF691EB1101> /Applications/Logic Pro.app/Contents/PlugIns/anvil.res/Contents/MacOS/anvil
0x13197000 - 0x13199ff3 com.apple.music.apps.common.resources (9.1.8 - 280.4) <1D975834-BD71-B0D0-D8CF-1BA760AA9488> /Applications/Logic Pro.app/Contents/PlugIns/common.res/Contents/MacOS/common
0x1319e000 - 0x131a0ff3 com.apple.music.apps.ebp.resources (9.1.8 - 280.4) <191CB44E-25E3-0BAA-6E45-E4FC625432A0> /Applications/Logic Pro.app/Contents/PlugIns/ebp.res/Contents/MacOS/ebp
0x131a5000 - 0x131a7ff3 com.apple.music.apps.efx.resources (9.1.8 - 280.4) <2EEB43AB-D405-62D0-140B-0B887CE18A70> /Applications/Logic Pro.app/Contents/PlugIns/efx.res/Contents/MacOS/efx
0x131ac000 - 0x131aeff3 com.apple.music.apps.egt.resources (9.1.8 - 280.4) <2E91FDD0-709D-AF8A-02C1-169C401D9A9D> /Applications/Logic Pro.app/Contents/PlugIns/egt.res/Contents/MacOS/egt
0x131b3000 - 0x131b5ff3 com.apple.music.apps.emx.resources (9.1.8 - 280.4) <CFDBF0D9-083A-F0A9-DA2E-7D5F6A6D249A> /Applications/Logic Pro.app/Contents/PlugIns/emx.res/Contents/MacOS/emx
0x131ba000 - 0x131bcff3 com.apple.music.apps.es1.resources (9.1.8 - 280.4) <3257B0C1-B4F6-E276-56E4-E226736A1371> /Applications/Logic Pro.app/Contents/PlugIns/es1.res/Contents/MacOS/es1
0x131c1000 - 0x131c3ff3 com.apple.music.apps.es2.resources (9.1.8 - 280.4) <53480C20-F2F1-A2D5-BDA6-E70F6B281A5F> /Applications/Logic Pro.app/Contents/PlugIns/es2.res/Contents/MacOS/es2
0x131c8000 - 0x131caff3 com.apple.music.apps.esp.resources (9.1.8 - 280.4) <8F63A05D-3A14-004C-246F-3D6B5EBEEA7E> /Applications/Logic Pro.app/Contents/PlugIns/esp.res/Contents/MacOS/esp
0x131cf000 - 0x131d1ff3 com.apple.music.apps.evb3.resources (9.1.8 - 280.4) <BE781A59-67E2-FB1E-3F4E-B99D0D30C61C> /Applications/Logic Pro.app/Contents/PlugIns/evb3.res/Contents/MacOS/evb3
0x131d6000 - 0x131d8ff3 com.apple.music.apps.evd6.resources (9.1.8 - 280.4) <D80EB53C-5AFC-7AC6-44E8-7A23AEF023C3> /Applications/Logic Pro.app/Contents/PlugIns/evd6.res/Contents/MacOS/evd6
0x131dd000 - 0x131dfff3 com.apple.music.apps.evoc.resources (9.1.8 - 280.4) <80760949-9342-4C9F-CF3D-4C6333D024FE> /Applications/Logic Pro.app/Contents/PlugIns/evoc.res/Contents/MacOS/evoc
0x131e4000 - 0x131e6ff3 com.apple.music.apps.evp88.resources (9.1.8 - 280.4) <F5393D5E-8BF1-6C37-ED93-5FACFD419DEB> /Applications/Logic Pro.app/Contents/PlugIns/evp88.res/Contents/MacOS/evp88
0x131eb000 - 0x131edff3 com.apple.music.apps.exs24.resources (9.1.8 - 280.4) <AE07C5E6-1D57-D2BB-4942-80AACD51CD44> /Applications/Logic Pro.app/Contents/PlugIns/exs24.res/Contents/MacOS/exs24
0x131f2000 - 0x131f4ff3 com.apple.music.apps.guitaramp.resources (9.1.8 - 280.4) <40F8A885-63FA-D784-78D9-9958EF4EEBF3> /Applications/Logic Pro.app/Contents/PlugIns/guitaramp.res/Contents/MacOS/guitaramp
0x131f9000 - 0x131fbff3 com.apple.music.apps.guitarcontrols.resources (9.1.8 - 280.4) <C6EB6C33-138E-C992-14D1-B03D9EFEFB49> /Applications/Logic Pro.app/Contents/PlugIns/guitarcontrols.res/Contents/MacOS/guitarcontrols
0x13565000 - 0x13567ff3 com.apple.music.apps.mutapdel.resources (9.1.8 - 280.4) <BCF98464-A2C8-D71F-87D5-FEFF35404932> /Applications/Logic Pro.app/Contents/PlugIns/mutapdel.res/Contents/MacOS/mutapdel
0x1356c000 - 0x1356eff3 com.apple.music.apps.pedalboard.resources (9.1.8 - 280.4) <199A76D9-1086-BC6C-68D0-B74431FAF415> /Applications/Logic Pro.app/Contents/PlugIns/pedalboard.res/Contents/MacOS/pedalboard
0x13573000 - 0x13575ff3 com.apple.music.apps.revolver.resources (9.1.8 - 280.4) <2C6B75C7-E32A-B021-7119-E830E7F2E853> /Applications/Logic Pro.app/Contents/PlugIns/revolver.res/Contents/MacOS/revolver
0x1357a000 - 0x1357cff3 com.apple.music.apps.sphere.resources (9.1.8 - 280.4) <E8D4E3E6-8C6F-5D10-57DA-B7C0F71C35F9> /Applications/Logic Pro.app/Contents/PlugIns/sphere.res/Contents/MacOS/sphere
0x137f0000 - 0x137f3fff com.apple.LiveType.component (2.1.3 - 2.1.3) /Library/QuickTime/LiveType.component/Contents/MacOS/LiveType
0x1592d000 - 0x15ab9ff8 GLEngine (8.6.1) <4AF75262-A6C2-3745-AE61-1C3BC7559D31> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x15af0000 - 0x15c41ff7 libGLProgrammability.dylib (8.6.1) <369AA0A8-E925-378C-8D07-71157E6FBDBD> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x16800000 - 0x16c55ff3 com.apple.driver.AppleIntelHD4000GraphicsGLDriver (8.6.22 - 8.0.6) <D8A77BAE-53BE-3AE1-BAFC-B8F8810ADAAF> /System/Library/Extensions/AppleIntelHD4000GraphicsGLDriver.bundle/Contents/Mac OS/AppleIntelHD4000GraphicsGLDriver
0x16df0000 - 0x16df5ff7 com.apple.DesktopVideoOut (1.2.4 - 1.2.4) /Library/QuickTime/DesktopVideoOut.component/Contents/MacOS/DesktopVideoOut
0x184ea000 - 0x184f6ff7 com.apple.DVCPROHDVideoOutput (1.3 - 1.3) /Library/QuickTime/DVCPROHDVideoOutput.component/Contents/MacOS/DVCPROHDVideoOu tput
0x18eea000 - 0x18ef3fff com.apple.IOFWDVComponents (2.0.7 - 2.0.7) <A4F09F97-11B7-3AB1-A1CC-026CBB0EE901> /System/Library/Components/IOFWDVComponents.component/Contents/MacOS/IOFWDVComp onents
0x1d772000 - 0x1d7d7fde com.apple.LiveType.framework (2.1.3 - 2.1.3) /System/Library/PrivateFrameworks/LiveType.framework/Versions/A/LiveType
0x1d86f000 - 0x1d8b9fec com.apple.DVCPROHDMuxer (1.3 - 1.3) /Library/QuickTime/DVCPROHDMuxer.component/Contents/MacOS/DVCPROHDMuxer
0x1d8d7000 - 0x1d90fffb com.apple.audio.SoundManager.Components (4.0 - 4.0) <1B1175B1-9D3D-3079-9371-939B2A63B01C> /System/Library/Components/SoundManagerComponents.component/Contents/MacOS/Soun dManagerComponents
0x1d916000 - 0x1d950fff com.apple.QuickTimeFireWireDV.component (7.7.1 - 2599.13) <5FB303B9-3672-39AA-8CD6-E323CC0E41A8> /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTim eFireWireDV
0x23005000 - 0x23006ff1 +cl_kernels (???) <9D9E4528-AABA-4ACB-8A30-49D9D522B32D> cl_kernels
0x230c7000 - 0x230c8ffd com.apple.textencoding.unicode (2.5 - 2.5) <4E2ABBEB-1F0D-3C06-BA0C-C3CEDDF17BD2> /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x256e6000 - 0x256e6ff7 +cl_kernels (???) <AD924A8D-6DA9-4CEF-A98D-E3CFF4D745B2> cl_kernels
0x256e8000 - 0x2577aff7 unorm8_bgra.dylib (2.1.19) <A2C66114-F581-3D86-9BC9-9994156640AF> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/u norm8_bgra.dylib
0x2578f000 - 0x25790ffd +cl_kernels (???) <184287C8-7052-462A-A7AF-84B8ACFD6829> cl_kernels
0x28900000 - 0x28992ff7 unorm8_argb.dylib (2.1.19) <1B67DB26-5B5D-3600-8049-D744F133BEB1> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/u norm8_argb.dylib
0x2b970000 - 0x2c52efe3 +Massive.MusicDevice.component (1.3.1 [R129] - 1.3.1 [R129], Copyright © 2011 Native Instruments) <00015578-479D-36E0-8C58-A36AA5104A8D> /Library/Audio/Plug-Ins/Components/Massive.component/Contents/MacOS/Massive
0x3373a000 - 0x338b2ff3 +com.LennarDigital.Sylenth1 (2.2.0) /Library/Audio/Plug-Ins/Components/Sylenth1.component/Contents/MacOS/Sylenth1
0x34800000 - 0x36c4bfef +Maschine.MusicDevice.component (1.8.2 [R247] - 1.8.2 [R247], Copyright © 2012 Native Instruments) <508BBA91-6F98-39C5-A8A8-E8A6EEAD0FA1> /Library/Audio/Plug-Ins/Components/Maschine.component/Contents/MacOS/Maschine
0x8e41d000 - 0x8ed41ff3 com.apple.GeForceGLDriver (8.6.22 - 8.0.6) <B7B9239F-4563-39DB-B60B-0688A4B7283C> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDrive r
0x8fefa000 - 0x8ff2ce57 dyld (210.2.3) <23DBDBB1-1D21-342C-AC2A-0E55F27E6A1F> /usr/lib/dyld
0x90009000 - 0x90009fff com.apple.vecLib (3.8 - vecLib 3.8) <83160DD1-5614-3E34-80EB-97041016EF1F> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x9000a000 - 0x9000cfff com.apple.securityhi (4.0 - 55002) <79E3B880-3AB7-3BF3-9CDF-117A45599545> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x9000d000 - 0x90044ffa com.apple.LDAPFramework (2.4.28 - 194.5) <4654A24A-C2B1-3591-9694-2DF2480A46AB> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x90045000 - 0x90103ff3 com.apple.ColorSync (4.8.0 - 4.8.0) <B534DE6A-3AF0-307C-B274-A4FCFC5BC696> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x90104000 - 0x90121ff7 libresolv.9.dylib (51) <B9742A2A-DF15-3F6E-8FCE-778A58214B3A> /usr/lib/libresolv.9.dylib
0x90122000 - 0x903aeffb com.apple.RawCamera.bundle (4.04 - 680) <DD1D3CFC-1710-3186-A6C4-89B42F100117> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x903af000 - 0x904baff7 libJP2.dylib (845) <D409C913-6FA4-3D60-BFE0-B9FC6A02FEE0> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x904bb000 - 0x904eeff3 com.apple.GSS (3.0 - 2.0) <7D3FD0A3-C9E9-3A8A-BD59-1730750114CC> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x904ef000 - 0x90534ff7 com.apple.NavigationServices (3.7 - 200) <6AB1A00C-BC94-3889-BA95-40A454B720CE> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x90541000 - 0x907daff3 com.apple.AddressBook.framework (7.1 - 1167) <4592F610-8C93-3E24-9E61-999A5667879D> /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x907e0000 - 0x90815fff libTrueTypeScaler.dylib (84.5) <4F94F0B2-F3D4-35B5-9026-D9FF0BFC1D89> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
0x90816000 - 0x90866ff7 com.apple.CoreMediaIO (306.0 - 4151.1) <5F85D6A6-7F01-333B-91B4-9FB7D4D3752A> /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO
0x90867000 - 0x90868fff libquarantine.dylib (52) <D526310F-DC77-37EA-8F5F-83928EFA3262> /usr/lib/system/libquarantine.dylib
0x90869000 - 0x90869fff com.apple.Carbon (154 - 155) <C0A26E7B-28F1-3C7E-879E-A3CF3ED5111C> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x9086a000 - 0x90951ff7 libxml2.2.dylib (22.3) <56E973D6-6B55-3E67-8282-6BC982816488> /usr/lib/libxml2.2.dylib
0x90952000 - 0x9097bff7 libRIP.A.dylib (328.0.4) <00D3148A-C70D-3D5A-B60B-C23F2ACE99FE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x9097c000 - 0x9097dffd com.apple.TrustEvaluationAgent (2.0 - 23) <E42347C0-2D3C-36A4-9200-757FFA61B388> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
0x9097e000 - 0x90a76ff9 libsqlite3.dylib (138.1) <AD7C5914-35F0-37A3-9238-A29D2E26C755> /usr/lib/libsqlite3.dylib
0x90a77000 - 0x90a7efff liblaunch.dylib (442.26.2) <310C99F8-0811-314D-9BB9-D0ED6DFA024B> /usr/lib/system/liblaunch.dylib
0x90a7f000 - 0x90a7ffff com.apple.quartzframework (1.5 - 1.5) <9018BE5B-4070-320E-8091-6584CC17F798> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
0x90a80000 - 0x90ae4fff com.apple.datadetectorscore (4.0 - 269.1) <F918B85D-C93F-3178-97EA-5B33F38DD913> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
0x90aef000 - 0x90af3fff com.apple.IOSurface (86.0.3 - 86.0.3) <E3A4DB0A-1C1A-31E3-A550-5C0E1C874509> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x90af4000 - 0x90b04ff2 com.apple.LangAnalysis (1.7.0 - 1.7.0) <C6076983-A02E-389E-BFC6-008EECC4C896> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x90ba3000 - 0x90ba9fff libGFXShared.dylib (8.6.1) <84569E94-268E-370A-8E59-141340AF8B84> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
0x90baa000 - 0x90d33ff7 com.apple.vImage (6.0 - 6.0) <1D1F67FE-4F75-3689-BEF6-4A46C8039E70> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x90d34000 - 0x90d4effc libsystem_kernel.dylib (2050.20.9) <561E35E5-E32E-3BFB-9E8B-C977BA6C4F85> /usr/lib/system/libsystem_kernel.dylib
0x90d4f000 - 0x90e4dff7 libFontParser.dylib (84.5) <822EAEC7-5FFC-3C39-BF12-660214EC7522> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
0x90e4e000 - 0x90ea5ff3 com.apple.HIServices (1.20 - 417) <561A770B-8523-3D09-A763-11F872779A4C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x90ea6000 - 0x90ff3ffb com.apple.CFNetwork (596.2.3 - 596.2.3) <B6D93473-7CFA-3B9F-AE76-7BCB0C5CF73C> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x90ff4000 - 0x9100dffb com.apple.frameworks.preferencepanes (15.0 - 15.0) <E4288CB7-BA78-3611-8AA5-6CF98E649272> /System/Library/Frameworks/PreferencePanes.framework/Versions/A/PreferencePanes
0x9100e000 - 0x91015ffe com.apple.agl (3.2.1 - AGL-3.2.1) <48407521-A4A3-3D28-8784-29E36AA04804> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x91016000 - 0x91132ff7 com.apple.desktopservices (1.7.2 - 1.7.2) <FEDC49FB-DA51-3897-8A8B-7710A8E4982A> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x91133000 - 0x914ebffa libLAPACK.dylib (1073.4) <9A6E5EAD-F2F2-3D5C-B655-2B536DB477F2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x914ec000 - 0x9153affb libFontRegistry.dylib (100) <97D8F15F-F072-3AF0-8EF8-50C41781951C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x9153b000 - 0x9153bfff libSystem.B.dylib (169.3) <B81FAD7E-8808-3F49-807F-0AD68D0D7359> /usr/lib/libSystem.B.dylib
0x9153c000 - 0x91543ffb libunwind.dylib (35.1) <E1E8D8B3-3C78-3AB1-B398-C180DC6DCF05> /usr/lib/system/libunwind.dylib
0x91544000 - 0x9165cff7 com.apple.coreavchd (5.6.0 - 5600.4.16) <D871D730-1D5C-34E7-98C7-0FF09964E618> /System/Library/PrivateFrameworks/CoreAVCHD.framework/Versions/A/CoreAVCHD
0x916a2000 - 0x91727ff7 com.apple.SearchKit (1.4.0 - 1.4.0) <4E947DC1-7985-3111-A864-58EDD6D955DC> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x91728000 - 0x91774fff libcorecrypto.dylib (106.2) <20EBADBA-D6D6-36F0-AE80-168E9AF13DB6> /usr/lib/system/libcorecrypto.dylib
0x91775000 - 0x91ef4ff7 libclh.dylib (4.0.3 - 4.0.3) <C641CDCB-2FD0-3AD5-9F90-E61B633DF0DD> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib
0x91ef5000 - 0x92212ff3 com.apple.Foundation (6.8 - 945.11) <03B242AC-519C-3683-AA52-E73536B3D55F> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92213000 - 0x92214ffd libunc.dylib (25) <5E1EEE9E-3423-33D7-95B2-E4D17DD08C18> /usr/lib/system/libunc.dylib
0x92215000 - 0x9225cff3 com.apple.CoreMedia (1.0 - 926.62) <69B3835E-C02F-3935-AD39-83F8E81FB780> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
0x9225d000 - 0x9227afff libxpc.dylib (140.41) <1BFE3149-C242-3A77-9729-B00DEDC8CCF2> /usr/lib/system/libxpc.dylib
0x9227b000 - 0x9234ffff com.apple.backup.framework (1.4.1 - 1.4.1) <7F9C8663-C0FA-35F5-A5D6-294FAA9F259B> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x92350000 - 0x9263bff7 com.apple.AOSKit (1.05 - 151) <F470C45E-620C-3FF2-AB1C-2D57FCD215E7> /System/Library/PrivateFrameworks/AOSKit.framework/Versions/A/AOSKit
0x9263c000 - 0x92646fff com.apple.speech.recognition.framework (4.1.5 - 4.1.5) <774CDB2F-34A1-347A-B302-4746D256E921> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x92647000 - 0x92651fff libsystem_notify.dylib (98.5) <7EEE9475-18F8-3099-B0ED-23A3E528ABE0> /usr/lib/system/libsystem_notify.dylib
0x92652000 - 0x926f2ff7 com.apple.QD (3.42 - 285) <1B8307C6-AFA8-312E-BA5B-679070EF2CA1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x926f3000 - 0x927e7ff3 com.apple.QuickLookUIFramework (4.0 - 555.4) <F22B0BD4-A8F6-328B-A672-73FBDE03D210> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.f ramework/Versions/A/QuickLookUI
0x927e8000 - 0x9280cfff com.apple.PerformanceAnalysis (1.16 - 16) <7B7EAA0B-5208-32DB-B083-D4B62F37EC46> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/Perf ormanceAnalysis
0x9280d000 - 0x92822fff com.apple.speech.synthesis.framework (4.1.12 - 4.1.12) <DE68CEB5-4959-3652-83B8-D2B00D3B932D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x92823000 - 0x92898ff7 com.apple.ApplicationServices.ATS (332 - 341.1) <1D81B09C-98DB-3CDB-990B-459FAE3D8D7A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x92899000 - 0x92899fff com.apple.ApplicationServices (45 - 45) <B23FD836-ECA1-3DF8-B043-9CA9779BE9DB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x9289a000 - 0x928e4ff7 com.apple.framework.CoreWLAN (3.0.1 - 301.12) <E253608A-C40B-311E-86D7-460078FC4C89> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
0x928e5000 - 0x928f7ff7 libdispatch.dylib (228.23) <86EF7D45-2D97-3465-A449-95038AE5DABA> /usr/lib/system/libdispatch.dylib
0x928f8000 - 0x92980fff com.apple.PDFKit (2.7.2 - 2.7.2) <B0E008B3-6CFE-36A2-9EE7-ABD745C19CCB> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
0x92981000 - 0x92988ff3 com.apple.NetFS (5.0 - 4.0) <FD429432-6DA7-3B41-9889-0E8B4ECB8A4F> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x92989000 - 0x92989fff com.apple.CoreServices (57 - 57) <83B793A6-720D-31F6-A76A-89EBB2644346> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x9298a000 - 0x93016feb com.apple.CoreAUC (6.16.00 - 6.16.00) <DFAEA7AB-260C-3AF8-A740-085F86DF230C> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
0x93017000 - 0x93047ff3 libtidy.A.dylib (15.10) <F2F4E000-E305-3089-91E6-3DB0ED07E74A> /usr/lib/libtidy.A.dylib
0x93048000 - 0x9304cff7 libmacho.dylib (829) <5280A013-4F74-3F74-BE0C-7F612C49F1DC> /usr/lib/system/libmacho.dylib
0x9304d000 - 0x93d85ff7 com.apple.QuickTimeComponents.component (7.7.1 - 2599.13) <80EEE1DA-01A4-340E-8798-BEF11C008810> /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
0x93d86000 - 0x93d8afff com.apple.OpenDirectory (10.8 - 151.10) <E3D2E1A4-6E55-3C23-BCB4-7B9D31EFD605> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x93e26000 - 0x93e29ff9 libCGXType.A.dylib (328.0.4) <9BC4856B-B92A-3D46-AABD-F5E3E80A8748> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
0x93e2a000 - 0x93e54ff9 com.apple.framework.Apple80211 (8.3 - 830.18) <079DF575-394F-346B-B172-004266206D56> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
0x93e55000 - 0x93e60fff libcommonCrypto.dylib (60027) <D9337AF4-C094-370E-858C-059AB6560719> /usr/lib/system/libcommonCrypto.dylib
0x93e61000 - 0x93e6eff7 com.apple.HelpData (2.1.4 - 85) <487CCA0C-BC34-332A-964E-68173DA1EF10> /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x93e73000 - 0x93f91ff7 com.apple.MediaControlSender (1.4.5 - 145.3) <18D0E735-21E5-3013-8235-C2275C1875F6> /System/Library/PrivateFrameworks/MediaControlSender.framework/Versions/A/Media ControlSender
0x93f92000 - 0x93fc7ff7 com.apple.framework.internetaccounts (2.1 - 210) <714B7B1A-D7F5-374B-A368-252A354B9499> /System/Library/PrivateFrameworks/InternetAccounts.framework/Versions/A/Interne tAccounts
0x94845000 - 0x94861ff7 libPng.dylib (845) <14C43094-C670-3575-BF9B-3A967E05EAC0> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x94862000 - 0x94943fff libcrypto.0.9.8.dylib (47) <219227B4-75D2-3CCC-B241-4BE8F8E1D4AB> /usr/lib/libcrypto.0.9.8.dylib
0x94944000 - 0x949a6fff libc++.1.dylib (65.1) <35EE57E1-2705-3C76-A75A-75655D720268> /usr/lib/libc++.1.dylib
0x949a7000 - 0x94a5bfff com.apple.coreui (2.0 - 181.1) <6BEEE83E-C878-3FE6-B521-8B32B3A35409> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x94a5c000 - 0x94a8fff5 libssl.0.9.8.dylib (47) <84896B24-4941-3149-A4CF-2BAD0F621002> /usr/lib/libssl.0.9.8.dylib
0x94a9f000 - 0x94aa3ffe libcache.dylib (57) <834FDCA7-FE3B-33CC-A12A-E11E202477EC> /usr/lib/system/libcache.dylib
0x94aa4000 - 0x94cd4fff com.apple.QuartzComposer (5.1 - 284) <640BD4D4-3551-3DB1-A9F2-004257EE5DED> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
0x94cd5000 - 0x94cebfff com.apple.CFOpenDirectory (10.8 - 151.10) <3640B988-F915-3E0D-897C-CB04C95BA601> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
0x94cee000 - 0x94ceefff com.apple.Accelerate.vecLib (3.8 - vecLib 3.8) <908B8D40-3FB5-3047-B482-3DF95025ECFC> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x94d20000 - 0x94db7ff7 com.apple.ink.framework (10.8.2 - 150) <A9C3B735-7D5F-3D7D-AA70-2CC852D09CDE> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x94dbb000 - 0x94e55fff com.apple.CoreSymbolication (3.0 - 87) <33C10269-1D45-3A7C-A41F-E4D3DFB87E48> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSy mbolication
0x94e56000 - 0x950d2ff7 com.apple.QuickTime (7.7.1 - 2599.13) <FE609160-E1EF-341D-9B6A-205D3E03A4D2> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x950d3000 - 0x954cffeb com.apple.VideoToolbox (1.0 - 926.62) <B09EEF06-CB3C-3EAA-8B0E-22A1801F3CAE> /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox
0x954d0000 - 0x95549ff0 com.apple.CorePDF (2.0 - 2) <6B5BF755-F336-359C-9A99-F006F61442CF> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF
0x9554a000 - 0x9554dfff com.apple.help (1.3.2 - 42) <2B727B38-0E18-3108-9735-F65958924A91> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x9554e000 - 0x9554ffff libremovefile.dylib (23.1) <98622D14-DAAB-3AD8-A5D9-C322BF572A98> /usr/lib/system/libremovefile.dylib
0x95550000 - 0x95592ff7 libauto.dylib (185.1) <B2B5B639-6778-352A-828D-FD8B64A3E8B3> /usr/lib/libauto.dylib
0x95593000 - 0x9562bfff com.apple.CoreServices.OSServices (557.4 - 557.4) <6D735EAC-335E-34E7-82F4-414F8EF62A59> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x9562c000 - 0x95643fff com.apple.GenerationalStorage (1.1 - 132.2) <E6B7F156-813B-3D1C-928C-9C93BAD7853B> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Gene rationalStorage
0x95644000 - 0x9566dfff libxslt.1.dylib (11.3) <0DE17DAA-66FF-3195-AADB-347BEB5E2EFA> /usr/lib/libxslt.1.dylib
0x95674000 - 0x9567efff libCSync.A.dylib (328.0.4) <A875CE4A-EB89-309F-B160-F3CC8BBF0A11> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x9567f000 - 0x956acffe libsystem_m.dylib (3022.6) <93CEEC8C-FAB5-313C-B0BB-0F4E91E6B878> /usr/lib/system/libsystem_m.dylib
0x956ad000 - 0x956c4ff4 com.apple.CoreMediaAuthoring (2.1 - 914) <8D71DE7D-7F53-3052-9FAF-132CB61BA9F5> /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreM ediaAuthoring
0x956c5000 - 0x95700fe7 libGLImage.dylib (8.6.1) <A3442557-18D5-332E-8859-423D5A20EBBE> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x95701000 - 0x95859ffb com.apple.audio.toolbox.AudioToolbox (1.8 - 1.8) <DD823065-E61B-38B8-9C13-7AA3FAB4700C> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x9585a000 - 0x95957ff7 com.apple.DiskImagesFramework (10.8 - 344) <0F190A93-F843-37AE-879B-D9E933BE072B> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
0x95958000 - 0x95a07ff7 com.apple.CoreText (260.0 - 275.16) <7716C57B-E059-3B30-BBA8-AD7FF6EE3D35> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x95a08000 - 0x95a28ffd com.apple.ChunkingLibrary (2.0 - 133.2) <FE5F0F1E-B15D-3F76-8655-DC2FE19BF56E> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/Chunking Library
0x95a29000 - 0x95d2eff7 com.apple.CoreServices.CarbonCore (1037.3 - 1037.3) <4571EDDC-704A-3FB1-B9A6-59870AA6165F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x95d2f000 - 0x95d7eff6 libTIFF.dylib (845) <989A2EB9-3A49-3157-8E9C-B16E6005BC64> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x95d7f000 - 0x95d85fff com.apple.phonenumbers (1.1 - 47) <0D9B4A12-C1D3-374C-B320-11806C0CCF2A> /System/Library/PrivateFrameworks/PhoneNumbers.framework/Versions/A/PhoneNumber s
0x95d86000 - 0x95f42ffd libicucore.A.dylib (491.11.1) <B19E450A-BAF1-3967-9C95-7F77DC0B4639> /usr/lib/libicucore.A.dylib
0x95f43000 - 0x95f5cfff com.apple.Kerberos (2.0 - 1) <8413EDD3-7E01-3D47-83FD-C14A5235DCD2> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x95f5d000 - 0x95f82ff7 com.apple.quartzfilters (1.8.0 - 1.7.0) <BBB53E4F-BCBA-3461-875F-8FA8E9157261> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters .framework/Versions/A/QuartzFilters
0x95f83000 - 0x961f0fff com.apple.imageKit (2.2 - 667) <4267BB9C-1D7E-37C1-9473-A0073E3B3F52> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.fram ework/Versions/A/ImageKit
0x961f1000 - 0x96584ffb com.apple.MediaToolbox (1.0 - 926.62) <6B61AAF9-3775-3E71-81BF-DC4556AEDF73> /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox
0x96585000 - 0x965feffb libType1Scaler.dylib (101.1) <C12C5169-4E91-3148-934F-8A9CAB8546C6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libType1Scaler.dylib
0x966b7000 - 0x96a9aff3 com.apple.HIToolbox (2.0 - 625) <E4430F7F-CCC2-3F62-A7A1-5B25F024C7D0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x96a9b000 - 0x96cb2fff com.apple.CoreData (106.1 - 407.7) <17FD06D6-AD7C-345A-8FA4-1F0FBFF4DAE1> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x96cb3000 - 0x96dc0057 libobjc.A.dylib (532.2) <FA455371-7395-3D58-A89B-D1520612D1BC> /usr/lib/libobjc.A.dylib
0x96dc1000 - 0x96de0ff3 com.apple.Ubiquity (1.2 - 243.10) <548817EA-66C8-3F00-AEA9-DBB22263649C> /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
0x96de1000 - 0x96ed2ffc libiconv.2.dylib (34) <B096A9B7-83A6-31B3-8D2F-87D91910BF4C> /usr/lib/libiconv.2.dylib
0x96f10000 - 0x96fe6fff com.apple.DiscRecording (7.0 - 7000.2.4) <528052A0-FCFB-3867-BCDF-EE0F8A998C1C> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x96fe7000 - 0x96ff4fff libGL.dylib (8.6.1) <C7A3917A-C444-33CC-8599-BB9CD8C12BC4> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x96ff5000 - 0x97003ff7 libz.1.dylib (43) <245F1B61-2276-3BBB-9891-99934116D833> /usr/lib/libz.1.dylib
0x97006000 - 0x97007fff libsystem_sandbox.dylib (220) <4E42390B-25EC-3530-AF01-337E430C16EB> /usr/lib/system/libsystem_sandbox.dylib
0x97008000 - 0x9702afff libc++abi.dylib (24.4) <06479DA4-BC23-34B6-BAFC-A885814261D0> /usr/lib/libc++abi.dylib
0x9702b000 - 0x9702dfff libCVMSPluginSupport.dylib (8.6.1) <A90DA4A7-78D9-3E5B-8D3A-09F73E3F5A69> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
0x9702e000 - 0x971a6ff5 com.apple.QuartzCore (1.8 - 304.0) <9AF64ECF-1237-32B7-B465-375B61B17DE0> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x971a7000 - 0x971b1fff com.apple.DisplayServicesFW (2.7.2 - 357) <7BE2A846-E716-3685-B93E-57832540EC10> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
0x971b5000 - 0x971faff5 com.apple.opencl (2.1.21 - 2.1.21) <8B48DA40-593C-36D1-8E1B-6739448F38F7> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x971fb000 - 0x9763dff7 com.apple.CoreGraphics (1.600.0 - 328.0.4) <E1D5CF68-B1CB-370E-A326-DA4292C0C096> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x9763e000 - 0x9764eff7 libsasl2.2.dylib (166) <D9080BA2-A365-351E-9FF2-7E0D4E8B1339> /usr/lib/libsasl2.2.dylib
0x9764f000 - 0x9765affb com.apple.DirectoryService.Framework (10.8 - 151.10) <ABC37C4F-4B9E-327D-90C0-1682526371F4> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x9765b000 - 0x98217ffb com.apple.AppKit (6.8 - 1187.34) <06EDB1D1-3B8A-3699-8E3A-D8F50A27AB7C> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x98218000 - 0x98273ff7 com.apple.AppleVAFramework (5.0.18 - 5.0.18) <56888C48-8437-3107-A4AC-CB252968E154> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
0x98274000 - 0x9827cfff libcopyfile.dylib (89) <4963541B-0254-371B-B29A-B6806888949B> /usr/lib/system/libcopyfile.dylib
0x9827d000 - 0x982e3ffc com.apple.ISSupport (1.9.8 - 56) <B9F397ED-4F1F-3264-869E-F055EB87C3B8> /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
0x98311000 - 0x9831ffff libxar.1.dylib (105) <6498A359-2DBA-3EDA-8F00-EEB989DD0A93> /usr/lib/libxar.1.dylib
0x98320000 - 0x98323ffc libpam.2.dylib (20) <FCF74195-A99E-3B07-8E49-688D4A6F1E18> /usr/lib/libpam.2.dylib
0x98324000 - 0x9837dfff com.apple.AE (645.3 - 645.3) <FA4E3819-AB7B-3226-B86D-049EAC115071> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x98380000 - 0x983d7ff7 com.apple.ScalableUserInterface (1.0 - 1) <4B538E02-4F41-37FF-81F6-ED43DE0E78CC> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableU serInterface.framework/Versions/A/ScalableUserInterface
0x983d8000 - 0x983e4ff8 libbz2.1.0.dylib (29) <7031A4C0-784A-3EAA-93DF-EA1F26CC9264> /usr/lib/libbz2.1.0.dylib
0x983e5000 - 0x983e8ffd libCoreVMClient.dylib (24.4) <C54E8FD0-61EC-3DC8-8631-54288AC66AC8> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
0x983f4000 - 0x983f5fff libdnsinfo.dylib (453.18) <41C7B8E2-2A81-31DE-BD8B-F0C29E169D4F> /usr/lib/system/libdnsinfo.dylib
0x983f6000 - 0x983f6fff libkeymgr.dylib (25) <D5E93F7F-9315-3AD6-92C7-941F7B54C490> /usr/lib/system/libkeymgr.dylib
0x983fa000 - 0x9843efff libGLU.dylib (8.6.1) <06BAFDCA-800C-35E3-B1A3-F05E105B86AB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x9843f000 - 0x98498ff7 com.apple.ImageCaptureCore (5.0.1 - 5.0.1) <A885F8DE-3BEC-332E-BB78-CEAB5F2C1806> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCo re
0x98499000 - 0x984a5ffa com.apple.CrashReporterSupport (10.8.2 - 415) <BAE9900A-51E7-3AD4-A7FB-7E6CCFFB2F21> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
0x984a6000 - 0x984b4fff com.apple.opengl (1.8.6 - 1.8.6) <7C832F41-1D1F-32AF-96B8-E78C2CB29C6C> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 13
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 228
thread_create: 1
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=295.2M resident=184.4M(62%) swapped_out_or_unallocated=110.8M(38%)
Writable regions: Total=460.6M written=199.9M(43%) resident=276.6M(60%) swapped_out=0K(0%) unallocated=184.0M(40%)
REGION TYPE VIRTUAL
=========== =======
ATS (font support) 32.9M
CG backing stores 7976K
CG image 556K
CG raster data 4872K
CG shared images 1184K
CoreServices 1792K
IOKit 12K
MALLOC 369.4M
MALLOC guard page 48K
MALLOC_LARGE (reserved) 9768K reserved VM address space (unallocated)
Memory tag=240 4K
Memory tag=242 12K
Memory tag=249 192K
Memory tag=35 1448K
OpenCL 44K
SQLite page cache 192K
Stack 69.1M
VM_ALLOCATE 18.3M
__DATA 37.4M
__DATA/__OBJC 348K
__IMAGE 528K
__IMPORT 28K
__LINKEDIT 61.1M
__OBJC 4096K
__OBJC/__DATA 184K
__PAGEZERO 4K
__TEXTThere are different reasons for that problem. Follow the steps of this page > http://pondini.org/TM/C17.html
-
Need help with connecting file inputs to arrays
In this assignment I have a program that will do the following: display a list of names inputed by the user in reverse order, display any names that begin with M or m, and display any names with 5 or more letters. This is all done with arrays.
That was the fun part. The next part requires me to take the names from a Notepad file, them through the arrays and then output them to a second Notepad file.
Here is the original program: (view in full screen so that the code doesn't get jumbled)
import java.io.*; //Imports the Java library
class progB //Defines class
public static void main (String[] arguments) throws IOException
BufferedReader keyboard; //<-
InputStreamReader reader; // Allows the program to
reader = new InputStreamReader (System.in); // read the the keyboard
keyboard = new BufferedReader (reader); //<-
String name; //Assigns the name variable which will be parsed into...
int newnames; //...the integer variable for the amount of names.
int order = 0; //The integer variable that will be used to set the array size
String[] array; //Dynamic array (empty)
System.out.println (" How many names do you want to input?"); //This will get the number that will later define the array
name = keyboard.readLine ();
newnames = Integer.parseInt (name); // Converts the String into the Integer variable
array = new String [newnames]; //This defines the size of the array
DataInput Imp = new DataInputStream (System.in); //Allows data to be input into the array
String temp;
int length; //Defines the length of the array for a loop later on
for (order = 0 ; order < newnames ; order++) //<-
{ // Takes the inputed names and
System.out.println (" Please input name "); // gives them a number according to
temp = keyboard.readLine (); // the order they were inputed in
array [order] = temp; //<-
for (order = newnames - 1 ; order >= 0 ; order--) //<-
{ // Outputs the names in the reverse
System.out.print (" \n "); // order that they were inputed
System.out.println (" Name " + order + " is " + array [order]); //<-
for (order = 0 ; order < newnames ; order++) //<-
if (array [order].startsWith ("M") || array [order].startsWith ("m")) // Finds and outputs any and all
{ // names that begin with M or m
System.out.print (" \n "); //
System.out.println (array [order] + (" starts with M or m")); //
} //<-
for (order = 0 ; order < newnames ; order++) //<-
length = array [order].length (); //
if (length >= 5) // Finds and outputs names
{ // with 5 or more letters
System.out.print (" \n "); //
System.out.println ("Name " + array [order] + " have 5 or more letters "); //<-
}The notepad file contains the following names:
jim
laruie
tim
timothy
manny
joseph
matty
amanda
I have tried various methods but the one thing that really gets me is the fact that i can't find a way to connect the names to the arrays. Opening the file with FileInputStream is easy enough but using the names and then outputing them is quite hard. (unless i'm thinking too hard and there really is a simple method)By "connect", do you just mean you want to put the names into an array?
array[0] = "jim"
array[1] = "laruie"
and so on?
That shouldn't be difficult at all, provided you know how to open a file for reading, and how to read a line of text from it. You can just read the line of text, put it in the array position you want, until the file is exhausted. Then open a file for writing, loop through the array, and write a line.
What part of all that do you need help with? -
Need help with threads?.. please check my approach!!
Hello frnds,
I am trying to write a program.. who monitors my external tool.. please check my way of doing it.. as whenever i write programs having thread.. i end up goosy.. :(
first let me tell.. what I want from program.. I have to start an external tool.. on separate thread.. (as it takes some time).. then it takes some arguments(3 arguments).. from file.. so i read the file.. and have to run tool.. continously.. until there are arguments left.. in file.. or.. user has stopped it by pressing STOP button..
I have to put a marker in file too.. so that.. if program started again.. file is read from marker postion.. !!
Hope I make clear.. what am trying to do!!
My approach is like..
1. Have two buttons.. START and STOP on Frame..
START--> pressed
2. check marker("$" sign.. placed in beginning of file during start).. on file..
read File from marker.. got 3 arg.. pass it to tool.. and run it.. (on separate thread).. put marker.. (for next reading)
Step 2.. continously..
3. STOP--> pressed
until last thread.. stops.. keep running the tool.. and when last thread stops.. stop reading any more arguments..
Question is:
1. Should i read file again and again.. ?.. or read it once after "$" sign.. store data in array.. and once stopped pressed.. read file again.. and put marker ("$" sign) at last read line..
2. how should i know when my thread has stopped.. so I start tool again??.. am totally confused.. !!
please modify my approach.. if u find anything odd..
Thanks a lot in advance
gerviniHello,
I have no experience with threads or with having more than run "program" in a single java file. All my java files have the same structure. This master.java looks something like this:
---master.java---------------------------------------------------
import java.sql.*;
import...
public class Master {
public static void main(String args []) throws SQLException, IOException {
//create connection pool here
while (true) { // start loop here (each loop takes about five minutes)
// set values of variables
// select a slave process to run (from a list of slave programs)
execute selected slave program
// check for loop exit value
} // end while loop
System.out.println("Program Complete");
} catch (Exception e) {
System.out.println("Error: " + e);
} finally {
if (rSet1 != null)
try { rSet1.close(); } catch( SQLException ignore ) { /* ignored */ }
connection.close();
-------end master.java--------------------------------------------------------
This master.java program will run continuously for days or weeks, each time through the loop starting another slave process which runs for five minutes to up to an hour, which means there may be ten to twenty of these slave processes running simultaneously.
I believe threads is the best way to do this, but I don't know where to locate these slave programs: either inside the master.java program or separate slave.java files? I will need help with either method.
Your help is greatly appreciated. Thank you.
Logan -
Help with systemd problems/reply to closed thread
@Everyone; as the previopus topic was closed, I am opening a new one here, partly to reply to some things that was said to me in the previous thread/topic (and I do not like to leave people hanging), but mainly to try and get some help with my systemd config (that I was not able to find help with in the wiki or manpages).
@czubek; eww, that sounds rather similiar to some other operating systems I've heard of (not just, but obviously including, windows)... For me, subjectively, that is not very attractive, as being able to have a single application do a single thing, and then mixing and matching as I personally see fit is a great thing.
@tomegun: I can indeed see your point, but if I made direct quotes on all the things I reply too, my posts would reach biblical proportions.
Mmm-hmm, I do indeed know of "the Arch Way"; however, the system that you expose can be of varying complexity as well, and I found that the system that was presented to me by way of Sysvinit/initscripts was a way simpler system than that presented to me by systemd.
Indeed, and I do like that; I enjoy knowing how my system works and learning more about it; however, the truth is that reading manpages and the wiki isn't always enough. And I use the numbers instead of letters in certain places as a jest, please, do not get offended by that; if you have to, get offended by my opinions.
Ah, I have now scanned the wiki, the manpages, and have already faced problems. While part of me is saddened by this fact (as I was hoping for a smooth transition to systemd), part of me is glad that I can at least prove that everything isn't quite as simple as some people would make it out to be. More on this later in this post, as I do need help with the problems I have faced.
And I wouldn't say that the new and old way are equally trivial, as I immediatley faced problems with "the new way". More on this later.
Ok, I find that if the debate is polarized, then there is nothing wrong with describing it as such. I spell what I see.
Oh my... Ignored as a matter of principle? I would say that that is an excellent way to stagnate; by that logic, moviemakers, gamemakers etcetera should ignore any and all criticism they recieve, as the critics are not contributing.... Wouldn't that lead to a complete halt in development? Isn't criticism (so long as it is constructive, obviously) a key component of (media/software) evolution?
Ah, I see, then I misunderstood the current state of the install media
"Some adjustements"... Well, I guess we'll have to see how that goes, then. Hopefully it'll be smooth.
@Everyone; Awebb possesses stunning accuracy as far as his observations go.
@zb3; My point exactly.
@tomegun; I believe you to be wrong; complaining (but not whining) is the first step towards improvement, as I think that I and zb3 has shown.
Further, your last point (where you talk about "deep understanding of Y" and whatnot) is basically saying that only devs and programmers can contribute, so zb3's observation would be correct.
Also, making suggestions is part of constructive criticism; you can do that even if you can't code, e.g. by saying "X works badly because it makes Y crash; couldn't we replace X with something akin to Z?". This is a valid point even if you have no intricate understanding of X, Y or Z, and if it is impossible to replace X for one reason or the other, it's not hard to reply with "Replacing X is impossible because of reason Q", and then see if someone can solve reason Q etcetera.
zb3's example is obviously helping; for one, it would allow people to know taht they can't boot with systemd in certain cases, or that installing/runing systemd can break their system. I would consider that rather important information.
@Everyone; Now then, to see if I can (or rather, if I can get help to) shed some light on some problems I've been having.
My transition to systemd went pretty smooth (besides the fact that I couldn't use 'systemctl' to set anything, and neither duckduckgo nor any posts in the forums could help me (the error I continously got was "Failed to issue method call: Launch helper exited with unknown return code 1") and that there are no manpages/tips on how to configure the files for "localtime" and "adjtime", which would've been good considering some syntax have changed) to about halfway through, to the point where I was supposed to start using systemd for my daemons.
Now then, to the main problem; first, I tried running
"systemctl enable syslog-ng.service"
and got the following message;
"ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/syslog.service'
ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/multi-user.target.wants/syslog-ng.service'"
Since it doesn't exclusively say that something went wrong (at least as far as I can understand), I pondered the message a bit, but moved on to try and start dbus by issuing
"systemctl enable dbus.service",
to which I got the reply
"The unit files have no [Install] section. They are not meant to be enabled using systemctl."
This I can only assume is an error message of some sort, especially seeing as it says "not meant to be enabled using systemctl", but the wiki rather explicitly states that that is what I am supposed to do.
I dare not move on (or attempt to start other daemons) without further advice, as I fear I might break my system. Any ideas as to how to solve this would be greatly appreciated.tcmdvm wrote:
The message;
"ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/syslog.service'
ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/multi-user.target.wants/syslog-ng.service'"
indicates that running "systemctl enable syslog.service" is now enabled.
If you try running sytemtctl enable <whatever>.service and get
"The unit files have no [Install] section. They are not meant to be enabled using systemctl." means there is no <whatever>.service file available to enable.
The dbus.service as far as I know is already enabled when installing systemd and doesn't require any action.
Ah, right, systemd is chatty (I'm of the old skool; if nothing is/goes wrong, a program should keep quiet).
Oh ok, then I should dare more on.
ZekeSulastin wrote:To be a bit more precise, it means the service is there but it's only used as a dependency for something else; the [Install] section of the file is what tells systemctl where to link it and such. Also, where exactly in the wiki were you told explicitly to 'systemctl enable dbus.service'? I can easily point you to the sections in both installation guides that tell you how to set things like /etc/localtime et. al (also `man 7 archlinux`), but not the one that said to manually enable dbus.
Ah, I see; and well, I was told right here, going from the top, to "Enable Daemons formerly listed in rc.conf [...] For a translation of the daemons from /etc/rc.conf to systemd services, see: List of Daemons and Services.", and, using the list, dbus is mentioned there, as you can see. Since I started from the top, I did not know that you didn't need to enable that service. Perhaps it could be added to the descriptions of the relevant services in the Wiki which ones are autostarted?
ZekeSulastin wrote:Lastly, I don't think trying to continue conversations from a closed thread is a very good idea, let alone doing it in a giant undivided wall of text that makes it quite difficult to pick out much any single topic.
Meh, I directly refer to the relevant people, they can easily see their own old posts in the previous thread, etcetera... I think te ones who have something to say will be able to find my replies to their previous statements (or so I hope). For now, as everyone can see, I quote stuff (but man might I make some huge posts if I ever post again in the future, if I quote what I reply to).
fsckd wrote:This is not really a technical support subforum. Moving from Arch Discussion to Newbie Corner.
Ah ok, thanks (or perhaps a cautious thanks? Moving it to "newbie corner" might, after all, be a subtle insult...).
tomegun wrote:It is not really possible to follow your message as you don't quote what you are replying to. Moreover, as the thread was closed I think that means we should stop the discussion ;-)
Hmm, I think it means cop-out for lack or proper arguments/responses... But ok, I'll let it slide, for now (mainly as I can't do much else).
tomegun wrote:You are not meant to enable dbus.service as it is enabled unconditionally. To check the enabled/disabled state of your services try "systemctl list-unit-files". "static" means that you are not supposed to enabled/disable it.
Ah ok, thank you. Now, having abandoned all hope, I'll start configuring again and see how it goes... May the void protect me. If I die, grieve not for me, but remember me in the fight against hard-to-configure applications.
(edit/addon)
Actually, what am I supposed to do with "hwclock"? the List of Daemons only says that I shouldn't run that in tandem with ntpd, but I'm not running ntpd, so... How do I get hwclock with systemd?
Edited for additional question.
Last edited by incassum (2012-11-07 08:44:42) -
Hello all,
I’m hoping to get some help with my SQL code. I’m relatively new with SQL, and this is my first time using subqueries, and I’m getting some issues. Here’s what I’m looking to do, and I’ll try to make it as least confusing as possible.
My table contains multiple shipments each with multiple status codes for the shipment. I’m filtering for shipments containing a status code of SMRV. There might be multiple SMRV codes per shipment. Now, the problem is that an SMRV is sometimes associated with a SPLN code. If so, these codes will be assigned on the same day. My goal is to REMOVE all SMRV codes within a shipment in which the date the SMRV and SPLN codes are equal.
So my methodology is as such.
1. Subquery x retrieves all shipments with an SMRV code, along with the code date
2. Subquery y looks at those shipments and retrieves the SPLN dates
3. Outer query returns shipment #, all SMRV status codes and dates in which SMRV dates aren’t equal to an SPLN date
Issues
1. Running my subquery y returns a duplicate set of dates. I took care of this by using a SELECT DISTINCT function, but I’m not sure if my code is just wrong somehow.
2. Outer query just gives me an error I don’t understand.
ORA-06553: PLS-306: wrong number or types of arguments in call to 'OGC_X'
06553. 00000 - "PLS-%s: %s"
*Cause:
*Action:
Error at Line: 164 Column: 29
Maybe there is an easier way to do this, but I’ve been studying online examples and can’t find out what I’m doing wrong. Thanks in advance!
select
cmt.SHPMT_NUM "Shipment_Number",
cmt.EVENT_CATG_TYPE_ID "Status Code",
cmt.EVENT_DT "SRMV_Date"
from
table.shpmt shp,
table.cmnt_and_event cmt,
(select distinct
cmt.EVENT_DT "SPLN_Date"
from
table.cmnt_and_event cmt,
(select
cmt.SHPMT_NUM "Shipment_Number",
cmt.EVENT_DT "SRMV_Date"
from
table.cmnt_and_event cmt
where cmt.SHPMT_NUM = '254151301'
and cmt.EVENT_CATG_TYPE_ID IN ('SRMV')) x
where cmt.SHPMT_NUM = x."Shipment_Number"
and cmt.EVENT_CATG_TYPE_ID IN ('SPLN')) y
where x."Shipment_Number" = cmt.SHPMT_NUM
and cmt.SHPMT_NUM = shp.SHPMT_NUM
and x."SRMV_Date" <> y."SPLN_Date" (ERROR seems to happen here)
and cmt.EVENT_CATG_TYPE_ID IN ('SRMV')I have not yet tried to see if the SQL statement matches the requirements, but I have reformatted the SQL statement to highlight why you are receiving an error.
select
cmt.SHPMT_NUM "Shipment_Number",
cmt.EVENT_CATG_TYPE_ID "Status Code",
cmt.EVENT_DT "SRMV_Date"
from
table.shpmt shp,
table.cmnt_and_event cmt,
(select distinct
cmt.EVENT_DT "SPLN_Date"
from
table.cmnt_and_event cmt,
(select
cmt.SHPMT_NUM "Shipment_Number",
cmt.EVENT_DT "SRMV_Date"
from
table.cmnt_and_event cmt
where
cmt.SHPMT_NUM = '254151301'
and cmt.EVENT_CATG_TYPE_ID IN ('SRMV')
) x
where
cmt.SHPMT_NUM = x."Shipment_Number"
and cmt.EVENT_CATG_TYPE_ID IN ('SPLN')
) y
where
x."Shipment_Number" = cmt.SHPMT_NUM
and cmt.SHPMT_NUM = shp.SHPMT_NUM
and x."SRMV_Date" != y."SPLN_Date"
and cmt.EVENT_CATG_TYPE_ID IN ('SRMV')In the above, I changed the less than/greater than combination into the equivalent != so that is will print on the forum web page.
The reason for the error is that the inline view that you have aliased as X is inside the inline view that you have aliased as Y. The X alias is not visible to the final WHERE clause, and that is why the third line in the WHERE clause is throwing an error (the first one will also). Because the X inline view is inside the Y inline view, you must tell the optimizer how to join the table aliased as SHP to the table aliased as CMT to the inline view X in the second to the last WHERE clause (where you have cmt.SHPMT_NUM = x."Shipment_Number").
Charles Hooper
Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
http://hoopercharles.wordpress.com/
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.
Edited by: Charles Hooper on Oct 15, 2010 9:46 AM
The table alias as SHP is not in the inline view Y.
Maybe you are looking for
-
Report for Approver's name in Org. Structure
Dear Experts. Is there any standard way out to get a report where we can find the approver's name with the employee name. I want a report where i can find all the employee name with his approvers name, which is assigned in org.structure( reports line
-
Im Having trouble DL iTunes for Windows 8 using internet explorer. It DLs but then I get nothing. I go into my DL folder and its there, i click on it, shows its trying to do something and again nothing pops up. Am I doing something wrong???
-
My Itunes locks when I connect my Ipod classic. I have the latest version of Itunes as of 10/31/11. Anyone have any fixes?
-
In my asset module, some one change the asset cut over day to be 2010.9.28 and complete AS91, in that case, how to find the list of those legacy assets transfered at cut over day, any table or T-code to check? if asset is transfered at 2010.9.28, in
-
Starting Word 2007 in Vista64 I get lot's of trust center displays until the Adobe Plugin is install
I have enabled all kind of word trust center boxes and included Acrobat9.0 in trusted library etc. doesn't help. I always get lots of macro security messages when I start Word2007 after I installed Acrobat9.0