teleren/devto huggingface dataset:
How to create an Augmented Reality experience in a Minute?
Tags: augmentedreality, ar, webarinminute, vossle
Published: 2021-03-04 12:34:11

Augmented Reality is revolutionizing the customer engagement journeys for products. In this rapidly changing technology era, all companies need to adapt quickly or fade away into the abyss. Adapting to rapidly changing technology takes effort and money. Know-how: https://blog.vossle.com/create-ar-experience-in-minutes/
JS Experts! May you help me to learn the best workflow using APIs and Redux? [question for experts]
Tags: javascript, react, redux, typescript
Published: 2021-03-04 12:29:44

Hi guys!

I'm thinking about doing a dummy application that calls a big videogame API to train React, TypeScript, and Redux toolkit.

My idea is to show all the games available on the home page ordered by the most popular to the less popular, with an infinity scroll to load progressively. The app will have a search bar too, just in case the user wants to see a specific game, and maybe I add a little shopping cart.

A quite simple idea, I know how to do it but there are certain things that I have some doubts about how to proceed to do it as the best possible way:

1º Should I save the games fetched in the infinite scroll of popular games in a global state like a redux toolkit? Is it a good idea to cache in some way in the client browser in case the user reloads the web and have a good amount of games already downloaded?

2º When a user searches some game should I search first in the state to 'fast' first results and then an API call? or directly search through the API?

3º How many games should I load in the first instance? 100? and then load in bumbles of 25 when the user scrolls down?

4º Maybe is viable to load the whole amount of videogames at once if in the API there are 1000? or is it too much work for the client?

5º If I want to save something like a theme should I use the redux toolkit too or context?

Thanks in advance!

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ag6xwwxbn6myew9mv7b9.png)
Weekly Challenge 102
Tags: perl, perlweeklychallenge, weeklychallenge
Published: 2021-03-04 12:19:10

[Challenge 102](https://perlweeklychallenge.org/blog/perl-weekly-challenge-102/)
[My solutions](https://github.com/manwar/perlweeklychallenge-club/tree/master/challenge-102/sgreen)

# TASK #1 › Rare Numbers

## Task

You are given a positive integer `$N`.

Write a script to generate all Rare numbers of size `$N` if exists. Please checkout the [page](http://www.shyamsundergupta.com/rare.htm) for more information about it.

## My solution

I could have just scraped the [page](http://www.shyamsundergupta.com/R23.htm) that has a list of rare numbers, but that's not the spirit of the challenge, is it? :P

It's also clear I don't have the most optimal solution. The original author states "the program has been made so powerful that all numbers up to 10<sup>14</sup> can be just checked for Rare numbers in less than a minute on [a] Pentium III PC". My code took 3 minutes for 9 digit numbers and 42m for 10 digit numbers. For that reason, I'll be interested to see how other Team PWC members tackled this.

My solution involves two steps. Generate a hash where the key is square numbers from 1 .. 2 * 10<sup>n</sup>. Then I brute force my way through all numbers to see if there are any matches.

## Examples

```
» ./ch-1.pl 2
65

» ./ch-1.pl 6
621770

» time ./ch-1.pl 9
281089082

real    3m15.319s

» time ./ch-1.pl 10
2022652202 2042832002

real    42m4.669s

```

# TASK #2 › Hash-counting String

## Task

You are given a positive integer `$N`.

Write a script to produce Hash-counting string of that length.

The definition of a hash-counting string is as follows:

* the string consists only of digits 0-9 and hashes, ‘#’
* there are no two consecutive hashes: ‘##’ does not appear in your string
* the last character is a hash
* the number immediately preceding each hash (if it exists) is the position of that hash in the string, with the position being counted up from 1

## My solution

I actually completed this task first as it seems easier than task one. Took me less than 10 minutes to code. The basic idea behind my solution is to create a `$string` containing the required number of hash characters.

I then move back by the characters of the position in the hash (for example position '14' has 2 characters), and insert the number. I keep doing this until the are no more numbers to insert.

## Examples

```
» ./ch-2.pl 1
#

» ./ch-2.pl 2
2#

» ./ch-2.pl 3
#3#

» ./ch-2.pl 10
#3#5#7#10#

» ./ch-2.pl 14
2#4#6#8#11#14#
```
Phase 1 Portfolio Project: A tough but rewarding journey
Published: 2021-03-04 12:17:35

My first portfolio project for Flatiron Coding Bootcamp was challenging to say the least. Starting out from scratch on your own for the first time with no "learn test" or "rspec" tests to help guide me was overwhelming at first. I started my Phase 1 project out very ambitiously, trying to use a NewsAPI and trying to take steps I was not ready to take. I believe I was trying to make my Command Line Interface (CLI) a little too unique and spent a lot of time just staring at the screen for hours on end wondering what I should do next. In the end, I decided that although my original idea for the NewsAPI CLI I was trying to build was a good idea I needed to take a step back and just show that I understood the fundamentals of Object Oriented programming and how to create a CLI using an API. 

I scrapped my NewsAPI and started fresh using the PokeAPI. I planned out my CLI to ask the user for an input to show a list of Pokemon and then prompt them to enter a number corresponding to a Pokemon listed to learn more about that particular Pokemon. I found that using the NewsAPI and struggling through the more advanced hashes and arrays that the PokeAPI was much easier to navigate. Struggling beforehand had made iterating over the hashes and arrays in this API a breeze. It also built my confidence up in showing that I understood what I was actually doing and that all the modules I had completed up to this point had actually stuck with me.
How do I disable the focus-highlight of a C# WinForms element?
Tags: csharp, dotnet, winforms, help
Published: 2021-03-04 12:07:29

###More important issue [here](https://dev.to/baenencalin/why-does-my-winforms-app-close-after-a-few-seconds-of-loading-1hl)!

How do I remove the white?
###Before focus:
![A button with text in it, that has no white border.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ulbdy1g3q28d2lt1gied.png)
###After focus:
![A button with text in it, that DOES have a white border.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bu5qm7gmk2ylkquz3b25.png)
The worst part is, the focus border doesn't leave if I click off of the button, or go to a different window. It stays indefinitely focused.

I've tried using `.ShowFocusCues`, but apparently that's `readonly` (for no good reason).
How to use config / credentials file in rails.
Tags: rails, ruby, api
Published: 2021-03-04 11:57:27

In this post i am going to show to use **config/credentials.yml.enc** file in rails application. So let's get start all thing one by one. Before going forward we need to know what is the use of **config/credentials.yml.enc** file.
                          
credential file is very important for every rails project with the help of this file we can store credential data like api key, password, username, emails etc in encrypted format.

So, what is the exactly need of credential file. For example you developed weather application and in this application you used weather API and after developed the application you pushed the code on GitHub (as a public repository) and that time anyone can see your personal weather API. So for that we use credential file with this anyone can't see you API key because of the file is in encrypt format.


### So how to implement credential file in your rails project.

Firstly you have to create new rails application with **rails new** command. After doing this if you go to config/credentials.yml.enc file you will see that the file is encrypted format.

Next you have to add credential data like API key/password in the credentials.yml.enc file. So for that you have to run this given below command on the terminal.

    $ cd weather_project
 
    $ EDITOR="code --wait" rails credentials:edit  

In the line i mentioned **code** keyword because i want to open this file on VSCode you can also open this file another IDE like Atom and when i run this command the credentials.yml.enc file open in Visual studio Code in decrypted format.like this

      # aws:
      #   access_key_id: 123
      #   secret_access_key: 345

      #  Used as the base secret for all MessageVerifiers in 
      Rails, including the one protecting cookies.
      secret_key_base:abcdefghijklmopadsaweqwe

So now you have to uncomment top two line of code in this file. You can also add other API key and password like this.

      weather_api: 123456789

After doing this save(ctrl+s) the file and close ❌ the VSCode. If you want to check that API key successfully add or not so for that run command on terminal.

      $ rails c
   
      $ Rails.application.credentials.weather_api

Output - 123456789

Happy coding..😊
Die besten Divi Plugins und Erweiterungen
Tags: wordpress, divi, elegantthemes, wordpressplugins
Published: 2021-03-12 15:53:44

---
title: Die besten Divi Plugins und Erweiterungen
published: true
date: 2021-03-04 11:44:50 UTC
tags: Wordpress,divi,ElegantThemes,WordPressPlugins
canonical_url: https://j0e.org/besten-divi-plugins/
---

![Die besten Divi Plugins](https://j0e.org/wp-content/uploads/2021/02/besten-divi-plugins.png)

 Das sind die besten Divi Plugins und Erweiterungen! Obwohl der beliebte Page Builder für WordPress …

[Die besten Divi Plugins und Erweiterungen Weiter Lesen »](https://j0e.org/besten-divi-plugins/)
Building a website from scratch
Tags: html, css, bootstrap
Published: 2021-03-04 11:30:35

I've been on this journey getting to 2 years now but I've never build any reasonable website on my own.

Please suggest to me how to take my coding to the next the level. I'm done with html and css, I mean the basic but I've never build anything on my own. Please help me suggest for me the next stage and stuffs that can help me build a website from scratch. I need to take my coding to a greater height. I also want to work with people with like mind as a group. 
Thanks in anticipation for your helpful comments.
[nodemon] app crashed - waiting for file changes before starting (solution)
Tags: node, mongodb, javascript
Published: 2021-03-04 11:21:22

as a newbie developer in node js platform we face  :[nodemon] app crashed - waiting for file changes before starting... error is so many times and this is the most common mistake in node js it happened also with me. so now today we will see why it will happen.

 [nodemon] app crashed - waiting for file changes before starting..

this type of error basically happens if we import the wrong packages or mistake in the type in packages names spelling like Folder or File
and our terminal is always indicated to us where is the problem. please see the terminal carefully. it will look like the below screenshot. here I marked the notification which given me by my terminal and finally I understand what was my mistake.

please see the below screen shot:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ppt1enuw78x16ejds204.PNG)
  after seeing this I go to my index.js file and correct my spelling mistake in the file name.
after that my node app is working nicely here is my screenshot.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ty25queh06nd4zisc51q.PNG)
that it
.
Happy Coding.
osman forhad
Mobile & Web Application Developer💻
Kanban for Software Engineering
Tags: help, discuss, kanban, softwareengineering
Published: 2021-03-04 11:19:40

![Photo by Eden Constantino on Unsplash](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/stsgfruzjkci44u06q90.jpg)

Hi everyone,
I'm in the process of **refining our Kanban methodology** and I thought I'd try to reach to some of you in the community for help on best practices and what to look for.

My team and I have been using Kanban for our Software development process for about a couple of years now, with some level of success but I'd like to know what's required to take it to the next level.

If you or your team are using Kanban, what worked for you?
Is Azure certification worth?
Published: 2021-03-04 11:16:14

Today, many IT companies are moving to the clouds and have been certified by Microsoft - a fixed value that will help professionals achieve truly rewarding work and a proven profile for the future. 

Here are the benefits of a Microsoft Azure Certification 

1.	Obtaining a Microsoft certification will definitely give you an extra arm to get better employment opportunities in this field.
2.	Azure certification will set you apart from most IT professionals and increase your IQ in cloud computing.
3.	Azure is great if it integrates with the Hybrid Cloud and Microsoft product suite.
4.	Your degree helps you become a solution engineer, Azure administrator, or developer.
5.	This certificate assists in the recruitment process and during the promotion

http://bit.ly/3sNwPBZ
GraphQL is King
Tags: graphql, rest, api
Published: 2021-03-04 10:51:51

---
title: GraphQL is King
published: true
description: Wam-a-lam-a bam-a-lam-a - GraphQL is King
tags: graphql,rest,api,apis 
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pxd1snj49qdnehp1gurv.jpg
---
#### To the tune of <a href="https://www.youtube.com/watch?v=21VeAmPOBzI">"Rock 'n' Roll is King" by The Electric Light Orchestra</a>

Listen everybody let me tell you 'bout GraphQL
It's the API architecture that's really gonna thrill your soul
She said come along with me, to a land of graph queries

She said (wam-a-lam-a bam-a-lam-a) GraphQL is king

She loves that GraphQL and she daydreams SDL
That's all she ever tells me when I ping her on the Slack channel
Says named mutations are the key, but it isn't like RPC

She says (wam-a-lam-a bam-a-lam-a) GraphQL is king

Oh let Apollo run
Run queries, run queries
Oh let's install Relay
That's how it's meant to be...

It's coupled to the DB and it gets HATEOAS flack
She threw a runtime error and she gave "200" back
She loves that paradigm, she does JSON not resource-based MIME

She said (wam-a-lam-a bam-a-lam-a) GraphQL is king

Oh let Apollo run
Run queries, run queries
Oh let's install Prisma
That's how it's meant to be

When she comes 'round and I'm reading 'bout REST / RESTful,
She says you under/over-fetch and all I resolve to do is GraphQL
I think I'm gonna choose - to use REST and HTTP2

She says (wam-a-lam-a bam-a-lam-a) GraphQL is king

(wam-a-lam-a bam-a-lam-a) GraphQL is king
(wam-a-lam-a bam-a-lam-a) GraphQL is king
(wam-a-lam-a bam-a-lam-a) GraphQL is king

She says... (wam-a-lam-a bam-a-lam-a) GraphQL is king

> With apologies to Jeff Lynne and the GraphQL community
FEC Day 9
Published: 2021-03-04 10:45:14

It's been a really productive day! Wow, I finally got the chance to sit down all day and crank away at my section. I started off rendering my elements with static data first. Then, I realized that our api requests in our server were a jungle. I then learned how to properly chain promises without the temple of doom, but in doing so I realized that using Promise.all() could be a much better solution. I was thinking that since none of the api requests required data from each other, they didn't need to be chained and could all fire off at the same time. So Promise.all() comes in here to catch and gather all the data that comes back once the last request comes back. It even puts it all into an array exactly like what we had before! Now our code base is much cleaner and should theoretically runs faster. After that I got data to render dynamically to my section and implemented stars and bar visuals. I'm really happy with the progress I made today, I hope I can make just as much progress tomorrow!
I Made a Python Package! - py-everything
Tags: python, package, library, python3
Published: 2021-04-09 10:28:53

---
title: I Made a Python Package! - py-everything
published: true
date: 2021-03-04 10:22:10 UTC
tags: Python,package,library,Python3
canonical_url: https://pybash.hashnode.dev/py-everything-python-package
---

## What - A Python Package?

Alright, don't be upset, I know I didn't write for the past fortnight, but I am back. And this article is the reason, I couldn't write. I made a python package, Yes, you heard it right. I am still developing it. I released its first Stable release - v1.1.1, but there's still a lot left and they will come soon. I just wanted to keep you guys updated so, I am writing this. Maybe, in the future I'll let you know, when I complete it.

## But Why?

There's not really a "why?", here. It's just that I wanted, people could more easily. I know, Python is easy, but it could be easier. And that really, ends there.

## Can I use it? If yes, then how?

Of course, it is to be downloaded. It is made to be used. there are currently 3 three releases of the package released. But all except the latest one is broken. So I would suggest, you to use this command to install it -

```
$ pip install py-everything==1.1.1

```

## What is it? and What does it do?

So, here are the interesting bits. This package does not do anything in particular, just like it's name - py- **everything** , it does everything. At least it aims to. And I hope it does that. I want it to be a library that does everything,simple calculations, email bots, file encryption, using other libraries, everything. So, you will be thinking, but that would take me ages to make, and you are correct. So, why don't you help me. Yes, you can contribute to the package on github. And, one more thing, if you are using it now, you are on your own, since the documentation is still not finished. But, it will be soon. If you want to contribute, check the links below!

## The End

And, we've reached the end. Well, tell me your thoughts about this and any future article. Maybe, I could write one on how to publish a package on PyPI

### Stats

You can check the stats for this project here -

- [Libraries.io](https://libraries.io/pypi/py-everything)
- [PePy.tech](https://pepy.tech/project/py-everything?versions=1.0.2&versions=1.0.3&versions=1.1.0&versions=1.1.1)

### Links

GitHub Repository -

[https://github.com/play4Tutorials/py\_everything](https://github.com/play4Tutorials/py_everything)

PyPI Project -

[https://pypi.org/project/py-everything](https://pypi.org/project/py-everything)
Do!
Published: 2021-03-04 10:04:12

ACTION IS THE FUEL OF ALL PROGRESS

A man may be equipped with tonnes of theory. He may have the best of skills, the most positive attitudes and the strongest of beliefs.

But if he just sits on his butt with all these attributes, nothing is going to come out of it. Action is the basis of all success.

Every action may not give success but at the same time no success is possible without action.

"It's the action, not the fruit of the action, that's important. You have to do the right thing. It may not be in your power, may not be in your time, that there will be any fruit. But that doesn't mean you stop doing the right thing.

You may never know what results come from your action. But if you do nothing, there will be no result."

I respect the doer of small things who does something than the planner of lofty things who does nothing.

http://www.jaydwayne.com

#inspirationalthoughts #inspirationalposts #hardwork #hardworkpaysoff #action #motivational #actionableintelligence
#power #actitude #motivation #inspiration
Mongodb or sql
Tags: advice, beginners
Published: 2021-03-04 10:01:29

Hi, I've been learning web development on my own for quite a while now. I definitely need a lot of practice but right now I am just gathering tools to start my first project.
<strong>
I wanna learn a database but I am not able to choose between mongodb and SQL. 
</strong>
Up untill a few days back, I was learning node and express from Colt Steele's bootcamp but I got stuck at the mongodb part so I switched to SQL because my peers adviced me to do so, and soon after I started doubting myself. I have made some projects as well but those were just mere code alongs and I don't wanna impose fake knowledge on myself.
I am just confused, I wanna make a project to cheer my self up and your advice would mean a lot.

I just believe in fact that " Till you won't ask ans will always be a big fat NO. " 

Thanks for reading this.
Have a great day.
XSS Catcher – Blind XSS Detection Framework
Tags: security, xss, framework
Published: 2021-03-04 09:52:58

XSS Catcher is a simple application that facilitates blind Cross-Site Scripting attacks and attacks that aim to gather data (e.g. cookies, session/local storage, screenshots, etc.).

[Blind XSS Detection Framework](https://kali-linuxtr.net/xss-catcher-blind-xss-detection-framework)
Why Organizations Must Use API-Driven CIAM for Digital Agility

Tags: digitalagility, cybersecurity, api, ciam
Published: 2021-03-04 09:49:23

Digital agility is the easy way for any company, enabling or changing its business processes – to adapt to changing business needs. Organizations must invest in resilient business activities, consumer experience initiatives and technology to ensure successful digital transformation.

Read this article to know more:
https://www.loginradius.com/blog/start-with-identity/2021/02/digital-agility/
TypeScript: ensure your strings are in the right format
Tags: typescript
Published: 2021-03-04 09:28:30

Turns out TypeScript allows you to type your string formats... 

# Example #1

```typescript
type MyStringFormat = `${number} ${string} ${number}`;
const valid: MyStringFormat = "1 b 3"
const invalid: MyStringFormat = "a b c"
```

# Example #2

```typescript
type Unit = 'C' | 'F' | 'K'

type Temp = `${number} ${Unit}`;
const validTemp: Temp = "273 K" // 0 C, 31.73 F
const invalidTemp: Temp = "0 B" // 0C, 31.73F, 273K (no spaces)
```
React Image Gallery Slider
Tags: react
Published: 2021-03-04 08:51:48

Hi, Need Suggestions how to implement this type of gallery slider. including images/ videos with categories .

Please check the below reference . by clicking any image slider will open. 

https://housing.com/in/buy/projects/page/234311-ghr-titania-by-ghr-infra-in-kondapur?fltcnt=2e73884b-f2d9-422e-a637-a866592118b5
Improving the developer experience of Serverless
Tags: serverless, cloud, webdev, devjournal
Published: 2021-03-04 08:37:45

I used to work in Cloud, I used to work on a Functions-as-service product (Firebase Functions). Customers kept complaining about the same things:

- Deploy times are too long
- Cold starts are too slow
- Hard to debug
- Hard to mock

As a Cloud consultant for all three major clouds, I also heard customers complain in general about

- The unlimited risk of a big bill from Cloud providers.
- Opaqueness of operation

I have decided to try and fix all this with a niche Cloud product. 

1) It uses Observable browser-based notebooks as the programming environment, so no tools to set up and you can program from anywhere from any device (I like to use my phone in the bath :) ). 

2) A static function fetches handler source code from a notebook on demand. There is NO DEPLOY STEP.

3) Front end and backend can seamlessly share code, meaning you can test most of your business logic client-side.

4) Multi-tenancy fat function architecture with concurrency. Everybody shares the same runtime so less cold starts in aggregate.

I have not implemented billing yet, but I will offer a pay-as-you-go method so people who do not want to hand over a blank cheque to their infra provider can use this instead.

It's built on top of Google Cloud technology like Cloud Run. You get production level logging as I can grant conditional access to the real Google Cloud Logging Explorer.

Let me know what you think https://observablehq.com/@endpointservices/serverless-cells-quickstart It takes about 30 seconds to create a custom endpoint. Happy hacking!