Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7501bb0

Browse files
committed
fix: services link tag
fix: tags route
1 parent 19e3a8a commit 7501bb0

29 files changed

+372
-75
lines changed

next.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
/** @type {import('next').NextConfig} */
22

33
const nextConfig = {
4+
experimental: {
5+
outputFileTracingIncludes: {
6+
'/blog': ['./public/**/*'],
7+
},
8+
},
9+
410
headers() {
511
return [
612
{

public/blogs/ab-testing.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ seoTitle: Pitfalls of overreliance on A/B tests for complex decisions
44
summary: The overreliance on A/B tests for complex decisions
55
isReleased: true
66
isSequel: false
7-
lastModDate: 2024-01-14T09:15:00-0401
8-
firstModDate: 2024-01-14T09:15:00-0401
7+
lastModDate: 2024-01-22T09:15:00-0401
8+
firstModDate: 2024-01-22T09:15:00-0401
99
minutesToRead: 5
1010
tags:
1111
- 'testing'

public/blogs/async-python.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,36 @@ seoTitle: How Async Python Works Under The Hood
44
summary: How it really works under the hood
55
isReleased: true
66
isSequel: false
7-
lastModDate: 2022-02-01T09:15:00-0401
8-
firstModDate: 2022-02-01T09:15:00-0401
7+
lastModDate: 2020-02-02T09:15:00-0401
8+
firstModDate: 2020-02-02T09:15:00-0401
99
minutesToRead: 7
1010
tags:
1111
- 'python'
1212
- 'async'
1313
- 'typing'
1414
---
1515
<C>
16-
You may have encountered explanations that appear overly simplistic, merely emphasizing the importance of async programming without delving into the mechanics or exploring high-level APIs such as the <L href="https://github.com/python/cpython/tree/main/Lib/asyncio">`asyncio`</L> module in the standard library. Clearly, you already understand the significance and use cases, so let's cut to the chase and see how it actually works.
16+
You may have encountered explanations that appear overly simplistic, merely emphasizing the importance of async programming without going into the mechanics or exploring high-level APIs such as the <L href="https://github.com/python/cpython/tree/main/Lib/asyncio">`asyncio`</L> module in the standard library. Clearly, you already understand the significance and use cases, so let's cut to the chase and see how it actually works.
1717
</C>
1818
<H2>Pausing</H2>
1919
<C>
20-
So, what's the deal with async functions in Python? We all know they pause execution until some operation resolves, right? but how does this mechanism truly operate? To understand this, let's take a step back and delve into the foundational concept:
20+
So, what's the deal with async functions in Python? We all know they pause execution until some operation resolves, right? but how does this mechanism truly operate? Let's take a step back and check out a foundational concept:
2121
</C>
2222
<H2>Iterators</H2>
2323
<C>
24-
An iterator serves as a programming object that facilitates the systematic traversal of a <L href="https://en.wikipedia.org/wiki/Container_(abstract_data_type)">container</L>, granting access to its elements one at a time. It maintains the state of the traversal, allowing the iterator to pause execution after processing a specific item. To continue, a call to the `next()` method, typically named by convention, is made. This call prompts the iterator to resume execution and retrieve the next element in the sequence. This iterative process persists until the iterator reaches the end of the container, and this approach is commonly referred to as lazy evaluation.
24+
An iterator serves as a programming object that facilitates the systematic traversal of a <L href="https://en.wikipedia.org/wiki/Container_(abstract_data_type)">container</L>, granting access to its elements one at a time. It maintains the state of the traversal, allowing the iterator to pause execution after processing a specific item. To continue, a call to the `next()` method, which is typically named by convention, is made. This call prompts the iterator to resume execution and retrieve the next element in the sequence. This iterative process persists until the iterator reaches the end of the container, and this approach is commonly referred to as lazy evaluation.
2525
</C>
2626
<S3/>
2727
<C>
28-
The key concepts here are the actions of pausing, resuming, and awaiting the next element. These notions become particularly relevant and meaningful when correlated with the concept of asynchronous functions, the idea of pausing and resuming execution aligns with the asynchronous nature of handling tasks, allowing the program to efficiently manage and switch between various operations without blocking the entire execution flow. The term "await" further emphasizes this waiting aspect, where the program can await the completion of a specific asynchronous task before proceeding, we call this task a <L href="#related-objects">``Future``</L> , echoing the behavior of iterators in a more dynamic and non-blocking context.
28+
The key concepts here are the actions of pausing, resuming, and awaiting the next element. These notions become particularly relevant and meaningful when correlated with the concept of asynchronous functions, the idea of pausing and resuming execution aligns with the asynchronous nature of handling tasks, which allows the program to efficiently manage and switch between various operations without blocking the entire execution flow. The term "await" further emphasizes this waiting aspect, where the program can await the completion of a specific asynchronous task before proceeding, we call this task a ``Future``, more on this <L href="#related-objects">later.</L>
2929
</C>
3030
<H2>How Do I Create An Iterator</H2>
3131
<C>
3232
To define your own iterator you have to adhere to the iterator <L href='/blog/python-protocols'>protocol</L> meaning you have to define `__iter__` and `__next__` methods
3333
</C>
3434
<H3>**``__iter__``**</H3>
3535
<C>
36-
The purpose of the ``__iter__`` method is to return the iterator object itself. When this method is implemented in a class, it allows instances of that class to be used in a ``for`` loop or any other iteration context. By returning the iterator object, it enables the iteration over the elements of the associated object.
36+
The purpose of the ``__iter__`` method is to return the iterator object itself. When this method is implemented in a class, it allows instances of that class to be used in a ``for`` loop or any other iteration context. In other words, it enables the iteration over the elements of the associated object.
3737
</C>
3838
<H3>**``__next__``**</H3>
3939
<C>
@@ -99,7 +99,7 @@ The invocation of `__anext__` involves the use of the `async` and `await` keywor
9999
</C>
100100
<H2 id="what-is-an-awaitable?">What Exactly Is An **``awaitable``**</H2>
101101
<C>
102-
An ``awaitable`` is an object that can be used with the `await` keyword within an async function. It typically represents an operation that may not be immediately completed, such as an asynchronous task or a <L href="#related-objects">``Future``</L> object. Essentially, an awaitable is anything that can be awaited for its completion, allowing the program to proceed with other tasks.
102+
An ``awaitable`` is an object that can be used with the `await` keyword within an async function. It typically represents an operation that may not be immediately completed, such as an asynchronous task or a <L href="#related-objects">``Future``</L> object.
103103
</C>
104104
<H2>How Do I Define An **``awaitable``**</H2>
105105
<C>

public/blogs/code-silos.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ seoTitle: Code Silos Are One Of The Major Reasons Over Why Your Project Fails
44
summary: Afraid of losing that one programmer ?
55
isReleased: true
66
isSequel: false
7-
lastModDate: 2022-12-17T09:15:00-0401
8-
firstModDate: 2022-12-17T09:15:00-0401
7+
lastModDate: 2022-12-15T09:15:00-0401
8+
firstModDate: 2022-12-15T09:15:00-0401
99
minutesToRead: 4
1010
tags:
1111
- 'management'

public/blogs/csrf-mitigation.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ seoTitle: CSRF Mitigation techniques
44
summary: If you're vulnerable to XSS, none of this will work
55
isReleased: true
66
isSequel: false
7-
lastModDate: 2020-09-04T09:15:00-0401
8-
firstModDate: 2020-09-04T09:15:00-0401
7+
lastModDate: 2020-07-04T09:15:00-0401
8+
firstModDate: 2020-07-04T09:15:00-0401
99
minutesToRead: 7
1010
tags:
1111
- 'csrf'

public/blogs/framer-motion.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ seoTitle: Supercharge Animations in React with Framer Motion
44
summary: Supercharge animations in React
55
isReleased: false
66
isSequel: false
7-
lastModDate: 2020-02-17T09:15:00-0401
8-
firstModDate: 2020-02-17T09:15:00-0401
7+
lastModDate: 2020-02-14T09:15:00-0401
8+
firstModDate: 2020-02-14T09:15:00-0401
99
minutesToRead: 4
1010
tags:
1111
- 'react'

public/blogs/front-end-performance.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@ seoTitle: How to optimize your frontend perf metrics
44
summary: How to optimize your frontend perf metrics
55
isReleased: true
66
isSequel: false
7-
lastModDate: 2021-10-02T09:15:00-0401
8-
firstModDate: 2021-10-02T09:15:00-0401
7+
lastModDate: 2021-10-04T09:15:00-0401
8+
firstModDate: 2021-10-04T09:15:00-0401
99
minutesToRead: 5
1010
tags:
1111
- 'performance'
1212
- 'front-end'
1313
- 'react'
1414
---
15-
15+
<C>
16+
*Guide for the impatient*
17+
</C>
1618
<C>
1719
Before I start, I just want to say that you have to always ensure that there's something happening, even if you anticipate heavy client-side load. Display something interesting upon loading instead of leaving the page blank, otherwise, users might assume it's broken and leave, especially with the short attention span these days, if people don't see something interesting they're going to bounce.
1820
</C>

public/blogs/fundamentals.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The question is, how do I learn or where do I even look ? The answer is simple:
3737

3838
<H2>Getting Duped</H2>
3939
<C>
40-
You know what's the best way to make money in a gold rush? Sell shovels. In the 21st century, you sell people dreams.
40+
You know what was the best way to make money in the gold rush? Selling shovels. In the 21st century, you sell people dreams.
4141
</C>
4242
<C>
4343
Stop falling prey to the false promises peddled by individuals and institutions eager to take your money by selling you unrealistic dreams. Just as you can't expect to achieve six-pack abs and bulging biceps in four weeks with a magical training program advertised by some juiced up guy on Instagram when you haven't stepped in the gym for a day in your life, you shouldn't expect to become a "full-stack" developer in 3 months through bootcamps.
@@ -81,7 +81,7 @@ I can't precisely outline a <L href="https://roadmap.sh">roadmap</L> for you bec
8181
Just pick a thing, complex or simple, anywhere that you think might be interesting, then keep asking why does this thing exist? What problem is it trying to solve? and follow the trail. By doing so, you'll find yourself going deep into the <L href="https://youtu.be/zE7PKRjrid4?si=24T8DoioD-7WotOC&t=93">rabbit hole</L>. It is an intricate journey, but after such a deep dive, you'll find yourself surpassing 99% of individuals out there who don't ask questions and don't even put in any effort at all, just accepting the information as is, and that goes out for everything not just software engineering.
8282
</C>
8383

84-
<H2>Conclusion</H2>
84+
<H2>The Backwards Education System</H2>
8585
<C>
8686
Unfortunately, education that's most marketed out here often falls short of its ideal purpose. It tends to prioritize surface-level familiarity with an array of tools and technologies—many of which are ephemeral, destined to fade into obsolescence within a few short years, just to make a quick buck off of people that lack guidance. Genuine mastery, however, requires transcending the superficial and understanding the fundamental principles that underpin the field. Rather than merely focusing on the latest frameworks and trends, you should strive to grasp how technologies truly function and question the abstractions provided by these different tools, isn't this what <L href='/blog/shitty-colleges'>colleges</L> are for?
8787
As you dive deeper into the journey, with time, you'll inevitably begin to question the validity of certain concepts you've came across along the way. When you find yourself forming your own opinions and insights, it's a sign that you're quite advanced in your mastery of the craft.

public/blogs/gmail-infinite-glitch.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ seoTitle: Google email variations with dots are treated the same, allowing unlim
44
summary: Google allows registration exploits.
55
isReleased: true
66
isSequel: false
7-
lastModDate: 2019-10-15T09:15:00-0401
8-
firstModDate: 2019-10-15T09:15:00-0401
7+
lastModDate: 2019-10-10T09:15:00-0401
8+
firstModDate: 2019-10-10T09:15:00-0401
99
minutesToRead: 2
1010
tags:
1111
- 'rants'

public/blogs/gsap-just-got-better.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ seoTitle: Using the newly added useGSAP() hook as a drop-in replacement for UseE
44
summary: GSAP just added useGSAP() hook for React
55
isReleased: false
66
isSequel: false
7-
lastModDate: 2024-01-19T09:15:00-0401
8-
firstModDate: 2024-01-19T09:15:00-0401
7+
lastModDate: 2024-01-05T09:15:00-0401
8+
firstModDate: 2024-01-05T09:15:00-0401
99
minutesToRead: 1
1010
tags:
1111
- 'react'

0 commit comments

Comments
 (0)