| [+] Beginning Java » Returning An Array Element, Not the Address Of The Array Element (Go to) | | Stephan van Hulst |
Do you think you have the toString() method in the right class? |
| [+] Object Relational Mapping » Can you give me real time scenario when to use Procedure, Function, Cursor, Trigger? (Go to) | | Tim Holloway |
Odd question. Are you working on some homework or something? Perhaps give us some context and tell us what you think the answer is to your question? |
| [+] Java in General » Effective Java: why do you prefer OpenJDK? (Go to) | | Liutauras Vilda |
Joshua Bloch wrote:Oracle is extremely litigious (ask me how I know) I'll bite. Tell us how you know? |
| [+] Java in General » * Winners: Effective Java (3rd Edition) (Go to) | | salvin francis |
Ooh ooh ... I see it I see it. Streams and Lambdas |
| [+] Java in General » * Winners: Effective Java (3rd Edition) (Go to) | | salvin francis |
And the next candidate is Junilu Lacar. Congrats! |
| [+] Java in General » * Winners: Effective Java (3rd Edition) (Go to) | | salvin francis |
First, a big thanks to Josh Bloch for being here to promote the book Effective Java (3rd Edition). The winners are: Stephan van HulstRob SpoorJorge Ruiz-AquinoGranit BerishaJunilu Lacar 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 - Effective Java (3rd Edition) - Tuesday, Apr 3rd, 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. |
| [+] Meaningless Drivel » Programmers Q & A's (Go to) | | salvin francis |
| |
| [+] Java in General » Effective Java: What is next on the block? (Go to) | | meenakshi sundar |
It so happens now that all I learned with the double imprecision puzzler is coming in mighty handy at work these days. Let's just say that we're using double values where we strictly shouldn't, but have deliberately decided to do so, and are repeatedly paying the cost of accounting for the imprecision. |
| [+] Java in General » Effective Java: What is next on the block? (Go to) | | meenakshi sundar |
I really like the Puzzlers book, and I regularly roll out an example from it to the rest of my team as a fun "what does this code do?" challenge. It's good for switching our brains into a different gear for a short time while we discuss why we were all wrong  And of course it builds up our Java language knowledge just a little bit too. |
| [+] Java in General » Convert Android heap dump to Java heap dump (Go to) | | Paul Clapham |
Are they not the same? Perhaps you could elaborate on why you think they are different? |
| [+] Java in General » Effective Java (3rd Edition): Should I go direct to 3rd edition? (Go to) | | Joshua Bloch |
As someone with all three editions in their library, I can tell you that I'd consider each new edition a replacement for the previous. All the good advice is carried over. |
| [+] Ranch Office » How could i trust next book promotions after that? (Go to) | | Ahmed Ibrahim |
Hello, yes this weekend is a public holiday in the UK so I have been taking a break away from computer work and have been doing some physical work decorating the house instead. I'm not cut out for physical work at all, I'm knackered! Anyway, back to the matter at hand... The Book Promo team have received your emails and we have followed up with the publisher on multiple occasions, but we have gotten no response from them. Let me do some digging and see what's gone one here. Cheers, Tim |
| [+] Java in General » * Welcome Josh Bloch (Go to) | | Rob Spoor |
This week, we're delighted to have Josh Bloch helping to answer questions about the new book Effective Java (3rd Edition). The promotion starts Tuesday, Apr 3rd, 2018 and will end on Friday, Apr 6th, 2018. We'll be selecting four random posters in this forum to win a free copy of the book provided by the publisher, Addison-Wesley. Image from unknown 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. |
| [+] EJB and other Jakarta/Java EE Technologies » * Winners: Java EE 8 - Only What's New (Go to) | | R.J. Arzki |
First, a big thanks to Alex Theedom for being here to promote the book Java EE 8 - Only What's New. The winners are: Claude MooreR.J. ArzkiRandy MaddocksNaresh Doniparti Please send your e-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. Book Promo Winner - Java EE 8 - Only What's New - Tuesday, Mar 27th, 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. |
| [+] Other IDEs, Version Control » Changes made on branch using git impacts the original branch? (Go to) | | Lisa Austin |
You did not commit any changes to the task_2219 branch so you're still working with local changes that do not belong to any git branch. If you're not ready to commit them, then you can stash them, otherwise commit them before switching back to the develop branch. |
| [+] Meaningless Drivel » 10 years at the Ranch! (Go to) | | Deepshika Jehangir |
According to my profile, I registered here at the Ranch on this day 10 years ago, 28th March 2008. I'm glossing over the fact that I didn't post anything until 2013 because I don't want the facts to get in the way of a good story What a great place to hang out. |
| [+] Ranch Office » How do I remove my last name from my profile? (Go to) | | Campbell Ritchie |
I assume when you say "profile" that you mean the little section about you next to your posts in the forum? The name displayed there is the first and last name you've set in your user profile. |
| [+] Ranch Office » How do I remove my last name from my profile? (Go to) | | Campbell Ritchie |
Your display name is your First and Last name as configured in your profile. You don't have to use your real name but we do ask that it is not obviously fictitious as you'll find laid out in our Naming Policy. You can request a name change through your profile pages that will be sent to the Ranch Staff for approval. |
| [+] EJB and other Jakarta/Java EE Technologies » * Welcome Alex Theedom (Go to) | | Alex Theedom |
Welcome to the Ranch yourself Barry! Barry Propes wrote:Welcome to the Java Ranch forums, Alex! You mean CodeRanch of course. |
| [+] EJB and other Jakarta/Java EE Technologies » * Welcome Alex Theedom (Go to) | | Alex Theedom |
This week, we're delighted to have Alex Theedom helping to answer questions about the new book Java EE 8 - Only What's New. The promotion starts Tuesday, Mar 27th, 2018 and will end on Friday, Mar 30th, 2018. We'll be selecting four random posters in this forum to win a free copy of the book provided by the publisher, Lean Publishing. Image from unknown 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. |
| [+] Java in General » This is Lee Hnetinka, How to convert existing Java Project to Maven in Eclipse? (Go to) | | Tim Holloway |
Hello Lee. Welcome to the Ranch! What is the problem with your current project that you're hoping to solve with Maven? |
| [+] General Computing » curl timeout, but browser connects ok (Go to) | | Tim Cooke |
| |
| [+] General Computing » curl timeout, but browser connects ok (Go to) | | Tim Cooke |
Thank you Ron. Now to translate that into my Groovy script. |
| [+] EJB and other Jakarta/Java EE Technologies » * Winners: Java EE 8 High Performance (Go to) | | Tim Cooke |
First, a big thanks to Romain Manni-Bucau for being here to promote the book Java EE 8 High Performance. The winners are: paul nissetThomas ZinkDavid SachdevAlex Shykhman 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 EE 8 High Performance - Tuesday, Mar 20th, 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. |
| [+] General Computing » curl timeout, but browser connects ok (Go to) | | Tim Cooke |
I'm trying to access a website from a script and am having some difficulty. I've had a script connecting to this site successfully in the past but has recently stopped working. When I navigate to this site from a browser everything is ok, but when I use a script tool such as curl I get nothing, no content, no HTTP response, nothing. In wireshark I can see no HTTP response. Any idea what's going on here? |
| [+] Meaningless Drivel » self driving cars in nyc (Go to) | | Jeanne Boyarsky |
It makes me wonder if it would be a good idea to have some compulsory identifying mark for pedestrians and other drivers to be able to distinguish between human driven vehicles and computer driven vehicles. One might be less willing to assume you've been seen if you knew there wasn't a real person behind the wheel. |
| [+] Meaningless Drivel » Anecdote (Go to) | | Randy Maddocks |
I liked the joke Liutauras. My colleagues liked it too  |
| [+] Meaningless Drivel » oracle code new york (Go to) | | Tim Cooke |
Nice interview. Good job  |
| [+] Java in General » Something like Laravel but in Java? (Go to) | | Phil Niksen |
I'd be interested to hear how you get on with Spark. If you try it at all that is. Spark wrote:A micro framework for creating web applications in Kotlin and Java 8 with minimal effort Tag lines such as this make me nervous. In my previous experience of similarly pitched products it has turned out to be really handy at first getting set up very quickly, but frustration emerges when you want to do something outside of the prescribed 'modus operandi'. Then things get really hacky really quickly and the initial benefits are soon lost. |
| [+] Beginning Java » Comparing Strings (Go to) | | Dave Tolls |
Almost certainly a test question. Houna, for the purposes of copyright and correct attribution please state where you have copied this question from? |
| [+] Java in General » Something like Laravel but in Java? (Go to) | | Phil Niksen |
Might I suggest taking a step back even further and see whether an 'off the shelf' CMS would fit your requirements? Something like Joomla for instance? |
| [+] Testing » Mocking Unit test Argument Captor (Go to) | | chamini prashakthi |
In summary: You discovered that Array is not a valid Java type. chamini prashakthi wrote:And I finally suggest it is better if there is a section on unit tests.It is something that developers must be awre of ... We have a Testing Forum that is home to many Unit Test discussions. |
| [+] Struts » sslext struts tiles exception. (Go to) | | Tim Cooke |
Hello Suchita, welcome to the Ranch! I expect after 9 years since the OP asked the question they have solved it or have long stopped caring about it. |
| [+] Testing » Mocking Unit test Argument Captor (Go to) | | chamini prashakthi |
What is the Array type? It doesn't look to be part of the standard Java library. Can you tell us what package that class belongs to? Also, you say "It shows error" but you don't say what the error is? |
| [+] Beginning Java » Mocking Unit test Argument Captor (Go to) | | chamini prashakthi |
I guess Chamini is talking about the Mockito feature ArgumentCaptor. When you say "String array" you mean a String[] type? I haven't tried it myself, but in theory String[] is a descendant of Object so could work. Have you tried it? What did you discover? |
| [+] Jobs Discussion » BGC Issues (Go to) | | Jeanne Boyarsky |
Now you didn't mention that before. It is your company threatening legal action? The legalities differ from country to country with regards to employment law, so you'd need to check your local laws, but in the UK where I live that sounds like 'unfair dismissal'. If you did not know about any wrongdoing on his part when you provided the reference, then as long as there are no other issues with using your company email to provide a reference, then I can't see what they have against you. Perhaps they have a policy against providing references using your company email? What exactly are they threatening? What law are they claiming you have broken? Do they have any policies around providing references using company email? |
| [+] Jobs Discussion » BGC Issues (Go to) | | Jeanne Boyarsky |
I can't imagine there would be any formal action that can be taken against you, especially if you didn't know about him leaving without notice at that time. However, you might have lost a bit of credibility with the other company if they happen to find out. Ultimately, it's the responsibility of the other company to make up their own mind about employing him. |