Need help with detail by hour in SQL query
Hello all,
I am using the following query to track the usage on a circuit and I have the detail by day, but now they are asking for hourly usage from 0900 to 1200 on these days. Any ideas how I can append to include hour in my detail?
select 'Report Name Here' as Circuit,'Usage' as Measurement,
MONTH(interfacetraffic.datetime) as month, year(interfacetraffic.datetime) as year, day(interfacetraffic.datetime) as day,
'' as Mo_yr,
interfaces.inbandwidth as bandwidth,
'' as adjustedbandwidth,
max (interfacetraffic.in_maxbps ) as max_in,
max (interfacetraffic.out_maxbps) as max_out,
avg(interfacetraffic.in_maxbps ) as avg_in,
avg(interfacetraffic.out_maxbps) as avg_out,
max(case (interfacetraffic.in_maxbps ) when 0 then 0 else(interfacetraffic.in_maxbps )/interfaces.inbandwidth *100 end) as 'max_in_%',
max(case ( interfacetraffic.out_maxbps) when 0 then 0 else( interfacetraffic.out_maxbps )/interfaces.outbandwidth *100 end) as 'max_out_%',
avg(case (interfacetraffic.in_maxbps ) when 0 then 0 else(interfacetraffic.in_maxbps )/interfaces.inbandwidth *100 end) as 'avg_in_%',
avg(case ( interfacetraffic.out_maxbps) when 0 then 0 else( interfacetraffic.out_maxbps )/interfaces.outbandwidth *100 end) as 'avg_out_%',
nodes.location as location,nodes.sysname as sysname,nodes.timezone,interfaces.interfaceid as interfaceid,nodes.nodeid as nodeid,interfaces.fullname as fullname
FROM
(Nodes INNER JOIN Interfaces ON (Nodes.NodeID = Interfaces.NodeID))
INNER JOIN InterfaceTraffic ON (Interfaces.InterfaceID = InterfaceTraffic.InterfaceID AND InterfaceTraffic.NodeID = Nodes.NodeID)
where InterfaceTraffic.DateTime > GETDATE() -180
and interfaces.InterfaceID = '31072'
and month(interfacetraffic.datetime) = 1
and year(interfacetraffic.datetime) = 2015
--and DATEPART(hh,interfacetraffic.datetime) in ('09','10','11','12','13','14','15','16','17','18','19')
group by interfaces.inbandwidth, year(interfacetraffic.datetime),
MONTH(interfacetraffic.datetime) ,nodes.location ,nodes.sysname,interfaces.inbandwidth,nodes.timezone ,interfaces.interfaceid,nodes.nodeid,interfaces.fullname, day(interfacetraffic.datetime)
--DAY(InterfaceTraffic.DateTime)
select 'Report name here' as Circuit, 'Usage' as Measurement,
month(...) as month, year(...) as year, day(...) as day, datepart(hour, ...) as hour,
from ...
group by month(...), year(...), day(...), datepart(hour, ...), ...
Note - have you considered just having a single column for the date as opposed to 3 separate columns? And for efficiency, change your where clause from
where InterfaceTraffic.DateTime > GETDATE() -180
and interfaces.InterfaceID = '31072'
and month(interfacetraffic.datetime) = 1
and year(interfacetraffic.datetime) = 2015
to
where interfaces.InterfaceID = '31072'
and interfacetraffic.datetime >= '20150101' and interfacetraffic.datetime < '20150201'
and datepart(hour, ...) between 9 and 19
That first part involving "getdate() - 180" does nothing useful when you only want values from January of this year.
Similar Messages
-
Need Help in Splitting a String Using SQL QUERY
Hi,
I need help in splitting a string using a SQL Query:
String IS:
AFTER PAINT.ACOUSTICAL.1..9'' MEMBRAIN'I would like to seperate this string into multiple lines using the delimeter .(dot)
Sample Output should look like:
SNO STRING
1 AFTER PAINT
2 ACOUSTICAL
3 1
4
5 9" MEMBRAIN
{code}
FYI i am using Oracle 9.2There's this as well:
with x as ( --generating sample data:
select 'AFTER PAINT.ACOUSTICAL.1..9" MEMBRAIN' str from dual union all
select 'BEFORE PAINT.ELECTRIC.2..45 caliber MEMBRAIN' str from dual)
select str,
row_number() over (partition by str order by rownum) s_no,
cast(dbms_xmlgen.convert(t.column_value.extract('//text()').getstringval(),1) as varchar2(100)) res
from x,
table(xmlsequence(xmltype('<x><x>' || replace(str,'.','</x><x>') || '</x></x>').extract('//x/*'))) t;
STR S_NO RES
AFTER PAINT.ACOUSTICAL.1..9" MEMBRAIN 1 AFTER PAINT
AFTER PAINT.ACOUSTICAL.1..9" MEMBRAIN 2 ACOUSTICAL
AFTER PAINT.ACOUSTICAL.1..9" MEMBRAIN 3 1
AFTER PAINT.ACOUSTICAL.1..9" MEMBRAIN 4
AFTER PAINT.ACOUSTICAL.1..9" MEMBRAIN 5 9" MEMBRAIN
BEFORE PAINT.ELECTRIC.2..45 caliber MEMBRAIN 1 BEFORE PAINT
BEFORE PAINT.ELECTRIC.2..45 caliber MEMBRAIN 2 ELECTRIC
BEFORE PAINT.ELECTRIC.2..45 caliber MEMBRAIN 3 2
BEFORE PAINT.ELECTRIC.2..45 caliber MEMBRAIN 4
BEFORE PAINT.ELECTRIC.2..45 caliber MEMBRAIN 5 45 caliber MEMBRAIN
{code} -
Need help with trigger/new at pl/sql
I would appreciate any help as I am new to PL/SQL and have run out of ideas.
I am trying to write a trigger that when a user inserts a row into a table that records an ID, a clinic, and user initials, a second table is updated with that ID in the next available "slot" for that clinic.
I wrote a procedure that does execute successfully with ID, user initials, and clinic hardcoded. I cannot create a trigger using the fields from the 1st table instead of the hardcoded values that compiles without errors.
The tables in question are in another schema, but I have all priviledges on that schema.
I have tried referencing the fields from table 1 in every way I can think of:
1) :new.<field from table 1> and got:
ORA-04082: NEW or OLD references not allowed in table level triggers
2) :<field from table 1> and got
PLS-00049: bad bind variable '<field name>'
3) <field from table 1> , <table>.<field from table 1>, <schema>.<table>.<field from table> and got
5/38 PL/SQL: ORA-00904: "N106CLINIC": invalid identifier
14/44 PL/SQL: ORA-00904: "N106CLINIC": invalid identifier
and
5/38 PL/SQL: ORA-00904: "N106"."N106CLINIC": invalid identifier
14/44 PL/SQL: ORA-00904: "N106"."N106CLINIC": invalid identifier
and
5/38 PL/SQL: ORA-00904: "CCRN"."N106"."N106CLINIC": invalid identifier
14/44 PL/SQL: ORA-00904: "CCRN"."N106"."N106CLINIC": invalid identifier
in addition to "SQL statement ignored".
It does complain only about n106clinic, even though other fields referenced from the first table are n106id and n106init; n106clinic IS a valid field name in the n106 table...maybe this is just a compiler peculiarity.
Here is the code for the trigger. N106 is the table where the user inserts a row and RAMBCYL is the table to be updated. CCRN is the schema that owns the two tables.
create or replace trigger ccrn.aocylrand
after insert
on ccrn.n106
declare l_accno number;
begin
select rambcyl.accno into l_accno
from ccrn.rambcyl rambcyl
where rambcyl.clinic=n106clinic and
rambcyl.accno = (select min(r.accno)
from ccrn.rambcyl r
where r.id is null
and r.clinic = n106clinic);
update ccrn.rambcyl set id =n106id,
randdt = sysdate,
staff=n106init
where ccrn.rambcyl.accno = l_accno and
ccrn.rambcyl.clinic = n106clinic;
end aocylrand;
Thanks, HelenYou cannot refer to the :old or :new column values in a statement level trigger, only in row-level triggers. I would suggest the following which does the update in a single statement:
create or replace trigger ccrn.aocylrand
after insert
on ccrn.n106
for each row -- specifies a row-level trigger
begin
update ccrn.rambcyl r1
set id = :new.n106id,
randdt = sysdate,
staff = :new.n106init
where clinic = :new.n106clinic
and accno = (select min(r2.accno)
from ccrn.rambcyl r2
where r2.id is null
and r2.clinic = r1.clinic);
end aocylrand; -
Need Help with Details of A/R Query "0FIAR_C03_Q0005"
Hello Gurus:
Can anyone please explain the logic behind the calculation of the buckets in the Business Content Query
"0FIAR_C03_Q0005". I want to add a column to the report "Number of Days". Not sure of the logic I can
use to calculate this. Can some one please suggest....?
Thanks.....PBSWI believe that they take 0DEB_CRE_LC (Debit/Credit Amount) and restrict by value range for 0NETDUEDATE. They then take variable 0DAT and offset accordingly for each of the time buckets.
e.g. 0NETDUEDATE [] 0DAT-1 - 0DAT-30
Also, crucially, you must set 0FI_DOCSTAT to characteristics restriction and filter to include only "O".
Edited by: Khaled McGonnell on Jan 29, 2010 2:51 PM -
Need help with loading MySQL results into a query
Hello, I need some help figuring out why my tree component
isn't being populated with my MySQL results.
I have a table of categories:
ParentID - CategoryID - Name
Every top-level category has a ParentID of 0 (zero). I'm
using php and a recursive function to build an array of nested
results, then passing those results back to Flex, making those
results a new ArrayCollection, then assigning that to the
dataProvider of the tree.
Result: my tree component is blank
Suspicion: it has to be a way with how my array is being
formed in PHP. If I play around with how it is formed I can get
some odd results in the tree, so I know it's not a problem with the
data being passed back to Flex.
I am attaching the PHP code used to form the array, and the
output of the array being createdWhy not just build xml and send it back? Xml is hierarchical
by nature.
However, if you want to stick with the nested ACs then are
you using a labelFunction() with your tree? The node values are in
different properties, so you can't just set labelField.
Tracy -
[10g] Need help with order by clause in hierarchical query
I have the following sample data:
CREATE TABLE bill_test1
( parent_part CHAR(25)
, child_part CHAR(25)
, line_nbr NUMBER(5)
, qty_per NUMBER(9,5)
INSERT INTO bill_test1 VALUES ('ABC-1','ABC-10',100,1);
INSERT INTO bill_test1 VALUES ('ABC-1','ABC-20',200,2);
INSERT INTO bill_test1 VALUES ('ABC-1','ABC-30',300,3);
INSERT INTO bill_test1 VALUES ('ABC-1','HARDWARE-1',401,10);
INSERT INTO bill_test1 VALUES ('ABC-1','HARDWARE-2',402,5);
INSERT INTO bill_test1 VALUES ('ABC-10','ABC-155',100,2);
INSERT INTO bill_test1 VALUES ('ABC-10','HARDWARE-1',200,1);
INSERT INTO bill_test1 VALUES ('ABC-155','RAW-2',100,4.8);
INSERT INTO bill_test1 VALUES ('ABC-155','HARDWARE-3',200,3);
INSERT INTO bill_test1 VALUES ('ABC-20','RAW-1',100,10.2);
INSERT INTO bill_test1 VALUES ('ABC-30','RAW-3',100,3);And the query below gives me exactly what I want, in the order I want it. However, I am wondering if there is a way to get this order without creating the SEQ column, since I don't need it in my results
SELECT part_nbr
, parent_part
, child_part
FROM (
SELECT CONNECT_BY_ROOT b.parent_part AS part_nbr
, b.parent_part
, b.child_part
, SYS_CONNECT_BY_PATH(b.line_nbr,' ') AS seq
FROM bill_test1 b
, dual
CONNECT BY parent_part = PRIOR child_part
WHERE part_nbr = 'ABC-1'
ORDER BY seq
Results of above query, except with SEQ included in SELECT (just to show what I'm sorting off of):
PART_NBR PARENT_PART CHILD_PART SEQ
ABC-1 ABC-1 ABC-10 100
ABC-1 ABC-10 ABC-155 100 100
ABC-1 ABC-155 RAW-2 100 100 100
ABC-1 ABC-155 HARDWARE-3 100 100 200
ABC-1 ABC-10 HARDWARE-1 100 200
ABC-1 ABC-1 ABC-20 200
ABC-1 ABC-20 RAW-1 200 100
ABC-1 ABC-1 ABC-30 300
ABC-1 ABC-30 RAW-3 300 100
ABC-1 ABC-1 HARDWARE-1 401
ABC-1 ABC-1 HARDWARE-2 402Hi,
As long as there's only one root, you can say ORDER SIBLINGS BY, but you can't do that in a sub-query (well, you can, but usually there's no point in doing it in a sub-query). If the CONNECT BY is being done in a sub-query, there is no guarantee that the main query will preserve the hierarchical order that the sub-query provides.
The query you posted doesn't require a suib-query, so you can say:
SELECT CONNECT_BY_ROOT b.parent_part AS part_nbr
, b.parent_part
, b.child_part
--, SYS_CONNECT_BY_PATH(b.line_nbr,' ') AS seq
FROM bill_test1 b
WHERE CONNECT_BY_ROOT b.parent_part = 'ABC-1'
CONNECT BY parent_part = PRIOR child_part
ORDER SIBLINGS BY b.line_nbr
;I said the query you posted doesn't require a sub-query. It also doesn't require dual, so I suspect what you posted is a simplification of what you're really doing, and that may need a sub-query. In particular, if you intend to GROUP BY part_nbr, then you need the sub-query. We can repeat the CONNECT_BY_ROOT expression in the WHERE clause (or, now that I think about it, use a START WITH clause instead of WHERE), but, for some reason, we can't use CONNECT_BY_ROOT in a GROUP BY clause; we need to compute CONNECT_BY_ROOT in a sub-query, give it a name (like part_nbr), and GROUP BY that column in a super-query.
This assumes that there is only one root node. ORDER SIBLINGS BY means just that: children of a common parent will appear in order, but the root nodes, who have no parents, will not necessarily be in order.
Here's what I meant by using START WITH instead of WHERE:
SELECT CONNECT_BY_ROOT b.parent_part AS part_nbr
, b.parent_part
, b.child_part
--, SYS_CONNECT_BY_PATH(b.line_nbr,' ') AS seq
FROM bill_test1 b
START WITH b.parent_part = 'ABC-1'
CONNECT BY parent_part = PRIOR child_part
ORDER SIBLINGS BY b.line_nbr
;This should be much more efficient, because it narrows down the results before you waste time getting their descendants.
Using a START WITH clause here is analagous to me sending you an e-mail, saying "Come to a meeting a my office at 3:00."
Using a WHERE clause here is analagous to me sending an e-mail to everyone in the company, saying "Come to a meeting a my office at 3:00", and then, as people get here, telling everyone except you that they can go back.
ORDER SIBLINGS BY was introduced in Oracle 9.
Edited by: Frank Kulash on Dec 9, 2010 2:39 PM
Added version with START WITH clause -
Need help with SQL Query with Inline View + Group by
Hello Gurus,
I would really appreciate your time and effort regarding this query. I have the following data set.
Reference_No---Check_Number---Check_Date--------Description-------------------------------Invoice_Number----------Invoice_Type---Paid_Amount-----Vendor_Number
1234567----------11223-------------- 7/5/2008----------paid for cleaning----------------------44345563------------------I-----------------*20.00*-------------19
1234567----------11223--------------7/5/2008-----------Adjustment for bad quality---------44345563------------------A-----------------10.00------------19
7654321----------11223--------------7/5/2008-----------Adjustment from last billing cycle-----23543556-------------------A--------------------50.00--------------19
4653456----------11223--------------7/5/2008-----------paid for cleaning------------------------35654765--------------------I---------------------30.00-------------19
Please Ignore '----', added it for clarity
I am trying to write a query to aggregate paid_amount based on Reference_No, Check_Number, Payment_Date, Invoice_Number, Invoice_Type, Vendor_Number and display description with Invoice_type 'I' when there are multiple records with the same Reference_No, Check_Number, Payment_Date, Invoice_Number, Invoice_Type, Vendor_Number. When there are no multiple records I want to display the respective Description.
The query should return the following data set
Reference_No---Check_Number---Check_Date--------Description-------------------------------Invoice_Number----------Invoice_Type---Paid_Amount-----Vendor_Number
1234567----------11223-------------- 7/5/2008----------paid for cleaning----------------------44345563------------------I-----------------*10.00*------------19
7654321----------11223--------------7/5/2008-----------Adjustment from last billing cycle-----23543556-------------------A--------------------50.00--------------19
4653456----------11223--------------7/5/2008-----------paid for cleaning------------------------35654765-------------------I---------------------30.00--------------19
The following is my query. I am kind of lost.
select B.Description, A.sequence_id,A.check_date, A.check_number, A.invoice_number, A.amount, A.vendor_number
from (
select sequence_id,check_date, check_number, invoice_number, sum(paid_amount) amount, vendor_number
from INVOICE
group by sequence_id,check_date, check_number, invoice_number, vendor_number
) A, INVOICE B
where A.sequence_id = B.sequence_id
Thanks,
NickIt looks like it is a duplicate thread - correct me if i'm wrong in this case ->
Need help with SQL Query with Inline View + Group by
Regards.
Satyaki De. -
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 -
I desperately need help with Mail, specifically sending
For Starters: I am on OSX 10.9.2 and am trying to use mail 7.2.
https://discussions.apple.com/post!input.jspa?container=2998&containerType=14&qu estion=I+desperately+need+help+with+Mail%2C+specifically+sending
I cannot send. I have been at this for hours and hours and hours. Here are the details.
my mail server however is s1.sistercompany.net
I can receive email just fine. I can also send mail just find having set this up on my iphone and also in thunderbird (which i hate hate hate hate hate hate hate, which is why I am desperate to set up mail)
The settings in thunderbird are as follows:
Servername: s1.sistercompany.net
port: 465
Authentication method: normal password
Connection Security: SSL/TLS
However, I just can't get this to work in Mail. When I write an email and hit send I get a popup that says:
Cannot send message using the server s1.sistercompany.net
The certifcate for this server is invalid.
Now, my tech guy says yeah the certifacte is invalid because you are going through sistercompany server, there should be some way to just accept the certifcate anyway (but he has never used mail before).
So I have serached around and come up with this: http://support.apple.com/kb/PH11706
Which tells me to use the verify certificate dialogue, which I would do except there is no verify certificate dialog. Any thoughts?
<Email Edited by Host>I don't have a problem watching the Lost episode on abc.com, using a stock MacBook with 512MB RAM. I don't know what technology abc.com uses in their viewer, but I have Flip4Mac and the latest version of Flash player installed.
-
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. -
I need help with my EtreCheck report
Hi All -
Thanks for taking the time -
I NEED HELP WITH MY EtreCheck report
Problem description:
running slow
EtreCheck version: 2.1.8 (121)
Report generated February 19, 2015 at 3:18:49 PM EST
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
MacBook Pro (15-inch, Mid 2012) (Technical Specifications)
MacBook Pro - model: MacBookPro9,1
1 2.6 GHz Intel Core i7 CPU: 4-core
8 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1600 MHz ok
BANK 1/DIMM0
4 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en1: 802.11 a/b/g/n
Battery Health: Normal - Cycle count 130
Video Information: ℹ️
Intel HD Graphics 4000
Color LCD 1440 x 900
NVIDIA GeForce GT 650M - VRAM: 1024 MB
System Software: ℹ️
OS X 10.10.2 (14C109) - Time since boot: 0:12:52
Disk Information: ℹ️
APPLE HDD HTS547575A9E384 disk0 : (750.16 GB)
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
Macintosh HD (disk1) / : 748.93 GB (362.64 GB free)
Core Storage: disk0s2 749.30 GB Online
MATSHITADVD-R UJ-8A8
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/System/Library/Extensions
[not loaded] com.AmbrosiaSW.AudioSupport (4.1.2 - SDK 10.6) [Click for support]
[not loaded] com.sony.filesystem.prodisc_fs (2.3.0) [Click for support]
[not loaded] com.sony.protocol.prodisc (2.3.0) [Click for support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Click for support]
[loaded] com.adobe.versioncueCS3.plist [Click for support]
[loaded] com.ambrosiasw.ambrosiaaudiosupporthelper.daemon.plist [Click for support]
User Launch Agents: ℹ️
[failed] [email protected] [Click for details]
[loaded] com.google.keystone.agent.plist [Click for support]
[failed] com.jdibackup.ZipCloud.autostart.plist [Click for support] [Click for details]
[loaded] com.jdibackup.ZipCloud.notify.plist [Click for support]
User Login Items: ℹ️
RED Watchdog Application (/Applications/REDCINE-X Professional/Utilities/RED Watchdog.app)
GrowlHelperApp Application (/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app)
GrowlHelperApp Application (/Users/[redacted]/Library/PreferencePanes/Growl.prefPane/Contents/Resources/Gr owlHelperApp.app)
iTunesHelper UNKNOWN Hidden (missing value)
QmasterStatusMenu Application (/Incompatible Software/Apple Qmaster.prefPane/Contents/Resources/QmasterStatusMenu.app)
SpyderUtility Application (/Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app)
Spyder3Utility Application (/Applications/Datacolor/Spyder3Elite/Spyder3Utility.app)
Google Drive Application (/Applications/Google Drive.app)
Google Chrome Application Hidden (/Applications/Google Chrome.app)
Internet Plug-ins: ℹ️
JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
QuickTime Plugin: Version: 7.7.3
Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
AdobePDFViewer: Version: 8.1.0 [Click for support]
Default Browser: Version: 600 - SDK 10.10
Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
iPhotoPhotocast: Version: 7.0
User internet Plug-ins: ℹ️
Google Earth Web Plug-in: Version: 7.0 [Click for support]
Audio Plug-ins: ℹ️
DVCPROHDAudio: Version: 1.3.2
3rd Party Preference Panes: ℹ️
Adobe Version Cue CS3 [Click for support]
Flash Player [Click for support]
Growl [Click for support]
REDcode [Click for support]
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
10% mds
5% WindowServer
0% Google Drive
0% Google Chrome
0% fontd
Top Processes by Memory: ℹ️
172 MB Google Chrome
155 MB mds_stores
155 MB Mail
103 MB Google Chrome Helper
94 MB Google Drive
Virtual Memory Information: ℹ️
4.52 GB Free RAM
2.72 GB Active RAM
451 MB Inactive RAM
895 MB Wired RAM
1.30 GB Page-ins
0 B Page-outs
Diagnostics Information: ℹ️
Feb 19, 2015, 03:03:40 PM Self test - passedWhy Put it off I say ... Here you go Linc
Start time: 12:05:29 02/20/15
Revision: 1250
Model Identifier: MacBookPro9,1
System Version: OS X 10.10.2 (14C109)
Kernel Version: Darwin 14.1.0
Time since boot: 2:42
UID: 504
I/O wait time (ms/s)
kernel_task (UID 0): 39
Font issues: 263
Trust settings: admin 4, user 4
TCP/IP
Subnet mask: 255.255.252.0
Listeners
cupsd: ipp
nfsd: 1023
rpc.lockd: 1017
rpc.rquotad: garcon
rpc.statd: exp1
rpcbind: sunrpc
System caches/logs
3319 MB: /System/Library/Caches/com.apple.coresymbolicationd/data
Diagnostic reports
2015-02-02 Mail crash
2015-02-04 Spyder3Utility crash
2015-02-20 Acrobat hang x3
2015-02-20 Final Cut Pro crash x2
HID errors: 22
Kernel log
Feb 20 10:20:53 Google Chrome He (map: 0xffffff801e1b7c30) triggered DYLD shared region unnest for map: 0xffffff801e1b7c30, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 10:31:10 ARPT: 3921.321063: MacAuthEvent en1 Auth result for: 00:19:92:35:03:01 Auth request tx failed
Feb 20 10:41:10 Google Chrome He (map: 0xffffff801e116870) triggered DYLD shared region unnest for map: 0xffffff801e116870, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 10:41:14 Google Chrome He (map: 0xffffff802265ee10) triggered DYLD shared region unnest for map: 0xffffff802265ee10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 10:41:30 Google Chrome He (map: 0xffffff802265ee10) triggered DYLD shared region unnest for map: 0xffffff802265ee10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:20:59 Google Chrome (map: 0xffffff801e116870) triggered DYLD shared region unnest for map: 0xffffff801e116870, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:20:59 Google Chrome He (map: 0xffffff802b72a960) triggered DYLD shared region unnest for map: 0xffffff802b72a960, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:20:59 Google Chrome He (map: 0xffffff802b72a3c0) triggered DYLD shared region unnest for map: 0xffffff802b72a3c0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:20:59 Google Chrome He (map: 0xffffff8023819f00) triggered DYLD shared region unnest for map: 0xffffff8023819f00, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:21:01 Google Chrome He (map: 0xffffff802cdb0e10) triggered DYLD shared region unnest for map: 0xffffff802cdb0e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:21:01 Google Chrome He (map: 0xffffff8022da2e10) triggered DYLD shared region unnest for map: 0xffffff8022da2e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:21:01 Google Chrome He (map: 0xffffff8023819b40) triggered DYLD shared region unnest for map: 0xffffff8023819b40, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:30:46 Sandbox: fontworker(1439) deny file-read-data /Library/Fonts/MyriadPro-LightCond.otf
Feb 20 11:30:46 Sandbox: fontworker(1439) deny file-read-data /Library/Fonts/MyriadPro-LightCondIt.otf
Feb 20 11:49:11 Google Chrome (map: 0xffffff802b72a2d0) triggered DYLD shared region unnest for map: 0xffffff802b72a2d0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff802cdb0780) triggered DYLD shared region unnest for map: 0xffffff802cdb0780, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63e10) triggered DYLD shared region unnest for map: 0xffffff8022a63e10, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63c30) triggered DYLD shared region unnest for map: 0xffffff8022a63c30, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff802cdb05a0) triggered DYLD shared region unnest for map: 0xffffff802cdb05a0, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63f00) triggered DYLD shared region unnest for map: 0xffffff8022a63f00, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:49:11 Google Chrome He (map: 0xffffff8022a63690) triggered DYLD shared region unnest for map: 0xffffff8022a63690, region 0x7fff8aa00000->0x7fff8ac00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Feb 20 11:59:29 Sandbox: fontworker(1671) deny file-read-data /Library/Fonts/MyriadPro-LightCond.otf
Feb 20 11:59:29 Sandbox: fontworker(1671) deny file-read-data /Library/Fonts/MyriadPro-LightCondIt.otf
Feb 20 12:08:01 ARPT: 8890.600067: MacAuthEvent en1 Auth result for: 00:19:92:35:7d:e1 Auth request tx failed
Feb 20 12:08:01 ARPT: 8890.950534: MacAuthEvent en1 Auth result for: 00:19:92:35:03:01 Auth timed out
System log
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:24:49 WindowServer: CGXGetConnectionProperty: Invalid connection 125827
Feb 20 11:25:05 airportd: _handleLinkEvent: WiFi is not powered. Resetting state variables.
Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
Feb 20 11:28:01 WindowServer: WSGetSurfaceInWindow Invalid surface 489574406 for window 1303
Feb 20 11:28:49 WindowServer: WSBindSurface Invalid surface 723885656 for window 1311
Feb 20 11:29:13 fseventsd: event logs in /Volumes/WDA_1T/.fseventsd out of sync with volume. destroying old logs. (461 2 59825)
Feb 20 11:29:13 fseventsd: log dir: /Volumes/WDA_1T/.fseventsd getting new uuid: UUID
Feb 20 11:30:16 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:30:16 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:32:32 bird: Assertion failed: ![_xpcClients containsObject:client]
Feb 20 11:36:11 WindowServer: _CGXSetWindowHasKeyAppearance: Operation on a window 0x18 requiring rights kCGSWindowRightOwner by caller Dashboard
Feb 20 11:36:11 WindowServer: _CGXSetWindowHasMainAppearance: Operation on a window 0x18 requiring rights kCGSWindowRightOwner by caller Dashboard
Feb 20 11:41:24 apsd: Failed entitlement check 'com.apple.private.aps-connection-initiate' for ManagedClientAgent[1532]
Feb 20 11:43:40 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
Feb 20 11:43:40 Mail: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
Feb 20 12:01:17 WindowServer: WSGetSurfaceInWindow Invalid surface 710322265 for window 1327
Feb 20 12:04:39 fseventsd: implementation_removed_client: did not find client 0x7f9eec210660 for path = '/.docid'
Feb 20 12:11:28 apsd: Failed entitlement check 'com.apple.private.aps-connection-initiate' for ManagedClientAgent[2262]
Console log
Feb 15 12:07:08 ReportCrash: Invoking spindump for pid=644 wakeups_rate=158 duration=285 because of excessive wakeups
Feb 15 12:55:36 ReportCrash: Invoking spindump for pid=754 wakeups_rate=200 duration=225 because of excessive wakeups
Feb 15 13:59:55 ReportCrash: Invoking spindump for pid=913 wakeups_rate=186 duration=242 because of excessive wakeups
Feb 15 16:54:59 ReportCrash: Invoking spindump for pid=964 wakeups_rate=188 duration=240 because of excessive wakeups
Feb 16 10:35:10 ReportCrash: Invoking spindump for pid=1059 wakeups_rate=337 duration=134 because of excessive wakeups
Feb 16 10:51:21 ReportCrash: Invoking spindump for pid=1080 wakeups_rate=161 duration=280 because of excessive wakeups
Feb 16 11:59:13 ReportCrash: Invoking spindump for pid=1168 wakeups_rate=243 duration=186 because of excessive wakeups
Feb 16 12:02:57 ReportCrash: Invoking spindump for pid=1175 wakeups_rate=382 duration=118 because of excessive wakeups
Feb 16 13:07:53 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.ic.searchinstaller/Cache.db is NOT valid. Unable to determine schema version.
Feb 16 13:07:53 nsurlstoraged: ERROR: unable to determine file-system usage for FS-backed cache at /Users/USER/Library/Caches/com.ic.searchinstaller/fsCachedData. Errno=13
Feb 16 13:22:31 ReportCrash: Invoking spindump for pid=2237 wakeups_rate=326 duration=139 because of excessive wakeups
Feb 16 14:17:37 ReportCrash: Invoking spindump for pid=2420 wakeups_rate=228 duration=198 because of excessive wakeups
Feb 16 14:33:29 ReportCrash: Invoking spindump for pid=2438 wakeups_rate=240 duration=188 because of excessive wakeups
Feb 16 14:46:36 ReportCrash: Invoking spindump for pid=2454 wakeups_rate=305 duration=148 because of excessive wakeups
Feb 17 12:58:26 ReportCrash: Invoking spindump for pid=2894 wakeups_rate=689 duration=66 because of excessive wakeups
Feb 17 13:13:41 ReportCrash: Invoking spindump for pid=2914 wakeups_rate=487 duration=93 because of excessive wakeups
Feb 17 16:54:57 ReportCrash: Invoking spindump for pid=1965 wakeups_rate=162 duration=278 because of excessive wakeups
Feb 18 13:50:58 ReportCrash: Invoking spindump for pid=3869 wakeups_rate=160 duration=282 because of excessive wakeups
Feb 19 08:17:10 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid. Unable to determine schema version.
Feb 19 14:59:30 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid. Unable to determine schema version.
Feb 19 15:04:57 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid. Unable to determine schema version.
Feb 19 15:18:06 osascript: Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
Feb 19 16:50:23 ReportCrash: Invoking spindump for pid=3308 wakeups_rate=189 duration=239 because of excessive wakeups
Feb 20 09:24:49 nsurlstoraged: The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid. Unable to determine schema version.
Daemons
com.adobe.fpsaud
com.adobe.versioncueCS3
com.ambrosiasw.ambrosiaaudiosupporthelper.daemon
com.apple.watchdogd
Agents
[email protected]
- status: 78
com.apple.Finder
- status: -15
com.google.keystone.user.agent
com.jdibackup.ZipCloud.autostart
- status: 1
com.jdibackup.ZipCloud.notify
- status: 1
User login items
RED Watchdog
- /Applications/REDCINE-X Professional/Utilities/RED Watchdog.app
GrowlHelperApp
- /Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app
GrowlHelperApp
- /Users/USER/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelp erApp.app
iTunesHelper
- missing value
QmasterStatusMenu
- /Incompatible Software/Apple Qmaster.prefPane/Contents/Resources/QmasterStatusMenu.app
SpyderUtility
- /Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app
Spyder3Utility
- /Applications/Datacolor/Spyder3Elite/Spyder3Utility.app
Google Drive
- /Applications/Google Drive.app
Google Chrome
- /Applications/Google Chrome.app
Firefox extensions
Live PageRank
Web Developer
Exif Viewer
iCloud errors
bird 418
cloudd 65
Continuity errors
sharingd 21
Restricted files: 335
Lockfiles: 48
Contents of /Library/LaunchDaemons/com.adobe.versioncueCS3.plist
- mod date: Oct 20 14:05:00 2009
- checksum: 714202969
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>GroupName</key>
<string>wheel</string>
<key>Label</key>
<string>com.adobe.versioncueCS3</string>
<key>OnDemand</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3d</string>
</array>
<key>RunAtLoad</key>
<false/>
<key>ServiceDescription</key>
<string>Adobe Version Cue CS3</string>
<key>UserName</key>
<string>root</string>
</dict>
</plist>
Contents of /Library/LaunchDaemons/com.ambrosiasw.ambrosiaaudiosupporthelper.daemon.plist
- mod date: Dec 21 11:32:33 2012
- checksum: 1980407752
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.ambrosiasw.ambrosiaaudiosupporthelper.daemon</string>
<key>ProgramArguments</key>
<array>
<string>/System/Library/Extensions/AmbrosiaAudioSupport.kext/Contents/MacOS/amb rosiaaudiosupporthelper</string>
</array>
<key>KeepAlive</key>
<false/>
<key>Disabled</key>
<false/>
<key>LaunchEvents</key>
<dict>
<key>com.apple.iokit.matching</key>
<dict>
<key>AmbrosiaAudioSupport</key>
<dict>
<key>IOMatchLaunchStream</key>
<true/>
<key>IOProviderClass</key>
<string>com_AmbrosiaSW_AudioSupport</string>
</dict>
...and 4 more line(s)
Contents of /Library/LaunchDaemons/com.apple.qmaster.qmasterd.plist
- mod date: Aug 25 21:24:23 2010
- checksum: 681742547
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.qmaster.qmasterd</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/qmasterd</string>
</array>
<key>OnDemand</key>
<false/>
</dict>
</plist>
Contents of /private/etc/hosts
- mod date: Sep 20 11:46:00 2013
- checksum: 1921340845
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
Contents of Library/LaunchAgents/[email protected]
- mod date: Sep 15 12:18:45 2009
- checksum: 2526625188
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<false/>
<key>Label</key>
<string>[email protected]</string>
<key>LimitLoadToSessionType</key>
<string>Aqua</string>
<key>LowPriorityIO</key>
<true/>
<key>Nice</key>
<integer>10</integer>
<key>ProgramArguments</key>
<array>
<string>/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices .framework/Versions/A/Support/CSConfigDotMacCert</string>
<string>-l</string>
<string>/Users/USER/Library/Logs/[email protected]</string>
<string>-u</string>
<string>@me.com</string>
<string>-t</string>
<string>SharedServices</string>
<string>-s</string>
</array>
...and 4 more line(s)
Contents of Library/LaunchAgents/com.google.keystone.agent.plist
- mod date: Nov 28 13:56:29 2014
- checksum: 3826001454
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.google.keystone.user.agent</string>
<key>LimitLoadToSessionType</key>
<string>Aqua</string>
<key>ProgramArguments</key>
<array>
<string>/Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bu ndle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftw areUpdateAgent</string>
<string>-runMode</string>
<string>ifneeded</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>3523</integer>
<key>StandardErrorPath</key>
<string>/dev/null</string>
<key>StandardOutPath</key>
<string>/dev/null</string>
</dict>
</plist>
Contents of Library/LaunchAgents/com.jdibackup.ZipCloud.autostart.plist
- mod date: Feb 19 15:00:08 2015
- checksum: 2356528749
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.jdibackup.ZipCloud.autostart</string>
<key>ProgramArguments</key>
<array>
<string>open</string>
<string>/Applications/ZipCloud.app/Contents/Resources/Utility.app</string>
<string>-n</string>
<string>--args</string>
<string>9</string>
<string>-l</string>
</array>
<key>StandardOutPath</key>
<string>/Users/USER/Library/Logs/ZipCloud/lagent_out.log</string>
<key>StandardErrorPath</key>
<string>/Users/USER/Library/Logs/ZipCloud/lagent_err.log</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Contents of Library/LaunchAgents/com.jdibackup.ZipCloud.notify.plist
- mod date: Feb 19 15:00:08 2015
- checksum: 1841511774
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.jdibackup.ZipCloud.notify</string>
<key>ProgramArguments</key>
<array>
<string>open</string>
<string>/Applications/ZipCloud.app/Contents/Resources/Utility.app</string>
<string>--args</string>
<string>7</string>
<string>1</string>
</array>
<key>StandardOutPath</key>
<string>/Users/USER/Library/Logs/ZipCloud/lagent_out.log</string>
<key>StandardErrorPath</key>
<string>/Users/USER/Library/Logs/ZipCloud/lagent_err.log</string>
<key>StartInterval</key>
<integer>1200</integer>
<key>RunAtLoad</key>
<false/>
</dict>
</plist>
Extensions
/System/Library/Extensions/AmbrosiaAudioSupport.kext
- com.AmbrosiaSW.AudioSupport
/System/Library/Extensions/FAMProtocol.kext
- com.sony.protocol.prodisc
/System/Library/Extensions/JMicronATA.kext
- com.jmicron.JMicronATA
/System/Library/Extensions/prodisc_fs.kext
- com.sony.filesystem.prodisc_fs
Applications
/Applications/Adobe Acrobat 8 Professional/Acrobat Distiller.app
- com.adobe.distiller
/Applications/Adobe Acrobat 8 Professional/Acrobat Uninstaller.app
- com.adobe.Acrobat.Uninstaller
/Applications/Adobe Acrobat 8 Professional/Adobe Acrobat Professional.app
- com.adobe.Acrobat.Pro
/Applications/Adobe Bridge CS3/Bridge CS3.app
- com.adobe.bridge2
/Applications/Adobe Device Central CS3/Device Central.app
- com.adobe.devicecentral.application
/Applications/Adobe Dreamweaver CS3/Dreamweaver.app
- com.adobe.dreamweaver-9.0
/Applications/Adobe Extension Manager/Extension Manager.app
- com.adobe.ExtensionManager
/Applications/Adobe Fireworks CS3/Adobe Fireworks CS3.app
- com.macromedia.fireworks
/Applications/Adobe Flash CS3 Video Encoder/Adobe Flash CS3 Video Encoder.app
- com.macromedia.FLVEncoder
/Applications/Adobe Flash CS3/Adobe Flash CS3.app
- com.adobe.flash-9.0-en_us
/Applications/Adobe Flash CS3/Players/Debug/Flash Player.app
- com.macromedia.Flash Player.app
/Applications/Adobe Flash CS3/Players/Debug/Install Flash Player 9 UB.app
- com.MindVision.VISEX
/Applications/Adobe Flash CS3/Players/Flash Player.app
- com.macromedia.Flash Player.app
/Applications/Adobe Flash CS3/Players/Release/Flash Player.app
- com.macromedia.Flash Player.app
/Applications/Adobe Flash CS3/Players/Release/Install Flash Player 9 UB.app
- com.MindVision.VISEX
/Applications/Adobe Help Viewer 1.0.app
- com.adobe.Adobe Help Viewer
/Applications/Adobe Help Viewer 1.1.app
- com.adobe.Adobe Help Viewer
/Applications/Adobe Illustrator CS3/Adobe Illustrator.app
- com.adobe.illustrator
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Analyze Documents.localized/Analyze Documents.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Calendar.localized/Make Calendar.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Collect for Output.localized/Collect for Output.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Contact Sheet Demo.localized/Contact Sheets.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Export Flash Animation.localized/Export Flash Animation.app
- N/A
/Applications/Adobe Illustrator CS3/Scripting.localized/Sample Scripts.localized/AppleScript/Web Gallery.localized/Web Gallery.app
- N/A
/Applications/Adobe Photoshop CS3/Adobe Photoshop CS3.app
- com.adobe.Photoshop
/Applications/Adobe Premiere Pro CS3/Adobe Premiere Pro CS3.app
- com.adobe.AdobePremierePro
/Applications/Adobe Stock Photos CS3/Adobe Stock Photos CS3.app
- com.adobe.stockphotos-1.5
/Applications/Audacity/Audacity.app
- net.sourceforge.audacity
/Applications/Beak.app
- com.flyosity.beak
/Applications/Buzzbird.app
- org.buzzbird.buzzbird
/Applications/Celtx.app
- ca.greyfirst.celtx
/Applications/Datacolor/Spyder3Elite/Spyder3Elite.app
- com.datacolor.spyder3elite
/Applications/Datacolor/Spyder3Elite/Spyder3Utility.app
- com.datacolor.spyder3utility
/Applications/Datacolor/Spyder3Elite/Support/SpyderUtility.app
- com.datacolor.spyderutility
/Applications/Disk Inventory X.app
- com.derlien.DiskInventoryX
/Applications/Epson Software/Print CD/Print CD.app
- jp.co.epson.PrintCD2
/Applications/FileZilla.app
- de.filezilla
/Applications/FlashVideo Converter.app
- com.geovid.
/Applications/Gorilla Folder/Gorilla Program 4.0.0/Gorilla 4.0.0
- N/A
/Applications/HandBrake.app
- org.m0k.handbrake
/Applications/Levelator.app
- org.conversationsnetwork.levelator
/Applications/OpenOffice.org.app
- org.openoffice.script
/Applications/RecBoot.app
- com.lepidu.RecBoot
/Applications/Smultron.app
- org.smultron.Smultron
/Applications/TouchCopy.app
- N/A
/Applications/Uninstall MM Scheduling/Uninstall MM Scheduling.app
- N/A
/Applications/Utilities/Adobe Utilities.localized/Adobe Updater5/Adobe Updater.app
- "com.Adobe.ESD.AdobeUpdaterApplication"
/Applications/Utilities/Adobe Utilities.localized/ExtendScript Toolkit 2/ExtendScript Toolkit 2.app
- com.adobe.estoolkit-2.0
/Applications/Utilities/Bluetooth Firmware Update.app
- com.apple.updaters.btfirmwareupdate201
/Applications/Utilities/FAM Driver Tool.app
- com.sony.famdrivertool
/Applications/VLC.app
- org.videolan.vlc
/Applications/XDCAM Transfer.app
- com.sony.bprl.xdcamtransfer
/Applications/YouSendIt Desktop App.app
- com.yousendit.YouSendIt
/Applications/YouSendIt.app
- com.yousendit.YouSendItExpress
/Applications/gedit.app
- org.gnome.gedit
/Applications/iWork '08/Keynote.app
- com.apple.iWork.Keynote
/Applications/iWork '08/Numbers.app
- com.apple.iWork.Numbers
/Applications/iWork '08/Pages.app
- com.apple.iWork.Pages
/Developer/Applications/Utilities/MacPython 2.5/Build Applet.app
- org.python.buildapplet
/Developer/Applications/Utilities/Python 2.6/Build Applet.app
- org.python.buildapplet
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Li brary/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.1/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.2/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.1/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0.2/Symbols/System/Libra ry/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.1/Symbols/System/Library /CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileAddressBook.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileSafari.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/MobileSlideShow.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/Preferences.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/Applications/Web.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk/System/Library/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/AdSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Contacts.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Game Center.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/MobileSafari.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/MobileSlideShow.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Preferences.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/TrustMe.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/Web.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/WebSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/Applications/iPodOut.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0 .sdk/System/Library/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/AdSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Contacts.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Game Center~iphone.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/MobileSafari.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/MobileSlideShow.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Preferences.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/TrustMe.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/Web.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/WebSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/Applications/iPodOut.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1 .sdk/System/Library/CoreServices/VoiceOverTouch.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/AdSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/AdSheet~ipad.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Camera.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Contacts~ipad.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Contacts~iphone.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/DataActivation.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Game Center~ipad.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Game Center~iphone.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/MobileSafari.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/MobileSlideShow.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Preferences.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/TrustMe.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/Web.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/WebSheet.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/Applications/iPodOut.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/MobileStorageMounter.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/SpringBoard.app
- N/A
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2 .sdk/System/Library/CoreServices/VoiceOverTouch.app
- N/A
/Library/Application Support/Adobe/Adobe Asset Services CS3/AssetServicesCS3.app
- com.adobe.assetServicesCS3
/Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3.app
- com.adobe.versioncueCS3.VersionCueCS3
/Library/Application Support/Adobe/Adobe Version Cue CS3/Server/bin/VersionCueCS3Status.app
- com.adobe.versioncueCS3.VCStatusMenu
/Library/Application Support/Adobe/Installers/UUID/Setup.app
- com.adobe.Installers.Redirector
/Library/Application Support/Adobe/Installers/R1/Setup.app
- com.adobe.Installers.Setup
/Library/Application Support/Intuit/QuickBooks/2007/JHandShake.app
- com.intuit.JHandShake
/Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
- com.microsoft.silverlight.sllauncher
/Library/Application Support/ProApps/MIO/RAD/Plugins/ReadMe(Image Handling Library).app
- jp.co.canon.DocumentLauncher
/Library/Application Support/iWork '08/iWork Tour.app
- com.apple.iWorkTour
/Library/Documentation/User Guides And Information.localized/Apple Hardware Test Read Me.app
- com.apple.AppleHardwareTestReadMe
/Library/Printers/EPSON/InkjetPrinter/AutoSetupTool/EPIJAutoSetupTool.app
- com.epson.ijprinter.EPIJAutoSetupTool
/Library/Printers/EPSON/InkjetPrinter/Filter/rastertoescp.app
- com.epson.ijprinter.rastertoescp
/Library/Printers/EPSON/InkjetPrinter/Utilities/EPSON Printer Utility3.app
- com.epson.ijprinter.Utility3
/Library/Printers/hp/Fax/fax.backend
- com.hp.fax
/Library/Printers/hp/Fax/rastertofax.filter
- com.hp.rastertofax
/Library/Printers/hp/cups/filters/pdftopdf.filter
- com.hp.print.cups.filter.pdftopdf
/Users/USER/Documents/iPhone Apps/Archivers/build/Debug-iphonesimulator/Archivers.app
- N/A
/Users/USER/Documents/iPhone Apps/Archivers_test/build/Debug-iphonesimulator/Archivers.app
- N/A
/Users/USER/Documents/iPhone Apps/DateCell/build/Debug-iphonesimulator/DateCell.app
- N/A
/Users/USER/Documents/iPhone Apps/EasyCustomTable/build/Debug-iphonesimulator/EasyCustomTable.app
- N/A
/Users/USER/Documents/iPhone Apps/Grids/build/Debug-iphonesimulator/Grids.app
- N/A
/Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug-iphoneos/Metalsmith Suite.app
- N/A
/Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug-iphonesimulator/Metalsmith Suite.app
- N/A
/Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Debug/Metalsmith Suite.app
- com.yourcompany.Metalsmith-Suite
/Users/USER/Documents/iPhone Apps/Metalsmith Suite/build/Distrobution-iphoneos/Metalsmith Suite.app
- N/A
/Users/USER/Documents/iPhone Apps/Scrolling/build/Debug-iphonesimulator/Scrolling.app
- N/A
/Users/USER/Documents/iPhone Apps/UICatalog/build/Debug-iphonesimulator/UICatalog.app
- N/A
/Users/USER/Documents/iPhone Apps/WebViewTutorial/build/Debug-iphonesimulator/WebViewTutorial.app
- N/A
/Users/USER/Documents/iPhone Apps/XML/build/Debug-iphonesimulator/XML.app
- N/A
/Users/USER/Documents/sites/nvrslp.com/dev/the_lab/ns_resize
- N/A
/Users/USER/Documents/sites/zoomify/Zoomifyer EZ v3.1/Zoomifyer EZ.app
- N/A
/Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_apdfllckaahabafndbhieahigkjlhalf/Default apdfllckaahabafndbhieahigkjlhalf.app
- com.google.Chrome.app.Default-apdfllckaahabafndbhieahigkjlhalf-internal
/Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_bepbmhgboaologfdajaanbcjmnhjmhfn/Default bepbmhgboaologfdajaanbcjmnhjmhfn.app
- com.google.Chrome.app.Default-bepbmhgboaologfdajaanbcjmnhjmhfn-internal
/Users/USER/Library/Application Support/Google/Chrome/Default/Web Applications/_crx_blpebaehgfgkcmmjjknibibbjacnplim/Default blpebaehgfgkcmmjjknibibbjacnplim.app
- com.google.Chrome.app.Default-blpebaehgfgkcmmjjknibibbjacnplim-internal
/Users/USER/Library/Application Support/iPhone Simulator/3.1.2/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/UICatalog.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/WebViewTutorial.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/Archivers.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.1.3/Applications/UUID/AnimatedGifExample.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/3.2/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/4.2/Applications/UUID/Spinspiration.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/XML.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/DateCell.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/UICatalog.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Metalsmith Suite.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Scrolling.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Autoscroll.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/Grids.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/TapToZoom.app
- N/A
/Users/USER/Library/Application Support/iPhone Simulator/User/Applications/UUID/EasyCustomTable.app
- N/A
/Users/USER/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin/octoshape/octoshape
- N/A
Frameworks
/Library/Frameworks/REDCODE.Color.framework
- com.red.redcode.color
/Users/USER/Library/Frameworks/EWSMac-GC.framework
- com.eSellerate.EWSMac67108872
PrefPane
/Library/PreferencePanes/Flash Player.prefPane
- com.adobe.flashplayerpreferences
/Library/PreferencePanes/REDcode.prefPane
- com.red.prefpanel
/Library/PreferencePanes/VersionCueCS3.prefPane
- com.adobe.versioncueCS3.VCPrefPane
/Users/USER/Library/PreferencePanes/Growl.prefPane
- com.growl.prefpanel
Bundles
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/ASEFormat.plugin
- com.adobe.aseformat
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/BMP.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Cineon.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/EPS Parser.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/GIF.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/JPEG2000.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/OpenEXR.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PBM.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PCX.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/PNG.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Pixar.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Radiance.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/Targa.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/WBMP.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/altiveccore.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/dicom.plugin
- com.adobe.dicom
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/mmxcore.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/multiprocessor support.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Plug-Ins/ppccore.plugin
- null
/Library/Application Support/Adobe/Adobe Asset Services CS3/Required/Photoshop Adapter.plugin
- null
/Library/Application Support/Adobe/Flash Player/Flash Player.plugin
- com.macromedia.Flash Player.plugin
/Library/Application Support/Adobe/Plug-Ins/CS3/File Formats/Camera Raw.plugin
- com.adobe.CameraRaw
/Library/Frameworks/HPDeviceModel.framework/Versions/2.0/Frameworks/Core.framew ork/Versions/2.0/Resources/PlugIns/CFXmlParser.plugin
- com.hp.dmf.plugins.CFXmlParser
/Library/Frameworks/HPDeviceModel.framework/Versions/2.0/Frameworks/Core.framew ork/ -
I need help with illustrator 10
I need help with illustrator 10, I have artwork I need to finish in it and it keep kicking me off.
I have added transparency, using SVG effects, a lot more detail and that is when it started kicking me off. I just added 2 gb of ram thinking it was ram I needed but it keeps kicking me off.
I think there is something I need to change in how I save it???
I have a mini mac, 10.5.8
The screen also turns white while I am working and when it does kick me off it says there is an error.I know I am behind the times but I am just trying to get this deadline done and be able to update my computer and such in a few months. Help!I have very simple artwork and when I add any textures or transparency or
any type of detail from SVG effects it will not let me copy it and paste or
when I do try to move it everything turns white or it just kicks me off.
Then I cannot get back onto illustrator. It takes a very long time to save
it or move things. This has not happened before. I have been designing
for 25 years and am self taught. I can get on my simple designs. I am
saving my artwork as AI document. I just have to finish the designs and
put them into dropbox. I do not need to print. I did add 2 GB of ram
thinking the extra memory would help. I think I need to turn something off
and turn something on. There is an error window that comes up the says the
application illustrator has quit unexpectedly. I am at a dead end on what
to do! -
Need help with home work see what you got
1. The MEMBERS table has the phone number broken into three fields:
CountryCode - e,g., '1' for the United States
AreaCode - e.g., three digits for the United States
Phone - e.g., 7 digits, with or without a dash between the first three digits (Exchange) and last four digits (Line)
Any or all of the fields may be missing (null) or blank or contain only spaces.
Write a T-SQL statement to concatenate the three fields into a complete phone number
with the format: CountryCode(AreaCode)Exchange-Line, e.g., 1(816)123-4567
If no Phone is present, return a blank string.
If no area code is present, return only the Phone number. Do not return an empty pair of parentheses or the CountryCode.
2. The PERSON_CAMPAIGN table contains a row for each war/conflict the member served in. A member may have served in multiple conflicts
For this purpose, each row contains:
PersonID - unique member identifier
Campaign - name of war/conflict
Write a T-SQL statement to return one row per member with all campaigns concatenated into a single field and separated by commas
E.g., PersonID Campaigns
12345678 Global War on Terror, Iraq, Afghanistan
3. The MEMBER_STATISTICS table contains one row per post.
For this purpose, each row contains the post's:
Division - a way of grouping posts by their member size
Department - the state in which the post is located
PostNumber - unique post identifier
Reinstated - count of members whose annual subscription had lapsed for at least two years but who have now subscribed for the current year
Write a T-SQL statement to determine the top ten posts in each division based on the number of reinstated members, with a minimum of 50 reinstated members.
Rank them by highest to lowest reinstated count.
Return their Division, Rank, Department, PostNumber, ReinstatedI got 3 home work questions think i have the first two need help with the last one please.
Kinda stuck on #3 hard I can see data not sure witch to sum or count?
1. The MEMBERS table has the phone number broken into three fields:
CountryCode - e,g., '1' for the United States
AreaCode - e.g., three digits for the United States
Phone - e.g., 7 digits, with or without a dash between the first three digits (Exchange) and last four digits (Line)
Any or all of the fields may be missing (null) or blank or contain only spaces.
Write a T-SQL statement to concatenate the three fields into a complete phone number
with the format: CountryCode(AreaCode)Exchange-Line, e.g., 1(816)123-4567
If no Phone is present, return a blank string.
If no area code is present, return only the Phone number. Do not return an empty pair of parentheses or the CountryCode.
ANSWER******************
Notes: created a funtion to format the phone
Then used the this function in a select to concatenate Phone
CREATE FUNCTION dbo.FORMATPHONE (@CountryCode int, @AreCode int, @Phone VARCHAR(14))
RETURNS VARCHAR(14)
AS BEGIN
DECLARE @ReturnPhone VARCHAR(14)
DECLARE @NewPhone VARCHAR(14)
-- Note case sets newphone to null if phone null or '' also to see if phone has '-' in it if not inserts into newphone
case
when @Phone is null or @Phone = ''
Then SET @NewPhone = Null
when @Phone = substring(@Phone,4,1)='-'
Then SET @NewPhone = @Phone
else
SET @NewPhone = substring(@Phone,1,3)+'-'+ substring(@Phone,4,4)
End
case
when @NewPhone is null then SET @ReturnPhone = @NewPhone
elese case
when @AreCode is null or @AreCode = '' then SET @ReturnPhone = @NewPhone
else
SET @ReturnPhone = @CountryCode + '(' + @AreCode + ')' + @NewPhone
END
END
RETURN @ReturnPhone
END
select dbo.FORMATPHONE(CountryCode,AreCode,Phone)
from MEMBERS
2. The PERSON_CAMPAIGN table contains a row for each war/conflict the member served in. A member may have served in multiple conflicts
For this purpose, each row contains:
PersonID - unique member identifier
Campaign - name of war/conflict
Write a T-SQL statement to return one row per member with all campaigns concatenated into a single field and separated by commas
E.g., PersonID Campaigns
12345678 Global War on Terror, Iraq, Afghanistan
ANSWER******************
SELECT PersonID,
STUFF(( SELECT ',' + Campaign AS [text()]
FROM PERSON_CAMPAIGN
WHERE (PersonID = Results.ID)
FOR XML PATH('')
), 1, 1, '' )
AS Campaigns
FROM PERSON_CAMPAIGN Results
3. The MEMBER_STATISTICS table contains one row per post.
For this purpose, each row contains the post's:
Division - a way of grouping posts by their member size
Department - the state in which the post is located
PostNumber - unique post identifier
Reinstated - count of members whose annual subscription had lapsed for at least two years but who have now subscribed for the current year
Write a T-SQL statement to determine the top ten posts in each division based on the number of reinstated members, with a minimum of 50 reinstated members.
Rank them by highest to lowest reinstated count.
Return their Division, Rank, Department, PostNumber, Reinstated -
Need help with Berkeley XML DB Performance
We need help with maximizing performance of our use of Berkeley XML DB. I am filling most of the 29 part question as listed by Oracle's BDB team.
Berkeley DB XML Performance Questionnaire
1. Describe the Performance area that you are measuring? What is the
current performance? What are your performance goals you hope to
achieve?
We are measuring the performance while loading a document during
web application startup. It is currently taking 10-12 seconds when
only one user is on the system. We are trying to do some testing to
get the load time when several users are on the system.
We would like the load time to be 5 seconds or less.
2. What Berkeley DB XML Version? Any optional configuration flags
specified? Are you running with any special patches? Please specify?
dbxml 2.4.13. No special patches.
3. What Berkeley DB Version? Any optional configuration flags
specified? Are you running with any special patches? Please Specify.
bdb 4.6.21. No special patches.
4. Processor name, speed and chipset?
Intel Xeon CPU 5150 2.66GHz
5. Operating System and Version?
Red Hat Enterprise Linux Relase 4 Update 6
6. Disk Drive Type and speed?
Don't have that information
7. File System Type? (such as EXT2, NTFS, Reiser)
EXT3
8. Physical Memory Available?
4GB
9. Are you using Replication (HA) with Berkeley DB XML? If so, please
describe the network you are using, and the number of Replica’s.
No
10. Are you using a Remote Filesystem (NFS) ? If so, for which
Berkeley DB XML/DB files?
No
11. What type of mutexes do you have configured? Did you specify
–with-mutex=? Specify what you find inn your config.log, search
for db_cv_mutex?
None. Did not specify -with-mutex during bdb compilation
12. Which API are you using (C++, Java, Perl, PHP, Python, other) ?
Which compiler and version?
Java 1.5
13. If you are using an Application Server or Web Server, please
provide the name and version?
Oracle Appication Server 10.1.3.4.0
14. Please provide your exact Environment Configuration Flags (include
anything specified in you DB_CONFIG file)
Default.
15. Please provide your Container Configuration Flags?
final EnvironmentConfig envConf = new EnvironmentConfig();
envConf.setAllowCreate(true); // If the environment does not
// exist, create it.
envConf.setInitializeCache(true); // Turn on the shared memory
// region.
envConf.setInitializeLocking(true); // Turn on the locking subsystem.
envConf.setInitializeLogging(true); // Turn on the logging subsystem.
envConf.setTransactional(true); // Turn on the transactional
// subsystem.
envConf.setLockDetectMode(LockDetectMode.MINWRITE);
envConf.setThreaded(true);
envConf.setErrorStream(System.err);
envConf.setCacheSize(1024*1024*64);
envConf.setMaxLockers(2000);
envConf.setMaxLocks(2000);
envConf.setMaxLockObjects(2000);
envConf.setTxnMaxActive(200);
envConf.setTxnWriteNoSync(true);
envConf.setMaxMutexes(40000);
16. How many XML Containers do you have? For each one please specify:
One.
1. The Container Configuration Flags
XmlContainerConfig xmlContainerConfig = new XmlContainerConfig();
xmlContainerConfig.setTransactional(true);
xmlContainerConfig.setIndexNodes(true);
xmlContainerConfig.setReadUncommitted(true);
2. How many documents?
Everytime the user logs in, the current xml document is loaded from
a oracle database table and put it in the Berkeley XML DB.
The documents get deleted from XML DB when the Oracle application
server container is stopped.
The number of documents should start with zero initially and it
will grow with every login.
3. What type (node or wholedoc)?
Node
4. Please indicate the minimum, maximum and average size of
documents?
The minimum is about 2MB and the maximum could 20MB. The average
mostly about 5MB.
5. Are you using document data? If so please describe how?
We are using document data only to save changes made
to the application data in a web application. The final save goes
to the relational database. Berkeley XML DB is just used to store
temporary data since going to the relational database for each change
will cause severe performance issues.
17. Please describe the shape of one of your typical documents? Please
do this by sending us a skeleton XML document.
Due to the sensitive nature of the data, I can provide XML schema instead.
18. What is the rate of document insertion/update required or
expected? Are you doing partial node updates (via XmlModify) or
replacing the document?
The document is inserted during user login. Any change made to the application
data grid or other data components gets saved in Berkeley DB. We also have
an automatic save every two minutes. The final save from the application
gets saved in a relational database.
19. What is the query rate required/expected?
Users will not be entering data rapidly. There will be lot of think time
before the users enter/modify data in the web application. This is a pilot
project but when we go live with this application, we will expect 25 users
at the same time.
20. XQuery -- supply some sample queries
1. Please provide the Query Plan
2. Are you using DBXML_INDEX_NODES?
Yes.
3. Display the indices you have defined for the specific query.
XmlIndexSpecification spec = container.getIndexSpecification();
// ids
spec.addIndex("", "id", XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
spec.addIndex("", "idref", XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
// index to cover AttributeValue/Description
spec.addIndex("", "Description", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ELEMENT | XmlIndexSpecification.KEY_SUBSTRING, XmlValue.STRING);
// cover AttributeValue/@value
spec.addIndex("", "value", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
// item attribute values
spec.addIndex("", "type", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
// default index
spec.addDefaultIndex(XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ELEMENT | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
spec.addDefaultIndex(XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
// save the spec to the container
XmlUpdateContext uc = xmlManager.createUpdateContext();
container.setIndexSpecification(spec, uc);
4. If this is a large query, please consider sending a smaller
query (and query plan) that demonstrates the problem.
21. Are you running with Transactions? If so please provide any
transactions flags you specify with any API calls.
Yes. READ_UNCOMMITED in some and READ_COMMITTED in other transactions.
22. If your application is transactional, are your log files stored on
the same disk as your containers/databases?
Yes.
23. Do you use AUTO_COMMIT?
No.
24. Please list any non-transactional operations performed?
No.
25. How many threads of control are running? How many threads in read
only mode? How many threads are updating?
We use Berkeley XML DB within the context of a struts web application.
Each user logged into the web application will be running a bdb transactoin
within the context of a struts action thread.
26. Please include a paragraph describing the performance measurements
you have made. Please specifically list any Berkeley DB operations
where the performance is currently insufficient.
We are clocking 10-12 seconds of loading a document from dbd when
five users are on the system.
getContainer().getDocument(documentName);
27. What performance level do you hope to achieve?
We would like to get less than 5 seconds when 25 users are on the system.
28. Please send us the output of the following db_stat utility commands
after your application has been running under "normal" load for some
period of time:
% db_stat -h database environment -c
% db_stat -h database environment -l
% db_stat -h database environment -m
% db_stat -h database environment -r
% db_stat -h database environment -t
(These commands require the db_stat utility access a shared database
environment. If your application has a private environment, please
remove the DB_PRIVATE flag used when the environment is created, so
you can obtain these measurements. If removing the DB_PRIVATE flag
is not possible, let us know and we can discuss alternatives with
you.)
If your application has periods of "good" and "bad" performance,
please run the above list of commands several times, during both
good and bad periods, and additionally specify the -Z flags (so
the output of each command isn't cumulative).
When possible, please run basic system performance reporting tools
during the time you are measuring the application's performance.
For example, on UNIX systems, the vmstat and iostat utilities are
good choices.
Will give this information soon.
29. Are there any other significant applications running on this
system? Are you using Berkeley DB outside of Berkeley DB XML?
Please describe the application?
No to the first two questions.
The web application is an online review of test questions. The users
login and then review the items one by one. The relational database
holds the data in xml. During application load, the application
retrieves the xml and then saves it to bdb. While the user
is making changes to the data in the application, it writes those
changes to bdb. Finally when the user hits the SAVE button, the data
gets saved to the relational database. We also have an automatic save
every two minues, which saves bdb xml data and saves it to relational
database.
Thanks,
Madhav
[email protected]Could it be that you simply do not have set up indexes to support your query? If so, you could do some basic testing using the dbxml shell:
milu@colinux:~/xpg > dbxml -h ~/dbenv
Joined existing environment
dbxml> setverbose 7 2
dbxml> open tv.dbxml
dbxml> listIndexes
dbxml> query { collection()[//@date-tip]/*[@chID = ('ard','zdf')] (: example :) }
dbxml> queryplan { collection()[//@date-tip]/*[@chID = ('ard','zdf')] (: example :) }Verbosity will make the engine display some (rather cryptic) information on index usage. I can't remember where the output is explained; my feeling is that "V(...)" means the index is being used (which is good), but that observation may not be accurate. Note that some details in the setVerbose command could differ, as I'm using 2.4.16 while you're using 2.4.13.
Also, take a look at the query plan. You can post it here and some people will be able to diagnose it.
Michael Ludwig -
Need help with almost completed plugin engine project
Hi all,
For a while now I have been working on a plugin engine. After a few iterations, the engine is similar to the Eclipse engine, in that plugins use extension points and extensions to allow contributions. Unlike the eclipse engine I have added the ability for plugins to fire events through the engine and other plugins can add listeners, all through the plugin.xml manifest. Dependencies are mostly handled automatically at plugin load time (when extensions get resolved to extension points, and listeners get resolved to events). For the case where a plugin needs to use classes from another plugin, dependencies are also allowed to be declared. Like the eclipse engine, activation of plugins occurs the first time a class is used within the plugin's classpath, OR a plugin can be activated after it is loaded.
What I need help with is testing, working on examples to provide with the engine project, and feedback/suggestions before we release the M1 build. I am asking for those that are interested in this type of work to volunteer to help where applicable and possible. I want to provide a solid plugin engine to the java community, one that is easy to use, works well, and is pretty effecient in terms of resource usage and performance.
Of particular interest to me right at the moment is dealing with multiple versions. As I see it, the engine will be used within an application and as such plugins would be distributed with a specific application version. The plugin version itself is more of a notification as to what version a plugin is, although I imagine it will help when updating at runtime as well.
Just a few other details of the engine. It handles (or will soon) dynamic load, unload and reload of plugins at runtime. Plugins can be distributed in an archive file format, we call .par (Plugin ARchive), with additional plugin filename extensions configurable at runtime. The plugins can be developed and deployed in an expanded directory format as they are in Eclipse as well, or in the archive format. In the archive format they do not need to be unzipped when deployed, and they can contain embeded jar/zip libraries. The engine handles finding and creating classes directly out of the .par file at runtime.
Multiple locations to find plugins are configurable before the engine starts, and even after it starts more could be added to allow additional locations to find plugins. URLs are supported, and soon the HTTP protocol will be supported so that plugins can be downloaded and installed at runtime.
The project can be found at www.sourceforge.net/projects/genpluginengine. If you would like to get involved and help out, please sign up on the dev mail list and send an email to introduce yourself to the rest of the members on the list.
I'll also add that I am working on a Swing UI Framework built entirely from plugins. It provides a ready-to-launce UI application that developers can simply add their plugins to, extending various extension points of the framework to have menu items, toolbar buttons, status bar access, help and preferences dialog additions, file i/o choosers, tons of open-source components ready to use (or extend to add on to), and like Eclipse, hopefully... draggable window frames that can be dropped on any other frame to form a tabbed frame of windows. Some of this is a ways off, some is getting there now. Presently you can add menu items that do allow plugin activation when first clicked, so plugins can be loaded but not activated until needed. The Preference dialog works but is not completed, and a plugin that adds a plugin control panel to view all loaded plugins, activate them, load/unload/reload, view extension points, extensions, dependencies, etc is partially completed. The point is, to allow a ready to run UI framework in Swing with an easy path for developers to quickly build applications with. If you are interested in this, when you join the mail list and introduce yourself, indicate that you are interested in this as well, as we need help with plugin development for it and would appreciate more help here too.
Look forward to some replies.Might I suggest setting up a project at a known project-site? I've seen your progress and questions posted here from time to time, but one of the drawbacks is that you have to fill each post with the entirity of your vision to explain what you're doing. That's a lot of text to read - and most folks will skip right over it.
On the other hand, a well-crafted, good-looking project web-site, with appropriate links and docs and vision statements, diagrams, etc. will have more likelyhood of attracting volunteers. java.net and sourceforge.net are likely spots to set up shop. In addition, you get CVS and bug-tracking systems, which can be quite valuable in such a large-scale project where there are lots of pieces.
Maybe you are looking for
-
Hi Can anyone of you please give me some information or any links explaning step by step procedure on: 1. How to copy a query 2. How to insert query in Workbook Many Thanks
-
No. of Columns limitations in Essbase Excel retrieval.
Dear All, May I know the number of columns that Excel Essbase add-in supports. We are facing an issue while retreiving data for 261 columns in excel 2007 version fom Essbase 9.3.0 server. Earlier I came across the situation that Essbase add-in for 20
-
I can t watch live streamings.The message says:could not find server.Why?
When i try to see sports from live streaming i can t.Before 5months,i didn t have this problem.But someone send me an error message one day that some application may be harmful for my system and then block it.I can t find anymore this message at fire
-
Subject: Number Range interval deleted automatically
Hi At the time of Accounting Document Posting system is giving error message for maintaining number ranges interval for the corresponding Number Ranges (For example: 50, 51, 49, 19) for the fiscal year 2010. But Number range interval has already been
-
Compilation error with cookies program
Hi, I have got following code: import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class ShowCookies extends HttpServlet{ public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOExceptio