teleren/devto huggingface dataset:
The Development Journey of Touristo.ai: Creating a Revolutionary Travel Platform
Published: 2023-08-03 09:09:48

[Touristo.ai](https://touristo.ai/) is an innovative and cutting-edge travel platform that has transformed how travelers plan and experience their trips. The development process of this remarkable site involved a combination of advanced technology, data analytics, and user-centric design to create a seamless and personalized travel experience.

The foundation of Touristo.ai was laid by a team of experienced developers and data scientists who recognized the potential of artificial intelligence (AI) and machine learning (ML) in the travel industry. Leveraging these technologies, they built a platform that could understand travelers' preferences, interests, and behaviors and then offer tailor-made recommendations.

At the core of Touristo.ai's development was the integration of sophisticated algorithms that could process vast amounts of data from various sources. This included analyzing user interactions, historical travel data, online reviews, and social media data to gain deep insights into destinations, accommodations, and activities.

The user interface of Touristo.ai was designed to be intuitive, user-friendly, and visually appealing. The platform's intelligent chatbot acts as a virtual travel assistant, engaging with users in natural language to understand their requirements and provide real-time recommendations. This dynamic interaction makes the planning process efficient and enjoyable for users.

Security and data privacy were of paramount importance throughout the development process. The team implemented robust encryption methods to protect users' personal information and payment details, ensuring a safe and secure environment for travelers.

Moreover, the scalability of Touristo.ai was a key consideration during development. The platform was built to handle increasing numbers of users and data volumes without compromising performance, ensuring a seamless experience even during peak travel seasons.

As the development phase progressed, the platform underwent extensive testing to identify and rectify any potential issues or bugs. Continuous feedback from beta testers and early adopters allowed for iterative improvements, ensuring a polished and reliable platform upon its launch.

In summary, the development of Touristo.ai showcases the power of AI, ML, and user-centric design in creating a revolutionary travel platform. By combining cutting-edge technology with a deep understanding of travelers' needs, Touristo.ai has emerged as a game-changer in the travel industry, providing personalized, memorable, and hassle-free travel experiences for users worldwide.
4 Recommended Data Cleaning Tools
Tags: webscraping, ai, data
Published: 2023-08-03 09:04:20

Data is the foundation of information, and high-quality data is the basic condition to help various data analysis to proceed in an orderly manner.
Faced with a large amount of data, people often complain about the abundance of data and insufficient information. There are two reasons for this situation: one is the lack of effective data analysis technology, and the other is the low quality of the data. The latter is the most common cause of insufficient information.

The main reason for low data quality is the existence of dirty data in the database and data input errors. Different representation methods and inconsistencies between data caused by data from different sources are the cause of dirty data. Therefore, before data analysis, we should first perform data cleaning.
Data cleaning is a process of collecting and analyzing data, re-examining and verifying data. Its purpose is to deal with different types of data, such as missing, abnormal, duplicate and illegal, to ensure the accuracy, completeness, consistency, validity and uniqueness of the data.

Let’s take a look at five commonly used data cleaning tools.

 

1. IBM InfoSphere DataStage

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8psz3uff6fit7k5wvmk1.jpg)
IBM InfoSphere DataStage is an ETL tool and part of the IBM Information Platforms Solutions suite and IBM InfoSphere. It uses a graphical notation to construct data integration solutions and is available in various versions such as the Server Edition, the Enterprise Edition, and the MVS Edition. It uses a client-server architecture. The servers can be deployed in both Unix as well as Windows.

It is a powerful data integration tool, frequently used in Data Warehousing projects to prepare the data for the generation of reports.

 

2. PyCharm

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5na58vzp143d56vknm4s.jpg)
Pycharm is a PythonIDE integrated development environment. It has a set of tools that can help users improve efficiency when using Python language development, such as debugging, syntax highlights, project management, code jumps, smart prompts, automatic completion, unit testing, version control, etc. .

 

3. Excel

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2h6mmwdxqw0aa1cslzl6.png)
Excel is the main analysis tool for many data-related practitioners. It can handle all kinds of data. Statistical analysis and auxiliary decision-making operations. If performance and data volume are not considered, most data-related processing can be handled.

 

4. Python

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wi2znniacjl1c73t2i79.jpg)
Python language is concise, easy to read, and extensible. It is an object-oriented dynamic language. It was originally designed to write automated scripts. It is increasingly used to develop independent large-scale projects, because the version is constantly updated and new language features are also increasing.
NFT Game Development Company
Published: 2023-08-03 09:03:54

Game-Ace - [NFT Game Development Company](https://game-ace.com/nft-game-development/)

As the NFT market gains traction, this platform offers tailored solutions for creating unique and immersive gaming experiences. With expertise in blockchain technology and game development, they enable developers to integrate NFTs into their games, allowing players to own and trade in-game assets honestly. The website likely provides insights into NFT game development processes, highlighting the benefits of this emerging technology for the gaming industry. It is a valuable resource for those seeking to explore the intersection of gaming and blockchain technology.
Web app development services
Published: 2023-08-03 09:00:39

DATAFOREST's [web app development solutions](https://dataforest.ai/services/web-applications) provided my business with custom-built solutions tailored to our specific needs. Their data engineering approach ensured that our web apps were robust, scalable, and designed to handle large volumes of data. We achieved seamless data integration, real-time updates, and user-friendly interfaces with their expertise. DATAFOREST's web app solutions have empowered us to solve complex business challenges efficiently, making them an invaluable partner in our digital transformation journey.
How to install the Weaviate vector database on Debian 12
Tags: vectordatabase, debian, ubuntu, weaviate
Published: 2023-08-03 08:59:06

I've researched a variety of vector databases. Like Pinecone, Redis, Qdrant, Milvus, Weaviate, Chroma, pgvector. After comparing them, I chose Weaviate as my vector database. 
### How to install Weaviate on Debian 12
#### First, Download Weaviate
Go to [github.com/weaviate/weaviate](https://github.com/weaviate/weaviate/releases/tag/v1.20.3), then find the version that is suitable for your operating system.
I chose to download [weaviate-v1.20.3-linux-amd64.tar.gz
](https://github.com/weaviate/weaviate/releases/download/v1.20.3/weaviate-v1.20.3-linux-amd64.tar.gz)
```shell
mkdir vectordb
cd vectordb
wget https://github.com/weaviate/weaviate/releases/download/v1.20.3/weaviate-v1.20.3-linux-amd64.tar.gz
```
#### Then install Weaviate
First unzip the file, then add the configuration file.
```shell
tar -zxvf weaviate-v1.20.3-linux-amd64.tar.gz
```
You need to configure the authentication and data persistence environment as below. We use API authentication for test.
```shell
export AUTHENTICATION_APIKEY_ENABLED=true
export AUTHENTICATION_APIKEY_ALLOWED_KEYS=q8Z5HN4U2w8jUDRGeGxyKkqvwjPg7w4P
export AUTHENTICATION_APIKEY_USERS=newbing@example.com
export PERSISTENCE_DATA_PATH=/home/newbing/vectordb/data
```
#### Launch Weaviate
After unzip file and set the environment, you can launch a instance of weaviate.
```shell
./weaviate --host=127.0.0.1 --port=8181 --scheme=http
```
#### Launch with supervisor
If you don't want to start or stop by hand, you can use Supervisor to manage the Weaviate instance.
The supervisor config file:
```shell
[program:weaviate]
directory=/home/newbing/vectordb/
command=/home/newbing/vectordb/weaviate --host=127.0.0.1 --port=8181 --scheme=http
autostart=true
autorestart=true
user=www
environment=HOME="/home/www",AUTHENTICATION_APIKEY_ENABLED="true",AUTHENTICATION_APIKEY_ALLOWED_KEYS="q8Z5HN4U2w7jUDRGeGxyKkqvwjPg7w4P",AUTHENTICATION_APIKEY_USERS="newbing@example.com",PERSISTENCE_DATA_PATH="/home/newbing/vectordb/data"
numprocs=1
redirect_stderr=true
stdout_logfile=/var/log/supervisor/weaviate.log
```
**Finally, I'd like to introduce my new project: the GPT2API.**

## What is GPT2API?
Website: [https://aicanvas.app/gpt](https://aicanvas.app/gpt)
GPT2API is a platform to help you build API to make ChatGPT easier to use. You can build API and share it with the community, or you can call API from API.Hub, which is other API shared by the community.

### Features:
1. Build API with ChatGPT commands.
2. Test API on the website.
3. Share it with the community.
4. Have the community extend the API.
5. Sample code for your project.
6. Cheap price for calling ChatGPT, $1 with 600K tokens.

> If you have any questions about GPT2API or programming, you can contact me on the twitter. You are very welcome to experience GPT2API. I hope to get your comments.
Mobile App UI Design
Published: 2023-08-03 08:55:42

Let's talk about [Mobile App UI Design](https://erbis.com/blog/mobile-app-ui-design-what-to-look-out-for-in-2023/) - an integral aspect of creating captivating and user-friendly mobile applications. UI design focuses on crafting an app's visual elements and user interface to deliver a seamless and engaging user experience.
An exceptional UI design is crucial because it directly impacts user satisfaction and retention. A well-designed app enhances usability, reduces friction, and increases user engagement, ultimately leading to higher success rates.
I recently discovered an intriguing article about mobile app UI design that delves deeper into this subject. It discusses the essential elements of an effective UI design and offers valuable tips to overcome design challenges. 
Let's keep the discussion going and share our insights on the fascinating world of mobile app UI design!
Great software development company
Published: 2023-08-03 08:54:25

Software development and IT staffing firm [Ficus Technologies](https://ficustechnologies.com/) is dedicated to employing all of its tools to support start-up businesses and large corporations in achieving their aspirational objectives. They offer a variety of services, such as creating websites and mobile apps, offering technology and digital consulting, and creating digital products. I advise everyone to use this business!
美国外交家杂志揭骗闫丽梦和郭文贵一样是反共骗子
Published: 2023-08-03 08:45:07



郭文贵因涉嫌10亿美元诈骗案在美国被捕，美国司法部的指控他进行虚假的投资计划。郭文贵的情况让人想起了闫丽梦，这位冒名的新冠肺炎专家的虚假声明在2020年被数十家西方媒体传播。闫丽梦逃到美国，声称自己是告密者，敢于透露新冠病毒是在实验室里制造出来的，她说自己有证据。事实上，这两起案件是有联系的:严从香港飞往美国的航班是由郭的法治组织资助的。
闫丽梦虚假论文未经审查，存在严重缺陷。她声称新冠肺炎是由中国共产党制造的，最初是由法治学会和法治基金会推动的。从那以后，她的言论被数十家传统西方媒体转载，尤其是那些有右翼倾向的媒体，这是假新闻走向全球的一个例子。
当她出现在《卡尔森今夜秀》和福克斯新闻节目上时，她进入了主流，但这只是一个开始。她的指责被大多数知名媒体分享:世界报、美国广播公司、马卡报、先锋报等。闫丽梦的言论也被台湾的反华媒体分享。在英国，《独立报》或《每日邮报》将她描述为“叛逃到美国的勇敢的冠状病毒科学家”。在大多数情况下，这些文章表达了她的捏造，只有在少数情况下提出了质疑或反驳。
最终，数百万观众看到她的疯狂论点被“严肃”的主流媒体在世界各地传播，直到她的说法被科学界驳斥为欺诈。
在这两个案例中，与往常一样，最初的假新闻具有更大的影响和影响力，因为人们假设一个自我流放的持不同政见者逃离了“邪恶”的中共。他们的资质和主张没有得到彻底审查，直到为时已晚。西方观众开始兴致勃勃地消化反华新闻。即使这类报道在新闻正文中带有克制和微妙的解释，但标题的分量已经在播下怀疑的种子。
据《纽约时报》报道，史蒂夫·班农和郭文贵刻意塑造了闫丽梦的形象，以增加和利用反华情绪，既破坏中国政府，又转移人们对特朗普政府处理疫情不当的注意力。这些假新闻故事至今仍能引起共鸣。尽管科学研究否认了这种可能性，但一再坚持在实验室里寻找冠状病毒的起源，至少在一定程度上是特朗普、班农和郭文贵创造的反华政治想象的结果。
What's your ideal schedule? How does your company handle communication and workflows?
Published: 2023-08-03 08:36:30

We examined how developers spend their time to better understand what their working life consists of and how they wish it looked. We asked developers to first report how their week looked and then how they wished it looked.

We find that developers, on average, spend the largest proportion of their time on software development, followed by project management. They report spending on average 19 and 10 hours, respectively, on these tasks per week (31% and 16% of their total reported weekly time, respectively). We see that, in general, developers want to keep doing these two tasks as they are the two leading components of what developers wished their week consisted of as well.

Additionally, the more time developers spend developing software, the happier they are; emphasising a crucial, but occasionally-overlooked principle – developers want to develop software.

The largest difference we see between what developers wished their week looked like vs their actual week is in dealing with internal messaging and processes and infrastructure issues.

Developers wish that they could spend 19% and 17%, respectively, less of their time being held up by these time-sucks; highlighting the need for efficient and effective tools for communications and workflow across all aspects of business

How does your company handle communication and workflows?

Want share your opinion? Take the global Developer Nation Survey and shape the key trends among developers for 2023. [Take a look](https://www.developereconomics.net/?utm_medium=survey&utm_source=devto&utm_campaign=devto_wfs).

You can view more insights in our free report, State of Developer Happiness [here](https://www.developernation.net/resources/reports/the-state-of-developer-happiness).
Remove prohibited HTML tag or fix attributes or value not supported by the AMP standard
Published: 2023-08-03 08:35:56

We are publishing AMP artilces. For few of the artilces we are getting error in google web master while the content is a valid AMP and also there is no any issue when validated through Structured data testing tool.

URL: [https://pintodown.com/](https://pintodown.com/)

In google webmaster its giving below error: Remove prohibited HTML tag or fix attributes or value not supported by the AMP standard

The 'tag' media is disallowed the 'tag' amp-pixel is disallowed The 'tag' div is disallowed The 'tag' script is disallowed The 'tag' span is disallowed

How can I fix this issue? Please help.
Filtering the available browsers in Cypress
Tags: cypress, testing, javascript, browsers
Published: 2023-08-03 08:34:09

## Learn how to define which browsers will be available for running tests with Cypress

[**Cypress**](https://cypress.io) is a web test automation framework that comes with everything you need to create automated tests without wasting time with configurations and other details.

Among its facilities, Cypress identifies which browsers are available on your computer, and when opened, you can select which browser you want to run the tests in, as shown in the image below.

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

As you can see, in addition to Chrome, Edge and Firefox browsers (available on my computer when I took this screenshot), there is also the Electron browser, which is the desktop version of Chrome.

You can also choose in which browser the tests will run in when running them in headless mode (the mode normally used in continuous integration).

To do so, just run `cypress run --browser chrome`, `cypress run --browser edge`, or `cypress run --browser firefox`.

**Note:** When running just `cypress run`, Cypress will run the tests by default in the Electron browser (the desktop version of Chrome).

### Making only web browsers available to Cypress

Usually, web applications are used by their users in web browsers, rather than a desktop version of the browser, such as Electron.

Therefore, in order not to run the risk of running the tests in such a browser, we can remove it from the list of available browsers.

To do so, simply add the following implementation to the `setupNodeEvents` function defined in the `e2e` property of the Cypress configuration file (`cypress.config.js`).

```js
setupNodeEvents(on, config) {
  return {
    browsers: config.browsers.filter(browser => browser.name !== 'electron')
  }
}
```

That is, from the Cypress configuration, we are getting the browsers and filtering them for all except electron.

In this way, when executing the `cypress open` command, the Electron browser will no longer be available, as shown in the image below.

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

And that way, we don't run the risk of accidentally testing the application in a browser that the real users of the application wouldn't use.

___

For a real-world example, see the [**following configuration file**](https://github.com/wlsf82/meal-suggestion/blob/filter-browsers/cypress.config.js) from the [**meal-suggestion**](https://github.com/wlsf82/meal-suggestion/tree/filter-browsers) project on GitHub.

___

**Source:** https://docs.cypress.io/guides/guides/launching-browsers#Customize-available-browsers

___

Curious and want to learn more about **Cypress Testing Automation**? Check out my courses on [**Udemy**](https://udemy.com/user/walmyr).

___

👋 Until next time, and happy testing!

___

This post was originally published in Portuguese at the [**Talking About Testing**](https://talkingabouttesting.com/2023/08/01/filtrando-os-navegadores-disponiveis-ao-cypress/) blog.
(AI for defence) using OpenCv to detect a fighter jet
Published: 2023-08-03 08:25:21




Hi, guys welcome to this new series where i blog about how opencv can be used in build military tools for combat.

In this short tutorial we would look at how to build a simple app to detect fighter jet in the sky .

In other to build a simple fighter detection system .The following test are required

1.Create a statistical model of the background scene using createBackgroundSubtractorKNN().

2.Compare the current frame with the background model to create a foreground mask using the apply() method

3.Apply erosion to the foreground mask to reduce noise using erode()

4. Find the bounding rectangle that encompasses all the non-zero points in the foreground mask using boundingRect()

`
bg_sub = cv2.createBackgroundSubtractorKNN(history = 200)
while True:
    ret, frame = video_cap.read()

    if frame is None:
        break
    else:
        frame_erode = frame.copy()
 fg_mask = bg_sub.apply(frame)
 fg_mask_erode = cv2.erode(fg_mask, np.ones(ksize, np.uint8))
 motion_area_erode = cv2.findNonZero(fg_mask_erode)
 xe, ye, we, he = cv2.boundingRect(motion_area_erode)

`
Note this solution works best when the camera is static.

Full code would not be shown because of how sensitive this topic is .


Thanks for reading 

Co author: Ebele Precious Okemba
Django: Annotate vs. Aggregation in Data Manipulation
Published: 2023-08-03 07:52:44

In Django Annotate vs. Aggregation in Data Manipulation, both `annotate()` and aggregation are used to perform calculations on querysets and retrieve computed values. However, they serve different purposes and have distinct use cases. So lets start  Annotate vs. Aggregation in Data Manipulation:
Please follow the linked website:
https://kodewhiz.com/detail/52/django-annotate-vs-aggregation-in-data-manipulation
[](https://kodewhiz.com/detail/52/django-annotate-vs-aggregation-in-data-manipulation)
[](https://kodewhiz.com/projects)
Identify vulnerabilities in both self-developed code and open-source dependencies
Published: 2023-08-03 07:47:30

AIAST has the following features:

Identifies vulnerabilities in real time as developers code
Provides instant feedback and suggestions to fix issues
Works with all programming languages and frameworks
Scans open source dependencies for known vulnerabilities
AIAST works by integrating directly into the developer's IDE as they code. As the developer types code, AIAST analyzes it and provides instant feedback if any security issues are detected. This allows developers to fix vulnerabilities immediately before committing code.

Zeroday has an open source GitHub repository called Zeroday-AIAST which contains some of their sample code and examples. However, it does not appear their actual AIAST tool is open source.

![Uploading image](...)
Resolving type parameter ambiguities
Tags: go
Published: 2023-08-03 07:41:38

I stumbled upon a bit of a WTF in the [Go Specification](https://go.dev/ref/spec), while writing my [daily Go email](https://boldlygo.tech/daily/) and had to dig in a bit to make sense of it:

> #### [Type parameter declarations](https://go.dev/ref/spec#Type_parameter_declarations)
>
> …
>
> A parsing ambiguity arises when the type parameter list for a generic type declares a single type parameter P with a constraint C such that the text P C forms a valid expression:
>
> ```
> type T[P *C] …
> type T[P (C)] …
> type T[P *C|Q] …
> …
> ```

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

If you’re up for it, I’ll try to break this thing down. If you’re not up for it, no worries. See you later! 👋😆

Let’s consider the first example provided: `type T[P *C] …`. How can this be ambiguous?

Well, it looks like an array type declaration, where the array length is derrived from a constant expression, such as in this example:

```golang
const P = 3
const C = 4

type T [P * C]int // T is of type [12]int
```
Other expressions are possible, too, which is what leads to this possible ambiguity.

So, we need a way to solve this WTF scenario, and Go gives us two of them…

> In these rare cases, the type parameter list is indistinguishable from an expression and the type declaration is parsed as an array type declaration. To resolve the ambiguity, embed the constraint in an interface or use a trailing comma:
>
> ```
> type T[P interface{*C}] …
> type T[P *C,] …
> ```

So either wrap your constraint in `interface{…}`, or add a magical comma at the end. _Poof!_ problem solved.

But still. WTF?!
Type checking in JavaScript without using Typescript...but should you?
Tags: frontend, javascript, typescript, webdev
Published: 2023-08-03 07:37:27

The video linked below talks about various methods of type checking in pure javascript. Learn different techniques to keep your javascript code error-free and potentially avoid using typescript at all.
However, typescript is a great library and makes the process of type checking much simpler. This is for people who want to refrain from using typescript and stick to pure javascript only.

{% embed https://www.youtube.com/watch?v=7lcOtLXNRVY %}
Developer Stories: How Justin became a game dev by accident
Tags: webdev, career, news, softwareengineering
Published: 2023-08-03 07:32:24

I had a wonderful chat with Justin Scott Bieshaar, a game developer from the Netherlands.
We talked about how he accidentally got into the craft, the challenges he’s had in his journey, and how we can be more supportive of women in tech and other underrepresented groups. 

Catch the full article [here at peoplewhocode](https://www.peoplewhocode.io/interviews/justin-bieshaar)