Crypto programming project

I'm not sure if the forum's Code of Conduct disallows such postings; I've read it and didn't find it explicitly prohibited, so I'm taking the chance. If it offends anyone, let me know and I'll request the forum administrators to delete it.
I have a cryptography software development project (3-6 months) in Silicon Valley (US) for an experienced programmer. Experience with JDBC and JCE is essential. Knowledge of PKI, smartcards and cryptographic HSMs is a plus; if not, I can teach you as long as you're willing to come upto speed really fast. For the right candidate, this could become a full-time opportunity working on some great crypto projects.
The compensation will be competitive and the work extremely interesting. All my normal contacts are busy, thus I'm reaching out to those who have an interest in this area. To contact me, send me an e-mail directly - click on my name to get my e-mail address. Only US citizens or Green Card holders, please.
Thank you for your indulgence.

warnerja wrote:
Roridge wrote:
Herko_ter_Horst wrote:
Roridge wrote:
You could delimit your input entry with a comma and then split on the input String to get your integers. e.g. "1,2,3,4,5,6,7,8,9,10"Right, because comma's are so much better than spaces...Yeah, well at least I Suggested something... you are so Elitist!I could have suggested that the OP bake a cake, but that would have helped about as much as you did.
You are so Noobist!What is the deal with you two, are you like two lovers sitting next to each other determined to prove your Elite status?

Similar Messages

  • Issue with turning on project 2010 / 2013 - "There is not enough memory to complete the operation. To free up available memory, close programs, projects, or windows you aren't using, and then try again."

    I get the following error after the installation and configuration window of MS Project: "There is not enough memory to complete the operation. To free up available memory, close programs, projects, or windows you aren't using, and then try again."
    It happens both with MS Project 2010 and 2013 on a Windows 7 desktop. 
    I tried installing / uninstalling Office 2010, MS Project, tried installing 32 and then 64 bit versions, clean up, disk error checker, startup changes (msconfig), anti virus, running as Windows 7 and then Windows XP compatible mode. 
    Nothing helps. I see this issue reported as early as 2007 version of MS projects on Microsoft forums, but I do not see any solution anywhere. Any suggestions on how to fix the issue without having to reformat hard drive? Every other application, including
    all other Office programs work seamlessly. 
    I also tried Microsoft support, after an hour and a half of basically doing what I did before, I was told I have to pay 99$ for "premium" support, so someone can look at this bug. 
    I have 16 Gb RAM and more than 200Gb or hard drive free, so actual memory is not the problem. 

    This issue was originally reported with MS Project 2007 and keeps popping up since.
    A quick Google search provides more than 200K pages of results of this issue:
    https://www.google.ca/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=There+is+not+enough+memory+to+complete+the+operation.+To+free+up+available+memory%2C+close+programs%2C+projects%2C+or+windows+you+aren't+using%2C+and+then+try+again.
    And 193K results on Bing:
    http://www.bing.com/search?q=There+is+not+enough+memory+to+complete+the+operation.+To+free+up+available+memory%2C+close+programs%2C+projects%2C+or+windows+you+aren%27t+using%2C+and+then+try+again.&go=Submit&qs=n&form=QBLH&pq=there+is+not+enough+memory+to+complete+the+operation.+to+free+up+available+memory%2C+close+programs%2C+projects%2C+or+windows+you+aren%27t+using%2C+and+then+try+again.&sc=0-0&sp=-1&sk=&cvid=4cb023c1fbd94ec2bba9821b095f21f2
    Computer was defragged already. I run more tests, and specifically when MS Projects tries to run, it tries to take all memory, more than 300Gb, on the computer. (DropBox was running at the same time, and warned that there were no space. As soon as MS Project
    stopped attempting to configure itself, everything came back to normal and the available space became available again.)
    Looking through older forum posts, looks like this application tries to take "unlimited" amount of memory. Some registry fixes are mentioned potentially, but I was not able to apply them. 
    Since everything else works, this is a MS Project bug reported by multiple users on various versions of Windows, including Vista and 7, so please provide a fix and not 'not a know bug' lie. All the premium support will say, is to format the hard drive, unless
    they have a patch or a registry edit solution. If the latter is true, since the issue exists for multiple years, it should have been already been provided to users.
    Also, I am not running a SQL server, or any server, this is an installation on a local machine. 

  • Java Software Solutions book programming projects

    hey. if any of you have heard of this book you know that theres programming projects at the end of each chapter. if any of you might know a website that has solutions to these projects, could you please post a link for me. it would really help a lot. thanks

    I have no delusion of the reality in programming. However, one has to acknowledge that some programming requirements are more concretely specified than others. I have done programming exercises in C++ (quite sometime ago and in class) that are defined in few pages. Many programming exercises in the book I mentioned are given just only in a few sentences to a page. There are also programming exercises that are defined in a way that the correctness of a solution can be verified more easily.
    I am a novice in Java and have not done any program for quite some time, and I am learning the language alone. I want to ask an experienced Java programmer such as you that if there are better sources available for me to get some programming experience other than the programming exercises available in this book. Is there such a resource available? Could you point me to one?
    Please don't take this personally. I am just frustrated.

  • Programming project - Reversed array

    I'm having a little trouble with this programming project. What I have to do:
    "Write a program named ReverseNumbers that prompts the user to enter 10 numbers, then writes the numbers in reverse order:
    Enter 10 numbers: 34 82 49 102 7 94 23 11 50 31
    In reverse order: 31 50 11 23 94 7 102 49 82 34
    Hint: Store the numbers in an array, starting at position 0. When printing the numbers, visit the elements of the array in reverse order."
    Here's what I have so far:
    import jpb.*;
    public class ReverseNumbers {
    public static void main(String[] args) {
    int[] reverse = new int [10];
    int num;
    int sum = 0;
    int sum2 = 0;
    int num1;
    for(num = 0; num < reverse.length; num++) {
    SimpleIO.prompt ("Enter ten numbers: ");
    String x=SimpleIO.readLine();
    reverse [num] = Integer.parseInt(x);
    for(num = 9; num >= 0; num--) {
    System.out.print( "  " + reverse [num]  );
    }

    warnerja wrote:
    Roridge wrote:
    Herko_ter_Horst wrote:
    Roridge wrote:
    You could delimit your input entry with a comma and then split on the input String to get your integers. e.g. "1,2,3,4,5,6,7,8,9,10"Right, because comma's are so much better than spaces...Yeah, well at least I Suggested something... you are so Elitist!I could have suggested that the OP bake a cake, but that would have helped about as much as you did.
    You are so Noobist!What is the deal with you two, are you like two lovers sitting next to each other determined to prove your Elite status?

  • Programming project: does this code look clean enough to turn in?

    Hi, i was just wanting to know people's opinion on the format of my classes below, i haven't done much java programming and I just want to make sure that this program is easily understood. I will not be able to respond, because I have to wake up in 3 hours for school. So thanks in advance, I will be reading this tomorrow, to see your suggestions, thank you.
    here is the scholar class, it is the class that i made to create a scholar(student object) that will be applying for a scholarship and the grades are entered in the ScholarTester class.
    I could've done things differently and easier but the professor strictly called for it to be exactly as he stated. I came up with a better, less tedious way, but i couldn't use it. My way was to create a method to randomly generate grades and values to determine the major, but my prof. saw it and made me implement everything in ScholarTester. Also neither of the students will receive the scholarship, that will be determined in project 2 my professor said.
    package project1;
    import java.util.*;
    * @author Kevin
    public class Scholar implements Comparable {
        // private variables
        private String fullName;
        private double gradePointAverage;
        private int essayScore;
        private int creditHours;
        private boolean scienceMajor;
        private double totalScore;
           // constructor for a Scholar object
            public Scholar(String myFullName, double myGradePointAverage, int myEssayScore,
                           int myCreditHours, boolean isScienceMajor){
                    this.fullName = myFullName;
                    this.gradePointAverage = myGradePointAverage;
                    this.essayScore = myEssayScore;
                    this.creditHours = myCreditHours;
                    this.scienceMajor = isScienceMajor;
            // returns a Scholar object's fullname
            public String getFullName(){
                return fullName;
            // returns a Scholar object's gpa
            public double getGradePointAverage(){
                return gradePointAverage;
            // returns a Scholar object's essay score
            public int getEssayScore(){
                return essayScore;
            /// returns a Scholar object's credit hours
            public int getCreditHours(){
                return creditHours;
            // retruns if a Scholar object is a science major or not
            public boolean getScienceMajor(){
                return scienceMajor;
            // sets a Scholar object's full name
            public String setFullName(String lastName, String firstName){
               fullName = lastName + ", " + firstName;
               return fullName;
            // sets a Scholar object's gpa
            public double setGradePointAverage(double a){
                gradePointAverage = a;
                return gradePointAverage;
            // sets a Scholar object's gpa
            public int setEssayScore(int a){
                essayScore = a;
                return essayScore;
            // sets a Scholar object's credit hours
            public int setCreditHours(int a){
                creditHours = a;
                return creditHours;
            // sets a Scholar's major to a science major or not a science major
            public boolean setScienceMajor(boolean a){
                scienceMajor = a;
                return scienceMajor;
            // calculates a Scholar object's score
            public double getScore(){
                totalScore = (gradePointAverage*5) + essayScore;
                if (scienceMajor == true)
                    totalScore += .5;
                if (creditHours >= 60 && creditHours <90)
                    totalScore += .5;
                else if (creditHours >= 90)
                    totalScore += .75;
                return totalScore;
            // compares two scholar objects.
            public int compareTo(Object obj){
                Scholar otherObj = (Scholar)obj;
                double result = getScore() - otherObj.getScore();
                if (result > 0)
                    return 1;
                else if (result < 0)
                    return -1;
                return 0;
            // returns the highest scoring of two Scholar objects
            public static Scholar max(Scholar s1, Scholar s2){
                if (s1.getScore() > s2.getScore())
                    System.out.println(s1.getFullName() + " scored higher than " +
                                       s2.getFullName() + ".\n");
                else
                   System.out.println(s2.getFullName() + " scored higher than " +
                                       s1.getFullName() + ".\n");
                return null;
            // returns the highest of 3 student objects
            public static Scholar max(Scholar s1, Scholar s2, Scholar s3){
                if (s1.getScore() > s2.getScore() && s1.getScore() > s3.getScore())
                    System.out.println(s1.getFullName() + " scored the highest" +
                            " out of all three students.");
                else if (s2.getScore() > s1.getScore() && s2.getScore() > s3.getScore())
                    System.out.println(s2.getFullName() + " scored the highest" +
                            " out of all three students.");
                else if (s3.getScore() > s2.getScore() && s3.getScore() > s1.getScore())
                    System.out.println(s3.getFullName() + " scored the highest" +
                            " out of the three students.");
                return null;
            // toString method for a Scholar object
            public String toString(){
                return  "Student name: " + fullName + " -" + " Grade Point Average: "
                        + gradePointAverage  + ". " + "Essay Score: " + essayScore + "."
                        + " Credit Hours: " + creditHours + ". "  +  " Science major: "
                        + scienceMajor + ".";
    }here's the ScholarTester class:
    package project1;
    import java.util.*;
    * This program creates Scholar objects that are applying for a scholarship
    * @author Kevin
    public class ScholarTester {
    public static void main(String [] args){
    System.out.println("This program was written by Kevin Brown. \n");
    System.out.println("--------Part 1--------\n");
    // attributes for a scholar object named abraham
    double abrahamGpa;
    int abrahamEssayScore;
    int abrahamCreditHours;
    int scienceMajorValueAbraham;
    boolean abrahamIsScienceMajor;
        // random numbers used for each scholar object.
        Random doubleGpa = new Random();
        Random intGpa = new Random();
        Random essayScore = new Random();
        Random creditHours = new Random();
        Random scienceMajor = new Random();
            // randomly creates abraham's statistics
            abrahamGpa = doubleGpa.nextDouble() + intGpa.nextInt(4);
            abrahamEssayScore = essayScore.nextInt(6);
            abrahamCreditHours = creditHours.nextInt(121);
            scienceMajorValueAbraham = scienceMajor.nextInt(2);
                if (scienceMajorValueAbraham == 0)
                 abrahamIsScienceMajor = true;
                else
                 abrahamIsScienceMajor = false;
    Scholar abraham = new Scholar("Lincoln, Abraham", abrahamGpa,
                                      abrahamEssayScore, abrahamCreditHours,
                                      abrahamIsScienceMajor);
    System.out.println(abraham);
    double georgeGpa;
    int georgeEssayScore;
    int georgeCreditHours;
    int scienceMajorValueGeorge;
    boolean georgeIsScienceMajor;
        // randomly creates george's statistics
        georgeGpa = doubleGpa.nextDouble() + intGpa.nextInt(4);
        georgeEssayScore = essayScore.nextInt(6);
        georgeCreditHours = creditHours.nextInt(131);
        scienceMajorValueGeorge = scienceMajor.nextInt(2);
             if (scienceMajorValueGeorge == 0)
                 georgeIsScienceMajor = true;
             else
                 georgeIsScienceMajor = false;
    // new scholar object is created from the existing attributes
    Scholar george = new Scholar("Bush, George",  georgeGpa, georgeEssayScore,
                                          georgeCreditHours, georgeIsScienceMajor);
    System.out.println(george + "\n");
    System.out.println("--------Part 2--------\n");
    System.out.println(abraham.getFullName() + " scored " + abraham.getScore() + ".");
    System.out.println(george.getFullName() + " scored " + george.getScore() + ".\n");
    System.out.println("--------Part 3--------\n");
    /* comparing george bush and abraham lincoln's scores and printing them out to
             show that the compareTo method is working*/
             System.out.println(abraham.getFullName() + " scored "
                                + abraham.getScore() + ".");
             System.out.println(george.getFullName() + " scored "
                                + george.getScore() + ".\n");
    if(abraham.compareTo(george) == 1)
        System.out.println(abraham.getFullName() + " scored higher than " +
                george.getFullName() + ".\n");
    else
        System.out.println(george.getFullName() + " scored higher than " +
                abraham.getFullName() + ".\n");
    System.out.println("--------Part 4--------\n");
        // prints out scores to show proof that the Scholar.max method is working right.
        System.out.println(abraham.getFullName() + " scored "
                           + abraham.getScore() + ".");
        System.out.println(george.getFullName() + " scored "
                           + george.getScore() + ".\n");
        Scholar.max(abraham, george); // maximum score between abraham and george.
    // variables for a scholar object named thomas.
        double thomasGpa;
        int thomasEssayScore;
        int thomasCreditHours;
        int scienceMajorValueThomas;
        boolean thomasIsScienceMajor;
        // randomly creates thomas' statistics
            thomasGpa = doubleGpa.nextDouble() + intGpa.nextInt(4);
            thomasEssayScore = essayScore.nextInt(6);
            thomasCreditHours = creditHours.nextInt(131);
            scienceMajorValueThomas = scienceMajor.nextInt(2);
                 if (scienceMajorValueThomas == 0)
                     thomasIsScienceMajor = true;
                 else
                 thomasIsScienceMajor = false;
             // new scholar object created from existing attributes
             Scholar thomas = new Scholar("Jefferson, Thomas", thomasGpa, thomasEssayScore,
                                          thomasCreditHours, thomasIsScienceMajor);
             System.out.println("New student added - " + thomas + "\n");
             // returns all 3 students scores to show proof that the Scholar.max method is working right
             System.out.println(thomas.getFullName() + " scored " + thomas.getScore());
             System.out.println(abraham.getFullName() + " scored " + abraham.getScore());
             System.out.println(george.getFullName() + " scored " + george.getScore() + "\n");
             // highest score of all three scholars
             Scholar.max(abraham, george, thomas);
    }Thanks for reading this long and boring project.

    On comments: don't include a comment that just repeats syntax:
    // constructor for a Scholar object
    public Scholar(String myFullName, ...Anyone knowing Java syntax doesn't need that comment and gains nothing
    from its presence, and anyone not knowing Java syntax shouldn't be reading
    a listing.
    On parameter names: a isn't very imaginative or prescriptive. (See next code.)
    On setters returning the argument:
    public int setCreditHours(int creditHours ){
        this.creditHours = creditHours ;
        return creditHours;
    }1. Most people keep it simple and use a void return type.
    2, The next most common convention is to return this:
    public Scholar setCreditHours(int creditHours){
        this.creditHours = creditHours ;
        return this;
    }Then you can chain calls, which is occasionally useful:
    scholar.setCreditHours(4).setEssayScore(2);3. If you insist on returning the argument, note that this is a one-liner:
    public in setCreditHours(int creditHours){
        return this.creditHours = creditHours ;
    }

  • Revenue Hard Limit for Program Projects Funded by a Single Agreement

    Hello All
    We have the following Scenario
    1) Project A and B are Liked to each other using Program functionality or using Project-Sub Project Functionality.
    2) We have one agreement of USD 100,000 funding both projects are funded in the way explained below
    Project      Funding
    Project A     40000
    Project B     60000
    Is there a way that can we can ensure that revenue hard limit is ensured at the Program level instead of the Project level?
    For example
    Given Project B has recognized revenue of 30000 USD can Project A recognize Revenue of 70000 as the total agreement is 100000 USD. Means Project A can consume funds allocated to Project B as these projects are interlinked. So that it is ensure that the total revenue recognized by both these projects is not more than 1,00,000 USD.
    I am aware of manual reallocation Process of Funds, but is there a automatic way thru standard functionality.
    Regards
    DR
    Edited by: 933993 on Jan 13, 2013 8:31 AM

    Hi
    No automatic solution using standard functionality.
    You can set up the agreement with no hard limit, and develop a validation within a billing extension.
    Dina

  • Labveiw Programming Project

    We have a upcomming labview development project that is comming up.
    I'm
    looking for a labview programmer/developer with knowledge of DAQ cards
    for acquireing data and signal processing (FIR/FFT's/bandpass
    filtering), and some simple analog outputs and DIO for this project.
    It is open to people in the US and abroad (India,Asia, etc)
    We
    anticipate this project will take about a days worth of programming to
    get working, but we also anticipate adding more development once that
    is done.
    If you are interested in this project, please send me an email at  jobs at intereasemedical.com
    Thank you.
    ~Anthony

    Dear sir,
    I am an Instrumentation and control Engineer working as a LabVIEW Application Engineer since 9 months. I am looking for good job in LabVIEW field only. And willing to work in India or abroad.I have experience of 9 month in LabVIEW field. I have experience of LabVIEW 8.5, NI Vision software, NI toolkits, PLC programming, PC and PLC interface, OPC server,Data acquisition etc.
    My short introduction is given below.
    Name:                Bhavin K Panchal
    Education:          B.E - instrumentation and control
    College:              Dharmsinh Desai institute of technology, Nadiad.
    Year of passout:  2008-2009
    Adress:               Brahman street, Valoti
                             Bilimora
                             Ta-Gandevi D-Navsari
                             Gujarat, India
    Contact No.:       (0) 9925848727
    Attachments:
    BHAVIN PANCHAL RESUME.pdf ‏88 KB

  • Help with Java programming project

    Hi,
    I need help in writing this Java program. The purpose of this program is to read a variable-length stream of 0, 1 characters from an input text file (call it input.txt) one character at a time, and generate the corresponding B8ZS output stream consisting of the +, - , and 0 characters (with appropriate substitutions) one-character-at-a-time into a text file (called output.txt).
    The program must use a class called AMIConverter with an object called AMI . Class AMIConverter must have a method called convert which converts an individual input character 0 or 1 into the appropriate character 0 or + or - of AMI.
    It first copy the line to file output.txt. Then read the line one character at a time and pass only valid characters (0 or 1) to AMI.convert, which assumes only valid characters. The first 1 in each new 'Example' should be converted to a +.
    This is what is read in, but this is just a test case.
    0101<1000
    1100a1000b00
    1201g101
    should now produce two lines of output for each 'Example', as shown below:
    This should be the output of the output.txt file
    Example 1
    in :0101<1000
    out:0+0-+000
    Example 2
    in :1100a1000b00
    out:+-00+00000
    Example 3
    in :1201g101
    out:+0-+0-
    To elaborate more, only 1 and 0 are passed to "convert" method. All others are ignored. 0 become 0 and 1 become either + or - and the first "1" in each new example should be a +.
    This is what I have so far. So far I am not able to get the "in" part, the characters (e.g. : 0101<1000 ) out to the output.txt file. I am only able to get the "out" part. And I also can't get it to display a + for the first "1" in each new examples.
    import java.io.*;
    public class AMIConverter
         public static void main (String [] args) throws IOException
              AMI ami = new AMI();
              try
                   int ch = ' ';
                   int lineNum = 1;
         int THE_CHAR_0 = '0';
         int THE_CHAR_1 = '1';
                   BufferedReader infile = new BufferedReader(new FileReader("input.txt"));
         PrintWriter outfile = new PrintWriter("output.txt");
         outfile.write("Example " + lineNum);//prints Example 1
         outfile.println();
         outfile.write("in :");
    outfile.println();
    outfile.write("out:");
         while ((ch = infile.read()) != -1)
         if (ch == '\r' || ch == '\n')
              lineNum++;
              outfile.println();
              outfile.println();
              outfile.write("Example " + lineNum);
              outfile.println();
              outfile.write("in :");
              outfile.println();
              outfile.write("out:");
         else
         if (ch == THE_CHAR_0)
              int output = ami.convert(ch);
              outfile.write(output);
         else     
         if (ch == THE_CHAR_1)
              int output = ami.convert(ch);
              outfile.write(output);          
    }//end while
         infile.close();
         outfile.close();
         }catch (IOException ex) {}
    }//main method
    }//class AMIConverter
    This is my AMI class
    import java.io.*;
    public class AMI
         int THE_CHAR_0 = '0';
    int THE_CHAR_1 = '1';
    int total = '+';
    int minus = '-';
    int count = 0;
    public int convert(int ch)
         try
              PrintWriter outfile = new PrintWriter("output.txt");
              if (ch == THE_CHAR_0)
         return ch;
         else
         if (ch == THE_CHAR_1)
         count++;
         if (count%2 == 1)
              ch = total;
              return (ch);
         else
                             ch = minus;     
                             return (ch);      
    }catch (FileNotFoundException e) {}      
         return ch;
    }//method convert
    }//class AMI
    Any help would be appreicated.
    Thanks!

    Hi,
    I need help in writing this Java program. The purpose of this program is to read a variable-length stream of 0, 1 characters from an input text file (call it input.txt) one character at a time, and generate the corresponding B8ZS output stream consisting of the +, - , and 0 characters (with appropriate substitutions) one-character-at-a-time into a text file (called output.txt).
    The program must use a class called AMIConverter with an object called AMI . Class AMIConverter must have a method called convert which converts an individual input character 0 or 1 into the appropriate character 0 or + or - of AMI.
    It first copy the line to file output.txt. Then read the line one character at a time and pass only valid characters (0 or 1) to AMI.convert, which assumes only valid characters. The first 1 in each new 'Example' should be converted to a +.
    This is what is read in, but this is just a test case.
    0101<1000
    1100a1000b00
    1201g101
    should now produce two lines of output for each 'Example', as shown below:
    This should be the output of the output.txt file
    Example 1
    in :0101<1000
    out:0+0-+000
    Example 2
    in :1100a1000b00
    out:+-00+00000
    Example 3
    in :1201g101
    out:+0-+0-
    To elaborate more, only 1 and 0 are passed to "convert" method. All others are ignored. 0 become 0 and 1 become either + or - and the first "1" in each new example should be a +.
    This is what I have so far. So far I am not able to get the "in" part, the characters (e.g. : 0101<1000 ) out to the output.txt file. I am only able to get the "out" part. And I also can't get it to display a + for the first "1" in each new examples.
    import java.io.*;
    public class AMIConverter
    public static void main (String [] args) throws IOException
    AMI ami = new AMI();
    try
    int ch = ' ';
    int lineNum = 1;
    int THE_CHAR_0 = '0';
    int THE_CHAR_1 = '1';
    BufferedReader infile = new BufferedReader(new FileReader("input.txt"));
    PrintWriter outfile = new PrintWriter("output.txt");
    outfile.write("Example " + lineNum);//prints Example 1
    outfile.println();
    outfile.write("in :");
    outfile.println();
    outfile.write("out:");
    while ((ch = infile.read()) != -1)
    if (ch == '\r' || ch == '\n')
    lineNum++;
    outfile.println();
    outfile.println();
    outfile.write("Example " + lineNum);
    outfile.println();
    outfile.write("in :");
    outfile.println();
    outfile.write("out:");
    else
    if (ch == THE_CHAR_0)
    int output = ami.convert(ch);
    outfile.write(output);
    else
    if (ch == THE_CHAR_1)
    int output = ami.convert(ch);
    outfile.write(output);
    }//end while
    infile.close();
    outfile.close();
    }catch (IOException ex) {}
    }//main method
    }//class AMIConverterThis is my AMI class
    import java.io.*;
    public class AMI
    int THE_CHAR_0 = '0';
    int THE_CHAR_1 = '1';
    int total = '+';
    int minus = '-';
    int count = 0;
    public int convert(int ch)
    try
    PrintWriter outfile = new PrintWriter("output.txt");
    if (ch == THE_CHAR_0)
    return ch;
    else
    if (ch == THE_CHAR_1)
    count++;
    if (count%2 == 1)
    ch = total;
    return (ch);
    else
    ch = minus;
    return (ch);
    }catch (FileNotFoundException e) {}
    return ch;
    }//method convert
    }//class AMIAny help would be appreicated.
    Thanks!

  • Display the Program/Project Monitor via a projector

    I will be making a presentation to a video club on using keying and how to use Ultra Key. In order to demonstrate how the various parameters affect the cleanliness of keying I will need to output the content of the Project Monitor to a large screen via a projector. However, I need to use the laptop at the same time to actually manipulate the process. Is this doable at all ??? I use PP CS6 and Windows 7. Can the Project window displayed/exported to a projector on its own without using additional hardware..

    Tommy
    it all depends upon your graphics card and the software it uses.
    the vga output will show on a second monitor but may not show other than a copy of the laptop monitor, or it may be that you have to send all the display out via vga or you may be lucky
    if it is an oldish laptop which I presume it as as you do not state that it has a hdmi port then with vga you are limited in resolution and you may have to set up a 800x600 workspace and use that in your demo.  This is something that i have had to do myself in the past when lecturing.

  • Projectfilter - filter your programming projects on VCS and filenames

    I have a lot of projects checked out and sometimes need to do things like "give me all projects with java files to which i committed"
    this solves exactly that
    https://github.com/Dieterbe/projectfilter

    AWESOME. Thank you.

  • Develop a Integrated Report of Program and Project Risks, Issues and Opportunities from Project Sites

    Does anyone know if it is possible to create an integrated report of all program / project risks, issues and opportunities as identified on project sites? We plan on having our project teams identify and manage these on their project sites but would like
    to  ability to roll this information up into a report for management review.  Need to know if this is possible and how it might be done. Thanks.

    Hi,
    are you asking for a Reporting Services Report? You can find this information in Reporting DB (2010) resp. schema dbo for reporting (2013).
    Here a simple query:
    SELECT PROJ.ProjectName
    , ISSUE.Title AS Issue
    , RISK.Title AS Risk
    FROM dbo.MSP_EpmProject_UserView AS PROJ
    LEFT OUTER JOIN dbo.MSP_WssIssue_OlapView AS ISSUE ON PROJ.ProjectUID = Issue.ProjectUID
    LEFT OUTER JOIN dbo.MSP_WssRisk_OlapView AS RISK ON RISK.ProjectUID = PROJ.ProjectUID
    Or are you looking for something different?
    Regards
    Barbara
    To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find
    an appropriate solution faster. Thanks for your support!

  • Program - SubProgram - Project  Hierarchy

    Dear Members,
    I need to get the hierarchy of Program, Sub Program, Project.
    I need a query which accepts project number as a parameter. If we give program number as input then it should list all the sub-programs linked to it, if we give sub-program as input then it should give all the corresponding linked child sub-programs and projects. Since Project comes lower in the hierarchy, it will not have any links.
    It would be great if some body can guide me how to build this Hierarchy.
    Thanks
    Sandeep

    SELECT
    parent_project_number,
    parent_project_name,
    sub_project_number,
    sub_project_name
    FROM
    pa_program_links_amg_v
    WHERE 1=1
    AND parent_project_number IN ('Prog D3 - 2HP')
    AND relationship_type = 'LW'

  • Delay program until end TranslateTransition JavaFX

    Hey everyone,
    My name is Thomas and I am currently working on a final High School programming project. For this project we are programming a game with JavaFX, in which we feature several mini-games to improve children's mathematical skills. One of about 10 mini-games is a puzzle where you have to reach the exit of the level by sliding over ice.
    Let me explain the mechanics of this mini-game. When you press an arrow the character has to keep sliding in that direction until it bumps into an object (I have four rocks & borders of the map). What I decided to do is make a function for each direction in which I define a translation of a certain distance, and then keep repeating this translation until there is an object right next to the character, at which time it will stop moving. In many programming languages this would be an easy task, but there is a problem in JavaFX: when I execute the translation the code will continue executing, allowing the user to press a button while still moving which should not be allowed: the code has to wait until the movement is complete. Most languages have a delay(x ms) function for this, but JavaFX does not have one.
    I was wondering whether anyone knows a solution for this problem. I need to make a delay either in the TranslateTransition, or in a function since I made a while loop that keeps executing the translation but without a delay it executes the transition a million times.
    Any help will be greatly appreciated!
    Thomas Brouwer
    The code (with the loop I talked about as comments since it freezes the program):
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package javafx.toneel.pac;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.input.KeyCode;
    import javafx.scene.input.KeyEvent;
    import javafx.scene.paint.Color;
    import javafx.animation.transition.TranslateTransition;
    import javafx.animation.*;
    var character: Rectangle;
    def scenewidth = 600;
    def sceneheight = 600;
    var topborder: Rectangle;
    var leftborder: Rectangle;
    var rightborder: Rectangle;
    var bottomborder: Rectangle;
    var Moving = false;
    var object1: Rectangle;
    var object2: Rectangle;
    var object3: Rectangle;
    var object4: Rectangle;
    var minX = scenewidth/12;
    var minY = sceneheight/12;
    var maxX = 11*scenewidth/12;
    var maxY = 11*sceneheight/12;
    * @author Thomas
    Stage {
    title: "Application title"
    scene: Scene {
    width: scenewidth
    height: sceneheight
    content: [
    //code to make the borders of the map. The map consists of blocks 10x10 and
    //another block as borders on each side, so 12 horizontally and 12 vertically
    topborder = Rectangle {
    width: scenewidth
    height: sceneheight/12
    x: 0
    y: 0
    fill: Color.BLUE
    leftborder = Rectangle {
    width: scenewidth/12
    height: sceneheight
    x: 0
    y: 0
    fill: Color.BLUE
    rightborder = Rectangle {
    width: scenewidth/12
    height: sceneheight
    x: 11*scenewidth/12
    y: 0
    fill: Color.BLUE
    bottomborder = Rectangle {
    width: scenewidth
    height: sceneheight/12
    x: 0
    y: 11*sceneheight/12
    fill: Color.BLUE
    //code to define the character
    character = Rectangle {
    width: scenewidth/12
    height: scenewidth/12
    x: 6*scenewidth/12
    y: 6*sceneheight/12
    fill: Color.BLUE
    //make the keyevent input accessible
    focusTraversable:true
    onKeyPressed: function( e: KeyEvent ) {
    //prevent key input while the object is already moving, but this
    //does not work either.
    if (Moving == false){
    if (e.code == KeyCode.VK_LEFT) {
    Moving = true;
    Movingcheckleft();
    if (e.code == KeyCode.VK_RIGHT) {
    Moving = true;
    Movingcheckright();
    if (e.code == KeyCode.VK_UP) {
    Moving = true;
    Movingcheckup();
    if (e.code == KeyCode.VK_DOWN) {
    Moving = true;
    Movingcheckdown();
    //code to define the objects
    object1 = Rectangle {
    width: scenewidth/12
    height: sceneheight/12
    x: 10*scenewidth/12 //one square from the rightborder
    y: sceneheight/12
    fill: Color.YELLOW
    object2 = Rectangle {
    width: scenewidth/12
    height: sceneheight/12
    x: 9*scenewidth/12 //two squares from the rightborder
    y: 8*sceneheight/12 //three squares from the bottomborder
    fill: Color.YELLOW
    object3 = Rectangle {
    width: scenewidth/12
    height: sceneheight/12
    x: 6*scenewidth/12 //five squares from the leftborder
    y: 7*sceneheight/12 //four squares from the bottomborder
    fill: Color.YELLOW
    object4 = Rectangle {
    width: scenewidth/12
    height: sceneheight/12
    x: 7*scenewidth/12 //four squares from the rightborder
    y: 2*sceneheight/12 //two squares from the topborder
    fill: Color.YELLOW
    function Movingcheckleft() {
    //move one square to the left
    var Transitionleft = TranslateTransition {
    node: character
    duration: 200ms
    byX: (-scenewidth/12)
    interpolator: Interpolator.LINEAR
    //check whether there is an object right of the character. As long as there isn't, the
    //character will move 1 square to the right. However, while expressions do not seem
    //to work in combination with Transition.play.
    //while (((character.x - scenewidth/12) != (object1.x)) and ((character.x - scenewidth/12) != (object2.x)) and ((character.x - scenewidth/12) != (object3.x)) and ((character.x - scenewidth/12) != (object4.x)) and (character.x != minX)){
    Transitionleft.play();
    Moving = false;
    x = 0;
    function Movingcheckright() {
    var Transitionright = TranslateTransition {
    node: character
    duration: 200ms
    byX: (scenewidth/12)
    interpolator: Interpolator.LINEAR
    //while (((character.x + scenewidth/12) != (object1.x)) and ((character.x + scenewidth/12) != (object2.x)) and ((character.x + scenewidth/12) != (object3.x)) and ((character.x + scenewidth/12) != (object4.x)) and (character.x != maxX)){
    Transitionright.play();
    Moving = false;
    function Movingcheckup() {
    var Transitionup = TranslateTransition {
    node: character
    duration: 200ms
    byY: (-sceneheight/12)
    interpolator: Interpolator.LINEAR
    //while (((character.y - sceneheight/12) != (object1.y)) and ((character.y - sceneheight/12) != (object2.y)) and ((character.y - sceneheight/12) != (object3.y)) and ((character.y - sceneheight/12) != (object4.y)) and (character.y != minY)){
    Transitionup.play();
    Moving = false;
    function Movingcheckdown() {
    var Transitiondown = TranslateTransition {
    node: character
    duration: 200ms
    byY: (sceneheight/12)
    interpolator: Interpolator.LINEAR
    //while (((character.y + sceneheight/12) != (object1.y)) and ((character.y + sceneheight/12) != (object2.y)) and ((character.y + sceneheight/12) != (object3.y)) and ((character.y + sceneheight/12) != (object4.y)) and (character.y != maxY)){{
    Transitiondown.play();
    Moving = false;
    }

    please manage your coding pattern before you post any topic!!
    Make forum helper easy to recognize your problem..

  • Error opening Project 2007 file after using project 2010

    This is the second time I'm experiencing this problem.
    Created a file (say Rev 1) in Project 2007 at work and took it home and updated it using Project 2010. When I finished updating using Project 2010, I saved the file in Project 2007 format. Came to work the next day, opened the file using
    Project 2007 and did a "Save As" so that I have another revision of the file (Rev 2).
    After updating Rev 2 in Project 2007 I closed it but when I came to work the next day I couldn't open Rev 2 file again either in Project 2007 or 2010. This has happened to me with 2 different files.
    The error message I get is
    An unexpected error occured during command execution.
    Try the following:
    Verify that all argumen names and values are correct and are of the correct type.
    You may have run out of memory. To free up available memory, close programs, projects, or windows that you aren't using.

    It seems to me that it has to do something with invalid characters in the file name of the timeline. Or it could be anything from an '&' to two concurrent spaces, mulitple '.' or even a dash (-). Stick with single spaces, letter and
    number combinations and you should be fine. The problems arise based on how the file has been opened. Here’s one thread like yours. It could be useful for your, read http://www.filerepairforum.com/forum/microsoft/microsoft-aa/project/625-project-error-“an-import-error-occurred”

  • Labview 8.2 applicatio​n builder - installer deletes previously installed programs

    Problem Description :
    I've been developing with LabView for 8+ years and recently had to upgrade from 6.1 to 8.2 because of compatibility issues with LabView, MAX, DAQ and SERIAL. LabView had always been so intuitive and efficient, but that has changed to some degree sometime after 6.1 IMO.  I won't get further into that, but I am having several problems with Application Builder and particularly, with creating an Installer and installing test programs.  I haven't seen many posts on this subject so I assume I am doing something wrong.
    In 6.1, I could build a program and create an installer in minutes, and all in the same step - Click on Build and the installer was created. I could also locate my files anywhere I wanted. Unfortunately the process in 8.2 is no where as simple as one has to create a build and installer separately. So far, I haven't been able to distribute my installer files where I want them according to our internal procedures. The build portion works fine and I can locate my files as needed, but not so for the installer (at least I haven't figured it out yet).  The main problem is that I have some common DLLs that I'd like to locate in a common directory for all of my programs, but it seems like I'm stuck putting them in the installation directory of every program that I write.  Again, it is fine in build.  There doesn't seem to be any flexibility in changing the location of the files in the installer.  I did see a post somewhere that mentioned that DLL files must be located in the system directory if you don't want them included in the build or installation.  I would just like to install the dlls to a common directory and not include them in every installation directory.  Just like I did in LV 6.1!
    This is a relatively minor problem compared to what happens when I try to install the programs.
    I have five separate programs for which I have recently built and created installers with the limitations that I've described above. I can install one program on my machine and it runs properly. If I try to install any of the
    other four, they will delete the previous installation - all the files are deleted (they all have different names). What I think is going on is that the installer thinks that these five programs are the same and simply overwrites the previous installation. One reason I believe this, is because I tried an installation and it failed with the error message that there was already a higher version installed. The higher version it was referring to was almost certainly the one program I could install, but certainly not a higher version of the one I was trying to install (it didn't exist yet). After I uninstalled the one program, I could install any other four. It doesn't matter if I install on  the build computer or the target computer (ATE).
    What am I doing wrong?  Please help me to resolve this problem.
    I wan't the build and install files in the same exact location:
    Example of my five programs and the locations of build and install:
    C:\KIK2-LabView\Customer Name\Base Part Number1\Program1.exe.......
    C:\KIK2-LabView\Customer Name\Base Part Number2\Program2.exe.......
    C:\KIK2-LabView\Customer Name\Base Part Number3\Program3.exe.......
    C:\KIK2-LabView\Customer Name\Base Part Number4\Program4.exe.......
    C:\KIK2-LabView\Customer Name\Base Part Number5\Program5.exe.......
    The support files will also be put in the corresponding directories. The common files were supposed to go in the KIK2-LabView directory instead of copies in every installation directory.
    Is there something I have to do with the registry? In 6.1 it was all automatic.
    I hope there are simple answers to my problems, but I have yet to find them out. I have been able to find very little info on Application Builder, and nothing that is comprehensive.
    Thanks!

    Thank for the reply, Andy
    I have scoured the Help files and this forum which helped me to create the build and installer, but they didn't address any of the problems that I described in my post.  I tried to make sure that I exhausted numerous resources before posting and requesting help.
    I appreciate the response, but you didn't quite get to my most important problem - that when I try to install a program from the created installer, it overwrites my previously installed program.  Actually I have found the answer in a different thread. --->  http://forums.ni.com/ni/board/message?board.id=140​&message.id=16146.  My problem is that I cut and pasted all of my project files and made the appropriate changes specific to each new project.  If you don't create brand new builds and installers in these projects, you will create duplicate registry keys, even though all of the names, numbers, files, etc. were changed to be completely unique.  I opened the .lvproj file in notepad and found several registry keys to be the same; here is an example:
    <Property Name="UpgradeCode" Type="Str">{831013BF-9112-45AA-BF13-A13F08098841}<​/Property>
    All of the projects that I created by cut and paste (and edit) method had this same exact key (as well as other keys) which was causing the previous install to be deleted/overwritten or gave me the message that a higher version already existed.  Again, this happened even though all of the project data was completely unique after it was edited, including the project filename (of course).  Finally, I completely rebuilt my projects from scratch starting with "New Project" and voila, they now all install properly.  Obviously, none shared any of the same registry keys. 
    I don't know if this is something that was overlooked, but it is so much easier to cut, paste and edit projects when they are very similar.   Unfortunately I have found out the hard way that new build and install spec's must be created.  Is there a change that can be made to the Project File in LabView so that when certain information changes (like the executable file name) that new registry keys will be generated?  It is obvious that you don't want someone to accidentally install a lower version of the project over a newer one, but it would have prevented my work time loss (several days) and will prevent time loss for others in the future as well.  Could you at least consider allowing the developer to generate new keys like was available in LabView 6.1?
    Also concerning the location of files, I previously had done all of what you said and can locate the build files where I want.  However, in the Installer (Source Files Tab), when I create the folders in [Windows Volume], all of the files from the build spec are put into the SAME directory, regardless of where they were located in the build spec.  If I try to delete one file, all will be removed.  I can't place individual files where I want them to go in the installer (if they are a part of the build).  Example:  In the installer, I created the subfolders KIK2-LabView\Customer\UUT Base Part Number on the [Windows Volume] directory and set the UUT Base Part Number as default.  I want most of the files to go into the default directory, but a few of the dependent dll's should go into the KIK2-LabView folder as they are common to many other programs/projects.  In short, I don't need or desire 50 copies of these dlls on my ATE.  I was able to locate the installer files anywhere in LabView Pro 6.1, but so far I can't figure out if this is possible in 8.2.  It would appear that it is not.
    Thanks,
    John W.

Maybe you are looking for