teleren/devto huggingface dataset:
Nevertheless, A Single Mother Coded
Tags: wecoded
Published: 2018-03-07 04:54:50


---
title: Nevertheless, A Single Mother Coded 
published: true
tags: shecoded
---
 ![In the beginning](https://thepracticaldev.s3.amazonaws.com/i/uvofickdpsiiweiyk85a.jpeg)

I chose this picture for my post because this is how I started. Thanks to my father I was involved in tech very early. I built my very first PC in 1993 when I was 16 years old. My dad said “You can have a computer but you have to build it.” So I did...once finished he put me to work on the other 119 he had out in the garage for a client.

I married early, divorced not much later than that and found myself alone with two little ones in tow. At the time I was earning a degree in creative writing and photography, but it became apparent that a Liberal Arts degree was not going to be enough to provide for my babies and I. So with three jobs and two children I switched my degree to Information Technology hoping to put to work the skills my father had given me so many years before.

My first job offer was with EDS and the conversation went something like this “Do you have the aptitude to be a developer?” And me with 3 coding courses under my belt and no other prospects answered “why, yes I do!”. 

In 2008 I was hired right out of college and moved my little family 200 Miles away from everyone I knew to start a job that scared me more than I’d ever let on. However, I was very lucky and EDS started my career with a 6 week coding boot camp that made up for the knowledge I lacked being IT and not CS. EDS was acquisitioned by Hewlett-Packard and I found myself developing for HP only a year later. I learned everything I could, but it was my peers who really set me on my path to success. I made invaluable alliances those first four years that set the tone for my entire career. I will always remember the faces of those who showed kindness and let me into their world. 

10 years later I am now a Software Engineering Manager, and I am an unwavering advocate for the unlikely candidate everywhere. Being a single mother in development was not an easy path by any means, but it’s a path I’d still take today. My advice to anyone starting out in development would be to surround yourself with people you admire and sometimes the only difference between success and failure is simply never giving up.
syg: simply signal to callback mapping in Go
Tags: go
Published: 2018-03-07 04:24:11

---
title: "syg: simply signal to callback mapping in Go"
published: true
description: listen signals in Go has a little complexity. now you can use `syg` package.
tags: go
---

When you want to catch system signals in Go, you can use `os` package, `os/signal` package, and `syscall` package.

Here's an example of catching a system signal then shutdown the HTTP server gracefully:

``` go
func main() {
    sigCh := make(chan os.Signal, 1)
    signal.Notify(sigCh, syscall.SIGINT)

    s := &http.Server{
        // configure server properties
    }

    go func() {
        <-sigCh
        s.Shutdown(context.Background())
    }()

    if err := s.ListenAndServe(); err != http.ErrServerClosed {
        // error handling
    }
}
```

Yes, this is a very simple pattern.
If server downed with some error before signal is sent, the goroutine which listening the signal will leak.
So, we use `context` and for-select loop.

``` go
func main() {
    sigCh := make(chan os.Signal, 1)
    signal.Notify(sigCh, syscall.SIGINT)

    s := &http.Server{
        // configure server properties
    }
    ctx, cancel := context.WithCancel(context.Background())
    defer cancel()

    go func() {
        for {
            select {
                case <-sigCh:
                    s.Shutdown(context.Background())
                case <-ctx.Done():
                    return
            }
        }
    }()

    if err := s.ListenAndServe(); err != http.ErrServerClosed {
        // error handling
    }
}
```

Hmmm.... This is also a very simple pattern, there's no error handling code, no server configure, or no flag parsing.
However, the code is so complex. I cannot remember this signal catch idiom.

So I created [`github.com/nasa9084/syg`](https://github.com/nasa9084/syg) package for listen signals and call a callback function.

## github.com/nasa9084/syg

Rethink the example code.
I rewrite the example code with `syg` package:

``` go
func main() {
    s := &http.Server{
        // configure server properties
    }

    cancel := syg.Listen(func(os.Signal) {
        s.Shutdown(context.Background())
    }, syscall.SIGINT)
    defer cancel()

    if err := s.ListenAndServe(); err != http.ErrServerClosed {
        // error handling
    }
}
```

Wow, very shortened.

The `syg` package has only two function, `Listen()` and `ListenContext()`.
As you thought, these are essentially same function.
`ListenContext()` takes `context.Context`, but `Listen()` is not.
`Listen()` calls `context.Background()` inside the function, and calls `ListenContext()` with that context.

These functions calls `signal.Notify()` and generates goroutine which waits the signal, and returns the cancel function.

`syg` package is very small package, but it is very useful.
Please use this package and make issues or PR if you find problems or enhancements!
Nevertheless, Sadukie Codes
Tags: wecoded
Published: 2018-03-07 04:13:56

---
title: Nevertheless, Sadukie Codes
published: true
tags: shecoded
---

From my recollection, I was introduced to coding in 8th grade and really took to it well.  My uncle remembers having me sit in his lap and watch him code when I was 2, so that may have helped too.  But I never thought I would be doing this for living.  I grew up in a family that could barely afford a computer.  **Despite being in a financial disadvantage, I ended up coding.**

In high school, we had a computer programming course that I took in my junior year.  My best friend and I were the only girls in the class, and that didn't slow us down.  In fact, we were more bored in that class because we knew what we were doing. **Even though I was a Windows girl stuck in a Mac lab, I continued to code.**

In high school, I met a guy who saw my potential as a programmer.  We were on the high school's website team together.  He suggested I learn HTML, and I had no idea how he knew I could program but trusted his recommendation.  Because of him, I fell in love... both with HTML and with him.  **The loves of my life really blossomed at the end of high school, long ago.  They continue today.  I'm married to this amazing guy, who continues to see my potential even over 20 years later.**

Between high school and college, I had internships that saw me for the ambitious, curious coder that I was.  I met people in the field who wanted to see me successful and introduced me to people and showed me technologies. **Having great mentors and having senior devs who appreciated junior devs really encouraged me to keep going this route.**

When I worked in IT roles, I still coded for fun.  Visual Basic, SQL, C#, HTML, JavaScript, CSS, Perl, Python, Ruby, PHP, and nowadays R... many languages that I've played with on the side, even if it wasn't in a professional role.  And when I hit that wall in my IT role, feeling like I hit a brick wall in progressing in my career, my husband encouraged me to find a dev role, to go where I was happy.  **My zen is in coding.**

Nowadays, I'm more teaching others about programming - whether it's bringing newcomers in for 2nd/3rd/4th careers or helping existing programmers learn a new language, I am all about teaching how to apply various languages to others.  And when I'm tired of looking at my curriculum, know what I do?  I'm going through courses online for Python and R and data science. Why?  **Because... Sadukie codes.**

While there may be skeptics and naysayers... while there may be people who want to say "good luck with that" and don't offer help... I don't let them slow me down.  I fall into this wonderful zone when I am writing code. **If you're happy coding, reach out to the community as there are others here like you who are having fun in this realm.  Don't let negativity slow you down.  Follow your curiosity!**
Nevertheless, ladyleet Coded
Tags: wecoded
Published: 2018-03-07 03:26:31

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

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

I continued to code because one of my ex-boyfriends told me that JavaScript was "his community" and I thought to myself GET A LIFE AND WATCH ME QUEEN.

## I recently overcame...

Actually I'll probably never overcome the desire to keep learning.

## I want to brag about...

The fact that I am building an amazing team full of women and am building my life around empowering women in tech!

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

Listen, ask for what you can do, and hire more women to support them.
Nevertheless, Perla Villarreal Coded
Tags: wecoded
Published: 2018-03-07 02:54:36

---
title: Nevertheless, Perla Villarreal Coded 
published: true
tags: shecoded
---

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

I am fascinated by the potential of software and the human mind; because I want it to be clear that my gender, my race, my heritage, my age, my experience, my opinions, my ideas belong in this industry.

### I'm excited about...

Data Engineering, Product Thinking, Diversity & Inclusion, Photography and Yoga 

### I want to show off...

ThoughtWorks, a company who has trusted my potential, given me the opportunity to explore my strengths (and weaknesses), but most importantly has provided an open dialogue around topics like diversity & inclusion, the people aspect of software, opinionated paradigms and thought processes.
Nevertheless, Cecilia Coded
Tags: wecoded
Published: 2018-03-07 00:34:18

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

## I began to code because...

I decided I wanted to be an engineer when I was 12, it was one sunny day in my middle school when we got the visit of different colleges to introduce what every career was for. I met doctors, architects, lawyers, uff, a huge bunch of people, but when I heard the computer engineer, the light turned on, I couldn't believe how powerful that ugly artifact could be, I was fascinated with all the possibilities this career could give, working anywhere, for all the industries, solving all kinds of conflicts!.

My parents were really surprised when I came back from school saying "I want to be an engineer!", I know deep down their hearts they would have loved that I decide to be dressmaker as my mom or Designer as my dad, but they did never complaint, my parents always supported me.

## I overcame...

But, when I was 18, just in the middle of the college (forgot to mention I was admitted in college when I was 15) I got pregnant. Everybody around me said they would support me if I decided to have an abortion, and I wasn't really worried. Actually, I was super positive, like "you know, I'm ok, I'll be ok"...and I did.

## I want to brag about...

When I turned 21, I was taking care of my son, studying (I never stopped even when my horrible professors said "you should give up, it's worthless") and had worked for around 15 months in my first full-time job when I got my first promotion, Head of computer department for an educational institution here in México. I hadn't even finished college when I was being considered to be manager of a whole department. I felt unstoppable.

Now, I'm coding for a social cause, working with a lovely team filled with talented people. I've been in all kinds of industries: government, advertising, banking, etc. But I feel my code is more important than ever, and it doesn't matter if there's some people in my team that I might never meet (we live around the globe). I respect, appreciate and love everyone of them.

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

It doesn't matter where you are, how old or how much education you have. If you really want it, go for it. Your success it's only in your hands, don't let it fall apart.

Today more than ever, I look back to all the nights I couldn't sleep, all those days when I felt exhausted, all the obstacles I found and I feel proud for being an absurdly positive woman
Nevertheless, Inmaculada Diaz Coded
Tags: wecoded
Published: 2018-03-06 22:28:52

---
title: Nevertheless, Inmaculada Diaz Coded 
published: true
tags: shecoded
---

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

It's awesome, my job and my passion.

## I recently overcame...

Alot of new JS frameworks...

## I want to brag about...

I´m a ninja frontend!

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

Congratulations to all men and women who code!
Because You Are a Woman
Tags: wecoded
Published: 2018-03-06 03:45:32

---
title: Because You Are a Woman
published: true
tags: shecoded
---

### "[...], that is why you got that job."

He told me that I got my job as a software engineering intern because I am a woman, and that my classmate (who attended the same bootcamp as me) got his job because he is smart. I got very angry. Not because he was so illogical and bigoted, but because it's not true. And I bet, it isn't true for any woman reading this. 

### "Él ya no se puede cuidar solo [He can no longer take care of himself]" 

I code because I am someone's daughter. Because my father is succumbing to dementia and has no assets or little external aid. Because as I succeed, as I struggle, his struggles will be diminished. His sacrifices to us will be, not repaid, but honored. 

### "There is curiosity that you can't fake" 

I code because I am a student. I love to learn and explore and awaken to new ways of seeing the world and the problems in it. 

### "We are happy to have you! Thanks for returning to aid our Tech Divas"

I code because I am a helper. I like to share what I learn with others, bring them up and encourage them. Like my mentor, Vanessa, said to me, "Never close the door behind you." 

### "proud of you! always good to build a thing to know how it works (=" 

I code because I am loved. Each and every friend who encouraged me, each and every mentor who empowered me, helped me be a woman who nevertheless, she codes. 

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

to never let your struggles define you. You are not the woman who weeps, the woman who hurts or hungers, they who are in pain... You are powerful because of those struggles, you are transformed and unbeatable.   

[And some advice for those getting started](https://medium.com/@melisaevelynim/dear-aspiring-engineers-ba63d2f048c5)
More Help with Markdown?
Tags: github, documentation, rubygems
Published: 2018-03-06 22:05:10

---
title: More Help with Markdown?
published: true
description: Markdown helper gem futures
tags: github, documentation, ruby gems
---

The <a href="https://rubygems.org/gems/markdown_helper">markdown_helper gem</a> I've put up does (so far) one thing:

<ul>
<li>Supports file inclusion.
</ul>

I have in mind two additional features:

<ul>
<li>Support for relative links for images (see below for why this matters).
<li>Support slideshow-style markdown pages (pages linked by next/prev navigation links).
</ul>

<b>Query:  What else would be useful?</b>

About relative links for images:  they work fine in GitHub markdown, but when the project is formed into a gem, the links are broken in the gem's documentation.  That's because on RubyDoc.info, <a href="https://rubydoc.tenderapp.com/kb/frequently-asked-questions/broken-links-404-to-markdown-or-text-documents#why-are-links-broken-">YARD has rearranged</a> some files and folders.

The workaround is to substitute absolute links to the files in <code>raw.githubusercontent.com</code>.  This would be very inconvenient, not to say tedious and possibly error-prone.

What I want to add to the helper is a method that replaces the relative links with absolute ones automatically.  That way, we have the convenience of relative links on GitHub, and correct (absolute) links on RubyDoc.
Nevertheless, Lara Martín 👩‍💻 Continued Coding! 💚
Tags: wecoded
Published: 2018-03-06 20:38:36

---
title: Nevertheless, Lara Martín 👩‍💻 Continued Coding! 💚
published: true
tags: shecoded
---

A year ago I wrote my first blog post ever. It was for International Women's Day celebration in Dev.to ["Nevertheless, She Coded"](https://dev.to/lariki/nevertheless-lara-martn--coded). 

At that time I was working full-time as QA tester and learning Android development in my free time. Since then I got the Google Associate Android Developer certification, finished the Udacity Android Developer Nanodegree, switched to do professional Android development at work and even switched companies. 

## I continue to code because...

It has a mix of all things I like: creativity, analytical thinking, technology, interaction with people, learning and daily challenges. Keeping up with the tech community is more fun than what I expected. I attend monthly meetups, I go to conferences and most importantly I've made very good friends.

## I recently overcame...

The fear of applying to a new company for a Junior Android Developer position. By the time I got into the interview process in a new company, I only had 3 months of professional experience in Android development. I was scared of not knowing enough for the open junior position, of the technical questions, of saying I didn't know something.

I even feared to present myself to people as an Android developer. I used to say "I'm a Junior Android Developer, but I started 1 month ago 😰". There was always a "but...".

I'll be honest with you. I'm glad I pushed myself to apply and had that interview, because I got the job!!! Now I proudly say out loud that I'm a Junior Android Engineer!!! 😎

## I want to brag about...

All the effort I put on learning in my free time while having a full-time job. I worked full time as a tester, and on my evenings and weekends I kept learning. It really paid off.

It wasn't an easy journey finding the energy to finish all the projects as the content was getting more and more difficult.

When I decided to switch jobs, I wanted to give my best so I put an extra effort on the coding challenge and on the interview. 

I keep working hard. I try to learn from everyone, I read every pull-request that my colleagues open and when I don't know something, I ask. 

I know that this is just the beginning of the journey. But I'll keep working hard, learning and improving to help creating apps that people love.

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

Having a happy work environment is important for everyone but specially for all underrepresented folks. Details like praising the good job and celebrating every success, to important things like having good follow-up meetings and one-on-one with your managers also help us.

It's important that everyone has a voice, and that the company work on having an inclusive environment where everyone is listened to.

My advice for you is to make sure that everyone has their voice listened on a friendly environment 💖
Nevertheless, Whitney Coded
Tags: wecoded
Published: 2018-03-06 20:18:23

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

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

I started to code because I wanted to be an asset to my team and I wanted to increase my value as I start my career. I have continued to learn how to code because I can see the potential that tech has to effectively change how we educate future generations and how we could improve the quality of life of every human.

## I recently overcame...

In college, I was intimidated by the idea of programming. I didn't feel as if I had the ability to learn about computers or software. Two years after graduating and I have finally felt confident enough to learn Python as my first programming language. I overcame the fear I felt whenever I would try to write a simple function and it would fail or have an Error. I have become a warrior, and I don't plan on letting my negative experience stop me from making mistakes, I plan to learn from them.

## I want to brag about...

Recently, I've started working on a cool concept that focuses on improving financial literacy for teens through an engaging game. It's a big project that grows every day and I'd like to brag about the fact that I'm spearheading it alone (with the awesome support of an ally!) from creation to its hopeful completion.

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

For any allies, it's important to show genuine interest in the projects that folks take up without hijacking the work. Don't offer unsolicited advice, just listen! If someone asks for help take it as a compliment that someone believes you can provide the answer they need, not as a sign of weakness or a lack of capability on their part that you have to make up for.
Designer Dresses On Rent
Published: 2018-02-02 05:12:16

---
title: Designer Dresses On Rent
published: True
description: 
tags: 
---

Web based dress rental market measure is evaluated to reach $1,856 million by 2023, developing at a CAGR of 10.6% from 2017 to 2023.The rental market attempts to address attire needs of the buyers who can't manage the cost of or don't have any desire to burn through cash on the garments to be worn for maybe a couple events, making it more reasonable. Web based garments rental entrances offer an extensive variety of garments, which can be portrayed in light of size, shading, kind of outfits, brands, and costs. 

The worldwide web basedportal for designer <a href="http://pinkpeacock.co.in/">
 dresses on rent </a>
Try it Yourself »
 is fragmented in light of end-clients, attire styles, and topography. In light of end-clients, it is characterized into ladies, men, and children. For apparel styles, it is sorted into ethnic, western, and others. Geologically, it is examined into, North America (U.S., Canada, and Mexico), Europe (UK, Germany, France, and Rest of Europe), Asia-Pacific (India, China, Japan, and Rest of Asia-Pacific), and LAMEA (Latin America, Middle East, and Africa). Concerning the market rivalry, web based leasing and re-trade organizations are growing the pre-possessed item showcase with spearheading answers for take into account distinctive sections.
Beyond React 16: Time Slicing and Suspense API
Tags: react, javascript, webdev
Published: 2018-03-06 17:46:53

---
title: "Beyond React 16: Time Slicing and Suspense API"
published: true
description: Get a sneak peek of the powerful features that will grace ReactJS soon
tags: #reactjs #javascript #webdev #react 
canonical_url: https://auth0.com/blog/time-slice-suspense-react16/
---

Time Slicing, Suspense and the Fetcher API are new features and concepts that will land soonest in stable releases of ReactJS. 

[Learn how they work ⚛️](https://auth0.com/blog/time-slice-suspense-react16/?utm_source=dev&utm_medium=sc&utm_campaign=react16_new_features)

![Beyond React 16: Time Slicing and Suspense API](https://thepracticaldev.s3.amazonaws.com/i/f050tx3afoizuq7jg1sx.png)
Stacks and Queues — BaseCS Video Series
Tags: computerscience, basecs
Published: 2018-03-06 17:35:38

---
title: Stacks and Queues — BaseCS Video Series
published: true
description: Stacks and queues are all around us. In this video we break down what they are, how they work, and their place in every day software development.
tags: computerscience, basecs
series: BaseCS Video
---

## "Stack level too deep!"

Stacks and queues are all around us. In this video we break down what they are, how they work, and their place in every day software development.

For more on Stacks and queues, check out this post:

{% link https://dev.to/vaidehijoshi/to-queue-or-not-to-queue %}

If you have questions or comments, please feel free to share below.

[![SparkPost Logo](https://thepracticaldev.s3.amazonaws.com/i/sfhzy812ptg9c3jjifio.png)](https://sparkpost.com/)

### This video series is sponsored by [SparkPost](https://www.sparkpost.com/). There's never been a better way for developers to send email.