Tampilkan postingan dengan label about. Tampilkan semua postingan
Tampilkan postingan dengan label about. Tampilkan semua postingan

Information About Mobile App Developers NYC Offers

Kamis, 03 Juli 2014

By Marla Mills


It is evident that the android platform had made a huge development towards making mobile app developers NYC have their share in the technology world. Given such opportunities, these professionals have managed to develop application on a regular basis. The number of such apps that you can find on various online stores is overwhelming. By reading this work, you will be able to find out why this trend is possible.

At all times, you will the specialists mentioned above busy on their work while maintaining their concentration on one thing. In other words, these people have high levels of focus on what they are doing. As such, it goes without mention that focus is one of the main traits that one will find that the above professionals poses. In aiding their work, these do have written project proposals that guide them in order to complete the work within a specified time.

Another outstanding characteristic of people in the above industry is cautiousness. When coding, there are high chances of making mistakes along the way. The surest way of avoiding such mistakes is by being careful while doing the work. As such, one will not have to do much work in debugging the application. This way, one is able to save resources, money and time.

Although most people some sense of creativity in one way or another, people who are into software developing sector show high levels of creativity. They can come up with new ideas within a short time. This characteristic is important in aiding the professionals make more software that have unique features. Before thinking of becoming a professional in the software sector, you need to have this trait.

Despite having other characteristics, having the relevant and latest technological knowledge comes in handy. Producing an application that will cater for the latest needs of users, one has to understand such techniques in order to deliver something that the public can adopt. With the release of new platforms, people working under the industry make sure that they learn how the new stuff works.

Managing time is big problem for many people. The same situation does not apply to the professionals mentioned in this piece of work. On the contrary, they are able to use the time that they have in the correct and most productive way. At times, even if it means coming up with tight working schedules, these individuals are always to do the same. They are good at managing their time.

Determination and patience is part of the specialists mentioned. No matter the situation, individuals in the software industry are always determined to get where they want. They do this by making sure that they complete anything that they are making and making available to the people. At times, one will have to spend sleepless nights while making final touches on an application.

The traits that this work discusses concerning mobile app developers NYC offers are the reason why these programmers are making it big. If you would like to join this group of professionals, start practicing the requirements. They are simple.




About the Author:



Read More..

What You Should Know About Forefront Identity Manager

Rabu, 25 Juni 2014

By Rhea Solomon


There is no organization that is able to stand to its feet without dedicated forefront identity manager . This is because there is nobody to oversee the work of others and motivate them to work harder. Talk of goals and objectives too whereby it will be like working towards nowhere. Hence there is need for administration of any organization for all work to run smoothly and efficiently.

In its broader view it means the organizing and coordinating of activities of the business so that a business organization is able to meet its objectives and goals. For this to happen there should be factors of production available and the principal to administer this.

But for the managers to do these functions as required, they are supposed to have skills, knowledge and experience on the same. Some of skills include conceptual skills, communication skills, human relations and technical skills. Technical skills is the professionalism and expertise they have that can be used to aid performance of various duties. Where the employees have no know9how, the manager can come in to assist them.

Human relations skills however are the most important. They go hand in hand with the staffing function. The skills are required so that the manager gets to know how to handle the employees in the organization; treating them fairly and motivating them so that they can be satisfied with the job environment for them to be more productive. Harsh managers are likely to build a poor working relationship with the manager and they are likely to produce poor results.

Controlling is another important function. It involves monitoring of activities and taking necessary measures to deal with any deviations if any. The manager does this by visiting all departments to see if there is any working on less capacity or identify any hitch in the entire production activities. This will avoid waste as some employees may not be keen in the production process. The manager can also use their skills to foresee any sides that are likely to reduce production to affect the business negatively and then take a necessary course of action.

Controlling is also another function that is supposed to be done by the managers. It involves monitoring the activities and operations in different departments to identify any deviations from what is planned and necessary measures taken to make it right. The manager identifies the department that is not working and decides on what to do. However problematic areas can be identified earlier enough and right measures taken.

At times the managers will need to delegate their power and authority to their juniors for a variety of reasons. They may want to relieve themselves from some work they do in the organization. They may also want to give the juniors a chance to prove themselves so that they can feel part and parcel of the firm.

Given the many advantages of forefront identity manager in management, it is a tool that should be used in every organization. It enables the business to compete in the market appropriately. Also it makes living standards grow and the economy due to more productivity.




About the Author:



Read More..

The Truth About Exercise BBC Horizons

Kamis, 20 Maret 2014

This time I will not discuss about IT or InfoSec but health. The following is a video, which was produced by BBC in 2012, talking about keeping fit with HIT (High Intensive Training) and LIT (Low Intensive Training) without sweating. Ideal for busy people like us.



BBC Horizons (January 2012) - The Truth About Exercise from Henry Dimaano on Vimeo.

Read More..

How will you go about explaining the following Java concepts to a beginner

Minggu, 09 Februari 2014



Q. How will you go about explaining the following Java concepts to a beginner who is starting to learn Java
A.

1. Process Vs Threads
2. Heap versus Stack
3. Local variables versus instance variables
4. How do threads communicate with each other?
5. Are Java methods reentrant?
6. Does Java support recursive method calls?
7. Object creation and Garbage collection
8. Can you garbage collect objects that have a circular reference?
9. Producer-consumer design pattern.


The best way to do this is to write some basic code and then have a pictorial representation as to how the objects are created, how do threads work and communicate with each other, and what is stored in a heap and what is stored in a stack, etc.

Here is an example of a producer thread (thread-0) producing by incrementing the counter from 0, and the consumer thread (i.e. thread-1) consumes by decrementng the counter. These two user created threads are spawned by the main thread, which is created by the JVM and is alwyas there by default. The ConsumerProducer is the shared object with synchronized methods that commuincate with each other via wait( ) and notifyAll methods. Only one of the two synchronized methods can be executed at a time. The wait( ) call in consume( ) relinquishes the lock to the produce( ) method, and once the produce method has incremented the count, it notifies all threads and one of the waiting threads will resume. In this example, there is only one waiting consumer (i.e. Thread-1) thread. So, both threads will be communicating with each other via the wait( ) and notifyAll( ) calls in the shared object ConsumerProducer. This is an example of the producer-consumer design pattern.



Firstly, look at the code and then the diagram. The diagram is simplified to get an understanding and should not be construed as exactly what happens in the JVM.


public class ConsumerProducer {

private int count;

public synchronized void consume() {
while (count == 0) { // keep waiting if nothing is produced to consume
try {
wait(); // give up lock and wait
} catch (InterruptedException e) {
// keep trying
}
}

count--; // consume
System.out.println(Thread.currentThread().getName() + " after consuming " + count);
}

public synchronized void produce() {
count++; //produce
System.out.println(Thread.currentThread().getName() + " after producing " + count);
notifyAll(); // notify waiting threads to resume
}

}


The main thread spawns a consumer and a producer thread. The ConsumerProducer is shared between two threads. The boolean flag is used to signal if it is a consumer thread or a producer thread to invoke the relevant methods.


public class ConsumerProducerTest implements Runnable {

boolean isConsumer;
ConsumerProducer cp;

public ConsumerProducerTest(boolean isConsumer, ConsumerProducer cp) {
this.isConsumer = isConsumer;
this.cp = cp;
}

public static void main(String[] args) {
ConsumerProducer cp = new ConsumerProducer(); //shared by both threads to communicate

Thread producer = new Thread(new ConsumerProducerTest(false, cp));
Thread consumer = new Thread(new ConsumerProducerTest(true, cp));

producer.start();
consumer.start();

}

@Override
public void run() {
for (int i = 1; i <= 10; i++) {
if (!isConsumer) {
cp.produce();
} else {
cp.consume();
}
}

//try with introducing a sleep for 100ms.

}
}

The output will vary, but the last thing consumed will be 0
Thread-0 after producing 1
Thread-0 after producing 2
Thread-0 after producing 3
Thread-0 after producing 4
Thread-0 after producing 5
Thread-0 after producing 6
Thread-0 after producing 7
Thread-0 after producing 8
Thread-0 after producing 9
Thread-0 after producing 10
Thread-1 after consuming 9
Thread-1 after consuming 8
Thread-1 after consuming 7
Thread-1 after consuming 6
Thread-1 after consuming 5
Thread-1 after consuming 4
Thread-1 after consuming 3
Thread-1 after consuming 2
Thread-1 after consuming 1
Thread-1 after consuming 0




The above code can be diagramatically represented as shown below.




  • The JVM is a process. As you could see in the diagram above that each thread has its own stack, but share the same heap space. One heap space per process.

  • The local variables like producer, cp, and consumer are stored in the stack along with the method calls like main( ), run( ), etc.

  • The objects are created in the heap. For example, 2 instances of ConsumerProducerTest and a single instance of ConsumerProducer. Unless the methods of these instances are properly managed, multiple threads can concurrently access these intsnaces to cause thread-safety issues.

  • There are scenarios where the threads want to commuincate with each other. For example, a worker thread produces something and a consumer thread consumes what the producer thread consumed. This can be achieved through thread coordination with the wait and notify( ) / notifyAll( ) methods. In the above example, since both the produce( ) and consume( ) methods of the object ConsumerProducer are synchronized, only one thread can execute either one of the methods. If the count == 0, the consumer thread relinquishes the lock by invoking the wait( ) method and waits for it to be notified again to resume. The producer thread will increment the counter and then will notify all the waiting threads via the notifyAll( ) method. One of the waiting threads will then be able to resume from its waiting state.

  • The local variable isConsumer is used to differentiate between a consumer thread and a producer thread.

  • The count is an instance variable shared by both the consumer and producer thread in a thread-safe manner.



Here are the points that answers the above questions.

  • Each time an object is created in Java it goes into the area of memory known as heap.
  • The primitive variables like int, double, etc are allocated in the stack if they are local variables and in the heap if they are instance variables (i.e. fields of a class).
  • Java is a stack based language and local variables are pushed into stack when a method is invoked and stack pointer is decremented when a method call is completed.
  • In a multi-threaded application, each thread will have its own stack but will share the same heap. This is why care should be taken in your code to avoid any concurrent access issues in the heap space.
  • The stack is thread-safe because each thread will have its own stack with say 1MB RAM allocated for each thread but the heap is not thread-safe unless guarded with synchronization through your code. The stack space can be increased with the –Xss option.
  • All Java methods are automatically re-entrant. It means that several threads can be executing the same method at once, each with its own copy of the local variables.
  • A Java method may call itself without needing any special declarations. This is known as a recursive method call. Given enough stack space, recursive method calls are perfectly valid in Java though it is tough to debug. Recursive methods are useful in removing iterations from many sorts of algorithms. All recursive functions are re-entrant but not all re-entrant functions are recursive.
  • Idempotent methods are methods, which are written in such a way that repeated calls to the same method with the same arguments yield same results.
  • Each time an object is created in Java, it goes into the area of memory known as heap. The Java heap is called the garbage collectable heap. The garbage collection cannot be forced. The garbage collector runs in low memory situations. When it runs, it releases the memory allocated by an unreachable object. The garbage collector runs on a low priority daemon (i.e. background thread). You can nicely ask the garbage collector to collect garbage by calling System.gc( ) but you can’t force it.
  • An object’s life has no meaning unless something has reference to it. If you can’t reach it then you can’t ask it to do anything. Then the object becomes unreachable and the garbage collector will figure it out. Java automatically collects all the unreachable objects periodically and releases the memory consumed by those unreachable objects to be used by the future reachable objects.
  • If two objects have circular reference with each other in the heap, but none of them are reachable from any thread, then those circular referenced objects can be garbage collected.
Read More..

What all new Oracle users should know about SQL Plus

Senin, 03 Februari 2014

Ok, I realize anyone who’s used oracle much will already know this, but I still get asked this question a lot. Usually its from people who know SQL, but havent worked a lot with Oracle.

If you are using SQL Plus with Oracle, you may be surprised by the odd way it displays results. This is because by default SQL Plus assumes your screen is only 80 characters wide, and 14 rows tall, and wraps accordingly.

You can fix this by entering the following in SQL Plus:
set pagesize 50000 
set linesize 32767

By default those values are 14 and 80 respectively. 32767 is the maximum size for linesize and 50000 is the maximum size for pagesize.
Read More..