teleren/devto huggingface dataset:
4 ways to keep yourself updated
Tags: programming, webdev, codenewbie, beginners
Published: 2022-10-13 09:30:54

## Under the Hood

If you want to watch the shorts instead of reading the story, here is the link.
[4 ways to keep yourself updated](https://www.youtube.com/shorts/SkANij_SoIw)

## First one -
A lot of people don’t know but [Twitter](https://twitter.com/treyvijay) is the best and fastest platform to gain knowledge or stay updated. The reason is creating content on Twitter is very easy as compared to sharing information on Instagram and youtube.

## Second way -
If you want to use youtube or Instagram to only grab the tech information, create a separate dedicated account on them, in this way you can avoid multiple distractions happening on social media platforms while surfing. 

## The third one is —
Using [medium](https://medium.com/@shreyvijayvargiya26) because a lot of big companies and developers share a brief experience, information and knowledge on medium, it's a very good platform the get a variety of information from technology, backend, artificial intelligence, machine learning and so on.

## The fourth and last one is —
Using Other third-party platforms such as [hashnode](https://hashnode.com/), [Dev](dev.to), [hackernoon](hackernoon.com) and HackerEarth are also decent platforms.

**Keep developing
Shrey**
[iHateReading](ihatereading.in)
World Famous Best Astrologer - Jyotish Acharya Devraj JI
Tags: astrologer
Published: 2022-10-13 09:07:50

India's No.1 most [World Famous Best Astrologer](https://astrologyexperts.in/about-me) Jyotish Acharya Devraj ji is a good blend of traditional principles with a modern outlook. He uses a combination of traditional & modern methods to analyze the birth chart of an individual. Since 2005, vast experience of 17+ years ***Best Astrologer in West Delhi**Best Numerology Expert in Delhi NCR** & Expert in Janam Kundli Predictions. Jyotish Acharya Devraj ji is an expert in Vedic astrology & is highly skilled in KP, Jyotish, Nadi Jyotish, and Numerology. He specializes in scientific, technical, & logical analysis of your Janam Kundli, and gives the most accurate diagnosis. Jyotish Acharya Devraj Ji is the best Indian psychic, astrologer, & spiritual counselling service, provider. He can provide the most accurate solution to your personal life issues. And gives the most accurate predictions about your business issues & many other problems like love, marriage, relationship, children, education, career, business, politics, finance, etc. Apart from Vedic science, Jyotish Acharya Devraj ji has very good authority on yoga, meditation, & spirituality in Vedic traditions. He has expertise in Gemstones, Remedial Remedies from the remedial point of view. Many people have found a good change in their life with joy and peace after following the remedies suggested by him. Unlimited Time, Unlimited Questions. Affordable Solutions Your satisfaction is our pursuit...

 

India's No.1 Jyotish Acharya Devraj ji has 17+yrs experience in astrology & numerology, get accurate & authentic astrological consultation from the [Genuine Famous Astrologer](https://astrologyexperts.in/about) in Delhi. The Best Jyotish Acharya Devraj says - Vedic numerology decodes all kinds of qualities related to the practical character of a person with the most accuracy on the basis of the numbers present in his/her date of birth. Vedic numerology is capable of disclosing your good & bad habits as well as the strengths & weaknesses hidden inside you. Apart from this, the forward-running Dasha-Antara position based on numbers in numerology decodes all the events of your present & future life with 100% accuracy. Acharya Devraj ji says similarly, that Vedic astrology is subject to a precise 'time of birth'. If you know the exact time of your birth. Then it makes your horoscope most unique. Accurate Birth Time Detail provides you with the most accurate analysis & most accurate predictions with the help of Numerology & Vedic Astrology. Jyotish Acharya Devraj ji says that astrology has a special place in the mind of most people to know about their future forecasts & life span. By using astrology, you can know the most accurate about your present & future. Do you want to get the services of an expert astrologer? Then you can get the most accurate prediction based on your birth date & Janam Kundli, from the world-famous astrologer Acharya Devraj of India.
openGauss:AI characteristic function - DB4AI series
Published: 2022-10-13 08:53:28

db4ai_predict_by_bool (text, VARIADIC "any")

Description: Get the model whose return value is Boolean for model inference task. This function is an internal call function. It is recommended to use the syntax PREDICT BY directly for inference tasks.

Parameters: Model name and input columns for the inference task.

Return value type: bool

db4ai_predict_by_float4(text, VARIADIC "any")

Description: Get the model whose return value is float4 for model inference tasks. This function is an internal call function. 
It is recommended to use the syntax PREDICT BY directly for inference tasks.

Parameters: Model name and input columns for the inference task.

Return value type: float

db4ai_predict_by_float8(text, VARIADIC "any")
Description: Get the model whose return value is float8 for model inference tasks. This function is an internal call function. 
It is recommended to use the syntax PREDICT BY directly for inference tasks.

Parameters: Model name and input columns for the inference task.

Return value type: float

db4ai_predict_by_int32(text, VARIADIC "any")
Description: Get the model whose return value is int32 for model inference. This function is an internal call function. It is recommended to use the syntax PREDICT BY directly for inference tasks.

Parameters: Model name and input columns for the inference task.

Return value type: int

db4ai_predict_by_int64(text, VARIADIC "any")
Description: Get the model whose return value is int64 for model inference. This function is an internal call function. It is recommended to use the syntax PREDICT BY directly for inference tasks.

Parameters: Model name and input columns for the inference task.

Return value type: int

db4ai_predict_by_numeric(text, VARIADIC "any")
Description: Get the model whose return value is numeric for model inference tasks. This function is an internal call function. It is recommended to use the syntax PREDICT BY directly for inference tasks.

Parameters: Model name and input columns for the inference task.

Return value type: numeric

db4ai_predict_by_text(text, VARIADIC "any")
Description: Get the model whose return value is character type for model inference task. This function is an internal call function. It is recommended to use the syntax PREDICT BY directly for inference tasks.

Parameters: Model name and input columns for the inference task.

Return value type: text

db4ai_predict_by_float8_array(text, VARIADIC "any")
Description: Get the model whose return value is character type for model inference task. This function is an internal call function. It is recommended to use the syntax PREDICT BY directly for inference tasks.

Parameters: Model name and input columns for the inference task.

Return value type: text
:deep()无法穿透element子元素
Published: 2022-10-13 08:50:56


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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cjxwurkpmsfqi3gkbma3.jpg)
请问下大佬们，怎么写才对
之前是/deep/.el-tabs .el-tabs__header就好了
OpenGauss: Pg_gtt_attached_pid(relOid)
Published: 2022-10-13 08:46:14

pg_gtt_attached_pid(relOid)

Description: Displays all thread pids that are using the specified global temporary table.

Parameters: OID of the global temporary table.

Return value type: record

Example:
copy code
openGauss=# select * from pg_gtt_attached_pid(74069);
 relid |       pid       
-------+-----------------
 74069 | 139648170456832
 74069 | 139648123270912
(2 rows)
Check vocabulary and increase vocabulary knowledge.
Tags: webdev, productivity, node, aws
Published: 2022-10-13 08:44:46

Words From Letters is a utility application that helps users check their vocabulary and increase their vocabulary knowledge.
Undoubtedly, each language student will have his or her own techniques for memorizing word faces, remembering their meanings, and remembering how to use words. Depending on the context, each phrase has its own specific meaning.
As technology advances, user-friendly, internet-connected assistance methods are created. The founder of the company develops a variety of support solutions that make it simpler to meet the diverse needs of each user. This is therefore the reason why [words from letters](https://wordsfromletters.co/) exists.

Occasionally, a new term can be formed by rearranging an existing word. This allows people to interpret words using scientific ways of thinking. Before there were tools, people frequently had to write on paper in order to rearrange words quickly. Since Words From Letters' inception, however, it has supported and provided a variety of words for every individual. This program offers you suggestions for words you may not have encountered before.
Intro to Array in JavaScript.
Tags: javascript, beginners, array, programming
Published: 2022-10-13 08:31:29

**1. Introduction**
Array is a unique kind of variable which can store multiple values. It is enclosed in square [] brackets. 

**Syntax**

```
const variable_name= [//"data"];
```
**2. Its importance**
Array is very helpful as it makes our work easier and also make code less complicated and simple. We don't need to create multiple variables as we can store multiple kind of data in one. 
**NOTE**
We can modify the data in array once declared.
**3. Array length**
We can access the no of items in the array using 'length' keyword.
For example:

```
const cars= ['BMW', 'Audi', 'Mercedes'];
console.log(cars.length)
```
Output for above example is:
3 is output, as there are three items in the array.
Example:

```
const laptops = ['Lenovo', 'Dell', 'HP'];
console.log(laptops.length)
```
output:
3
**4. Array Push**
Array Push adds the item at the end of the sequence.
For example:

```
const fruits= ['Apple', 'Mango', 'Banana'];
fruits.push('Orange');
console.log(fruits)
```
Output:
["Apple", "Mango", "Banana", "Orange"]
In above example, an array named fruits was created and in statement 2, using push keyword, 'orange' was added in the list.
Pure CSS Woman With Sunglasses
Tags: codepen, html, css, webdev
Published: 2022-10-13 08:20:59

---
title: Pure CSS Woman With Sunglasses
published: true
tags: codepen,html,css,webdev
---

{% codepen https://codepen.io/AsyrafHussin/pen/mdLvEpj %}

<p>Speed Code Video
<a href="https://twitter.com/asyrafhussin4/status/1580465315296645120" target="_blank">https://twitter.com/asyrafhussin4/status/1580465315296645120</a></p>
UIHUT
Published: 2022-10-13 08:19:55

Hosting Web Applications UI Kit.
Collected from UIHUT

Download 20,000+ Design resources from UIHUT. Get 1-year subscription plan only for $119

#hostigweb #webapp #webdesign #uikit #uidesugn #uihut #uiux


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iz8l98o89rbbv91hcv9v.png)
2Captcha…Let's Talk!
Published: 2022-10-13 08:19:14

Ever automating the web, the login systems, and everything and suddenly your app crashes, as it was unable to bypass the Captchas? Oh…I see that’s you! Well, you’re in luck — I recently faced a similar problem and I see I’ve found a decent solution! I present to you 2Captcha!

## What is 2Captcha?
2Captcha is human based anti-captcha service. Therefore captcha solver can help bypass any captcha verification. 2Captcha also provides API’s for many programming languages like Python & JavaScript, which will allow you to bypass captchas for whatever reason. It’s fairly simple to use, and you can find some decent blog posts which will guide you through the API. 

The 2Captcha documentation can also be referred to.


GitHub Docs: https://github.com/2captcha/2captcha-solver
Some Other Docs: https://2captcha.com/2captcha-api

## Getting Started
Pretty straightforward, not the classical signup process. However, they will ask you for 3 options… you are a Customer, a Worker, or a Developer. The below illustration will help you understand who you are! And you can register here: https://2captcha.com/auth/register

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




![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1665648685700/RcZX_VHMU.png align="left")


## What can it do?
For starters, it can solve Captchas via the API's built-in Python. As you see in the worker's section above, these people solve these Captchas and in return, they are paid, but I won’t be talking about them. You can find more about working for them on their website. 

Below are some of the Captcha’s it can solve with its awesomely built API - well, not some, ALOT! From Normal to Puzzly Captchas, 2Captcha has got you covered. It really is mind-blowing. 

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



![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1665648695123/0cv6e_-ch.png align="left")


Anyways, you might be wondering - how the hell I get started with the API, and as I said, 2Captcha is well documented. Below is an image, showing how to solve the KeyCaptcha with Python, using the API - pretty straightforward. You can also refer to the following blog posts for assistance.

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



![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1665648720777/IjmfJmxFi.png align="left")


Some References: 
How to bypass “slider CAPTCHA” with JS and Puppeteer - https://filipvitas.medium.com/how-to-bypass-slider-captcha-with-js-and-puppeteer-cd5e28105e3c
 
Bypassing hCaptcha with Python - 
https://dev.to/kentavr009/bypassing-hcaptcha-with-python-4ghh

There is a wide recourse that’ll help you get started with API, so it’s just the motive of starting! See you later!

***Note: This is Sponsered by 2Captcha.***
Create your first PR 🎉: Hacktoberfest 2022
Tags: hacktoberfest, webdev, beginners, programming
Published: 2022-10-13 08:08:53

Are you a beginner who is looking to contribute to open-source? Are you confused about where to start?
Then you have an opportunity to create your first contribution to open-source. **Open-Source-for-All** is a GitHub repo where you could learn to contribute to open-source projects through a step-by-step tutorial.
Here is the link to the GitHub repo: https://github.com/Sadeedpv/Open-Source-for-All

## Create your first Pull Request with **Open-Source-for-All**
Using this repository, you will have a comprehensive guide on how to contribute to open-source projects on GitHub. If you have any doubts, you can always raise a question in discussion.

## BONUS😎😎

[101-Programming-resources](https://github.com/Sadeedpv/101-programming-resources) is a GitHub repo where you can get 101 completely free programming resources that could potentially enhance your coding skills. Feel free to add your own resources to the list by forking the repository.

### Thanks for your time and I hope you found this helpful and would consider contributing to the project 🎉🎊
Should the useState hook verify that the lazy initial state function must be synchronous
Tags: react
Published: 2022-10-13 08:06:14

By now, you can pass asynchronous function to the ReactJS `useState` hook to lazy initialize the state. But this seems not correct, the state will be a JavaScript promise.

```js
const [state] = useState(async () => 'a');
console.log(state); // "state" is a promise.
```

So I think ReactJS `useState` hook should validate this function to make sure it is synchronous. 

Something like this:

```ts
const syncCallback = () => 'a';
const asyncCallback = async () => 'b';

const AsyncFunction = (async () => { }).constructor;

function isAsync(fn: Function) {
  return fn instanceof AsyncFunction;
}

function useState<S>(initialState: S | (() => S)) {
  if (typeof initialState === 'function' && isAsync(initialState)) throw new Error('initial state function must be synchronous.')
  if (initialState instanceof Function) {
    return initialState();
  }
  return initialState
}

const state1 = useState(syncCallback); // correct usage
console.log('state1: ', state1); 
const state2 = useState(asyncCallback); // Only allow synchronous function, so it will throw error to developer.
```

[TypeScript Playground](https://www.typescriptlang.org/play?#code/MYewdgzgLgBBCeZgGECGAbdAjVwDWMAvDABQCURAfDAOSo0DcAUKJLKgkmpjvkTB0TBSFQtRpZGTFuGgwAgp2AAxAK5IoAS3D8SgpCKowA3jAC+ZAHStoAJ1XAoIW8yYAzdY+1gYmiIqESNzAALhg1DW8KYyYYGFsAUyhVWx9g3zZUJASQNwUlCK9wZjNpD0idVQgEgGUoVCgEgB4ayhJNME0tDDqGhLCamAAfUnIjGrJo2N88kih4AAccvI6uzR76xqJCYhpyorAaGAAyY99-JXbO7vRexsmYKAALWxAAdxgwBI+AUVtX2wkGirG5wTYJGD7LQ6AC2VVgWAhShe4BAVUsNDI000sxB61u4Iy0CywGW4U80LAUzicUSyVSGTWGz65GYcVKtKSKR8eOZjSYpRkbDBfQAjPwqrVwSQlNxsLg8GRmDYQOgEpZ0CAAOZA4mNUVhGgAGhF+qVQrkeoSACYJdU7gk9LKMPL8OaVWqNdrdeDrYaTVbrUqYEA)

What do you think?
Lodash Debounce
Tags: lodash, javascript
Published: 2022-10-13 08:03:12

The _.debounce() method of Function in lodash is used to create a debounced function that delays the given function until after the stated wait time in milliseconds has passed since the last time this debounced function was called. The debounced function has a cancel method that can be used to cancel the function calls that are delayed and a flush method that is used to immediately call the delayed function. 

**Syntax:**

`_.debounce( func, wait, options )`

**Parameters:** This method accepts three parameters as mentioned above and described below:

- **func**: It is the function that has to be debounced.
- **wait**: It is the number of milliseconds for which the calls are to be delayed. It is an optional parameter. The default value is 0.
- **options**: It is the options object that can be used for changing the behaviour of the method. It is an optional parameter.

The options object has the following parameters:

- **leading**: It defines the calling on the leading edge of the timeout. It is an optional parameter. The default value is false.
- **maxWait**: It is the maximum number of time for which the func is allowed to be delayed before it is called. It is an optional parameter.
- **trailing**: It defines the calling on the trailing edge of the timeout. It is an optional parameter. The default value is true.

{% embed https://gist.github.com/comficker/c88af08d281f1a5da14f6a662be40e5d %}
How to Make a HTML List
Tags: html, beginners, webdev, tutorial
Published: 2022-10-13 08:00:56

How to make a HTML List? HTML Lists are used to specify information lists. Every list can have one or more list elements.

In HTML, there are three types of lists:

1. Ordered `<ol>`
2. Unordered `<ul>`
3. Description `<dl>`

## Unordered List

An unordered list is created using the `<ul>` tag.

An unordered list is made of items marked with bullets by default.

Each list item is created using the `<li>` tag.

Here is an example list of shopping items:

```html
<ul>
  <li>Tea</li>
  <li>Milk</li>
  <li>Eggs</li>
</ul>
```
As you can see, the items are put between the `<ul></ul>` tags.

## Ordered List

An ordered list uses numbers by default instead of bullets for the items.

It is created similar to the unordered list, and uses the `<ol>` tag instead of `<ul>` to wrap the items:

```html
<ol>
  <li>Sam</li>
  <li>Amy</li>
  <li>Tom</li>
</ol>
```
This will create a numbered list of names.

## Description List

A description list is a list of terms, with a description of each term.

Used for

- Terms and definitions
- Metadata topics and values
- Questions and answers
- Any other group of name-value data

The HTML description list contains the following three tags:

1. `<dl>` tag defines the start of the list.
2. `<dt>` tag defines a term.
3. `<dd>` tag defines the term definition (description).

Example:

```html
<dl>
  <dt>Google</dt>
  <dd>
   Google LLC is an American multinational technology company that focuses on search engine technology, online advertising, cloud computing, computer software, quantum computing, e-commerce, artificial intelligence, and consumer electronics.
  </dd>

  <!-- Other terms and descriptions -->
</dl>
```
Learn more about the [description list element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl).

## Nested List

Lists can be nested inside other lists.

You can make a nested unordered list, a nested ordered list, or an ordered list nested inside an unordered list.

Example:

```html
<ul>
  <li>Coffee</li>
  <li>Tea
    <ul>
      <li>Black tea</li>
      <li>Green tea</li>
    </ul>
  </li>
  <li>Milk
  <ul>
      <li>Dairy</li>
      <li>Almond</li>
      <li>Oat</li>
      <li>Soya</li>
    </ul>
  </li>
</ul>
```

As you can see in this cafe drinks list, the unordered list is nested inside a list item of the another unordered list.

Remember, the list items have to open and close with `<li> </li>` tags and need to be wrapped in `<ul>` or `<ol>` tags to make a valid list.

## Conclusion

That’s all there is to it! You now understand how to build ordered, unordered and description lists in HTML.

Continue your HTML learning by reading the following articles:

[How to Create an HTML Boilerplate](https://maxlockwood.dev/how-to-create-an-html-boilerplate/)

[What is an HTML Element? How do you create one?](https://maxlockwood.dev/what-are-html-elements/)

Thank you for reading this article, keep on coding.
A Quick 10-Second Programming Joke For Today
Tags: jokes, dailydeveloperjokes, watercooler
Published: 2022-10-13 08:00:27

---
title: "A Quick 10-Second Programming Joke For Today"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes, #watercooler
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12590d3e5c1.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit._

<!--
Joke text:
___Q:___ What do computers love to do at the beach?

___A:___ Put on some spam block for protection so they can safely surf the net while catching some .WAVs!
 -->