Free Ringtone Heaven 2.0 Going Live

Free Ringtone Heaven is currently being purged and reloaded. It’ll probably be an hour or two before it’s back up. The biggest change is to the file and directory structure both on the server and in the database. Previously all stats were tied to file ids. Now they’re tied to the file hash. What this means is that in the future I can do some reorganization on the files without having to take the whole site down. And no stats will be lost.

The next step is to separate the physical file location from the virtual directory structure. That will make it even easier to adjust the location of files without having to reupload all the ringtone files. With all the current changes, that switch should be transparent and require no down time.

Free Ringtone Heaven 2.0

Free Ringtone Heaven.com is getting a redo. When first designing a web-site you tend to whip things up quickly and get them out there to see what happens. Then over time you tweak it here and there and maybe add a feature or 10. And eventually the site becomes stale and ugly.

That’s when you get to go in and force yourself to do things right. It’s time to clean up the code, apply better code design practices, update the interface, tweak the database, etc. And finally when it’s all done you get to tear down the old site and replace it with the brand new one.

In the case of Free Ringtone Heaven there is myMobile which users could use to upload their own files. However, it was so poorly implemented I’ve decided to just tear it down. People weren’t really using it anyway. So there will be a brand new myMobile launched. So when the new myMobile launches you will need to create a new account.

In that sense, I got lucky. There’s nothing about the old site I have to save. Except for the ringtones of course. I’ve got the backend pretty much complete with far more intelligent usage tracking. myMobile will have a password recovery feature finally. I’ve also cleaned up the ringtone directory structure a bit which should make it easier to find what you’re looking for.

The coming changes are too numerous to list them all. My goal is to have the new version launched sometime this weekend. FunkyCatz.com is my other ringtone web-site which I used to try out some things that are now being applied to Free Ringtone Heaven.

There is an old saying “if it ain’t broke don’t fix it.” Well technically Free Ringtone Heaven ain’t broke but it certainly has a lot of room for improvement. My main goals are to fix some of the stale aspects of FRH with the new download tracking and improve myMobile.

Sometimes it’s good to go back deep into the code of a site you built long ago and give it a redo. You’ll discover things you could improve, simplify and maybe even learn more for your next project.

Running a Home Server

One of the nice things about being able to run a server off your home internet connection is that you can do whatever you want. You can build the server you want, install the software you want, run the web-sites you want. The downside is that home internet connections aren’t always reliable. They’re also much slower than you can get with a hosting company like GoDaddy.

However, they are a good way to test out web-site concepts before spending the money on hosting them somewhere else. There used to be a lot of misconceptions about the cost of running web-sites and they probably still exist. The biggest misconception is what hardware is required. A “server” is just a PC. My home server is a run of the mill dual core Intel processor running at 1.7Ghz per core. The motherboard and the CPU cost less than $100 combined. In addition I have four harddrives (OS, website files, database files, log files) although one would suffice if you’re just getting started. Everything is contained in a standard mid-tower case which cost around $35.

You can purchase more expensive computers that are designed to handle high volume traffic. But you don’t need to. I think the misconception about what hardware is needed comes from what server computers typically look like; long and flat. That’s because they are typically stored in a rack and every unit of rack space costs money. A lot of money. With a home server you don’t have to worry about saving money by not having to pay for space to store your system. It can be as bulky as you want it to be. That means you can buy whatever parts you want. You don’t have to buy expensive parts designed to fit into a confined space.

So now you know that you don’t need special hardware to run a web-server. You can build from parts or buy a pre-built desktop system. The next misconception is the software. The software is really what separates a server from a home computer. A lot of people will probably tell you that you should run Linux because it’s “faster” or “more secure.” Both things are essentially false. If you happen to like Linux and want to use it then great. But more than likely when you bought he system or built it, you put some version of Windows on it. You can leave Windows on it. I would actually recommend it. There’s enough to learn about the actual server software that you shouldn’t subject yourself to a foreign operating system.

When people talk about “Linux” being faster or more secure in the context of web servers, they’re not talking about the operating system. They’re talking about Apache and IIS. Even professional highly paid writers who specialize in technology often can’t tell the difference between an operating system and applications. IIS is the web-server application that comes with professional and server versions of Windows. Apache is a lightweight web-server application that was originally made for Linux but, guess what, it also runs on Windows. Apache is just as fast and just as secure on Windows as it is on Linux.

I prefer Apache although I also develop for IIS. Apache is free and will run on anything. I once handled over 1 million requests in a month with Apache running on Windows Millenium. The simple fact is, the operating system doesn’t matter. It’s the software that runs on top of it that matters.

The typical software that people use to run hobby web-sites is Apache, MySQL, PHP and Subversion. All the software is 100% free and runs just as well and just as securely on Windows as it does Linux.

The security of Apache comes from the fact that it does the bare minimum. It only serves up web-pages. The lack of security for IIS (or the difficulty of making it secure) comes from the fact that IIS does a lot. If IIS only did what Apache did it would be just as secure out of the box.

What makes the operating system secure is only having the ports open that you want people to use. Namely, the port that Apache is using to serve up web-pages. Typically that’s port 80. A $30 router will lock down your network as well as anything.

So you can see that running a server may involve a bit of education on your part. But it doesn’t require a lot of money. The software is free. You can use any old computer you have lying around. And then you can go to town making whatever web-sites you want to make. If a web-site becomes very popular then you can look into other options for how to host the site. But until then, don’t waste your money.

The Sears Heroes at Home Wish Registry

The Sears Heroes at Home Wish Registry is a great way to show your support for the troops. Donations will be used to buy gift cards for all the families registered. This holiday season many troops won’t be home for the holidays. This is a way to show you’re thinking of them and appreciate everything they do for the country. Our service men and women do not make a lot of money. Just like many families, they can find it financially difficult to provide for their families. By donating you can give them the extra money they need to give their family a little something extra this year.

At the Sears Heroes at Home Wish Registry you will be able to read the stories of military families and see what types of gifts they would like to receive this year. You can also leave a thank you message to let the troops know how you feel about their work personally. We hear about their work and see the results on the news but it’s rare that we take the time out to see our military in a more personal light. Sears is making it possible to get to know the people who are risking their lives for our country to make your life better and giving you an opportunity to make their life a little better.

Post?slot_id=27405&url=http%3a%2f%2fsocialspark

Over 25,000 Gifts Under $25 at Kmart

Christmas is approaching fast and you probably still have some gifts to buy. Kmart makes it easy to get the gifts you want without blowing your budget. With over 25,000 gifts priced at $25 or less you’re bound to find something for everyone. There is a wide assortment of video games for under $25 for any system your friends and family may have.

One of the fun things to do with the family when everyone is together for the holidays is to play board games. Kmart has a large selection of games under $25. Hungry Hungry Hippos is a great classic game that’s only $16.99. Little kids love to slam down on the hippos to try to grab as many marbles as they can. The older kids will have a lot of fun with Monopoly; the game that can be as friendly or conniving as you want. The classic edition is only $11.99.

Mom is always working hard and could use something to help relax. The HoMedics Atom Massager is a great little gadget for only $8.99 that will help massage those aches and pains away.

Handyman Dad could really use some new tools. That knife of his is probably getting dull with all the use it has gotten over the years. For only $19.99 he could have a brand new Leatherman Micra Multi-Tool. It contains a nice sharp knife for cutting, spring action scissors and other personal care tools.

Kmart makes it easy to shop for everyone in the family and for your friends without having to spend a lot of money. With layaway and no interest, no payment financing for 6 months it’s even easier to shop this Christmas.

Click Here

Post?slot_id=26846&url=http%3a%2f%2fsocialspark

The Value of Platinum

Picture_8 Before you get engaged you need to plan. Not just for how you’re going to live your lives together but also what ring you’re going to get her. I realize that you probably have no idea when you’re going to get married but I’m pretty sure you expect to some day. So you should be saving up for that ring well in advance. Maybe even before you meet the girl you end up marrying. When you get to the store you don’t want to be looking at price tags. You want to be looking at the smile on her face as she’s looking for the perfect ring; a ring that will hold its value and its sparkle for a lifetime.

Platinum is a harder metal than gold which means it will hold onto that diamond more securely. You don’t want to lose that diamond because the ring lost its hold. Gold quickly loses its luster with everyday wear. Platinum retains its brilliant white luster. Because Platinum is far more rare than gold it is also more valuable than gold.

A platinum engagemet ring will make your ring even more unique. Not everyone had to foresight to save up and invest in a quality platinum ring for the woman of their dreams. But now that you know the value of platinum you can.

Post?slot_id=26607&url=http%3a%2f%2fsocialspark

Hyperspeed

Back in the early to mid 1990’s I decided to create a racing game called “Hyperspeed.”

You can actually download it from here although I’m not sure how functional it is. There was nothing fancy to it. There were three track pieces: straight, left and right. Shifting shades of gray were used to simulate movement. It was written in BASIC.

After mucking around with Bunnies for quite awhile now (going on 5 years) I’ve decided to take a stab at bringing “Hyperspeed” back to life in the form of a Super Mario Kart clone. I was expecting it to be complex. Turns out that the techniques used to create Super Mario Kart are 100% identical to Bunnies minus the walls. So actually, it’s easier.

I originally created a new code branch for Hyperspeed but have now compiled a number of pieces into libraries in a “common” folder. Bunnies has been modified to use the new common code. Hyperspeed has been linked up with the Bunnies server. Earlier I had added a feature to the Bunnies website where you could upload a large image, break it into tiles and auto generate the floor of a map from it. Well, that’s why.

The floor is just the first step. Racing games like Super Mario Kart also need a collision map and way points. After playing Tower Defense for awhile and seeing some sample code I realized that you can simply use way-points like in Tower Defense to create racing AI and ensure that the player is going the right direction and not cheating.

A collision map is simply a gray-scale image that indicates whether a position within a tile slows the player down and by how much or if it stops the player entirely.

Currently you have to apply bump and depth maps one tile at a time. I’ll be adding a feature to allow collision maps and make it possible to apply them all to an entire image. There’s a very good chance that the maximum file dimensions will be going up. 2048×2048 works but I’d like to allow higher resolutions. 2048 gets you about 64 pixels per floor tile. I’d like to at least double that. The limit on the site is rather arbitrary. I could just remove the restriction.

Hyperspeed will probably not be released for at least a month. There’s a lot of work to be done to make it a game. In the mean time there’s a new release of Bunnies and an updated game server which fixed a few major bugs. Part of this project is to demonstrate the versatility of the Bunnies game engine and web-site. Once Hyperspeed is ready to be released Bunnies and Hyperspeed will be part of the same download package.

The XML Challenge

The IDUG contest, The XML Challenge, is now open for registration. If you’re a student who wants something to put on their resume or a professional who wants a chance to show off your XML skills, this contest is for you. On top of the recognition there’s thousands of dollars worth of prizes from Wiis to technical conferences.

There are five contests you can participate in:

Video - Invent a creative use for XML, XQuery or DB2 and record a video of yourself doing it.
Gadget Contest - Create a downloadable gadget or widget making use of DB2
Query Content - Use XQuery to find five answers. The best queries will win the top prizes
Ported App Contest - Port or develop a new app for DB2. You can enter as an individual or as a team.
XML2 Contest - Build a useful, user-friendly XML app from scratch. You can enter as an individual or as a team.

You will earn participation points for every entry and a special prize will be given to the “XML Grand Master” - the person who earns the most points.

If you’re an aspiring developer then you should definitely take chances like this to enhance your skills in a competitive environment. It’s good practice to have your talents compared against others. This will help you learn where you excel and where you need to improve.

Post?slot_id=26196&url=http%3a%2f%2fsocialspark

Mode 7 and You

Sin & Cos: The Programmer’s Pals! is probably the most straight forward example of Mode 7 implemented in a C like language available. You may be wondering what Mode 7 is.

F-Zero and Mario Kart for the SNES made use of Mode 7 and it has been used in quite a few games since. Mode 7 is a term to describe the ability to scale and rotate a texture. It simply translates the height of a texture into the depth.

Not so surprisingly you will find that the equations used to render Mode 7 are essentially identical to the equations used to render the ceilings and floors in Bunnies. Mode 7 is Bunnies without the walls.

The above link provides the basic rendering function but gets the key part of the equation wrong. Fortunately, Bunnies gets it right so I just used the equation from Bunnies.

WRONG:
distance = camera.z * scale_y / (screen_y + horizon);

CORRECT:
distance = camera.z * scale_y / (2.0 * screen_y - horizon);

I’ve started translating the old SoftGel C++ code to C# and this Mode 7 stuff is going to be the first to make use of the new library. I’m going to try to find time to start writing more tutorials. Bunnies is pretty advanced at this point and so I think I’ll begin developing a simple racing game and writing tutorials to explain how it all works. Eventually I may work the tutorials back to Bunnies.

You may be wondering what the point is with OpenGL and DirectX available. There are a number of reasons. The main one is that I’ve been there and done that with OpenGL and DirectX. I want to learn the math behind the rendering. The second reason is that most of the work that goes into making a game has nothing to do with rendering graphics. And also, you’ll find many of the same concepts that are used to render graphics are also used to implement game mechanics.

And finally, software rendering works on any platform that can plot a pixel. Not all gaming systems have 3D capabilities. If you can figure out the 3D stuff in software you’ll have no trouble doing it in DirectX or OpenGL.

Shop with Your Phone with Sears2go

Sears2go is a new way to shop provided by Sears.

With the holiday season fast approaching Sears2go makes it even easier to get all your shopping done. Often times while out holiday shopping stores are on opposite ends of town. Sears2go makes it easy to shop at Sears and get that holiday shopping done no matter where you are by making it possible to purchase select products using your mobile phone. This is the first on-the-go technology offered by a US retailer.

After purchasing an item on Sears2go, you will receive a text message alert when your merchandise is ready for pick-up. With Sears’ best in class in-store pickup you’re going to experience great customer service from purchase to pick-up.

Sears2go provides many of the same great features already available at Sears.com including the ability to easily browse and search for products, view product reviews and find where stores are located. You will also be able to view the latest special offers so you won’t miss out on any great deals while out and about.

To take advantage of Sears2go on your mobile phone you must have text-messaging enabled and be registered with a text-messaging plan. Sears is offering this service at no charge to you but your carrier may charge standard SMS/data rates.

Stop running around town to get all of your shopping done. Pull out your phone and use Sears2go.

Post?slot_id=25372&url=http%3a%2f%2fsocialspark

ss_blog_claim=70b9168863fc97c91e6d88b40542a327 ss_blog_claim=70b9168863fc97c91e6d88b40542a327