Archive for the 'Software Development' Category

Where are the Semantics in the Semantic Web?

Introduction
The current evolution of the Web can be characterized from various perspectives [Jasper & Uschold 2001]:

Locating Resources: The way people find things on the Web is evolving from simple free text and keyword search to more sophisticated semantic techniques both for search and navigation.

Users: Web resources are evolving from being primarily intended for human consumption to being intended for use both by humans and machines .

Web Tasks and Services: The Web is evolving from being primarily a place to find things to being a place to do things as well [Smith 2001].

All of these new capabilities for the Web depend in a fundamental way on the idea of semantics. This gives rise to a fourth perspective along which the Web evolution may be viewed:

  • Semantics—The Web is evolving from containing information resources that have little or no explicit semantics to having a rich semantic infrastructure.

Scalable Network Programming

The fork-and-do-something latency on my notebook on Linux 2.6 is 200
microseconds. That means my notebook can create 5.000 processes per second. Thus my notebook can handle about 13 billion forks per month. My Athlon XP 2000+ desktop can do 10.000 processes per second, or 26 billion per month. Heise Online, the biggest German site, had 118 million page impressions in September.

Scheduling
Why does the fork benchmark include writing to the pipe? Because having many processes not only makes creating more processes more difficult, it also makes choosing which process to run more difficult. The part of the operating system that chooses which process to run next is called the scheduler. A typical workload is having two dozen processes, with one or two of them actually having something to do (they are runnable).

iPhone-exif Developer Guide

Using the Library in your Project
The library can be used in two ways:

  1. Import the binary as a static library
  2. Embed the source directly

Use as a static library
To use as a static library in your project you must download the zip file and unzip to a suitable location.

The libiphone-exif.a is the static library, the include directory contains the header files. To use this in Xcode first add the library to the frameworks library.

  1. Select the frameworks folder.
  2. Select add > existing file
  3. Make sure the copy file option is selected in the dialog box.
  4. You should see the library appear in the frameworks folder as a toolbox icon. e.g

We now need to include the header files in our project.

  1. Select the Classes directory.
  2. Click add existing files

Network Programming with TCPIP UNIX

Sockets

  • developed for Berkeley UNIX : recall early Berkeley TCP/IP implementation, first delivered with BSD 2.1
  • central features: central abstraction – the socket – an end-point like an electrical connector, not TCP/IP specific (e.g. UNIX named pipes), uses normal read/write system calls, sockets associated with UNIX file descriptors but some not for normal I/O, some extra system calls
  • sits more comfortably with TCP than with UDP because of byte-stream nature of UNIX I/O
  • special UDP functions e.g., recv(…) – accepts a UDP datagram
  • additional non-socket functions e.g., gethostbyname(…) – domain name server

Establishing a TCP Connection
Initial State

  • TCP is connection based … establishing it is a complex multistage process
  • initially all machines are the same
  • no special ‘server’ machines
  • the difference is all in the software

Passive Open

  • server process does a ‘passive’ open on a port

Object-Oriented Programming with Visual Basic .NET

The .NET Framework
The objects you construct with VB.NET will live out their lives within the .NET Framework, which is a platform used to develop applications. The platform was designed from the ground up by using open standards and protocols like XML, HTTP, and SOAP. It contains a rich standard library that provides services available to any language running under its protection.

The impetus behind its creation was the desire to develop a platform for building, deploying, and running web-based services. In spite of this goal, the framework is ideal for developing all types of applications, regardless of the design. The .NET Framework makes child’s play of some of programming’s most sophisticated concepts, giving you the ability to take advantage of today’s cutting-edge architectures:

  • Distributed computing using open Internet standards and protocols such as HTTP, XML, and SOAP
  • Enterprise services such as object pooling, messaging, security, and transactions

The Acorn Programme Guide

1.1 About the Acorn Programme
This is a programme we have developed to help people who harm themselves, or who use other self-defeating behaviours to cope with their experiences. This guide is intended to explain what we do and why, and what we will expect of you on the programme.

1.2 What are Self-defeating Behaviours
Self-defeating behaviours might be self-harming behaviours, which can take a range of forms. We most commonly think of taking repeated overdoses of tablets or of cutting oneself, but people find many ways to harm themselves. Other examples are drug or alcohol abuse, eating disorders or stealing. They are dangerous and humiliating behaviours for those who do them, and frightening or worrying to those who witness them.

Self-defeating behaviours can also be less immediately damaging, but nevertheless lead to distress. This would include things like withdrawing into isolation and avoiding contact with others, or becoming dissociated so as to lose contact with what is going on around you.