teleren/devto huggingface dataset:
Introduction to Python data objects.
Tags: python, oop, beginners, coding
Published: 2023-05-22 12:56:45

Python expressions create and process objects. “Object” is essentially anything that you can assign to a variable. 

Python’s core object types include;
Numbers
Strings
Lists
Dictionaries 
Tuples
Files
Sets

Numbers are numerical data types which include; integers, floating-point numbers and more exotic numerical types(complex numbers).

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


Strings are textual data types as well as arbitrary collection of bytes.  Strings are known as sequence —that is, a positionally ordered collection of other objects. They are enclosed in double or single quotation marks. 

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


List is a positionally ordered sequence of arbitrary object types. They have no fixed size and are enclosed in square brackets.


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


Dictionaries are also known as mappings. Mappings store objects in a key-value pair. They are enclosed in curly brackets.

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


A tuple is a collection of objects which ordered and immutable. Tuples are sequences, just like lists. The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use parentheses, whereas lists use square brackets.

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


Files are python’s code interface into external files.

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


Set is an unordered and mutable collection of objects. Sets are enclosed in curly brackets.

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


Why use Object types?

-Object types make programs easy to write. With object types like Lists and Dictionaries which offer collections and search tables for free respectively make it easier to write programs. 
-Built-in objects are often more efficient than custom data structures. 
-Built-in objects are a standard part of the language.
Value Proposition Canvas
Tags: valuepropositions, business, storybytes
Published: 2023-05-22 12:32:59


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/drf6b9a8c63zpbpu7258.png)
Every product has a discovery phase. The moments when a couple of people join forces and try to create something new. That’s where a Value Proposition canvas can be helpful. A value proposition canvas is like a rich picture that helps us understand what makes something our idea unique or valuable. It has two parts: the first is about what people want or need, and the second is about how something can uniquely meet those needs. It's like putting puzzle pieces together where we will see the final picture only at the end. Value propositions are one of the most critical conversion factors. A great value proposition could be the difference between losing a user - and winning them. Your value proposition is a unique identifier for your business. Without it, buyers won't have a reason to purchase what you sell. And users are not buying just a product; users are buying a value, often combined with a problem that is getting solved for them. Therefore, constantly challenge your business and understand what value you are bringing to your users.
#TestCulture 🦅 Episode 34 – Systemic view
Tags: testing, agile, beginners, webdev
Published: 2023-05-22 12:16:35

SAFe applies this principle to understand software development as a whole because:
1️⃣ the solution is a system in its own right
2️⃣ the company that builds this system is a system in its own right
3️⃣ this company must optimise the entire value stream
4️⃣ if the global system is not managed, it will not manage itself and will end up constituting autonomous but individual, independent parts that will compete with each other.
Each part must therefore be pushed to cooperate.

## What is the application of systemic view to test maturity?
Without a global approach, testing is limited to a reactive position and anticipation only leads to a tunnel effect. Agile, with its iterative and short approach, reduces this effect but leaves testers in a situation where they have very little time. 🏃🏼
Leading them to test after the sprint when the Product Owner should have a potentially deliverable Product Increment.

🗞️ Learn more about Systemic View: [here](https://agilitest.com/cards/systemic-view)

[A thread](https://twitter.com/agilitest/status/1641454272725528577?s=20) on Twitter.
Want to talk to Einstein or a dead character? Exploring the pos
Tags: ai, news, chatgpt, web
Published: 2023-05-22 11:21:05

In the vastness of human history, we have witnessed the emergence of transcendental figures. Characters who have changed the course of history, science, culture and the arts. From Albert Einstein to William Shakespeare, Amelia Earhart to Frida Kahlo, these individuals have left an indelible mark on the fabric of time. But what if you had the chance to talk to them today?

Imagine sitting down with Einstein, one of the most remarkable physicists in history. What would you ask him? Maybe you'd like to better understand his theory of relativity, or you'd want to know how he felt about changing our understanding of the universe. Or maybe you'd like to ask him about his views on the scientific and ethical challenges we face in the 21st century.

Or consider chatting with Frida Kahlo, a painter who transformed her pain and suffering into moving art. What advice would she give you about creativity and resilience? What would she say about her unique style and how she found her voice in a world that often tried to silence her?

This may sound like science fiction, but we are entering an era where this fantasy could be a reality, thanks to advances in artificial intelligence.

Artificial intelligence has advanced by leaps and bounds in recent years. From systems that can beat world chess champions to those that can generate music and art, the possibilities seem limitless. And one of the most fascinating uses of AI is its ability to simulate human personalities and conversations.

By training these systems on large amounts of textual data, they can learn to mimic the way humans speak and write. We can go a step further and teach them to speak like specific historical characters by providing them with texts written by or about those characters.

This brings us to a platform that is doing just that: Character.AI. This innovative artificial intelligence platform allows users to speak to chatbots modeled after historical and fictional characters. From Einstein to Harry Potter, you can choose from a wide range of characters to chat with. And if you don't find the character you're looking for, you can create your own!

Incredible as it may seem, this technology is already here and accessible to anyone with an Internet connection. So if you've ever dreamed of talking to Einstein, Shakespeare or any other historical figure, that dream could be a lot closer than you think.

Who knows? You might discover that you have more in common with your historical heroes than you ever imagined. And perhaps, through these conversations, you may find new inspiration and perspective to meet the challenges of your own time.

This article explores CharacterAI, an AI capable of mimicking any historical character and audience:

[https://makiai.com/en/what-is-characterai-and-how-it-works/](https://makiai.com/en/what-is-characterai-and-how-it-works/)
Play Tic-Tac-Toe on Github Issues
Tags: githubhack23
Published: 2023-05-22 11:18:06

## What I built 
I built a GitHub Action that allows you to play games of tic-tac-toe against a computer in the comments section of an issue in your repository. It's completely impractical, but this was the first Github Action that I created from scratch, and the experience taught me a lot and gave me a good base for the next time I have to create a Github Action.

### Category Submission: 
Wacky Wildcards

### App Link
[https://github.com/marketplace/actions/tic-taction-toe](https://github.com/marketplace/actions/tic-taction-toe)

### Screenshots 

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


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


### Description 
This Action allows you to start a game of tic-tac-toe in the comments section of an issue in your repository. You will be playing against a computer and normal rules apply.

Start by making a comment that says "play tic-taction-toe"

After the game board replies, type "tic-taction toe >>number<<" where number is the cell number in which you want to make a move.


### Link to Source Code 
https://github.com/AnsellMaximilian/tic-taction-toe

### Permissive License 
MIT

## Background (What made you decide to build this particular app? What inspired you?)
I wanted to join the contest and wanted to build something simple. I hadn't built an Action from scratch before and just wanted to learn and make something ridiculous.

### How I built it (How did you utilize GitHub Actions or GitHub Codespaces? Did you learn something new along the way? Pick up a new skill?) 
I built this using Github Actions. And I learned a lot of things to know about Github Actions, which made the entire process worth it.

### Additional Resources/Info
https://playtictactoe.org/
Fix Production errors
Tags: errors, debugging, errsole, logging
Published: 2023-05-22 11:09:38

## Know the optimal way to fix your production errors!

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3et94lku10nqhrp9q8en.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iu07scxy67wfi8vabb0t.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kn9emnf61khri957p269.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bmp0c7pe3fvrz532l0q8.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g2sudmmy1e03089vbpv6.png)
I created a react framework!
Tags: react, javascript, webdev, beginners
Published: 2023-05-22 10:15:01

Hello! I have created a React framework called React Legecy. This is my first framework, and it is designed to be simple and fast, specifically optimized for cheap hosting environments.

React Legecy utilizes hashes to determine the current page. Here's how it works:
- `/#/`: This represents the index page.
- `/#/about`: This represents the about page.

The framework includes a 404 page and an error handler to ensure a smooth user experience. Additionally, it features an API handler for handling API requests.

You can find the npm package for React Legecy at: [React Legecy on npm](https://www.npmjs.com/package/react-legecy). 

If you are interested in exploring the framework's source code or contributing to its development, you can find it on GitHub: [React Legecy on GitHub](https://github.com/Ghalbeyou/react-legecy).

Thanks for reading!
Episode 29 Creating Secure Tunnels in Ruby on Rails with Ngrok
Tags: ruby, rails, html, tutorial
Published: 2023-05-22 10:07:16

Ngrok is a simplified API-first ingress-as-a-service that adds connectivity,
security, and observability to your apps in one line. We will learn how to create secure tunnels to connect our Rails Applications to the internet.
{% youtube jWixLZgzOHM %}
Exploring the Limitations and Possibilities of Chat GPT
Tags: webdev, chatgpt, ai, learning
Published: 2023-05-22 10:02:11

Exploring the Limitations and Possibilities of Chat GPT
Introduction
Chat GPT is a tool that helps you learn more about how your chatbot performs in real-life conversations. It's based on a psychological principle called "grit," which refers to how people handle stress and failure. Chat GTP helps you figure out where your bot falls short by prompting users with specific questions about their experience with your bot:

Exploring the Limitations and Possibilities of Chat GPT: An Early Analysis
Image by ThankYouFantasyPictures from Pixabay 


[Exploring the Limitations and Possibilities of Chat GPT](https://www.waytohowto.com/2023/05/exploring-limitations-and-possibilities.html)
What is Chat GPT?
Chat GPT is a way to get feedback on your chatbots' performance. It's a new way of interacting with customers and bots, and it doesn't require any technical knowledge.

Chat GPT allows you to ask questions about your bot using friendly tone: "How does this work?" or "How does this feature work?"

What are its limitations?
Chat GPT is not a replacement for human interaction, nor should it be. It's not a replacement for chatbot testing and training—or even development.

Chatbot platforms can help you get started on your journey, but they are just one piece of the puzzle. You'll always have to have someone on hand who can help with any issues that might arise during deployment or afterwords (like fixing bugs).

How can it be used?
Chatbots are extremely useful for getting feedback on the performance of your chatbot. This can be done in a friendly tone, or you can use it as an opportunity to ask questions about what kind of interaction people want from their bots.

For example:

You could send out an invitation asking people if they would like to give feedback on how they think the bot should behave during one of its interactions with them. They'll have time to think about their response before sending it off so that whatever they write isn't rushed or overthought!

Chat GPT is a way to get feedback on your chatbots' performance.
Chat GPT is a way to get feedback on your chatbots' performance. It's also a way to get feedback on your chatbots' performance.

Chatbot GPT is an event that happens once every month and allows users to rate their conversations with bots in the [Bot Builder](https://www.google.com/botbuilder/) app, as well as submit questions and suggestions for improvement via email or through the Google+ community page (https://plus.google).

Chat GPT: A Closer Look at Its Strengths, Weaknesses and Implications
Conclusion
Chat GPT is a great way to get feedback on your chatbot's performance. It allows you to interact with users and gather information in order to improve your bot's accuracy and usability.
aws服务器如何安装Docker (有别于centos安装方式)
Published: 2023-05-22 09:52:58

- 如果你用了centos的安装方式，并且执行了下面的命令：
```
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
```
> 这将会导致你yum报错，恢复的方法如下：
```
sudo yum-config-manager --disable docker-ce
sudo rm /etc/yum.repos.d/docker-ce.repo
```

### aws服务器`amzn2.x86_64`安装Docker的正确流程
- 1、安装最新的 Docker Community Edition 程序包
```sudo yum install -y docker```

- 2、启动 Docker 服务：
```sudo service docker start```

- 3、将 ec2-user 添加到 docker 组，以便您能够执行 Docker 命令，而无需使用 sudo：
```sudo usermod -a -G docker ec2-user```

- 4、退出当前登录态，重新登录；验证第3步是否成功，执行： `docker info`
  - 成功：

  ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e3bzzxgnaaerjydgg56q.png)
  - 失败：
  
  ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ptvowe8mgm2v2gvdui5t.png)

- 5、清理Docker 日志
  - 切入目标目录

    ```
    cd /var/lib/docker/
    ```

  - crontab创建任务(每天凌晨清除1个月前的日志)

    ```
    0 0 * * * journalctl --vacuum-time=1month
    ```
TypeScript Congress 2023
Tags: typescript, javascript, webdev, react
Published: 2023-05-22 09:45:23

**An online event for web developers on all things TypeScript.** Learn from industry professionals and community members, exchange ideas, interact, and collaborate in the form of a modern tech event.

Participate in workshops, network with thousands of other TypeScript folks, and more on **September 21 & 22, 2023.**

**Submit a talk:**https://shorturl.at/aoGQ9
**Check out the conference website:**https://typescriptcongress.com/
**Follow conference page on Twitter:**https://twitter.com/ts_congress
How to Silently Install Google Chrome Using MSI on Windows?
Tags: google, chrome, window, msi
Published: 2023-05-22 09:44:00

Are you tired of manually installing Google Chrome on multiple computers? Well, we have a solution for you! In this blog post, we will walk you through the process of silently installing Google Chrome using the MSI installer (Microsoft Installer) on Windows 10 and 11. By the end of this guide, you’ll be equipped with the knowledge to effortlessly deploy Google Chrome across your network. So, let’s dive in and discover how to simplify the installation process.

## What is Silent Installation?
Silent installation, also known as unattended installation, refers to the process of installing software without any user intervention or prompts. It allows for a seamless and hassle-free installation experience, particularly useful when deploying applications on multiple computers simultaneously.

During a silent installation, the software is installed quietly in the background, without displaying any installation wizard or requesting user interaction. This makes it ideal for system administrators or IT professionals who need to deploy software across a network or organization efficiently.

## Advantages of Silent Installation
Silent installation, or unattended installation, brings a host of benefits that streamline software deployment. Here’s a concise look at why silent installation is advantageous:

- Time and Effort Savings: Automate the installation process, eliminating manual intervention and saving valuable time and effort.
- Consistency and Standardization: Maintain a uniform software environment by deploying predefined settings and configurations across your network.
- User-Friendly Experience: Minimize interruptions and prompts, providing a seamless installation process for users, enhancing productivity.
- Customization and Control: Tailor the installation to your organization’s needs by specifying parameters such as location, language, and components.
- Scalability and Efficiency: Easily deploy software on a large scale, saving time and ensuring a streamlined installation process.

## What are MSI Installers?
Before we jump into the installation process, let’s understand what an MSI installer is and why it’s beneficial for deploying software.

MSI installers, or Microsoft Installers, are a technology designed to simplify the process of installing, updating, and removing software on Windows operating systems. They provide a standardized approach to software deployment, making it easier for system administrators and users alike.

## Download Google Chrome MSI installer
To get started with downloading the Google Chrome MSI installer, follow these simple steps:

Follow the installation guide from the original blog: [Install Google Chrome Using MSI Installer on Windows](https://hackthedeveloper.com/install-google-chrome-using-msi-installer/). [Read more](https://www.google.com/search?q=site%3Ahackthedeveloper.com).
Digital Marketing
Published: 2023-05-22 09:17:38

Digi Dais is a leading Digital Marketing Company. Digi Dais deals with SEO, SEM, and Social media marketing for large & Small Scale businesses. Digi Dais provides custom-based digital marketing Solutions based on the Requirements; Digi Dais provides Bulk WhatsApp msgs & IVR call solutions based on the business requirements.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lmvueqwyysvsd473pca4.jpg)
How to give same sizes to dynamic image in next js .
Published: 2023-05-22 09:12:06

In next js using  Image tag can be consfusing most of time because u have to either use width and height or layout="fill" compulsory so in those case making the dynamic image of same size can be quite confusing so here i am with my solution 

```
  <Image src={bookInfo?.Cover?.url} alt="book" width={39.26} height={57.06}  />
```
Above code will  give size(39.26px * 57.06px ) to image.But wait  using only this may cause the image to be blurry / low quality  so in that case u must  have to  following code  

`sizes="100vw"`  
Which will make the image clear and of perfect size .
Al Wafaa: Your One-Stop Solution for Web Development and Mobile App Development in Dubai
Tags: webdev, webdesign, appdev
Published: 2023-05-22 08:52:07

Looking for a reliable and experienced web development company in Dubai? [Al Wafaa](https://www.alwafaagroup.com/) has got you covered. As a leading provider of web development and design services, we offer comprehensive solutions tailored to your business requirements.

Our team of expert [web designers](https://www.alwafaagroup.com/web-design-agency/) in Dubai is skilled at creating visually appealing websites that engage visitors and drive conversions. We specialize in e-commerce web design and development, and our [#1 E-commerce web design](https://www.alwafaagroup.com/ecommerce-web-design-dubai-uae/) service in Dubai ensures that your online store stands out from the competition.

At Al Wafaa, we understand the importance of a robust online presence, which is why we offer top-notch e-commerce website development services. We build scalable and secure e-commerce platforms that are optimized for maximum performance.

In addition to web development, we are a trusted Dubai web hosting company, providing the best-managed server hosting solutions. Our modernized infrastructure guarantees reliable and secure hosting, ensuring your website is always accessible.

Moreover, we excel in mobile app development, offering innovative solutions that help businesses reach their target audience effectively. Our team of skilled app developers in Dubai creates customized mobile applications that enhance user experience and drive business growth.

For all your web development, hosting, and mobile app development needs, [contact us](https://www.alwafaagroup.com/contact-us/) at Al Wafaa. Our experienced team is ready to assist you in achieving your digital goals.
RubyMine. How to remove trailing whitespaces
Tags: ruby, rubymine, settings
Published: 2023-05-22 08:29:51

I noticed that by default my new code editor does not remove trailing whitespaces. There is the setting is placed!

![How to setup removing of trailing whitespaces](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b9kgi6y9uvq681iya970.png)

Happy coding!