Sunday, October 23, 2011

People are Jerks


From a python forum:

person 1: the permissions are okay, it is set on full control for the folders in question. still, the problem remains.
-----

person 2 (jerk): Is it your belief that anyone who uses your computer has full control? If so, what does having admin privileges mean? After considering those questions, once again think about the statement: your program is not you.
-----

person 1: okay i don't want to get into philosophical questions regarding who has control 
about what. i am trying to start learning python and i am already failing at the code i have posted. 




Often times you can find many programmers telling others what good questions are and bad questions. 
For instance, I have heard countless responses on online forums such as: 

"Why would you ask what the best method is? We can never know what is best. There are pros and cons to every option in programming. You will just have to try every method for your situation and then you will know which route to take in your problem."

What kind of attitude is this? It's terrible! Imagine if you were on a road trip and you stop at a gas station in a city. You then ask some stranger: 

"Where can I find the best Mexican food restaurant around here?" 

to which they reply:
"As is the nature of newcomers like you, your question is ambiguous. How do you expect me to know what the best Mexican food restaurant is for your situation? We can never even know what is best for ourselves, why would you ask me to know what is best for you?"

That (I hope) would never happen, but why does it happen all the time on the internet?



Wednesday, September 28, 2011

Rewriting (nearly) my whole game.

I ran into so many issues with my previous method of handling networking that I decided to rewrite my entire networking code to use twisted.protocols.amp (instead of pb). I only have like 3 months left till I have to submit my game to some competitions though so this is gonna be crazy. Im going to try to just get the basic gameplay mechanics working and try to polish that. Then I can work on other things such as RPG elements like weapons, more dynamic enemies, random map generation(which is super fun), and other cool things that would take too much time to do in the next three months. But hey, on the bright side I almost finished the song for the game :)

Short, Self Contained, Correct (Compilable), Example

http://sscce.org/

Those are some really good guidelines for creating a small example to show someone an issue you are having with some code. It helps the person helping you so that they don't have to go digging through a bunch of lame and stupid code that has nothing to do with anyone, ever.

Friday, August 5, 2011

Did I Mention I Got Hired As a Tester?

Here is the game i've been working on, It involves a bunch of mini games so the testing experience is... interesting.

http://www.ea.com/family-game-night-4

Cellular Automaton Simulation

I made a little cellular automaton demo. Its pretty cool and I plan on using it to generate the textures for terrains, like the black tiles could be a dirt tile, and the white tiles could be a grass  tile. I think It will create a really cool random terrain effect. It runs pretty slowly, but i think thats a python problem with looping through 1000000 tiles every iteration :). But in the demo i limited it to 3 FPS and its rendering it every frame but it can go quite a bit faster than that, I just set it to those values because i think its cool to watch.


I included a windows exe file (no pygame/python required!)


Cellular Automaton Simulation

How to get hired by an indie game developer.

How to get hired by an indie game developer

I love articles like this, especially how the are written by the people doing the hiring ;)

Its worth the read.