teleren/devto huggingface dataset:
Connect-Four Game
Tags: python, beginners
Published: 2023-12-30 08:25:21

## Project Introduction
Just finished up with my first python project inside Codecademy's Computer Science Career Path. Not that I haven't made anything in python so far.
4 years back when I first started coding, I made a lot many projects, easier to complicated, but had to leave it coding in 2021. Deleted my accounts, my repositories and my offline projects. Now I've started fresh and new again.

***

## Project Description
This project implements the connect four multiplayer game in the terminal where two players take turn to push in their tokens inside the grid. These first one to connect four checkers in a row while preventing the opponent to do so wins the game.
This project was indeed an amazing experience. While coding, the toughest part was to build up a logic to check for a match horizontally, vertically or diagonally.

## What I learnt
This project helped me freshen up my memories and give me a good grasp of the basics. I'll now be moving up to Data Structures and Algorithms. I seldom remember anything I studied about DSA years back, so this would be even more challenging, but nothing good comes easy.

## Project Link 
Here is a link to my GitHub repo of [connect-four](https://github.com/ArmaanBarak/Connect-Four.git).

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2t2exe0mwydx12cpbgtd.png)

***

# Conclusion
Codecademy pushed me to write a blogpost about this first Portfolio Project. And I do agree that building a community while learning would help me get better results in my journey. Looking forward to interact with everyone out there and share more blogposts!
How to Write a Blog Post That Stands Out?
Tags: blogpost, writers, blogs, skills
Published: 2023-12-30 08:11:40


Are you tired of writing blog posts that don’t get the attention they deserve? Do you want to write a blog post that stands out from the crowd? Then you need to follow these simple tips to make your blog post unique and engaging.

1. First things first, let’s talk about the importance of a good headline. Your headline is the first thing that people will see, so it needs to be catchy and attention-grabbing. According to blog.hubspot.com, a good headline should be specific, useful, and urgent. It should also be written in a way that makes people want to click on it.

2. The second tip is to write in a conversational tone. People don’t want to read a blog post that sounds like a textbook. They want to read something that sounds like it’s coming from a real person. According to wordstream.com, you should write in a way that makes people feel like they’re having a conversation with you.

3. The third tip is to use examples and stories. People love stories, and they’re more likely to remember something if it’s presented in the form of a story. According to ryrob.com, you should use examples and stories to illustrate your points and make your blog post more engaging.

4. Now, let’s talk about cracking a joke. Humor is a great way to make your blog post more interesting and memorable. According to verblio.com, you should use humor sparingly and only when it’s appropriate. A well-timed joke can make your blog post stand out from the crowd.

5. Finally, let’s talk about keeping it under 1000 words. People don’t have a lot of time to read long blog posts. According to smartblogger.com, you should aim to keep your blog post under 1000 words. This will make it easier for people to read and more likely to be shared.

In conclusion, by following these simple tips, you can write a blog post that stands out from the crowd. Remember to write a catchy headline, use a conversational tone, use examples and stories, crack a joke, and keep it under 1000 words. Happy blogging!

_**I hope you enjoyed this post and learned something new. Thank you for reading and stay tuned for the next one. If you found this post helpful, please show your support by liking and sharing it with your friends and colleagues. It takes a lot of research and time to create unique content. Please subscribe for more.**_
Rust Macros Explained with Example
Tags: rust
Published: 2023-12-30 08:09:38

- Macros in Rust are a powerful feature that allows you to `define reusable code patterns.`
- They are used to generate code at `compile-time`, enabling `metaprogramming ` in Rust.
- Macros are defined using the `macro_rules!` keyword.

**Example:**
```rust
macro_rules! greet {
    () => {
        println!("Hello!");
    };
}

fn main() {
    greet!();
}
```


**Simple Macro**

- Macros can take input parameters and generate code based on those parameters.
- The parameters are specified within the macro definition and can be used in the generated code.
- The `($name:ident)` syntax is used to specify an identifier parameter.

Example:
```rust
macro_rules! create_function {
    ($func_name:ident) => {
        fn $func_name() {
            println!("This is the {} function.", stringify!($func_name));
        }
    };
}

create_function!(hello);
create_function!(goodbye);

fn main() {
    hello();
    goodbye();
}
```


**Repetition in Macros**

- Macros can repeat code based on a specified pattern.
- The `*` symbol is used to specify repetition in the macro definition.
- Repetition can be used to generate multiple lines of code or apply transformations to the repeated code.

Example:
```rust
macro_rules! repeat {
    ($($x:expr),*) => {
        $(println!("{}", $x);)*
    };
}

fn main() {
    repeat!("one", "two", "three");
}
```

**Debugging Macros**

- Debugging macros can be challenging since they operate at compile-time.
- To debug macros, you can use the `println!` macro with the `#[macro_use]` attribute.
- This allows you to print intermediate values during macro expansion.

Example:
```rust
#[macro_use]
macro_rules! debug {
    ($x:expr) => {
        println!("{} = {:?}", stringify!($x), $x);
    };
}

fn main() {
    let x = 42;
    debug!(x);
}
```

**Custom Macros**

- Rust allows you to define your own custom macros using the `macro` keyword.
- Custom macros can provide more flexibility and control over code generation.
- Custom macros can be defined using procedural macros or attribute-like macros.

Example:
```rust
#[macro_export]
macro_rules! my_macro {
    ($x:expr) => {
        println!("My custom macro: {}", $x);
    };
}

fn main() {
    my_macro!("Hello, world!");
}
```

Thanks for reading. Follow me in [Twitter](https://twitter.com/ashsajal1), [Linkedin](https://linkedin.com/in/ashsajal).
Day 11 - The 12 Days of DEV: November 2023
Tags: devimpact2023, bestofdev
Published: 2023-12-30 08:00:00

_Greetings on Day 11 of "The 12 Days of DEV"! 🎄🎉  As we approach the year's end, let's journey through the top two articles of November 2023._

_This compilation showcases the community's favorites, determined by a mix of comments, reactions, and page views (with just a very subtle touch of editorial curation). And while these articles shine as the most popular, it's worth noting that they vary from the DEV team's chosen Weekly Top 7 (though there might be some shared gems.) 🌟_

---

{% embed https://dev.to/francescovetere/css-trick-transition-from-height-0-to-auto-21de %}
Using CSS Grid, [@francescovetere](https://dev.to/francescovetere) shows us a handy trick to transitioning from `height: 0` to `auto` in this well-loved, quick & easy tutorial. 

---

{% embed https://dev.to/code42cate/say-goodbye-to-docker-volumes-j9l %}
Do you find Docker Volumes to be a pain? Then Docker’s recent addition `docker-compose watch` is exactly what you need. Let [@code42cate](https://dev.to/code42cate) explain how this new feature has made using Docker much more enjoyable.

---

_Stay tuned for the next installment of "The 12 Days of DEV" as we continue to unwrap the community's favorite articles. Happy reading, and we look forward to sharing more highlights with you! 📚🎁_
Draped in Elegance: Transform Your Space with Stunning Curtains
Published: 2023-12-30 07:45:29

[url=https://www.swayamindia.com/curtains]curtains [/url] where every window becomes a canvas for elegance and style. "Draped in Elegance" is more than just a collection; it's a symphony of textures, patterns, and sophistication designed to elevate the ambiance of your living spaces. Meticulously crafted with attention to detail, our curtains offer a perfect blend of functionality and visual appeal. From sheer fabrics that invite soft sunlight to rich textures that provide privacy, each curtain in our collection tells a unique story. Choose from a curated selection of designs that cater to various tastes, allowing you to tailor your space to reflect your personal style. Embrace the transformative power of "Draped in Elegance" curtains and turn every room into a haven of timeless beauty. Let your windows speak volumes about your taste and make a statement with curtains that effortlessly blend luxury and practicality.
Discussing, associated publicity if someone decides to pursue a medical negligence case.
Tags: medicalnegligence, medicalinjury, personalinjury, lawfirminindia
Published: 2023-12-30 07:32:22


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lynhpj8ngr2vgozr3fpy.png)In Australia, when it comes to [medical negligence cases](https://www.medicalinjury.com.au/medical-negligence.html), whether a case becomes publicised generally depends on a number of factors. While some cases may be well-publicised, many others also remain either private or not well-publicised.
Once a case is filed in the court, access to the case records and the hearings can be regulated by the relevant court. Not all [medical negligence cases](https://www.medicalinjury.com.au/medical-negligence.html) become public knowledge. Many opt to settle [medical negligence claims](https://www.medicalinjury.com.au/medical-negligence.html) out of court, maintaining confidentiality and avoiding public exposure.
 
On the other hand, certain cases do become publicised due to various reasons including the nature of the case, the parties involved and the scope of litigation. Sometimes some cases become public due to their significance or impact on society. Instances involving widespread harm, issues of public safety, or cases that set legal precedents might attract considerable attention. These cases often have broader implications beyond individual grievances, prompting public interest and discussion.
A case can attract publicity if it goes to trial in a court of law. Trials are generally matters of public record, and the details discussed during proceedings can become accessible to the public unless specific confidentiality orders are in place. Courts can impose suppression orders or use pseudonyms to protect the identities of individuals involved, especially if revealing their identities could cause harm or distress. Some information including the documents and files are generally inaccessible to the general public due to applicable privacy and confidentiality provisions. Media outlets might cover high-profile cases, drawing attention to them and making them more widely known.
 
Additionally, certain organisations or advocacy groups might highlight specific cases to push for legal or systemic changes in the healthcare system. These efforts aim to address issues that might be prevalent but not always widely recognized.
 
Overall, whether a [medical negligence case ](https://www.medicalinjury.com.au/medical-negligence.html)becomes publicised in Australia is contingent on multiple factors.
CREATE A LIBRARY WITH JSX & CUSTOM STATE
Tags: react, javascript, tutorial, webdev
Published: 2023-12-30 07:19:46

{% youtube vH-odt3ADG0 %}

{% link https://dev.to/devsmitra/create-a-library-with-jsx-custom-state-348h %}

---

##### Must Read If you haven't

{% link https://dev.to/devsmitra/maximizing-performance-how-to-memoize-async-functions-in-javascript-4on8 %}

{% link https://dev.to/devsmitra/what-why-and-how-javascript-static-initialization-blocks-4n41 %}

{% link https://dev.to/devsmitra/simplify-javascripts-async-concepts-with-one-gif-3c6a %}

---

###### More content at [Dev.to](https://dev.to/devsmitra "Rahul Sharma(DevsMitra)").

{% user devsmitra %}

###### Catch me on
<p>
{% cta https://www.youtube.com/@devsmitra?sub_confirmation=1 %} Youtube {% endcta %}
{% cta https://github.com/devsmitra %} Github {% endcta %}
{% cta https://www.linkedin.com/in/rahul-sharma-18b8b374 %} LinkedIn {% endcta %}
{% cta https://devsmitra.medium.com %} Medium {% endcta %}
{% cta https://stackblitz.com/@devsmitra %} Stackblitz {% endcta %} {% cta https://devsmitra.hashnode.dev %} Hashnode {% endcta %}
{% cta https://hackernoon.com/u/devsmitra %} HackerNoon {% endcta %}
</p>
How do I change the routing number on a cash app quickly?
Tags: cashhapproutingnumber
Published: 2023-12-30 07:18:16

Cash App does not provide users with individual routing numbers. Instead, Cash App uses a collective routing number for all users. To receive payments, users provide their unique Cashtag or email address, Users are Wondering “How to Change [Cash App Routing Number](https://www.cash-app-helps.com/blog/how-to-change-routing-number-on-cash-app/)”? For the changing cash app routing follow these step-by-step instructions. Within the Settings menu, find and select the "Banking" or "Linked Accounts" option, depending on the version of the app. To quickly change the routing number on Cash App, follow these step-by-step instructions:
Open Cash App: Launch the Cash App on your mobile device and log in to your account.
Access Settings: Locate the profile icon on the top-left corner of the screen and tap on it. In the dropdown menu, select "Settings."
Select Personal: Within the settings menu, find and select the "Personal" or "Profile" option. This is where you can manage your account details.
Access Banking Information: Within the Settings menu, find and select the "Banking" or "Linked Accounts" option, depending on the version of the app.
Choose Banking: Look for the "Banking" or "Linked Accounts" section. Tap on it to view and manage your linked bank accounts.
Edit Routing Number: Find the bank account associated with the routing number you wish to change. Select the "Edit" or "Change" option next to the routing number.
Enter New Routing Number: Input the new routing number accurately and confirm the changes.
Verify Changes: Cash App may prompt you to verify the changes for security purposes. Follow any additional prompts to complete the process.
Confirmation: Once the routing number is successfully updated, you should receive a confirmation message. Verify the changes by reviewing your updated banking information.
By following these steps carefully, you can efficiently Change your [Cash App Routing Number on Cash App](https://www.7qasearch.net/blog/how-to-change-routing-number-on-cash-app/), ensuring that your financial transactions continue seamlessly with the updated information.
15 Essential Lessons of 2023 Worth Sharing
Tags: development, growth, 2023takeaways
Published: 2023-12-30 06:57:04

→  Know what you want for yourself, and be true to that. Otherwise you'll see things happen to others and suddenly you're envious/jealous of them for something you didn't even want for yourself in the first place.

→  Get comfortable with being uncomfortable. It's either you got into discomfort willingly or discomfort will come to you, either way no escape.

→  There are many future versions of yourself that exist based upon the decisions you make currently.

→  It's easy to end up average if you're interested and distracted by everything, and never commit to anything. Years pass, and you do a lot of things but never stick to any of them long enough to get rewarded.

→  If you want growth, you must prepare to be bored, doubted, failed, rejected and challenged. Learn to handle them.

→  You need 3 daily wins: mental win (create, learn), physical win (running, gym) and financial win.

→  A person who conquers the fear of embarrassment becomes unstoppable.

→  There's no competition if you're confident in who you are.

→  Hardwork improves your optimism, and being truthful boosts your confidence.

→  The longer you stay consistent, the more fine-tuned your skill becomes.

→  Go broke learning, investing, building, creating or launching, not shopping.

→  Doesn't matter how you start, just start.

→  Give whatever you do your best, but discard expectations.

→  Doubt kills more dreams than failure ever will.

→  Once you have accepted your flaws, no one can use them against you.
AWS Container Orchestration: EKS vs ECS
Tags: aws, awscommunity, awscommunitybuilders
Published: 2023-12-30 06:53:00

## AWS Container Orchestration: EKS vs ECS

Amazon Elastic Kubernetes Service (EKS) and Amazon Elastic Container Service (ECS) are both container orchestration services provided by Amazon Web Services (AWS), but they are different in terms of their architecture and use cases.

**<u>Amazon Elastic Kubernetes Service (EKS)</u>**
Amazon EKS is a managed Kubernetes service designed to simplify the deployment, scaling, and management of Kubernetes clusters. By leveraging EKS, users can run containerized applications using Kubernetes without the burden of handling the underlying infrastructure intricacies. EKS is particularly well-suited for those already familiar with Kubernetes or looking to capitalize on its robust container orchestration capabilities.

**<u>Amazon Elastic Container Service (ECS)</u>**
Amazon ECS is a fully managed container orchestration service specifically tailored for Docker containers. It provides a straightforward solution for running containers without the need to manage the underlying infrastructure. ECS boasts tight integration with various AWS services, streamlining the process of building and deploying scalable containerized applications.

**<u>Key Distinctions:</u>**

**1)Underlying Technology:**
EKS is Kubernetes-based, providing users with the flexibility and compatibility of the Kubernetes ecosystem.
ECS, on the other hand, is a proprietary AWS service that offers simplicity without the complexity of managing Kubernetes.

**2)User Base:**
EKS is favored by users familiar with or inclined towards the feature-rich Kubernetes platform.
ECS, with its seamless integration into the AWS environment, is an excellent choice for those seeking a fully managed service without delving into Kubernetes intricacies.

**3)Flexibility:**
EKS offers greater flexibility and compatibility with the extensive Kubernetes tooling and ecosystems.
ECS, due to its tight integration with AWS services, excels in scenarios where simplicity and AWS service integration are top priorities.

In conclusion, the decision between Amazon EKS and Amazon ECS hinges on factors such as familiarity with Kubernetes, specific use cases, and the desired level of control over containerized applications. Whether opting for the flexibility of EKS or the simplicity of ECS, AWS provides solutions tailored to diverse preferences and requirements in the dynamic landscape of container orchestration.
I have made my first ever npm package "log-glow"
Tags: webdev, react, reactnative, npm
Published: 2023-12-30 06:43:06

**🚀 Excited to introduce Log-Glow - a new logging tool for JavaScript developers! 🌈✨**

As developers, we often face the challenge of sifting through console logs, trying to make sense of endless lines of text. That's why I created Log-Glow, a package designed to bring clarity and efficiency to your logging experience.

🔍 Key Features of Log-Glow:

- **Color-Coded Logs:** Assign colors to different log levels for easy identification.
- **Environment-Specific Logging:** Verbose logs in development, cleaner logs in production.
- **Cross-Platform Compatibility:** Works seamlessly in Node.js, web browsers, and React Native.
- **Customizable Labels:** Add your own labels to logs for better categorization.
- **Developer-Friendly:** Easy to integrate and use in your existing projects.

Whether you're debugging a complex Node.js backend, a dynamic web application, or a mobile app built with React Native, Log-Glow is here to make your logs more readable and manageable.

🔗 Find log-glow on npm and GitHub: - 
[NPM Link - https://www.npmjs.com/package/log-glow] 
[GitHub link - https://github.com/ritesh2204/log-glow/tree/master]

Give it a try, and let me know how it enhances your development workflow! Feedback and contributions are always welcome. Let's make logging better, together!

lets connect: 
https://www.linkedin.com/in/riteish-vishwakarma-3a494313a/

#JavaScript #NodeJS #ReactNative #WebDevelopment #Logging #OpenSource #DeveloperTools
Dev Insight
Published: 2023-12-30 06:42:04

Angular is doomed.
React should retire.
Vue is childish.
Css is swamp land.
HTML is a paper map.
JavaScript is too old.
Typescript is shackles.
.NET seeks sovereignty.
EF is a bad sleep.
Blazor is a trap.
SOAP is steam machine.
REST should rest.
OOP is old testament.
Clean Architecture is mess.
Monolithic Architecture is elephant.
MicroService architecture is disaster.
TDD is the emperor's new clothes.
Scrum is ostrich.
ADO is holy.
SQL is Hercules.
NoSql is cripple.
AI is Armageddon.
Git is ants' nest.
Linux is dark world.
Windows is opium.
Android walks on a sword' edge.
iOS is forbidden city.
DevOps is headache.
Python is disease.
Nodejs is Pisa tower.
C# is deviated.
Java is orthodox.
PHP is deathless.
Delphi is zombie.
VB rested in peace.
GoLang is squadron.
Rust is blade.

share and save lives!
bulk page authority checker
Tags: bulk, domain, authority, checker
Published: 2023-12-30 06:16:13

The [Bulk Page Authority Checker](https://tool.mediaofficers.com/page-authority-checker) operates by fetching data from authoritative sources, often utilizing APIs from search engines or SEO analytics platforms. Users input a list of URLs, and the tool swiftly generates a comprehensive report detailing the Page Authority scores for each page. This allows users to identify high-performing pages, prioritize content optimization efforts, and strategize link-building campaigns effectively.
Latest Newsletter: Happy New Year (Issue #147)
Tags: javascript, tech, webdev, discuss
Published: 2023-12-30 06:09:16

---
title: Latest Newsletter: Happy New Year (Issue #147)
published: true
description: New Year Edition - Loads of great techish podcasts for the holiday break. Happy 2024 everybody!
tags: javascript, tech, webdev, discuss
---
Latest Newsletter: Happy New Year (Issue #147)

New Year Edition - Loads of great techish podcasts for the holiday break. Happy 2024 everybody!

https://markjgsmith.substack.com/p/copy-saturday-30th-december-2023

Would love to hear any comments and feedback you have.

[@markjgsmith](https://twitter.com/markjgsmith)