teleren/devto huggingface dataset:
Nevertheless, Morena Fiore-Kirby Coded because curiosity can take you a long way.
Tags: wecoded
Published: 2018-03-03 09:11:37

---
title: Nevertheless, Morena Fiore-Kirby Coded because curiosity can take you a long way. 
published: true
tags: shecoded
---

I was a teenager, single child, so bored at home in a town in Italy where you can't go out between the hours of 1 and 4pm because everyone is having lunch or sleeping. I was always looking for new stimulations, so back then during those ungodly hours that meant exploring Windows 98 and XP's every single feature; or playing around with Poser's mannequin, or trying out every single clip art, audio or font installed.

Then my parents got me internet! And my curiosity couldn't be helped, I started wondering how were websites made? I created my first ones using image maps (sorry!) and tables for layout (so sorry!), although they were merely websites idolising my favourite football player, Nicola Ventola and TV show, Dawson Creek.

The next question I started to pose myself is how do I add data to this? So I started learning PHP and MySQL.
I should add, I never actually studied computer science, my parents couldn't afford for me to go to university and my life mission was to move to London. Here I tried to go to university, but messed it up financially and (one of the saddest things that have happen in my life) I had to drop out after a trimester or so.

So the studying computer science basics and fundaments never really happened. I  started selecting what I needed to learn and picked up what I needed on the way.

Today I know I won't survive a whiteboard interview and tell you what algorithm will do what, or won't be able to give you a proper definition for most things I use on a daily basis, but I'll jump in the sea of whatever new technology to put in front of me, no matter the height.

Most of all I want to learn, every single day.

And allies, it's thanks to you that people like me who have this much willingness to learn but don't always have the means to, can grow in knowledge and confidence. Thanks to every single one of you who explained me something and who believes in my skills.
Karma.js, Headless Chrome and Docker
Tags: phantomjs, javascript, vue, testing
Published: 2018-03-03 08:50:57

---
title: "Karma.js, Headless Chrome and Docker"
published: true
tags: phantomjs,javascript,vuejs,testing
canonical_url: 
---

Today I’ve come back to frontend project I’m involved. I have no idea what have happened while I was away for different things but our **Karma.js** tests stop&nbsp;working.

The project is done with **Vue.js** and it becomes for some reason impossible to pass slots to the components as strings. Well. And there was error message suggesting to use **Puppeteer** instead.

And here is a short snippet to how actually do that. Quick notice, I run my tests inside Docker container…

1. remove **Phantomjs** from your **package.json**
2. add dependencies to **puppeteer** and **karma-chrome-launcher**

3. update **karma.conf.js** according to the snippet&nbsp;below

{% gist https://gist.github.com/gimlet2/9ce5bdc17a23c919f53e3817d6b0f670 %}

4. also **Chrome** requires some system libraries and doesn’t work on default **nodejs**  **Docker** image. So, I’ve found `geekykaran/headless-chrome-node-docker`.

And after all that changes my tests are green&nbsp;again!
What are great ways to promote an iOS App?
Tags: appstoreoptimizati, iphoneappdevelopme, mobileappmarketing, iosappdevelopment
Published: 2018-03-03 05:56:48

---
title: "What are great ways to promote an iOS App?"
published: True
tags: app-store-optimizati,iphone-app-developme,mobile-app-marketing,ios-app-development
canonical_url: 
---

Because of the profitability of the App Store market, the number of iOS developers are rapidly increasing day by day. Four times more developers are choosing iOS platform instead of Android platform. That is why selecting [**iPhone App Development**](https://www.vrinsofts.com/mobile-app-development/iphone-application-development.html) for your business is a profitable decision.

Creating a perfect app for a business is a difficult task to perform, but promoting that App in the right manner is also important. Because of the high market competition, it is very important to introduce your App to the eyes of the users for the success of your App. For better results and market performance here are a few ways which can help you to promote your App for a larger audience base.

![](https://cdn-images-1.medium.com/max/810/1*eM0Brkw38HZEOCKigOcLCw.jpeg)

**1) Review Submission:**

A review is one of the most important things to create a positive impression on the users. Because positive reviews you can attract more users as it builds trust towards the App. Developers should submit their App to major App review sites. Such sites can provide basic publicity to your App.

**2) Social Media:**

Nowadays social media is becoming the most effective way to connect directly to the users. You can use popular social media platforms like Facebook, Google Plus, Twitter, LinkedIn, etc for posting details about your App. You can also use bookmarks to bookmark your iOS App

**3) Website:**

Users would always look for real and trustable Apps rather than deal with fake Apps. That is why an online presence for your app is much needy for the success of App.

**4) App Store Optimization:**

ASO is effective and important for the discoverability of your App in this competitive market. Thus, your ASO needs to be powerful. App Store Optimization includes a unique and attractive name for your App, Relevant Keywords, Informative Description etc.

**5) Advertisement:**

The advertisement is a direct and effective way to spread awareness regarding your App among the users. You can take popular celebrity face as your brand ambassador, which can help you to attract people easily.

**Finish Off:**

As you can see that it is important to get the users focused on your App launch. For accomplishing successful results you must need to understand your target audience first and then choose an effective promotional strategy.
We can do it!
Tags: wecoded
Published: 2018-03-02 14:01:02

---
title: We can do it!
published: true
tags: shecoded
---

## I began to code because...
honestly... I needed a new job. I was working at a cafe for 4 years and was not enjoying it. I found out about Codebar, a weekly workshop helping underrepresented people in tech to learn how to code. I fell in love with the web instantly, in under a year I got my first developer role and I am not planning on going back ever! 

## I recently overcame...
SVG animations! I made the thing move! YES. I really love animating things and want to progress in that area further.


## I want to brag about...
Myself and codebar. I know that bragging about yourself is sometimes frowned upon but I am proud of myself! Finding something that I love and something that I am good at, getting a developer job in under a year from now knowing anything I am extremely proud of.
Codebar is something else I would like to brag about. It is such a fantastic organisation that has helped so many people get jobs. Going from a student > coach > organiser has been an amazing experience and seeing students learn more and develop along the way is so rewarding.


## My advice for allies to support women who code is....
hire more! Do and not just say. Be supportive and contribute to organisations such as codebar.
Self-Hosted Git Server with Gogs
Tags: gitserver, docker, vps
Published: 2018-03-03 05:29:38

---
title: Self-Hosted Git Server with Gogs
published: true
description: 
tags: git server, docker, vps
cover_image: https://api.zorexsalvo.com/media/uploads/gogs.png
---
<h3 id="what-is-gogs">What is Gogs?</h3>
<p>Gogs (gogs.io) is a painless self-hosted Git service.</p>

<p>If you want to have your own GitHub-like service, it’s the best choice for me, since I made it work in less than an hour. Maybe you’re thinking, why would anyone want to create another service like GitHub when clearly there is already GitHub? Me, I needed to have private repositories for some of my projects. I can’t do that in Github unless I upgrade my account to a “Developer” plan for $7/month. To be honest, for me that is already expensive, to pay $7 just for private repositories, or maybe I’m just really poor. I’m not descrediting GitHub in any way, for public repos I’ll still choose GitHub.</p>

<h3 id="first-things-first">First Things First</h3>
<p>You’ll need: to have atleast basic knowledge on docker, and you need docker installed on your machine of course. PS, GOGS installation don’t have to be always dockerized, there are also bare metal installation guides but just for this post and the resources that I have we’ll stick to the docker version, also you’ll need a VPS for it to be accessible in the cloud.</p>

<p>When you’re done with the first steps, just pull the official gogs docker image: <br />
<code class="highlighter-rouge">$ docker pull gogs/gogs</code></p>

<p>You’ll also have to create a db (mysql, postgres, etc) container so: <br />
<code class="highlighter-rouge">$ docker pull postgres</code>
<script src="https://gist.github.com/zorexsalvo/e65c3e6f9ce68665fe2c8ba37022ab64.js"></script></p>

<p>Once db is ready, you can already run your gogs-container:</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ docker run --name gogs -d -v /var/gogs/:/data gogs/gogs
</code></pre></div></div>

<p>After that, once you open the address, you’ll see the Web UI Server Configuration where you’ll key-in all the server details, database, application name, administrator, host, domain, etc. Once you finished all of that, you’re now good to go.</p>

<p><strong>For you reference:</strong></p>
<ul>
  <li>I’m hosting it (together w this personal site and other personal apps) on a vps (1GB RAM,
1CPU Core, 20GB SSD Storage, 1TB Transfer, 40Gbps Network In 1000Mbps Network Out) for $5/mo;
I bought my domain from Godaddy for less 1$; am using nginx for reverse proxy.</li>
</ul>

<p><strong>For personal git server, Gogs is really my to-go server. I haven’t had any problems setting it up, it has the essential functionalities you are looking for a git server, and it is really lightweight!</strong>
What emerging technology would you want to work with if you could?
Tags: discuss
Published: 2018-03-03 01:05:13

---
title: What emerging technology would you want to work with if you could?
published: true
description: 
tags: discussion
---

With AR/VR making waves, cryptocurrencies taking over the world, and Elm still at the forefront of everyone's minds, what would you work with if your job allowed you to work with it? What would you want to build?
Nevertheless, Elsa Coded
Tags: wecoded
Published: 2018-03-03 23:49:26

---
title: "Nevertheless, Elsa Coded"
published: true
tags: shecoded
canonical_url: http://www.gonsie.com/blorg/she-coded.html
---


![img](https://cdn.shopify.com/s/files/1/2321/9069/products/20180226_171958_740x.jpg)
[*She Persisted* pin by OGHMC](https://oghmc.com)

<br/>

## Why I Code

I code to communicate science.

I define myself as a scientist and have had a life-long love of STEM. Coding allows me to achieve highly technical goals, through problem solving and a quick, iterative process (which is pretty much the best part).

There is nothing like taking a problem, programming a quick solution, developing the solution through fast iteration, and _knowing_ that I’ve arrived at the correct solution when my code spits out the right answer. Then, I can share my solution (and excitement) with the world through a programmatically-defined presentation of text.

## Why I Care

Frankly, I’m tired of being the only woman in the room. I’m tired of not knowing my acceptance or exclusion is _because I’m a woman_ or **because I’m a woman**. We need a diversity of experiences and perspectives. I’m just sick of the monotony.

There are too many carrots in this stew; a sentiment best expressed by [Flight of the Conchords](https://www.youtube.com/watch?v=9Wl_uQOABxg) (NSFW).

## How I Support Others

For me, the best way to support women who code is through mentorship. I find that sharing my experiences, knowledge, and perspective is a great way to help someone else overcome the obstacles in their life. I am great at being the voice of confidence and I love cheering on others.

Don’t forget, [_You are Amazing_](http://www.gonsie.com/blorg/career-next-steps.html#orgd80c843).

## Advice for Allies

Be conscious of your privilege and how you use your power. Understand your own biases (both conscious and unconscious). When given an opportunity to hire or select from a group, take an extra moment for those from under-indexed groups.

More than anything, be supportive of those around you. Do not abide by deprecating jokes, no matter who the target is. Be a force for good and kindness in the world.
Microservice data sharing and communication
Tags: microservices, discuss, architecture
Published: 2018-03-02 22:39:43

---
title: Microservice data sharing and communication
published: true
description: 
tags: microservices, discuss, architecture
---
Hello,

I really want thoughts from anyone who wants to on microservice architecture. It can be language agnostic but it's probably noteworthy that I am using SailsJS on Node Express. I would really appreciate some personal experience as well.

I would like to know:

1. When a service provides information to other services, how does one manage communication between them? Do you use REST, Message queuing? What's best?

2. When data needs to be shared across services, for example to prevent sharing of tables, is it good practice to create a relationship table?

Thank you.
Here is a little script to grab a list of all font names on Google Fonts.
Tags: bash, googlefonts, javascript, showdev
Published: 2018-03-02 21:58:02

---
title: Here is a little script to grab a list of all font names on Google Fonts.
published: true
description: 
tags: bash, google fonts, javascript, showdev
---

## Background
So if you have already read my previous post about [faviator](https://github.com/faviator/faviator), you might have visited the [faviator playground](https://www.faviator.xyz/playground).

{% link https://dev.to/ycmjason/introducing-faviator-a-simple-easy-favicon-generator-32g5 %}

I am very grateful to have received 19 stars (including my own star) on [GitHub](https://github.com/faviator/faviator) last week. My first goal for this project is to collect 100 stars, so please be generous.

This week has been very exciting, I have got a few [issues](https://github.com/faviator/faviator/issues?q=is%3Aissue+is%3Aclosed) raised on github which implies that somebody is actually using faviator! Yay!

I heard some feedback regarding the faviator playground. One of which suggests to provide a dropdown to make font style selecting easier.

So I decided to work on this one first. 

## Exploring Google Font API
The [Google Font API](https://developers.google.com/fonts/docs/developer_api) is a very simple API. The API has only one endpoint which returns all font information given your API key.

```
https://www.googleapis.com/webfonts/v1/webfonts?key=YOUR-API-KEY
```

You can generate your own API key [here](https://developers.google.com/fonts/docs/developer_api). The endpoint above return something like the following.

```
{
  "kind": "webfonts#webfontList",
  "items": [
    {
      "kind": "webfonts#webfont",
      "family": "ABeeZee",
      "category": "sans-serif",
      "variants": [
        "regular",
        "italic"
      ],
      "subsets": [
        "latin"
      ],
      "version": "v11",
      "lastModified": "2017-10-10",
      "files": {
        "regular": "http://fonts.gstatic.com/s/abeezee/v11/mE5BOuZKGln_Ex0uYKpIaw.ttf",
        "italic": "http://fonts.gstatic.com/s/abeezee/v11/kpplLynmYgP0YtlJA3atRw.ttf"
      }
    },
    ...
  ]
}
```

Nice! So we somewhat have all the family names, but I don't want to serve such a large file to my frontend just for the names. So I started writing a script to grab all the font names.

## The bash script

[`grepFonts.bash`](https://github.com/faviator/faviator.xyz/blob/dev/scripts/grepFonts.bash)
```bash
#!/usr/bin/env bash
KEY=$1

echo '['

curl -s "https://www.googleapis.com/webfonts/v1/webfonts?key=$KEY&sort=alpha" | \
  sed -n 's/ *"family": "\(.*\)",/  "\1",/p' | \
  sed '$s/\(.*\),/\1/'

echo ']'
```

Usage:

```
> bash grepFonts.bash YOUR-API-KEY
[
  "ABeeZee",
  "Abel",
  "Abhaya Libre",
  "Abril Fatface",
  "Aclonica",
  "Acme",
  ...
  "Zeyada",
  "Zilla Slab",
  "Zilla Slab Highlight"
]
```

And here we go, no more frustration when selecting text on [faviator playground](https://www.faviator.xyz/playground)!

![image.png](https://s14.postimg.org/yjw9efq8x/image.png)
Nevertheless, Jacque Schrag Coded
Tags: wecoded
Published: 2018-03-02 21:25:36

---
title: Nevertheless, Jacque Schrag Coded 
published: true
tags: shecoded
---

## I began to code because...

when I was in elementary school, my dad went back to school so he could become a web developer. For Christmas that year, he gave me his HTML4 reference book when I started asking questions about _how_ he was making websites. I started reading and never looked back. Although it has always been a passion hobby of mine, coding did not become something I considered doing professionally until graduate school when I realized that there was a serious need in the policy sphere for web development. I've been fortunate enough to be able to create a position for myself where I can work on topics I care about and build cool web projects.

## I recently overcame...

shyness about sharing my work and participating in development communities. Imposter syndrome is incredibly real and has been a frustrating aspect of getting into this career. I hope to be a more active member of the communities I'm in and not just lurk on the sidelines.

## I want to brag about...

the team I work on. We're an award-winning creative agency inside of a think tank and are producing some really cool stuff. We're also (almost) an entirely women team, which is a rarity in both the tech and think tank spheres. I love coming to work and feeling inspired everyday by the work my colleagues do and it gives me courage to keep working even when the feeling of imposter syndrome becomes overwhelming.

## My advice for allies to support women who code is....

be vocal about your support and be vulnerable about the things you struggle with. Knowing that there is somebody else out there who feels just as lost when they look at the state of the JavaScript ecosystem (seriously though - I _finally_ got a handle on Webpack 3) can mean everything when you're questioning whether or not you have the skills to make it in the field.
Well hey, I'm still coding.
Tags: wecoded
Published: 2018-03-02 20:13:37

---
title: Well hey, I'm still coding.
published: true
tags: shecoded
---

## I began/continue to code because...
of artistic vanity. I came of age in Neopets and Myspace :D

Eventually I wanted to animate things in browser instead waiting to export videos.

Almost everyday I see something that makes our lives easier and think, "I wish I made that".
I am really impressed by the ACLU video [app for recording police brutality] (https://www.aclu.org/issues/criminal-law-reform/reforming-police-practices/aclu-apps-record-police-conduct), Daniel Shiffman's [Coding Train](http://thecodingtrain.com/).

So I wanted to become an amazing developer so I could make software for social causes.

I got better at dev because I wanted to make a livable wage.

## I recently overcame...

my fear of databases
my fear of deploying
my fear of being a shitty dev forever

## I want to brag about...

how I handle failure and address conflicts.
how I'll try over and over til something works.

## My advice for allies to support women who code is....

Listen to and hang out with people who aren't like you.
Make a wikipedia page for someone you know, and try your hand and maintaining it.
Offer advice only when they ask for it.
Should I learn Vim (or its keybindings)?
Tags: vim, discuss
Published: 2018-03-02 20:06:08

---
title: Should I learn Vim (or its keybindings)?
published: true
description: I guess the title explains my question quite well.
tags: vim, discuss
---

I wonder does Vim really boosts up your productivity. My IDE has the keybindings so I wonder should I give it a shot or not.
Programação Funcional com Javascript — Funções Puras
Tags: webdev, functional, programação, javascript
Published: 2023-09-08 14:44:19

---
title: Programação Funcional com Javascript — Funções Puras
published: true
date: 2018-03-02 18:12:15 UTC
tags: webdevelopment,functionalprogramming,programação,javascript
canonical_url: 
---

E ae pessoal, tudo certo ?! Hoje vou começar a falar um pouco sobre programação funcional utilizando Javascript, quais as características desse paradigma e especialmente entrar na primeira parte dessa série, que são os conceitos e definições de funções puras.

### O que é programação funcional?

Nada mais é que um paradigma onde os programas são executados por meio de avaliação de funções. No sentindo mais puro, é baseada em como funções, variáveis e valores trabalham de fato na matemática. Além de que usam uma abordagem mais declarativa que imperativa em suas estruturas. Sendo assim temos princípios fundamentais da programação funcional, sendo eles: funções puras, imutabilidade, recursão, composição de função, funções de primeira classe, lambdas e closures.

Nesse primeiro artigo, irei falar exclusivamente sobre:

### Funções Puras

Para uma função ser considerada pura ela necessariamente tem que ter duas características, sendo elas:

1. **Dada a mesma entrada, sempre retornará a mesma saída:** a função sempre dá o mesmo valor de retorno para os mesmos argumentos. Isso significa que a função não pode depender de nenhum estado mutável ( objetos mutáveis são objetos cujo estado pode mudar, instanciar e atribuir valor a uma variável).
2. **Não causa efeito colateral:** a função não pode causar efeitos colaterais, ou seja, a função não acessa ou altera valores globais. Os efeitos secundários podem incluir Entrada/Saída ( **console.log** , **Math.random,Date.now** ).

Exemplo de função pura:

```
const multiplica = (a, b) => a * b;
```

Quais as vantagens de se utilizar uma função pura?

- Elas são de fácil processamento, testes e depuração, por não dependerem de estados mutáveis.
- O valor de retorno pode ser guardado, evitando assim uma re-computação no futuro.
- São mais fáceis de testar porque não há dependências (como log, ajax, banco de dados, etc.) que precisam ser mockadas.

Como podemos ver, nem todas as funções de nossos sistemas serão puras, mas podemos tentar utilizar as funções puras em pelo menos 80% dos casos, sendo o valor restante, destinados a funções de gravação de log, recuperação de data, valores randômicos e etc.
Sign up for Active life    
Tags: discuss, activelife
Published: 2018-03-02 17:14:53

---
title: Sign up for Active life    
published: true
description: Start doing Yoga everyday. 
tags: #discuss #activelife
---
![Yoga poses](https://thepracticaldev.s3.amazonaws.com/i/cr0w03zaea3s63eq0iyu.jpg)

Today, I have decided to sign up for the program "The 28 Day Yoga for Beginners Program" at DOYOUYOGA; it is taught by Kristin McGee, a yoga and Pilates based in New York, completely **free of charge** and online which particularly means I can do at home anytime. 

This is the first step which I am taking to have an active life in 2018. Is anyone here started doing Yoga this year? How things have gone so far? Please share your experience with all of us. Lets start living active life.

*The image used in this post is taken from Art of living website*