teleren/devto huggingface dataset:
How do you deal with Procrastination?
Tags: discuss, procrastination, productivity
Published: 2019-08-28 16:44:24

**Procrastination!!!** **Procrastination!!** **Procrastination!**.

A lot of people have labeled procrastination as "*an enemy of success*", and i kinda agree. Procrastination will be your biggest enemy when you are trying to make progress. You tell yourself "Oh! I still got time" till you run out of time and you find out you've accomplished nothing.

One solution i came across was using a technique called *The Pomodoro Technique*, which is a technique that provides a way of managing your time in order to stay focused. In Pomodoro Technique you set a timer for 25 minutes and you work on a specific task until the timer goes off. You start the 25 minutes of work over again when you get distracted during the first 25 minutes but if you are able to successfully focus on work for the entire 25 minutes, you take a 5 minutes break and repeat the same process again 4 times. After you've completed the fourth, you take a longer break.

I don't use this technique on a regular but i try to when my procrastination meter reading is over the roof. So i'd like to know if you guys use this technique and if you don't please share your **secret weapon**.
Software Development Suite for Internal Business Apps
Tags: devops
Published: 2019-08-28 16:28:00

The Internal Applications backlog is often long. 

Heads of Development feel the pressure of holding back the business due to long lead times in producing the software that operational departments need. 

Should departments run their own Shadow IT, using 3rd party tools to support business process automation? 

Should the Head of IT enable junior developers to produce functional apps regardless of front-end design quality? 

How do Directors/Heads of Development prioritise the backlog?
LeetCode "Letter Combinations of a Phone Number"
Tags: leetcode, python
Published: 2019-08-28 16:22:00

---
title: LeetCode "Letter Combinations of a Phone Number"
published: true
description: 
tags: [leetcode, python]
---

I thought of separating the process of combinations is a good approach.

[Letter Combinations of a Phone Number](https://leetcode.com/problems/letter-combinations-of-a-phone-number/)

```python
class Solution:
    def letterCombinations(self, digits: str) -> List[str]:
        
        if not digits:
            return []
        
        DecimalToChar = {'2': ['a', 'b', 'c'],
                         '3':['d', 'e', 'f'],
                         '4':['g', 'h', 'i'],
                         '5':['j', 'k', 'l'],
                         '6':['m', 'n', 'o'],
                         '7':['p', 'q', 'r', 's'],
                         '8':['t', 'u', 'v'], 
                         '9':['w', 'x', 'y', 'z'],
                         '0':[' ']
                        }
        
        def combinations(strs1, strs2):
            combs = []
            for s1 in strs1:
                for s2 in strs2:
                    combs.append(s1 + s2)
            return combs
        
        
        strs = [DecimalToChar[s] for s in digits]        
        combs = strs[0]
        for s in strs[1:]:
            combs = combinations(combs, s)
            
        return combs
```
Building SaaS with Python and Django #1
Tags: python, django, saas
Published: 2019-08-28 16:21:32

{% youtube chBfIQa89sI %}

This was the first episode and it was an experiment in streaming. I know that the audio on this is TERRIBLE. In future episodes, I've greatly improved audio and video settings.  I'd suggest checking those out.

Show notes for this stream are at [Episode 1 Show Notes](https://www.mattlayman.com/building-saas/first-stream/).

To learn more about the stream, please check out [Building SaaS with Python and Django](https://www.mattlayman.com/building-saas/).
My First Portfolio
Tags: html, css
Published: 2019-08-28 15:42:31

Since a child, I have never been the most artistic. I always focused on the content of things and never the surrounding factors that made it unique & interesting. I knew this habit would come back to haunt me at the end of my code boot camp when it was time to make portfolios. My instructor really wanted us to dive deeply into this task, so I knew it wouldn't be an easy one for me. Even though I knew I was not the best at design, I still wanted a portfolio page that would attract potential employers. When the week began I dove into figma. There was only one thought on my mind, make this page not look bland. I sat on my computer for hours adding insane amounts of gradients, colors, fonts, text shadows, and pictures. After hours of play in design world, I was finally ready to show my instructor. I was confident I had a great design! I was rudely awakened when he told me the opposite. He explained to me that sometimes the more design and aspects you add, the worse the project gets. We sat down and basically made a plan for what my design would be. I wanted my design to be professional but also eye catching. I wanted to communicate the type of person I was threw my design and I quickly figured out that my prior approach was not the right one. I went back to the drawing board and started clean. I focused on using colors that would express who I was but without making the page feel childish. After more hours in design world, I finally was satisfied with my product. This was my first time really trying to dive into design and it taught me a lot. The next time I have to create a page I will definitely start my process by planning what it is exactly that I want this page to show. Planning before hand will save you a lot of time and stress in the long run.
Got nice surprises from Gitpod team
Tags: cloudide, github, gitpod
Published: 2019-08-29 05:43:17

---
title: Got nice surprises from Gitpod team
published: true
tags: Cloud IDE,cloud IDE,github,gitpod
canonical_url: https://kevinhq.com/got-nice-surprises-from-gitpod-team/
---

Gitpod is the only cloud IDE that integrates seamlessly with Github. At least that’s what I know when I am writing this. How I found Gitpod I found it almost a year ago. At that time, Amazon acquired Cloud9.io, the cloud IDE I used to work. I used its free plan since it’s already provided… [Continue reading »Got nice surprises from Gitpod team](https://kevinhq.com/got-nice-surprises-from-gitpod-team/) ![](http://feeds.feedburner.com/~r/kevinhq/~4/A6uNgiFDRNQ)
Converting C# to VB.Net - Need some help
Tags: csharp, help
Published: 2019-08-28 15:28:09

```csharp
using System;
using System.Collections.Generic;

namespace PreHOPL
{
    static class Program
    {
        private static readonly Dictionary<string, Tuple<int, Delegate>> dict = new Dictionary<string, Tuple<int, Delegate>>()
        {
            ["SAYLIT"] = new Tuple<int, Delegate>(1, (Action<string>)System.Console.WriteLine),
        };

        private static void Main(string[] args)
        {
            dict["SAYLIT"].Item2.DynamicInvoke("Hello World!");
        }
    }
}
```
I've just tried 4 diferent online tools ([Telerik](http://converter.telerik.com/), [ICSharpCode](https://codeconverter.icsharpcode.net/), [Carlosag](https://www.carlosag.net/tools/codetranslator/) and [DeveloperFusion](https://www.developerfusion.com/tools/convert/csharp-to-vb/?batchId=1a979e6f-201c-4454-a6a7-1e3b944c8501)) to convert this to VB.Net for a colleague. Three have spat a long error message and the fourth is spinning its wheels going nowhere. Ideas?
How was my first week of andela pre-Bootcamp cycle 10
Published: 2019-08-28 15:23:23

For me, it was not my first time to join pre-boot camp because I attended a pre-boot camp of boot camp cycle 5.
That previous pre-boot camp was good for me because help me to know much about the technology andela uses like git, GitHub, and pivotal tracker, this makes me have the confidence to work hard on ADC because I have been gotten where to be started.


But when I compare the previous one and this first week of current pre-boot camp is totally different. 
There are many things changed to make it helpful than before like to go things in detail, clearly show us the image of how a boot camp will look like and well-prepared agenda which have relevant and helpful contents according to the challenge we have.


So for me this previous week became helpful, it enhanced my technical skills, now I started using and enjoying these skills on my challenge, and I expect to learn more in this second week.


 Thank you for taking the time to read my blog.
Help with Firebase Realtime Database
Tags: help, firebase, database, javascript
Published: 2019-08-28 15:02:04

Hi guys, 

I’ve been working on my [Checkmark](https://dev.to/micahlt/checkmark-a-beautiful-to-do-with-materialize-foe) project lately.  Dabbling with Google’s Firebase, I added Google authentication to let users sync their to-do lists across devices.  However, I can’t seem to figure out how to transfer the list items (`li`) to my Realtime Database, specified by the user’s Google username.  I’m using pure Javascript and HTML currently, but if this can be accomplished with JQuery, I’m open to suggestions.  

Can anyone help with this?  I’m not exactly a Javascript programmer, so I’m making this up as I go.  You can check out my current source at [https://github.com/micahlt/checkmark](https://github.com/micahlt/checkmark).
Which project should I build now?
Tags: discuss
Published: 2019-08-28 14:50:48

---
title: Which project should I build now?
published: true
description: There are two side projects I want to get into now, but I don't know which one I should pick first.
tags: #discuss
---

There are two side projects I want to get into now, but I don't know which one I should pick first.

The first one is similar to a social network, you can post stuff on different channels. The difference is that you can't identify yourself. The good side of this one is that I already know how to do it.

The second one is a webchat where you can talk with random people and discuss random themes. The hard side of it, is that I don't know much about websockets, so I also don't know how I'm going to build it.

So which one would you recommend me to build first?
How Secure Are Encryption, Hashing, Encoding and Obfuscation?
Tags: dataprotection, hashing, cybersecurity
Published: 2019-08-28 14:46:32

---
title: How Secure Are Encryption, Hashing, Encoding and Obfuscation?
published: true
description: Cryptography has three key properties: confidentiality, integrity, and authenticity. Let’s learn which of these apply to encryption, hashing, encoding, and obfuscation.
tags: #dataprotection #hashing #cybersecurity 
canonical_url: https://auth0.com/blog/how-secure-are-encryption-hashing-encoding-and-obfuscation/
---
The discipline of cryptography, necessary for a variety of security applications, is no stranger to the arms race found in all other security disciplines. While modern cryptography aims to create mechanisms that protect information through the application of mathematical principles and computer science, cryptanalysis, by contrast, aims to defeat such mechanisms in order to obtain illegitimate access to the information.

This arms race between cryptography and cryptanalysis has incentivized the creation of stronger algorithms through the ages — from ancient Greece and Rome to our digital age and beyond. Some algorithms fall out of use due to flaws uncovered through cryptanalysis; others, simply due to advances in computation which render them ineffective when facing state-of-the-art technology.

In this post, we’ll define the security pillars of cryptography: confidentiality, integrity, and authenticity. We’ll then compare and contrast encryption, hashing, encoding, and obfuscation, showing which of these operations provide which of the security properties.

Confidentiality is about protecting information from being accessed by unauthorized parties or, in other words, is about making sure that only those who are authorized have access to restricted data. Integrity refers to protecting information from being altered, and authenticity has to do with identifying the owner of the information.

As an example, personal medical data needs to be confidential, meaning that only doctors or medical personnel should access it. Its integrity must also be protected because tampering with such data can result in a wrong diagnosis or treatment with possible health risks for the patient. Authenticity is this example means that patient data should be tied to an identified individual, and that, when a doctor modifies the data — because they authorized to do so — it’s of vital importance to know which doctor did it in a way that they can’t repudiate.

We’ll now define what is encryption, hashing, encoding and obfuscation focusing mostly on identifying which of the three cryptographic properties (confidentiality, integrity, authenticity) hold true for each of them.

[Continue reading 📖]( https://auth0.com/blog/how-secure-are-encryption-hashing-encoding-and-obfuscation/?utm_source=dev&utm_medium=sc&utm_campaign=crypto_security)
Top 10 Ways to Invest Your Money
Published: 2019-08-28 14:44:53

Saving money is a very difficult job but you take this pain for a better future. After you have sufficient savings you need to invest them right away but the question of security always arises. Putting your money somewhere is a risk and after you have made so many efforts for it you need to make sure it remains safe.


Following are the top 10 ways of investing your money

1. OPEN A SAVING ACCOUNT
The best way to keep your money safe is to put it in an interest savings account. This will assure the safety of your money while earning interest in your funds.

2. BUY A PROPERTY WITH [cheap essay writing service](https://www.rushmyessay.com/)
You can invest in property to either fix up or sell or to rent out. Either way can lead to financial profit if done properly.

3. PARTNERSHIP in [essaypro review](https://topamericanwriters.com/essaypro-com-review/)
You can invest your money by investing in it a beginning business in exchange for monthly or annual profit. You can also be a full-time partner in a business or just a financer.

4. STOCK EXCHANGE
Trading on the stock exchange. This can get you a small amount of ownership and you can always sell the shares when they rise.

5. BUY BONDS AT [topdissertations ](https://www.topdissertations.org/)
Purchase Bonds. Bonds are considered a long term investment. You may get a fee at 
[99papers review](https://topeduservices.com/reviews/99papers-com/)

 
6. PURCHASE GOLD [Grade Miners review](https://www.topreviewstars.com/grademiners-com-review/)
Gold apart from being an ornament is also a way to invest your money as its price is changing constantly.

7. INSURANCE
Get yourself insured with [](). This investment helps you recover the losses you face in life. Insurance can help minimize potential lose and save you money. From property insurance, rental insurance, health insurance.

8. RAW MATERIALS
Another way of investing money is to purchase raw material. These are usually metals like iron, copper silver. By investing money here you can be sure that your money is safe and by increasing the prices of metal, you are in a better position.

9. TAKE PROFESSIONAL SERVICES
When you are confused about investing money you can always look to professionals for assistance. A person with knowledge in the market can give you the best advice about which businesses will earn you maximum profit.
Hex, rgba, or hsla?
Tags: css, discuss
Published: 2019-08-28 14:27:56

I was reading an older edition of ***Design for Hackers*** last night and there was a statement that hsl was the latest and greatest due to its easier use compared to hex and it got me thinking...I almost always use rgba, and never really gave it a second thought.

So do you prefer to use hex, rgba, hsla, or mix them? Why?
Daily Challenge #51 - Valid Curly Braces
Tags: challenge
Published: 2019-08-28 13:40:33

---
title: Daily Challenge #51 - Valid Curly Braces
published: true
series: Daily Challenge
description: Write a function to check for missing braces.
tags: challenge
---
**Challenge**
Write a function `areCurlyBracesMatched` that takes in a string `s` containing only `{` and/or `}` and returns `true` if `s` is properly matched, and `false` otherwise. 

A string `s` is considered properly matched if the string is empty or if every open brace has a corresponding close brace.

**Examples**
`{{}}` is properly matched.
`{{{` is not properly matched.
`{}{}{}` is properly matched.

```areCurlyBracesMatched("{{{}{}}}"), true;
areCurlyBracesMatched("{{"), false;
areCurlyBracesMatched("{}}"), false;
areCurlyBracesMatched(""), true;```

Happy coding!

***
_This [challenge]() comes from theonlydaryl on CodeWars. Thank you to [CodeWars](<https://codewars.com/>), who has licensed redistribution of this challenge under the [2-Clause BSD License](<https://opensource.org/licenses/BSD-2-Clause>)!_

_Want to propose a challenge idea for a future post?  Email **yo+challenge@dev.to** with your suggestions!_
Object.fromEntries (ES2019) - An elegant inverse of Object.entries (ES2017)
Tags: javascript, react, beginners
Published: 2019-08-28 13:32:04

Hey! 👋

Check out today's Dev Tip! 👇

> Follow me on Twitter [@shahzaibkhalid](https://twitter.com/shahzaibkhalid) for more Dev Tips! ✨

# Object.entries 🚀

For each key-value pair in an object, `Object.entries` gives you an array where the first element is the key, and the second element is the value.

`Object.entries` is especially useful in combination with for-of, as it enables you to very elegantly iterate over all key-value pairs in an object:

```js
const object = { x: 42, y: 50 };
const entries = Object.entries(object);
// → [['x', 42], ['y', 50]]

for (const [key, value] of entries) {
  console.log(`The value of ${key} is ${value}.`);
}
// Logs:
// The value of x is 42.
// The value of y is 50.
```

Unfortunately, there’s no easy way to go from the entries result back to an equivalent object… until now! 🎉

# Object.fromEntries 🦄

```js
const object = { x: 42, y: 50 };
const entries = Object.entries(object);
// → [['x', 42], ['y', 50]]

const result = Object.fromEntries(entries);
// → { x: 42, y: 50 }
```

# Practical Usage 👀

One common use case is transforming objects. You can now do this by iterating over its entries, and then using array methods you might already be familiar with:

```js
const object = { x: 42, y: 50, abc: 9001 };
const result = Object.fromEntries(
  Object.entries(object)
    .filter(([ key, value ]) => key.length === 1)
    .map(([ key, value ]) => [ key, value * 2 ])
);
// → { x: 84, y: 100 }
```

Hope you learned something new today. Do let me know what do you think about this Dev Tip in the comments below. 👀

Peace. ✌️
Give Your App Slick Name with namae.dev
Tags: showdev, webdev, javascript
Published: 2019-08-28 13:29:11

---
title: Give Your App Slick Name with namae.dev
published: true
description: 
tags: showdev, webdev, javascript
cover_image: https://thepracticaldev.s3.amazonaws.com/i/uafydwlnfneikuiyxe2w.png
---

Have you ever struggled with naming your new OSS project or web app? While hoping no one claimed your desired one in GitHub, npm, Homebrew, PyPI, Domains, etcetera, choosing the best name is weary work.

That's why I created [namae](https://namae.dev).

# namae

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/np1a40lrch9m10b1s7nz.gif)

[namae](https://namae.dev) is an inter-platform name availability checker for developers and entrepreneurs.

Once you fill out a form with a name you want to use, namae will check through various registries and check if the name is already in use or not.

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/pww3x6ycshadfiiotep9.png)

# Supported Platforms

namae supports 15 package registries and web platforms, and it's growing.

- Domains
- GitHub Organization
- npm / npm Organization
- PyPI
- RubyGems
- Rust (crates.io)
- Homebrew / Homebrew Cask
- Linux (Launchpad & APT)
- Twitter
- Spectrum
- Slack
- Heroku
- ZEIT Now
- AWS S3
- js.org

Additionally, the search result comes with a list of projects which has a similar name on **GitHub** and **App Store**.

# Name Suggestion

namae also has a unique feature called __Name Suggestion__. It suggests auto-generated names made up of common prefix/suffix and synonyms. Take look at some examples.

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/aas52pwbrueyzrulfiae.png)

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/j6jv0rq4gin28hks1ika.png)

Clicking the suggestion, namae completes the form with it and start searching around the registries.

# Open Source

namae is completely open-sourced and the entire source code is available at [GitHub](https://github.com/uetchy/namae). It consists​ of Node.js Lambda for APIs and React app for the web frontend, and is running on [ZEIT Now](https://now.sh).

# Conclusion

namae saves your time searching for a universally available name around a set of hosting providers and package registries.

Go to [namae.dev](https://namae.dev/) and grab a report for the availability of your future product name. If you have any suggestion, please leave a comment or poke me on Twitter ([@uechz](https://twitter.com/uechz)).
Weekly Picks #90 — Development Posts
Tags: javascript, webdev, productivity, css
Published: 2019-08-28 12:52:37

* [Dan Abramov and Ken Wheeler Deactivate their Twitter Accounts](https://app.dailynow.co/r/338d92faeafb83b35e88f64a5d42e15d)
* [25+ JavaScript Shorthand Coding Techniques](https://app.dailynow.co/r/a746bb32a835ed2c4dd7e8411c45b569)
* [AdminBro v1.0.0 released — admin panel for Node.js apps with React on the frontend](https://app.dailynow.co/r/3cac478bf1dc7582118804fc8defffd5)
* [Top 8 Productivity Principles for Any Developer](https://app.dailynow.co/r/1d9e4a084f5abc8d1f3b2c3cd32f24ee)
* [How I Explain to My Grandma That I Am a Front-End Developer](https://app.dailynow.co/r/3f7b31440ba348f0e9e6c797fcd264bb)
* [Code Isn’t Art-It’s Engineering](https://app.dailynow.co/r/08f181f0d6906c983537abe7043116b7)
* [Awesome CSS Animation Hamburger Menu](https://app.dailynow.co/r/70417117c2d3045866755b31ec64938d)
* [I Built a Bot to Try and Get Money Back From My Internet Provider](https://app.dailynow.co/r/e832e6b154b9812a0f03ad48ea608f42)
* [How To Learn Any Programming Language Online in 2019](https://app.dailynow.co/r/51de0dc2799c7f8642e74906cb824549)
* [JavaScript: Things Newbies Should Know](https://app.dailynow.co/r/332dea17513053ee6cd58831fbe1775a)


* * *

[_Thanks to Daily_](https://www.dailynow.co/) _developers can focus on code instead of searching for news. Get immediate access to all these posts and much more just by opening a new tab._

[![Daily promotion cover](https://cdn-images-1.medium.com/max/1024/1*7bwIhcH467BKX5Ni8XWpQg.jpeg)](https://www.dailynow.co/)
Render a List from an Object in React
Tags: javascript, beginners, react, tutorial
Published: 2019-08-28 12:43:13

[image from undraw.co](https://undraw.co/)

Sometimes the data we want to render in a list will be in an object rather than an array, to render it as a list we can take advantage of Object.keys so that we can map over the item like we would on a standard array.⠀

Note you could also look at using es6 Object.values or Object.entries here as well.

Check out the video below.

{% instagram B1YzzRSF-JE %}

Head over to the reactjs.org docs for some more great examples.
Now Use Material-UI Icons With Super Ease
Tags: react, news
Published: 2019-08-28 12:27:56

Instead of searching for icons in [Material icons](https://material.io/tools/icons/?style=baseline), and then trying to figure out what the required icon component name would look like, now you can directly search for any icon among 1,000+ official Material icons converted to svg icon components.

{% twitter 1164302839033794561 %}

The search feature is super easy. After you select an icon a pop up opens with the import of such icon.

You can also choose between icon styles (Filled, Outlined, Rounded, Two tone, and Sharp) in the left side bar.

{% youtube xN46x0piLZE %}

As announced in Material-UI [tweet](https://twitter.com/MaterialUI/status/1164303661880754177) that their synonyms list is not perfect yet. And they will refine it based on the search usage.