Pages

Monday, May 30, 2011

License to Code

So I was the 'License 2 Play' event yesterday at Suntec Convention Hall.

I was there because there was this workshop on Android. At least I learnt a few things from it. Though one thing I could say was that the place was noisy.

I saw a racing simulator at the event also, I think there were at least 5 big TV set which acted as the display of the simulator. Hmm.. It was quite astonishing(maybe jus a bit). But definitely interesting.

Looking forward to the second workshop and the short school holiday.

Thursday, May 26, 2011

Busy Lunch Server

My mind is full of things that I want to do. I fear that I may forget some, one way or another.

Final year project is still progressing. But as the weeks pass, I can feel the pressure. Now we have to install the LMS on the remote server.

This week I have 4 test dispersed within the same week. Pressure again.

I worry that I am not doing so well in my normal class lessons this year. Haiz. Gotta do better. I wonder if I have  become much more 'slacking'.

Did I?


I am going to look forward to Sunday. I will be attending this workshop on Android. I shall write about it.

I want to try improving the gadgets at the left sidebar of this blog.

I have this habit of having my lunch rather fast, especially if I eat alone. Then there are classmates who thought that I didn't went out to have lunch at all.

Lord.

I wonder why they give so much attention to whether I lunched.

I am going to guess because I am thin, need to eat more eh.

Lord. Forgot my homework, even though I am revising for the final test tomorrow.

Sunday, May 15, 2011

Functions!

How can I forget, in most programming applications. There are Functions in the code. In the Web, there is a huge list of function reference for that programming language.

The function reference also applies to system/framework developed by others, e.g. WordPress. In WordPress there is the_post_thumbnail().

Googling the function name can give results explaining the function. Whether the source is the official developer site of that system or other websites.

God.

Saturday, May 14, 2011

Enter the Android

I don't know why I feel that this final year at school seems to be busier when I had internship. LOL

After much messing, I finally installed the ADT in Eclipse. I wonder if there is a way to make the emulator 'work' every time.

There is this officer who announce the election results. He has recently shot to fame in the Web. There is even a submission of him in Know Your Meme.

He is none other than Mr Yam Ah Mee


Wednesday, May 11, 2011

Acceleroooooo!!!!

I miss doing some stupid programming during free time, now that I am busy with my FYP and school work.

There was once I used the Accelerometer or something in the App Inventor. What I did was to let the phone send a sms whenever the phone detect a shaking motion. As a test, I set the recipient of the message back to myself.

I recall shaking my mobile phone a few times only. But then I received  back more than 20 sms.

Those were the days.

Been watching 'the unforgettable memory' /yi nan wang/ 意难忘
 with Mum. LOL. There are parts which were filmed really well and I remember them.  ( JC, Y U SO AUNTIE! ).

I am pondering whether I should take a certain module next semester. I am afraid the next FYP might make me very busy and cannot cope.

Looking at my previous posts. Then I realised I forgotten to mention the meeting with project client. There is nothing much to say LOL. Well, I like the block which the meeting is carried out. It had a nice scenery LOL. The meeting room was also the 'real' meeting room we see in tv shows lol. Big-company-meeting-room that comes with nice scenery too.

Sunday, May 8, 2011

Lightning and Hammer. (not Thor)

The election was just over.

I would like to quote two articles.


All this clearly has the PAP a bit rattled, if Lee Kuan Yew’s comments are anything to go by. Fighting his own 14th election, the 87-year-old “Minister Mentor” (MM), as he is officially known, has been warning voters of the dire “consequences” of voting against the PAP. “You must expect the PAP to look after PAP constituencies first”, he told reporters. Thus if the unfortunate voters of Aljunied really do have the temerity to vote out the PAP, they will have “five years to live and repent”, according to MM. Asked if this sort of provocative language could cause a backlash against the PAP among voters, MM himself remained wholly unrepentant: “I am 87. I am speaking the truth. I do not want to be hypocritical.” So there.

this above is  from The Economist.


THE Workers' Party made a historic breakthrough by winning Aljunied GRC, with a comfortable margin of 9.42 per cent in the defining battle for the 143,148 votes.


the above is from Straits Time

Whatever that it is. PAP still lives in the hearts of many and  WP/Opposition has a chance to prove their capability this time eh.

Wednesday, May 4, 2011

Set up Mercury Mail for mailing in localhost with Thunderbird (XAMPP)

Scenario:
You want to send email between two or more different email account locally or using the server, localhost.

Note that I have used the following while writing this:
  • XAMPP Control Panel Version 2.5.8 / XAMPP for Windows ver. 1.7.3
  • Mercury/32 ver. 4.7
  • Mozilla Thunderbird ver. 2.0.0.24

In XAMPP Control Panel: Start Mercury. Lanuch Mercury (the Admin button).

Under configuration and in Protocol Modules, the following needs to be checked or active:

MercuryS SMTP Server
MercuryP POP3 Server
MercuryE SMTP end to end delivery client
MercuryD distributing POP3 client
MercuryH PH directory service server
MercuryB HTTP web server(it seems that this can be active or inactive.)



To create the new email address or users, go to Configuration then Manage local users.



Click on add.



The username will be part of the local email address.
If you key in mrbean in the username field, the email address that you will use locally is mrbean@localhost. Username is of course mrbean. 

The personal name can be just a name you use in the real world; e.g Mr Funny Bean

Maill password and username will be used to access email in your inbox. You have to remember it.

Its seems that it isn't compulsory to fill in the APOP secret.( think this has got to with security) .

Close the manage local user window and return back to the main screen.

The components namely POP3 server and SMTP server will have the status of  'Ready'.




-END of mercury mail-

Launch Thunderbird.
Under tools, go to account settings.
This window will open...




Click Add Account.

A new window appears.
First screen: Account type is email of course.

Second screen:Identity



In email address, fill in the email you have created with Mercury, use the example from above, the email is mrbean@localhost  (ignore the .com at the back for now. )


Third Screen: Server Information
Selection is POP.
Name of incoming server is localhost.




The rest of the screens just leave it as it is.

Back to Account Settings Window. This time at the side bar on the left click on Outgoing Server (SMTP).

Click on the Add located at the right.



New window appears.

Description can be any meaningful text for you.
Server name is localhost.
Username is the username created in Mercury just now. Using the example above, it is mrbean.




Click ok.

Account Settings Window again.
On the side bar at the left select the email account you created just now.
On the Outgoing Server(SMTP) drop down, select the one you created in the previous step.

Everything is done and ready to go. Try getting mail from inbox, there will be a prompt to enter the password.  The password is the one created in Mercury.

Try composing and send the email.



Another reference

Monday, May 2, 2011

Mercury localhost

It took me about 2 days(of course less than 48 hours, but still 2) to finally configure Mercury Mail correctly on localhost.

I wonder what happens next time when I have to set up a real working email server.

If I didn't found the correct website to look at. I wonder how much longer I am going to take.

I set it up because I thought it will be relevant to my FYP. Lets hope I am not wrong.

Meeting with FYP client tommorrow. Hmm... I shall write about it.

I just realise the background color for this blog is actually purple all this while. god.