teleren/devto huggingface dataset:
What you can do when a project is stuck ?
Published: 2023-09-20 14:33:12



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

We’ve all seen projects that are stuck at a particular stage, failing to progress or move forward. Maybe the team can't seem to get decisions, has 'paralysis by analysis' of options, the business case can't get past gateways, or there are unresolved issues between stakeholders or teams holding up critical delivery actions.

The initiative might be a fabulous idea conceptually, but you just don't seem to be able to get traction to move it along.

Therefore, a stuck project is like a “Nightmare” for any Project Manager and the Organization. If you are feeling “stuck” on a project and are having a hard time figuring out your next step, try the solutions listed below:

- _**Take a break.**_ Sometimes the best way to get unstuck is to simply step away from the project for a while. Go for a walk, listen to music, or do something else that you enjoy. When you come back to the project, you may be able to approach it with fresh eyes.

- _**Break the project down into smaller tasks.**_ If the project is overwhelming, try breaking it down into smaller, more manageable tasks. This will make it seem less daunting and help you to make progress.

- **_Talk to someone._** If you're still stuck, talking to someone else can be helpful. This could be a colleague, manager, friend, or family member. Sometimes just talking about the problem can help you to see it from a different perspective and come up with a solution.

- _**Do some research.**_ If you're stuck on a particular aspect of the project, try doing some research to see if you can find a solution. There are many resources available online and in libraries.

- _**Ask for help.**_ If you've tried all of the above and you're still stuck, don't be afraid to ask for help. This could be from a colleague, manager, or someone else with expertise in the area you're working on.


_**Believe in yourself, everything is gonna be fine**_
Web App Development - The beginnings
Tags: beginners, help, webdev, codenewbie
Published: 2023-09-20 14:32:43

Hi all,

I know this is going to sound very vague and probably hard to commit to an answer or constructively offer any sort of input, but here goes.

I am looking to get into more in-depth web development with limited coding knowledge.

I have worked with MS SQL, Postgres SQL, basic HTML and CSS.

I'm trying to find the best platform to build a sort of business management system however my network of development-minded persons is limited or at least ones who are willing to discuss and have conversations.

I have been looking at React but don't know if in general opinion this is the most relevant option.

Hopefully, this will spark a conversation.
AntDB-Oracle Compatibility Developer's Manual P3–76
Published: 2023-09-20 14:32:14

##### IN

The operator IN on the right side is a subquery in parentheses, and this subquery must return the contents of only one column. We compute the expression on the left side of the operator and compare it with each row in the subquery result. If a record is found that matches the one in the subquery, then the result of the IN operation is "true". If there are no equal rows (including specific cases like subqueries that return no rows) then the result is "false".

expression IN (subquery)

Note that if the expression on the left side of the operator produces a null value, or if there are no equal rows in the table on the right side of the operator, and at least one of the rows returned by the subquery on the right side produces a null value, then the result of the IN construct will be null, not "false". This is consistent with the general SQL rule for combining null values with Boolean variables.

As with EXISTS, it is not wise to assume that the subquery will complete the query for all rows involved.
VSCode Fetching Extensions xhr failed Çözümü
Tags: vscode, extensions, solution
Published: 2023-09-20 11:35:53

Bu yazıda VS Code ortamında eklenti eklemeye çalışırken ortaya çıkan **xhr failed** hatasının çözümünü anlatacağım.

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

VS Code "Eklentiler yüklenirken hata oluştu. XHR başarısız oldu" hatası, internet bağlantınızda, proxy veya güvenlik duvarı sorunlarınız olduğunda meydana gelir. İnternette birden çok çözümü olmasına rağmen benim için çözüm olan yolu sizlerle paylaşacağım. Öncelikle basit olan ve geçici olarak kullanacağınız çözümü açıklayarak başlayacağım:

## 1- "--ignore-certificate-errors" Seçeneği Kullanılarak
Öncelikle VS Code'u kapatalım. Aşağıdaki komutu terminalinizden çalıştırın (CMD veya bash).

```
code --ignore-certificate-errors
```

Eğer halihazırda olduğunuz dizide VS Code'u açmak istiyorsanız aşağıdaki komutu da kullanabilirsiniz.

 ```
code . --ignore-certificate-errors

 ```

Bu komutları terminale girdikten sonra VS Code otomatik olarak başlatılacaktır bu yolu izleyerek uzantılarınızı ekleyebilirsiniz. (Uygulama kapatıldıktan sonra eğer aynı şekilde açmazsanız hatayı almaya devam edeceksiniz, bu geçici bir çözümdür)

## 2- Chrome üzerinden manuel sertifika eklemek
Bu yol ise kalıcı bir çözüm sağlayacaktır ve VS Code normal bir şekilde başlatıldığında eklenti hatası almamanızı sağlayacaktır. Sorunun kaynağından ufak bir şekilde bahsetmek gerekirse VS Code Chromium tabanlı olduğu için proxy ayarlarının Google Chrome/Chromium'dan otomatik olarak alınması gerektiği belirtilmiştir. Bu yüzden eğer siz manuel bir şekilde imzalı sertifikayı yüklerseniz, problem yüksek ihtimalle çözülecektir. Sertifika yüklemek için şu adımları izleyebilirsiniz:
1. `chrome://settings/privacy` uzantısına gidin
2. Privacy and security kısmına gidin
3. Aşağı kaydırıp 'Manage device certificates' kısmına tıklayın
4. Authorities'e gelin ve sertifikanızı seçerek yükleyin 
5. VS Code uygulamasını tekrardan çalıştırın.

Bu yolları izleyerek sertifikanızı sorunsuz bir şekilde yükleyip, VS Code üzerinde eklentilerinizi kurabilirsiniz.
5 Ways to Cut AWS Costs You Didn't Know About
Tags: aws, cloud, devops, productivity
Published: 2023-09-20 14:29:41

[Download free eBook](https://getstrake.com/5-ways-to-cut-aws-costs)

If you’re an Amazon Web Services (AWS) customer, you’re probably in this repeating cycle of spiraling cost pain..

The bill comes in over budget every month.

The engineering team can’t answer “Why”?

And then you’re left searching for answers.

If this is you, you’re not alone, and it's not your fault.

There are entire categories of hidden costs in AWS’ billing data. Charges like Data Transfer, “EC2-Other”, and API activity are notoriously difficult to isolate and understand.

Strake’s platform was purpose built to solve this problem, leaving you with lower, more predictable, cloud costs.

Strake helps engineering teams identify and eliminate waste. That means tying every charge back to the resources that caused them and identifying exactly what they are paying for.

As an example of how our platform works, we documented some examples of Strake customers defeating these hidden costs in our new eBook: 5 Ways to Cut AWS Costs You Didn’t Know About.

Each chapter addresses a unique AWS billing issue with annual savings over $100,000:

– The Hidden EC2 Data Transfer Tax
– The NAT Gateway Processing Multiplier
– The S3 Request Flood
– The CloudWatch Rolex Watch
– The RedShift Data Hoarders

Take a look at this eBook and let us know about the hidden costs you'd like to see defeated next!

[Download free eBook](https://getstrake.com/5-ways-to-cut-aws-costs)

![cover page for "5 ways to cut AWS costs you didn't know about" eBook](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uaehqf3wmrglwc564d4m.jpg)
The Whispering Trees: How Callbacks Work in JavaScript Forest
Tags: javascript, typescript, react, beginners
Published: 2023-09-20 14:20:07

In the enchanted world of JavaScript Forest, trees have a unique ability: they can whisper messages to each other. These whispers form the basis for what we in the human realm call "callbacks." Let's delve into how these callbacks weave their magic.

## 🌳 **The Whisper of Nature: What Are Callbacks?**

In simple terms, a callback is a function that is to be executed after another function has finished running. It’s like telling a tree, “Hey, let me know when you've grown a new branch, and then I’ll build a treehouse.”

```jsx
function growBranch(callback) {
  // ...growing
  callback();
}

```

## 🌿 **Sending the Whispers: Passing Callbacks**

Any tree can send a whisper to another, which will only be heard once a certain event occurs. When you pass a function as an argument, you're essentially whispering instructions that will be enacted later on.

```jsx
function whisper(message, callback) {
  console.log(message);
  callback();
}

whisper("A storm is coming!", function() {
  console.log("Tell all the animals to seek shelter.");
});

```

## 🌲 **Gathering of the Elders: Callbacks in Built-in Functions**

JavaScript Forest has wise old trees that already know many whispers (built-in functions). These elders make life easier for the young saplings.

```jsx
let leaves = [1, 2, 3, 4, 5];

leaves.forEach(function(leaf) {
  console.log(`A leaf has fallen: ${leaf}`);
});

```

## 🌱 **Beware the Confusing Vines: Callback Hell**

Callbacks can become confusing when trees start whispering to multiple others, waiting for each to respond before taking action. This complexity is known as "Callback Hell" in the coding realm.

```jsx
firstTask(function() {
  secondTask(function() {
    thirdTask(function() {
      // Callback Hell!
    });
  });
});

```

## 🌕 **Lunar Rituals: Asynchronous Callbacks**

In the realm of JavaScript, whispers can be heard even under the moonlight. This phenomenon is known as "Asynchronous Callbacks."

```jsx
setTimeout(function() {
  console.log("The full moon rises.");
}, 3000);

```

## 📚 **Further Exploration**

For those who wish to expand their understanding of Callbacks, you might want to pay a visit to the [MDN Callback Function Documentation](https://developer.mozilla.org/en-US/docs/Glossary/Callback_function).

## 🌟 **Whisperer’s Quests: Test Your Skills**

1. Create a callback function that will alert you when a tree has grown a new branch.
2. Use callbacks to create a sequence of whispers among trees. Make sure each whisper happens only after the previous whisper was heard.
3. Incorporate a callback into an array method, like `map` or `filter`.

## **Conclusion**

Callbacks are like whispers among trees — essential for communication, vital for responsiveness. They come with their own set of challenges, but mastering them is a rite of passage for any sorcerer of code.

---

May this installment guide you through the enchanted forest of JavaScript Callbacks, unlocking new spells and potent rituals in your journey.
Spring Boot REST Basics : Create Custom Exceptions with @ControllerAdvice annotation
Tags: springboot, beginners, restapi, webdev
Published: 2023-09-20 14:03:34

## Overview
In this post, I will share my experience in creating custom exceptions with `@ControllerAdvice` annotation.

### Prerequisites
- Basic Spring boot knowledge
- Basic REST API / Web Dev knowledge

### Custom Exceptions
In Java, we can create our own type of exception that is tailored to our business logic. Custom exceptions give us the flexibility to add more information to our exceptions and to handle errors in a different way.

### ControllerAdvice annotation
The `@ControllerAdvice` is an annotation that allows us to handle exceptions globally in one file. So we can just create one class and define the actions or methods that will be triggered every time an exception is thrown.

## Let's get started
In this example, I want to create a custom exception that will handle login errors and return a `401 Unauthorized Error` HTTP response to the client.


### 1. Create your own custom exception
In creating your own custom exception, you have to make sure that your custom exception class is a child of `Exception` class (checked) or `RuntimeException` class (unchecked).

I created my own custom exception called `CustomInvalidLoginException.java` and extend the `RuntimeException` class.

```
public class CustomInvalidLoginException extends RuntimeException {
    public CustomInvalidLoginException() {
        super("INVALID LOGIN");
    }

    public CustomInvalidLoginException(String message) {
        super(message);
    }
}
```


### 2. Create your own global exception handler
In my project, I created a class called `GlobalExceptionHandler.java` and annotate it with `@ControllerAdvice` to let Spring boot know this is a global exception handler class. 

Inside the class, I created a method that will handle the invalid login exception and annotate it with `@ExceptionHandler(CustomInvalidLoginException.class)`.

```
@ControllerAdvice
public class GlobalExceptionHandler {
    @ExceptionHandler(CustomInvalidLoginException.class)
    public ResponseEntity<Object> handleInvalidLogin() {
        return new ResponseEntity<>("INVALID LOGIN", new HttpHeaders(), HttpStatus.UNAUTHORIZED);
    }
}
```
For this exception, I will just return `401 HTTP status` to the user.

### 3. Test
Lastly, all you need to do is throw the custom error in your business logic.

```
...
else {
     throw new CustomInvalidLoginException();
}
...
```

## Conclusion
Spring boot makes it easier for us to manage exceptions just by using these annotations: `@ControllerAdvice` and `@ExceptionHandler`. In my opinion, this improves the readability and maintainability of your application because you can handle your exceptions in just one file!
Laravel 10 Add Digital Signature in PDF Example Tutorial
Published: 2023-09-20 14:13:29

## Laravel 10 Add Digital Signature in PDF Example Tutorial

Adding a digital signature to a PDF in Laravel can be done in several steps:

- Create a Laravel project.
- Install the TCPDF library.
- Configure the package.
- Create a new route.
- Create a new controller class and method.
- Create a blade view.
- Generate the PDF file.

You can use the elibyy/tcpdf-laravel package to add a digital signature certificate in PDFs in Laravel 10. TCPDF is an open-source PHP library that supports UTF-8 Unicode and right-to-left languages.

Electronic signatures are legal and binding. The E-Sign Act states that electronic signatures shouldn't be considered invalid simply because they're electronic.

Read More [Laravel 10 Add Digital Signature in PDF Example Tutorial](https://www.tutsmake.com/laravel-10-digital-signature-pdf-tutorial/)
How to implement Navigation in an iOS app [SwiftUI NavigationStack]
Published: 2023-09-20 14:10:19

---
title: How to implement Navigation in an iOS app [SwiftUI NavigationStack]
tags: ios, swift, swiftui, programming, mobileapp
published: true
description: How to support dark mode in an iOS app [SwiftUI]
tags: 
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-09-20 14:02 +0000
---

Hi friends, In this video I explored SwiftUI's Navigation Stack and how to implement Navigation in an iOS with it. Have fun learning! 

If you have any questions, leave a comment here or on Youtube.

Cheers!

{% youtube j7l48K7fjz4 %}
#8 Introduction To Fragment in Android App | Android Tutorial | #SoftwareTechIT
Tags: android, development, programming, beginners
Published: 2023-09-20 13:33:00

{% embed https://www.youtube.com/watch?v=CMLuStm1CIU&list=PLmwJLue37PZfiGUAwQ6uhh5bbYkeFUOpj&index=8&ab_channel=SoftwareTechIT %}
Subscribe Channel SoftwareTechIT 
And Visit:- https://SoftwareTechIT.com
More Here:- https://home.softwaretechit.com
Buy Anything From Here :-https://shop.softwaretechit.com

Questions:- 
what is fragment in android ?
what is fragment in android with example
What is another meaning of fragment?
How do you use fragment in a sentence?
What is a sentence fragment definition?
What are small fragments?
why we use fragment in android
why we need fragmentation
why we use fragments
why we use fragment instead of activity
Why We Use fragment?
how to create fragment in android
how to create fragment in android kotlin

Download Our App:- https://play.google.com/store/apps/details?id=com.softwaretechit
Read More Here :- https://softwaretechit.com/top-10-quetions-on-ai-and-chatgpt-ai-tool-can-ai-is-new-future-of-world/
https://softwaretechit.com/what-is-chatgpt-develope-chatgpt-11-things-you-can-do-with-chatgpt/
Watch Other Video:-https://youtube.com/shorts/7MmZi6GHizM?feature=share
🌎 Website :- https://softwaretechit.com
📰 Blog:- https://blog.softwaretechit.com
🛒 Shopping :- https://shop.softwaretechit.com 
📑 Product Review :- https://productsellermarket.softwaretechit.com
🔎 Business & More:- https://golbar.net/
🏡 https://home.softwaretechit.com

💬 https://instagram.com/softwaretechit

LeetCode Playlist :- https://www.youtube.com/playlist?list=PLmwJLue37PZeATQcUaHddx4-TJ5cjkT0t
Angular Project Playlist :- https://www.youtube.com/playlist?list=PLmwJLue37PZfQTgu-AXNee3EDj7oIlqeh
Android Playlist :-https://www.youtube.com/playlist?list=PLmwJLue37PZcEUyMLhaa3jnfyq3lETiSe
Python Flask Project Playlist :- https://www.youtube.com/playlist?list=PLmwJLue37PZdqqr9wj6c5uY2iXQsSVxZK
Java Project Link :- https://www.youtube.com/playlist?list=PLmwJLue37PZcvpGWO8tjlFzXCRS7FDfwA
Installation Tutorial Playlist :- https://www.youtube.com/playlist?list=PLmwJLue37PZeRGo1hOc3Mh4QcHVSIKQ9Y
Kali Linux Installation:- https://youtu.be/7uqH2om9itY
How to run Adobe Flash content in 2023?
Published: 2023-09-20 13:30:34

Adobe Flash was discontinued in 2020, but I still stumble upon websites with contains content in Adobe Flash.

## So is there a hack around for this?

I tried this approach. Try these steps to run any flash media

1. Open Mozila Firefox.
2. Go to the website which has the flash media content.
3. Right-click on the page and select View Page Info
4. Under Media Tab select the file with .swf type and save it.
5. Download Cleanflash from [here](https://dl.dropboxusercontent.com/s/jxobqr9nf2uext5/CleanFlash_34.0.0.192_Installer.exe) .
6. Install it
7. You can see the Flash Player icon on desktop. Open it.
8. Cick on File -> Open and set the path of the downloaded swf file.
9. Done!!

Volla, a pretty easy hack for flash medias.
LambdaTest Releases SSH Tunnel To Let You Test Your Locally Hosted Applications
Tags: webdev, javascript, css
Published: 2023-09-20 13:26:49

LambdaTest has released its Secure Shell (SSH) tunnel feature which will allow you to test your private server URLs or locally hosted web apps or websites through LambdaTest’s cloud servers.

Through our secure shell tunneling features, you can also test HTML, CSS, PHP, Python or other similar web files saved on your local system folders, on combinations of operating systems, browsers, and screen resolutions that are available on LambdaTest.

It gives you the the flexibility of securely testing your code for cross browser and cross platform compatibility, even before it is deployed over production environment.

Our tunnel feature is supported in all the mobile and desktop browsers to let you test your local webapp on every version of mobile and desktop browser.

Tunnel feature can be used to test any:

* Webapps / Web Pages hosted on your localhost or local environment

* Webpages / apps, or HTML / CSS / JS / PHP / Python files present in local system

* Websites / Web Apps hosted on secure sandbox/development environment

* Pages hosted on secure Private Networks

* IP address with a host entry in /etc/hosts folder

* Private IP URL (e.g. URL of your staging server)

To know how you can test your locally hosted applications, you can go through the documentation [here](https://www.lambdatest.com/support/docs/testing-locally-hosted-pages/?utm_source=devto&utm_medium=organic&utm_campaign=sept_20&utm_term=bw&utm_content=support_doc).

Happy Testing!
Cloudflare Warp Team Enrollment Hacking on Ubuntu
Tags: cloudflare, zerotrust
Published: 2023-09-20 13:24:11

We use CloudFlare ZeroTrust policies extensively at Woovi to protect our applications.

[Cloudflare WARP](https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/) is a client that allows you to apply Zero Trust policies that verify that a device is secure before it connects to applications.

However, we have encountered issues when using it on Ubuntu 22.04. The system tray icon doesn't work, and the CLI cannot seamlessly integrate with the authentication page in the browser. Let's address these issues.

Firstly, to connect to WARP on Ubuntu, you need to [download](https://pkg.cloudflareclient.com/) the CLI of Warp:

```bash
# Add cloudflare gpg key
curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg

# Add this repo to your apt repositories
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list

# Install
sudo apt-get update && sudo apt-get install cloudflare-warp
```

Join your team with `warp-cli teams-enroll <your-team-name>`.

Press the button on the page that will open. If you receive a response, then everything is ok.

But if nothing happens, follow the steps below.

The challenge is to get the token from this page, which has a maximum time of 30s, and register it as quickly as possible using the following command:

```bash
warp-cli delete && warp-cli teams-enroll-token com.cloudflare.warp://woovi.cloudflareaccess.com/auth?token=<TOKEN HERE>
```

You need to dig through the page's HTML and find the token quickly.

To obtain a new token, run the team enrollment command again: `warp-cli delete && warp-cli teams-enroll <team-name>`

Inside the devtools console, you can use this script that will insert the necessary token command into your clipboard

```js
copy("warp-cli delete && warp-cli teams-enroll-token " + document.querySelector("#redirect-button").getAttribute("onclick").split("'")[1]);
```

When you get the command, go back to the terminal and quickly paste it.

Don't forget to connect to WARP:

```bash
warp-cli connect
```

---

Woovi
Woovi is a Startup that enables shoppers to pay as they like. To make this possible, Woovi provides instant payment solutions for merchants to accept orders.

If you want to work with us, we are [hiring](https://woovi.com/jobs/)!
React sees a dip in downloads on npm 📉. What's going on?
Tags: webdev, discuss, javascript, react
Published: 2023-09-20 13:18:42

> For those who don't know 😂
> React is a JavaScript library for creating user interfaces.

React is one of the most popular JavaScript libraries in the world, but it saw a dip in downloads this week. Could be a number of factors. Also, it might be something going on with npm.js as well. Who knows 🤯🤯??

Check for yourself: https://www.npmjs.com/package/react

Or maybe all the people are cooking something tasty bun, that they forgot to react? 😂

Here's an image to enjoy 👇


![Panda Reacts to See dip in downloads](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/thxqol8d04a0mul3vglu.png)