teleren/devto huggingface dataset:
Nevertheless, Mónica Coded, and still does
Tags: wecoded
Published: 2018-03-07 16:45:28

---
title: Nevertheless, Mónica Coded, and still does
published: true
tags: shecoded
---

## I began to code because...

Since I have memory I liked computers. The first laptop that was in my house had Windows 3.8 and the screen was black and white. But that did not matter to me it fascinated me to be able to use it. Even without knowing how to read, I learned how to open the programs I liked. When I was growing up my father used to borrow computers from his work and once he made me a little program that gave me simple equations to learn math. When I finished high school it was clear that I wanted to study computer science and started studying at polytechnic. When I graduated there I entered the University of Computer Science, of which I am proud, since it was five wonderful years learning everything I was capable of.
Now for more than three years I have worked as a developer in a software company and since I started I have had to face new technologies and study a lot and train as a professional. I love it since the first time I saw how to code a program by myself.
![text](https://thepracticaldev.s3.amazonaws.com/i/3uvnc3v2lxb8areswxmr.jpg)

## I want to brag about...
Recently I wanted to surprise my boyfriend with a script in python for Valentine's Day and in a very short time I learned the basics to be able to do it since I did not know anything about pyhton.


## My advice for allies to support women and non-binary folks who code is....

The first step to get somewhere is to decide that you're not going to stay where you are
Augmented Reality for Business
Tags: ar, applications
Published: 2018-03-09 13:27:29

---
title: "Augmented Reality for Business"
published: true
tags: AR, applications
canonical_url: https://perfectial.com/blog/augmented-reality-for-business/
---

You are shopping for a shirt and trying on a couple to decide which one suits you better. Or taking a tour of an apartment in Porto you want to rent this summer. Or what if you are in the market for a new coffee table and instead of flipping through pictures in magazines, you want to to see how it looks in a room. These are all possible scenarios we might encounter at one point or another. Now imagine you can do it from the comfort of your own home without having to visit any of those places. What’s the catch? AR and VR.

![augmented reality for business](https://perfectial.com/wp-content/uploads/2018/03/999x-999.gif)

<center><a href="https://www.bloomberg.com/news/photo-essays/2018-01-09/gadgets-and-gear-at-the-2018-consumer-electronics-show" target="_blank" rel="nofollow noopener noreferrer" data-wpel-link="external">Playing Star Wars: Jedi Challenge game with Lenovo augmented reality headset at CES 2018</a></center>

The sibling technologies, Augmented Reality (AR) and Virtual Reality (VR) are one of the [technology trends](https://perfectial.com/blog/tech-trends-to-disrupt-markets/) that are on everyone’s lips this year. From the [Olympics Opening Ceremony](https://www.theatlantic.com/entertainment/archive/2018/02/pyeongchang-opening-ceremony-olympics-2018/552902/) to Consumers Electronics Show (CES) last month in Las Vegas where tech giants like Facebook, Google, Lenovo, HTC presented their gears. Predictably, Amazon intends to join the game and is rumored [to explore AR](https://www.bloomberg.com/news/articles/2018-01-12/vr-lives-another-day-as-amazon-apple-explore-ar), and Samsung has products in the works as well.

Today we take a close-up look at the prospects of augmented reality for business, its benefits and ideas for application.

## The Power of Augmented Reality for Business

AR and VR blend the lines between physical and digital world. They offer a new way of interacting with customers, colleagues and the world around us. Often referred to as sister technologies AR/VR have an enormous market potential that is only in the initial stages of unlocking.Just have a look at one of the [AR application ArtPlusHome](https://perfectial.com/cases/artplushome/), which is helping people to shop for works of art without leaving their homes.  

The post [Augmented Reality for Business: Benefits and Application](https://perfectial.com/blog/augmented-reality-for-business/) appeared first on [Software Development Company Perfectial](https://perfectial.com).
Learning and Working and Family-ing
Tags: discuss, productivity
Published: 2018-03-07 15:15:59

---
title: Learning and Working and Family-ing
published: true
description: So many of us are doing it. So few of us are talking about it.
tags: discuss, productivity
---

There are literally thousands of resources these days that can help you learn how to code. Do you have the desire and the grit? You can become a software developer. This is definitely true as far as it goes, but it often silently assumes that you have an infinite supply of other equally important resources — namely time. If that's true for you, mazel! Take advantage. But, for many of us, it isn't true — particularly those raising young kids and working full-time.

All of that is to say how much I really appreciated hearing a recent [episode](https://www.codenewbie.org/podcast/which-javascript-framework-should-you-learn) of the CodeNewbie podcast that took a minute to shout out to those folks. The ridiculously talented [Sarah Drasner](https://twitter.com/sarah_edo) and always-awesome host [Saron Yitbarek](https://twitter.com/saronyitbarek) took a minute to say "props to you all! We don't know how you do it," and it's hard to express how validating that felt.

When I try to convey to folks how passionate I am about coding, I explain that I went through an online bootcamp when my daughter was an infant and I was working a full-time lawyer job. I try to take advantage of every free second to learn or practice. I still frequently get up at 4:30am and stay up late into the night to make the time. I'm hardly alone. There are so many of us, many folks with time crunches much more challenging than my own. They're sacrificing sleep and family time because they love this thing and want to be good at it.

I've often found it frustrating that there is not more discussion of this topic in the dev community online. So many thanks to Saron and Sarah for the good words!
Nevertheless, Paula Coded
Tags: wecoded
Published: 2018-03-07 12:46:34

---
title: Nevertheless, Paula Coded 
published: true
tags: shecoded
---

## Why I began to code

It all started when I was around 13 years old. I had recently learned about PowerPoint at school and I realized that I could use it to create animations. My dad saw me using PowerPoint in such an unconventional way that he decided to install Macromedia Flash on our family pc (yeah, it was “Macromedia Flash” until Adobe bought Macromedia, back in 2005). 

So my first code ever was written in ActionScript for some (probably bizarre) Flash application. At that time I didn’t even know I was programming. 

After finishing high school I did some basic web design jobs using Flash, PHP and MySQL.  A couple of years after that, I got my first employee job at a company, as a .NET dev. 

## Why I continue to code

I worked for a software company for 5 years. I started as a Software Developer, then moved on to Tech Lead, and finally I became a Project Leader. After a year as Project Leader, I decided to resign to co-found my current company, [Uppernauts](http://uppernauts.com). 
At Uppernauts I’m now responsible for the backend development and architecture design of our software (among a bunch of other things, we’re only two people at the moment). 

At the beginning of my career my goal was to become a Project Leader, but after reaching that goal I realized that what I truly love to do is to **create stuff**. Any kind of stuff (even music and digital art). As a developer for my own company I’m now able to create stuff every day. 

I realize that at some point I will have to delegate some of the coding to someone else if we want to grow as a company, but I’m ok with that because I know I can move on to other tech roles and I’ll still be able to participate in the creative process.

## I want to brag about...

I co-founded a startup called [Uppernauts](http://uppernauts.com) with my boyfriend Mauro at the end of 2017 and we have two awesome things to brag about: 
1. Our Android app [Get rid of it](http://getridofit.uppernauts.com) has reached 1000 downloads this week!
2. We’re publishing our first commercial software on production this week too!

I’m really proud of our progress so far. It takes a lot of effort to build something from the ground up, but for me it’s the most fulfilling work I’ve ever done. I have great expectations for the future!

## My advice for other women and non-binary folks who code is....

**Believe in yourself** and surround yourself with **positive forward-thinking people** who not only believe in you but also **challenge you to be better** every day.
Flask: list of routes
Tags: python, webdev
Published: 2018-03-07 11:49:38

---
title: Flask: list of routes
published: true
description: Get the list of routes in your Flask application
tags: python, webdev
---

**Update:** *starting from [Flask 1.0](http://flask.pocoo.org/docs/1.0/changelog/) there's a builtin `flask routes` command*

One of the cool things about Rails is `rails routes` (ex `rake routes`) which shows on the console the list of routes registered to an application. 

I have a Flask application made of different views and [blueprints](http://flask.pocoo.org/docs/0.12/blueprints/) which as it becomes larger and more complex makes it hard to remember all the registered routes.

I googled for "flask list of routes" and ended up on an [old snippet](http://flask.pocoo.org/snippets/117/) which breaks in the latest Flask versions.

This is a working version:

```python
@app.cli.command()
def routes():
    'Display registered routes'
    rules = []
    for rule in app.url_map.iter_rules():
        methods = ','.join(sorted(rule.methods))
        rules.append((rule.endpoint, methods, str(rule)))

    sort_by_rule = operator.itemgetter(2)
    for endpoint, methods, rule in sorted(rules, key=sort_by_rule):
        route = '{:50s} {:25s} {}'.format(endpoint, methods, rule)
        print(route)
```

* `@app.cli.command()` tells Flask cli to register the command `routes`
* The line `sort_by_rule = operator.itemgetter(2)` is used to create a function (used in the following line to sort) that extracts the item in position number 2 in a list. This way Python sorts the results by that item.

This is an example of result:

```bash
$ flask routes
frontend.index                                     GET,HEAD,OPTIONS          /
frontend.index                                     GET,HEAD,OPTIONS          /<path:path>
admin.index                                        GET,HEAD,OPTIONS          /admin/
product.index_view                                 GET,HEAD,OPTIONS          /admin/product/
api.products_show                                  GET,HEAD,OPTIONS          /api/v1/products/<string:product_id>
rq_dashboard.overview                              GET,HEAD,OPTIONS          /jobs/
frontend.static                                    GET,HEAD,OPTIONS          /static/<path:filename>
```
goto - navigate to aliased directories
Tags: showdev, bash, linux, script
Published: 2018-03-07 11:18:17

---
title: goto - navigate to aliased directories
published: true
description: A bash utility to navigate to aliased directories with autocomplete support
cover_image: https://thepracticaldev.s3.amazonaws.com/i/1gguxqn93kkpqmbm573u.png
tags: showdev, bash, linux, script
---

I created a bash utility named [goto](https://github.com/iridakos/goto) that allows users to navigate to aliased directories.

![goto](https://raw.githubusercontent.com/iridakos/goto/master/doc/goto.gif)

It comes with a nice auto-completion script so that whenever you press the `tab` key after the `goto` command, bash prompts with suggestions of the available aliases:

```bash
$ goto <tab>
bc /etc/bash_completion.d                     
dev /home/iridakos/development
rubies /home/iridakos/.rvm/rubies
```

### Example

The following command will register an alias for a long path:
```
goto --register workdir /mnt/development/projects/go/workspace
```

Afterwards, user can navigate to that folder with just:
```
goto workdir
```

You can find the code and the installation and usage guides on [GitHub](https://github.com/iridakos/goto).

## Update 2018-03-25

The tool can be used also in zsh and there is a brew formula available for macOS users (`brew install goto`)
Nevertheless, Silwing Coded
Tags: wecoded
Published: 2018-03-07 10:14:27

---
title: Nevertheless, Silwing Coded 
published: true
tags: shecoded
---

## I began/continue to code because...

...solving problems and finding efficient ways of doing things is incredibly satisfying. 
My first "code" was a Harry Potter fan website created in FrontPage. I was, if I recall correctly, around 11 years old. I quickly grew tired of the limitations and inefficiency of WYSIWYG editors like FrontPage and turned to the source code. And so HTML and CSS became my first real coding experience.

While writing my master's thesis I started looking a bit around for job possibilities. I got to an interview for my current job. One question I remember the interviewer asking me was "Where do you see yourself in 5 years?". 
My answer then was that I was imagining going the architect way. Getting a few years of coding experience and then becoming an architect. Fast forward a year and I told my manager, that I had to turn back on that statement. Architects do far too little code.

The satisfaction of solving problems never grows old and is what makes me continue coding and probably always will.

## I recently overcame...

...changing my default interactive shell. Inspired by the dev.to article "Can I see your terminal?" I took the jump from bash to zsh and so far I love it. Change can be daunting, but the opportunities we don't take are usually the ones we regret.

## I look up to...

...my incredibly skilled and intelligent coworkers. I have learned so much and also taught them a new thing or two. Sharing is caring and sharing knowledge is one of the greatest strengths of any developer community.

I also look up to [Dinnerbone](https://twitter.com/Dinnerbone) whom I have been following on Twitter since he joined the Minecraft team. His way of handling being a developer on such a large and popular project while still keeping a very personal feel is amazing.

## I am currently hacking on...

...shell scripts for easing the daily life of developers on the project I am working on. Making our processes more smooth and efficient is wonderful.

## My advice for other women and non-binary folks who (wants to) code is....

...never give up.

I have been lucky in the sense that I have never experienced, what I read other women or non-binary folks have experienced. But that also means I have no first-hand experience to share with others
What I can say is that you have the right to pursue coding if that is what you want. It should be obvious, but we all feel the imposter syndrome weighing on our shoulders every now and then and even more so if others tell us we are not fit for doing it. So it is worth repeating. If you love coding, then code. 

You can do it!
Nevertheless, Angie Jones Coded
Tags: wecoded
Published: 2018-03-07 09:25:34

---
title: Nevertheless, Angie Jones Coded 
published: true
tags: shecoded
---

## Statistically, I'm a unicorn...

as Black women make up less than 1% of professional programmers. I entered my Freshman year of college not knowing a single computer programmer, or that it was even a career choice, and yet, miraculously, by my Senior year, I'd become an industry-certified Java programmer. I was born to code...but I don't want to be a unicorn. There are others just like me who need to be able to see themselves in this field, and hopefully they can do so through me.

This is why I choose to work out loud as a visible programmer. 
This is how I #PressForProgress. 
This is my way of letting the world know that Women Are Here.

{% youtube 2BtCmWgj51g %}
Write something about hardware and software you are using everyday
Tags: discuss
Published: 2018-03-07 08:46:44

---
title: Write something about hardware and software you are using everyday
published: true
description: 
tags: discuss
---

One of the blogs i am following has a topic where developers share with everybody what tools they use in everyday development. It is really fun to see what is daily setup of other developers. Fell free to post it here. :)
Apache Spark on Google Colaboratory
Tags: apache, colab, data, google
Published: 2023-04-29 21:12:58

---
title: Apache Spark on Google Colaboratory
published: true
date: 2018-03-07 07:43:10 UTC
tags: apache,colab,data,google
canonical_url: https://mikestaszel.com/2018/03/07/apache-spark-on-google-colaboratory/
---

Google recently launched a preview of [Colaboratory](https://colab.research.google.com), a new service that lets you edit and run IPython notebooks right from Google Drive – free! It’s similar to [Databricks](https://databricks.com/try-databricks) – give that a try if you’re looking for a better-supported way to run Spark in the cloud, launch clusters, and much more.

Google has published some tutorials showing how to use Tensorflow and various other Google APIs and tools on Colaboratory, but I wanted to try installing Apache Spark. It turned out to be much easier than I expected. [Download the notebook](https://drive.google.com/file/d/1mI1PnM7QDmXdMLQL79TrW1NA45gJ6I_L/view?usp=sharing) and import it into [Colaboratory](https://colab.research.google.com) or read on…

<!--more-->

Under the hood, there’s a full Ubuntu container running on Colaboratory and you’re given root access. This container seems to be recreated once the notebook is idle for a while (maybe a few hours). In any case, this means we can just install Java and Spark and run a local Spark session. Do that by running:

```
!apt-get install openjdk-8-jdk-headless -qq > /dev/null
!wget -q http://apache.osuosl.org/spark/spark-2.2.1/spark-2.2.1-bin-hadoop2.7.tgz
!tar xf spark-2.2.1-bin-hadoop2.7.tgz
!pip install -q findspark
```

Now that Spark is installed, we have to tell Colaboratory where to find it:

```
import os
os.environ["JAVA_HOME"] = "/usr/lib/jvm/java-8-openjdk-amd64"
os.environ["SPARK_HOME"] = "/content/spark-2.2.1-bin-hadoop2.7"
```

Finally (only three steps!), start Spark with:

```
import findspark
findspark.init()
from pyspark.sql import SparkSession
spark = SparkSession.builder.master("local[*]").getOrCreate()
```

That’s all there is to it – Spark is now running in local mode on a free cloud instance. It’s not very powerful, but it’s a really easy way to get familiar with Spark without installing it locally or setting up and maintaining an EC2 instance.

[Download the notebook](https://drive.google.com/file/d/1mI1PnM7QDmXdMLQL79TrW1NA45gJ6I_L/view?usp=sharing) and import it into Colaboratory to get started.

<!--kg-card-end: html-->
Nevertheless, Claire Pollard Coded
Tags: wecoded
Published: 2018-03-07 05:47:06

---
title: Nevertheless, Claire Pollard Coded 
published: true
tags: shecoded
---

## I continue to code because...

Coding enables me to solve problems at the intersection of all of my passions. I've used it to do my day job and solve [technical problems in engineering](https://arc.aiaa.org/doi/abs/10.2514/6.2018-1403), for running MTB events, hosting websites for myself and others, with my cross stitching, knitting and crafting... everything and anything!

Over the last 12 months I've become a lot more comfortable with my multi-hat approach to life and am happy to be thrashing about on a BMX track, completing my latest cross stitch and dabbling with a new language in the same day. This is mainly thanks to [Emilie Wapnick](https://twitter.com/emiliewapnick)'s wonderful book "How to be Everything" which has helped me immensely come to terms with not having "one true calling" in life, but multiple different things I love and can work hard at.

Coding is one tool I can use for good in multiple ways.

## I recently overcame...

The fear of having my career move in a direction I wasn't entirely comfortable with at the time. I initially thought moving away from coding and towards marketing would reduce my effectiveness when it came to programming and keeping up with what was happening with our product, but if anything, it's made me more excited when I return to coding that I'm more productive as a result.

## I want to brag about...

Giving up my spare time to help people, however small, in their  achieving their endeavors: either my fiancee with his company [PiBorg](https://www.piborg.org), as a BMX coach at [Royston Rockets](http://roystonrockets.co.uk/), as a [Guild Of Makers](http://www.guildofmakers.org/) #MakersHour host and lending my social media skills to help Peter Jukes cover the infamous [Phone Hacking Trial](http://www.pressgazette.co.uk/beyond-contempt-how-peter-jukes-invented-new-way-funding-court-reporting-and-found-himself/) in the UK (which lead to me being mentioned in a book and becoming 100% recluse at the launch when Hugh Grant turned up).

## My advice for allies to support women and non-binary folks who code is....

Shout about the amazing women, non-binary, fluid, trans, men or however they identify in your life. As the wonderful Tim Michin said in his [UWA Address](http://www.timminchin.com/2013/09/25/occasional-address/):

*"Be demonstrative and generous in your praise of those you admire."*

It makes them feel amazing about themselves and sometimes if things are tough for that person, one message can make the difference in turning things around and spur them on.

##My advice for other women and non-binary folks who code is...

Be bold. Try new things outside of your usual comfort zone. Expect to fail sometimes. Ask for help. Use your free time to help others where possible. All of these things will lead you to interesting and exciting new places.