Almighty Bus Error

Loading search...

January 2012

  • Using Direct I/O in FUSE Filesystem
    While 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

  • Computer to Android Bluetooth Communication
    Bluetooth 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

  • Android tethering: Azilink and OSX
    Azilink 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

November 2010

  • Web Designers vs Web Developers
  • Huffman Coding
    From 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

  • Olfactory Girl
  • Almighty Bus Error Update
    Even 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

  • Dynamic Programming
    From 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

  • Snippet.Java: Using FilenameFilter
    To 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. (...)
  • Drawing Splines in openGL
    This 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

  • LaTex: Using Tables
    To create a table in LaTex you can just use a tabular block, or use a tabular block and a table wrapper block. (...)

October 2009

  • Java: Remote Method Invocation
    The 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

  • FTP in Python
    In 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('') except: print "Could not connect to" return Logging in… (...)
  • HTTP in Python
    To 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 (...)
  • The Comic Massacre
  • Snippet.Py: Getting an image resolution
    Using PIL it is possible to get the width and height of a image using the property size. (...)

June 2009

May 2009

  • Stop that fridge!
  • The connectionless networking protocol
    Also known as UDP, like the title suggests, it does not have a logical idea of connection. (...)
  • Multicast: An UDP strong point
    Multicast 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 to 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. (...)
  • I shot the seriff
  • HTTP Proxy: Implementation
    Continuing from “Concept Introduction” we will now see how a possible implementation is done. (...)
  • Snippet.Cpp: Comparing Types of Classes
    This snippet shows how to differentiate between two classes that have heritage from the same class. (...)
  • Snippet.Java: Dump InputStream to OutputStream
    This 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. (...)
  • HTTP Proxy: Concept introduction
    An 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. (...)
  • Threading in Java
    A 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. (...)
  • Snippet.C: Getting the length of an array.
    The following C macro gets the amount of memory the array uses and divides it by the size of the first position: (...)

April 2009