Like this post? Please help me pay for my Internet access.
Links to this post
Labels: cURL, fsockopen, magpie rss troubleshooting
No comment - Post a comment (nofollow disabled)
This PC QuickBuys store advertises itself to be “The Computer Enthusiasts Resource Center”. Now, don’t you believe that. Aside from an unhelpful staff, it seems that they do not know stuff. ‘Nuff of being a “resource center” for computer enthusiasts. Maybe for stupid computer enthusiasts, but then again, there are no stupid computer enthusiasts, so that store might as well close, if they can’t change the way they deal with customers.
I was wondering how to make my principal’s internet connection cable longer so that I can connect my own PC when he (our principal) goes home. I’m just plain tired of being a “Guest” on someone else’s computer (aside, of course, from the many benefits of being an administrator on my own PC: ability to install files, hide files, etc. :-)). So I went to PC Express, my favorite tech store, and inquired how to accomplish my goal. The good thing about these PC Express guys is that they are willing to help you. So somebody (sorry, I forgot to ask his name, but I do remember the lady secretary’s name!) told me how to do it. The better thing about these PC Express guys is that they are willing to help you, even if they can’t earn a cent from you at that moment, because they have ran out of stock of the particular product. And the best thing is that they are willing to tell you where you can possibly buy the same product.
If you really think about it, the last one distinguishes the lousy business establishments from the better ones. What I want to say is, a business establishment which is not confident and secure of its place in the market would not be willing to give you a pointer to its competitors. After all, you could potentially spend your money with that competitor, and a cent you give to the competitor is a cent lost from the establishment. But a business establishment which puts the customer’s needs first before its own needs would tell you where you can find a product (or service) it doesn’t have at the moment. Even if you could potentially spend your money elsewhere, it knows that you will only use the competitor’s services at that moment because it (the better establishment) knows that its services can never be equalled by any wannabe.
I don’t know if PC Express owners believe in this business idea, or even if it was not just that employee’s individual initiative to point me out somewhere else. But this morning my interactions at PC Express and later PC DontBuy (I mean QuickBuys), have validated that idea.
As I’ve written above, I went to PC Express and inquired. One of the attendants told me that I might be able to buy what I need, an RJ45 coupler, from PC QuickBuys. They don’t have it at the moment. I went to the second store and waited for about 15 minutes before being entertained. And then I have to wait for another 20 minutes before they gave me what I wanted. Well, what they thought I wanted. They provided me with an RJ45 connector. When I tried to point out that what I wanted is an RJ45 coupler and not an RJ45 connector, the attendant told me to get lost and go to Ace Hardware. (Ace Hardware is a general hardware store: I hope you get the insult.) Of course, it is true that I just learned the difference between an RJ45 coupler and an RJ45 connector minutes before I came inside that cramped store, but then again, I do know the difference. What I most hate in this world are people who act as if they knew, and then are angry when it is pointed out to them that what they gave you (based on their understanding) is not the one that you want.
Moral of the story? PC Express is still the best computer store in Cebu, and PC QuickBuy should change its name to PC DontBuy.
P.S. To PC QuickBuy staff, look at the difference between RJ45 connectors and couplers.
I was sent by the school today to NgKhai’s “education summit” where they invite representatives from different schools to listed to advertisements, I mean, well, I have nothing else to call them - advertisements from their different product lines.
I received a nice t-shirt from sendQuick, perhaps for a difficult question I asked their presentor (”What is the maximum throughput of your product?” :-))
I don’t know why I was the one who was sent (along with Mr. Cuandot, a good friend, who won a 512-mb USB drive from Imation!); I have no power whatsoever in the purchase decisions of the school as to its technological needs. (In fact I can’t even set a schedule for my students to use the computer lab!)
Maybe this is one thing Ng Khai should make sure next time: only those who are potentially “in the know”, that is, the people who can potentially influence the buying decision of the school/institutions they target should be invited. Unfortunately many of those who were there this morning were just freebie seekers: they were there first of all because they were sent by the school; second, because of the food; and third, because of the free cd’s and other stuff from the different presentors. Well, I hope they did the second and the third just to enjoy their stay their, but nevertheless many of them exhibited such concern for gastronomical and material rewards.
You might find a site so informative that you would want a complete copy of it on your hard disk. Copyright considerations aside, there are good reasons to use an automated downloader to get files from a certain site.
The one I’ve been using for years is BackStreet Browser. To download a site, say example.com, you just need to enter in BS’ address bar the URL.
But using the top-level of the address is too much for most sites. You might find it easier to divide a site into its component folders, say example.com/folder1. BS downloads only those files under folder1 and under subfolders under folder1 (if you choose that option).
The links to pages within the site are relinked so that when you click on a link to a page (assuming that the page was also on the site) will bring you to that page. Links to pages outside the site are not changed however, so if you are not connected to the Internet, you will receive a no-page-to-view message.
A good way to have an estimate of how many pages are in the folder is to use Google’s advanced search. Leave the search line blank, and use the URL for the domain. If the number of files returned are below 100, most probably you will be able to download the site. OTH, if it’s more than that, consider going for subfolders.
BTW, there are sites which will block you when they notice that your bandwidth usage is much more than a normal person could have. For example Yahoo would give you a 999 error. Most other sites don’t have this feature or has a higher bandwidth tolerance.
Finally, don’t try to do this for Wikipedia. Aside from the fact that you have >2 million articles to download (not to mention the talk pages and project pages), they offer a download of their database, a process which is faster and more comprehensive (aside from being Wikipedia-server friendly).
I was infected with this “Dido addiction” when I saw her as Stan’s wife in Eminem’s video of the song.
I think I have downloaded all of her pictures online, except those found at ViewImages.com
I tried to do that last Sunday using my Windows XP PC but I couldn’t.
Then I tried today using my Ubuntu workstation with Firefox 1.5, and I could save a picture by right-clicking on it, clicking on the OK button of the message box which appears, and choosing “Save images as…”
I’ve spent 2 nights and countless hours trying to check why WikiFilter won’t continue indexing the latest XML data dump for the English Wikipedia.
I have used WikiFilter for the last two years for browsing Wikipedia offline or locally, since I don’t have an Internet connection at home, and getting one is way out of my budget. When I had to sacrifice my 40G hard disk for a good cause
I decided to part with my XML file from 2005 with its index. I rationalized that I will just download the latest dump.
I was able to download the dump after two working days (I had to limit the bandwidth use, and I had to use a Windows computer because axel in my Ubuntu station won’t work, and of course, I had to shut down the PC at 5pm).
Then the first problem I’ve met was the sheer size of the extracted dump. My biggest hard disk at that time was a 15G, and I used 3G of it to store the bzipped file. But when I extract the file, I ran out of disk space. So I had to buy a hard disk (80G).
Last night I was trying to index my latest XML dump but WikiFilter won’t work. I thought it has something to do with the legacy system I used at home (P3, 128MB), but now (I am in my brother-in-law’s Internet cafe) I realized that the problem is with WikiFilter itself.
I think I will need to go back to programming and learn how WikiFilter actually work so that I can modify it to be able to read the latest Wikipedia dump. But for now, it’s bye-bye local Wikipedia.
I’ve upgraded my Ubuntu 6.06 system to the latest version, it required me to reboot the system, and then the system hung at “Waiting for root file system”.
I think this has something to do with the way my system thought the hardware was configured. The system is actually double-booted to Ubuntu and XP (although I can’t remember a single instance I used XP in the last two weeks :-)). Because of the need for more space for my Ubuntu drive, I’ve deleted one Windows partition and now the numbers for the partitions that Ubuntu knows is off by one.
Relevant info from my /boot/grub/menu.lst:
title Ubuntu, kernel 2.6.15-29-386
root (hd0,5)
kernel /boot/vmlinuz-2.6.15-29-386 root=/dev/hda6 ro quiet splash
initrd /boot/initrd.img-2.6.15-29-386
savedefault
boot
And my /etc/fstab:
proc /proc proc defaults 0 0
/dev/hda5 / ext2 defaults,errors=remount-ro 0 1
/dev/hda1 /media/hda1 ntfs-3g defaults,locale=en_PH.UTF-8 0 1
#/dev/hda4 /media/hda5 ntfs-3g defaults,locale=en_PH.UTF-8 0 1
/dev/hda3 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/proc/bus/usb/ /proc/bus/usb/ usbfs none 0 0
(The commented /dev/hda4 was the deleted partition.)
So what I did was to open up the GRUB menu editor and edit the line
root (hd0,5)
so that it would read
root (hd0,4)
The line
kernel /boot/vmlinuz-2.6.15-29-386 root=/dev/hda6 ro quiet splash
was also edited to
kernel /boot/vmlinuz-2.6.15-29-386 root=/dev/hda5 ro quiet splash
After I’ve booted up I made the changes permanent by changing the same in my menu.lst file, rebooted, and everything was fine.
Situation: Another teacher on the same local network is using KTorrent to download stuff, and the network as a whole slows down. You know the computer’s IP address and root password, and there’s an SSH server at the target computer.
How-to:
$ ssh -l root 192.168.0.xxx
# kill $(pgrep ktorrent)
# killall -v ktorrent
NOTE: Practiced on Ubuntu Dapper (6.06).
Chikka.com allows one to send an SMS message to a mobile phone (cell phone) user from the Internet. The downloadable program for communicating with Chikka servers is designed for the Windows operating system, although a Java-based application is available.
For non-Windows users, the Java-based application is the only choice.
The bulk of this HOWTO is installing a Java Runtime Environment for Mozilla Firefox.
1. Start GAIM.
2. Click on Accounts.
3. Click on Add.
4. Choose Jabber for Protocol.
5. Type your Google user name without the @gmail.com part as Screen Name. Ex. bentong.isles@gmail.com would be "bentong.isles" (without the quotes).
6. Type "gmail.com" on the Server field.
7. Leave the Resource field as is ("Gaim").
8. Type your password on the Password field.
9. Click on "Show more options".
10. Leave "Use TLS if available" checked.
11. Leave "Force old SSL" and "Allow plaintext auth over unencrypted streams" unchecked.
12. Leave Port as 5222.
13. For the Connect server field, type "talk.google.com"
14. Click on Register.
15. Dialog box "Signon opens". Wait for initialization to be done.
16. Expect an error: you will be disconnected (we think this is a bug with Google Talk).
17. Click on Reconnect.
18. Enter your password on the password field and press Enter.
No comment - Post a comment (nofollow disabled)
Prerequisites
root. You must have the password to the user you are using.ssh server is installed in the destination machine. From the terminal, sudo apt-get install openssh-serverssh client is installed in the source machine. From the terminal, sudo apt-get install openssh-clientifconfig, and read the IP address.Steps
ping ip.address (replace ip.address).scp /path/to/backup/folder/* ip.address:/path/to/backup/folder (make sure that the backup folder exists).Task: Move MediaWiki setting and data files from one computer to another.
mysqldump -P 3333 --user=root --password=password --opt database_name > backup.sqlapt-get install mediawiki.http://localhost/wiki/config/index.php) and use the same values for the old set up mysql database_name <>php update.phpscp -r /var/www/wiki/images/* 192.168.0.xxx:/var/www/wiki/imagesI tested four free and open-source library cataloging software: Evergreen, OpenBiblio, Emilda, and PhpMyLibrary. I was not able to run properly in my school’s intranet MediaWiki server (a mere Pentium 4, 512 MB PC running Ubuntu 6.06) the first three. Evergreen is not known to work in Ubuntu Dapper. OpenBiblio kept on looking for some files which I could not figure out myself too. Emilda kept on looking for “Yaz” and unfortunately I am too lazy to search what that is for.
I also tried PhpMyLibrary, which I realized was made by a someone from Metro Manila. The installation was seamless, although it took me some time to figure out where configuration.php is supposed to be located. (What was confusing was that the web-based installer of the program referred to it as configuration.php, while its index.php was actually looking for a conf.php
It did not help that I did not know where the file is supposed to be located, although that was actually given in the comparison notes that I’ve came across.) However, it did not work; I could not create records.
This is how I installed PhpMyLibrary for our school.
Note: The computer I wanted to run PML on was already running MediaWiki and was up to date with the latest Ubuntu patches (it is running Dapper), so I assumed that MySQL, PHP, and Apache2 are working properly.
I was tired of trying to find certain files in my collection of installers which is distributed over dozens of CDs when I realized that I actually use a very small subset of all those files for a considerable amount of time.
So I made up a list of all those files which I think are often used, and collected them into one CD. The programs are listed below.
All of these programs are free for personal use.
If the computer has an Internet connection, the following programs are also good to install:
I also include the Python installer because I have some Python scripts to download files from sites which cannot be directly downloaded by BackStreet Browser.
Other files which I include in my tools collection are the following:
If you are into PC and network troubleshooting, you might also consider the following programs:
If you have licenses to these programs, you might also include them:
Alternatively, all of these three programs have trial versions, but remember that beyond the trial period or functionality it is illegal to use the software.
In another post I detailed how to install PhpMyLibrary. Unfortunately, I realized only the morning after that that I could not create new records in PhpMyLibrary. And I’ve demonstrated the thing to our librarian!
So I searched for another software solution. I’ve already came across PMB, but I could not understand the French that was presented to me. Fortunately after a little googling I discovered an explanation in English on downloading and installing PMB. Although the information is somewhat dated, it can still be adapted. I learnt a little French along the way: Telecharger means download. So that explains all those pages where I am supposed to download something and all that I could see was “Telecharger”
I will not repeat the instructions here in downloading and installing PMB. Just read the reference above. There are only two things which are not the same in the latest version:
Other notes:
My first brush with the Internet was in 1998, when I was a second year student in high school and a friend of mine introduced me to Yahoo Mail. That was the time when I created my earliest email account at Yahoo. At that time I never thought that the Internet will become an integral part of my life in the future.
Fast forward to 2001. I was a freshman student at the University of San Carlos. I was taking up an English 1N class, where we had to read a lot of classics, but what I could not forget with that class was the requirement to send an email to our instructress. I can even remember that we were divided into two groups according to the alphabetical arrangement of our surnames, and I was assigned to send my mail to anerow@something.com. That email was the first of the thousands (and still counting) I now send out to my friends, relatives, acquiantances, professional colleague, co-activists, etc. (Believe me, I do send out emails more substantive than spam :))
In a way, that single email opened up a whole new world for me to explore. In 2002 came Friendster, in 2003 I discovered Yahoo Groups, and in 2004, Wikipedia. By 2005 I was made “bureaucrat” (project manager, for those who do not know the wikispeak) of the Cebuano Wikipedia. In 2006, I discovered blogging, and now (2008), I have decided to buy my own domain name (islesv.net -- although it is still being propagated).Say you have a file which contains some text like this:
I have now been in this country for over six
years, and consider myself in
most respects well-assimilated. However, there is
one key step on the road
to full assimilation which I have yet to take, and
that’s to eat BALUT. The
And what you would like it to appear is this:
I have now been in this country for over six years, and consider myself in most respects well-assimilated. However, there is one key step on the road to full assimilation which I have yet to take, and that’s to eat BALUT. The
That is, with those hard line breaks removed. This is how to do it in MS Word:
Issue: Some web sites require that your Firefox version is at least 2.0. Also, some (most?) of the Firefox add-ons assume that you have the latest version. Unfortunately, Ubuntu Dapper comes with 1.5 by default.
I use Ubuntuzilla to do the update automatically. You can read the instructions at their web site on how to install the latest Firefox version.
Situation: The school’s OPAC computer must lock to the web address http://192.168.0.xxx/opac/ so that students will not use it to visit other web sites.
Note: Please take note of the address of this page since you may have to restart Firefox.
1. Make sure that you have the latest Firefox version.
2. Get ProCon Latte. You will be prompted to restart Firefox at the end of the installation.
3. Once Firefox has restarted, go to Tools > ProCon.
4. In the General tab, check “Hide from Tools menu”, uncheck “Show in status bar”, check “Lock the add-ons list”, and check the “Lock about:config”. Change the shortcut for showing ProCon (default is Ctrl + Alt + P; change this to something else so that would be another level of security against intruders).
5. Set a password. (Click on Set Password… in the General tab.)
6. On the main filter, check “Block all traffic”. Optionally, check “Add reason of blockage to warning”, using “Custom warning message” as message. You can also type the OPAC address in the “Redirect blocked page” address.
7. Click on the Whitelist tab, check “Enable whitelist” and delete all entries except the target URL (in our case, http://192.168.0.xxx/opac/). (The whitelist list can be edited just like in a text editor.)
8. You may need to restart Firefox for changes to take effect.
One of my other activities is that of language advocacy. I’ve been planning to translate some of the interface of the Ubuntu system to Cebuano for some time but I never moved my lazy butt to do that. Well, at least now, the school year is almost over, I could spend some time to at least start in that direction. (I really don’t know what is better: to start a project and leave it unfinished, or not to start at all.) Anyway, Lakein said that for complex and/or unpleasant tasks, it’s better to start them and just work on one bit at a time than not start at all, so I just took the plunge and dived in.
First of all, go to Launchpad Translations and create an account. Then you can select on the Ubuntu version you want to work on. (I choose Dapper 6.06) You next choose the language you want to work on (say Cebuano), and finally the program.
Hinay-hinay lang, my grandfather would have remarked.
WINE is a Windows emulator for Ubuntu. There are instructions on how to install it in Dapper 6.06, but I get the message “gpg: no valid OpenPGP data found.” To work around this, open your web browser and go to http://wine.budgetdedicated.com/apt/387EE263.gpg (you can right-click this link) and save the file as wine.gpg. Then open a terminal window, and type “sudo apt-key add wine.gpg”. The system should respond with “OK”. After this, you can just follow the instructions in the link given above.
Some other notes:
Since Yahoo Mail disabled its POP3 access to free accounts, you can’t do a mass download of the messages from Yahoo. YPOPs fixes this by acting like a Yahoo server, and getting the messages from Yahoo.
There is a supposed-to-be YPOP version for Linux, but I found out that you can just install the Windows version using WINE, and it runs fine.
Some blogger would just lift something from another website, put it as a post in their blog, and that’s it. They don’t even bother to cite the source. Okay, sometimes the original author of the article or page is given credit, but you would think that the piece was first published in the blog where you’re reading it.
A related sin is that of copying copious amount of text from a web site, so much text that the reader of the blog would not need to go to the original source. Some bloggers just don’t understand that the web site from where they got the article are most often supported by advertising, which is based on how many visitors have gone to the web site. Now, it just so happens that blogs (esp. those found here at blogspot.com) seem to have better integration with Google.com and other search engines, and the blog entry is almost always above that of the static web site when you look at the search results.
I resolve never to do these things in the blogs that I write.
I have a lot of blogs here at Wordpress.com that my drop-down menu for my blogs fill up the screen of my little monitor.
I decided to reduce my blogs to those which I really need. But since Wordpress.com doesn’t allow reuse of domain names, I thought that it is not a good idea for me to delete the blog names which I am not going to use at the moment but which I might reuse in the future.
My solution was to register another user. Whether that is okay or not with Wordpress.com I do not know; I don’t see it listed as “evil” in their Terms of Service.
Then from my old account I invited my new account to the blogs I want to rest for the moment. I made the new account an administrator. I then logged in using my new account and deleted my old account as a user in the blogs I want to disappear from the dashboard of my main account.
Situation: You have an old account at furl.net which you want to delete, but you want the bookmarks at that account transferred to a new account which you will keep.
TinyURL is a service which will let you enter very long URLs and convert it into short ones. I’ve heard of the service long time ago, but I just became curious about it yesterday, when I had to report to someone some weird online activity through email and I wanted to keep the URLs intact.
I wondered where tinyurl.com/x where x is the numbers 0 to 9 will lead to. Here are my findings:
Conclusion: There is something wrong with my title. It’s not so fun after all.
Author's Note: This was originally posted on Nov. 6, 2007, in my now-defunct Wordpress.com blog.
---
In another post I wrote about installing PMB, a free library cataloging software (available from sigb.net).
The problem with PMB is that it does not have a module to show the availability of room locations. In our school, we have 3 libraries, 1 AVR and 2 science laboratories under the Learning and Resource Center. In the past we used a local MediaWiki installation to show to the teachers the schedules of reservations for the different venues. However, it was a hassle since our Library Assistant had to create a snapshot of the schedule and upload it to the wiki.
I just discovered Google Calendar the other night, and I am discovering some things on sharing a given calendar. The Library Assistant will just be in charge of managing the schedule, and everyone will just be invited to view the calendar. To do this, he has to click on the little button beside the calendar and select “Share this calendar”. In the new screen which will show up, the GMail addresses of the teachers will be input under the “Add new person” field. The invited teacher will receive a note from Google that there is an invitation for him to use Google Calendar. Then if he has already activated his Google Calendar account, he can access the calendar but not edit it.
No comment - Post a comment (nofollow disabled)
Author's Note: This was originally published in my short-lived blog, Looking Outward, Moving Forward, which I've decided to scrap since I don't have much time to update it anyway. The blog used to live at http://islesv.110mb.com/blog/, but is now defunct. The entry below was originally published on Jan. 26, 2007. Since then I've met with some of my closer friends back in high school. I'm putting this entry here since I got to met Aivee (again) through Friendster. ;-)
-----
How would you compress seven years of life stories in two hours?
The last time I saw Aivee was seven years ago, during our graduation day from high school. Since then, I followed a path I had chosen for myself: radical activism in college, career competitiveness after college. Seldom does my path cross with others from my high school life. Not that I never had the intention to, but the will never came, and I accepted chance encounters as nothing more than coincidences.
Then she saw my Friendster profile. We got in contact with each other and exchange messages over the network. She finally got hold of my mobile number and sent me an SMS to confirm that she got it right.
Because I had an hour to spare yesterday afternoon, I thought it would be a good idea for us to meet and finally catch up on each other’s life–there is really a difference between a face-to-face talk and a series of online messages. But she had to work until 7PM, and she was going home to the province after that.
Since I was also going home to the province (although not to Daanbantayan–where Aivee and I grew up–but to Sogod, where I was born), we hit on the idea of riding the same bus.
We spent my two-hour trip to Sogod discussing things like good old friends. The two hours on the road which I usually spend sleeping just to relieve myself of the boredom of looking at moving trees and house roofs and at sleeping fellow passengers was gone before I knew it.
I was tempted to continue the trip to Daanbantayan, but I knew that there was nobody at our home there–my mother and my younger sister were both in Sogod. So I had no choice but to get off from the bus when we passed through my original hometown.
How I wish I had more time to talk with an old friend, but I am in this rat race.
$wgWhitelistRead = array( "Main Page", "Special:Userlogin", "-", "MediaWiki:Monobook.css" );
$wgGroupPermissions['*']['read'] = false;
|
||||
|
||||
![]() Education in the Philippines Forum |
||||
|
Pls. leave a message:
|
||||