teleren/devto huggingface dataset:
Send Text Messages from Python!
Tags: python, twilio, sms, textmessage
Published: 2017-09-10 02:10:50

---
title: Send Text Messages from Python!
published: true
description: Learn how to use Twilio to send a text message from Python
tags: Python, Twilio, SMS, Text message
---

![Twilio Homepage](https://thepracticaldev.s3.amazonaws.com/i/3tsely1znv7u92l01647.png)

Recently I've been focusing on how to do useful things with my programming knowledge.  Python integrates so well with many different services, and therefore has been my language of choice on this quest.  In this post I'm sharing an awesome service I found that lets you send text messages from your Python application for free - no credit card required!  There is a catch though, this is just a trial account, so you will eventually run out of trial credits <insert sad face here>.  But hey, Twilio is pretty generous with the amount of free credits you receive, so let's get to writing our application!

Checkout the video below.  If you would like to learn how to make more awesome applications in Python, checkout the Programming Liftoff website here http://programmingliftoff.com/.

- Andrew @ Programming Liftoff

<iframe width="560" height="315" src="https://www.youtube.com/embed/hV-gy0qyET8" frameborder="0" allowfullscreen></iframe>
Handling your personal data online.
Tags: discuss, personaldata, career, privacy
Published: 2017-09-10 01:01:01

---
title: Handling your personal data online.
published: true
description: How are you dealing with your online identity?
tags: discuss, personal data, career, privacy
---

How are you dealing with your online identity?
I tend to keep my private life and my online persona somewhat separated.
This includes but is not limited to:

- keeping my real name offline
- not posting pictures of me online

How do you handle that?
Have you encountered any problems regarding that?
Do you have any recommendations?
I'm an ops person. Ask me anything!
Tags: ama, ops, programming, sysadmin
Published: 2017-09-10 00:55:59

---
title: I'm an ops person. Ask me anything!
published: true
description: Writing Shell and fixing distributed GNU/Linux setups at work and doing Haskell, Rust, C, networking and OpenBSD and such at home.
tags: ama, ops, programming, sysadmin
---

I'm an ops person a year into business, ask me anything.
Ask me technical questions, ask me to design a theoretical system, ask me things about my career.…

This will be my permanent AMA for anything that's technical.
Keeping Track of your Skills
Tags: discuss, skills, career
Published: 2017-09-10 00:47:36

---
title: Keeping Track of your Skills
published: true
description: How do you keep track of the skills you acquired?
tags: discuss, skills, career
---

Hi, I'm an ops person.
I've been a developer.
Done distributed systems and System Engineering.
I did things with Haskell, Rust, C, Perl, Shell (lots of shell), GNU/Linux, {Free,Open}BSD, TLS, x509 and whatnot.

It's been some time since I started and sometimes I lose track of what I – hey, there's Python, JS, HTML/CSS missing in that list above – actually learned over the years.
There's still moments when I notice that I actually know what a `TIME_WAIT` on Linux is and why it's there and also what the difference between an abstract class and an interface is in Java.

So now my final question: **Do you, if yes, how do you keep track of all that?**

Note: I know that there are certain advantages to not keeping track (e.g. not accidentally claiming to know tech when your knowledge is hopelessly out of date).
Testing your Jekyll Website with HTMLProofer
Tags: ruby, jekyll, testing
Published: 2017-10-19 13:59:26

---
title: "Testing your Jekyll Website with HTMLProofer"
published: true
tags: ruby, jekyll, testing
canonical_url: 
---

While I was adding [Capybara tests](http://phansch.net/2017/03/13/testing-jekyll-websites/) for my Jekyll Website, I also stumbled upon [HTMLProofer](https://github.com/gjtorikian/html-proofer).

HTMLProofer allows to test your HTML output. It can check alt tags of images, if links are working and a few more things.

I decided to give it a try on my website. Initially I was surprised at the amount of output and decided that it was too much to fix all at once. So first, I only had it check for broken links. It found about 30 of 200 outgoing links that were not working.

Most of them were part of of my Hackership series where I sometimes linked to local startups that apparently didn’t make it until today. Unfortunately [Link Rot](https://en.wikipedia.org/wiki/Link_rot) is a thing.

Before I dealt with all the broken links, I started to integrate HTMLProofer into the test suite by adding a custom Rake task:

```
task :html_proofer do
  build_dir = File.join(File.dirname( __FILE__ ), '_site')
  unless File.directory?('test/_site')
    `jekyll build -d #{build_dir} -V`
  end
  opts = {
    url_ignore: [/localhost/],
    empty_alt_ignore: true,
    file_ignore: [/slides/],
    typhoeus: {
      ssl_verifyhost: 0,
      ssl_verifypeer: false,
      timeout: 30
    }
  }
  HTMLProofer.check_directory(build_dir, opts).run
end
```

Using `rake html_proofer` it builds the site and runs HTMLProofer with the given options on the Jekyll output. You can check the Travis CI integration in [script/ci.rb](https://github.com/phansch/phansch.github.com/blob/master/script/ci.rb) and [.travis.yml](https://github.com/phansch/phansch.github.com/blob/master/.travis.yml).

If you run into SSL issues with HTMLProofer, you may have to [install](https://github.com/typhoeus/typhoeus/issues/568) `libcurl4-openssl-dev` on Travis.

The last thing I did, was to fix the links, as it was the least compelling part of the task. There are many reasons why a link may be broken and almost each cause can be handled differently.

- A missing article may be caused by a new URL structure and forgotten redirects, so I looked around on these sites and tried to find the correct link if possible.

- Broken domains are a lost cause most of the times, although some startups had renamed themselves or were bought up, so using the new domain makes sense there.

- Domains may be unreachable only temporarily, so I don’t want to remove the link and instead whitelist it.

This all took some time, but it paid off and now I can be certain that there’s no broken links in any of the HTML on this website.

As mentioned in the beginning, HTMLProofer has a couple of more nice features, but I didn’t get around to trying them, yet. In the next post I will probably have a look at the other features.
How Our Obsession With the Future is Destroying the Web w/ Maciej Ceglowski 
Tags: techtalks
Published: 2017-09-09 04:58:29

---

title: "How Our Obsession With the Future is Destroying the Web w/ Maciej Ceglowski "
published: true
description: "Making lasting work in an industry obsessed with novelty." 
cover_image: https://thepracticaldev.s3.amazonaws.com/i/gp2rotdkszj1h2e2p6qt.png
tags: #techtalks
---


{% youtube nwhZ3KEqUlw %}


Maciej contrasts web developers to our game developer siblings, that often have 5 years between consoles. He cites this, as why you can track massive improvements throughout the years as they familiarize themselves with and master the current technology set. Maciej argues, that today web designers and developers aren't given any time to get used to the current set of devices and capabilities, before we’re already being sent to work on the next set, so what is passed off as web technology improvement is just bloat.

Maciej's slide (shown in this article's cover image), shows the old technology stack the internet is built on as an example of how things fossilize in technology when they are useful. 

The talk's concluding questions and statements rocked me:
1. So why should the web be an exception?
2. Why does the web have to change completely?
3. Why can’t we build on top of it, like we built on top of email? Find better ways to improve it's design and management, but acknowledge that the idea is still solid and sound.

### Let’s Discuss

What are we personally building the web for (to connect the world, eat the world, or end the world)? Also what would the internet look like/how would we change our development practices, if we treated it as a medium that was meant to last?
New to dev.to, how it works so fast
Published: 2017-09-09 02:59:20

---
title: New to dev.to, how it works so fast
published: true
description: 
tags: 
---

[dev.to](dev.to) is so fast for me, I'm wondering how it works so fast, after I registered and write a post, I know some of it.

The posts are written in `Markdown` and generated to a static file, just like some static-blog-generator, they have same syntax: some mate info at the beginning of post.

But I love that, hope someday I could export all my posts and build a personal blog.
Is Entity Framework Core 2.0 Faster?
Tags: netcore, aspnetcore, efcore20
Published: 2017-09-08 14:31:24

---
title: Is Entity Framework Core 2.0 Faster?
published: true
description: With .Net Core 2.0 released, I resolved to measure the performance of Entity Framework Core 2.0 against the Dapper
tags: .Net Core, ASP.NET Core, EFCore 2.0
---

.NET Core 2.0 is in production now with many things improved in relation to the .NET Core 1.X. One such improved thing is Entity Framework Core. Thinking about that, I resolve to make a benchmark to see its performance.

Those who do not know the Dapper, I recommend seeing this project. It is a little ORM, It does not do all that the Entity Framework and NHibernate do, but its query is very fast. In the last years is common to see a project with an ORM and the Dapper to optimize the query.

Coming back to benchmark, I did something silly, I created the product and category entities, being that a product has a category.

An observation, I am not a specialist in benchmark or measure code performance, but I liked this package to see the performance. And that is why I am using a package called benchmarkdotnet 

The idea is simple, comparing the insertion, query and query with filter. Of course, that that I make comparing Entity Framework Core 2.0 with Dapper.

Below you see the finish result.

<img src="http://stephanybatista.com/wp-content/uploads/2017/08/benchmark.jpg"/>

The explication of each method,

* EfInsert e DapperInsert: EfInsert is used by EF and DapperInsert is used by Dapper. The methods insert the data.
* EfSelect e DapperSelect: EfSelect is used by EF and DapperSelect is used by Dapper. The methods query in the database all entities.
* EfSeletWithFilter and DapperSelectWithFilter: EfSelectWithFilter is uded by EF and DapperSelectWithFilter is used by Dapper. The methods query in the database all products where the category name is “Games”.

Note that in all demonstration the Entity Framework Core 2.0 won. This is good, show that the Microsoft team is really fulfilling with what said about bringing a .Net Core with high performance.

Whose that still has doubt in relation to use or not the Entity Framework Core 2.0, I believe that now it is a strong option, starting by performance. I created a course that approaching the Entity Framework Core 2.0, following the  <a href="https://www.udemy.com/aspnet-core-20-learn-concepts-and-creating-an-web-app">link</a>.

If you would like to analyze my benchmark and give me feedback, following the <a href="https://github.com/StephanyBatista/benchmarkef">link</a>.

Ok Guys, I hope to help you and good week.
How to prioritize your bug fixes
Tags: testing, codequality, bugs
Published: 2017-09-08 09:46:35

---
title: How to prioritize your bug fixes
published: true
description: 
tags: testing, quality, bugs
---


Any bug is a headache. 

On the one hand, bug fixing is expensive in terms of both time and money. It takes resources and time that could be allocated to new feature development, pushing your project back. 

On the other hand, not fixing bugs is risky for the development process, business and even for end-users’ lives in some cases. It creates obstacles and technical debt. It makes users unhappy and leads to costly outcomes in fulfilling the business need. 

So what is the proper solution? The trick is in fixing the right stuff. You should balance between bug fixing and implementing new requirements by [prioritizing your bug fixes](https://binary-studio.com/2017/09/07/prioritize-bug-fixes/) properly.
Priority tasks for rendering, signal based deferral, event scheduler
Tags: javascript, question, devdiscuss, discuss
Published: 2017-09-08 07:49:49

---
title: Priority tasks for rendering, signal based deferral, event scheduler
published: true
description: Question about how to deal with prioritised events and delay rendering
tags: javascript, question, devdiscuss, discuss
---
Hi all!

This entry is more like a question than a classical post.
Time-to-time, when I attend or watch a presentation about a big frontend project, the presenter mentions some event scheduling, [signal based deferral](https://youtu.be/tNulrEbTQf8?t=14m24s) or splitting rendering based on priority tasks and render parts of the UI only if the higher priority parts are already rendered. But to be honest, I was not able to find any detailed resource how and what is the best way to integrate this on a Vue / React / Polymer / Angular / whatever based UI.
Is there any existing lib for this? Is there any blog post / training / video about how to integrate it?
I spent 30 years coding full-time, then I switched to full-time management and leadership. Ask me anything.
Tags: ama, career
Published: 2017-09-08 01:58:20

---
title: I spent 30 years coding full-time, then I switched to full-time management and leadership. Ask me anything.
published: true
description: I have been in leadership positions, in different capacities, since the early 2000s, and in full-time executive roles for the last three years.
tags: ama, career
cover_image: https://thepracticaldev.s3.amazonaws.com/i/vdcqlw9q1gqn94h5jzv6.jpg
---

My name is [Lorenzo Pasqualis](https://www.linkedin.com/in/lpasqualis/). I started writing software in 1984. Over the years I used many languages, technologies, and tools. I have been in technical leadership positions since the early 2000s, and in full-time executive roles since the beginning of 2014.

Today I spend most of my time focused on the art of architecting scalable systems, organizing engineering efforts, hiring and training talent, managing people, leading engineering teams, and helping designing solutions in the EdTech industry. I am very close to the technology as an architect, but my principal concern is people. I am an active advocate for Women in Tech, a believer in servant leadership, and a lifetime learner.

I still code; mostly personal projects or to help my teams. Coding is a passion that will never die, and staying close to the technology makes me a better leader of technologists.

I am the author of a blog, [CoderHood](http://www.coderhood.com), dedicated to the human dimension of software engineering. In other words, it's about people and their life in the software industry.

I have been x-posting some of my articles here on dev.to. Dev.to is an amazing community that I like to support in whatever way I can ( [Ben](https://dev.to/ben) and [Jess](https://dev.to/jess), you rock! Well done! ). If you have any questions that you think I can answer, ask away. I will respond as best as I can, and I might write a blog post to expand on the topic. 

Ask me anything!
What's your favorite useless repo/package/website/etc?
Tags: discuss, productivity, offtopic, justforfun
Published: 2017-09-08 00:58:00

---
title: What's your favorite useless repo/package/website/etc?
published: true
description: 
tags: discuss, productivity, offtopic, justforfun
---

So I'm trying to remedy my carpal tunnel by considering making the decision to give up my mouse completely, and use only the keyboard. I look through [a fairly recent discuss thread just about that](https://dev.to/jeansberg/how-to-stop-relying-on-the-mouse), and I find the [Wox](https://github.com/Wox-launcher/) repo. It's basically [Alfred](https://www.alfredapp.com/)/[Launchy](https://www.launchy.net/) from Windows. Awesome, night's off to a good start.


## And then I notice this:
![List of Wox badges: build - passing, downloads - 17 M total, bless - Ramen](https://thepracticaldev.s3.amazonaws.com/i/6idersjpprxwqt45yzcb.png)

Wait, what? `bless | Ramen`???

Turns out it's [a package to bless your code](https://github.com/LunaGao/BlessYourCodeTag). And that's just amazing, cause while we work hard (usually) on developing useful tools for the world, it's makes me feel all good inside that someone spent some time to make it possible for ramen to bless our code.

So here we are, on a Thursday night: me, asking you what your favorite useless programming thing is, and you, hopefully showing me a whole new world.
Charity Majors is my absolute favorite tech speaker
Tags: techtalks, devops, systems
Published: 2017-09-07 15:45:25

---
title: Charity Majors is my absolute favorite tech speaker
published: true
description: In a part of our industry which is a space filled with bullshit and buzzwords. Nobody cuts through it with humor and honesty like Charity.
tags: techtalks, devops, systems
cover_image: https://thepracticaldev.s3.amazonaws.com/i/wm5nkx7x4x0jq7xyf5m1.jpeg
---

I saw [Charity Majors](https://twitter.com/mipsytipsy) talk at a conference I attended about a year ago and I've been keeping up with her talks ever since. Each one is brilliant. She's in the monitoring/ops/systems part of our industry which is a space _filled_ with bullshit and buzzwords. Nobody cuts through it with humor and honesty like her.

She's the founder of [Honeycomb.io](https://honeycomb.io/) which I've never used, but looks slick, and certainly well-done.

I leave you with a few talks/appearances you may want to watch. I'm not sure these are _the good ones_. Either way, follow her talks and keep up with her work. It will make you a better engineer.

{% podcast gotime/35-honeycomb-complex-systems-and-saving-sanity-with-charity-majors %}

{% youtube ObExBTXRk8E %}

{% youtube J0eC1S318Q0 %}
What is the best mechanical keyboard out there?
Tags: discuss
Published: 2017-09-07 14:19:38

---
title: What is the best mechanical keyboard out there?
published: true
tags: discuss
---

First of all: I have to admit that I'm more or less a newbie when it comes to mechanical keyboards.

There are a lot of engineers who seems to favour this kind of keyboard over the others. A couple of weeks ago I tried one by myself and was kind of flashed. It feels so much better than the common Apple keyboards I'm usually hacking on. Therefore, I did some research and found the [CODE](https://codekeyboards.com/) keyboard which seems to be a nice fit.

Before buying one, I thought it might be a good idea to ask all of you: What keyboard do you feel most comfortable with?
Teaching Secondary School Girls To Code - My Experience
Tags: womenintech, beginners, webdev, girlswhocode
Published: 2017-09-07 11:56:16

---
title: Teaching Secondary School Girls To Code - My Experience
published: true
description: 
tags: #Womenintech #beginners #webdev #girlswhocode
cover_image: https://thepracticaldev.s3.amazonaws.com/i/mnj082nuhtcnkx5ac3xj.JPG
---

At the start of the year 2017, i made a year long Goal in which one of them was to be able to give back to the Tech community by laying impact on the lives of young girls around me.

Being an advocate for Girl Tech-education and Women-in-Tech,together with my love for writing code, my participation in Women-In-Tech focused events (both as a participant and organizer) and running my Organisation “She Code Africa”. I choose to start up on one of the goals(stated above) by teaching and mentoring young girls to code (for free) starting out from those in secondary school.

I specifically choose the secondary school category as i felt they made up a larger part of the group classified as the “Grass root”, Giving them an opportunity to learn to code at a young age gave greater and higher chances at them selecting a STEM related course in college/University, and in future have them take up more roles in STEM fields and finally bridging the gender gap in Technology. I had decided to name my Project “SUMMER PROJECT since it was going to run all through the summer holiday.

Without much talk, i will share some of the pictures from the training:
 
![alt text](https://thepracticaldev.s3.amazonaws.com/i/mj2amtarrd674udgc3x3.JPG)
![alt text](https://thepracticaldev.s3.amazonaws.com/i/varvcefdpqi5d8ptyda1.JPG)
![alt text](https://thepracticaldev.s3.amazonaws.com/i/ojd9hjv9onyxdzw964xo.JPG)
![alt text](https://thepracticaldev.s3.amazonaws.com/i/wat9jvr5sm3a9yndd76p.JPG)
![alt text](https://thepracticaldev.s3.amazonaws.com/i/dqj6cwcsdsg6y4scp63e.JPG)
![alt text](https://thepracticaldev.s3.amazonaws.com/i/z2l38n2g0pjjn0kgxvj7.JPG)

To read more about how the event went, my experience, lessons and overall impact on the ladies, click [here](https://medium.com/@kolokodess/teaching-secondary-school-girls-to-code-my-experience-a4d1e7052f89)

I hope to turn this into a quarterly event with more sponsors and a bigger team, expand into more centers across Nigeria and Africa,I'm always open to sponsorship talks, if you need more information about the next event or how you can help please leave a comment below and I'll be more than glad to reach out.
Restaurants with vegetarian options in USA
Tags: leafletjs, map, showdev
Published: 2017-09-07 09:34:43

---
title: Restaurants with vegetarian options in USA
published: true
description: 
tags: leafletjs, map, showdev
---

Some months ago, I found this [Kaggle's Dataset](https://www.kaggle.com/datafiniti/vegetarian-vegan-restaurants)  with restaurants that serve vegetarian and vegan food in the US. I thought I could do something interesting with it.

I've been procrastinating it until last week when I proposed myself that I would use it to learn how to implement a web interactive map.

At first, I plot the data with [Plotly](https://plot.ly) to see how it works. It was interesting, but it didn't work as good as I thought, because the dataset is really large. 

Then I thought, why not using a JavaScript library and then use it with HTML and CSS for creating a webpage? That's how I found [LeafletJS](http://leafletjs.com) which is an amazing library for plotting geolocation data in a map.

Since the dataset is quite large, I've also used a plugin for LeafletJS that is called [MarkerClusterer](https://github.com/Leaflet/Leaflet.markercluster) which cluster the points based in their proximity.

The result could be checked [here](http://pacocp.github.io/Restaurants_with_Vegetarian_Options_in_USA/) and all the code could be found in the [Github repository](https://github.com/pacocp/Restaurants_with_Vegetarian_Options_in_USA).

I hope this could help someone!

Happy coding :)

Paco