teleren/devto huggingface dataset:
What's hindering React Native now?
Tags: reactnative, react, mobile
Published: 2022-07-13 12:46:00

I *really* like developing mobile applications with React Native, but I wasn't seeing much evidence of widespread adoption. This made me wonder, "Why isn't React Native more popular?"

This question led me to research the main obstacles to React Native's widespread adoption. After reviewing a few articles, I noticed a few common themes among complaints by both developers and teams. 

Please note that the following list of themes is based on articles written between 2017 and 2018. Also, this list is not meant to be an exhaustive list of React Native's shortcomings. 

<u>What are common concerns about using React Native?</u>

1. Knowledge of 3 platforms is sometimes required to implement custom features.
2. Heavy investment in bridging infrastructure may be necessary to implement custom features.
3. The animations and gestures tend to be non-performant.
4. Implementing in-app navigation isn't easy.
5. There tends to be a slow initialisation and first-render time.
6. There is a lack of parallel threading or multiprocessing support.
7. It can be difficult to debug errors because stack traces don't jump between React Native and native.
8. JavaScript is untyped.
9. React Native apps can have trouble rendering long lists performantly.
10. Android bundle size can be large.

If you've been developing with React Native recently you may have noticed that there have been major developments in more than one of these areas. 

For example, [Software Mansion](https://swmansion.com/) has made significant contributions to animations and gesture-handling with their `react-native-reanimated` and `react-native-gesture-handler` packages. 

More recently, Shopify have taken a stab at the issue of rendering long lists performantly by open-sourcing their [flash-list package](https://github.com/Shopify/flash-list).  

The questions I have for the broader mobile development community are:

1. Out of the 10 concerns highlighted above, how many do you believe are still valid?

2. What do you believe are the top **technical** reasons preventing teams or companies from adopting React Native for mobile app development today?

If you liked this article, then please [support me] (https://www.buymeacoffee.com/hmcodes)

<u>Sources</u>

https://medium.com/airbnb-engineering/react-native-at-airbnb-f95aa460be1c

https://medium.com/airbnb-engineering/react-native-at-airbnb-the-technology-dafd0b43838

https://medium.com/airbnb-engineering/building-a-cross-platform-mobile-team-3e1837b40a88

https://medium.com/airbnb-engineering/sunsetting-react-native-1868ba28e30a

https://www.simform.com/blog/react-native-limitations-app-development/

https://www.theregister.com/2020/01/30/shopify_shifts_its_mobile_development_to_react_native/
Cuber: a Capistrano alternative for deploying Rails applications on Kubernetes
Tags: rails, devops, kubernetes
Published: 2022-07-13 12:34:40

[Cuber](https://github.com/cuber-cloud/cuber-gem) is an automation and deployment tool written in Ruby: it is similar to Capistrano, but it deploys on Kubernetes, so you don’t need to configure all the servers and it’s more scalable.

Basically you can deploy your application by defining a `Cuberfile` (a few lines of Ruby code, like a Capfile for Capistrano) and then typing `cuber deploy` in your terminal.

Cuber has been designed for monolithic Rails applications, but it can actually deploy any application, in any language and framework.

It has all the features needed to run an application in production.

Here’s an example `Cuberfile` that you can use to deploy any Rails app on Kubernetes:

```ruby
app 'myapp'
repo '.'
buildpacks 'heroku/buildpacks:20'
image 'username/myapp'
dockerconfig 'dockerconfig.json'
kubeconfig 'kubeconfig.yml'
migrate 'rails db:migrate', check: 'rake db:abort_if_pending_migrations'
proc :web, 'bundle exec puma', scale: 3
proc :worker, 'bundle exec sidekiq', scale: 2
cron :mytask, '@daily', 'rake mytask'
env 'RAILS_ENV', 'production'
env 'RAILS_LOG_TO_STDOUT', 'enabled'
env 'RAILS_SERVE_STATIC_FILES', 'enabled'
env 'RAILS_MASTER_KEY', File.read('config/credentials/production.key').strip, secret: true
```

That's it. Save that file in a directory (usually your application root), type `cuber deploy` and let the magic happen.

There is also lot of information and technical documentation on [the project website](https://cuber.cloud).

Finally note that Kubernetes can be 80% cheaper than Heroku or other PaaS, because it is bare infrastructure. Kubernetes is also offered by most cloud providers, and thus you avoid lock-in with a single service provider.
Simply Export MBOX Emails to PST Outlook
Tags: programming, discuss, design
Published: 2022-07-13 12:26:49

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x7ltt2lhxhfz1djhddyf.png)
 
Users are recommended to try a professional **CubexSoft [MBOX to PST Converter](https://www.cubexsoft.com/mbox/pst.html)** to convert MBOX emails to PST file format along with attachments. It can risk-free and efficiently export multiple MBOX emails to PST file format within a single time process. An advanced MBOX to PST Converter Tool also directly imports emails from MBOX to Outlook with technical or without technical skills. So that is why all types of users can perform this software. Free demo version is also available to test the working efficiency free of cost.
Read More: [MBOX Converter](https://www.cubexsoft.com/mbox/)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8p9vcvmmiti1m3za1ijs.png)
Add vector emojis to your websites
Tags: javascript, webdev, programming, css
Published: 2022-07-13 12:20:44

Using [Emoji cloud](https://alohe.github.io/emojicloud) you can to add 300+ custom vector emojis to your projects in seconds

<iframe width="424" height="238" src="https://www.youtube.com/embed/AcEZ_bgRhpI" title="Emoji cloud 2.0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

### 🌐 Include the CSS file via CDN
Add the following code right before the closing `</head>` tag

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/alohe/emojicloud/emojicloud.css" />
```

That's it, you can now start adding SVG emojis on your web page
```html
<h1><i class="emoji-unicorn"></i></h1>
<h2><i class="emoji-unicorn"></i></h2>
<h3><i class="emoji-unicorn"></i></h3>
<h4><i class="emoji-unicorn"></i></h4>
<h5><i class="emoji-unicorn"></i></h5>
<h6><i class="emoji-unicorn"></i></h6>
```

![emoji cloud demo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ok9dyf6kz9gytr3315ze.gif)

You can find a complete list of the emojis [here](https://alohe.github.io/emojicloud/cheatsheet.html)

![emoji cloud cheetsheet](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7pfjhi6iqvgo5120zb3i.png)

See it in action on [codepen](https://codepen.io/alohe/pen/jOzWdbY)

let me know if you have any questions or feedback
I made some algorithms that generate ambient focus music for you in real-time. Perfect for programming!
Tags: javascript, webdev, productivity, showdev
Published: 2022-07-13 12:20:40

Hey everyone,

[Flowful](https://flowful.app) is a collection of ambient music generators designed to fade into the background while you work.

I made Flowful out of frustration with ambient music playlists on streaming platforms either skewing my recommendations, or launching me into something very distracting once the playlist is finished.

The music is procedurally generated real time in your browser using Javascript by piecing together a bunch of custom-recorded samples.

Its free to try without an account, and the premium tracks rotate to become free on a weekly basis, meaning if you wait long enough, all the tracks would have had their turn on the free week.

There are currently around 20 tracks (not including the combinations) and I plan on adding one or two new tracks each week (or whenever inspiration strikes).

Most of the track art is made by DALL-E 2.

Any and all feedback is very appreciated! :)
How to escape the impostor syndrome
Tags: discuss, productivity, webdev, career
Published: 2022-07-13 12:19:48

So I got this job and boom everyone in the company is superman/superwoman. And I'm here feeling useless. Woah great, wait how did I get here in the first place. I mean I used to think I'm an exceptional developer now what's going on here?.

Hmm, lemme see aha there's a name for this the **impostor syndrome**.
According to some definitions on google 

> Imposer syndrome is loosely defined as doubting your abilities and feeling like a fraud. It disproportionately affects high-achieving people, who find it difficult to accept their accomplishments...

Great so I wouldn't want to be saying much here. So the question how can I escape the impostor syndrome?

**Take jobs/roles that match your skill level**
yeah, I said that. I've read posts on social media encouraging people to take up roles and then study later to fulfill them and I'm like our we being real right now.
The complexity of tasks differs and while it can be relatively easy to switch from one java-script package to another it might be extremely difficult for you to switch to a new language (not the same for everyone though).
You must understand and acknowledge your strengths and weakness before jumping into a role.

**Earn your way into a job/role**
Skipping corners can be dangerous yeah. But if you take the necessary steps to earn a Job then yeah you can be confident that you're surely good enough for the organization otherwise the organization needs to a total restructure its hiring process.

**Talk with new teammates**
When you find yourself in a new organization talk to people around you. create a friendly atmosphere for yourself. ask them how they felt during their first few months working in the company, what challenges they faced and how did they overcome them. You can also ask for new entry advice from them. simple Love your HR as well lol.

**Talk with other professionals**
The beautiful thing about being a software developer is there's a big pool of connections. simple it's open-source lol. Talk to others about your situation and hear them out.

**Always study and stay updated on the latest in your space**
Software development is an ever-increasing space. Something can easily be obsolete or deprecated. It is your responsibility to always follow up on the latest trends and make adjustments to your knowledge as deemed fit. 

There'll be moments in your career where you'll feel low. Especially when taking a new role. Everyone has been there at some point. Take a deep breath you are smart and you are surely good enough to be where you are. It takes time to settle into a new environment and you are just going through a phase. You earned it and you deserve it. Shine superstar

SO tell me what's your advice and contribution toward the impostor syndrome?

you can connect with me on [linkedin ](https://www.linkedin.com/in/princewhyte2)
[twitter](https://twitter.com/princewhyte02)

thanks for reading
Breaking down the data - Sitecore community around the world!
Tags: devrel, community
Published: 2022-07-13 11:57:49

Every now and then, I start pulling together data to look at what's happening in our community and what topics are trending, and this week I happened to be looking at some data around where Sitecorians find themselves in the world!

## Community Forums

Let's look at the data for this site itself, with members from all over the world with different types of roles. Northern America leads the way, but Southern Asia is not far behind! The various regions of Europe add up to about 26% of the overall as well. I have some good Sitecore community friends in South America in that 1% (hello SUG Brazil!).

![Pie chart - Community Portal Audience by Subcontinent. Subcontinent data breakdown shows: Northern America 31%, Southern Asia 23%, Northern Europe 10%, Western Europe 8%, Eastern Europe 5%, Southeast Asia 6%, Australasia 5%, Eastern Asia 4%, Southern Europe 3%, Western Asia 2%, South America 1%, Other 2%](https://community.sitecore.com/4499982f1b60d910722d4042b24bcb94.iix)

## Developer Portal

As a leader for Developer Relations, I wanted to see if this was true for our developer audience as well, so I looked at the data for the [Developer Portal](https://developers.sitecore.com). The distribution was really similar, though with some minor differences in percentages. Southern Asia sits at 22% instead of 23% and the European subcontinents now add up to 28%. All in all, though, it seems our developer audience distribution matches pretty well with our community forums distribution.

![Pie chart - Developer Portal Audience by Subcontinent. Subcontinent data breakdown shows: Northern America 31%, Southern Asia 22%, Northern Europe 10%, Western Europe 9%, Eastern Europe 5%, Southeast Asia 5%, Australasia 4%, Eastern Asia 4%, Southern Europe 3%, Western Asia 3%, South America 1%, Other 2%](https://community.sitecore.com/003a1c6f1b60d910722d4042b24bcbca.iix) 

I hope you found this type of thing interesting, I always do! If you are wondering where you fall into these subcontinents, these are pulled from Google Analytics, so they match to their subcontinent definitions. You can check the mapping of countries to subcontinents in the Google developer docs: https://developers.google.com/chart/interactive/docs/gallery/geochart#continent-hierarchy-and-codes
What's your current tech stack ? 🛠
Tags: discuss, tutorial, productivity, career
Published: 2022-07-13 11:53:21

**Tech Stack** or also known as **solution stack** is a set of software or components needed to create a complete platform such that no additional software is needed to support applications - _Wikipedia_

#### 🤩 What's your current tech stack ?

📢 Let everyone know.. Comment below!

😎 I'll go first..

- Flutter
- Google Cloud
- GitHub
- Firebase
- Docker
- Kubernetes
Create a class name with variable and Use Constructors to Assign the value creating an object of the class Student.
Tags: oops, python, javascript, beginners
Published: 2022-07-13 11:50:24

Hey Everyone ,

Here we solved the python oops problem. About we can read the question . there is some step which we have to follow below-

## **What we do first- **

- We create a class name - That is **Student**

- Then we use two variable -One is string that is **name** and another is integer that is **roll_no**

- Then Use the Constructors for assign the value- That is **2** and **"John"**

## Solution

```
class Student:
       def __init__(self, name, roll_no):
              self.name = name
              self.roll_no = roll_no
Student1= Student("john", 2)
print(Student1.name)
print(Student1.roll_no)

```

**_I hope it helps you to solve your query .if you like it do one think follow me for more algo ,python oops updates_**

**Read More Article Here -https://codersvillage.co**m/

Thank you Everyone 
Shivani
Understanding Previous Block Hash and Timestamp Components in a Blockchain ⛓️
Tags: 100daysofcode, blockchain, codenewbie, programming
Published: 2022-07-13 11:48:56

In this video, we will learn about the blockchain and dive right into the block structure. We will understand what all components constitute the block header and the block body. Then we will understand the two main components of the blockchain framework like the previous block hash which is one of the most important components because it is this which helps us to link different blocks in the blockchain and secondly the timestamp which denotes when a particular block gets made and added to the blockchain. 

{% youtube J9jAtwvcgvw %}

🐱‍💻 🐱‍💻 Course Links:
Complete Code - https://github.com/The-Nerdy-Dev
Visual Studio Code - https://code.visualstudio.com
Git - https://git-scm.com/downloads

--- 
Support my channel:
💜 Join the Discord community 👨‍👩‍👧‍👦: https://discord.gg/fgbtN2a 
💜 One time donations via PayPal
Thank you! 🙏

---
Follow me on:
👉 Twitter: https://twitter.com/The_Nerdy_Dev
👉 Instagram: https://instagram.com/thenerdydev
👉 My Blog: https://the-nerdy-dev.com
Is ML powerful to predict lottery numbers on pancakeswap?
Published: 2022-07-13 07:55:21


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

_Can I see the strength of ML, is it possible to predict pancakeswap lottery numbers using ML?_

As a full stack blockchain developer, I have more than 5 years experience. So it's a piece of cake to fetch the lottery data.
Here is the script I used for the fetching the history of pancakeswap lottery.

```
const ethers = require('ethers')
const reader = require('xlsx')
const abi = require('./abi.json') // Lottery
const mcAbi = require('./multicall.json')
const file = reader.readFile('./lottery.xlsx')

const address = "0x5aF6D33DE2ccEC94efb1bDF8f92Bd58085432d2c"
const mcAddress = "0xfF6FD90A470Aaa0c1B8A54681746b07AcdFedc9B"
const rpc = "https://bsc-dataseed.binance.org"
const provider = new ethers.providers.JsonRpcProvider(rpc)

const mcContract = new ethers.Contract(
    mcAddress,
    mcAbi,
    provider
)

const fetch = async () => {
    const itf = new ethers.utils.Interface(abi);
    const calldata = [];

    for (let index = 1; index < 593; index++) {
        calldata.push({
            target: address.toLowerCase(),
            callData: itf.encodeFunctionData('viewLottery', [index])
        })
    }

    const { returnData } = await mcContract.aggregate(calldata)

    const res = returnData.map((call, i) => {
        const result = itf.decodeFunctionResult('viewLottery', call)
        const finalNumber = result[0].finalNumber.toString();
        const date = new Date(Number(result[0].endTime.toString()) * 1000)

        return {
            timestamp: result[0].endTime.toString(),
            year: date.getFullYear(),
            month: date.getMonth() + 1,
            day: date.getDate(),
            hour: date.getHours(),
            minute: date.getMinutes(),
            second: date.getSeconds(),
            'number 1': finalNumber[6],
            'number 2': finalNumber[5],
            'number 3': finalNumber[4],
            'number 4': finalNumber[3],
            'number 5': finalNumber[2],
            'number 6': finalNumber[1]
        }
    })

    const ws = reader.utils.json_to_sheet(res);
    reader.utils.book_append_sheet(file, ws, "Sheet2")
    reader.writeFile(file, './lottery.xlsx')
}

fetch();
```
I was wondered that pancakeswap start the lottery every 12 ~ 36 hours and every prize pots are more than 70k.
It means there are chances to earn 25k in every 2 days.
Oh, what a surprise!!!

I want to know the possibility of predict lottery numbers using ML.

**Note that pancakeswap lottery uses Chainlink's implementation of VRF for secure randomness.**

You can find more details about the pancakeswap lottery here.
https://docs.pancakeswap.finance/products/lottery
Components of a Blockchain and SHA-256 discussed
Tags: 100daysofcode, blockchain, programming, codenewbie
Published: 2022-07-13 11:47:16

In this video, we will learn about how the current financial system functions with the help of the banks that serve as mediators for handling the transactions between different parties. I will also list the important components of the blockchain framework and we will understand them step by step in the coming videos too. We will also understand how the Bitcoin can help overcome the limitations that a central mediator like banks can impose. Lastly we will do a quick demo of the SHA-256 algorithm that Bitcoin uses to generate a unique hash value for each of the blocks in the blockchain. 

{% youtube 22vt3qn66bc %}

🐱‍💻 🐱‍💻 Course Links:
Complete Code - https://github.com/The-Nerdy-Dev
Visual Studio Code - https://code.visualstudio.com
Git - https://git-scm.com/downloads

--- 
Support my channel:
💜 Join the Discord community 👨‍👩‍👧‍👦: https://discord.gg/fgbtN2a 
💜 One time donations via PayPal
Thank you! 🙏

---
Follow me on:
👉 Twitter: https://twitter.com/The_Nerdy_Dev
👉 Instagram: https://instagram.com/thenerdydev
👉 My Blog: https://the-nerdy-dev.com
I need help in making Cost Calculator tool using MySQL, PHP and HTML
Published: 2022-07-13 11:45:08

I am trying to build a cost calculator tool for shifting service. I already made a premade cost calculator but there are only some fixed price are showing. I would like to create a cost calculator that can automatically extract data from MySQL data base.

The problem is that there are so many data like there are 200+ cites and every time use input some different variation of those cites to calculate their moving cost.

I am so confused how to make a table for for this in my MySQL and after that how to connect with my HTML. (My website is in PHP)

You can see that tool here:[ Moving Cost Calculator](https://www.cloudpackers.com/cost-calculator.php)
How to do text summarization
Published: 2022-07-13 11:36:13

---
title: How to do text summarization
published: true
description: In this video we look into text summarization. We apply the albert large model to a piece of text and talk about the different steps required to do summarization. This is more of an overview not a complete explanation of the technology.
tags:
cover_image: https://i.ytimg.com/vi/UY4wrkqxo9s/maxresdefault.jpg
---

{% youtube UY4wrkqxo9s %}

In this video we look into text summarization. We apply the albert large model to a piece of text and talk about the different steps required to do summarization. This is more of an overview not a complete explanation of the technology.