teleren/devto huggingface dataset:
[-2] Intro
Tags: codenewbie, webdev, javascript, react
Published: 2020-10-13 19:07:04

Hello to everyone, whoever reads this post. So, let's start with a brief introduction.

My story relating to this blog started in 2015. This year I graduated from the University of Helsinki, where I studied Russian literature as a major. Literature was a pretty natural choice for me since I always adored reading and wanted to do literature research professionally. My choice fell exactly on Russian literature because I am Russian, and, despite the fact, that I lived in Finland for most of my life, I found myself closest to the world of Russian culture.

Study at university felt pretty awesome, and I felt like it was the right choice for me. Ok, so, finally, in 2015, I wrote my Masters’ Thesis about Russian émigré literature in France, and that’s where it ended. Anyway, after graduation, I realized quickly enough that the Master of Arts degree is nothing to do with the real world. Especially if you study something like literature. When you get to university right after school, you are not probably thinking about your future job, you just want to do what you like the best. Ok, maybe you were lucky more (or you were smarter than me, which is quite likely), but I thought exactly like that.

As you probably already understood, my university degree did not allow me to find a job in my field. Mostly, because such a field doesn’t exist in Finland. After realizing that, I started thinking about what I should do in this situation. At this point, I decided that it is time to find a "real job". I sent my CV to all possible places and got a ton of rejections, when one day in 2016, an ad caught my eye: Tram driver, HSL Helsinki.

Since my impressive career as a tram driver is not the topic of this blog, let’s move to 2019 straight away. I guess, later, I will write something also about working as a tram driver. Anyway, not today.

So, 2019 was the year I decided to change the sector in which I was working. Because of this, I thought it was worth going to study again. My choice fell on information technology because, in addition to Russian literature, I have also always been interested in computers and coding.

In my future posts, I will talk about my studies at university as well as about my self-studies. I will also try to write about my small projects and other things like that. HTML, CSS, JS, React, driving downtown during rush hour, you name it. Stay tuned, and thank you for reading this.

Original post https://create-react-app.com/intro/
Site https://proj.create-react-app.com/
GitHub https://github.com/villivald
Day 29 - DIY Mondrian Painting
Tags: codenewbie, beginners, css, javascript
Published: 2020-10-13 19:03:53

For my second to last day of this challenge I built a page where you can create your own [Mondrian](https://josno.github.io/mondrian/) style painting. Generate a canvas, select colors to fill in the boxes, and call yourself an artist!

# What I Learned
I went back to vanilla Javascript in order to set up the functionality for coloring in each box and got a good review of scoping.

# How This Will Help Me
It was a good reminder of how finicky Javascript can be and the practice gave me some things to remember!

Onto the LAST challenge!
Hacktoberfest! 4PRs done and what I've learn!
Tags: hacktoberfest, opensource
Published: 2020-10-13 18:49:14

It's been a week since I've stumbled across Hacktoberfest and, let me say it, it's been nothing but a great and pleasant ride..!!

To be honest, I've never actually considered writting code for another person's project but this new experience openned my eyes to the amazing world of open source!

I started this challenge with no to little expectation of how would it go and if I would even finish it. 4 pull requests later, here I stand in my new favorite thing, DEV, posting about a challenge I knew nothing about!

I started off by simply searching in github for literally anything that had the tag "hacktoberfest" and I stumbled apon a few THOUSAND issues! I had no idea where to start so I started with some basic frontend features just to get used to the whole issue/PR vibe. I must say it felt amazing when my first pull request was accepted and a random guy just told me "Great job! Thanks for contributing!". This gave me the energy and motivation to keep going and to find new and challenging issues!

Not everything was a piece of cake though.. I had times where I was working on a project written in Swift, which I know nothing about.. (serious, I had to wiki Swift just to know what that was!) So, really bad idea to get into something I had absolutely no experience on.. At the end of the day I just gave up on that issue and started working on something else.

The days passed and my pull requests were starting to get accepted more and more! I've made it to the end of Hacktoberfest! I must say, this experience was way more enjoyable than I ever thought and I'll definetely keep on contributing for the open source community and perhaps join it with one of my personal projects myself!

That's about it for this post! Thank you for reading and have a fantastic day! Cheers!
Use  apkanalyzer for get info from apk with docker
Tags: android, apk, apkanalyzer, docker
Published: 2020-10-13 18:47:56

### Pull docker image with android sdk
```
% docker pull thyrlian/android-sdk
```

### Launch container with apk file mount to `/app.apk` path and `bash` interactive console
```
% docker run --rm -it -v $HOME/Downloads/some-android-app.apk:/app.apk thyrlian/android-sdk bash
```

### Before use `apkanalyzer` you must install necessary build tools
```
# sdkmanager --install 'build-tools;29.0.2'
```

### Check debuggable mode
```
# apkanalyzer manifest debuggable /app.apk
(output)
true | false
```

### Get permissions
```
# apkanalyzer manifest permissions /app.apk
(output)
android.permission.FLASHLIGHT
android.permission.RECORD_AUDIO
android.permission.READ_PRIVILEGED_PHONE_STATE
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.ACCESS_FINE_LOCATION
android.permission.ACCESS_COARSE_LOCATION
android.permission.INTERNET
android.permission.ACCESS_NETWORK_STATE
android.permission.CHANGE_NETWORK_STATE
android.permission.ACCESS_WIFI_STATE
android.permission.CAMERA
android.permission.MODIFY_AUDIO_SETTINGS
android.permission.READ_EXTERNAL_STORAGE
android.permission.READ_PHONE_STATE
```

More info at https://developer.android.com/studio/command-line/apkanalyzer
My first public PR
Tags: opensource
Published: 2020-10-13 18:43:02

This week for my open source development class I was tasked on submitting a PR to an open repository. Let me tell you it was disappointing in the amount of code that I actual wrote but **VERY** educational for me to do.

The issue that I chose to take up was: https://github.com/mozilla/OpenWPM/issues/651

Just reading through the issue seems to be pretty easy, just change the numbers from 0.14 to 0.26 and update the code if needed. I thought it would be a great first pull request to start my journey into open source development - something nice and easy. 

https://github.com/mozilla/OpenWPM/pull/762 So I started to look through all the files in the repo for any reference of geckodriver and geckodriver 0.14 I found 9 files, 2 of which may need to be changed.

With these two files in mind I thought about my next steps. Documenting my progress in a draft PR (Which I didn't even know was a think until I started working on this repo) I found another Issue https://github.com/mozilla/OpenWPM/issues/665 that was asking the code to be updated and then I found the release of geckodriver that added the functionality https://github.com/mozilla/geckodriver/releases/tag/v0.24.0

So I complied all my research into a comment and waited... and waited... and waited until the day that I had to submit my first pull request. Still no reply... But I learnt something that my professor talked about frequently to the class, pull requests take a long time. He has a pull request that has taken over 2 years and still isn't merged. The work that I do is not always going to be taken right away and I may have to create many iterations of the pull request and wait for a response and get back to it after.

And as of October 12th it turns out that the code base doesn't even have the functionality since they are on a previous version of selenium https://github.com/mozilla/OpenWPM/issues/665#issuecomment-706963399

So all I did was just add a comment in the code saying that in geckodriver 0.26 they have added a functionality to create full screenshots but the code that we are using currently does not use it. It can be summed up in one sentence, but the steps that I took and the research that needed to be done took me a while and I'm happy that my first PR was a little bit of a failure since I got to learn.
How to add Open Windows Terminal in Context Menu
Tags: productivity, tutorial, design, showdev
Published: 2020-10-13 18:40:14

### The windows terminal is new sleek, fast, customizable and feature packed terminal. It is much more productive than previous `Command prompt` and `PowerShell`.
<br/>
<br/>

So, if you want to customize the Windows terminal then you can go to this post. The steps have been beautifully curated there.
<br/>
<br/>

{% link https://dev.to/anupa/beautify-your-windows-terminal-1la8 %}
<br/>
<br/>

## So, let's get back to adding the Context Menu option
# Perquisites
* `Windows Terminal icon` [github.com/microsoft/terminal/raw/master/res/terminal.ico](https://github.com/microsoft/terminal/raw/master/res/terminal.ico)
⚠️ (I couldn't find the icon file in the installed folder) 
<br/>
<br/>

* Copy the downloaded icon to this folder

<br/>
<br/>
```
C:\Users\%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\
```
<br/>
<br/>

* Open Text editor copy and paste the following code into it and save as `.reg` file.

```
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="Windows terminal here"
"Icon"="C:\\Users\\yourusername\\AppData\\Local\\Microsoft\\WindowsApps\\terminal.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="\"C:\\Users\\yourusername\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe\"  -d \"%V\""

```
<br/>
<br/>

*  Don't forget to replace `yourusername` with your `username` like below.

```reg
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="Windows terminal here"
"Icon"="C:\\Users\\mishr\\AppData\\Local\\Microsoft\\WindowsApps\\terminal.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="\"C:\\Users\\mishr\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe\"  -d \"%V\""

```

<br/>
<br/>

and save as whatevernameyouwant.reg.
<br/>
<br/>

* Run the what_name_you_want.reg file
<br/>
<br/>

# 🤘😎

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

<br/>
<br/>
 
[Windows Terminal] (https://github.com/microsoft/terminal) ❤
Video Series: Build A CRUD App Using Vue 3, Ionic Framework And Firebase
Tags: vue, javascript, tutorial, ionic
Published: 2020-10-13 18:19:28

Showing how to build a basic CRUD application using [Composition API](https://v3.vuejs.org/guide/composition-api-introduction.html) and Firebase Storage using the new [Ionic Framework Web Components for Vue 3](https://ionicframework.com/docs/vue/quickstart).

We cover the following:
- Firebase Authentication
- Using Tabs In Your Vue Application
- Child/Nested Routes In Tab Application
- Using Ionic Modals
- Using Ionic Alerts
- Using Composition API
- CRUD for data in memory, **will use firebase eventually**

I am using the latest beta release of the Ionic Integration with Vuejs Beta 3. I am using typescript in the example and relying heavily on the new pattern of Composition API when creating single file components.

Below are links to the first four videos and next week I will release two more videos covering additional topics as we work through building the applications

{% youtube lHye7_XmsVQ %}



{% youtube ZwUrjdHs1ZI %}



{% youtube _6ZNZHCHpec %}



{% youtube kk2UTk7Im8Q %}
Ruby 2.7.2 has revised Rdoc for ENV
Tags: ruby, env, documentation
Published: 2020-10-13 18:18:54

---
title: Ruby 2.7.2 has revised Rdoc for ENV
published: true
description: 
tags: ruby, env, documentation
---

Some of the revisions I've made were in Ruby 2.7.0. The rest are now in Ruby 2.7.2.

- 2.6.3 (before revisions): https://ruby-doc.org/core-2.6.3/ENV.html

- 2.7.2 (with all revisions): https://ruby-doc.org/core-2.7.2/ENV.html
2. Predict the output
Tags: javascript, webdev, inputoutput, interview
Published: 2020-10-13 18:10:42

Predict the output for below list.

```

1. null > 0 
2. null == 0 
3. null >= 0 
4. null == null
5. null == undefined  
6. typeOf(null)
7. typeOf(undefined)

```
Hi, I'm Alvaro From Rentadrone's Team
Tags: machinelearning, opensource, datascience, hacktoberfest
Published: 2020-10-13 17:49:57

We are a small tech startup Chile-based focussing on drone's services applications, with a commitment to open-source technology & clean energy solutions.

As  Hacktoberfest 2020 is nearing the halfway point, I want to share with you our side projects what we're working on as part of the UNICEF Innovation Fund Cohort.

Someones of our most relevant projects are deep learning model for fault detection in photovoltaic plants. In this [repository](https://github.com/RentadroneCL/Photovoltaic_Fault_Detector), you will find trained detection models that point out where the panel faults are by using radiometric thermal infrared pictures.

As well a set of machine learning algorithms developed for [precision agriculture](https://github.com/RentadroneCL/Precision_Agriculture) with the aim of determining the health state of different types of crops.

If you want to know more about us and what we're doing just take a look [Rentadrone.cl](https://rentadrone.cl/developers), or follow us on [GitHub](https://github.com/RentadroneCL).

We welcome contributions from everyone, whether to add new features, fix existing bugs, or add support.



Happy Coding!
Send Emails with Python : sending emails with just 6 lines of code
Tags: python
Published: 2020-10-13 17:45:49

If you are looking for a way to send emails with python, look no more.

Lets jump into it,

###**Emails with Python**

We'll use the Smtp module a built-in python library to send emails,

So lets start with importing it first,

```
import smtplib
```
Now that this is out of the way lets look at the code,
```
message = f'Subject : Upcoming Due Date Alert : {left} Days \nDear User, \n\n\nThis message is regarding the upcoming due date for {Details} on {Date}. \n\nRegards,\nPython ;)'
        server = smtplib.SMTP(host = 'smtp.gmail.com',port=587)
        server.ehlo()
        server.starttls()
        server.login(sender_mail,sender_password)
        server.sendmail(sender_mail,receiver_mail,alert_message)
        server.quit()
```
The server variable defines the email host which is 'gmail.com' and the port that we will be using to send the email. The `server.ehlo()` function is a hostname argument for the email client and the `server.starttls()` is to encrypt the email.

That is it, that's all it takes to send emails using python. Making sending bulk emails easy, all thanks to python. You can pass a list of receiver emails to the `receiver_mail` variable which would send the emails to multiple people.

Go and try send some emails with Python.
The 7 Most Popular DEV Posts from the Past Week
Tags: top7
Published: 2020-10-13 17:41:10

---
title: The 7 Most Popular DEV Posts from the Past Week
published: true
description: A round-up of the most-read and most-loved contributions from the community this past week.
tags: icymi
cover_image: https://thepracticaldev.s3.amazonaws.com/i/sfwcvweirpf2qka2lg2b.png
---
Every Tuesday, we round up the previous week's top posts based on traffic, engagement, and a hint of editorial curation. The typical week starts on Monday and ends on Sunday, but don't worry, we take into account posts that are published later in the week. ❤️

### The Dual Value of Code Reviews

“Remember,” writes @camilaleniss, “code reviews are not just for looking at what’s wrong, but for learning from others.” 👏👏👏

{% link https://dev.to/camilaleniss/the-code-review-guide-4gfo %} 

### Red Flags Don’t Turn Green

In @jmfayard’s opinion, the “what’s your current salary” interview question is a red flag and an illegitimate question. Super interesting and valuable read!

{% link https://dev.to/jmfayard/what-is-your-current-salary-is-a-red-flag-that-you-don-t-want-to-work-here-3aji %} 

### A Year Well-Spent

Contrary to the title of this awesome and vulnerable post, @_pthomann doesn’t view their year spent building a “failed” startup as a loss but a once-in-a-lifetime learning experience that they wouldn’t trade. 

{% link https://dev.to/_pthomann/how-i-lost-1-year-of-life-doing-failed-crypto-startup-5hlp %}

### Accessibility is Not Limited to Alt Tags, Semantic Tags, or Color Contrast

@hellonehha walks us through what we (developers & designers) should prioritize in accessibility -- beyond just the alt tags, color contrast, semantic tags.
{% link https://dev.to/hellonehha/accessibility-beyond-alt-tag-color-contrast-and-semantic-tags-1g1e %}

### Tutorial Time!

@andrewbaisden shows us a straightforward way to connect to a Node back-end that uses a PostgreSQL database to persist the data.

{% link https://dev.to/andrewbaisden/creating-react-node-apps-that-connect-to-postgresql-and-harperdb-41h3 %}

### Consistency is Key

@vtrpldn gives us a fascinating look into how they went about achieving the 16-week streak badge here on DEV. 

{% link https://dev.to/vtrpldn/i-got-the-16-week-streak-badge-here-s-everything-i-learned-about-consistency-2nna %}

### Consider the Spreadsheet

As @hacubu says, it's still tough to beat the humble spreadsheet's versatility and intuitiveness. This post demonstrates how to use Google Sheets as a database, complete with an API interface accessible over HTTP. 

{% link https://dev.to/hacubu/how-to-use-google-sheets-as-a-database-responsibly-3ohk %}

_That's it for our weekly wrap up! Keep an eye on dev.to this week for daily content and discussions...and if you miss anything, we'll be sure to recap it next Monday!_
Core Java Online Training - NareshIT
Tags: java, computerscience, career
Published: 2020-10-13 17:20:17

We are providing Corejava online training in our institute NareshIT. We are having the best and well trained experienced faculty to train you the Corejava. By joining in this course you will get complete knowledge about Corejava. we are giving 100% guidance in placement for our students.

Core Java: Core Java is the part of Java programming language that is used for creating or developing a general-purpose application.  To develop general purpose applications. To develop online application and mobile application. Without Core Java no one can develop any advanced java applications.


course objective :

After completion of the Core Java online training at Naresh I technologies, you will be expertise and eligible for:

Get Good knowledge of Java.
Able to create the Application independently related to Web-based, Mobile-based, Desktop based, etc.
Deep knowledge of Multithreading, Collection and other important concepts.
Learn how to connect communication with the database using Java.
Upgrade new and demanded technologies in IT industry like Selenium, Hadoop, Sales Force, Data Analytics, Cloud Computing, etc.

What are the core Java topics?
Language Fundamentals.
OOPs Concepts.
Interface and Abstract class.
Exception Handling.
Collection Framework.
Multithreading.
Packages.
Swings.

Why is core Java important?
Java is an Object-Oriented Programming language.When you know essential OOP concepts like Abstraction, Encapsulation, Polymorphism, as well as Inheritance, you can utilize all those with this development programming language and itself symbolizes lots of ideal techniques and also design pattern in its library.

What is core Java syllabus?
Introduction. Programming language Types and Paradigms, Computer Programming Hierarchy, How Computer Architecture Affects a Language ? , Why Java ? ,Flavors of Java, Java Designing Goal, Role of Java Programmer in Industry, Features of Java Language, JVM –The heart of Java , Java's Magic Bytecode.

Is Java still in demand?
Even with competition from new languages, the demand for Java developers remains strong. In fact, Java is among the most in-demand programming languages on the job market, depending on whose numbers you look at. Java has been a leading programming language since its introduction in 1995.


Why we have to choose NareshIT?

• Real Time Trainers
• 100% Placement Assistance
• Small Training Batch
• Flexible Timings
• Practical Guidance
• Excellent Lab Facility
• Resume Preparation
• Hands on Experience
• Certification Support

• Website : https://nareshit.com/core-java-online-training/
How to make Slider(Carousel)
Tags: javascript, css, html
Published: 2020-10-13 17:17:56

AS a frontEnd developer, here is the step by step code ,how to code carousel(slider).
step1.(HTML)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/qle3g42rm0ctr6pmfx2n.jpg)

step1.(css)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/38e8nocjbbs9mcity00r.jpg)

step 2.(HTML)
inside carousel 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/n52om5negkqfjta5gqyr.jpg)

step 2.(css)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/6cnqj8gfqi5mljvl26dr.jpg)

in a section class we use flex basis property. because of this each section item spaces equally to each other;
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/l7q6z8a8qx9wiw9yeo4d.jpg)

in web browser shows like that
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jko1y5c4y64b0hpv7ap7.jpg)

in slider class slider has a six childrens. and each equally spaces 100% so total slider width is  (100* multiply by number of slider childrens).beacuse of this, each section has full width.
 .slider{
width:600%;
}
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/s7kxc7i5lnvs315qkt7k.jpg)
after this ,in web browser
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/zkaslsyftbzt80i2tpva.jpg)

now align the each section item center
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/r5d36jjypb60flg712z1.jpg)
in section tag ,you can add background images, other things also

add buttons
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/r478lu0yl1bd1mambp7v.jpg)
css for button:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/bjvebaf7nec9y8a2w9zx.jpg)

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/m5k7lh0powwplq53j4n2.jpg)
 for smooth sliding : add transition property in slider class
and horizontal slide none , to add overflow:hidden property in carousel class.
add javaScript:

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

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

result:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/5fer8ol3ayc3dsqu56be.jpg)
Simple Complexities in React
Tags: react, healthydebate
Published: 2020-10-13 17:11:02

Hey friends! We are all at different stages in our programming journey and each of us have faced unique challenges along the way. Concepts that were initially complex and frustrating to learn now seem simple.

You can't go back in time and mentor yourself through those complexities, but you can mentor others that are not as far along in their journey.

### **Q:** What was the most difficult concept for you to grasp or the biggest challenge you faced while learning React?

### **Q:** What is the next concept you want to master or challenge you want to overcome?

### **Q:** If you could give one piece of advice to your past self, what would it be?

### **BONUS Q:** Knowing what you know now, how would you simplify or distill your most challenging concept in a way that would have been easier to understand?