Info Zone

Hiking On The Web For Technology

How To Know New Features In Gmail

December 11th, 2007 by Henry Addo

 

If you want to know new features rolled out or announcement made by the Gmail team, when login to gmail, just look at the upper right corner, just after where your email address appears, there is a red link which states the new feature or the annoucement. A quick way to know what has been added to gmail.

To me, where that link is position is not obvious, you’ve to be a very critical observer before you can take notice of it. It will be more obvious if gmail could place that as a block on the left, just like we have for labels, contacts and invite a friend block.

Posted in | No Comments »

Faneshi The Programming Group.

December 10th, 2007 by Henry Addo

If you have read my previous post, you could see I made mention of Faneshi. Faneshi is a Ga word which means foundation or basis according to  Lorenzo’s Ga dictionary. Faneshi is a small group of programmers who help each other to build up on their programming skills. How is this done, we setup a challenge to write small pieces of code, send it to our mailing list for peer review. That way we build ourselves how to write decent and efficient codes all the time. Another challenge is, we take up a very small project where by we sit and think about an idea, deliberate over it, when we are finally satisfied with the idea, we then start to bring the idea to life. The essence of this challenge is to take us all through the whole Software Development Cycle right from Project planning, feasibility study -> Systems analysis, requirements definition -> Systems design -> Implementation -> Integration and testing ->Acceptance, installation, deployment -> Maintenance.

Currently, the group consist of seven core members with four members passionately active on the list. Wonder why the other three members aren’t part taking. Anyways, they have their own reasons for being mute.

Apart from the idea of building each others skills, Faneshi main idea is to setup a group of small programmers who are committed to each other and are happy to write code all the time. Part take in international challenges. like Google of summer codes, the Android Developer Challenge, etc.

Now to the question that is running through your head. How can I Join Faneshi. Currently its open to all who are passionate about writing codes and willing to share their knowledge. All you need to do is show us you’re committed and ever ready to learn. Not solely learn from members of the group but ready to learn on your own. One unique thing about Faneshi is that, we don’t hold tutorials sessions, but rather discuss on our mailing list specific issues and how to solve them. Yes once a while we throw off presentations about a particular technology or hack someone has discovered, other than that, there is nothing like sit down and let me teach you sessions. We try to learn and figure stuff on our own.

Benefit of being a member of Faneshi, you’re always harassing your editor or IDE because there is always some codes to write. You get to experiment alot because always there is something out there for you to try out. Commitment to each other exist. We don’t pay dues, no administrative stuff, all we care about is writing codes and learning new skills all the time.

Posted in , | 1 Comment »

Init Script For Alfresco

December 10th, 2007 by Henry Addo

One of the challenges posted on the Faneshi mailing list was for someone to write a startup script for Alfresco. I took the challenge to write it, not because its so trivial to write such a script but a way to kill time and shut down all IM activities. It took me a few minutes to write a clean code. I posted my code back to the list for comments and testing and it turns out to work perfectly. Few comments were posted about setting java home with the init script but Edem, a member of the group commented that is not necessary and won’t make the script generic but better that is done with /etc/profile file. So my code after all didn’t suffer from any modification. Here is the code ( for debain based distros ).


1 #!/bin/bash

2

3 # $Id: $

4

5 # /etc/init.d/alfresco: start alfresco and stop alfresco

6 set -e

7

8 #include init functions so we can use functions like

9 # log_daemon_msg to output messages instead of echo

10 . /lib/lsb/init-functions

11

12 # start method

13 start_alfresco() {

14 log_daemon_msg Starting alfresco…

15

16 /opt/alfresco/alfresco.sh start

17 return

18 }

19

20 #stop method

21 stop_alfresco() {

22 log_daemon_msg Stopping alfresco…

23

24 /opt/alfresco/alfresco.sh stop

25 return

26 }

27

28 # now let run the functions

29 case $1 in

30 start)

31 start_alfresco

32 ;;

33 stop)

34 stop_alfresco

35 ;;

36 *)

37 log_daemon_msg Usage:{start|stop}

38 exit 1

39 ;;

40 esac

41 exit 0

Below is for RedHat based distros as posted by Edem.

1 #!/bin/bash

2

3 # chkconfig: 35 99 01

4 #include init functions so we can use functions like

5 . /etc/rc.d/init.d/functions

6

7 # start method

8 start_alfresco() {

9 log_daemon_msg Starting alfresco…

10 /opt/alfresco/alfresco.sh start

11 return

12 }

13

14 #stop method

15 stop_alfresco() {

16 log_daemon_msg Stopping alfresco…

17 /opt/alfresco/alfresco.sh stop

18 return

19 }

20 # now let run the functions

21 case $1 in

22 start)

23 start_alfresco

24 ;;

25 stop)

26 stop_alfresco

27 ;;

28 *)

29 log_daemon_msg Usage:{start|stop}

30 exit 1

31 ;;

32 esac

33 exit 0

Posted in , , | No Comments »