Twise Random

A site about computer science .
Skip to content
  • apple
  • android
  • c
  • cpp
  • data structure and algorithms
  • macos
  • python
  • tutorials

Tag: tutorial

sizeof operator in c

Posted on August 26, 2021August 27, 2021 by mohamad wael

What is the sizeof operator?

The sizeof operator, returns the size of an expression, or of an object type in C. An expression is for example 1 + 2, an object is any region of memory, and a … Read More

c tutorial

ARM processor modes

Posted on August 11, 2021August 19, 2021 by mohamad wael

 

Let us start by first asking the question, of why do we need, the processor modes. Well simply put, a processor mode, is used to define a capability, so for example, the kind of features, instructions, or registers which … Read More

arm tutorial, what is

What is core foundation?

Posted on July 27, 2021August 28, 2021 by mohamad wael

A little bit of history

To understand what core foundation is, let us get back in history a little bit. It was the year 2000, and there were two ways to develop applications, for macOS 10.

On one hand, … Read More

apple tutorial

What is NSObject ?

Posted on July 22, 2021July 22, 2021 by mohamad wael

 

Many object oriented programming languages, have a class, from which all other classes extends.

In general, a class has a set of methods, and variables, which it defines. The variables being the data, and the methods, being the … Read More

objective-c foundation, objective-c, oop, tutorial

How to list windows, and their information, under Microsoft windows, Linux and macOS

Posted on July 15, 2021 by mohamad wael

 

A window is just a place, where an application can do its drawing, like drawing a button, text or other stuff.

For Linux

On Linux or UNIX like systems, there is a tool called xwininfo, which can be … Read More

ui tutorial

What is a property in X11?

Posted on July 10, 2021July 12, 2021 by mohamad wael

 

In X11, a property simply has a name, a type, a format, a value, and is associated with a window.

There is a set of functions, provided by X11, which allows manipulating a property, and they … Read More

X11 bsd, linux, PropertyNotify, tutorial, x11, XChangeProperty, XDeleteProperty, XGetWindowProperty, XListProperties, XPropertyEvent, XRotateWindowProperties, XSelectInput

What is an atom in X11?

Posted on July 7, 2021July 9, 2021 by mohamad wael

 

An atom in X11, is of type Atom, which is defined in the <X11/Xatom.h header, as :

typedef unsigned long Atom;		/* Also in Xdefs.h */

An atom is 32 bits, the reason, that long was chosen, … Read More

X11 linux, tutorial, XGetAtomName, XGetAtomNames, XInternAtom, XInternAtoms

xset a tutorial

Posted on June 30, 2021June 30, 2021 by mohamad wael

 

xset is a tool, which allows specifying certain configuration, for the X11 server. Mainly these configuration, are related to hardware, that the X11 server interacts with, so the keyboard, the mouse, the display, this being said, the display power … Read More

unix tutorial, x11

C++ integer types a tutorial !

Posted on February 22, 2021 by mohamad wael

 

The integer types in C++ are fundamental types . A fundamental type , has a mapping to hardware , so the operations performed on a fundamental type , are hardware performed .

Boolean , Characters , and integer types … Read More

cpp tutorial

Characters in lisp a tutorial

Posted on February 21, 2021February 22, 2021 by mohamad wael

 

Character repertoires in lisp

A character repertoire such as ascii , or Latin alphabet 1 , or unicode , is a set of characters .

Each character , such as a , in a repertoire , is assigned a … Read More

lisp tutorial
  • 1
  • 2
  • 3
  • 4
  • »