teleren/devto huggingface dataset:
S2E7 Learn JMeter Series - JSON JMESPath Extractor
Tags: performance, testing, tutorial, webperf
Published: 2020-11-26 03:40:57

Welcome to Learn JMeter Series!

In this season two, episode seven, you will learn following:

🔹 JSON JMESPath Extractor in JMeter

{% youtube 4YH3_0C5iAA %}

☑ Buy me a tea 🍵 : https://www.buymeacoffee.com/qainsights
☑ [My Blog](https://qainsights.com)
☑ [My Udemy Course](https://www.udemy.com/course/performance-testing-using-truweb)
English Naming Convention for Non-English Locale Project
Tags: discuss, watercooler, webdev, beginners
Published: 2020-11-26 03:38:51

I believe that using English to any naming convention in your codes makes it looks consistent and comfortable to read. When you are a beginner to code algorithms and your main language isn't English, you might definitely use your native language to naming everything in your code for ease's sake. Some people still doing that now.

If you don't use English in your workplace or your client doesn't, Do you still name all of your code (variables, class, function, database, table, etc) in English?

If you use your non-English native language for the project, what are the beneficial and non-beneficial reasons for using it?
Cara install Composer 2 di Linux Ubuntu
Tags: php, webdev, backend
Published: 2020-11-26 01:46:20

Disini saya akan membagikan cara Untuk menginstall composer 2 untuk php untuk OS linux.

Jika kalian ingin mengunjungi tutorial instalasi resminya, kalian dapat kunjungi [Link ini](https://getcomposer.org/download/). Jika kalian tidak mau tutorial berbahasa Inggris, maka kalian datang di blog yang tepat, tutorial ini hanyalah ringkasan dari tutorial resminya.

### **Langkah 1**
Buka terminal kalian, pada umumnya terminal mempunyai ikon seperti ini.

![Terminal](https://dev-to-uploads.s3.amazonaws.com/i/c16fo8yw7rbf11xvg5rl.png)


### **Langkah 2**
``` 
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
```
Perintah ini akan mendownload installer untuk composer dan menempatkannya ke direktori kalian saat ini.

### **Langkah 3**
```
php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
```
Disini akan memverifikasi installernya, jika berhasil maka akan muncul tulisan 'Installer verified', jika gagal maka muncul tulisan 'Installer corrupt', jika kalian gagal pada tahap ini, kemungkinan kode hash yang kalian masukkan salah. Jika hash salah, kunjungi [Link official](https://getcomposer.org/download/) kode hash ada di bagian paling bawah.
### **Langkah 4**
```
php composer-setup.php
```
Disini akan menjalankan instalasi composer. Seharusnya kalian  dapat menjalankan command
```
php composer.phar
```
Composer siap dijalankan.

### **Langkah opsional**

#### **Mengganti nama file**
```
php composer-setup.php --filename=composer
```
command ini akan mengganti nama file dari composer-setup.php menjadi composer saja.

#### **Agar dapat di eksekusi disetiap folder**
```
 php composer-setup.php --install-dir=/usr/bin
```

Sekian tutorial kali ini. Terimakasih pembaca
Blender Memo - 20201126
Tags: blender
Published: 2020-11-26 02:56:30

---
title: Blender Memo - 20201126
published: true
description: blender tips
tags: blender
//cover_image: https://direct_url_to_image.jpg
---

- 法線方向に押し出し(Extract)
  - `Alt`+`E` でオプションが出てくる

- 独立した（連続している）メッシュを選択
  - 一部のメッシュを選択した状態で`L`キーを押す
How to set up Firebase Authentication with Flutter
Tags: flutter, firebase, dart, authentication
Published: 2020-11-26 01:58:43

[__FlutterFire__](https://firebase.flutter.dev/), one of the _most effective tech stacks_ for cross-platform mobile development. With both created and maintained by Google, you get a seamless and efficient developer experience. This said, getting started can seem vague and complicated at times. This article (_written with the official FlutterFire docs in hand_) will go through how to get started with Firebase Auth in Flutter.
Elixir Phoenix development using Docker and Docker-Compose
Tags: elixir, phoenix, docker
Published: 2020-11-26 01:34:58

---
canonical_url: https://96codes.dev/elixir-phoenix-development-using-docker-and-docker-compose
---
Quick and dirty, this is my recipe for local development of elixir phoenix apps using docker and docker-compose.

3 important files:

- Dockerfile
- docker-compose.yml
- dev.exs

### Dockerfile

```docker
FROM bitwalker/alpine-elixir-phoenix:latest

# Cache elixir deps
ADD mix.exs mix.lock ./
RUN mix do deps.get, deps.compile

# Same with npm deps
ADD assets/package.json assets/
RUN cd assets && npm install

CMD ["mix", "phx.server"]
```


### docker-compose.yml
```yml
version: '3.7'
services:
  web:
    build: '.'
    ports:
      - "4000:4000"
    volumes:
      - /opt/app/assets/node_modules
      - /opt/app/deps
      - .:/opt/app
    depends_on:
      - db
    environment:
      MIX_ENV: 'dev'
  db:
    image: postgres:alpine
    ports:
      - 5432:5432
```

here we mount 3 volumes, the first two hold the deps so we don't recompile elixir deps or install npm packages every time we build or run the service. The last volume is our app itself, this way, changes reflect immediately without rebuilding or restarting the service.

### dev.exs

```elixir
config :yourapp, Yourapp.Repo,
  username: "postgres",
  password: "postgres",
  database: "yourapp_dev",
  hostname: "db",
  show_sensitive_data_on_connection_error: true,
  pool_size: 10
```

Just make sure to override the hostname with `db` and use the default user and password for postgres.

after this you can do `docker-compose build` and the `docker-compose up` and head to [http://localhost:4000](http://localhost:4000) in your browser.

if you want to enter to the container that is running:

`docker container ls -a`

Find the one with the _web suffix, mine is `myapp_web`

A one liner to enter to it would be something like this:

`docker exec -it $(docker ps | grep 'myapp_web' | awk '{print $1}') /bin/bash`
Portfolio Project #1
Published: 2020-11-26 01:34:07

My portfolio project was done using a Game of Thrones API, where I would welcome a user and have the select a major house from the lore. Once a house was selected the user would be able to see whether or not the house selected had sub-houses within them. If the house did, the user would have multiple options to choose from, and if not then they would only have one choice. Once the user selected a house, the app would then display certain information about the house. After the information has been displayed, the app would ask then user if they would like to make another selection and if they did the app would start over and let them make another selection, and if they chose to not make another selection, the app would simply exit.

In doing this project I have learned a good bit about myself as a future developer. I have learned to overcome my imposter syndrome, I have learned to work through struggles, and I have learned to overcome my fear of live coding. The live coding was by far the biggest obstacle for me to get past, simply because under pressure, my brain would quite literally shut down. It made me feel as if I did not know what I was doing even though I did in fact know what I was doing. All in all the was a great learning experience and I look forward to what the future holds.
Which is “ok” to be self taught in? Datascience, MachineLearning or Python?
Tags: datascience, machinelearning, python, javascript
Published: 2020-11-26 01:32:58

What chance do you have to getting a job if your “self taught” in machine learning? Vs Datascience?

I don’t like styling so I want to go for something that’s more direct in what you do. I’ve been liking python/Django over JavaScript/vue/react. 
I can see that Python has allot of opportunities, but.... there’s the “do I need collage to be taken seriously”,

So far, as far as a realistic project, either with React/Vue or Django, 
I made a “copy and paste” snippets “notebook” so I can add in custom code better. 

.....what type of projects do people want to see?
Unit 4, last project. Care
Published: 2020-11-26 01:28:34

This is my last project of the coding bootcamp, and the last week too, after this it's time for job search, we'll start working on our projects next monday.
I have already created the wireframes.

MVP: Must use Rails for back-end, and React for front-end, must have desktop and mobile media-queries, must have 3 tables with CRUD.

Github for project link(W.I.P): https://github.com/dannymichaels/care 

Figma Link: https://www.figma.com/file/w81a4kRRTnBui5JkqWn5ZN/Care-Wireframes
Install Elixir and Erlang with asdf version manager
Tags: elixir, erlang, tooling
Published: 2020-11-26 01:27:15

---
canonical_url: https://96codes.dev/install-elixir-and-erlang-with-asdf-version-manager
---
If you come from _`Ruby on Rails`_ for example, it's very common to have _`rvm`_ to manage your _`Ruby`_ versions, but also you would probably need to install _`nvm`_ to manage versions for _`Node.js`_ too (since _`Rails`_ now has _`webpack`_  assets pipeline).

This same story happens with _`Phoenix Framework`_, but even adding a third language to the stage: _`Erlang`_, _`Elixir`_ and _`Node.js`_

So how do we manage all involved languages versions with one single version manager?

> meet `asdf` version manager

You can install it following the [installation instructions](https://asdf-vm.com/#/core-manage-asdf-vm?id=install-asdf-vm)

After installing, simply install an Erlang version by running

```text
# to add the erlang plugin
$ asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git
# to list all available erlang versions
$ asdf list-all erlang
```

A long list may appear, you usually would want to install the latest (at the bottom)

```text
$ asdf install erlang 22.0.7
```

After installing Erlang, you can proceed to install Elixir with the same approach

```text
$ asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git
$ asdf list-all elixir
$ asdf install elixir 1.4.9
```

Then, in your project folder, you can tell asdf to select specific versions of software by adding a `.tool-versions` file with some content like this:

```
elixir 1.9.1
erlang 22.0.7
nodejs 10.16.0
```

If you call `asdf current` to see whats the current versions of each configured plugin inside the current working directory

```text
$ asdf current

  elixir   1.9.1    (set by /Users/benja/dev/newslettex/.tool-versions)
  erlang   22.0.7   (set by /Users/benja/dev/newslettex/.tool-versions)
  version 10.16.0 is not installed for nodejs
```

You notice that it says node 10.16.0 is not installed, because it reads the `.tool-versions` and finds out we don't have the requested nodejs version. To install it, simply:

```text
$ asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git
$ brew install coreutils
$ brew install gpg
$ bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring
$ asdf install nodejs 10.16.0
```

Now you have all your versions managed under asdf.
How I Learnt to Stop Perfecting Prototypes
Tags: design, productivity, ux
Published: 2020-11-26 01:05:05

I was recently pairing with a UX designer at [nib][nib], and I was blown away by how quickly he threw a concept together. I was witnessing an experienced, talented designer, explore an interface design by quickly drawing some rectangles on the screen and calling it a day.

🤯

If I were in his shoes, I would have spent hours perfecting the design. Tweaking saturation, adjusting border radiuses[^1], and lining up pixels. I would have hidden myself somewhere quiet, thrown on my best playlist, and toiled away until the result was breathtaking.

[^1]: Apparently both _radiuses_ and _radii_ are [valid plurals][radii] for radius.

The reality, however, is that his quick sketches where enough to communicate the problem and the solution. He didn't need to spend hours perfecting his concept, because it was exactly that—a concept. He also managed to get feedback much sooner in the creative cycle. Five minutes with some shape and text tools and he was ready to hear and incorporate some opinions.

Another factor to consider here, is that **feedback always rocks the boat**. If you spend hours on a design, and someone comes in with a better suggestion[^2], you better believe those hours were all for nothing.

[^2]: ...and they will

According to the [Pareto principle][pareto], the first 20% of the work we do is enough to produce 80% of the value. Often times, especially when working with concepts and prototypes, this is more than enough! Beyond this point we enter the domain of diminishing returns. Beyond this point, the only person that benefits from your hard work on a prototype is _you_.

So ask yourself: is it worth chasing perfection? I say: **focus on communicating ideas instead of perfection**. When we do we move faster, achieve more, and prevent ourselves from investing many hours into an idea that's going nowhere.

[nib]: https://www.nib.com.au/
[pareto]: https://en.m.wikipedia.org/wiki/Pareto_principle
[radii]: https://www.merriam-webster.com/dictionary/radius
How to remove duplicate or repeated elements from an array in JavaScript?
Tags: javascript
Published: 2020-11-26 00:00:00

---
  title: How to remove duplicate or repeated elements from an array in JavaScript?
  published: true
  tags: JavaScript
  date: Thu Nov 26 2020 05:30:00 GMT+0530 (India Standard Time)
  canonical_url: https://melvingeorge.me/blog/remove-duplicate-elements-from-array-javascript
  cover_image: https://melvingeorge.me/_next/static/images/main-eff53b84e1deb2c8c6531530b6d3ccc7.jpg
  ---
  [Originally posted here!](https://melvingeorge.me/blog/remove-duplicate-elements-from-array-javascript)
  
To remove duplicate or repeated elements from an array, you can use the `Set()` constructor function to create unique values from an array and then use the `...` spread operator to spread the values to a new array.

- [Jump to the solution &rarr;](#full-code)

Consider this array of numbers with some numbers repeated,

```js
// numbers array with
// some repeated numbers
const numsArray = [23, 45, 32, 23, 23];
```

Let's remove all the repeated or duplicate elements from the array by passing the `numsArray` as an argument to the `Set()` cosntructor function like this,

```js
// numbers array with some
// some repeated
const numsArray = [23, 45, 32, 23, 23];

// Use Set() constructor function
// to remove repeated or duplicate elements
// from an array
const uniqueValues = new Set(numsArray);

console.dir(uniqueValues); // [object Set] 😕 - Not what we expected
```

Now the `uniqueValues` variable holds a `Set` object which is not useful to us here. We need it to be an array.

Since `Set` objects are iterable, We can use the spread operator (`...`) on the `uniqueValues` variable to spread the values to another array like this,

```js
// numbers array with some
// some repeated
const numsArray = [23, 45, 32, 23, 23];

// Use Set() constructor function
// to remove repeated or duplicate elements
// from an array
const uniqueValues = new Set(numsArray);

// using the spread operator (...)
// to get the values to an array
const uniqueValuesArr = [...uniqueValues];

console.log(uniqueValuesArr); // [23, 45, 32] 🤩
```

Cool! Right? 🔥

<a name="full-code"></a>

The above code can be further reduced like this,

```js
// numbers array with some
// some repeated
const numsArray = [23, 45, 32, 23, 23];

// using the spread operator (...)
// to get the values to an array
const uniqueValuesArr = [...new Set(numsArray)];

console.log(uniqueValuesArr); // [23, 45, 32] 🤩
```

See this example live in [JSBin](https://jsbin.com/nurusujadi/2/edit?js,console).

### Feel free to share if you found this useful 😃.

---
Меньше — лучше
Published: 2021-01-19 11:08:34

---
title: Меньше — лучше
published: true
date: 2020-11-26 00:00:00 UTC
tags: 
canonical_url: https://vasily.polovnyov.ru/posts/less-is-more.html
---

Чем меньше пулреквест, тем лучше: легко отревьюить, легко задеплоить, легко искать ошибки. Чем больше пулреквест, тем сильнее дизмораль: увидел +700 -60 в Гитхабе и приуныл.

Кроме того, маленькие пулреквесты дают параллелить задачу: собрали письмо-заглашку, показали дизайнерам, пока дизайнеры смотрят — делаем отправку этого письма. Один пулреквест — одна _атомарная_ задача.

Конечно, бывают сложные ситуации. Например, апгрейд Рельс. Одна огромная задача с кучей изменений. Но даже тут можно обойтись крошечными пулреквестами:

1. Открываем ветку rails-6-upgrade.

2. Делаем маленькие пулреквесты не к master, а к rails-6-upgrade.

3. Ревьюим, мержим их в rails-6-upgrade.

4. Когда апгрейд готов, мержим rails-6-upgrade в master.
Web Scraping Using Laravel and Goutte
Tags: projectspiritbro1english, unfinishedspiritbro1, laravel, php
Published: 2020-11-25 23:49:05

![preview](https://i.gyazo.com/0e4574c56218933fac82f59ad71181a4.png)

preview url: https://www.nikola-machinery.com/
Create a Map Based On OpenStreetMap Contour Using Angular 8 and Leaflet
Tags: projectspiritbro1english, unfinishedspiritbro1, angular, leaflet
Published: 2020-11-25 23:46:35

![preview](https://i.gyazo.com/bc95f8e0b528442fa799694883d31e43.png)

{% github https://github.com/spiritbro1/durdevacmap %}
Map using D3js and leaflet
Tags: projectspiritbro1english, javascript, leaflet
Published: 2020-11-25 23:40:57

![preview](https://i.gyazo.com/891aed2bf4a3e57e4f131389be9d984b.png)

preview url : https://colombiatest-amxmtyotek.now.sh

Ok, so this one is actually a story about one of my work in  as you know is kinda like upwork it's a freelancing site that you can get a lot of job from there so i will tell you a story of how i got this and how i finish this job

# Getting the job

So long story short i got the job on freelancer from this dude from colombia he want to make a map that can show the data through csv it all working fine and all, but at some point of time the data doesn't connect to one another let me show you how the data looks like in the first place :

![preview](https://imgur.com/download/YJy211r)

so it is working but my client want the data to be connected like the finish product that i show you in preview like this :

![preview](https://imgur.com/download/BT5Z7O1)

so i fix the javascript that load the csv and d3.js so it shown in the leaflet map coz turns out the graphic from d3.js doesn't show up because it is in the background of leaflet so this is the code that i use to fix it:

```javascript
 //creating networks using jsnetworkx
                  G = new jsnx.Graph();
                  var nodes = [], links = [];
                  for(var k = 0; k < link_csvdata.length; k++){
                    links.push([link_csvdata[k].source, link_csvdata[k].target, {weight: link_csvdata[k].strength}]);
                  }
                  for(var k = 0; k < node_csvdata.length; k++){
                    nodes.push([node_csvdata[k].node, {weight: node_csvdata[k].weight}]);
                  }
                  G.addNodesFrom(nodes); G.addEdgesFrom(links);
                  G.addEdgesFrom(links);
                  // var paths = jsnx.shortestPath(G, {source: "J6201", target: "J6130"});
                  // console.log(paths);

                  var graph_data = {
                    "neurons":  create_nodedata(node_csvdata),
                    "synapses": create_linkdata(link_csvdata, node_csvdata)
                  }

```

this is just a snippet of the code because this is not an opensource code so i can just show you some snippet and explain so what this does is it take some of the csv that i have about all of the coordinate where should the marker goes then connected it.

i think thats it for now if you want to know more you can always ask me here about d3.js please leave comment down below.
Youtube Title analysis using youtube api and nodejs
Tags: projectspiritbro1english, unfinishedspiritbro1, javascript, node
Published: 2020-11-25 23:38:44

![preview](https://i.gyazo.com/14af529666caa544c70cd8f3d2960077.png)

{% github https://github.com/lokimonoton/youtubetitlescraper %}
Black Friday Deals to learn JavaScript and more
Tags: books, codenewbie, beginners, javascript
Published: 2020-11-25 23:30:10

Let's cut straight to the point, it's Black Friday which means it's time for some deals.

I'm the author of the Complete Guide to Modern JavaScript book and course and if until the 30th of November you'll be able to get it for 50% off at this link https://inspiredwebdev.com/store/ -> Use the coupon code **BF@2020**.

If you prefer to learn via courses instead of books, I can't recommend [Educative](https://www.educative.io/courses/complete-guide-to-modern-javascript?aff=BqmB) enough, there are plenty of great courses and they are running a 20%off **lifetime** discount on their already cheap subscription, you might wanna check out my course at this [link](https://www.educative.io/courses/complete-guide-to-modern-javascript?aff=BqmB) or head straight for the homepage [here](https://www.educative.io/?aff=BqmB).

Have a safe Black Friday, stay home, study JavaScript and please let me know if you have any feedback or question.
Create a Small Part of CaMicroscope frontend
Tags: projectspiritbro1english, unfinishedspiritbro1, javascript, css
Published: 2020-11-25 23:29:55

![preview of frontend](https://i.gyazo.com/6256fad327df9ba68039c12b7effecb5.png)

{% github https://github.com/spiritbro1/DistroCamicroscope %}