What did you do this past week?
This week I worked on the IDB project with my team for my SWE class. I also began working on the Allocator 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, which includes implementing the backend and continuing to work on project 3 for OOP. I also plan to study for my exams, which are next week.
What did you think of Paper #6: The Open-Closed Principle.
The Open-Closed Principle is an important rule in computer programming that encourages developers to design software components in a way that allows them to be easily extended without modifying their existing code. By following this principle, programmers can create more flexible and reusable code. Instead of constantly changing existing code, they can add new features or functionalities by simply extending the existing classes or modules. This helps to minimize the risk of introducing bugs or errors while making the code easier to maintain and understand. Ultimately, the Open-Closed Principle promotes better software design, making programs more adaptable to future changes and enhancements.
What did you think of my_range, yield, and Digits?
In Python, my_range and yield are tools for handling sequences, but they work in distinct ways:
my_range: This function generates an efficient sequence of numbers within a specified range. It doesn't store the entire sequence in memory at once, but rather calculates each element as it's needed, making it memory-efficient for large ranges. yield: This keyword is used within functions to create generators. Generators pause execution and "yield" one element at a time, allowing them to work with large datasets without needing to store everything in memory at once. This is particularly useful when processing large data streams or iterating over complex calculations where storing all elements would be impractical.
In the Digits excercise, we got to use the ideas we built upon in class to build a Digits class to build an iterable class.
What made you happy this week?
This week, I went out with my friends a few times, and as a result made some good college memories.
What’s your pick-of-the-week or tip-of-the-week?
Lenovo unveiled a pretty cool transparent laptop concept called the ThinkBook Transparent Display Laptop at MWC 2024. The 17.3-inch screen uses MicroLED technology and can vary from 55% transparent to fully opaque. When transparent, objects behind the laptop can be seen. Interstingly, the bottom half of the screen can also function as a drawing tablet. However, the transparent screen is still low resolution at 720p. Lenovo hopes to find useful applications for the transparent display to potentially include it in a commercial laptop within 5 years.
Peering through Lenovo’s transparent laptop into a sci-fi future