teleren/devto huggingface dataset:
PHP Tek 2018 has begun!
Tags: php, conference
Published: 2018-05-31 15:11:28

---
title: PHP Tek 2018 has begun!
published: true
description: 
tags: php, conference
---

Day 1 has begun at [PHP[TEK] 2018!](https://tek.phparch.com/)

![cover of php tek conference website](https://thepracticaldev.s3.amazonaws.com/i/r54dufa2t0dinrgirmyn.png)

I was able to attend a training session on Unit Testing given by [Chris Hartjes](https://twitter.com/grmpyprogrammer). Chris is known as the [Grumpy Programmer](https://grumpy-learning.com/). He gave a solid intro to Unit Testing with PHP, and dove into deeper topics like data providers and doubles. 

The first talk of the conference was a solid talk on Community by [Margaret Staples](https://twitter.com/dead_lugosi). I've heard a good bit of talks on community in the dev world, and was nice to hear some practical expectations and examples of community in this landscape. Thanks Margaret for inviting everyone to go see Deadpool 2. Even after an initial invite, she followed up with another reach out to see if anyone else could make it. 

![Margaret Staples Tweet](https://thepracticaldev.s3.amazonaws.com/i/dc37zaeyxdymtwnn0a04.png)


Now, I'm enjoying a lovely talk on Biometrics by Adam Englander. Adam detailed the history and current trends of biometrics and made myself feel a little bit better by saying "The majority of us in the world are not high-value targets." First step is to change all my passwords to something [not on this list.](http://www.passwordrandom.com/most-popular-passwords) 

![Adam Englander Presenting](https://thepracticaldev.s3.amazonaws.com/i/5ee5badb3oiqyv2ymq53.jpeg)
Writers Aren't Trained to Code and Coders Aren't...
Tags: blogging
Published: 2018-05-31 15:02:32

---
title: Writers Aren't Trained to Code and Coders Aren't...
published: true
description: Two nice readability tools that really help improve style
tags: blogging
---

Hey all, this is brazen self-promotion but since I discovered the #blogging tag and writing is my mainstay, I thought I would share some readability tools that help improve writing. Technical and business people tend to use longer sentences than is right. Also, the passive voice is used too often (hehe, see what I did there?). Long sentences and the passive voice are hard to process. They usually don't add value. As a rule, your writing will be brisk and clear if its grade level is between 7th and 9th.

![http://api-ambassador.ghost.io/cool-readability-tools/](https://thepracticaldev.s3.amazonaws.com/i/6wn7jc0ua2w71o8x522e.jpg)

https://productbrief.github.io/writing/2017/06/10/resources-to-learn-tech-writing.html
What would you do differently or the same if you had to learn to be a developer all over?
Tags: discuss
Published: 2018-05-31 14:46:44

---
title: What would you do differently or the same if you had to learn to be a developer all over?
published: true
description: 
tags: discuss
---

I posted these questions on Twitter, but I want to get responses from a wider audience.

When learning to be a developer, **what was the biggest thing you wish you had done differently and why?**

**What was the one thing you would do the same, and why?**

I suspect a lot of the answers here could be insightful for newbies learning to code for the first time, as it will help them understand what is worth focusing on vs what may not be.
What is the funniest thing a non-developer has asked you about code?
Tags: discuss, clients
Published: 2018-05-31 14:46:12

---
title: What is the funniest thing a non-developer has asked you about code?
published: true
description: Share your stories!
tags: discuss, clients
---

For me, it was a client who was scared about the language I'll use and had to ask this:

![](https://qph.ec.quoracdn.net/main-qimg-f05202b0c652414086a29f2a3c08a011)

I just couldn't control my laughter. :)

What's yours?
Steve Jobs on Why Innovation Dies at Tech Monopolies
Tags: innovation
Published: 2018-05-31 14:34:38

---
title: Steve Jobs on Why Innovation Dies at Tech Monopolies
published: true
description: Steve Jobs on why innovation dies at tech monopolies
tags: innovation
---

This article is so good. Sorry for the re-posting, but not sorry.

## Steve Jobs on Why Innovation Dies at Tech Monopolies

![http://www.businessinsider.com/steve-jobs-on-why-innovation-dies-at-tech-monopolies-2014-11](https://thepracticaldev.s3.amazonaws.com/i/e0cb3iwj9prqhyrfpnqt.jpg)

http://www.businessinsider.com/steve-jobs-on-why-innovation-dies-at-tech-monopolies-2014-11
Where you do freelancing?
Published: 2018-05-31 12:03:27

---
title: Where you do freelancing?
published: true
description: I wanna know where and how you do freelancing?
tags: 
---

I don't do freelancing to much, i'm employee full time,but i think in time, maybe 1-2 years or late i will be freelancer.
So i hunt small jobs i can do in few hour or lesss.

I have 3 project made in php from scratch and other 3 projects in Laravel for portofolio.

My Question are, how should look a portofolio(i have a domains,i do few printscreen,but ever i say it's not enougth to good for share) and from you get projects(i kwnow just for upwork.com)?
Using Next.js to Build SEO-Friendly React SPAs [Live Demo]
Tags: javascript, webdev, react, tutorial
Published: 2019-09-26 14:41:34

---
title: Using Next.js to Build SEO-Friendly React SPAs [Live Demo]
published: true
tags: javascript, webdev, react, tutorial
canonical_url: https://snipcart.com/blog/react-seo-nextjs-tutorial
---

![Next.js Tutorial: SEO-Friendly React E-Commerce SPA](https://snipcart.com/media/204694/next-seo-og.jpg)

We’ve often promoted the use of single-page applications.

We’ll continue to do so because they’re great. I mean, they’re fast, they offer incredible UX, and are fun to develop.

However, we’ve also always been very aware of things to be cautious with when it comes to dealing with SPAs—crucial things, like search engine optimization (SEO).

It’s not to say that you can’t get great SEO results with SPAs, because you can. You simply need to handle it the right way, whether you’re working with [Angular](https://snipcart.com/blog/angular-seo-universal-server-side-rendering), [Vue](https://snipcart.com/blog/vue-js-seo-prerender-example#comment-4605723048) or React.

In this post, **I’ll present Next.js, and how it can help you create SEO-friendly React SPAs.**

All of this, in a few easy steps:

- Creating a Next.js project
- Generating components
- Optimizing the Next.js app for SEO
    - Making it crawlable with prerendering
    - Creating a sitemap
    - Adding metadata
- Hosting the SPA with Netlify

By the end of this tutorial, your project should be safe under the good grace of our Lord Almighty a.k.a. Google.

Let’s do this.

## What is Next.js?

**In a nutshell, Next.js is a lightweight framework for static and server-rendered React applications.**

![next-js-seo](https://snipcart.com/media/204691/next-js-seo-tutorial.png)

  

→ Read the full post [here](https://snipcart.com/blog/react-seo-nextjs-tutorial)
How do you deploy stuff? And what is the tool you use for?
Tags: discuss, devops, deploy
Published: 2018-05-31 09:29:24

---
title: How do you deploy stuff? And what is the tool you use for?
published: true
description: 
tags: discussion,devops,deploy
---

Hello! I would like to open a discussion about how to deploy and the tools use for that.

As context, I have worked at a company which use a "artefact" repo to store artefacts generated by the CI. Then, deployement servers were informed that there was a new artefact and they get them. Personnally, I use gitlab runner to deploy my blog with a rsync command (but honestly it feels dirty, but it work). I know also about the "git push as deploy", but I am not convinced either since you don't want the full repo but only a package solution.

So how do you deploy stuff?
⚡️ MEAN vs MERN
Tags: discuss, react, angular
Published: 2018-05-31 07:54:31

---
title: ⚡️ MEAN vs MERN
published: true
description: Who will have the uphand 
tags:  discuss, react, angular
---
![MERN vs MEAN](https://media.giphy.com/media/10MgxoOVOuTquI/giphy.gif)

I think the graphic should have been the other way around 😜, as facebook has been busting google's open source community thrive since it has wanted to try its hand at OSS. Couldn't find one on giphy 👀, happy to have suggestions in comments. 
***
#The infamous topic
![Angular vs React](https://thepracticaldev.s3.amazonaws.com/i/mpty0ccutkeejiord3d3.png)

This escalated quickly. See what I did there. ```MERN / MEAN = R / A.``` So, it all boils down to the number of people using React/angular or wanting to learn React/Angular.

![Angular vs React stats](https://thepracticaldev.s3.amazonaws.com/i/8xpv5sjq85nho6x3yyd6.png)
*Note: For In-depth comparison: [Angular-React faceoff](https://www.similartech.com/compare/angular-js-vs-react-js)*
***
#**Please give a ♥️ and a 🦄 to [Livetable](https://dev.to/himanshuc3/entry-livetable-5h3o)**
if you like this post. And hopefully you could have a unicorn one day ( I'm skeptical about it. Like I'm skeptical about deadpool ever making it into a X-men movie. But I'm hopeful. And so should you be)
***
#Showdown

![faceoff](https://media.giphy.com/media/3o6ZtezQpqMy5yZneE/giphy.gif)

React is on the rise but angular has stuck around and proven its worth. Both are fantastic as everyone would expect coming from top tech industries. Both have technical advantages over each other. React though having easier learning curve than angular. Both have jobs in industry. So, coming to the end of this useless post, I think it should be the users of this tech and future front-end entusiasts who decide the fate of who's gonna be more popular.

You guys can **vote** right on **this post** with a ♥️ for this post suggesting you **favor React** and a 🦄 suggesting **Angular is the way to go**.

Leave your **comments** down below for some **explanation** for whomsoever you are supporting. I would love to hear them out as much as would be the **people confused in choosing between them**.
Time traveling, dreams and gratitude
Tags: life, timetraveling, dreams, gratitude
Published: 2018-05-31 06:07:59

---
title: Time traveling, dreams and gratitude
published: true
description: I just found a picture of my house in mid-2001. And it made me travel time and revisit my life as a developer.
tags: life, time traveling, dreams, gratitude
cover_image: https://thepracticaldev.s3.amazonaws.com/i/ge9zyo96yrhop3p6vd8b.jpg
---

I just found a picture of my house in mid-2001. Look at this mess!

![An old house, computers to fix and software to code](https://thepracticaldev.s3.amazonaws.com/i/m0z0blmftspan51j91zi.jpeg)

A back house, suburbs of São Paulo, Brazil. One bedroom, a kitchen and an outdoor bathroom. 

That was... it. 

And I was making money with tech support, fixing computers and programming video rental systems in Clipper. Something like this:

![A very elaborated interface programmed in Clipper](https://thepracticaldev.s3.amazonaws.com/i/brt8hf9ey1r4masxml43.gif)

It was a lot of fun. Seriously. But I could never imagine that in 2018 I would be working with Salesforce for one of the best technology companies in the world, and living in Seattle. Not in my best dreams. 

All I knew at that time was that I was living by myself, trying really hard to make a living. 

I was 19 years old, and I needed to continue studying and working, learning, and trying to be a better person and professional every day. That was my plan.

I think it's important to look back and see where I came from, and remember everything I went through, to give even more value to what I have today, to have gratitude for all this and for everyone who helped me. ❤️

So: If you think your dream is an unreachable thing, impossible, maybe you're already living part of it and you don't even know it.

Keep Fighting! 🤜🤛
How do you update backend web services without downtime?
Tags: help, webdev, devops
Published: 2018-05-31 05:54:23

---
title: How do you update backend web services without downtime?
published: true
description: Don't you have to stop the service?
tags: help, webdev, devops
---

This is a bit of a r/NoStupidQuestions kind of post.

I've made a handful of projects in the past that use PHP and as someone who has recently fallen out of touch with the backend side of things, there is one thing that has escaped me about using other languages on the server. How do you update them without downtime?

- My current understanding is that you'd have to stop the process and restart it with the updated program.
- This is why I've historically stuck with PHP, since you can overwrite the files on the fly.
- Is this where things like Docker can help?
Date::Holidays 1.10 released
Tags: opensource, cpan, dateholidays, perl
Published: 2018-11-26 18:25:03

---
title: Date::Holidays 1.10 released
published: true
tags: Open Source,cpan,date-holidays,perl
canonical_url: https://lastmover.wordpress.com/2018/05/31/dateholidays-1-10-released/
---

Release 1.08 of [Date::Holidays](https://metacpan.org/pod/Date::Holidays) had some issues with the test suite, which resulted in numerous failure reports from CPAN-testers, please see [issue #21](https://github.com/jonasbn/Date-Holidays/issues/21) for details.

This resulted in release 1.09, which addressed the problem with the bad tests. At the same time it however demonstrated issues with the integration towards [Date::Holidays::NZ](https://metacpan.org/pod/Date::Holidays::NZ) and [Date::Holidays::SK](https://metacpan.org/pod/Date::Holidays::SK), so issues [#22](https://github.com/jonasbn/perl-date-holidays/issues/22) and [#23](https://github.com/jonasbn/perl-date-holidays/issues/23) was created respectively.

Issue #22 has now been addressed in release 1.10 and next up is 1.11, which is planned to address issue #23 unless something else comes up.

The adaptation of Date::Holidays::NZ also supports the regional parameter described in: Date::Holidays::NZ.

So checking if New Years Day is a holiday in New Zealand, via Date::Holidays:

```perl
use Date::Holidays;

my $dh = Date::Holidays->new( countrycode => 'nz' );

if ($dh->is_holiday(year => 2018, month => 1, day => 1) {
   print “It is\n”;
}
```

And in particular for the region of Auckland (see Date::Holidays::NZ for details).

```perl
use Date::Holidays;

my $dh = Date::Holidays->new( countrycode => 'nz' );

if ($dh->is_holiday(year => 2018, month => 1, day => 1, region => 2) {        
   print “In Auckland it is\n”;
}
```

You can also get a list of holidays:

```perl
use Date::Holidays;
use Data::Dumper;

my $dh = Date::Holidays->new( countrycode => 'nz' );
my $holidays_hashref = $dh->holidays(year => 2018);

print STDERR Dumper $holidays_hashref;

$VAR1 = {
   '0206' => 'Waitangi Day',
   '0402' => 'Easter Monday',
   '0102' => 'Day after New Years Day',
   '1022' => 'Labour Day',
   '1226' => 'Boxing Day',
   '1225' => 'Christmas Day',
   '0330' => 'Good Friday',
   '0425' => 'ANZAC Day',
   '0604' => 'Queens Birthday',
   '0101' => 'New Years Day'
};
```

And based on region:

```perl
use Date::Holidays;
use Data::Dumper;

my $dh = Date::Holidays->new( countrycode => 'nz' );

my $holidays_hashref = $dh->holidays(year => 2018, region => 2);

print STDERR Dumper $holidays_hashref;

$VAR1 = {
   '0129' => 'Auckland Anniversary Day',
   '1022' => 'Labour Day',
   '0101' => 'New Years Day',
   '0402' => 'Easter Monday',
   '1225' => 'Christmas Day',
   '0330' => 'Good Friday',
   '1226' => 'Boxing Day',
   '0102' => 'Day after New Years Day',
   '0425' => 'ANZAC Day',
   '0206' => 'Waitangi Day',
   '0604' => 'Queens Birthday'
};
```

Feedback most welcome,

jonasbn
Testing through the UI: the good parts
Tags: discuss
Published: 2018-05-30 22:00:58

---
title: Testing through the UI: the good parts
published: true
tags: discuss
---

Many people are sceptical about testing through the user interface of an application. They prefer [subcutaneous tests](https://www.martinfowler.com/bliki/SubcutaneousTest.html).

Typically, the arguments against testing through the UI are:
* The tests run much slower than well-isolated unit tests
* The tests are brittle, because the UI is one of the fastest changing parts of the application

In general, I fully agree with these arguments.
But today, I want to kick-off a different kind of discussion:
What positive experiences did you have with testing through the UI?
My Gist
Tags: rails, webdev, backend
Published: 2018-05-30 20:48:59

---
title: My Gist
published: true
description: I'm Learning ROR, so I've make a Gist specially for it.
tags: RubyOnRails, WebDev, BackEnd
---

I'm Learning ROR, so I've make a Gist specially for it.

I'm also learning how to make post here so I will be editing this post for more completion.

{% gist https://gist.github.com/GeroBlacksmith/cecf39dfa9b6c774ecdc4df47ea95b6c %}
git bundle
Tags: todayilearned, git, development
Published: 2018-05-30 19:53:37

---
title: git bundle
published: true
description: TIL
tags: til, git, development
cover_image: https://thepracticaldev.s3.amazonaws.com/i/x4q86qgw6oemp5bilklz.jpg
---

I had an interesting problem at work the other day.  We'd hired some external contractors to build an android app for us, and now we needed to get the code from them and into our private GitHub.  The problem was, I couldn't quickly get them access to the repo since there's a fair amount of process involved in getting those approvals.  They also didn't have enough seats to add me as a contributor to their GitHub account, and so we were stuck with me asking them to send a .zip file with the code.   Instead, they came back to me with a git bundle file, which I'd never heard of (though I've been using git for a long time now).   A git bundle file is essentially a full repository in a single file.  You can have branches, history, tags, basically everything you expect in a repository, but it's all contained in a single file.   This makes sharing the repository or moving the full repository pretty straightforward.  Assume I have a git project called myproj, and I want to send that to someone else.  


```
host1$ cd myproj
host1$ git bundle create repo.bundle master
```
That will make a bundle file (repo.bundle) that contains all the history of the master branch.  You can then send this file to a friend, and they can clone it just like if it were a remote git origin: 

```
host2$ git clone -b master ./repo.bundle myproj
host2$ cd myproj
host2$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
```

Another pretty neat thing about git bundles is, if you need to update one, you can send an incremental file update with only the latest changes.  The recipient just puts that in place of their existing bundle, and runs `git pull` w/in their repo.  

This isn't something you'd use every day, but in certain situations (like getting a git repo from one place to another w/out being able to share a remote origin) it works great!

More info on git bundle: https://git-scm.com/docs/git-bundle
Think Like a Programmer??
Tags: beginners, discuss
Published: 2018-05-30 19:38:50

---
title: Think Like a Programmer??
published: true
description: What does this even mean??
tags: beginner, discuss
---

I've heard and read this several times everywhere around the techmosphere. 

So I must ask: **What does thinking like a programmer mean to you?**

UPDATE: For all of you who answered, "Think like a computer!"
I've got a [video for you](https://youtu.be/en5_JrcSTcU?t=338).
How Mistakes Make Us Better Developers (And People)
Tags: learning, culture, career, productivity
Published: 2018-05-30 17:41:23

---
title: How Mistakes Make Us Better Developers (And People)
published: true
description: At some software companies, the culture isn't setup right for people to learn from mistakes they make.
tags: #learning #culture #career #productivity
---

At some software companies, the culture isn't setup right for people to learn from mistakes they make.

Because building software requires so much communication, it's natural for things to get lost in translation.

But we can treat mistakes as an opportunity to blame someone, or **a chance to encourage them to learn**.

And this also reflects back on us, reminding others _we can use encouragement too when we make mistakes_.

I hope this video protects you from a mindset that can creep in over our career:

That people should be held to the same expectations of reliability as a computer!

# [📺 Watch this video on YouTube](https://www.youtube.com/watch?v=-dhLuNcMUIo&list=PL32pD389V8xsYo9ETSd4JTu5EYYLcYZCu&t=0s&index=2)

Or listen as a podcast:
[🎧 Soundcloud](https://soundcloud.com/jayme-edwards-media/how-mistakes-make-us-better-developers-and-people)

Skip to points in the video:

##### Common Mistakes

[02:41](https://www.youtube.com/watch?v=-dhLuNcMUIo&t=161s) Overlooked Requirements / User Stories
[05:44](https://www.youtube.com/watch?v=-dhLuNcMUIo&t=344s) Overlooked Development Tasks
[07:43](https://www.youtube.com/watch?v=-dhLuNcMUIo&t=463s) Incorrect Theories Of Value

##### Learning From Mistakes

[09:43](https://www.youtube.com/watch?v=-dhLuNcMUIo&t=583s) Practice Forgiveness
[11:00](https://www.youtube.com/watch?v=-dhLuNcMUIo&t=660s) Practice Admitting A Mistake
[12:45](https://www.youtube.com/watch?v=-dhLuNcMUIo&t=765s) Be More Real/Humble About Your Abilities
[13:56](https://www.youtube.com/watch?v=-dhLuNcMUIo&t=836s) Confront Limiting Beliefs
[15:17](https://www.youtube.com/watch?v=-dhLuNcMUIo&t=917s) Practice Encouragement

<hr />[🔔 Subscribe for 90+ videos on healthy software development](https://YouTube.com/c/JaymeEdwardsmedia?sub_confirmation=1)
OpenShift for Mere Mortals: Kubernetes
Tags: docker, openshift, kubernetes, containers
Published: 2018-05-30 17:33:59

---
title: OpenShift for Mere Mortals: Kubernetes
published: true
description: Talking about Kubernetes, a platform for managing large numbers of container deployments
tags: docker, openshift, kubernetes, containers
cover_image: https://thepracticaldev.s3.amazonaws.com/i/jo9fqlsjmtt1k3qq5wsz.jpg
---

This week in my blog series OpenShift for Mere Mortals, I talk about Kubernetes, a platform for clustering servers to easily manage large deployments of container applications using a command line interface.

https://vault.osninja.net/openshift-for-mere-mortals-part-five/
Anyone have experience in organizing a Hackathon in NYC ?
Tags: hackathon, discuss
Published: 2018-05-30 11:43:43

---
title: Anyone have experience in organizing a Hackathon in NYC ?
published: true
description: 
tags: hackathon, discuss
---
Hey Devs, I am looking to help one of the Techstars NYC companies help organize a hackathon. Anyone has experience in organizing and is willing to connect with the company for quick 5-10 min feedback? Thank you!