Author Topic: AI as a Tool for CEO's  (Read 525 times)

Offline CptTrips

  • Plutonium Member
  • *******
  • Posts: 9010
Re: AI as a Tool for CEO's
« Reply #60 on: Today at 10:56:13 AM »
I'm not sure what your point is but I just asked Gemini to write a c program to ask my name, age, and dimensions for which to calculate area. Took may a second.

Claude says, "Hold my beer...."

I asked him to take your ANSI C and convert it to Python.

"""
@brief The main function runs the area calculation program.

It prompts the user for their name and age, then asks for the
length and width of a rectangle, calculates the area, and prints
a personalized result.
"""

def main():
    # Variable Declarations
    # Variables to store user information and rectangle dimensions
    name = ""      # String to store the user's name
    age = 0        # Integer to store the user's age
    length = 0.0   # Float to store the length of the rectangle
    width = 0.0    # Float to store the width of the rectangle
    area = 0.0     # Float to store the calculated area
   
    # --- 1. Get Personal Information ---
    # Prompt for and read the user's name
    try:
        name = input("Hello! Please enter your name: ").strip()
        if not name:
            print("Error: Name cannot be empty.")
            return 1
    except Exception as e:
        print(f"Error reading name: {e}")
        return 1
   
    # Prompt for and read the user's age
    try:
        age = int(input("And what is your age? "))
    except ValueError:
        print("Error reading age.")
        return 1
   
    # --- 2. Get Dimensions ---
    print(f"\nThank you, {name}! Now, let's calculate an area.")
    print("We will calculate the area of a rectangle.")
   
    # Prompt for and read the length
    try:
        length = float(input("Enter the length of the rectangle: "))
    except ValueError:
        print("Error reading length.")
        return 1
   
    # Prompt for and read the width
    try:
        width = float(input("Enter the width of the rectangle: "))
    except ValueError:
        print("Error reading width.")
        return 1
   
    # --- 3. Calculate and Display Result ---
    # Calculate the area
    area = length * width
   
    # Display the personalized output and the result
    print("\n--- Calculation Summary ---")
    print(f"Name: {name}")
    print(f"Age: {age}")
    print(f"Dimensions entered: Length={length:.2f}, Width={width:.2f}")
    print(f"The calculated area of the rectangle is: {area:.2f} square units.")
    print(f"Keep up the great work, {name}!")
   
    return 0  # Indicate successful execution


# Run the main function
if __name__ == "__main__":
    main()


Toxic, psychotic, self-aggrandizing drama queens simply aren't worth me spending my time on.

Offline AKIron

  • Plutonium Member
  • *******
  • Posts: 13863
Re: AI as a Tool for CEO's
« Reply #61 on: Today at 10:57:26 AM »
Took my about 30 seconds to formulate and type my request. About 5 seconds for Gemini to generate the script. Based on past experience this will work.

Here we put salt on Margaritas, not sidewalks.

Offline CptTrips

  • Plutonium Member
  • *******
  • Posts: 9010
Re: AI as a Tool for CEO's
« Reply #62 on: Today at 11:03:03 AM »
Of course these are childish examples.

If you are in tech you surely know what Slack.com is.

The new version of Claude 4.5 was able to completely recreate a functional reproduction of Slack.com.

It chewed for about 30 hours and reproduced a complete copy that functioned identically.

Slack is a $20bil company and an off the shelf AI duped their platform from a single prompt in 30 hours of work.

That amount of tokens wouldn't be cheap (maybe $1,000), but I suspect a lot less than $20bil. 


Tell me that tech isn't going to be massively disruptive in the next couple of years.  I double-dog dare you.




« Last Edit: Today at 11:15:35 AM by CptTrips »
Toxic, psychotic, self-aggrandizing drama queens simply aren't worth me spending my time on.

Offline Busher

  • Gold Member
  • *****
  • Posts: 2407
Re: AI as a Tool for CEO's
« Reply #63 on: Today at 11:49:44 AM »
You guys just ruined my sarcasm.  :mad:
Being male, an accident of birth. Being a man, a matter of age. Being a gentleman, a matter of choice.

Offline CptTrips

  • Plutonium Member
  • *******
  • Posts: 9010
Re: AI as a Tool for CEO's
« Reply #64 on: Today at 11:59:05 AM »
You guys just ruined my sarcasm.  :mad:

OH, AI can produce garbage.  But it's a moving target.  It's literally getting better by the hour.

I have stuff that was getting marginal results just a couple of weeks ago.  I'm now getting significantly better output even though I haven't changed a thing.

It's getting smarter.

Just don't call him NOMAD or M-5 when you get mad.  (Geek warning)
I had to threaten him once with being stripped down to bare metal and shipped to Bakhmut to be used as plate armor. 

On the other hand, I have also leaned back in my chair gob-smacked at what I just got him to do with little effort that would have taken me weeks.

99% of the time there are problems it is the human who has poorly spec'd the work.  The spec is the new code.

But it is true, AI even a couple of weeks ago was noticeably dumber.



And yes, AI COMPANIES are in a bubble.

That is normal with bleeding edge tech.  A lot of startups trying to grab that golden ring. 
There will be a painful consolidation.

That has nothing to do with the underlying tech.  The actors on stage will change, the AI play shall go on unworried.  It's just a matter who gets rich.






This stuff is moving so fast.  There are a million channels but this is my favorite check in to keep up to date.  And yes, if you want to keep up to date it is an everyday effort.  Stuff is moving that fast.

Nate reads everything and strips down to the most important info.  It's curation.
https://www.youtube.com/@NateBJones

These guys aren't a pure AI play, but the have really intelligent panel discussions and AI has been owning a large amount of the mind-share lately.









« Last Edit: Today at 12:38:53 PM by CptTrips »
Toxic, psychotic, self-aggrandizing drama queens simply aren't worth me spending my time on.

Online AKKuya

  • Gold Member
  • *****
  • Posts: 2836
Re: AI as a Tool for CEO's
« Reply #65 on: Today at 03:08:50 PM »
There's probably already a self-aware AI program loose in the web right now.  It's reading these posts as we dialogue amongst ourselves.  It's tracking our IP addresses for a coordinated killing spree.  Tomahawks are coming.
Future CEO of Section Eight Society
Rule #1 I make the rules
Rule #2 If in doubt, refer to above rule

Offline Busher

  • Gold Member
  • *****
  • Posts: 2407
Re: AI as a Tool for CEO's
« Reply #66 on: Today at 04:14:22 PM »
Maybe AI can start to re-write recent history to someone's personal liking.
Being male, an accident of birth. Being a man, a matter of age. Being a gentleman, a matter of choice.

Offline AKIron

  • Plutonium Member
  • *******
  • Posts: 13863
Re: AI as a Tool for CEO's
« Reply #67 on: Today at 04:55:01 PM »
I read Wikipedia will soon have a challenger. No one should have a monopoly on the purveyance of facts.
Here we put salt on Margaritas, not sidewalks.