teleren/devto huggingface dataset:
compiling SDL2_ttf on a raspberry pi
Published: 2020-03-06 21:48:49

---
title: compiling SDL2_ttf on a raspberry pi
published: true
description: 
tags: 
---

I was trying to get love2d to compile on a Raspberry pi 3+ and kept getting errors trying to build SDL2_ttf-2.0.14

Mainly it could not find freetype2

I did not want to mess up or change to much from what comes by default on the Raspberry Pi so ran this command to see what freetype I should use

```bash
dpkg -l | grep freetype
```

From that I came up with the correct version of freetype. In hindsight I am not sure that really mattered. Maybe as long as my version of SDL2_ttf will link it does not matter which freetype I use?

```bash
wget -c https://download.savannah.gnu.org/releases/freetype/freetype-2.9.1.tar.bz2
```

Then I did the normal configure, make, and make install dance as you would expect to build that.

That still did not seem to help my SDL ttf build. So I read the config.log file and found the build was really looking for a utility script named freetype-config. Armed with this knowledge I started looking on disk for that file and found it in the build directory. WOOOO!


```bash
/home/pi/code/freetype-2.9.1/builds/unix/freetype-config
```

At this point I put that directory on my PATH and could get further in the SDL ttf build.

All the other instructions I followed are here on this great page: https://choccyhobnob.com/sdl2-2-0-8-on-raspberry-pi/
Nevertheless, I Have Just Built My Very Own Hangman Game!
Tags: wecoded, react, javascript
Published: 2020-03-06 20:53:42

### Week #7 On My Bootcamp...
...and I'm making my very own hangman game from scratch with React.

The first time I learnt about React was on Wednesday. (Yes, two days ago.) Now I am spending my Friday night building a Hangman game. (My companion is a bottle of red wine.)
"Get a life!", some would say.
Well, I guess this is my life now and I'm loving it!

![Hangman game](https://dev-to-uploads.s3.amazonaws.com/i/okb97fpyh90xxut9t8bc.jpeg)

It's not pretty but that's alright. It works. And I made it.

__I wish all my fellow women readers__ (and let's not forget about gender minorities) __an International Women's Day as happy as I am today. :)__

If you want to read my _actual story_, [click here](https://dev.to/juditlehoczki/my-journey-into-software-development-3828).

P.s. Can you guess what the solution is?
Nevertheless, Lara Coded
Tags: wecoded
Published: 2020-03-06 21:46:36

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title & narrative! ✨ -->

## Equality in tech looks like

...everyone getting a chance to participate and be recognized for their contributions. It also means recognizing that not everyone starts off on equal footing and working to build a more inclusive environment. 

## I’m an expert at

...teaching people how to code, rapid prototyping / sandboxing, and designing fun, random, and sometimes useless stuff. <3

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

...to find these people in your life and professional sphere and support their products & endeavors. Encourage them and keep them sane. :)  

<!-- Once your post is published, it will not appear on the /t/shecoded page until an admin approves it. This is an extra step to ensure there is no abuse on this important tag. -->
Welcome to PopSchools
Tags: popschools, pophire, popcare, community
Published: 2020-03-06 21:29:47

## Refresh, Reset, Restore Your Tech Career

It's been a journey, but today I'm pleased to announce [PopSchools](https://popschools.com). I welcome you to join our community created to be a one-stop-shop for your needs as rising tech talent. We provide the space and structure for social support from peers and mentors, financial sponsorship, and access to paid work in your tech field.

It's worth mentioning that today's iteration of PopSchools is a major pivot from the PopSchools that I incorporated back in 2018. Today we are building the foundation for an inclusive and comprehensive platform and community. 

My goal as founder is to fill all of the gaps and break down barriers to enter and retain a tech career. I've bumped against these barriers myself and navigated the pitfalls. I believe all of us in this community deserve better and I'm ready to be a part of a solution.

I've identified three areas of focus to make tech hiring, career retention, and career switching more human-centered and respectful towards the talent that drives it.

#### 1. Community Support - https://PopSchools.co
[![PopSchools landing page](https://dev-to-uploads.s3.amazonaws.com/i/hgjndniux9evdh0a659s.gif)](https://popschools.co)

#### 2. Financial Sponsorship - https://PopCare.co
[![PopCare landing page](https://dev-to-uploads.s3.amazonaws.com/i/eh4d0ntwpc3f7t6r48pd.gif)](https://popcare.co)

#### 3. Access to Paying Work (including tech apprenticeships) - https://PopHire.co
[![PopHire landing page](https://dev-to-uploads.s3.amazonaws.com/i/qly2dc5qdn7oezvrqlfi.gif)](https://pophire.co)

Our goal is to create a diverse, inclusive, international community. We welcome and will serve members at all career-levels from early-career to technical founders.

I hope to see you on the inside.

https://popschools.co
Nevertheless, Tori Kept Interviewing
Tags: wecoded
Published: 2020-03-06 20:50:08

For anyone who doesn't know much about me, I am a career changer who attended and later coached at, [Flatiron School](https://flatironschool.com/). I graduated from their online self-paced software engineering program in February of 2019 and declared my official job search start date as March 26th. Now, here I am, March 6th 2020, almost exactly a year later, still without a job, and believe me, it hasn't been from a lack of trying. 

As someone who was a two-sport collegiate athlete and double major, *I am no stranger to working my butt off to accomplish what I want*. The grind I've been on to establish myself in the tech world has been no different.

Every single day I wake up and figure out what I plan on doing that day to make myself even just the tiniest bit better. Currently, I am working my way through a [Udemy](https://www.udemy.com/) course on technical interviewing so that I can work on bettering myself in that respect. 

Lately, a majority of my days are spent applying, prepping for interviews, and interviewing. It has been fun (and stressful) to be actively interviewing at 3 different companies at a time since January. At one point it was 5 companies at once which was very chaotic but I wouldn't change it for the world. Why? Well, because **I love coding and I love the continuous flow of learning and improving myself**. 

Keeping with this determination and drive to break into tech will, one day soon, help me land a software engineering position at a company that I love. Giving up is not part of my character, it is not in my genes. So, with that said, **nevertheless, I continue coding, interviewing, and learning**.

![Emmy Rossum saying "I want to do this, I'm ready to do this. I think I can do this."](https://media.giphy.com/media/3oz8xRdUokNRJ4qvF6/giphy.gif)
Nevertheless, my team mate Coded
Tags: wecoded
Published: 2020-03-06 20:35:37

## I'm lucky because I have a great team mate !

Despite an extremely stressful context and a solid imposter syndrome, she coded. She joined the team 1 year ago, and has made great progress although the project was tense.
She's started to express herself more and more, and she still sometimes encounters some setbacks.
I admire her for her perseverance and for the great mood she brings to the team.
Even though the management did not trust her, she has solved some extremely complex problems !

I'm trying my best to support her in tough situations, and we have great time pair programming. 

## My advice for allies to support self-identifying women and non-binary folks who code is ...
Try and be helpful. On tough problems, simply propose to give a hand, and be comprehensive when the person is feeling insecure.
Do not hesitate to compliment your team mates if you feel so, and ensure they have a healthy work atmosphere.
Nevertheless, Sandy Tran Coded
Tags: wecoded
Published: 2020-03-06 19:59:28

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title & narrative! ✨ -->

## Equality in tech looks like… 

When things get tough, we should be able to feel safe, supported, and heard by all of our peers regardless of experience, gender, sexuality, you name it! You are always enough.

## I’m an expert at…

Dogs.. and JavaScript with React, React Native, and Redux. 

Mostly dogs.. 

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

One of the first things you learn in coding is data types. My favorite is UNDEFINED or NULL. Why this is really important is because it reminds me everyday regardless of how people define me or what I have made mistakes of before, this does not define me. I am undefined. I define myself however I want to be defined. So if you ever feel small or someone puts you down, just remember... You are undefined. You can be anything you want 😎.

<!-- Once your post is published, it will not appear on the /t/shecoded page until an admin approves it. This is an extra step to ensure there is no abuse on this important tag. -->
Chat application
Tags: codepen
Published: 2020-03-06 19:46:13

<p>A UI for a chat application, pure css</p>
<p>Initially When I Started this project, I got frustrated, I thought I couldn't design my own WhatsApp like chat UI, I had to leave the project for a very long time, but in just 4 hours today, I was able to achieve great improvement. I would be converting it into a react chatgroup app on <a href='https://Whatsapp-Chat.ogheneovo12.repl.co'> https://Whatsapp-Chat.ogheneovo12.repl.co</a>. this is actually my first post on dev.

 <a> https://codepen.io/ukuanovwe-ogheneovo/pen/JqMRqy</a>
Nevertheless, Nana Coded
Tags: wecoded, motivation
Published: 2020-03-06 19:20:46

###Before coding... 🤷🏻‍♀️
I have a degree in marketing and never thought programming will be interesting for me and had a completely wrong image of IT.

###How it started... 🤓
But when I started learning Java, I got immediately fascinated by how much you can do and how you can turn your ideas into reality in today's digitalized world. 

###How it continued.... 😎
I continued coding and expanding my know-how in backend, frontend and devops technologies. So I became more and more confident and my job opportunities increased dramatically. 

###Why coding is awesome?... 🤩
So I went from marketing graduate begging for jobs to companies writing daily with new attractive job offers with flexibility, high pay and multiple other benefits. 

###You can do it too... 💪🏼 🙌🏼
Now 5 years into my work experience, I teach various technologies on my Youtube channel, while enjoying my flexible freelance programming job. 

###More women in tech... 🙎‍♀️ 👩🏻‍💻
***All it takes is simply motivation and commitment. I would love to see more women take the same path.*** 💙

-----------------

I'm happy to connect with you on 
- [Twitter](https://twitter.com/Njuchi_)
- [YouTube](https://www.youtube.com/channel/UCdngmbVKX1Tgre699-XLlUA?sub_confirmation=1)
- [Instagram](https://www.instagram.com/techworld_with_nana/)
The Official Rules Of Dev Mini-Hoop Basketball
Tags: productivity, culture, startup, watercooler
Published: 2020-03-06 19:17:18

One of the reasons I love the software development world is that there are rarely times when there is one clear “right” way to do things. This means there is lots of room for creativity. I love watching how our team combines technical prowess with creativity to elegantly solve problems. [If you’re managing a team of devs, remember that you’re really managing a team of (code) writers.](https://techpeopleleadership.com/youre-not-managing-team-software-engineers-youre-managing-team-writers/)

The downside is that it can (and frequently does) result in disagreements between devs. After coding, the next most important [skill devs need is communication.](https://thevaluable.dev/guide-debate-software-developer-skill/)

Debating ideas helps our team overcome most issues. Every now and then, something comes up that we can’t come to a consensus on. This is where we need to rely on our “Having Opposite Opinions & Picking Solutions”, or HOOPS system.

Check out our latest game here. As happens in most dev arguments, product management comes out on top 🙂

{% youtube Vr8QE_x1nQY %}
*Thanks to Noam Hofshi for his videography skills!*

In our case, HOOPS literally means hoops. Our office has an amazing mini-hoop (metal rim on a spring) and we use it regularly for team building and dispute resolution. Disagree on “Using rational DB to model the data of the new feature or use snapshots on DynamoDB?”, let’s take it to the court!

--------------------------------------------------------------------------
[Download the Official Rules of Dev Mini-Hoop Basketball](https://linearb.io/wp-content/uploads/2020/03/Official-Rules-of-Dev-Mini-Hoop-Basketball.pdf)
--------------------------------------------------------------------------

Now there are an infinite number of variations of [basketball games](https://en.wikipedia.org/wiki/Variations_of_basketball) (HORSE, Around the World, 21, etc.). To resolve conflict quickly or build comradery over lunch, we needed a game that wouldn’t drag out. So here are the official rules of dev mini-hoop basketball. 

1. Starting with player 1, then 2, 3, etc. each player takes a shot, from a spot they choose.
2. If the player directly before you makes a shot, you need to make your shot from exactly the same spot, if you miss you get a strike and the next player starts a new round from a new spot.
3. If you make the shot the next player needs to make the shot from the same spot. If they miss, they get a strike. 
4. Once a player reaches 3 strikes, they’re out. 
5. The game continues until there is a winner.

We usually wrap up our game in about 10 minutes if a whole team plays.

Whether its mini hoops or [rock-paper-scissors-lizard-Spock](https://www.youtube.com/watch?v=x5Q6-wMx-K8), every team needs a creative and fun way to bond and resolve conflict. 

//side note: [Just don’t resolve conflict the way hockey does it.](https://www.youtube.com/watch?v=rjLvY2Q4-_c)
Which licence do you use for your open source projects?
Tags: discuss, license, opensource
Published: 2020-03-06 19:05:54

(Image by [Annett Zobel](https://pixabay.com/users/annemazo-2183286/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=3314597) from [Pixabay](https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=3314597))

Recently, i made a quick [OK Http server](https://github.com/OverlordEx3/HttpServerMock) for feature i was developing in my work, and had to do a little research (just read the help that Github gives when creating a repo) about licenses.
And then it came to me: Which license do you use/prefer for your open source projects? Why?
I choosed MIT. They said that it's less restrictive, but i need to investigate even more hahaha
Reading Snippets [49 => HTML] 📝
Tags: html, codenewbie, todayilearned, beginners
Published: 2020-03-06 18:50:50

HTML is focused more on what things mean rather than how things look. It is the browser that really determines how things look, using instructions in CSS from the builder of the page.


<kbd><small><a href="https://flaviocopes.nyc3.digitaloceanspaces.com/html-handbook/html-handbook.pdf">Flavio Copes,The HTML Handbook</a></small></kbd>
What you don't know can't *help* you part 3; RequestedTheme
Tags: uwp, tip, xaml, ui
Published: 2020-03-06 18:48:35

### Dark is the new Light

As UWP developers, we are accustomed to our apps being displayed in both light and dark modes.

It still seems to be a *Wow! Look at this!* on other platforms, but we've been doing this for years.

The next level is enforcing a light or dark theme.  You can set it by using the **RequestedTheme** property.

The most common use I've seen of this in the has been setting whole pages at once to one theme or another using the Page xaml like this:

```csharp
<Page
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
    ...
    RequestedTheme="Dark">
```

This will set all controls within the Page XAML element to *Dark* theme.  Which is cool because it shows us that it is inherited from parent controls

```xaml
   <Page RequestedTheme="Dark">
       <TextBlock/> //Will be dark theme without us having to explicitly set it
       <Button/> //Will be dark theme without us having to explicitly set it
   </Page>
```

### But wait, there's more!

So, how is it that it can apply to all these different elements like that?

Well, RequestedTheme is part of the FrameworkElement; which in UWP/Xaml is a very powerful base class used in (almost) every visual element you use daily.

### Why is this important?

![So?](https://media.giphy.com/media/T0OUBIXo7nZiU/giphy.gif)

Well, now that we know this we start to understand that we can use it in many more powerful ways.

For example, want to make it dark in your whole app, regardless of whether the user's OS is in dark mode or not?  

Well, set it in App.xaml.cs!

```xaml
<Application
    x:Class="My.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    ...
    RequestedTheme="Dark">
```

Or, you can go the other way and set it at the individual element level, by applying it to single FrameworkElements:

```xaml
<Button
    Content="Press Me"
    TooltipService.Tooltip="I'm not saying the world will explode, but it might..."
    ...
    RequestedTheme="Dark"/>
```

...and any combnation of the above.


Namaste,
Rob.
I'm K, and I support women devs.
Tags: wecoded
Published: 2020-03-06 18:27:23

---
title: I'm K, and I support women devs.
published: true
tags: shecodedally
---

I don't know too much about this topic, but as a generic nerdy white dude, I feel obligated to post something anyway. At least just to increase the numbers at the end of this event.

## A problem with equality in tech I see daily…

Men start to question the skills of women far too quickly. Women get overrun online by haters when they put themselves out there and it is very important to get the name out.

## I will advocate for equality by…

Telling dudes to shut up if I think they talk crap and try to motivate women when they think they "can't do it".

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

If someone reveals their skills or opinions, you should ask yourself if you question them because of who discloses them. Hold back especially if some people already did question the statements because people can feel overwhelmed quickly.
01:16 AM at GMT+7 : python-outfit 
Tags: python, spring, outfit, pypi
Published: 2020-03-06 18:17:52

Last year I just tried to create python library that will add python a feature like spring cloud in spring framework (java).

Actually this features quite simple, I just want to have single configs that will help me to connect several configurations just like application.properties in spring cloud hehe.. especially integrating with consul, vault and logging config.

The condition at that time, my supervisor (java man) want python can be deployed just like java did until now. But the problem actually python is more simple that java with maven or spring, and the other 'but' is I realized that python doesn't have features like spring cloud.

So I just create python-outfit lib to support that kind of features, and for the first step, I just add consul, vault, and logging connector to python-outfit. Next, I need the healthcheck features, and maybe something like kafka config that can easily be integrating with python, just use python-outfit then our app can listen via kafka (still now clear what I mean for kafka hahaha)

Anyone that wants to access or try python-outfit can download the lib via pypi or contribute to the repository in [this link](https://github.com/situkangsayur/python-outfit)
2 Minute Projects
Tags: progrmming, hello, tutorial
Published: 2020-03-06 18:13:16

For some upcoming videos I'm putting out, I'm going to create a new playlist on youtube called "2 minutes in code" or something like that. Anyways, I have some fun ideas about what could be built in 2 minutes, but I'm looking for suggestions. I'm thinking of using as much scripting around the boilerplate of each 2 minute video, and build from there. An example would be building a web api in .net, just like the most basic parts. 

Another one I have planned out loosely is writing as many hello world programs in as many different languages as I can in 2 minutes. Any ideas on languages. I'm hitting the top 10 from stackoverflow, but I'm curious if there are others anyone would recommend. Im adding elixir to get another take a functional.

Any thoughts would be awesome! Thanks!!
Thanks to Other Women, Vicki Coded
Tags: wecoded
Published: 2020-03-06 18:06:50

## What I thought was equal
I have yet to work a job in tech. So far, the majority of my tech experience is Twitter-based. My twitter feed is full of amazingly supportive, helpful, and positive people of all genders. I was overjoyed to see my first conference, [All Things Open 2019](https://dev.to/vickilanger/i-m-gonna-be-open-w-you-what-i-learned-at-the-all-things-open-conference-3m8n), looked a lot like my diverse Twitter experience.

## May not be as equal as I thought
I have since been to a few meetups. That's when I realized that my [tech Twitter experience](https://dev.to/vickilanger/that-s-it-that-s-the-tweet-send-3e0h) may not exactly be the most accurate view of tech. The meetups I've been to were at least 90% masculine. This was part of the reason I didn't want to go to meetups. Who wants to be the only woman walking into a room full of men? 

## But there's a chance
The one meetup was organized by @ladyleet, so I knew I wouldn't be alone. But what a crazy concept that I should be thinking about anything other than whether or not the content of the meetup might be useful!

## There is room to improve
I'm not super sure what would be a surefire way to have more equality in tech. I do have some ideas:
 - invite womxn friends to attend/speak at meetups/conferences
 - introduce tech to children in fun ways, but don't force it
 - don't let womxn skip events due to childcare
 - make sure womxn see other womxn doing technical things
 - flexible work schedules (thank my spouse for this one)
![text message that reads: "Probably a flex schedule like we have here is a start. You know, since moms raise children and dads don’t have to"](https://dev-to-uploads.s3.amazonaws.com/i/v714f2tpb1ay86i9g63l.png)

Maybe don't ask my spouse, this was their 1st suggestion. 😫😬
![text from me that reads: "If you worked in an industry with, not enough women, how would you make the industry more inviting/welcoming/attractive for women?" and a response from my spouse that says: "Fire all the men"](https://dev-to-uploads.s3.amazonaws.com/i/mm3cc59bg1tytpqs8bmp.png)


---
Thanks to @pachicodes for the title that I blatantly stole and made my own.

Thanks to @thecodepixi for creating the Women in Tech list that made my Twitter so awesomely diverse.
([Here's the list!](https://twitter.com/i/lists/1135593356891971584))