teleren/devto huggingface dataset:
Интересные сюжетные игры на десятки часов прохождения
Published: 2024-05-15 23:29:42


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

Вторая часть захватывающего боевика-экшна оказалась интересней и разнообразней первой игры. Действия второй части переносят нас в солнечный Сан-Франциско, где мы выступаем в роли хакера, который объединяется с группой активистов, чтобы бросить вызов алчным корпорациям и властям-да, будем играть за неких робин-гудов. 

В игре отличный сюжет, который насыщен как сюжетными, так и побочными заданиями. Главной фишкой игры все также является система взаимодействия с технологичными системами города, которые и будут помогать нам выполнять задания-избавляться от преследований и так далее. Главный герой может взламывать абсолютно все, что попадется под руку. 

В целом хочется сказать, что это достаточно динамичный игровой проект, где отличная боевая система, захватывающий сюжет, геймплей и просто восхитительная графика. Больше информации на нашем сайте [#маркет-плейс_кракен](https://kraken.2kramp.site/).
Голодные игры: 7 нелогичных моментов в самих Играх
Published: 2024-05-15 23:27:18


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xjmq82a7skz1tfaagxdr.png)
В основе популярных молодёжных антиутопий лежит интересная концепция, за счёт которой довольно обычное по своей структуре произведение и привлекает к себе большое внимание.

    "Дивергент", в основе которого разделение на пять фракций в зависимости от характера (чем-то напоминает систему факультетов Хогвартса, только в рамках общества)
    "Бегущий в лабиринте", в котором группа подростков попала в огороженное огромными стенами пространство с четырьмя дверьми, ведущими в некий Лабиринт.
    Или "Голодные игры", в центре которых, собственно, сами Игры, в которых дети сражаются друг с другом до единственного выжившего.

Но большая проблема всех популярных антиутопий в том, что при ближайшем рассмотрении их главная фишка не выдерживает никакой критики из-за нелогичности этой главной идеи. "Голодные игры" не исключение, и в этом материале предлагаю обсудить самые большие логические проблемы мрачного состязания. Больше информации на сайте кино [#кино_кракен](https://darknet.2kramp.site/)
MAXWINBET77>>BO VIRAL BANK DANAMON DEPOSIT SLOT 5 RIBU LINK ALTERNATIF GACOR
Published: 2024-05-15 23:26:57

LINK DAFTAR [(KLIK DI SINI)](https://heylink.me/Maxwinbet77.Pro/)
LINK DAFTAR [(KLIK DI SINI)](https://heylink.me/Maxwinbet77.Pro/)


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

Login slot depo Bank DANAMON 5000 bisa anda lakukan kapan saja karena kami online 24jam dengan ini kami bisa menyesuaikan kapan member bisa bermain sesuai waktu yang anda miliki. Jadi diharapkan anda bisa lebih fokus lagi dalam bermain slot gacor 5000 dengan menggunakan fitur free spin yang kami miliki atau dengan auto turbo spin slot dari permainan slot yang anda favoritkan.

Slot deposit Bank DANAMON merupakan pusat bandar judi slot online resmi terbesar dan terpercaya di indonesia saat ini. Bandar slot deposit Bank DANAMON proses sangat cepat dan aman 24jam. Slot Bank DANAMON 5000 daftar situs slot deposit Bank DANAMON 5000 tanpa potongan dimana aplikasi Bank DANAMON tersebut telah sangat membantu para judi slot online jauh lebih berkembang dari sebelumnya pasalnya slot deposit via Bank DANAMON ini membantu dalam mempermudah transaksi disaat anda ingin melakukan pembayaran. Kini orang orang ingin bermain judi online khususnya slot games tidak perlu khwatir lagi apabila tidak memiliki saldo diatm, sebab dengan adanya aplikasi Bank DANAMON sudah bisa memberikan dampak signifikan buat perjudian online di indonesia.


Bagaimana cara menarik kemenangan dari permainan Slot DANAMON 5000?

Jika Anda mendapatkan kemenangan pada permainan Slot DANAMON 5000, kemenangan tersebut akan secara otomatis ditambahkan ke saldo akun Slot DANAMON Anda. Untuk menarik kemenangan, Anda dapat mengakses menu "Withdraw" dan memilih jumlah yang ingin ditarik. Kemenangan akan dikirimkan ke rekening bank yang terdaftar pada akun Slot DANAMON Anda.


Apakah permainan Slot DANAMON 5000 dapat dimainkan secara gratis?
Tidak, Slot DANAMON 5000 hanya dapat dimainkan dengan menggunakan uang asli.


Apakah permainan Slot DANAMON 5000 aman untuk dimainkan?
Slot DANAMON 5000 merupakan permainan yang disediakan oleh Bank DANAMON, sehingga dapat dipastikan aman untuk dimainkan. Namun, pastikan Anda hanya bermain di situs atau aplikasi resmi Slot DANAMON dan selalu menjaga kerahasiaan informasi akun Anda.


Itulah beberapa pertanyaan dan jawaban seputar permainan Slot DANAMON 5000. Semoga artikel ini dapat membantu Anda dalam memahami permainan ini dengan lebih baik dan membantu Anda dalam meraih kemenangan pada permainan Slot DANAMON 5000.
Deploying in AWS - Week 3/4: New NOTR Server
Tags: aws, docker, devops, cloud
Published: 2024-05-15 23:26:49

## Introduction

After two weeks of intensive learning and applying, I successfully deployed my server for Neat on the Rocks onto AWS. This journey involved learning and utilizing various AWS services, including ECS, EC2, ECR, IAM, RDS, and security groups. In this blog post, I'll walk you through the steps I took, the challenges I faced, and the solutions I found.

## AWS Services Overview

Before diving into the steps, here's a brief overview of the AWS services I used:

- **ECS (Elastic Container Service)**: Manages and deploys Docker containers.
- **EC2 (Elastic Compute Cloud)**: Provides scalable computing capacity.
- **ECR (Elastic Container Registry)**: Stores and manages Docker container images.
- **IAM (Identity and Access Management)**: Manages access to AWS services and resources.
- **RDS (Relational Database Service)**: Manages relational databases in the cloud.
- **Security Groups**: Controls inbound and outbound traffic to AWS resources.

## Steps to Deploy the NOTR Server

### Step 1: Setting Up the Docker Environment

First, I ensured that my application was containerized using Docker. I created a `Dockerfile` to define the environment and instructions for building the Docker image.

The code for this is available in my previous blog post where I containerized the application. The main difference is that I removed the creation for the Postgres image since we used AWS RDS.

### Step 2: Pushing the Docker Image to ECR

When you open up AWS ECR, you can create a new container repository and get instructions on how to push. You need to have the Docker Daemon and AWS CLI installed.

### Step 3: Setting Up ECS

I configured ECS to manage and deploy the Docker container. This involved creating a task definition and an ECS service.

The task definitions is where I defined my port routing and environment variables.

I created an ECS service to run and manage my tasks. This involved setting up a cluster, creating the service, and configuring the load balancer to route traffic to my tasks.

### Step 4: Configuring Security Groups

I set up security groups to further secure my server to only allow certain IPs to access certain things. This was a difficult task since every AWS service has its own IP; I had to track them all.

### Step 5: Setting Up RDS

I used Amazon RDS to manage my PostgreSQL database. This involved creating an RDS instance, setting up the database, and configuring my application to connect to it.

Step 6: IAM Roles and Policies
I created IAM roles and policies to manage access to AWS resources. This included roles for ECS tasks to access ECR, S3, and RDS.

## Conclusion
Deploying Neat on the Rocks onto AWS was a challenging but rewarding experience. I gained valuable insights into using ECS, EC2, ECR, IAM, RDS, and security groups. By carefully configuring each component and troubleshooting issues as they arose, I successfully deployed my server and made it accessible on the internet.
Какие космические миссии уже запланированы на 2024 год
Published: 2024-05-15 23:24:34


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jsfbzwj50jm2fa5d0ja1.png)Любому, даже тому, кто не особо вникает в детали космической индустрии, будет интересно узнать, что большая часть новостей в этой сфере ориентирована не столько на текущие достижения, сколько на планы и проекты будущего, порой довольно далекого. 

В последнее время одним из самых обсуждаемых событий в космической отрасли стали запуски Starship — новейшего сверхтяжелого ракетного комплекса американской компании SpaceX. Этот инновационный проект включает в себя мощную ракету-носитель и многоразовый космический корабль, который в будущем должен будет осуществлять посадки на различные космические тела и возвращаться на Землю.

Разработчики надеются, что при многоразовом использовании комплекс сможет доставлять до 150 тонн груза на низкую околоземную орбиту, а при одноразовом — до 250 тонн, что делает его самой мощной системой со времен советской «Энергии».

    Испытательные полеты Starship начались в конце апреля 2023 года: первый из них предусматривал орбитальный облет Земли с последующей посадкой в Тихом океане. К сожалению, первый запуск не увенчался успехом: на Super Heavy начался пожар, ступени корабля не разделились, и комплекс уничтожился.

Следующий запуск произошел спустя полгода — сценарий был тот же, но команда инженеров внесла некоторые коррективы в конструкцию, чтобы улучшить систему. Этот запуск прошел успешнее: двигатели функционировали исправно, и ступени корректно отделились друг от друга.

Но, несмотря на улучшения, носитель Super Heavy взорвался на высоте примерно около 100 км : корабль Starship достиг высоты 148 км и скорости 6,67 километров в секунду, но его полет неожиданно прервался из-за системы аварийного прекращения работы. В результате корабль потерял связь с командным центром и разрушился, а обломки упали в океан. Больше новостей о космосе на нашем сайте [#космос_маркет-плейс_кракен.](https://2kramp.site)
Our game progress ~ Mirror ~
Published: 2024-05-06 21:16:07

## Introduction 

In the previous posts, I introduced the basic concept of the game and implemented the login screen. From this article onwards, I will introduce the implementation of the main part of the game. We will cover the following topics, each of which is currently under active development.

- ~~User Animation and Items~~
- ~~Timer~~
- ~~Basic Rules ( Victory, Defeat )~~
- Mirror 
- Mirror Movement ( Through, Break, Trap )

This post will shows the implementation of Mirror.

## Summary of the implementation of Mirror

One of the main game mechanism in our game is the Mirror world. Players in both Survivor and Hunter can use mirror to move to the mirror world.

Additionally, mirrors come in two types: available and unavailable. Therefore, it was necessary to implement a way for users to distinguish between them.

Here's what we implemented this time:

- Setting Mirrors
- Materials for identifying availability
- Display of key input instructions

I will explain the implementations of moving via mirrors and breaking mirrors in the next post.

## Setting Mirrors

At this time, due to the large number of mirrors, we've created multiple mirrors on the level and manage each of them as a list. They are randomly determined to be available or unavailable. Below is an implementation example.

```
foreach (Mirror mirror in mirrors)
{
  string mirrorName = mirror.Name;
  if (UnityEngine.Random.Range(0, 2) == 0)
  {
     photonView.RPC("SetMirrorMaterial", RpcTarget.All, mirror.Name, "new");
  }
  else
  {
     photonView.RPC("SetMirrorMaterial", RpcTarget.All, mirror.Name, "original");
  }
}
```

## Materials for identifying availability

Looking at the implementation example above, you might notice that we change the material depending on whether the mirror is available or unavailable. In the actual game, when a mirror is available, it appears to be blight, making it easy for users to distinguish.


{% youtube https://www.youtube.com/watch?v=LQmGcGwPaRM %}

This time, we used materials, but I believe that using effects would make the game even more immersive. Therefore, I'd like to challenge using effects in the upcoming sessions.

## Conclusion
To achieve a better design, I found out that creating custom materials could be one approach. However, this process may require additional time, so it's essential to consider it in terms of development priorities.

- ~~User Animation and Items~~
- ~~Timer~~
- ~~Basic Rules ( Victory, Defeat )~~
- ~~Mirror~~
- Mirror Movement ( Through, Break, Trap )
Copy/Pasting output from the terminal
Tags: beginners, terminal, command, developer
Published: 2024-05-15 22:42:22

Manually copy-pasting the output of a terminal command with a mouse/trackpad feels tedious. It is more convenient to use commands to do so. And we can save the effort by using the built-in commands.

## Mac

    pwd | pbcopy

We can use pbcopy and pbpaste to copy and paste from the Mac terminal.

We can pipe the output of a command to copy its output to the clipboard. For example, to copy the current directory path, we can use

Or if we want to copy the contents of a file:

    cat ~/Desktop/example.txt | pbcopy

Similarly, to paste the clipboard output in a file, we can use:

    pbpaste > ~/Documents/example.txt

## Windows

The commands to use on a Windows machine are clip and powershell get-clipboard.

For copying the standard output to the clipboard, we use the command line command:

    <some command> | clip

For copying the current directory, we need to convert it into a command. Since %cd% is the environment variable that stores that value, we can echo that value and pipe it into the clip command.

    echo %cd% | clip

Similarly, for copying a file’s contents to the clipboard, we can use

    cat example.txt | clip

To paste the clipboard into a file, we can use the powershell get-clipboard command

    powershell get-clipboard > example.txt

## Linux

For Linux machines, we can use the terminal commands xclip or xsel.

These need to be installed first:

    sudo apt-get install xclip
    sudo apt-get install xsel

Using xsel, the command for copying something is

    xsel --clipboard --input

So, copy the current directory, we can use:

    pwd | xsel --clipboard --input

And for copying the contents of a file to the clipboard:

    cat example.txt | xsel --clipboard --input

And for pasting the clipboard contents in a file, we can use:

    xsel --clipboard --output > example.txt

That is all there is to copy/pasting output from the terminal to the system clipboard. If you have any questions, let us know in the comments below.
Agents in Action - MindsDB Hackathon Recap
Published: 2024-05-15 22:39:26

## Overview of the Event

This past weekend, we opened our doors to 250 innovative hackers at MindsDB's headquarters in San Francisco. Over a span of 48 hours, participants developed agents designed for real-world application, supported by the release of Meta’s Llama 3 and our MindsDB Endpoint. Our hackers had free, unlimited access to all supported models, encouraging them to create robust and reliable agents.

The event was structured into two rounds of judging. Initially, 17 teams presented their projects in a science fair format, engaging directly with the community and a set of 10 judges. From there, the top 6 teams advanced to the finals, presenting live on stage to an audience of over 200 people, followed by a Q&A session before the winners were decided.


## Why We Hosted This Hackathon

At MindsDB, we believe in nurturing a strong community of AI enthusiasts and builders. Hosting a hackathon with partners like Mayfield and AgentOps allowed us to reinforce our commitment to the AI community and provide a platform for innovation and collaboration.

Events are core to us in maintaining our relationship with the booming AI community both virtually and in-person. [See our upcoming events here](https://lu.ma/mindsdb)


## Project Submissions and Round 1 of Demos

Seventeen teams participated, each developing unique agents to tackle diverse challenges. Projects ranged from Nexus AI’s niche solution for enterprise procurement to Nouspo’s adaptive AI agents that can learn any API documentation, enhancing coding copilot capabilities.

Explore all submitted projects and their creative solutions here in the [Devpost project gallery](https://agenthackathon.devpost.com/project-gallery).


## Winners and Prizes

The competition was fierce, with thousands of dollars in prizes. Here are the top three teams:


First Place: [Nexus AI](https://devpost.com/software/i-know-a-guy-v25tq3)
Team members Kevin, Sunny, Kate, and Shikar developed an AI voice agent capable of negotiating with vendors to secure the best prices, automating tasks typically handled by procurement officers. 

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



Second Place: [AI Sales Outreach Crew](https://devpost.com/software/ai-sales-outreach-crew)
Bayram utilized CrewAI and AgentOps technologies to automate sales processes, enabling AI agents to research and reach out to potential customers.


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



Third Place: [Off the Record](https://devpost.com/software/off-the-record-ehkl2n)
Girri and Muthhukumar created a platform for users to freely express their thoughts, with AI agents providing personalized feedback based on the discussions. 


## Looking Forward

We are thrilled with the success of this hackathon and look forward to hosting more events that contribute to the advancement of AI technologies. Check our [website](https://mindsdb.com/events) for information on upcoming events and how you can get involved.

Stay tuned and keep building!
Learning ReactJs...again
Tags: react, webdev, javascript, learning
Published: 2024-05-15 22:37:31

This is the introduction to a short series I plan on doing. I have now been in the software development industry for two years.

I began learning how to code in 2017 and failed miserably until finding an online tutor/mentor to help me in 2019. I began learning ReactJS in 2019 to help build my coding skillset. I worked with React for about a year and a half before finding my first software job with a robotics company.

After getting my first software job, my personal coding pursuits took a backseat. With a full-time job, I found little inclination to code in my spare time, feeling that forty hours a week was ample time spent in the world of programming.

At my current job, we do not use frameworks, we use vanilla Javascript. Nonetheless, these past two years have been a continuous learning curve, allowing me to gain valuable insights.

With all that being said, I am on a quest to learning ReactJS again. And I thought it would be good to document the differences in my experience from the first time I learned React.
Developer diary #10. Lost contributions
Tags: development, git, android, grow
Published: 2024-05-15 22:33:43

On the start of my carrier, I practiced challenge one hundred days of coding. During this time, I tried to add at least one commit in my repository.  It were pet projects, scripts or bugfixes in open-source projects. The GitHub contribution diagram helped to keep tracking this process and played the role of achievement and satisfaction, when you saw all green squares. 

Last time, when I went to check my diagram after last push, I found that all squares are grey.What is going on? After short investigation, I found several reasons why it happens. 

First, I committed under my work email, because it was set up globally. You can faster fix it by just adding new email to your profile. Unfortunately, It didn't work for me, because I have a work GitHub account registered to this email. Simplest solution is just setup required email for concrete repository. You can do this by command 

`git config user.email "your_email@gmail.com"`. 

Second, GitHub tracks only commits in default branch.  It is not problem, because you get back your contributions after marge in default branch. I think, it is not work in case when merge with squash. More about counting contributions, you can find in [documentation](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile).

I want to back to contribution challenge to make daily routine more enjoyable. If interesting, you can check [my repo](https://github.com/Kiolk?tab=overview&from=2024-05-01&to=2024-05-15) here and don't forget to add some stars for me.
Understanding Diffing Algorithm in React
Tags: react, javascript
Published: 2024-05-15 22:14:30

### What is the Diffing Algorithm in React?

The Diffing Algorithm is used to efficiently update the DOM Tree by identifying changes between the newly created virtual DOM and the previous version of the DOM after any updates. React leverages this algorithm to optimize the process of rendering updates.


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


### How Does the Diffing Algorithm Work?

1. **Initial Render**: The content is rendered on the webpage, and the initial DOM tree is created.
2. **State Change Detection**: Upon any user interaction or data change from an API, React, using observable patterns, updates the nodes in the virtual DOM.
3. **Reconciliation**: The old virtual DOM tree is compared to the new version to determine the necessary updates.
4. **Optimized Instructions**: React generates a set of minimal and optimized instructions to apply the changes to the real DOM.
5. **DOM Update**: Only the content that has changed is re-rendered on the webpage.


### Assumptions for the Diffing Algorithm

React uses a heuristic approach for reconciliation based on these key assumptions:
- **Different Element Types Produce Different Trees**: Elements of different types will result in different trees.
- **Static Elements**: Elements that don't need to be checked can be set as static.

React checks the root elements for changes, and the updates depend on the types of these root elements:

- **Elements of Different Types**: If the root element type changes, React discards the old tree and builds a new one, effectively performing a full rebuild of the tree.
- **Elements of the Same Type**: If the element type remains the same, React compares the attributes of both versions and updates only the nodes with changes, without altering the tree structure. The component will be updated in the next lifecycle call.

*Note: Using unique keys in elements is crucial for React to accurately determine changes, which improves the efficiency of updates.*


### Advantages of the Diffing Algorithm

- **Efficient Updates**: It reduces the work needed to reflect changes in the DOM.
- **Performance Enhancement**: By updating only the required components or nodes, it boosts performance.
- **Faster Response Times**: Minimizes unnecessary re-rendering, resulting in quicker updates and a smoother user experience.

With its intelligent and efficient approach, the Diffing Algorithm is a cornerstone of React's performance optimization, ensuring that only necessary changes are made, leading to faster and more responsive applications.