Ramble on the Internet

503 Valid RCPT command must precede DATA

I started to use Outlook and please contact me through my school email (not googlemail)
I was so confused that I couldn’t send email out in the morning, but I can in the afternoon. I couldn’t send out again in the evening. It’s very mysterious! I am afraid that technology would get an emotional factor one day, and this day has already come.
Later, I realised that actually I was at home in the morning and in the evening. This problem only occurred when I was at home.

There’s two issues here:

1) (minor) Outlook isn’t showing you the actual error that the server told your client. It’s ignoring the error from the server and then trying to force the message through, at which point the server says ‘hold up there, you haven’t done the first bit of sending the message correctly yet’ which is the error it’s showing above.
2) The main issue is that your host in your workplace has no DNS record: Oct 2 00:48:02 peninsula exim[23706]: H=(PC) [***.**.**.***]
I=[***.**.*.***]:25 F= rejected RCPT : HST-PTR sender_host_address=***.**.**.*** You are sending from ***.**.**.*** but this host has no name associated with it.

Solution: Contact your local IT staff for your workplace to get your host registered in the DNS.


How to add whitespaces into a string in PHP

We can use trim to strip whitespace from the beginning and end of a string, but how can we add whitespaces into a string?
You can get an array from a string first and use a loop to add whitespaces. Here you go an easy way
implode(‘ ‘,str_split($tring));


Interview

I started to talk to research administrators at different departments to negotiate the access. I was so surprised that they were so nice to me – patient, helpful and kind. I enjoyed talking to them. I had a quite tight schedule. One day, I need to go to three departments for interviews. It’s also very interesting to see how people behave differently on the same questions I was approaching. I am glad it worked out. This is only a start – tough ones are following up. Am I ready?


Web 2.0 Workshop

Feel being left out…what is Web 2.0?

Blogs, wikis, Webcasts, podcasts, RSS feeds, social networks . . . they’re all a part of what has come to be known as Web 2.0. Workshop author Vicki Davis is a classroom teacher who has been recognized for her innovative classroom practices using Web 2.0. The Flat Classroom Project, which she coauthored, won ISTE’s Award for Best Online Learning project for 2007, an Edublog Award for Best Wiki in education for 2006, and inclusion in the best selling book The World is Flat. Her Cool Cat Teacher Blog received an Edublog finalist award for Best Teacher Blog of 2006.

http://movies.atomiclearning.com/k12/web20/


Asian font packs for Adobe Reader

Jun 30
1 Comment

I have not encountered this problem when I try to open a Chinese pdf file on a school machine. It is probably because I hardly have a pdf file in Chinese and also I use my laptop all the time.

FYI, if your pdf file in Chinese cannot be shown properly on a school machine when you desperately try to print them out. Don’t worry. Go to http://www.adobe.com/products/acrobat/acrrasianfontpack.html

Choose the right font pack for you; download and run it. I recon you are going to choose Chinese simplified. Wise choice~ but sometimes you still cannot view your pdf file even after you install Chinese simplified pdf. Try to download the traditional one. Some pdf files are in Chinese simplified style but actually encoded by traditional code. This is annoying but the fact is that so far they are still separate in unicode.

By the way, if you get the error message when you try to open your pdf file, it is probably because you have a Chinese name for your file or the folder containing the file. Do change that before worrying what is wrong with the adobe reader.

At last, if you still cannot work it out, convert your pdf files to jpg files. It always works!


Next Page »