Posted by Hanly on Jan 21, 2012 in Code, Computer Science, Projects, Technology, Tutorials | 0 comments
The shell will take in a maximum line length of 512 characters. Additionally it will support batch execution of commands specified in an input file. To call the shell in batch execution mode execute as:
./shell <input file>
The shell will fork and execute each process as a child process so that in the event of an infinite loop the terminal can still respond to the SIGTERM command. Output...
read more
Posted by Hanly on Nov 8, 2009 in Computer Science, Technology | 1 comment
After having been developing Android applications for 2 months I like to think that I have earned my Android badge. Last week at the SHPE conference I was given an android sticker at the Google booth, which now adorns my laptop.
Of course calling myself a developer makes me think...
read more
Posted by Hanly on Oct 10, 2009 in Blog, Computer Engineering, Computer Science, Sample Work | 7 comments
A week ago, for my mobile device programming class, I had to add text-to-speech and speech-to-text capabilities to a freely available Android program called Twitta. The features I added were very crudely superimposed on the Twitta interface, therefore this edit is by no means polished or intended for production usage.
There are 3 button “S”, “X”, and “R”....
read more
Posted by Hanly on Mar 15, 2009 in Blog, Computer Science | 0 comments
Program requests and reads in exactly one character, which represents an exponent. If the value is acceptable, then the program reads in another value. The program calculates the base 2 power between the user input values, and then stores the calculated values in an array. It then prints the values in the array.
# Assignment 3: Powers of 2 Assembly utilizing Array
# by Hanly De Los Santos
#...
read more
Posted by Hanly on Mar 1, 2009 in Blog, Computer Science | 0 comments
Program requests and reads in exactly one character, which represents an exponent. The program calculates the base 2 power, and then prints the calculated value.
# Assignment 2: Powers of 2 Assembly
# by Hanly De Los Santos
# Copyright ©2009, Hanly De Los Santos. All Rights Reserved.
# http://www.hdelossantos.com
#
# Program requests and reads in exactly one character,
# which represents an...
read more
Posted by Hanly on Feb 21, 2009 in Blog, Computer Science | 0 comments
This program takes a user input from 1 through 512 (inclusive), and calculates all powers of two that are less than or equal to the value. The program prints out all of these values.
NOTE: Due to my usage of the math library’s log function, it is necessary to compile using -lm under Unix systems for the linker to properly define the log function. Information referenced from:...
read more