Tech Rumors
3 subscribers
235K photos
239K links
Download Telegram
cointelegraph.com

Bitcoin scarcity rises as bad exchanges take 1.2M BTC out of circulation
Historical data around crypto crashes revealed that 14 crypto exchanges, together, were responsible for the loss of at least 1,195,000 BTC, representing 6.3% of the 19.2 Bitcoin currently in circulation.
#rare #TotalSupply #MarketCapitalization #CryptocurrencyExchange #FTX #MtGox


dev.to

1. Playwright Awesome Selectors
Check out my short post on Playwright Awesome Selectors

My personal favourite is page.getByRole(role, options)
eg:

await page.getByRole('button', { name: 'Sign in' }).click();

Do tell me yours...😀
#playwright #typescript #automationtesting #beginners

2. How to convert HTML To React Component
Just Simply Copy your HTML CODE into this website https://magic.reactjs.net/htmltojsx.htm This Site will Generate JSX Code Copy from website paste into your React project files.
#webdev #javascript #react #html

3. 【jQuery】How to code drop-down(pop-down) menu
How the drop-down menu works is as below.
1.Click a button.
2.A list of menu is displayed.
3.The menu does not close as long as the cursor is on the button.

Let's code using jQuery!!

HTML


CLICK!!

item1
item2
item3
item4




jQuery (JavaScript)

$(".container li").hover(function(){
$(".popdown_menu").slideToggle()
});
#javascript
dev.to

Creating a Telegram chatbot with ChatGPT: A Step-by-Step Guide
Introduction

In this tutorial, we will be building a telegram bot that can interact with OpenAI's chatbot, ChatGPT. ChatGPT is a large language model that can understand and generate human-like text.

This tutorial will show you how to create a telegram bot that can send messages to ChatGPT and receive responses from it.

Table Of Contents

Introduction
Table Of Contents
Prerequisites
Step 1: Import the necessary libraries
Step 2: Setup environment variables
Step 3: Load the environment va…
#chatbot #python #playwright #ai
dev.to

1. Typescript Generate Full Path Type And Get Value Type Of Nested Object
Before TS 4.8, it is impossible to build path type for numeric literal path type for type like { A: { 123: boolean } }<-- we want something like A/123 but it is not possible

however generate path type for { A: Record } is possible, that is A/${number}

With TS 4.8, Improved Inference for infer Types in Template String Types made numeric literal path possible

type DeepKey<
T,
K extends keyof T = keyof T
> = K extends string | number// handle numeric key
? T[K] extends infer R
? R extends Re…
#tutorial #webdev #typescript #javascript

2. The 4 best resources to learn Rust !
Rust is a popular programming language known for its performance and reliability. It is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety. If you're looking to learn Rust, there are many great resources available to help you get started.

One of the best places to start learning Rust is the official Rust website, which offers comprehensive documentation, tutorials, and other resources to help you get up and running quickly. The website also…
#beginners #programming #rust

3. Playwright - How to write tests
What are you going to learn in this post?

In this post, you will learn how to write tests with Playwright, using assertions, locators and something else.

Write tests

Let's start with an example

test('the first player must be the "X" player', async ({ page }) => {
await page.goto("/");

const playerParagraph = await page.getByRole("paragraph");

await expect(playerParagraph).toContainText("X");
});

In this example, I introduced two new stuff, getByRole and toContainText.
getByRole is par…
#playwright #e2e
dev.to

1. Git in 10 mins
Ah, back after a veryyyy long time.Well, guess I could be more regular now.
Okay then back to the blog.

Table of Contents:

1.Staging
2.Making Commits
3.Reverting
4.Forking
5.Branching
6.Merging and Conflicts
7.Fetching/Pulling Changes
8.Pushing Changes
9.Rebasing

How Does Git Work?

Git is a flexible tool that allows developers to track code changes and manage their project using simple commands via the terminal.

The heart of Git is a repository used to contain a project. A repository can …
#git #tutorial #beginners

2. Data detective: Tips and tricks for conducting effective exploratory data analysis
Exploratory data analysis (EDA) is an approach to analyzing and understanding data that involves summarizing, visualizing, and identifying patterns and relationships in the data. There are many different techniques and approaches that can be used in EDA, and the specific techniques used will depend on the nature of the data and the questions being asked. Here are some common techniques that are often used in EDA:

Visualization: Plotting the data in various ways can help reveal patterns and tren…
#datascience #analyst #analytics #python

3. Playwright - Generate tests' code
Hi there,
today you will learn how to generate the code for your tests.

First of all, you have to run the application, so type in your terminal npm run dev , and you will have your application up and running at the address http://localhost:5173.
Now you have to run the Playwright code generator. To do that, you have to open another tab in your terminal and type npx playwright codegen.
This command opens in your display a new browser and the Playwright inspector.
Now, the browser shows an empty …
#playwright #e2e
dev.to

Automating Visual Testing with Playwright, Argos and GitHub Actions
Photo de John Noonan sur Unsplash

Visual testing allows developers to identify and fix visual bugs in applications before they become a problem. By automating visual testing, developers can ensure that their web applications look and function as intended when they make changes and updates.

In this guide, we will show how to automate visual testing with Playwright, Argos, and GitHub Actions. The goal is to be notified of visual changes on each pull-request directly within GitHub, and fix visual…
#testing #playwright #javascript #argos
dev.to

1. Playwright - Visual Comparisons
Hi there,

Today I want to speak about Visual comparisons with Playwright.

In some projects is crucial to respect the same size for the component on the page, or to guarantee the exact visualization each time, or to ensure the same colour, etc.

Playwright exposes this feature out of the box. To do that, Playwright uses snapshots and compares a specific snapshot with the test result to check that nothing has changed.

But don't waste time, and let's see how it works.

I want to use the Square c…
#playwright #e2e #visual

2. Is Low-Code/No-Code the Future? 5 Most Important Trends
Will developers always be needed? Are low-code and no-code platforms going to replace traditional programming? Is low-code/no-code really the future? In this article, we will reflect on why the popularity of these tools is growing and what the most important trends are.

Urgent need of digital transformation

The experiences of recent years, especially those related to the pandemic, show that the need for new technological solutions is growing among organizations in various industries. In other…
#lowcode #webdev #programming #productivity
dev.to

1. Could GitHub Copilot be a valuable investment for my team?
GitHub recently launched Copilot for Business, which enables companies to purchase and manage licenses for their entire team. If you're considering investing in GitHub Copilot, here's what you need to know.

Short answer: Yes, GitHub Copilot could be a valuable investment for your team.

Long answer: It depends on your team's specific needs.

I’ll start by admitting that I am biased. I work at GitHub, and I love Copilot. GitHub Copilot helped me rediscover the joy of coding. I used to love codin…
#github #githubcopilot #webdev #leadership

2. Web automation & scraping with Playwright JS
Playwright is a very powerful tool. You can use it to do end-to-end testing, web automation, creating bots and so on.

In this tutorial, I show how we can strap up an application that goes and do stuff for us on Ebay.

Here's the link => https://www.youtube.com/watch?v=Z7zGUFZgkgA&t=930s
#webdev #javascript #playwright

3. Why Google's Bard AI Lost to ChatGPT
What is ChatGPT

ChatGPT is a chatbot that uses GPT-2 to generate responses. It was trained on a dataset of 1.5 million Reddit comments.
It took internet by storm when it was released. It was able to generate responses that were indistinguishable from human responses. It was funded by OpenAI and was released by the OpenAI team. Also Microsoft invested in it.
It was a huge success and this is why Google decided to make their own version of it.

What is Google's Bard AI

Google's Bard AI is an AI…
#ai #beginners #programming #webdev
dev.to

Playwright - Parametrize tests
Hey folks, Today it's time to speak about how to parametrize tests with Playwright. There are cases...
#playwright #e2e
dev.to

Playwright's UI Mode - watch mode and time travel debugging
Are you looking for a more efficient way to execute and debug your end to end tests? Look no further...
#playwright #e2e #testing #node
dev.to

How to set up BDD User-centric E2E tests
In this article, we will see how to set up relevant and effortless end-to-end tests for your web...
#playwright #cypress #e2e #cucumber