Archive

Archive for the ‘web’ Category

Moving and using Firefox Plugins on Swiftfox

May 21st, 2007 Dante Regis 1 comment

So, have you ever heard of Swiftfox? If you are coming from google, probably yes. It is just like Firefox (the same source code) but it is compiled with optimizators for the major CPUs avaiable. So, it will perform better on your machine. It’s like having Firefox on Steroids. So, since it has the same source code, you can use your existing extensions (and install new ones) as well as use your plugins. There’s an platform independent installer on the website, but if it does not import the plugins for you, or, for some reason, you have installed it using another method (like Automatix, or tarball), you can create soft links from your existing plugins to use them on swift fox.

1. Go to /usr/lib/firefox/plugins

2. Do a ‘ls -l’ so that you can see where the link points to

3. Now, create links on /opt/swiftfox/plugins to the original files

Tip: ln receives the target and then the name for the link (I always misplace them)

Example:

Giving ls -l you find out that the java plugin (firefox-javaplugin.so) is in /etc/alternatives/firefox-javaplugin.so. So you do a

ln -s /etc/alternatives/firefox-javaplugin.so /opt/swiftfox/plugins/

Swiftfox will automatically use the new plugins.

Categories: firefox, howto, web Tags:

making webpages with great colors

February 27th, 2007 Dante Regis No comments

I’m just a programmer. Period. I work alone, so I have to build both code and web page layout for my software, but I’m no designer. To top it all, I’m color blind. So, I choose the colors, they look great to me, but everyone else with a normal vision will protect their eyes from such a terrible color scheme!

Maybe you’re not a color blind person, but you may have faced trouble choosing colors for your web site. You try two, three, ten times and it just can’t get right. Your designer friend though, can do that in 35 seconds, of which 30 are spent opening Dreamweaver.

There’s a tool on the web that intents to help people like us. It’s called Color Scheme Online v 2.0.  It helped me big time. You go to their website, and click on a color (or type the color code on one of the inputs on the left). The site will then show you 12 colors that match with the one you provided. Along with their codes in RGB and Hex.

Great value tool! Try it out.  There’s also a desktop software download there, but I haven’t tried that out yet.

Categories: programming, web Tags:

ruby on rails

February 24th, 2007 Dante Regis No comments

A colleague at work, Chico Ary http://chicoary.wordpress.com/, came to me talking of a new language “Ruby”, and a web framework built on top of it, “Rails”. I must admit that at the time I did not give it much attention, just making a mental not to take a look on it.

What a shame. I’m sorry Ary! Rails speeds up web development on a way that makes it bleeding fast! To give you an example,  I was working on that time customizing an open source application built on PHP. It was a job that had already taken me 4 months, not counting the months the application itself took to be developed by the community. I took the hard decision to abandon PHP and rewrite the application from scratch after I met the power of Rails. And, believe me, 15 days later, 65% of the software was already ported on a much more scalable way. Now, 2 months later, the software is at production stage and I’m working on bugs and new features.

And, best of all, Ruby, the underlying language, leaves the code readable for anyone. Give it a try, get Rails here and Ruby here.

Categories: rails, web Tags:

Howto Debug JavaScript on Internet Explorer

February 24th, 2007 Dante Regis 1 comment

First things first: I’m a Firefox evangelist. The problem is: people do use IE.  There’s nothing we can do about that – even if we convert everyone to a browser (a real one, I mean), today, at this right moment, most people use Internet Explorer.

So you face a deal: your javascript is working perfectly on Firefox, but problems arise on IE. What should we do? Read more…

Categories: javascript, web Tags: