teleren/devto huggingface dataset:
Know the advantages of Android Application Development
Published: 2020-07-14 14:15:23

If you are at ease with the concept of outsourcing your Android device project to an overseas business, then you can consider the a <a href="https://www.wondermouse.in/android-app-development-company-noida/">best android app development in Noida</a> to serve you. We would be pleased to show you our portfolio of work done to prove that we have the Android platform's high-quality technical skills and that we spend much less than other programming app companies. It is available if you want a free trial service, so that we know how much our price will be for the size of your project. As a leading a <a href="https://www.wondermouse.in/top-digital-marketing-company-in-noida/">digital marketing company in Noida</a> and with an experienced team of Android app developers; who solve business problems and help startups and enterprises with Android technologies. The team is made up of accomplished Android developers, all of whom have great platform abilities for all versions. Android apps are the best thing in today's market and grow like wildfire to the general public. No wonder there's a fast-growing worldwide market for the production of Android devices. The firm remains to fulfill the unique project specifications of clients, which helps them achieve their expected business objectives.
With many years of experience and hundreds of successfully launched mobile apps to its credit, our team manages exceptionally best app development projects, communicates with customers, avoids common bottlenecks and delays, and provides a product that pleases customers and users alike.
Summary
We design, develop and deliver innovative Android apps and games for Android devices, which are effectively supported by state-of-the-art UI and feature-rich features. The experts are experienced in using the broad reach of Android, having built applications for various industries. As a leading company in the development of Android apps, we have extensive technical expertise that enables us to deliver the best applications that match the business needs of the client.
Let's Pair during a Live Coding Session!
Tags: webdev, pairprogramming, devstream
Published: 2020-07-14 14:10:13

I started live streaming a couple of months ago.

{%link https://dev.to/nickytonline/i-ve-started-to-live-code-on-twitch-for-dev-13cn %}

My goal was/is to stream actual stuff I'm working on at DEV. So far it's been fun. But you know what's more fun? Doing it with other people.

{%twitter 1282499948366438402 %}

So far I've had a bunch of people sign up for the task. Here's a few takers. While you're at it, give them a follow on DEV and Twitter!

{%twitter 1282501677535227904 %}

<hr />

{%twitter 1282526470196338690 %}
{%twitter 1282530093756297218 %}

<hr />

{%twitter 1282559426805870592 %}

<hr />

{%twitter 1282698487998676993 %}
{%twitter 1282699130708598785 %}

<hr />

{%twitter 1282728654796132352 %}

For the time being I plan to work on frontend issues only, but as things move along, I see this naturally progressing to any    issue in the DEV repository.

If you are interested in participating. [Send me a DM on DEV](https://dev.to/connect/@nickytonline) or [Twitter](https://twitter.com/nickytonline). If you're not following me on DEV, you can still send me a message as my DMs are open.

Things to do to get you prepared for a live coding pairing session:

* [Visual Studio Code installed](https://code.visualstudio.com/download) with the [Live Share extension pack](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare-pack). This will allow us to work collaboratively in the editor. What's Live Share you ask? @lostintangent has a great series on it 😎

{%link https://dev.to/lostintangent/visual-studio-live-share-in-pursuit-of-enjoyable-developer-collaboration-2nko %}

* DEV installed locally. Check out [docs.dev.to](https://docs.dev.to/installation/#installing-locally) to get up and running. If you have issues getting things installed, let me know and we can get it sorted for you.

* A decent Internet connection.

<b>Our first pairing session will be Wednesday, July 15th at 3 PM ET/7 PM UTC</b>.

{% twitter 1282785725725933568 %}

Want to pair? Fill out the [pairing form](https://iamdeveloper.com/pair).

Looking forward to potentially pairing with you! <i role="image">🍐</i>

Photo by [Clem Onojeghuo](https://unsplash.com/@clemono2?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/pears?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
Split/Slice an Array into chunks (golang)
Tags: go, split, array, chunk
Published: 2020-07-14 14:02:13

Below code talks more :) 

```
package main

import (
	"fmt"
)

func main() {
	arr := []int{1, 2, 3, 5, 6, 6, 7, 7, 7, 8, 8, 8, 8, 9}
	limit := 5

	for i := 0; i < len(arr); i += limit {
		batch := arr[i:min(i+limit, len(arr))]
		fmt.Println(batch)
	}

}

func min(a, b int) int {
	if a <= b {
		return a
	}
	return b
}
```

Above code split an array into multiple chunks based on the chunk size. 

### Why can't i use `math.Min` ?
Because golang Math function mainly supports `float64` instead of int and one more disadvantage of golang is not having support of `generics`

Looks like go is getting support of `generics` in `go 2.0`.

https://github.com/golang/go/issues/25597
Implementasi HTTP3 QUIC di Nginx
Published: 2020-07-14 13:14:10


Saya sangat terinspirasi oleh berita bahwa protokol HTTP3 sudah tersedia dan sekarang kita bisa menggunakannya. Saya menghadapi beberapa masalah selama implementasi dan akan mencoba berbagi informasi proses ini untuk Anda.

Pada artikel ini, saya akan menunjukkan apa yang diperlukan untuk mengatur dukungan HTTP 3 Nginx.

HTTP3 QUIC (Quick UDP Internet Connections) protokol dari Google, TCP + TLS + HTTP/2 diimplementasikan pada UDP.

Pada bulan Maret 2020, dukungan HTTP3 sedang dalam pengembangan di Nginx dan diharapkan dalam rilis 1.17 namun sampai sekarang 1.19 belum ada berita lebih lanjut. Ada cara untuk memilikinya hari ini yaitu dengan mengkompilasi Nginx dengan modul QUIC. Anda dapat melakukan ini dengan mengikuti manual dari Cloudflare / quiche repo atau menggunakan docker dengan Nginx + quic yang telah dikompilasi.

Nah, saya menggunakan [docker dari ymuski](https://hub.docker.com/r/ymuski/nginx-quic). Nginx dikompilasi dengan semua modul yang masuk dalam gambar docker Nginx resmi + modul borringssl dan http3.

**Apa yang dibutuhkan?**

 - Sertifikat TLS 
 - Konfigurasi nginx 
 - Docker container

Terbitkan sertifikat untuk domain Anda:
certbot certonly --standalone --non-interactive --agree-tos -d your.domain.com -m your@email.com

**Buat konfigurasi Nginx (contoh lengkap):**

    # Enable QUIC and HTTP/3.
    listen 443 quic reuseport;
    # Request buffering in not currently supported for HTTP/3.
    proxy_request_buffering off;
    
    # Add Alt-Svc header to negotiate HTTP/3.
    add_header alt-svc 'h3-27=":443"; ma=86400';
    ssl_protocols TLSv1.3;

**Jalankan docker container:**

docker run --name nginx -d -p 80:80 -p 443:443/tcp -p 443:443/udp  -v /etc/letsencrypt/:/opt/nginx/certs/ -v  /opt/nginx/conf/example.nginx.conf:/etc/nginx/nginx.conf  ymuski/nginx-quic

Ayo kita coba!

CATATAN: Jika Anda menjalankan server cloud dan memiliki keamanan, kemungkinan besar HTTP3 tidak akan berfungsi - buka port 443/udp dalam pengaturan firewall.

**Bagaimana cara menguji HTTP3?**

Dukungan HTTP3 QUIC adalah berupa fitur yang harus diaktifkan terlebih dahulu, jadi Anda harus mengaktifkannya.
Chrome (>79) go to chrome://flags/#enable-quic
Firefox (> 72) go to about:config => network.http.http3.enabled
Masuk ke developer console (F12) => Network and check protocol.

**Kelebihan HTTP3**

HTTP3 bermanfaat dalam kasus-kasus berikut:
Handshake lebih cepat (1 atau 0-RTT)
Tidak ada pemblokiran head-of-line
Peralihan jaringan tidak akan memengaruhi koneksi (Streaming)
Tes curl saya sendiri antara HTTP2 dan HTTP3 menunjukkan 30% latency bust.
How much time do you spend debugging your code? 🥺
Tags: discuss, codequality, codenewbie
Published: 2020-07-14 12:52:41

This is a common problem all of us might have faced at some point in time. I have personally spent quite a lot of time debugging when I was working on C and C++. When I dove into Python, that debugging reduced to almost nothing!

I'd like to understand how it goes on in other languages (front-end and back-end both). Let's discuss it!
How far in advance do you plan your blog posts?
Tags: discuss
Published: 2020-07-14 12:50:09

So I have (kind of) two blogs. One here at Dev.to, and my personal site (https://www.garybell.co.uk) which I mostly use for my own benefit of how I fixed stuff historically. It's helped a couple of people too, but it's helped me more times that I remember.

I go through phases of blogging and then not, but have been fairly consistent since May in posting once a week on my personal one, but use dev.to for more ad-hoc posts, and dragging up older posts to a new audience.

For those who have external blogs, or even post regularly here, how far in advance do you have drafts ready to post?
Quick guide to create a custom ChatterBot corpus
Tags: python, machinelearning, beginners
Published: 2020-07-14 12:29:01

The ChatterBot python library is a great introduction to machine learning. It is very easy to create and train your own custom data by creating a YAML file. Luckily, ChatterBot has a custom corpus file and folder where you can add the content you want for the chat bot.

### Naming a category 
You want to start off naming the corpus category. It can be any topic you want. 

```
categories:
- Hello
```
### Writing dialog
Added dialog is important if you want the chat bot to reply with a specific answer. Your input is denoted by - - while the response for the bot is starts with  - . After when you are done save the file in the custom folder. You can also add multiple YAML files to the custom folder. 

```
conversations: 
# Your input
- - hello
# Bot response
-   world
```
The YAML file should look like this:
```
categories:
- Hello
conversations: 
- - hello
  - world
```

### Training the custom file
You can now train the bot with the custom corpus that you created.

```
trainer = ChatterBotCorpusTrainer(bot)
trainer.train('chatterbot.corpus.custom')

```
The bot can be trained with multiple files within a folder. For example, we have a folder with various YAML files.

```
trainer.train('chatterbot.corpus.customFolder')
```


That's it for the quick introduction. For more information visit [ChatterBot](https://chatterbot.readthedocs.io/en/stable/#) for documentation.
Learn Kubernetes 
Tags: kubernetes, devops, tutorial
Published: 2020-07-14 12:27:18

---
series: 'Kubernetes in Private Cloud'
---
I am learning Kubernetes and I want to write this post as a journal, through which everyone can learn along with me.

Containerization is the current best practice for building and distributing software. With containers, we now essentially don't need to worry about other software dependencies for our application to work, no need to worry about what worked for person X, will it work for person Y? All these problems are resolved by containers.

![Orchestration] (https://images.unsplash.com/photo-1551696785-927d4ac2d35b?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80)

Let us say containers are equivalent to people in an orchestra.
Let us assume there are containers named violinist, pianist, flutist, and trumpeter. There are many conditions to be satisfied like, at any point, a minimum of 4 violinists should be there, communication should be ensured between the violinists and other performers like pianists, they need to be monitored and corrected immediately. 
To satisfy this, we have an orchestrator. An orchestrator takes a composer's musical sketch and turns it into a score for orchestra, ensemble, or choral group, assigning the instruments and voices according to the composer's intentions.

##What is kubernetes?
Kubernetes is an open-source container-orchestration system for automating application deployment, scaling, and management. It was originally designed by Google and is now maintained by the Cloud Native Computing Foundation.

##Why kubernetes?
Kubernetes takes care of the role of an orchestrator in an orchestra as seen above
It helps in
<ul>
<li>Maintaining minimum number of containers(create new containers if older one is destroyed or broken)
<li>Autoscaling - adding or removing containers based on demand
<li>Monitoring of containers
<li>Networking (communication) between containers
</ul>
Just Another ToDo Application 
Tags: android, kotlin, computerscience, database
Published: 2020-07-14 12:22:11

Hello <b>awesome devs</b>,

To <b>master any language</b> the <b>best way</b> is to <b>solve programming questions</b> using it or <b>build a project</b> using it, in this way <b>we learn on the go</b> and <b>this is what keeps us going</b> and <b>never</b> makes us <b>bored</b> in our <b>journey</b> to master a new tool/language/framework.

I built an <b>Android Application in Kotlin</b> few months ago, it really helped me to learn a lot about this language especially about the <b>null safety</b> which is a one of the <b>standout features</b> of this language.

In this application, I used :
• <b>SharedPreferences</b> for Logging in the user
• <b>ViewPager and PagerAdapter</b> to show On Boarding screens
• <b>Room library</b> for data persistence
• <b>RecyclerView</b> for showing the notes made by user
• <b>CoordinatorLayout</b> in XML and much more

Here is the <b>repository link</b> : <a href="https://github.com/tanishq9/Kotlin-ToDo-Application">ToDo Application</a>

Please <b>star</b> ★ the repository incase you find it useful. 

Happy Coding, <b>dev fam</b> !


![Project SS](https://dev-to-uploads.s3.amazonaws.com/i/cjwsue4ya7mxa74eagoy.png)
How should an icon look like to indicate further information on hover
Tags: help
Published: 2020-07-14 12:07:26

Hi devs,
it's my first post and I'm quite excited for the response :-).

So I've implemented a little icons as shown which (when hovered) 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/pknusw38ahx0q5hmnybg.PNG)
shows some information regarding express delivery such as the date of arrival. But at the moment I'm wondering how I can give the indication that there is actually some information visible when hovered. 
It might seem as a "normal" icon.
I hope I've expressed my question somewhat understandable.

Best wishes Niklas 
(Expresslieferung means express-delivery in German :D)
Machine Learning in Backend
Tags: python, webdev, javascript, computerscience
Published: 2020-07-14 12:05:17

Hello <b>awesome devs</b>,

<b>Ever wanted to run cool Machine Learning or Python Scripts in your Web Application's Backend ?</b>

I made a <b>web application in Nodejs</b> in which I <b>classified the digit drawn by the user on the Canvas</b>, the <b>API</b> was made using <b>Express</b> and used <b>python-shell node package</b> to <b>call</b> the python script which contained code for using the <b>Deep Learning model</b> which was built using <b>CNN (Tensorflow)</b> to classify images.

It can be <b>really useful</b> for you if you are trying to <b>implement</b> something similar.
 
Here is the <b>repository link</b> : <a href="https://github.com/tanishq9/MNIST-NodeJS">Run ML in JS Backend : Repository Link</a>

Please <b>star</b> ★ the repository incase you find it useful. 

Happy Coding, <b>dev fam</b> !

![Project Screenshot](https://dev-to-uploads.s3.amazonaws.com/i/002ne1nt3ay1edioep6o.png)
Daily Developer Jokes - Tuesday, Jul 14, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-07-14 12:00:07

---
title: "Daily Developer Jokes - Tuesday, Jul 14, 2020"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Tuesday%2C%20Jul%2014%2C%202020"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e125988c2636.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
___Q:___ Why did the web developer always go to the wrong hotel room?

___A:___ They were in room 301.
 -->
Focus Helps You Do Deep Work
Tags: focus, development, productivity
Published: 2020-07-14 11:54:07

The formula below says high-quality work takes two things: time, which we already know is finite, and focus. 

![Focus Formula](https://dev-to-uploads.s3.amazonaws.com/i/075om7waez2szg28hokt.png)

By tapping into your ability to be highly focused on whatever task is at hand, Newport says you can do “deep work,” which is “Professional activities performed in a state of distraction-free concentration that push your cognitive capabilities to their limit. These efforts create new value, improve your skill, and are hard to replicate,” he writes.

Deep work isn’t easy to achieve, but it’s one of the best ways we can counter the age of distraction we all live in, and do our best, most productive work. Newport suggests practicing deep work — it takes time to get good at it, like any other skill. 

He also recommends having a deep work routine, so your brain knows when it’s time to get down to business. That means having:

- **A location that’s specific to doing deep work.** Somewhere that’s comfortable, quiet, and completely free from distractions is ideal.
- **A duration in mind for your deep work session.** If you’re new to deep work, start with 15 minutes and work your way up to longer sessions.
- **Structure that determines what deep work looks like for you.** For example, can you have drinks and snacks, or will those distract you? Can you get up and move, or should you stay in front of your screen the entire time?
- **Requirements for accessing deep work, so you’re ready to go when your session begins.** This means you won’t waste any of the duration of your deep work session setting your phone to silent or picking out the right music, because those things will be done before you start.

### 24 Hours in the Day Is More than Enough

None of us needs more hours in the day. In fact, 24 is more than enough, since no one should be spending more than eight of them at work on a regular basis.

By practicing and combining skills that create better work systems, you can instead make the most of your work time and get important tasks finished — without needing more time.
Data Science Code Samples
Tags: python, machinelearning, computerscience, datascience
Published: 2020-07-14 11:44:37

Hello <b>awesome devs</b>,

I made a repository for various <b>algorithms & techniques</b> used in <b>Machine Learning, Deep Learning and NLP</b> around 2 years ago. I have implemented these from <b>scratch</b> as well as with the help of <b>python libraries.</b> It covers topics such as :
 
• Linear Regression
• Logistic Regression
• Gradient Descent
• Decision Tree
• Random Forest
• Naive Bayes
• PCA
• SVM
• Neural Networks
• Tensorflow : ANN, CNN and RNN 
• Unsupervised Learning using K-Means from scratch
• NLP using NLTK
• Web Scrapping, Python Data Structures, Conda Setup and much more !

Here is the <b>repository link</b> : <a href="https://github.com/tanishq9/IPyNotebooks">All about Data Science : Repository Link</a>

Please <b>star</b> ★ the repository incase you find it useful. 

Till date, I have used this repository for these implementations when I want to use <b>ML/DL/NLP as a tool</b> in any of my ongoing project. 

Happy Coding, <b>dev fam</b> !


![Repository Screenshot](https://dev-to-uploads.s3.amazonaws.com/i/5w7w9mqbpjja9w624msy.png)
Ui/Ux Design Vs. Web Development
Tags: webdev, uiweekly, beginners, javascript
Published: 2020-07-14 11:43:39

**_If you have these qualities, you may be a future..._**

### **Ui/Ux Designer** 🎨

* You're interested in how to improve things for others.
* You're open to different ways of looking at the world.
* You see improvements to be made everywhere - at school, at home, at work, at the gym, etc.

### **Web Developer** 👨‍💻

* You enjoy problem-solving.
* You like to find solutions AND implement them.
* You look at error messages as a good thing.
* You think logically.

---

**_Add these tech skills..._**

**1. Ui/Ux Designer**

![UI/UX Designer tech skills](https://res.cloudinary.com/techlead/image/upload/v1594723877/Dev.to%20posts/bjpmu5sqqzo2jxcv00w8.png)

* [Adobe XD](https://www.adobe.com/in/products/xd.html) _**or**_  [Figma](https://www.figma.com/ui-design-tool/) _**or**_ [InVision](https://www.invisionapp.com/)
* [Photoshop](https://www.adobe.com/in/products/photoshop.html)
* [Sketch](https://www.sketch.com/) _**or**_ [Adobe Illustrator](https://www.adobe.com/in/products/illustrator.html)

_**Youtube channels to learn from...**_

{% youtube 7blZjnrxDo0 %}
{% youtube CnfXJ2qjv5I %}

---

**2. Web Developer**

![Javascript, Html, Css, Nodejs, Python](https://res.cloudinary.com/techlead/image/upload/v1594723878/Dev.to%20posts/jnr47h2ngg4phlcvnx03.png)

* Front-End languages like **Html**, **CSS**, and **JavaScript**.
* Back-End languages like **Node.js** or **Python**
* Database technologies like **SQL** or **MongoDB**
* Fluency with **APIs**, **GIT**, basic **algorithms** + **data structures**


_**Youtube channels to learn from...**_

{% youtube 0pThnRneDjw %}


---

_**And you could get jobs like...**_

### **Ui/Ux Designer**

> * Product Designer.
* UX Researcher.
* UX Consultant.
* UX Designer.

### **Web Development**

> * FrontEnd/BackEnd Developer.
* Fullstack Developer.
* QA Engineer.
* Database Administrator.

---

_**You can find me here...**_

🔹 Twitter - [@jayeshintech](https://twitter.com/jayeshintech)
◼ LinkedIn - [@jayeshintech](https://www.linkedin.com/in/jayeshintech/)
🔸 Instagram - [@jayesh.2112](https://www.instagram.com/jayesh.2112/)
List and Keys
Tags: javascript, function, react, mapfunction
Published: 2020-07-14 11:42:47

We can output lists using Javascript arrays and the map() function. The map() is used to traverse through an array.

Below is a basic list component that accepts an array of numbers and outputs a list of elements.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/06fdjldmptmed06wxxko.PNG)

+ A key is a special string attribute you need to include when creating lists of elements,as you must have also seen in the last.
+ Keys help React identify which items have changed, or are removed.
+ Keys should be given to the elements inside an array to give the elements a stable identity.

## When you don't have stable IDs or a suitable property to be used as key for the rendered items, you may use the item index as a key as last resort :

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/63gcyemd7m3mpe18ome9.PNG)

That's all Thanks for reading !!
I Made Spelling Checker in Python
Tags: python
Published: 2020-07-14 11:40:28

## Using textblob module

###Installation

```
pip install textblob
```

###code
```python
# using textblob

from textblob import TextBlob 
  
a = "comuter progrming is gret"
print("original text: "+str(a)) 
  
b = TextBlob(a) 

print("corrected text: "+str(b.correct()))    

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

##see second method [here](https://www.codesnail.com/spelling-checker-in-python/)