I finally wrote a kind of middleware that sits between a web-based procurement system (written in PHP) and Hylafax server. Among other things that the procurement system does is mass faxing to various vendors - in this case up to a few hundred vendors a day.
My initial test went pretty smooth - well, a bit of hiccup though. Few fax machines apparently received the distorted document due to some unknown reasons. I'm still investigating. Apart from that I would say the prototype was a success, able to handle hundreds of documents to fax simultaneously. The decision to do the communication part asynchronously paid off - no noticeable load on the server which runs the middleware.
So anybody interested in integrating your webbased system with Hylafax? :)
Wednesday, August 16, 2006
Hylafax protocol experimentation ended
Posted by E A Faisal at 21:02 0 comments
Wednesday, August 09, 2006
Hylafax protocol: Administrative function
Today while testing bulk faxing, I encountered a failure due to blacklisted number.
Is there a way, or rather a protocol verb which I can use to query the Hylafax server for sending modem command - e.g. to check modem status or to reset modem blacklisted number
Posted by E A Faisal at 20:00 0 comments
Tuesday, August 01, 2006
Understanding Hylafax protocol
It's been a while since my last blog post. I've been kept busy a number of things - mainly at work.
OK, so I've learnt one or two things since then. I've managed to build a prototype Hylafax client - and yes - it's making use of asynchronous communication mechanism. The prototype currently able to send a fax job and query the status of a job. The code right now is rather crude. The next course of action is make some administrative query. I just hope I have the spare time for this :)
Posted by E A Faisal at 20:05 0 comments
Friday, June 30, 2006
Hylafax protocol prototype update
Basic login mechanism is now working. All I did was to follow the same way any FTP client handles login as noted by Bernstein here. Next would be testing to login as admin.
Posted by E A Faisal at 20:43 0 comments
Tuesday, June 27, 2006
Hylafax protocol prototype
This is an update of the previous post. For the prototype, I'll just focused on 3 things:
- Able to login, both as users and admin
- Able to post fax job
- Able to query the fax server the status of fax job
I've played around with asyncore/asynchat and looks that this is a feasible project.
Posted by E A Faisal at 20:22 0 comments
Monday, June 26, 2006
The new Hylafax protocol adventure begins
Posted by E A Faisal at 19:53 0 comments
Wednesday, June 14, 2006
Another reminder
Please be reminded to check out Bazaar-NG - a next generation distributed version control system. I think I might have one or two projects which is suitable for using distributed version control system. Furthermore, this one is written in Python and still under active development. This could be a nice alternative to centralized version control system that I'm used to - CVS and SVN.
Posted by E A Faisal at 20:04 0 comments
Tuesday, June 13, 2006
Hylafax protocol for Python
Posted by E A Faisal at 20:30 0 comments
Monday, June 12, 2006
FIFA World Cup - got time to blog?
- Most of the seeded teams which have played produced a sub-standard performance.
- Many of the teams which were expected to lose to the seeded teams fought in a spirited manner and played extremely well.
So, what happened to the seeded teams? Over confidence? Ego - thinking that they're star players which make them unable to play as a team? Poorly prepared? Or all the above?
Posted by E A Faisal at 13:35 0 comments
Friday, June 09, 2006
Open Source: Beyond Software
Another thing to do beside hacking the codes - sew!
Posted by E A Faisal at 20:02 0 comments
Thursday, June 08, 2006
My little rant on Python
Posted by E A Faisal at 20:25 0 comments
Labels: Development, Programming
Tuesday, June 06, 2006
IPv6 has finally come
This is a wake up call for me to ensure that all the boxens I'm using and their corresponding network apps support IPv6. With this, comes a task of learning how to use IPv6 and its tips-and-tricks. Bye-bye 6Bone, Welcome IPv6.
Posted by E A Faisal at 13:59 0 comments
Monday, June 05, 2006
2 weeks full of events
First, ITTutor was defaced on 31 May 2006 and up till now is still closed. Apparently the Admin is taking the opportunity, while fixing the defaced page(s), to do some upgrade works.
Secondly, the Klang Valley in Malaysia was shocked by a landslide which claimed 4 lives. A series of finger-pointing trying to find the fault followed right after. The local authority, however, has the lion share for blames - due to repeated complaint by the affected residences months before the incident happend.
Next news, I still couldn't find an SSL library for Python which is easy to use and less confusing for newbies like me. The existing libraries is either too complex for newbies or simply out of date with the current C version.
Finally, the talk in the office is to integrate the procurement system with the fax server, which is running Hylafax. It is very likely I'll be assigned to figure out how to do it.
Posted by E A Faisal at 20:53 0 comments
Friday, June 02, 2006
Managing user account using OpenLDAP
IBM developerWorks features a nice article on implementing a centralize user management using OpenLDAP. Although it's Red Hat specifics, but most of the steps described also applicable to other Linux distributions. I might even try to test the steps in the article myself when I have a free time - may be after the FIFA World Cup is over :)
Posted by E A Faisal at 11:28 0 comments
Thursday, June 01, 2006
The first day of June 2006
Today marks the month of June 2006, the month of FIFA World Cup. Along with it come plenty of sleepless night - since all the live telecast would be in the early morning in Malaysia.
Also a very interesting start:
Linux.com featured 2 nice articles on GNU grep and Emacs tips.
Newsforge brought an article on OCSNG - which could be a nice complement to WPKG I'm currently evaluating.
Posted by E A Faisal at 10:06 1 comments
Wednesday, May 31, 2006
Design pattern - is it for real?
Today I read a book on design pattern - after hearing about it for quite sometimes. A lot of good and bad things have been said about design pattern. I guess I have to experience it myself before making any judgement. I'm quite sure design pattern is not the holy grail to all programming problems. But with a little bit of effort in understading when to use and when not to use, design pattern could probably be useful.
Posted by E A Faisal at 20:30 0 comments
Monday, May 29, 2006
Passed another 2 tests at Brain Games
My transcript is viewable at http://www.brainbench.com/transcript.jsp?pid=873436
Posted by E A Faisal at 16:42 0 comments
Sunday, May 28, 2006
Friday, May 26, 2006
Rise in electricity tariff in Malaysia
Posted by E A Faisal at 20:15 0 comments
Thursday, May 25, 2006
Learn to program in ten years
The one that struck me was the similarity in my own experience in attempting to learn and grasp what I've learn. Like him, I've read numerous books, howtos, FAQ and other documents, yet I still feel like a novice. So what really went wrong? Why I'm still feel I'm at the same level as I was 2 or 3 years ago? Well, Peter Norvig certainly had given all the pointers but I failed to recognize them 2 years ago.
However, in my effort to learn, it's better late than never. The pointers he had laid out in the essay must be taken seriously.
Posted by E A Faisal at 20:22 0 comments
Labels: Development, Programming
Wednesday, May 24, 2006
Life of a programmer
7 bug reports and 11 feature requests: That will keep me busy at least for the next 2 weeks.
I know this basically translates as: no Math challenge; no exploring Google Pages and updating my little homepage; no other activities that require rigorous thinking.
Posted by E A Faisal at 20:28 0 comments
Tuesday, May 23, 2006
Python 1.5 Certification Test at Brain Bench
Posted by E A Faisal at 14:05 0 comments
Monday, May 22, 2006
PHP Certification Test at Brain Bench
As my right to brag for passing the test: you can view my transcript at Brain Bench. Just fill in my transcript id 873436.
Posted by E A Faisal at 12:28 0 comments
Free Certifications
But I guess I should try to take advantange of this offer. May be learn a few thing along the way. Certification in Linux, Bash Shell, Python, PHP, (X)HTML and CSS come to mind as top in my priority list. However I better have a look at the whole list of certifications over there - which was claimed to be more that 500 certification tests!
Posted by E A Faisal at 10:16 0 comments
Saturday, May 20, 2006
Elementary school placement examination
Yes! You heard it right. My daughter just finished the placement examination to enter elementary school. Out of 352 candidates, only 185 will be chosen for the 2007 academic session. She was quizzed on 8 subjects over 2 hours - with no break. Personally I think it's a little bit too much for a 6-year old. Her result is expected to be out on 29 May 2006. Well, I guess it's tougher nowadays to get a good education.
Posted by E A Faisal at 11:39 0 comments
Friday, May 19, 2006
Personal website
I guess for the next couple of weeks I'll also be busy exploring Google Page Creator.
Posted by E A Faisal at 17:14 0 comments
Mathematical puzzles
Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems. Please be warned that the problems are challenging and you are unlikely to make much progress if you have no knowledge of programming. Having said that, this is both the perfect environment and opportunity to learn new techniques and refine your programming skills.At first I wasn't quite enthusiatic about it. But after solving 2 problems I thought, "Wow! I could learn a couple of things if I continue solving the given maths problems". To date, I've solved 21 problems using Python as my programming language of choice. There are a lot of difficult maths questions which I've yet to figure out how to solve - which I believe require a good understanding of mathematics fundamentals - and my last encounter of mathematics academically was during my schooling days :)
Posted by E A Faisal at 09:16 0 comments
Wednesday, May 17, 2006
A few subtle fixes
Instead of laboriously reading Help, I decided to just quickly scanned certain topics to make a few quick fixes.
Below is my Changelog:
- Changed NavBar to use silver theme
- Fixed the links - no more Edit Me
- Minor changes in few setting options
For now I'm pretty OK with the new changes. Probably I'll leave the settings as they are for next 1 month or so.
Posted by E A Faisal at 14:39 0 comments
Tuesday, May 16, 2006
Time to explore...
The first thing that needs to be resolved would be: try to comprehend what those settings mean :)
Posted by E A Faisal at 18:42 0 comments