Tag Archives: php developer

Java Developers Please Help

This is the translation of a post that I have written yesterday in Portuguese (pt-BR): Programadores Java Por favor ajudem. It will tell the same story and also share the updates. Honestly I hope to find some clues by sharing this issue with the International Java Community.

I haven’t developed with Java for a long while. Last time I have coded anything in Java it was with J2ME and, if I’m not mistaken, the framework was at its version 1.

Recently I was trying to help my old man (dad) with an issue that he was having at his real estate agency. For unexplained reasons until this moment, his Bank – www.bb.com.br –  site does not work with his Windows 7 Dell machine.

To get the issue resolved I have entered in contact with it’s tech support. Their tech support is annoying as it could be, they can only be contacted through phone and if you need to really get in touch with a technician, the only way possible is by having the branch manager to call in for you.

The 1st contact it was suggested to format the computer and try all over again, as it could have a worm / virus or a corrupted Java machine. With a lot of complains we did that and after all it still did not work.

Contacting the Bank tech support again the reply were:

  • there is a virus again (as it had from the beginning)
  • the ISP (Velox) provider was blocking content making the bank site not to work properly.

The ISP is blocking content? Really? You got be F**** kidding me. I knew that it was completely bullshit.

As a PHP developer I can tell that there is an issue with the bank website and / or with it’s Java application and honestly I don’t think that Java is restricted to a operating system or browser (that would be simply ridiculous).

So I came in request some help from Java developers. Can someone please give me a reasonable / logic explanation of why the bank Java application is not working on a Dell Windows 7 Machine?


After I have posted this yesterday I had got a possible lead. There is a plugin that some bank java applications uses and this plugin is completely incompatible with some versions of Windows 7.  The solution so far: none.


Who tested this sh***

One of my colleagues was testing something and found out that a cron that was consuming 100% of memory and never ended. He is not a PHP Developer so he called me to take a look.

After less than a minute looking on the code I found the issue but I was perplexed to see how a code like that went to production.

In short this was the main execute code of the cron:

while(!empty($all)) {
$row = array_shift($all);

As you can imagine, that array will never be empty, so the loop will never end.

Fixing it was very easy, a simple change from while to foreach took care of the issue, but a question remains for me: who tested this sh***

Obviously it wasn’t tested, otherwise this would have been caught way prior getting to production.

Sorry about my rant but I can’t avoid to get mad when I see a developer that did not even run the code prior commit it.

%d bloggers like this: