Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - livinded

#1
Join Us / Re: Programmer/Tester
October 08, 2008, 06:24:41 PM
This is a division function which divides two integers, y by x. The major flaws in the design of this algorithm are that it only works with positive integers and that it allows division by zero which should always be undefined. To fix this first I would add a check to the top to see whether x is zero, throw and exception or do some form of error handling depending on the language but force the function to return as it should not be able to continue. Then absolute value both x and y and proceed normally. Finally before returning z, check to see whether x and y are negative, one is negative, or neither are negative. If only one is negative multiple z by -1 and save it back in z to change the sign. Then allow z to be returned.

In all reality however this is still not a great solution because there are many, much more efficient ways to do this and most architectures, if not all, have built in opcodes for handling division.

I'm not entirely sure what you mean by networking, however I've done a fair amount of work with the C Sockets API (C++ uses this also unless you are using a 3rd party library). I do have some code I've written that does network communications (both server and client). I've never written Windows socket code but as far as I know the only major difference is that you must make the call to winsock and there is no fork() so you need to either use threads for handling multiple connections or whatever Windows's semi-equivalent method of spawning a child is.
#2
Join Us / Re: Programmer/Tester
October 08, 2008, 09:35:48 AM
I'm on pacific time (GMT -8) and have a fairly busy schedule but make time during the week for getting in my hacking and reading. My weekends are generally pretty busy and try to get time in for hacking when I can but it's really just dependent on what's going on. I'm going to school full time and working, but should have at least an hour (usually a few) a day to hack at code or read or whatever so depending on how large of a standard library unreal script has and how similar it is to C++ and Java I should be able to pick it up fairly quickly. I'm not opposed to large tasks it just may take a bit of time to get familiar with unreal script and get going on it having never used it before.

I don't have much code lying around written in Java or C++ other than examples from books and school work as they aren't languages I use often for my personal projects. The school work is nothing special and most of the other stuff is just copied out of books or exercises that I've done while learning. I'd be happy to interview or write up some code to show that I actually am competent if you'd like since I really don't have anything to show. Most of the code I've done professionally is in PHP, which I can't release, and most of my personal work is in C and Ruby for just small projects I've written for random hacking.
#3
Join Us / Programmer/Tester
October 08, 2008, 03:38:51 AM
I've been programming for about 6 years and doing it professionally for the past three. I've contributed to many open source projects with code, documentation, testing, filing bug reports, and handling releases. I'm experienced with the following languages:

C
C++
PHP
Ruby
BASH
AWK
Java
ia32 assembly

I haven't done much in the way of game development or graphics work, but it's something that I am interested in and hoping to get more involved in. My primary systems are Linux and FreeBSD based though I can install Windows in a virtual machine, run in wine, or if it comes down to it, install windows on a spare machine. Most of my work revolves around security and web development and thus I am extremely security conscious.

I think that it is important to test early and test often in order to remove as many bugs as possible from the releases. Unit tests should be performed to test end cases where simple off by one errors may turn out disastrous if missed, as well as regression tests after code commits to make sure that code checkins are not breaking the code base. I've done playtesting in the past for a few games and written test harnesses for various code that I've written and have decent amount of experience with testing and handling bug reports.

I have a lot of experience with automation and while I am not experienced with game development, feel that I could be a useful asset to the team. Ultimately what I'd like to do is bug wrangling and small feature implementation to get started so that I can gain experience, then become a much more productive member of the development team. If you have any questions or would like more information please contact me.

Thank you.