teleren/devto huggingface dataset:
How to set the language of a post?
Tags: meta
Published: 2018-09-30 02:44:40

---
title: How to set the language of a post?
published: true
description: A question about multilinguals posts
tags: #meta
---

Hello 👋,

I see in the preference that there is a `Languages` option, and my blog uses French and English so almost all my post are in this two languages (two separated posts, not both language on the same posts).

I am wondering how does that work with post I make federate on dev.to, should I add a language tag or a specific declaration in the front matter? The documentation does not says any thing about the language (yet?).
After decade(s) I am giving DuckDuck a Go as Default Search Engine. 
Tags: searchengine, discuss
Published: 2018-09-30 01:38:20

---
title: After decade(s) I am giving DuckDuck a Go as Default Search Engine. 
published: true
description: DuckDuckGo traffic is increasing and I want to be part of it. 
tags: search engine, discuss
---

Been seeing lately a lot of good posts about DuckDuckGo(DDG). I used it maybe 10-20 times in past x years but never thought to give it a try as a Default SE. Today I switched all my browsers and Devices to DDG and if I like it I’ll peovabl stick with it.

Major reason for me to switch is the privacy but non the less is to compare it to Google. 

What’s your experience with DDG from Dev/Ops experience?
How to teach programming to my 10 years old nephew?
Tags: discuss, learning, teaching
Published: 2018-09-30 01:11:50

---
title: How to teach programming to my 10 years old nephew?
published: true
description: 
tags: discuss, learning, teaching
---

Often my sister and her children come home during the weekend, and my nephew is always around to see what I'm up to. I asked him, "do you want to make your own game?" to which he replied "well, yeah, but I need to learn to code first". And then this question struck me "How do I teach him?".
What was your worst job interview?
Published: 2018-09-28 19:46:03

---
title: What was your worst job interview?
published: true
description: interview
tags: 
---

Hi Everyone,

Normally I'm posting rather articles, but know I'm interested in your opinion and experience.
So this week I attended a job interview at a company for a software developer position. This was a skype interview and somehow it made me a really bad experience.

So what was strange for me, that the interview did not have an introduction round, they didn't ask me for a short introduction or something. They started with a practical task. It was basically an issues problem, but the task was to find the solution which is the most optimal for runtime. And I needed to tell them how I'm thinking step by step. The solution was not trivial, but not so difficult. But I just started to tell them my idea and they just told: "ok, but it's not the most optimal one", so I tried to think in an other way, but they told again "it is still not optimal enough". And to be honest I totaly blocked regarding this issue, I couldn't find the solution, but they just kept asking "ok, but how would you do 
it?" etc. So I totally blooded, but they were teasing me 1 hour long and at the end they told "sorry, time is over" and that was the interview.
So of course it was my weakness that I could not find the solution and I can totally understand that they were not choosing me for this position, but I'm feeling really uncomfortable because of two things. First of all I had the feeling, that they were handling me really as a biorobot. They were not really interested in who am I and what's my preference or experience or whatever. On the otherhand I still think, that if I had have 30 minutes alone thinking about this problem I would have been able to find the solution, but not in such a stressed situation. And I really think that I have a good knowledge in the field they are working and I'm feeling upset that they gave me other chance to show it, only this one task.

What do you think about that?

Did you have any similar experience?

And in general I think I have the problem, that if I'm working somewhere I'm usualy getting a good feedback regarding my work from my boss and my colleagues, I'm getting always new opportunities and I can always achieve my tasks, most of the cases without any external support. But everytime when I'm searching for a new job because of any reason after the first round of interviews I'm feeling myself totally stupid and I'm getting so many rejection from different companies . So I really don't know if it's normal or I'm doing something wrong...
Do you have any idea?

Thanks in advance!
Finding Love While Coding
Tags: love, development, nashville, software
Published: 2018-09-29 22:45:20

---
title: Finding Love While Coding
published: true
description: Two alumni get married at the spot they first saw each other
tags: love, development, nashville, software
---

![tech love](https://thepracticaldev.s3.amazonaws.com/i/sz1hrbh117y2gosi3ejl.jpeg)

Tomorrow, I get to give short toast to two students that I taught at Nashville Software School. The groom 🎩 was in cohort 12. The bride 👰 in cohort 13. It all began when cohort 12 was presenting their client side capstone projects to cohort 13 on their first day at the school.

The future bride saw her future groom presenting his project and thought to herself, "That's the best looking guy in that class." 

Two years later, they are getting married at the exact spot he was standing during that presentation. I think it's extremely cool. I'm honored to be a small part of their day, because I still consider them friends, and apparently I had just enough good moments when I was teaching them that they want to hear me talk at them one more time. 😄😄😄
PHP Package: Caller
Tags: php, showdev
Published: 2018-09-29 22:14:42

---
title: PHP Package: Caller
published: true
description: Library for calling functions, closures, classes and methods.
tags: php, showdev
---

{% github fobber/caller %}

Hey! I published my first library to composer. Any PHP developers have time to read some code, you can check out my package on GitHub/Packagist.

If you read the code, it'd be nice if you'd let me know what you think.

You can install it via Composer, like so:

```
composer require fobber/caller
```

It's a library for calling things like functions, closures, classes and methods. You might be wondering why I would make something like this, but I made it so you can utilize it to make calls to dynamic values/handlers. Let's say you're building a Router library. And you want to able to separate your code into different files, like Controllers.

So you could so something similar to:

```php
$object = $caller->callClass(IndexController::class);
$method = '__invoke';
$parameters = [$request, $response];
$caller->callMethod($object, $method, $parameters);
```

**Or later once I got it implemented:**
```php
$caller->call('IndexController', [$request, $response]);
```

And with a neat little feature, you can have prefix and suffix parameters. If say all your controllers and their methods need a `$request` and `$response`, you can set it. And all you have to do is this:

```php
$caller->call('IndexController');
```
Visual Studio Code can now convert your long chains of Promise.then()'s into async/await automagically
Tags: vscode, webdev, javascript, news
Published: 2018-09-29 20:42:30

---
title: Visual Studio Code can now convert your long chains of Promise.then()'s into async/await automagically
published: true
description: 
tags: vscode, webdev, javascript, news
---

VSCode is continuing to evolve in pretty fascinating ways.

{% twitter 1045655069478334464 %}

{% twitter 1045656569076224001 %}

I'm curious about whether I'd actually make use of something like this, but I definitely find it interesting if it gets out of the way when not being used.
This Facebook Security Breach was "Intended Functionality"
Tags: security, technology, privacy, news
Published: 2018-09-29 20:14:47

---
title: This Facebook Security Breach was "Intended Functionality"
published: true
description: Facebook buried this security breach to avoid a bug bounty.
cover_image: https://thepracticaldev.s3.amazonaws.com/i/fu5oykhr4knft642rzdt.jpg
tags: security, technology, privacy, news
---

In the wake of [Facebook's breach of (more than) 50 million accounts](https://www.theguardian.com/technology/2018/sep/28/facebook-50-million-user-accounts-security-berach), we're starting to [get some explanations](https://newsroom.fb.com/news/2018/09/security-update/), and they are hair-raising. No group is perfect, but it's a chilling reminder of the consequences of missing things in security analyses and audits. One of the ways companies farm out this difficult labor is by [offering bug bounties](https://www.facebook.com/whitehat/) to white hat security researchers who point out vulnerabilities to them. Facebook's current troubles reminded Twitter user [@codepaintsleep](https://twitter.com/codepaintsleep) of their friend's interaction with that program.

{% twitter 1046009091016052736 %}

In December 2016, Facebook would send an automatic login email to people in certain situations. If that email got forwarded to anybody else, they would be able to click that link and receive full access to your Facebook account. A rare situation, perhaps, but a critical breach of someone's privacy if it ever did happen. @codepaintsleep's friend absolutely did the right thing by reporting the vulnerability, and they didn't even do it for the bounty at first.

However, I don't think the most cynical Facebook critic would have predicted Facebook's reason for not awarding a bounty—they said granting someone else access to your account via forwarding an email intended for yourself was "intended functionality." It was functionality so intended that Facebook patched it out and closed the vulnerability within 20 minutes of a good samaritan reporting it.

{% twitter 1046027352390742016 %}

Obviously, this was just an excuse not to pay, and maybe it doesn't need to be anything more than a multi-billion dollar company being a skinflint. But not paying your bug bounties, especially for something like this, defeats the purpose of the program.

While Facebook is [apologizing again and again](https://www.wired.com/story/why-zuckerberg-15-year-apology-tour-hasnt-fixed-facebook) for controversies, saying they've ["learned a lot"](https://twitter.com/ShiraOvide/status/1044549221536411648) from the consequences of their mistakes, always keep in mind that [their business model is disregarding your privacy](https://www.theguardian.com/technology/2018/apr/07/facebookgot-into-mess-cant-get-out-of-it-mark-zuckerberg-surveillance-capitalism) and that is their only intended functionality.
I've re-built my portfolio based on a Dribbble shot I found. What do you think?
Tags: design, opensource, discuss, showdev
Published: 2018-09-29 19:46:28

---
title: I've re-built my portfolio based on a Dribbble shot I found. What do you think?
published: true
description: I built a portfolio based on a dribbble shot I found, would love your feedback
tags: design, opensource, discuss, showdev
---

![dribbble shot](https://thepracticaldev.s3.amazonaws.com/i/2ns470rowv8sybmcmar0.gif "The Dribbble shot that provided the inspiration")

So, I have my side project [mydevportfol.io](https://mydevportfol.io?ref=devto), which means I keep an eye out for interesting portfolio designs that I could build. While perusing Dribbble, I came across this [awesome shot](https://dribbble.com/shots/4934380) (above), and thought it'd be perfect to turn into a portfolio, so I tried to build it. 

![My site](https://thepracticaldev.s3.amazonaws.com/i/800p5gdfogjieath7f0m.gif "My version of the Dribbble shot")

There's the result above, and [here's the live site](https://chippd.github.io/deskportfolio/). I took some creative license and didn't follow the design to the tee, but I'm happy with the result so far. 

I posted it on [Reddit](https://www.reddit.com/r/webdev/comments/9jwspq/i_revamped_my_portfolio_when_i_saw_this_sweet/e6vaqfq/) and got some really good feedback, but I'm curious what you guys think. 


I quite like it. It still needs some work to work 100% on browsers other than Chrome, but I'm reasonably satisfied with it. 

As I said though, totally open to critical feedback! Here's the code on [Github](https://github.com/Chippd/deskportfolio)

Cheers!
Stickeroid - how your words turn into stickers
Tags: startup
Published: 2018-09-29 18:49:38

---
title: Stickeroid - how your words turn into stickers
published: true
description: I analyzed the startup and want to tell you why it should be used in their startups
tags: startup
---

I am surrounded by developers, businessmen and startups, so I draw projects for analysis from them.

Today I chose Stickeroid.

Here is the link : https://stickeroid.com/

![Demo UI](https://thepracticaldev.s3.amazonaws.com/i/c9duw55bxg46c2odjo46.png)

This project deals with the man to whom I look with pride, [Victor Koch](https://twitter.com/victorkoch?lang=en).

**What is the project like?**

The project is an AI system that allows you to choose stickers for your words.

**Audience of the project?**

The audience of the project are developers, especially messengers.

**What about downloads?**

There is as such no downloads, but they claim that with their help sent 692120430 stickers.

**What are the advantages of the project?**

Easy to use for developers, all for free. So if you have an app that needs stickers, why don't you use a cool thing?

I want to mention my favorite style of Viti in the design, I don't know he does it himself or accompanies each pixel, but their anboarding very cool: https://stickeroid.com/intro

They immediately covered the top messengers and everything that is possible.

**The cons of the project ?**

For me in such projects, it is not clear yet, but where is Carl's money?

But at the same time, I understand that the guys who are behind the project, clearly understand what they are doing and where the money is.

**What about the money in the project?**

From what I see in guys already poured $200k, but I have a sense of, that the groundwork comprise money the most Viti.

**The result?**

The project with a clear purpose and tough team, but for me, with a strange cash time.


Thank you for read, i start this because i written [post](https://dev.to/gaserd/are-you-interested-in-reading-about-this-3ehi)
#meta tag now at bottom of right-hand home page sidebar
Tags: changelog, meta
Published: 2018-09-29 17:24:52

---
title: #meta tag now at bottom of right-hand home page sidebar
published: true
description: 
tags: changelog, meta
---

Meta posts are important for the improvement of [dev.to](/), so the tag has now been added to the right sidebar for more visibility.

With meta posts, remember to be constructive and positive. We're always working on the platform. We don't get everything right but we're always trying to improve! 😄
React Native Horizontal ScrollView Example Android
Tags: react, reactnative, android, javascript
Published: 2018-09-29 16:10:56

---
title: React Native Horizontal ScrollView Example Android
published: true
description: React Native Horizontal ScrollView Example Android
tags: #react #reactnative #android #javascript
---

Post Link : <a href="https://www.skptricks.com/2018/09/react-native-horizontal-scrollview-in-react-native.html">React Native Horizontal ScrollView Example Android
 </a>

This tutorial explains how to create horizontal ScrollView example in react native application. As we are already discussed the ScrollView is a generic scrolling container that can host multiple components and views. In this example  we are going to display 10 images in horizontal fashion in ScrollView Component and you can view the images by scrolling left to right or right to left direction, depending upon image placement or position.

<a href="https://www.skptricks.com/2018/09/react-native-horizontal-scrollview-in-react-native.html">React Native Horizontal ScrollView Example Android
 </a>


<img src="https://3.bp.blogspot.com/-YraG54_QCs4/W69zwBy9-LI/AAAAAAAAB8k/3Tx8EqwdhycWdARmANZccHkfvZGjhV0WACLcBGAs/s640/hor.png" />

<a href="https://www.skptricks.com/2018/09/react-native-horizontal-scrollview-in-react-native.html">Read More...
 </a>
Click to send on WhatsApp with JavaScript
Tags: javascript, web, simplesnippettoday
Published: 2018-09-29 15:12:50

---
title: Click to send on WhatsApp with JavaScript
published: true
description: make a dynamic link using split() and join()
tags: JavaScript, Web, SimpleSnippetToday,
---

> IMPORTANT, Please encodeURIComponent()

> TL;DR You can use link below and place it on your button, or whatever. Its simply will open up whatsapp on user phone. But it isn't automatically send.
>
> https://api.whatsapp.com/send?phone=+*YOURNUMBER*&text=%20*YOURMESSAGE*


What we were built here it is a dynamic send to WhatsApp link with JavaScript approach you can use the link above and give it a try

Okay I'll use JSBin with this, first open up then its just easy you will use `split()` and `join()` string property on JavaScript here my script.

```javascript
// https://api.whatsapp.com/send?phone=+{{ *YOURNUMBER* }}&text=%20{{ *YOUR MESSAGE* }}

var yourNumber = "{{ your number in string}}"
var yourMessage = "{{ your message in string }}"

// %20 mean space in link
// If you already had an array then you just join them with '%20'
// easy right

function getLinkWhastapp(number, message) {
  number = yourNumber
  message = yourMessage.split(' ').join('%20')
  
  return console.log('https://api.whatsapp.com/send?phone=' + number + '&text=%20' + message)
}

getLinkWhastapp()
```

Copy that on jsbin, give phone number and message do you want, make sure you use WhatsApp, It will open up WhatsApp on your phone with the message you wrote.

Further reading :

- [split()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split)
- [join()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/join)

---
## Important

This post was made to learn JS `split` and `join` for production purpose you should use `encodeURIComponent()`

```js
function getLinkWhastapp(number, message) {
  var url = 'https://api.whatsapp.com/send?phone=' 
     + number 
     + '&text=' 
     + encodeURIComponent(message)
  
  return url
}
```
How to start writing
Tags: beginners, motivation, writing, blogging
Published: 2018-09-29 14:25:15

---
title: How to start writing
published: true
description: It's ok to make mistakes without making mistakes we can't grow so don't stop writing if someone criticizes you.
tags: beginners, motivation,writing,blogging
cover_image: https://cdn.pixabay.com/photo/2016/01/30/22/04/typewriter-1170657_960_720.jpg
---

First, let me share something about me i was started writing from Apr 5, 2018, in dev.to and Medium so far i have gained 6,000 followers in dev.to and my monthly views in the medium are 30k.

Everything is already in front of you just create an account in dev.to and start writing from today don't think more about your grammar or mistakes.

>“Those who only do what they feel like… don’t do much. To be successful at anything you must take action even when you don’t feel like it, knowing that the action itself will produce the motivation you need to follow through.” -Hal Elrod

At the time of i started writing my grammar is not good but i never think of that because any skill we want to learn can take time. It's ok to make mistakes without making mistakes we can't grow so don't stop writing if someone criticizes you. 

>“You can’t be an important and life-changing presence to some people without also being a joke and an embarrassment to others.
”- Mark Manson


![](https://cdn.pixabay.com/photo/2018/05/31/15/06/not-hear-3444212_960_720.jpg)


Don't think more about what other people say. If you don’t have control over what you are doing the people besides you can control your brain because you always fear of doing new things or trying things.


The only way to be better at writing is to write daily choose a topic a start writing. Don't compare your writing with other people because everyone has there own voice so don't be someone else be yourself.

Sarasoueidan is a freelance front-end UI/UX developer what she said about [writing](https://www.sarasoueidan.com/desk/just-write/).

"I even uninstalled Google Analytics because I didn’t care about checking any visitor numbers or bounce rates or whatever. My blog is there, and I will publish content, whether people read it or not."


>without doing wrong you never know what is right.


Checkout --> [Best Programming Laptops](https://reactgo.com/best-programming-laptops/)
Witch Free Classified Ads It's most Popular in U.S.A?
Tags: classified
Published: 2018-09-29 10:46:18

---
title: Witch Free Classified Ads It's most Popular in U.S.A?
published: true
description: Suggestion for Classified Project
tags: Classified
---

https://www.quertime.com/article/top-30-best-free-classified-ads-posting-listing-web-sites/ , my first option was Craiglist.

I have in development a Ads script and i wanna make it shine for American People,so in this time i wanna make a Template for this, so i looking for inspiration!

First of all i found : 


If someone can suggest me a psd , this will be awesome ! Thanks!
Connection between Front-end Back-end and Database of an Application.
Published: 2018-09-29 10:11:25

---
title: Connection between Front-end Back-end and Database of an Application.
published: true
description: 
tags: 
---

Hi,

I just want to know the connection between front-end back-end and database of an application. I haven't deployed any, so want to hear the deployment process from a practical side.

Thanks :)
I Am a Fullstack web developer that started working at the tender age of 16 (lol), Ask Me Anything!
Tags: ama
Published: 2018-09-29 09:34:21

---
title: I Am a Fullstack web developer that started working at the tender age of 16 (lol), Ask Me Anything!
published: true
tags: ama
---

So, First off, I have no actual onsite office experience, but I have been working online (full time) as an offshore developer for the past 7 years. I haven't even graduated college. But now I've worked my way up to team lead.

Ask me anything :)
Worst things you can do, with database architecture
Tags: database, mysql, nosql
Published: 2018-09-29 09:18:28

---
title: Worst things you can do, with database architecture
published: true
description: What are the absolute worst practices / examples you can think about?
tags: Database, MySQL, NoSQL
---

So as I was scurrying around the internet for database architecture based questions as I usually do with my free time on a Saturday afternoon, a thought came across my mind, all these blog posts and articles point to what TO DO. But not any single one of them describe a what NOT to do.

Both MySQL and NoSQL. but please indicate as to which. Im certain each will have its own set of topics.

Im just wondering if anyone here can share their experiences.