teleren/devto huggingface dataset:
Running Amazon S3 Mountpoint Inside a Container
Tags: aws, docker, containers, s3
Published: 2023-03-22 12:37:04

## Introduction

Here is a simple example of running Mountpoint for Amazon S3 from inside a container

* Created with information as of 3/21/2023 (version: 0.2.0-b8363a4)
    
* Mountpoint for Amazon S3 is currently in alpha release and should not be used in production workloads
    
Container image is also available in [ECR Public gallery](https://gallery.ecr.aws/x8j1s2l2/container-mountpoint-s3).

## Dockerfile

```Dockerfile
FROM rust:1.68.0 as Build

RUN apt-get update && apt-get install -y \
    clang\
    cmake \
    curl \
    fuse \
    git \
    libfuse-dev \
    pkg-config \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/* \
 && git clone --recurse-submodules https://github.com/awslabs/mountpoint-s3.git \
 && cd mountpoint-s3 \
 && cargo build --release


FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y \
    ca-certificates \
    libfuse-dev \
    sudo \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/*

COPY --from=build /mountpoint-s3/target/release/mount-s3 /usr/local/bin/mount-s3

RUN chmod 777 /usr/local/bin/mount-s3

RUN useradd -ms /bin/bash mount-s3-user \
 && echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
 && adduser mount-s3-user sudo

USER mount-s3-user
```

## Getting started

Image Build

```bash
docker image build -t mount-s3:latest .
```

Run

```bash
docker container run --privileged --rm -it mount-s3:latest bash
```

Enjoy

```bash
mount-s3-user@ce43831fda04:~$ sudo mount-s3 <bucket_name> /mnt --allow-other --region ap-northeast-1
mount-s3-user@ce43831fda04:~$ ls -l /mnt/test.json
-rw-r--r-- 1 root root 306424 Feb 21 02:42 /mnt/test.json
```

## EC2 on Docker Consideration

If using EC2 IAM roles for AWS credentials, increasing the IMDSv2 hop limit from 1 to 2 in the instance metadata options is [recommended](https://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html#imds-considerations).

> In a container environment, if the hop limit is 1, the IMDSv2 response does not return because going to the container is considered an additional network hop. To avoid the process of falling back to IMDSv1 and the resultant delay, in a container environment we recommend that you set the hop limit to 2

```bash
aws ec2 modify-instance-metadata-options \
    --instance-id i-xxxxxxxxxxxxxxxxx \
    --http-put-response-hop-limit 2 \
    --http-endpoint enabled
```

I hope this will be of help to someone else.

## GitHub Repo
{% embed https://github.com/hayao-k/container-mountpoint-s3 %}
VBucks Generator - Reviews, Benefits, Results, Warnings & Conplaints?
Tags: webdev, javascript, beginners, programming
Published: 2023-03-22 12:35:46

But before moving ahead [VBucks Generator](url) it is to know some thing about your meals. Different food have different thermogenic level as called as fat burning capacity. Researchers proved those meals requires energy to understand. This energy is obtained from dishes. Food with high thermogenic capacity help us to burn fat. 
[](https://www.outlookindia.com/business-spotlight/how-to-get-free-v-bucks-in-fortnite-100-working-method-in-2023-without-survey-verification-news-271825)
https://www.click.in/gurgaon/vbucks-generator-reviews-benefits-results-warnings-c75-v51876851
https://www.sympla.com.br/evento/vbucks-generator-reviews-benefits-results-warnings-conplaints/1926335
https://promosimple.com/ps/25a72/vbucks-generator
https://melaninterest.com/pin/vbucks-generator-reviews-benefits-results-warnings-conplaints/
https://app.flowcode.com/page/freevbucksbenefits
https://infogram.com/vbucks-generator-1h8n6m3ywkd3z4x
https://freevbucksfact.blogspot.com/ 
https://tdsakhbva.podbean.com/
https://soundcloud.com/vbucks-generator/freevbucksinfo 
https://www.facebook.com/events/608130930784738/
https://www.instagram.com/freevbucksinfo/
https://www.pinterest.com/pin/944348615596135076/
https://www.scoop.it/topic/vbucks-generator-benefits
https://twitter.com/freevbucks11051
Roadmap to help you break down a project before putting your hands into implementation
Tags: beginners, productivity, programming, tutorial
Published: 2023-03-22 12:33:02

Congratulations on thinking of a project. Do you know your Idea can be the next biggest talk of the town?



Here's a roadmap to help you break down a project before putting your hands into implementation


- **Define the project:** The first step is to define the project and its scope. Write down the project requirements, features, and functionalities.

- **Create a list of tasks:** Once you have defined the project, create a list of tasks that need to be completed. Break down the project into smaller, manageable tasks. This will help you stay organized and on track.

- **Prioritize tasks:** Prioritize the tasks based on their importance and urgency. This will help you focus on the most critical tasks first.

- **Estimate the time required:** Estimate the time required for each task. This will help you manage your time better and ensure that you meet the project deadline.

- **Identify dependencies:** Identify tasks that are dependent on other tasks. This will help you plan your work and ensure that you don't get stuck waiting for another task to be completed.

- **Assign tasks:** Assign tasks to yourself or team members based on their skills and availability.

- **Set milestones: **Set milestones for the project. This will help you track progress and ensure that you are on track to meet the project deadline.

- **Test and iterate:** Test the project as you go along and iterate as needed. This will help you catch any issues early and ensure that the final product meets the project requirements.

- **Monitor progress:** Monitor progress regularly and make adjustments as needed. This will help you stay on track and ensure that you meet the project deadline.

- **Celebrate success:** Finally, celebrate the success of completing the project. This will help you feel motivated and ready to take on the next project.




By following these steps, you can break down a project into manageable tasks and ensure that you complete the project successfully. Good luck!

Check out my blog www.melbite.com
New video tutorial series - Phoesion Glow basics
Tags: microservices, webdev, dotnet, cloud
Published: 2023-03-22 12:22:33

The first video of the new "Phoesion Glow basics" series is up!
Learn how to create your first C# web API micro-service!

[**Watch it now at Youtube!**](https://www.youtube.com/watch?v=RfrkUuAnT5U&list=PLgd9-Gs1hc3FIME3CIo3yblIbxU5JbTi-&index=1)

**Phoesion Glow** is a **new framework** for developing **cloud microservices** using C#. It offers out-of-the box Mediators/Gateway, Service-bus, service hosts, Kubernetes operators and more! All components have been designed from the ground up to work together seamlessly and provide a uniform and streamlined experience for developing, deploying and managing your cloud services.

The series, aims to teach the basic concepts, setups and tools of Phoesion Glow. [**Playlist available at Youtube!**](https://www.youtube.com/watch?v=RfrkUuAnT5U&list=PLgd9-Gs1hc3FIME3CIo3yblIbxU5JbTi-&index=1)
Why is NodeJS a Natural Fit For IoT Applications?
Tags: node, develope, developments
Published: 2023-03-22 12:12:54

One of the most popular technologies today is NodeJS. When Ryan Dahl had the notion to use JavaScript as a backend language on web servers, it was first released in 2011. It was a brilliant idea that spawned numerous tech stacks and enabled many developers to advance their technological knowledge.

**What is IoT?** 

We have multiple electric and electronic objects around us which are thought to be dumb in nature. Such machines cannot do anything on their own, and they need a clear set of instructions from a manual operator. This system takes time, and it is also not a scalable solution.

**Why is NodeJS a Natural Fit For IoT Applications?**

**Exceptional Performance**

IoT platforms require a language that works at near real-time speed so that decisions can be taken from processed data and instructions can be executed without any delays. NodeJS provides one of the best performances in today’s time. It is based on the chrome Javascript V8 engine, which is, in turn, built using C++, and this makes it extremely fast.

**Memory Efficient**

NodeJS is a memory-efficient technology. Due to this, it occupies less memory and serves requests in a much better way than other technologies. NodeJS apps do not require high-specification servers and memory devices because of their excellent execution speeds and optimized code.

**Scalability**

IoT is not used as much as it should be, and if a business is using it today, there is a high possibility that it needs to scale. When businesses set up an IoT network today, they do it for testing purposes with a small network of few devices, but when the test is successful, things change. The network and IoT apps may perform exceptionally well when they are first tested and finalized, but they can lag as the number of devices increases.

**Node Package Manager**

The Node Package Manager is one of the main reasons why NodeJS is an excellent choice for IoT applications. Millions of libraries and modules are available in NPM, one of the biggest code repositories in the world, and they may be utilized directly in IoT programs.

These should be plenty to get you started using NodeJS for your IoT apps as we have now seen a number of reasons why it is a perfect fit. Give NodeJS a try when creating your next IoT application, and you'll discover many more benefits besides those we've just covered. [Read the full article](https://www.techbrains.net/why-is-nodejs-a-natural-fit-for-iot-applications.html) to get complete information related to their experience.
Switching it up: how Tailwind CSS helped me create a dark mode logo in Rails
Tags: webdev, rails, tailwindcss, fullstack
Published: 2023-03-22 12:12:25

As someone that still swears by Bootstrap, I recently had the opportunity to try [Tailwind CSS](https://tailwindcss.com/). I'm currently working on a new Rails 7 app for my wife, and I wanted to design a new logo for it. I used Illustrator to create the logo, and exported it as a PNG with a transparent background and white foreground. But I wanted to take it to the next level by adding a toggle between light and dark mode depending on the user's preference or the system settings.

![Adobe Illustrator](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7sfo2dgc1qbkh1m7ppxb.png)

I wasn't sure how to achieve this effect without writing custom CSS or exporting another version of the logo for light mode screens, but I knew that there had to be a better way to achieve the effect I wanted. Sure, I could write a custom style class in CSS for this, but then how do I check if dark mode is enabled as a system wide setting? Tailwind CSS to the rescue. After setting up Tailwind for my rails app, it was as simple as adding two utility classes to the logo in my `header.erb` file:

```  
<%= image_tag 'brand/1x/logo.lightmode.png', class: "h-full dark:filter dark:invert" %>
```

These classes apply the `invert(1)` function to the CSS property `filter` , but only when system wide dark mode is enabled. 

![Light mode demo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/url17r555bokpcj45yej.png)

![Dark mode demo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3jpds2yh2gl7abh69c3m.png)

This was such a timesaver and cut down quite a few hoops in getting the logo right. I’m still discovering other utility classes in Tailwind CSS, one thing I know for sure is I might finally ditch Bootstrap for Tailwind for new Rails apps.

_Are you preparing for a coding interview? Check out [Firecode.io](https://firecode.io)._
Stop saying "you forgot to …" in code review
Published: 2023-03-22 12:12:08

On startup, Danger reads a Dangerfile from the project root. Danger code in GitLab is decomposed into a set of helpers and plugins, all within the danger/ subdirectory, so ours just tells Danger to load it all. Danger then runs each plugin against the merge request, collecting the output from each. A plugin may output notifications, warnings, or errors, all of which are copied to the CI job’s log. If an error happens, the CI job (and so the entire pipeline) fails.

On merge requests, Danger also copies the output to a comment on the MR itself, increasing visibility.

Danger is a gem that runs in the CI environment, like any other analysis tool. What sets it apart from (for example, RuboCop) is that it’s designed to allow you to easily write arbitrary code to test properties of your code or changes. To this end, it provides a set of common helpers and access to information about what has actually changed in your environment, then runs your code!

If Danger is asking you to change something about your merge request, it’s best just to make the change. 

check this site for more info : https://danger.systems

We are using danger and seeing lots of benefits !
7 Tips on the profession of UI/UX Design
Tags: design, ux
Published: 2023-03-22 12:05:16

If you are interested in becoming a UI/UX designer, here are some tips that can help you succeed in the profession.

Conducting user research, testing and interviews to better understand user needs.

1. Be creative:
UI/UX design is a creative profession that requires you to think outside the box. Look for inspiration in other areas of design, in other media and in other fields of knowledge.
2. Understand the user:
The ultimate goal of UI/UX design is to create products that meet users' needs. This means you need to have a deep understanding of users and what they need to build effective products.

Try new approaches and experiment with new design techniques.

1. Communicate Effectively:
UI/UX design involves working in a team with other designers, developers and business professionals. It's important to be able to communicate effectively with these people to ensure the design meets user and business needs.
2. Stay updated:
UI/UX is an ever-evolving field. New technologies, tools, and trends emerge regularly, so it's important to stay current.

Read blogs, attend area events, and join online discussion groups to stay informed.

1. Learn to use design tools:
There are many design tools available, from complex software to simple mobile apps. It is important to learn to use the tools that are relevant to your career in UI/UX design.

Some examples of tools include Sketch, Figma, Adobe XD, InVision and many others.

1. Build a strong portfolio:
A strong portfolio is essential for getting a job in UI/UX. Be sure to include projects that demonstrate your ability to design user interfaces and user experiences.

Add clear and objective descriptions for each project, highlighting the skills and techniques used.

1. Be patient:
UI/UX is a profession that takes time, effort and patience. You are unlikely to become a successful UI/UX player overnight.

Persevere and dedicate yourself to constantly learning and improving your skills and knowledge.

These are just a few tips to succeed in the UI/UX design profession. Remember that success in UI/UX requires a combination of technical skills and soft skills such as creativity, good communication and empathy with users.
Independent Dev vs. Company Dev: Unlocking the Secrets to Thriving in Your Career - The Ultimate Guide
Tags: webdev, career, discuss
Published: 2023-03-22 12:00:00

🎉💻 Hey, code warriors! Are you ready for an epic showdown between the two titans of the tech world? That's right! It's Independent Dev vs. Company Dev, and we're going to dig deep into the secrets of thriving in your chosen path and boosting your earnings! So, buckle up and get ready for a wild ride through the realm of full stack development!

## Round 1: Freedom & Flexibility 🦅🎨

Independent Dev: Ah, the sweet taste of freedom! As an indie dev, you get to choose your projects, set your hours, and be your own boss. Creative control? Check. Flexibility? You bet!

Company Dev: In a company setting, you'll work on assigned projects and follow company guidelines. However, having a structured environment can help you hone your skills and work with a diverse team.

## Round 2: Income & Job Stability 💰📈

Independent Dev: Income can be a rollercoaster, with potential for high peaks and low valleys. But hey, fortune favors the brave, and the sky's the limit!

Company Dev: Steady paycheck? Check! Company benefits? Yes, please! Job stability can be appealing, but it's important to weigh the trade-offs and find a company that aligns with your values.

## Round 3: Networking & Collaboration 🌐🤝

Independent Dev: It's all about the hustle! Networking is crucial for indie devs, so get out there, make connections, and collaborate with like-minded code enthusiasts.

Company Dev: Working for a company provides built-in networking opportunities and collaboration with talented colleagues. Plus, having a recognizable brand on your resume can open doors.

## Round 4: Skill Development & Growth 🌱💪

Independent Dev: The world is your oyster! Continuous learning is key to staying ahead in the game. Embrace new technologies, experiment, and evolve.

Company Dev: Companies often provide training and development opportunities. You'll likely specialize in specific tech stacks, but you can still grow and learn within that framework.

🏆 And the winner is... 🏆

Drumroll, please... it's a tie! There's no one-size-fits-all answer. Your ideal path depends on your personal goals, preferences, and work style. Are you an adventurous, risk-taking dev craving the freedom of the indie life? Or are you seeking the stability and structure of a company environment? The choice is yours!
Conclusion 🌟

Alright, my code-slinging comrades, we've dissected the pros and cons of Independent Dev vs. Company Dev. Now it's your turn to weigh in! Which path do you prefer, and why? Share your experiences, insights, and triumphs in the comments below. Let's spark a lively discussion and help each other unlock the secrets to success in the full stack world!
React.js
Tags: react, webdev, javascript, fameux
Published: 2023-03-22 11:50:59

In this blog, I would like to share my experience in learning and applying React.js to build a web application.

React.js is a popular JavaScript library used for building user interfaces. It was created by Facebook and has gained a lot of popularity due to its efficiency, flexibility, and ease of use. When I started learning React, I found the learning curve to be steep, but with practice and patience, I was able to grasp the fundamentals.

One of the features I found particularly helpful was the use of components in React. Components are reusable pieces of code that can be used to build complex user interfaces. They can be nested within each other, and each component can have its own state and properties. This made it easier for me to break down the user interface into smaller, more manageable parts.

Another feature I found useful was React's virtual DOM. The virtual DOM is a lightweight representation of the actual DOM and allows React to update only the parts of the user interface that have changed, rather than the entire page. This greatly improves the performance of the application and makes it more efficient.

To apply my newly acquired React knowledge, I decided to build a simple to-do list application. The application had a form where users could input a task, and the task would be added to the list. Users could also mark tasks as completed, and the completed tasks would be crossed out.

Overall, learning and applying React was a challenging yet rewarding experience. I was able to build a functional application and gain a better understanding of modern web development practices. I look forward to continuing my journey with React and exploring more of its features.

Thank you for reading my blog, and I hope you found it informative and useful!
#MarkUP Language
Tags: github, productivity, git, 100daysofcode
Published: 2023-03-22 11:41:52

 

### Introduction
>Markdown is a lightweight markup language used for formatting and styling plain text. It was designed to be easy to read and write, with a simple syntax that can be converted into HTML or other formats.

In Markdown, you can add formatting elements to your text by using special characters and simple syntax. Here are some common formatting options:

- Headings: You can create headings by adding a number of hash symbols (#) at the beginning of a line. The number of hash symbols indicates the level of the heading, with one hash symbol for the largest heading and six for the smallest.

- Emphasis: You can emphasize text by enclosing it in asterisks (*) or underscores (_). For example, *italic* or _italic_ will appear as italicized text, while **bold** or __bold__ will appear as bold text.

- Lists: Markdown supports both ordered and unordered lists. For unordered lists, you can use either asterisks (*), plus signs (+), or hyphens (-) at the beginning of each line. For ordered lists, you can use numbers followed by periods. Indentation can be used to create nested lists.

- Links: You can create links by enclosing the link text in square brackets ([]) and the URL or path in parentheses (()). For example, [Google](https://google.com) will create a clickable link to the OpenAI website.

- Images: Similar to links, you can include images in Markdown by using an exclamation mark (!), followed by square brackets containing the image alt text, and parentheses containing the image URL or path. For example, ![Alt Text](https://media.gcflearnfree.org/content/5e31ca08bc7eff08e4063776_01_29_2020/ProgrammingIllustration.png) will display an image with the alt text "Alt Text."

### conclusion
These are just a few examples of the formatting options available in Markdown. It's widely used for creating documentation, writing blog posts, and formatting content on websites or in plain text files. Markdown files can be easily converted to HTML, PDF, or other formats using various tools and libraries.