January 2012
-
04thWhile creating a filesystem using FUSE (version 2.8.3) for operating systems class, I was confronted with a problem, which manifested by ignoring read data even though the correct read size is returned (less than requested when EOF or the requested size) and the data buffer is set with the read data. (...)
September 2011
-
06thBluetooth is a wireless communication technology that is much more limited spatially than WI-FI which can be seen as a limitation or an advantage (for proximity-aware applications) and uses less power than WI-FI. Bluetooth communication between Android devices is very well documented in the Android SDK, communication between different types of devices, however, is not. (...)
July 2011
-
13thAzilink an application for Android that turns the android into a VPN server (using OpenVPN), which is able to share the Android’s internet connection (3G/Wifi/Edge). There are however, some tricks to make it work with OSX. Tunnelblick (...)
June 2011
-
09thThis article’s objective is to present the elements that an Android application usually contains and how they interact. (...)
-
02thTo lock an Activity’s screen orientation (Portrait or Landscape) you need to use the following snippet: (...)
November 2010
-
07thFrom Wikipedia: “In computer science and information theory, Huffman coding is an entropy encoding algorithm used for lossless data compression. The term refers to the use of a variable-length code table for encoding a source symbol (such as a character in a file) where the variable-length code table has been derived in a particular way based on the estimated probability of occurrence for each possible value of the source symbol.” (...)
October 2010
-
22th
-
20thEven though there haven’t been any posts, Almighty bus error has been getting updates in its design/presentation perspective. This post will present what’s new aswell as the underlying technologies behind Almighty Bus Error. What’s new? (...)
March 2010
-
21thFrom Wikipedia: “In mathematics and computer science, dynamic programming is a method of solving complex problems by breaking them down into simpler steps. It is applicable to problems that exhibit the properties of overlapping subproblems which are only slightly smaller and optimal substructure (described below). When applicable, the method takes much less time than naive methods. Top-down dynamic programming simply means storing the results of certain calculations, which are then re-used later because the same calculation is a sub-problem in a larger calculation. Bottom-up dynamic programming involves formulating a complex calculation as a recursive series of simpler calculations.” (...)
December 2009
-
15thTo use a FilenameFilter it is needed to implement a method accept which has as arguments the directory where the file exists and the name of the file. It is normally used in conjuction with the list method of the File object. (...)
-
04thThis article will cover the basics of drawing bezier curves in openGL and how to convert from other curves to Bezier, such as Bspline and Catmull-Rom curves. Declaring control Points (...)
November 2009
-
26thTo create a table in LaTex you can just use a tabular block, or use a tabular block and a table wrapper block. (...)
October 2009
-
14thThe Java RMI is a way to create distributed services. It is composed of RMIRegistry which is a name registry which saves the resources available (servers) in a JVM. The registry is, however, accessible through different JVM’s when configured. (...)
August 2009
-
25thIn Python, to create and maintain a FTP communication, the ftplib or urllib (explained in a future post) can be used. Creating a FTP connection from ftplib import FTP try: conn = FTP('almightybuserror.com') except: print "Could not connect to almightybuserror.com." return Logging in… (...)
-
22thTo create and HTTP connection we use the httplib module which provides some simple yet effective methods to create a connection and send requests to an HTTP server. The module urllib can also be used and is easier, does, however only perform GET requests (explained in a future post). Creating a connection (...)
-
04th
-
03thUsing PIL it is possible to get the width and height of a image using the property size. (...)
June 2009
-
05th
May 2009
-
31th
-
30thAlso known as UDP, like the title suggests, it does not have a logical idea of connection. (...)
-
30thMulticast is a way to distribute UDP messages to multiple hosts in an automated fashion. It works by making every host join a group which is composed of an IP address in the range 224.0.0.0 to 239.255.255.255 and a port. Every message sent to a group will be delivered to every host that has joined it. Since it can generate alot of traffic, multicast is only used at a LAN or intranet level. (...)
-
28th
-
27thContinuing from “Concept Introduction” we will now see how a possible implementation is done. (...)
-
20thThis snippet shows how to differentiate between two classes that have heritage from the same class. (...)
-
19thThis piece of code keeps reading 1024 bytes from the InputStream and writing to the OutStream until the read function returns an error value (-1) which means there is not anything else to read. (...)
-
14thAn HTTP proxy is a program that acts as a seamless server (since the user does not notice its existence under normal circumstances) and forwards HTTP traffic. (...)
-
07thA thread is a lightweight process that will act as the child of the process that created it. If the parent process is interrupted the child will be inherited by the kernel process, however, most of the times when the parent dies and child loses its purpose. A thread will seemingly run at the same time as the other processes which raises concurrency issues but this won’t be discussed in this article. (...)
-
03thThe following C macro gets the amount of memory the array uses and divides it by the size of the first position: (...)
April 2009
-
17thThe following Python code prints the name of the chosen directory and all the files in it and then proceeds to print all the files in the other nested directories one nested directory at a time. This method is recursive for nested directories. (...)
-
12thThe TCP and unlike UDP it does have a connection definition within the protocol based on Acknowledge-type packets. (...)
-
05th
