Karina Guenther

Ranch Hand
+ Follow
since Sep 16, 2005
Graduated From Metro State College with a BS in Computer & Management Science in 1986. Worked in Cobol and Mainframe programing until 2000 when I learned Java, Have steadily improved and expanded my skills in Java and moved into web development ever since.
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Karina Guenther

Thanks so much for the detailed explanation. You verified some of what I was thinking. Yes at this time I am the only person on my branch. Furthermore, they have it setup that when a pull request is succesfully completed and the branch is merged it is deleted and I'm trying to keep my local branches clean as well.  Do you have a favorite location with clear - precise steps / commands for reference?

So, I've been doing some research on git rebasing as I'm the only person working on my branch and I'd like to avoid merge conflicts before the merge request finds them. I've found 2 methods using command line and I'm confused about the commands and if one is safer to use than the other. Then of course there's using merge from develop instead, but at least one of these recommends rebasing everyday.

One step that neither mentions is that if there are changes I've made that I do NOT want to commit that I need to stash them.

One method is from

git Rebase how to use it properly.

and it's steps are:
• go to your feature branch
• git fetch
• git rebase -i origin/develop. (NOTE: i don't fully understand what this command does... Is it pulling the newest from remote develop or just my local?)
• it will open the editor and remove all commits that are NOT yours
• then close the editor
• if there are conflicts, fix it manually, save and commit it
• git rebase — continue
• #important, don’t do any git pull to merge from remote
• git push — force-with-lease (overwrite the remote even there is divergent) (NOTE: this seems dangerous)

the 2nd is from git Best practices

It's steps are:
  • # grab the latest stuff from origin/master to update your local master branch
         > git checkout master
         > git pull origin master
  • # go back to MYBRANCH and now rebase with the changes in your local master branch
    >. git checkout MYBRANCH
    > git rebase master
  • # if you encounter merge conflicts… edit each affected file, then git add that file.  Then
    >  git rebase --continue
  • [list]# commit your updated branch to origin.  May require a -ff to force.
    >. git push origin MYBRANCH

    What steps do you prefer to ensure that your branch will merge?
    One of the biggest problems that I am having in applying for a job these days is passing the code challenges.

    Especially when they do things that I've not run into in the real world. I can do them fine except that it usually takes longer than the time allotted. Would this help me solve those faster?

    for example  math problems needing to know various math tricks like all the primes - I didn't know the math trick of looping only up to the square root.
    or processing lists. Usually I'm just streaming them and not comparing elements against each other. like finding the max difference between 2 numbers in an array without sorting it or things like that. Or

    Another was listing the 3rd grandchildren of a person. I've not needed to utilize a lot of regression and thinking through the logic of it took a long time.

    so agina:  Would this help me solve those faster?
    9 months ago
    I really liked this link posted previously as a way to help you decide where to start. But if you decide to make a career of software development, you will have to learn more than one language. coding is easy if you have a logical mind. Software Development is hard as there are a lot of pieces that you have to coordinate. And so your projects can grow, you need to learn architecture ie how to design your application so that it can grow and you can maintain it. One set of books that I recomend that teach this is the HeadFirst set of books. My only complaint is that they have yet to update their Java book to Java 8.  

    1 year ago
    So I made a modification and added

    Now I'm getting:

    2 years ago
    for some reason the following code won't compile:

    However, this does compile:

    So, unless I specifically state Collectors - it won't compile yet I see examples without it everywhere. Could the examples be wrong?

    My java version is:

    My import statements are:

    So, what is wrong?

    the error message I'm getting on the command line is:

    MathTricks.java:82: error: cannot find symbol
    2 years ago
    I know I can do that. HOWEVER, I don't want to have to do that. Plus, I still have to change the jre in the build properties. I want it to automatically use the java that I have specified in Eclipse when I create the project. Or even in some settings file somewhere.

    Ron McLeod wrote:Have you tried specifying the compiler version properties?

    2 years ago
    I'm trying to build a maven project in Eclipse using the "create a simple project / skip archetype". I have JDK 1.8xx, JDK 11 and jdk 12. In eclipse I have it pointed to jdk 12 for my installed jre.

    java_home is set to: java 12
    Maven is 3.6

    Right now when I create a empty simple maven project it defaults to java 1.5. I know I can change that in the pom, but I want to have it default to at least java 8 when It is created, so I don't have to do that.
    How do I do that? I've not really found an answer any place. It it even possible?
    2 years ago
    Eclipse IDE has a plugin called EGit which works to sync with github, gitlab or bitbucket.

    you may also require to setup ssh keys.

    Ok, I thought at 1st that didn't answer my question at all and then I looked at the path in the error msg that you pointed out and realized that it was a combination of 2 directories. So I looked at my preferences in Eclipse and realized that I was using a full path for both the home of my ssh keys and the key file. When I removed the path for the key file, it worked:

    So, in Eclipse: Windows/Preferences/NetworkConnections/SSH2 on the General tab: in the SSH2 Home the SSH2 directory: C:\Users\Owner\.ssh
    and in Private Keys instead of C:\Users\Owner\.ssh\id_rsaFoxWork reduce it to just id_rsaFoxWork.

    Tim Holloway wrote:I use an http git server, so I'm less familiar with git under ssh and especially ssh in Windows, but this:

    Looks like a mangled version of a more traditional ssh command:

    Allowing for rhe fact that the "C:\Users\Owner" would actually be a remote login ID, not a Windows directory path. And the C:\Users\Owner\mykeyRSA_id would be the public key you were given to access the server without having to login via userid/password.

    Check your remote configuration under the "Team" submenu for the project.

    2 years ago
    I've got eclipse 2018 and upgraded to 2019 and suddenly I cannot connect to my repository.
    the error I'm getting is:

    What is going on?
    2 years ago

    Junilu Lacar wrote:I'm not sure how Groovy/Spock is considered to be not Object-Oriented. Groovy is in fact more object-oriented. The only minus will be that you'll need to learn a somewhat new language/syntax with Spock and Groovy. It's also a JVM language so you can test Java code and you have access to all standard Java library classes.

    Blame my unfamiliarity with how they work and how I see them being used at my new job. Is there a good place to go for how they should work?
    2 years ago