Tech

New Theme for a New Year

 

Arclite CSS Troubles

What?! When did this start happening?

Surely, you’ve noticed the recent style update to the blog, yes? Since I started the blog last year I was using DigitalNature’sArclite” and was happy with it for a very long time.

Then with the recent update I noticed that this weird CSS bug kept showing up around my right side panel’s boxes that made the content huge and was majorly pissing me off. After some muddling around in the code, playing with the CSS myself and checking out DigitalNature’s support, I decided to cut my losses and discovered that DigitalNature recently released a new theme called “Mystique” that was just gorgeous. And now it’s applied here! I especially like the build-in widgets for Twitter and blog-specific stats on the side. Now, if only they had a widget for Tumblr too and then I would be set with my social media feeds!

Dynamic Dummy Image Generator

This is super geeky, but I can’t help but love it. If you’re like me, you use a lorem ipsum generator such as http://www.lipsum.com/ when you are designing layouts with sample content. But what about generating sample images to see how sizes affect your layouts (like if you’re designing a blog and you might have a variety of images with a variety of sizes linked in that blog)?

Testing, 1.. 2.. 3! Ta-da, my dummy image.

Testing, 1.. 2.. 3! Ta-da, my dummy image.

That’s where the Dynamic Dummy Image Generator comes in!

Sometimes you just need a placeholder image right at your finger tips. Just enter the width + x + height at the end of this URL and off you go!

Example: http://dummyimage.com/640×480

You can either generate one and right click + save as or just hotlink it right into whatever page you want to design. It would probably be nicer if you just downloaded the script yourself though so you don’t kill the poor guy’s server. ;-)

And I’ll do it right now, let’s hope this works!

It’s so stupidly simple, how come I didn’t think of this already? I think it would have been awesome to have this when I was working on some design projects in the past.

Squadron Scramble Redux

I’ll apologize to Brandon first for writing this because I am sure when he reads this blog post he will roll his eyes or puke at the thought of me brining this up.

My junior CSU670 “Software Development” class with Matthias Felleisen at Northeastern will forever be one of the most tortuous ordeals I will have ever lived though – but also probably the most rewarding. To this day, I still wake up from nightmares of me sitting at one of the Solaris boxes in the CCIS computer labs talking with other classmates and they ask me what other classes I am taking that semester; lo and behold I can’t even remember one of the 3 or 4 other classes I am supposed to be taking that semester, all I can think about is Software Dev and that I LIVE in this computer lab!

After passing the class from hell, a few of my friends and I made a pact of sorts that we would (one day) continue on with our code from the class and improve on it, because it really was probably one of the largest projects we had ever worked on.

If you have never heard of Squadron Scramble, no worries, I don’t think anyone in the class had ever heard of the game either. It’s a rummy style game but you use aircraft cards with aircrafts from World War II (oh, so appropriate since our professor is German.) Our class rules were modified from the original game, but the basic premise is that you collect three of an aircraft type and can use that to “shoot down” other aircraft trios with a few other wild cards thrown in for good measure.

We were required to pick a programming language and work in pairs and practice paired programming. I had mixed results in past course with paired programming but in this course it was absolutely critical that you have a well functioning team to carry out each week’s assignments, otherwise you would be behind for next week’s tasks because every week built on the weeks before it.

The tasks finally built up to us creating our own game server and administration as well as clients to connect to our server and other student team’s servers. We also had to create dumb artificial intelligence and come up with “player” strategies to try and beat each other with our “players.” And this was all using ugly XML syntax and we were only allowed to use the aging and severely out-dated Solaris machines. We also had to come up with a GUI interface, and did I mention that yes, it all had to work on the grossly out-dated Solaris machines?! That means using Tcl/Tk instead of all the new flashy goodness of anything else developed within the last decade.

With that said and done, my buddy, Ventz, asked me earlier this week if I had time to develop a Ruby client and server and bring the project back to life. My one request was that instead of XML we use JSON instead to make our lives easier. He was going to take a stab at re-writing a Perl version of the code and hopefully get a few other ex-CSU670ers to chip in a Java version and whatever other version they’d want to contribute. My first task is probably to write out a proper spec and improve upon on some of the universally despised guidelines in Matthias’ original spec.

If you’re interested in seeing the final code I wrote in the class, hop on over to my Subversion repository: http://svn.rachelober.com/csu670/ I think this is pretty much the final version of the code that I submitted in the class. I’m almost certain this will not run on anything unless you can get your hands on one of CCIS’ old Solaris servers (which have since been “taken out back” and summarily assassinated,) but I’ll add a disclaimer anyway that the code is provided “as-is” and under no warranty. If it screws up something on your system when you try to run it, sucks for you!

Maybe one day we’ll get some kind of game server to run and we can all play some crappy aircraft card game over the internet.

My Upgrade to Windows 7 a.k.a. I think I need to replace my DVD drive

Is currently also a pain in the ass. I don’t know why I do things like updating multiple operating systems at once or reformatting a computer right before an important programming assignment is due – it just leads to much heart burn and late nights. This time, I had long ago downloaded the Windows 7 RC (legitimately with my own serial) and left it sitting on my desktop (that I rarely use.) A couple weekends ago I finally got around to burning the ISO and then left that DVD sitting around until I picked it up recently and tried to install it to my computer.

I have come to realize that this isn’t the first time my DVD drive has written bad media. Again, I must be a masochist because I seem to do stupid things like this all the time.

If someone has a suggestion for a new DVD drive please feel free to whack me over the head because I really shouldn’t do this again.

Stay tuned for a real entry on my experience with Windows 7 instead of my misadventures in trying to sabotage myself.

My Snow Leopard Upgrade

This has been a pain in the ass for the past 2 weeks for me. At work I do a combination of iPhone objective-C programming and Ruby on Rails programming. Just about everything broke and I’ve been pulling my hair out and patching things with scotch tape just to get it into some kind of working shape. I haven’t had to time to back everything up and just reformat the damn machine and install everything compiled properly to the 64-bit system but here are some links that have helped me wobble along until I can fix things.

The Xcode muckiness wasn’t as bitchy to overcome by just fiddling with some of the settings to get it to work with my company’s code – but the problem also was that the new Xcode that ships with Snow Leopard totally got rid of all the previous iPhone SDKs I had. My company still runs most of our iPhone apps off of 2.2.1 and Xcode for Snow Leopard only does 3.0. Unlike my co-worker who practice more forethought than I do (so what, call me ignorant), I didn’t have a backup of the previous Xcode stashed somewhere else. Adam showed me a tricky trick in the new Xcode and you are able to still use the new 3.0 SDK but set the deployment target to whatever the heck you want.

OF COURSE, with the new iPhone 3.1 SDK, they’ve included all the previous iPhone SDKs to work with the new Xcode 3.2, thus eliminating my rage, but a little too late for the heartburn I was experiencing earlier this week.

Now, getting ruby on rails and our projects running on my laptop has been a bitch and a half and I’m still pulling teeth just to get things working locally. I was being a tool and just deploying all of my test code to the integration server to test for the past week and a half just so I could get some actual work done before Labor Day. I’m sure my co-workers didn’t appreciate that. :-p

Getting PostgreSQL working with ROR and installing the proper gem. I used to use pg but that was not working. I’m instead using postgres-pr and that seems to get mongrel up and working on my local environment. Make sure to change your ARCHFLAGS to ‘-arch x86_64′ if you originally had it set to i386.

http://railsforum.com/viewtopic.php?id=34110

I had to totally uninstall things like my MacPorts and rubygems and postgres and install everything from scratch again. I also had problems with my paths and I was constantly pulling up the wrong version (i.e. Snow Leopard’s version) of ruby and postgres.

Originally I had thought that just by recompiling everything the Ruby on Rails guys suggested, I’d be golden. But that just didn’t work out for me.

I think I am just going to reformat everything this weekend and follow this guy’s advice. What a mess!

Oh well, rant over. Hopefully I can post about a more successful Snow Leopard install next week.

Go to Top