This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Ron McLeod

Marshal
+ Follow
since Feb 12, 2013
Ron likes ...
Android Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
Richmond, BC, Canada
Cows and Likes
Cows
Total received
466
In last 30 days
7
Total given
232
Likes
Total received
836
Received in last 30 days
7
Total given
1599
Given in last 30 days
45
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt Green check
expand Greenhorn Scavenger Hunt

Recent posts by Ron McLeod

I am trying to use NGINX as a security gateway for TLS traffic (ProtoBuf over TLS, not HTTP over TLS), where TLS is terminated by NGINX with the unencrypted stream is proxied to the application.

I have a working configuration, but SELinux is complaining that NGINX is not permitted to bind to my ingress port (in my testing I was using port 12345):

It seems like I may need to register a new port type, associate the port number with the new port type, and then associate the new port type with the nginx application  Have I got this correct?  Any pointers on where I can a practical example?  I'm new to SELinux.

OS is CentOS Linux release 7.8.2003.
2 hours ago
Could you use a Maven plugin like ModiTect to create the module-info.java descriptors that you may need?
1 day ago
I haven't had a need to work with the module system, but it appears like the current version does include the module name in the manifest.  Maybe there is more to it that I don't understand?
1 day ago
Why isn't Apache Commons Text an option?
2 days ago
Congratulations to all of you!
                
3 days ago
Its easy to do with JakartaEE/MicroProfile using CDI - not sure how to do something similar with Spring.

4 days ago

Pieter Vandevelde wrote:I realized it was wrapped but I account for that don't I? Otherwise it wouldn't even create the object, but throw an exception.


I think GSON silently ignores missing fields and leaves them with their default values, which in your case in null.
1 week ago

Pieter Vandevelde wrote:I also don't understand why I would need the wrapperclass, I use the same way before without any issues


Compare the structure of the JSON payloads between what you had previously and what you have now to see what the differences might be.
1 week ago
Your data is structured as an array of wrapper objects of order object

Your type: List<OrderSummary>> is an array of order objects.
My type: List<WrappedOrder>> is an array of wrapper objects, where the wrapper object contains an order object.
1 week ago
Here's what your payload looks like:
The data for the order object is wrapped in an unnamed outer object.

This may not be the best solution, but here's an example of something to work with the data that is being returned:
1 week ago
If you mean em dash (—), it is a type of pause or interruption similar to a semicolon.  I see it a lot in communications between business professionals both within a company and between people in different companies.  Examples of colon vs. em dash vs. comma:


Dear Ms. Shiralkar:

This is a formal message.



Monica—

This is a less formal, but not too friendly message.



Hi Monica,

This is a friendly message.
1 week ago
Since you are running a Linux platform, you can use logrotate to manage Tomcat's log files.
1 week ago

Campbell Ritchie wrote:What did you think of Udemy? For a long time everybody who mentioned it spoke highly of Udemy, but in the last couple of years a few posts have appeared complaining about Udemy.


I've had a lot of success with Udemy.  I search for courses with a 4 out of 5 star or rating higher, and I also always check-out the preview lessons to get a feel for the quality of the material, how it is presented, and quality of the audio including the speaker's dialect/accent.  Also, when I find an instructor that I really enjoy, I check to see what other courses the instructor has which might also be interesting, and sign-up for those as well.

Like Darren mentioned, the $10USD price tag is great (if they are not priced at $10 in the app, it is usually quite easy for find a coupon/code to bring the price down).
After over a year's lapse, we decided to re-invent the Journal.  It is now an "editor's picks" format brought to you by the staff of JavaRanch.  Read what your favorite moderators think is hot!

2020
  • July 2020 Journal
  • June 2020 Journal
  • April 2020 Journal
  • March 2020 Journal
  • February 2020 Journal


  • 2019
  • November 2019 Journal
  • October 2019 Journal
  • September 2019 Journal
  • August 2019 Journal
  • July 2019 Journal
  • June 2019 Journal
  • May 2019 Journal
  • April 2019 Journal
  • March 2019 Journal
  • February 2019 Journal
  • January 2019 Journal


  • 2018
  • December 2018 Journal
  • November 2018 Journal
  • October 2018 Journal
  • September 2018 Journal
  • August 2018 Journal
  • July 2018 Journal
  • June 2018 Journal
  • April 2018 Journal
  • March 2018 Journal
  • February 2018 Journal

  • 2017
  • December 2017 Journal
  • November 2017 Journal
  • October 2017 Journal
  • September 2017 Journal
  • August 2017 Journal
  • July 2017 Journal
  • June 2017 Journal
  • May 2017 Journal
  • April 2017 Journal
  • March 2017 Journal
  • February 2017 Journal
  • January 2017 Journal


  • 2016
  • November 2016 Journal
  • October 2016 Journal
  • September 2016 Journal
  • August 2016 Journal
  • July 2016 Journal
  • May 2016 Journal
  • April 2016 Journal
  • March 2016 Journal
  • February 2016 Journal
  • January 2016 Journal


  • 2015
  • October 2015 Journal
  • July 2015 Journal
  • May 2015 Journal
  • April 2015 Journal
  • February 2015 Journal
  • January 2015 Journal


  • 2014
  • December 2014 Journal
  • October 2014 Journal
  • July 2014 Journal
  • June 2014 Journal
  • May 2014 Journal
  • April 2014 Journal
  • March 2014 Journal
  • February 2014 Journal
  • January 2014 Journal


  • 2013
  • December 2013 Journal
  • October 2013 Journal
  • September 2013 Journal
  • August 2013 Journal
  • July 2013 Journal
  • January 2013 Journal


  • 2012
  • September 2012 Journal
  • August 2012 Journal
  • July 2012 Journal
  • June 2012 Journal
  • March 2012 Journal
  • February 2012 Journal
  • January 2012 Journal


  • 2011
  • October 2011 Journal
  • August 2011 Journal
  • July 2011 Journal
  • June 2011 Journal
  • May 2011 Journal
  • April 2011 Journal
  • March 2011 Journal
  • February 2011 Journal
  • January 2011 Journal


  • 2010
  • December 2010 Journal
  • November 2010 Journal
  • October 2010 Journal
  • September 2010 Journal
  • August 2010 Journal
  • July 2010 Journal
  • June 2010 Journal


  • 2009 and earlier Journals
    1 week ago