Monday, July 30, 2007

Amazon: Still won't ship to the Philippines

It's been over 6 months now since I last tried ordering books from Amazon.com, but I still can't. Damn, I thought they've fixed this or at least contracted a shipping company (Air 21 is preferred by most) to deliver their packages. I badly want my books. Besides, Powerbooks and National Bookstore - although sufficient for most (except National Bookstore) - lacks them books I want.

Blogged with Flock

Saturday, July 28, 2007

SMTP, NNTP, and SSH

I just noticed that I can't post to Gmane, Eclipse, and Trolltech. WTF!!!
I figured it must be because my outgoing server is Gmail, which uses a
non-standard port, 587, via TLS. Ok, I may be wrong on my this, but I got it
working after setting up my outgoing to SmartBro's smtp.smartbro.net

NNTP - Solved!

I setup LAMP previously and installed a few CMS (Drupal, Joomla, Mambo,
Wordpress, e107, Coppermine, PHPFusion, MediaWiki, Geeklog, GForge, and
Joomla RC1 - yes that's still considered few), LMS (Moodle and Claroline),
Knowledgebase Script (KBPublisher, APHPKB, and DanPHPSupport), CRM (SugarCRM,
Hipergate, VTiger, Compiere, and CentricCRM), and Groupware/ERP suites
(eGroupware, PHPGroupware, TinyERP, and OrangeHRM) for personal use and
learning. But I can't fully utilize its' capabilities since it won't allow me
to send emails via Postfix. Fixed it by reconfiguring postfix and set it up
to just relay emails to smtp.smartbro.net.

SMTP - Solved!

SSH, got it working. I can now connect, login, and do stuff from a remote (and
I mean remote) location using my laptop to my main computer at home. I
configured it weeks ago, but this is the only time I got to test it.

SSH - Solved!

Oh, and I'm coming back home in 2 days. woo hoo!

Thursday, July 26, 2007

Igobot

It's been a while since we've had a good (and fun) bot at #ubuntu-ph. Changes made at Spunge affected butiki, a bot by JM Ibanez based on Supybot, and thus rendered it, well, useless. I liked its Google search and RSS abilities the most, but it's been over 4(?) months since we last saw butiki.
Zakame inspired me to create a bot after he made Morphlogger from scratch using Perl. I wanted my bot to have the same functionalities as butiki so I downloaded Eggdrop and Supybot and tried to figure out how to make them work.
Well, Eggdrop proved difficult for me. I made sure that everything was configured but I just can't make it work. Needless to say, I gave up.
Then came Supybot, woo-hoo. The wizard was very friendly and the plugins abundant (that's when I figured out that butiki is a Supybot). It took me three retries (all three worked, just wanted to familiarize myself with the wizard and the three bots each with different plugins).

Igobot has all the plugins Supybot came with, the only plugin I can't configure is Google, which required a Web Services Certificate. Too bad they closed down WS Cert registration since they replaced it with Web APIS from Google Code.

Kankana-ey has every plugins except Google, Factoids, Games, and MoobotFactoids. Again, I'm not satisfied, that's why I created another.

Igorot-bot, my third creation, has the plugins I know I'll personally need. Admin, Channel, ChannelLogger, ChannelStats, Config, Dict, Factoids, Games, Herald, Internet, Karma, Math, Misc, Note, Owner, Praise, RSS, Seen, Todo, User, Utilities, and Web. It's lean and does it's job well.

After a few hours configuring and testing Igorot-bot on my locally-hosted Dancer IRC server, I decided - with a smile on my face - that , and hopefully, what #Ubuntu-PH needed. I ran it and tested it out. Nice!



After 2 hours, I started to have doubts as to whether Igorot-bot is a nice name for an IRC bot. I first changed it to Ibaloi, and then Kiangan, and finally chose Igobot... the first bot-name I came up with. It represents my heritage and my people's pride. It will suffice, at least for now. If not, I'll just add another plugin and optimize its code.

Another dilemma to tackle, I regularly boot from Xubuntu Gutsy to Kubuntu Feisty to Kubuntu Gutsy... I needed a server. My laptop, which I've been using as a basic web/file/smtp/pop3 server should fit my needs, _but_ it runs hot and I have to turn it off for 2 hours every day to cool it down. As for my P3 and P1 machines, they're too noisy and like to keep them in an 'off' state until I need them for testing. I should invest in a liquid-cooling solution or a bigger fan.

The only thing I can think of right now is a shell account from servers willing to host benign IRC bots. I'll be spending the next few hours looking for one.

And for you "#Ubuntu-PH-ers", here's a few commands you can use with igobot.

List Available Plugins: !list
List Plugin's Functionality: !list <plugin>

Registration: !register <name> <password>
Identify Yourself: /msg igobot identify <name> <password>
Channel Statistics: !channelstats
User Statistics: !stats <name>

Dictionary: !dict <word>

Learn Facts: !learn <key> as <value>
Fact: !<key>
Forget Fact: !forget <key>
What Is: !whatis <key>

Herald:
!herald add <nick> <message>
Remove Herald: !herald remove <nick>

Calculate: !calc <math expression>
Convert: !convert <number> <unit> to <another unit>
Set Unit: !unit <type>

Tell: !tell <nick> <message>
Send Note: !send <recipient> <message>
View Unread Notes: !note list
View Note: !note <note id>

Add Praise: !praise add <text>
Give Praise: !praise <praise id> <nick> for <reason>

Add RSS: !rss add <name of service> <feed url>
View Announcement: !rss announce
Announce Service to current channel: !rss announce <name of service>
Get RSS Feed: !rss rss <name of service or Feed URL> <number of feeds>
Remove RSS: !rss remove <name of service>

Seen: !seen <nick>

Add Todo: !todo add <text>
Add Todo with Priority: !todo add --priority=<number> <text>
Remove Todo: !todo remove <task id>
Set Todo Priority: !setpriority <task id> <number>
View Todo List: !todo
View Specific Task: !todo <task id>

Eightball Game: !eightball <question>
Coin Toss Game: !coin
Russian Roulette: !roulette
Dice Game: !dice <number of dice>d<number of sides per dice>
Monologue: !monologue

And of course, if you want details, you can visit Supybot's plugins documentation page.

Blogged with Flock

Saturday, July 14, 2007

Solution to my Spam - Gmane Newsgroups

Every single day I receive around 1,000 emails... nah, I'm not that popular. It's mostly emails from the mailing lists I signed up with. The bulk of my emails comes from the Linux Kernel Mailing List (around 45%), 10% from Ubuntu, 10% from KDE, 10% from Anjuta/Gambas/KDevelop/Qt/Mono lists, and 13% from the other lists (including some websites). So, I really only need around 2% of them..... those are the personal emails.

The other day, I think I found my answer.... Gmane. Gmane archives all posts and replies and makes it available via NNTP... newsgroups. And guess what, you can reply from there too. Heh, now this is the answer to my spam problem.

This is my dillema, I need all those posts, but I don't want them to be 'that' intrusive. Ok, I can always create another Gmail account and register it, this way I don't get 'spammed' at by the list. That's the problem, my knightlust account is my primary email address, and I want every single one of 'em on that account! Now I've been using Kontact/Kmail, even on my Xubuntu... and every single one of my emails are filtered. Filters would solve my problem right? Nope, 'coz I still have to download every single one of my emails. Gmane actually solved my problems. Gmane archives every single posts, which I can access via Thunderbird, which means I don't miss anything. And the way newsgroups work, I can (and I just did) set it up to only download Headers... conserving 60% of my bandwidth. So now, I only download a message or post only when I click on the post itself. No need to download 1000 emails.

I just disabled Global Email Delivery from Ubuntu, and KDE, Xfce, etc. etc. etc. would follow suit. Everything else but Vger 'coz I don't think it'll allow me to disable email delivery, and unless I find an answer to that, I guess I'll continue receiving LKML.

So now, everything's setup on my Thunderbird, I'l be using KNode soon once I figure out how to disable email delivery on Vger, and everything works just the way I want it to work. I almost forgot, I said that Gmane archives the list.... so that means I have access to all the posts as far back as 10 years ago.

Ahhh, the power of open source.

Blogged with Flock

Friday, July 06, 2007

The Daet Excursion

I went to Daet, Camarines Norte since I was invited, for the second time, to talk about Free/Open Source Software. This time, there are participants hailing as far as Sorsogon. Well, I'll blog about the seminar later, but for now, I would just like to share my Daet Excursion.

After a 6 hour trip from Baguio via Victory Liner, I arrived at Cubao. Thank goodness the Superlines Terminal is just a minute's walk from Victory. Ok, I arrived at 7PM and I have to wait for 2 hours before I could get an airconditioned bus going to Daet, Camarines Norte. The wait was fun, boring... but fun. I've been listening to FM and chanced upon this station (forgot what it is, but it's like 10-something and a half!). The idiotic remarks and the good tunes kept me sane... That was the longest 2 hours of my life. Oh yeah, I met a pretty girl too... smart and funny.. didn't get her name and number though. I didn't ask, heh, I'm not interested anyway, besides small talk to pass the time away.

This is the bus I took, Bus No. 347. I wonder if DC Comics is aware that a bus company is using their character's logo(?).

After 8 hours, I arrived at the Daet Terminal. Geez, too hot... way too hot, even at 5AM. Nothing to do (again) but wait for another 2 hours before I take a tricycle to Lourdes College.

By 7AM, I arrived at Our Lady of Lourdes College Foundation. I didn't have a chance to take a few pictures the first time I was there, good thing I have a camera phone this time.

The entrace to the foundation is still undergoing renovation, but this is just the entrance. Below is the main building.

And this is the road going to the Gymnasium, but before you arrive there, you'll pass by the Kindergarten classroom and the Cafeteria. Trust me, this is a very huge property.

This is the view from the 3rd Floor, an awesome view, a magnificent scene.

And I'm not really sure what this is, but I asked and was told that this is used by marine technogist, or those taking a marine course. It's very intriguing....

This is the 2nd Floor Balcony.

And a wide unused space to the right of the main building. I'm guessing they'll erect another building here once the students need it.

And this is the view from the back, in a few months time, we'll see a Computer Studies building here.

Oh, and let's not forget the High School Building.

This is the Computer Studies' Vision Mission Board. We'll fix that soon.

This is the day before the seminar. So in preparation for the D day, I removed Edubuntu (was installed a week previously by their technician) and installed Xubuntu.

This is Jhun, their technician... He was kind enough to help me install Xubuntu and we finished at around 9PM.

Satisfied, but not there yet. Good thing I brought an AptOnCD with MonoDevelop, Anjuta, Eclipse, Gambas, Inkscape, etc. etc. etc. By nightfall, we only completed half. Tired, but a very satisfying experience.

Ok, now I'm really tired. I badly need a bath 'coz I'm sweating like a pig... oink! oink! oink!

Ok, this is my hotel room. MegaStar Hotel, right beside Caltex.

And here's the view from my hotel's balcony.

So for the next two days, I've been talking, answering questions, and basically encouraging them to be part of the Ubuntu community. Also trained them on the use of OpenOffice.org, especially those little differences from MS Office.



And here's our group photo, unfortunately, not everyone decided to join us. For posterity's sake.... smile!


Blogged with Flock