Tech Roundtable Meeting 3/1/23

Kodezi Features
Kodezi Features

March 1, 2023 Tech Roundtable meeting on Zoom

Minutes

AI

The meeting started with a review of how hackers are using ChatGPT. No specific details of how the approach works and perhaps more will be learned for future meeting discussions.

That was followed with a discussion about the FTC warning companies about using AI in their marketing messaging and product claims but not delivering. Most seemed to agree this was premature of the FTC and raises some flags of suspicion.

Kodezi

Lon Hosford did a demonstration of Kodezi. It an AI tool that will write code in 30 or more language, translate code between languages, optimize code, debug code and write documentation for code. Kodezi can be used through a web browser or it is available as a plugin to a few IDE environments that programmers use.

The demo was using the web browser version and free trial. The Roundtable members provided the descriptive request for the code and a Javascript and a C++ version of the code was produced. Software engineers in the group agreed the code was well written.

The the optimization and translation features were tried. The original code generated was Javascript. The translation feature was used to convert to C++. Optimization produced no changes to the code.

The code generated is inserted at the end of this post.

Mini – not Mac, Project Volterra and the Race to ARM

The group also evaluated some videos of development box that has the footprint of a Mac Mini. This is called Project Volterra. It is a developers box handsomely priced at $599 US that is targeted at getting developers to port their Windows and other OS apps to ARM which is the 64 bit processor world. Mac users already ARM level only apps. In the Windows world there seems less need to make a permanent jump to ARM. The general consensus of the group was that most applications for Windows in business do not need that level of processing power where as Mac kinda owns the heavy processing domains of video production.

AI Writing

Ken Powell use AI to write a poem about American Standard and a asked a question. Those were shared by members of the Tech Roundtable.

Chat Links

Demo Results

The Javascript program we asked Kodezi to write. Unfortunately Kodezi did not save the written prompt given to write the code. We missed including in the code to output the results. Also we seemed to overlooking saving the commented infused Javascript version after requesting it to generate the code documentation.

var list = [];
for (var i = 0; i < 20; i++) {
  list.push(Math.floor(Math.random() * 100));
}
list.sort(function(a, b) {
  return a - b;
});
var max = list[list.length - 1];
var min = list[0];
var sum = 0;
for (var i = 0; i < list.length; i++) {
  sum += list[i];
}
var mean = sum / list.length;
var mode = {};
for (var i = 0; i < list.length; i++) {
  if (mode[list[i]]) {
    mode[list[i]]++;
  } else {
    mode[list[i]] = 1;
  }
}
var maxCount = 0;
var maxMode = 0;
for (var key in mode) {
  if (mode[key] > maxCount) {
    maxCount = mode[key];
    maxMode = key;
  }
}
var median = list[Math.floor(list.length / 2)];
var variance = 0;
for (var i = 0; i < list.length; i++) {
  variance += Math.pow(list[i] - mean, 2);
}
var std = Math.sqrt(variance / list.length);

C++ program translated from the Javascript Program

#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
using namespace std;
int main() {
  /*
  Generates a random list of integers and prints the max, min, mean, mode, median, variance, and standard deviation.
  Parameters
  ----------
  None

  Returns
  -------
  int
      Return status code.
  */
  vector<int> list;
  for (int i = 0; i < 2; i++) {
    list.push_back(rand() % 100);
  }
  sort(list.begin(), list.end());
  int max = list[list.size() - 1];
  int min = list[0];
  int sum = 0;
  for (int i = 0; i < list.size(); i++) {
    sum += list[i];
  }
  int mean = sum / list.size();
  vector<int> mode;
  for (int i = 0; i < list.size(); i++) {
    if (find(mode.begin(), mode.end(), list[i]) != mode.end()) {
      mode.push_back(list[i]);
    }
  }
  int maxCount = 0;
  int maxMode = 0;
  for (int i = 0; i < mode.size(); i++) {
    int count = 0;
    for (int j = 0; j < list.size(); j++) {
      if (mode[i] == list[j]) {
        count++;
      }
    }
    if (count > maxCount) {
      maxCount = count;
      maxMode = mode[i];
    }
  }
  int median = list[list.size() / 2];
  int variance = 0;
  for (int i = 0; i < list.size(); i++) {
    variance += pow(list[i] - mean, 2);
  }
  int std = sqrt(variance / list.size());
  return 0;    // Highlight the string.
}

By Lon Hosford

Internet and Mobile Development Educator and Consultant Independent software developer with practical engineering project experience for clients such as AT&T, Avis, Bristol Myers Squibb, Ortho BioTech, Chanel, Avaya, Green Birdie Video, Aztec Learning Systems and Verizon Wireless. Lon is well known for translating client needs into useful applications. An interesting aspect of Lon's consulting work was the creation of industry jobs that did not exist before. That lead to hiring and training college students who were taught dead technologies at a time academia was woefully behind on the paradigm shifts in personal computing, the internet and today the distributed device environment often called mobile. Lon has taught thousands of students internet web development, animation and programming topics over two decades both privately and academically. He developed Multimedia Associated Degree program and courses for Raritan Valley Community College in the 1990s at a time when Macromedia Authorware and Director were tools. He is the founder, developer and educator for Raritan Valley Community College Web Developer Certification program also having its roots in the 1990s at the dawn of the internet. He also was a key curriculum developer and instructor for one of the Nation's first Web Developer Certification program offered through New Jersey Institute of Technology. Lon was also a technology instructor at the University of Phoenix Online. Lon over the years has produced educational video for topics including Paradox, Cobol, Java, Jasmine, C, C++, Linux, Flash, Cocos 2d and HTML. These courses were distributed and taught in Universities internationally when global was an emerging term.