teleren/devto huggingface dataset:
Using alternative data to provide credit score
Tags: machinelearning, ai, devops
Published: 2021-03-09 06:42:38

so where one person information is diverse and can be accessed via multiple channels,from techco data, bank transactions ,loan data ,behavioural data and social media data . All this processed into a structured format and make it available as an open API.
So early this year, I requested my credit score and rating , it came back with no information,after been charged 2700.However,in the last one year I have taken two loans and payed without default. In the absence of previous loan records or bank records, can we leverage on alternative data to provide credit score? Especially for the underbanked.
𝗜𝗻𝘁𝗲𝗴𝗿𝗮𝘁𝗲𝗱 𝗣𝗜𝗫𝗔𝗕𝗔𝗬 𝗜𝗺𝗮𝗴𝗲 𝗚𝗮𝗹𝗹𝗲𝗿𝘆 𝗔𝗣𝗜 𝗶𝗻 𝗥𝗲𝗮𝗰𝘁 𝗮𝗻𝗱 𝗧𝗮𝗶𝗹𝘄𝗶𝗻𝗱𝗖𝗦𝗦.
Tags: javascript, react, tailwindcss, github
Published: 2021-03-09 06:36:39

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vl02ioarxrtzrzyusyu1.png)

𝘍𝘰𝘳 𝘈𝘗𝘐 𝘒𝘦𝘺, 𝘠𝘰𝘶 𝘩𝘢𝘷𝘦 𝘵𝘰 𝘴𝘪𝘨𝘯𝘶𝘱 𝘪𝘯 𝘗𝘐𝘟𝘈𝘉𝘈𝘠 𝘢𝘯𝘥 𝘤𝘳𝘦𝘢𝘵𝘦 𝘢𝘤𝘤𝘰𝘶𝘯𝘵 𝘢𝘧𝘵𝘦𝘳 𝘵𝘩𝘢𝘵 𝘺𝘰𝘶 𝘩𝘢𝘷𝘦 𝘵𝘰 𝘶𝘴𝘦 𝘺𝘰𝘶𝘳 𝘬𝘦𝘺 𝘪𝘯 𝘈𝘗𝘗.𝘫𝘴 𝘍𝘪𝘭𝘦 𝘢𝘴 𝘐 𝘮𝘦𝘯𝘵𝘪𝘰𝘯𝘦𝘥.

🅽🅾🆃🅴 : For more Information, Please read the README.md from the Github of the provided link.
𝗪𝗼𝗿𝗸𝗶𝗻𝗴 𝗟𝗶𝗻𝗸 : 𝗵𝘁𝘁𝗽://𝗴.𝗿𝗲𝗰𝗼𝗿𝗱𝗶𝘁.𝗰𝗼/𝟱𝗡𝗤𝟱𝗥𝗺𝟮𝗠𝗚𝗥.𝗴𝗶𝗳

You can check direct implementation on my github profile and download the code for better understanding.
𝐋𝐢𝐧𝐤: 𝐡𝐭𝐭𝐩𝐬://𝐠𝐢𝐭𝐡𝐮𝐛.𝐜𝐨𝐦/𝐚𝐝𝐧𝐚𝐧𝐚𝐬𝐥𝐚𝐦𝐠𝐢𝐭/𝐏𝐢𝐱𝐚𝐛𝐚𝐲-𝐈𝐦𝐚𝐠𝐞-𝐆𝐚𝐥𝐥𝐞𝐫𝐲

Cheers
@adnanaslam
Best Websites to find what technology the website is using
Tags: firstpost, finder, technology, bestwebsite
Published: 2021-03-09 06:35:17

#####Have you ever been in a situation, where you need to find what tech the website is using to follow it?

&nbsp;
## Here are the 2 websites which i use to find the tech the website is using
&nbsp;

###1. [What Cms](https://whatcms.org)
&nbsp;
![](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/57ikcv0tos1qnsv6qkdl.png)
&nbsp;
This Website finds What Content Management system the website use or what hosting provider the website use or if the website use WordPress or Shopify, this can find the theme the website is using.
&nbsp;
&nbsp;
###2. [W3 Techs](https://w3techs.com/sites)

![](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h4fmte66dx8d7zs1gow8.png)
&nbsp;
This website gives information from the language used in the website and it is very useful when the website is not a CMS website.

If you like this post make sure to hit the heart button, if you have any doubts about this post make sure to comment down the question
Dynamic JavaScript Object Keys
Tags: javascript, programming, tech, jsx
Published: 2021-03-09 06:32:52

Excuse the barrage of doggos in the banner image. I searched for a stock image on [unsplash](https://unsplash.com/) for "Puppies with different colors being named by their mom". I do search in the tackiest of ways 😃

I hope they brighten your time also.

Recently, I found a 'funny' JS syntax when reviewing a pull request by [Sigo](https://twitter.com/6igo_cross), a colleague. I hadn't used it previously. It looks like this:
```javascript
const dataFromAPI = 'age';

let existingObject = {
  name: 'John',
  [dataFromAPI]: 25
};

// Output {age: 25, name: "John"}
```
Amazing!

I looked up variables in object keys and decided to share it with you.

####Keys and Values in Objects
In JavaScript, object keys and values are created in numerous ways either in object literals during initialization, or assignment using dot or bracket notation.

```javascript
// Creating an object literal with keys and values
let newObject = {
  name: 'Jane',
  age: 24
};

// Adding a new key - bracket notation
newObject["location"] = "Peru"

// Adding a new key - Dot notation
newObject.height = '1.95m'

// Output {age: 24, height: "1.95m", location: "peru", name: "Jane"}
```
This is pretty much standard stuff. For values of keys, we are able to assign results from complex computation operations as a value. For keys, we can do something similar and even run the computation in the key.

####Dynamic Object Keys
A way to handle dynamic keys in objects prior to ES6 is to do something like:

```javascript
let newObject = {
  name: 'Jane',
  age: 24
};

const newData = "location";

newObject[newData] = "Nicaragua"

// Output {age: "24", location: "Nicaragua", name: "Jane"}
```

A shorthand form introduced in ES6 using brackets lets us assign the variable in the object literal directly like this:

```javascript
const newData = "location";

let newObject = {
  name: 'Jane',
  age: 24,
  [newData]: "Nicaragua"
};

// Output {age: "24", location: "Nicaragua", name: "Jane"}
```

While this shorthand form is proffering cleaner code, this scenario applies in multiple cases, where existing data (object) is augmented with data from a different source with a dynamic key.

Moving on to computed keys, the value of object keys can be computed directly in the object literal using the same bracket notation in the literal.

```javascript
const newData = "lottery";
const didUserWin = true;

let newObject = {
  name: 'Doug',
  age: 42,
  [newData + (didUserWin ? 'Winner': 'Loser')]: "Assign any value or data here"
};

// Output {age: "24", lotteryWinner: "Assign any value or data here", name: "Doug"}
```

This illustration also shows the use of conditions in the form of ternary operators.

This post is mainly to show the dynamism of both Object keys and values.

[Let me know](https://twitter.com/iChuloo) if you have any feedback using this.

Here's to becoming better 🥂

William.

This article was originally published on [Hackmamba](https://hackmamba.io/blog/2020/11/dynamic-javascript-object-keys/)
Nevertheless, Kavisha's Coding Continues! 👩‍💻
Tags: wecoded
Published: 2021-03-09 06:31:41

                      Happy International Women's Day! 

## How did this start?

Two years ago, I wanted to study graphic designing but my mother directed me to do software engineering while doing my A/Ls in the physical science stream. Yet my life has changed due to my parents' decision. 

But now I have finally agreed with this decision because the best stream I like was information technology. I should very thankful for them. ❤


## My first contribution to open source

However, I started studying basic software engineering but was unable to contribute to open source.


![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i639u9kybrujdq99xsp0.jpg)
 

In 2019 I was able to learn about HacktoberFest. I tried to do it but was disappointed that I couldn't finish it successfully and decided to do it next year somehow. 

I was also worried that I would not be able to do it in 2020 because the A / L was delayed. But I was able to finish it successfully somehow 🥳. I can't wait for my gift for my first HacktoberFest contribution. Hope it'll come soon.

## Other Achievements 

* Participating Sri Lanka Robotic Challenging 2018 (SLRC 2018) which was organized by the Electronic Club of University of Moratuwa 

* Participating SLIIT ROBOFEST 2019, the Annual RObotic Compitition organized by the Faculty of Engineering of Sri Lanka Institute of Information Technology  

## I continue to code because...

It has a blend of the multitude of things I like creative mind, basic reasoning, innovation, social cooperation, learning, and normal difficulties.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wf4i6uwq9rga1pp16a67.jpg)


## My advice for allies to support underrepresented folks who code is...

My message to you is to ensure that everybody gets their voice heard in positive conditions.


### Happy Coding! 👩‍💻
How to create RPA with Perl?
Tags: perl, rpa, cpan
Published: 2021-03-09 06:20:03

How to create RPA with Perl?

The answer is using tow CPAN modules.


Win32::GuiTest - Move mouse and click and input keys

https://metacpan.org/pod/Win32::GuiTest


Win32::Clipbord - Copy and paste Text

https://metacpan.org/pod/Win32::Clipboard

Do you believe Perl is old and non-useful?

With a little knowledge, you can create RPA with Perl.

Enjoy!
React Native error Text strings must be rendered within a <Text> component (Solution)
Tags: react, redux, reactnative
Published: 2021-03-09 06:17:45

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4wm0q3hhkpqqkeuleshh.PNG)
so the error is "Text strings must be rendered within a <Text> component"
.
I have done everything well but my virtual device and terminal show me:
 Text strings must be rendered within a <Text> component 
error.
 .
in this case, I was trying to find out what I did wrong actually. after some time I got wrong what actually I did.
.
 it occurred because I made a comment in a render function. which is like the below screen-shot:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zkgg3urq9usyk2riqx6z.PNG)
to solve this error I remove this comment from the render function  which is like the below screen-shot:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v8u94mikn2bp9aweklwm.PNG)
and then it's working nicely: 
and here is my output both terminal and virtual device:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/heoznk4oujsmhouyowrm.PNG)
Now the problem is solved.
 but I have more curiosity why I can't write any comment in render function to clarify this, I tried to another way. which is like the below screen-shot: 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tghnele6tltjiqujm6v2.PNG)
now I can able to write a comment to render a function like this method. 
.
now it time to try another method and it's not working which is like the below screen-shot:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/icj49gp8gb598n2ajnf0.PNG)
.
so finally I understand that either I should not write any comment in a render function
.
 or 
I have to comment like the below procedure:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1y98t47jeauzsl7u3nv4.PNG)
.
the problem is solved and understand more clearly why it happens and how to solve this.
thats it.
.
Happy Coding.
osman forhad
Mobile & Web Application Developer💻
Few advantages of React Native are?
Tags: reactnative, frameworks, questions, answers
Published: 2021-03-09 06:07:10

Some of the advantages of React Native are that it is quite easy to develop mobile applications with the help of this. It has strong development tools the error messages are meaningful as well. Other benefits or advantages of React Native include the code reusability feature and knowledge feature. 

1. Need to write only a single time but can be used everywhere
2. It focuses entirely on the user interface. That is to say, it is greatly responsive as well.
3. The Development Time in <a href="https://www.courseya.com/react-native-interview-questions/">ReactNative</a> is quite beneficial for developers to work.
4. React Native immensely renders support for third-party libraries.
5. React Native uses the programming language - Javascript. It is quite popular and used widely.
Underrated Articles on Dev.to from Last Week
Tags: top7, webdev, bestofdev, meta
Published: 2021-03-09 06:06:02

Hello! I'm back with another installment of underrated articles from last week! 😋

Let's check them out 🔥 -

## 1. Recommended Books 📖 for Beginners 

Reading good books is one of the best ways to learn and grow, as a software developer. In this article, Tanaka lists Eleven books that every new software developer MUST read. 
{% link https://dev.to/tanakamutakwa/books-every-new-software-developer-should-read-4lan %}

## 2. Website Monitoring Tools Guide 👨‍💻
The term “Website Monitoring” refers to the activity that checks the availability, performance, and function of a website. Konstantin mentions the tools 🛠 which will provide comprehensive information about the website and other valuable data.
{% link https://dev.to/bogkonstantin/guide-for-website-monitoring-12-tools-i-use-30ae %}

## 3. Framework for Carousel 🎠
Carousels are pretty tricky components. If done right tho, they can enhance the beauty of a website by 100 folds! however, if not, they can prove to be daunting. In this article, Jaagrav walks you through the steps to use the react frameworks made by him. 
{% link https://dev.to/jaagrav/create-beautiful-carousels-or-image-sliders-on-react-with-this-framework-4hm1 %}

## 4. Web Accessibility Interview Questions 👨‍🔧
Neha pens down interview questions that are frequently asked about web accessibility.   
{% link https://dev.to/hellonehha/interview-questions-on-web-accessibility-part-2-3ch9 %}

## 5. Introduction of Javascript Variables 🈸
There are only two hard things in Computer Science: cache invalidation and naming things. Gladly we have this article by Kieran to save you from the latter 😏

{% link https://dev.to/kieran6roberts/a-nice-introduction-to-javascript-variables-40gd %}

---
*That's all for this week. These were my personal favorite underrated posts from last week. I hope you liked them! Tell me about your favorite posts that went underrated down in the comments below!* ❤️
7 Short Tips to Growth as a Developer
Tags: codenewbie, javascript, programming, productivity
Published: 2021-03-09 05:56:34

I would be talking shortly on growth tips for developers, so let's get started!

-  Do Not Copy and Paste (CTRL C + V)

Type the code your self, it makes a huge difference! When you are getting started you need to be comfortable with code.
The way you can do it is by -you guessed- typing more code! : )
Do not copy and paste
![Alt Text](https://media.giphy.com/media/rj3s3QyQWjGX6/giphy.gif "height" = "30")



-  Start Sending Your Resume Before You Are Ready

Do not say am not ready, let the market decide if you are or not.
By sending resume and going to interviews, you would realize how much skills and market need, so you can practice more on what's necessary
![alt text](https://media.giphy.com/media/3o6Mbfsf4DI4Cds5Ms/giphy.gif)

-  Soft Skills Are As Important As Technical Skills

It doesn't matter how good you are at coding if you can't present yourself well.
Learn how to write a better resume, market your self and communicate with others.
![alt text](https://media.giphy.com/media/OR2vyWHBcm9Us/giphy.gif)


-  Work on Your App or Website

You need experience to get a job but you need a job to have experience.
So what should you do?
Create your own app or website for a hypothetical customer and show off your skill.
![alt text](https://media.giphy.com/media/KcDreBsNBhGVrXYWAr/giphy.gif)

-  High Salary vs High Learning Opportunity

Do not choose your first job based on how much you would be paid.
Choose a position where you can learn the most, the money would come later.
Sometimes a low paying internship is worth more than a position with a good a salary.
![alt text](https://media.giphy.com/media/Q8rwlNTcDAU3MuUzd7/giphy.gif)

-  Be Patient Mastery Takes Time

It takes about 10, 000 hours to maser a skill (Malcom Gladwell, the 10,000 hours' rule).
So just relax and keep coding, you'll get there! : )
![alt text](https://media.giphy.com/media/iJnAmG5Y4klYIRl0oF/giphy.gif)

 -  Learn to Ask Better Questions

"If you want to the right answer ask the right question"
If you can't find your answer on the internet, check if you are really asking the right questions and if it so...asked an experience person.
![alt text](https://media.giphy.com/media/EijsQdawZkiqY/giphy.gif)


Please kindly comment below for feedback and you can a link up with me at [Twitter](https://twitter.com/chryz_codez) and on this platform also for more engagement and interaction! :)
I will talk about Perl positively.
Tags: perl, python, javascript
Published: 2021-03-09 05:51:46

I will talk about Perl positively.

Looking at the Dev Community greeting comments, it was full of talk about Python and JavaScript libraries.

Yung people aren't interest about Perl?

Perl may be a minority, but I'll talk positively about Perl in the face of difficulties and prejudice.
TIL Godot Smooth Scrolling
Tags: todayilearned, gamedev, godot, hardway
Published: 2021-03-09 05:45:12

2021-03-08

*Did you know you can copy/paste images directly in dev.to posts!*

I'm building a game tool in Godot and I noticed that middle-mouse scrolling my text in the app and editor had choppy performance. However, if I used the scroll bar directly, the scrolling was as smooth as butter. What's going on here?

I dug into my TextEdit node and found this...
![Smooth Scrolling option and tooltip](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8ps7n5fb9kozorqnu0ch.png)
When I turned it off, the middle-mouse scrolling was smooth. What gives?

I did a quick issue search and found this [pull request](https://github.com/godotengine/godot/pull/42704). Fortunately, it put me on the right track. 

I reduced the Project's Physics Fps since I don't need a Physics engine running. However, it turns out I incorrectly assumed what Physics means in Godot. Physics goes beyond just rigid body simulation and collision detection. Nodes can use the Physics process to perform other calculations like determining scrolling position. In this case, the TextEdit node used the delta time of the Physics process and since I reduced the Fps, this led to bigger deltas and choppiness.

```python
if (scrolling) {
	if (get_value() != target_scroll) {
		double target = target_scroll - get_value();
		double dist = sqrt(target * target);
		double vel = ((target / dist) * 500) * get_physics_process_delta_time();

		if (Math::abs(vel) >= dist) {
			set_value(target_scroll);
			scrolling = false;
			set_physics_process_internal(false);
		} else {
			set_value(get_value() + vel);
		}
```
Also see: https://docs.godotengine.org/en/stable/classes/class_node.html#class-node-method-physics-process
How To Generate Strong Passwords Using Python
Tags: python, programming, beginners, security
Published: 2021-03-09 05:32:24

How many times have you gone to a site been asked to create an account and they need a password which is both a combination of letters both lower and upper, special keys and numbers. Am sure its several times. Have you been able to do that? or you do use the suggested passwords.

Do you even go a step further and try to think how the suggested passwords are generated, For sometime I wondered too 🤔, but after some research I figured out how. Now I need you to figure it too.

Well its time we change that, what if you could write a code that could generate the passwords you need at once. Won't that be great. Well in this Article am going to show you how you can do that using python.

### Steps To Create Password Generator  
1. Make sure you have a code editor and python installed in your computer.(preferred pycharm)
1. Open PyCharm, Click file->New Project. and specify the file or folder location for your work.
1. In your folder you just created, you will need to create a python file.
Right Click on folder-> New-> Select python file. Give it a name 
1. Start Coding;  

Below is a Code snippet:
```python
import string
import random

passwrd = string.ascii_letters+string.digits+string.punctuation

numPass = int(input("How many passwords do you need to be generated? "))
length = int(input("Enter the length of the password(s): "))
```

Full Code Link: [Here](https://github.com/larymak/Python-project-Scripts/tree/main/RandomPassword)

Check Out Video Tutorial: 
[![How to Create a Random Password Generator Using Python](https://res.cloudinary.com/marcomontalbano/image/upload/v1615269271/video_to_markdown/images/youtube--I3h9FQJeB1w-c05b58ac6eb4c4700831b2b3070cd403.jpg)](https://www.youtube.com/watch?v=I3h9FQJeB1w "How to Create a Random Password Generator Using Python")


If You have read this far I really appreciate, Help me to grow my community:  

Check out my other Blogs too:  
- [Key Differences Between A Website and Web Application](https://larymak.hashnode.dev/key-differences-between-a-website-and-web-application)
- [How To Master Google Search like A PRO](https://larymak.hashnode.dev/how-to-master-google-search-like-a-pro)


Connect With me at [Twitter](https://twitter.com/larymak1) | [Insta](https://www.instagram.com/nextgencoders/) | [YouTube](https://www.youtube.com/channel/UCrT1ARRZfLOuf6nc_97eXEg) | [LinkedIn](https://www.linkedin.com/in/hillary-nyakundi-3a64b11ab/)  | [GitHub](https://github.com/larymak)

Do share your valuable opinion, I appreciate your honest feedback!    

Enjoy Coding ❤
Car Wash Dubai
Published: 2021-03-09 05:28:01

Now that you have a car , thoughts of car repair, car wash ,car service, or even choosing a one stop place for car maintenance, are probably giving you a headache. At Carcility, we  sought to bring you the best car maintenance services you can afford in town. We are at the forefront to make your car repairing most economical. Choose from every garages in town & connect with professional car servicing through Carcility !!
Antlr4 parser generator Java tips
Tags: java, antlr, antlr4
Published: 2021-03-09 05:09:31

I'm new to Antlr(and any other parser generators;_;), so it took me a while to get familiar with the parser, lexer and visitor. Here I note down some tips that might be helpful in the future.

* **Avoid multiple lexer rules that match the exact same pattern**, otherwise one of them will be never matched. In my parser, there are two nodes and a weight, where all of them are numbers, but I thought since they are different elements, I should use different lexer rules for each of them, like the following:
```
tuple
	: nodefrom weight nodeto
	;
nodefrom: [0-9]+;
weight: [0-9]+;
nodeto: [0-9]+;
```
And this is causing mismatching. To avoid this, it's better to use only one Lexer rule for Integers:
```
tuple
	: nodefrom weight nodeto
	;
nodefrom: INT;
weight: INT;
nodeto: INT;
INT: [0-9]+;
```

* Because there might be several operations involved in the grammar, so we need to add tags(#operator) for each one, which leads to a separate visitor function. 
For example,
```
expr
    : expr '*'         #aster
    | expr '.' expr    #concate 
    | expr '+' expr    #plus
    | tuple            #tup
    | '(' expr ')'     #parens
    ;
```
This is part of my parser, which uses 3 operations, star, concatenation, and plus. With #aster, #concate and #or, it'll generate interfaces visitAster(), visitConcate() and visitPlus(), and then we can implement these operations separately. If we don't create these tags, there will be only one interface created, which is visitExpr().

* When implementing the methods for visitor class, we only need to focus on **those ones that are related to the values we want to compute when traversing the parse tree**. For example, in my parse tree, each node is a tuple 
*(Node1, Weight_1, Weight_2, Node2)*, and there are visit methods for each value. If the visitor I create only requires Weight_1 for computation, then I need to implement visitWeight_1() specifically.

* I found this visitor class is really convenient, **where it generates a method for each parse rule automatically, and you can get the value of one node simply by ctx.ValueName()**. So when I write the code for visitor methods, I always run *grun Calc prog -gui calc.txt* to open a visualized parse tree, and check the relationship between those nodes.
![A part of one parse tree](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oogt3k50u1i5uxldskpc.png)
This is part of the parse tree I'm using. There are 6 elements in **tuple**, *(nodef, wc, wd, nodet)*(including parentheses). So if right now I want to get the value of *wc* in the function *visitTuple(Parser.TupleContext ctx)*, I can write something like *ctx.wc()*.

Still working...