Techstructive Weekly #0
Week #0
This week was about writing one of the much-procrastinated blog posts, starting a YouTube channel, and going through some heavy debugging sessions with my colleagues at work.
Quote of the week
It’s harder to say things which are easier to do, and easier to say things which are harder to do
(It’s just my random thought converted to a quote)
Seriously think about this quote, it is easier to say I will go to the gym daily, and read books, but working on them is it hard. Why is the harder to say that I am scrolling through Twitter, and Instagram, having burnout, but taking action against it is sheer a change in mindset?
Thanks for reading Techstructive Weekly! Subscribe for free to receive new posts and support my work.
Wrote
- Nginx Creating Web Applications - Part 2 of my Nginx Survival Guide
I finally wrote my second post in the Nginx Survival guide, after procrastinating for a couple of months, this weekend, I’ll be writing a post on the Golang series. So, keep an eye out for that.
Read
I am Tired of AI content: It is tiring to read AI-generated content spam on most of the blogging/social media platforms. Please, guys, write genuinely value-adding (authentic) content for yourself at least, don’t try to shine in the eyes of others, it would do more harm than good.
StackOverflow Developer Survey 2024: This was important to reflect on the state of developers in 2024, especially after the wild layoff and AI-hype phase. Also one of the things I noticed was that remote and hybrid companies are still covering around 80% of the jobs, which is a good number, to be honest.
Saiyam Pathak’s 2021 Year reflection: There is always a year in someone’s life that they don’t want to remember, it is hard to lose someone very close to you. May life never cross such paths. But Saiyam Pathak’s journey is an inspiration to take from, he is an ambassador in CNCF, founder of Kubesimplify, and an online educator and mentor. What a journey, what a man.
Watched
SQLite CTEs: A recursive CTE in SQLite is a handy way to run repeated queries to build up results step-by-step, like creating a sequence of numbers or working with hierarchical data. You start with a base query, then keep adding to it until you get the full set of results. It’s a neat trick for straightforwardly managing complex data patterns.
Git Fork Vs Clone: This video is more than explaining Fork vs Clone, obliviously I know the difference between them but Primeagen goes beyond that and explains the workflow for contributing to an open-source project, and trying to matter more than merging :) Also, I can relate how much the importance of viewing the changes on GitHub before creating the PR is, have been there and I do it all the time, had saved me a lot of time from colleagues’ reviews.
Learnt
Google Cloud Run Min and Max Instances: We can define certain number of containers to run at minimum or maximum. The minimum number prevents the time wasted on cold start if the service is inactive for long, and maximum number would allow us to scale the number of incoming requests(it largely depends on the implementation as well). GCP Cloud Run Minimum and Maximum Instances Config.
Python Itertools Product: Imagine you’re tasked with exploring every possible outcome of a scenario where each decision can be either negative, neutral, or positive. To systematically tackle this, Python’s
itertools.product
is handy. By setting upitertools.product([-1, 0, 1], repeat=n)
, that generates every combination of these choices, repeatedn
times.For instance, if
n
were 2, output (-1, -1), (-1, 0), (0, 1), and so forth—every pairing of -1s, 0s, and 1s. This method spares you from manually scripting nested loops, ensuring clarity and efficiency in your code. To further inject the output of this in the python code, cast the itertool object to list aslist(itertools.product([-1, 0, 1], repeat=n)).
Becoming a Never Nester: I kind of start with simple if-else but end up with nested if else conditions, I don’t know I am just hacking around, making the solution work. That’s the first phase right of make it work, make it correct, make it fast. Sometimes, after making it work, out of excitement I forget to make it readable and correct, which might lead to bad code down the line. So, I need to learn to make a habit to resist using nested if-else(or any nested code) at the first place.
Tech News
Meta released its updated LLM Model: Llama 3.1, It’s a 405B model, offering support for 128K context length and multiple languages. That is a big number but not sure if it is a big shift in the quality of the LLMs these days, the trend is moving a bit slowly now. Possibly a cap before something improves the results.
OpenAI to launch AI search: So there is finally a worthy rival to Google search it seems, but can’t comment till we see the results.
Mistral Large 2: It has 123 billion parameters, improved code generation, multilingual support, and better reasoning. It features a 128k context window and supports numerous languages and coding languages.
For more updates, I follow hackernews.
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.