teleren/devto huggingface dataset:
Open source projects you would like to hear about
Tags: opensource, javascript, podcast
Published: 2019-07-12 10:09:07

---
title: Open source projects you would like to hear about
published: true
description: 
tags: open source, javascript, podcasts
---

Hey guys James here, the host of open source developer podcast.

I am reaching out to you, the community to find out are there any open source projects you would like featured on future episodes.

These projects can be anything from a simple one liner node module all the way up to fully functional applications. The podcast looks at the features, value add, how it's used and even sometimes a deep dive into the code.

This can also be a self serving question, do you have a project that you would like to get out to the community? 

Let me know in the comments below what you would love to hear about and I will feature it in future episodes. 

Also if you have no idea what the podcast is, search open source developer podcast on your favorite app and start listening today!
Using @keyframes to create Netflix logo animation
Tags: html, css, animations
Published: 2019-07-12 10:02:43

---
cover_image: https://i.ytimg.com/vi/Hs-1_HNALhw/maxresdefault.jpg
title: Using @keyframes to create Netflix logo animation
published: true
description: Using HTML and css to create Netflix logo animation, just for fun, enjoy! 🥳
tags: HTML, CSS, Animations
---
* Only HTML and CSS
* Just for fun, enjoy! 🥳
{% codepen https://codepen.io/wwsu97/pen/orOzBW %}
If only I’d had more time
Tags: dailywriting
Published: 2019-07-16 23:39:33

---
title: If only I’d had more time
published: true
tags: daily-writing
canonical_url: https://marcusblankenship.com/if-only-id-had-more-time/
---

I was having dinner with some colleagues last night, and toward the end, one of them said to me, “I’ve noticed a theme when you describe your life. You seem to make time to think.”

“That true, but it wasn’t always so,” I replied.

“Most of my working life I only made time to do, not think. But that left me with a vague, uneasy feeling that most things could have been done better if only I’d had more time. Instead of being excellent, I was simply getting by in many areas of life. I don’t want that anymore.”

While I’m far from perfect, I’ve found two changes helped me get my thinking time back.

First, I get up earlier each day.

Once my family is awake, my time isn’t my own. So, I get up at 4:55 am each morning to read, write, drink coffee, and think. This lasts 60-90m.

Second, I write regularly.

I _started_ this email list because I heard it was a good marketing strategy.

I _continued_ it because it forces me to sit down and think each day deeply.

Through writing to you, I have come to know what I believe, and see new perspectives on the world.

That’s not the way I thought it would work. I thought I’d write about what I knew. Instead, I found what I knew by writing.

You might say that I “think through writing” because the process of writing is my thinking process.

I didn’t expect that benefit, but it’s the reason I will continue writing.

As a leader, you need thinking time – and you have to find what works for you to get it.

I don’t know if these ideas are helpful for you, but I can say that I am happier with my life since I set aside time to think. And, I think I do better work and am more satisfied with the outcomes.

Is this something you struggle with too?

Best,  
Marcus

The post [If only I’d had more time](https://marcusblankenship.com/if-only-id-had-more-time/) appeared first on [Marcus Blankenship](https://marcusblankenship.com).
EP19: Why should your business consider having a Chat-bot?
Published: 2019-07-15 11:36:18

---
title: EP19: Why should your business consider having a Chat-bot?
published: true
tags: 
canonical_url: https://anchor.fm/code-cast-zm/episodes/EP19-Why-should-your-business-consider-having-a-Chat-bot-e4jnjf
---

On this weeks episode, we discuss what it means to have a Chat-bot for a business. We look at the pros and cons of implementing automated assistants and what this implies for the future of customer service. 

We highlight the possibilities in opening up technology using Chat-bots and what impact they have for the way any organization whether large or small does business.

Are you optimistic about AI and the future? Send us a 1 minute long message telling us what you think... Link below...

We are joined by Asikana Network Director, Regina Mtonga and Zazu Software Engineer, Wilfred Mulenga. 

**Links to Articles and Resources:**

- [**Chatfuel**](https://chatfuel.com/)
- [**Messenger**](https://developers.facebook.com/products/messenger/) **Bots Development Platform**
- [**Chat-bots and Technology**](https://hackernoon.com/chatbots-can-make-technology-more-accessible-7d8ea241fc11)
- [**DiagFlow**](https://dialogflow.com/) **: Powered by Google Machine Learning**

**Hosts/Guests**

- **Regina Mtonga -** [**LinkedIn**](https://www.linkedin.com/in/reginamtonga/) **|** [**Twitter**](https://twitter.com/AsikanaNetwork)
- **Wilfred Mulenga -** [**Twitter**](https://twitter.com/MulengaWilfred)
- **Cynthia Mulenga -** [**Twitter**](https://twitter.com/PythonKhaleesi)

Leave us a review on[<u><strong>iTunes</strong></u>](https://podcasts.apple.com/us/podcast/codecast-zambia/id1442693166?mt=2) to let us know what you think about the show.    

--- Send in a voice message: https://anchor.fm/code-cast-zm/message
E-Commerce Store is closed sign (Responsive)
Tags: codepen, html, css, design
Published: 2019-07-12 07:21:53

<p>This is a responsive store is closed sign, that may be applied on your e-commerce website/store, for example, page is under maintenance, under construction, or error page like code 500, or 404 error (Just change the message).</p>

{% codepen https://codepen.io/takaneichinose/pen/oomjqm %}
Path must be string, received null - Reactjs
Tags: react
Published: 2019-07-12 07:15:36

---
title: Path must be string, received null - Reactjs
published: true
description: 

tags: reactjs
---

Hello, my reactjs app use webpack, its running well build script on Mac but have problem on window with error msg: Path must be string, received null. Do you know why its be here please?
How do you start your working day?
Tags: discuss, career, productivity
Published: 2019-07-12 07:02:16

---
title: How do you start your working day?
published: true
description: 
tags: discuss,career,productivity
---

For me it's almost everyday the same:
- Starting the computer
- Preparing my breakfast (oats most of the time) and talk to my colleagues
- Checking emails and the JIRA tasks I'm currently working on for updates
- Plugin in my headphones and start coding :)

How do you start your working day? Do yo have any rituals?
How to Change GitHub user for a particular repository
Tags: github
Published: 2019-07-12 06:36:05

####Hello All, I am writing this post about how one can use a different user to interact with github. This would be useful when you are working with multiple repositories and you want/need to switch to a different user for a given repo. Since GitHub uses global user for all repo's by default, below steps would be useful to change user:

#####1. Open explorer and go to the repository for which you want to change the user.

#####2. Inside root directory of your repo, check for the .git directory and open it.
**Note:-** .git is a hidden directory, so you need to enable show hidden directories option.Shortcut for mac: **cmd + shift + .**
![](https://thepracticaldev.s3.amazonaws.com/i/5yki4s208mv7yyxe5u9i.png)
#####3. Look for the *config* file, open it and add below entry at the end of the file-
_[user]
      name = your-username
      email = your-email_
#####4. Verify user has changed for the current repository
 Open the terminal and go to the root directory of the repo and run below command-
**git config user.name**

The output of the command will be the user you have used in the config file and now all further commands to GitHub from this repo will use this user.

**Note:-** This change is just for the current repo for other repo's its still the global user.
#####5. Few other commands around the user and email- 

**git config --global user.name**
    Returns global user name that all repo uses.
**git config --global user.email**
    Returns global user email that all repo uses.
**git config --global --list**
   Returns key/value for username and email
Sql Server Multi Column Index Improvements
Tags: sql, sqlserver, showdev, discuss
Published: 2019-07-12 06:28:35

# Multi Column Indexes

Multi column indexes are great way to improve queries that reduces join costs, but ideally more than 3 columns performs poor as it leads to more Data IO cost because each level increases size of row exponentially.

Consider an Index with (A,B,C) columns, if you see the statistics, you will notice that there are three different rows types, `A` , `A,B` and `A,B,C` and size of Row also increases drastically.

For very large table, more than three columns is really slow to update and search, as most queries end up seeking different pages.

# Multi column with Included columns

If SQL Server suggests you to create index of more than 3 columns, you can put other columns in included part, included columns do not increase size as they are stored as it is, it is not stored as indexed columns. If you look at query plan, filter on included column will be performed in one step without performing join on clustered index.

Sql server will still recommend creating index on all columns, but you will find that average cost of updating index and querying index turns out to be better with more included and less indexed columns.

# How many columns?

3 Columns is not ideal, You must run your tests against high CPU/Data cost queries and find out the best optimum number of columns. Some queries must perform best with just 2 and some may need 4.

# Which 3 columns?

Limited value range such as single bit (2 values), nullable bit (3 values), enum columns such as limited set of (open/closed.. any strings) can be ignored and can be put in included columns, reason being, for any combination of indexed columns, there will only be very few rows to fetch and test. Only extremely large range of items should be put in indexed columns. Rest can be easily moved to indexed columns. Again, test it against your queries to find out the best combination. You must understand the kind of values stored in columns to find best combination as well. For example, if SQL Server suggest building index of `A,B,C` and `C` is a boolean type (max 2 possibilities), you can safely ignore `C` if combination of `A,B` leads to only 1 - 20 rows. The reason it is safe as sql server will not need to span additional pages as all rows will be on one single page to run filter.

# Index Storage

Smaller the indexes, easier it is to update and indexes use more storage than actual table. Sql server's  `bacpac` format does not backup indexed, so upon testing I found out that for 100GB of database size, `bacpac` is only of size 3GB.

Also index fragmentation may add up to total size of database, these days with nearly unlimited storage, we don't care about size, but the size impacts many other operations. As CPU has limited RAM, and SSD storage is also limited in size, reducing index size will greatly improve overall speed of database.

It is necessary to rebuild indexes over 30% fragmentation.
4 Main Categories of Java Applications
Tags: javascrip
Published: 2019-07-12 06:23:21

Java, a general-purpose programming language, is a class-based, object-oriented programming language and tops the list of the preferred programming language by the IT companies to develop their software applications. Learning Java Programming Language has its own benefits.

Java is both a programming language and a platform which follows a particular syntax and style. A Java Platform is a particular environment within which Java Programming language applications run.

Java has several platforms, as discussed in following discussion, which consist of several Java Virtual Machine (JVM) and Application Programming Interface (API).

Today we are going to discuss various types of Java applications, Java applications examples and many other important aspects.

The overall aim of the blog is to help our readers understand:

    What are different Java platforms or Java editions?
    Differences between Java SE and Java EE.
    Different categories of Java applications.
    What is Java commonly used for?
    Different career paths for Java developers.

The Java Programming Language Platforms

Initially let us focus towards understanding different Java platforms or Java editions.

Java comes up with different platforms for developing specific kind of applications. Following is the list Java platform or Java editions. Each of the Java platforms consists of Java Virtual Machine and Application Programming Interface (API).

There are 4 platforms of the Java Programming language as discussed below:

    Java platform, Standard Edition (Java SE)
    Java platform, Enterprise Edition (Java EE)
    Java platform, Micro Edition (Java ME)
    Java FX (Java FE)


Click To Continue reading: https://blog.simpliv.com/4-main-categories-of-java-applications/
What's your latest (or favorite) "Can you fix my computer?" story?
Tags: discuss, fun, watercooler
Published: 2019-07-12 05:57:26

---
title: What's your latest (or favorite) "Can you fix my computer?" story?
published: true
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/fttovs9e6dsqgswxa3n1.jpg
description: It's funny how some people can ask for help. This is my latest story about it.
tags: #discuss #fun #watercooler
---

I'm a developer. Even in my spare time I don't build computers myself. I have a simple
laptop without any customizations (besides DEV.to stickers).

But still I'm the one guy every non-technical friend or family member asks for help.
To be clear: I know exactly why they do that. It's obvious, that I still know more stuff
about hardware and setting up printers than the non-technical friend. And that's ok.

But I don't want to complain about the fact, that I get asked to help. It's more about the fact **how** some people ask for help. Let me tell you about my last time.
We were on a sunday-afternoon trip with friends, at a very old farm that got converted into a museum.

---

Friend: Lars, we wanted to ask you something.

Me: Sure. What's up?

Friend: My iPhone broke. It fell on the floor. Now the display is broken. Could you try to make a backup?

Me: At least I can try. Do you have it with you? Just give it to me and I will try at home.

Friend: But you came by bike, didn't you?

Me: Yes?!

Friend: That might be a bit too heavy?

Me: The iPhone? No, I think I can handle that.

Friend: But there is also the laptop in the backpack. It would be nice of you could do the backup on our laptop directly, so that it is set up for the next time.

Me: Oh, ok. Yes, I can do that.

Friend: Would you also check the anti-virus stuff? I think the license expired. And maybe updates and stuff for all the other important things as well?

Me: Hmm... sure.

Friend: But still, isn't it too heavy? The bag with the laptop, the iPhone and the tablet?

Me: TABLET?

Friend: My daughter's teacher created some kind of account for some kind of app the kids should use. It would be super awesome if you could install that as well.

Me: Sure. No problem at all. Maybe something else?

Friend: No, I think that is it.

---

That's my latest story. What's yours? Tell me about your funniest, saddest and/or latest request.
I created an easy way to browse & find Google books (today is my birthday 🎈)
Tags: showdev, webdev, javascript
Published: 2019-07-12 05:42:29

## **[Books 📚](https://liyasthomas.github.io/books)**
### Find books from Google Play Books

### Feel free to contribute on **[GitHub](https://github.com/liyasthomas/books)**

I was casually surfing online and saw an article about [Google Books API](https://developers.google.com/books). I read the docs, and decided to create a minimal, lightweight and beautiful web app to browse & find books using Google Books API.

That's why I created [Books 📚](https://liyasthomas.github.io/books).

![UI](https://raw.githubusercontent.com/liyasthomas/books/master/icons/screely.png)

[Books](https://liyasthomas.github.io/colorbook) is an open-source project which make use of [Google Books API](https://developers.google.com/books).

Some of its features are:

- Search book by title, author, category, genre etc.

- Minimal and elegant UI.

- PWA support.

- Dark mode. Can't live without it!

![Library](https://raw.githubusercontent.com/liyasthomas/books/master/icons/screely2.png)

Bonus: 🌗 I also added dark mode so that your eyes won't hurt during night!

### **[Demo 🚀](https://liyasthomas.github.io/books)**

### Feel free to contribute on **[GitHub](https://github.com/liyasthomas/books)**

{% link liyasthomas/i-m-writing-a-book-de-coding-the-passion-project-2c07 %}

---

If you want a heads up on my next projects, or just want to chat about the web, life and happiness make sure to follow me [@liyasthomas](https://twitter.com/liyasthomas) on Twitter 💙. If any of my projects helped you please consider [making a donation](https://paypal.me/liyascthomas).

![yep](https://media.giphy.com/media/XbxZ41fWLeRECPsGIJ/giphy.gif)
Installing PHP's Imagick (PECL Library) on OpenBSD
Tags: php, pecl, imagick, openbsd
Published: 2019-07-12 04:59:40

---
title: Installing PHP's Imagick (PECL Library) on OpenBSD
published: true
description: This post is about how to install Imagick (PECL Library), the PECL Library, on OpenBSD, my favorite OS. Happily, the official package is provided. PECL means The \"P\"HP \"E\"xtension \"C\"ommunity \"L\"ibrary. Imagick works as interface to ImageMagick, an open-source powerful image manipulator.
tags: php, pecl, imagick, openbsd
---

## Introduction

Hello :)
This post is about how to install [Imagick (PECL Library)](https://pecl.php.net/package/imagick), the [PECL](https://pecl.php.net/) Library,  on [OpenBSD](https://www.openbsd.org/), my favorite OS.

## Body

Happily, the official package is provided:

```console
# pkg_add pecl73-imagick
```

The result is:

```console
quirks-3.124 signed on 2019-04-15T12:10:16Z
pecl73-imagick-3.4.3p3: ok
```

Also, its `.ini` file is created automatically:

```console
$ ls /etc/php-7.3.sample/
... imagick.ini ...
```

Create a symbolic link in order to activate the extension:

```console
# ln -sf /etc/php-7.3.sample/imagick.ini /etc/php-7.3/
```

Finally, all you have to do is restart the [PHP-FPM](https://php-fpm.org/) server:

```console
# rcctl restart php73_fpm
```

## Conclusion

PECL means The "P"HP "E"xtension "C"ommunity "L"ibrary.
Imagick works as interface to [ImageMagick](https://www.imagemagick.org/), an open-source powerful image manipulator:

> Imagick is a native php extension to create and modify images using the ImageMagick API.
> This extension requires ImageMagick version 6.5.3-10+ and PHP 5.4.0+.

Thank you for your reading.
Happy computing :)
Introducing CSSBattle PRO
Tags: css, game, webdev
Published: 2019-07-12 04:51:06

We're proud to introduce [CSSBattle PRO][pro], where you can upgrade your CSSBattle experience 🥳. For those who have not heard about CSSBattle before, CSSBattle is the first ever code-golfing game for CSS lovers. 

[CSSBattle PRO][pro] gives you access to the following features:

## Add plugins to the code editor 🔌

With plugins, you can add custom scripts to enhance the editor and make it faster to reach the optimized solutions. For example, you can use it to automatically minify your code or convert the units to smaller character units. Here's a simple minification script to get you started:

```js
function run(code) {
	processedCode = code
      .replace(/\<\!--\s*?[^\s?\[][\s\S]*?--\>/g,'')
      .replace(/\>\s*\</g,'><')
      .replace(/\/\*.*\*\/|\/\*[\s\S]*?\*\/|\n|\t|\v|\s{2,}/g,'')
      .replace(/\s*\{\s*/g,'{')
      .replace(/\s*\}\s*/g,'}')
      .replace(/\s*\:\s*/g,':')
      .replace(/\s*\;\s*/g,';')
      .replace(/\s*\,\s*/g,',')
      .replace(/\s*\~\s*/g,'~')
      .replace(/\s*\>\s*/g,'>')
      .replace(/\s*\+\s*/g,'+')
      .replace(/\s*\!\s*/g,'!')
  
  return processedCode;
}
```

## Advanced target stats 📊

Get a bird's-eye view on your performance in battles with these advanced stats. See where you're performing well and where you're lagging behind. Here's what it looks like:

![Advanced stats showing where you lag](https://cssbattle.dev/blog/images/2019/introducing-pro-1.png)

## Light theme ☀️🌙

This is one of our favourite features! You'll be able to switch between light and dark themes and customize the experience as you like. Here's what the light theme looks like:

![Light theme on CSSBattle](https://cssbattle.dev/blog/images/2019/introducing-pro-2.png)

## PRO badge 🎖

Apart from all the above features, you'll also get a shiny `PRO` badge next to your name wherever it appears across CSSBattle. ![Pro](https://cssbattle.dev/blog/images/2019/pro-badge.svg)

## Upcoming features

We're also planning to add these features very soon which will make your PRO experience even better.

- **Create public community targets**: Create your own targets for the community with your own rules. All the targets will be rated by the community and we'll feature new targets every week.
- **Organize your own battles**: Create your own custom battles with your own targets or choose from the community targets. You can also make it invite only which is great for conferences or workplaces.

You can upgrade to [CSSBattle PRO][pro] for $3/month (a special launch price). This price may change in the future depending upon features but will remain the same for you if you decide to upgrade now. 

We hope you enjoy CSSBattle PRO!

## Giveaway 🎁

To celebrate the launch, we are giving away 1 month free access to 5 lucky players who Retweet the following tweet!

{% twitter 1149249241530929152 %}

[pro]: https://cssbattle.dev/pro
Cut a Release Branch!
Tags: automation, qa, qatools, python3
Published: 2019-07-12 04:06:16

---
title: Cut a Release Branch!
published: true
description: A Python script to help the QA team or anyone to cut the release branch.
tags: automation, qa, qatools, python3
---

Hello, this is my first post here!

Recently, I was given the task to handle the release process and the requirement was to create/cut a release branch off of the default branch for 3-5 repositories and deploy them on different environment (like dev) so that the QA team could take those branches, deploy and continue with their tests without affecting the development workflow.

So, here is the Python script that I created for doing this. Let me know of any improvements and/or suggestions! Cheers...

GitHub Link: https://github.com/sachs7/cut-release