Techstructive Weekly: Issue 5

Week #5

This week felt like a slog, with many challenges and frustrations. However, by the end of the week, I found my stride and got excited about the direction I’m heading. It’s amazing how quickly things can shift from feeling like the end of the world to experiencing a burst of excitement.

I also managed to get the side project of the Meta AI API wrapper in Golang correctly, over the weekend will polish this project and also fix the bug in the Chat GPT anonymous client in Python.

Thanks for reading Techstructive Weekly! Subscribe for free to receive new posts and support my work.

Quote of the week

“Success is not final, failure is not fatal: It is the courage to continue that counts.”
— Winston Churchill

As a developer, you will experience both triumphs and challenges. Your journey might feel like a rollercoaster, swinging from highs to lows in a single day. Embrace the mantra: Build, Iterate, Release. There is no ultimate success or failure, and no product is ever perfect. What matters is the continuous improvement and learning you gain along the way.

Read

Watched

This had some good insights and provided some guidance on how to get internships through networking and building the way up the ladder as a software developer.

Learned

This is the function, nice simple and modular.

import random


def shuffle_lists(*lists):
    """
    Shuffles two or more lists while keeping the order of corresponding elements the same.
    
    Args:
    *lists: Two or more lists to be shuffled.

    Returns:
    A tuple of shuffled lists with the same order of corresponding elements.
    """
    # Check if all lists have the same length
    if len(set(len(lst) for lst in lists)) != 1:
        raise ValueError("All input lists must have the same length.")

    # Create a list of indices
    indices = list(range(len(lists[0])))

    # Shuffle the indices
    random.shuffle(indices)

    # Reorder all lists using the shuffled indices
    shuffled_lists = tuple([lst[i] for i in indices] for lst in lists)

    return shuffled_lists

Tech News

For more news, follow the Hackernewsletter https://mailchi.mp/hackernewsletter/714 and for daily developer articles, join daily.dev


That’s it from this week, hope you did well this week, and have a happy week and weekend ahead!

Thank you for reading, let’s catch up in the next week.

Happy Coding :)

Thanks for reading Techstructive Weekly! Subscribe for free to receive new posts and support my work.