Tuesday, February 27, 2007
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.
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
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.
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 )
Thursday, January 4, 2007
Spaming.
Seems that in the last time the internet is only about money and page rank. Nobody what's to put god content. Look at all the blogs that has only one post and full of advertising. If we continue like that the internet will become just advertising and no content. I really hate it, some time ago when I was searching for some interesting stuff, I would find it without evicting all kind of tricky popup and banners. Now the interesting stuff is in a tiny coroner of the page and the rest is filled with lots of *****.
I checked my email this morning. I had 237 email, just 3 email have been useful. 17 of them come from discussion list and 21 ware automatically generated rapports. So in the last 5 days I get 196 spam emails. I don't know from where they get my email, I didn't register to dubious site with it. The only place where is publish is on a PGP server, but how dumb a seamer can be, he didn't understand that someone that know what is a PGP key is , it is also able to make the difference between a spam email and a useful one.
I get a lot of Viagra advertising emails, but the funniest of all are the phishing email with the
"Your paypal account has been disabled ... please submit us your password" kind of stuff.
Is not really like that but is almost like that. The idea behind it is that they send a bunch of emails that try to fool the persons that something happened with their accounts and they have to log in to fix the problem. They always put a false to the login form but if you are look closer you will notice that it really redirect you tho a false site that just look like the original and prompt you for your user name and password. So take care. No serious site will send you that kind of emails. So if you don't really know what if that is a phishing emails instead of hurry up to give your password or bank account just think a bit. And if you still think that is the smallest chance to be true call the support or send them an email and ask them about it. Don't use the email address, phone or link from that email, look it up in the phone book on a older email that you see that is genuine. Usually all the sites that request you to sign up will send you a welcome message with all the details you need including the support email address, and sometimes the phone number, use teat one. In case this is not possible open a new browser windows manually and type the correct address and login from there.
Monday, December 25, 2006
Just brilliant.
I will marry the first girl that understand the following presentation:(very technical stuff only for geeks)
Long time ago when I owned a 286 computer I had a lot of study about computer architectures. When I have seen this video old memory's was binged back to life. Is just brilliant. I dreamed that some day my hours of study and my technical knowledge about computer architecture will become useful. I was so proud watching this video that I am one of the few people's that rely know what he is talking about. It knows how a PC boots up and about the memory warp around.
So I am serious about marrying the first girl that understand this presentation and has the same filings as me. I don't care how she looks, I don't care how old she is , I don't care anything except that she is able to understand this presentation.
Updated: Seems that nobody want to be my wife... probably this year I am not going to update anything because I will be in vacation. So take your time and watch the movie. If somebody has questions, feel free to ask me. I will explain everything you wish.
Wednesday, December 20, 2006
Standards
I been to a service and they told me that they can't order the v-belt I need because is to cheep.So i decided to change it myself in the parking lot.
I manage to convince my mother to go and buy a v-belt because when I will finish work all the stores will be closed.The spooky thing is that i find the belt in the part catalog and has the specification 9.5X643MM but the one from the reseller that has the same part number but a different size 9.5X650MM. How the hell the same part can has different specifications ? I was thinking that the part number is created specially to avoid this.
I will tell you tomorrow how was working.
Friday, December 15, 2006
Video cables for connecting my laptop to TV
The cables that I have are the following:
- SCART converter (my TV only a SCART connection , this is usually fund in Europe). This is plugging directly in to the SCART connector on the TV (Big bulky plug). The converter has a switch used to select if the signal is to be inputted or outputted form the TV. The input/output for audio is to RCA (to RCA connections one red and one white for left and right audio signals). The video input/output has two options. One is a RCA (a yellow RCA connection) . And a S-Video connection like the one described in the prevision post.
- RCA to audio Jack. This cable has to RCA connections (White and red) and on the other end a audio connector (identical with the one fund in headphone)
- S-Video to S-Video cable.
- S-Video to RCA cable.
I didn't try with a movie because I don't have any at this moment but probably on the smaller resolution (like the one used for movies is much better then on my small display).
Doe's anybody can tell me some good movie ?