s ravi chandran

Ranch Hand
+ Follow
since Dec 20, 2010
s ravi likes ...
Java jQuery
I am a  java developer. Working in Financial domain with an investment bank.
Bangalore
Cows and Likes
Cows
Total received
6
In last 30 days
0
Total given
0
Likes
Total received
11
Received in last 30 days
0
Total given
30
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by s ravi chandran

Sorry for delayed response.

Yes, I would like to get in touch with latest stuff in java development and also would like to understand things at software architecture level (top level view of enterprise applications).  

And regarding the books you have mentioned, is there any sequence that I should follow?
1 week ago
Hi All,
I have 10 years experience in java software development. I have worked across domains like e-commerce, CRM, financial. I learnt a lot from all these projects.

I have been part of a trading project for 2+ years now, I did learn new things with this project too. But I am beginning to feel that I have lost touch with technical skills and become more familiar with the project specific skills.

I wish to get back on track with learning new things and gaining more broader understanding of software development to reach somewhere close to architect level. I am unable to think of how to go about it.

What all things can I do to increase my knowledge. I do think about reading technical articles but dont know where to start.

Please advice on possible ways that I should explore.

Thanks
2 weeks ago
I would say machine learning is what I want to focus on.

AI is not for me at the moment. Its too complex to be used for any solution.

Will try to get into some books in the section. Will also check the site. Maybe it might click for me.
Thanks for your suggestions. I will try some of these.
2 years ago
Thanks for the response. Any pointers where I can find such projects.

I learn faster when actually doing coding.
Sorry for pitching in so late to this thread.

But I too would like to get started with Machine Learning. I think it can give me some new insight to problem solving.

What would be best way ahead for me? Doing course or is there any place I can get started with simple problems in this domain?
Not sure if you have solved this problem yet.
Why are you using scanLeft specifically?

Here is something I think you might be looking for:

But if you are updating an array, there are definitely better ways to do it.
Benefit of functional programming is no side effects.
2 years ago
Hi,

Our scala section is very less active. How can we make bring in more participation from other folks. I know there are a lots of knowledgeable people who are learning functional programming. it would be a great asset for this forum to have them bring in more their expertise. We also have less questions being asked in this section.

What would be the best way ahead ?

Thanks
2 years ago

Stephan van Hulst wrote:Your post does not make sense to me. Are you saying that you don't care about the exact difference in time? The difference in time depends on the date, time and time zone. If you care about the exact difference, you should care about time zone rules.



I do care about the time. I was only focusing more on getting exact duration at start and moving on from there.

As I said, this is an edge case which I did not specifically handle.

Will go through this scenario and how it is going to impact my application.
2 years ago
I got the point that time will shift at those particular instances.

I am not handling this edge case specifically.

The point being time duration is what effectively defines the trigger point. If application start time is already passed then difference will be some negative value, in which case I run the task immediately.

Exact time defined by user or current time do not have any direct implications on task trigger. Its just the difference in them that is used.

Campbell,
Can I conclude that ZonedDateTime by itself provides time adjustment to us without any intervention from our end?
2 years ago
Well, I take the time difference between the application start time and current time and schedule the task. So, no matter what time variations happen after this scheduling, it won't effect the task execution.

The important aspect here is the duration between current time retrieved and user defined application time.
2 years ago

Stephan van Hulst wrote:What Dave means is, what do you intend your application to do when the user has selected a time zone that uses daylight saving time, and has selected a time that is either invalid for the date the clock is adjusted, or ambiguous?

For instance, if the user has selected 2:30 AM as the time to perform the task, in the timezone Europe/Amsterdam, what do you expect your application to do on October 29th 2017? And on March 25th 2018? Will the task be performed twice? Will it be performed at all? Will the application crash?


For invalid time and timezone I take the system defaults.  The time check happens only once during application start, it will not repeat again for that day. The task will also trigger only once per application start. So after that whatever changes happen to clock adjustment, this check will not get triggered.
2 years ago

Stephan van Hulst wrote:Your code is not correct. The application time consists of the wrong date if LocalDate.now() is a different date than the date of the current day in the entered time zone. You need to use the current date of the time zone.

You don't need to jump over difficult hurdles to get the current time. Just use Instant.now().


Thanks. I was actually focussing on getting ZonedDateTime to have the correct time. I am using your logic now.
2 years ago

Dave Tolls wrote:I notice in your example you are using GMT.
What happens between the end of March and the end of October each year?
Is the user going to be OK with whatever it is running an hour later than they had specified?


That is just test value. Actual timezone will be read from configuration which application uses to startup.

Also, these settings change as per required. Like EDT to EST changes.
2 years ago