Firefox displays weird characters as headings (solution)

by
Inf

I am currently using Firefox, latest version that is 3.0.11 at the time of writing, and I encountered a strange problem on some sites, one of which is the famous Smashing Magazine. The headings were displayed using weird characters, or what it would seem, special characters. You can see a screenshot below.

Smashing Magazine with weird characters

At first, I thought it was a problem with character encoding. Changing to UTF-8 did not solve the problem, nor did switching off Auto-Detect from View menu – Character Encoding solve anything. Well, basically, after a lot of trying out solutions, it was not a problem with charset or encoding.

I tried other solutions but none seemed to work. One of them gave me a clue as to what the problem is. It was going to Tools – Options – Content – (Fonts & Colors) Advanced – (uncheck) “Allow pages to choose their own fonts, instead of my selections above”. This rendered all pages without custom fonts, except my default of Times New Roman. The problem was solved.

The workaround indicated that the problem resided with my fonts. I thus went and checked out the website source and the stylesheet and found out that Smashing Magazine uses Helvetica font as primary font for h2 tags. This line was found in the source and stylesheet respectively (I shortened the code with …’s):

<ul class="topic-list">
<li>
<h2><a...> ... </a></h2>
ul.topic-list h2{font:44px Helvetica,Arial, ...}

If you don’t know, Helvetica is a proprietary font and doesn’t come with installs of Windows by default. It didn’t come with mine, on both my XP and Vista installs, so I’m assuming it doesn’t come by default.

The Solution:

So what can you do? Apparently, nothing. You cannot acquire the Helvetica font for free and install it. Unless you are willing to pay for it, you are stuck.

Now, if you are crafty enough, you can use some Google powers and try to find the font by… let’s just say, alternative means. I am not posting links here, because I do not encourage piracy. I managed to find a copy of Helvetica somewhere, installed it and problem was solved. You can see the results below.

Smashing Magazine Problem Solved

If you do want to do what I did, you just need to find a copy of Helvetica from somewhere, install it, restart Firefox and the problem should be solved.

Another plausible solution would be for sites with such problems to substitute their fonts for those people do have on their machines. But we cannot require this from site designers. Another way would be to be able to find an addon or similar for Firefox that would allow for font substitution. If you know of such a solution, you are free to share it with us.

A bit of strangeness here is that, since Firefox did not find Helvetica on my machine, it should have used Arial. I cannot understand why it did not.

If you do install the Helvetica font and still get the problem, maybe it’s another font being used and that you don’t have.In this case: check the website source, find which element it is, search the stylesheet for that element, find which font it is and install the font. Restart Firefox, and the problem should be solved.

Hope my solution helps. That’s it! Kinda easy, wasn’t it?

Note: I uninstalled Helvetica after I tested the solution, for those of you who were interested! 😛

Is Microsoft THAT afraid of Firefox?

by
Inf

EDIT: They changed it! Ahhh they finally found some reason! Note the different tone of language. Note the less number of points! Good good!

The New Version of the 10K lol-ad!

Hey readers, check out what I found in my feeds today! It’s a competition hosted by Microsoft! 10K prize money offered. The catch? You need to have Internet Explorer 8. The ad in itself is really funny, almost laughable. It seems Microsoft is really scared about losing market share to Firefox especially, and other browsers considering the tone of the ad. I’ve included a copy below, and for your viewing pleasure, here’s the original link.

A small comment: Since the page can only be opened in IE8 which got a lousy score in ACID3 test, it the page where the money is hidden must be so quirky that Firefox refuses to even find it! Also, note point #2! “Microsoft’s best ever browser” but not simply “best ever browser”. Does Microsoft itself know that its browser is not the best out there?

Enjoy your lulz, and comment! Seriously, I lol’d hard! Couldn’t resist blogging this as soon as I saw it! 😀

MS 10k competition

Click the image for the larger version

Original Source

The Mauritian Blog Brethren – The Story Behind?

by
Guru

Did I spell wrong or is it everything is wrong? For a very long period of time, the SysOp and maintainers of thembb has not been active. Of all the day, today I decided to looks for some inspiration from fellow bloggers to write an article and boom. What did I saw?

  1. thembb.com
  2. thembb

  3. thembb.blogspot.com
  4. thembb

    This definitely make me hint at account takeover. Anyone else noticed this?

    I tried a whois on the domain name and got the nameservers:

    NS1.SEOBUMMER.COM

    NS2.SEOBUMMER.COM

    Must be a weak password or what?

    The lesson, don’t use weak password and  change your password frequently

Backup your hamachi profile

by
Guru

Hamachi icon

Many times you need to format your PC and start anew. What about your so loved Hamachi configs and your so long “had”, ip address? Backing it up need only a minor copy-and-paste. (In a safe location).

The easy way

  1. Launch Hamachi
  2. Click on the “pulley” looking icon on the bottom left corner of Hamachi – “Configure Hamachi”
  3. From the pop-up menu choose “Preferences
  4. On the left pane of  the opened window entitled “Status and Configuration“, select “System”  (again presented with a pulley icon)
  5. Now, you would be presented with 3 buttons. Click on the one with caption, “Open Configuration folder”
  6. Hamachi configuration folder will be opened. Go up one level
  7. Finally you will see a folder named “Hamachi”.
  8. Copy it in a safe location and you would be safe.

The “not so lengthy” way

C:\Users\Guru\AppData\Roaming\

Replace “Guru” by your username, open location and finally copy and paste folder “Hamachi”

You can open the location by navigating one level at a time to the required directory or simply press Windows Button + R to open the “Run” dialog box, paste the location in the text box and hit Enter to go to the “Roaming” directory.

Easy?

In search of the ultimate desktop RSS reader

by
Inf

Yes, you read correctly. I said, desktop RSS reader. I’m old style. I’m classic. Whatever, I still want my feeds on my desktop. For one single reason: it’s so much simpler. Click the icon in the notification area, and voila! I got my news at a click. No need to load Firefox, point to some random URL to a web-based feed reader or whatever. There’s also another reason. I like my data on my computer, not on some server on the Internet. What if tomorrow, the company that manages the web-feed-reader goes out of scene? What happens to my feeds? And if ever they decide to keep usage info on my feeds so as to create spam “targetted advertising”? No thanks. I want full control over what I keep, what I share and what I want others to access. Ok, enough side-tracking. Back to the article, which by the way, is the 100th post on GeekScribes! Click below:

Continue Reading »

We are back

by
Guru

No exams

On the 22th we were free from all the pressures and sleepless nights, a.k.a “The Exams”. 😀
We would be writing very shortly. But what? Actually we are pretty much drained and got no clue what to write of. (Those who had the exam flu how is it going for you?). My best bet would be:

  • Tips and Tricks
  • Tutorials
  • Some random stuffs

Well, the usual stuffs. Now that we are on our own for like 2 months we can tweek GeekScribes and give you readers more. Want to give a helping hand? You can always propose ideas of what we can do.

We were thinking of brining on some more authors. We really need it. Still searching.

This is my short post. Bussiness will resume soon. 😀

PostgreSQL Database Cluster Initialisation Failed Solution

by
Inf

I’ll keep this one short and sweet. For those of you that have tried to install PostgreSQL (mine was 8.3.7-1) on Windows Vista and got the error Database Cluster Initialisation Failed error at the end of the install, read this.

The problem is that Vista has some safety features associated with setting permissions on the Program Files folder. Basically, even if you are an admin, you can’t change permissions on some folders like Program Files and Windows folder itself. This causes initdb to be unable to create some folders and the database cluster. What this means for you is that you need to install PostgreSQL in another folder that is not inside Program Files.

By the way, if you have forgotten your Postgres account password while installing the first time, just open a Command Prompt in Vista (If you don’t know how, Google for it). Then type the command “net user”. You will see a list of users on your computer. Find Postgre’s account. It’s usually “postgres“. Then you need to change its password by typing “net user postgres new_password” where new_password is… well, a new password for the account. You will be needing that postgres account during install. You will need admin privileges to do this change however.

Firstly, uninstall any failed installations. Use the Control Panel or the PostgreSQL installer in the install folder.

During the install, you will be prompted to choose where you want to install the program. Just select a location in another place. Like “C:\PostgreSQL” or something similar. It may even be on your desktop. But not inside Program Files. Not inside Windows folder. However, it’s not as easy. Bear with me.

After the install, you will still see that darned error message (or something like non-fatal error occured). Do not despair!  (For Windows Power Users, we are just assigning Full Control permission to Postgres account on the new PostgreSQL install folder). For other users, read on if you don’t know how to do it.

Go to where you just installed PostgreSQL.  In this case, the C: drive. There, right-click on the folder (usually called PostgreSQL), and go to Properties – Security tab. Click on the Edit button. You will now see some usernames and other stuff. Click on the Add button. In the “Enter the object names to select” box, enter “postgres” and press Check.  Postgres’ user account should appear there. Click on Ok.

Now from the “Group or Usernames” box, select the Postgres account. In the window below, with lots of checkboxes, assign permission “Full Control” in the Allow Column to it. Note, if you don’t want to allow full control, just give it read/write. But I just went ahead and gave it Full Control. (I was tired and annoyed. The “World’s most advanced open source database” had failed to install!). Click on Ok and wait a bit for permissions to be applied.

Then, just do a re-install. Do not uninstall anything. Just run the setup again. It’ll say that a PostgreSQL install folder already exists and other stuff. Just click on Next until the install finishes. If you see “file cannot be copied” errors, click on the “ignore” button when needed.

That’s it. PostgreSQL should be up and running on Vista now. Hope it works for you too as it did for me, and that my guide is helpful to anybody. If it works, or if you have other solutions, let us know. Thanks for reading! 🙂