teleren/devto huggingface dataset:
Setting up rclone mount in Windows with GSuite Drive 
Tags: homelab
Published: 2021-05-01 19:25:57


### 1. Download and Install Prerequisites
1. Download [rclone](https://rclone.org/downloads/) and [NSSM](https://nssm.cc/download) in to `C:\rclone`
2. Download and install [WinFsp](https://github.com/billziss-gh/winfsp/releases)

### 2. Set Up your Personal Google Drive Client ID
1.  Log into the  [Google API Console](https://console.developers.google.com/) 
2.  Select a project or create a new project.
3.  Under "ENABLE APIS AND SERVICES" search for "Drive", and enable the "Google Drive API".
4.  Click "Credentials" in the left-side panel
5.  Click on the "+ CREATE CREDENTIALS" button at the top of the screen, then select "OAuth client ID".
6.  Choose an application type of "Desktop app"
7.  Keep client ID and client secret for the next step

### 3. Configure rclone
1. Navigate to `C:\rclone` and run `.\rclone.exe config`

`n/r/c/s/q>` **n**
`name>` **gdrive**
`Storage>` **drive**
`client_id>` **Enter Client ID from #2.7**
`client_secret>` **Enter Client Secret from #2.7**
`scope>` **1**
`root_folder_id> `
`service_account_file>`
`y/n>`
`y/n>`
`y/n>`
`y/e/d>`
`e/n/d/r/c/s/q>`**q**
2. `mv ~\.config\rclone\rclone.conf .`

### 4. Configure NSSM to run rclone mount on start up
1. Open PowerShell as Administrator
2. Navigate to `C:\rclone`
3. `.\nssm.exe install rclone`
4. Select `rclone.exe` for Application > Path
5. Enter the following for Appplication > Arguments
`mount --vfs-cache-mode writes --log-level INFO --config "C:\rclone\rclone.conf" --log-file "C:\rclone\rclone.log" gdrive: G:`
6. Start the service `.\nssm.exe start rclone`

### 5. Backing up local files to GDrive
1. To copy local directory to remote
`.\rclone.exe copy 'B:\Photos\' gdrive:Photos -v`
2. To sync local directory to remote
`.\rclone.exe sync 'B:\Photos\' gdrive:Photos -v`
3. Compare Local and remote
`.\rclone.exe check 'B:\Photos\' gdrive:Photos`
My Favourite Mac Applications
Published: 2021-05-01 19:20:18

* [Downcast](https://www.downcastapp.com/)
* [iTerm2](https://iterm2.com/)
* [IINA](https://iina.io/)
* [CleanMyMac X](https://macpaw.com/cleanmymac)
* [CleanShot X](https://cleanshot.com/)
* [ForkLift 3](https://binarynights.com/)
* [Itsycal](https://www.mowglii.com/itsycal/)
* [MenuBar Stats 3
](https://www.seense.com/menubarstats/)
* [Tiles](https://freemacsoft.net/tiles/)
* [Bartender 4](https://www.macbartender.com/)
* [Gifox 2](https://gifox.io/)
* [Alfred 4](https://www.alfredapp.com/)
* [LyricsX](https://github.com/ddddxxx/LyricsX)
* [WALTR 2](https://softorino.com/waltr/)
* [TextSniper](https://textsniper.app/)
Hey Beginner, Let Me Set Your Frontend Web Dev Path!
Tags: webdev, javascript, programming
Published: 2021-05-01 19:19:57

Hey there. If you're a complete beginner and you're overwhelmed by the amount of tech you need to learn to become a frontend developer, you're not alone. 

So, let me pick a path for you and give you a simple explanation about the tech I'm gonna recommend.

###HTML:
The skeleton of websites, looks ugly though cause you can't style them.

###CSS:
Goes on top of HTML, with this your website looks cooler with colors and stuffs, but you can't make fancy calculators cause HTML and CSS aren't programming languages.

###Vanilla/Plain JavaScript: 
A programming language. Goes on top of HTML & CSS, providing interactivity to your website. With these 3 tech, you can make pretty cool apps like to-do list, tax calculator, etc.

###React/Angular:
React is a library to build UI made by Facebook. Angular is a framework (complete solution) made by Google. I recommend you to choose React over Angular cause it's much simpler and in every revision of React, you wouldn't see too much of breaking changes compared to the older version of your React app. Angular is cool too though and a little bit more powerful by default. 

###Material-UI/Bootstrap/Tailwind CSS:
These are design libraries. Do your research and pick the best one for you. These libraries take care of the design part and all you need to do is figure out how to pass the data to the components provided by these libraries. 

###Git: 
At this point, you probably want to apply for your first job, so learn git, which is like a time machine for your codebase where you can see the older version of your code and the newer one and move back and forth, restore any version you want, etc. Another reason to learn git is because you might work with others on the same codebase, so git makes it easy for you guys to merge your codes together and do other cool stuffs. 

##### You're a pretty good frontend developer now.
My VS Code Setup
Tags: vscode, webdev, productivity, javascript
Published: 2021-05-01 19:08:06

## Extensions

* [Auto Close Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag)
* [Auto Rename Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag)
* [Bracket Pair Colorizer](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer)
* [change-case](https://marketplace.visualstudio.com/items?itemName=wmaurer.change-case)
* [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker)
* [Customize UI](https://marketplace.visualstudio.com/items?itemName=iocave.customize-ui)
* [EditorConfig for VS Code](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig)
* [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
* [GitLens — Git supercharged](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens)
* [Import Cost](https://marketplace.visualstudio.com/items?itemName=wix.vscode-import-cost)
* [IntelliJ IDEA Keybindings](https://marketplace.visualstudio.com/items?itemName=k--kato.intellij-idea-keybindings)
* [IntelliSense for CSS class names in HTML
](https://marketplace.visualstudio.com/items?itemName=Zignd.html-css-class-completion)
* [Material Icon Theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme)
* [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
* [Visual Studio IntelliCode](https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode)

## Settings

```json
{
  "customizeUI.titleBar": "inline",
  "window.titleBarStyle": "native",
  "explorer.openEditors.visible": 0,
  "editor.suggestSelection": "first",
  "editor.fontFamily": "FiraCode-Retina",
  "customizeUI.font.regular": "FiraCode-Retina",
  "customizeUI.font.monospace": "FiraCode-Retina",
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "terminal.integrated.fontFamily": "FiraCode-Retina"
}
```
LeetCode 647. Palindromic Substrings
(javascript solution)
Tags: algorithms, javascript
Published: 2021-05-01 18:54:53

###Description:
Given a string, your task is to count how many palindromic substrings in this string.

The substrings with different start indexes or end indexes are counted as different substrings even they consist of same characters.

###Solution:
Time Complexity : O(n^2)
Space Complexity: O(n^2)

```javascript
var countSubstrings = function(s) {
    const n = s.length;
    const dp = [...Array(n)].map(() => Array(n).fill(false));
    let count = 0;
    // Base case: single letter substrings
    for(let i = 0; i < n; i++) {
        dp[i][i] = true;
        count++
    }
    
    // Base case: double letter substrings
    for(let i = 0; i < n-1; i++) {
        dp[i][i+1] = (s[i] === s[i+1]);
        dp[i][i+1] && count++;
    }

    // substrings longer than 2 chars
    for(let len = 3; len <= n; len++) {
        let start = 0, end = start+len-1;
        
        while(end < n) {
            dp[start][end] = (dp[start+1][end-1] && s[start] === s[end]);
            dp[start][end] && count++;
            start++; end++;
        }
    }
    return count;
};
```
DBMS ARCHITECTURE - Two-level architecture.👈
Tags: database
Published: 2021-05-01 18:54:02

Types of Architecture that are been incorporated in DBMS :

1) Two-level architecture. 👈
2) Three-tier architecture. 👈


1> Two-level architecture is way similar to the basic client-server model. The application at the client end directly communicates with the database on the server-side.API's like ODBC, JDBC are used for this interaction. The server side is responsible for providing query processing and transaction management functionalities 👈. On the client-side establishes a connection with the server-side in order to communicate with the DBMS.









Advantage  :

1> maintenance and understanding are easier.
2> This architecture is compatible with the existing systems.


Thank you:)
The Old Man and IT
Tags: career
Published: 2021-05-01 18:45:49

Hi everyone, I'm excited to have just published my first blog post. I'm going to focus on issues facing older workers changing careers in tech (or trying to enter a tech career). I would love constructive feedback, and bonus points for giving me ideas for future topics!
[https://boblipscomb.com/blog/2021/05/01/some_stuff/]
Responsive Footer using HTML And CSS | Copyright Footer
Tags: footerdesigns, websitefooter, copyrightfooter, cssfooter
Published: 2021-05-01 18:34:17

**Q: How do I make a fully responsive footer in HTML and CSS?**
A:  To create a fully responsive footer in HTML and CSS, you need to read the given article and watch the video tutorial. Then you will definitely build a beautiful responsive footer that I have given as an image.

Hello readers, today in this blog, we are going to create a simple but very beautiful footer by using HTML and CSS. Earlier I have created a responsive dark footer in HTML and  CSS which you guys like most. So now it's time to create a footer in blue color as you can see on the image.

**What does the website footer mean?**
Website Footer is the section that is located at the bottom of every website and it contains essential quick links. The main purpose of the footer is to make user's work easier and convenient for a quick movement from one webpage to another. We just need a footer to make our website complete and to make users work faster.

As you have seen in the video tutorial of responsive footer design using HTML and CSS. For the footer or any type of design we should add code inside the body tag, we have a separate tag for the footer as the name of the footer. We have to add HTML code for the footer inside the footer tag. To get the footer stick to the bottom we have to give the following CSS.
position: fixed;
width: 100%;
left: 0px;
botttom: 0px;

From the CSS media query, we can make the footer fully responsive, you can watch on the video tutorial how we can make the footer responsive in just seconds.

##Responsive Footer using HTML And CSS | Free Source Code##

You can download all source code from the given link. <a href="https://www.codinglabweb.com/2021/05/responsive-footer-using-html-and-css.html">Click Here To Download All Source Code</a>
What is one thing in React that you discovered very late?
Tags: react, redux, javascript, firstpost
Published: 2021-05-01 18:30:11

Recently I discovered that in nested components, child components are the first to render. Here are some of my observations.

## How to test?
- Just console something in componentDidMount or useEffect of each component

### How to revert this flow?
- Use componentWillMount and a react hook equivalent to componentWillMount

### Why revert?
- There may be a case where some data from API is passed down as props to your child component.
- Due to the async nature, there won't be any data to render for the child and you might get the red flag.🛑

### What if I don't want to revert?
- Using conditional rendering in such cases is the ideal solution
```
function demo(props) {
    return (
      props.data ? <MyComponent /> : <LoadingAnimations />
    )
}
```

Do let me know about the basic discoveries you made. 👊

### PS
Please let me know if I've made any err in this post. 😅
for a moment i decide to migrate to retrofit from volley in Android but then....
Tags: android, volley, java, retrofit
Published: 2021-05-01 17:51:00

i upload backend code to server then i decided to test
application and then i notice every new record that i post In the form of dublicate saved in database.....
here some weird occur,
i checked backend code severals time and debuggin android part but there is now failure or any bug but also my record some time duplicated in db.
then with using Log.i() i notice that double (or some time third) request sent from application to server.... -_____-
i thougt mybe this weird act is about volley and i have to use retrofit insetad of it.
but also we have to know that one of my parameter that would sent to server was image(base64))
then finaly(after 2 days) i noticed that this is not my fault actually or about my backend code this is about process of volley==> if volley start to send or get some request from specefic to URL then dont recive any response in same time again dublicated its request to that URL(Not diffrent between GET or POST,this process caused my problem)these event occur bucause one of my parameter that related to image(because size of image)
later i notice we have Retry Policy in volley that we can config it in that one request send to url(until if dont recive response in same time)then it allows backend process image as fine.
finally im happy now :)
sorry if this text have strange grammerly my english is easy weak but also in progress... :)
tnx for reading.
In defence of daily stand-ups
Tags: productivity, healthydebate, management, agile
Published: 2021-05-01 17:41:51

Photo by <a href="https://unsplash.com/@dylandgillis?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Dylan Gillis</a> on <a href="https://unsplash.com/s/photos/meeting?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>

I've seen lately a lot of hate towards dailies and I want to add my 2 cents on what I think is the real issue behind.

A common critique I've heard is that they are distractions and they are a waste of time.

Daily stand-ups, meetings that should last about 10 minutes, are a waste of time?
I think we have a hint on what can be going on here.

I've seen and heard of dailies that take too long. My personal record is attending one that lasted **over an hour**, but the average seems to be around 20-30 minutes.

No wonder people think like that!

But how did we get here?
Let's remember what a daily **should** be:
- Less than 9 attendees 
- Each person speaks for ~1 minute, saying:
    - What did they do yesterday
    - What will they do today
    - If they need any help

The goal is to keep the individuals aware of the state and progress of the project and the rest of the team, and ask for / offer help if needed. Nothing more.

That wouldn't even take 15 min on the worst cases, so what happened?

In my opinion, we lost our way. And they became nothing more than an opportunity to brag about how smart we are, explaining in detail how we implemented that new tricky feature, or how we fixed that elusive bug. And the sad truth is **no one cares**.

Without seeing the code and the appropriate context and references, **no one** can follow a complex (and incomplete) explanation, and people just stop paying attention, simply waiting for their turn to do the same.

That way, when everybody leaves the meeting (bored to death), no one really knows what the rest are doing and they feel (rightly so) that they just lost a valuable part of their day with nothing in return.

Dailies are useful, Agile methodologies are useful.
But only if implemented properly (and if they're actually appropriate for the specific project).
They are mere tools. No one would complain that a screwdriver is a useless tool while holding it backwards (and/or trying to use it with a nail).
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ont6fgonnh0rd7uxj4pb.jpeg)

So let's go back to the basics, and Keep It Simple (Stupid).
After A Long Time
Tags: back, blog
Published: 2021-05-01 17:34:07

# After A Long Time
Hey i wasnt here for a while. But im back and i can assure you that i will fill your brain with knowledge and i will be creating a podcast for sharing my experiences with the community and an awesome newsletter and im currently developing a project that will help you reach your blog to the world via twitter . Its a long time i have written blog but i can assure you that now on ownwards i will be filling you brain juicy knwoledge. I can assure you that my blogs will not make you bored
So Declare Code War
Tags: dev, coding, practice
Published: 2021-05-01 17:26:07

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

# So What Is Code Wars ??

#### Code Wars is a learning platform where developers improve their skills by coding challenges [Code Wars](http://codewars.com/)

# So What Should I Do Now ??

#### Go to the [Code Wars](http://codewars.com/) webpage and sign up and start coding try accepting different challenges

and post your progress on twitter and github

# So What Are The Benefits ??

#### It will siginificantly increase your coding skills

# Conclusion

# Keep Coding !!!

# 🙏 Share with your friends on [Twitter](https://twitter.com/intent/tweet?text=%20%20So%20Declare%20Code%20War%20%20%20https://dev.to/alestor123/so-declare-code-war-5b2f%22Share%20It%22)

#### 👇 Find more posts on the following topics
How do you decide subject for your next DEV article?
Tags: discuss, webdev, 100daysofcode, writing
Published: 2021-05-01 17:08:27

![Let me think](https://media.tenor.com/images/bf9e18fae2993de456b0535acf45d624/tenor.gif)
I always get curious how do you guys decide subject for your DEV posts  🧐
Let's discuss.
Reasons Why Digital Healthcare Startups Meet Failures
Tags: startup, healthcare, reason, webdev
Published: 2021-05-01 16:25:50

---
title: Reasons Why Digital Healthcare Startups Meet Failures
published: true
description: 90% of digital healthcare startups fail in initial era due to implementation of wrong strategies. Techtic explained reasons why healthcare startups meet failures.
tags: startup, healthcare, reason, webdev
cover_image: https://www.techtic.com/wp-content/uploads/2021/04/reasons-why-digital-healthcare-startups-meet-failures.png
---

Most digital health startups do not survive long, mostly losing steam before realizing adequate profits. Despite having sufficient users, investor funding, and buzz across their products, these startups go out of business in some years to commencement. As per Forbes, 98% of digital health startups face severe challenges, and many are already viewed as dead.

These struggling startups’ persistent problem is they are short of an innovative business model and frequently miss thoughtful go-to-market planning. Here in this blog, we have explained the key reasons for these companies struggling hard and meeting failures right in the process.

<ul>
 	<li>12 Reasons Why Digital Healthcare Startups Struggle and Meet Failures
<ul>
 	<li>1. Choosing a Product Idea without Market Need or its Niche is Jam-packed</li>
 	<li>2. Avoiding Exact Requirements and Need Criteria</li>
 	<li>3. Targeting the Wrong Audiences and Stakeholders</li>
 	<li>4. Failure to Accurately Communicate Product’s Value Proposition</li>
 	<li>5. Getting Short of Precise Funds and Investments</li>
 	<li>6. Choosing the Initial Indication &amp; Wrong Technology Stack</li>
 	<li>7. Competing with Market Leaders &amp; Expecting Higher ROI from the Start</li>
 	<li>8. Being Extremely Late for a Product Innovation</li>
 	<li>9. Complying with the Rigid Regulations for Healthcare</li>
 	<li>10. Not Picking the Right Product Development Partner</li>
 	<li>11. Not Companionable with the Current Systems</li>
 	<li>12. Not Cost-effective in an Adequate Amount</li>
</ul>
</li>
</ul>

If you want to more information about all reasons then visit <a title="Why Digital Healthcare Startups Struggle and Fail?" href="https://www.techtic.com/blog/why-digital-healthcare-startups-fail/" target="_blank" rel="noopener">Why Digital Healthcare Startups Struggle and Fail?</a>
Introduction to Flipper for React Native Developers
Tags: reactnative, debugging, flipper
Published: 2021-05-01 16:22:29

# What is flipper?

It's a tool from Facebook to debug mobile applications. 
Flipper is like vs code, where you can add plugins to improve, extend debugging capabilities

**Note:** This is a practical guide, so please keep flipper open on one side and explore through different options as you read

# What can you do with flipper?

## Start Devices

With flipper you can start both Android emulators and iOS simulators. In order to start the emulator or simulator you can use the Rocket icon 🚀 on the left bottom. It gives a list of available/created Emulators and Simulators.

## ScreenShots and Videos

Did you know that you can get a screenshot of the device or record a video using flipper. Start the emulator of your choice and click the camera button to get a screenshot, similarly try the video recorder too.


## React Dev Tools

Flipper comes with React Dev Tools which can be used to quickly search and debug your UI and see changes instantly as you apply them. With the settings you can hide unnecessary components based on filters. 

Whenever you select a component it shows all the props it takes and the component rendered by hierarchy till the root and the source

There are shortcuts to open the source of the component, copy the contents of the component and with suspense you can even suspend the component


## React Profiler

With Profiler you can find the bottlenecks of the app and debug where react spends more time.

- FlameGraph shows the component tree and highlights the components rendered for a commit
- The Ranked tab shows the list of components that takes lot of time to render
- Interactions tab helps you to log the time taken for rendering, mounting etc

You can export the profile and share it across with fellow devs

## Layout Inspector

The layout inspector helps you to see the layout bounds and modify/tweak few available values like numbers, colors


## Reactotron

Reactotron is yet another debugger that helps you with logging mst, observing changes, and sending actions

## Network Inspector

This can help you to lookup network requests made through the app. You can inspect query parameters, form data and response of the API

## Logs

### Device Logs

Flipper streams device logs with respect to android or ios and there is an option to pause these logs if necessary or overloaded

### React Native logs

Any console.log statements on React Native side can be seen here

## Crash Reporter

Flipper remembers the crash and provides necessary insights to debug about the crash
CALU: a basic char based arithmetic calculator (in progress)
Tags: c, showdev
Published: 2021-05-01 16:20:42

A little test program I'm writing that's not dependent on actual integers but rather using string based numbers, breaking the 4.29b/18.4t limit
It's being built for Windows and Linux, and is completely C standard library compliant
So far, I just got fully working addition to work and it will only do math with positive numbers
The way digits work is dynamic but have a static limit, so for example, 100+100000 shifts the digits for 100 to the right
These number strings can also have padded zeroes
Currently, I have this program set to support 256 digits

code:
https://github.com/donnaken15/CALU/blob/main/CALU.C
man:
https://github.com/donnaken15/CALU/blob/main/CALU.1
Can't even #100DaysOfBlogs
Published: 2021-05-01 16:14:37

---
title: Can't even #100DaysOfBlogs
published: true
description: 
tags: 
//cover_image: https://direct_url_to_image.jpg
---

It seems that my option of blogging instead of coding seems to have gone to the woods. 

So I was planning blogging instead of coding. 

And there went my plans! And the Great Code (my once higher power) turned away and laughed at that plan.

So it is important to document and learn from what I did instead. Now I learn digital marketing and machine learning. In addition, I make notes for business studies.

I have been reading Future Proof You