teleren/devto huggingface dataset:
What’s the secret of your career?
Tags: career, discuss
Published: 2020-07-15 13:36:01

---
title: What’s the secret of your career?
published: true
description: Few questions on how you got your first tech job
tags: career,discuss,
//cover_image: https://direct_url_to_image.jpg
---

I've been asked, I’ve also asked employed developers and asking you now. I would love to know if you could discuss in this thread to help job seekers.

* What was your first tech job?
* Did you get your first tech job through online Job Boards (Stack Overflow Job, LinkedIn, etc)?
* What’s your advice to newbies searching for their first gig?
VNC servisi oluşturmak
Tags: vnc, x11vnc, servis
Published: 2020-07-15 12:59:13

Çok basit şekilde x11vnc kullanarak VNC sunucusu açabiliyorsunuz. Fakat ilgili VNC oturumuna bir kere girdikten sonra oturum kapandığında ilgili işlem de sonlanmaktadır. Bunun için x11vnc'yi servis olarak açmanız gerekir.

### Kurulum

x11vnc'nin kurulumu için aşağıdaki komutu uygulayabilirsiniz:

```bash
sudo apt install x11vnc
```

### Servis oluşturma

VNC oturumunu mevcut açık bir oturumla paylaşılmış bir şekilde yapabilmek için açık olan X oturumu gerekmektedir. Ve tabi ki bu oturumun XAuthority dosyası gerekmektedir. Bunun için **/etc/systemd/system/x11vnc.service** dosya yolunda bir dosya oluşturulur. İçeriği ise aşağıdaki gibi olabilir.

```
[Unit]
Description="x11vnc"
Requires=display-manager.service
After=display-manager.service

[Service]
ExecStart=/usr/bin/x11vnc -xkb -noxrecord -skip_lockkeys -noxfixes -noxdamage -display :0 -auth /home/aciklab/.Xauthority
ExecStop=/usr/bin/killall x11vnc
Restart=on-failure
Restart-sec=2

[Install]
WantedBy=multi-user.target
```

İlgili dosyayı kaydettikten sonra aşağıdaki komutlar ile servisi başlatıp, kalıcı olarak açılışta başlatma sağlanır.

```bash
sudo systemctl daemon-reload
sudo systemctl start x11vnc
sudo systemctl enable x11vnc
```

Burada önemli olan nokta hep açık olması gereken kullanıcı adı olarak aciklab yerine kendi kullanıcı adınızı yazmanız olacaktır. İlgili session açık değilse vnc bağlantısı da açık olmayacaktır. Bu çözüm için lightdm ve gdm üzerinde VNC ayar yapılması lazım. İlgili ayarları yapıldıktan sonra istenilen sayıda kullanıcı kendisi ayrı ayrı oturum açabilmektedir. Bu örnekte ise var olan bir oturuma VNC ile ortak kullanma işlemi yapılmıştır.

### Bağlantıya Parola oluşturma

İlgili oturuma bağlanırken herhangi bir parola sorulmamaktadır. Burada bir parola sorması istenirse aşağıdaki komut uygulanır;

```bash
sudo x11vnc -storepasswd şifreyazınız /etc/x11vnc.pass
```

Bu şekilde parola oluştuktan sonra servis dosyası içindeki ExecStart içeriği aşağıdaki gibi düzenlenmelidir:

```
ExecStart=/usr/bin/x11vnc -xkb -noxrecord -skip_lockkeys -noxfixes -noxdamage -display :0 -auth /home/aciklab/.Xauthority -rfbauth /etc/x11vnc.pass
```

Esse quam videri
How networking for a month helped me
Tags: career, productivity
Published: 2020-07-15 13:33:23

Over the last few years I joined a few social media platforms.  I've been networking to improve my connections. In a month, I  doubled my network on LinkedIn. Even though I'm still improving, it was a small victory. 

### Look into the inner circle
Start small by looking into friends or recent contacts and expand your network by looking a similar connections. On LinkedIn there are alumni network for colleges that I used to connect with a few graduates and groups that align with my professional goals.

### Attend events and meetups
This opened up my network and introduced me to new people in various industries such as cybersecurity,video games, etc. I have met people who were willing to give me insights and valuable advice. Both local and virtual meetups are good opportunities for networking.

### Have a pitch 
The elevator pitch is still relevant for building a brand. Crafting a pitch will make you know your worth. The way your present yourself is a valuable marketing tool. 

### Don't expect a reply from everyone
Not everyone will respond to emails or messages. From the responses I did receive, I stated my intentions in a professional and honest way. It is best to move through the next contact and keep on trying.  

When I first reached out to people, I was nervous and was afraid of having little progress. The first response I got encouraged me to reach out to others. Don't be afraid to ask for help. 

Any more advice on networking?
Python üzerinde sanal ortam
Tags: python, venv, virtual, sanal
Published: 2020-07-15 13:31:22

Python üzerindeki en büyük problemlerden birisi olan 2.x mi yoksa 3.x sürümünü mü kullanılacağı soru işareti 2020 yılının 1 Ocak'ında tarihe karışarak artık Python2'ye destek olunmayacağı belirtilerek Python3 üzerinde geliştirme yapılmasını olumlu kıldı.

Tabi ki 3.x sürümleri de kendi aralarında farklı paketlere farkı şekilde destek verebilmekte, farklı paketler çeşitli paket bağımlılıklarına sahip olduğu için bu yapıyı daha iyi anlamak ve kullanmak oldukça önemli.

Bu yazımızda aslında Python üzerinde sanal ortam oluşturmaya giriş yapacağız. 

## Sanal ortam paketinin kurulumu

Öncelikle Python üzerinde sanal ortam kurabilmek için Debian tabanlı sistemlerde aşağıdaki paketi kurmanız gerekmektedir. Tabi ki bir de ileride çok lazım olacak paket yönetim aracı olan pip'i de kurabiliriz.

```bash
sudo apt install python3-venv python3-pip
```

## Sanal ortam oluşturma

Sanal ortam oluşturmadan önce bu sanal ortamın dosya sistemi üzerinde nerede olacağını belirtmeniz gerekiyor. Herhangi bir yerde yetkilere sahip olduğunuz sürece oluşturabilirsiniz. İsterseniz /usr/share/aciklab/ gibi yerlere koyabilirsiniz, isterseniz de test ortamı ve kendiniz kullanacaksanız bulunduğunuz yol üzerinde de kullanabilirsiniz.

Örneğin sanalortamlar diye bir klasör oluşturup onun altında farklı ortamlar oluşturabiliriz. Bunun için bulunduğunuz herhangi bir yerde bir klasör oluşturabilirsiniz.

```bash
mkdir sanalortamlar
```

Daha sonra bu klasör içinde farklı 2 ortam oluşturabilirsiniz. Tabi ki daha fazla da oluşturabilirsiniz:

```bash
python3 -m venv sanalortamlar/ortam1
python3 -m venv sanalortamlar/ortam2
```

İlgili sanal ortamların içeriğine "ls -l" komutu ile bakabilirsiniz. Her birinde daha sonradan kendine özgü kütüphaneler ve python sürümleri kullanabiliriz.

## Sanal ortamı kullanabilme

Sanal ortamları oluşturmanız demek onları hemen kullandığınız anlamına gelmez. Hatta bu işlemleri yaptığınızda sanal ortamları kullanmış olmuyorsunuz. Kullanabilmek için aşağıdaki komut ile o ortamı aktif etmeniz gerekmektedir.

```bash
source sanalortamlar/ortam1/bin/activate
```

Bu komut ile birlikte artık sanal ortam kullandığını kabuk üzerinde aktif hale gelecektir. Ama tüm sistem üzerinde veya kendi oturumunuz üzerinde değil. Sadece kullandığınız kabuk üzerinde aktif hale gelecektir. Hatta kabuğun başında aşağıdaki gibi bir (ortam1) ifadesi yer alacaktır:

```bash
(ortam1) alorak@makineadi:~/isler/
```

Artık bu kabuk üzerinde çalıştıracağınız tüm işlemler bu ortam üzerindeki python ve modülleri üzerinde çalışacaktır. Yani çok kısa bir örnek vermek gerekirse pip ile kuracağınız paramiko kütüphanesi sadece bu ortam ayakta iken çalışabilecektir.

Bu ortamda yapacağınız paket yüklemeleri gerçek ortamınızı bozmayacağı için rahatlıkla çalışmalarınızı yapabilirsiniz. Tabi ki sanal ortamda olduğunuza dikkat ederek.

Sine scientia ars nihil est
Lambda school VS hack reactor?
Tags: beginners
Published: 2020-07-15 13:30:31

Hi everyone! I'm looking for some help with choosing a great coding boot camp. I've basically boiled it down to either lambda school or hack reactor. I am looking to get into full stack web development with a part time fully remote course. My concerns with lambda are all the controversial statistics and reviews regarding them and how it seems easier to get accepted into than hack reactor. The pros of lambda are that they do not require 2 grand upfront and I will more than likely be accepted as well as they are fully remote and the part time scheduling does work for me. With hack reactor my concerns are the 2 grand upfront and how difficult it may be to get in with all of the pre-course work (although I do like this, as I want a challenge and would like to get accepted into something that seems more "solid"). The pros for me with hack reactor are how it seems more "solid" as in the curriculum is better and also the part time scheduling would work for me. Both have the pro of having an ISA availability. To anyone who has attended either of these schools I would love and really appreciate any feedback you could give me on your experience during the camp, on the curriculum and the outcome after you have completed it. (Ie: what did you take from it, were you able to get a good job after, how long did that take/how difficult was it to do so and if you feel comfortable how paying back the ISA works). Thanks for taking the time to read (and reply!)
HTML tags | HTML tutorial
Tags: html, webdev, tutorial, beginners
Published: 2020-07-15 13:16:00

We saw in the previous article about html basics. Now we will see some very common tags used inside body tag. Html tags are used like this `<tag></tag>` or `<tag />` (called self-closing tag). Self closing tags does not require text inside them like `<img />`, `<input />`. However other tags require like <btn>click me `</btn>`.

###`<h1>`

You can have 6 different sizes of headings ranging from h1(largest) to h6(smallest). 

###`<div>`

This tag is the mostly used tag. As the name suggest, it is the division in html document. By default it starts from left side and cover the whole page but you can set it's size as you wish.

###`<p>`

This is paragraph tag used for writing paragraphs. However you can use div instead of p tag without any problem.

###`<span>`

This tag is used to specify a specific (generally small like a word) portion of the text.

###`<br/>`

This breaks a line for you. **In html you cannot move to the next line just by pressing enter.** This tag does the work for you.

###`<hr/>`

This tag creates a horizontal line for you.

###`<button>`

This tag is used to create buttons.

There are many more tags like these but I cannot cover all of them here. I will discuss each of them slowly. In next article we will learn about how to style your html page which will take your excitement level to some more heights. :)
How to monetise your blogs?
Tags: blogging, monetization
Published: 2020-07-15 13:15:58

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

Google Ads recently revoked my ads/monetization on my blogs and I tried to appeal on it but failed. 
I am not sure how to fix this, I tried to clean up most of my posts but still cannot monetize my blog posts.

Where and how would one monetize their blogs?
Announcing Book: Writing Maintainable Unit Tests
Tags: books, tdd, unittests, softwaredesign
Published: 2020-07-15 13:15:02

I’m very happy to announce that the first draft of my book [Writing Maintainable Unit Tests](https://leanpub.com/writing-maintainable-unit-tests) has been published on LeanPub. It’s the written counterpart of my [video course](https://www.udemy.com/course/writing-maintainable-unit-tests), with some significant revisions as well as additional content and examples.

The book currently contains the first three chapters. I’m still working on the final two chapters which I expect to be finished somewhere in autumn.

![Book cover of 'Writing Maintainable Unit Tests'](https://dev-to-uploads.s3.amazonaws.com/i/m9xcro20hepnv0jdyuh5.jpg)

The book, as well as the video course, is my attempt to teach software developers how to [write maintainable and readable unit tests](https://principal-it.eu/2020/03/why-write-maintainable-unit-tests/).Have a look at the [table of contents](https://leanpub.com/writing-maintainable-unit-tests) and let me know what you think. All feedback is very much appreciated.
Introduction to Machine Learning and it's Type
Tags: machinelearning, python, computerscience, datascience
Published: 2020-07-15 13:08:22

This article was originally published at [Codeperfectplus](http://codeperfectplus.herokuapp.com/introduction-to-machine-learning-and-its-type).

## Machine learning

In 1959, **Arthur Samuel**, a pioneer in the field of **machine learning** (ML) defined it as the “field of study that gives computers the ability to learn without being explicitly programmed”.

## Types of Machine learning

- Supervised Machine Learning
- Unsupervised Machine Learning
- Reinforcement Machine Learning

## Supervised Machine Learning
The algorithm is feed with example input and their desired outputs. The goal is to learn a general rule that maps input to outputs. The training process continues until the model achieves the desired level of accuracy on the training dataset.
 
 The goal is the predicted output for new input.
E.g. 

- Linear Regression
- Logistic Regression
- Multi-class classification
- Decision Tree
- Support Vector Machine
 
<div class="container text-center my-3">
<img src="https://images.pexels.com/photos/3631711/pexels-photo-3631711.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" class="img-fluid border border-primary text-center" alt="machine learning">
</div>

## Unsupervised Machine Learning
Unsupervised machine learning is opposite to the supervised. It doesn't have label data and more accurate to the real data world database. In the real-world databases are rarely labeled. No label is given to the learning algorithms, leaving it's own to find a relationship and give output.

E.g. 

- Clustering
- Generative Models

## Reinforcement Machine Learning

The algorithms work trial and error to come up with a solution to the problem. The algorithms get rewards or penalties on their action to improve. It's like teaching a child and giving him reward on the right answer and punishment on the wrong answer. it's the goal to minimize penalties. it's up to the model to find out how to perform the task. Reinforcement learning is the key to true Artificial intelligence. 

Eg. Training the model to control the car is an example of reinforcement learning.
The model has to minimize the risk factor and improve safety, minimize time ride, reduce pollution, obey traffic rules, passenger's safety and comfort.

## Conclusion
Machine Learning is a trendy topic nowadays. The field of ML is experiencing exponential growth. ML algorithms are getting more accurate day by day. Algorithms are already better than humans in recognizing and analyzing images.

<blockquote class="blockquote text-center">
  <p class="mb-0">The progress we’ve made from 26% error in 2011 to 3% error in 2016 is hugely impactful. The way I like to think is, computers have now evolved eyes that work.</p>
  <footer class="blockquote-footer"> <cite title="Source Title">Jeff Dean</cite></footer>
</blockquote>
Upload/download files from Command Line
Tags: devops, cloud, cmd, fileshare
Published: 2020-07-15 13:04:56

Hi,

We made a simple commandline tool to upload/ download files using file-indexes. No more remembering long urls. Imagine yourself uploading a file from Computer-A and downloading it from Computer-B. You need to upload to ftp, s3-style cloud, then copy and send yourself the url. Now on the Computer-B you need to copy the url in browser or run the aws s3/s3cmd tools to download. This is the problem 'Ele' command line tool is trying to solve. You can just upload and download files with file-indexes.

With Ele, this is how you upload and download.
After setting up, you simply run the command 

On Computer-A 

`$ ele upload myfile.js`
> This will returns a file-index ex:  123

Now on Computer-B to download 'myfile.js' you simply run

`$ ele download 123`
> This will download the file refered by 123 (myfile.js)

That's it, no more sharing long file names, copy pasting links. Just file-index will let you download.

You can connect ele to your own AWS S3 bucket or any S3 compatabile bucket like Digital Ocean Spaces, BackBlaze B2, etc.

You can install ele by running
`$ npm install -g helloele`

Ele command line code is on github, please share your comments, suggestions and report bugs there.
https://github.com/prakis/helloele

More information available on https://helloele.com/
Error reporting in Flutter made easy with Sentry and Catcher
Tags: flutter, errors, sentry, mobile
Published: 2020-07-15 12:58:04

#Flutter packages we will be using
1. [Catcher](https://pub.dev/packages/catcher)
2. [Sentry Flutter Client](https://pub.dev/packages/sentry)

#Setup Sentry
1. Go to [Sentry.io](https://sentry.io) and register (signing in with your GitHub account is quite easy).
2. After registering you will be able to create your application.
3. Get your application's DSN URL under your app in Sentry (you will need this later when setting up the Sentry Client in your Flutter code so keep it somewhere)

#Add dependencies to your Flutter project
In your `pubspec.yaml` add the following dependencies:
```yaml
dependencies:
  flutter:
    sdk: flutter
  ...other dependencies...
  catcher: ^0.3.14
  sentry: ">=3.0.0 <4.0.0"
```

#Using Catcher and Sentry in your Flutter project
In your `main.dart` file add the following block of code inside your `main` method and be sure to add your DSN URL instead of the placeholder:

``` dart
import 'package:catcher/catcher.dart';
import 'package:sentry/sentry.dart';

...

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  CatcherOptions debugOptions = CatcherOptions(SilentReportMode(), [ConsoleHandler()]);

  CatcherOptions releaseOptions = CatcherOptions(SilentReportMode(), [SentryHandler(SentryClient(dsn: 'https://___.ingest.sentry.io/___'))]);

  Catcher(MyApp(), debugConfig: debugOptions, releaseConfig: releaseOptions);
}

```

The last line where you call Catcher and pass in your application's entry widget will replace the line that normally reads `runApp(MyApp)`.

What is especially handy about Catcher is that it will internally run your app with `runZonedGuarded`, so you don't have to do that in your `main.dart` file, which leaves this file much cleaner.

Catcher takes in a debugConfig as well as a releaseConfig object. The debug config will be used when your app is running in debug mode, you can see above that my example will just log any errors to the console.
In production my example code will silently report the error to my DSN endpoint without confirmation from the user. You also have a choice to use the `DialogReportMode()`

#Live example app
A full working example can be found on my [GitHub](https://github.com/bvdwalt) inside the repository [spacex_flights](https://github.com/bvdwalt/spacex_flights) which has been released to the Play Store here: [Launch Tracker - SpaceX](https://play.google.com/store/apps/details?id=com.bvdwalt.spacex_flights)
What Is Git and GitHub?
Tags: git, github, python, machinelearning
Published: 2020-07-15 12:57:04

## Introduction

GitHub is a web-based Git or version control repository and Internet hosting service. Its Headquarter is in San Francisco. 

GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over a million people use GitHub to build amazing things together. it's a must tool for every developer and data scientist.

<h2 class="text-primary">What Is Git?</h2>

Thanks to Linux Torvalds who created the open-source version control to make coding easy in 2005.

<div class="container text-center my-3">
<img src="https://raw.githubusercontent.com/DrakeEntity/project-Image/master/featured_torvalds_linux_ted_31.jpg" class="img-fluid border border-primary text-center" alt="Linus torvalds">
</div>

Specifically, Git is a distributed version control system, which means that the entire codebase and history is available on every developer’s computer, which allows for easy branching and merging.

According to a Stack Overflow developer survey, over 87% of developers use Git.

<h2 class="text-primary">So What Is GitHub, Then?</h2>

GitHub is a for-profit company that offers a cloud-based Git repository hosting service. Essentially, it makes it a lot easier for individuals and teams to use Git for version control and collaboration. Founded in 2007, _GitHub_ has brought millions of developers together to discover, share, and build better software.

<div class="container text-center my-3">
<img src="https://raw.githubusercontent.com/DrakeEntity/project-Image/master/github-logo.png" class="img-fluid border border-primary text-center" alt="machine learning">
</div>

More than 14 million users and more than 35 million repositories, making it the largest host of source code in the world.

GitHub’s interface is user-friendly enough so even novice coders can take advantage of Git. Without GitHub, using Git generally requires a bit more technical savvy and use of the command line.

Github is a platform where you can easily know about trending technologies and problems. You can be a part of the world’s best teams working on some open source.  Anyone can sign up and host a public code repository for free, which makes GitHub especially popular with open-source projects.

As a company, GitHub makes money by selling hosted private code repositories, as well as other business-focused plans that make it easier for organizations to manage team members and security. We utilize Github extensively at Kinsta to manage and develop internal projects.
Useful courses for becoming a MERN stack developer
Tags: javascript, tutorial, react, redux
Published: 2020-07-15 12:53:46

I am a huge fan of Udemy when it comes to learning. They have programming courses for almost anything. I have put together a selection of the courses I have used as well as a few from the popular developer Wes Bos who has his own platform and is not on Udemy. These courses cover Javascript, React, Redux, MERN, TDD/BDD and much more! Even Data Structures and Algorithms is covered so you can get yourself ready for interviews too!

__TDD/BDD__

Use Jest and React Testing Framework/Enzyme for testing frontend code. And use Mocha and Chai for testing backend code.

## Javascript

[The Complete JavaScript Course 2020: Build Real Projects!](https://www.udemy.com/course/the-complete-javascript-course/)
[Modern JavaScript From The Beginning](https://www.udemy.com/course/modern-javascript-from-the-beginning/)
[20 Web Projects With Vanilla JavaScript](https://www.udemy.com/course/web-projects-with-vanilla-javascript/)
[Beginner Javascript](https://beginnerjavascript.com/)

## React and Redux

[React - The Complete Guide (incl Hooks, React Router, Redux) ](https://www.udemy.com/course/react-the-complete-guide-incl-redux/) (TDD/BDD Modules)
[Modern React with Redux [2020 Update]](https://www.udemy.com/course/react-redux/)
[Advanced React and Redux](https://www.udemy.com/course/react-redux-tutorial/) (TDD/BDD Modules)
[Complete React Developer in 2020 (w/ Redux, Hooks, GraphQL)](https://www.udemy.com/course/complete-react-developer-zero-to-mastery/) (TDD/BDD Modules)
[The Complete Junior to Senior Web Developer Roadmap (2020)](https://www.udemy.com/course/the-complete-junior-to-senior-web-developer-roadmap/) (TDD/BDD Modules)

## MERN Stack

[MERN Stack Front To Back: Full Stack React, Redux & Node.js](https://www.udemy.com/course/mern-stack-front-to-back/)
[Node with React: Fullstack Web Development](https://www.udemy.com/course/node-with-react-fullstack-web-development/)
[React Front To Back](https://www.udemy.com/course/modern-react-front-to-back/)
[Advanced React and Redux](https://www.udemy.com/course/react-redux-tutorial/) (TDD/BDD Modules)
[Advanced React](https://advancedreact.com/)  (TDD/BDD Modules)

## Node, Deno, MongoDB and SQL

[NodeJS - The Complete Guide (MVC, REST APIs, GraphQL, Deno)](https://www.udemy.com/course/nodejs-the-complete-guide/)

## Data Structures and Algorithms

[The Coding Interview Bootcamp: Algorithms + Data Structures](https://www.udemy.com/course/coding-interview-bootcamp-algorithms-and-data-structure/)
[Master the Coding Interview: Data Structures + Algorithms](https://www.udemy.com/course/master-the-coding-interview-data-structures-algorithms/)
[JavaScript Algorithms and Data Structures Masterclass](https://www.udemy.com/course/js-algorithms-and-data-structures-masterclass/)