Wednesday, October 24, 2012

I fucking hate apple

I need a way to express how much I fucking hate apple and their fucked up interface.

I have just spent the last week trying to upload my app to the app store. The main concern being that I don't own an apple computer. This makes it very close to impossible to effectively work on an iPhone app.

Thursday, October 11, 2012

Finding an ideal directory structure

My recent forays into coding have left me with some pretty confusing directory structures. I tend to break up my directories thusly: (I'm talking about web dev for the time being)

[myProj] - project
    [scr] - scripts
        [php and javascript files that store functionality]
    [mod] - modules
        [php scripts that will be include()d and rendered on the page]
    [img] - images
        [pictures and such]
    [css] - style
        [css files]

An avid onlooker would notice that where I can, I name my folders a three letter abbreviation of their full name. This is because I am lazy.

Tuesday, October 9, 2012

When I hire someone

Eventually, I'm going to hire someone.

I can only get so far by myself. I am about three years off going into fulltime game development (unless something big happens either way) and even with all 24 hours of a day devoted to it, progress will be slow. So I'm going to eventually bring someone on board.

But I don't want just anyone. In fact, I want a very specific person. And it's kind of counter-intuitive.

Wednesday, October 3, 2012

How NOT to design a messageboard

Goddammit, everything about MySQL sucks serious sackage. Have you ever googled for a MySQL issue and clicked a link for anything related to mysql.com? The whole site is designed to be incredibly painful and user-hostile.

Nice messageboard, MySQL.
Nice documentation, MySQL
Nice Homepage, MySQL.
Nice forums, MySQL.

DO YOU BASTARDS FUCKING TEST ANYTHING??

Seriously, just because things exist (forums, docs etc) doesn't mean they need to be changed.

Holy fucking shit MySQL, look at what SQLite did! An easy to read flowchart! Clear documentation! Who'da thunk it.

I fucking hate MySQL.

Tuesday, October 2, 2012

Awesome uploading gif generator!

I don't spruik much but I just found this and it's awesome

Loading GIF generator

I am always trying to find decent free loading gifs and that has a selection of pretty much all the ones you ever see on the net. I thought it worth noting down in case I am looking for it again later.

Lazy mysql

I fucking hate MySQL.

is it just me or do the letters 'sql' take far too long to type? They are in complete opposite ends of the keyboard and chafe my ass. Add in 'my' and you now have a word that requires you visit all compass points of your keyboard to type it. What's worse, every mysql function in php has "mysql" at the start of it!

Because I am a lazy bastard I made a little function that eases my pain.

function fetch($str){
    $q = mysql_query($str);
    $a = mysql_fetch_assoc($q);
    if(!$a){
         echo 'e: Fetch() returned an error! '.mysql_error();
         return false;
    }
    else return $a;
}

Now I can just call fetch("SELECT * FROM `my_ass` WHERE `mysql` = 'shit'"); whenever I require an array from a mysql string. I don't have to type "mysql" once!

Seriously, try typing mysql ten times fast.