Henry Wong

author
+ Follow
since Sep 28, 2004
Henry likes ...
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
142
In last 30 days
0
Total given
737
Likes
Total received
2276
Received in last 30 days
0
Total given
329
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

CodeRanch Book Promotions - This Year's Winners


A big Congratulations to all our winners!

See our BookPromotions2022Winners

DateCoverBookAuthor(s)PublisherWinnersStatus
January 17Practical Debugging at Scale: Cloud Native Debugging in Kubernetes and ProductionShai AlmogApressWaiting for winner info
January 23Software Teaming: A Mob Programming, Whole-Team ApproachWoody Zuill and Kevin MeadowsIndependently published  Junilu Lacar, Jose Almonte, Sam Muller, Rashmi varmaWaiting 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
1 week ago

First, a big thanks to Woody Zuill and Kevin Meadows for being here to promote the book Software Teaming: A Mob Programming, Whole-Team Approach.

The winners are:

Junilu Lacar
Jose Almonte
Sam Muller
Rashmi varma

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 - Software Teaming: A Mob Programming, Whole-Team Approach - Tuesday, January 24th, 2023


Image from https://m.media-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.

Alperen Erdogan wrote:there are inputs consist of 1000 lines and every line has 30 numbers we have arrays like this



I am not sure, but I am speculating ... that the "input" is a text file with 1000 lines and 30 numbers per line. Also, there is no mention on how these 30 numbers are formatted (per line). Regardless, if this is a case, you will need to open the file, read in the characters, and parse them to numbers. You can look at the man pages to see how to open and read the file, and how to parse will depend on how the numbers are formatted.

Alperen Erdogan wrote:we read the numbers and when it comes to a number called "i" the sum of array[i] equals to array after i.we will read the file like this



This part will need elaboration, but I speculate that it has something to do with the formatting. There is a "i" somewhere in the file, and when parsed and encountered, your program will need to provide a sum. Regardless, how to do this will depend on the format of the file (based on all the assumptions that I made so far).

Campbell Ritchie wrote:
Even without taking the sum, how did you plan to divide the task into parts? Which part did you plan to do first?



Agreed. This isn't a single one step process. You need to read the file, parse the file (which includes parsing each line), sum all the lines. and do something related to output. It is easier to break it into separate parts, and test each separately.

Henry
1 week ago
This week, we're delighted to have Woody Zuill and Kevin Meadows helping to answer questions about the new book Software Teaming: A Mob Programming, Whole-Team Approach.


The promotion starts Tuesday, January 24th, 2023 and will end on Friday, January 27th, 2023

We'll be selecting four random posters in this forum to win a free copy of the book provided by the authors (publishers).


Image from https://m.media-amazon.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.

First, a big thanks to Tomasz Lelek and Jon Skeet for being here to promote the book Software Mistakes and Tradeoffs.

The winners are:

   Junilu Lacar
   German Gonzalez-Morris
   Tim Holloway
   fahd helwani

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 - Software Mistakes and Tradeoffs - Tuesday, September 13th, 2022


Image from https://images.manning.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.

This week, we're delighted to have Tomasz Lelek and Jon Skeet helping to answer questions about the new book Software Mistakes and Tradeoffs.


The promotion starts Tuesday, September 13th, 2022 and will end on Friday, September 16th, 2022

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.
First, a big thanks to Chris Love & Andres Sacco for being here to promote Microservices Testing (Live Project).

The winners are:

   Frank Silbermann
   ozay duman
   Omer Faruk Kurular
   Ashish Lal

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)


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

Promo Winner - Microservices Testing (Live Project) - Tuesday, August 9th, 2022


Image from ]https://images.manning.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.
5 months ago
This week, we're delighted to have Chris Love & Andres Sacco helping to answer questions about the new Microservices Testing (Live Project).


The promotion starts Tuesday, August 9th, 2022 and will end on Friday, August 12th, 2022

We'll be selecting four random posters in this forum to win a free copy of the electronic book/resource 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.
5 months ago
First, a big thanks to Ken Youens-Clark for being here to promote the book Command-Line Rust: A Project-Based Primer for Writing Rust CLIs.

The winners are:

   D.J. Quavern
   Junilu Lacar
   Geoff McKay
   Tim Holloway

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 - Command-Line Rust: A Project-Based Primer for Writing Rust CLIs - Tuesday, July 12th, 2022


Image from https://m.media-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.
6 months ago

This week, we're delighted to have Ken Youens-Clark helping to answer questions about the new book Command-Line Rust: A Project-Based Primer for Writing Rust CLIs.


The promotion starts Tuesday, July 12th, 2022 and will end on Friday, July 15th, 2022

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


Image from https://m.media-amazon.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.
6 months ago

Tim Holloway wrote:With no small regret, I would like to pass on my copy to someone who might need it more.



Since Tim has graciously passed his winnings to the next candidate, we have a new winner....

Kingsly Theodar Rajasekar

Please see instructions above on how to claim the prize.

Henry
7 months ago
First, a big thanks to Stephen Chin, Melissa McKay, Ixchel Ruiz, Baruch Sadogursky for being here to promote the book DevOps Tools for Java Developers: Best Practices from Source Code to Production Containers.

The winners are:

   Raul Rios
   Junilu Lacar
   Lloyd Hatch
   Tim Holloway
   Kingsly Theodar Rajasekar

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 - DevOps Tools for Java Developers: Best Practices from Source Code to Production Containers - Tuesday, May 31st, 2022


Image from https://m.media-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.
8 months ago

First, a big thanks to Jamie Riedesel for being here to promote the book Software Telemetry.

The winners are:

   Lucian Revnic
   Geoff McKay
   Carl Groovy
   Lucian Maly

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 -  Software Telemetry - Tuesday, April 19th, 2022


Image from https://images.manning.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.
9 months ago

This week, we're delighted to have Jamie Riedesel helping to answer questions about the new book Software Telemetry.


The promotion starts Tuesday, April 19th, 2022 and will end on Friday, April 22nd, 2022

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.
9 months ago