This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin forum!

Henry Wong

author
+ Follow
since Sep 28, 2004
Henry likes ...
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
New York City
Cows and Likes
Cows
Total received
140
In last 30 days
0
Total given
665
Likes
Total received
2227
Received in last 30 days
3
Total given
328
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Henry Wong

Scheduled promotions:

Note: We can run more than one promo in a given week, so check for updates.

Starting DateCoverBookAuthor(s)PublisherCodeRanch Forum
February 19Kotlin for Android App DevelopmentPeter SommerhoffAddison-Wesley ProfessionalKotlin
February 26Head First KotlinDawn & David GriffithsO'ReillyKotlin
March 5Available
March 12Core Java, Volume II--Advanced FeatureCay HorstmannPrentice HallJava in General
March 19Python Continuous Integration and DeliveryMoritz LenzApresslPython
March 26Head First GoJay McGavrenO'ReillyGo
April 2Available
April 9Available
April 16Available
April 23Available
April 30Available


Go back to the main BookPromotions page.
4 days ago
CodeRanch Book Promotions - This Year's Winners


A big Congratulations to all our winners!

See our BookPromotions2018Winners

DateCoverBookAuthor(s)PublisherWinnersStatus
January 8Electron in ActionSteve KinneyManningSalvin francis , Paul Anilprem , Tony Esposito , charles rossSent in winners (1/20/19)
January 15Hands-On Software Engineering with PythonBrian AllbeePacktPaul Nisset, Carl Byrd, Scott Mac Donald, Campbell RitchieWaiting for winners info
January 22Get Programming with Java (MEAP only)Peggy FisherManningtangara goh, Manos Marketos, Fred Kleinschmidt, Daniel AnderssonSent in winners (1/28/19)
January 29Java in a NutshellBen Evans & David FlanaganO'ReillyWill Myers , Vanessa Williamson, Dave Tolls , Cezar ApulchroWaiting for winner info
February 12Java XML & JSONJeff FriesenApresspaul nisset, Carl Byrd, Jorge Ruiz-Aquino, ludoviko azuajeWaiting for winners info


Note: All dates in mm/dd/yyyy format.

Go back to the main BookPromotions page.

For questions about this page or to schedule a promotion, contact: bookpromotion AT javaranch DOT com
4 days ago

First, a big thanks to Jeff Friesen for being here to promote the book Java XML & JSON.

The winners are:

   paul nisset
   Carl Byrd
   Jorge Ruiz-Aquino
   ludoviko azuaje

Please send your snail mail address to bookpromotion AT javaranch DOT com. To ensure the quickest response, please provide the following:

Your name (first and last - if your CodeRanch name is different, please include both your real name and Ranch name)
Email
Country (needed even if requesting an e-book)
Address
Phone Number


Also, please include the following as the subject of your Email.

Book Promo Winner - Java XML & JSON - Tuesday, February 12th, 2019


Image from https://images-na.ssl-images-amazon.com

As noted in the Book Promotion Eligibility Requirements and Legal type stuff, the winners have 8 days to submit their information. Within 3 days of receipt of your email, we will reply to let you know we got it. If you don't hear back, the goat might have eaten your email. Please let us know by posting in the Ranch Office so we can check on it. Once you have received your copy please let us know by editing the Book Promotions Winners Page and updating the 'Status' column to say you have it.

Thanks and congrats to all the winners.

Jim Venolia wrote:Re-reading my post a thought hit me.  Could Javascript be as popular as it is because when, it encounters an error, it just silently returns the wrong result?  No error, no problem.  Finding wrong results in a "working" program is a lot harder than fixing an error message.



Javascript is a weakly typed language -- in contrast to Java which is a strongly typed language.

Strongly typed languages seems to follow the 80/20 rule of development. I mean that it could take 80% of the work to get to prototype, and another 20% to get to production. Weakly typed languages seems to be the reverse. It could only take 20% of the work to get to prototype, and another 80% to get to production.

Startups tend to like weakly typed languages more -- as prototype means funding vs shutting down the company.

Henry
2 weeks ago

sam liya wrote:i need to know what happens queue getting millions of messages withing few seconds. Does mq capable of handling these kind of situation ?



ActiveMQ, as with many other  messaging environments, implements producer side flow control. It means that if your producer sends millions of message per second, then it should work. If it wouldn't work, then your producer will be prevented from sending that fast.

Henry
1 month ago
Yeah, definitely not getting that. I guess I need to look into it some more...

Henry
2 months ago

Tim Holloway wrote:I don't have one running in front of me right now, but the dashboard webapp has always supplied me with information about what's causing my problems.



Interesting. There is a dashboard...

Running "kubectl proxy" starts and gives access to the dashboard. However, going to the dashboard is just a JSON list of stuff. Is there something that I missed?

Henry
2 months ago

Marko Luksa wrote:You can try running kubectl describe pods   (or kubectl describe pod umstore). You'll see a list of events at the bottom, which should tell you why the container isn't starting.



Thanks. Visibility is a great thing....

Looks like the error is ... "hostPath type check failed: C:\umstuff is not a directory". The directory is definitely there. Additionally, since I thought it may be a Linux / Windows difference, I also tried "C:/umstuff" and "C:\\umstuff". They all failed. Could this be a permissions thingy?

Thanks,
Henry
2 months ago
First, not sure if this is the best place for this, so may move this topic around later...

To start, I got Docker and Kubernetes working fine on my Windows 10 laptop. I am able to start and attach onto the image fine. Next step, I changed the YAML file so that it will mount a directory on my laptop (using the host path option). This doesn't work -- and leaves the image stuck on startup...

C:\> kubectl get pods
NAME                       READY     STATUS                  RESTARTS   AGE
umstore                    0/1         ContainerCreating   0                1h



So, I guess the questions are... Specifically related to my issues, what should I look at? And in general, related to all issues, how do I get better visibility on what is going on? Of course, I can't fix something, if I don't know why the image isn't starting.

Thanks for any hints,
Henry
2 months ago

Campbell Ritchie wrote:
Can we pass my copy on to some other deserving soul?



Since Campbell has graciously forwarded his winnings to the next candidate, we have a new winner... Jorge Ruiz-Aquino.

Jorge, please follow the instructions in the original post (and PM) in order to claim your prize.

Thanks,
Henry
2 months ago
First, a big thanks to Raoul-Gabriel Urma, Mario Fusco & Alan Mycroft for being here to promote the book Modern Java in Action: Lambdas, streams, functional and reactive programming.

The winners are:

   Mikalai Zaikin
   Campbell Ritchie
   Lucian Revnic
   satya Priya Sundar
   Jorge Ruiz-Aquino

Please send your snail mail address to bookpromotion AT javaranch DOT com. To ensure the quickest response, please provide the following:

Your name (first and last - if your CodeRanch name is different, please include both your real name and Ranch name)
Email
Country (needed even if requesting an e-book)
Address
Phone Number


Also, please include the following as the subject of your Email.

Book Promo Winner - Modern Java in Action: Lambdas, streams, functional and reactive programming - Tuesday, December 4th, 2018


Image from https://images-na.ssl-images-amazon.com

As noted in the Book Promotion Eligibility Requirements and Legal type stuff, the winners have 8 days to submit their information. Within 3 days of receipt of your email, we will reply to let you know we got it. If you don't hear back, the goat might have eaten your email. Please let us know by posting in the Ranch Office so we can check on it. Once you have received your copy please let us know by editing the Book Promotions Winners Page and updating the 'Status' column to say you have it.

Thanks and congrats to all the winners.
2 months ago

Harry Kar wrote:
What's that(...brand new Celebrity Edge)?



It's a Cruise Ship from Celebrity Cruise Lines, that just got released...

Henry
2 months ago

From some reason, with a title like "Edge is out" and in the "Meaningless Drivel" forum, my first thought was that this would be a topic about the brand new Celebrity Edge...

Kinda disappointed now...

Henry
2 months ago

Ganesh Patekar wrote:

If I am not wrong, I should be able to award post with cows,

Privilege of granting cows starts from Rancher title.



Agreed. Girbot promotions do not grant extra privileges at the moment. Regardless, have a couple of cows for your inconvenience.

Henry
2 months ago