Archive

Archive for the ‘Technology’ Category

Current Web Style

March 10th, 2006

Found a cool site that talks about the world of design as it is right now.
Interesting points about the tools and techniques of the modern web designer.

Be sure to check out Webdesignfromscratch.com.

Check out their page on current web style here.

Nerd, Technology, Web 2.0

Replacing Apache 1.3.x with 2.0.x on Mac OSX

March 9th, 2006

I found a great HOW-TO on how to replace the base installation of Apache 1.3.x on Mac OSX over at Chalmers Tekniska Hogskola’s website.

This is very helpful information if you use apache on your Mac to develop websites and web applications locally.

Without further ado, here is the article.

Installing Apache2 and PHP 5.0.4

Staying at the top has a cost. Hours of trying to figure out how to install new software.
Recently I (after lots of mistakes) managed to install Apache2 and PHP 5.0.4. To make it all simple for and only invent the wheel once I decided to put up this guide.
The idea was that I wanted Apache2 together with PHP on my webserver and start and stop Apache from the System Preferences pane. In other words I wanted to remove the old installation of Apache 1.3.x and replace it with Apache2. Roaming the Internet gave me absoulutly no clue whats so ever how to achive this. The guides I found was generally set up so you had two webservers or a lot of fiddling with the httpd.conf file. Also I would have to make a script to launch Apache2 at startup, and as said before “There is no reason to invent the wheel again”.
So here is what you need to do: I assume that you are familiar with using a terminal window, if not, this is a good time to try it out.
Prerequisites:
You need to have a compiler installed. This comes for free with XCode. I’m running gcc 4.0.
glibtool (GNU Libtool) version 1.4.2 or higher
autoconf verion 2.5.2 If you don’t have these download them using fink. If you don’t have fink, download and install it! These are needed for the installation of Apache2 . If you don’t want to use fink Remember that GNU Libtool is in a normal *unix system named libtool. If you don’t compile it as glibtool you will run into trouble later on when installing other programs developed by Apple.

Nerd, Serafini Studios, Technology

G4 Freeze Your Computer Needs to be Restarted

March 3rd, 2006

Was having all sorts of problems with my G4 17″ Powerbook today and last night, thought I would give this a try.

Thanks to Tech Support Technician “bobw” at Macosx.com

  • First disconnect anything connected to the machine (printer,modem, scanner, etc) and see if the Kernel panic still happen. (’your computer needs to be restarted’ in various different languages is a Kernel panic)
  • Next, run Disk Utility from your Utility folder to Repair Permissions.
  • Next run ‘fsck’;

To run fsck, you first need to start up your Mac in single-user mode. Here’s how:

  1. Restart your Mac.
  2. Immediately press and hold the Command and “S” keys.

You’ll see a bunch of text begin scrolling on your screen. In a few more seconds, you’ll see the Unix command line prompt (#).

You’re now in single-user mode.

Now that you’re at the # prompt, here’s how to run fsck:

  1. Type: “fsck -f” (that’s fsck-space-minus-f).
  2. Press Return.
  3. The fsck utility will blast some text onto your screen. If there’s damage to your disk, you’ll see a message that says:

    ***** FILE SYSTEM WAS MODIFIED *****

    If you see this message–and this is extremely important– repeat running fsck. It is normal to have to run fsck more than once — the first run’s repairs often uncover additional problems..

    When fsck finally reports that no problems were found, and the # prompt reappears:

  4. Type: “reboot” to restart, or type “exit” to start up without rebooting.
  5. Press Return.
  6. Your Mac should proceed to start up normally to the login window or the Finder.

Nerd, St.Louis, Technology

Using Ruby on Rails for Web Development on Mac OS X

March 1st, 2006

Definately want to check out this tutorial.
Using Ruby on Rails for Web Development on Mac OS X

Why Ruby on Rails?

First, you might be wondering: Web application frameworks are a dime a dozen, so what’s different about Rails? Here are a few things that make Ruby on Rails stand above the crowd:

  • Full-Stack Web Framework. Rails is an MVC web framework where models, views, and controllers are fully integrated in a seamless fashion. That means you automatically get all the benefits of an MVC design without the hassle of explicitly configuring each component to play well with the others.
  • Real-World Usage. The Rails framework was extracted from real-world web applications. That is, Rails comes from real need, not anticipating what might be needed. The result is an easy to use and cohesive framework that’s rich in functionality, and at the same time it does its best to stay out of your way.
  • One Language: Ruby. Everything from business logic to configuration files (there aren’t many) are written in the Ruby programming language. With just one language, you hope it’s a good one, and Ruby doesn’t disappoint. Ruby is a full object-oriented language with clean syntax and it has a way of making programming truly fun. Using one language means you don’t have to juggle between multiple languages and dialects as you’re building your application.
  • Convention over Configuration. Rails works hard to take care of all the repetitive and error-prone chores associated with starting to build a web application, and maintaining it over time. Rails uses simple naming conventions and clever use of reflection to make your work easier with near-zero configuration.
  • It’s Productive! At the end of the day, Rails is all about helping you stay productive.

Nerd, St.Louis, Technology, Web 2.0

Going dynamic with PHP

February 23rd, 2006

The introduction of new object-oriented programming (OOP) features in PHP V5 has significantly raised the level of functionality in this programming language. Not only can you have private, protected, and public member variables and functions — just as you would in the Java™, C++, or C# programming languages — but you can also create objects that bend at runtime, creating new methods and member variables on the fly. You can’t do that with the Java, C++, or C# languages. This kind of functionality makes super-rapid application development systems, such as Ruby on Rails, possible.Before I get into all that, however, here’s a word of caution: This article is about the use of very advanced OOP features in PHP V5 — the kind of features you won’t necessarily need in every application. Also, the kind of features that will be difficult to understand if you don’t have a solid grounding in OOP and at least a beginner’s knowledge of PHP object syntax.

Check out the rest of this article.

Nerd, St.Louis, Technology

Open Ajax - Open Source Initiative

February 10th, 2006

This article was from IBM’s alphaworks website

TECH TITANS CONTRIBUTE BROWSER-BOOSTING AJAX TECHNOLOGIES TO OPEN SOURCE COMMUNITY (PDF)

“Open Ajax ” Initiative Members to Drive Collaborative Innovation to Make the Web Easier to Use Armonk , NY , February 1, 2006 . . . Prominent computer industry vendors and Internet-based businesses today announced that they are making it easier for an open-source community to form and popularize Ajax . Ajax is a fast-growing open client technology that businesses are incorporating into their external and internal Web sites to simplify the browsing experience, and make it easier for users to shop, work, plan, correspond and navigate online.

AJAX, Nerd, Serafini Studios, Technology, Web 2.0

10 Realistic Steps to a Faster Web Site

February 3rd, 2006

This is a very nice list of things to try to get your overall pageweight decreased. I have several pages, where I need to get load times down, and this article was very helpful in giving a laundry list of things to try.

Thanks Alexander!

10 Realistic Steps to a Faster Web Site
Thursday, February 2nd, 2006 at 11:56 0100 (CET) by Alexander Kirk

I complained before about bad guides to improve the performance of your website.

digg it, add to delicious

I’d like to give you a more realistic guide on how to achieve the goal. I have written my master thesis in computer sciences on this topic and will refer to it throughout the guide.

Nerd, Technology

Google at work on desktop Linux

January 31st, 2006

Looks like the folks over at Google are really keeping busy on their 20%. I might just have to download this when I find it, and reformat the ol linux machine.

Google is preparing its own distribution of Linux for the desktop, in a possible bid to take on Microsoft in its core business - desktop software.

A version of the increasingly popular Ubuntu desktop Linux distribution, based on Debian and the Gnome desktop, it is known internally as Goobuntu.