Posts Tagged ‘programming’

Dec
12
2010

The endianness problem and how to test the endianness

<"In computing, endianness is the ordering of individually addressable sub-units (words, bytes, or even bits) within a longer data word stored in external memory. The most typical cases are the ordering of bytes within a 16-, 32-, or 64-bit... Read more
Aug
03
2010

Compute difference between two dates – source code

Many times I need to compute differences between two dates, I built a library to do this, here it is the source code.  This is a preview of Compute difference between two dates – source code. Read the full... Read more
Jun
26
2010

How to Display an Alert on the iPhone

On the iPhone, to display an alert message to the user you can use the UIAlertView class. This is a preview of How to Display an Alert on the iPhone. Read the full post (121 words, estimated 29 secs... Read more
Jun
24
2010

iPhone section

Hi all, as you can see from the above menu, we are working on a new section of this site. The new section will talk about Apple iPhone, we'll add code snippets, our application and news regarding this fantastic... Read more
May
07
2010

A simple log manager in C. Part #3

In this article I' show how to handle multiple levels log. At first we need a function that will set the level we want to use, this function will update the valu of a global variable, then we need... Read more
Apr
16
2010

A simple log manager in C. Part #2

Printing the LOG The following function is the core function of the logManager. It prints the log data onto a file or onto the stderr/stdout. It receives as parameters, the following: the log file that can be NULL (in... Read more
Apr
09
2010

A simple log manager in C. Part #1

Logging your application status is very usefull when you develop new application, because it can help you finding bugs or malfunctions. This is a preview of A simple log manager in C. Part #1. Read the full post (746... Read more
Mar
11
2010

inKey: how to wait for a single keyboard characters using terminal device

Long time ago I used Applesoft BASIC on the Apple //c, BASIC was a very limited language but it provided a lot of very interesting high level functions. This is a preview of inKey: how to wait for a... Read more
Feb
28
2010

Network programming: UDP client/server source

With this post, the mini-serie dedicated to the simple udp client server ends. Here you will find all the working source code and the Makefile. I hope this helps network programming begginers moving their first steps.   To download the... Read more
Feb
23
2010

The Usart Bla bla bla: Bits, Baud and Symbols art #4

Bits, Baud and Symbols Baud is a measurement of transmission speed in asynchronous communication. Because of advances in modem communication technology, this term is frequently misused when describing the data rates in newer devices. This is a preview of... Read more
Feb
16
2010

The Usart Bla bla bla: The RS232-C and V.24 Standards art #3

The RS232-C and V.24 Standards In most computer systems, the UART is connected to circuitry that generates signals that comply with the EIA (Electronics Industry Association) RS232-C  (Recommend Standard  number 232 revision C) specification (there is also a CCITT... Read more
Feb
09
2010

The Usart Bla bla bla: A/synchronous transmission art. #2

The Usart Bla bla bla A little disquisition about USART and AVR microcontroller This is a preview of The Usart Bla bla bla: A/synchronous transmission art. #2. Read the full post (985 words, estimated 3:56 mins reading time) Read more
Feb
02
2010

The U[S]ART Bla bla bla: History art. #1

The Usart Bla bla bla A little disquisition about USART and AVR microcontroller The scope of this serie of articles is to explain the USART in depth and its use with the microcontroller AVR. A new article will be... Read more
Jan
14
2010

Network programming: demonize

Demonizing the Server A server, to be a real server shall be able to run as a demon, it shall run in background and it shall not be linked to a terminal. To do this I'll add two functions... Read more
Jan
10
2010

Network programming: simple udp client server #2

The Client. The following code contains the implementation for the UDP client application that can send data to the server explained in the previous article. This is a preview of Network programming: simple udp client server #2. Read the... Read more
Jan
04
2010

Network programming: simple udp client server #1

The Server. In this small series I'll show you how to write a simple UDP Client/Server system in a Unix environment using the C language. The server waits data listening on a port specified by the user, if the... Read more
Statistical data collected by Statpress SEOlution (blogcraft).