teleren/devto huggingface dataset:
The Ultimate Recipe to Attract an Audience on the Internet
Tags: personalbrand, marketing, blogging
Published: 2019-03-01 14:38:03

---
published: true
description: "The secret to building an audience on the internet is no secret: Be kind and provide value regularly over a long stretch of time. We have seen it many times."  
tags: personal brand, marketing, blogging
title: "The Ultimate Recipe to Attract an Audience on the Internet"
---

My awesome co-worker [Emma Wedekind](https://mobile.twitter.com) wrote
[this post about how she got 27K followers on Twitter](https://dev.to/emmawedekind/how-i-gained-27000-twitter-followers-in-6-months-2hog).

It's a great post with lots of good advice to grow high quality followers.

I was able to watch the whole ride and it was quite something. There is one
thing I noticed about how she used Twitter that I think had significant
influence in why she blew up.

She **editorializes** her Twitter account. She deliberately tweets content that
might be valuable to the developer community. And she responds to tweets a lot.

She also keeps a very friendly, welcoming and helpful tone.

**Be kind and provide value frequently and consistently over long stretches of
time** is basically the ultimate recipe for attracting and growing an audience
on the internet. We've all seen this work many times.

It has happened many times over on YouTube, Twitter and of course many blogs.

The thing is, the hardest part is not to come up with the topics or to do the
writing itself. The hardest part is to keep it going in a specific rhythm over
long stretches of time.

It takes a lot of discipline to keep that up, it's hard work. But if you can do
it, it will pay off.

My hat goes off to Emma for doing it.

If you want an audience too, follow _the ultimate recipe_ and you most likely
will not blow up like Emma did, but you will for sure attract an audience that
cares about what you have to say.
Faker::Rubimasを作ってみた
Tags: ruby, rubygems, imas
Published: 2019-03-01 14:14:59

---
title: Faker::Rubimasを作ってみた
published: true
tags: ruby,rubygems,imas
---

こんにちは、 .ごっちです。

RubyGem作ったことがなかったので作ってみました。所要時間は4時間くらいです。

[faker](https://rubygems.org/gems/faker)というgemと[rubimas](https://rubygems.org/gems/rubimas), [faker-precure](https://rubygems.org/gems/faker-precure)というgemにインスパイアされています。。

## 出来上がったもの

[https://rubygems.org/gems/faker-rubimas](https://rubygems.org/gems/faker-rubimas)

{% github YutaGoto/faker-rubimas %}

## 使い方

メソッドを呼び出すたびにそのメソッド名にちなんだ文字列か配列が帰ってきます。

```ruby
require 'faker/rubimas'

Faker::Rubimas.name
# => "望月杏奈"

Faker::Rubimas.favorite
# => "ハト"

Faker::Rubimas.hobby
# => "登山"

Faker::Rubimas.talent
# => "ポーカーフェイス"

Faker::Rubimas.idol_type
# => "Princess"

Faker::Rubimas.color
# => "#ffe43f"

Faker::Rubimas.cv
# => "長谷川明子"

Faker::Rubimas.unit_name
# => "クレシェンドブルー"

Faker::Rubimas.unit_member_names
# => ["天海春香", "周防桃子", "福田のり子", "松田亜利沙", "横山奈緒"]
```

## 苦戦した点

hobbyを持っていないアイドルがいて、ほかのメソッドと同じように書いてたらたまにエラーになってしまうという現象がありました。気づくのに地味に時間がかかりました。。

```ruby
requrie 'rubimas'

p Rubimas.find_by_name("ジュリア").hobbies
# => nil
```

なので、hobbyの部分だけ作りが違います。。。

```ruby
def name
  sample_idol.name.full
end

def hobby
  ::Rubimas.all.map(&:hobbies).flatten.sample
end
```

--

よければ使ってみてください。

## おまけ

{% twitter 1101476049416646656 %}

Twitterでできたということだけをひとまず報告したら、

![faker-rubimas](https://thepracticaldev.s3.amazonaws.com/i/jnv5p7am2kjestvk04ea.png)

早くも16ダウンロードあってびっくりしております。
Nemo File Manager (A Fork Of GNOME Files): Recovering Bookmarks Of Places
Tags: nemo, cinnamon, gnomefiles, filemanager
Published: 2019-03-01 14:01:12

---
title: Nemo File Manager (A Fork Of GNOME Files): Recovering Bookmarks Of Places
published: true
description: Nemo is an open source file manager, a fork of GNOME Files, one of the components of Linux Mint's Cinnamon desktop environment. Nemo has the function called Places which enable bookmarks management. This post is about recovering bookmarks removed by mistake.
tags: nemo, cinnamon, gnome files, file manager
---

[Nemo](https://github.com/linuxmint/nemo) is an open source file manager, a fork of [GNOME](https://www.gnome.org/) [Files](https://wiki.gnome.org/action/show/Apps/Files), one of the components of [Linux Mint](https://linuxmint.com/)'s [Cinnamon](https://github.com/linuxmint/Cinnamon) desktop environment.

Nemo has the function called Places which enable bookmarks management.
Places look like the left pane of this image:

![](https://thepracticaldev.s3.amazonaws.com/i/6y7hs0l4uri8jgxnt0bq.png)

This post is a very tiny tip about customizing it based on my small trouble.

My trouble was losing an important bookmark.
There are a couple of ways to delete the bookmarks from Places.

The tooltip menu provides the way to "Remove" it:

![](https://thepracticaldev.s3.amazonaws.com/i/o84makts4aw642wud7u2.png)

Also, there is an easier way.
Just pushing the "Delete" key of keyboards by mistake when focusing on some of them brought me "Ahhhhg..."

![](https://thepracticaldev.s3.amazonaws.com/i/y2ejgn0fxktm56elcldy.png)

I was in trouble for a while, and found the way to recover it.
No menus or commands were required.

Just drag and drop:

![](https://thepracticaldev.s3.amazonaws.com/i/46ki8s2g53xs2xftprsy.png)

That's just it:

![](https://thepracticaldev.s3.amazonaws.com/i/nsuwfkwkzbctsz40wydu.png)

Happy computing 😉
Develop the Right Software for Your Business
Tags: software, softwaredevelopment
Published: 2019-03-01 13:48:37

---
title: Develop the Right Software for Your Business
published: true
description: Software development is now one of the most sought after skills in the IT sphere.
tags: software, software development
---
More and more companies are opting to create their own customized software for better management of resources and maximum ROI. There are several reasons for choosing to create your own software for managing your specific business operations. One of the most crucial reasons is the requirement of complete flexibility in customization and control. While choosing to purchase standard software for [write my essay z](http://www.sacredheartghs.com/writing-scholarship-essay/) service from any vendor, your IT department would be compelled to choose from a limited number of options in order to include more functionalities and features into the set-up.

Whereas a new software developed specifically for your enterprise, and considering the existent business practices in your company, shall provide complete control over its operations and usage. Your various departmental executives can sit together and dictate the terms based on your particular business needs of different lines of business. For instance, the account department can include few more options against the inventory department, who require less features.
elements in my components not displaying! :O
Tags: react, help
Published: 2019-03-01 13:35:14

---
title: elements in my components not displaying! :O
published: true
description: problem with parent/child & sibling component interactions because noob
tags: react.js,react,help
---

i am doing my capstone project on my udacity front end nanodegree, it is written in react, includes a neighourhood map (google API), and many parent/child & sibling component interactions. 
the problem i am having is that, after i added functionality to connect two of the elements in a component (namely, an item in a mapped array with a list of locations has to trigger something on a google map marker (marker comes from its api)). when i added this, the list stopped displaying and, needless to say, there is no functionality. i am at a loss, almost 99.9% positive it is some error on my side but cannot see it/understand it because it is only my 2nd ever react project, and cannot find anyone available to help me rn. 
So, here i am. found this resource on the reactjs.org documentation and giving it a try. bare with me as it is my first post ever, surely you'll want to see the code but idk which part and i didnt do it via github, it is local on my computer. i can upload it if necessary OR (better and quicker yet) post it wherever. 

thank you so much for finding my bottle in the ocean :D & regards.
AWS Amplify for iOS
Tags: discuss, ios, amplify, mobile
Published: 2019-03-01 13:04:27

---
title: AWS Amplify for iOS
published: true
tags: discuss, iOS, amplify, mobile
---

I have been thinking about using Amplify for an iOS mobile project. 

The data schema will be fairly simple but there will be some security around the data. 

Has anyone tried out Amplify in anger?   Where there any got-yahs that you wished you knew before you started?

It looks really interesting and i’d Like to get a feel for it before spending too much time. 

Thanks
IB
Should every project be in its own VirtualBox VM?
Tags: help
Published: 2019-03-01 11:35:24

---
title: Should every project be in its own VirtualBox VM?
published: true
tags: help
---

Hello everyone, I got an idea that instead of making a new folder for every project that I have, I should really create a virtual machine that has all the dependencies loaded etc...  
At my job we have loads of different project that use different versions of python/java etc... and sometimes it is really time consuming setting everything up.  
Your thoughts / advice?
JSDayIE 2019 CFP now open!
Published: 2019-03-01 10:03:25

---
title: JSDayIE 2019 CFP now open!
published: true
description: We’re excited to welcome the JavaScript community to submit talks for JSDayIE 2019
tags: 
---

The JSDayIE 2019 CFP is now open! We’re excited to welcome the JavaScript community to submit talks for JSDayIE 2019 that will take place on September 20th 2019. The Call for Proposals closes on April 15th, 2019.

[![blog_post_2.png](https://svbtleusercontent.com/kHgRtcaKb5uFpoeBjN78nC0xspap_small.png)](https://svbtleusercontent.com/kHgRtcaKb5uFpoeBjN78nC0xspap.png)

We are looking for a multitude of topics and perspectives but most of all we value:

- **Original topics**, presented for the first time
- **Practical ideas** that attendees can apply at work the next day
- **Trends and hot topics** which are relevant in 2019 and beyond
- **Fresh perspectives** on the JS ecosystem

We don't have a specific theme for JSDayIE. Instead, we’re aiming to select talks that are interesting for as many JavaScript developers as possible. Our audience skill level is intermediate to advanced.

All talks should be in English and 25 minutes long. We will be on a tight schedule and will enforce the time limits rigorously. We suggest that you time your presentation accordingly in advance.

## We can help

Not everyone is a natural-born talent on stage. Not everyone can produce kick-ass slide decks. Not everyone is a live-demo master. Not everyone knows they have something great to talk about.

There are about a million reasons why you may not consider yourself a speaker. We are here to prove you wrong. If all you have is a gut feeling that you should be on stage, we are here to help you develop or hone the skills you think you lack to deliver a great presentation.

We are committed to fulfilling our mission as a community event. We are all community people and we want to be as close to you as possible. We will try to be supportive and helpful and we will do our best to get back to you with valuable feedback from the CFP process. In case you wish to talk with someone from the team, do not hesitate to write an email at [hello@jsday.org](mailto:hello@jsday.org) (just please don’t use this email to submit a proposal).

Please visit the [official CFP guidelines page](https://www.jsday.org/cfp_details) if you need additional help.

Good luck!
Often your solution is one (more) google search away
Tags: sql, beginners, tips
Published: 2019-03-01 10:45:45

---
title: Often your solution is one (more) google search away
published: true
description: Ask for help, google for it, learn from it
tags: #sql, #aws, #beginners, #tips
---

Lately I had the opportunity to work on a project where we had to migrate from a **PHP + Vertica** to **nodeJS + Aurora Serverless**. 
There was a lot going on there, on which I had very little experience with. 
I watched Udemy courses, read tons of documentation and followed tutorials. I had already made a whole lot then ** I got stuck** at a weird error:

`Error: Access denied for user 'MY_USER'@'%' (using password: YES)`

![whyyy??](https://media.giphy.com/media/l2JhtKtDWYNKdRpoA/giphy.gif)

Why Access Denied? I could already connect to the new DB, create all the tables - even insert single rows to them, why would the loading of the CSV files into the table fail because of credentials or permissions?

The SQL query was simple:
```
LOAD DATA INFILE '${filename}' 
INTO TABLE ${table} 
FIELDS TERMINATED BY ',' 
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 ROWS;`
```
Googling for that error I found stuff on Stack overflow which pointed me in the wrong direction - user access, user creation, permissions on the tables. Then I quickly asked a colleague which, without even checking my script, simply [rephrased my search](http://lmgtfy.com/?q=Access+denied+for+user+%20(using+password%3A+YES)+LOAD+INFILE) and set me back on track.
![Let me google it for you](https://thepracticaldev.s3.amazonaws.com/i/pv44vdb6uajedb9bv52b.gif)

As expected the solution had nothing to do with Access Denied and if i had read (more carefully) the documentation of [LOAD DATA INFILE](https://dev.mysql.com/doc/refman/5.7/en/load-data.html) i would have known that 
> if LOCAL is not specified, the file must be located on the server host and is read directly by the server. If LOCAL is specified, the file is read by the client program on the client host and sent to the server. 

![As simple as that - Jaw drop](https://media.giphy.com/media/MuTenSRsJ7TQQ/giphy.gif)

Fazit: 
- [RTFM](https://it.wikipedia.org/wiki/RTFM) 
- google it ( rephrasing often )
- once you found your solution - do not only copy paste it but understand it and read more about it, otherwise you learned nothing from it
- don't be afraid to ask when you are stuck
Expand your cryptocurrency knowledge at Global Crypto News
Tags: bitcoinnews, bitcoin, cryptocurrency
Published: 2019-03-01 10:36:15

---
title: Expand your cryptocurrency knowledge at Global Crypto News
published: true
description: Global Crypto News covers latest crypto currencies, blockchain, business & vertical news with multiple languages. Here you can update your knowledge regarding cryptocurrency world along with real-time Bitcoin price & other various cryptocurrencies, technical analysis, information, guides and breaking updates.
tags: bitcoin news, bitcoin, cryptocurrency
---
State transitions (i.e. Elm messages/React actions etc.): Past or imperative tense?
Tags: discuss, elm, react, javascript
Published: 2019-03-01 09:41:17

---
title: State transitions (i.e. Elm messages/React actions etc.): Past or imperative tense?
published: true
description: 
tags: discuss, elm, react, javascript
---

Do you have an opinion over which helps either you or your colleagues reason about your applications better? 

Past tense: `DetailsUpdated`
Imperative tense: `UpdateDetails`

Personally I'd always gone with imperative, but I thought about it recently and realised that whenever I'm looking at a list of state transitions things felt a little strange. For example: 

![A list of state transitions, all in imperative tense: StartGame, ChangeUrl, ChangeRoom, ExamineRoom, ToggleInventory](https://thepracticaldev.s3.amazonaws.com/i/6gldfvabv6dmy00mdy8d.png)

Whilst this is easy enough to follow, it's hard to describe it without reverting to past tense anyway: The user **started** the game, the URL **changed**, the user **changed** rooms, the user **toggled** the inventory...

But this isn't the same when you're writing the code: "When a user opts to start the game, I want the game to start" etc.

So I'm interested: what do you use?
Don't Let Fear For Feedback Be Your Rain
Tags: developers, shipping, validation, feedback
Published: 2019-03-01 09:18:30

---
title: Don't Let Fear For Feedback Be Your Rain
published: true
description: It's time to stop looking at the rain from a safe place. If you're working on your side-project and want to provide value for others, it's time to toughen up and ship.
tags: developers, shipping, validation, feedback
cover_image: https://thepracticaldev.s3.amazonaws.com/i/ovomuwhikp9ll20nijye.jpg
canonical_url: https://www.shipharder.com/dont-let-fear-for-feedback-be-your-rain/
---
Rain makes people cautious, perhaps afraid even 😨.
We tend to start driving slower, walk slower.

People use all sorts of precautions that prevent us from getting wet ☔️.
Some even don't go outside at all when it rains 😱.

**Negative Feedback is Our Rain**
Fear for negative feedback is the "rain" for product makers.
It's what keeps us from shipping product. What makes us want to build all these kind of protections. Add features just to make sure people will "like" what you're building. 

It keeps us from providing the value that we are envisioning for people through the products that we're creating for others.

**How about we start to use that same rain in your advantage?**
.
Chances are, you get from A to B faster when everybody is hiding inside 🅰️>>>🅱️.
Perhaps you even meet new people and gain new insights 👩🏽‍🎓👨🏻‍🎓 while sheltering in a door opening alongside the same sidewalk where you always mindlessly walk past thousands of strangers normally.

**Toughen the f*ck up**

The same counts for us product makers. Don't be afraid of the rain. Use it to your advantage 💪🏻.

Who cares if you get a little wet, or get some negative feedback on your product? Learn from it what you can, and put it behind you otherwise.

It's time to ship your product. Stop procrastinating. Toughen the f*ck up 💪🏻🔥. 

Dare to get wet. Smell the air as it's holding more oxygen than ever while it rains. 

Code Hard, but Ship your product oh so harder and, in return for your bravery,  you'll get the most valuable feedback that is out there:

**[ACTUAL. USER. FEEDBACK](https://dev.to/eekayonline/actual-user-feedback-is-the-most-valuable-kind-2c47)**

It's time to ship ladies and gentlemen. The time to keep hiding behind your code is over.

Check out [Shipharder.com](www.shipharer.com) and SUBSCRIBE to get more mindshaping content to get a mindset that helps you to build and SHIP viable products✌🏻

❤️ like and share this message with someone who could use this message.

_This article was originally posted on [Shipharder.com](https://www.shipharder.com/dont-let-fear-for-feedback-be-your-rain/)_
Setting dynamic background images in Nuxt
Tags: vue, nuxt
Published: 2019-03-01 08:43:06

---
title: Setting dynamic background images in Nuxt
published: true
description: Few problems I faced using Nuxt framework with VueJS
tags: VueJS, NuxtJs
cover_image: https://thepracticaldev.s3.amazonaws.com/i/vv6krdbdsftnfc9ab9pb.png
---
I had a few problems days ago with how to set dynamic background images in Nuxt. I tried different ways of pulling this one out and yet I wasn't able to till yesterday. By the way, this is my first time using Nuxt for a project and I suggested this in the new firm I recently joined. Since I suggested it, I might as well be the first person to use it on our website. So yes, I started using the framework and I had a few challenges but throughout the journey, I found solutions to those challenges and yes I say, its a great learning curve and it also gave me the opportunity to explore more with the framework. Back to the challenge I faced, this challenge was something else. I did a lot of googling and also finding solutions online but none worked till I played around and found a solution. I shared my solution to few people and communities who might be in need also and I found this community to be a great one, decided to create an account and also share this here. I don't know but it might also help someone, if not today, might be tomorrow or another day.

![Alt text of image](https://thepracticaldev.s3.amazonaws.com/i/vv6krdbdsftnfc9ab9pb.png)

So I began by creating a computed property and created backgroundURL within the computed property and return the looped dynamic background images. The main problem why dynamic images does work when used on an element or a div is because, you should *require* the images and since there's no way of requiring, that's why i created a computed proptery and required the images and after called the property on background image.

![Alt text of image](https://thepracticaldev.s3.amazonaws.com/i/mtytcu8recakiklo4oxx.png)

I bind the style since its a dynamic background-image and within the URL link, i placed in the computed property i created for the background image and added some styles to make the image look good.

![Alt text of image](https://thepracticaldev.s3.amazonaws.com/i/9sui83jyge22rm0dhzje.png)

This is the end results of the dynamic background images with style in NUXT

![Alt text of image](https://thepracticaldev.s3.amazonaws.com/i/nrffvxa7c7zeggs3134i.png)

I used the same procedure and also created something nice with it for the services section.

![Alt text of image](https://thepracticaldev.s3.amazonaws.com/i/5q828ol7xe5711w3k9tt.png)

 I hope this helps someone and I am available to anyone who has questions or doesn't understand anything, feel free to hit me up on here or twitter @jaeyholic.
Security in the Docker
Tags: docker
Published: 2019-03-01 07:43:00

---
title: Security in the Docker
published: True
description: 
tags: Docker
---

>> The security of the Docker is very important. This is because it is used in production environments. If its security is not enhanced, then private data and information can be lost and get into wrong hands.

>> The first measure of ensuring security in the Docker is the use of the “docker” group. If you do not how to do this, consult the book “Docker. The first look” by Kevin Watts. Users who have been added to this group can freely access the computer and carry out any tasks including modifying the file systems. This explains why you need to be careful while adding users to the group. Only the trusted users should be added to the group.

Learn how to use Docker, from beginner basics to advanced techniques, with online video tutorials taught by industry experts. Enrol for Free [Docker Training](https://mindmajix.com/docker-training)Demo!

>> Also, the Docker has also introduced the flag “–security-opt” to the command line. With this flag, the users will be able to set AppArmor and SELinux profiles and labels. Suppose that you came up with a policy which allows the container to listen only to Apache ports. If this policy was defined in svirt_apache, then it can be applied to your container by use of the following command:

              

>> This will make the process of running docker-in-docker by the users very easy as they will not have to use the “docker run –privileged” on the above kernels.
LeetCode in Ruby: 107. Binary Tree Level Order Traversal II
Tags: leetcode, ruby, binarytree
Published: 2019-03-01 05:29:23

---
title: LeetCode in Ruby: 107. Binary Tree Level Order Traversal II
published: true
description: Solution + explanation for Problem 107
tags: #leetcode, #ruby, #binarytree
series: LeetCode in Ruby
---

# Iterative

```ruby
def level_order(root)
  result = []
  return result if root.nil?

  queue = []
  queue << root

  until queue.empty?
    level_size = queue.length
    level = []
    level_size.times do
      node = queue.shift
      level << node.val
      queue << node.left unless node.left.nil?
      queue << node.right unless node.right.nil?
    end
    result << level
  end

  result.reverse!
end
```

This is very similar to the iterative solution for problem 102, except that we reverse `result` at the end. For detailed explanation, please read:

{% link algobot76/leetcode-in-ruby-102-binary-tree-level-order-traversal-2e59 %}