teleren/devto huggingface dataset:
Functional & Non Functional Software Testing differences and relevant example...
Published: 2023-12-18 14:43:31

## Functional Testing

Functional testing check each features of the software working fine or not based on customer requirement which in turn validates software actions

_Example:- _

Testing the software functionalities - consider any web page and do perform functional testing for that web page, we need to check every individual buttons / icons functioning properly or not and for every action there should be result ( whether redirecting to another web page (or) pulling the data from database )

**_Functional testing has below types:-_**

1) Unit Testing - Testing individual units or components of the software before it is integrated with other components.

2) Integration Testing - To test the integrated components are working together as intended and data flows smoothly between them or not, this testing is done after unit testing only.

3) Interface Testing - Testing when different software components (or) systems communicate with one another, the interfaces are API, web services, interface testing is to make sure the date exchange mechanism between them working fine or not.

4) Regression Testing - Testing the software to verify the newly added components are not making any changes / defects and also to make sure the existing functionalities working fine or not.

5) User Acceptance Testing - User does this testing to make sure it is acceptable by them before the project goes live.


## Non Functional Testing

Non functional testing is to validate the performance, reliability of the software based on customer expectation

_Example:-_ 

Consider any web page and to perform non functional testing need to test their speed, responsiveness, reliability and security of the software.

**_Non Functional Testing has below types:-_**

1) Documentation Testing - does document review / document validation, the document could be SRS, CRS/ design doc/ user manuals, this testing will be performed through out the software development lifecycle to ensure the software document accurately reflects the software functionalities & user instructions.

2) Installation Testing - This testing is to verify Installation and Uninstallation of the software is error free, this will check the software compatibility with different platforms.

3) Performance Testing - This testing is to verify the speed, responsiveness, stability, scalability of the software application.

4) Reliability Testing - Is to test the software consistence and accuracy over time to rectify potential issues like crashes, data corruption, unexpected behaviour during prolonged use.

5) Security Testing - Is to identify vulnerabilities to make sure software able to protect data, resist attacks & maintain confidentiality and integrity, this testing is usually done by cyber.
PetbarInc
Published: 2023-12-18 14:41:53

It’s easy to book a full-service wash service at petbar using our mobile app.  Once you’ve created a profile, you can request appointments, review your upcoming schedule and check your appointment history. We make washing your dog fun in our upscale dog boutique! Stop in and we will provide everything you need to make your dog look and smell great! Appointments are not necessary for the self-service bath and the last bath starts 30 minutes before closing.
JS - Data Structures
Published: 2023-12-18 14:41:51

**_<u>Destructuring Arrays</u>_**

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


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

To skip a particular element in between 

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


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


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


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


**_<u>Destructuring Objects</u>_**

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


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


If you want the variables to be called by restaurantName, hours, tags, etc...

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


Applying default values in case it is not present (in this case menu is not present)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nl9dwynrxl9w647cuevn.png)
Empower Your Data Strategy with Expert Snowflake Consulting Services: Unleash the Potential of Your Insights!
Tags: datastrategy, snowflakeconsultingservices, dataservices
Published: 2023-12-18 14:40:39

In today's data-driven landscape, efficiency and agility are paramount. Are you ready to take your data management to the next level? Our [tailored Snowflake consulting services](https://www.softwebsolutions.com/snowflake-consulting-services.html) are designed to optimize your operations, revolutionize your analytics, and drive unparalleled insights.

Why Snowflake? ❄️

1️⃣ Unmatched Performance: Snowflake's cloud-native architecture ensures lightning-fast query processing, empowering your team to access and analyze data at unprecedented speeds.

2️⃣ Scalability & Flexibility: Scale your resources up or down as needed, accommodating fluctuating workloads effortlessly. Snowflake's elasticity enables seamless adaptation to your business requirements.

3️⃣ Data Sharing Simplified: Break down data silos and foster collaboration across departments or partners with Snowflake's secure and efficient data sharing capabilities.

4️⃣ Built-in Security: Robust security features ensure your data remains protected at all times, meeting the most stringent compliance standards.

🌟 Our Consulting Services 🌟

 Implementation & Optimization: Our experts tailor Snowflake to suit your unique needs, ensuring a smooth transition and maximizing its potential within your infrastructure.

🔹 Performance Tuning: Fine-tuning configurations for peak performance, optimizing data processing, and minimizing latency for rapid insights.

🔹 Architecture & Design: Crafting robust architectures that align with your business goals, ensuring scalability, and future-proofing your data infrastructure.

🔹 Training & Support: Empower your team with comprehensive training and ongoing support, enabling them to leverage Snowflake's capabilities effectively.

🔹 Migration Services: Seamlessly migrate your data from legacy systems or other platforms to Snowflake, minimizing downtime and ensuring data integrity.

💡 Why Choose Us?

With a proven track record of successful implementations and a team of certified Snowflake experts, we are committed to delivering tailored solutions that drive tangible business outcomes. Our customer-centric approach ensures that every solution is precisely aligned with your objectives, ensuring maximum ROI from your Snowflake investment.

📈 Ready to Unlock the Full Potential of Snowflake?

Let's connect! Message us to learn more about how our Snowflake consulting services can transform your data strategy and drive innovation in your organization. Together, let's turn your data challenges into opportunities!

#Snowflake #DataManagement #ConsultingServices #Analytics #CloudTechnology #DataDriven #DigitalTransformation
Top App Developers in Dallas
Published: 2023-12-18 14:39:12

Unlock digital success with TechnBrains – your go-to [app development agency in Dallas](https://www.technbrains.com/locations/mobile-app-development-dallas)! Our seasoned team crafts cutting-edge apps tailored to your business needs. Innovation, seamless integration, and on-time delivery are our hallmarks. Elevate your brand digitally – contact TechnBrains today!

**Why Choose TechnBrains?**

•	Proven Track Record
•	Global Industry Leadership
•	Extensive Portfolio
•	Investment Success
•	Innovation Centers

In a city where innovation meets ambition, TechnBrains is your ally in transforming ideas into digital reality. Contact us today to explore the possibilities and witness your app idea come to life in the heart of Dallas.
sourcemap.tools — Apply source maps to the JavaScript error stack trace and get the original error position
Tags: javascript, sourcemaps, webdev
Published: 2023-12-18 14:30:00

---
title: sourcemap.tools — Apply source maps to the JavaScript error stack trace and get the original error position
published: true
description: A little web app to decipher error stack traces of the minified JavaScript.
tags: javascript, sourcemaps, webdev, sourcemaps
cover_image: https://sourcemap.tools/image.jpg
# Use a ratio of 100:42 for best results.
published_at: 2023-12-18 14:30 +0000
---

Hi all! I made a small application that helps "decipher" the stack trace of minified JS code and wanted to share it with the community.

It works like this: you paste a stack trace into the textarea, provide one or more source maps (by pasting or through a file input), and the application applies the source maps to the stack trace and displays the "original" stack trace. This way, you can see the exact position of the error in the original file.

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

When it might be helpful:

1. You found an error in a production environment, but you don't host source maps and can't see on the developer tools where exactly it occurred

2. The user found a bug and sent you a stack trace

3. You get the stack trace from monitoring (e.g., Sentry) but do not configure it to work with source maps.

If you feel that such an application could be helpful to you, feel free to try it at https://sourcemaps.tools. The source is available at https://github.com/rmuratov/sourcemap.tools.

It probably contains bugs but should work in simple cases.. or at least I hope :)

There are other features that might be implemented, but I wonder if this could be useful to anyone at all, so I decided to collect some feedback first.

I will appreciate any feedback - first impressions, opinions, bug reports, feature requests.
Talking about Scopes
Published: 2023-12-18 14:27:58

Scopes are a way to determine the accessibility and location of specific variables that may be located within a program. This becomes useful to many (if not all) programmers due to the assistance it provides when debugging code, increasing code efficiency, and significantly reducing the amount of variable [name] conflicts.

## Global scope
The global scope refers to the scope that the entire program is able to access (hence the name global). Any variable declared outside of a function or code block is a global variable. Additionally, any value that has been assigned to variables that have not been defined & variables that begin with the 'var' keyword are also found in this scope.

```
// Global scope
var globalVar = "I am in the global scope";

function globalExample() {
  console.log("This is in the global scope");
}

globalExample();
console.log("This isn't in the global scope");
```

## Function scope
Each function that is created simultaneously creates a function scope. Variables declared inside of a function's curly brackets are considered 'function-scoped variables' and can only be accessed within that function it was declared in or any scope that encases the specific function. 'Let' and 'const' variable declarations can be found here.

```
function functionExample() {
  // Function-scoped
  let functionVar = "I am in the function scope";
  console.log("This is in the function scope");
}

functionExample();
// Attempting to access functionVar here would result in an error
console.log("This isn't in the function scope");
```

##Block scope
Block-scoped variables simply refer to any variable that has been declared within a 'block' (the contents between a set of curly brackets '{}'). Variables declared in this scope can only be accessed by parent scopes or from within the block scope itself. This feature was introduced in the ES6 update of JavaScript which was published in 2015.

```
function blockExample() {
    // Block scope
    let blockVar = "I am in the block scope";
    console.log("This is in the block scope");
    console.log(blockVar);
  }

  // blockVar cannot be accessed here due to it residing between curly brackets
  console.log("This isn't in the block scope");
}

blockExample();
```

Scopes refer to the context in which a certain variable is defined and accessed. This becomes useful when variables share the same name or are being accessed incorrectly and those issues need to be resolved. With the logic of scopes, programmers can avoid bugs and unwanted variable manipulation as well.
Thala For A Reason
Tags: beginners, productivity, opensource
Published: 2023-12-18 14:15:55

Hi everyone! Akash here.

![ThalaForAReason](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/47b1x1rwzzxx2a9q35e1.png)


I just made a fun project following the trend in India "Thala For A Reason". Check it out here - https://thala.vercel.app/

> Took me 61 minutes to build this. 6+1=7, Thala for a reason!
Advent of Code 2023 - DAY 9
Tags: rust, adventofcode
Published: 2023-12-18 14:14:07

#Problem Day 9: Mirage Maintenance
Here the day 9 problem statement: [https://adventofcode.com/2023/day/9](https://adventofcode.com/2023/day/9)

## Solution Part 1
```rust
pub fn part_one(input: &str) -> Option<i32> {
    let histories = input
        .lines()
        .map(|line| {
            let values = line
                .split_ascii_whitespace()
                .map(|x| x.parse::<i32>().unwrap())
                .collect::<Vec<i32>>();
            values
        })
        .collect::<Vec<_>>();
    let mut sum = 0;

    for history in histories {
        let mut current = history.clone();
        let mut last: Vec<i32> = Vec::new();
        loop {
            if current.iter().sum::<i32>() == 0 {
                last.push(current.last().unwrap().clone());
                break;
            }

            last.push(current.last().unwrap().clone());

            let mut app: Vec<i32> = Vec::new();
            for i in 0..current.len() - 1 {
                app.push(current[i + 1] - current[i])
            }

            current = app;
        }
        last.reverse();
        for i in 1..last.len() {
            last[i] += last[i - 1];
        }
        sum += last.last().unwrap();
    }
    Some(sum)
}
```

## Solution Part 2
```rust
pub fn part_two(input: &str) -> Option<i32> {
    let histories = input
        .lines()
        .map(|line| {
            let values = line
                .split_ascii_whitespace()
                .map(|x| x.parse::<i32>().unwrap())
                .collect::<Vec<i32>>();
            values
        })
        .collect::<Vec<_>>();
    let mut sum = 0;

    for history in histories {
        let mut current = history.clone();
        let mut first: Vec<i32> = Vec::new();
        loop {
            if current.iter().sum::<i32>() == 0 {
                first.push(current.last().unwrap().clone());
                break;
            }

            first.push(current.first().unwrap().clone());

            let mut app: Vec<i32> = Vec::new();
            for i in 0..current.len() - 1 {
                app.push(current[i + 1] - current[i])
            }

            current = app;
        }
        first.reverse();

        for i in 1..first.len() {
            first[i] -= first[i - 1];
        }

        sum += first.last().unwrap();
    }

    Some(sum)
}
```

[Here](https://github.com/fushji/advent-of-code-2023) the repository with all puzzle solutions.
Async and Await
Tags: async, await, javascript
Published: 2023-12-18 14:11:53

Hey there! 🌟 Today, let's talk about something cool that will make your coding adventures even more awesome: `async and await.` Don't worry if these terms sound like fancy tech jargon – we're here to make them as simple as playing your favorite game!

Imagine Your Code as a Story
Picture your code as a storybook. In traditional coding (synchronous), it reads like a story from start to finish. But what if we want our story to do a few things at once, like drawing and playing music? That's where `async` and `await` come in to make our story more exciting!

Meet `async` – The Storytelling Wizard

`async` Function:
Think of an async function like a wizard in your story. It's special because it can do magic (or code) while the rest of your story keeps going.

```

async function myAsyncFunction() {
}
```

Enter `await` – The Pause Button

`await` Operator:
await is like a pause button in your story. It tells your wizard (the async function) to wait for something to finish before moving on.

```
async function fetchData() {
  let response = await fetch('https://api.example.com/data');
  let data = await response.json();
  console.log(data);
}
```
Why You'll Love Them

**No More Code Confusion:** Remember when you had to jump around your storybook (code) because of callbacks? async and await make your story flow smoothly, like reading one page at a time.

**Easy-to-Read Code:** Your code becomes like a simple story you can read step by step. It's like telling your computer, "Hey, do this, then do that.

**Fixing Mistakes Made Easy:** Mistakes happen, but with async and await, you can catch and fix them just like finding a hidden treasure in your story.

**Super-Fast Stories:** With async and await, your story can do multiple things at once, making it as fast and exciting as your favorite game!

**Let's Wrap It Up, Storyteller!**
So, async and await are your buddies, making your code more fun and adventurous. They help your story (code) do cool things without getting all tangled up. Keep playing with them! Happy Learning :D
Join us today for the Real-Time Streaming Hackathon Pre-Event! 🌐✨
Tags: hackathon, livestreaming, antmedia, webrtc
Published: 2023-12-18 14:01:12

Get ready for an immersive experience and valuable insights. The pre-event kicks off in just a few hours! 🎉

🗓️ Date: 18.12.2023
🕒 Time: 18:00 GMT+3
🔗 More Info: https://antmedia.io/hackathon/

Don't miss out on this opportunity to connect with fellow enthusiasts, learn about the hackathon, and set the stage for an incredible journey into real-time streaming! 🚀👩‍💻👨‍💻

See you there! 🌟

**Agenda of the Hackathon Period:**

🔴Live session – Pre-Event // 18th of December 2023 at 6:00 pm GMT+3

🚀Hackathon period // 1st of December from 11:00am GMT+3 through 14th of January 15:00pm GMT+3

🛑Hackathon Day #1 Q&A with Mentors // 8th of January 18:00pm GMT+3

✍️Project submission deadline // 14th of January 12:00pm GMT+3
🛑 Demo presentation & judging period // 14th of January 14:00pm GMT+3

🎉 Finals & Award ceremony // 14th of January at 3:00 pm GMT+3
Music Monday — What are you listening to? (Beats Edition)
Tags: music, discuss, watercooler
Published: 2023-12-18 14:00:00

_cover image source: [Giphy](https://giphy.com/gifs/3EijgPWDDv2wj0vrCu)_

**Beats! I'm talking about the rhythm section. Bass and drums. You get a good low-end kick drum that can rattle your whole house + those snappy snares & crisp high-hats to punch through it... pair that with a good groovy bass line and you got yourself a party! A good beat has a way of hypnotizing you into motion... first, you feel it running through your body and before you know it, you're bobbing your head, tapping your foot, and shaking your butt. Whether your favorite beatmakers are doing their thing the old-fashioned way with drums & hand percussion or are rocking it digitally with drum machines and computers, I'm open to whatever. As always, the topic is just meant to inspire you, but feel free to color outside the lines and suggest whatever you wanna.**


![Animal from the Muppets is drumming on a drum set like Keith Moon... going ferociously with his mouth open like he's yelling](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uo7ugc7dhalwn2wpyptz.gif)

***

## How we do 

In this weekly series, folks can chime in and drop links to whatever it is they've been listening to recently + browse others' suggestions. You can follow the suggested topic if you'd like, but don't feel confined to it; you're free to suggest whatever you wanna. 🙌  

If you're interested in having other discussions about music, consider following the aptly named [#music discussions](https://dev.to/music-discussions) organization.

{% embed https://dev.to/music-discussions %}  

***

🗣 Beets! Get your fresh beets! _Note: you can embed a link to your song using the following syntax `{% embed https://... %}`. This should work for most common platforms!_

Looking forward to listening to y'all's suggestions! 🎶
Golang: ทริค หาลำดับที่แน่นอนจาก Map
Tags: go
Published: 2023-12-18 13:57:22

การวนลูป Map ในภาษา Go จะไม่การันตีเสมอไปว่า ลำดับ ของชุดข้อมูล ที่ถูกเข้าถึงในแต่ละรอบของการลูป จะเป็นไปตามลำดับที่เรากำหนด เพราะข้อมูลที่อยู่ใน Map จะเป็นการเก็บแบบ “ไม่มีลับดับที่แน่นนอน” (unordered)

จาก code snippet ด้านล่าง จะสังเกตได้ว่าในแต่ละรอบของ การวนลูป, ข้อมูลภายใน Map จะถูก print ออกมาสลับตำแหน่งกัน ทั้งๆที่เราได้กำหนดค่าให้ a,b และ c เป็นไปตามลำดับในเบื้องต้น

```go
    func main() {
    kv := make(map[string]int)

    kv["a"] = 0
    kv["b"] = 1
    kv["c"] = 2

    for i := 0; i < 5; i++ {
      for k, v := range kv {
        fmt.Printf("key: %s --> value: %v\n", k, v)
      }
      fmt.Println("----------")
    }
  }
```

หากต้องการเข้าถึงข้อมูลในลับดับที่แน่นอน จาก Map เราสามารถใช้ทริคง่ายๆ โดยการเก็บค่า key ไว้ใน slice และใช้ key อันนี้ในการเข้าถึง value จาก Map

```go
  var keys []string

  for k,_ := range kv {
    keys = append(keys, k)
  }
```

แต่อย่างที่กล่าวไป การวนลูป Map จะไม่การันตีลำดับชุดข้อมูลที่เข้าถึง ดังนั้นเราจึงต้อง sort ข้อมูลที่ได้มาตามลำดับที่ต้องการ

```go
  sort.Strings(keys)
```

และลองมาวนลูป Keys เพื่อเข้าถึงข้อมูลจาก Map กันอีกครั้ง
```go
    for i := 0; i < 5; i++ {
    for _, key := range keys {
      fmt.Printf("key: %s --> value: %v\n", key, kv[key])
    }
    fmt.Println("----------")
  }
```

ข้อมูลที่ได้จาก Map ก็จะมีลับดับที่แน่นอน.
Paracetamol.js💊| #224: Explica este código JavaScript
Tags: javascript, webdev, spanish, programming
Published: 2023-12-18 13:50:21

## **<center>Explica este código JavaScript</center>**
#### <center>**Dificultad:** <mark>Intermedio</mark></center>

```js
const perros = [
    {id:1, nombre: "boby"},
    {id:2, nombre: "cachu"},
    {id:3, nombre: "coco"}
];

const findShadow = perros.find(({nombre}) => nombre === "shadow")
console.log(findShadow)
```

- A. `[]`
- B. `null`
- C. `undefined`
- D. `NaN`

---

Respuesta en el primer comentario.
Import data from MS Excel to Oracle
Tags: oracle
Published: 2023-12-18 13:23:27

Importing data from Excel spreadsheets (XLS files) into databases is a routine yet vital task for Oracle users. This direct import process offers numerous benefits including time savings, enhanced accuracy, and the assurance of data consistency and integrity. When the goal is to simplify and streamline that process, professional solutions like dbForge Studio for Oracle come in handy as they allow us to configure the task in a couple of clicks and run it effortlessly.

Advantages of using dbForge Studio for Oracle for data import
dbForge Studio for Oracle has the embedded data import and export utility. It makes the direct data import from XLS files into Oracle databases fast and user-friendly, and also simplifies organizational procedures and leads to substantial cost savings, especially when incorporated into automated workflows.

Here are some of the advantages of using the Studio for Oracle for data import:

- Import data from Excel (1997-2003) and Excel 2007 formats
- Smart and comprehensible task wizards
- Smooth and controlled data transfer process
- Robust customization options
- Templates for regular data import tasks
- Data import automation through the command line

Read in full to get more info: https://www.devart.com/dbforge/oracle/studio/import-excel-to-oracle.html