Jeanne Boyarsky

author & internet detective
Marshal
+ Follow
since May 26, 2003
Jeanne likes ...
Eclipse IDE Java VI Editor
New York
Cows and Likes
Cows
Total received
623
In last 30 days
12
Total given
99835
Likes
Total received
3683
Received in last 30 days
40
Total given
2614
Given in last 30 days
39
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt Green check
expand Greenhorn Scavenger Hunt Green check

Recent posts by Jeanne Boyarsky

Guri Tuna wrote:

Jeanne Boyarsky wrote:I did it years ago. What is your question?



Hi my question is. Did you show the standard java classes on your class diagram as well;? such as java.net.rmi or java.util or java.io vs.


No. They aren't part of the application deployment so I see no reason to include them.
Ah ok. I thought you were proposing only one await() rather than re-using the Cyclic Barrier. Your code does work since the barriers are the same size and not executing in parallel.

There's two reasons we used separate barriers:
1) Clarity
2) We wanted to print out a message that the pen was cleaned. The second barrier takes care of this for us.
Lando,
I think you should continue on in Notepad while you are learning. You'll learn the syntax better that way.

IDEs are great when you have larger projects though. It is common in professional projects to have hundreds/thousands of classes in a project. Then being able to see how they relate and such is invaluable.
1 day ago

Henry Wong wrote:
Just by guessing at the code... Perhaps, it is not possible to start cleaning the pen until all animals have been removed? Otherwise the animals may be hurt? Perhaps, it is not possible to add animals to the pen until the cleaning process have been completed? Again, otherwise the animals may be hurt?


It's a lion pen. I'd be more concerned with the people cleaning the pen to be hurt!

A. Aka wrote:I tried with one CyclicBarrier and it works, so I was wondering why it was necessary to have 2 distinct CyclicBarriers


How do you know? With threads, it is easy to have something happen by coincidence and appear to work.

Image from Amazon
Title: The Professional Product Owner: Leveraging Scrum as a Competitive Advantage
Author(s): Don McGreal and Ralph Jocham
Publisher: Addison-Wesley Professional
Category: Agile

Addison-Wesley Professional wrote:The Professional Product Owner will help product owners and their organizations refocus on value as the primary objective. The authors offer detailed practices for identifying where value can be found, measuring it, and maximizing it throughout the entire product lifecycle. Drawing on their combined 40+ years of experience in using agile and Scrum in product delivery, the authors show how to go beyond merely writing requirements and managing product backlogs, to take accountability and drive the process from vision to value.



Book Preview (when available)


From the publisher
  • table of contents


  • Where to get it?
  • Amazon
  • PAddison-Wesley Professional


  • Related Websites
  • Scrum Alliance
  • 2 days ago
    [review_grid]
    https://coderanch.com/wiki/691076/books/Core-Java-SE-Impatient-Edition
    http://coderanch.com/t/660904/books/Murach-HTML-CSS-Anne-Boehm
    http://coderanch.com/t/660909/books/OCM-Java-EE-Enterprise-Architect
    http://coderanch.com/t/660915/books/EJB-Action-Edition-Debu-Panda
    http://coderanch.com/t/660916/books/OCA-Java-SE-Programmer-Certification
    http://coderanch.com/t/660917/books/Murach-Android-Programming-Joel-Murach
    http://coderanch.com/t/660933/books/Essence-Software-Engineering-Applying-SEMAT
    http://coderanch.com/t/660934/books/Core-Java-Volume-II-Advanced
    http://coderanch.com/t/660936/books/Java-Application-Architecture-Modularity-Patterns
    http://coderanch.com/t/660940/books/Java-SE-Programming-Essentials-Michael
    http://coderanch.com/t/660942/books/Murach-MySQL-Joel-Murach
    http://coderanch.com/t/660984/books/Scrum-Field-Guide-Practical-Advice
    http://coderanch.com/t/660985/books/Essential-Skills-Agile-Developer-Guide
    http://coderanch.com/t/660986/books/Murach-Java-Programming-Joel-Murach
    http://coderanch.com/t/660988/books/Murach-JavaScript-Edition-Mary-Delamater
    http://coderanch.com/t/660989/books/Iron-Clad-Java-Building-Secure
    http://coderanch.com/t/660990/books/Learning-Agile-Understanding-Scrum-XP
    http://coderanch.com/t/660991/books/Java-SE-Impatient-Short-Basics
    http://coderanch.com/t/661040/books/Murach-Java-Servlets-JSP-Edition
    http://coderanch.com/t/661042/books/Functional-Thinking-Paradigm-Syntax-Neal
    http://coderanch.com/t/661043/books/Object-Oriented-Thought-Process-Edition
    http://coderanch.com/t/661044/books/Murach-jQuery-Edition-Zak-Ruvalcaba
    http://coderanch.com/t/661152/books/Test-Automation-Selenium-WebDriver-Java
    http://coderanch.com/t/661505/books/Scrum-Field-Guide-Agile-Advice
    http://coderanch.com/t/661506/books/Microsoft-Office-Step-Step-Joan
    http://coderanch.com/t/661507/books/Digital-Photography-Seniors-Jason-Rich
    http://coderanch.com/t/662649/books/Jenkins-Definitive-Guide-John-Ferguson
    http://coderanch.com/t/662651/books/Continous-Delivery-Jez-Humble-David
    http://coderanch.com/t/664111/books/Murach-Anne-Boehm-Joel-Murach
    http://coderanch.com/t/665193/books/Docker-Action-Jeff-Nickoloff
    http://coderanch.com/t/669541/books/Programmer-Guide-Java-SE-Oracle
    http://coderanch.com/t/669711/books/Soft-Skills-software-developer-life
    http://coderanch.com/t/671902/books/Business-Blockchain-William-Mougayar
    http://coderanch.com/t/671042/books/CS-Detective-Jeremy-Kubia
    http://coderanch.com/t/670234/books/Pragmatic-Unit-Testing-Java-JUnit
    http://coderanch.com/t/672977/books/OCA-Java-SE-Programmer-Study
    https://coderanch.com/wiki/677665/books/Women-Tech-Tarah-Wheeler-Van
    https://coderanch.com/wiki/678770/books/Practice-Java-Level-Ayo-Agboola
    https://coderanch.com/wiki/679811/books/Murach-Python-Programming-Michael-Urban
    https://coderanch.com/wiki/681451/books/Strengths-Finders-Tom-Rath
    https://coderanch.com/wiki/682432/books/Deep-Work-Cal-Newport
    https://coderanch.com/wiki/683057/books/Murach-Java-Programming-edition-Joel
    https://coderanch.com/wiki/683058/books/Girls-Code-Learn-Code-Change
    https://coderanch.com/wiki/684154/books/Manager-Guide-Continuous-Delivery-Andrew
    https://coderanch.com/wiki/678793/books/Learn-Linux-Month-Lunches
    https://coderanch.com/wiki/671285/books/OCA-Java-SE-Programmer-Certification
    https://coderanch.com/wiki/684779/books/Phoenix-Project-DevOps-Helping-Business
    https://coderanch.com/wiki/685190/books/Modern-Java-Recipes-Ken-Kousen
    https://coderanch.com/wiki/687381/books/Learn-Java-Easy-Hands-Introduction
    https://coderanch.com/wiki/690852/books/Cracking-Codes-Python-Introduction-Building
    https://coderanch.com/t/657201/books/Code-Crime-Scene-Adam-Tornhill
    https://coderanch.com/t/653206/books/Nature-Software-Development-Ron-Jeffries
    https://coderanch.com/t/650719/books/Pragmatic-Unit-Testing-Java-JUnit
    https://coderanch.com/t/650322/books/Programming-Elixir-Dave-Thomas
    https://coderanch.com/wiki/694127/books/Head-Agile-Andrew-Stellman-Jennifer
    https://coderanch.com/wiki/694318/books/Introduction-DevOps-Chocolate-LEGO-Scrum
    https://coderanch.com/wiki/694902/books/Optimizing-Java-Ben-Evans-James
    https://coderanch.com/wiki/695460/books/Learning-Spring-Boot-Author-Greg
    https://coderanch.com/wiki/696613/books/Professional-Product-owner-Don-McGreal
    [/review_grid]
    2 days ago
    I'm not a product owner, but I thought reading this book would give  me more insight into what one does. It worked.

    Each chapter begins with a quiz of yes/no questions. The answers are at the end of each chapter. I like this a way of focusing in on the learning objectives.

    I like the anti-patterns of the “wrong” product owners. I also like the callout boxes with stories from the authors.

    There were a number of good analogies that I hadn't heard before. One was renting vs owning a house in terms of feeling ownership. And the field of earless cows for getting what you measure (if you ask for cow ears...).  And the “requirements can end up as an overzealous shopping list”

    There were also some terms I hadn't heard before like the Wizard of Oz MVP that Zappos used. Just a UI and humans fullfilling orders behind the scenes at first. And the different types of requirements risk.

    For the obvious vs complex vs complicated vs chaos, I would have wanted a chart or table comparing them all. As terms got introduced, they covered how it compares across the prior introduced types. But it was a lot to remember.

    Overall, the book was enjoyable to read and I learned from it.

    I give this book 9 out of 10 horseshoes.

    Disclosure: I received a copy of this book from the publisher in exchange for writing this review on behalf of CodeRanch.
    2 days ago

    Image from Amazon
    Title: The Professional Product Owner: Leveraging Scrum as a Competitive Advantage
    Author(s): Don McGreal and Ralph Jocham
    Publisher: Addison-Wesley Professional
    Category: Agile

    Addison-Wesley Professional wrote:The Professional Product Owner will help product owners and their organizations refocus on value as the primary objective. The authors offer detailed practices for identifying where value can be found, measuring it, and maximizing it throughout the entire product lifecycle. Drawing on their combined 40+ years of experience in using agile and Scrum in product delivery, the authors show how to go beyond merely writing requirements and managing product backlogs, to take accountability and drive the process from vision to value.



    Book Preview (when available)


    From the publisher
  • table of contents


  • Where to get it?
  • Amazon
  • PAddison-Wesley Professional


  • Related Websites
  • Scrum Alliance
  • 2 days ago
    1) Capacity and size are different. An ArrayList is stored as an array. Capacity is the current length of that array. Whereas size is the number of elements actually stored in the array/arraylist.

    2) ensureCapacity() is used to guarantee a certain capacity. If the underlying array is not large enough, it increases then. This is rarely useful. It could be for performance critical code so the resize happens up front. (You probably wouldn't be using ArrayList in this case anyway.) Another reason is that you know you are adding a very large number of elements. You'd want the capacity to incrase all at once vs repeatedly as the code realized it is out of space again.

    3) Not easily. You could use reflection. Think about why you need to know the capacity.

    4) Each time you add an element.
    2 days ago
    Yes, if they are about the path. If they are more specific, I recommend that you start a new thread.
    Note that my previous post is just the syntax in xpath. I didn't think you could return an attribute as a webelement in Selenijm. So I tried it

    This complains that I'm trying to return an attribute rather than a tag.


    This means that you need to use


    That will return you the anchor elements. Then you'll get the attribute for "href" from within Java or whatever language you are calling the Selenium code form.
    2 days ago
    Contains takes two parameters. So it would be

    2 days ago
    Bit Bucket is source control. You need a binary repository manager like Nexus or Artifactory to be able to pull the jar.
    2 days ago
    The Moose just tweeted about this. Good luck!
    2 days ago
    Did they make you a verbal offer? IN other words, how do you know they are making you an offer vs just requesting information?
    2 days ago