3,655 reputation
12550
bio website jisaacks.com
location Atlanta, GA
age 30
visits member for 3 years, 7 months
seen Feb 25 at 19:02

Software Engineer at Emcien


Dec
15
awarded  Good Question
Dec
14
accepted How can I find own replacement when the company wants someone far less experienced?
Dec
14
awarded  Nice Question
Dec
14
asked How can I find own replacement when the company wants someone far less experienced?
Dec
12
comment If your algorithm is correct, does it matter how long it took you to write it?
Thanks for all your info. Also just to clarify, it looks like the classic Hanoi game always has 3 pegs and the discs are always in the same starting position and need to be moved to the same ending position. This particular challenge varies number of rods and starting & ending positions.
Dec
12
accepted If your algorithm is correct, does it matter how long it took you to write it?
Dec
11
comment If your algorithm is correct, does it matter how long it took you to write it?
Are you saying that I should go to school, or just get take a job where I will have a mentor?
Dec
11
comment If your algorithm is correct, does it matter how long it took you to write it?
I could make a recursive function that moves a piece into place, moves any blocking piece out of the way, then starts over with the next piece. Starting with the largest piece and working down to the last smallest piece. The "is it optimal" part comes from when you move a blocking piece. Depending on where you move it, it can create additional unnecessary steps. For example moving a 1 onto a 3 will then be blocking the 3 and need to be moved out of the way again when its time to move the 3. but depending on the current configuration this may not be avoidable.
Dec
10
comment If your algorithm is correct, does it matter how long it took you to write it?
@ThorbjørnRavnAndersen, I did not learn any programming in school. I am self taught, I learned on the job, by books, experimenting, etc. I was not familiar with the game (except for remembering a similar game being played in planet of the apes), I had to Google to even know it was called "Towers of Hanoi." I do understand recursion (at least I think I do) and I used it here. But simply solving the puzzle would have been much more easier for me, the harder part was "What pattern will yield the least amount of moves possible every time."
Dec
10
comment If your algorithm is correct, does it matter how long it took you to write it?
Thanks for your answer. To answer why it took me long, one part is because I had a bit of trouble comprehending what it was I actually needed to do, once I understood that part, I still had to think for a bit to come up with a plan. For example, if a disc is blocking the disc I want to move, and I need to move it first, where should I move it to. The actually programming part was the shortest, but it all added to the time.
Dec
10
comment If your algorithm is correct, does it matter how long it took you to write it?
@mouviciel I didn't exactly mean lower my aspirations of working with a big .com name but more like working for a company where programming is the primary role vs working at a company that does something else like retail where nobody understands what you do.
Dec
10
asked If your algorithm is correct, does it matter how long it took you to write it?
Dec
6
awarded  Popular Question
Dec
5
comment What are your programming idiosyncrasies?
I hate it when the opening brace and closing brace are not directly above/below each other.
Dec
5
comment What are your programming idiosyncrasies?
@Anna if you later add another param to the end of the list it makes it easier to remember to put a comma between it and the previously last one.
Dec
1
awarded  Enthusiast
Oct
5
awarded  Popular Question
Sep
21
accepted Why should you prevent a search engine from indexing your development server?
Sep
21
comment Why should you prevent a search engine from indexing your development server?
@Paperjam, thanks for the info, I was not aware of those issues.
Sep
21
comment Why should you prevent a search engine from indexing your development server?
Can you please give some examples of why it is bad to have a development server on the Internet? What if different people that need to work on or approve things are in remote locations?