teleren/devto huggingface dataset:
Google Scraper: Ein Medienanalyse Beispiel bei Erdbeben in der Türkei
Tags: webdev, programming, tutorial, html
Published: 2023-02-07 07:13:16

<mark>**Artikel Quelle:**[Google Scraper: Ein Medienanalyse Beispiel bei Erdbeben in der Türkei](https://octoparse.de/blog/google-scraper-ein-medienanalyse-beispiel-bei-erdbeben-in-der-tuerkei)</mark>

Bei den schweren Erdbeben am Montag ist Zahl der Toten in Türkei und Syrien steigt auf mehr als 3600, weitaus mehr wurden verletzt. Nach der verheerenden Erdbebenkatastrophe hat der türkische Präsident Recep Tayyip Erdogan eine einwöchige Staatstrauer ausgerufen. Die Staatstrauer endet demnach am 12. Februar nach Sonnenuntergang.
Auf Twitter behalten #earthquake und #erdbeben in den letzten 24 Stunden Top-Sitzen. Aber wie sprechen unsere Medien über Erdbeben in Türkei? Wir brauchen eine Daten Unterstützung für die Medien-Analyse.
Viele deutsche Medien haben viele Nachrichten gepostet. Bei Google Search mit Schlüsselwort"erdbeben türkei" sind insgesamt 2,56Millionen verwante Nachrichten angezeigt. Was wir wissen möchten, ist nur die Anzahl der Nachrichten in 24 Stunden, damit können wir die Haltung der inländischen Massenmedien deutlich durchschauen.
Hier bietet Octoparse Daten Service einen Datenbericht zu Forschungzwecken.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p7lwn9ryevkz1btyzxhv.png)
Why JavaScript is a Must-Learn Language for Modern Web Development
Tags: javascript, programming, beginners, indtechverse
Published: 2023-02-07 07:10:12

**JavaScript **has been around for over 25 years, and it has evolved into one of the most essential tools for web development. It is a versatile language that can be used for a wide range of applications, from simple interactions to complex, data-driven applications.

Here are some of the reasons why JavaScript is a must-learn language for modern web development:

1. Front-End and Back-End Development: JavaScript can be used for both front-end and back-end development, making it a full-stack language. This allows developers to create complete web applications from start to finish.

2. Popularity and Demand: JavaScript is one of the most popular programming languages in the world, with a huge community of developers constantly working on improving and expanding its capabilities.

3. Versatility: JavaScript can be used for various types of web applications, including single-page applications, progressive web apps, mobile apps, and more.

4. Integration: JavaScript can be easily integrated with other technologies, such as HTML, CSS, and various frameworks and libraries, making it a great choice for modern web development.

5. Growth Opportunities: With the constantly growing demand for web development skills, JavaScript offers many opportunities for growth and advancement in your career.

In conclusion, if you're looking to build a career in web development, or just want to keep up with the latest technologies, learning JavaScript is a must. Its versatility, popularity, and integration capabilities make it a valuable skill for modern web development.
Unleashing the Power of Quantum Computing: The Future of Technology
Tags: computerscience, technology, beginners, quantumcomputer
Published: 2023-02-07 06:49:55



Quantum computing has been the talk of the technology industry for the past few years, and for good reason. Unlike classical computers that use binary digits (bits) to perform calculations, quantum computers use quantum bits (qubits) that exist in multiple states simultaneously, allowing for vastly faster processing speeds and solving complex problems much quicker.

One of the key advantages of quantum computers is their ability to process massive amounts of data at speeds much faster than classical computers. This makes them ideal for solving problems in areas such as cryptography, financial modeling, and drug discovery.

Another important aspect of quantum computing is that it can perform certain calculations much faster than classical computers. For instance, a quantum computer can solve certain optimization problems that would take classical computers billions of years to solve in just a few minutes. This has the potential to revolutionize fields such as cryptography and financial modeling, making complex calculations much faster and more accurate.

Quantum computing also has the potential to greatly enhance our understanding of the universe. By using quantum computers, scientists can simulate the behavior of particles and atoms, which will give us a deeper understanding of quantum mechanics and the nature of the universe.

Despite these exciting developments, there are still many technical challenges that need to be addressed before quantum computers can be widely adopted. For example, the delicate nature of qubits means that they are highly susceptible to interference from the environment, making it difficult to maintain the accuracy of calculations.

Despite these challenges, the future of quantum computing looks bright, and it’s expected that it will play a crucial role in shaping the technological landscape in the coming years. With its ability to process massive amounts of data at lightning speeds and solve complex problems that classical computers simply can’t, quantum computing is poised to revolutionize the way we approach technology.
Area distribution of developers with cats
Tags: webdev, programming, jokes, opensource
Published: 2023-02-07 06:48:53

It seems that many developers love cats. To find area distribution of developers with cats in their GitHub profiles, I used [Data Explorer](https://ossinsight.io/explore/), a GPT-powered querying tool for effortless data exploration on GitHub and got the result: https://ossinsight.io/explore/?id=26dd5ff1-d61e-4aa0-ae1d-923d4842007f

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


This tool is easy to use. Simply ask a question, and it will:

1. Generate an SQL statement
2. Query 5+ billion rows of GitHub data
3. Visualize the results

For example:
[How many pull requests does Apache have](https://ossinsight.io/explore/?id=2f68b4ea-2377-4dc6-8072-1e7d448d9afc)

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

[Try it out](https://ossinsight.io/explore/) and share your findings with us. :-)
Guide to Stream globo TV abroad
Published: 2023-02-07 06:35:44

If you're a Globo TV lover, you've probably looked into ways to watch Globo TV from countries other than Brazil. You've probably heard about VPNs and how they may be used to unblock region-restricted streaming services. You've come to the right place if you're looking for a Brazilian VPN to unblock Globo TV. This article will explain how to [Stream Globo TV abroad](https://www.oneclickactivate.com/stream-globo-tv-abroad/)
Updating Angular routes at runtime
Tags: angular, tutorial, webdev, programming
Published: 2023-02-07 06:34:42

There may be times where you need to update your Angular routes dynamically depending on the result of an API call, cookies, etc.

Realistically, this should be done during [Angular app initialization](https://angular.io/api/core/APP_INITIALIZER) (especially so if the routes are dependent on an API call) but we simply choose the `AppModule` constructor for this quick example.

Say you have a bunch of routes that have been registered:
```
const routes: Routes = [
	{ path: 'about-us', component: AboutUsComponent },
	{ path: '', component: HomeComponent },
];
```

and depending on some condition at runtime, you would like to swap the base path `''` route to point to another component like `NewHomeComponent`, you can do like below and access `resetConfig()` on the Angular `Router`:
```
export class AppModule {
	constructor(
		private readonly router: Router,
	) {
		if (someCondition) {
			const configRoutes = this.router.config;

			const index = configRoutes.findIndex((route: Route) => route.path === '');
			configRoutes[index] = { path: '', component: NewHomeComponent };

			this.router.resetConfig(configRoutes);
		}
	}
}
```

And you're done!
Hiring Freeze for Software Testers in Start up, MNC | Software Testing Jobs| Survive Recession as QA
Tags: webdev, beginners, tutorial, programming
Published: 2023-02-07 06:32:08

Software Testing Jobs: We are going to answer Why fewer Software Testing jobs in India? Has Recession started in 2022? reasons hiring process in freeze

{% embed https://youtu.be/pyrz_EsvcLQ %}

✅ Website:   https://thetestingacademy.com


Why are we not getting selected for Job?
Reasons behind getting testing jobs, future of automation testing

✅ Download Notes -  https://sdet.live/notes

✅ New Batch - https://go.scrolltest.com/manual


✅ Join Facebook Group :  http://bit.ly/learntesting2019

✅ Website:   https://scrolltest.com

✅ Website:   https://thetestingacademy.com

✅ Twitter: https://twitter.com/itstechmode

🚀 Tools and services I recommend:
Some of the courses that I recommend to become better Automation Tester 🙌🙌

✅API Testing - 
https://www.learnapitesting.com


✅Cypress Tutorial with LIVE Projects -
http://cypresstutorial.com


✅  GET your Free API Testing Guide worth $19 -  https://sdet.live/ttah
Chat GPT - Intro | Sample Conversations
Tags: chatgpt, openai, ai
Published: 2023-02-07 06:08:45

**Introduction**

Chat GPT (Chat Generative Pre-trained Transformer) is a trained language model and a chatbot which interacts conversationally.

It is launched by Open AI in November 2022.

It can perform things like answering questions, followups, admits its mistakes, reject inappropriate questions or requests and it can even write and debug computer based programs.

Its a sibling model for InstructGPT which also is a trained model to follow an instruction in a prompt and can provide us with detailed information and response. In comparison to InstructGPT, ChatGPT attempts to reduce harmful and deceitful responses.

In January 2023, ChatGPT reached over 100 million users, It is free for now and can be accessed using the below link, but this does not mean that Open AI promises for free trial in future.

[https://chat.openai.com/chat](https://chat.openai.com/chat)

Some of the conversational responses are mentioned below for better understanding how chat GPT provides answers to user questions.

**1) What is full form of PHP?**
A) The full form of PHP is Hypertext Preprocessor.

**2) What is India's capital?**
A) The capital of India is New Delhi.

**3) Top country in the world in terms of technology?**
A) It's difficult to determine a single country that is the "top" in terms of technology, as it depends on how you measure and define technology. However, some commonly recognized leaders in the field include the United States, Japan, South Korea, Germany, and China. These countries have a combination of factors such as investment in research and development, a highly educated workforce, and a supportive business environment for technology companies.

To continue reading [https://fsh.org.in/blog-details/Tools/Chat+GPT/29](https://fsh.org.in/blog-details/Tools/Chat+GPT/29)
Lead an AWS Cloud Club
Published: 2023-02-07 05:34:46

It’s time! Students, you’ve been waiting, and we are proud to announce that AWS Cloud Clubs, student-led user groups for ages 18+, are opening in 10 regions worldwide. Apply to become your school’s Cloud Club Captain to build community, learn AWS tech, & build your career. Apply here: https://s12d.com/students

🎉 AWS Cloud Clubs are launching now 🎉

Are you:
📚 Enrolled in a College or University or learning on your own
🦉Aged between 18–28
🫶Interested in creating peer-to-peer learning experiences for your local student community
✨Curious about skilling up in AWS technology
👀Looking to build your career and network

If so, please join an AWS Cloud Club near you. We are looking for stellar Cloud Club Captains to lead these clubs in Australia, Bangladesh, France, India, Ireland, Mexico, Nigeria, Pakistan, United Kingdom, and the United States.

What’s in it for you and your communities? Based on your activities, earn perks such as AWS credits, certification vouchers, swag, bespoke learning and networking experiences, and more. We will work with you to make your Club awesome!

Ready? Set? Go! Please fill in the AWS Cloud Club Captain Application Form at https://s12d.com/students. This form is opening now and will close on Feb 19th. If your region isn’t included in the launch list, please fill in the Cloud Clubs interest list to express your interest in founding or joining a future club.

source : https://aws.amazon.com/developer/community/students/
Project idea for blockchain focused hackathon.
Tags: hackathon, project, blockchain, beginners
Published: 2023-02-07 05:28:22

I am second year computer science student.
My collage is organizing a blockchain focused hackathon.
I want some project ideas which i can make in the event.
I have no background of blockchain.
I have 5 months experience in front end webD.
Thanks for your suggestion.
Flutter Drawer In easy way
Published: 2023-02-07 05:26:28

Flutter Drawer In easy way 

**DrawerList.dart**
```
class DrawerList extends StatelessWidget {
  final String icon, title;
  final VoidCallback onTap;
  const DrawerList(
      {super.key,
      required this.icon,
      required this.title,
      required this.onTap});

  @override
  Widget build(BuildContext context) {
    return ListTile(
      hoverColor: lightGreen,
      onTap: onTap,
      horizontalTitleGap: 0.0,
      leading: SvgPicture.asset(
        icon,
        width: 25,
        color: lableColor,
      ),
      title: Text(title),
      // iconColor: deepGreen,
      textColor: lableColor,
    );
  }
}
```

**Drawer.dart**

```
Drawer(
      child: Container(
        color: fontColor,
        child: Column(children: [
          SizedBox(height: 30),
          Container(
            margin: EdgeInsets.all(10),
            padding: EdgeInsets.all(10),
            child: Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Container(
                  padding: EdgeInsets.all(10),
                  decoration: BoxDecoration(
                      color: whiteColor,
                      borderRadius: BorderRadius.circular(5)),
                  child: Center(
                    child: SvgPicture.asset(
                      "assets/icons/icon.svg",
                      color: fontColor,
                    ),
                  ),
                ),
                SizedBox(width: 10),
                Text(
                  "FALTU DUKAN",
                  style: Theme.of(context)
                      .textTheme
                      .titleLarge
                      ?.copyWith(color: whiteColor),
                ),
              ],
            ),
          ),
          DrawerList(
            icon: "assets/icons/icon.svg",
            title: "HOME",
            onTap: () {
              print("HomePage");
            },
          ),
          DrawerList(
            icon: "assets/icons/transaction.svg",
            title: "SALE / PURCHASE",
            onTap: () {
              print("Sale pruchase");
            },
          ),
          DrawerList(
            icon: "assets/icons/party.svg",
            title: "PARTY",
            onTap: () {
              print("Party");
            },
          ),
          DrawerList(
            icon: "assets/icons/item.svg",
            title: "ITEM",
            onTap: () {
              print("Item Page");
            },
          ),
          DrawerList(
            icon: "assets/icons/setting.svg",
            title: "SETTINGS",
            onTap: () {
              print("Setting Page");
            },
          ),
        ]),
      ),
    );
```

For More information visit [codesikhe.com](https://codesikhe.com/drawer-flutter-responsive-mobile-and-web/)
Unique Path I & II
Published: 2023-02-07 05:25:52

[Unique Path I](https://leetcode.com/problems/unique-paths/)
[Unique Path II](https://leetcode.com/problems/unique-paths-ii/description/)

```js
/**
 * @param {number} m
 * @param {number} n
 * @return {number}
 */
var uniquePaths = function(m, n) {
      let memo = new Map();

  const getAllPaths = (row, column) => {
    if (row === 0 && column === 0) {
      return 1;
    }
    if (row < 0 || column < 0) {
      return 0;
    }
    if (memo.has(row + "_" + column)) {
      return memo.get(row + "_" + column);
    }

    let up = getAllPaths(row - 1, column);
    let left = getAllPaths(row, column - 1);
    memo.set(row + "_" + column, up + left);
    return up + left;
  };
  return getAllPaths(m - 1, n - 1);
};

```

```js
/**
 * @param {number[][]} obstacleGrid
 * @return {number}
 */
var uniquePathsWithObstacles = function(obstacleGrid) {
 let m = obstacleGrid.length;
  let n = obstacleGrid[0].length;
  let memo = new Map();
if (m === 1 && n === 1) {
    if (obstacleGrid[0][0] === 1) {
      return 0;
    }
    return 1;
  }

  const getAllPaths = (row, column) => {
    if (row === 0 && column === 0) {
     if (obstacleGrid[0][0] === 1) {
       return 0;
     }
     return 1;
    }
    if (row < 0 || column < 0 || obstacleGrid[row][column] === 1) {
      return 0;
    }
    if (memo.has(row + "_" + column)) {
      return memo.get(row + "_" + column);
    }

    let up = getAllPaths(row - 1, column);
    let left = getAllPaths(row, column - 1);
    memo.set(row + "_" + column, up + left);
    return up + left;
  };

  return getAllPaths(m - 1, n - 1);
};

```
Path to Learning Pandas | Become Data Analyst
Tags: datascience, python, database, sql
Published: 2023-02-07 05:16:42

Pandas is the most essential library when it comes to data analytics. It is used to work with the datasets. It makes the process of data analyzing & structuring way more easier. 

Here, In this blog post I will guide you with 11 steps which you can learn & use in pandas. 

****Note** :- All the following 11 steps are extremely useful, please do not try to skip the learning any of the steps. **

[Please use Jupyter Notebook, If you haven't configured it yet then please go & configure the Jupyter Notebook first]

Step 1:-
import Pandas, load the data & checkout the shape of your dataframe
[By loading the data you will be able to print & analyze the data from the selected dataframe]

Step 2:-
Learn more about dataframes & series objects

Step 3:-
How to create & use custom indexes using Pandas

Step 4:-
Basics of filtering dataframes & series objects

Step 5:-
Alter the existing rows & columns in the dataframe

Step 6:-
Add & Remove Columns from the dataframe

Step 7:-
Sort data in Pandas, Sorting single columns, sorting multiple columns & wrapping the largest & smallest values from different rows

Step 8:- 
Grouping & Aggregating the data

Step 9:-
Handle missing values & data cleaning

Step 10:-
Work with date & time series data with Pandas

Step 11:-
Read & Write data to different sources

Bonus :-
My favourite location to learn about pandas is Corey Schafer's YouTube channel. His playlist is a treasure for those newbies that wish to discover Pandas library.

Link :- 
https://www.youtube.com/playlist?list=PL-osiE80TeTsWmV9i9c58mdDCSskIFdDS

Thank you for reading the blog till the end. I wish you all the best for your journey of learning data analytics.
OSDC Lesson 2
Tags: osdc, perl, git, ack
Published: 2023-02-07 05:06:05

## First thing first
After joining OSDC, starting submitting pull requests and creating github.io pages, I learned that my username in github.com is actually greeng<i>**or**</i>cer, not _greengrocer_.

After checking github.com, I found that _greengrocer_ was available I When I joined github.com in 2014. So it was totally my spelling error at that time.

Someone took _greengrocer_ in 2016, so I need to figure out what to do with my username now. _greengorcer_ is kinda stupid.

## You need to install openssh-client to get ssh-keygen command
Then using ssh-keygen to generate a ssh public key for SSH github push.

## git basic work flow
### 1. git clone
This is for the initial downloading from github.com repo.

### 2. make some edit in the repo

### 3. git add _filename_
This put the edited files to be staged

### 4. git commit
Submit the change in the local rep.

### 5. git push
Submit the change of the local repo to the github.com repo.

### git reset --soft HEAD~1
Revoke the latest commit in the local repo.

### git restore --staged _filename_
This will unstage the files. The reverse action of _add_.

### git checkout _filename_
This could revoke the local change.

## .gitconfig

git config --global --add user.name "Foo Bar"

git config --global --add user.email foo@bar.com

You can also edit the ~/.gitconfig file directly.

## A little about ack, a Perl project
It is under active development, but the demand is mainly in the document format definition, not in Perl code.
Simplifying State Management with useState: A Step-by-Step Guide
Tags: react, webdev, javascript, beginners
Published: 2023-02-07 05:00:00

**Introduction:**
In the previous article, we covered the useReducer hook and learned how it can be used to manage complex state in React applications. In this article, we will explore another important hook - the useState hook - and see how it can be used to manage simple state updates in your components.

**What is useState:**
The useState hook is used to add state to your functional components. It takes an initial state as an argument and returns an array with two values: the current state and a setter function that can be used to update the state.

**Example:**
Let's look at a simple example to see how useState works. We'll create a component that displays a count and a button that increments the count when clicked.

Code:
```
import React, { useState } from 'react';

const Counter = () => {
  const [count, setCount] = useState(0);

  return (
    <div>
      <h2>Count: {count}</h2>
      <button onClick={() => setCount(count + 1)}>Increment</button>
    </div>
  );
};
```
**Explanation:**
In this example, we use the useState hook and pass it the initial state, which is 0. The hook returns an array with two values: the current state and the setter function. We use the current state to display the count and the setter function to update the state when the button is clicked.

In the onClick event handler for the button, we call the setter function and pass it the new count value, which is the current count plus one. This updates the state and re-renders the component with the updated count.

**Conclusion:**
The useState hook is a simple and easy-to-use tool for adding state to your functional components. It's a great tool for managing simple state updates in your components. In this tutorial, we've looked at a simple example of how to use the useState hook to create a counter component that displays a count and increments the count when a button is clicked. If you have any questions, feel free to ask in the comments below.