I Hope That Whoever Wrote the Programming Documentations Suffered Grievous Harm From Stepping on Legos

June 12, 2014

I spent hours upon hours trying to install APLpy with pip, trying whichever way to make it work. All because someone couldn’t give a damn about the details so it can be accessed by newcomers. So I am going to do everyone a favor and tell you all how to do this for Windows.

Installing pip itself is easy. Just follow the link, download it, and then double click on the python program. This will install pip by itself. It is the using part that made me want to rip my hair out. And according to a friend, it is kind of Windows fault for sucking so much. Anyways, firstly, turns out, don’t use the python shell. Use the command prompt. Yeah, they don’t tell you that, assuming your average newcomer is a giant computer nerd. Well, not everyone is a computer nerd, they can be a physics nerd like me, OKAY!

Next up, go to the PC icon, right click, properties, advanced system setting button, and go to the advanced tab. There is an option called “change environmental variable”. Click on PATH and edit it so it goes to C:\Python27(mine was python 2.7, yours might be different)\Scripts. NOW you can go to the command prompt and type: pip install name-of-package-from-PyPI-you-want-to-install.

I don’t know why that is and why this ridiculous roundabout way has to exist, but those goddamn writers didn’t even bother to make it easy for new users. They just tell you, “go do this” and expects you to automatically get what to do despite it not being obvious for noobs like me. Someone please hold a writing workshop or something for these people because I have just had it trying to install all these dependencies and making things work.


I Learned Programming

March 27, 2013

So, I recently learned the basics of programming due to Coursera. If you want the specifics, I learned Python. Using the template and assets the online class gave me, I made a basic shooting game, which you can check out here.

The controls are:

Space-shoot

Up-accelerate

Left/Right-turn around

Now, having tried out the game, I know what you are thinking. It sucks. Well, yes. First of all, I don’t know how to get around the ghosting effect of the keyboard because I am a noob at this. Second of all, if I had the time and energy, I would have added a bunch of stuff. The highest stuffs in my priority list would have been adding collisions to the rocks, increasing the difficulty as the game goes on, adding the explosion animation (which they were kind enough to give me, but didn’t take advantage of), and adding the start screen. Unfortunately, I don’t have the time or the energy, so this piece of software will remain a blot to all of humanity for all eternity.