Skip to content
Naman on GitHub Naman on Twitter

CS 373 Spring 2024: Naman Arora

Naman Arora

What did you do this past week?

This week I worked on the IDB project with my team for my SWE class. I also worked on the Voting project for my OOP class.

What's in your way?

I have been putting off work recently and as a result I have fallen a bit behind. I also have some exams coming up, so I need to study for those.

What will you do next week?

Since I have fallen a bit behind, this week I will work towards finishing my work. I will continue working on the IDB project for SWE and the begin project 3 for OOP. I also plan to study for my tests.

What did you think of Paper #5. The Single Responsibility Principle?

The Single Responsibility Principle ensures that each part of the code has its own specific job, programmers can make their code easier to understand, modify, and maintain. For example, if a part of the code is responsible for handling user input, it should focus solely on that task without also managing data storage or displaying output. This principle helps prevent code from becoming tangled and makes it more efficient, ultimately saving time and reducing errors in software development.

What did you think of iter() on iterators, equality, indexability, and operators?

In Python, iter() is a built-in function used to create an iterator object from an iterable object like a list, tuple, or string. Iterators are objects that allow traversal through elements in a sequence, typically used in loops like for loops.

Equality in Python is generally checked using the == operator. It compares the values of two objects to determine if they are equal. It's important to note that equality can be customized for user-defined objects by implementing special methods like __eq__().

Indexability refers to the ability to access elements in a sequence using an index. Indexing in Python typically starts from 0 for the first element. Lists, tuples, and strings are examples of indexable objects in Python.

Operators in Python are symbols or keywords used to perform operations on operands. Python supports a wide range of operators including arithmetic, comparison, logical, bitwise, assignment, and identity operators. Operators can be overloaded by defining special methods like __add__(), __sub__(), etc., allowing custom behavior for user-defined objects.

What made you happy this week?

This week, I visited home, which made me happy.

What’s your pick-of-the-week or tip-of-the-week?

This week, OpenAI introduced Sora, a text-to-video generator, showcasing its ability to create short videos based on written commands using generative ai. While similar technology exists, analysts commend the high quality of Sora's videos, marking a significant advancement in text-to-video generation. Despite its potential, concerns about ethical and societal implications, particularly in areas like politics and misinformation, loom large.

Sora is ChatGPT maker OpenAI’s new text-to-video generator