teleren/devto huggingface dataset:
Learning AWS Day by Day — Day 70 — Amazon FSx
Tags: aws, cloud, cloudcomputing, beginners
Published: 2024-05-20 17:17:41

Exploring AWS !!

**Day 70**

**Amazon FSx**

**What is FSx?**

Third party file system solution, uses SSD storage for providing fast performance and low latency.

**Use Cases:**

- File systems that can establish permissions at file or folder level which are accessible by multiple users.

- Application workloads using SMB protocol and required file storage provided by Windows based file systems

- Compatible with: EC2, Instances of Amazon Workspaces, Instances of Amazon AppStream and VmWare Cloud VMs running on AWS.

**Introduction to Amazon FSx:**

Using this we ca launch high performing file systems while avoiding tasks such as provisioning hardware, configuring software or taking backups.

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

Amazon FSx provides two file systems: FSx for Windows File Server and FSx for Lustre.

**Why should we use FSx?**

Simple and fully managed

Fast delivery

Highly available and durable

Pay for what you use

Secure and compliant

Easy integration with AWS services.

**Features:**

- DFS (Distributed File System) Namespaces allows to group file share from multiple file systems into a single common folder structure from which you can access entire file dataset.

- Using Windows Robust File Copy (RoboCopy) to copy your files directly to FSx.

- Supports identity based authentication via MS AD(Microsoft Active Directory) over SMB protocol. Automatically encrypts your data in transit and rest using KMS and SMB Kerberos session keys.

**Features of FSx for Windows File Server:**

Native Windows Compatible: supports all version starting from Windows 7

Broadly accessible: can connect file systems to EC2, Workspace and even VmWare Cloud on AWS.

Fully managed: simple to launch and use shared file system for Windows applications.

built on SSD storage: designed for fast and consistent delivery, with 2 GB/s throughput per file.

**Use Cases:**

Lift and Shift application workload: Windows based application and workload, such as ERP, CRM and custom built .NET applications, require shared file storage.

Software Development Environments: Development environments include source code and build repos on shared file storage supporting multiple developers.

**Failover process:**

Multi-AZ file system will start failover automatically if any of the below conditions prevail:

1. An availability zone outage

2. preferred file server is unavailable.

3. preferred file server undergoes maintenance.
تحميل gta 5
Published: 2024-05-20 17:10:45

**[تحميل gta 5](https://www.arabworld.games/grand-theft-auto-5/)** "جراند ثيفت أوتو 5 (GTA 5)" هي لعبة فيديو من نوع عالم مفتوح
، تعتبر واحدة من أكثر الألعاب شهرة وشعبية في صناعة ألعاب الفيديو. تم تطويرها بواسطة شركة روكستار نورث ونشرها عالميًا من قبل روكستار جيمز
. تتميز اللعبة بعالمها الواسع والمفتوح الذي يمكن للاعبين استكشافه بحرية، حيث يتمتعون بالحرية الكاملة في اختيار الأنشطة التي يرغبون في القيام بها
، سواء كانت مهام قصة رئيسية أو أنشطة جانبية متنوعة. تتميز اللعبة أيضًا بقصتها العميقة والمعقدة، وشخصياتها المميزة، وتجربة اللعب المتعددة اللاعبين الشيقة
. بالإضافة إلى ذلك، تقدم اللعبة رسومات مذهلة وتصميمًا صوتيًا ممتازًا، مما يضيف إلى جاذبيتها ويجعلها تجربة لعب استثنائية لجميع أنواع اللاعبين.
"🎮 Exciting News! Introducing the latest breakthrough in AI gaming: our revolutionary AI Game Master! 🤖🕹️
Published: 2024-05-20 17:06:38

🌟 Imagine a gaming experience where every character's actions are dynamically determined by a sophisticated AI, making each playthrough unique and unpredictable. Our AI Game Master does just that, analyzing player inputs in real-time to craft an immersive and personalized adventure.

🔮 But that's not all! Our AI goes beyond mere gameplay mechanics. It has the astounding ability to recreate objects and elements that don't even exist within the game universe. Want to wield a legendary sword that's never been seen before? Our AI can make it happen, adding a whole new dimension of creativity and excitement to your gaming experience.

🚀 With our AI Game Master, the possibilities are endless. Explore uncharted worlds, engage in epic battles, and unleash your imagination like never before. Get ready to redefine the way you play games—welcome to the future of gaming, powered by AI!"
SAP Basis snippets #6
Tags: sap, sapbasis, saplikey, license
Published: 2024-05-20 16:31:00

## saplikey command

To run saplikey command, switch to `<sid>adm` user.

```
su - <sid>adm
```
The saplikey command follows the below syntax.

```
saplikey pf=<profile> [trace=<level>] <command>
```
Here in `<profile>` we give our instance profile path.

The `<command>` parameter takes the below listed values.

**`-help` =>** displays the usage text
**`-version` =>** displays the version of the license key library
**`-get` =>** displays system information along with hardware key
**`-number` =>** fetches installation number
**`-install <filename>` =>** Install permanent license keys from a file
**`-show` =>** Display all installed license keys
**`-temp <product>` =>** Creates a temporary license key for the given product
**`-delete <SID> <HW Key> <product>` =>** deletes license keys

So, to get the hardware key of a system, use the get command as follows.

```
saplikey pf=<instance profile path> -get 
```
                                                                        
To list out existing licenses (both valid and invalid) in a system, we use the show command. (NOTE: Here the hardware keys for which the licenses are generated would be displayed. So, the hardware key here and the one obtained from -get command will differ if the license is invalid).

```
saplikey pf=<instance profile path> -show
```
Deleting an existing license is done as given below.

```
saplikey pf=<instance profile path> -delete <SID> <Hardware key> <Product mentioned in license key>
```
To install a new license, we first login to SAP marketplace. Then go to license keys option. Then generate and download the required license.

Place the downloaded file in any path in the host (Here for example we placed it under `/usr/sap/`).

Then use **saplikey** install command.

```
saplikey pf=<profile> -install /usr/sap/license.txt
```
Diving Deep into DSA on My Journey to L5-L6! 🚀
Tags: careergrowth, learningjourney, datastructures, interviewprep
Published: 2024-05-20 17:01:12


🚀 **Day 15 of my journey to becoming an L5-L6 developer!**

📚 **Topics Covered So Far:**

1. Array & Hashing
2. Two Pointers
3. Sliding Window
4. Stack
5. Binary Search
6. Queue
7. Priority Queue
8. Linked List
9. Trees
10. Recursion
11. Graphs
12. Dynamic Programming
13. Backtracking

🎩 **Pro Tips & Personal Insights:**

- **Two Pointers:** Like sliding windows, but with limited pointers. Great for optimizing solutions.
- **Sliding Window:** Start with a valid window, add items, and remove them if the window becomes invalid.
- **Stack:** Think of it as a place to store things for later, in reverse recursive order.
- **Binary Search:** The magic of reducing your domain on every step to find the item efficiently.
- **Linked List:** A node that knows only about its adjacent nodes.
- **Trees:** Do things for one node, then make it recursive for all. Like a domino effect!
- **Recursion:** A powerful tool to solve problems by breaking them down into smaller, manageable pieces.
- **Dynamic Programming:** Solve via recursion, add cache, convert into iterative solution, then optimize space. Voila!
- **Backtracking:** When you need to explore all possible solutions without getting lost. Think of it as your problem-solving GPS.

Here's a neat trick for backtracking:
```python
backtrack_arr = []
def rec(i):
    backtrack_arr.append(s[i])
    rec(i+1)
    backtrack_arr.pop()
```
🚀 Excited to dive deeper into DSA and reach my goal of becoming an L5-L6 developer! 💪 Follow along for more updates and tips!

📖 Following the roadmap on https://neetcode.io to master DSA!

![](https://www.ashutoshverma.com//assets/img/dsa/neetcode_update_1.png)
🚀 Journey to Senior Developer 🚀
Tags: careergrowth, learningjourney, techskills, interviewprep
Published: 2024-05-20 17:00:48


🚀 Excited to kickstart my journey towards becoming a better Senior Developer! 🚀

🎯 **Target Role:** L4-L6 level  
💰 **Target Salary:** $60k-$90k  
⏰ **Target Period:** 6-12 months  

📚 **Learning Plan:**

- **Chapter 1: DSA (Data Structures and Algorithms)**  
  - **Goal:** Master all medium-level LeetCode questions + brute force version of hard questions.

- **Chapter 2: Languages/Compiler**  
  - **Goal:** Deep understanding of at least 2 programming languages.

- **Chapter 3: Databases**  
  - **Goal:** Deep understanding of SQL, No-SQL, Time-series, and Graph databases, including data warehousing, big data, and distributed databases.

- **Chapter 4: Networking**  
  - **Goal:** Understanding of networking protocols and web application architecture.

- **Chapter 5: Distributed Systems**  
  - **Goal:** Understanding of distributed system architectures.

- **Chapter 6: Cloud Services**  
  - **Goal:** Proficiency in utilizing cloud services.

- **Chapter 7: Data-intensive apps**  
  - **Goal:** Understanding how to develop data-intensive applications.

- **Chapter 8: High-level design**  
  - **Goal:** Proficiency in high-level system design.

- **Chapter 9: Low-level design**  
  - **Goal:** Proficiency in low-level system design.

Who's with me on this journey? Let's level up together! 🚀💪
ecto's cast/4 function explained
Tags: elixir, phoenix, ecto, webdev
Published: 2024-05-20 17:00:00

The typical changeset in Ecto is created via the [`cast/4`](https://hexdocs.pm/ecto/3.11.2/Ecto.Changeset.html#cast/4)function.

```elixir
cast(data, params, permitted, opts \\ [])
```

I've hardly found its usage intuitive.

```elixir
def register_user(attrs) do
  %User{}
  |> User.registration_changeset(attrs)
  |> Repo.insert()
end

def registration_changeset(user, attrs, opts \\ []) do
  user
  |> cast(attrs, [:email, :password])
  |> validate_email(opts)
  |> validate_password(opts)
end
```

Why are we casting with an empty `User`? What do we actually use `attrs` for?

As it turns out, it's not even mildly confusing. The purpose of the `cast/4` function is as the name says on the box: to cast data from one type into the other. It's necessary as we may receive data from external sources with the wrong type i.e an integer sent as a string from a form. Keep in mind though, we're still dealing with a changeset, whose sole purpose is to track changes to fields in our data.

Per the function signature, `cast/4` casts the fields of `params` into the expected types specified by `data`, while tracking changes to the `data`. The only changes that are tracked are those specified by the atoms passed via `permitted`.

Take this Ecto schema

```elixir
defmodule User do
  use Ecto.Schema
  import Ecto.Changeset

  schema "users" do
    field :age, :integer
  end
end
```

And say we do this

```elixir
iex> changeset = Ecto.Changeset.cast(%User{}, %{age: "0"}, [:age]) 
```

The parameter `age` is a string. The `cast/4` function will convert it into an integer. And since we've passed in an empty `User`, we'll get a changeset reflecting the changes we've made i.e adding a parameter age with the value of 0.

```elixir
iex> changeset
#Ecto.Changeset<
  action: nil,
  changes: %{age: 0}, # type is cast to an integer
  errors: [],
  data: #User<>,
  valid?: true
>
```

We'll see this fail if our data cannot be converted into an integer with no changes applied.

```elixir
iex> changeset = Ecto.Changeset.cast(%User{}, %{age: "a"}, [:age]) 
iex> changeset
#Ecto.Changeset<
  action: nil,
  changes: %{},
  errors: [age: {"is invalid", [type: :integer, validation: :cast]}],
  data: #User<>,
  valid?: false
>
```

If we already have a populated `User` type and we pass in valid data, we get our change tracking as expected and the data is cast if need be.

```elixir
iex> changeset = Ecto.Changeset.cast(%User{age: 24}, %{age: "0"}, [:age]) 
iex> changeset
#Ecto.Changeset<
  action: nil,
  changes: %{age: 0},
  errors: [],
  data: #User<>,
  valid?: true
>
```

## More writing

For more of my writing, check out my newsletter: [off the wire](https://offthewire.substack.com)
How to use an Azure Custom Template to deploy a Virtual Machine
Tags: beginners, tutorial, devops, cloud
Published: 2024-05-20 16:51:23

## Azure Custom Template
Azure Custom Templates, also known as Azure Resource Manager (ARM) templates, are JSON files that define the infrastructure and configuration of Azure resources. They enable the automation and deployment of resources in a consistent and repeatable manner.

Steps to use Template to deploy a VM
Step 1
On Azure search bar, search and click deploy Custom Template
![search](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a3368sgfh5merq0cxmw0.png)

Step 2 
Click on create a linux virtual machine
![linux](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hce2gcn891b79r2khai0.png)

Step 3
Create a resource group, enter username and click password
![resource group](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/033cr09v7j464tzry60h.png)

Step 4
Scroll down to Click review and create
![review and create](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wkwvvp89cklhvf5dotl6.png)

Step 5
Click create
![create](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t5nlb1l3yjgcozweo1h1.png)

Step 6
Click on go to resource group
![resource group](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oaf8mzheioqkf94no1il.png)

Step 7 
click on the virtual machine
![VM](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1421x5uwpzdw6za2j7x1.png)

Finally, you will see the VM status indicating RUNNING
![vm running](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b7p149ko1r72un2mvepn.png)
python django
Published: 2024-05-20 16:49:15

1. Create Folder 

2. Create venv

python -m (Folder Name)
(folder name)\scripts\activate
3. Django install:
 pip install django
4. Create Project

django-admin startproject (name)
cd (project name)
py manage.py migrate
5.Create app:
py manage.py startapp (app name)
6.create superuser:
py manage.py createsuperuser
Customization Tips for Windows Desktop Online
Published: 2024-05-20 16:48:19

Customizing your Windows Desktop Online experience not only adds a personal touch but also enhances productivity and aesthetics. Start by selecting a theme that resonates with your style and workflow. Windows offers a variety of themes, ranging from minimalist designs to vibrant landscapes, allowing you to tailor your desktop environment to suit your preferences.

Next, explore desktop backgrounds and wallpapers that inspire creativity and focus. Whether it's a serene nature scene or a motivational quote, choose imagery that resonates with you and promotes a positive work environment.

Additionally, take advantage of customization options for icons, fonts, and colors to further personalize your desktop. Organize your desktop icons in a way that optimizes accessibility and workflow efficiency. Consider using custom icon packs or resizing icons for a cleaner look.

Furthermore, leverage widgets and gadgets to display real-time information such as weather updates, calendar events, or news feeds directly on your desktop. These widgets provide quick access to essential information without disrupting your workflow.

Lastly, regularly update and refresh your desktop customization to prevent monotony and keep your workspace engaging and inspiring. By embracing customization options, you can transform your Windows Desktop Online into a personalized oasis that reflects your style and enhances your productivity.

Apps4Rent offers expert guidance and support for maximizing your [Windows Desktop Online](https://virtualdesktoponline.com/) customization, providing tailored solutions and assistance to create a personalized and productive digital workspace. With their expertise, you can navigate the customization options seamlessly, ensuring an optimized desktop experience that meets your unique needs and preferences.
How to Decide if Frontend Development is Right for You
Tags: webdev, javascript, react, frontend
Published: 2024-05-20 16:42:12

Here are the ten points to help you determine if frontend development might be the right career path for you:

1. **Interest in User Experience (UX)**:
   - You enjoy designing and improving how users interact with websites and applications, focusing on usability and aesthetics.

2. **Creative and Visual Skills**:
   - You have a knack for visual design and enjoy creating appealing and user-friendly interfaces.

3. **Attention to Detail**:
   - You are meticulous and pay close attention to details, ensuring that every element on a webpage is perfectly aligned and functional.

4. **Passion for Problem-Solving**:
   - You find satisfaction in troubleshooting and solving problems, especially those related to user interactions and interface issues.

5. **Basic Understanding of HTML, CSS, and JavaScript**:
   - You have some familiarity with the fundamental technologies of frontend development and are eager to learn more.

6. **Enjoyment of Continuous Learning**:
   - You are excited about the fast-paced nature of frontend development, where new tools and frameworks frequently emerge.

7. **Collaboration Skills**:
   - You work well in teams and enjoy collaborating with designers, backend developers, and other stakeholders to create cohesive products.

8. **Desire for Immediate Feedback**:
   - You appreciate seeing the immediate results of your work, as changes in frontend development are instantly visible in the browser.

9. **Analytical Thinking**:
   - You possess strong analytical skills, allowing you to break down complex problems and find efficient solutions.

10. **Interest in Responsive Design**:
    - You are enthusiastic about creating websites and applications that work seamlessly across different devices and screen sizes.

Happy Learning 🎉
Simple Guide: How to Measure Floor Plan Area with Precision
Published: 2024-05-20 16:42:10

[ How to Measure Floor Plan Area with Precision
](https://proptimes.org/how-to-measure-floor-plan-area-with-precision/)
Accurately measuring floor plan area is a crucial step in various endeavors, from renovations to real estate transactions. Whether you're a homeowner planning a remodel or a real estate professional assessing property values, knowing how to measure floor plan area is essential. In this guide, we'll explore methods and techniques for precise measurements.

 **Why Accurate Floor Plan Measurements Matter**

Before delving into the how-to aspect, it's crucial to understand why accurate floor plan measurements are vital. Inaccurate measurements can lead to costly mistakes, delays, and even legal issues. Whether buying, selling, or renovating, precise dimensions inform informed decisions.

**Key Terms and Concepts**

Before proceeding, let's familiarize ourselves with key terms:

- *Square Footage*: Area measured in square feet or square meters.
- *Floor Plan*: A scaled diagram illustrating room arrangement.
- *Scale*: Ratio of floor plan measurement to actual space.
- *Boundary*: Perimeter of the floor plan area.

**Simple Technique for Calculating Floor Areas of Unique Shapes**

For unconventional shapes like circles, understanding basic geometry is essential. Let's tackle circular rooms:

1. *Measure Diameter*: Across the middle from one side to the other.
2. *Find Radius*: Half the diameter.
3. *Apply Formula*: πR² (π ≈ 3.14, R = radius).
4. *Example*: Diameter 7 feet → Radius 3.5 feet → Area ≈ 38.5 square feet.
**
Understanding House Plans**

House plans involve multiple rooms. To measure the entire plan, sum up individual room areas, accounting for openings like doors and windows.

_Modern Tools for Floor Plan Calculations_

Software and apps streamline measurements. For square or rectangular rooms, multiply length by width. For triangles, use 0.5 * base * height.

**Effortless Open Space Floor Plan Measurement**

1. *Sketch Outline*: Draw room's outline.
2. *Segment Shapes*: Divide into squares, rectangles, etc.
3. *Calculate Areas*: Find area for each shape.
4. *Sum Up Areas*: Total room square footage.

 Steps for Measuring Floor Plan Area

1. *Gather Tools*: Measuring tape, laser device, or smartphone app.
2. *Prepare Space*: Clear clutter, remove furniture.
3. *Start Measuring*: Measure length and width, record.
4. *Calculate Area*: Multiply length by width for each room, sum up.
5. *Verify Accuracy*: Double-check measurements and calculations.

** Tips for Accuracy**

- *Level Surface*: Ensure floor is level.
- *Account for Irregularities*: Alcoves, closets, etc.
- *Check Obstructions*: Pillars, built-ins.
- *Take Multiple Measurements*: Minimize errors.
**
Conclusion**

Accurate floor plan measurements are crucial for construction, renovation, and real estate. Whether using traditional methods or digital tools, attention to detail is key. Mastering measurement empowers informed decisions and desired outcomes in home improvement or property evaluation. Remember, precision ensures success in any project or transaction.
Book Boxes
Published: 2024-05-20 16:39:26

Book wraps are needed by all. People read books in all stages. Books are the true friend of a person as they guide us about a lot of things. They also have to be put in proper boxes that define their worth. Books have to be enclosed in the kind of boxes. Many Customers order **[custom book boxes](https://www.clawscustomboxes.co.uk/product/book-boxes/)** from us.

Claws Custom Boxes LTD has a vast range of custom boxes to fulfill all your needs. Buy book packaging boxes with reinforced edges and corners for safe content. Different sizes are available at low prices!
RestoreFast App
Published: 2024-05-20 16:38:17

At RestoreFast, we believe in harnessing the power of technology to enhance our restoration services. Our cutting-edge RestoreFast App is designed to streamline the restoration process, providing our clients with unparalleled convenience and transparency.

Why Use the RestoreFast App?
Real-Time Updates: Stay informed with real-time updates on the progress of your restoration project. Our app provides instant notifications, ensuring you are always in the loop.

Seamless Communication: Communicate directly with your restoration team through the app. You can ask questions, provide feedback, and receive timely responses, all from the convenience of your smartphone.

Comprehensive Documentation: Access all necessary documents, including contracts, estimates, and progress reports, directly through the app. This ensures that you have all the information you need at your fingertips.

Appointment Scheduling: Easily schedule and manage appointments with our team. The app allows you to set reminders and receive alerts for upcoming visits.

Features of the RestoreFast App
User-Friendly Interface: Our app is designed with the user in mind, featuring an intuitive interface that makes it easy to navigate.
Photo and Video Sharing: Upload photos and videos of the damage to help our team assess the situation before arriving on-site.
Secure Data: Rest assured that your data is secure with our app, which uses advanced encryption to protect your information.
Success Stories
One of our clients recently faced significant fire damage. Using the RestoreFast App, they were able to document the damage, communicate with our team, and track the restoration progress seamlessly. The app made the entire process much more manageable and stress-free for the client.

Download the RestoreFast App Today!
Experience the convenience and efficiency of our restoration services with the RestoreFast App. Visit our website to learn more and download the app: RestoreFast App.
[](https://www.restorefast.com/restorefast-app)

https://www.restorefast.com/restorefast-app