Recent Updates - RoR, Websites, and More

It’s been a while since I’ve updated the blog. Work actually picked up a bit ( and now it’s slow again). I’ve still bee working with Ruby on Rails a bit and have found that I’m liking it more and more. I am going to make lyrics abyss, games abyss, and joke abyss ruby on rails websites; but first I’m going to launch an all new abyss website that will showcase the new direction some of the websites will be going in.

It’s not a secret that Wallpaper Abyss is the only website to get a lot of traffic. A lot of this is that I have spent more time on it than on any other site; and frankly some of the other sites are a little blah. My bad. In Ruby on Rails everything I’m building for the new abyss website will be easily reusable for the other websites, and should streamline my development meaning better websites for you.

I’ve also found that just adding thousands and thousands of pieces of content really doesn’t mean much in the eyes of Google and other search engines. One of the strategies I thought would work with Lyrics Abyss was adding literally tends of thousands of pieces of content; but Google wasn’t impressed.  I’m going to default to adding more user interaction to the other abyss websites and ways of interacting with the content that is there.

I’ve also found that lyrics and quotes aren’t really a logical expansion of wallpapers. I’m going to focus new development efforts on more related types on content. Wallpaper Abyss itself is already doign a bit of that with the newly added mobile wallpaper sizes; and soon I’m planning on making an Avatar section that uses the same cropping system so that each and every wallpaper could become someone’s avatar. I think natural kinds of extensions like this will be key to Wallpaper Abyss growing. I’m also going to have a Russian version of WA up pretty soon; meaning it will be in English, Swedish, and Russian. Spanish is another language that could be coming soon and I would love for Chinese to show up before too long.

And that’s my update! There should be cool new things showing up in the next month so check back often!

No Comments
June 23, 2009 in Life, Websites

RailsSpace

I’ve spent a few more days with Ruby on Rails and I have to say that I’m really loving the DRY aspect of the language. It really feels like I’m not going to have to repeat myself much; and especially so once I have one application under my belt.

The book I’ve been using to guide me has been
RailsSpace: Building a Social Networking Website with Ruby on Rails (Addison-Wesley Professional Ruby Series)

It isn’t a perfect book; but it’s the best of the few I’ve looked at by far. The book is a big long example of building a social networking site with RoR, and it assumes no prior knowledge of Ruby or RoR. I learn best with complex applications of ideas and principles. This book has it! To anyone out there wanting to learn Ruby on Rails I highly recommend this book. It has been essential in my progress so far.

No Comments
May 19, 2009 in Ruby on Rails

My Rails Experience So Far

So I still haven’t delved THAT deep into rails but I’m really enjoying what I’ve found so far. The structure of it threw me for a little bit of a loop but I’m getting used to it.

Is it fast? I think so :p I will probably purchase a book so see how far I can go with Ruby on Rails. I definitely want to make at least one big webapp with it at this point!

No Comments
May 14, 2009 in Ruby on Rails

Ruby On Rails

I’m one of those people who have heard about Ruby On Rails in passing, but have never really taken the time to figure out what in the world it was. I’ve seen the endless comparisons to PHP - both sides spewing nonesense half the time.

Then I learned that Twitter ( currently Alexa ranked at #50) was built with Ruby on Rails. Holy crop. Suddenly I’m interested in Ruby on Rails and am downloading all the files as I’m typing this. I will be adding a new category to the blog to track the things that I learn as I explore the new world of Ruby on Rails!

No Comments
May 9, 2009 in Ruby on Rails

My Friend In Russia

I’ve never known someone from Russia; it’s a world away after all! For the last semester one of my friends has been at Russia for a semester of school. It’s been an absolutely great experience for him and I thought I’d share a link to his blog with everyone. He’s very intelectual and thoughtful. http://cellingo.blogspot.com/

No Comments
May 8, 2009 in Life

Installing And Running Project Darkstar

Project Darkstar?! That sounds incredibly epic and awesome. Personally I think it is both of those things and I haven’t even gotten that in depth with it. Project Darkstar is being made by the incredible folks at Sun to make developing massive multi player applications (read massive multiple games!! ) on Java easier.

Which, it needs to be easier. Messing around with the basic NIO classes was like wrapping my head around how women work. It just wasn’t happening. A book might have helped; but instead there is now Project Darkstar! As with anything new there isn’t a ton of documentation on it so installing and getting it to run is MUCH more difficult than it should be; which is why I’ve decided to highlight the installation process that I have. This is both for myself and for others; currently my setup is not perfect and I’m still learning but I’ll update as I learn/fix things. I’m running Windows Vista and no big IDE. I’m just using Notepad++ - if you’re on a different OS things might be a little different. If you’re using a big IDE like Eclipse then this won’t help you too much.

1. Download the server

Go to http://www.projectdarkstar.com and click on the download button. Download the Project Darkstar Server, source & binary. It’s about 10MB as of writing this. You’ll get a file that is something like: sgs-server-dist-0.9.9.zip. I extracted zip to my C:\Barracks directory and renamed the folder sgs-server-dist-0.9.9 to just sg-server. So now when I go to C:/Barracks/sgs-server I see the lib, conf, bin, ect folders.

2. Run an already compiled jar

The server comes with a tutorial jar ( tutorial.jar ) I ended up extracting it to see all the pretty files inside. In here there is a tutorial file; ServerAppTutorial.pdf. I recommend opening it up because there is useful information in there. This section is explained in the tutorial but the next section of my little guide is not. To run one of the jars that came with the server

1. Open a command prompt and go to your sgs-server home. For me this is C:/Barracks/sgs-server.

2. The command for running the HelloWorld example is: java -jar bin/sgs-boot.jar tutorial/conf/HelloWorld.boot

3. To stop the server open another command prompt, go to your sgs-server home, and type in the following command: java -jar bin/sgs-stop.jar tutorial/conf/HelloWorld.boot

Now wasn’t that easy? Yes it was very easy. There is code in the tutorial pdf provided that shows what’s going on behind the scenes. For now that’s way more information than we need. We still have some more steps to go before we even think about what’s going on behind the scenes.

3. Run your own jar

Now as of writing this I don’t even have this perfected but after spending way too much time messing around with stuff I have gotten what I believe is a solution that works well enough for me to deal with any issues later. We’re just going to try and run the HelloWorld code - nothing complex for our first try.

1. I created a directory in my sgs-server home directory called HelloWorld, since I figured it would be easy to launch files from in there. It’s C:/Barracks/sgs-server/HelloWorld

2. Create a blank HelloWorld.java file and then copy and pasted the HelloWorld code that is in the tutorial. 

3. Delete the line: package com.sun.sgs.tutorial.server.lesson1;

4. Create a HelloWorld.boot file with the following information:

SGS_DEPLOY=${SGS_HOME}/HelloWorld

SGS_PROPERTIES=${SGS_HOME}/HelloWorld/HelloWorld.properties

SGS_LOGGING=${SGS_HOME}/HelloWorld/logging.properties

5. Create a HelloWorld.properties file with the following information:

com.sun.sgs.app.name=HelloWorld

com.sun.sgs.app.root=HelloWorld

com.sun.sgs.impl.transport.tcp.listen.port=1139

com.sun.sgs.app.listener=HelloWorld

6. Compile your .java file into a .class file. To do this go to your HelloWorld directory C:/Barracks/sgs-server/HelloWorld. Enter in the command: javac -cp C:\Barracks\sgs-server\lib\sgs-server-0.9.9.jar HelloWorld.java. This should compile. I added the server to my classpath but that didn’t seem to do anything ( how odd ) so I just include it in the javac statement.

7. Turn your .class file into a jar with the following command: jar -cf HelloWorld.jar HelloWorld.class

8. Now that you have a jar we’ll use the same command previously used but changing where to look for everything. java -jar bin/sgs-boot.jar HelloWorld/HelloWorld.boot

9. Stop the server: java -jar bin/sgs-stop.jar HelloWorld/HelloWorld.boot

Now that was a little more complicated but overall that really wasn’t that bad either! It’s amazing how long it took me to figure out this fairly simple process. Next time - information about actually coding using Project Darkstar! Keep in mind that if I figure out a better way of doing things this post will be updated with the new information!

2 Comments
April 26, 2009 in Project Darkstar

Milky - My Favorite Free Icon Set

 

Milky Icon Set

Milky Icon Set

I thought another icon set post would be in order since the Hp Dock set seemed lonely by itself. So I’ve added Milky, found here created by IconEden. From the name you might imagine the icon set to be white. It’s not; it’s green. Now I’m not really sure what kind of milk features a lot of green but it probably tastes amazing. I may or may not be joking about that. I’ve used Milky Icons on most of my websites. It truly is an amazing icon set and I give major props to IconEden. When I actually have money to purchase icons I’ll be purchasing some from them. As with all of my Icon posts these are free to use commercially. All you have to do is provide a link back that you are using them.

No Comments
April 24, 2009 in Icons

HP Dock Icon Set

 

Hp Dock Icon Set

Hp Dock Icon Set

I like browsing around for icons. There are a lot of spammy websites out there who advertise ‘free commercial use icons’ and usually they are full of shit. I’ve spent some time actually finding genuine free to use commercial icon sets, and figure that I would post them. Today we have The Hp Dock Icon Set by MediaDesign! There was a point when I wanted to find a nice big monitor icon for one of my websites. It’s amazing how many crappy pictures of monitors are out there. I was almost going to give up on my search when I found this set, and my life was saved! Ok yeah that was a bit dramatic :p

No Comments
April 23, 2009 in Icons

Bad Steampunk vs. Good Steampunk

So by now everyone has come to know that I am a steampunk fan. Hooray! As with most artistic and fashion styles there are people that are very good at it, and people who just aren’t. I still give props to the people who try and end up with something that isn’t exactly a masterpiece since I’m the kind of person where if I tried to actually make a costume I’d end up  with something along the lines of:

Terrible Costume

Terrible Costume via Flickr

 So you can understand why why I can’t be too critical. Honestly I probably wouldn’t even be able to come up with the costume pictured above. I’m like an uncreative abomination or something.

ANYWAYS - onto the lesson. Good steampunk vs. bad steampunk. Here are two pictures - I’ll let you guess which is the good steampunk and which is the bad:

 

Steampunk Eye via <a href=

Steampunk Eye via Flickr

 

Steamborg via <a href=

Steamborg via Treckmovie

Are you able to tell the bad vs. the good? I sure freaking hope so. The first major difference is that the first person is using a big damn block of wood and plasterring it over their eye. It makes me feel like I’m going back into the stone age where when someone lost an eye they just stuck a nicely shaped rock in the hole. Ok so I’m pretty sure they didn’t do that - but it would be cool.

The second is the straps. Staps are a necessary evil. Your face fat is going to be squished somewhere to keep a big ol thing on your head. In the first we have plain stretchy straps - perfect for making even Paris Hilton look like she has some meat on her. In the second? Leather straps. I believe. Ok so I’m not a materials expert, but it’s obvious his straps look a lot better.

If in doubt, add more shit! This is obviously the most important part. Maybe you’re a fan of stretchy straps and that’s fine and dandy if you put enough detail into the thing to make it work. The first picture would have been helped out a lot by just adding more shit to the wooden block and straps. Give any modern piece some steampunk coloring. Make the straps look authentic. a cog, gear, or tube to make it look like the straps have a little bit of purpose. Overall just plaster the damn thing with steampunk stuff because steampunk isn’t about being clean and simple; it’s about grungy and complex.

No Comments
April 22, 2009 in Steampunk

Spaceship Broken Need Parts

 

Spaceship Broken Need Parts

Spaceship Broken Need Parts

 

 

Whenever I see someone appearing homeless and asking for change I wonder if they really are poor and homeless. I’d rather be giving a homeless man money to do whatever he feels with it than give money to someone who makes more than I do. The guy in this picture obviously is one of those who is truly homeless. You can’t call a spaceship a home if it’s completely broken. Just like normal houses get destroyed by tornadoes, spaceships can get damaged by freaking asteroids slamming into you. Imagine travelling around casually just under the speed of light when some stupid rock decides to destroy an engine.

On Earth we have to deal with Canadian Geese (damn Canadians!) but in space - rocks and leftover debris from epic alien battles. When everything is said and done I’d give this guy my money. Sure it’s a crap shoot, but at least he was clever enough to make my day :p Photo via Flickr

2 Comments
April 21, 2009 in Funny