Tuesday, February 27, 2007

Short post.

Today I will be very short because I am extremly tired and I can't even see the what I am typing. So because of this probably my English will be even worse. And by the way I had to disable anonymous comments because I was to tired to read comments about my spelling. Sorry but I explained at least a 1000 times. I am to bored to reject the stupid comments like, that. And the worst thing is that all that stupid comments are not signed. Any wanted to write about that I finally made it to load a huge database on my new hosting account at GoDady. By default the import is limited to files less than 20 MB. And mine was 150 MB, and the zipped was just under 18, but it didn't work. So I had to upload it uncompressed via FTP and after that use a PHP to import it. (I am referring to BigDump utility , search for it on Google) . The only draw back is that you have to upload the uncompress file. It take about 1 hours. The funny part is that I lost a least 3 time that much tiring to import the compressed one in any way possible. Even splitting the SQL on multiple volume. What I really wanted to say is that sometime just go with the simple method even if it seems more time consuming because some time just tiring to find a easy way prove to be much harder, or :
If you have a difficile task to do , give it to a lazy person and he will find a easier way to do it.

Monday, February 26, 2007

Hosting

I get some web hosting from GoDaddy a few days ago. It is really great. I install Drupal and is grate. I am really thinking to move my blog to there. But for now I don't have a suitable domain. But that is not really a problem. The only think is that I really don't want to lose this blog. I really blogger. So probably I will just start another there and I will make a link from here or something like that.

Monday, February 19, 2007

Labels

I anted to write about something else but first I wanted to find a older post regarding what I wanted to write about and ... I realize that is a complete mess. In my blog. So I decided to label the posts, and at the time I was done, I forgot about what I wanted to write so I have decided to write about my labels. Blogger really did a god job with the labels. It make life more easy. Now I can find my post a lot easier and also put some order in the blog. So from now on I will label my posts, and I recommend you do the same.

Thursday, February 15, 2007

Bloglogin about blogger.

Hello Lizze,
I had a different name in the URL because I started this blog when I was intending to quit smoking. So that's why I had a different name in the URL. Initially I didn't want to become a blogger addicted but, it happened regardless of my intention. So even I didn't quit smoking, unfortunately, I kept my blog. And because it was my first blog I am not intending change it. For some reasons. One of the is that Google index it already.
Anyway I was thinking to buy a separate hosting for my blog, but I don't know if is such a god idea, because I really like blogger interface a lot, is a lot more nice that the Word Press. Also I remember that you complained that there's no way to export the data from blogger. Yes there is some ways to do it, at least for the new blogger.
The clean way to do it is to go to "Chang the publisher". For this you go to Settings->Publishing and check what is displayed.

If is saying something about classic template then you have to revert to the Classic Template, for this you go to Template-> Edit HTML -> Revert to Classic Template. After that should look like this:
Now you click on FTP. Assuming that you WebHosting Provider use ftp access, like most of them. You complete the FTP Server line with the address of your ftp server where you normally upload your files.
You complete your Blog URL with the address of your new domain. This don't really need to be the same as ftp server. For example if you intend your new blog to has the adders www.myblog.com (assuming that you already have the domain) you put that address.
The rest you complete like this:
FTP Path: /oldblog/
Blog Filename: mainpage.html
Feed Filename: oldblog.xml
FTP Username: YourUsername
FTP Password: YourPassword
Chick on publish and on the FTP you will have a directory named "oldblog" in which is all your old blog , and the the main page is called mainpage.html

BTW: For the people that want to try and don't have a hosting yet, they can setup a FTP server at home and give instead of the FTP server adders your IP address after you started the FTP server software (I recommend Fillezilla for this. Also you have to create an account for blogger and set a password. The Blog URL means where the blog will be hosted, and if is wrong the links will be broken.( Evey link from your blog that point to you blog, e.g: the ones in blog archive, will point to that URL plus the name of the post and )
This way blogger will export your blog to your computer.

Wednesday, February 14, 2007

Blog title changed

I get a comment from somebody that it really likes my blog title because is really geek alike. And I finally realize that this was the problem, the title. That's nobody like my blog, not nobody but just a few that really know what's about i have to change it.
So for the people that wondering, my old title was

cat /dev/mind > /dev/blog
But seams that most of the people didn't understand the idea so I am going to explain.
In Unix/Linux operating systems the devices are sown in the file system like a files. For example the first disk of the computer is /dev/hda, the second is /dev/hdb and so on, even simpler the mouse device is a file named "mouse" in the directory "dev". Second thing is that the "cat" command is reading from a file and is printing on the standard output ( the console on the monitor by default) but the output can be redirecting in to another file by putting the ">" character after it and specifying the file. So the title mean something like "read from my mind device and print everything to my blog device" i had considered that will be really funny. But seems that nobody understood it. So I have to change my title to something more readable.
Thanks LDF for the comment and for making realize.


Thursday, February 8, 2007

The Chinese story

Probably some of you are wondering what the hell is with the Chinese link on my blog. I am not from China and I don't know Chinese but today I had a look at my stats and see that I had 100 Chines visitors in a row.And I remember that my friend ( yes, I have only one friend) told me that he was able to translate successful from English to Chinese. And by the way first I have to explain why he need to translate to Chinese: My friend is relay is really crazy about old prices of software especially DOS applications. And seems that nobody share his enthusiasm about DOS anymore. And seems that there is a community in China that still developing software for DOS and he was really want it to join it. So he send them some emails translated with Google Language Tool and he received some answers. He translated back to English and found out they accept it. And was so happy that was accepted and I think it was telling me this for 2 hours.
So when I looked at my stats and see that I have so many visitors from China that are really messing out my stats ( They enter for just 2 seconds and see that is in English and leave) So they really messing out my statistics and I am unable to know if my visitors are liking my blog because of them. So I decided to make a blog especially for them and tell about my friend that is so happy that join their community. (I have waited it in English and after that translated ). And I have put the links on top of all my blogs.
By the way: Sorry for my bad English but I am from a non English spiking country. And all my English teachers ware extremely horrible teachers. So all my English I have learn is just from Cartoon Network. So please don't forgive me. I am doing the best I can.
And if I opened the subject about Cartoon Network: What the hell is the thing with all the European country that are translating(doubling) all the TV channels. I really don't understand the idea. Even the music is translated. Just stupid. Have you been lately to Germany ? Seems that even BBC (Yes British Broadcasting Corporation/Channel ) is translated in German. And you wandering why nobody there understand English. I had been recently in Russia and seems that they know more English and are spiking more clearly in English that any of the European country's. (On the main land I mean).
I hope they will put an stop to this. Just subtitle(Write under) but pleas don't change the sound channels I any ways. If the sound is in a certain language... just leave it like that. It sound a lot better in the original language. Also the actors look like fishes due to the synchronizations of the sound with image.

Monday, February 5, 2007

I can't belive !!!!

I had a look at my statistics and I can't believe it seems that about 80 percent of my visitors are still using Microsoft Internet Explorer. I can't understand why. So look at this movie below but please do not try it for yourself if you are using Internet Explorer. I have test it with Firefox and I didn't had any kind of problems , I guess that also with Safari browser should be OK.

I repeat DON'T TRY IT IF YOU ARE USING INTERNET EXPLORER





If you want to know more about it just go to Avira Virus Descriptions and look how many viruses are targeting Internet Explore
Even more ... MS Internet Exploder has a lot of missing features like no plug in support. No tabbed browsing. No RSS reader. No XML support. No password manager to store the passwords. No quick search. Nothing !!!!!

Sunday, February 4, 2007

New toy

My friend get an account at VPSLinks so I had to have one.
VPS stand for Virtual Private Server and it mens that you get a "slice" of a computer from somewhere in internet. The advantage over the normal web hosting is that you have full access to install whatever software you wish but you have to configure yourself.
So I had a look and I found something interesting

  • HDD: 2GB
  • Bandwidth: 100GB
  • Ram: 64MB
  • Price: $7.95/month
So I have decided to give it a test. After I sing up I get my login informations next day. So I have started to play with it. I have installed the Debian image because I had use Debian on machines with even less RAM then that.
The first thing I had tried was to make a swap file....surprise.... seem that is not possible. So I had to limit to the 64 MB of ram.
So let's heck the memory

myhost:~# free
total used free shared buffers cached
Mem: 3756488 3716804 39684 0 130120 1945208
-/+ buffers/cache: 1641476 2115012
Swap: 8193108 437732 7755376


But this is not the real memory avail so I made a little script to show my memory:

#!/bin/bash
bean=`cat /proc/user_beancounters`
guar=`echo "$bean" | grep vmguar | awk '{ print $4;}'`
priv=`echo "$bean" | grep privvm | awk '{ print $2;}'`
let totl=guar/256
let used=priv/256
let free=$totl-$used
echo "VPS Memory:"
echo " total: $totl mb used: $used mb free: $free mb"


So it looks like this now.

myhost:~# /bin/Free
VPS Memory:
total: 58 mb used: 35 mb free: 23 mb


But for this I had to:
  • Replace the OpenSSH daemon with dropbear because OpenSSH use about 20 MB of RAM.
  • Use lighttpd instead of apache
  • Limit mysql memory to 1MB instead of 16M for buffer.
But I am still not happy because if I try to install anything I have to stop evrything or else I get a lot of errors.

myhost:~# apt-get install apache
...[snip]...
Setting up apache (1.3.34-4) ...
open2: fork failed: Cannot allocate memory at /usr/share/perl5/Debconf/ConfModule.pm line 58

So I started wondering if this is normal on a computer with 64 MB of RAM. So I fire up VMWare on my computer and I installed the same Debian in a virtual machine exactly as the one from VPSLink... and surprise,surprise it worked just fine with the same software running in the same conditions and same configurations. (also no swap space) So seems that the software the use is not so smart and have some serious problems.

Also something ugly that I had notice is that if I disconnect from the server and I leave the web server running after a few hours the first attempt to connect to the web server to check my page is fails and seems and i have to try at least 3-4 times before it starting working. And also seems that is comporting like is under heavy load but as soon as I start pushing it a bit is getting back to normal. So I guess it go to some kind of standby (lo priority)

So I am really not happy with it and now seems that my friend that mad fun of me that I am a cheap bastard because I get the cheapest one for only one month. But now he is regretting because he get the one with $14.95/mo for six month (total $82.26 because of the discount). So I have deciding to also get an account to SliceHost next month and see how it is. (I can use swap there )

I am back.

Yap. I am back after a long absence (I think about a month) . But I had my reasons to not write on my blog. Seems that is a guy that had funny idea to start the work in January. And because of him a lot of peoples had to work extra hours, including me (Don't ask !) Yap I had a lot of work and and I was to tired to open my computer at home. But that stuff is over and I am going post from now one.

Oh. By the way for the peoples that wonder what was with the test post I have to explain. Right now I want to make a RSS reader or something like that I don't know exactly what will be at the end but for now I will be happy if it will be able to read RSS feds and maybe in the future I will make something that will be able to post on blogger.com.
I understood that the plug in to post from Word is no longer supported with the new blogger so maybe if I will have time....