teleren/devto huggingface dataset:
sudo apt-get install subversion 
Tags: install, ubuntu, subversion
Published: 2017-10-23 20:45:21

---
title: sudo apt-get install subversion 
published: published
description: Install "subverion" on Linux Mint 18.2 ( Ubuntu 16.04.2 )
tags: Install, Ubuntu, Subversion
---

```shell
➜  ~ sudo apt-get install subversion
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libapr1 libaprutil1 libserf-1-1 libsvn1
Suggested packages:
  db5.3-util subversion-tools
The following NEW packages will be installed:
  libapr1 libaprutil1 libserf-1-1 libsvn1 subversion
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 1.687 kB of archives.
After this operation, 6.653 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libapr1 amd64 1.5.2-3 [86,0 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libaprutil1 amd64 1.5.4-1build1 [77,1 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libserf-1-1 amd64 1.3.8-1 [45,5 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libsvn1 amd64 1.9.3-2ubuntu1.1 [1.170 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 subversion amd64 1.9.3-2ubuntu1.1 [308 kB]
Fetched 1.687 kB in 0s (2.241 kB/s) 
Selecting previously unselected package libapr1:amd64.
(Reading database ... 254675 files and directories currently installed.)
Preparing to unpack .../libapr1_1.5.2-3_amd64.deb ...
Unpacking libapr1:amd64 (1.5.2-3) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../libaprutil1_1.5.4-1build1_amd64.deb ...
Unpacking libaprutil1:amd64 (1.5.4-1build1) ...
Selecting previously unselected package libserf-1-1:amd64.
Preparing to unpack .../libserf-1-1_1.3.8-1_amd64.deb ...
Unpacking libserf-1-1:amd64 (1.3.8-1) ...
Selecting previously unselected package libsvn1:amd64.
Preparing to unpack .../libsvn1_1.9.3-2ubuntu1.1_amd64.deb ...
Unpacking libsvn1:amd64 (1.9.3-2ubuntu1.1) ...
Selecting previously unselected package subversion.
Preparing to unpack .../subversion_1.9.3-2ubuntu1.1_amd64.deb ...
Unpacking subversion (1.9.3-2ubuntu1.1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libapr1:amd64 (1.5.2-3) ...
Setting up libaprutil1:amd64 (1.5.4-1build1) ...
Setting up libserf-1-1:amd64 (1.3.8-1) ...
Setting up libsvn1:amd64 (1.9.3-2ubuntu1.1) ...
Setting up subversion (1.9.3-2ubuntu1.1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
```

### Links
- https://help.ubuntu.com/community/Subversion
vagrant plugin install vagrant-hostsupdater
Published: 2017-10-23 20:33:31

---
title: vagrant plugin install vagrant-hostsupdater
published: published
description: Install "vagrant hostsupdater" on Linux Mint 18.2 ( Ubuntu 16.04.2 )
tags: 
---

```shell
➜  ~ vagrant plugin install vagrant-hostsupdater
Installing the 'vagrant-hostsupdater' plugin. This can take a few minutes...
Fetching: vagrant-share-1.1.9.gem (100%)
Fetching: vagrant-hostsupdater-1.0.2.gem (100%)
Installed the plugin 'vagrant-hostsupdater (1.0.2)'!
```
```shell
➜  ~ vagrant plugin update vagrant-hostsupdater
Updating plugins: vagrant-hostsupdater. This may take a few minutes...
Updated 'vagrant-share' to version '1.1.9'!
```
vagrant init
Tags: install, ubuntu, vagrant
Published: 2017-10-23 20:29:19

---
title: vagrant init
published: published
description: Init a "Vagrant Box" on Linux Mint 18.2 ( Ubuntu 16.4.2 )
tags: Install, Ubuntu, Vagrant
---

```shell
➜  base vagrant init
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
➜  base l
total 12K
drwxrwxr-x  2 psnc psnc 4,0K Oct 23 22:26 .
drwxr-xr-x 28 psnc psnc 4,0K Oct 23 22:26 ..
-rw-rw-r--  1 psnc psnc 3,0K Oct 23 22:26 Vagrantfile
```
Do you have any input on the functionality of the hiring tag?
Tags: meta, discuss
Published: 2017-10-23 20:17:10

---
title: Do you have any input on the functionality of the hiring tag?
published: true
description: We're currently building out the #hiring tag on dev.to. Like most of the sub-projects of our operation, we launched something basic and we'll be refining it over time.
tags: meta, discuss
---

We're currently building out the [#hiring](/t/hiring) tag on [dev.to](/). This has been a requested feature from the community and is also falls well inline with our business-oriented objectives. Like most of the sub-projects of our operation, we launched something basic and we'll be refining it over time.

There will be a fee for posting in the tag, but it's free for the foreseeable future. It's one of the ways we plan to keep the lights on.

The tag is only really useful if it's easy to narrow down based on your needs, so any input on filtering parameters are welcome, and if you have any UI patterns that might work well for this kind of problem, we're all ears.

We're approaching this problem with the same value-oriented long term thinking we apply to the rest of the [dev.to](/) project, so while we don't want to build fast, we want to offer a real platform for longterm growth.

If your company is hiring, you're welcome to post in the tag for free. Doing so will become more useful over time, but early adopters are super appreciated and will be rewarded in the future for your awesomeness.
sudo dpkg -i vagrant_2.0.0_x86_64.deb
Tags: install, ubuntu, vagrant
Published: 2017-10-23 20:03:47

---
title: sudo dpkg -i vagrant_2.0.0_x86_64.deb
published: published
description: Install "Vagrant" on Linux Mint 18.2 ( Ubuntu 16.04.2 )
tags: Install, Ubuntu, Vagrant
---

### Download
- https://www.vagrantup.com/downloads.html

```shell
➜  ~ cd Downloads 
➜  Downloads l
total 76M
drwxr-xr-x  2 psnc psnc 4,0K Oct 23 22:00 .
drwxr-xr-x 24 psnc psnc 4,0K Oct 23 22:01 ..
-rw-rw-r--  1 psnc psnc  76M Oct 23 22:00 vagrant_2.0.0_x86_64.deb
➜  Downloads sudo dpkg -i vagrant_2.0.0_x86_64.deb 
Selecting previously unselected package vagrant.
(Reading database ... 245841 files and directories currently installed.)
Preparing to unpack vagrant_2.0.0_x86_64.deb ...
Unpacking vagrant (1:2.0.0) ...
Setting up vagrant (1:2.0.0) ...
➜  Downloads vagrant --version
```
The 7 Most Popular DEV Posts from the Past Week
Tags: top7
Published: 2017-10-23 15:35:15

---
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/xsr1z6iqv0pd7p3s6ns3.png 
---

#1. ðŸŽ¶ I'll tell you want I want, what I really really want..ðŸŽ¶ 

Based on data from 21k+ users, Lynne shares the top 8 values developers care most about when it comes to engineering and work culture. We even learn about the differences between the dev.to community vs. hacker news community!

{% link https://dev.to/lynnetye/what-developers-want-in-a-job-7hg %}

#2. Which developer are YOU?

Lorenzo breaks developers down into 19 types. Which do you resonate with the most?

{% link https://dev.to/lpasqualis/19-types-of-developers-explained-1lj %}

#3. There's a lot to learn

So how do we do it? In this post, Logan shares some insights and techniques on learning science. 

{% link https://dev.to/loganmeetsworld/how-to-learn-d8e %}

#4. Know your enemy

From our aspirations, to our failures, to everything that's next, Fatos argues that ego is the enemy.

{% link https://dev.to/fatosmorina/for-developers-ego-is-the-enemy-214 %}

#5. "Software development is a team sport"

..which is why David believes no one should be a hero programmer. 

{% link https://dev.to/davidk01/never-be-a-hero-coder-52n %}

#6. I'm an engineer, educator & innovator with 10+ software patents from my R&D past. Ask Me Anything!

An AMA with Nitya, where we learn about the patent process, community/evangelism, and much more. 

#7. The most compact laptop in the world

David explains why he went from Windows to Mac OS. 

{% link https://dev.to/obender/why-did-i-choose-the-macbook-air-as-a-full-stack-software-developer-4cm %}


_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!_
I Finally Understood Functions As A Service
Tags: awslambda, functions, javascript
Published: 2019-03-03 19:38:37

---
title: I Finally Understood Functions As A Service
published: true
tags: awslambda, functions, javascript
canonical_url: https://www.kahlillechelt.com/2017/10/24/i-finally-understood-functions-as-a-service/
---

Since I heard it for the first time, I was struggling to understand what “Functions As A Service” like AWS Lambda really is. I heard people explaining it on podcasts and read what it said on the AWS Lambda landing page but it just didn’t click.

Last week me and [Henning](http://twitter.com/hglattergotz) recorded [the lastest episode of our podcast REACTIVE](http://reactive.audio/87). On that episode Henning talks about how he uses AWS Lambda and an AWS database to build an API for their app at work. This made me finally understand what this is all about.

They built the API by writing some code that parses request parameters, retrieves some data from the database and then sends that data back as JSON in the JSON API format. That code is the function that is being provided “as a service”.

That is it.

The HTTP layer, security and scalability is all provided by AWS services. _Functions As A Service_ also means that you only pay for computing time when the function is used. When there is no requests to the API then you don’t pay.

This is an incredibly fast and efficient way to build an API that is production ready in no time.

On the podcast we also talked about how more and more of these “solved problems” like security and scalability will be packed up into some service and how the usage of them will certainly be very widespread in the not so distant future.

[@codepo8](http://twitter.com/codepo8) said it best on Twitter yesterday:

> Prediction: in five years most of what we call "coding" now will be done by machines. And they'll be much better at it.
> 
> — Chris Heilmann (@codepo8) [October 23, 2017](https://twitter.com/codepo8/status/922380136531537921?ref_src=twsrc%5Etfw)

<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
Жадная загрузка в Laravel: load() или with()?
Tags: php, laravel, eager, load
Published: 2018-01-27 16:02:11

---
title: "Жадная загрузка в Laravel: load() или with()?"
published: true
tags: php, Laravel, eager, load
canonical_url: http://phpprofi.ru/blogs/post/71
---

**❭** _<u>Прим. пер.:</u> Это небольшая заметка о работе методов `::with()` и `::load()` Laravel Eloquent-а, которую должен знать каждый разработчик, пишущий на Laravel. Тут ничего нового, но, как оказывается, не все об этом знают._

Сегодня, работая с одним из моих проектов (который написан на фреймворке laravel) я столкнулся с ситуацией, когда мне нужно для одной из моделей получить данные по другим моделям, связанные с этой. Так вот, для этого у меня есть два варианта, предоставляемых Laravel-ом, которые обычно называют жадной загрузкой:

- [with()](https://laravel.com/docs/5.2/eloquent-relationships#eager-loading)
- [load()](https://laravel.com/docs/5.2/eloquent-relationships#lazy-eager-loading)

Оба метода достигают тех же конечных результатов — жадной загрузки моделей в первую. На самом деле, они оба запускают одни и те же два запроса. Какой выбрать?

Читать далее: http://phpprofi.ru/blogs/post/71
Learning to rank with Python scikit-learn
Tags: python, machinelearning, scikitlearn
Published: 2017-10-23 05:43:57

---
title: "Learning to rank with Python scikit-learn"
published: true
description: Use machine learning techniques to rank the products in your e-commerce website
tags: python, machinelearning, scikit-learn
---

If you run an e-commerce website a classical problem is to rank your product offering in the search page in a way that maximises the probability of your items being sold. For example if you are selling shoes you would like the first pair of shoes in the search result page to be the one that is most likely to be bought.

Thanks to the widespread adoption of machine learning it is now easier than ever to build and deploy models that automatically learn what your users like and rank your product catalog accordingly. In this blog post I'll share how to build such models using a simple end-to-end example using the movielens open dataset.

Read the full article here: http://www.alfredo.motta.name/learning-to-rank-with-python-scikit-learn/
Hi, I'm Burdette Lamar
Tags: introduction, ruby, github, testing
Published: 2017-10-22 18:24:56

---
title: Hi, I'm Burdette Lamar
published: true
description: Introduction
tags: #introduction #ruby #github #testing
---
Hi everyone,

I'm Burdette Lamar, a test automation zealot in Houston.

My first job out of college was teaching English at a technical college. I graded ten thousand essays (whew!), then took a second master’s degree and began teaching mathematics. That’s when I found computer programming. Or maybe I should say it found me, because it swallowed me whole.

Since joining the software industry, I’ve done three tours as a technical writer, five as a developer, and the rest as a test engineer. The largest companies I’ve worked for were Digital Equipment Corporation, Sun Microsystems, and Hewlett-Packard. The smallest have been startups, some with single-digit headcounts.

Developing software test automation is my passion. I’ve enjoyed doing this work using a variety of techniques, languages, and tools.

I have a [blog](https://burdettelamar.wordpress.com), and a [GitHub project, RubyTest](https://github.com/BurdetteLamar/RubyTest).

My most current work is a [framework for testing REST APIs](https://github.com/BurdetteLamar/RubyTest/blob/master/examples/github_api/TesterTour.md).

A friend recommended that in look in on dev.to, and I'm liking what I see.
Declutter Your Github
Tags: git, github
Published: 2017-10-22 16:15:05

---
title: Declutter Your Github
published: true
description: Some tips for tyding up your repos
tags: git, github
---

Because many organizations are looking for developers and Github is one of the main sources of information. It's really important to hide old projects and just show what is more revelant. In this way you will be presenting only the best of your work.

## How?

1. Create a new organization for projects that you no longer want to maintain. Move all your old repos to this new organization. Using this method all old links are redirected to the new location and all the old info is preserved across pull requests, issues, etc. 

2. Put something like [UNMAINTAINED] to the description of the project. Optionally put the badge http://unmaintained.tech/ in the README.

## Other Tips

1. Create an Organization for storing your experiments. Many times one just want to try new things and experiment. If the project deserves to be in your personal github then you can move it later.

2. Use these patterns for organization names. {name}-archive for old unmaintained repos. {name}-experiments for things that are being made or not ready to be in you profile. (replace {name} with the organization name).

## Gitlab?
Gitlab can be used and it's more flexible with the *Group* and *Subgroup* feature. [https://docs.gitlab.com/ee/user/group/index.html](https://docs.gitlab.com/ee/user/group/index.html). But Github is more often used by recruiters.
The GitHub repos I discovered this week
Tags: git, github
Published: 2017-10-22 16:12:37

---
title: The GitHub repos I discovered this week
published: true
description: A short list of interesting GitHub repositories
tags: git, github, 
---

Is Sunday, and this week is finishing. But I notice that this week I spend a unmeasured amount of time playing around with the new GitHub feature, Discover. The explore just show you a list of repositories that you may like, as Facebook show you pages that you may like. This is really good, cause I always have see GitHub as a social network, and it's now becoming one; and it's also very interesting to _discover_ new repositories. In this post, I just want to share with you a little list with some of the repositories I add this week, and a little something about why I add it. 

You need to notice that when I say add, I mean star. The order does not matter and does not implies any preference. 


## [Prettier](https://github.com/prettier/prettier)

Prettier is an opinionated code formatter. Or that's what they say. I have to say, I use the build-in formatter of the VSCode most of the time, (`switch`+`alt`+`f`). But the flaw is that you can't format HTML properly, and if you know who please, leave a comment. That's why I added Prettier. Right now it support JS (ES2017, TS, JSX, Flow), CSS (SCSS, LESS), JSON and GraphQL. But they are working in support HTML and templates. 

## [QMLCore](https://github.com/pureqml/qmlcore)

QML is a user interface markup languages, JSON-like. It was love a first sight, although it was being used for Sailfish app, I love it. So I suddenly become interest in something that allows me to compile QML to HTML, and QMLCore is just that. I have not play around with that yet, but still. 

## [nest](https://github.com/nestjs/nest)


I read about this in the Node Weekly newsletter. I love decorators, this is one of the reasons I fall in love with Angular so quickly, and nest use them for server side development in a way that just fell right.

## [Prepack](https://github.com/facebook/prepack)

Ok, this maybe know, as well as Prettier, but I find out this week about this. This evaluates your JS code going one step beyond the tree shaking. I like it very much, and I want to see how this evolve. I still don't have that confidence with the Facebook products, but it's really OSS, so if anything, the community will continue the work. 

So this was all for this week. I hope I can pick others repos in the forthcoming future and write about them.

As always, a pleasure to write to you guys.
Deploying Django Apps; Containers
Tags: docker, django
Published: 2017-10-22 14:58:30

---
title: Deploying Django Apps; Containers
published: true
description: 
tags: #docker #django
cover_image: https://thepracticaldev.s3.amazonaws.com/i/e3algk8vsry9od6qitnl.jpg
---

# Intro

Lately I observed some weird practices that my fellow Engineers follow for developing and especially deploying their Django application in production.

I did bit of research about best practices for a Django project development life cycle & below is what I feel the most reliable way to develop & deploy a Django application end-to-end.

I don't intend to define the coding practices...

Though trying to set the perspective of creating new project & shed some light to small details that we tend to miss that eventually lead to bad Engineering.

#### Unit test cases in Django

Writing test cases is a tool that developer do ignore or don't plan ahead and hence there are repeated iterations to make sure that application functionality is working fine after every major code change.

Unit tests are important if the application's scope is wide. Though this practice is being followed for larger application but overlooked for small or medium scale projects.

#### Code style enforcement using [Flake8](http://flake8.pycqa.org/en/latest/)

Flake8 points out the errors & violations like a variable declared but never used in a class. It is very handy and helps in setting fundamental guidelines for every developer in the team.

#### Creating Docker images for Django application

Containerisation has huge benefits & being the torch bearer of Docker in my organisation I have figured that the best possible solution to deploy Django
applications is to create Docker images & ship them to production.

Creating a Dockerfile that define setting up python environment required by the Django application. Using this for creating Docker images is the most reliable way to ship & deploy Django application in production.

#### Setting Docker Registry using [Harbor](http://vmware.github.io/harbor/)

In the process to get Docker adopted in my team, it was necessary to get an in-house docker registry which people can use to push the Docker images of the projects they were working on.

VMware's Harbor is an enterprise grade registry server which supports LDAP based user login to Docker registry. That is Engineers can use their existing user credentials to use in-house Docker registry.

#### Code review & Jenkins CI for a Django project

Code review process using conventional tools like Gerrit & Jenkins offer good features to automate code verification and Docker image creation part using above mentioned strategy.


*This is the most reliable way to develop, ship & deploy applications as per my best knowledge of Django. Do share if there are any other better strategies or tools to achieve this common goal.*
snap install rocketchat-server
Tags: install, ubuntu, rocketchat
Published: 2017-10-22 09:18:37

---
title: snap install rocketchat-server
published: published
description: Install rocketchat-server" on Ubuntu 16.04.3
tags: Install, Ubuntu, Rocketchat
---
### Installation
```shell
snap install rocketchat-server
```
### Links
- https://github.com/RocketChat/Rocket.Chat
- https://rocket.chat/download
- https://docs.rocket.chat
- https://forum.snapcraft.io
To Fear, procrastination and greed to read more
Tags: discuss
Published: 2017-10-22 09:04:05

---
title: To Fear, procrastination and greed to read more
published: true
description: 
tags: #discuss 
---

To Fear, procrastination, greed for more reading which doesn't leave time to do any doing.

I have been noticing you all in me from long time. I didn't give much thought to you all. I didn't kick you out of my life. I didn't give you a conscious thought. I didn't drive you away.

But I did make plans, both tiny and grand, some for tomorrow, some for upcoming month. Those plans seldom turned into fruition. It was all your fault and in that way mine.

Now, you guys have my conscious attention. Fear, you won't be able to stop me for ever. Your love is not what I need, fear. I will from now on choose to ignore you from time to time. Procrastination, you always told me I have enough time. Who is responsible for all my wasted time and false optimism.

Why am I greedy to learn,read more and more? What is the use of this knowledge when I can't use it. Stop this greed. Please let me use my knowledge.

I knew I had to fight you all one day. I knew. But knowing was never enough. Doing is what I need. Anti fear, anti procrastination and all anti negative part of me, help me please.
Windows command-line tip: Easily Change Window Transparency
Tags: powershell, tips, transparency, cmd
Published: 2019-03-06 23:01:57

---
title: "Windows command-line tip: Easily Change Window Transparency"
published: true
tags: powershell,tips,transparency,cmd
canonical_url: 
---

_Smart tip:_ when using Windows 10 command-line tools such as WSL, Ubuntu, Powershell or even CMD, you&nbsp;can:

```
CTRL + Shift + Scroll Up/Down = change window transparency level
```

![](https://cdn-images-1.medium.com/max/697/1*VC-J-0V3pZj6m2L4HwyvMQ.gif)<figcaption>Window alternating transparency level through a Windows shortcut</figcaption>