teleren/devto huggingface dataset:
Top 5 Major Benefits of Cloud Testing
Tags: testing
Published: 2020-10-26 07:04:58

Here is the list of top 5 major benefits of cloud testing and their performance showcase on our business growth which allow testers to increase computing resources according to their needs.

24 Hour Access to the Resources
The resources are promptly accessible for testing round the clock for numerous groups. The groups are often present in numerous time zones or in numerous corners of the globe and might still access the information that was established within the cloud-based resources. 24-hour access would mean that the testing cycle of associate degree application can ensue endlessly with none interruption

Cost Effective
The ownership in the cloud is based on automation tools and resources. The tools and resources that are used in the cloud are not very expensive. Less expenditure on the tools denotes that less capital expenditure. The tools once bought are reusable. The organization pays for the tools as and when they are required. No extra cost is paid if the tool is not being used in a given testing application.

Consistent Development Tools Setup for Existing and New Staff
With cloud-based testing, it is easy to share the data and tools. Every time a new member joins the team, one does not have to reinstall everything for him since everything would be readily available and all have to do is join the team and contribute his work.
Benefits of Virtualization
Cloud uses such tools that help bring in benefits of virtualization. It helps the firms to make use of their resources in the most efficient and optimized manner. The applications are becoming complex day by day and hence virtualization helps to reduce the costs.

Reduced IT Management Effort
Since cloud-based tools are better compared to manual testing, the cloud tools reduce the efforts and time of IT management like installation, upgrades for software globally, licensing. Since the management has minimal work to do, they can concentrate on other activities and give in their best in other fields too.
For more information about this article visit :
https://w3softech.com/blog/5-major-benefits-of-cloud-testing/
Is there a good temporary variable name that you use?
Tags: discuss, codequality, functional
Published: 2020-10-26 07:00:57

Hi all,

I normally refer to variables as currValue, currentValue etc. I find it very intuitive myself. However, recently after seeing lot of people who don't find it clear, I would like to know if there's a better way to do so.

Following is the code where I use a temporary variable which I think can be named well.

```
function apiCall(type string, options Object(optional)) {
  // ... some code 
  // response format 
  // { nextPageToken <string>, items: <Array of Objects> }
}
function getAllFooBar() {
  // find smart_collections
  const response = apiCall('foo');
  const fooValueNextToken = response.nextPageToken;
  const fooValues = response.items;
  const barValues = [];
  // for every foo value
  for(let i=0; i< fooValues.length; i++) {
    const currFooValue= fooValues[i];
    let hasToken = true // setting true initially
    let token = null
    while(hasToken) {
      if (token!= null) {
        fooValue.token = token;
      }
      const innerResponse = apiCall('bar', currFooValue)
      // Is there a better way to name these variables?
      const currToken = innerResponse.nextPageToken;
      const currValues = innerResponse.items;
      barValues.push(...currValues); // saving the values received from api into allValues
      hasToken = currToken != null
      token = currToken
    }
  }
}
```

If you see the above code, I am getting some values from api and then iterating over to fetch another set of values.

I know this is not a question that's so important. But, I am someone who think that people modify code more often than they assume. So, I would like to know if there's a good way to make sure everyone is on the same page?

thanks in advance
cheers
Minimal, Almost classless CSS framework
Tags: css, framework, classless, light
Published: 2020-10-26 06:03:56

---
title: Minimal, Almost classless CSS framework
published: true
description: 
tags: #css #framework #classless #light
//cover_image: https://i.imgur.com/Y9pBT4m.png
---
Hello everyone.
I did spend few days making my own classless CSS framework. The end goal is a plug and play type framework suitable for content-focus website/app. 
The name is Light, and yes it comes with light mode only.
There are also couple more useful classes for styling the content.
Github repo: https://github.com/madsouris/light/
Homepage: https://madsouris.github.io/light/
Demo: https://madsouris.github.io/light/demo.html
My experience with HacktoberFest 2020
Tags: hacktoberfest
Published: 2020-10-26 05:56:45

#Who is ZachyDev?

Hey there!👋👋, My name is Zachary Moseti, popularly known as "ZachyDev". I'm a computer science student at the University of Eldoret - Kenya. Currently, I specialize in front end development, however I have explored other technologies like Firebase (GCP), Kotlin & Flutter.

### Background

I'm not that new to open source,since I have been contributing to open source projects like awesome-vue in the recent past.However this year's #hactoberfest challenge came as a bonus to further improve my skills on contributing to open source,as usual, I would only say THANK YOU @DigitalOcean👏

### Progress

In this year's edition of HacktoberFest,I submitted  a total of 6 pull requests, that's a bonus of two on top of the minimum PRs as specified by Digital Ocean. Amongst the 6 PRs, 4 have passed the 14-review period,the remaining PRs will mature in 1 day. 🎉🎉

### Contributions

On this year's HacktoberFest challenge,I majorly contributed to C0D1NG organization's list of open source projects. The reasons why I chose to contribute to C0D1NG are:
       • The review period was 
        short.
   • The projects were 
     friendly & manageable.
   • Once the PRs were 
     merged,one will 
     automatically receive an 
     invite to join the 
     organization
   • One had an option to 
     choose from a variety of 
     projects and tackle them 
     using their language of 
     choice.
Here are the links to the PRs I submitted:
1. Grocery to-do list 👉https://github.com/C0D1NG/Development/pull/72

2.How to fetch data from a REST API demo 👉 https://github.com/C0D1NG/Development/pull/128

3.JavaScript implementation of a countdown clock 👉 https://github.com/C0D1NG/Development/pull/127

4.FizzBuzz solution challenge 👉 https://github.com/NLDev/Hacktoberfest-2020-FizzBuzz/pull/235

5. Quick select JavaScript algorithm 👉 https://github.com/C0D1NG/Algorithms/pull/157

6 JavaScript function to reverse a string 👉 https://github.com/C0D1NG/Programming/pull/522

That's the list of PRs I submitted in #hactoberfest challenge 2020🎉🎉


### Reflections
My experience with this year's HacktoberFest has been epic.

I can't wait for HacktoberFest 2021☺️, however this doesn't mean I will stop contributing to Open Source in the time being.My journey to open  source has been enlighted by HacktoberFest challenge.

I have learnt a lot in this year's HacktoberFest challenge, including how to contribute to open source projects,how to raise PRs,how to adhere to the standards of open source,such as submitting quality code,to mention afew. 

Apart from contributing to open source,I have also networked with other developers from all over the world,and I have come to realize we can  work on projects with a team of other developers despite their location. Magic happens in the remote world☺️☺️.

Since this was just a beginning,I will move a step further and contribute to projects which are highly started on Github such as Vue.js,React.js and many more.

A wrap up from me,thanks @DigitalOcean, thanks #Hactoberfest
Long live @DigitalOcean🎉🎉
Search and highlight text using word add-in
Tags: microsoft365
Published: 2020-10-26 05:50:45

If you want to search the word document for text and need to highlight with a color, following code can be used
This code sample searches for the text "Office" and ignores punctuation. If the text is found, the matches are bolded, highlighted in yellow, and the font color set to purple.

``` 
 // Run a batch operation against the Word object model.
Word.run(function (context) {
  // Queue a command to search the document and ignore punctuation.
  var searchResults = context.document.body.search('Office', {ignorePunct: true});

  // Queue a command to load the search results and get the font property values.
  context.load(searchResults, 'font');

  // Synchronize the document state by executing the queued commands,
  // and return a promise to indicate task completion.
  return context.sync().then(function () {
      console.log('Found count: ' + searchResults.items.length);

      // Queue a set of commands to change the font for each found item.
      for (var i = 0; i < searchResults.items.length; i++) {
        searchResults.items[i].font.color = 'purple';
        searchResults.items[i].font.highlightColor = '#FFFF00'; // Yellow
        searchResults.items[i].font.bold = true;
      }

      // Synchronize the document state by executing the queued commands,
      // and return a promise to indicate task completion.
      return context.sync();
  });
})
.catch(function (error) {
  console.log('Error: ' + JSON.stringify(error));
  if (error instanceof OfficeExtension.Error) {
    console.log('Debug info: ' + JSON.stringify(error.debugInfo));
  }
});

```
Freelance Web Developer Tirupati

Tags: freelancewebdevelopertirupati, webdevelopertirupati
Published: 2020-10-26 05:47:06

Mr. Thalla Lokesh offers Freelancing Web Development Services Tirupati and is a bonafide expert in SEO strategies— that will help your business to grow by providing the best in digital marketing freelance web developer service, Tirupati.
https://www.thallalokesh.com/freelance-web-developer-tirupati/
What are your biggest frustrations in the hiring process?
Tags: discuss, career, hiring
Published: 2020-10-26 05:35:34

<i>Photo by <a href="https://unsplash.com/@dre0316?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Andre Hunter</a> on <a href="https://unsplash.com/s/photos/frustrated">Unsplash</a></i>

I've been very pleased by the reception of my two articles [What's your current salary ?](https://dev.to/jmfayard/what-is-your-current-salary-is-a-red-flag-that-you-don-t-want-to-work-here-3aji) and [What's your salary expectation ?](https://dev.to/jmfayard/what-is-your-salary-expectation-a-i-don-t-have-one-make-me-an-offer-2jaf). This gives me motivation to write more about the topic.

But first, I have a few questions for you my readers :

- If you have been looking for a job recently, what did frustrate you most ?
- What have you tried to work around those issues as a candidate ?
- How well did it work ?
- What would you do if you were on the hiring side and had a magic wand to debug the hiring process ?

Searching for a job is a huge emotional roller coaster. It can be a huge leap forward for your career, but it also often feels confusing, frustrating and hopeless. Let's brainstorm on how to avoid the bad parts :)
Express limit rate API request
Tags: ratelimit, express, security, api
Published: 2020-10-26 04:52:44

Today I want to share my experience improve my backend node app with an express framework with a limited rate query user request.
demo API query
## Hurry up!! let start
### step 1: install module express-rate-limit
`yarn add express-rate-limit`
### step 2: now, we need to import the library into our application
`const rateLimit = require("express-rate-limit")`
### step 3: define variable inlude timer and number limit request
`const limiter = rateLimit({
windowMs: 1 * 60 * 1000, // 15 minutes
max: 10 // limit each IP to 100 requests per windowMs
})`
### step 4: use limiter as middleware of expressjs
``app.use(limiter);``
	![alt text](https://media.giphy.com/media/ely3apij36BJhoZ234/giphy.gif)
> Congratulation !! you finished improving your security rest API
Effective Logging
Tags: logs, code, operations, programming
Published: 2020-10-26 04:50:12

In computing, a log is an activity record generated by a system event. Logs are highly useful for monitoring, traceability, analyzing, verification, and to measure all activities related to the system.

There is a misconception that debugging is the same as logging. It is not. Debug messages are usually cryptical and only make sense for those who wrote them. Logs are not just for developers but for support teams, auditors, system administrators, basically for everyone that interacts with the system.

What to log depends on the system’s type and the type of events that wants to be analyzed. The most common activities are:

* Authentications, authorizations, and accesses.
* Application’s changes or information changes.
* Invalid inputs.
* Resources issues.
* Availability issues.

A log record should always answer the 5W’s, which are:

* When the event happened (Timestamp).
* Where it happened (Class, component, application).
* Who triggered the event (User or service).
* What action the event performed (Action).
* Why the event was triggered (Reason).

Optional information can be added to the log record, such as:

* Operation result (Was a success, or a failure)
* Priority (Severity, rank, level).

Here is a list of recommendations to follow when you are planning the log:

* Use a standard format for the system’s log (And if possible, spread the same log format across the company).

* Use the same wording for the same context. It is easy to read and analyze logs when they use the same words to express meaning.

* Do not (I repeat, do not) include any confidential information in your log, passwords, tokens, or secret keys, are out. You might ire your security engineer if you do.

* Avoid subjective/interpretative messages, anyone familiar with the system should be able to interpret what exactly happened.

* Non-human readable formats (like XML, blobs, stack-traces) are considered bad practice if a context is not provided. Always try to give them context.

* And last but not least, make logging part of your coding workflow. You will be thankful to have logs when your system goes down.


Header image: ["logs"](https://www.flickr.com/photos/90578102@N00/5693655199) by [Rick Payette](https://www.flickr.com/photos/90578102@N00) is licensed under [CC BY-NC-ND 2.0](https://creativecommons.org/licenses/by-nc-nd/2.0/?ref=ccsearch&atype=rich)
Mine Hactober Fest 2020 Adventure
Tags: hacktoberfest, github, opensource
Published: 2020-10-26 04:36:50

Hi, My name is Devansh Tadhani. Student of a prestigious college G H Patel College Of Engineering & Technology situated at Anand, Gujarat. A place where I get myself trained to battle against the competative Market of IT.

"Experience of Hactober Fest 2020"
I came to know about this frst via social media platform. This was the first time to get an exposure to work/contribute for opensource project.

Personally it was a great experience. I learnt two of the most prerequisite term that is GITHUB and OPENSOURCE. This unlocked an new gateway to my future in field of opensource project. All thanks for hactober fest to help me strengthen my skills.
Hacktoberfest 2020
Tags: hacktoberfest, opensource, github, java
Published: 2020-10-26 04:30:39

### First experience in Hacktoberfest
I discover hacktoberfest in a local meetup of Digital Ocean users group last 2018. I'm curious of the event and I give it a shot. Every year its a routine to join in specially on the month of October. 

### Background
I'm a Software Engineer who loves opensource technology as well learn new technologies.

### Progress
It is quite challenging because the review of my PR's are quite too long to be accepted and some has no labels. Most of my contributions are focus on unit test and minor code quality fix.

### Contributions

1. Book Project - https://github.com/Project-Books/book-project/pull/383
2. company-wise-coding-question - https://github.com/simpleway2code/company-wise-coding-question/pull/16
3. hacktoberfest2020 - https://github.com/abhpd/hacktoberfest2020/pull/80
4. PsipherBackend - https://github.com/codezoned/PsipherBackend/pull/34
5. LyricsPrimer - https://github.com/DyspC/LyricsPrimer/pull/3
6. translation-service - https://github.com/antrix190/translation-service/pull/2

### Reflections
Well, its FUN. Looking forward to participate next year.
Audio Levels Troubleshooting
Tags: troubleshooting, windows10
Published: 2020-10-26 04:29:34

For the longest time, I thought my laptop audio jack was broken. Whenever I plug any type of earphones, the left bud is somewhat muted or not audible. I was on the verge of purchasing a USB audio adapter but thankfully did not push through with it.

The fix:
1. Search 'Sound' on Window Search
2. On 'Playback' tab, select 'Speakers/Headphones (Realtek Audio)' then click 'Properties'.
3. Go to 'Levels' tab and click 'Balance'
4. Adjust the left and right volume.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/sv8hilbvwk74t1g361nr.JPG)

As it turns out, my left audio was in a super low volume all this time.

**Lesson Learned: Explore Control Panel first before compulsively adding something to cart.**
My first post
Tags: hacktoberfest
Published: 2020-10-26 04:22:50

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->


### [Intro Heading]
<!-- If you are new to the DEV community, introduce yourself and share a bit about why you joined DEV and decided to participate in Hacktoberfest this year.  --> 
### Background

<!-- Are you brand new to open source? What about coding in general? Tell us about how you got here →

### Progress

<!-- Share a bit about where you’re at in your Hacktoberfest journey. What stage are you at? How has the process been?  -->

### Contributions

<!-- This is where you can list the contributions you made and explain why you chose the projects you did. Don’t forget to add links!  -->


### Reflections
<!-- Overall, how has your Hacktoberfest 2020 experience been? If you’re a first-timer, will you participate again? What have you learned? Have you made any interesting connections? What is your next step in open source?  -->
Hacktoberfest - The 3rd PRRrrrrr... hmmm...
Published: 2020-10-26 03:55:50

For my third contribution for Hacktoberfest,  I wanted to contribute to a C# project.  I browsed the Hacktoberfest website and came across UtilityBelt.  I looked at the files to see if this was something I'd like to try...  I think C# has become one of my favorites. So um...Utility Belt, a console application that handles multiple smaller console applications using API's. Completely unsure of how I was going approach this and the format of the project was unique in comparison to what I have seen before. At Seneca I had taken a web class on ASP.NET using C#. The only thing is, I had not looked at C# since the [Hackathon](https://www.eventbrite.ca/d/canada--toronto/hackathon/) in June! 

I created my [branch](https://github.com/strawberries73/UtilityBelt/tree/Issue-42) and then just sat there.  Reading the project so I could figure out what I would do. Since the original suggestion to me was not going to workout because I was unable to get the API.  I needed to come up with something.  While going over the project and discussing it with my friend, he suggested Elephants. The girl in me said "Perfect, I absolutely love Elephants!"... wait, I said that out loud!    
So I went to work. I had viewed some other files so see what was necessary to include in my contribution. I also needed to view the Elephant facts.  Once a basic code was made, I ran it.  Not the results I wanted.  Thought some more, read some more and discussed a few approaches for different outcomes. Finally figured out that I needed all the the variables to get the results and then I decided that I wanted to only print the "names" of the different elephants.  After I achieved the desired results, I pushed the code and sent the [pull request]( https://github.com/aherd2985/UtilityBelt/pull/95). 

Well look at that!  My contribution was approved and [merged](https://github.com/aherd2985/UtilityBelt/pull/95/files/5fb422239bd4fd8361dcfb233c9f3521c41de96f). This was a fun refresher to using web API's in C#.  I feel like the memory of this process is much more preserved then doing an assignment with a deadline. It is certainly more fun when you can decide what the outcome should be!
Getting to Day 2
Published: 2020-11-02 03:46:59

---
title: Getting to Day 2
published: true
date: 2020-10-26 03:53:34 UTC
tags: 
canonical_url: https://triptych.writeas.com/getting-to-day-2?pk_campaign=rss-feed
---

I did it! I am doing several things today that are “day 2” of a process that's been challenging for me. During this pandemic, I've seen my attention span drop to that of a gnat on caffeine — flitting from games to novels to coding to whatever seemed interesting for 5 minutes. This due to a desire to stay distracted and not thinking about the times we are in.

But that's changing.

For me, writing is fundamental to who I am. If I'm not writing, then something is wrong. And I've not been writing or doing much for a while. So many times I will try out a thing like [https://cables.gl](https://cables.gl) and after a day or so move on. But I know that if I want to regain that lost sense of self, and to move forward as a person, I need to start writing more, and getting my “voice” back. So many goals and plans, I cannot build on them if I'm just doomscrolling all day.

So today is a big milestone for me. I set a challenge for myself to start writing every day. For whatever reason, and who knows what about. But still, I'm writing on day 2! A huge step forward for me.

I've tried off and on to blog for many years, and never really found a good “place” to do it. But with [write.as](https://write.as) I can write, embed code, apps, and more to create a place where perhaps folks will find something interesting to learn.

I worked on a “TinyIF” game today using Svelte. You can check it out here:

[https://tinyif.netlify.app/](https://tinyif.netlify.app/)