Design/Improvement Question

Hi!
I've recently been tasked with making sure that all of the connection to a certain account are set up when we moved it to a new oracle server/instance(done by comparing the results of several queries). I've developed a small program to help make my life easier and to gain a little knowledge in java. The thing works, I'm just curious as to if there is a better way of doing the task. Currently here is my process:
Using System.out and System.in
Get the account name I'm testing from user (which will be me most of the time but in-case I decide to share my toy).
Get username and password(99.999% of the time it'll be a default username/pw that we have access to I just added the option in-case it's for a production server that the default doesn't work on).
Get the two instances to compare.
Create two urls for JDBC based on the instance
Start running the queries(Prepared Statements) that return Lists<String>
Compare the two lists
Output the differences into an excel file using apache POI.
So my question is this; Is my design ok? (Specifically my compare method is what I'm unsure about) Do you have any suggestions for improvement? How would you do this differently? (Swing is off the table for now, maybe as another learning session I'll try to do the same thing but with a gui)
I'm fairly new to java programming, which is probably obvious, so I appreciate all feedback and criticisms.
public static void main(String args[]){
     GetInformationFromUser first = new GetInformationFromUser();
     //get info from the user
     first.setAccount();
     first.setInstance();
     first.setUserNameandPW();
     //do same for a second account
     //Create 2 connections
     DatabaseConnection dbc = new DatabaseConnection();
     Connection firstCon = dbc.createURL(first.getInstance(), first.getUserName(), first.Password());
     Connection secCon = dbc.createURL(sec.getInstance(), sec.getUserName(), sec.Password());
     //open up the database connection and run the queries
     List<String> firstList = dbc.callQuery1(firstCon, first.getAccount());
     List<String> secList = dbc.callQuery1(secCon, sec.getAccount());
     List<String> differences = dbc.compare(firstList, secList);
     dbc.output(differences);
}Then my compare method is similar to this:
public class DatabaseConnection {
    public List<String> callQuery1(Connection con, String account){
        //Run a prep statement
        //use the ResultSet to fill a List
        //return the list
    public List<String> callQuery2(Connection con, String account){
        //Same Idea as 1
    public List<String> callQuery3(Connection con, String account){
        //Same Idea as 1
    public List<String> compare(List<String> first, List<String> second, String firstInstance, String secInstance){
        List<String> differences = new ArrayList<String>();
        for(String s : first){
            if(second.contains(s)){
                //do nothing (don't care about similarities only what is missing)
            }else{
                differences.add(firstInstance +" has "+ s +" that "+ secInstance +" doesn't");
         for(String s : second){
             if(first.contains(s)){
                 //do nothing (don't care about similarities; only what is missing)
              }else{
                 differences.add(secInstance + " has " + s + " that " + firstInstance + " doesn't");
        return differences;
}Thanks!

The design seems fine.
I would suggest that you use Set instead of List as Set ignores the order of entries. It is also simple to find the differences using sets by taking a copy and doing removeAll()

Similar Messages

  • Layout / Design View questions

    This is the sort of thing I've wondered about before, but
    would really like to get to the bottom of.
    Sometimes things seem to go a bit funny in design view -
    although the page will display correctly in a browser - but can
    anyone let me know if there is something not quite right somewhere,
    or if it actually really matters?
    As an example, I've posted some screenshots on the link
    below. The only difference is that the 'footer' div has been added
    to the second page. They're both fine in the browser, but as you
    can see from the screenshots, the first is fine in design view, but
    the second (the bottom two screenshots) it all looks wrong.
    Basically is this anything to worry about?
    Even if it isn't, it is a bit annoying, as from a design POV
    it's good to see things as they should be!
    screenshot
    1
    My second question is about TD widths - in these pages I have
    a wrapper div set at 780px, and in the table containing the
    navigation, they navigation buttons/graphics seem to need to be one
    px narrower than they actually are (54 instead of 55px etc) in
    order for them to line up to the total 780px, as per the screenshot
    below :
    screenshot
    2
    If anyone could shed any light on any of this it would be
    greatly appreciated.
    Cheers,
    Iain

    dukla wrote:
    > Basically is this anything to worry about?
    No its nothing to worry about.
    I don't know what version of DW you are using but all
    versions up to
    2004 didn't handle css that well.
    I believe DW8 has improved. However having said that I have
    found a lot
    of the time that it also has a lot to do with how you write
    the css. I
    can't believe version 8 can possible cover all eventualities
    so it
    probably still shows the odd thing or two incorrectly.
    Personally I never had much trouble with DW04. It works
    pretty well with
    the css I write.
    > Even if it isn't, it is a bit annoying, as from a design
    POV it's good to see
    > things as they should be!
    Yeah it does get a bit annoying but you have to work through
    it.
    > My second question is about TD widths - in these pages I
    have a wrapper div
    > set at 780px, and in the table containing the
    navigation, they navigation
    > buttons/graphics seem to need to be one px narrower than
    they actually are (54
    > instead of 55px etc) in order for them to line up to the
    total 780px, as per
    > the screenshot below :
    >
    >
    http://www.handprintwebdesign.co.uk/CollinsBartholomew/tableDesign.htm
    >
    > If anyone could shed any light on any of this it would
    be greatly appreciated.
    I don't think this web thing is totally precise and sometimes
    you have
    to 'hack' it to do the job. Usually if thing are a px out I
    don't bother
    unless it screws the design up in too mmnay browsers.

  • Adobe LiveCycle Designer 8 Questions Go Here

    You can use this forum for questions relating to Adobe LiveCycle Designer 8. LiveCycle Designer 8 is available as part of the trial for Adobe Acrobat Professional 8, and will be available in a standalone version in 2007.
    There are a lot of improvements to Designer in LiveCycle Designer 8, but the main concepts and UI is the same. Because of that, we won't be creating a seperate forum for LC Designer 8, we'll use this same forum (which has been renamed to just "LiveCycle Designer".
    If you have questions, please post them in this thread.
    Thanks!
    Mike

    Just upgraded to Acrobat 8. My users are now receiving a warning when the form is opened in adobe reader 7.0.8 that says "WARNING, this form is not supported with the current version of adobe reader. Upgrade tot he latest version for full support." THis message seems to stay for quite a while, and is confusing the users who have the latest version of adobe reader.

  • Misc Basic PL/SQL Application Design/Programming Questions 101 (101.1)

    ---****** background for all these questions is at bottom of this post:
    Question 1:
    I read a little on the in and out parameters and that IN is "by reference" and OUT and IN-OUT are by value. To me "by reference" means "pointer" as in C programming. So it seems to me that I could call a function with an IN parameter and NOT put it on the right side of an assignment statement. In other words, I'm calling my function
    get_something(IN p_test1 varchar2) return varchar2;
    from SP1 which has a variable named V_TEST1.
    So.... can I do this? (method A):
    get_something(V_TEST1);
    or do I have to do this (method B):
    V_TEST1 := get_something(V_TEST1);
    Also, although this may muddy the thread (we'll see), it seems to me that IN, since its by reference, will always be more efficient. I will have many concurrent users using this program: should this affect my thinking on the above question?
    -- ******* background *******
    So Far:<< I've read and am reading all over the net, read and reading oracle books from oracle (have a full safari account), reading Feurstein's tome, have read the faq's here.
    Situation Bottom Line:<< Have an enormous amount to do in a very little time. Lots riding on this. Any and all pointers will be appreciated. After we get to some undetermined point I can re-do this venture as a pl/sql faq and submit it for posting (y'alls call). Some questions may be hare brained just because I'm freaking out a little bit.
    Situation (Long Version):<< Writing a pl/sql backend to MS Reporting Services front end. Just started doing pl/sql about 2 months ago. Took me forever to find out about ref-cursor as the pipe between oracle and all client applications. I have now created a package. I've been programming for 20 years in many languages, but brand new to pl/sql. However, pl/sql sql has freed me from myriad of limitations in MS RS's. My program is starting to get big (for me -- I do a lot in a little) pks is currently 900 lines with 15 functions so far. Currently SP (pls) is back up to 800 lines. I get stuff working in the sp then turn it into a function and move it to the package.
    What does application do?:<<<< Back End for MS Reporting Services Web front end. It will be a very controlled "ad-hoc" (or the illusion of ad-hoc) web interface. All sql queries are built at run-time and executed via "open ref cusor for -- sql statement -- end;" data returned via OUT ref_cursor. Goal is to have almost 100% of functionality in a package. Calling SP will be minimalist. Reporting Services calls the SP, passes X number of parameters, and gets the ref_cursor back.
    Oracle Version: 10.2 (moving to 11g in the next 3 months).Environment: Huge DW in a massively shared environment. Everything is locked down and requires a formal request. I had to have my authenticated for a couple dbms system packages just to starting simple pl/sql programs.

    Brad Bueche wrote:
    Question 1:
    I read a little on the in and out parameters and that IN is "by reference" and OUT and IN-OUT are by value. To me "by reference" means "pointer" as in C programming. So it seems to me that I could call a function with an IN parameter and NOT put it on the right side of an assignment statement. The IN parameter is not passing by reference. It is passing by value. This means variable/value of the caller used as parameter, is copied to the (pushed) stack of code unit called.
    An OUT parameter means that the value is copied from the called unit's stack to the caller (and the current value of the caller's variable is overwritten).
    To pass by reference, the NOCOPY clause need to be used. Note that is not an explicit compile instruction. The PL/SQL engine could very well decide to pass by value and not reference instead (depending on the data type used).
    Note that the ref cursor data type and the LOB data types are already pointers. In which case these are not passed reference as they are already references.
    The NOCOPY clause only make sense for large varchar2 variables (these can be up to 32KB in PL/SQL) and for collection/array data type variables.
    As for optimising PL/SQL code - there are a number of approaches (and not just passing by reference). Deterministic functions can be defined. PL/SQL code can be written (as pipelined tables) to run in parallel using the default Oracle Parallel Query feature. PL/SQL can be manually parallelised. Context switches to the SQL engine can be minimised using bulk processing. Etc.
    Much of the performance will however come down to 2 basic issues. How well the data structures being processed are designed. How well the code itself is modularised and written.

  • Forum for graphic design related questions?

    Does anyone know of any good graphic design discussion forums? I'm looking for a place to ask questions about typography, color, layout, etc.
    Thanks in advance.

    Not as much activity on soem of these, btu here are some good ones
    http://typophile.com/
    http://www.underconsideration.com/brandnew/
    http://www.howdesign.com/forum/

  • Simple Design Analysis Question before designing dimensions and facts

    Hi I have a simple question ... (I think its simple)
    Suppose that i have the following staging table with the following columns:
    Student_Name | RollNo | Test_Date | Subject-Taken
    with data such as
    Kevin |123|12-4-2010|Physics
    now suppose that I want to design a cube on the basis of the above table so that I can succesfully get the result of a query such as
    List the names of all those students who took the test b/w 12-4-2010 to 12-5-2010 of the Subject Physics
    Here what i need to know what dimensions/Levels would u set and what would be our fact?
    I think that one dimension would be time ( but i am not sure how i would  accommodate and handle duration... any idea )
    would it be wise to make each column a dimension ??? for example the student_nanme a dimension and details of the student its attributes??
    Anyways the main thing is what bothers me is looking at the query we see that we are required 3 things the name of the student , the TestDate and subject taken so if i make the 3 columns the  dimension i am still not sure that i would be able to acomodate the query properly...any ideas on how to approach and handle these situations
    Edited by: Johnacandy on Dec 14, 2010 9:26 AM

    ScoobySi wrote:
    Yes I mean Time dimension, however in a DW you will have many Time dimensions, instead of creating a physical object for each you use a ROLE. If you edit a dimension in OWB you'll see that you can specify a ROLE on the first tab.
    Thanks for the great explaination... could you explain the process of roles a little more that will really save me some time... furthermore u stated
    + "instead of creating a physical object for each you use a ROLE" +
    The way i create dimensions is right clicking dimensions and selecting dimension.... for a standard dimension
    however incase of a time dimension i use a wizard... I am still a bit confused about "Physical objects" ... Id really really appreciated it if you can clarify this up...
    as discussed before one dimension would be Student and other would be subject
    and 3rd one would be TEST_DATE with role ?? and should that be a time_dimension or a standard dimension with a role defined ???

  • Designer datamodel questions

    I've got a couple of questions about how to do a few tasks in Designer.  First, a little background:<br />I've got a dataconnection called "report_data" that's derived from and xml schema.  The structure of the schema is somehing like this: <br /><report><br />    <job_description><br />       <name/><br />       <start_date/><br />       <end_date/><br />    </job_description> <br />    <task><br />       <name/><br />       <description/><br />       <resource> <br />            <name/><br />            <cost/><br />       </resource><br />       <subtask><br />          <name/><br />          <description/><br />            <resource> <br />               <name/><br />               <cost/><br />           </resource><br />       </subtask><br />    <task><br /></report><br /><br />a report has a single jobdescription, and multiple tasks.  Each task has a name and decription, multiple resources, and multiple subtasks.  Each subtask has a name and description, and multiple resources.<br /><br />I've designed a report entry form, with multiple subforms for job_description, tasks, resources, and subtasks.  I've then bound these subforms to the datamodel.  This is all good and works.  The problems start occuring when I want this form to be dynamic.  The Task subform has a button "add_new_task", which adds a new task to the report.  It does this by calling a function "add_new_task()" in a script object.  The function is as follows:<br />function add_new_task(){<br />    var t_node = xfa.datasets.dataDescription.report.task.clone(1);<br />    t_node.resolveNode("name").value = "task " + (xfa.record.resolveNodes("task[*]").length + 1).toString();<br />    xfa.record.nodes.append(t_node);<br />    xfa.form.remerge();<br />}<br />This function appears to work, new instances of the task subform are appended to the document. <br /><br />The task subform also contains subtask subforms.  They are added with a button "add_new_subtask", that calls a function "add_new_subtask(task)".  the function is as follows:<br />function add_new_subtask(task){<br />    var st_node = xfa.datasets.dataDescription.report.task.subtask.clone(1);<br />    st_node.resolveNode("name").value = "subtask " + (xfa.record.resolveNodes("subtask[*]").length + 1).toString();<br />    task.nodes.append(s_node);<br />    xfa.form.remerge();<br />}<br /><br />The button click function is:<br />scripts.add_new_subtask(xfa.record.task);<br /><br />Resources work in a similar way.<br /><br />The problem is now that when I try to create subtasks, they are appended to the initial task, not the task associated with the current record.  Same thing for Resources.<br /><br />Doesn't xfa.record refer to the current record?  If not, how to I determine the current record?  xfa.dataWindow.currentRecordNumber is always returning 0.  I'm assuming that's because there is only 1 instance of the report.  How do I determine the record associated with a given subform?  Is there a better way than using the index of the subform and getting the record with the same index?

    To determine the instance of the record associated with a given subform, you can get the subform's
    index property value. Since new instances are created with the same name as siblings of one another, they end-up getting index numbers in order to make them unique.
    For example, if you create a new instance of the Task subform, you'll have "Task[0]" and "Task[1]" where
    this.index will be 0 or 1. If it's an object parented to the Task subform which needs to know the instance of the Task subform/record in which it occurs, you can use the
    parent property to drill up to the Task subform which contains the object in question and then get its index property value.
    Creating bookmarks is a little more complicated. Unfortunately, XFA doesn't support bookmarks so you have two options:
    Use the xfa.host.setFocus("field name") method to set focus, when the user clicks a button, to a field somewhere on the form to have Acrobat automatically scroll the field in view and set focus to it (see post #6 of the
    Links Within PDF thread for an example); or
    Use the
    target property of the event object you get in an XFA event script to access the Acrobat Document object and then programmatically add bookmarks to the form (but
    this will only work if the form is viewed using Acrobat):
    event.target.bookmarkRoot.createChild("Next Page", "this.pageNum++");
    I'm not familiar enough with creating bookmarks in Acrobat to elaborate further on the subject but you can read more about it in the
    Acrobat JavaScript Scripting Reference.
    I hope this helps!
    Stefan
    Adobe Systems

  • Why hasn't Adobe navigation and user interface design improved as much as it could have over time?

    I haven't tried CS6. I'm sure it's great based on what i've seen alone. But as a user of adobe products for a number of years, i have to noticed there are still a lot of stagnant,awkward, stiff, irriating, slowing down elements found in the navigation and user interface on cs3-cs5, that i'm sure could have been eliminated or improved on at least from 2005 or 2007 onwards. I find some of these things inexcusable and unprogressive from bad traits that defined 1980's and 1990's general computer navigation and so on.
    CS5.5 has lessned this a bid bit and is more fluid in bits and pieces but for those using cs3-cs5 and in general, i find some things just horrid. As a graphic designer no one is supposed to admit the flaws or irrations of these programs. We must hail them as god, never critisize, and always adjust to new things which i think is a bit fascististic and silly
    The way the tools, options are laid out can be improved to be quicker, and easier to find and use. Using your voice as a commanding system would be helpful as well.
    A lot of cmds are too complex to remember, they can be simplier or resemble the name of the tool or option. Its makes a chore to follow this system and competition for the smart *** who memormized all the cmds.
    The way in which you loose floating side boxes, and the amount of tools or names hidden in the bars sometimes seem random and its always a constant search to find them incase you forget where they are.
    The inability to open cs4 or 5 files in cs3 is just beyond extremly annoying. Whey shouldn't you be able to open cs1 or 2 files or photoshop 9 files  as well? Every five years work expires as well?
    The layering system gets tricky and seems that a lot of things don't work when you normally move things. Its about going back, remembering and clicking on this or that, looking it up to make everything work. Sometimes which leaves you in a rut and wastes a good amount of time. You will always find this even after you've been using it for years.
    The use of the fill paint/airbrushing, clone tool, lasso tool, pen tool, history being two steps back can be vastly improved to be much better to use
    Masking and tools that have more complex features should find a way be automatically done or sampled. They can also have less complex steps and tha ability to be  previewed,  automatic or simpler  ( in case you can't remember how to do something or aren't getting it)
    A lot of the special effects, and blending modes are useless, outdated, super-ugly and don't resemble  true darkroom effects ( such as polarization, and bas-relief for example)  which they could much more vividly done. There also could be more options that are closer to repro cameras/CTP software for halftoning and more complex digital effects.
    Having to press or get used to pressing muliple keys or clicks for the most basic things simultaneously can be reduced to be easier
    Adjusting text, new documents, photos should have a smoother, quicker navigational experince where things a lot of room to be , clicked back, re-done, saved in the wrong place etc..
    Indesign could use more shapes, include more features that illustrator has, and possibly even photoshop to save time.
    There should be a way to remind you of features, complex things you've forgotten, other than history and daily usage/practice of the programs
    The help should resemble more of "visual -learners" guide books with voice features.
    There are a lot more
    Regarding other things:
    I think the price encorages more piracy and allows people to not have a concept of what is means to owning software.
    The loss of a manual or lessening of them for certain programs is a loss because it's always useful to  physical info you can flip through while looking at your program.
    I think adobe should make entirely better products for professionals or people in the industry rather than spoonfeeding the same software to all.
    They should also make less expensive add-ons like before for graphic software.
    What do you adobe could have improved over time and if so what do you think they could have improved on?

    You have this wishform to suggest improvements to Adobe products:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    and the Creative Suites forums are here:
    http://forums.adobe.com/community/creativesuites
    This specific forum is only for discussions on the forums themselves, so you are not very likely to get any change by posting your comments here.

  • Design View question

    Good evening,
    I'm working on a site using a Dreamweaver template and for
    some reason my "Design View" shows up only like you'll see in the
    top image on this page:
    http://community.middlebury.edu/~nmeiers/question.htm
    I want the pages to appear like the template I put on the
    bottom so I can see the design. It used to look like that and I
    don't know what I changed. Any ideas?
    (Yeah, I know Design View isn't ideal, but I'm not very good
    at this and I like seeing the graphics.)
    Thank you,
    Nick

    Looks like for the top image the style sheet isn't attached.
    Walt
    "Topkdlfs" <[email protected]> wrote in
    message
    news:gcro26$pnf$[email protected]..
    > Good evening,
    > I'm working on a site using a Dreamweaver template and
    for some reason my
    > "Design View" shows up only like you'll see in the top
    image on this page:
    >
    >
    http://community.middlebury.edu/~nmeiers/question.htm
    >
    > I want the pages to appear like the template I put on
    the bottom so I can
    > see
    > the design. It used to look like that and I don't know
    what I changed. Any
    > ideas?
    >
    > (Yeah, I know Design View isn't ideal, but I'm not very
    good at this and I
    > like seeing the graphics.)
    >
    > Thank you,
    > Nick
    >

  • ACE: design/config question: trans.slb + slb + mngt

    Hi,
    Could this ACE setup/design work?
    I want PROXIED sessions (to VIP proxy 10.0.0.10) to be loadbalanced
    All other sessions (eg. Some public ip's) will have to transparent loadbalanced to proxy servers. Thus not destinations NAT
    ACE is inline between firewalls and proxy servers.
    Vip definitions:
    class-map match-all P_PXYVIP_VS_LB
    2 match virtual-address 10.0.0.10 255.255.255.255 tcp 8080
    class-map match-all P_PXYTRANS_VS_LB
    2 match virtual-address 0.0.0.0 0.0.0.0 tcp any
    Question in this case: would it still be possible to have management sessions towards proxy servers routed by the ACE ? (physical ip addresses of proxy)
    Probably the classmap PXYTRANS is catching those sessies also.
    Are there other design/config solutions to solve this one?
    Thank you!
    Wim

    Let me repose the question:
    How could one still be able to access the realserver IP (which is directly connected
    to the ACE) for manangement.
    Knowing that there is 1 VIP which (normal) loadbalance to the realservers
    and
    there is 1 VIP 0.0.0.0 tcp any which is configure to catch all other traffic to be
    transparant loadbalanced.
    The VIP 0.0.0.0 is always catching the sessions which need only to be routed
    to the real servers ip.

  • Designing internationalization questions

    We are building a mid-size to large JEE multi-tiered application. We have not done internationalization before and I have a few questions about the designing before I begin. I have read the tutorial, and many other articles, and kind of understand how it all works, but have a few questions that might be better suited to some people with real world experience. For now I am focusing on the Client side of the application so labels, checkboxes, tooltips, buttons..... mostly UI things. The application is currently only in English, but in the future could be in other languages
    1) When building the properties files is the best route to build a separate file for each UI java file (there are many), or one properties file for the whole client side application, or one properties file per package? What is best in the real world for maintenance, performance and adding other locals as needed.
    2) Is the best practice to store these properties files in the each source code package or design another package that mirrors what the source package looks like for the properties files.
    3) When the application is finished would it be best to keep all the resource files in a separate jar?
    If anyone has some real world expertise for us to avoid some mishaps in the future they would be greatly. Any advice or explanations would be great as well.
    Thanks

    In my experience, the greatest problem is none of the three questions that you ask. For me, the problem is how to manage key names. You must remember them and make no typing mistakes. Therefore, I try to create enums for the keys. In most IDE's one has a type ahead function to aid in selecting a proper member of some class. Please have a look at the following example (that can be extended, but it gives an idea):
    import java.util.Enumeration;
    import java.util.ResourceBundle;
    import java.util.Vector;
    public class ResourceBundleWithEnums extends ResourceBundle {
        public enum Key {
          * The text of a label.
         LabelText("A label"),
          * The text of a button.
         ButtonText("A button"),
         private final String value;
         private Key(String value) {
             this.value = value;
        private static final Vector<String> keyStrings;
        static {
         Key[] keys = Key.values();
         keyStrings = new Vector<String>();
         for (Key key : keys) {
             keyStrings.add(key.name());
        public static void main(String[] args) {
         ResourceBundle bundle = ResourceBundle
              .getBundle(ResourceBundleWithEnums.class.getName());
         System.out.println(bundle.getString(Key.ButtonText.name()));
         Enumeration<String> enumeration = bundle.getKeys();
         while (enumeration.hasMoreElements()) {
             String key = enumeration.nextElement();
             System.out.println(key + " = " + bundle.getString(key));
        @Override
        public Enumeration<String> getKeys() {
         return keyStrings.elements();
        @Override
        protected Object handleGetObject(String key) {
         try {
             return Key.valueOf(key).value;
         } catch (Exception e) {
             return null;
    }For your translations, you may design some editor that creates properties files.
    Hope this helps,
    Piet

  • Absolute beginner: shirt design related questions

    hi all. i thought i'd be as detailed as possible to give you an idea of what my questions are:
    i have some hand-drawn art/design for a t-shirt. so i took some pictures, and my daughter opened them up in photoshop elements 6. she was able to easily trace over my pencil lines, BUT the lines were not smooth at all. say i drew a circle. it is not so much that it is not a perfect circle, especially if free-handed, but that the edges of the line of that circle are not smooth.
    turns out elements can't do that, after i called adobe. they suggested illustrator, which i am currently demo'ing. when i had my daughter (she's 17, been playing with elements rather well) try to do it illustrator, it wasn't as intuitive as both of us thought. it's gotten her stumped.
    for the most part, that's all i want to do. pull up a picture of a hand-drawn sketch, and draw it in illustrator with some smooth lines. i would very much appreciate some guidance on what to do!
    stumped!
    THANKS IN ADVANCE.
    jack

    Jack,
    When you start from scratch in this kind of program, you just have to read the instructions. Otherwise, you'll be floundering about forever being confused. Vector drawing programs like Illustrator are not immediately intuitive to someone who is accustomed only to working in raster image programs (i.e.; Photoshop, etc.).
    Vector graphics is the "other half" of the computer graphics world. In a program like Illustrator, you're not recoloring pixels; you're creating and manipulating objects, most of which are mathematically-defined shapes called paths. You draw paths, give them strokes and/or fills, move them about, stack them, scale them, arrange them so that together they comprise a piece of artwork.
    Go to the help files, start at the beginning, read through it like a book, perform the operations described. You'll then get the conceptual principles down and start using the thing with much less frustration. It will take time. This isn't the kind of graphics program you just dive into blind, have someone tell you a few command sequences, and start doing productive work in. You have to read the instructions.
    JET

  • PKI Design / Migration - Questions

    Hello,
    Our organization currently uses a single-tier enterprise root CA for issuing certificates; We are growing and I would like redo this design in accordance with MS Best practice.  
    I just have a few questions:
    My original thought was to add an enterprise subordinate CA and decom the Enterprise root CA we currently have running but I am not sure if this possible or recommended as I am reading many articles stating that you should deploy a standalone root CA (offline)
    then create a enterprise subordinate CA for issuing certificates.  
    If this is the case how would I migrate servers / users over to use the new PKI infrastructure without causing service disruptions? 
    Thank You

    I just want to have some answers to give MGMT when they ask.
    Here's your own answer:
    ...and I would like redo this design
    in accordance with MS Best practice.  
    Brian gave you best practice.
    1 X standalone root CA (off line) – for security
    2 X issuing CA's - Enterprise subordinate CA:
    2X - for redundancy
    Enterprise – so that they use AD for certs, CRL, autoenrollment etc.
    I would also add that if you will not be revoking existing certs issued by the old CA, you may increase CRL publication interval on the old CA from default one day to 99 years. This basically leaves you with static CRL and static CDP web site (you don't
    need to publish CRL on the old CA each day).
    http://blogs.technet.com/b/pki/archive/2012/01/27/steps-needed-to-decommission-an-old-certification-authority-without-affecting-previously-issued-certificates-and-then-switching-all-operations-to-a-new-certification-authority.aspx

  • Query Design/Implementation Question

    Hi,
    I have to query the database based on different input values from a JSP page. So, A user can query the database based on one or more fields. My question to you is what would be an efficient way to write the queries or implement this using JDBC. Should I write PreparedStatements for every possible combination of the query fields. Should I write stored procedures ? I had problems with the PreparedStatement earlier and I still do, so just to keep my developement going I wrote a stored procedure. If you read my previous post you can read the whole story.
    So, this is more of a design question. Let the ideas flow.
    Any help or suggestion will be appreciated.
    Thanks,
    Prasoon

    Hi Justin,
    This I got from an earlier post on this forum and you said that doing this was a very bad idea. Why ? I am doing this just as a workaround to my current problem.
    So, basically I would have a temporary table for every query field in my JSP page. This table I would create in separate stored procedures and then finally do an AND to get the result ?
    This feels dirty to me too but can u suggest a better way ?
    Thanks,
    Prasoon
    stored procedure, temporary table, and result sets Nov 6, 2003 6:39 PM
    Reply
    Pls, Help me with the folloing questions:
    1. Is it possible to declare and use temporary tables in a stored procedure? How?
    2. Is it possible to return a result set, or recordset from a stored procedure? How?
    These might be a very basic one, but as a beginer in Oracle Databse, I am having hard time to find out good source of technical materials.
    Justin Cave
    Posts: 5,786
    OTN Member Since: Oct, 1999
    Re: stored procedure, temporary table, and result sets ( In Reply To : stored procedure, temporary table, and result sets ) Nov 6, 2003 7:17 PM
    Reply
    1) You certainly can declare and use temporary tables in a stored procedure. On the other hand, doing so strikes me as a manifestly bad idea, so I would strongly caution you not to. If you explain a bit about what you're trying to accomplish, I'm sure there are better ways.
    If you did want to create temporary tables in a stored procedure, you'd have to use dynamic sql, i.e.
    execute immediate 'create temporary table foo...'
    2) You can return resultsets from a stored procedure by declaring an OUT parameter which is a REF CURSOR.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

  • Technical Design Review Question: mySAP Execution Architecture.

    I got my hands on technical design documentation for a project on COPA budget. I came up with a few questions but I will post them separately for fast closing and awards:
    1. In the Requirements discussion, I came across something
    “Job naming conventions apply… and completion of Autosys Job Schedule request form is required….Forward this form to the mySAP Execution Architecture team for processing”
    Is this a an internal team or it refers to some group at SAP company?
    Is the Autosys Job Schedule request form a standard for or you think the environment had just come up a form for their internal processes? What may this include?
    Thanks.

    Hi,
    If I understood correctly, The organization wants to maintain a document on jobs to be maintained regularly in production system. It will be used as a  reference in the support of BW production activities.
    I hope, the mySAP Execution Architecture team for processing is the internal team from your client.
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by: Anil Kumar Sharma

Maybe you are looking for

  • How do i add a custom ringtone to iphone 4s

    how do i add a custom ringtone to an iPhone 4s? thx

  • Unable to Connect to Oracle 10gR1 database from JDeveloper 11g using OCI JD

    We are migrating our application from OC4J to Weblogic server. As a part, I am trying to create a database connection in JDeveloper 11g (11.1.1.3.0 - Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660) to Oracle 10gR1 database. Previously I had Orac

  • Html db 1.5 to 2.0

    Hi everybody, It's possible to upgrade an application from 1.5 to 2.0 or we've to go from 1.5 to 1.6 and going 1.6 to 2.0 ? Thank you very much. Bye.

  • Font won't display or print following upgrade to Reader 9

    Since "upgrading" the other day to Reader 9, Monotype Corsiva will no longer display or print on my .pdf documents.  I had no problems with the font displaying or printing prior to then.  I tried copying the font and pasting it in the Fonts folder, b

  • Help with Loader component!

    hi, i've got a Loader component on a swf i call holder.swf i am loading an external.swf in this loader i have a variable called music in holder.swf. is there any way for me to access the variable music that was defined in holder.swf, from the externa