teleren/devto huggingface dataset:
How to write c program for addition of two number?
Tags: code, addition, interview
Published: 2023-05-24 08:11:36

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

code: 

```
#include<stdio.h>
int main(){
	int a,b;
	printf("Enter the two numbers for addition:");
	scanf("%d %d",&a,&b);
	printf("\n%d",a+b);
	return 0;
}
```
A Journey in Learning and Simulating Real-World Web Development 🚀
Tags: github, webdev, frontend, projects
Published: 2023-05-24 08:06:07

Link to BigDevSoon: https://bigdevsoon.me/

Hey folks! 👋

## Introduction

It's been a while, and I'm thrilled to be back here after almost a 2-year break. Achieving goals feels great, and I can't help but share the exciting journey we've been on — a journey that led us to create BigDevSoon, a project-based platform for learning web development.

Teaming up with a Backend Developer, a UX Designer, and myself as a Frontend Developer, we poured our efforts into building a web application that aims to simulate the workflow you might encounter in your future job(s).

## Short info about BDS
BigDevSoon mirrors the real-world IT scenario. You'll receive project requirements, a Figma design, and a series of tasks. Step by step, you estimate, implement, and get reviews. You'll work with a GitHub flow like a pro developer, gaining valuable experience along the way. It's all about preparing you to feel like a developer before your first day on the job. Our aim is to alleviate some of the fear and equip you with the confidence to excel.

## Closing notes
Intrigued? 👀 Stay tuned for more information in the coming weeks. I promised this introduction would be brief, but I have exciting content planned to explain specific concepts one by one, right on the platform.

Give BigDevSoon a try, let us know what you think, and keep an eye out for more updates and engaging content.

Happy coding, everyone! 🙇‍♂️

Feel free to reach out if you have any questions or need further details.
Microsoft PL-900 Exam Dumps - Experts Choice for Exam
Published: 2023-05-24 07:48:03

Microsoft Power Stage Basics (Microsoft PL-900 Exam Dumps) Test
The [Microsoft PL-900 Exam Dumps](https://dumpsarena.com/microsoft-dumps/pl-900/) Test is one more test related with the Microsoft Applications and administrations. The competitors who show up for this test are generally individuals who try to work on their efficiency by figuring out the capacities of the Power Stage. They work for computerizing the key or fundamental business processes with Power Mechanize. This is worried about playing out the key information investigation with Power BI, acting all the more really through making straightforward and non-complex Power Applications encounters. The up-and-comers are additionally liable for making strong chatbots by utilizing Virtual Power Specialists. Subsequent to passing the Microsoft Power Stage Basics (Microsoft PL-900 Exam Dumps) Test, the competitors may be qualified for the Pro school credit.

Best Exam Offer: https://dumpsarena.com/microsoft-dumps/pl-900/

Microsoft Power Stage Essentials Practice Questions
The most great sign of **PL-900 Exam Dumps** practice test questions addresses is that they have been arranged by the Microsoft business specialists who have profound openness of the genuine Microsoft Affirmed Power Stage Basics test prerequisites. Our specialists are additionally acquainted with the Microsoft Power Stage Basics test takers' necessities.

Microsoft PL-900 Exam Dumps Microsoft Test Dumps
When you complete the essential groundwork for Microsoft Power Stage Basics test, you really want to change the Microsoft prospectus and ensure that you can answer genuine **PL-900 Dumps** test questions. For that reason, We offers you a progression of Microsoft Guaranteed Power Stage Essentials practice tests that are conceived on the example of the genuine test.
How do I Troubleshoot Error Code 6069 in QuickBooks
Tags: quickbooks, quickbookserror6069, troubleshoot, quickbookserrorhelp
Published: 2023-05-24 07:41:29

## **How do I Troubleshoot Error Code 6069 in QuickBooks?**

QuickBooks Error 6069 is a common issue that occurs when opening or working with your QuickBooks company file. Here, Follow the steps for [QuickBooks Error 6069](https://www.conectier.com/blog/quickbooks-error-6069/)

**Update QuickBooks:** Make sure you are using the latest version of QuickBooks. Go to the Help menu and select "Update QuickBooks." Follow the prompts to install any available updates.

**Run the QuickBooks File Doctor:** QuickBooks File Doctor is a tool provided by Intuit to diagnose and resolve common company file issues. You can download and run this tool from the official QuickBooks support website.

**Verify company file Permissions:** Ensure that your user account has the necessary permissions to access and modify the QuickBooks company file. Check the security settings and adjust them as needed.

**Restart your Computer:** Sometimes, a simple restart can help resolve temporary issues or conflicts.

**Temporarily Disable Antivirus and Firewall** 

Antivirus or firewall software may be blocking QuickBooks from functioning properly. Temporarily disable them and check if the error persists. If disabling the software resolves the issue, consult the software's documentation or contact the manufacturer for guidance on configuring the settings to work with QuickBooks.

**Use the QuickBooks Install Diagnostic Tool**

The QuickBooks Install Diagnostic Tool can help diagnose and fix issues related to QuickBooks installation. Download and run the tool from the official QuickBooks support website.

**Repair QuickBooks Installation**

If the error persists, you can try repairing your QuickBooks installation. Go to the Control Panel on your computer, navigate to Programs > Programs and Features, find QuickBooks in the list, and select the option to repair or uninstall/repair. Follow the prompts to repair the installation.

**Seek Assistance from QuickBooks Support**

If the above steps do not resolve the error, it is recommended to contact QuickBooks support directly. They have specialized support agents who can provide further guidance and assistance based on the specific error code or message you are encountering.
Generics and Functional Interfaces - A practical example
Tags: java, generic, programming
Published: 2023-05-24 06:29:02

Problem Statement: 
1. On an multi-threaded environment a record shall be created in the database by one thread and another thread may be interested to fetch the record. Due to the multi threading nature, the second thread may need to wait or retry couple of times before getting hold of the record. 
2. After performing an action in remoete web service, we might need to poll the service for the updated status. (though this is inefficient than using the message or event based communication). 

Both of the above problem statements have a common theme of "getting the latest data by polling". A simple implementation would be put an for loop for the number of retries to fetch the data. if the data is fetched, the value is immediately returned. 

```java
@SneakyThrows
public Optional<Employee> getRecord(Long id){
   for(int i=0; i< 10; i++){
      Optional<Employee> emp = employeeRepository.findById(id);
      if(emp.isPresent()) return emp;
      Thread.sleep(200)
   }
   return Optional.empty();
}
```

Let us consider the scenario, where we would need to write the similar code block to retrieve the data from an external web serivces, a similar implementation needs to be written as well. 

The above-retry logic can be implemented using Generics and functional interfaces as below. 

**Generic function**

```java
public class Utils{
 @SneakyThrows
    public static <T> Optional<T> getWithRetry( Supplier<Optional<T>> supplier, int retry){
        for(int i=0; i < retry; i++){
            Optional<T> data = supplier.get();
            if(data.isPresent())
                return data;
            Thread.sleep(200);
        }
        return Optional.empty();
    }
}
```

**Invoking the function**
```java
public Optional<Employee> getRecord(Long id){
   return Utils.getWithRetry(
        () -> employeeRepository.findById(id)
        , 10);
}
```

Other data fetching functions can be defined as Supplier interfaces or lambda expressions and invoked using the 'getWithRetry' function. By implementing the Generic function, the retry logic can be reused across as needed.
How to Reset QuickBooks Password
Tags: quicbooks, quickbookspassword, resetpassword, qbpassword
Published: 2023-05-24 07:32:05


Worried about how to Reset QuickBooks Password? QuickBooks is an accounting software developed and marketed by Intuit. It is designed to help small and medium-sized businesses manage their finances, track income and expenses, create and send invoices, manage payroll, and perform various other accounting tasks. Here, you can get the solution to [Reset QuickBooks Admin Password](https://www.conectier.com/blog/how-to-crack-quickbooks-admin-password/).

## **To Reset your QuickBooks password, follow these steps:**

1. Go to the QuickBooks login page on your computer or device.

2. Click on the "I forgot my password" link or a similar option. This will take you to the password reset page.

3. Enter the email address associated with your QuickBooks account and click on the "Continue" button.

4. QuickBooks will send you an email with instructions on how to reset your password. Check your email inbox, including the spam or junk folder, for this email.

5. Open the email from QuickBooks and click on the password reset link provided. This will take you to a new page where you can enter a new password.

6. Choose a strong and unique password for your QuickBooks account. Make sure to follow any requirements or guidelines mentioned on the password reset page.

7. After entering your new password, click on the "Save" or "Reset Password" button to confirm the changes.

8. You should see a confirmation message indicating that your password has been successfully reset.

9. Return to the QuickBooks login page and sign in using your newly reset password.
Error on build in vue project
Tags: vue, npm
Published: 2023-05-24 07:25:03

>ERROR in static20230207/js/message.js from UglifyJs
SyntaxError: Unexpected token: name (Vue) [./src/module/message/message.js:1,7]  

I have a vue 1 project. I meet the above error as running `npm run build`.  My current node-sass version is ^4.12.0 and node.js version is 18.15.0.  
I have searched many information on web and try to resolve it. I created the .babelrc file and this was the content.  
```
{
    "presets": [
        ["env", {
         "modules": false ,
         "targets": {
           "browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
          }
        }],
        "stage-2"
    ],
    "plugins": ["transform-runtime"],
    "comments": false,
    "env": {
        "test": {
            "presets": ["env", "stage-2"],
            "plugins": ["istanbul"]
        }
    }
}
```
I also added some configuration in the module node of `webpack.base.conf.js`.  
```
rules: [
   { test :/\.js$/, use :'babel-loader',  exclude:/node_modules/ }
]
```
But it isn't work. There are the same errors when I build the project. Please someone help me!
✨Uk88- Cổng Game Cá Cược Hàng Đầu Châu Á
Tags: uk88, uk88ltd, livecasinouk88, linknhacai
Published: 2023-05-24 07:23:31

✨Uk88- Cổng Game Cá Cược Hàng Đầu Châu Á
✨Cung cấp thông tin cá cược nhanh chính xác nhất 
✨Bảo mật cao-uy tín-trải nghiệm tuyệt vời
✨UK88 cập nhật chương trình khuyến mãi giá trị lớn
✨Đa dạng game cá cược-giao dịch nhanh chóng
👇chi tiết👇
🌐wed: https://uk88.ltd/gioi-thieu-uk88/
🌐Fanpage: https://www.facebook.com/uk88tld
📧Email: uk88ltd@gmail.com
📱SĐT: 0562238571
📌Địa chỉ: 90 Ng. Quỳnh, Thanh Nhàn, Hai Bà Trưng, Hà Nội, Việt Nam
#uk88 #uk88ltd #nhacaiuk88 #livecasinouk88 #link_nhà_cái #link_khuyến_mãi #uk88_uy_tin #nhaccaicacuoc #uk88capnhatthongtin #nhà_cái_chính_thức
FPUTCSV Custom Function
Tags: php, fputcsv
Published: 2023-05-24 07:10:12

**Requirements**
Values Surrounded by Double Quotes Always.
Escape Character is **"**
**CR+LF** is the newline


```
function fputcsv_custom($stream, $fields, $delimiter = ",", $enclosure = '"', $escape_char = '\"', $eol = "\r\n") {
    $field_arr = [];

    foreach($fields as $field) {
        $field_arr[] = $enclosure . stripslashes(str_replace($enclosure, $escape_char . $enclosure, $field)) . $enclosure;
    }

    fwrite($stream, implode($delimiter, $field_arr) . $eol);
}
```

Ref: https://stackoverflow.com/questions/16942531/alternative-to-fputcsv/66682050#66682050
Cryptography in Blockchain 🤑 | Asymmetric Key Cryptography & Hashing 🚀🚀 | Part-3
Tags: blockchain, javascript, tutorial, web3
Published: 2023-05-24 07:10:08

Hi, 👋 This blog contain the PPT slides of my YouTube video series
Cryptography in Blockchain 🚀 on Asymmetric Key Cryptography & Hashing  🚀🚀 🌐.


![What is Asymmetric Cryptography?](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nmoep4iuxsnx5mxjsbjq.png)


![Examples](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d5d7sss02tmhxxv4wr1k.png)


![RSA](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ln08bqvfgzj31g5lgr4p.png)


![DSA](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kappoio2yyf991mt59b9.png)


![DSA - Workflow](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ye70zi1n1dh7k7104qd7.png)


![Hashing](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4hld7dn8w58lbzmm5rc5.png)


![Hashing - Workflow](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2st7qrz7jko3u49ilth1.png)


![Application of Hashing](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vck94c5zkpb1spldak4p.png)


![Types Of Hashing algorithms](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/89e5r3lgfrisbf2knz7v.png)


![Hashing Workflow SHA-256](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wiadbxiwzlnn6aucnaky.png)


![Akshay kurhekar](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/83xjsfsar1cpu2vxmk8s.png)
How to use CSS variables to create dynamic themes
Tags: webdev, css, html, devops
Published: 2023-05-24 07:08:53

CSS variables, also known as custom properties, are a powerful feature that allows you to define and reuse values in your stylesheets. You can use them to create dynamic themes that can be changed with a single line of code.

To use CSS variables, you need to declare them using the `--` syntax and assign them a value. For example:

```CSS
:root {
    --primary-color: #f0f;
    --secondary-color: #0ff;
    --background-color: #fff;
    }
```

This creates three variables that can be used anywhere in your stylesheet. To use them, you need to reference them using the `var()` function. For example:

```HTML
h1 {
    color: var(--primary-color);
    }

p {
    color: var(--secondary-color);
    }

body {
    background-color: var(--background-color);
    }
```

This will apply the colors defined by the variables to the elements. To change the theme, you just need to change the values of the variables. For example:

```CSS
:root {
    --primary-color: #f00;
    --secondary-color: #0f0;
    --background-color: #000;
    }
```

This will change the colors of the elements without changing any other code. You can also use CSS variables to create custom properties that can be used for other purposes, such as animations, calculations, or media queries.

CSS variables are a great way to create dynamic and flexible themes for your web projects. Try them out and see what you can create!

---

**_NOTE:_** If you found this helpful. Like and share. Thanks, Happy Learning!

### Let's connect 💜

You can follow me on [Twitter](https://twitter.com/MrDanishSaleem), [Instagram](https://www.instagram.com/mrdanishsaleem/), [LinkedIn](https://www.linkedin.com/in/mrdanishsaleem/) & [GitHub](https://github.com/mrdanishsaleem/)

### Support Me

If you like this post. Kindly support me by [Buying Me a Coffee](https://www.buymeacoffee.com/mrdanishsaleem)
내가 팀프로젝트에서 사용한 Git
Tags: beginners, github
Published: 2023-05-24 07:06:48

### Github Flow

1. 다른 사람이 같은 이슈를 작업하고 있진 않는지 확인하기
2. 그렇지 않다면, 깃랩에서 이슈 생성 및 feature 브랜치를 생성하기
    1. 하루 단위로 작업할 수 있는 feature 브랜치를 만들어주세요 
    2. 이슈 생성시, label을 명확히 분간하여 달아주세요
3. 일 하기 
    
    ```
    $ git add . && git commit
    ```
    
4. 최신 업데이트 하기
    
    ```
    $ git pull --rebase origin develop
    ```
    
5. 깃랩에 푸시하기
    
    ```
    $ git push origin feature-sth
    ```
    

### FAQ

Q. Error: Updates were rejected because the tip of your current branch is behind

- 깃랩에 있는 feature 브랜치를 삭제하고 다시 푸시하세요

```
$ git push -d origin feature-sth && git push origin feature-sth
```

Q. 작업하던 feature 브랜치를 업데이트 하는 방법은?

- develop 브랜치를 바탕으로 업데이트 합니다

```
$ git pull --rebase origin develop 
```

Q. 집 노트북으로 작업하던 것을 외부 노트북으로 연이어 작업하는 방법은?

- 내 로컬 feature 브랜치를 깃랩 feature 브랜치로 업데이트 합니다

```
$ git pull --rebase origin feature-sth
```

Q. merge 가 안됩니다

- merge는 오직 maintainers만 할 수 있습니다. maintainers 에게 말해주세요

Q. rebase 할때, conflict 났습니다. 

- 철회하고 maintainers 을 불러주세요

```
$ git rebase --abort
```

### Reference

[GitHub Flow](https://scottchacon.com/2011/08/31/github-flow.html)
TS - 如何跳出 forEach 迴圈
Tags: typescript
Published: 2023-05-24 07:04:25

<u>**紀錄 Typescript  `forEach` 如何跳出迴圈**</u>

C# 寫習慣之後要寫 TS 有些不習慣，在 TS `forEach` 中是不能使用 break 或 continue，只能使用 return，這對要從迴圈中跳出有些不便，先來看使用 return 跳出迴圈的結果

**跳出單次迴圈**

```TS
const arr1 = [1, 2, 3]

arr1.forEach(val => {
    if (val === 2) return

    console.log(val)
})

// output
// 1
// 3
```

當迴圈符合條件時會執行 return，以結束此次迴圈，return 之後的程式碼不執行，但是此次之後的迴圈依然會繼續執行

**跳出整個迴圈**

若要直接結束掉整個迴圈需要利用 `try catch` 來攔截例外狀況，並且擲回例外

```TS
try {
    arr1.forEach(val => {
        if (val === 2)
            throw new Error()
            
        console.log(val)
    })
} catch (err) {
    console.log("err:" + err)
}

// output
// 1
// err:Error
```

使用 `try catch` 包住迴圈，當迴圈內符合條件時會扔出例外，使用 `catch` 來攔截例外，觀察輸出發現迴圈已被中止，成功跳出整個迴圈，扔出例外後，後續迴圈皆不會執行

**What about nested loops ?**

先使用 return 觀察，用一個變數紀錄迴圈次數，每迭代一次就加一

```TS
const arr1 = [1, 2, 3]
const arr2 = [2, 4, 6]

let num = 0;

arr1.forEach(v1 => {
    arr2.forEach(v2 => {
        num++
        if (v1 === v2) return

        console.log(num)
    })
})

// output
// 1
// 2
// 3
// 5
// 6
// 7
// 8
// 9
```

結果跟第一種情況情形一樣，迭代到第四次時，因符合條件所以該次迴圈跳出，之後無論內外層迭代還是會繼續執行

這次使用 `try catch` 包住內層迴圈，並將 return 替換成擲出例外狀況，當迭代到第四次時，我們攔截到例外，且內層後續的迭代被中止，但外層迴圈會持續執行

```TS
let num1 = 0;
let num2 = 0;

arr1.forEach(v1 => {
    console.log("num1:" + ++num1)
    try {
        arr2.forEach(v2 => {
            num2++
            if (v1 === v2)
                throw new Error() // 結束內層迴圈

            console.log("  num2:" + num2)
        })
    } catch (err) {
        console.log("  err:" + err)
    }
})

// output
// num1:1
//   num2:1
//   num2:2
//   num2:3
// num1:2
//   err:Error
// num1:3
//   num2:5
//   num2:6
//   num2:7
```

**所以要如何才能結束整個巢狀迴圈？**

很簡單，只要把 `try catch` 移到外面包住外層迴圈，這樣當內層迴圈擲出例外後，整個巢狀迴圈就會被中止

```TS
try {
    arr1.forEach(v1 => {
        console.log("num1:" + ++num1)

        arr2.forEach(v2 => {
            num2++
            if (v1 === v2)
                throw new Error()

            console.log("  num2:" + num2)
        })
    })
} catch (err) {
    console.log("  err:" + err)
}

// output
// num1:1
//   num2:1
//   num2:2
//   num2:3
// num1:2
//   err:Error
```

有個但書！雖然使用 `try catch` 可以攔截例外是一種中止迴圈的手段，當迴圈過大時，被 `try catch` 包覆住的迴圈將無法避免性能下降。所以，若有必要中止 `forEach` 執行，應該要使用其他語法來替代，因為上述的 `try catch` 絕對不是最佳解答

**<u>下篇會記錄如何使用其他語法來取代使用攔截例外中止迴圈的方法</u>**

---

Thanks for reading the article :tulip: :sunflower: :blossom:

If you like it, please don't hesitate to click heart button :heart:
or follow my [GitHub](https://github.com/FakeStandard) :star:
or buy me a coffee :arrow_down: I'd appreciate it.

[![Buy-me-a-coffee][1]][2]

[1]: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h077sxd0vx1hix4t7lw8.png
[2]: https://www.buymeacoffee.com/FakeStandard
Unlock Your Potential: Microsoft AI-102 Questions Dumps for Success
Tags: ed, webdev
Published: 2023-05-24 07:01:25

Avoid the hassle of monthly fess 

While everything is free at Dumpsboss, we know some of you just want more! We do n’t run a subscription chatter then! All you need is a simple payment of$29.99 a time of decoration access. What’s included? 

Microsoft has created a track for Azure professionals dissect the conditions for AI results, recommend applicable tools and technologies, and tools results that meet scalability and performance conditions, to get <a href="https://dumpsboss.com/microsoft-exam/ai-102/">AI-102 Questions</a> certified this platform. Result engineers restate the vision and work with data scientists, data masterminds, IoT specialists, and AI inventors to make complete end- to- end results. The assessment is grounded on a rigorous test using assiduity standard methodology to determine whether a seeker meets Microsoft’s proficiency norms. 

This instrument been actually designed for applicants design and apply AI apps and agents that use Microsoft Azure Cognitive Services. For this test seeker having proficiency in using cognitive service APIs to meet business conditions, applicable AI models and services, robotization conditions, data sequestration and protection, bot state data, cognitive service affair would be an added advantage. 

Discount Offer 66-96% Waiting for You >>>>>>https://dumpsboss.com/microsoft-exam/ai-102/

0. http://forums.magicengine.com/en/viewtopic.php?p=32262#32262

1. https://www.customers.com/forum/get-questions-ready-microsoft-ai-102-questions-dumps-you-can-trust/

2. https://commiss.io/listings/22WB

3. https://ungl.org/forums/1/30499

4. http://www.wse-scylla.at/cms/index.php?option=com_joomlaboard&Itemid=55&func=view&catid=6&id=1457207#1457207

5. https://emorze.pl/eforum/viewtopic.php?p=476596#476596
Brilliant Programmer vs. Excellent Communicator: Which Coding Mentor Would You Choose?
Tags: discuss, beginners, codenewbie
Published: 2023-05-24 07:00:00

Choosing a coding mentor is a crucial decision for any aspiring programmer. What if you had to make a trade-off between a mentor who possesses exceptional programming skills but struggles with communication and a mentor who excels in conveying ideas but has average programming abilities? It's a dilemma many experienced coders have faced. 

Which type of mentor would you prefer and why? 

Follow the [CodeNewbie Org](https://dev.to/codenewbieteam) and [#codenewbie](https://dev.to/t/codenewbie) for more discussions and online camaraderie!

*{% embed* [https://dev.to/codenewbieteam](https://dev.to/codenewbieteam) *%}*
Who Are the Key Collaborators Supporting Coders in Your Organization?
Tags: discuss
Published: 2023-05-24 07:00:00

Coders rely on collaboration and assistance from various individuals within their organization to succeed. These key collaborators contribute to their productivity and the quality of their work. 

So who supports coders in getting their job done at your organization? After this enlightening discussion, you'll have a clear list of who deserves that extra-large cup of coffee, a box of donuts, and maybe even a "World's Best Collaborator" trophy! Time to give kudos and caffeinate those who support your coding adventures.

Follow the DEVteam for more discussions and online camaraderie!

{% embed [https://dev.to/devteam](https://dev.to/devteam) %}

[Image by pch.vector on Freepik](https://www.freepik.com/author/pch-vector)