teleren/devto huggingface dataset:
Thinking the VIM way
Tags: productivity, vim, techtalks, devops
Published: 2020-10-20 16:57:41


Ever thought of giving VIM a shot and gave couple of days learning its commands, but forgot most of it just a couple of days after it.

If this happened with you, we share the phase. I gave VIM couple of attempts before I could answer the the whys and hows of VIM.

How I could get hang of the VIM is, by eventually reading about the philosophy and learning the building blocks, rather than directly jumping to commands.

To make it easier for you I have attempted to make video tutorial series about vim, which might come in handy to retain the VIM knowledge.

**1.** [Why Vim](https://www.youtube.com/watch?v=wF3oCCo8Hy0&list=PL1z5l538ryYuyBllPFeYl0qoJbq0g33xL&index=2)

{% youtube wF3oCCo8Hy0 %}



**2.** [Content Normal Mode](https://www.youtube.com/watch?v=hHUog6g106s&list=PL1z5l538ryYuyBllPFeYl0qoJbq0g33xL&index=3)

{% youtube hHUog6g106s %}


**3.** [Undo Redo](https://www.youtube.com/watch?v=cb5I3e8klgA&list=PL1z5l538ryYuyBllPFeYl0qoJbq0g33xL&index=4)

{% youtube cb5I3e8klgA %}


**4.** [Motion](https://www.youtube.com/watch?v=tG0uO46vPTc&list=PL1z5l538ryYuyBllPFeYl0qoJbq0g33xL&index=5)

{% youtube tG0uO46vPTc %}


**5.** [Operators](https://www.youtube.com/watch?v=d3zU9arYhxs&list=PL1z5l538ryYuyBllPFeYl0qoJbq0g33xL&index=6)

{% youtube d3zU9arYhxs %}


**6.** [Text Objects](https://www.youtube.com/watch?v=88Loihr9K2Q&list=PL1z5l538ryYuyBllPFeYl0qoJbq0g33xL&index=7)

{% youtube 88Loihr9K2Q %}
 
**7.** [Dot Command](https://www.youtube.com/watch?v=yHhYTLHVi3o&list=PL1z5l538ryYuyBllPFeYl0qoJbq0g33xL&index=8)

{% youtube yHhYTLHVi3o %}

**8.** [Registers](https://www.youtube.com/watch?v=BTtKCyWzgEM&list=PL1z5l538ryYuyBllPFeYl0qoJbq0g33xL&index=9)

{% youtube BTtKCyWzgEM %}


**9.** [Insert Mode](https://www.youtube.com/watch?v=Zfuw2W1wB3c&list=PL1z5l538ryYuyBllPFeYl0qoJbq0g33xL&index=10)

{% youtube Zfuw2W1wB3c %}


**10.** [Visual Mode](https://www.youtube.com/watch?v=xRjYgP4061E&list=PL1z5l538ryYuyBllPFeYl0qoJbq0g33xL&index=11)
{% youtube xRjYgP4061E %}


**11.** [Command Mode](https://www.youtube.com/watch?v=w4EaWDLPlDE&list=PL1z5l538ryYuyBllPFeYl0qoJbq0g33xL&index=12)

{% youtube w4EaWDLPlDE %}


**12.** [Macro](https://www.youtube.com/watch?v=Tew-OW7YgrI&list=PL1z5l538ryYuyBllPFeYl0qoJbq0g33xL&index=13)

{% youtube Tew-OW7YgrI %}

Please subscribe [Youtube Channel](https://www.youtube.com/channel/UCmIDfWNmgLrLSB2kP0wIftg) for more content.

Visit [Github Profile](https://github.com/jayeshathila) for more fun projects.

Have a great day ☕ :)
Realize o Upgrade do seu Azure CLI direto do próprio Azure CLI
Tags: azcli, azure, commandline
Published: 2020-10-20 22:17:24

---
title: Realize o Upgrade do seu Azure CLI direto do próprio Azure CLI
published: true
date: 2020-10-20 16:43:35 UTC
tags: azcli,azure,commandline
canonical_url: 
---

![](https://cdn-images-1.medium.com/max/1000/1*Nikzrv_ZDXUsg2U2SWPftA.png)

E ai pessoal, beleza ? hoje com uma dica bem rápida, nos últimos releases do Azure CLI agora você pode realizar o upgrade sem a necessidade de criar mecanismos para fazer o upgrade, o download manualmente ou utilizar um gerenciador de pacote winget/chocolatey. Desde o release 2.11.0 do Azure CLI temos um novo comando:

```
az upgrade 
```

![](https://cdn-images-1.medium.com/max/1024/1*9cwlWPNFSZXPWVeJ14eFHg.png)<figcaption>Executando o comando.</figcaption>

Ao executar o comando ele vai solicitar a confirmação ou você pode informar na execução o parâmetro -y e pular o prompt:

![](https://cdn-images-1.medium.com/max/1024/1*4n6fJrE1T7fLUfXEFaFgfA.png)

![](https://cdn-images-1.medium.com/max/1024/1*ooFtkJ2Vi1VqaYBHRTQjZQ.png)

> Obs: sempre que for feito um upgrade de qualquer ferramenta pode ser que algum dos seus scripts produzidos até aqui parem de funcionar, leia o release notes e não tenha surpresas ao executar algum script ou comando.

Depois seguimos com o processo de aceitar os termos de uso:

![](https://cdn-images-1.medium.com/max/1018/1*JhmXx3YS0VNrGGyu7EBTgA.png)

Após alguns minutos seu Azure CLI estará atualizado.

É isso pessoal, se curtiu o conteúdo compartilhe com os seus colegas, deixe sua 👏👏, ajuda demais o blog 😃 . Abraço até a próxima.
I’m Vaidehi Joshi, Senior Software Engineer at DEV/Forem- AMA
Tags: ama, meta, design, hacktoberfest
Published: 2020-10-20 16:20:18

---
title: I’m Vaidehi Joshi, Senior Software Engineer at DEV/Forem- AMA
published: true
description: I’m Vaidehi Joshi, Senior Software Engineer at DEV/Forem - AMA!" 
tags: ama, meta, design, hacktoberfest 
---

Hi! I’m [Vaidehi Joshi](https://dev.to/vaidehijoshi), Senior Software Engineer at Forem.

I’ll be joining [Nick Taylor](https://dev.to/nickytonline) and [Christina Gorton](https://dev.to/coffeecraftcode) on Wednesday, October 21st on [thePracticalDev Twitch](https://www.twitch.tv/thepracticaldev) stream to talk about what I do as a senior software engineer at Forem, working with the Forem backend, and answering any of your questions!

###I would love to answer any questions you have about working as a software engineer, my past projects, open source, and more. 

**Feel free to ask any questions you have in the discussion thread below!** 
![inquisitive cat gif](https://media1.giphy.com/media/xTiTnsBpTSEGxIhXqM/giphy.webp?cid=5a38a5a251dktp7qkiusev25dhprkz9v9833tl04f1sso08e&rid=giphy.webp)

{% listing https://dev.to/listings/events/walkthrough-wednesday-with-vaidehi-joshi-k64 %}

Follow [ThePracticalDev Twitch](https://www.twitch.tv/thepracticaldev) channel to watch this stream and more.
What is the first programming language that you learned?
Tags: discuss, beginners, challenge, codenewbie
Published: 2020-10-20 16:11:24

# Introduction

Let's discuss the first language we learned that pay a way to reach the place where we are today. The curiosity that we have regarding the developer community when we first time code. 

## My Experience

![Batch Scripting Language](https://dev-to-uploads.s3.amazonaws.com/i/03f64s17jc2x7y9hi6hp.png)

Batch Scripting Language is the first programming language that I learned but I will not recommend anybody to learn today. I self-learned that programming language. I learned batch because it was used in the command line and I was not knowing anything about other programming languages at that time.

## Discuss

* What is the first programming language that you learned?
* What was your experience regarding it?
How To Install Python on Debian
Tags: linux, python
Published: 2020-10-20 16:09:44

Python is a very popular language for all sorts of things like Web Development, Machine Learning (and Data Analysis), Scripting, and other areas. It has become one of the most popular programming languages on Earth with a large community of developers, so, lets get started.

# Warning:
- If you have come to this tutorial because your installation of python failed, run these commands (replace `<python_version>` with the version of your broken installation):

```bash
sudo updatedb
sudo rm -rfv /usr/local/bin/<python_version> # or /usr/bin/<python_version>
sudo rm -rfv `locate <python_version>`
sudo updatedb
locate <python_version>
```
The last command should give you nothing.

## Note:
- `python3.9` is can be replaced with your python version. 

# Preparation:
- In order to install python fully, some tools to build python need to be installed, open up the terminal and type:

```bash
sudo apt update
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev tk-dev liblzma-dev lzma
```

# Installation:

- Download the latest version of python from the [official python website](https://www.python.org/downloads/) or use 

```bash
wget https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tgz
```

- Inflate the python `.tar.gz` or `.tgz` file by typing:

```bash
tar -xf Python-3.9.0.tar.xz # or tar -xf Python-3.9.0.tgz
rm -v Python-3.9.0.tar.xz # or rm -v Python-3.9.0.tgz
```

- Change Directory into the Python Folder and start configuring python by typing:

```bash
cd Python-3.9.0
./configure --enable-optimizations
```

This should look something like this:
![Image Of Python Configuring](https://dev-to-uploads.s3.amazonaws.com/i/h4jk8i3rlh9eyikmc15c.png)
*Image Of Python Configuring*

- To build python, run:
```bash
make -j `nproc` # Optimized for the number of processors the computer has
```

It should look like this:
![Image of Python Being Built](https://dev-to-uploads.s3.amazonaws.com/i/dgt9ax3l3wiwuzbp216v.png)
*Image of Python being built*

- To Install python, run:
```bash
sudo make altinstall
```
We use altinstall to avoid replacing other versions of python with this one (it tends to break things on the computer).

This should look like:
![Sudo Make Altinstall Process](https://dev-to-uploads.s3.amazonaws.com/i/hrctl09ov4yn27izy1jj.png)
*Sudo Make Altinstall Process*

- Finally, to test if python was successfully installed, type:

```bash
python3.9 --version
Python 3.9.0
```
Simple Captcha in Java
Tags: captcha, java, recaptcha, googlecaptcha
Published: 2020-10-20 16:05:43

**SimpleCaptcha** is a simple Java library which can be used to develop random "captcha" generation for verification and validation purposes. Captcha is combination of *background* , *text* and *line*(noise) like below:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/onofo3fif6n1xylt2hle.png)

I used to this application simple core java coding thru [MAVEN]. This is standalone application, but in my next post I will share **SimpleCaptcha** by using **Spring Boot** . To read more about *SimpleCaptcha* java library go through this http://simplecaptcha.sourceforge.net/

In my **git** [https://github.com/abdamah/simpleCaptchaApp] you can download and trace out my code, it simple and clean code. Here you will get complete code including jars/dependencies needed to develop the application. And also it is my pleasure to your _feedback_
You're not your code, but you are a person
Tags: git, github, codenewbie, motivation
Published: 2020-10-20 15:45:30

You'll often read that you shouldn't be offended if somebody negatively comments on your merge request; because you're not your code. Well, I disagree. 

_Kind of._    

----

But let's get this straight first: <u>You are not your code</u>.   


That does not mean it is ok to be negative and mean on a merge request. Anybody who needs to, read that again.

When that meanie on your team comments in a negative way on your merge request - be offended. Let them know, because it really isn't ok. It's a work environment (maybe) and besides; everybody deserves to be treated nicely.

Don't get me wrong here. I am not saying you should take offence when somebody says that you should not be using a Singleton pattern there.. they are probably right 😉 
Constructive Code Criticism is a good and needed thing from every perspective - but the key word there is constructive. That's why it's important to remember that you are not your code. People do want to help you improve, or may just have a different opinion on how to implement something and that's perfectly ok!

So, reviewers, listen here: Be kind. Don't beat around the bush, let them know your opinion but make sure you're not an ass about it. Challenge the code and the thinking behind it, respectfully.

Instead of being mean, inspire others and help them grow.
What did I learn from hacktoberfest2020?
Tags: hacktoberfest
Published: 2020-10-20 15:44:29

## What I Learned From Hacktoberfest

 After learning about hacktoberfest this year, I wanted to contribute. But lot of nervousness began to take hold of me about how my pull requests will be accepted. Fortunately, I had to let those fears get rid of me and I didn't even bother signing up.
The first pull request which i made was on a java code which was a quite tricky but yeah I made it and the maintainer accepted it.
This gave a lot of willpower that I can tackle all of those.
Successfully I made four pull requests on the same day and all of them were accepted!
But this was not all. I started making more pull requests in order to better myself.
So it was a very good experience for me to be a part of it this year and hope to be the same next year.
How do you help Junior Developers or Freshers 
Tags: discuss, webdev, career, beginners
Published: 2020-10-20 15:25:36

As a senior developer you might be busy in daily work or project deadline in your workplace. 

Suppose in between a Fresher or Junior Developer comes to you and says can you help me to find solution for my X problem ? 

What will be your reaction :smile: ?

- Ask them to do some homework and then ask for help.
- Reject the request and request to ask someone else.
- Judge them and Ask them to learn the basics.
- Complain about the new Joiner to Manager.
- Kindly take some time to look at the X problem and explain them how to solve.

Do you have any other ways to help Fresher or Junior Developer  :smile: ?
AzureFunBytes Short - AI on @Azure
Tags: azure, cloud, beginners, ai
Published: 2020-10-20 15:10:39

With AI, we can build solutions that seemed like science fiction a short time ago; enabling incredible advances in health care, financial management, environmental protection, and other areas to make a better world for everyone.

This time we'll look at the AI services on Azure.

{% youtube UC3O1qM_Jtc %}

AzureFunBytes! - Byte-sized content with a live Twitch show!

Learn about Azure fundamentals with me!

Live stream is available on Twitch at 2 pm EDT Thursday. You can also find the recordings there as well.

https://twitch.tv/azurefunbytes
https://twitter.com/azurefunbytes

Join me, ask questions and learn about Azure!

Microsoft Learn: [Get started with AI on Azure](https://cda.ms/1Ns)
[Azure Cognitive Services](https://cda.ms/1Nt)
[Azure Cognitive Services Documentation](https://cda.ms/1Nw)
[Cognitive Services and machine learning](https://cda.ms/1Nx)
[HomeEXCEPT](aka.ms/homeexcept)
[From No Data to Computer Vision Machine Learning Model in 10 Minutes or less!](https://dev.to/azure/from-no-data-to-computer-vision-machine-learning-model-in-10-minutes-or-less-43g2)
On .NET Episode: Event Driven applications on Kubernetes with KEDA
Tags: dotnet, kubernetes, cloud, keda
Published: 2020-10-20 15:08:03

KEDA is an open source project and enables event-driven autoscaling for Kubernetes workloads.KEDA scalers can detect if a deployment should be activated or deactivated, and feed custom metrics for a specific event source.

In this episode, our friend Jeff Hollan joins Cecil to show us how we can use KEDA to scale out our .NET applications running on Kubernetes


{% youtube RMGcaUjBk90 %}

If you liked this video and would like to see some more of our .NET content, please subscribe to our [.NET Developers YouTube Channel](https://www.youtube.com/channel/UCvtT19MZW8dq5Wwfu6B0oxw).

<ul>
<li><a href="https://keda.sh/" target="_blank">KEDA</a></li>
<li><a href="https://github.com/kedacore" target="_blank">KEDA on GitHub</a></li>
<li><a href="https://docs.microsoft.com/azure/azure-functions/functions-create-function-linux-custom-image?WT.mc_id=ondotnet-c9-cephilli" target="_blank">Create a function on Linux using a custom container</a></li>
<li><a href="https://github.com/kedacore/sample-dotnet-worker-servicebus-queue" target="_blank">.NET Sample with Service Bus</a></li>
</ul>
#hacktoberfest
Tags: hacktoberfest, github, beginners
Published: 2020-10-20 15:04:34

## What I Learned From Hacktoberfest

This is my first time with Hacktoberfest, I was aware of it for a long time as I have seen my friends participate in it. This time while I was working on a side project, I stumbled upon it.

I made a few contributions on the first weekend of October. I got hooked up on it, I found it really interesting. 

I look forward to keeping contributing to open source!
Not able to call REST API on Android, but it works with iOS and Web App
Tags: uncategorized
Published: 2021-06-25 14:22:49

---
title: Not able to call REST API on Android, but it works with iOS and Web App
published: true
date: 2020-10-20 14:36:47 UTC
tags: Uncategorized
canonical_url: 
---

During the development of a recent mobile app, I was retrieving data using a rest api. The web app was working fine and displaying the data. When I deployed to the Android device, I was receiving no data and the following error when calling the api:

Error Code: 0  
Message: Http Failure response for [rest api url]  
0 Unknown Error

![](https://www.jarodms.com/wp-content/uploads/2020/10/2020-10-20-09_22_15-Unknown-Error.png)

I then deployed to my iPhone and everything worked fine. I was pulling the data back fine and displaying the list of items.

![](https://www.jarodms.com/wp-content/uploads/2020/10/iOS-Data-is-displaying-5-576x1024.png)

Then I remembered that since this app (which is in beta) was accessing the api using http, not https. I know, I know…it’ll move to https eventually. So that meant I needed to add the following to the android platform entry in the config.xml. 

```
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">
   <application android:usesCleartextTraffic="true" />
</edit-config>
```

 

This tells Android it’s ok to access data over non-secure (cleartext) traffic.

But…that didn’t work either. That’s weird. Why not? I’ve seen it work just fine in the past, so it was odd.

 

Ugh. So what I decided to do was remove the android platform, then re-add it, and do a new android build.

 

Whammy! It works now. I still need the edit-config entry, but apparently, there was something wrong/weird with my previous build files.

 

The post [Not able to call REST API on Android, but it works with iOS and Web App](https://www.jarodms.com/2020/10/20/not-able-to-call-rest-api-on-android-but-it-works-with-ios-and-web-app/) appeared first on [JarodMS](https://www.jarodms.com).
Text animation with CSS - strike through line
Tags: css, html, javascript, web
Published: 2020-10-20 14:28:32

Hello folks!
I often love to play around with CSS and try out things whenever I'm free. I always feel animations with just CSS is highly underrated and can be used to achieve 60 fps animations without any JS involved.
I have tried to create a very simple animation, a strike through line, a line passes through a text and the characters in that text are alternatively overlapped onto the line.

**HTML**
{%gist https://gist.github.com/shrek-7/c22b9369a6552f83bccfc7a1e11da371 %}
For the HTML part we only need a parent container,  it will contain the `text` that we want to show and the another empty `<div></div>` which will be used as the `line` we want to animate. 
Notice that the `text` is not just a string but in a form of a list, so that we can change the `z-index` of individual characters.

**CSS**
{%gist https://gist.github.com/shrek-7/a13def94099959ca9123196992ef7f64 %}

**Styling of the parent container**
Just some general styling, `height, width, alignment` also `position` as `relative`, it will be used the position the `line` with respect to parent.

**Styling of Text**
- align horizontally with flex
- Remove default styling of `li`
- `z-index` set to 1
- `z-index` of alternative elements set to 3 ( using pseudo class `nth-child(2n + 1) or nth-child(2n)`)
- `position:relative` - `z-index` won't work without it.

**Styling of line**
- position it `absolute` with respect to the parent element, half way from the top.
- `width` to be some default value, we will animate width of the line from some initial value lets say `5vw` to final value '100vw'.
- `z-index` should be set as 2, since the `li` elements of the text is given value 1 and 3 alternatively.
- animation, to increase the `width` of `line`.

Link to Sandbox
https://codesandbox.io/s/strike-through-line-animation-q7x9m
{% codesandbox strike-through-line-animation-q7x9m %}

Happy coding ♥ !
Is PHP Dead?
Published: 2020-10-20 12:00:09

PHP was developed by Rasmus Lardorf in the year 1995. Since then it has powered many scalable websites like Facebook, Harvard University website, CNBC US Home website and many more. Today there arises a lot of controversies against PHP based on its usability, performance, etc.
PHP is indeed not as flexible and powerful as Django but can do a lot. For beginners it is always recommended to start with PHP because intended for beginners. It has limited libraries but when the question comes in Django, Mr. Django keeps more than 5 files ready for you before you get your keyboard set. This reduces the amount of hard work you need to do. But laziness is not recommended for beginners. That's why PHP is the best there. With PHP you get the initial idea of how Backend Web Development works and how to make a good logic building. PHP has a  lot amazing features. You will need to write more code than Django or Spring but you will be able learn and understand better with that.
It is always recommended that you first start with PHP and learn the core concepts of Backend Web Development and when you think you are done perfectly with PHP including its OOPs concepts nicely you can shift to other languages and frameworks like Django, Flask, Spring, NodeJS, etc.
PHP was never dead and it will never die. New updates keep coming to PHP making it more powerful day by day. If you ever think to learn PHP then Don't hesitate. Just go for it! 
Please like, comment and save my post if you liked it. Thank you and have a good day!
How to Build a Instant Messaging App?
Tags: chat, android, ios
Published: 2020-10-20 14:07:03

---
title: How to Build a Instant Messaging App?
published: True
description: MirrorFly is a leading instant messaging solution to build your own instant messaging app for ios, android & web app.
tags: #chat #android #ios
---
MirrorFly is a complete messaging suite for enterprises to build a customizable collaborative platform across Web, Android, iOS devices to establish virtual connectivity. The Instant Messaging solution offers multiple sorts of communication mediums like voice & video calls, real-time chat, <a href=https://hackernoon.com/top-chat-apis-and-sdks-to-build-your-own-messaging-application-wq1c3umt>video conferencing</a> to connect remote teams from multiple devices. MirrorFly provides feature-rich APIs and SDKs to integrate communication platforms on any application. The enterprise messaging solution is capable of holding a concurrent user base around 1M+. MirrorFly is compatible with end-to-end encryption, signal protocol, AES-256 bit and other privacy compliances like HIPAA, GDPR, COPAA to secure the entire conversations. 

<b>Highlights of MirrorFly Instant Messaging Solution</b> 

1. Video Calling
2. Voice Calling
3. Real Time Messaging
4. Live Broadcasting 
5. Video Conferencing
6. SIP & VoIP Calling
7. Push to Talk
8. Screen Sharing
9. Multi Channel
10. End to End Encryption 

To know more about MirrorFly’s collaboration solution for businesses - https://bit.ly/31nWndD