teleren/devto huggingface dataset:
No jsconfig.json, no fun
Tags: javascript, vscode
Published: 2023-10-17 10:03:06

I switched to VS Code recently and had an issue that really bogged me: Often Functions/Components did not appear in the list of IntelliSense autocomplete suggestions. But after opening the file containing the Function it suddenly got added to the list.

<figure>
![Suggestion not showing up](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t3ye4bb35lyej164i5bj.jpg)<figcaption>No IntelliSense suggestion for ExampleCard</figcaption>
</figure>

<figure>
![Suggestion showing up](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r5trg0zcrvb3j0ch91fi.jpg)<figcaption>Suggestion shows up after opening ExampleCard.js</figcaption>
</figure>

## `jsconfig.json` to the rescue

To be honest, it took me some time to find out what was going on. 

Visual Studio Code's JavaScript support can run in two different modes: **File Scope** and **Explicit Project**. 

And this was the cause of my issue: Some of my projects ran in **File Scope** mode and JavaScript files were treated as independent units by VS Code.

To solve my issue I just had to enabled **Explicit Project** mode by creating a `jsconfig.json` in my project. 

> You can more about the `jsconfig.json` file and and the two modes [in the official documentation](https://code.visualstudio.com/docs/languages/jsconfig#_why-do-i-need-a-jsconfigjson-file).

<figure>
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/juu52x3lgf30loojzu0k.png)<figcaption>Everything shows up now 🥳</figcaption>
</figure>

So all good now and lesson learned: When working with Visual Studio Code always make sure you have a `jsconfig.json` set up when working in a Javascript project.

## Examples for a `jsconfig.json`

Here is the `jsconfig.json` I use for a Gatsby project:

```json
{
  "compilerOptions": {
    "module": "ESNext",
    "moduleResolution": "Node",
    "target": "ES2020",
    "jsx": "react",
    "lib": [
      "esnext",
      "dom"
    ]
  },
  "include": [
    "./src/**/*",
    "./gatsby-node.ts",
    "./gatsby-config.ts",
    "./plugins/**/*"
  ]
}
```

And this is a more general version for React web projects that includes all files except files in `node_modules`:

```json
{
  "compilerOptions": {
    "module": "ESNext",
    "moduleResolution": "Node",
    "target": "ES2020",
    "jsx": "react",
    "lib": [
      "esnext",
      "dom"
    ]
  },
  "exclude": [
    "node_modules",
    "**/node_modules/*"
  ]
}
```
Solid Acid Catalyst Market Opportunity and Forecast 2023–2030
Tags: marketing, business, growth
Published: 2023-10-17 09:57:43

Solid Acid Catalyst Market Opportunity and Forecast 2023–2030
The Solid Acid Catalyst Market is expected to grow from USD 47.00 Million in 2022 to USD 62.00 Million by 2030, at a CAGR of 4.00% during the forecast period.

Get Sample Report-

What is a Solid Acid Catalyst?
Solid acid catalyst is a type of catalyst that is used in various industrial processes in the chemical and petrochemical industries.

Solid Acid Catalyst Market Size
The global solid acid catalyst market is segmented based on type into acid clay catalyst, zeolite-based catalyst, metal salt, cation exchange resin, and others, while the application segment includes the petrochemical industry, chemical industry, and others. The market players in the solid acid catalyst market include Clariant, EP Minerals, Honeywell UOP, Grace, SINOCATA, Albemarle, Johnson Matthey, JGC C&C, Evonik Industries, and Nease Performance Chemicals. The market is also segmented by region into North America, Asia Pacific, Middle East, Africa, Australia, and Europe. Regulatory and legal factors specific to market conditions play an essential role in the solid acid catalyst market. These factors include compliance with environmental regulations, government policies, and safety and health regulations, among other factors. The market is expected to grow significantly due to the increasing demand for petrochemical products and specialty chemicals.

Solid Acid Catalyst Market Segment Analysis
The latest trend followed by the Solid Acid Catalyst market is the development of innovative catalysts that can help improve process efficiency and reduce the overall cost of production. Manufacturers are focusing on developing new catalysts with high stability, selectivity, and reusability, thereby increasing their adoption rate among end-users. In addition, the emergence of new technologies such as nanocatalysts and ionic liquids is expected to further drive the growth of the Solid Acid Catalyst market.

This report covers impact on COVID-19 and Russia-Ukraine wars in detail.

Purchase this report-https://www.reportprime.com/checkout?id=376&price=3590

Information is sourced from https://www.reportprime.com/
Golang Notes - 8
Published: 2023-10-17 09:55:40


**Overflows**

```
var x uint8 = 255
x++
fmt.Println(x) // overflow, x = 0

var b int8 = 127
fmt.Println("%d\n", b+1) // overflow, b -128

f := float32(math.MaxFloat32)
f *= 1.2
fmt.Println(f) // overflows to infinite, +Inf
```

use math/big package for big numbers
Индивидуальные курсы турецкого языка
Published: 2023-10-17 09:54:33

ЧТО ВЫ БУДЕТЕ УМЕТЬ ПОСЛЕ ПРОХОЖДЕНИЯ НАЧАЛЬНОГО УРОВНЯ А1:
По окончании данного уровня Вы можете простыми предложениями рассказать о себе, о своей семье, о своих друзьях, о работе, описать, что Вы любите и не любите делать, умеете спрашивать и отвечать который час, использовать цифры от 1 до 1 000, можете поддержать беседу на бытовые темы (ресторан, магазин, улица), задать простые вопросы собеседнику или ответить самому на темы, связанные с аспектами бытовой жизни: об отдыхе, о еде и напитках, о ежедневных делах. Можете написать простые предложения с приветствиями и поздравлениями друзьям и близким.                                    СОСТАВЬТЕ СВОЙ СОБСТВЕННЫЙ ПЛАН
Построение плана - первый шагк успешному изучению языка.Если вам нужно выучить турецкий вкратчайшие сроки, выделите для себя лексику и грамматику, которые нужноосвоить в первую очередь.Важно распределить свои силы разумно,чтобы не было "каши в голове" или выгорания.После каждой пройденной темы ставьте галочку. Такая мелочь замотивирует васстать лучше в турецком языке и станетпричиной, чтобы гордиться собой :)

😎 В нашей школе мы не только обучаем, но и отлично мотивируем на изучение турецкого языка.

А ещё помогаем и заботимся. ❤️
Если давно хотели начать учить Турецкий профессионально - это знак. 

Для того, чтоб не попасть впросак и быть на одной волне с турками мы приглашаем вас к нам на обучение. Учить турецкий легко, интересно и эффективно. 

Вы можете начать с пробного бесплатного занятия. 

🎁 На бесплатном пробном уроке наш методист: 

Определит ваш уровень языка 
Расскажет про наши программы обучения
Покажет нашу уникальную обучающую платформу 
Даст рекомендации по изучению языка
Подберет расписание и преподавателя под ваши цели 
Начните заниматься турецким профессионально уже сегодня
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n1uode2zs25hy290ms99.jpg)
Task scheduler interval in the rust
Tags: rust, tasks, job
Published: 2023-10-17 09:52:38

#### Tasks Schedule



##### Task scheduler in code that runs a function at specific intervals, 



#### Example
```rust
use task_schedule::{schedule_tasks, ScheduledTask};
use task_schedule::utils::*;

fn task_without_params() {
    println!("I am running sec task.");
}

fn task_min() {
    println!("I am running min task.");
}

fn task_hours() {
    println!("I am running hours task.");
}

fn task_days() {
    println!("I am running days task.");
}

fn task_week() {
    println!("I am running week task.");
}

fn task_with_params(a: i32, b: &str) {
    println!("Task with parameters: a = {}, b = {}", a, b);
}

fn task_with_params_wrapper() {
    task_with_params(42, "Hello");
}


fn main() {
    let mut tasks = vec![
        ScheduledTask::new(convert_duration_to_seconds(1), task_without_params as fn()),
        ScheduledTask::new(convert_duration_to_seconds(2), task_with_params_wrapper as fn()),
        ScheduledTask::new(convert_duration_to_minutes(1), task_min as fn()),
        ScheduledTask::new(convert_duration_to_hours(1), task_hours as fn()),
        ScheduledTask::new(convert_duration_to_days(1), task_days as fn()),
        ScheduledTask::new(convert_duration_to_weeks(1), task_week as fn()),
    ];

    schedule_tasks(&mut tasks);
}
```

#### Output
```bash
I am running sec task.
Task with parameters: a = 42, b = Hello
I am running sec task.
I am running sec task.
Task with parameters: a = 42, b = Hello
I am running sec task.
I am running sec task.
Task with parameters: a = 42, b = Hello
I am running sec task.
I am running sec task.
Task with parameters: a = 42, b = Hello
I am running sec task.
I am running sec task.
Task with parameters: a = 42, b = Hello
I am running sec task.
I am running sec task.
Task with parameters: a = 42, b = Hello
I am running sec task.
I am running sec task.
Task with parameters: a = 42, b = Hello
I am running sec task.
I am running sec task.
Task with parameters: a = 42, b = Hello
I am running sec task.
I am running sec task.
```

Github : https://github.com/raminfp/schedule-tasks
🌟8day⚡️ Chơi Thả Ga Kiếm Tiền Cực Đã❤️
Tags: linknhacai8day, 8daycomco, 8day
Published: 2023-10-17 09:50:37

[🌟8day⚡️ Chơi Thả Ga Kiếm Tiền Cực Đã❤️]( https://8day.com.co/ve-chung-toi/)
🌟Tham gia chơi 8day vừa kiếm tiền vừa không lo mất vốn🌵
🌟Công nghệ bảo mật tại 8day an toàn tuyệt đối🌵
🌟Sở hữu hàng loạt các tựa game cá cược 8day cực kỳ hấp dẫn🌵
🌟Trải nghiệm tham gia cá cược mượt mà không giật lag tại 8day
🌟8day chăm sóc khách hàng chuyên nghiệp tận tình chu đáo🌵
🌟8day với nhiều chương trình khuyến mãi hấp dẫn🌵
🌐wed: [ https://8day.com.co/ve-chung-toi/]( https://8day.com.co/ve-chung-toi/)
🌐Fanpage:[ https://www.facebook.com/8daycomco/]( https://www.facebook.com/8daycomco/)
📧Email: 8daycomco@gmail.com
☎️sdt: 09661801842
📌Địa chỉ: 135 Phạm Phú Thứ, Phường 11, Tân Bình, Thành phố Hồ Chí Minh, Việt Nam
⭐️ #8day #8daycomco #linknhacai8day

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f1bljot7ck4ltzb9g18k.jpg)
Lingerie Fabrics MarketOpportunity and Forecast 2023–2030
Published: 2023-10-17 09:47:38


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


Lingerie Fabrics Market Opportunity and Forecast 2023–2030
The Lingerie Fabrics Market is expected to grow from USD 2.40 Billion in 2022 to USD 3.70 Billion by 2030, at a CAGR of 6.60% during the forecast period.

Get Sample Report-https://www.reportprime.com/enquiry/sample-report/375

What is Lingerie Fabric?
Lingerie fabrics refer to the materials used in making lingerie, including Bras, Briefs, Pajamas, and other intimate apparels.

Lingerie Fabrics Market Size
These fabrics can be classified into different types based on their materials, such as Cotton, Silk, Polyester, Nylon, and others, as well as techniques used, like Warp Knitted and Weft Knitted. The market research report focuses on the Lingerie Fabrics market segment based on these variables, with regions including North America, Asia Pacific, Middle East, Africa, Australia, and Europe. The major market players are Marand, Lauma Fabrics, Carvico, Nextil Group, Sanko Textiles, Textil Vertrieb Beratungs, Zhejiang Huachang Textile, Huading, Best Pacific, Sun Hing Industries Holding, and HongDa. They are analyzed based on their product portfolios, market shares, and pricing strategies. Regulatory and legal factors relevant to market conditions, including trade policies, tariffs, and labor laws, are also considered. These factors affect the overall market growth, profitability, and sustainability of the Lingerie Fabrics industry.

Lingerie Fabrics Market Segment Analysis
The latest trends in the Lingerie Fabrics market include the use of sustainable materials such as organic cotton, bamboo, and recycled polyesters. Lingerie manufacturers are also experimenting with new materials like Tencel, which is a vegan, eco-friendly alternative to silk. Moreover, there is a growing demand for lingerie that is inclusive of all body types and sizes, leading to an increase in the use of stretchable and soft Lingerie Fabrics.

This report covers impact on COVID-19 and Russia-Ukraine wars in detail.
Purchase this report-https://www.reportprime.com/checkout?id=375&price=3590
Metro has encountered an error ANOET no such file or directory
Tags: reactnative, javascript, handling, bugfix
Published: 2023-10-17 09:47:20

Untuk saat ini masih relevan

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


Namun di kombinasi dengan command `npm install` & `yarn install`

Sumber: https://stackoverflow.com/questions/70646971/metro-has-encountered-an-error-enoent-no-such-file-or-directory-lstat-fs
Faris Aboobacker: Empowering South India's Business Landscape
Tags: tutorial
Published: 2023-10-17 09:44:20

In the vibrant realm of Indian business, [Faris Aboobacker](https://issuu.com/fielderscoop/docs/pharis_aboobacker_life) stands as a beacon of inspiration. Originating from the tranquil village of Nandi near Koyilandy in the Kozhikode district, Faris is a distinguished businessman shaping the landscape of South India. His ventures, ranging from media to real estate, have positioned him as a successful and influential figure in society.

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

**Early Dreams and Determination**

Faris's journey commenced in the classrooms of Poykayil's local school, where his innate charisma hinted at a promising future. Graduating from Kozhikode's esteemed Farooq College, he showcased entrepreneurial zeal even in his youth.

**Swift Rise in the Business Arena**

Post-education, [Faris Aboobacker](https://tirunelvelitoday.in/2023/10/faris-aboobacker-the-self-made-millionaire-and-prolific-businessman/) collaborated with his father, Mundayil Abu Bakar, managing a modest leather products company in Chennai. His sharp intellect and agility fueled rapid growth, transforming the export business into a thriving enterprise. By his late twenties, Faris achieved the remarkable milestone of becoming a millionaire. His business footprint expanded across major cities in India and abroad.

**Venturing into New Horizons**

Faris's success knew no bounds. From Kerala to Chennai, then to Singapore, and eventually the United States, his ventures reached global heights. His diversification into real estate private equity funding showcased his versatility and expertise.

**A Heart of Generosity and Social Impact**

Faris's story extends beyond financial triumph; it embodies giving back. Despite his meteoric rise, he remains rooted, actively engaging in philanthropic endeavors like the Nayanar Memorial Football Fair. His dedication reflects the values of his humble beginnings, emphasizing that true success is built on overcoming challenges.

**An Exemplar for Aspiring Entrepreneurs**

[Faris Aboobacker's](https://medium.com/@shreyaamathew/pharis-aboobacker-the-man-who-thought-ambitiously-and-made-it-a-reality-b628be3149f) narrative serves as a guiding light for budding entrepreneurs. From modest origins to entrepreneurial excellence, his journey underscores the power of perseverance and hard work. He epitomizes the belief that every remarkable achievement begins with the decision to try.

In an ever-evolving business landscape, Faris Aboobacker's tale inspires us to dream big, work tirelessly, and contribute meaningfully to our communities. His entrepreneurial spirit, compassion, and commitment make him a true difference-maker in our world.
Love problem solution - Famous love spell caster
Tags: love
Published: 2023-10-17 09:21:16

## Love Problem Solution

Love is the most beautiful thing in the world which cannot be seen, heard, and even cannot be touched. It can only be felt deeply in heart. If a person has understood the real meaning of love, then that person will be happy forever. It is strong connectivity with a positive emotional and mental state. And if you get this love from a person, then that person could be your soul mate. Don’t wait to show your deepest interpersonal affection towards a person you love. If you love someone, then this is the best time to keep the best Love for you. But if you are seeing problems in your Love life, then talk with the astrologer to get the best **[Love Problem Solution](https://www.astrologeramansharma.com/love-problem-solution/)**.

## Love Problems

- Breakup issues in the relationship
- No commitment
- Double date or cheating in a relationship
- Misunderstanding
- Trust issues 
- Inter caste love marriage
- Love relationship for marriage is not approved by parents
- Family disturbances
- Financial Troubles
- Negative influences around

## Tips for Love problem solution

- Avoid conflicts
- Share your thoughts and feeling
- Spend a happy time together and try to understand each other
- Don’t overreact to anything
- Make decisions together

Though there can be many tips like this the astrology based remedy is best for resolving your love problems quickly. Astrological tips for **[love problem solution](https://www.astrologeramansharma.com/love-problem-solution/)**;

- Try to make use of horoscope gemstone
- Try Love spells for increasing your love

**Why consult an astrologer for Love Problem Solution?
**
Love is connected to emotional feeling, so the solution to its problem should be a little risky. If the love problem is resolved according to astrology, then it gets resolved quickly. I am the best love specialist astrologer in town and proficient in dealing with any kind of problem in relationships. My astrology solutions are genuine; therefore I offer guaranteed pay after result for any kind of love relationship issues. I provide authentic and pure astrology based solutions for love problems. You can get instant love problem solution online with the help of love specialist WhatsApp number.
Golang Notes - 7
Published: 2023-10-17 09:43:51


**Operators**

- Arithmetic Operators
  - addition +, subtraction -, multiplication *
  - division /, modulus %

- Bitwise Operators
  - &, |, ^, <<, >>

- Assignment Operators
  - =, +=, -=, *=, /=, %=
  - ++, -- increment & decrement

- Comparison Operators
  - == equal, != not equal
  - less < , less or equal <=
  - greater >, greater or equal >=

- Logical Operators
  - && conditional and
  - || conditional or
  - ! not / logical negation
Cellular Glass Market Cellular Glass Market Insight and Forecast 2023–2030
Tags: marketing, business, growth
Published: 2023-10-17 09:41:24


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



Cellular Glass Market Insight and Forecast 2023–2030
The Cellular Glass Market is expected to grow from USD 907.40 Million in 2022 to USD 1476.30 Million by 2030, at a CAGR of 7.20% during the forecast period.

Get Sample Report-https://www.reportprime.com/enquiry/sample-report/374

What is Cellular Glass?
Cellular Glass is a lightweight, insulation material produced from crushed glass combined with a cellulating agent.

Cellular Glass Market Size
It is widely used in cryogenic systems, heat transfer fluid systems, chemical processing systems, commercial piping and building constructions, and more. The market is segmented based on types into Black (Gray) Cellular Glass, White Cellular Glass, and Others (Multicolor), and also on applications into Cryogenic Systems, Heat Transfer Fluid Systems, Chemical Processing Systems, Commercial Piping and Building, and Others. Region-wise segmentation includes North America, Asia Pacific, Middle East, Africa, Australia, and Europe. The key market players are Corning, GLAPOR, Earthstone, REFAGLASS, Zhejiang DEHO, Huichang New Material, YaHong, ZhenShen, Zhong Tai Tian Cheng, ShouBang, YongLi, Hebei Thermal Insulation, Hebei Baimei New Materials, Zhenghao Thermal Insulation Materials, and Jiangsu Zhenghe. Regulatory and legal factors specific to Cellular Glass’s market conditions are not available in the report.

Cellular Glass Market Segment Analysis
The latest trend in the Cellular Glass market is the increasing use of the product in the cold insulation area. The advancement in technology, the rising need for cold insulation in refrigeration and cryogenic applications, and the increasing demand for low-temperature insulation products are driving the trend.
Purchase this report-https://www.reportprime.com/checkout?id=374&price=3590
Which Programming Language is Best for Game Development?
Tags: programming, languages, gamedev, development
Published: 2023-10-17 09:34:09

<p><span>The choice of the best <a href="https://www.rginfotech.com/programming-languages-for-game-development/"><strong>programming language for game development</strong></a> depends on the type of game, platform, and personal preferences. Some popular languages include C++, C#, and Python. C++ is known for high performance in complex games, while C# is often used for Unity-based game development. Python is preferred for quick prototyping and indie games. Ultimately, the best language varies based on the specific project and goals.</span><br />
Upload files to a Hugging Face space using the CLI and Python, including remote file uploads
Tags: python, cli, huggingface, webdev
Published: 2023-10-17 09:33:00

How to upload files to a Hugging Face space using the CLI and Python, including remote file uploads:

# Uploading Files to Hugging Face Spaces

Hugging Face Spaces allow you to easily host models and apps. A key part of managing a Space is uploading files - like datasets, model files, images, etc. Here are some tips on how to upload files to your Space using the Hugging Face CLI and Python library.

## Uploading Local Files

To upload a local file to your Space from the command line, use the `huggingface-cli upload` command:

```
huggingface-cli upload username/my-space ./local/file.txt
```

This will upload `file.txt` directly to the root of your Space. You can also specify a path within the Space:

```
huggingface-cli upload username/my-space ./local/data.csv data/data.csv 
```

In Python, install the `huggingface_hub` library and use `upload_file()`:

```python
from huggingface_hub import login, upload_file

login(token="YOUR_TOKEN")

upload_file(
  path_or_fileobj="./local/image.png",
  path_in_repo="images/profile.png",
  repo_id="username/my-space"
)
```

You can upload entire folders using `upload_folder()` instead.

## Uploading Remote Files 

To upload a file from a URL to your Space, you can use the `huggingface-cli` with the `--remote` flag:

```
huggingface-cli upload username/my-space --remote https://example.com/data.csv
```

This will download the file and upload it. In Python, you can use the `requests` library:

```python
import requests
from huggingface_hub import login, upload_file

url = "https://example.com/file.txt"

# Download file
response = requests.get(url)
contents = response.content

login(token="YOUR_TOKEN") 

upload_file(
  path_or_fileobj=contents,
  path_in_repo="remote_data.txt",
  repo_id="username/my-space"  
)
```

This way you can download a remote file and directly upload the contents to your Space in one step.

## Summary

Key points:

- Use `huggingface-cli upload` to upload local files and folders 
- Pass `--remote` to upload directly from a URL
- In Python, use `upload_file()` and `upload_folder()` from `huggingface_hub`
- Download remote files first before uploading the contents

This provides some handy code snippets to easily manage files in your Hugging Face Spaces!