FBI was told Steve Jobs would distort reality to achieve goals

There was a time when not much was known about the iconic co-founder of Apple. But after his death, more and more details about Steve Jobs, the person and CEO, have emerged. First there was his official biography, showing him an excellent entrepreneur and visionary but at the same time having a penchant for bullying and being a tough boss. Now FBI has released an extensive report on Jobs, full of rich details about his life as an individual and as an entrepreneur.Most people contacted by FBI gave...

Why facebook does not get success in China

Facebook said last week it was contemplating re-entering China, the world's second biggest economy, after being blocked nearly three years ago.  Few foreign internet companies have succeeded in China. EBay Inc, Google Inc, Amazon.com Inc, Yahoo Inc and most recently Groupon Inc form the list of notable online players who have failed to gain traction in the fast-growing nation of 1.3 billion people. It's actually a bit late for Facebook," said Hong Kong-based CLSA analyst Elinor Leung,...

13000 websites are blocked by Pakistan, for vulgarity

Pakistani authorities have blocked 13,000 "obscene" websites and are taking more steps to prevent the spread of such materials through the Internet.A ministerial committee and a sub-committee had been formed to look into the matter. Khan expressed concern at what he described as the "rapid spread of obscene websites" and said the government currently has no mechanism to block all these websites.  After a string of cases were filed in courts across Pakistan against blasphemous and pornographic...

How to call a function in store procedure Oracle PL/SQL

create or replace function final_sal(v_empno number) return number is v_newsal number; v_sal number; v_comm number; begin select sal,comm into v_sal,v_comm     from emp       where empno=v_empno; if v_comm is null then v_newsal :=nvl(v_comm,2000); V_newsal := (v_newsal+v_sal)*12; return v_newsal; else v_newsal := (v_sal+v_comm)*12; return v_newsal; end if; end final_sal; create or replace procedure emp_details(v_empno number)  is  v_ename varchar2(20);  v_job varchar2(20);  v_mgr varchar2(20);  v_sal...

Difference between page include and file include in JSP

<jsp:include page="page.jsp" > is action which include the output of page.jsp at dynamically. Instead of copying all content of page.jsp Container translate ,compiles page.jsp separately and copy the output of page.jsp to current page. It means it's dynamic inclusion. <@include file="page.jsp"> it is directory which copy all content's of page.jsp to current jsp page and then complete current page is translated and compiled. It is static inclusion of file which means copy all source code...

Enable and Disable Assertion in Java

How to enable and disable Assertion in Java Assertion are simple check  assumption  made at the beginning of the program to ensure the program is true throughout  provided by  the Java language. For example, the range of age should be in between 18  and above; or cannot be more than 50.These are the set of expression used in Java that enables you to check the assumption made in a program during throughout the execution of program. An Assertion contain a Boolean expression which is set to be true in the beginning of the...

How to convert Enum to String with Example

we can convert Enum to String by using toString Method.. For example enum EnumToString{ a,b,c } public class EnumToStringMain{ public static void main(String args[]){ System.out.println(EnumToString.a.toString); //Here we convert enum value into String } } Output is: ...

Improving Performance of Java application

Thirteen Great Ways to Increase Java Performance 1. Use buffered I/O. Using unbuffered I/O causes a lot of system calls for methods like InputStream.read(). This is common in code that parses input, such as commands from the network or configuration data from the disk. 2. Try to avoid new. Garbage collection is rarely a serious performance overhead. But, Java1 virtual machine (JVM)-internal synchronization caused by the new operation can cause lock contention for applications with lots of threads. Sometimes new can be avoided by re-using byte...

How to create File and Directory in Java Example

Create a File  Whenever the data is need to be stored, a file is used to store the data. File is a collection of stored information that are arranged in string, rows, columns and lines etc.In this section, we will see how to create a file. This example takes the file name and text data for storing to the file.For creating a new file File.createNewFile( ) method is used. This method returns a boolean value true if the file is created otherwise return false. If the mentioned file for the specified directory is already exist then the createNewFile()...

Java Final Method with Example

A final method cannot be overridden by any subclass in java. This means if we try to override final method through subclass compiler will throw an error. This is example of Java final method FinalMethod.java public class FinalMethod {   public final void finalMethodClass()   {           System.out.println("This is final method of java");   } } Cannot override final methods SubClassFinalMethod.java public class SubClassFinalMethod extends FinalMethod{  ...

What is final in Java? Final variable, Method and Class Example

Java Final Keyword  • A java variable can be declared using the keyword final. Then the final variable can be assigned only once. • A variable that is declared as final and not initialized is called a blank final variable. A blank final variable forces the constructors to initialise it. • Java classes declared as final cannot be extended. Restricting inheritance! • Methods declared as final cannot be overridden. In methods private is equal to final, but in variables it is not. • final parameters – values of the parameters...

Google is going to develope 'Terminator-style' HUD goggles

Google is going to  launch hi-tech glasses with in-built computer displays.Supposition is dominant  that hi-tech "heads up display" glasses are being developed at Google's secret "Google X" lab for months.The glasses will be armed with cameras, an Android operating system.The glasses will run a version of the California-based Google's Android.  Google specialist Seth Weintraub says, "Our tipster has now seen a prototype and said it looks something like Oakley Thumps. These glasses,...

Microsoft may ditch start button‎ in Windows 8

The start button evolved to become the operating system's 'launchpad', offering access to software, files and search functions.  According to leaked screenshots from the tech site, The Verge, earlier test versions of Windows 8 had flattened the recognisable 'orb', but the new build removes it altogether. Microsoft's iconic start button, which was introduced in Windows 95, is likely to be removed in the software firm's upcoming Windows 8 version, according to a report.  A thumbnail-like...

SQL and delayed locks

The purpose of delayed locking is to postpone the physical lock of a record as long as possible. The program places the physical lock immediately before updating. During updating, the value of the record at the moment of selection must be known, as this is compared to the value at the moment of updating. During comparison, the relationships between fields are taken into account.For a record to be delayed-locked when selected, the keyword FOR UPDATE must be included in the SELECT statement. In SQL, 'normal' record locking is not possible. When placing...

SQL subquries

Baan SQL permits the use of subqueries. These are SELECT statements in the WHERE clause of another SELECT statement.Defining nested queries can be very difficult. It is best to define the subquery of the lowest level first and the main question last.  Example 1 Select those prices from the item file that are above average. When calculating the average, the system should not take prices less than or equal to zero into account. SELECT tiitm001.copr | cost price FROM tiitm001 WHERE tiitm001.copr > ( SELECT avg(tiitm001.copr) ...

SQL and combined fields

Defining a query that can be handled efficiently by the query handler is a complex task. This is especially true if there are combined fields (which consist of a number of child fields), as each field must be specified separately.  Specifying a combined field As the designer can usually judge best which index should be used for an optimum result, the following construction enables the designer to specify a combined field: WHERE ppmod001.comb1 = {"adv", "099", "123"} A child field can be an expression, a BAAN 4GL variable, or a pseudo...

Company number

The company number used during execution of a BAAN 4GL query is the current company number. The current company number is: the default company number ( defined in the session "Maintain User Data" ) a company number specified by the compnr.check() function The <table._compnr field  The <table>._compnr field enables the use of different company numbers. This field specifies the actual company number of the table. When this field is undefined, the current company number is taken as the default. 'Undefined' is denoted by the value -1. When...

References

Retrieving references to a record In the standard SQL interface, you can retrieve references to a record as follows: | Suppose that tiitm001 has a reference to tccom010 (field 'cuno'), | and to tccom011 (field 'suno') table ttiitm001 table ttccom010 table ttccom011 SELECT tiitm001.*, tccom010.*, tccom011.* FROM tiitm001, tccom010, tccom011 WHERE tiitm001.cuno = tccom010.cuno AND tiitm001.suno = tccom011.suno Retrieving references using REFERS TO To simplify the retrieval of references, you can specify references (using the keyword REFERS...

Using Program Variables

As a 4GL query is handled via the bshell, you can directly relate program variables to it. Linking program variables is required for both the SELECT clause and the WHERE clause. SELECT clause In the <select list> of the SELECT clause, program variables are used to indicate the elements in which the query results must be stored. You can do this by explicitly specifying a program variable. The general syntax is: <select part>:<program variable> For example: SELECT ppmod123.field1:my_val1 Or you can directly use a program variable...

SQL Syntax

The general structure of an SQL query is as follows: SELECT <select list>  [ FROM <from list> ]  [ WHERE <where condition> ]  [ GROUP BY <group list>  [ HAVING <having condition> ] ]  [ ORDER BY <order by list> [ WITH RETRY [REPEAT LAST ROW] ]]  [ SET SPECIFICATION ]  Related Post: BAAN S...

BAAN SQL

You use Baan SQL (Structured Query Language) to retrieve information from the database. With Baan SQL's SELECT statement, you can retrieve any selection of data from the database, regardless of the number of tables in which the data is stored. The system does search through all records sequentially. It bases its search on a number of conditions defined in the SELECT statement.  The SELECT statement does not modify the data in the database. It is used simply to query the data. Whereas only one user at a time can modify data, any number of users...

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More