old stuff from July 2008

100 days nicotine-free

Sunday, 27 July 2008 10:41 pm by noel
posted in cycling, mine | tags: , , ,

its been a hundred nicotine-free days. i still consider myself lucky because i did not have the physical, mental and emotional withdrawal symptoms associated with quitting smoking. at least not the major ones — intestinal disorders, headaches, mental confusion, irritability, axiety and depression. it has been said that the first two weeks of quitting is the most critical because the withdrawal symptoms peak during that span of time. my strokes might have helped in washing away the symptoms or at least made me numb to them. i am gaining a little weight though. this is considered normal especially now that food actually tastes better. cycling would help in that department once i get enough confidence to get on my bike again but that’s another story.

for now i celebrate my first 100 smoke-free days. i’m looking forward for more.

  • Share/Bookmark
-->

restoring a wordpress database

Saturday, 26 July 2008 11:39 pm by noel
posted in tech | tags: , , , ,

every wordpress blogger, me included, assumes that everything in his/her blog will go right or at least the blogger hopes and prays that things will go right. most times, it does. but occasionally, the sun burps a weird flare at the exact time a cosmic solar flare concentrator is pointed at your server and your wp_options table gets corrupt and marked “in use” so nothing else can touch it with the exception of dropping it. “dropping a table” in sql terms is equivalent to deleting a table of the database — a database is composed of at least one table.

anyway, one of the tables got blitzed — as my brother would call it — and it had to be replaced with a backup. unfortunately, the last backup was last july 16 — the table got blitzed somewhere around july 24.

one documentation i read was that i had to drop or delete all the wordpress tables in the database and then recreate and repopulate them using the backup. this made me a little queasy simply because i’m deleting the guts of a database and there’s no undo button to be seen within a 10 kilometer radius. so yes, that fact alone got my heart pumping a bit. but after the ‘x’ button was pushed there was this calmness that usually preceded a storm — i have to perform a restore. now.

the dang server does a 500 whenever i tried uploading the .sql backup. error 500 is a server error. uh oh. this is not good. uncompressed, the backup file is about 3.2 megabytes and that’s just text. my guess is that the server is timing out. the suggested solution was to copy-paste the .sql backup file in smaller parts — its just a text file so you can open it in a text editor — into the sql command window in phpmyadmin. its seriously tedious but it worked.

i eventually got the whole backup uploaded in about an hour. that was good.

what was bad was that a week’s worth of posts and comments were lost. some were recovered through google cache but there are still some that were missing. we do have the wp-db-backup plugin installed and enabled but unfortunately, scheduled e-mailing of the backup to a predefined e-mail address does not work. i’m not sure if the problem stems from my using a subdomain instead of a subdirectory for my blog. i don’t even get notices that there’s a comment awaiting moderation even though my wordpress is set to do so. i know its not the fault of the plugin because i have the same thing installed in another wordpress blog with the same host and it is installed in a subdirectory and not a subdomain and that setup works perfectly. so far its a toss up between wordpress being the culprit or my hosting provider — yahoo. i still have to do some more investigating.

in the meantime i can still use the plugin to perform backups for download to my computer. very manual and inelegant, i know, but at least that part works.

  • Share/Bookmark
-->

no comments

wordcamp pinas

Tuesday, 22 July 2008 8:47 pm by noel
posted in tech, wordpress | tags: ,

its bound to happen sometime. wordcamp philippines is going to be on the 6th of september 2008, college of st. benilde in taft. 9:00 am to 6:00pm of nothing but wordpress stuff. hmmm… i wonder if ma.tt will be there. i doubt it but it would be definitely cool if he arrives.

i’d likely be there just to associate real faces to the blogs and see what’s up with wordpress users locally.

the organizers wanted me to put links to complete the registration requirement sooo…

sponsors for the event: i.PH: the Domain for Individuals, Free Online Flash Games, Wazzup Manila Philippines, Real Estate CRM, Real Estate Website Designers, Orange County Real Estate, Auto Insurance Quotes, Lane Systems Inc., RedMedia, Orange County Business Lawyer, Cebu Pacific Air, Buddy Gancenia Reality TV, SmartBro Wireless Broadband, SPOT.ph, Make Money with Performancing Ads

other links: mindanao bloggers

  • Share/Bookmark
-->

1 comment

wp 2.6 upgrade weirdness

Wednesday, 16 July 2008 8:16 am by noel
posted in tech, wordpress | tags: ,

i have not encountered any major glitches in upgrading four blogs to wordpress 2.6 but there is this tiny thing that annoyed me a little. after upgrading wasn’t able to log in to the dashboard. it just keeps saying “please log in again.” even though i’ve tried logging in several times already.

the solution i found was that you have to log out of wordpress first. go to the home page and, if you still have your meta section in the sidebar, click on log out. and then log in again with your usual username/password combination.

i think this has something to do with wordpress 2.6 using three cookies instead of the usual one. doing the steps above sort of cleared the previous version’s cookie replacing it with a newer version. i think. ;-)

  • Share/Bookmark
-->

4 comments

wordpress upgrade time. again.

Tuesday, 15 July 2008 8:34 pm by noel
posted in tech, wordpress | tags: ,

wordpress 2.6 has been released and its upgrade time again. this gets to be tedious if you have more two wordpress blogs to upgrade like me. still, judging from the list of improvements its a version i’ll eventually move to. i like the full support of ssl in the core and the ability to turn off xml-rpc without hacking into the code and affecting pingbacks. making tinymce faster is nice too. the paranoid in me just wants to wait and monitor the wordpress forums first and see what problems pop up and what the solutions are.

links:
wordpress extended upgrade instructions
secret key for wp-config
ssl and cookies in wordpress 2.6

  • Share/Bookmark
-->

no comments

mt pro opening

Tuesday, 15 July 2008 6:00 pm by noel
posted in cycling, people | tags: , , , ,

okay. i got a little lazy. bite me. ;-)

last 5th of july i got to attend the opening of mt pro bikes — a bikeshop located in pasong tamo, makati with lito benitez (rudy project) and vic espiritu (philippine cycling team). the place is a warehouse converted into an bike shop and its huge! i think it has more than 500 sqm. of floor space. they even have a half pipe in there.

there were mostly mountain bikes on display. there was a handful for downhillers and a couple of racers. there’s even one or two bikes using an axle for a drivetrain instead of chains.

i wasn’t familiar with the brand of bikes that they sell but most look really cool — commencal, cube and iron horse (thanks to lito for remembering).

btw, some of the pictures came out “blued” because of the lighting they used to display some of the bikes. the display were impressive though.

kwento. there were a lot of pretty promotional ladies around that night who essentially was there to usher in guests and just generally look, umm, pretty. one would expect that the ladies would compete with the bikes for the attention of the curious. that was not the case. most of the people were actually more interested with the bikes 8-O believe it or not. take, for example, the people i was with: lito and vic preferred to take pictures of the chainless bike than pay attention to the lady beside them. talk about obssessed with bikes. ;-)

this was the firs time i’ve been out socially since my stroke and it was… refreshing.

  • Share/Bookmark
-->

no comments

not on a sunday

Monday, 7 July 2008 6:06 am by noel
posted in mine | tags: ,

i don’t work on sundays.

well, i used to when i was sane and single. but these days, i have a 10-year old boy and a gurlfriend and sundays and holidays is set aside for them, mostly.

it is pretty rare that you’d find me working on a sunday unless one of the servers or websites i take care of gets compromised (hasn’t happened so far) or you pay me substantial amount of money. 8-)

so, i don’t work on sundays.

  • Share/Bookmark
-->

no comments

diablo 2 on linux

Tuesday, 1 July 2008 7:30 pm by noel
posted in mine, tech | tags: , , , ,

i thought the installation disks of diablo ii were in san pablo but i found them here (so sorry bro, my bad) and since wine 1.1.0 has just been released (27 june 2008), i thought i’d give it a spin and install a windows game on linux. the latest available version of wine in the ubuntu repositories is version 0.9.59 (as of 01 july 08) — a little disappointing considering that 1.1.0 has just came out. a quick lookup in the application database at wine hq and i was able to confirm that d2 will run on this version of wine so i installed it anyway.

the installation process was surprisingly easy! i was also able to install the expansion pack and patches. the latest patch (112a) will not require you to have the diablo 2 cd on the drive while you play which is really nice since my station is a laptop and winding up the cd every once in a while to check if the d2 cd is there takes a little bit of power.

and does it run? you bet cha! there are some very minor quirks but i didn’t encounter any show stoppers. the next test is if i can run it on a network.

so what’s the big deal? think of an internet/gaming cafe that doesn’t need windows to run. how much will you save?

  • Share/Bookmark
-->

2 comments