Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

sinatra roger

Ranch Hand
+ Follow
since Feb 11, 2012
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
expand Greenhorn Scavenger Hunt

Recent posts by sinatra roger

Doing work for a different department is not possible here due to a rigid organizational structure. My question is, is it fair to expect to get an overall training or orientation of such huge a legacy system? Would senior 60+ devs expect that the guys following them should learn things on the fly as and when an issue/a new requirement comes?
2 years ago
My manager reports to the architect. He is aware of the situation and does not have the guts to push him which he openly admits.
2 years ago

This might sound like a very vague topic specific to me to discuss but just let me know what you think about this situation and what you would have done if you were in my shoes.

It goes something like this:

I have been working as an IBM i RPG programmer for the past 5 years. The developments in the last 8 months are what I will discuss here.
So, I was employed in a company in Bangalore (the silicon valley of India) when a lucrative offer came up from a company abroad who were looking out for an RPG programmer. The offer came from a US-based manufacturing MNC who had a manufacturing plant in Asia. The money was good, the company has a rich heritage and a country is a nice place for expats. The interview was rather comfortable technically but I was warned that the work would be challenging and would require a good understanding of their Bespoke systems to perform well.
I cleared the interview, took the offer and relocated, mentally prepared to understand a new complex system running from the 80's, praying to God to give me the strength to face the new challenges :p.

Having been stretched and squeezed by my employers throughout most of my career, I was expecting a hectic life considering the pay. First two weeks into the job, there were meetings with the lead programmer (who is 60+ something), who also happens to be on top of the Technology ladder in the organization.  This guy is the architect of the whole system who knows end to end from accounts to what happens on the manufacturing production floor. I was again warned of the Strenuous training period about to follow soon.

Then one month into the job, I was sitting idle without any real assignments when my first assignment came. A not so easy application to be built from scratch. Having utilized my free time in the one month I got, I delivered it easily in good shape. I seemed to have passed their basic test and made an impression.

Now I was expecting the work floodgates to be opened. But....Nothing happened. A month passed without any assignment. Neither was I being given any assignments nor was I being trained. I was just sitting on desk all day long for a whole month!!

There were requests coming from users to make minor changes in the applications but the "lead architect" just kept on ignoring the requests. Neither was he doing it, nor was he assigning these to me. Then things blew up. An external client auditor raised a red flag about this inadequacy in the IT system when finally the "architect" apologized and confirmed he would be working on these changes soon. The only thing I could feel was pure unprofessionalism. I mean, how could you not reply to 5 to 6 mail reminders from your colleagues. Having 30 years of experience in an organization shouldn't make you this arrogant, should it? I was analysing these requests at the same time and sent him my analysis of the changes that would be required which was accepted and that was my second assignment.

Its been 8 months now and the situation has not improved much. I am getting "opportunities" to do work only when there is immense "begging" from users. I have tried/requested a number of times to get some documentation or training on the systems so that I have some basic knowledge.

But there has been only silence. As someone said, silence is the most heartbreaking response. They dont have any plans to lay me off. atleast for one more year and I dont want to loose such a good opportunity.
Their applications seem to be built beautifully and gaining knowledge of the business and the tribal knowledge of the systems seems to be too interesting.

I was under the impression that the "architect" is just lazy to conduct training for me. You know, enjoying the days to the maximum before retirement.

I have tried initiating a documentation process by analyzing programs and preparing a few sample docs but even that could not get the architect excited about giving me some training. All I requested for is names of some important programs that I should be aware of, so that I can understand some of their processes. This is a new situation for me where I need to request for work. If there is no work, then fine. But what about some training? Why cant they give me that. I mean you cant expect some new programmer to understand everything by himslef can he?

I dont know what I dont know! nor do I know what I should be knowing!!! And I dont want to find a new job as it just wouldnt look good leaving an organization so soon after joining.

Laziness seems to be the root cause of all the issues here. Dear Senior programmers here, would you ever let a junior Dev thirsty to learn be underutlized like this?

What should I do? As I said, the pay is good and I would be dumb to find a new job due to lack of "work pressure".

One thing which scares me is if the seniors retire and go, how am I supposed to manage stuff?
2 years ago
Hi All,

I am trying to setup our IBM i server to connect to an SQL server. The necessary .JAR driver file has been downloaded an uploaded to the server. We have been following these instructions.

Now we are trying to set the classpath environment variable. It currently looks as below:


The jar file is at location  /java/jdbc/jtds-1.3.1.jar. It seems all i need to do is append this to the classpath string. However, I am confused that there is an extra period ('.') at the end of the string following 'jar:'

Is it really necessary or was it inserted by mistake? Please advise how i can add this jar file to the class path.

There are other java stuff running on the server and I absolutely cannot afford to mess up anything. I know even the slightest change to the classpath can blow up things.

2 years ago
A bit too late to post here. But still giving a go. Dear Folks, below is a piece of modern RPG code:

2 years ago

In the code given above, can somebody help me understand the use of next() function? this post method is called by a form submission. So what would the value passed to next? Please guide.
Thank you! The answer I have been looking for. Most books I had a look at so far seemed to stop at DOM manipulation. But this seems to go into detail.
So I would like to get some guidance on the roadmap to follow to understand JS basics before learning node. Kindly if someone could guide, it would be very helpful.
I did. But I think all the tutorials I have gone through was focusing on how to use JS just as a front-end toy for validation and message displays etc. Things like callback functions and asynchronous programming techniques were never discussed.

In short, they were too basic I guess.
I meant square brackets in the above question and not angular brackets.
Hey there guys,

I am interested in learning Node.js and came across a tutorial that shows how to build a local library website using Express.js and Node.js.

The site mentioned that the only pre-requisite for the course is basic knowledge of JavaScript. I did have basic knowledge of JavaScript enough for stuff like DOM Manipulation, form validation etc.

But as I advance through the course, I feel more as if I dont have the necessary basic knowledge to go through the course comfortably.

For example, I am struggling to understand the above code Snippet. I really do not know about the usage of angular brackets in JS and had never come across it until now.

This definitely points out the fact that I am missing a substantial basic javascript knowledge.

Can somebody please guide on what all is mandatory before learning Node.JS? please don't say web system architecture and internet security to complicate the question. My question is specific to Javascript and I'm talking about hobby scale projects here.

Thanks a lot for your help. This makes it easier to understand. I am still trying to get accustomed to this type of programming where functions are nested inside functions and callback techniques etc. Though I have been able to follow most of the tutorial (, I think a good knowledge on these Javascript programming techniques would have been really helpful. Can you point out on a good book which explains these techniques specific to JS?
Hi Guys,

I am trying to learn Node.js through a hands-on course which said that the only prerequisite was basic knowledge of JavaScript. Though i've got a reasonable idea of Routes, Controllers, complex areas of javascript still seem like a mystery.

For example in the below piece of code, can somebody explain why "callback" is written inside the function parenthesis? also, I assume that the results returned by the function are passed into a variable named genre. Is the ':' following genre a substitute to '='?

Paul Clapham wrote:

Tim Holloway wrote:You might want to check your IBM resources. I think you can write web applications in RPG these days

Yes, I can confirm that's true, I actually did it once. (I was the person in charge of Trying New Stuff in our IT department, that's why.) But I highly disrecommend that idea.

Umm I think we are going slightly off track here. I don't need to write web programs for the ibm i. It's a new web application that's I wanna create for employee performance management and I have decided to do that using nodejs. What I am looking for is guidance/tutorials on how multi user web apps are created using node js. Hello
2 years ago

Bear Bibeault wrote:

sinatra roger wrote:Yup I do know the basics of javascript. But I was thinking that maybe Node.js is more complicated to learn compared to PHP and there would be more similar such applications written in PHP/MySQL compared to Node which might be more helpful. Please share your thoughts about that.

I'd say learning a whole new language and ecosystem is more difficult than just learning a new ecosystem.

Also, can you please help me find answers to the other questions I posted? Is a multi-user website where each user gets his own personal page when logged in difficult to implement?

Most web apps are multi-user web apps so support and frameworks are geared for this. That said, security is never easy. Be sure not to try and roll your own.

Is that easily done using Node.js?

It's really not something that's language or framework specific. If you were going to approach it using just JS (personally, I'd use Java on the server, but I already know Java and its ecosystem well) I'd advise using NodeJS and Express to set up a RESTful API, and use React/Redux on the client for the presentation.

If you want to learn PHP, that's fine too.

Learning Node.js really seems to be the sensible thing to do compared to PHP. I guess jQuery can be used on the client side?

Please advise what a good point would be to get the learning process started (books, tutorials etc.)?  

As I mentioned before I know the basic syntax of javascript and a bit of jQuery. Specifically, if there are tutorials  that show how to build multi-user web apps, that's what I would prefer.

And as far as whether my organization decides to buy a third-party tool or not, I have decided to build this application for personal gains irrespective.
2 years ago