X-=Main=-X 

 X-=News=-X 

 X-=Articles=-X 

 X-=Link Up=-X 

 X-=Email Us=-X 

 X-=CODE=-X 

Welcome to the triplehex.com projects area where you can stay up-2-date on programs that we develop for use on your website. Check back occasionally for new projects, developments on current projects, and the ability to download the code. Below, the projects are listed with the project name, programming language, status, and availability.
April 13, 2004 -=- Code Updates -=-
>Tempus Fugit {JAVASCRIPT}|[UNDER REPAIR]|[CODE IN SUSPENSION]
When I first designed the code for my blogging program, commentz, I used perl to get the current time from the server which was in turn used as the time of post for a comment. This did not work well considering that the server's time was off considerably. Therefore, I integrated a javascript code into the perl program to get the current time for a posting from the visitor's computer.

Until recently, I was unaware of a small glitch that displaced the hour by a value of +1 when not in daylight savings time. Thus, I inserted some code to fix this little bug. When you think about it this is a neat little fix. Feel free to integrate this code into your scripting and let me know your results. Note that in my code I offset the time to be in Central Standard.

<SCRIPT LANGUAGE='JavaScript'>
<!--
function clientTime() {
  //This script will be used to post date and time on the webpage
  var m_names = new Array('Jan.', 'Feb.', 'March', 'April', 'May', 
  'June', 'July', 'Aug.', 'Sept.', 'Oct.', 'Nov.', 'Dec.');
  RightNow=new Date();
  var curr_month = RightNow.getMonth();
  var curr_hour = RightNow.getHours();
  var curr_min = RightNow.getMinutes();
  
  //BEGIN DAYLIGHT SAVINGS ENHANCEMENT
  var DaylightCorrect = (curr_month * 100) + RightNow.getDate();
    if (DaylightCorrect >= 404 && DaylightCorrect <= 1031) {
	var TimezoneOffset = -5 }
    else { var TimezoneOffset = -6 }
  //END DAYLIGHT SAVINGS ENHANCEMENT
  
  var TimezoneCorrect = (RightNow.getTimezoneOffset() / 60) + TimezoneOffset;
  curr_hour = curr_hour + TimezoneCorrect;

    if (RightNow.getHours() < 12) {
	var am_pm = 'am' }
    else { var am_pm = 'pm' }

    if (curr_hour >= 13) {
	curr_hour -= 12}
    if (curr_hour == 0) {
	curr_hour == 12}

    if (curr_min < 10) {
	curr_min = '0' + curr_min; }

  document.CommentForm.time.value = curr_hour + ':' + curr_min + am_pm + 
  ' ' + m_names[curr_month] + ' ' + RightNow.getDate() + 
  ', '+RightNow.getFullYear() }
//-->
</SCRIPT>



May 2, 2003 -=- Operational/Concluding Projects -=-
>Commentz {PERL+JAVASCRIPT}|[OPERATIONAL]|[ ALMOST READY FOR RELEASE]
Do you want to have users post comments on your website? Well this script will give your website that ability. This script is dynamic in nature and can be setup in a guestbook fashion or used in conjunction with a weblog or blog. It provides a popup window interface, online administration via your own website, and much more. This program is scheduled to be ready for download early summer of 2003, but probably will occur sooner.
>Link-Up {PERL+JAVASCRIPT}|[OPERATIONAL]|[ ALMOST READY FOR RELEASE]
Do you hate having to manually list friends links on your site? Why not let Link-Up save you the effort. This script will allow your friends and other visitors to post their links or links to favorite sites automatically on your website. It provides an administrator window, via your website, for the webmaster to approve the links and administer other functions of the program. Also, when the links grow beyond a set limit, this script can be augmented to provide a search engine interface to find certain types of links or a particular link easier.
>Cloud Plume {PERL}|[FINAL STAGES]|[NOT READY FOR RELEASE]
This is a scientific program that is used to calculate cloud plume development as a function of altitude.
>facltd {PERL+JAVASCRIPT+ETC}|[PHASED OUT]|[NON-RELEASE--WEBSITE]
>Autoreply {PERL}|[OPERATIONAL]|[ ALMOST READY FOR RELEASE]
This is a perl shell script that runs with the sendmail daemon which is used to automatically reply to all email sent to a specific account. This program is important for email addresses that do not have a user account on the machine running sendmail. The response message can be changed easily and the script is easy to implement. Also, extra, more personalized, features can be added manually to the script.



April 23, 2003 -=- Open Projects -=-
>H.U.R.L. {UNDECIDED}|[INOPERATIONAL]|[ NOT READY FOR RELEASE]
(Hell U R Loud) Online website chat program
>StallWall {UNDECIDED}|[INOPERATIONAL]|[ NOT READY FOR RELEASE]
Graffiti wall concept
>Chaob {UNDECIDED}|[INOPERATIONAL]|[ NOT READY FOR RELEASE]
Website weather script. Named after the Mayan wind gods of which there are four each representing the four directions. It is written that they will bring about the end of the world with earthquakes, tempests when the last of the Lacandon people die.
>PolZ {UNDECIDED}|[INOPERATIONAL]|[ NOT READY FOR RELEASE]
Website polling/questionaire program
>HSAL {UNDECIDED}|[INOPERATIONAL]|[ NOT READY FOR RELEASE]
Homeland Security Alert Level