US prison contractor website is hacked

US website "Prison Contractor" is hacked. It is declared in  an anti-police campaign that anonymous hacker group have done this thing. One sub group "Antisec" took the responsibility of replacing the GEO GROUP website home page with a rap song dedicated to the murderer Mumia Abu Jamal.Mumia Abu is a former radio journalist serving a life sentence for the 1981 shooting death of a police officer.Hacker group left a message on a website home page that as part of our ongoing efforts to...

SQL query extension

By default, the standard program reads the entire main table when retrieving data for a particular form, even though some records and fields may not be required. By default also, the standard program reads only those reference table fields that are included on the form, even though the UI script and/or the DAL script may require other reference table fields.  Query extensions define conditions that the standard program adds to the SELECT, FROM, and WHERE clauses of a database query in order to filter out unwanted records and fields of the...

4GL Main table section

You use main table i/o sections to program actions that you want to be executed when read or write actions occur on the main table. These sections are not relevant to type 4 programs, as such programs do not have a main table. Main table i/o sections consist of a main section and a subsection. The main section is always main.table.io. The subsection indicates when the actions must be executed.  Note that main.table.io sections (except the read.view subsection) are ignored when the corresponding DAL hooks are programmed in a DAL script. Main...

4GL zoom.from Section

You use zoom.from sections to program actions that you want to be executed when the current session is activated as a zoom process. A zoom process can be activated by a form-specific command of type session, by zooming on an input field, by pressing CTRL+B, or by calling zoom.to$() in the program script. Zoom.from sections consist of a main section and a subsection. The main section specifies the process for which the actions must be executed. The subsections specify when the actions must be executed. Main sections zoom.from.<zoom name>: Each...

4GL Field Section

You use field sections to program actions that you want to be executed for a variety of field events. Field sections consist of a main section and a subsection. The main section specifies the field(s) for which the actions must be executed. The subsections specify when the actions must be executed. Main sections field.<field name>: The subsections associated with this main section are executed for the specified field. The field name you specify must correspond with the name on the form.  field.all: The subsections associated with...

4GL Choice Section

You use choice sections to program actions that you want to be executed when standard commands are activated or ended. Choice sections consist of a main section and a subsection. The main section specifies the standard command for which the actions must be executed. The subsections specify when the actions must be executed. Main section choice.<standard command>: The subsections associated with this main section are executed for the specified standard command. You use the Maintain Forms by Package VRC session to select the standard commands...

4GL Group Section

With dynamic forms, the mapping of groups to forms is not fixed. Consequently, the only form section that is relevant to dynamic forms is the form.all section. When dealing with dynamic forms, you use group sections instead of form sections You use group sections to program actions that you want to be executed when particular groups are activated or ended. Group sections consist of a main section and a subsection. The main section specifies the particular group(s) for which the actions are to be executed. The subsections specify when the actions...

4GL Form Section

You use form sections to program actions that you want to be executed when forms are activated or ended. Form sections consist of a main section and a subsection. The main section specifies the particular form(s) for which the actions are to be executed. The subsections specify when the actions must be executed – for example, when the form is activated or when the form is ended. Main sections form.<form number>: The subsections associated with this section are executed for the specified form. The <form number> is the sequence number...

4GL Program Section

You use program sections to define functions, and to declare tables and global variables, that you want to use in the other sections in the script. You also use program sections to program actions that you want to be executed when the session starts or ends.  The following program sections are available. They are all main sections. There are no subsections associated with program sections. Main sections declaration: Use this section to declare tables and global variables that you want to use in other sections in the script. See Variable...

4GL Event Section

A 4GL script can contain one or more of the following types of sections: Program sections  Form sections  Group sections  Choice sections  Field sections  Zoom sections  Main table sections  With the exception of program sections, each section consists of a main section and one or more subsections. A main section indicates the object for which the programmed actions must be executed. A subsection specifies when the actions must be executed. Program sections consist of a main section only. If you do not include...

One of its own Kind: Canal Project In India

The western Indian state of Gujarat is all set to become the first state in the country to generate solar power through panels mounted on a water body. Installation of panels on the canal will help in doing away with the need to acquire land. Evaporation of lakhs of litres of water will be prevented since the canal will be covered. And will generate clean energy. Generated solar power will be supplied to villages alongside the canal, which will lead to lower transmission losses and also helping...

Google is giving respect to Heinrich Rudolf Hertz

Today is the 155th birthday of Heinrich Rudolf Hertz who proved that electricity can be transmitted via electromagnetic waves.  This discovery of Hertz later proved the way of development of wireless telegraph and radio.Thats why unit of radio frequency is called Hertz.Hertz measured Maxwell's waves and showed how the velocity of radio waves is equal to the velocity of light.Google Doodles are the decorative changes that are made to the Google logo to celebrate holidays, anniversaries,...

shiftc$(),shiftl$() and shiftr$()

Syntax string shiftc$( string strg(.) ) string shiftl$( string strg(.) ) string shiftr$( string strg(.) ) Description These return the specified string with certain adjustments.  shiftc$() centers the string by equaling the number of leading and trailing spaces. If there is an odd number of spaces, the extra space becomes a trailing space. The returned string always has the same length as the input string.  shiftl$() removes any leading spaces from the input string.  shiftr$() moves the contents of the input string to the right,...

strip$()

Syntax string strip$( string_expr ) Description This returns a specified string without trailing spaces. The input string remains unchanged. Example strip$("    ABC    ")      | result  "    ABC" Related Post: String operati...

str$()

Syntax string str$( num_expr ) Description This converts an integer or floating point expression to a string.  Related Post: String operatio...

pos() and rpos()

Syntax long pos( string source(.), string pattern(.) ) long rpos( string source(.), string pattern(.) ) Description These return the start position of a specified substring (pattern) in a specified string (source). source and pattern can be either strings or string expressions.  pos() starts searching for the substring at the first position in the source string. rpos() starts searching at the last position in the source string. Both return the start position relative to the beginning of the source string.  Return values The start...

lval() and val()

Syntax long lval( string_expr ) double val( string_expr ) Description These convert a string expression that consists of digits to its numeric representation.  lval() converts its argument to an integer. If the string contains a floating point number, the result is truncated. val() converts its argument to a floating point number. lval() is faster than val(). Return values The specified string converted to a long or floating point number. Or 0 if the result of string_expr cannot be converted to a number. Related Post: String operati...

len()

Syntax long len( string_expr ) Description This returns the number of characters in string_expr. For strings declared as FIXED, the total length of the string is returned. For non-fixed strings, the current length is returned. To retrieve the length of FIXED strings, excluding trailing spaces, use strip$().  Example long      lng string    var(20) string    fix(20)    fixed var = "abc" fix = "abc" lng = len( var )                | Returns 3 lng = len(...

isspace()

Syntax long isspace( string_expr ) Description This tests whether the result of string_expr contains only spaces or is empty.  Return values TRUE string is empty or contains only spaces FALSE     string is not empty and contains characters other than spaces Example string str1(20) if ( not isspace(str1) ) then message( "'%s' is not empty", str1 ) endif Related Post: String operati...

concat$()

Syntax string concat$( string separator, expr, ... ) Description This converts one or more expressions to strings and merges the expressions into a single string. You can use string.scan() to split the string again into its individual parts. This function is used mainly by the report processor to save unsorted records in a sequential file for subsequent sorting. Arguments separator The separator to be placed between individual values in the merged string. expr ...         One or more expressions of type long, double,...

String operations

Use these functions to manipulate strings in various ways. For example: to check whether a string contains a long value or spaces to check the number of characters or bytes in a string to load numeric values stored in a string into variables of type long or double to convert a number contained in a string to its numeric representation to convert an integer or floating point number to a string to convert a string to upper case or lower case to search for a substring within a string to strip leading and trailing spaces from strings to align strings to...

India: route all emails through servers in india

During a recent high-level meeting held in the office of Union Home Secretary R K Singh, the Department of Information Technology (DIT) ,it is decided that all the  emails will route through the servers located in india even if accounts are not registered in india.However, Yahoo accounts registered outside India and subsequently accessed from India are routed through servers outside India.Some people will definitly think about this that what is the need of this thing but i want to clear one...

Redo Byte Address (RBA)

Recent entries in the redo thread of an Oracle instance are addressed using a 3-part redo byte address, or RBA. An RBA is comprised of  * the log file sequence number (4 bytes)* the log file block number (4 bytes)* the byte offset into the block at which the redo record starts (2 bytes)  RBAs are not necessarily unique within their thread, because the log file sequence number may be reset to 1 in all threads if a database is opened with the RESETLOGS option.  RBAs are used in the following important ways.  With respect to a...

VLC's new version VLC2.0 with super updates

VLC is a portable multimedia player, encoder, and streamer supporting many audio and video codecs and file formats as well as DVDs, VCDs, and various streaming protocols. VLC 2.0 is also addressed as "Twoflower" in a software market.It is one of the most platform-independent players available.It has ability of faster decoding on multi-core, GPU, and mobile hardware and the ability to open more formats, notably professional, HD and 10bits codecs.It also includes Multi-threaded decoding...

What is an Iterator interface?

The List and Set collections provide iterators, which are objects that allow going over all the elements of a collection in sequence. The java.util.Iterator<E> interface provides for one-way traversal andjava.util.ListIterator<E> provides two-way traversal. Iterator<E> is a replacement for the olderEnumeration class which was used before collections were added to Java. Creating an Iterator Iterators are created by calling the iterator() or listIterator() method of a List, Set, or other data collection with iterators. Iterator...

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More