Pages

What is Cocoa [Apple Programing Languages]

For who interest to develop an aplication can work on Iphone or Ipad, cocoa is one of programing language can handle this.
But theris lottof problem to make application whit this programing language because documentation is not like other language, we can find anywhere. Cocoa special programing language look like all of apple product always exclusive also their programing.

A Brief History of Linux

The term Linux is commonly used to refer to the entire UNIX-like operating sys-
tem of which the Linux kernel forms a part. However, this is something of a misno-
mer, since many of the key components contained within a typical commercial
Linux distribution actually originate from a project that predates the inception
of Linux by several years.

Strace Command On Linux

 saaujiro@saaujiro-sakabato:~$ strace -e trace=open,close date
When using command in above techniques, we need to be aware that, in a few cases,
the true name of a system call differs from the name of its glibc wrapper. For example,
though we refer to all of the wait()-type functions as system calls in Chapter 26, most of
them (wait(), waitpid(), and wait3()) are wrappers that invoke the kernel’s wait4()
system call service routine. This latter name is displayed by strace, and we must
specify that name in the –e trace= option. Similarly, all of the exec library functions
(Section 27.2) invoke the execve() system call. Often, we can make a good guess
about such transformations by looking at the strace output (or looking at the output
produced by strace –c, described below), but, failing that, we may need to check the glibc
source code to see what transformations may be occurring inside wrapper functions.
The strace(1) manual page documents a host of further options to strace, includ-
ing the following:
Output are here
saaujiro@saaujiro-sakabato:~$ strace -e trace=open,close date
open("/etc/ld.so.cache", O_RDONLY)      = 3
close(3)                                = 0
open("/lib/i386-linux-gnu/librt.so.1", O_RDONLY) = 3
close(3)                                = 0
open("/lib/i386-linux-gnu/libc.so.6", O_RDONLY) = 3
close(3)                                = 0
open("/lib/i386-linux-gnu/libpthread.so.0", O_RDONLY) = 3
close(3)                                = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
close(3)                                = 0
open("/etc/localtime", O_RDONLY)        = 3
close(3)                                = 0
Thu Jun 23 12:26:24 WIT 2011
close(1)                                = 0
close(2)                                = 0

File ownership and permissions

Each file has an associated user ID and group ID that define the owner of the file
and the group to which it belongs. The ownership of a file is used to determine the
access rights available to users of the file.
For the purpose of accessing a file, the system divides users into three catego-
ries: the owner of the file (sometimes termed the user of the file), users who are
members of the group matching the file’s group ID ( group), and the rest of the
world (other). Three permission bits may be set for each of these categories of user
(making a total of nine permission bits): read permission allows the contents of the
file to be read; write permission allows modification of the contents of the file; and
execute permission allows execution of the file, which is either a program or a script
to be processed by some interpreter (usually, but not always, one of the shells).
These permissions may also be set on directories, although their meanings are
slightly different: read permission allows the contents of (i.e., the filenames in) the
directory to be listed; write permission allows the contents of the directory to be
changed (i.e., filenames can be added, removed, and changed); and execute (some-
times called search) permission allows access to files within the directory (subject to
the permissions
From Book The Linux Programming inTerface

Superuser Linux

Superuser
One user, known as the superuser, has special privileges within the system. The
superuser account has user ID 0, and normally has the login name root. On typical
UNIX systems, the superuser bypasses all permission checks in the system. Thus,
for example, the superuser can access any file in the system, regardless of the per-
missions on that file, and can send signals to any user process in the system. The
system administrator uses the superuser account to perform various administrative
tasks on the system.

Gambas and Mysql

How to make connection from gambas to mysql, you can try like this way

PUBLIC konek AS NEW Connection
  PUBLIC PROCEDURE Connect()
  konek = NEW Connection
  konek.Type = "mysql"
  konek.Host = "localhost"
  konek.Login = "databaseuser"
  konek.Password = "pasword"
  konek.Name = "databasename"
  konek.Open
END
That all you need if you wanna make connection in gambas, so just try. Gambas is so easy and I think for easy than visual basic in windows