Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!

Tim Cooke

+ Follow
since Mar 28, 2008
Tim likes ...
Clojure IntelliJ IDE Java
Standard Nerd
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt Green check
expand Greenhorn Scavenger Hunt Green check

Recent posts by Tim Cooke

Some browser fat fingering brought me to a very different Ranch today. Still, it looks kinda nice too
2 hours ago
No need to delete. Just link to the other post you found so others can get there too.
4 days ago
No. The following are functionally equivalent:
2 weeks ago
If it's something your company needs then I'd suggest going with the phone vendor solution to satisfy the requirement right away, unless of course that option is cost prohibitive. Once the pressure is off then you can have a crack at writing your own if you wish.

I expect VOIP phones still use a central exchange? Do you know the protocols for making and receiving a phone call? Do you know the network setup? I don't know the answers but I'd be asking myself these questions.
2 weeks ago
This sounds like something your phone provider would be able to give you. Does it not?
2 weeks ago

Horstmann's "Head first java"

You sure about that? Horstmann did not write Head First Java.

Perhaps show us what your file looks like, just cut and past the code into the forum post (using code tags of course) as opposed to uploading the file, and we'll see if the problem can be identified.
2 weeks ago
First, a big thanks to Naomi Ceder for being here to promote the book The Quick Python Book, Third Edition.

The winners are:

  • Timur Radzhabov
  • Patricia McCormick
  • paul nisset
  • Rick Silva

  • 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)
    Country (needed even if requesting an e-book)
    Phone Number

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

    Book Promo Winner - The Quick Python Book, Third Edition - Tuesday, June 26th, 2018

    Image from unknown

    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 weeks ago
    I'm suggesting you can achieve it with a single iteration of the original string.
    3 weeks ago
    Perhaps because you're asking them for "accurate estimates". Think about those words together for a second.

    Perhaps also because your team don't understand the problem well enough to form an idea of the amount of work required, even roughly. Consider spending more time fleshing this out.
    Consider if you can derive the correct character sequence from the original string without creating any new strings along the way? Some careful char array index and iteration jigging should suffice.
    3 weeks ago
    Do you have another service that reads from that database in order to do its job? Does that service provide a response with data who's values are dependant on the database state? If the answer is no, then your database serves no purpose at all, so I'm going to assume the answer is yes and it's just a case of finding it.
    3 weeks ago
    Cucumber tests usually have a slightly larger scope when it comes to defining your unit of test. What you describe there would be more like a unit test that you might have written within that module, whereas what you're describing is a behaviour test observed from outside the module.

    Consider writing your test to interact with the service only through the API and identify a desired observed behaviour. For example: You make a service call that returns a response that is based on some state value within the service. You then make a service call that alters that state (writes to the database). Then make a second call to the first service and verify that the response has changed according to the change in state. That way you are verifying the behaviour of the service through its published API without having to depend on its implementation details such as the database.

    Make sense?
    3 weeks ago
    Remember this bit from the opening post?

    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.

    Ask you question in a new topic to be eligible to win a copy of the book.
    3 weeks ago
    Remember folks that questions in this thread don't enter you into the draw to win a copy of the book.
    3 weeks ago