teleren/devto huggingface dataset:
How about your beast mode?  
Tags: discuss, career, productivity, motivation
Published: 2019-05-29 14:20:01

---
title: How about your beast mode?  
published: true
description: Did you ever thought about or tried your beast mode? 
tags: discuss, career, productivity, motivation, 
cover_image: https://thepracticaldev.s3.amazonaws.com/i/djxlikstd0t1210rguf3.jpg
---
We all had times that we needed to do some extra working, stay awake at whole night and not return anybody's call and doing nothing but our work. 
I was thinking about the phrase 'beast mode' for a while and how it can be? One thing for sure is that it's different for anybody. My beast mode might include 4 hours work a day and someone else's might 8. 
Another thing is I don't think the beast mode is all about the hard work, it needs some brain and intelligence too.
 
![Beast mode](https://thepracticaldev.s3.amazonaws.com/i/4ck4z0zaah1748w25ux1.jpg)

####My beast mode
I want you to think about your beast mode too, every single one of us has inner capabilities that he never (completely) used. It can take days, months or years for everyone to find out about what he can do to make his work efficient. I wanna list some of the things that are part of my beast mode: 
* Not getting distracted by social media 
* Use [20 20 20 rule](https://www.juststand.org/blog/prevent-eye-strain-with-the-20-20-20-rule/) to prevent eyestrain and have more energy 

* If I'm working for the next hour, I just think about that work and nothing else and if I'm going out and having fun, just enjoy it and don't think about the work. 
* Change my place every often (like every hour). Trust me, this one really works. 
* Set a short goal for every time session that I work. Like if I'm gonna code for 30 minutes and rest for 2 minutes, I finish a function(ality) in that 30 minutes(or do my best to).
* At least code for 4 hours a day. 
* Use the right drink at the right time(coffee, tea, juice, beer, etc)

This is my list so far, every time I hit a new one, I try to test it and then add it here! 

Do you think the word 'beast' has some negative meanings? I mean it's not that good to compare our self to a beast to a beast and try to act like it and go on its mode, but admit it, the phrase is kinda cool though. 

What are your beast mode features?
🧠 Learn! 5 Github Repos With Great Free & Open Source Resources
Tags: webdev, beginners, opensource, programming
Published: 2019-05-29 14:08:06

---
title: 🧠 Learn! 5 Github Repos With Great Free & Open Source Resources
published: true
description: Fill up your mind grapes!
tags: #webdev #beginners #opensource #programming
cover_image: https://thepracticaldev.s3.amazonaws.com/i/71ahiw8n3zi19l9pf4al.png
---

Things move fast in web development. Here are 5 great Github repos with free and open source resources to fill up your mind grapes.

## Free Books!

This list of free programming books comes to us from the [Free Ebook Foundation](https://ebookfoundation.org/). Subjects range from specific programming languages to topics like Machine Learning and Security.

{% github EbookFoundation/free-programming-books %}

## Open Source Documents

These documents are all open source and can be modified/redistributed/etc. 

{% github hubtee/awesome-opensource-documents %}

## Build Your Own X

When I came across this repo I immediately loved it. Want to build your own bot? How about your own programming language? This repo will help you get started.

{% github danistefanovic/build-your-own-x %}

## Awesome Tools For Junior Devs

A great list of resources for junior devs. Resources include tutorials, blogs, books, podcasts, and tons more.

{% github stephhappens/awesome-tools-for-junior-developers %}

## CS Video Courses

Ever wanted to take a computer science course from Harvard? This repo lists tons of free video courses from some of the best universities in the world.

{% github Developer-Y/cs-video-courses %}

## More!

There are some great resources being shared in the comments. Go take a look!
When Files Are Better Than a DB
Tags: go, database, gamedev, programming
Published: 2019-05-29 13:30:40

---
title: When Files Are Better Than a DB
published: true
description: Huge amounts of data in a read-heavy embedded DB just doesn't work
tags: #go,#database,#gamedev,#programming
---

## That's a lot of data!
While creating a roguelike game in golang I got to the point of needing to save the objects. Naturally my first thought was to use a database, and of course I didn't want to use something heavy and external, but rather light and embeddable, so I chose [storm](https://github.com/asdine/storm), a toolkit for [bbolt](https://github.com/etcd-io/bbolt). bbolt is a key/value datastore that writes to disk. But when one Screen's worth of objects is a few hundred MB, and you have 240 Screens in the world, well... the query results tend to get mangled after saving just 2-3 Screens. I had very weird results wherein the last 12% to 40% of the results from one Screen query weren't being processed correctly. Combine this with the query taking a few seconds due to the DB easily growing by 300MB for each Screen added, and it becomes apparent that a different method is needed.

## The world is flat!
Enter the flat-file database. Instead of one giant datastore, I decided that each Screen would be a named folder, and inside there would be a separate file for each object. This yielded much better speeds for the program. For this method I used [scribble](https://github.com/nanobox-io/golang-scribble). This project uses JSON as the file structure, but I don't need the files to be human-readable so I modified it to use encoding/binary. There is a library that was created to be able to use encoding/binary as a drop-in replacement of encoding/json by implementing the Marshaler and Unmarshaler interfaces: [github.com/kelindar/binary](https://github.com/kelindar/binary)

By using encoding/binary instead of encoding/json the file sizes are reduced and there's also a bit of a performance increase.

Obviously I need to tune the program to not use so much space, but I like to test things under a high load to see how it performs, and in this case it paid off.

My version of Scribble can be found here:
https://github.com/nanohard/scribble
React Native App Development on Physical Android device on Windows
Tags: reactnative, android, ios, javascript
Published: 2019-05-29 03:43:03

---
title: React Native App Development on Physical Android device on Windows
published: true
description: React Native App Development on Physical Android device on Windows
tags: #reactnative #android #ios #js 
---

Source : <a href="https://www.skptricks.com/2019/05/react-native-app-development-on-physical-android-device-on-windows.html"> React Native App Development on Physical Android device on Windows</a>

This tutorial explains how can we run the react native app on physical android device on windows platform. Initially every mobile application developer test the android application in emulator with respect to various android version, then after developer install the android app in real device to see the actual performance of the application in real mobile device.

There are many reasons why we need to do react native app development on physical android device and major reasons are as follows:
Android Studio and Android Emulator is too heavy to load If our hardware configuration is not good.
If we are working on any hardware specific app such as camera then it’s not possible to use camera on Android Emulator. So we need to run our react native app on physical android device in order to use camera.
If we want to see that how our app looks on physical android device then it’s also a reason to do react native app development on physical android device.
React Native App Development on Physical Android device on Windows.

<a href="https://www.skptricks.com/2019/05/react-native-app-development-on-physical-android-device-on-windows.html"> React Native App Development on Physical Android device on Windows</a>


<img src="https://1.bp.blogspot.com/-wo_GX0knrMw/XOqdKHVQIbI/AAAAAAAAC3E/L_uLMY0XisghgAp1jSXqcbrZj_Xv27KgACLcBGAs/s400/react-native-app-development-on-physical-android-device-on-windows.jpg" />

<a href="https://www.skptricks.com/2019/05/react-native-app-development-on-physical-android-device-on-windows.html"> Click here to read more</a>
VSCode – Let’s do some Face Recognition with 20 lines in Python (3/N)
Tags: vscode, facerecognition, python
Published: 2019-05-29 13:05:52

---
title: VSCode – Let’s do some Face Recognition with 20 lines in Python (3/N)
published: true
description: Part 3 of the Face Recognition series, detecting face features in photos and a webcam live stream. https://elbruno.com/2019/05/29/vscode-lets-do-some-facerecognition-with-20-lines-in-python-3-n/
tags: #VSCode #FaceRecognition #Python
---
Start an email list, right now, this second
Published: 2019-05-29 13:05:16

---
title: Start an email list, right now, this second
published: true
description: If you create content. you absolutely cannot survive without an email list
tags: meta
---

You need an email list. If you create content on Dev, Medium, your personal blog - you absolutely cannot survive without an email list. 

With the news of Free Code Camp moving from Medium
https://dev.to/ben/i-m-concerned-with-the-move-that-freecodecamp-just-pulled-by-leaving-medium-io8
You **need** an email list. 

Imagine you wrote exclusively for Free Code camp. You built up a following of 20k followers. You were enjoying your life. Suddenly, out of nowhere, with **no warnings what so ever** Free Code Camp moves from Medium.

You no longer have followers. Your entire following just died within a matter of seconds. Their new publication doesn't have followers. There's no way to "upvote" an article. Your entire 20k following that you worked towards has just died. This has just happened to hundreds of people. Your followers no longer exist. They are **dead**.

Now, imagine you put social media links everywhere in your posts. You now have a social media following. Congrats! But, the platforms change their algorithms. You're no longer relevant. No one sees your posts. Your social media channel is now dead. You've just lost most of your following.

The only thing that won't betray you like social media or a platform is an email list. There are no algorithms in email lists. Let's say you built an email list and Free Code Camp died. You've lost 20,000 followers on there, but your email list is 10,000 strong. You move to a new platform and your followers join you there. It's a lot easier to start again from 10,000 than it is from 0.

Even if you think your platform is safe, like Dev.to. Why do planes install so many crash landing safety equipment if the plane doesn't plan to crash? Because it's safe. This is the same reason you **need to start an email list right now**. Free Code Camp was seen as a safe bet a few days ago, now the platform is on fire and your following is dead. 

If you think "Dev is great, it's not going to die anytime soon" think back to the plane example. It probably won't die for a long time, but you might want to install crash landing equipment just in case.

## How to start an email list
This should take you 10 minutes. Max. 10 minutes to save you from disasters like this. Personally, I use [ConvertKit](https://mbsy.co/convertkit/45348740). Note: this is an affiliate link. I'll get money at no extra cost to you if you use this. You can use [Mailchimp](https://mailchimp.com/) (free) if you like.

When you make an email list, you'll probably be forced to create a signup form in the tutorial. At the end of all of your Dev articles, simply link to your signup form and say something to get people to signup.


This is the easiest way you can get signups and create insurance for yourself. There are many ways to do this, but this is the simplest and possibly easiest method.
Setting up Photoshop Files for Dev Success
Tags: design, frontenddev, photoshop
Published: 2019-05-29 13:28:38

---
title: Setting up Photoshop Files for Dev Success
published: true
tags: design,front-end-developmen,photoshop
canonical_url: 
---

Despite the move to “design in the browser” and design tools like Figma and Adobe XD, there are still quite a few of us out there being provided Photoshop PSDs to be converted into functional webpages on a regular basis. A great portion of my front end developer career revolved around “slicing” Photoshop files and writing HTML and CSS to match. While each designer tends to organize their files in their own way, I have some tips for making your Photoshop files easier for developers to use.

- **Name Layers:** appropriately named layers and folders make it easy to see what’s on them. How often have you gotten a PSD with labelled very specifically?

![](https://cdn-images-1.medium.com/max/480/1*zKqOHe1MztEtG7rHsadn2Q.png)<figcaption>Rectangle 550 Copy and Layer 686 — helpful names, aren’t they?</figcaption>

Not very helpful is it? Which rectangle? What’s this layer? Who knows.

- **Use Folders:** group things like Header, Hero, Body, Footer etc. This will keep things organized and make it easier to find the element you are looking for in the future.

![](https://cdn-images-1.medium.com/max/532/1*TsFANiB_kZfjDiW7EZ7dbw.png)

- **Ensure layers/folders can be turned on and off** to hide web text and reveal backgrounds or images below: Web safe text will often need to be hidden on a PSD in order to reveal the background below it. If your layers are labelled and grouped appropriately a developer should be able to turn off those layers easily as well as know which layers need to be hidden.

![](https://cdn-images-1.medium.com/max/542/1*-oisMohFh-VW2tJa2Wo1dA.png)

- **Indicate hover states if any and link states:** if part of the design includes graphics or buttons that change as the user hovers over them, include a layer for those graphic hover states. It is also helpful to indicate text link styles in the sample content of the design and even a list of headings, bulleted lists and other content related items that need styling.

![](https://cdn-images-1.medium.com/max/346/1*uW_7C70azMtKm2C7ERXtIQ.png)

- **Do not flatten layers** : definitely don’t flatten layers especially if you aren’t sure which layers your developer might need to hide/show to get to the graphics/information they might need.

I know this is only a few tips but these small things can really make a difference in time and effort on the development side of things.

Do you have any development tips for Photoshop files, I’d love to hear them!

* * *
Weekly Picks #77 — Development Posts
Tags: webdev, react, javascript, chrome
Published: 2019-05-30 10:06:56

---
title: Weekly Picks #77 — Development Posts
published: true
tags: webdev,react,javascript,chrome
canonical_url: https://medium.com/daily-now/weekly-picks-77-development-posts-c3e126963a54
cover_image: https://cdn-images-1.medium.com/max/1024/1*4Umc0ua3YH-etec6XDCiCA.jpeg
---

> Always treat your employees exactly as you want them to treat your best customers

- [15 App ideas to build and level up your coding skills](https://app.dailynow.co/r/851b38ee399d6d6446edc38dc3d4e392) by [Florin Pop](https://medium.com/u/d5b5242a7176)
- [10 Programming Languages You Should Know in 2019](https://app.dailynow.co/r/aaa7ea96501bed8f90255ce05b34ec2c)
- [JavaScript coding best practices](https://app.dailynow.co/r/8eeb24ce49a447dd1538b23e0285cfb7)
- [Material-UI v4 is out ?](https://app.dailynow.co/r/aa8f91e298806a011f6d44b90df0e434) by [Olivier Tassinari](https://medium.com/u/da84fb0ca540)
- [22 HTML Elements You’ll Want To Use In Your Next Project](https://app.dailynow.co/r/5837f220284d266f1082f724af18e854) by [The Older Coder](https://medium.com/u/ec70c707d5a7)
- [Chrome DevTools can do that?](https://app.dailynow.co/r/81c690e6394a59fad798e27dce025838)
- [Need a playlist for programming? Create IT with us!](https://app.dailynow.co/r/cdc9424fd6396f5aafd05c124523480e) by [Maria Wachal](https://medium.com/u/88b69a2522aa)
- [Quick JavaScript Tip: the some() method](https://app.dailynow.co/r/4936f85715ad1701ed068ced3a68171c)
- [React Dark Mode with Styled Theming and Context](https://app.dailynow.co/r/a15084e4bcce3beef1848cc561fbc278) by [Ross Bulat](https://medium.com/u/7cbf2b1d5a4e)
- [How One Script Can Replace Your Whole Department.](https://app.dailynow.co/r/2a43a2b382f66076ae2f996993da834a) by [Kieran Maher](https://medium.com/u/a6cfd17a4644)

* * *

[_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._

[![](https://cdn-images-1.medium.com/max/1024/1*7bwIhcH467BKX5Ni8XWpQg.jpeg)](https://www.dailynow.co/)
#CodepenChallenge Spaceships with SCSS and Vue
Tags: codepen, vue, showdev, webdev
Published: 2019-05-29 12:45:37

<p>This is simply a contact form, with fancy animations (of course for microinteractions).</p>

<p>Send your message to the moon (Or let's say developers or support staff).</p>

<p>Animation is just CSS using SCSS, and events are built in Javascript using VueJS.</p>

{% codepen https://codepen.io/takaneichinose/pen/GaBJKj %}
Dr Erin Holloway
Published: 2019-05-29 12:20:20

Erin is a Clinical Psychologist with expertise across clinical, training, and research settings. Her expertise includes working with trauma and vicarious trauma, critical incident response, and wellbeing. She has worked extensively in community, non-government, and government organisations for nearly 20 years. Her clinical experience includes working with complex presentations, both for individuals and systems. She also works in a research setting and is well informed on current and emerging research that can be translated into the workplace. For more details at:https://drerinholloway.com.au/workshops
Using machine learning to understand customers behavior
Tags: datavisualization, machinelearning, tech, datascience
Published: 2019-05-31 22:35:18

---
title: Using machine learning to understand customers behavior
published: true
tags: data-visualization,machine-learning,tech,data-science
canonical_url: https://towardsdatascience.com/using-machine-learning-to-understand-customers-behavior-f41b567d3a50
---

[![](https://cdn-images-1.medium.com/max/2500/1*ROmgayIXEU8QKwtqmSTaFg.jpeg)](https://towardsdatascience.com/using-machine-learning-to-understand-customers-behavior-f41b567d3a50?source=rss-5515433d5913------2)

Not all clients are alike

[Continue reading on Towards Data Science »](https://towardsdatascience.com/using-machine-learning-to-understand-customers-behavior-f41b567d3a50?source=rss-5515433d5913------2)
ReactJs DatePicker field Cutomization
Tags: react
Published: 2019-05-29 11:51:07

Hi, 

I am using React-DatePicker library to show and get the date input. But, I want to customize and display the date format as I need. Below is my code.

Now, It is displaying like "29 May, 2019". I want to display it like "Wed, 29 May, 2019". Also, By default, its not showing down arrow in the right corner of the date field. Can you please let me know, how to enable in it. So that, if the user clicks on the arrow, it should open the calender.


    import React, { Component } from 'react'
    import DatePicker from "react-datepicker";
    import "react-datepicker/dist/react-datepicker.css";

    class AddDates extends Component {
      constructor(props){
        super(props);
        this.state={
            startDate: new Date(),
        }
      }

      handleChange = () => {

      }
      render() {
        return (
            <div>
                   <DatePicker
                        selected={this.state.startDate}
                        onChange={this.handleChange}
                        timeIntervals={15}
                        dateFormat="d MMMM, yyyy"
                    />
                 
            </div>
         )
       }
     }

    export default AddDates
PHP Training Institute in Kolkata since 2011
Tags: phptraining, phpinstitute
Published: 2019-05-29 11:43:41

Brian soft global services is a Best <a href=”https://https://www.briansoftglobalservices.com/php-training-institute-in-kolkata//”>PHP Training Institute in Kolkata</a> since 2011 and we are also leading <a href=”https://https://www.briansoftglobalservices.com//”>web design company in Kolkata</a>. Now Kolkata is growing in terms of the IT industry. Our PHP Training Course program consists of the latest trend in the IT industry. We had given training in many corporate institutions in Kolkata. Our trained candidates getting a job in leading organizations across India. They are getting confidence in PHP programming by our effective course module.

Now our organization becomes leading PHP Training Institute in Kolkata. We are also known as Best Web design company in Kolkata. Come and join us to become a successful programmer in the IT industry. Amongst all the server-side language or programming language recently used in building a website and web application; PHP, as well as MySQL, are used by more than 80 percent that we can only just to see how well-known the PHP or MySQL language is. Even though, in the time you like to learn to create your first and foremost website, you will surely use this programming language, better to say server-based scripting language, but when you are learning this two PHP and MySQL from a PHP and MySQL training in Kolkata that would be your best choice.
It is a Training cum job offer, where you will get training from professionals as well as work full time as a trainee. There are limited seats available for this job options. Register today to get this opportunity.
know more - <a href=”https://https://www.briansoftglobalservices.com/search-engine-optimization//”>SEO company in Kolkata</a>

Contact : 9007144774,9007144778,

Email : info@briansoftglobalservices.com