Sunday, 1 November 2009

MyTwitterBB 3?

Well over the weekend i was without the Supa Blogg code so when i had a chance to do some coding i was not able to get on with that. I have however perfected RSS Feed Reading, and i have been thinking about MyTwitterBB, this new code means that MyTwitterBB can work a lot more efficiently now and do its job properly. The only downside is that everything that i wanted to add into version 2.4 is going to take a long time meaning that its going to be far more efficient to just start from scratch and build in the functions and functionality of the original 2 versions into Version 3 with its improved code. So i may be moving onto a newer version of the code with that.

So i will be drawing up the plans for the new version of MyTwitterBB in order to improve its functionality and features. If there is anything that people would like to see in the new version please comment and i will see what i can do about it.

If you are looking for some easy PHP Class for RSS/XML file reading then i suggest you give my class a try, you can find the information about it right here.

Also in other news, i have been testing Supa Blogg pretty much none stop. This program is coming nicley along now, a lot of the early bug fixing is just sorting out the background and loading functions which really only need to be fixed once meaning that bug testing and fixing is going to speed up from section to section.

Also i went to see UP in the cinemas yesterday, it was a good film and i enjoyed it. We saw it in 3D as well though which is mega awesome. I recommend that if you have to see a film and have an option between 2D and 3D then see it in 3D it is just mind blowing how awesome it is!

Tuesday, 20 October 2009

Stuff

Sorry that this post is just a copy and paste of the one on Supa Comix but i'm so swamped I do not have time to do both right now:

So i eventually got around to fixing the forum. It was running a test version of MyTwitterBB that wasn't working properly. I have just removed the plugin since i do not have time to fix the bug properly. Speaking of not having time:

I have now finished the first version of Supa Blogg, it's not available to anyone to use right now as I'm testing it after coding and everyone who codes knows how many first time bugs they find when they test a program for the first time. I do not unit test with large programs, i would rather code in the flow of it and then bug test in one go. It means that everything is kept going and im not breaking flow to see whether it's showing the right time or not. I am continuing to test Supa Blogg and i hope to have it running my personal blog very soon. It won't be out for Public use until after i have released the new Supa Comix website later this year (hopefully).

MyTwitterBB Version 2.5 has not had anything done to it just yet. I have started University and i have to do that, SupaBlogg and the Survivors Diary so getting things done is a slow process right now. I have so many things that i want to do but cannot do alot of them because i have to prioritise what I'm working on. I was just making a post to make sure that you did not think that we were dead or anything.

I do not know what's happening with Is it Because I'm Green or Virtually Reality, Adele has also started uni and has more work than me so she's also very busy. But from what i've seen the scripts for Season 1 of IIBIG are coming along nicely.

Friday, 18 September 2009

Updates

I have been meaning to write a new blog post for a while but never really had a chance to do it. You will be glad to know that this is down to the fact that i have been very busy coding Supa Kode modules, specifically Supa Blogg. It is not completed yet but it is nearing a state which can be tested.

I intend to get a very basic version working and test that, and then add to it to a point where i think that i can move onto the next section of the Supa Kode major modules.

Other work involves developing the newest format for the Survivors Diary podcast, we have decided to return to a Left 4 Dead podcast rather than anything zombie-ish podcast. This is due to the fact that we realised that we were getting to be a review podcast rather than one which had content generated like we had in Left 4 Dead. We have had a lot of awesome support from the community and intend that this be the best format for the show that we've ever had. I am going to start work on implementing the theme that adele has designed for the new website over the next few days as well as record the next podcast.

With regards to MyTwitterBB and MyWikiBB, well MyTwitterBB is not really being developed just yet, i am still trying to fully understand the XML feed reader that comes with PHP and i am unsure whether it works to a level that i can truly feel comfortable with. So i may be starting to work on my own XML feed reader and see if i can use that to run with MyTwitterBB. MyWikiBB has had nothing done to it, i have deemed this the least priority at the moment due to everything that is going on.

I was planning on doing a Blog post about WMG and how they are shit with Youtube videos but when i was going to actually type it out i wasn't fully feeling the emotions for a good post about it. I had an idea to talk about Content Management Systems but I am too tired to do that at this moment, that may be coming soon though.

University term starts in about 2 weeks, it's not overly busy for my schedule and i have a whole day to work on coding for other things so i hope that i can keep on top of the projects. Especially because we purchased the domain name of the major secret project that me and adele have been working on. And i do not want such an awesome deal (£4.99 per month for unlimited bandwith, freespace, emails @ Hostpapa) to go to a waste!

So more coming soon!

Tuesday, 18 August 2009

[PHP] Removing Trailing Slashes from Decimal Points

Have you ever had a problem with code when your dealing with decimal points in maths or something and you get the output of 0.10 or 0.00200000 and find that the trailing zeros would be better off gone? Well the code below is a function that sorts that out, it will turn 0.00100 to 0.001.

In PHP some functions such as bcdiv/bcmul output such values and if your code relies upon the proper formatting of the output then this function is the thing for you. Otherwise if you just want to use the outputs of such functions for maths then i don't really see it being a major problem.

Anywhere here is the code, if you can think of improvements for this code then please let me know in the comments section.

function remove_trailing_zeros($intNum)
{
if(is_numeric($intNum) && preg_match("/\./", $intNum))
{
$intLen = strlen($intNum);

$bolStart = false;
$intCutFrom = 0;

for($i = 0; $i <= $intLen; $i++)
{
$strChar = substr($intNum, $i, 1);
if($strChar == ".")
{
$bolStart = true;
}
elseif($bolStart == true)
{
if($strChar != "0")
{
$intCutFrom = $i + 1;
}
}
}

return substr($intNum, 0, $intCutFrom);
}
else
{
return $intNum;
}
}


Formatted Using formatmysourcecode.blogspot.com

Thursday, 13 August 2009

Blog Evolution

Supa Enjin is slowly progressing into a properly working php class. With all of the work that i do that require its use i get plenty of oppourtunity to perfect the code and fix some bugs. The major problem i have right now is that the Microsoft SQL Version of the code remains properly untested. I do update that version of the class when theres a problem with the actual code of the MySQL Version, but if its query specific then theres nothing i can really do. But the good news is that i will be setting up Microsofts stunted child version of MySQL on my computer so that i can test the code.

Still I have started to read a lot of blog posts about writing better and more engaging blog posts as well as how to develop your blog into a more impressive being. I do writing for my university course so I have a basic concept of writing it's just that i need to work on the writing process a little more. I am more accustomed to scripts and fiction stories then actual non-fiction content. So it's something that i can learn.

Along with the blog development i have started work on Supa Kodes blogging software, Supa Blogg. This new blogging code is something that will be used throughout the Supa Comix website and will contain many awesome features that someone people have done but not done the way i think about it and even some features that some people never think of. I will be developing more information about that at a later date as i am still working on the basic code for the blogg software. I intend that this blog will be the first one to use the new code, as when i've used it i will upload it to the Supa Comix website to test the code in a more direct way so that i can add new features onto the code and perfect it in real time rather then just the boring tests that i get my code to do at home. The code is not particulary large but it is something that needs a lot of work and testing, i am working towards a more secure version of the code where users are safer from spiders and bots as i have found that spiders and bots are a big problem for many blogs so there are many ways of filtering them out.

MyWikiBB has come to my mind a bit more right now, i have an idea for one last feature to add to it before i release it for a beta version to anyone right now. MyTwitterBB is something else that needs a new version released so that it works a lot better then the previous versions and takes use of some features in Twitter that i knew about but didn't consider when programming the code. I will work more on them next week!

I hate to have to be very obscure about what i will be doing in more information but everything is changing and i want to keep you in suspense. Perhaps next time i write a blog post i will have to read it through and actually plan it before i write it. I just let the writing get away with me sometimes. Anyway thats for next time... promise.

Saturday, 8 August 2009

The progression of all things..

Hey everyone, I am very very busy right now. Still working on the Supa Comix website. I have now completed the code for Supa Enjin as well as that i have a good draft of the wiki for it up on this website.

I am currently just re-configuring Supa Kode to work with the new additions to the Supa Enjin, i am mostly working on adding some changes to supa user and the administrator whose wikis are being written as i go along. These are other major contributing factors to Supa Kode and so will be continuously updated and stuff as i go along.

With regards to my other coding projects such as MyTwitterBB and MyWikiBB (thanks to Lily for reminding me to post an update). I will eventually be getting around to updating the code for MyTwitterBB, weapy has posted some updates for the code to get it to work for him. I am yet to properly go over it and see how it works before i begin to add it into the next versino. I am aware that sometimes the tweets do not update quickly. But that is one of the major features of the new update. I will also be moving the Global box into a template to make it easier for editing.

MyWikiBB has not seen any major development recently, it is up and working on the Supa Comix forums as well as the Survivors Diary forums. The basic concept appears to be working i just need to think about how to make everything a bit easier to use and clearer. I hope to get around to doing some more for that soon but as you can see i have a busy schedule.

So stay tuned, i hope to be getting around the Mybb plugins soon.

Friday, 31 July 2009

Back and Busy

Hey everyone. I am back from my three weeks of awesome holiday and ready to get back onto work. Over the holiday me and Adele did a lot of planning and talking about the new Supa Comix website. There have been come minor changes intended but we are working through them and you won't see them come into affect for a while.

My main focus of work, especially for coding, is that for the Supa Enjin. This is a class that is used to connect to a database and run queries. I am updating it from its original as well as writing a wiki for it, this is something that i have to do as i have some actual work that is based upon this as well as some future personal projects, including the Supa Comix website, that needs this to be done before i can continue. So everything else is currently on hold.

I have been wondering a lot about interesting updates, i read a number of personal blogs (including Garrys from Garrys mod, and First Person Shouter). I am intent on discovering the method used for making interesting blog posts, i have been thinking about doing the same with my twitter feed.

Perhaps i need to talk more about stuff that people care about, perhaps even just stuff that interests me in some way. Well it's something to think about.