UCONN

UCONN
UCONN

Saturday, February 1, 2025

Assignment #2 due Friday 2/7/25

 Assignment #2 due Friday 2/7/25

Create a web site with 

main page of index.html and 2 other linked original content  html pages 
At least 2 links to public web pages you did not build.
Web site must have
HTML FORM  to collect
Name
Major
Graduation Year
What you want to do?
High school you went to?
Town you live in?
Favorite subject growing up?
What are you passionate about?
Favorite band or musician?
Favorite song?
What company or organization would you like to for for?

CSS with fonts, colors 
Background colors

at least 2 Images from google

Use blog for reference

Detailed directions

  Web Assignment   First select Cloud Storage then Buckets Next hit +CREATE BUCKET Select a unique name for the bucket Select Region for wh...
uconnstamfordslp.blogspot.com


My site can also be used as reference but do not copy

Right click and view page source to see code
Choose any topic you like.

Use your own downloaded images

Please send me a link to your main index page so I can review via my email john.iacovacci@uconn.edu
Thanks


Adjunct Professor John Iacovacci

University of Connecticut, Stamford
John.Iacovacci@uconn.edu


Thursday, January 23, 2025

Assignment #1 due 1/31/25

https://uconnstamfordslp.blogspot.com/p/linux-explained.html

Create a linux shell program to state


Name
Major
Graduation Year
What you want to do?
High school you went to?
Town you live in?
Favorite subject growing up?
What are you passionate about?
Favorite band or musician?
Favorite song?
What company or organization would you like to for for?

Send both code and output attachment via email

Attach the my_info.txt file to your email


List all lines of code

Program
#!/bin/bash
# My First scripts
echo "Enter your full name : "
read my_name
echo "Enter your major : "
read my_major
echo "Enter the year you will graduate : "
read my_graduation
echo "My Name is : " $my_name
echo "My major is : " $my_major
echo "I will graduate in the year : " $my_graduation

Output
output

john_iacovacci1@cloudshell:~/scripts (uconn-engr)$ ./my_profile
Enter your full name :
John Iacovacci
Enter your major :
Computer Science
Enter the year you will graduate :
2026
My Name is :  John Iacovacci
My major is :  Computer Science
I will graduate in the year :  2026



Tuesday, December 17, 2024

Disable Billing

Search for Billing Manage billing accounts Go to MYPROJECTS CLICK ON THE 3 BUTTON Actions Then hit disable

Wednesday, November 20, 2024

Assignment #11 due 12/6/24

  Using the Codelab on Sentiment Analysis




Take any paragraph of text and score it for sentiment and entity recognition.

Send me the output via email

Example

text = """Artificial intelligence may be one of the biggest technological leaps in history. It is poised to unlock new business models, transform industries, reshape people’s jobs, and boost economic productivity. Goldman Sachs is uniquely positioned to understand this fast-moving revolution. With our research across markets as well as our work with clients, we aim to provide meaningful analysis of this radical change and its implications for investors, companies, and the global economy."""


results


In [16]: show_text_sentiment(analyze_sentiment_response)

At sentence level:
   score | sentence
---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    +0.5 | Artificial intelligence may be one of the biggest technological leaps in history.
    +0.2 | It is poised to unlock new business models, transform industries, reshape people’s jobs, and boost economic productivity.
    +0.3 | Goldman Sachs is uniquely positioned to understand this fast-moving revolution.
    +0.4 | With our research across markets as well as our work with clients, we aim to provide meaningful analysis of this radical change and its implications for investors, companies, and the global economy.

At document level:
   score |   magnitude | language
---------+-------------+------------
    +0.4 |        +1.6 | en

In [17]:

for name

In [20]: show_text_entities(analyze_entities_response)
 name                    | type          |   salience | mid       | wikipedia_url
-------------------------+---------------+------------+-----------+---------------------------------------------
 Artificial intelligence | OTHER         |        22% |           |
 one                     | PERSON        |        22% |           |
 leaps                   | OTHER         |        18% |           |
 history                 | OTHER         |         7% |           |
 business models         | CONSUMER_GOOD |         3% |           |
 analysis                | OTHER         |         3% |           |
 productivity            | OTHER         |         2% |           |
 industries              | OTHER         |         2% |           |
 jobs                    | OTHER         |         2% |           |
 people                  | PERSON        |         2% |           |
 revolution              | OTHER         |         2% |           |
 research                | OTHER         |         2% |           |
 markets                 | OTHER         |         2% |           |
 change                  | OTHER         |         2% |           |
 implications            | OTHER         |         2% |           |
 Goldman Sachs           | ORGANIZATION  |         1% | /m/01xdn1 | https://en.wikipedia.org/wiki/Goldman_Sachs
 investors               | PERSON        |         1% |           |
 companies               | ORGANIZATION  |         1% |           |
 economy                 | OTHER         |         1% |           |
 work                    | OTHER         |         1% |           |
 clients                 | PERSON        |         1% |           |
 one                     | NUMBER        |         0% |           |

Wednesday, November 13, 2024

Assignment #10 due 11/22/24

  Assignment #10 due 11/22/24


https://uconnstamfordslp.blogspot.com/p/vision-example-explained.html

Load 5 python programs that will use Google Vision API to scan 5
separate images.


Note: need to use your own images and store them on your Google Storage Bucket

Download images from internet and store on your cloud storage bucket.

image_uri = 'gs://cloud-samples-data/vision/using_curl/shanghai.jpeg'

Example image_uri = "gs://jiacovacci/knicks.jpg"

Using text detect

'sphere\nNYC\nNEW YORK\n30\nNYC'           | (224,171),(403,171),(403,411),(224,411)
'sphere'                                   | (329,181),(350,180),(350,187),(329,188)
'NYC'                                      | (235,181),(267,179),(268,195),(236,197)
'NEW'                                      | (227,225),(285,217),(291,255),(232,264)
'YORK'                                     | (296,215),(363,206),(369,244),(301,254)
'30'                                       | (254,270),(345,267),(347,327),(256,330)
'NYC'                                      | (372,397),(399,389),(403,403),(376,411)

In [23]:

Send me the output from each run of the function in an email
Assignment 


Thursday, October 31, 2024

Assignment #9 Due 11/8/24

 Assignment #9 Due 11/8/24

Create a linux shell program to state


Name
Major
Graduation Year
What you want to do?
High school you went to?
Town you live in
Favorite subject growing up?
What i am passionate about?
What company or organization would you like to for for?

Create a text file called mydata.txt that consist of the lesson 1


shell script exercise using standard output redirection



Leveraging Assignment 1


Create a linux shell program to state name, major, what you want to do
and high school, favorite subject growing up, what i am passionate about


john_iacovacci1@cloudshell:~/scripts (uconn-engr)$ ./my_profile
Hello my name is John Iacovacci

Email to john.iacovacci@uconn.edu



Redirect the data to a text file called mydata.txt using link below
https://uconnstamfordslp.blogspot.com/p/encrypt-and-decrypt-data-with-cloud-kms.html

Encrypt the file and email me both the mydata.txt file and the mydata.txt.enc






Assignment 10 due before grading

  Pick any stock and send me the linear regression chart for that stock. https://uconnstamfordslp.blogspot.com/p/machine-learning-exercise.h...