Jeanne Boyarsky

author & internet detective
+ Follow
since May 26, 2003
Jeanne likes ...
Eclipse IDE VI Editor Java
Merit badge: grant badges
Forum Moderator
Jeanne Boyarsky currently moderates these forums:
Cows and Likes
Cows
Total received
908
In last 30 days
3
Total given
100069
Likes
Total received
4865
Received in last 30 days
5
Total given
3616
Given in last 30 days
4
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt Green check
expand Ranch Hand Scavenger Hunt Green check
expand Greenhorn Scavenger Hunt Green check

Recent posts by Jeanne Boyarsky

This week, we're delighted to have Mark Liu helping to answer questions about the new book Learn Generative AI with PyTorch.
See the book page for the table of contents and sample content.

Additionally, Manning is offering offering 45% off all Manning Products using the code GENTORCH45


The promotion starts Tuesday, March 12th, 2024 and will end on Friday, March 15th, 2024

We'll be selecting four random posters in this forum to win a free copy of the book provided by the publisher, Manning.


Image from https://images.manning.com

Please see the Book Promotion page to ensure your best chances at winning!

Posts in this welcome thread are not eligible for the drawing, and should be reserved for welcoming the author. Questions posted in this topic are subject to removal.
We had a 12 hour outage yesterday (Monday United States time). We haven't figured out what happened yet. As far as I can tell, all the cows ran off, the goat chewed on the cables and we ran out of apple barrels .

We've been back up about 24 hours now so it seems stable. Practical jokers put everything back?
1 week ago

Crystal Kirscht wrote:I discovered the same thing. Only it only compiles in Eclipse and in VSCode (which both use Java 17). However when I run Java from the command line on the same code it does not compile. I'm not sure what is different


Can you type


My guess is your command line is using Java 21 and triggering the change in behavior Paul mentioned.
And answering the questions more directly

Is this valid/legal?


I'm not a laywer, but it seems legal if you agreed to that when paying for the course.

Can a company restrict me from taking the exam?


Not if you buy it directly from Oracle

Does Oracle validate in some way, that a student has taken a course from X company?


No. Taking a course is not a requirement and Oracle doesn't check on course registration when signing up/taking the exam.

Can I take the exam on my own? (After studying of course)


Absolutely! You can also take the exam without a course. A study guide is a common approach for those not taking a course (disclosure: I write a study guide)
David,
That is not a requirement from Oracle. To register for the exam, you sign up for a free account and pay money.

Does the training course include the cost of the exam in the training fee? If so, they can impose restrictions on you using that shot. (My guess is they want to ensure a high pass rate). But nothing stops you from taking it on your own.
[review_grid]
https://coderanch.com/wiki/691076/books/Core-Java-SE-Impatient-Edition
https://coderanch.com/t/660904/books/Murach-HTML-CSS-Anne-Boehm
https://coderanch.com/t/660909/books/OCM-Java-EE-Enterprise-Architect
https://coderanch.com/t/660915/books/EJB-Action-Edition-Debu-Panda
https://coderanch.com/t/660916/books/OCA-Java-SE-Programmer-Certification
https://coderanch.com/t/660917/books/Murach-Android-Programming-Joel-Murach
https://coderanch.com/t/660933/books/Essence-Software-Engineering-Applying-SEMAT
https://coderanch.com/t/660934/books/Core-Java-Volume-II-Advanced
https://coderanch.com/t/660936/books/Java-Application-Architecture-Modularity-Patterns
https://coderanch.com/t/660940/books/Java-SE-Programming-Essentials-Michael
https://coderanch.com/wiki/718761/books/Murach-MySQL-Joel-Murach
https://coderanch.com/t/660984/books/Scrum-Field-Guide-Practical-Advice
https://coderanch.com/t/660985/books/Essential-Skills-Agile-Developer-Guide
https://coderanch.com/t/660986/books/Murach-Java-Programming-Joel-Murach
https://coderanch.com/t/660988/books/Murach-JavaScript-Edition-Mary-Delamater
https://coderanch.com/t/660989/books/Iron-Clad-Java-Building-Secure
https://coderanch.com/t/660990/books/Learning-Agile-Understanding-Scrum-XP
https://coderanch.com/t/660991/books/Java-SE-Impatient-Short-Basics
https://coderanch.com/t/661040/books/Murach-Java-Servlets-JSP-Edition
https://coderanch.com/t/661042/books/Functional-Thinking-Paradigm-Syntax-Neal
https://coderanch.com/t/661043/books/Object-Oriented-Thought-Process-Edition
https://coderanch.com/t/661044/books/Murach-jQuery-Edition-Zak-Ruvalcaba
https://coderanch.com/t/661152/books/Test-Automation-Selenium-WebDriver-Java
https://coderanch.com/t/661505/books/Scrum-Field-Guide-Agile-Advice
https://coderanch.com/t/661506/books/Microsoft-Office-Step-Step-Joan
https://coderanch.com/t/661507/books/Digital-Photography-Seniors-Jason-Rich
https://coderanch.com/t/662649/books/Jenkins-Definitive-Guide-John-Ferguson
https://coderanch.com/t/662651/books/Continous-Delivery-Jez-Humble-David
https://coderanch.com/t/664111/books/Murach-Anne-Boehm-Joel-Murach
https://coderanch.com/t/665193/books/Docker-Action-Jeff-Nickoloff
https://coderanch.com/t/669541/books/Programmer-Guide-Java-SE-Oracle
https://coderanch.com/t/669711/books/Soft-Skills-software-developer-life
https://coderanch.com/t/671902/books/Business-Blockchain-William-Mougayar
https://coderanch.com/t/671042/books/CS-Detective-Jeremy-Kubia
https://coderanch.com/t/670234/books/Pragmatic-Unit-Testing-Java-JUnit
https://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
https://coderanch.com/wiki/697883/books/Java-Comparison-Java-Craftsman-Examples
https://coderanch.com/wiki/698235/books/Complete-Guide-Open-Source-Big
https://coderanch.com/wiki/698234/books/Making-Work-Visible-Exposing-Time
https://coderanch.com/wiki/705383/books/Java-Nutshell-Ben-Evans-David
https://coderanch.com/wiki/706459/books/Python-Continuous-Integration-Delivery-Moritz
https://coderanch.com/wiki/707038/books/AWS-Certified-Developer-Associate-Guide
https://coderanch.com/wiki/707744/books/Murach-Programming-Joel-Murach-Mary
https://coderanch.com/wiki/715844/books/Java-Module-System-Nicolai-Parlog
https://coderanch.com/wiki/728549/books/Clean-Agile-Robert-Martin
https://coderanch.com/wiki/728931/books/Building-Blockchain-Apps-Michael-Yuan
https://coderanch.com/wiki/730278/books/Programming-AWS-Lambda-John-Chapin
https://coderanch.com/wiki/687640/books/Understanding-Rules-Simple-Design
https://coderanch.com/wiki/731892/books/Java-Programmer-edited-Kevlin-Henney
https://coderanch.com/wiki/734408/books/AWS-Certified-Solutions-Architect-Study
https://coderanch.com/wiki/734409/books/AWS-Certified-Solutions-Architect-Practice
https://coderanch.com/wiki/734410/books/Bitcoin-Clarity-Guide-Understanding-Kiara
https://coderanch.com/wiki/734633/books/Modern-JavaScript-Impatient-Cay-Horstmann
https://coderanch.com/wiki/738055/books/Career-Toolkit-Mark-Herschberg
https://coderanch.com/wiki/744253/books/Fixing-Scrum-Ryan-Ripley-Todd
https://coderanch.com/wiki/747116/books/Agile-Retrospectives-Ester-Derby-Diana
https://coderanch.com/wiki/752088/books/Murach-Java-Programming-ht-edition
https://coderanch.com/wiki/753092/books/Head-Git-Learner-Guide-Understanding
https://coderanch.com/wiki/753093/books/Head-Java-Brain-Friendly-Guide
https://coderanch.com/wiki/754406/books/Terraform-Associate-Certification-Exam-Practice
https://coderanch.com/wiki/754405/books/Terraform-Associate-Certification-Study-Guide
https://coderanch.com/wiki/754404/books/GraphQL-Action-Samer-Buna
https://coderanch.com/wiki/754403/books/Terraform-Action-Scott-Winkler
https://coderanch.com/wiki/755503/books/Data-Structures-Fun-Jeremy-Kubica
https://coderanch.com/wiki/755502/books/DevOps-Tools-Java-Developers
https://coderanch.com/wiki/755654/books/Kotlin-Cookbook-Ken-Kousen
https://coderanch.com/wiki/770839/books/IntelliJ-IDEA-Trisha-Gee-Helen
https://coderanch.com/wiki/771173/books/Practical-Design-Patterns-Java-Developers
https://coderanch.com/wiki/772426/books/Transitioning-Java-Ken-Fogel
https://coderanch.com/wiki/779875/books/Murach-MySQL-edition-Joel-Murach
[/review_grid]
3 weeks ago
I reviewed the third edition of “Murach's MySQL” four years ago.

The fourth edition is your typical Murach book. It's great for learning something new because of the paired page format. We have syntax/queries/tables on one side and text on another. I was recently able to find information faster in a Murach book than online (on Python) because of this format!

Each chapter ends with exercises to reinforce the knowledge. I was happy to see the section on design covered levels of normalizations. I liked the sections on stored procs and transactions. The tables were easy to understand and provided good examples.  The stored program/procedure sections were good as well.

The new content on AWS was great. And the appendices for Windows and Mac were helpful. This is a great book for someone new to databases.

I give this book 8 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.
3 weeks ago

Image from Amazon
Title: Murach's MySQL (4th Edition)
Author(s): Joel Murach
Publisher: Mike Murach & Associates

Summary

Mike Murach & Associates wrote:Ihe latest edition of Murach’s classic MySQL book does a better job than ever of teaching the SQL statements that every database developer should know. Each chapter features clear examples, easy-to-understand explanations, best practices, and helpful tips.To start, this book presents the SQL statements for retrieving and updating the data in a database. These are the most important SQL statements because developers use them every day. Then, it shows how to design a database, how to implement that design, and how to work with views, transactions, stored procedures, functions, triggers, and events. Finally, it presents a starting set of skills for a database administrator (DBA) including how to manage security, how to backup and restore a database, and how to host a MySQL database with Amazon Web Services (AWS).The result? You’ll be able to use SQL to work with a MySQL database in a way that’s thoroughly professional.Every Murach book guarantees high quality. The realistic examples show how each feature works in context. The exercises at the end of each chapter let you gain valuable hands-on experience. And the distinctive “paired-pages” format is ideal for learning and reference./quote]


Book Preview (when available)



From the publisher

  • Table of Contents (PDF)
  • Chapter 3 - How to retrieve data from a single table ()
  • Book Applications and Exercises (ZIP)
  • Corrections (Where to get it?
  • [url=https://www.amazon.com/Murachs-MySQL-Reference-Joel-Murach/dp/B0CHMPQ3FC" target="_blank" rel="nofollow">Amazon.com
  • Mike Murach & Associates



  • Related Websites
  • MySQL

  • 3 weeks ago
    I've made a note to see if we want to change anything next time we look at it.

    Anil Philip wrote:

    Jeanne Boyarsky wrote:The locale is specified but there are no matching files so Java goes on to the default locale.


    Jeanne Boyarsky wrote:Next, it looks for a value for type property. Since it doesn’t find it in the first
    properties file, it checks the default toothbrush.properties, where it does find it, and
    prints generic. For these reasons, option B is correct.



    But the book does not say that now it starts looking for properties, and it just shoots up to the generic toothbrush.properties.


    The toothbrush thing is an explanation for a question though. It's providing a summary of the reasons, not explaining as if the study guide hasn't been read. The chapter part does explain it more thoroughly (ex: the table)

    Stephan van Hulst wrote:I see. Yes, that's incorrect.

    Either steps 1, 2, 5, 6 are taken if you explicitly specify a locale, or steps 3, 4, 5, 6 are taken if you don't explicitly specify a locale.


    I still think the table is correct. Try deleting the "fr" file from your file system and running the same example. It finds the spanish one.

    The locale is specified but there are no matching files so Java goes on to the default locale.

    Anil Philip wrote:

    Jeanne Boyarsky wrote:
    And to use different words since Anil is confused,


    Please see the screenshot of the table from the book. Step 2 and Step 3.
    It looks for fr and then goes to the default en_US.


    I don't see how it is incorrect. We are talking about the "Finding the Locale to use step". If fr isn't found, it goes on looking. But in the question we are discussing in this thread, fr is used. So it doesn't go on any further looking up a locale. If found the fr one so now knows to use that.

    Crystal Kirscht wrote:Why is the duplicate variable declaration allowed in question 8 but not in question 28?


    This is the essence of what makes flow scoping tricky!

    First, look at this example. C is not in scope at the println because of the return statement. If o is a Cat, the method returns and never gets to the println. Question 8 uses an else rather than a return, but the idea is the same. If you get to the else you know the type didn't match.



    Now what about this one?  The only change is that I've negated the if statement (and added parens so the negate compiles.)  This time, the println does compile. The if statement checked if o is not a Cat and returned immediately. This pattern is useful for validations. (often throwing an exception.) So by the time we get to the print, we've guaranteed o is a Cat and are able to use c just fine. This is equivalent to the example in question 28.



    If my teammates wrote code like question 28, I'd ask them to change it. But the goal here is testing understanding of flow scope. And it worked. You found out that you were missing a part of the concept when reading this chapter and not on the exam. Far better time to learn this!


    The s vs o in the explanation is an errata and I've logged it crediting you.