Microsoft Windows Vienna - Old Database phpformgen problem with PHP5 - Old Database CNAME settings for Google Apps Problem - Old Database Death Note on GMA Network Soon! - Old Database Experiences with FireFox Bugs in CSS - Old Database iSEO on Google not well done - Old Database Jehzlau's Resize Index Javascipt - Old Database Free Broadband Internet By Google! - Old Database

Saturday, April 28, 2007

Microsoft Windows Vienna

Huh? Ano yan bagong OS nanaman? (Yan ang sasabihin ng mga wala pang alam tungkol sa Vienna). Hayyy, ano ba tong post na to, luma na, ngayon mo lang ba nalaman na may Windows Vienna na e rerelease sa 2009? Hayyy huli sa balita! Kawawang bata... (Eto naman ang sasabihin ng mga taong matataas ang pride at alam na nila ang tungkol sa Windows Vienna). Hmmm? Ano yan joke? Windows na Vienna? Vienna Sausage ba yan? (Eto naman ang sasabihin ng mga taong walang paki at walang alam tungkol sa mga Operating Systems na bago ngayon, at wala talagang alam kung anong ibig sabihin o ano ang isang OS).


Those are the 3 types of people in the world wide web base on my opinion. Wahehe... Okey, let's go back to the main topic, what is Windows Vienna? Sa mga di pa nakaka alam. Nabasa ko lang po to sa pag sesearch ko tungkol sa mga OS, at eto po ay nakuha ko sa Wikipedia. Thank you so much for that free Encyclopedia, dati gagasto ka pa ng 20k-30k maka bili lang ng Encyclopedia, ngayon libre nalang, grabe talaga ang freebies sa Malawak na Mundong Sapot, or World Wide Web. wahehehe... Eto na ang Windows Vienna (copy pasted from wikipedia):

Windows "Vienna" (formerly known as Blackcomb) is a
codename for a future version of Microsoft Windows, originally announced in February 2000, that has been subject to major delays and rescheduling. Microsoft has announced it will be released in 2009, and according to "Smart Computing In Plain English", a technology magazine, work on it began right after Windows Vista was released. As of February 2007, the name of the operating system used internally is undisclosed and is not used publicly by Microsoft, though "Windows 7" has been noted in job postings as a working name for the project.
Microsoft has refrained from discussing the details about "Vienna" publicly as they focus on the release and marketing of
Windows Vista, though some early details of various core operating system features have emerged at developer conferences such as Windows Hardware Engineering Conference in 2006.

That's all for now, for the sake sa mga wala pang ka muwang muwang tungkol sa Windows Vienna, atleast pag naligaw kayo sa blog na to may matutu tunan nanaman kayo na bago tungkol sa mga OS, astig diba??? :)

Wednesday, April 25, 2007

phpformgen problem with PHP5

Okey, Please don't ask why I am blogging about this. If you want to ask why, it is because I want to! Hehe. Maybe there's another reason why? This one is a pretty old problem that I've encountered using PHP5, after migrating from PHP4. I just wanna right this stuff because somebody encountered the same problem as I did. So that I can help if someone who's newbie in creating PHP form processors uses phpformgen from SourceForge.

Just lately, somebody PMd me at chatango, (that small live chat box at the sidebar of my blog). He asked about phpformgen problems in PHP5. Then I answered it, because "alam ko eh, hehe". My answer was easy, just remove that global.inc.php includes thing in your process.php that was generated by the phpformgen. Then, delete the pt_registers and edit the posting functions from 'POST' to $_POST, that's how easy it is. You can make your own form processor by just applying that simple function, you can send email information from form starting from a scratch. You can view my very very simple PHP form processor here, just one data to be sent to a form recipient, so that you'll have a basic idea. (for those newbie who really doesn't have the basic concept, but for pro-programmers, I'm sure you will laugh at this post, hehe).

I have a screenshot of my basic form processor with one data sent to the recipeint's email below, if you have some problems regarding that processor, you can contact me by any means, hehehe, here's the screeny:



















Source of the super duper newbie basic form processor here:
http://dostscholars.com/boards/viewtopic.php?t=533

Sunday, April 22, 2007

CNAME settings for Google Apps Problem

If you are encountering the same problem as I do, then I can't help you, because I've never ever resolved this problem. If you set your CNAME alias and point it to ghs.google.com, even if you'll wait for one week for the domain to propagate, it won't work! Wah! You'll just waste time of waiting it to be live over the world wide web, it really don't work! Same with my blogger account, you have an option to publish your posts in your custom domain, but it doesn't really work at all. Or maybe, my settings are wrong, but I have verified it to GoDaddy that my Total DNS Control settings are right, maybe the problem is with Google's side.

I have submitted a support request to Google but they don't bother to reply at all. I think their very busy developing their new apps, and won't waste time to entertain this newbie problem. I hope somebody made it work, and comment to this post, because I can't, I really really can't make it work.

It's been a week of waiting for my CNAME alias to propagate, maybe a redirection or SSH settings would be better. What's the catch? if I'll use CNAME to provide custom URL, it will still redirect to mail.google.com, so why don't use redirection with mask instead, diba?

Thursday, April 19, 2007

Death Note on GMA Network Soon!

To all Death Note fans! (sa mga di pa nakaka alam, pero sa mga nakaka alam na, huwag niyo nalang to basahin, hehe) Death Note will be on GMA 7 this 2007! 4th quarter of 2007 ipapa labas na ang death note! so mga October 2007 right? So abangan nalang natin! As of now, hinihintay ko pa lumabas ang Episode 27, exciting nga eh, bumalik na ang memory ni Light at tinuloy ang kanyang mga plano, to be the god of the New World! Weee!! exciting ang bawat episode, kaya kung gusto niyo manood in advance bago pa eto ipa labas sa Pilipinas, hanapin niyo na sa YouTube, or sa Torrents site, or sa Veoh. Basta marami yan. Yun lang po :) Abangan nalang natin ang tagalog version ng Death Note! Siguradong napaka saya neto! Weeee! Hay gusto ko na talaga manood ng death note na sunod sunod, bitin talaga pag once a week lang, tapos mag hintay ka ulit ng isang week para mapanood ang next episode! GrrrRR! kainis talaga pag ganun palagi! Hehehe! For more information about Death Note, punta kayo sa Wikipedia, or dito. Hehe. Yan lang po. Matutulog na si Jehzeel! Nytnyt and sweet dreams! :)

Saturday, April 14, 2007

Experiences with FireFox Bugs in CSS

Or is it IE's? Others said it is IE's bug. But I think it is Mozilla's? Pero IE cguro talaga. Kasi ganito, FireFox ignores the image height and width as spacer. Pero sa IE, yung exceeding space ng background image mo, ay ginagawa nyang spacer. San nga ba ang tama dito? In making paragraph division tags din, sa FireFox ang float right ay hindi na na a-align sa background. But, in IE, it works fine. Na resolve ko to for both IE and FireFox, how? I didn't use P DIV IDs for floating images to right, with image background. Ma e encounter mo lang to, pag yung div tag mo is within another div tag. Like placing a log with a gradient background that repeats horizontally. Para makagawa ka ng header in CSS Liquid Layouting Technique, also known as, resolution dependent layout.

Back to the first bug. Sa palagay ko sa IE to. IE should ignore exceeding image height as spacer, like FireFox does. Text spacing should use padding, tama ba CSS gurus? Kasi pag yung exceeding width ay height + padding ang base natin ng spacing ay magulo. Kaya, etong post ko ay mali ang title, dapat cguro IE bugs, nating FF. Hehehe.. Pero marami paring bugs na nakalimutan ko. Kaya napaka importante na alam natin ang cross-browser issues at W3C web standards para maiwasan ang mga CSS floating, spacing, padding, at iba pang bugs na makikita mo pag nag hahard code ka ng CSS. Hayyy.. kasakit talaga to ng ulo, CSS pa nga to. lalo na pag PHP part na yung gagawin ko. waaaaaaaaaa!!! Pero infairness, enjoy din mag code. Kasi masaya, kaya enjoy, at masaya, kasi enjoy. Toink? Gulo no? Ganito talaga ako mag post. pasensya na po :)

Image courtesy by: www.readwriteweb.com
Article by: sino pa nga ba? ehdi si Jehzeel Laurente, hehehe..

Tuesday, April 10, 2007

iSEO on Google not well done

iSEO, Image Search Engine Optimization, ako lang may gawa nyan.. la kasi me maisip.. pangit din kasi SEiO, ehdi iSEO nalang. Sobrang galing mag optimize ng Google ng mga images, pati mga website na may pangalan ko lang, or na visit ko lang, or naiwanan ng pangalan sa shoutbox or comment box nila ay na optimize din gamit ang pangalan ko. For example search mo sa Google Images ang name ko, "Jehzeel", or click HERE for the results. Lalabas yung face ko sa unang image results, pero yung iba hindi naman akin, mga website lang na na visit ko, bat kaya ganun? pati Search Results ng "Jehzeel Laurente" may nahalo ding ibang picture. Batet kaya? Di ko alam sobrang sensitive ng search engine nila, hehehe.. Pero astig parin kasi na optimize yung images ng site at blog ko. Weeeeeee!!! Sa search results din sa keyword na Laurente, nasa first page na ako. Dati nasa pinaka likod ako eh, kaya improving na ang search engine rankings ko ngayon. Sana patuloy na tong SEO career ko, pati PHP career, XHTML career, Graphic Designing Career, at lahat ng careers! ang saya talaga maging isang Newbie Web Developer, patuloy na naiimprove ko skills ko day by day. Dati WYSIWYG software lang gamit ko, ngayon pwede na notepad at ultraedit sa pagawa ng Cutting Edge web layouts at web scripts! Astig diba? Tiyaga lang ang puhunan... Pag may trabaho, pero pag walang trabaho, mahirap matuto sa internet cafe, kasi per hour ang bayad, mas maganda sa office. hehehehe... :). At pahabol din pala, tumaas na ranking ko sa keyword na "Laurente" for Google Search Results, I ranked 5th out of 80,600 search results for Laurente. Kaya ang saya ng SEO. Hay halo halo ang post ko, pasensya na po :)

Friday, April 06, 2007

Jehzlau's Resize Index Javascipt

Sa wakas, nakagawa na rin ako ng javascript for my site. Kasi kelangan ko mag iba yung design to fit in 800x600 screen resolution. Kaya gumawa me ng javascript function para mag load ng ibang CSS pag iba ang screen resolution. Pero actually di pa to perfect. Di ko alam paano e load yung CSS kaya buong index niload ko, tapos sa loob ng index na yun nalang nakalagay yung CSS. Sa CSS kasi lahat ng images ko kaya wala na problem sa pag resize. Kaya yun. Nag isip isip me paano ko gawin na ma view parin ng maganda sa 800x600 screen resolution. Ang base resolution ko kasi ay 1280x1024, and minimum resolution ay yung standard resolution na 1024x768.

Pero paano kung 800x600 na. Pangit din kasi kung mag base ka sa 800x600 unless liquid layout ang CSS mo, yung ma stretch siya. Maganda din naman yun, pero pag marami ka ng images, pwede mo din naman gamitin yung sa The Man in Blue na CSS dependent layout, cool to! check it out here, or yung sa A List Apart na technic nakalimutan ko na, yung pag e resize mo browser mo, mag ra wrap yung image at liliit din, I mean mag auto crop siya, pwede mo siyang ma view kahit sa anong resolution, kahit sa cellphone or sa PDA, astig diba?. update ko nalang tung post ko pag na alala ko. hehehe.

Pero, puro nalang ako pero. Gusto ko kasi gayahin yung sa yahoo.com. Try mo change ang resolution mo to 800x600, mag iiba yung page ng yahoo, mawawala yung scroll bar sa gilid ang lilipat na siya sa gitna. Tapos adjust mo ulit sa normal resolution mo na 1280 or 1024, mag iiba ulit yung page. Kaya yun ang gusto kong mangyari, ganda kasi. E sheshare ko lang yung javascript, alam ko makaluma na to na method, pero ok parin, pero hindi valid XHTML to ha, HTML 4.01 transitional lang siya, pero ok na rin, di naman to magiging index mo, ma reredirect ka sa ibang index na compatible sa resolution mo.

Okey, simulan ko na. Una gumawa ako ng function, nilagay ko nalang ay jehzlau, ehdi sa javascipt eto ang kalalabasan.

function jehzlau () {
//### Dito ang mga condition ng javascript }

Yan, tapos lagay mo sa loob yung condition mo sa function. First, dapat e define mo yung variable na gagamitin mo. So: var width tapos anong klaseng width, ehdi ganito na.
var width = screen.width;

after nyan, ilalagay ko na yung condition ko na if screen with is lesser than this ganito ang mangyayari.

var width = screen.width;if (width<1024)location.replace('1/index.php');elselocation.replace('2/index.php');


yun nasa else, yun yung gagamitin mo na index pag ang resolution ay 1024 or higher than 1024. Tapos yung 1 at 2, yan yung folder na pinaglagyan ng image mo (for super duper newbie, hehe). Kaya pag ipag sama sama natin yung functions magiging ganito na:

function jehzlau(){ var width = screen.width;if (width<1024)location.replace('1/index.php');else style="color: rgb(51, 51, 0);">then lagay mo sa baba yun name ng function, para sa body, kaya magiging ganito na siya:

function jehzlau(){ var width = screen.width;if (width<1024)location.replace('1/index.php');else style="color: rgb(0, 0, 0);">Then, lagay mo sa body mo na. onLoad="jehzlau();", Para e execute niya yung function at e detect nya yung resolution mo, lalagyan ko pa to ng sample para makita niyo, para saka na kasi mahal na araw ngayon, at aalis na me, mag coclose na office eh. half day lang kami. Hehe... til next time. :)
P.S.: Don't forget na ilagay mo sa loob ng script tags inside your header tags :), tapos kayo nalang mag indent ng script, sayang kasi space. For questions, leave me a comment. :) Post ko nalang example pag maka lugar next week, or baka bukas. hehe. At edit ko nalang to, magulo kasi, walang code tag dito sa blogger. Amf! huhu

Monday, April 02, 2007

Free Broadband Internet By Google!

Sick of paying for broadband that you have to, well, pay for? Introducing Google TiSP (BETA), our new FREE in-home wireless broadband service. Sign up today and we'll send you your TiSP self-installation kit, which includes setup guide, fiber-optic cable, spindle, wireless router and installation CD. Grabe! Muntik na akong maloko neto, buti nalang nag search2x muna ako tungkol sa TiSP na eto, wala namang ibig sabihin, nabasa ko tuloy sa TechCrunch na pang April Fool's Day lang pala to. Sayang kala ko totoo na yung Free Broadband Internet na to. Hayyy...

I was almost fooled talaga, (fooled ka na talaga Jehzeel, ayaw mo lang aminin). Tingnan niyo, may diagram pa kung paano gumagana ang TiSP ng Google!













Pero, it's really cool parin, kala ko totoo lahat sinasabi ng Google eh, naalala ko April Fool's Day pala kahapon, ngayon ko lang din to nabasa, late ako ng isang araw! waaahh!! Pero astig talaga to, parang totoo. Matatawa ka lang kasi bakit sa Toilet pa ilalagay, ang weird talaga, pero mapapaniwala ka talaga pag nag google ka tapos kinlick mo yung link sa baba ng search engine nila. Hehehe.. Sa palagay ko, more than 75% ng mga Googlers ang napaniwala ng Joke na to. Nice one Google! Happy April Fool's Day sa lahat! ;)