Skip to main content

Posts

Showing posts from 2008

Get the most of SMS messaging in greeting for the New Year

Many of us will surely text many if not all of our friends, greeting them a happy new year. An SMS message will cost us P1.00. If we greet 100.00, we will be spending P100.00 (not counting those that are sent twice--network bug). Well this is the perfect time that we avail of those promos. What I will share is from Globe and Smart networks only. For Smart subscribers, you may want to avail of the all-text promos: ALLTEXT 20 P20 = 100 texts SMART to SMART / Talk 'N Text & 10 texts to other networks Text AT20 to 2827 Promo runs until March 31, 2009. Per DTI-NCR Permit No. 5310, Series of 2008. ALLTEXT 40 P40 = 200 texts SMART to SMART / Talk 'N Text & 20 texts to other networks Text AT40 to 2827 Promo runs until March 31, 2009. Per DTI-NCR Permit No. 5347, Series of 2008. ALLTEXT 50 P50 = 300 texts SMART to SMART / Talk 'N Text & 30 texts to other networks Text AT50 to 2827 ********************************************************************** For Globe Subscrib

Port Forwarding in Edimax BR-6204WLG wireless router

It's been a few days since I started using the Edimax BR-6204WLG wireless router. Features were great. I got the computers connected to the Internet with very less effort. I got my laptop connected wirelessly, and I got the security of the router tightened so that my neighbors won't be able to connect unless they had my permission. There was one problem though: PORT FORWARDING. I just can't get it to work. The setup was fairly simple. I specified the IP address of the local computer that serves as my web server, and specified port 80. I then tried to access it using the public ip address but I get a page load error: the server is taking too long to respond. I'm using Apache web server. I thought it was the firewall I had so I disabled it and tried to access the webserver again but with no luck. I then tried a different web server which was Microsoft's Internet Information Services (IIS). Dang! it still didn't work. I added this local ip to the router's demi

Most influential leaders of technology

TechRepublic just posted the 10 most influential leaders in business technology in 2008. Here is a summary: 10. Bill Gates, Microsoft 9. Mark Templeton, Citrix 8. Steve Jobs, Apple 7. Safra Catz, Oracle 6. Eric Schmidt, Google 5. Marc Benioff, Salesforce.com 4. Anne Mulcahy, Xerox 3. Craig Barrett, Intel 2. John Chambers, Cisco 1. Mark Hurd, Hewlett-Packard

Passing SQL to Crystal Reports 10 using C# express and SQL Server 2005

Tools used in this example: 1. C# Express 2008 2. MS SQL Server Express 2005 3. Crystal Reports 10 I. Create the Report File 1. Click on File->New and select "As blank report" (The Database Expert wizard shows) 2. Expand the "Create New Connection" folder, and expand OLE DB (ADO). A window will appear. 3. On the Provider section, look for SQL Native Client. Select it and click Next. 4. On the Data Source combo box, type in the name of your server. (Mine is RIXX\SQLExpress) 5. Select the Integrated Security checkbox so that it uses your windows account for authentication. 6. Choose your database from the Database combo box and click finish. I have a database with the following attributes: Name: TestDB1 Tables: TestTable1 Columns: Id, Description Data: Id Description 1 aaa 2 bbb 3 ccc 4 ddd 5 eee 7. Add your tables to the Selected Tables section a

Create a Hello World application in C#

I assume that readers of this post are new to C# and have basic knowledge in programming and software application installation in Windows. Download the C# Integrated Development Environment (IDE) (You can download the free express version ) After downloading the IDE, install it. The latest version of the C# IDE as of this writing is the C# express 2008 version. On the upper left corner, you can find a window-like box. Click on "Project..." next to the "Create" label. The following window will appear: the default project name is WindowsFormsApplication1. Change it to your desired project name. After clicking the Ok button, the following should appear: Program.cs is the main program file which calls the Form1.cs so that when you run the application, the form appears firsthand. On the Toolbox tab at the left side of the IDE, drag and drop a "Label" control to the form. The "Label" control has its own properties which can be accessed from the lo

What's new in my online life?

Got invited by one of my students to Ciao .It's a community site that is intended for the world's consumers (various products). What's interesting is that the site pays for your reviews from computer peripherals to kitchen appliances buying guide . Not only do they pay for reviews, they also pay for the comments you put on other users' reviews. Cool right? Well, if you're asking if they really pay or not, I cannot answer that yet as I have only made $4.21 as of today. They only allow payment requests when you reach $5. It's just a matter of time before I reach that amount and I verify if they really pay or not. I will be posting the results here. As far as I've heard, the site is really legit. Well, you'll never know unless you try. If you decide to join , then add me up. My user name is fiShBoN3.

Abort shutdown

Sometimes we encounter something like a dialog box popping out of our computer screen saying that our computer is shutting down and we didn't even initiate it. Sometimes it's a result of an updater, a trojan, or a remote shutdown. It can actually be aborted. Just click Start->Run and type shutdown -a.

Simple Inheritance in PHP

In object-oriented programming, inheritance means that a new class can be derived from an existing class. The concept is easily implemented in object-oriented languages such as Java or C#. Inheritance can also be implemented in php. The method is quite straightforward: Use the extends keyword. The following example is a simple implementation of the concept: In the following example, I have 3 files: Person.class, Student.class, and TestStudent.php. The Person.class has the following attributes: Last name, First name, and Middle name. It has one display method that returns an html code that displays the attributes of the person. The Student.class inherits the Person.class and also has its own attributes: Id, Year/Level, and Course. The TestStudent.php tests the Student class by asking for inputs of all six attributes using only the Student class and displays all of them in tabular form. Person.class <?php class Person{ var $LastName=""; var $FirstName=""; var $

Using MS SQL Server express with C# express

I think I missed this one out. Many of us connect to Microsoft's SQL Server database using controls. I don't usually use this technique because it is quite limiting for me. Here's how to connect to MSSQL Server 2005 database using C#: 1. First, create a database (I'm using MS SQL Server 2005 express edition, so I use the SQL Server Management Studio IDE which can be downloaded here .) 2. To proceed, I'm assuming that you can already connect to your server (or the instance thereof). If the Windows Authentication doesn't work, you might want to try the user 'sa'. The password actually depends on what you specified during its installation. 3. Right click on the "Databases" folder and click "New Database". (Just leave everything default and click ok). 4. Expand the newly created database folder (in my case, it's testDB1), and create a new table with the following attributes: Table Name: TestTable1 Fields: Id:Integer, auto increment, p

Mac's camera

It's kinda funny.

Supplemental

Apparently, I think this blog has become supplemental (or so I think). I think the algo is playing with me. geez. I need to read more. It's just been 72 hours and it dropped again. I'm waiting for the next crawl. It should go back up. Hmmm... hopefully by Nov. 25, 2008.

Page Rank Recovered

Two months ago, my page rank dropped to 2 from 3. Last month, it became N/A and I was shocked. I thought I did a violation that got me banned from Google. Well, some of my assumptions were wrong. I managed to recover my page rank back to PR 2. I hope I manage to get it back to PR 3 in time. I need to do something with a PR 3 blog hehehe. What I did was to redesign the blogsite and tried to optimize the tags, a lot of directory submissions, and most importantly, add content. There should be continuous updates with the blog. A CSS validator helps, so does the HTML validator. Various SEO tools also help. I use the WebCEO free version. Want to check the page rank of your site? Use the tool below: Check Page Rank of any web site pages instantly: This free page rank checking tool is powered by Page Rank Checker service

How to cheat blog polls

Ok, I really need to post this. Many bloggers put polls on their blog sites and rely heavily on the results that they give and some even draw conclusions based on those data. The problem is that they don't check where the data those polls are generating are stored. Many polls don't even record the voter's information. Well to those of you who want to cheat polls (I mean blog polls. Some polls are really reliable), here are some points: 1. These polls don't store your IP address nor your MAC address, how then do you think are they checking for flying voters? COOKIES! 2. Now you already have an idea. Now try to vote to a blogger's poll then clear your cookies and refresh the page. You'll be able to vote again. 3. If #2 doesn't work, there's a big chance that your voting data is stored on internet temporary files. Now you know what to do. Delete those files. 4. If #3 doesn't work, then your data might have been stored elsewhere. You might want to use a

Using Firebird with ASP.net

In my previous post , I was able to connect a firebird 2.0 database to asp.net using controls. The next goal was to connect to a firebird database using the firebird.net engine and using the repeater control. I however, was able to use the firebird.net engine to connect to the firebird database but not to the repeater control. I used the html table tag. I've created a simple asp.net demo displaying the contents of a firebird database on page load. Here are the steps: 1. Things Needed: Firebird 2.0 Server Firebird 2.0 Client Visual Web Developer 2. In Visual Web Developer, create a new ASP.net Website (using C# as the programming language). The project will have a default page named Default.aspx. Make sure that the code is separate from the page (ex. Default.aspx.cs is separate from Default.aspx) 3. On the Website menu, click on Add Reference. 4. Select the Firebird - ADO.net 2.0 Data Provider and click Ok. 5. Add using FirebirdSql.Data.FirebirdClient; to the "using" sec

My page rank dropped

Apparently, I still don't understand the world of SEO. My PR in this blog dropped from PR 3 to nothing and I still don't know the reason why. The only thing I can think of is that I did something that violated some terms with Google. Maybe this blog is banned. I think I submitted this blog more than thrice in Google's directory. I hope I can get it back. I'm not in the mood for link building right now. I still have to work on the contents. :D

Seminar on Open Source Applications at Brokenshire

Yesterday, we went to Brokenshire College of Davao for a seminar on Open Source Applications. I was accompanied by three senior students (only three because they didn't allow more than that). The seminar talked about Ubuntu Linux, Open Office.org, GIMP, and Blender. The funny thing is that it turned out to be one of my students' show as he (ragingmon) was popular with blender. :D From Seminar on Open Source Applications October 23, 2008 From Seminar on Open Source Applications October 23, 2008 From Seminar on Open Source Applications October 23, 2008 From Seminar on Open Source Applications October 23, 2008

DigitalFilipino.com club and Davao Bloggers Networking Event

The event was fun. The food was free and I get to drink Gloria Jean's coffee. :D (More pictures when you click the photos. Photos courtesy of Mr. Raphael Banta) From DigitalFilipino.com club and Davao Bloggers Networking Event From DigitalFilipino.com club and Davao Bloggers Networking Event From DigitalFilipino.com club and Davao Bloggers Networking Event From DigitalFilipino.com club and Davao Bloggers Networking Event

Teaching Thinking Seminar

It was quite an interesting seminar. It's about teaching students to think. The speaker was from Singapore (I'm an idiot in remembering names sigh). Well, just wanted to share some pictures (Sorry for the low quality).

Comodo

I have used Comodo products before and I was glad because it's free. I used their AntiVirus and Firewall. The firewall worked good. It had all the minimum requirements I expected a firewall should have. The best part of it is that it's free! Well, I was quite disappointed with the antivirus. Although it worked fine in detecting viruses, it didn't work as effectively as the free AVG. The worst experience I had was when the antivirus caused some corruption in one of the windows system file. I removed both products. But then recently, I saw a very impressive improvement of Comodo. Although they aren't still at the top 10 antivirus softwares, it's good to know that major sites use one of their products for Internet security. Take for example the dotPh Philippine domain registry . They are using Comodo's Positive SSL for Trusted Internet . For a service provider to use it means high reliability. This gets me into considering Comodo back to my computers. I'll be s

SMS Programming in C# Part 1

It's quite difficult to find resources regarding SMS programming with C#. Well, I have gathered through some other sites on how to program mobile phones (various models including Nokia N96 ). Before I write about C# (I'm using C# express 2008), let's have a look at the basics first. This first part will talk about connecting to your mobile phone and testing its connectivity. Be sure that you have your mobile phone driver installed. Connect your mobile phone To test the connectivity of the phone and whether it responds to our commands, let us try hyperterminal. In XP, Start->All Programs->Accessories->Communications->Hyperterminal. Specify the Name of the connection. Choose the Communications Port (Usually, the mobile phone will from Com1 to Com3. To know which port the mobile phone is assigned to, go to Control Panel->Phone and Modem Options->Modems. It will list down all the modems attached to your PC). Specify the Bits per second, Data bits, Parity, Sto

Software for Light

Various kinds of businesses exist over the years. Many survived with the use of simple technologies. Like in the Philippines, many have not automated their business processes and some are still reluctant in doing so. We are however, in the age of Technology, where almost everything is and will be depending on IT. The need for automation will arrive sooner or later, otherwise, your business gets left behind. How do we choose the appropriate software for our business? Well it depends on the nature of our business. Let's take Farreys.com for our example. Farreys offers both product and services. They sell chandeliers , home lighting , etc. They offer lighting fixtures like bathroom light fixtures , kitchen light fixtures , and ceiling light fixtures . When selling tangible products, we either need a Point Of Sale software (if it is a direct sale basis) or a Sales Order System software (if we allow order-basis). With regards to rendering services, a Service-Order System can be acquir

What is Active Directory?

Active Directory is a directory service created by Microsoft (MSFT) that provides three services: * LDAP-like Directory services * Kerberos based authentication * DNS based naming and other network information It is an essential part of the Windows Server Family (including 2000, and 2003). AD is used to store information about Windows-based Networks and Domains. It allows management of users, security, and other resources on a centralized location over the network. It's not easy managing servers if you don't have a background on network administration. It's a good thing that the industry is already flooded with service-providers. Check out ensim.com. It's a good place to start for businesses who want quality implementation of Active Directory , Active Directory Management , Active Directory Tools , Exchange Management and Exchange Tool . How do we install Active Directory on a Windows server? It comes with your Windows Server installation disk. It's relativ

Using MySQL with C# express

1. Download and install MySQL Connector ODBC at http://dev.mysql.com/downloads/connector/odbc/5.1.html 2. Create a new Windows Application in C# express 3. Add the System.Data.Odbc namespace 4. Add a DataGridView 5. Use the following code to fill the DataGridView OdbcConnection cn = new OdbcConnection("Driver={MySQL ODBC 3.51 Driver};Server=localhost;Database=myDatabase; User=root;Password=;Option=3;"); cn.Open(); OdbcCommand cmd = new OdbcCommand("Select * from test",cn); OdbcDataAdapter ad = new OdbcDataAdapter(cmd); DataTable dt = new DataTable(); ad.Fill(dt); dataGridView1.DataSource = dt; ******************************************************************************* The code should look like this: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;

Philnits. Assume that a survey of 100 students was conducted.

Assume that a survey of 100 students was conducted. The result was that 18 students were learning Spanish, 40 students were learning German, and 42 students were learning French. Of them, six were learning both Spanish and German, fifteen were learning both German and French, and five were learning both French and Spanish. Of those who were learning two or more languages, two were learning three languages. How many students were not learning any language? a) 22 b) 24 c) 26 d) 28 P(AUBUC) = 100 P(A) = 18 P(B) = 40 P(C) = 42 P(AUB) = 6 P(BUC) = 15 P(AUC) = 5 P(A∩B∩C) = 2 _____ P(A∩B∩C) =100 – [P(A)+P(B)+P(C) – P(AUB)- P(BUC) - P(AUC) + P(A∩B∩C)] = 100 – [18+40+42 – 6 – 15 – 5 + 2] = 100 – [100 – 26 + 2] = 100 – [76] = 24

Employee profiling

Got this email from one of my MBA classmates. There is a certain degree of truth to this email, and I know, managers will be able to use this to become more effective leaders: *Aries Employee Profile (march 21 - April 19) * Aries employees make excellent troubleshooters. They'll usually want to be out in the field at a variety of different work sites fixing things. They certainly won't be happy for very long behind a desk in a 9 to 5 schedule. The bored Aries employee who has been forced into a square hole will typically be restless, angry, and careless with details. No amount of money would compensate for being stuck in a routine job. Money in fact isn't why they are working at all. They do want to be paid fairly and need a status position to satisfy their competitive tendencies-- but even more importantly, they'll want challenging new projects They typically like to have a sense of responsibility and need to feel needed. In return, they'll give their all and provi