teleren/devto huggingface dataset:
iOS Sources
Tags: beginners, ios, swift, swiftui
Published: 2023-03-16 00:03:44

## First and foremost, I'm at level 1. 

I am not an expert by any means. I have been learning iOS for a year and some change but with no structure! Time to change that. Here are the sources I plan on using in no particular order. I'm open to more and better sources. A solid roadmap even. Let's talk!

- Meta iOS Developer Professional Certificate on Coursera.
It's dry and boring **_as hell_** at times but informative. Getting a certificate helps me keep going. 
[Link](https://www.coursera.org/professional-certificates/meta-ios-developer)

- Intro to iOS Development- Cornell AppDev
Cornell University provides iOS classes for free on YouTube.
[Link](https://www.youtube.com/watch?v=rNoJWX3TPUY&list=PLjf6nsEcF5KNxDPF2BvY_93PP6tFpILGn) 

- Sean Allen - Teachable
Really like his teaching style. If you like his YouTube videos then his tutorials are the same style.
[Link](https://www.hackingwithswift.com/about)

- 100 Days of SwiftUI - Hacking with Swift
Paul aka @twostraws is a iOS wizard. He knows everything and is really quick to come out with content on his Youtube page whenever Apple adds new terms to their documentation. Highly recommend.
[Link](https://www.hackingwithswift.com/about)

- SwiftUI - Apple Developer Documentation
Boring to read but everything's there... because it has to be. This should be your #1 reference. 
[Link](https://developer.apple.com/documentation/swiftui/ )

- Introducing SwiftUI - Apple SwiftUI Tutorials
Don't sleep on Apple! It's an estimated 4hr 25min interaction tutorial on how SwiftUI works. Try it! 
[Link](https://developer.apple.com/tutorials/swiftui)

Who do you like to learn from? Let me know!
MVC or Model-View-Controller
Tags: javascript, pattern, programming
Published: 2023-03-15 23:56:33

MVC: Desing pattern use in software engineering for developing user interfaces.

We are going to divide in each part.

The "model" represents the data and the business logic of an application.
The "view" is responsible for rendering the data from the model into a user interface.
The "controller" handles user input and updated the model and the view accordingly.

The benefits of using the MVC pattern:

- Separations of concerns: By separating the application into three distinct components, it is easier to manage and maintain the code.

- Modularity: Each component can be developed and tested independently, allowing for greater flexibility and easier debugging.

- Reusability: The same model and controller can be used with multiple views, allowing for greater code reuse and reducing duplication.

- Scalability: The MVC pattern is well-suited for large, complex applications, as it allows for easier management and organization of the code.
 

Hope someone found it useful.

Lautaro.
CISCO Networking Academy Free🎉Courses You Should Know
Tags: tutorial, beginners, programming
Published: 2023-03-15 23:33:42

## Introduction


- Cisco Networking Academy is an educational program designed to prepare individuals for a career in the field of networking.

- It provides students with hands-on experience and knowledge of networking fundamentals, routing and switching technologies, wireless LANs, security principles, network design concepts and more. 

- Cisco Networking Academy helps develop problem-solving skills that can be used to solve real-world challenges faced by today's IT professionals. 

- The Cisco Networking Academy offers courses at different levels ranging from entry-level certification programs like CCNA Routing & Switching or Wireless Fundamentals all the way up to advanced certifications such as CCNP Security or Design Expertise Certifications. 

- The curriculum is constantly evolving so that it remains current with industry trends while still providing foundational knowledge needed for success in the field of IT network engineering.

- By enrolling on this program developers will have access to comprehensive learning materials which are available online through their course portal as well as instructor-led training sessions which take place at local academies around the world ensuring quality education no matter where a student may reside geographically speaking. 

- Finally, one key benefit offered by CISCO’s academy platform is its ability for students who complete any course within their portfolio (CCNA/CCNP)to receive official recognition from CISCO itself. 

- This recognition not only serves as validation towards an individual's professional competency but also opens doors towards potential employment opportunities due to employers having confidence knowing they are hiring someone who has been certified via one of the most respected institutions within the tech industry today.


🎥 {% youtube i17ZUTGJIMA%}


#### Bonus

###### 15 Free Harvard Courses🎓📣🔥🎉

🎥 {% youtube mdlS34KDlCk&t=2s%}


### Connect with Me 😊

#### 🔗 Links

[![linkedin](https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/mahmoud-el-kariouny-822719149/)

[![twitter](https://img.shields.io/badge/twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/Mahmoud42275)
One more day.
Tags: beginners, programming, webdev, blog
Published: 2023-03-15 22:55:07

Today is my last working day for this bootcamp. We spent the last week creating a food based social media platform where users get to display their their love for food and share it with other like minded people. 

If I were to change anything about my projects moving forward, it would be to create components with the intention to reuse them in future projects. My components right now are reusable, but I would have to edit some parts out such as a card creator that unnecessarily has a divider with a contact button above it. Small things like that. 

Anyway, I still need a crazy amount of practice just to be able to catch up to entry level developers. Fortunately the anxiety pushes me to keep keepin' on. See you tomorrow!
What are good coding website for kids
Published: 2023-03-15 22:30:18

So you want your kid to to coding. There is some coding websites for kids. Like code.org or scratch. 

## Scratch

![Scratch](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oviehobume5h27jfm0yt.jpeg)

Scratch is a free coding website for kids. You can use scratch.

## Pros

- Coding is easy on scratch. just drag the blocks.
-Share your scratch projects online
-Even more pros

## Cons
- A social media website, so there is a lot of fights.
- Bad moderaters
- More

## Code.org

![Code.org](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yhrjyfcfiens32vzw5k6.jpeg)

Code.org is a coding site. you can share your projects there

## Pros

- Easy to code with
- Share your projects
- More

Have idea's, share them here

![Poipole](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eijdlqdt8m7d56a5w141.png)
Hello, World!
Tags: flatironschool, flatiron, beginners
Published: 2023-03-15 22:23:15

If you are reading this, you have probably decided to embark on your journey of learning how to become a software developer. Congratulations! I am so happy for you. I am also doing the same thing.

Learning software development can be a huge challenge especially if you are learning from scratch. I know for myself that it feels daunting as well, but my instructors at FlatIron School gave me some good advice. Here is the rundown of what they have told me:

1. Set realistic goals
Take some time to think about short-term and long-term goals. Break down your bigger ones into smaller more realistic ones. Use the SMART goals to help navigate what kind of milestones you want to have. [Check out this article from Asana on how to create SMART goals.](https://asana.com/resources/smart-goals)

2. Choose a programming language
There are many programming languages to choose from with each having its pros and cons. Some popular ones include JavaScript, Python, and Java. If you want to figure out where to start, I suggest reading [this article from FreeCodeCamp in 2022](https://www.freecodecamp.org/news/what-programming-language-should-i-learn-first-19a33b0a467d/) to find which one you want to do. I am doing JavaScript myself.

3. Find the right resources
The internet is full of resources for learning software development. From YouTube videos to online courses and boot camps, there are too many to choose from sometimes. You have to find what works best for you and narrow down which ones are reputable. Some popular resources are [Codeacademy](https://www.codecademy.com/), [Coursera](https://www.coursera.org/), [FlatIron ](https://flatironschool.com/)and [FreeCodeCamp](https://www.freecodecamp.org/).

4. Practice, practice, and even more practice!
Even with all the theories and tutorials given out, it is best to learn hands-on. Grab your favorite IDE (mine is [Visual Studio](https://visualstudio.microsoft.com/)) or [Replit ](https://replit.com/) and start practicing how to code. Start small and work your way up! That's how I am doing it.

5. Join a community
Fortunately for me, I am part of the FlatIron School community. I have classmates and peers. I am also here on Dev.To. It helps to have a community of like-minded individuals for support, networking, and resources. I recommend finding an online forum, a local meetup group, or someone on a similar journey to connect with!

Starting your journey in software development can be rewarding and challenging. With the right mindset, resources, and support, anyone can learn how to code. I am on this journey too and hope to cheer you on. We got this :)
How can leaders better support primary caregivers?
Tags: wecoded, career, discuss
Published: 2023-03-15 22:18:29

---
title: How can leaders better support primary caregivers?
published: true
description: 
tags: wecoded, career, discuss
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mlm4ju1mqipx8ahwv1xp.png
---
Primary caregivers — like those caring for children, elderly, or ill family members — often face unique challenges. Their work doesn’t end when they leave the workplace. Emergencies are more likely to arrive, so what happens to their responsibilities then?

It’s critical to promote a caring culture in our workplaces so that we can support caregivers when they need it. While many institutions may not have policies that penalize or hinder caregivers, these policies are often developed without caregivers' needs taken into account. 

###What can leaders do to better support primary caregivers?

Friendly reminder to follow the Code of Conduct in this discussion. The DEV Team and I will moderate swiftly and thoughtfully. ❤️

Please share any helpful articles on this topic in the comments below!
Day 714 : Open Your Eyes
Tags: hiphop, code, coding, lifelongdev
Published: 2023-03-15 22:00:26

_liner notes_:
- Professional : Today flew by! Had a meeting in the morning for a training session that I'll be presenting some info and demos in the next couple of weeks. Spent the rest of the day knocking some tasks to prep for the training. Got a bunch of stuff done. Ran into a weird error that I could not figure out and asked my team members. Turns out they kind of ran into a similar error and it has to do with a compatibility issue between some libraries I was using. Got that working and then it was time to clock out. Didn't get a chance to work on the proof of concept project that I've been working on.

- Personal : Went through some tracks for the radio show last night. I think I may have signed up for an account to start trading stocks. Went through the whole process and got to the point to pick an account to fund the trading account. I must have accidentally clicked a link or something and navigated to another page. When I tried to go back, it started from the beginning. I tried to look through my account to find it. Nothing. I did get an email saying that the account is under review and that they will get back to me. So who knows. I'll give it a couple of days and check back. Spent some time re-installing programs onto my Chromebook. I forgot that since everything was wiped when they replaced the battery, I had to activate Linux again and there's programs that I used that ran on Linux. Got my code editor up and running. Also, worked a little on the proof of concept for work to a point where I think I'll need to make some updates to the Web Components that I made. Went to bed and watched a couple of "Spy x Family" episodes. Can't believe I slept on this show till now. Got like 10 more episodes to finish the season.

![The mountain range in Poon Hill, Nepal under a star-filled night sky](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sr13qena8aywxoh1dspd.jpg)

So I think some stock stuff was supposed to happen today, so I'm going to look into that and transfer some money around. That may take a while. With all these options and things to read can really open your eyes to the vast choices and I'm not trying to screw anything up. haha Depending on how I feel, I may go through tracks for the radio show or at least look up the social media of the artists I already have lined up. After that, I may work on my side project on the Chromebook that came back or at least pull it down to the computer from the code repository. Definitely want to watch some episodes of "Spy x Family". Also, Bobby Caldwell passed away.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube oKfSPTUNWqw %}
How to run psql script in the background?
Tags: postgres, programming, database
Published: 2023-03-15 21:46:20

`cat run_my_sql_script_background.sh`

```
#!/bin/bash

CURRENTDATE=`date +"%Y%m%d_%H%M%S"`

OUTPUT_FILE="./outp/trace_${CURRENTDATE}.out"

export PGPASSWORD='********'

nohup psql -h my_hostname -U my_db_user -d my_db_name -a -f my_sql_script.sql > ${OUTPUT_FILE} 2>&1 < /dev/null &
```
SCRIMBA IS THE BEST FOR BEGINNERS
Tags: webdev, javascript, beginners, programming
Published: 2023-03-15 21:39:10

I spent two months trying to learn javascript on other sites and wasnt getting anywhere. I almost quit till I came across Per Borgen on SCRIMBA and since then I have gained so much knowledge. His methods of teaching are so practical and easy to understand for a beginner. I was no longer confused and discouraged. 
now I can call myself a developer thanks to scrimba
Relations with Supabase
Tags: webdev, javascript, beginners, programming
Published: 2023-03-15 21:38:25

{% embed https://youtu.be/roAJ61sTGIc %}

Supabase is an open-source platform that provides developers with tools to build scalable and robust applications. One of the critical components of any database management system is the ability to establish relationships between tables. Tables relations in Supabase allow developers to connect data across multiple tables and manage them efficiently.

Supabase provides three types of table relationships: one-to-one, one-to-many, and many-to-many. A one-to-one relationship is where one record in a table is associated with only one record in another table. In contrast, a one-to-many relationship is where one record in a table is associated with multiple records in another table. Finally, a many-to-many relationship is where multiple records in one table are associated with multiple records in another table.

To establish a relationship between tables, developers must define foreign keys. Foreign keys are columns in a table that reference the primary key of another table. For example, if we have a table called "Orders" and a table called "Customers," we can define a foreign key in the "Orders" table that references the primary key of the "Customers" table. This creates a one-to-many relationship between the two tables, as one customer can have multiple orders.

Supabase provides a graphical interface to define table relationships. Developers can use the "Relationships" tab in the table editor to create relationships between tables. The interface allows developers to select the foreign key and primary key columns and define the type of relationship.

Once table relationships are established, developers can use SQL joins to query data across multiple tables. Joins allow developers to combine data from two or more tables into a single result set based on the relationship between them. For example, if we want to retrieve all orders for a particular customer, we can use an inner join to combine the "Orders" and "Customers" tables based on the foreign key and primary key relationship.

In conclusion, table relationships in Supabase are a crucial component of database management. They allow developers to connect data across multiple tables and manage them efficiently. Supabase provides a graphical interface to define relationships and supports SQL joins to query data across multiple tables. By leveraging table relationships, developers can build scalable and robust applications that can handle complex data structures.

Guillaume Duhan
How to limit the number of connections per DB in the PostgreSQL?
Tags: postgres, devops, database, sql
Published: 2023-03-15 21:33:02

How to limit the number of connections per DB in the PostgreSQL?

```
alter database my_db connection limit 10;
```

How to check the limit on the number of connections per DB in the PostgreSQL?

```
select datconnlimit from pg_database where datname='my_db';
```

How to reset (i.e. return to default) the limit on the number of connections per DB in the PostgreSQL?

```
alter database my_db connection limit -1;
```
Today I learned...
Published: 2023-03-15 20:56:16

We started on HTML and CSS basics this week! We laid out the basics of HTML by creating a simple rock-paper-scissors webpage. 

We began by getting acclimated to the very basics of GitPod and VSCode. Our first HTML lesson consisted of learning the syntax.

```
<a href="https://github.com/">
   Go to GitHub
</a>
```
The syntax consists of:

- The opening tag `<a>`
- The closing tag `</a>`
- The content in between `Go to GitHub`
- Attributes inside the opening tag `href=""`

And collectively, we call this an **element**.
- Elements can have more than one attribute and contain other elements!
- The element inside is called the **child element**, while the element outside is the **parent element**.

We also learned the boilerplate of HTML.

```
<!DOCTYPE html
<html>
   <head>
      <meta charset="utf-8">
      <title>Document</title>
      <meta name="viewport" content="width=device-width">
   </head>
   <body>
      <!-- content to be displayed to the user -->
   </body>
</html>
```

Now more on attributes, some only make sense in specific elements. Examples include:
- `href=""` is for `<a>` elements and specifies where to take the user when they click on the link.
- `src=""` is for `<img>` elements and specifies the url of the image to load.
- `for=""` is for `<label>` elements and specifies which input element it is paired with.
Hackathon - Hack Together: Microsoft Graph and .NET 🦒 - Submission Day!
Tags: webassembly, blazor, csharp, dotnet
Published: 2023-03-15 20:47:17

This morning I received the email with the submission reminder!
In the last few days I didn't have too much time to work on the project. I had other priorities at work and I didn't work on as much as I want.
It doesn't matter because it's an Hackathon just for fun.

By the way I created the issue on the official repository.

{% embed https://github.com/microsoft/hack-together/issues/195 %}

At the moment there are 195 project in the list!

![Hackathon - Hack Together](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9mnzn5rubu79ymools5a.png)

## The next steps
I submitted the project for the hackathon but in the next days/weeks I will work on the project again to improve the UI and the usability.
I would like to use the application for my purpose and I will share the solution to my colleagues as well.

Happy hackathon!

---

Are you interested in learning GitHub but don't know where to start? Try my course on LinkedIn Learning: [Learning GitHub](https://bit.ly/learninggithub).

![LinkedIn Learning](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sdc2bpiftpadibi4h51c.gif)

---

Thanks for reading this post, I hope you found it interesting!

Feel free to follow me to get notified when new articles are out 🙂

{% embed https://dev.to/kasuken %}
Verifying Your Security Posture using Security Chaos Engineering
Tags: aws, security, chaosengineering
Published: 2023-03-15 20:43:20

---
title: Verifying Your Security Posture using Security Chaos Engineering
published: true
description: Resources for the session Verifying Your Security Posture Using Security Chaos Engineering
tags: aws,security,chaosengineering
// cover_image: https://cdn.grosch.se/dev-to/improve-resilience-with-automated-chaos-engineering/improve-resilience-with-automated-chaos-engineering.png
---

This post contains resources for the session Verifying Your Security Posture Using Security Chaos Engineering.

#### Security Chaos Engineering by Aaron Rinehart, Kelly Shortridge
https://www.oreilly.com/library/view/security-chaos-engineering/9781492080350/

#### Mitigant - Security Chaos Engineering 101: Fundamentals
https://www.mitigant.io/blog/security-chaos-engineering-101-fundamentals

#### Validating security guardrails with Chaos Engineering workshop
https://catalog.us-east-1.prod.workshops.aws/workshops/f36e426f-e8a6-467e-97d3-2223bd5f0c49/en-US

#### AWS re:Invent 2022 - A deep dive on the current security threat landscape with AWS (NET207)
https://www.youtube.com/watch?v=h7WvCyygb8U

#### Security Chaos Engineering: Sustaining Resilience in Software and Systems by Kelly Shortridge (pre-order)
https://www.amazon.com/Security-Chaos-Engineering-Sustaining-Resilience/dp/1098113829

If you have any questions, please reach out on [Twitter](https://twitter.com/GunnarGrosch) or [LinkedIn](https://www.linkedin.com/in/gunnargrosch/).
TIL 03/15/22
Published: 2023-03-15 20:37:32

Today I was working in code academy trying to further my understanding of Loops and arrays. I felt like when I was going over the content about loops, it made sense in my head. However, when it came down to the practice questions, I could not figure out the answers. I believe I need to continue practicing.

One question I struggled with was: 

Add an if/else statement inside your .each.

if the current word equals the word to be redacted, then print "REDACTED " with that extra space.
Otherwise (else), print word + " ".
The extra space in both cases prevents the words from running together.

**The correct answer to this question is:**
words.each { |word| 
  if word == redact
    print "REDACTED "
  else
 		print word + " "
  end }


I feel like when I am reading the questions, I for some reason cannot make sense of what is being asked of me. I will try to re-read the questions and take things slower, along with my practice.
How to create a nextjs project
Published: 2023-03-15 20:34:30

https://youtu.be/q_FwbLURIWw

Next.js projectis created with create-next-app.

Getting Started
First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.