Blog Archives
QuoteComic #6: Programming Ethics
This comic was done entirely in GIMP!!! My pen tablet can be a pain in the butt at times DX
CS folks will appreciate this, and non-CS folks will probably have a laugh =] (assuming my humor isn’t crap)
Found this quote on StackOverflow a long time ago, and it’s been sitting in my Facebook Profile collection of quotes for a long time.
“It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure. Basic professional ethics would instead require him to write a DestroyCity procedure, to which Baghdad could be given as a parameter.” – Nathaniel S Borenstein
Please leave comments and/or share! =D
QuoteComic #3: RECURSION
My third QuoteComic! This time a vertical comic strip! It is based on my original quote.
“Recursion: It’s a dream within a dream within a method within 4chan. Within a dream.” – Anya.Fennec
Recursion is a programming concept, where a method (action) would call upon itself. You know how 6 factorial is 6*5*4*3*2*1? Each step it takes the value of the previous step, subtract by 1, then multiply. For example, 6, then 6-1 =5 so multiply 6 by 5, then 5-1=4 so multiply 6 by 5 by 4, etc. Within the action there will be a base case to stop the operation (example: IF number = 1 then STOP). You end up with many layers of the method. Like a dream within a dream. Within a humongous clusterfuck. Cobb only went down 4 layers, we went down more!
Last Wednesday night I had a programming project due, to solve the N Queens problem (if there are N number of queens on a chess board of N*N grid is there a way to place them so no queen can kill another in one step). Recursion is a bitch. Luckily my friend Hang figured it out, but she said she didn’t understand what she was doing and said that she was just modifying the code until it worked. I ended up having to explain to her, and later on my code worked better (hers would skip several solutions due to some bug). Basically, the two of us need to work together because we screw up at different steps. In the end we got ours to work properly, I modified mine so the GUI would show a picture of Tomoe Mami instead of queens, and later on made it add up the total number of solutions it found for each grid size.
Well, that’s my little story for the day.
Please comment! It would make me really happy =)


How I Learned Hiragana and Katakana in a Few Hours
On Self-Publishing, Distribution, Content Creators, Circles and Critical Mass
[Manga Review] “Ebisu-san and Hotei-san”, a Heart-Gripping Tale