RE: Forte/CORBA inquiry - Long post

Dave,
Are you using any kind of structured object in the parameters to your
CORBA-exposed method?
We have found that Forté will change the order of struct class attributes
when changes are made in the IDE (often even when seemingly unrelated).
Look at the IDL generated in your last deploy to be sure the order of
attributes is the same.
- MikeL
-----Original Message-----
Date: Thu, 3 Aug 2000 12:10:17 -0700
From: "Dave Ortman" <dortmanrcsis.com>
To: kamranaminyahoo.com
Subject: Forte/CORBA inquiry - Long post
Message-id: <3989c399.22c.0rcsis.com>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hello,
I've been experimenting with accessing Forte through Java via CORBA. While
I have adequate experience with Forte and Java, I'm fairly new to CORBA. As
a result, I've discovered some issues which I can't seem to resolve.
I fear my explanation might be a bit lengthy, but I figure it's easier to
offer
comments when you have all the information. I apologize in advance.
I started by writing a Java application that would access a Forte service
object.
To keep things simple, I didn't use any of our existing code base. I
instead
used the code examples in tech note #10950: Forte Service Objects and
VisiBroker
Java IIOP clients. However, instead of using the VisiBroker ORB, I used the
Java 1.2 ORB. Other than that, I used the same code offered in the tech
note.
This example worked fine. I exported the IDL from Forte, ran the Sun
idltojava
tool, and compiled my Java classes.
I then tried to carry this example forward, and use some of our existing
Forte
objects. Things did not go as smoothly, and I am now left with a few
questions.
I created two new projects in my workspace - CorbaSO and CorbaManager.
In the CorbaManager I created a single class - CustomerManager. This object
has one method which retrieves a customer object based upon a CustomerID
which
is passed into the method. This project has three supplier plans which are
needed to retrieve this Customer object.
In the CorbaSO project, I created two classes - CorbaServer and TestClass.
CorbaServer has two methods: getCustomer and GetDamage. The getCustomer
method
instantiates an instance of the CustomerManager class, and uses it to
retrieve
a customer based upon the CustomerID passed into the getCustomer method,
then
returns the CustomerName (string). The GetDamage method is the same method
that's used in tech note #10950 (discussed above). I just wanted to make
sure
it still worked. I then made a Service Object from the CorbaServer class,
which
I called CorabaServerSO. This project has two supplier plans - the
CorbaManager
project discussed above, and the plan which contains the CustomerObject
(which
is returned by the CUstomerManager class).
Lastly, the test class simply contains a go() method, which I used to make
sure
the CorbaServerSO was working fine. All it does is call
CorbaServerSO.getCustomerName()
passing in a CustomerID, and writes the returning name out the logger.
The code compiles, and it works fine when I run it from within Forte
[through
TestClass.go()]. I then deployed the app and exported the IDL.
However, when looking at the IDL, I find that Forte exported 900k of IDL.
It
exported the IDL definition of every class within the supplier plan
hierarchy.
Given that I only wanted to expose my one service object, I assumed that I
would only get IDL for that one project. Instead, I got IDL for every
object
all the way down the Supplier Plan chain. So my first question is, why do I
get IDL for everything?
To make matters worse, this 900k IDL file is littered with errors - and my
IDL
compiler chokes. I edited the IDL so that it only contained definitions for
the CorbaSO project, and ran the IDLTOJAVA tool on that edited file. That
created
the JAVA files just fine, and I then compiled them into CLASS files. So far
so good.
I then wrote a Java client to call methods on my newly published
CorbaServerSO.
I found that the GetDamage() method worked fine, while the getCustomer
method
yield the following error: 'org.omg.CORBA.UNKNOWN: minor code: 1
completed:
Maybe'. This error is offered immediately after calling the getCustomer
method
on the CORBA stub.
Curious as to why one method worked, and one didn't - I looked to the code
in
the GetDamage method. The code was as follows (all undeclared variables are
input or output variables of type double):
tmp1 : i4;
tmp1 = i4(total * 0.0775 * 100.0 + 0.5);
salesTax = double(tmp1) / 100.0;
tmp1 = i4(total * 0.15 * 100.0 + 0.5);
tips15 = double(tmp1) / 100.0;
newTotalwoTips = salesTax + total + total;
As written above, the code works. I then modified the code to the following
(all parameters were unchanged):
custManager : CustomerManager= new();
tempCustomer : Customer = custManager.fetchCustomer(12345);
tmp1 : i4;
tmp1 = i4(total * 0.0775 * 100.0 + 0.5);
salesTax = double(tmp1) / 100.0;
tmp1 = i4(total * 0.15 * 100.0 + 0.5);
tips15 = double(tmp1) / 100.0;
newTotalwoTips = salesTax + total + total;
After deploying the newly modified code, I find that the GetDamage method
now
does not work. All I did was instanstiate an object, and call a method on
it.
I never did anything with the results. Yet I get the same error:
'org.omg.CORBA.UNKNOWN:
minor code: 1 completed: Maybe'.
So my two question are:
1. Why did I get IDL for every object within the Supplier Plan tree when I
was
only attempting to expose 1 Service Object.
2. Why does a method cease to work via CORBA when I interact with another
object?
Thanks in advance for any help,
-Dave Ortman

In a previous post, I asked:
<<Why did I get IDL for every object within the Supplier Plan tree when I
was
only attempting to expose 1 Service Object.>>
Since writing this, I have come across tech note #11427 - which mentions use
of a IIOPIgnore extended flag which you can set on objects to suppress IDL
generation. Otherwise, Forte automatically generates IDL for any object
which is marked as Distributed.
Most of our objects are distributed. I set this property on the objects
within the two projects I was working in, and the IDL for these objects was
not created. However, the rest of the objects in the Supplier Plan chain
were still translated to IDL. Am I going to have to set this property on
every object? I don't see how I could be misapplying the property - but you
never know.
<<Why does a method cease to work via CORBA when I interact with another
object?>>
Through the use of putline()'s, I've found that the error is generated
somewhere deeper within our application architecture. It may be a problem
with our code - I'm not sure. I would still be happy to hear any input on
the matter.
Thanks,
-Dave Ortman

Similar Messages

  • A rather long post of me talking gibberish and asking LOTS of questions.

    ================================================== ================================================== ===
    Before reading this MASSIVE post, please read the bottom at the stupid amount of P.P.S.'s as they probably have a lot of information that I forgot to put in the middle or something.
    ================================================== ================================================== ===
    Hi, I'm some guy on the internet and I am 15 years old. For the sake of this post and the answers I hope to have, please ignore my age and understand my maturity and I hope that you can understand why I would like to learn this language so much. I seem to have major issues with learning this language and online tutorials and stacks of books do not seem to do the trick. Please do not reply saying "this is not for you, try something else" because although I do not know much in Java in terms of making good applications, I have learned quite a few things and I am able to make simple things with the console such as making a calculator where the user has to type in what operator they want to use and then they are asked to enter two numbers in which they are timed/added/divided etc. together and it gives the answer. Considering this I really want to continue learning this language because I find it fun to learn and fun to program in, yet I am having serious stress issues because I can't understand simple things and I just forget some of them and I then find it difficult to make simple applications. For example, I am trying to make a simple snake game where you have to find all the apples and eat them and then your body grows larger etc. but I just can't think of how I would do it. I know a few simple application type things and maybe how to put them to use, but I just don't know how to use them in this situation and how to start off making games like these.
    Just to tell you a little bit about my background of programming, I have known about programming since I was about 11, I made a virus in Visual Basic believe it or not. It would disguise itself as Mozilla Firefox and would slowly delete random files that were opened or edited in the last month starting from the last used files in said month. It would delete a set amount of files every time you booted up and it was pretty nasty. It was obviously quite easy to get rid of it and it probably had many bugs, but it was a nasty virus nonetheless. Anyway, that lasted around 2 months and I never really picked up on programming until around 13 at which point I learned a bit of Java up until the System.out.println part, so not very far at all and I barely understood anything. Then I kinda picked it up at 14 last summer (2012) and learned almost as much I know now over the summer holidays and then kind of left it until after Christmas because I couldn't really get past a certain 'barrier' so I got bored and gave up. Until now. After Christmas I got back into it and starting learning a few more things, understood functions a little more and downloaded a bunch of source code from lots of different websites. I've now been extremely stressed out for the past 2 weeks going crazy because I can't fit anything else into my head because I just forget it or just don't understand it. So I am now in a complete frenzy not doing homework, being a douche to my friends and just not being very social or doing stupid things.
    Unfortunately this is going to be a rather long post as you can probably already tell and there will be a 20 Q's kind of 'game' below where I ask things that I desperately need to know and maybe things that I want to know but don't necessarily need to know.
    If you can, I would greatly appreciate it if you could answer all of the first 14 questions in one post instead of 1 or 2. Also, please do not post anything unnecessary or nasty as I am a new poster here and I just want to get started in Java and I have my own reasons for starting at such a young age and my intentions are rather personal. So please treat this matter with maturity and I hope someone can really help me.
    I am sorry for any misspellings or grammatical errors, I am fully English, I am just rubbish at spelling.
    THE QUESTIONS!!!
    1) What is SUPER used for, when should I use it and why should I use it?
    2) When making a new class and you type PUBLIC [insert class name here](){} what does this do and why does it need to be the same name as the class it is in?
    3) Why do you need to make new classes inside already made classes sometimes?
    4) What is the use of NEW and why do you need to use it when you are creating something like a JFrame, where for example you would use it in your main function and have NEW [insert name of function with JFrame inside]();, why can't you just do [insert name of function with JFrame inside]();?
    5) What is actionPerformed, where is it used and why should I use it?
    6) When using a function, what is achieved when you call another class and make another variable inside said function? Eg, public [insert class name here]([insert other class name here][insert new variable name here]){}
    7) What 'type' is an ENUM? Is it an int? String? Double? So if I were to make ENUM [insert name of enum here] {A, B, C, D, E, F, G}; So what would happen if I were to say PUBLIC [insert name of enum here] B = 5; what would that mean? Would that assign it as an integer?
    8) When should I use enums, what is the point in them?
    9) What does [inset object here].ORDINAL mean? What is it used for and when should I use it?
    10) Although I understand that the RETURN statement is used to end a function and return it with a value if there is one specified, but when it returns it with that value that you may have specified, what happens to that value, how do I retrieve it and how do I use it? When will I know when to use RETURN?
    11) Briefly explain how to use KeyEvent, getKeyCode and just anything else to do with accepting user input and how I would use it.
    12) When using the KeyAdapter, why do you need to make a new class inside an already made class? What does this achieve? Why can you not extend it on the current class you are using instead of making a new class? This links back to the 3rd question.
    13) What is the difference between ++object and object++? Does it really matter which way I use them? Why should I use them differently and how will it affect my code if I use them differently?
    14) What's the difference between an IF statement and a BOOLEAN statement? They are both booleans and if used correctly can be used to do the exact same thing with just one or two lines of codes difference. Which one should I pick over the other and why? Which one is better to use for what kind of things?
    ================================================== ================================================== ===
    POINTLESS QUESTIONS THAT I JUST FEEL LIKE ASKING THAT DON'T NEED TO BE ANSWERED AND DON'T HAVE MUCH TO DO WITH THE CODE ITSELF
    ================================================== ================================================== ===
    15) What is the best way to get into the mindset of 'a programmer'? What is the best way to understand the ways in which you would build an application and learning the step by step processes so you know what you have to do next and how to do it.
    16) I seem to always be worried that it takes programmers 5 minutes to program a very simple game, like Tetris because I've seen videos and just other places where it makes it look like it takes them a very small amount of time to make something that might take me months to learn. Is this how it works? Or can it take hours to program 5 classes for a very simple game? If so, why does it, if said programmer hypothetically understands the language well enough to make said program? Surely they would know what to do and how to make it so it would not take long at all?
    17) How often are IF and ELSE statements used in common programs? I feel when I am making a program I am always using them too much and I just stop programming from there because I feel that I am using too much of something so maybe it isn't the right way to do it or maybe there is a better way to do it.
    18) What would be the best way to learn programming for someone who finds it difficult to teach himself said topic yet has no efficient way to have someone teach him? I feel I am somewhat intelligent enough to learn a programming language, I have gotten this far, so I feel I should just keep going. Besides, despite the difficulties I have and the ridiculous amount of stress I get from not being able to learn on my own, I find it very entertaining to program things, read over other peoples code and slowly learn the world of programming. I feel that I see myself as a programmer in the future and I just really hope that I can learn this language quickly before I am too old to have time to learn this as a hobbie as I do now.
    19) I am someone who hopes to become a games developer as I thoroughly enjoy playing games as much as I do finding out how they work. What would be the right way about learning how to make games? Should I stick with Java or should I go to C++? I've only stuck with Java because I have more experience with it and I feel that I should learn an easy language and get used to OOP and other things before I go off making complex programs with a difficult language. I know how to print something to the console in C++ and that's about it.
    20) I have no way of having an education on programming in my school at the moment and all courses that have programming in them aren't very good - you make a simple application for coursework and you do a computer physics exam at the end of the year, not too helpful for me. Also, I don't have many friends that are diversed in any language of programming and the ones I do have, coincidentally, absolutely none of them are any good at making games or painting anything in graphics or anything to do with frames and windows. They're all about the console and making mods for games instead of making full on programs with a window and what not so it's difficult to get any of them to teach me anything. I've looked at college courses and none of them are for my age and what I am wanting, or they are just too damn expensive. I have also looked at online courses, one-to-one tutoring etc. but they are either way too expensive or they aren't very good in terms of being in a country half way across the world or maybe they have bad ratings. Anyway, what I'm trying to ask, despite all the negative put backs and all the issues that seem to follow me whenever I try to learn this damn language, what would be the best way to teach myself this language or any other language, or where are the best places to have someone teach me for free/cheap prices? I just essentially want to make something basic like a video game like Tetris or something so I at least have some knowledge of making a video game so I can maybe learn other things much easier.
    P.S. I am in top sets for all my classes at school, so any intelligence issues aren't a part of this. I guess you could maybe call it laziness, but I just prefer to say that I am too used to people teaching me things and doing things for me rather than teaching and doing things myself. So if I were stuck on an island alone I really would not know what to do at all because I would mainly rely on other people.
    P.P.S. Just for anyone's curiosity, I use Eclipse as my IDE on a Windows 7 Ultimate OS.
    P.P.P.S. I am British.
    P.P.P.P.S. I have read through about 4 books about Java, but on most of them I just get really bored and stop reading them half way through because they either don't explain what I want to know or they really suck at explaining what I want to know.
    P.P.P.P.S If you are going to post a good tutorial, please post one that I have most likely NOT been on. PLEASE. I have gone through MANY tutorials which all of them don't do me any favours. Please post one that you think that I might not have seen and actually tells me what EACH line of code does and WHY it does it and WHY I might use it and WHERE I might use it. Etc.
    P.P.P.P.P.S If this is a TL;DR kind of post, then I am awfully sorry to have bored you, please go onto another post, but thank you very much for taking the time to actually LOOK and CLICK on my post. However if you do not have any intention of helping my dilemma, please leave as although I am asking for A LOT for FREE, I really don't need pointless posts that really do not solve my problem. Thanks.
    P.P.P.P.P.P.S (Last P.P.S I swear! I just keep forgetting things.) If you have any questions to ask or I might not have asked something properly, feel free to ask as I will probably be refreshing this page non-stop for the next 2 weeks. Thanks ^^
    For all the people out there who are THAT awesome to post here answers to these questions, I really salute to you and I would VERY gladly give you money for your time and effort, if I had the funds to give you what it's worth. ;-)
    Edited by: 983242 on 21-Jan-2013 16:26

    Before reading this MASSIVE postI didn't read it. I went straight to the questions. The rest of it was a complete waste of your time. Nobody cares whether you are 15, are stressed, get bored, etc. You should spend more time learning and less time emoting, and typing.
    I am rubbish at spelling.So fix that. If you stay in this business you will have to spell properly or get nowhere. Compilers won't accept mis-spellings: why should anybody else? Get over it. In a few years you will have to write a resume. If I get it and it is misspelt it goes in the bin.
    1) What is SUPER used for, when should I use it and why should I use it?It is used for two purposes that are described in the Java Language Specification. If you can't read language specifications you will have to learn, or get nowhere. You can't learn languages in forums.
    2) When making a new class and you type PUBLIC [insert class name here](){} what does this do and why does it need to be the same name as the class it is in?That's two questions. 'public' is used for a purpose that is described in [etc as above]. The class name needs to agree with the file name because that is a rule of Java. Period. There's a reason for the rule but you should be able to discover it for yourself eventually, and it doesn't actually matter what the reason is at this stage in your development.
    3) Why do you need to make new classes inside already made classes sometimes?Why not?
    4) What is the use of NEW and why do you need to use it when you are creating something like a JFrame, where for example you would use it in your main function and have NEW [insert name of function with JFrame inside]();, why can't you just do [insert name of function with JFrame inside]();?Meaningless. You have to use the language the way it was designed. Same applies to most if not all your questions.
    5) What is actionPerformed, where is it used and why should I use it?See the Javadoc.
    6) When using a function, what is achieved when you call another class and make another variable inside said function? Eg, public [insert class name here]([insert other class name here][insert new variable name here]){}I cannot make head or tail of this question. You could try making it intelligible.
    7) What 'type' is an ENUM?It is of type Enum.
    Is it an int? String? Double?No, no, and no.
    So if I were to make ENUM [insert name of enum here] {A, B, C, D, E, F, G}; So what would happen if I were to say PUBLIC [insert name of enum here] B = 5; what would that mean? Would that assign it as an integer?I'm getting sick of this [insert name here] business. Try making your questions legible and intelligible. And again, an enum is not an int.
    8) When should I use enums, what is the point in them?When you want them. Not a real question.
    9) What does [inset object here].ORDINAL mean?Nothing. There is no such construct in Java. There might be an occasional class with a public variable named ORDINAL, in which case it means whatever the guy who wrote it meant. If you're lucky he documented it. If not, not.
    10) Although I understand that the RETURN statement is used to end a function and return it with a value if there is one specified, but when it returns it with that value that you may have specified, what happens to that value, how do I retrieve it and how do I use it?You store it in a variable, or pass it to another function, or use it as a value in a statement, for sample as an if or while condition.
    When will I know when to use RETURN?Err, when you want to return a value?
    11) Briefly explain how to use KeyEvent, getKeyCode and just anything else to do with accepting user input and how I would use it. In a forum? You're kidding. Read the Javadoc. That's what I did.
    12) When using the KeyAdapter, why do you need to make a new class inside an already made class?You don't.
    13) What is the difference between ++object and object++?This is all described in the Java Language Specification [etc as above] and indeed most of this stuff is also in the Java Tutorial as well. Read them.
    Does it really matter which way I use them?Of course, otherwise they wouldn't both exist. Language designers are not morons.
    Why should I use them differently and how will it affect my code if I use them differently?That's just the same question all over again.
    14) What's the difference between an IF statement and a BOOLEAN statement?The difference is that there is no such thing as a boolean statement.
    POINTLESS QUESTIONSThanks for stating that.
    THAT I JUST FEEL LIKE ASKINGBad luck. I don't feel like answering pointless questions. Ever.

  • My firefox updated this morning. Since the update I can no longer post to facebook. Any thoughts? Other browsers work. I am using Windows 7 and Firefox 10.0.1

    My firefox updated this morning. Since the update I can no longer post to facebook. Any thoughts? Other browsers work. I am using Windows 7 and Firefox 10.0.1. All was working fine yesterday.

    BTW, I can read everything just fine, but when enter information to post and press the post button, nothing happens. I have another computer running Win XP and firefox 8.x and all is fine.

  • A question about arrays (brace yourself this is a long post)

    I am working on an assignment that is about generating a random rabbit race by using arrays:
    Rabbit Race
    Write a program to simulate a race between 4 rabbits (numbered 0 to 3). Initially, all contestants are at the start of the race track (position 0) and must race on a 20 meter track (positions numbered 0 to 19). Each participant has its own technique; some run fast, but are sometimes lazy; while others run slowly but steadily. All rabbits make 1 movement one after the other and the one who arrives at the end of the track before the others, wins the race. Here are the rabbit?s strategies :
    At each turn, rabbit 0:
    - sleeps (so does not run), 50% of the time;
    - runs 4 meters, 30% of the time;
    - runs 3 meters, 20% of the time.
    At every turn, rabbit 1 runs 2 meters.
    At each turn, rabbit 2:
    - sleeps, 30% of the time;
    - runs 3 meters, 70% of the time.
    At each turn, rabbit 3:
    - runs 1 meter, 80% of the time;
    - runs 10 meters, 20% of the time.
    The difficulty in the race is that the track has little slippery hills. So after each movement, rabbits can slide down a hill bringing them either closer to the finishing line, or closer to the starting line. How much they slide and in what direction depends on the slope of the hill at their current position, and how many meters they ran during this turn. Each position (or meter) of the hill has a slope represented by an integer between -3 and +2. If the slope is :
    - zero : then, there is no hill at this position and rabbits that reach this position stay there.
    - a negative integer : then, there is a declining side of a hill at this position, and all rabbits reaching this position will slide down
    to a new position that is closer to the finishing line. The new position will be the current position minus the slope times the number of meters the rabbit ran.
    For example, assume a rabbit was in position 10, then ran 5 meters to position 15. If the slope at position 15 is -2, then the new position of the rabbit will be 15 - (-2 x 5) = 25.
    - a positive integer : then, there is a rising side of hill at that position, and all rabbits reaching this position will slide down to a new position that is closer to the starting line. The new position will be the current position minus the slope times the number of meters the rabbit ran.
    For example, assume a rabbit was in position 10, then ran 5 meters to position 15. If the slope at position 15 is +1, then the new position of the rabbit will be 15 - (+1 x 5) = 10.
    Notes on the race:
    - Rabbits have 40 turns to reach the finish line. If after 40 turns no one has managed to reach position 19 (or beyond), then the race is cancelled and no winner is declared.
    - A rabbit?s position can never go below 0. If, after calculating a rabbit?s position, you arrive at a negative position (ex. position -3), then consider that it is at position 0.
    - Consider that any position outside the track (ex. position 0 or position 20) has a slope of 0.
    - If a rabbit reaches position 19 (or goes beyond it), it does not immediately win the race. If any other rabbit reaches position 19 (or beyond) during the same turn, then there is a tie.
    - If at the same turn, one rabbit reaches position 19, and another reaches a position higher than 19, the second rabbit does not win the race because it went further than the first. They both win.
    Ok I know this is long and boring to read but I already completed the majority of the assignment here is my code:
    public class Assignment_3 {
        public static void main (String args[])
             int[] position = new int[20];
             int[] slope = new int[20];
             int[] moveRabbit = new int[4];
                   moveRabbit[1] = 2;
             int[] currentPosition = new int[4];
             int currentPositionandSlope = 0;
             for (int i=0;i<position.length;i++)
             {     position=i;
              System.out.print(position[i] + " ");
         System.out.println();
         for (int i=0;i<(position.length-5);i++)
         {     slope[i]=(int) (-3 + Math.random()*5);
         for (int i=0;i<position.length;i++)
              System.out.print(slope[i] + " ");
         System.out.println();
         for (int turn=1;turn<=40;turn++)
              int randomNb0 = (int) (Math.random () * 100);
    int randomNb2 = (int) (Math.random () * 100);
    int randomNb3 = (int) (Math.random () * 100);
              if (randomNb0<=50)
                   moveRabbit[0] = 0;
              else if (randomNb<=30)
                   moveRabbit[0] = 4;
              else
              moveRabbit[0] = 3;
              if (randomNb2<=30)
                   moveRabbit[2] = 0;
              else
              moveRabbit[2] = 3;
              if (randomNb3<=80)
                   moveRabbit[3] = 1;
                   else
              moveRabbit[3] = 10;
    for (int j=0;j<=3;j++)           
    System.out.println ("Rabbit" + j + " is at position " + position[currentPosition[j]]);
    if (slope[currentPosition[j]+moveRabbit[i]] < 0)
         currentPositionandSlope = position[currentPosition[j]+moveRabbit[j]] - (slope[currentPosition[j]+moveRabbit[j]] * moveRabbit[j]);
    else if (slope[currentPosition[j]+moveRabbit[i]] > 0)
         currentPositionandSlope = position[currentPosition[j]+moveRabbit[j]] - (slope[currentPosition[j]+moveRabbit[j]] * moveRabbit[j]);
    else
         currentPositionandSlope = (currentPosition[j]+moveRabbit[j]);
    System.out.println ("it will move by " + moveRabbit[j] + ", but at position " + (position[currentPosition[j]] + moveRabbit[j]) + " there is a slope of " + slope[currentPosition[j] + moveRabbit[j]]);
    System.out.println ("so it will slip by " + (position[currentPositionandSlope] - moveRabbit[j]) + " positions, and end up at position " + position[currentPositionandSlope]);
    currentPosition[j] += currentPositionandSlope;
    *Ok basically my question is that in the assignment there is an example output where the rabbit is at position 21 but the array is only 20 in length and my program crashes if i go beyond the array length.*
    The example output is here:
    Welcome to the 4 rabbit race:
    position: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
    slopes: 0 0 1 -2 1 0 -1 -1 1 -2 1 0 -1 -1 1 0 0 0 0 0
    TURN #1
    rabbit 0 is at position 0
    it will move by 3, but at position 3 there is a slope of -2
    so it will slip by 6 positions, and end up at position 9
    rabbit 1 is at position 0
    it will move by 2, but at position 2 there is a slope of 1
    so it will slip by -2 positions, and end up at position 0
    rabbit 2 is at position 0
    it will move by 3, but at position 3 there is a slope of -2
    so it will slip by 6 positions, and end up at position 9
    rabbit 3 is at position 0
    it will move by 1, but at position 1 there is a slope of 0
    so it will slip by 0 positions, and end up at position 1
    TURN #2
    rabbit 0 is at position 9
    it will move by 0, but at position 9 there is a slope of -2
    so it will slip by 0 positions, and end up at position 9
    rabbit 1 is at position 0
    it will move by 2, but at position 2 there is a slope of 1
    so it will slip by -2 positions, and end up at position 0
    rabbit 2 is at position 9
    it will move by 3, but at position 12 there is a slope of -1
    so it will slip by 3 positions, and end up at position 15
    rabbit 3 is at position 1
    it will move by 1, but at position 2 there is a slope of 1
    so it will slip by -1 positions, and end up at position 1
    TURN #3
    rabbit 0 is at position 9
    it will move by 3, but at position 12 there is a slope of -1
    so it will slip by 3 positions, and end up at position 15
    rabbit 1 is at position 0
    it will move by 2, but at position 2 there is a slope of 1
    so it will slip by -2 positions, and end up at position 0
    rabbit 2 is at position 15
    it will move by 3, but at position 18 there is a slope of 0
    so it will slip by 0 positions, and end up at position 18
    rabbit 3 is at position 1
    3
    it will move by 10, but at position 11 there is a slope of 0
    so it will slip by 0 positions, and end up at position 11
    TURN #4
    rabbit 0 is at position 15
    it will move by 0, but at position 15 there is a slope of 0
    so it will slip by 0 positions, and end up at position 15
    rabbit 1 is at position 0
    it will move by 2, but at position 2 there is a slope of 1
    so it will slip by -2 positions, and end up at position 0
    *rabbit 2 is at position 18*
    *it will move by 3, but at position 21 there is a slope of 0*
    *so it will slip by 0 positions, and end up at position 21*
    *We have a potential winner...*
    rabbit 3 is at position 11
    it will move by 1, but at position 12 there is a slope of -1
    so it will slip by 1 positions, and end up at position 13
    So yeah :) that's basically my question (all this text for a simple question like that lol)
    If you've managed to get to the end of my post then any guidance on my code would be appreciated too :)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I'm not going to read that long post. As suggested, produce an SSCCE
    and paste in the exact, complete error message, and indicate clearly which line causes it.
    I did notice this though:
    Ok basically my question is that in the assignment there is an example output where the rabbit
    is at position 21 but the array is only 20 in length and my program crashes if i go beyond the array length.Either you're misunderstanding something, or the assignment has a typo. If you have an array of length 20, then the indices are 0..19.
    Maybe the instructor is calling index 0 position 1--separating Java's array impelementation details from
    colloquial 1-based counting, so that the rabbit starts at "position 1" (index 0) goes through "position 20"
    (index 19), and when he's done, he's "at postion 21"--i.e., past the finish line, off the end of the course, etc.
    This won't correspond to any index in the array, but can still be considered a logical position in the race. "Oh, he's
    at position 21. He's done. There's nothing more to do with the array, as it has no slot corresponding to
    this 'done' position."
    That's pure speculation on my part. You'll have to ask your instructor or figure out for yourself what's going on.

  • Long posts in I.E. 8 refresh issue

    Recently I've had to upgrade to I.E. 8 on some PCs I work with, and posting from them, I've noted the that editing long posts have refresh issues. I type and the cursor returns to the beginning of the post, and I have to keep scrolling back down. Is this a known bug? Or is there a workaround with I.E. 8?

    Hi Dave,
    I'm obviously far too tolerant of bugs. I'm running IE8 both at home and at work, but this has only ever happened on my work machine. I've meant to look into the cause before now, but I only notice when I'm in the middle of a large post and by the time I've got that out of the way it's usually time to deal with other matters. I've often just put up with the text snapping up and down the screen as I type, but occasionaly have started composing in Notepad or switched browsers. I've just implemented the fix so hopefully I won't need to worry again.
    Many thanks,
    tt2

  • I can no longer post I photo pxs to Facebook, the "publish" command is not active

    I can no longer post IPhots pictures to Facebook, the "publish" command is not active

    On what Mac or iDevice running what operating system?

  • Drop down menu (sorry long post)

    Hi, im at university and for a piece of coursework I have to
    make a professional looking website. I have decided to load
    external SWFs, rather that have long loading times, because of this
    I have a container, which the SWFs are loaded into. I also have a
    drop down menu, which is in its own Movieclip, the structure of the
    menu is below:
    Whole Menu (intstance name: 'entire')
    V
    V
    First Header (gtaiv_menu)
    V
    V
    First drop down (box1)
    The container is on Scene 1, at the moment I can load the SWF
    by clicking on 'box1' but it loads in its own window, not the
    container, my question is how do I load the SWF into the container
    on scene 1 by clicking box1?
    Thanks, again sorry for the long post.

    Can anyone help me? I am starting to think of putting all the
    information into one SWF, which means long loading times.
    Also I apologize for posting three topics, I did not realise
    I had done this until it was too late, the computer I was on at the
    time was particularly slow.

  • K9A Platinum no longer posting after bios update

    I recently upgraded my computer to the specs below, and vista ultimate wouldn't start up (In safe mode it would freeze on checkdisk). I tried some of the solutions I found here (unplugging IDEs, etc) to no avail, and finally I decided to flash the BIOS and upgrade it to the most recent version (1.5). It worked once after restart (sor of, it froze on checkdisk again) but on subsiquent boots it no longer posts! Help please, I need my desktop!
    Athlon X2 6000+
    8 gb (4x2gb) DDR2 800
    K9A Platinum
    ATI 1800 Crossfire
    650 Watt power supply
    ---

    Quote from: Piuro on 16-May-07, 11:25:02
    Okay, i'm able to get into vista with four gigs, six gigs causes it to reset at crcdisk.sys, and it seems to boot with 8. It seems that some setting got tripped in the BIOS update, Looks like this was some spirit of spontaneity prevalent in so many computers. Thanks for the help!
    you are welcome, next time please do not touch the BIOS when everythink is working fine. and don't update BIOS only because its a new one.. read here: https://forum-en.msi.com/index.php?topic=103441.0
    also 1.5 are known as problematic one for most of K9A owners...
    "Okay, i'm able to get into vista with four gigs, six gigs causes it to reset at crcdisk.sys, and it seems to boot with 8."
    that is normal, issues can be expected when using 3 memory sticks. recommended are 2 memory sticks, other working combination 1 or 4 memory sticks.(but 3 memory sticks are not recommended.)
    also its a good idea to check memory for errors with Memtest86, to ensure that they are working correctly without errors.

  • About (not) getting help for Design Premium CS4 [very long post]

    If what i've heard on numerous occasions is true, and I really hope it is, Adobe spends a lot time, energy, emotion and effort on their Customer support system. In an effort to provide a bit of insight "from the trenches" I've spent the last hour sifting through Adobe's website trying to find an email where I could send a bit of critique regarding the quality of Adobe's Tech Support and I've come to the conclusion that these forums are a paying customer's only outlet. As part of my job training, I take a lot of notes whenever anything gets done over the phone. This then is a full transcript of the arduous process I had to go through in order to try and fix the infamous "licence has expired" issue. I'm not necessarily looking for feedback, I just want somebody at Adobe to see this and realise how much money is being wasted on a very dysfunctional "Support Service".
    Adobe tech support notes:
    How can the ball be dropped to this extent?
    Friday, April 2nd
    10:00   Installed the suite on the office's new design computer after using the trial editions until they expired. None of the programs in the suite will run because the licence is "expired".
    11:30   Not knowing if it might somehow be related to there being leftover files from the trial editions (which I didn't uninstall) I uninstall everything and install again.
    13:10   I receive the same error message. Tech support principally led to a waste of a day due to the way that Adobe's databases seem to catalogue customers. According to Jay Lopez, our suite wasn't registered to my boss (Doc) it was registered to Ken Schoepp, who hasn't worked here in about 8 years, since he was one of the earlier names connected to this address. It took about 2 hours and 2 transfers to figure this out.
    15:30   I finally get transferred to tech support.
    15:51   TS answers.
                It takes 2 hours to assess what the problem is and suggest that I should do a full uninstall and reinstall of the suite, regardless of the fact that I did that before calling TS. 2nd installation fails to solve the problem whereby the suite won't load up (as expected).  I'm given some instructions as to what files to remove that may contain registration information and could possibly prevent the program from running. Tech support hangs up as their shift is soon over but they assure me that this thrid installation of the day should fix the problem. To speed up the installation I copy the files onto the HDD.
    17:15   For some unknown reason, Setup.exe crashes crashes at about 65% of initialisation. That's right, the installer can't even run!
    Tuesday, April 6th
    8:37     Calling TS
    8:45     Don answers
    8:51     Get informed that I was somehow routed to CS instead of TS. The case id I provided requires solutions that he can't provide,           Don will transfer the call to TS.
    8:53     Jitesh gives me a new case id before putting me on hold as he reads the case file.
    9:05     Informs me that since my call deals with an installation issue I need to be transferred to another department. In response to           my comment that I've already been misrouted twice today Jitesh says he will contact the department personally in order to           transfer me more quickly as I'm already in their service.
    9:13     Just before hanging up Jitesh mentions that there are only 12 calls ahead of me in the queue.
    9:19     Rohan Subba answers.  After reading the file he asks if I would accept sharing my desktop in order for him to look at the root             of the issue using Acrobat Pro Meeting.
    9:26     With files installed, logging in to "adobesupport.na5.acrobat.com" as guest.
                As things are not working as expected, Rohan places me on hold as he goes to look up solutions.
    9:31     Back from checking resources, try them out, still don't have access to some files due to lack of permissions.
    9:36     Comes back with instructions on how to setup the Windows7 super admin account which should give me full access to the             locked out files.
    9:42     Logged in as admin. More hair pulling as we try to configure the permissions properly.
    10:02   File sharing finally works and he downloads the installation log files. As we attempt to change permissions to access other            files I ask why it is has taken 13 hours of TS and 4 techs before someone suggests using Adobe Connect Pro Meeting since it            seems like a great way to gain access to files. Rohan's answer: Due to the solution chain, TS had to try other options           before going for the ACPM.
    Over the next hour we try various things to get rid of the files that are blocking the re-installation of Premium Suite. I'm instructed to download the "Windows Installer Cleanup Utility" and "adobeCS3cleanscript" even though I'm running CS4. The trial versions I was using were also CS4. I'm assured that the CS3script works just fine for CS4 removal. It gets run with option 1, once, and twice with option 2, rebooting between each pass.
    11:01      Realisation sets in.  "I'm sorry, I cannot resolve this issue and I will escalate your call to Tier 2 TS". Initially he asks           if Thursday is good for the follow-up call but I inform that I will not be there on that day and that I am the only one at the office           who can handle these types of technical calls.
    11:05     Comes back on the line and informs me that T2 TS will contact me on Friday.
    Spent the remainder of the day reading online, chasing possible solutions.  Found out about a hidden option 3 for Cleanscript, run it twice, still no improvement. Having been shown the location of the installation log I sift through it and research 1) where each of the offending registry key is, 2)  how to change permissions to the offending keys so I can delete them. Thanks to google and other people who've had the same issues I'm having and followed by blogging about it.
    In total, 22 registry keys blocked the installation. Because each key would cause the installer to lock up and quit It took 6 hours to run the installer 22 times until it crashed in order to find and eliminate each one. When they were all taken care of, only 4 Premium suite modules wouldn't install: Flash, Flash Player, Acrobat and Air.
    Progress at last.
    Thursday, April 8th
    Mesum, a resolution specialist, calls work asking to speak to Doc about our case. According to him there is no mention of a contact person (me) or a date for a call back. When asked probing questions about these discrepencies Mesum says that seeing as how Adobe TS are trained to exacting standards and that note taking is a very important part of the job there is no way that this break down happened on their end. If the information my boss is referring to is "not in the file" then it MUST be false. The obvious answer, according to Mesum, is that whoever made the appointment with Adobe didn't take down good notes. As a T2 specialist he "...makes it a point to always return the call at the arranged time".  I don't have the notes regarding everything that was said that day but from talking to Doc on the following day I gather that Mesum made other comments to bring into doubt the quality of Aararat's (the company I work for) training, their note taking skills and the quality of their employees. Not once did he take any hint of responsibility for the communication screw-up. Mesum will be calling me back on the Friday (as was originally written down in our file) and provides a new case id before hanging up.
    Friday, April 9th
    12:01     Mesum call and wastes no time in trying to resolve the issue. I inform of the progress I made yesterday (independently).
    12:08     Error :2 shows up again.  Instructs me to clear the temp folder, the cache and to verify that the print spooler           service is enabled. It is.
    12:21      While the system is rebooting, Mesum mentions that the "very detailed conversation" he had the previous day and asks if           I have been briefed about it. I explain that I have been briefed (neglecting to mention that I am the one who made the              appointment and took copious notes about all my TS conversations, including this one) and that I hoping to get this issue           resolved once and for all.  Mesum makes a grandstanding comment about how "he makes it a point to always return the call at           the arranged time as these calls are very important and it is crucial that they get resolved". He then goes on about the           lenghts Adobe has gone to in order to create a support chain to make sure that if an issue is unresolved on either end of the           chain, that this lack of resolution can be tracked down.
    Error:2 indicates that we are still having registry blockage issues. In response to my question whether there might be a full list of the registry keys that Adobe Premium suite injects during an installation Mesum responds that techs have been given very strict and specific instructions about tampering with the   windows registry (which is odd considering 3 days prior a tech dove right into     registry editing) he proposes that I instead uninstall Flash, Flash player and Adobe Air.
    13:07   Since the uninstaller won't run for just the 3 modules, Mesum asks that I   uninstall everything once again. I am then to only           start by installing Acrobat first, and only Acrobat, before installing the rest of the suite. Because this process will take a long           time and Mesum has other calls to make he leaves me to this numberless installation being fairly certain that this will solve the           issue. He adds that such problems are very frequent with Acrobat. Should his proposed course of action not solve the issue I           can type up a follow-up response by going to www.adobe.com/go/supportportal. I am to expect a follow-up call on Monday.
    13:22   Because I was really not looking forward to going through another round of uninstalling and reinstalling, I attempt to run flash             one last time prior to starting the cycle. Run into error:5
                reboot
    13:29   Error:5 again.  Time to uninstall once more.
    13:35   Error while uninstalling. Nothing to do but click continue and see how it goes.
    13:53   Uninstall finished with problems, running it again. Adobe Sing is still showing as   an installed component.
    13:55   Uninstall with errors. Flash Plug-in will not uninstall. Running Uninstaller again.
    13:59   Uninstaller fails again.  Decide to go and manually delete files and folders inspecting each one by one.
    Spent the rest of the afternoon going through the install logs like I did on April 6th, unlocking ownership and deleting corrupted keys one at a time.
    18:08   The whole Suite finally installs except for Flash and Indesign.
    18:47   After hunting down more keys, the installer completes with errors but at least all the programs are installed.  Acrobat, Air, Flash plug-in are still not installed properly.
    Monday, April 12th
    8:20     Call tech support
    While on hold I try to find my ticket on the support portal using the case id's I've been given. None of them show up on the system. Basically, I'm stuck to using phone support.
    9:23     TS answers. Sanjay
    9:28     After Sanjay has verified the case id, I provide him with an update to the file regarding what I've done since I hung up on Friday, describing the new issues.
    9:34     Placed on hold
    9:42     Comes back and explains that this issue will require more consultation with his seniors. To make sure that he looks up the            right issue I repeat the exact problem I would like him to research. Three times he repeats the information back to me just a           little differently. Finally on the 4th repetition of the problem I'd like addressed he "gets it" and thanks me for "providing that           pertinent information". 
    What I don't understand is that I repeated the same information that he repeated back to me 4 times before he seemed to understand what his notes told him he should be researching. From the heaviness of his accent I suspect that their was a bit of language barrier here.
    9:48     Places me on hold
    9:59     Comes back with a possible solution.
    10:08   As his solution requires me to delete files I don't have access to due to lack of permissions, his solution can't be applied. He places me on hold.
    10:11   Comes back, with another possible solution.
    10:17   Still not working. I ask how I can change administrator settings for specific files    and he needs to go check articles again.           Shouldn't this type of knowledge just come off the top of his head if he's in TS? Sanjay just walks away at this point,           not asking to put me on hold nor placing the call on hold. I can hear conversations in the background the whole time.
    10:24   Comes back, thanking for staying on hold (even though I wasn't). This time he asks me to look for specific adobe folders. I           can't delete them because I'm supposedly not an administrator, even though I'm logged in using the enabled super-admin           account. He tells me I need to type a very specific command at the command prompt to reset the admin account. I thought           that's what he was going to research the last time he left so I ask what I have to type at the command line to do this. Sanjay           doesn't and asks if he can put me on hold again. I politely and calmly answer that no, I don't want to be put on hold. Every time           I've asked him a question he's had to go in order to talk to his seniors (as he calls them). If possible, why not escalate my call           and put me in touch with one of these seniors or a manager in order to minimise the amount of time I will be placed on hold. He           puts me on hold.
    10:34   Ashima comes on the line. Unlike Sanjay, she sounds confident and authorative.
    10:44   After discussing what I'm trying to do she informs that not being able to delete files and folders is a Windows issue, not an           Adobe issue. Even after I mention that a previous tech had helped me solve a similar problem in the previous week and try to           reason that since it's Adobe uninstaller that caused this issue she sticks to her claim that it's a Windows issue and that she           cannot help me resolve the issue. I am to contact Microsoft tech support in order to get help with this issue.
    12:17   Call Microsoft technical support
    12:23   Jacqueline answers. I describe the problem I'm having with managing permissions in Windows 7 and that I've been told that I           resetting the admin account should solve this problem. She seems to agree and asks for my Windows serial number before we           can start working on the issue. Upon finding out that I have an OEM version of Windows, Jacqueline informs me that I have 2           options: look online or pay 59$ per call on credit card for support as free support is not provided to OEM licences since they are           typically only installed by resellers and   assumed to be serviced by them. Sadly, this is not my case.
    12:31   Having repeated my options back to Jacqueline to make sure I understood her correctly I inform her that I will terminate the           call since I will not be paying for paying and therefore will go online for help. She sounds surprised at how quickly I made           my decision, wishes me good luck and the call is ended.
    13:30     Started researching a solution. I find what I need to know and apply it, managing to reclaim ownership of the files and           folders. Run the installer again and everything installs now except for the Acrobat, Air and Flash plug-in.
    Tuesday, April 13
    15:30   Since I haven't received a call back from Mesum I try to find our case information on the Adobe Support Portal. I figure that           Mesum probably needed me to contact him prior to today in order to confirm whether the solution worked or not. Logging in           with the email address we used to register our software and log our support calls is unsuccessful. Either the password is wrong           or the email is not active. Seeing as we have 2 other office emails with which Adobe products have been registered over the           years I log on with them to see if we have pending cases on either of them. negative. Just to test something out I attempt           logging in to the original email from another computer.  While I can't log in I no longer get the message that the email isn't           related to an active customer account, just that the password is wrong. Resetting password. Still can't login.
    16:06   Starting LiveChat with Adobe to see if they can help. On hold.
    16:12   Connected. explain the situation.
    16:19   Says the password is reset from their side. Try it and doesn't work.
    16:22   I tell Live Chat the reset didn't work, and wait for response.
    16:29   He assures me it's been reset and that I should try again.
    16:30   Try it to connect via two other computers. Fail. Inform him again. Wait.
    16:36   Informs me I will need to call Phone Support. I ask if he can connect me.
    16:38   No, he cannot connect me. There is no Live Chat Tech Support. Due to the amount of lag between responses I ask if how many           chat sessions he works on at the same time.
    16:41   Answer: three at a time.
    16:45   Finish typing comment and suggestion about possibly reducing that number because the amount of lag time for simple           requests is just too much.
    16:46   Final response and goodbye.
    16:47   Call Phone Support
    16:50   Jerry in the Philippines.  I explain the issues I've been having with our account and the failure to reset the password. Jerry puts a note in the file and that he'll look into it.
    16:58   Puts me on hold as he goes to explore.
    17:01   Comes back, can't see any issues. Asks me for permission to logon to the client account by using our email and password. I           accept. He logs on and sees that there are in fact no pending cases that show up in our client account, even though we have           multiple concurrent case id's showing on his side. He says he'll look into it.
    17:07   Client login issue is unresolved but at least I'm getting transferred to TS.
    17:23   Panpaj answers. I explain the situation and provide case id.
    17:38   He provides a new case id. I have to describe the whole case history.
    17:46   On hold.
    17:52   Turns out I was transferred to the Acrobat specific TS. Seeing as how my installation problems aren't dealing specifically           with Acrobat he can't help me. He will   transfer me to general TS.
    18:16   Animesh answers. explain the situation and provide case id.
    18:20   Puts me on hold as he reads the file.
    18:22   Repeats the problem as described according to the file.
    18:30   Puts me on hold as he goes to find articles.
    18:36   Asks me to share the desktop. Connecting to connectteam.acrobat.com
    18:44   Upload of log file complete, reading over it.
    18:48   Sharing screen caps of installation error messages.  I've been thoroughly documenting each and every single one. Instructs me           to download and AdobeCS4cleanscript. When I explain that I've already used the CS3 version I'm informed that the CS3 version           should never be used to try and clean up a CS4 installation since it won't work.
    18:56   I'm informed that TS closes at 19:00 and that he won't be able to finish this call.   However, if I read article kb 401401 I should           find some steps that will solve the issues that I'm experiencing.
    19:01   While looking for the article I inform him that I can't access my TS updates on the           Support Portal and that in a previous call Phone Support was not able to explain          why. Might he have any idea why? He says he'll check it out.
    19:05   "That's odd.  I'll add this complaint to the file."
                Animesh adds that If this knowledge base article does not resolve the issue, I should make sure to call back. He's added a note in the file to automatically escalate my call to Tier3 TS.
                "What? There's a T3?" I ask. "Why has it taken 2 weeks to get this call escalated to tier 3?"
                He apologizes if this taken so long to be escalated but there are definite checks and procedures that need to be followed before a call can be escalated to Tier 3.
    April 15th
    11:10   Starting new uninstall of CS4
    11:20   Uninstaller error with InDesign.
    11:31   Running CS4cleanscript, all options.
    11:49   Completed running CS4cleanscript followed by a manual clean-up of remaining   folders.  Starting a new install.
    12:04   Install error with Flash 10 ActiveX.
    12:06   Install error with Flash 10 plug-in.
    12:37   Installer finished, with errors.
    12:53   Test launched every application in the Suite and they seem to be working in spite of the errors. So be it, I'm never calling Adobe TS again.
    Questions and suggestions to Adobe
    In spite of not having my issue corrected I must say that the politeness of every representative was exemplary.
    While I realise software piracy is a big issue, why is it that pirates don't struggle with your DRM system yet legal users do? Either scrap your current DRM and replace it with something that will not cripple a system if an installation goes wrong or change your installers.
    Software suites are convenient yes but there are now so many modules that come bundled with the suite that seem utterly pointless because the documentation for them is sorely lacking an "at a glance" explanation of features, benefits and purpose. Adobe Air, Sing, Version Cue and Bridge come to mind. Don't you think cutting down on module bloat would make interoperability an easier thing to manage and maintain?
    As a user who has multiple hard drives in his system (one each for the OS, applications and project data) I don't like installers that place files all over my system without my consent. If an installer asks for a destination folder, ALL programs should go into that folder. Files and programs that are shared across the suite for added functionality or registration purposes should ask for a user-specified shared folder (in case there is one) rather than just go into the (assumed) default.
    Why is the Support DB's search function so useless? I've tried (and tried, and tried, and tried...) to find useful solution articles but something is just plain wrong with your search algorithms. I've tested this. Pick an article at random, then do a search for it's title. Too often the search engine won't even find it. The only time searches work is if one has the precise number of the article, such as KB 401401.
    The amount of checks and procedures required for service escalation needs to be streamlined in order to speed up the process. It took too long to get to the right Tier. By the time I was finally escalated to Tier 3 your support services had eroded all of their credibility.
    Practices and procedures (P&P) need to be more uniform. I have one tech telling me to use one version of clean script and claiming it's fine whereas another claims that only the CS4 script would work to resolve my issue. Why is this? What does this reveal about levels of training? There is also large gaps in the knowledge of individual representatives. As should be expected, some representatives knew exactly what to do and how to do it without having to resort to articles every 3 minutes.  Others, such as Sanjay, either need to be retrained or let go. His lack of knowledge was thoroughly exasperating.
    The case id system needs to be reworded. Over these 2 weeks I was given 4 case id's, none of which ended up showing up in the support portal for follow-up.  Furthermore, note taking seems to be a problem because there was a lot of information that just never seemed to make it "in the file".
    Why do calls get transferred to the wrong department so often?
    In Closing
    Due to having more pressing matters to attend to at work and seeing as how I could not afford to spend any more time fixing the harm that was brought on by carrying out the suggested "solutions" I have not called back since April 15th. The suite runs "with quirks" and will stay that way until I rebuild the system because it seems that the only solution that remains regarding the installation woes is to wipe the drive and start from scratch.
    Thank you for reading this whole transcript. I hope it helps you improve your customer service experience.
    Marc-Andre Renaud

    Thank you for the sympathy and the information about the Adobe.com forum Michael.
    I posted here because, to be honest, for a company that's acknowledged their installers and updaters and support needs some work, they seem very determined to obfuscate the means by which users can provide direct feedback to the company. Much like you, I've also noticed a trend in CS5 installations that mirrors the issues that were present in CS4. it's a sad state of affairs.
    As for my installation, you are also quite right to say that a clean install would have been a lot faster than what I went through with TS and it was actually my first idea. Before calling TS I'd actually read through the forums and noticed that a large number of users who were faced with my situation had no other choice but to reformat. I was just giving Adobe the benefit of the doubt and wasted 2 and a half weeks through that course of action...
    What makes this situation even more frustrating is that the installer failed on a fresh system. It was a custom-built design machine, assembled and configured by myself. The only software that had been installed on it prior to Design Premium was Firefox, an FTP client and the start of my problems, trial versions of various CS4 programs. I used trials just long enough to retire the previous design computer so that I wouldn't contravene the EULA's stipulation of not running more than one instance of software at the same time on different machines.  Turns out being honest once again penalised a legal customer.
    If there is just thing users should learn from my far from unique tale of failed tech support it's that if you ever run into a problem with the installation, don't bother calling TS, just reformat and start from scratch.  It might seem like it'll take longer to get going again, but in actuality, it's the opposite. Reformatting means you'll be up and running in about 1 or 2 days rather than 2 weeks.
    Marc

  • Lenovo support has become very poor (long post at least until they delete it because it's truth)

    Quite honestly,  I wouldn't be suprised if they delete this post,  but hopefully some people will get to read it before it is.
    I have been a big fan of the ThinkPad brand computer for as long as it existed.   I work in Computer Networking and Security.   Lenovo has always offered quality products at an affordable price.   Until I ran into a problem that occured in November, 2011 when I purchased 30 Lenovo Thinkpad E420's for my customers.
    Every single one of them fried out within 4-5 months.  While back then,  trying to use my warranty,  I was bounced back and forth from Office Depot and Lenovo untill I had to just bite the bullet and purchase relpacements myself for my customers (I bought a different brand).  And frankly,  I will never buy another Lenovo product again, after recommending them to thousands of people over the years until this all happened. By the time I finally got someone that offered the warantty,   they told me it was no lonver valid.  Yes.  It took over 6 months of calling Office Depot / Lenovo back and forth until I finally reached someone (which happened to be RIGHT after the warranties ended......)
    Now,  2 years later,  I received letters from Office Depot that this particular brand and battery were being recalled.  ALL of the computer's ID numbers and the Battery numbers matched what was listed as "qualified for replacement".   I went to Office Depot and was denied,  telling me to contact Lenovo.   I went to the website Lenovo suggested and filled in the information for all 20 broken computers (I kept them around in case I needed spare parts which never did because according to the governmental recall,  these defective  batteries can cause damage to the BIOS / Motherboard / and Power supply).
    All of my computers were rejected by their fill in form.  When I called tech support,  I was transfered to four different departments,  each saying that "Whatever the website said is the final word and we cannot help you,  but let me transfer you to someone that maybe can assist you".  only to get transfered to 5 people who told me that they don't know why I were transfered to them, then  make the same suggestions,  and then transfered me off to another person that is equaly as confused as why I was transfered to their department. As shampoo says,  Rinse Lather Repeat for 2 hours.
    This isn't meant to be a rant.  This is to explain how poor their customer service is,  that they basically told me oh well,  buy a new one of our products since that one doesn't qualify.   This is a company that just lost a power buyer whom has purchased counteless Lenovo Think Pad's over a long period of time,  and they treated me like a grandmother that wondered why they had so many toolbar's on their screen.
    I highly suggest you avoid their products.  Again,  by the time I finally got to any stage of my "warranty" with either Office Depot or Lenovo,  it was too late.   Then,  with this governmental issued recall,  all of the computers I had in storage did not qualify (even though they were the exact brand / year / and battery that was "qualified".
    So,  consider this just a warning on how Lenovo now operates.   I had 20 computers that by the time I was ping-ponged back and forth between their distributer (Office Depot) and their company,  with each repeating "you have to contact the other",  until it had been so long that my warantees finally expired.  Now with the governmental battery recall,  I ran into the exact same thing.
    Since their automated "check if your computer qualifies section" said NONE of them qualify,  I now have 20 nice paperweights that costed my business quite a bit of money, to the point where I gave up on the Computer Business and went to work for the government.
     I used to recommend Lenovo products to my customers and to my clients,  and will never do so again.   It is such a pity that they bought the Think Pad brand,  because many of my smaller clients prefered the little 'eraser' style mouse vs the multi touch pad.  So be warned people.  They are cheap computers for a reason,  and that reason isn't because they pride themselves on quality service.   Honestly,  I would have forgotten about this until I got the letter saying that these computers had governmental issued recalls on the batteries.   But I find it quite strange that all of the computers died at about the same time,  all were the make and model that was recalled,   but NONE qualified for the battery.
    And good luck getting your warranty if your computer breaks during the warranty period.  Plus,  if you think this is just an anger rant,  rather than just the truth,  search reviews on Lenovo products.   Most reviewers throw in the joke that "You'd be better off buying an eMachine,  at least you know you're getting a piece of junk"
    Sincerely,
    Kevin M. du Charme
    Diversified Rehab, Inc.
    Vocational Evaluator for the State of Florida

    Kevin,
    Understandably you seem really frustrated.   I can sympathize with your summation of the run around you have experienced but without specifics, it is difficult to arrange assistance on your behalf.
    The battery recall is for safety, and the automated tool querries the batteries to see if specific ones are affected.   It is possible that your batteries may have worn down over time, but not been flagged as inherently unsafe.   If you have a sample of 20 or 40 units, and they were built nearly in sequence then it is possible that they are not affected.
    Serene likely asked you for customer contact and type and serial information for at least one of your systems as required to escalate your case.   I understand it is frustrating to have already provided this elsewhere to the company.
    Mark
    ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
    Mark Hopkins
    Program Manager, Lenovo Social Media (Services)
    twitter @lenovoforums
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Had the Z1 for a week, further questions (long post!)

    Hi again,
    So I've had the phone for about a week now and have been using it a lot, setting it up the way I want and learning my way around it (and around Android in general).
    I have a few more questions I hope someone will be able to answer for me.
    1. Still unsure about this - is swipe input on the keyboard supposed to work globally, i.e. anywhere (any app, any screen) where the keyboard pops up?  It doesn't for me.  It works in emails, SMS, but for example, doesn't work when searching in Play Store.  I'm sure it also doesn't work in some other screens, but can't remember exactly where.  I just know I get used to it, and then I start swiping somewhere and am surprised when it doesn't work.
    2. I still can't get keyboard shortcuts (Settings, Language & Input, Personal Dictionaries) to work, no matter what I try.
    3. Another keyboard related thing.  I read a review (http://unleashthephones.com/2013/09/15/sony-xperia-z1-review/) where the reviewer said it's possible to use hand-writing recognition, and also reduce the size of the keyboard on the screen to help with one-handed typing.  I can't find either of these options, do they exist?
    4. Camera. Can you confirm it's NOT possible to use HDR and Image Stabilisation simultaneously?  On my phone, switching one on cancels the other.
    5. This is probably a more general Android OS question/observation.  I noticed the home screen doesn't rotate and is always in portrait.  I suppose this is how it is on most phones.  However, as the Z1 has the charging dock connectors on the side and is in landscape orientation when charging in the dock, I find this a bit odd, especially since not even the clock widget (either digital, or analogue which is especially confusing, as it's so minimalist, when turned into landscape reads totally wrong time) rotates.  I suppose this isn't really a question, but more of an observation, and I'm just seeking to confirm this, and perhaps find out if there's a way around it?
    6. In one week I've had the phone, I've had about 5 instances where the phone said one app or the other has stopped responding and was shut down (and most of those were stock apps, like camera or a messaging app), and the phone totally froze on me once when I was writing an SMS.  Is this relatively normal on Android?  I could live with it, I suppose, if it doesn't become more frequent, just asking to confirm.
    7. A tiny issue, but still.  In another post, someone advised it was possible to restart/reboot (as opposed to shut down and manually power up again) the phone by holding the power and volume keys together until the phone vibrates.  I tried this, but no matter how long or short I hold both buttons, the phone only shuts down and doesn't restart.
    8. I'm considering doing a factory reset, as I'm having a few issues, like the swipe not working, crashing, and also the language confirmation after every restart of the phone (it's been suggested elsewhere this might have been caused by initially using and setting up the phone before a SIM card was inserted, which was my case.  I used the phone on wi-fi before I received the SIM from my carrier).  So, first, do you think doing a factory reset is a good idea?  I came across another post where a user ended up with more weird issues AFTER doing this, so I'm unsure.  I'm also not looking forward trying to restore every minute customisation I have already made.
    - What's the best practice when doing this?
    - Are there any tools to help with it, especially to help with restoring previously made settings?
    - Does this void the warranty?
    This is probably more than enough, and thanks in advance to anyone who bothers reading all this and offering some suggestions!
    Vlad.

    coolasrevi wrote:
    1. Swipe should work in every apps wherever keyboard pops up, provided you have enabled it.
    2. By shortcuts you mean? you can add words in your personal directories, which will appear while using swipe to make things easier.
    4. Yea, HDR and Image Stabilization wont work together (officially)
    6. It happens
    7. yea, it does reboot, once 3 vibration which is for reboot, 5 vibration is for forced shutdown.
    8. Using PCC to repair your phone is the best way, you can use google's own option auto backup and restore (provided you have enabled it in settings) which restore settings contacts, however make sure to have a backup just in case. warranty wont be void for using PCC or SUS. 
    1. Definitely doesn't for me.
    2. I mean under personal dictionary, I created several shortcuts, for example, when you type "btw", it should automatically get converted into "by the way".  You input the shortcut and the phrase you want it to convert the shortcut into.  But it doesn't work.
    4. Thanks.
    8. Does this "repair" fully reset the phone, or preserves the settings?
    Thanks for taking the time to read through my post and come up with some answers and suggestions.

  • No longer POST'ing

    First off, let me say that the last time I used this forum, it was very helpful for both my sanity, and in helping to solve my problem.  That being said, here's the scoop...
    My computer has decided it no longer wants to POST.  This is the same problem I experienced months and months ago, and which I reused all of the solutions that I used back then to fix the problem.
    Now, the difference here is that I've made absolutely no changes whatsoever to my system in the last few days, and yet it decided to stop working.  Due to that fact, I can somewhat safely state that I have the correct amount of power (480W), and that my timings and voltages and such were all set to nominal, if not optimized values.  It would seem that something else has gone awry during the normal, day-to-day operations.
    I have a theory as to what the problem may be, but to avoid influencing the jury one way or the other, I will withhold my speculations until such time as it seems to meet the general concensus of the group.  
    In detail, here is what happens when the unit is powered up:
    All of the lights, fans, hard drives, video card (fan), and CD drives light up and/or spin as expected.  The hard drive light comes on (and stays on for 30 seconds or so), much like it did the last time I had this trouble.  I wait for the beep, and there's nothing.
    Now, just to repeat what I said earlier, I did all of the reseating and plug checking, as well as clearing the CMOS and swapping out the CPU.  I dropped down to one stick of memory to avoid any conflicts on that front.  I pulled every card in the system, including video and the add-on sound card I was using and tested each individually.  I yanked all of the drives as well as their power plugs.  The only thing I couldn't rule out for certain is the power supply, the motherboard itself, and/or the remaining memory stick.  
    Since it is very uncommon for memory to just 'go bad', I feel pretty certain that isn't the issue.  The motherboard itself obviously isn't -dead-, dead, as it does at least spin up all of the attachments.  Power of some sort is making its way to the devices, so the powersupply isn't totally fried.  In short, there is nothing obviously wrong.
    Now, one other thing of interest is the fact that the computer did this exact same thing a few days ago, and eventually restarted after about the 3rd or 4th power up / down cycle.  I typically send my computer into sleep mode to avoid the boot up time, and this was following one such sleep cycle.  I pressed the assigned key on my keyboard, and power flowed, but no POST.  
    So, that's the story.  If anyone thinks they can confirm what has failed, I'd be happy to hear it.
    Thanks,
    Jaceson
    865 PE/Neo2 FISR
    52X Lite-On CD-R/W
    Phillips DVD-R/W
    Western Digital 80 and 120 Gb drives
    Radeon X800 XT
    3.2 Ghz HT enabled Northwood, Not O/C'd
    1 Gb Corsair XMS 400DDR matched memory
    Antec TrueBlue 480
    Audigy 2 sound card

    In reference to the memory testing, I have used multiple utilities, including Memtest86, for full days worth of testing back when I was having reboot problems.  There wasn't a single error during all of the testing I performed...
    As for the CPU/CMOS...as I mentioned in the first part of this post, I swapped out the CPU with a known working chip with the same no POST result.  Additionally, I have cleared the CMOS several times, including leaving the jumper on pins 2/3 for over an hour, just to be sure.  I'm fairly certain the clearing worked, as the power started flowing immediately when the power supply switch was flipped, as opposed to having to push the button on the front.  As I understand it, this is fairly common behavior once the CMOS has been cleared.
    I'm certainly open to more suggestions, but I have tried these particular ones already  Short of removing the CMOS battery, I'm not sure if I could be any more thorough in clearing the CMOS.  I'm really starting to suspect something is wrong at the hardware level, in spite of the few signs of life that are shown by the board.  If anything, I'm the last person to pull the old "This board is crap;  I'm getting one from " sort of nonsense.  I've been quite pleased with this MB to date.
    Let me know if there's anything else you think I could try.
    Thanks,
    Jaceson

  • Why can I no longer post in a message forum??

    I belong to a message forum and have previously posted using my Touch. Recently, I am able to view posts, but can no longer respond or create new posts. When I click on the "message window" the keyboard does not pop up, just a gray rectangle... Any ideas? Is there a Safari upgrade I need, and if so, where or how do I do that? Thanks!!

    Thank you both for your quick responses. I am now able to log in correctly. I did Ctl+Shift+r to reload the page from the server & deleted all of the cookies for that page. Now I am able to log in as before. I no longer have to open a Private Browsing Session Window.
    My first thought yesterday when I was trying to fix this problem on my own, was to delete the cookies. Then I thought that if the cookies WERE corrupt I would not be able to log in even with a Private Browsing Session. I see now that I probably should have at least tried my idea.
    I REALLY appreciate the help with this. My problem is fixed & I'm good to go!! THANK YOU!

  • AE CS6 - Focusrite Forte driver no longer supported?

    Hi,
    Following the latest update to AE CS6 my focusrite forte audio card is no longer accepted?  It works fine in every other program including the latest AE CC and all other Adobe CC programs and also Abelton Live, Cubase, Windows Media, Quicktime etc.
    If i add an audio track into a project in AE CS6 and try to play back I get the following error message...
    Audio Driver not supported, please re-configure your device or change Audio Output, alarmingly I'm also sometimes getting the BSOD!, which I've never had since building this machine. 
    I have all the latest drivers for both the focusrite forte and Adobe CS6 installed and like I say until the last update is was working fine.
    Can someone please look into this, I dont know what else to try.  I like using AE CS6 instead of CC because of the massively overlooked god awful lag everytime CC tries to search for a file not on a super high speed SSD, by the way when is the fix for this coming?
    If you need any additional info then please ask
    My comp specs
    Windows 7 64 bit
    Intel core i7 3930K
    32 gig ram
    AMD Firepro V7900 Graphics
    Focus Rite Forte USB 2 Audio
    All the best
    Si

    Thanks for the info Todd,
    I get that many updates for CC products I start to lose track, AE CC does seem to be working a lot better now...
    Do you know have any info about my sound card problem? Another reason I like using CS6 is because I have a lot of Foundry plugins installed on that version so a fix would be greatly appreciated.
    All the best
    Si

  • Query running for long post upgrade to Oracle 11g from 10g

    The below query is running for a very long time post upgrade of database from 10g to 11g.
    SELECT default_supplier
      FROM (SELECT pv.vendor_name || '-'
                   || pvsa.vendor_site_code default_supplier
              FROM mrp_item_sourcing_levels_v mislv,
                   mfg_lookups ml1,
                   mfg_lookups ml2,
                   mfg_lookups ml3,
                   mtl_system_items_b msib,
                   po_vendors pv,
                   po_vendor_sites_all pvsa
             WHERE msib.segment1 = :b1
               AND msib.organization_id = :b2
               AND mislv.inventory_item_id = msib.inventory_item_id
               AND mislv.organization_id = msib.organization_id
               AND ml1.lookup_type = 'MRP_SOURCING_RULE_TYPE'
               AND ml1.lookup_code = mislv.sourcing_rule_type
               AND ml2.lookup_type = 'MRP_ASSIGNMENT_TYPE'
               AND ml2.lookup_code = mislv.assignment_type
               AND pv.vendor_id = mislv.vendor_id
               AND pvsa.vendor_site_id = mislv.vendor_site_id
               AND pvsa.vendor_id = mislv.vendor_id
               AND ml3.lookup_type = 'MRP_SOURCE_TYPE'
               AND ml3.lookup_code = mislv.sourcing_level
               AND mislv.sourcing_level =
                      (SELECT MIN (sourcing_level)
                         FROM mrp_item_sourcing_levels_v
                        WHERE inventory_item_id = msib.inventory_item_id
                          AND organization_id = msib.organization_id)
            UNION
            SELECT ood.organization_code default_supplier
              FROM mrp_item_sourcing_levels_v mislv,
                   mfg_lookups ml1,
                   mfg_lookups ml2,
                   mfg_lookups ml3,
                   mtl_system_items_b msib,
                   org_organization_definitions ood
             WHERE msib.segment1 = :b1
               AND msib.organization_id = :b2
               AND mislv.inventory_item_id = msib.inventory_item_id
               AND mislv.organization_id = msib.organization_id
               AND ml1.lookup_type = 'MRP_SOURCING_RULE_TYPE'
               AND ml1.lookup_code = mislv.sourcing_rule_type
               AND ml2.lookup_type = 'MRP_ASSIGNMENT_TYPE'
               AND ml2.lookup_code = mislv.assignment_type
               AND ml3.lookup_type = 'MRP_SOURCE_TYPE'
               AND ml3.lookup_code = mislv.sourcing_level
               AND ood.organization_id = mislv.source_organization_id
               AND mislv.sourcing_level =
                      (SELECT MIN (sourcing_level)
                         FROM mrp_item_sourcing_levels_v
                        WHERE inventory_item_id = msib.inventory_item_id
                          AND organization_id = msib.organization_id))
    From the trace files, we see that the issue is with the seeded view, mrp_item_sourcing_levels_v.
    Need pointers for fixing the performance.    

    The ETRM says this about the view:
    ***** Warning: Oracle Internal Use Only *****
    Oracle Corporation does not support access to Oracle
    applications data using this object, except from standard Oracle Applications programs.
    which is a powerful suggestion that you should not be addressing this view directly. Looking at the source code for the view, it has a bunch of UNIONs that may prevent view merging, and all the queries have loads of hints coded within them. So really, there is little you can do about this.
    It looks pretty simple to re-write your query to avoid addressing this view, you are using it only to retrieve a couple of columns. If you look at the source code for the view you'll see that you can get them easily without going through the view.
    John Watson
    Oracle Certified Master DBA

Maybe you are looking for

  • How do I add my new lapttop to my family iTunes? I downloaded music, but cannot play it

    How do I add my new lap top to my family iTunes? I downloaded music, but cannot play it on my laptop

  • How can I use data merge, within a master, within a book?

    Hi all, I am producing an 84pp catalogue for multiple brands. I have it set up as: 1x .indd document per spread Master styles within one .indd document for black text, white text etc. Book setup to contain all of the .indd files to make up the 84pp b

  • Handling unit without inventory management

    Hi Experts, In our scenario, we have Goods reciept from production into Storage location 1000 which is IM managed, Later the stocks are transfer posted into storgae location 1100 which is HU/WM managed. Now in 1100 i have found HU's which have been c

  • Apple TV update not rebooting?

    I tried the new ATV update today and my ATV did not seem to reboot properly. I unplugged it from power, replugged it, and saw a green screen with the iTunes logo and up arrow and a USB connector.  It seemed to be asking my to attach to iTunes as you

  • 10.1.2: Problem with ConrolHint Date-Formatter

    Hi, when defining an control hint of format type Simple Date and format "yyyy-MM-dd G 'at' hh:mm:ss" in an EO the business components browser shows values like "2005-01-04 n. Chr. at 12:00:00". But the SQL column contains a correct time fragment like