Ashik’s IT Thoughts

July 11, 2008

Today iPhone3G came out in the market

Filed under: IT — Tags: — ashikuzzaman @ 3:12 pm

When I checked after lunch in San Francisco near my office in Embarcadero, all their iPhone3G were already sold out. I am not surprised because I know the stories when iPhone came out first time last year.

As I will buy 2 iPhone3Gs this coming 1st August when my Verizon contract will finish, I took some effort to figure out the rough estimates for 2 years’ plan prices for iPhone3G from AT&T -

1 iPhone3G Individual Plan:

$70 (+ tax) * 12 * 2+ $200 (+ tax for phone set) + $36 (activation fee) + $30 * 12 * 2 (+ tax) = $2636 (+ a lot of accumulated tax)

So if I apply a flat tax of 8.75% on the total it becomes $2866.65 for next 2 years.
2 iPhone3G Family Talk Plan:

{ $70 (+ tax) * 12 * 2 + $10 (for 2nd line) * 12 * 2 (+ tax) } + { $200 * 2 (+ tax for 2 phone sets) } + { $36 + $26 (activation fee) } + [ { $30 * 12 * 2 (+ tax) } * 2] = $3822 (+ a lot of accumulated tax)

So if I apply a flat tax of 8.75% tax on the total it becomes $4156.425 for next 2 years.

This will be on top of my Blackberry that I get from my office with unlimited voice and data plan. But I like iPhone not Blackberry!

How does it sound to you?

April 17, 2008

JMS

Filed under: Uncategorized — Tags: , — ashikuzzaman @ 12:30 pm
Background
I, Nitol and Paul are 3 developers who worked at the early times of our career as java developers in a project named SPRINTRE in Bangladesh almost 6 years back. Coincidentally, we all 3 are now in USA. I and Nitol in California and are now neighbours and Paul just came to USA few weeks back and interviewing for openings in New York area. This is a part of a technical discussion going amongst us in JMS that Nitol sent. I am keeping it here finding valuable for reference.
Excerpt From Nitol’s Email
JMS is not mandatory thing, it’s a tool. If it properly used, then it can be useful. It helps to modularize code, improves maintainability …
Scenario
I’m going to describe one scenario from project Spintre, you remember right :). When a Purchase Order is approved, it should be saved in the PO table also it should save one record in accounts in proper cost center. How did we implemented it, we had accounts service call in PO module. Means we made PO module dependent on accounts module. Suppose we had a ActivityTracking module, which saves all user activity. How did we implemented it? We would have implemented it by calling activity tracking service. Suppose we have to include notification service also, when ever a PO is approved, purchase officer wants a email in his email box.
Without using JMS
accountService.save(amount, costcenter);
activityTrackingService(userObj, PoModuleIdentifier, ActivityApprove ..);
{
look for who want’s notification, get the email address and send the email.
}
How do you like this code implementation? How is the impression of a User who just clicked on the Approve button and waiting for so many thing to happen.
Those all service can be asynchronous, those activity don’t need to be real time. Now how we can use JMS here
when PO is saved, code block using JMS is
With JMS
{
Event event  = new Event(po number, date, Module, ActivityType, user ……)
jmsPublisher.publish(event);
}
Done, clean implementation. But now we can write sevaral Subscriber
AccountModuleSubscriber {
receive(Message obj) {
Event event = (Event) obj;
// save it to correct cost center
}
}
ActivityTracker {
receive(Message obj) {

Event event = (Event) obj;
// save it log table
}

}

So, by using JMS you basically improved the application performance, It’s using idle time .. Jms broker will manage these different thread ..
2. I user ActiveMQ. I heard it became a apache project now.
Commercial Weblogic JMS is expensive. Basically all the EJB server has JMS support, Jboss, webspheare ….
3. JMS is a technology, a messaging architechture. It is scalable, if it is used properly. Means if design is good, then it’s scalable .. if design is bad, no meaning of using JMS.
4. You yourself can implement by using thread. But why to re-invent the wheel. JMS gives support of message persistent, redelivery, durability, thread pool .. so many support. Why not use those.
You can also make code moduler by using Observable-Observer pattern, but that is synchronous. You can use thread then, you’ve to maintain them ..
5. JMS is nice technology. Messaging technology is old, java implemented that near 2000. There are big server’s available for messging/message broker from long time back, like IBM MQSeries. Microsoft has there MS MQ implementation into windows may from 10-15 years ago. It’s a proven technology.
My informations can be wrong, anyway I hope it will help.

March 10, 2008

Salesforce Google Apps Integration

Filed under: Uncategorized — ashikuzzaman @ 10:30 am

One of the reason I like working in cutting edge technologies as “On-Demand” CRM in Salesforce.com…


Last week, Tony Ruscoe found an interesting reference to Salesforce in a CSS file used by Google Apps. According to the company, “Salesforce.com is the worldwide leader in on-demand customer relationship management (CRM) services. More companies trust their vital customer and sales data to salesforce.com than any other on-demand CRM company in the world.”

Other people found references to Google products in Salesforce’s applications: a button to compose a message in Gmail and a button for Google Docs, so the integration is probably in the final stages. “Openness is a virtue – the best CRM and the best online productivity suite are lined up for a deep integration”, thinks Steve Andersen.

In June 2007, Google signed a partnership with Salesforce to include Google AdWords in its applications, but Wall Street Journal speculated that the result “could be a Web-based offering that integrates some of Google’s online services such as email and instant-messaging with those of Salesforce.com, whose customer-relationship management tools help salespeople track their accounts.” Maybe this year Wall Street Journal’s prediction comes true.

Source: Salesforce to Integrate with Google Apps?

 

February 20, 2008

GTD: Getting Things Done

Filed under: Uncategorized — Tags: — ashikuzzaman @ 3:30 pm

I have read some articles on it on and off last few months and tried a firefox extension of GTD for GMail without success. Today while thinking I have so many works in hand to do both personally and in office, I gave myself an hour’s break to study a little more on GTD.

Getting Things Done

By David Allen

To know what it is, I would rather leave you to the wikipedia entry - http://en.wikipedia.org/wiki/Getting_Things_Done than spending my words. All the articles say to read David Allen’s famous book Getting Things Done: The Art of Stress-Free Productivity at least twice to start with. I don’t have enough patience for that and before I pick that book from Barnes & Nobles tonight, I decided to follow the article below as I use Google Notebook for a while.

http://lifehacker.com/software/geek-to-live/getting-things-done-with-google-notebook-256844.php

Lots of authors suggest to start with plain pen and paper instead of heavier GTD tools like ThinkingRock which I may really adopt one day if needed.

I have been using RTM with GMail for last few months inconsistently without actually being aware of GTD. If you choose for this instead of Google Notebook here is a link.

http://the-getting-things-done.blogspot.com/2007/12/gtd-with-google-mail-and-remember-milk.html

January 30, 2008

Rounding problem in Java for float, double types

Filed under: Uncategorized — Tags: , , , , — ashikuzzaman @ 3:28 pm

Here is a sample java program that I wrote. It shows that for all of Double, double, Float, float you can’t rely on default rounding operation of java/jvm. I think even JVM to JVM implementation (sun windows jvm vs ibm linux jvm for example) the output may vary. Can someone confirm it?

public class DoubleAndFloatIssue {

public static void main(String[] args) {

Float f1 = new Float(7.0004443556783244696789123456789f);
float f2 = 7.0004443556783244696789123456789f;

Double d1 = new Double(7.0004443556783244696789123456789);
double d2 = 7.0004443556783244696789123456789;

System.out.println(”Float f1 = ” + f1);
System.out.println(”float f2 = ” + f2);

System.out.println(”Double d1 = ” + d1);
System.out.println(”double d2 = ” + d2);

f1 = f1/7;
f2 = f2/7;

d1 = d1/7;
d2 = d2/7;

System.out.println(”Float f1/7 = ” + f1);
System.out.println(”float f2/7 = ” + f2);

System.out.println(”Double d1/7 = ” + d1);
System.out.println(”double d2/7 = ” + d2);

f1 = f1*7;
f2 = f2*7;

d1 = d1*7;
d2 = d2*7;

System.out.println(”Float (f1/7)*7 = ” + f1);
System.out.println(”float (f2/7)*7 = ” + f2);

System.out.println(”Double (d1/7)*7 = ” + d1);
System.out.println(”double (d2/7)*7 = ” + d2);

}

}

The output of the program is as below:

Float f1 = 7.0004444
float f2 = 7.0004444
Double d1 = 7.000444355678325
double d2 = 7.000444355678325
Float f1/7 = 1.0000635
float f2/7 = 1.0000635
Double d1/7 = 1.0000634793826177
double d2/7 = 1.0000634793826177
Float (f1/7)*7 = 7.000445
float (f2/7)*7 = 7.000445
Double (d1/7)*7 = 7.000444355678324
double (d2/7)*7 = 7.000444355678324

November 10, 2007

GMail 2.0 and Windows Live Hotmail

Filed under: Web — Tags: , , , — ashikuzzaman @ 4:45 am

I have been using the newer version of GMail for the last few days and I like it very much. The first thing I noticed is that it’s faster than the older version. But the feature that I liked most is the Filter Messages like these action. Its wonderful and is saving me so many more minutes everyday. The other new action Mute takes out the message from my inbox, but I am not sure whether it archives it or deletes it do what with it. The replies by you are marked with a > sign in a discussion thread to easily distinguish between your responses vs the others responses. And of course the Contacts section has changed significantly in terms of visual appearance compared to other parts of the GMail. The embedded google talk now gives optionto show the list of contacts to chat in different sizes - tiny, small, medium, large.

MicroSoft made its Windows Live Hotmail available for general registration. I tool my new live id ashik@live.com . At first look, I think the calendar, calendar sharing and task integration in it will be useful. They are giving 5 GB space to start with which is cool. Let’s see how it goes.

November 6, 2007

I joined SalesForce.com as a Software Engineer

Filed under: Uncategorized — ashikuzzaman @ 6:00 pm

I joined Salesforce in San Francisco yesterday as a Software Engineer. So far it has been a wonderful and competitive corporate environment. My manager took me to a Thai Cuisine for lunch and explained me how Salesforce is growing so fast! I will be probably assigned to AppStore and Phoenix projects soon after I finish my admin training next week.

Last Friday (2nd Nov) my Philips colleagues gave me a farewell lunch at Red Kwali in Milpitas. Although Jeff could not attend it and instead gave me a phone call to say good bye; everyone else in Philips Milpitas R&D team joined that - Imtiyaz, Brian, Dan, Jade, David, Tho, Ba, Franca. It was a nice time with them.

September 19, 2007

Wikistics

Filed under: Uncategorized — ashikuzzaman @ 4:45 pm

I have been thinking about a statistical data service similar to Wikipedia on the way for a while. We need lot of statistics on different topics and conventional search engines are not good enough to find out statistical data related articles easily. So why not Wikipedia develops a new product Wikistics which is Wikipedia + Statistics.

Do you like the idea?

August 29, 2007

Intel Chairman’s Visit in Bangladesh

Filed under: Community — ashikuzzaman @ 12:36 am

Intel Corporation is the world’s largest semiconductor company and the inventor of the x86 series of microprocessors, the processors found in many personal computers. Dr. Craig R. Barrett, the chairman of this giant chip maker company, will visit Bangladesh soon. The purpose of his visit is predicted to find out facts for investment opportunity in Bangladesh. This came in newspapers a few days ago like:

“Intel Corporation’s chairman Craig Barrett will visit Bangladesh during first week of September 2007. This could be viewed as an opportunity to develop partnership that brings a win-win platform. Craig made similar visit to Vietnam in 2002 which triggered the staggering investment afterward.”

Bangladesh needs foreign direct investment (FDI) from companies like Intel, but the political and infrastructure constraints are not quite attractive for such investment from big companies. However, we have a huge labor force at a comparatively cheap wage which makes us attractive to them. All we need now is a chance to prove ourselves to the big corporates. If Intel comes and operates a hardware assembly and test facility in Bangladesh successfully, it will be a matter of time for other major global players to have the faith on the business environment and opportunites in Bangladesh.

Our current investment scenario is no less than pathetic due to poor conversion of investment proposals into actual implementation. Intel chairman is visiting us in a time when we are just coming out of a major flood, facing a critical political age. But we hope that none of these will stop us from showing our real potential to this big corporate player. Intel’s investment in Vietnam turned this country from a state where we are today to a state where we want to go.

This could be relevant that Intel has an involvement with Bangladesh already. There are a few hundreds of BUET students working in Intel’s Design/Fabrication labs in CA,WA, VA,OR states in USA. A few years back, they formed a body named ‘IBA’ (Intel Bangladesh Association), which was approved by Intel authorities. And as an acknowledgment of contribution from this university, Intel funded for a simulation lab named ‘Robert Noyce Simulation Lab’ (named after one of the two founders of Intel) in Electrical & Electronic Dept of BUET. You can find details on IBA here: http://www.buet.ac.bd/eee/iba

In our next AABEA event of 4th September with Dr. Ishfaqur Reza in Santa Clara, I would like to know whether IBA is behind this visit of Craig Barrett to Bangladesh. NRBs have been trying to portray Bangladesh in a positive manner throughout the world and I believe this is one of those efforts.

If Intel thinks that the one engineer’s wage in USA can accomodate 10 engineers in Bangladesh, it may be good enough to outweigh the current infrastructure lackings we have. Imagine Intel investing $200 million or $500 million in Bangladesh and the economic picture of the country will change radically as other foreign investors will feel safe to invest here as well.

The caretaker govt should have done their homework to take proper advantage of Dr. Barrett’s visit to Bangladesh and show him our strength and potential. We are looking forward to this visit with lot of hopes, with great expectations. We can do it, we will do it.

Source: Taken from my post at AABEA Blog

August 22, 2007

Geni: Family Tree Application

Filed under: Community, Private, Web — ashikuzzaman @ 4:11 pm

I came to know about Geni from FreeBase a while ago. As soon as I saw it, I was amazed. allow people to graphically view and edit family trees. I was looking for such an application for a long time and now I have started my family tree. It will be not only useful and fun but will be a great way to socialize with the relatives.

Geni is a tool for understanding and staying in touch with your family. Geni lets you create a family tree through our fun simple interface. You can expand your tree by adding relatives’ email addresses. They will be invited to join your tree and can add other relatives. Your tree will continue to grow as relatives invite other relatives. From a technical point of view, the web site is so great in delivering exactly what a person would like to see in a family tree gradually that I am speechless! I don’t remember any other application stuck me with so surprise probably other than Facebook.

What are you waiting for now? Start your family tree in www.geni.com or join if one of your relative has already started the tree.

Older Posts »

Blog at WordPress.com.