Cloud Deployment; Course Recap
CSCI 344: Advanced Web Technologies
Fall 2024
Announcements
Outline
Outline
Quiz next Wednesday
Next Wednesday’s quiz will be one final JavaScript activity. Things it will test:
Let’s Do a Practice Activity
Course Reflection
Course Reflection: Web & Internet Architecture
Internet “Backbone”: Global
Static Web Page
Architecture
Weeks 1-6
Tutorials 2-6
Homework 2
Dynamic, Client-Side Architecture
Weeks 11-13, Tutorials 7-8, HW 3-4
Server-Side Architecture
Weeks 14-18, Tutorials 9-11, HW 5-6
Course Reflection: Design & Human Factors
Course Reflection: Client-Side Programming
HTML
CSS
Course Reflection: Client-Side Programming
JavaScript
Course Reflection: Server-Side Programming
On the “back end,” we covered quite a few concepts as well, including...
Course Reflection: Systems Literacy
And we also practiced some skills and ideas that made these explorations possible...
You’ve learned some powerful skills!
The skills we’ve been learning about in this class (and in others) give you incredible power. Let’s name those powers...
Keep Learning!
This course is a survey of many different techniques and ideas involving web technologies. But there’s a ton to learn!
Recommended next steps:
Some things to watch out for going forward...
Some Thoughts for Your Consideration...
1. Copyright & Fair Use
Copyright
Fair Use
Fair Use (in US copyright law) the doctrine that brief excerpts of copyright material may, under certain circumstances, be quoted verbatim for purposes such as criticism, news reporting, teaching, and research, without the need for permission from or payment to the copyright holder.
�However, it is difficult to discern whether your use of someone else’s data / content actually counts as fair use – often up to the courts.
Web Scraping
Web scraping refers to the extraction of data from a website. This information is collected and then exported into a format that is more useful for the user. Be it a spreadsheet or an API. Sample use cases:
�But web scraping isn’t necessarily legal by default, and it’s important to think through how you do it.
Fair Use & Web Scraping: Some Advice
Fair Use & Web Scraping: Some Advice
Case Study: Clearview AI & Facial Recognition
“The system — whose backbone is a database of more than three billion images that Clearview claims to have scraped from Facebook, YouTube, Venmo and millions of other websites — goes far beyond anything ever constructed by the United States government or Silicon Valley giants.
…allows users to potentially be able to identify every person they saw. The tool could identify activists at a protest or an attractive stranger on the subway, revealing not just their names but where they lived, what they did and whom they knew.”
28
Are OpenAI, Gemini, etc. Ruining the Internet?
Why should we care about this?
29
2. Privacy / Surveillance
Why do we care about data privacy?
Privacy by Design
Rather than considering privacy directly before the launch of a product, privacy protections for individuals are considered from the very beginning of the product / service development life cycle. Some key ideas:
What is GDPR?
The General Data Protection Regulation is a European Union privacy law that went into effect in 2018. 6 data processing principles, namely that data are:
Data Rights within GDPR
1. The right to be informed
2. The right of access
3. The right to rectification
4. The right to erasure (i.e. “the right to be forgotten”)
5. The right to restrict processing
6. The right to data portability
7. The right to object
8. Rights in relation to automated decision making and profiling
3. Recommending and Nudging
Recommendation Systems: Benefits & Possibilities
36
Recommendation Systems: Harms & Risks
37
Example: Practice Fusion Lawsuit
The San Francisco-based company, Practice Fusion, had developed a free software program that combed through data that doctors entered and suggested next steps for a treatment plan — known as CDS (clinical decision support) .
Practice Fusion & Pharma Co. X signed a $1 million contract with the understanding that Practice Fusion would help increase sales by targeting people who had never been prescribed opioids before (analytics, big data).
Example: Practice Fusion Lawsuit
..the pain CDS allowed Pharma Co. X to, in essence, be present in the exam room while they interacted with patients.
The rigged alerts popped up on doctors’ computers more than 230 million times between July 2016 and the spring of 2019, when criminal charges were filed. The health-care providers who received them prescribed extended-release opioids at a higher rate than those who didn’t, prosecutors say.
Example: Practice Fusion Lawsuit
Christina E. Nolan, the U.S. attorney for the District of Vermont, said in a Monday statement that Practice Fusion ...allowed the drug company to have its thumb on the scale at precisely the moment a doctor was making incredibly intimate, personal, and important decisions about a patient’s medical care, including the need for pain medication and prescription amounts,” she said.
She also noted that the company said advertising to doctors was its main source of revenue.
Example: Practice Fusion Lawsuit
Read more here...
4. Dark Patterns
Dark Patterns
Dark Patterns are tricks used in websites and apps that make you do things that you didn't mean to, like buying or signing up for something.
More info:
Closing Thoughts
Distributed systems are powerful! As you’re building your systems, it’s up to you to think about the implications of your code / designs. Some questions you might ask yourself:
Thank you!
Have a wonderful winter break.