teleren/devto huggingface dataset:
About being pragmatic...
Tags: discuss
Published: 2019-11-29 07:59:19

Obviously, we can look up [pragmatic](https://www.thesaurus.com/browse/pragmatic) if the _"definition"_ is a bit hazy, but what does it mean to **you** and your everyday work, as a **DEV**, **Dev/OPS** or **SRE**?

_(Credit: [Photo by Joshua Newton on Unsplash](https://unsplash.com/photos/_10JIJ0ascA))_
What was your win this week?
Tags: discuss, weeklyretro
Published: 2019-11-29 06:54:59

---
title: What was your win this week?
published: true
description: Got to all your meetings on time? Started a new project? Fixed a tricky bug?
tags: discuss, weeklyretro
cover_image: https://cl.ly/188e843c2985/download/Image%202019-02-15%20at%202.36.37%20PM.png
---

👋👋👋👋

Looking back on your week -- what was something you're proud of?

All wins count -- big or small 🎉

Examples of 'wins' include:

- Getting a promotion!
- Starting a new project
- Fixing a tricky bug
- Cleaning your house...or whatever else that may spark joy 😄

![victory](https://media.giphy.com/media/K3RxMSrERT8iI/giphy.gif)

Happy Friday!
Black Friday and Cyber Monday deals for developers
Tags: discuss, deals, blackfriday
Published: 2019-11-29 06:51:14

---
title: Black Friday and Cyber Monday deals for developers 
published: true 
description: black friday deals for developers
tags: discuss, deals, blackFriday
cover_image: https://www.google.com/imgres?imgurl=https%3A%2F%2Fbusinesstech.co.za%2Fnews%2Fwp-content%2Fuploads%2F2018%2F11%2FBlack-Friday-2.jpg&imgrefurl=https%3A%2F%2Fbusinesstech.co.za%2Fnews%2Fblack-friday%2F356373%2Flinks-to-early-black-friday-deals-in-south-africa%2F&tbnid=tdIBMj2z4ZlpyM&vet=1&docid=dPopUxw_qq3qOM&w=640&h=430&q=black%20friday&hl=en&source=sh%2Fx%2Fim
---

Hey Family, 

Am looking for the best Black Friday deals for this year.

If you know a good deal which could be useful for developers please let us know.

The deal can be a book , a course, an app subscription , a gadget, etc!

Regards
Transform JPEG file to PSD in C#
Tags: dotnet, csharp, webdev, api
Published: 2019-11-29 06:31:12

Using GroupDocs.Conversion for .NET API you can convert any supported image file format to PSD with just a few lines of code. All you have to do is to integrate <a href="https://downloads.groupdocs.com/conversion/net">this</a> DLL in your application. 
Continue reading : https://blog.groupdocs.com/2019/11/26/convert-a-jpeg-file-to-psd-programmatically-in-csharp/
how to use blur background header image with text-mask
Tags: html, css, bootstrap, webdev
Published: 2019-11-29 05:17:38

To start choose your image, I chose the image below
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/jqnxm34feh5yhemanv6v.jpg)

Then create the skeleton of your HTML page
```html
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <style>
    </style>
    <title>Your Title</title>
</head>
<body>
    
</body>
</html>
```

create a div which will contain the image of the background
```html
 <div class="header"></div>
```

and the other div (the mask) that will contain the text
```html
<div class="text-mask">
  <h1 style="font-size:60px">I am Schleidens</h1>
  <p>And I'm a Web developer</p>
</div>
```

now let's go to our css to give style to our header and type this code

```css
body, html {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}
```

select our div with the class .header

and add the codes below

```css
 .header {
  /* The image used */
  background-image: url("image-name.extensions");
  
  /* blur effect */
  filter: blur(8px);
  -webkit-filter: blur(8px);
  
  /* Full height size*/
  height: 100%; 
  
  /* Center and scale the image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
```

after we select our mask with the class .text-mask
 add the codes below

```css
.text-mask {
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0, 0.4); 
  color: white;
  font-weight: bold;
  border: 3px solid #f1f1f1;

/* now center the mask*/
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 80%;
  padding: 20px;
  text-align: center;
}
```

launch the file in your browser, you should have this result.
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/5wvszexue0z2kocukgce.png)


 try to understand the friends <(o_o)>.

see you soon guys :)
Meetings and Video calls are great for tasks that require instant decisions, but not for everything else
Tags: productivity
Published: 2019-11-29 05:16:59

Would love to get thoughts on this messaging from folks here at Dev.to?

>When you're operating on the maker's schedule, meetings are a disaster. A single meeting can blow a whole afternoon, by breaking it into two pieces each too small to do anything hard in.
 

Meetings and Video calls are great for tasks that require instant decisions. However, most meetings in large companies can be replaced by effective documentation, well-written emails or small visual clips. ​Traditional synchronous communication tools are increasing company wide anxiety quotient -- How many messages have you missed on Slack today? How many meetings are on your calendar? How much time do you waste to answer repeated questions?


>Asynchronous collaboration at 
workplace = Happier and Productive Employees!

Here are some instances where async communication tools are going to be useful for your organization:

CEO to HR: "Can we answer 80% of the new-hire questions with already recorded screen-clips, videos and effective documentation?"

Developer to QA: "Can you please share the exact steps to reproduce the problem? I don't see it on my machine" 

Product Manager to Developer: "Can you please explain how to use the new feature. The documentation is not clear"​

VP Sales to Customer Success: "Can you jump on a call to understand the customer escalation. Please document all the details before you open a ticket"

Developer to Offshore team:  "Can you upload the screen clip for every failed test case for the new feature?"

Sales to SE: "Can we send the customer a video clip of the new feature he requested last month?"

What's your favorite async communication tool? Is it still email or something more modern?
CompileSwift Podcast: Use Black Friday to improve those skills.
Tags: podcast
Published: 2019-11-29 03:59:00

A short podcast episode this week with a suggestion on using those Black Friday deals to invest in yourself.

For example, books and video courses. This is a great time to make an investment in those skills that keep you moving forward for another year.

[https://anchor.fm/compileswift/episodes/Use-Black-Friday-deals-to-educate-and-improve-your-skills-e989qp](https://anchor.fm/compileswift/episodes/Use-Black-Friday-deals-to-educate-and-improve-your-skills-e989qp)
COMPONENTS OF THE DATA SCIENCE TECHNOLOGY
Published: 2019-11-29 03:57:41

INTRODUCTION 
We all hear about data science technology frequently. No doubt, data science technology is the most overwhelming technology for the present time. But data science technology is the blender of different technologies. Some of the most common technologies are artificial intelligence, machine learning, IoT, data analytics, big data, etc. These technologies contribute to data science technology in different ways. Moreover, there are many sub-processes and components in data science technology.
COLLECTION OF THE DATA 
Data science is also known as the data-driven approach. As it is very clear from its name, the most important requirement is the data. The companies have to gather the data of the customers from different sources. Generally, the data is gathered from the database of the customers. As mentioned above, the big data is a part of the data science technology. Then, what does big data stands for? Many people think that big data is the kind of data with huge volume. But this is not the exact definition of the big data. Big data is identified by the following properties.
Velocity
Veracity
Volume 
CLEANING THE DATA 
Cleaning the data is the most important process. In this process, the data is clarified. In such process missing values are filled, duplicate data is removed, improper values are removed and the data is arranged in the correct way. All these tasks take place under this process. From this process, all the processes are considered under the data analytics until and unless the useful information is squeezed out from the data. Data analytics is also a part of the data science technology. The processes taking place under data analytics are extraction, transformation, visualization and modeling of the data. All these processes are done to extract useful information from an ample amount of the data.
ANALYSIS OF THE DATA 
The data analysis is performed by the methodology mentioned above. There are different types of data analysis and the type of analysis to be used is based on the type of problem you are working on. Data analysis includes some methodologies like prescriptive analysis, descriptive analysis, and predictive analysis. For this reason, a better understanding of the problem is necessary so that the type of analysis can be decided. Data cleansing operations are performed to get data structured. Moreover, the data mining process is applied to the data to discover the hidden patterns from huge amount of the data at 360DigiTMG
BUSINESS INTELLIGENCE REPORTS
The results can be obtained after analyzing the data. Then the necessary actions can be taken accordingly. The results are based on the data mining procedures applied. Moreover, the results also depend on mathematical models. These mathematical models accept the data as an input and provide predicted values accordingly. The technology, which comes into light at this stage is machine learning.
CONCLUSION 
Data science is a very effective technology. This technology has a great demand. Students can choose this technology as a career option and can take a course on it.
B4J v8 release
Tags: java, b4x, programming
Published: 2019-11-29 03:28:20

This is a programming language and IDE that I use from time to time. 
> B4J is a 100% free development tool for desktop, server and IoT solutions. With B4J you can easily create desktop applications (UI), console programs (non-UI) and server solutions. The compiled apps can run on Windows, Mac, Linux and ARM boards (such as Raspberry Pi). 

The language is B4X, a BASIC dialect. The code is translated to Java before being compiled by whichever Java SDK you have installed. Being a JVM language, the full power of Java is available for those who need it. If you have a background in Visual BASIC 6 (as I have) you will see some parallels between the two environments.

Anyway, B4J, the free desktop version, has recently been updated. See the full [release blurb](https://www.b4x.com/android/forum/threads/b4j-v8-00-has-been-released.111727/) for details.

Disclaimer: I have no connection to Anywhere Software. I'm just a happy user of their product.
🗓️HyperLog, Weekly update - 1
Tags: weekly, update
Published: 2019-11-29 03:09:55

Hello everyone 👋. Many of you know that I've been working on HyperLog, a site and a community that makes programming fun to learn with the gamified process.

So I thought it would be a good way to start by posting the weekly updates about HyperLog here on dev.to

**Tasks accomplished:**

1. Built a GitHub and discord user authentication system
2. Allow users to submit the tutorials that they love


**To-Do for next week:**
1. Build roadmaps system which aggregated the best article and puts them in proper order
2. Add discord interoperability to allow setting the roles and joining the server
3. Create a proper XP system that will facilitate level up
4. Build a house system

If you'd like to ask me any questions, feel free to shoot them in the comments below.
Need Help in React Native App
Tags: help
Published: 2019-11-29 02:25:30

---
title:Need Help in React Native App
published: true
tags: help
---

Hello developers.
First of all i want to thank everyone for such a great community and all the knowledge that everyone shares over here.

I wanted help regarding Tech stack or the tools that i need to use for building an app using react native. Below are my scenarios.


Backend : Python Django
Front end: react native
Communication: API endpoints
Hosting: confused between aws and vps and shared hosting

In my app there will be a feature similar to uber where the customer will send a request from the app and it has to notify all the people near by and whenever they accept it has to send the notification to the origin.

Is it possible with normal implementation or do i need to use kafka or rabbit mq or sockets.io to establish realtime communication?

What other tools or libraries will be helpful in achieving this flawlessly and smoothly

Do let me know if you need more clarifications?
YPSKA #16 lit-html
Tags: lithtml, javascript, codegeneration
Published: 2019-11-29 00:27:56

I really like code generation and therefore I need to use some form of templating engine, one that I like is [lit-html](https://lit-html.polymer-project.org/). lit-html differs from some of the common ones in the way that you write JavaScript that defines the templates, instead of having a special "templating-language". 

Go start using templates, to increase your productivity.
Day11:How to implement "Template Method" design pattern - 100DayOfRust
Tags: rust, designpattern
Published: 2019-11-29 00:22:28

The implementation of "template method" design pattern usually utilizes a base class and a derived class: The base class will define a workflow and the derived class override method in the workflow. 

However, Rust doesn't have "inheritance". While I am not sure if this is a correct way to do, but I found that we can use the `trait` feature to implement the same thing.

First we define a `BaseHandler` trait to define the workflow: in the `get` function we call `authorized` and `do_get` function. Then our "derived" class `UserHandler` will implement this trait with overriding those 2 methods.

```rust
trait BaseHandler {
    fn authorized(&self) -> bool {
        false
    }
    
    fn get(&self) -> String {
        if !self.authorized() {
            return "403 Forbidden".to_string();
        }
        println!("Do some basic work");
        // handle rest work to do_get
        self.do_get()
    }
    
    fn do_get(&self) -> String;
}

struct UserHandler;
    
impl BaseHandler for UserHandler {
    fn authorized(&self) -> bool {
        true
    }

    fn do_get(&self) -> String {
        "Processed by User handler".to_string()
    }
}

fn main() {
    let handler = UserHandler {};
    println!("{}", handler.get());
}
``` 

Result:
```
Do some basic work
Processed by User handler
```
Cyber Weekend Learnings
Tags: webdev, blackfriday, discount, courses
Published: 2019-11-29 15:42:11

---
title: Cyber Weekend Learnings
published: true
date: 2019-11-29 00:00:00 UTC
tags: webdev, blackfriday, discount, courses
canonical_url: https://remysharp.com/2019/11/29/cyber-weekend-learning
---

I'm not good a prompting my own stuff usually (I _think_) but I think it should make a lot of sense to promote my own hard work on my own blog.

It's the infamous black friday and "cyber monday" (the one where the shops try to stretch out the sales) and I have my own contribution, but figured it would be worthwhile collecting a list.

## The discount list

Note that aside from my own courses, I have no official affliction with the people listed below and there's no tracking or kick back between my own site and theirs. Other than I've considered these individual's content definitely worth paying for.

- Learn the command line with [terminal.training](https://terminal.training/?coupon=CYBER_WEEKEND) - 80% discount down to $19 using CYBER\_WEEKEND
- [Next.js complete course](https://next.training.leftlogic.com/?coupon=CYBER_WEEKEND) (with Next@9 support coming late December) - 80% discount down to $19 using CYBER\_WEEKEND

It's worth perusing [dev.to](http://dev.to) for course and deals and it would seem that twitter has exploded with everyone and their cat offering discounts on their courses. That said, here are some that I'd personally recommend grabbing:

- [Every Layout](https://every-layout.dev/checkout/) by Heydon Pickering & Andy Bell - 66.6% off with their black metal friday code "666" on checkout
- [Introducing to Cinema 4D for designers](https://www.3dfordesigners.com/black-friday-2019) by Devon Ko - 70% off Friday
- [CSS complete course](https://thecssworkshop.com/courses) by Rachel Andrew - 30% discount until Monday
- Pocket guide to [vanilla JavaScript](https://vanillajsguides.com/) by Chris Ferdinandi - 50% discount auto applied during the cyber week ending midnight Monday
- [Modern ES6](https://es6.io) (and [learn node](https://learnnode.com/) and _many_ others) by Wes Bos - 50% discount applied automatically until…until Wes stops the discount I guess!
- [Testing JavaScript](https://testingjavascript.com/) by Kent C. Dodds - 40% discount automatically applied until next week
- [Quokka pro](https://quokkajs.com/pro/) has a limited 50% discount - a tool that I bought immediately after seeing it demonstrated at ffconf v10

I also spotted a pretty big list on the [dev.to](https://dev.to/duomly/black-friday-offer-80-discount-on-programming-courses-37o1) that covers a lot of courses - though I can't vouch for the quality.

That also said, to quote the Money Savings Expert: _Black Friday can be addictive. Don't get caught up in the hype, buy only what you can afford and ALWAYS compare prices before you spend._

Enjoy 👍

_Originally published on [Remy Sharp's b:log](https://remysharp.com/2019/11/29/cyber-weekend-learning)_
MY EXPERIENCE IN BOOTCAMP SO FAR
Published: 2019-11-28 23:15:57

Have you ever traveled to another country where you get to discover their culture, meeting new people, visiting good places and getting new experiences? I compare this with my experience in Bootcamp so far.

Before I join Bootcamp I had my point of view of how things will be and how challenging it will be in fact I was thinking that it will be a place where you just go and code without doing anything else, but guess what!! so far it has been a good experience because things went differently of how I was thinking it will be.

The first day of the Bootcamp we started the day by doing a warm-up which included playing some funny games it is really a good motivation for the people who had a point of view like mine it is like giving you another picture of the Bootcamp and also after warm-ups they introduced to us the learning facilitators who will be assisting us the whole week and this is really terrifying at first because you might think that they will be there just to show your mistakes but so far how I was expecting things to be is very different with the truth they are there to help you and assist you not to criticize you.

In this Bootcamp we really liked our learning facilitator his name is Eric Shema he is a cool guy we liked how he was always available to assist and answer when we asked something also I liked how he helped me to improve in the way I write my code and he was always appreciating what you did which is very motivating it is like someone is telling you that you did not west your time. And also in the Bootcamp, we learned that you don't have just to finish your work instead you have to know why you are doing things this way.

In the Bootcamp you get to meet new people, you make new friends from different background who has their way of thinking different to yours it is a bit challenging at first but that is one of the things which makes the Bootcamp very colorful, you learn how to increase your communication skills because you have to be in touch with the learning facilitator telling your progress. Bootcamp taught us how to work in the team which is the skills you will need even after joining Andela.

Bootcamp experience thus far has been amazing. I have learned and experienced so many new things in such a short period, and time has gone by so quickly. I am still discovering all the opportunities that Andela has to offer me. Andela is a great and very welcoming place.
Black Friday Sale - Complete guide to Modern JavaScript 50% off
Tags: beginners, javascript, books, tutorial
Published: 2019-11-28 23:06:57

Black Friday is here and it's time for sales. 

I am the author of the **Complete guide to Modern JavaScript**, a book that covers all the new features introduced to JavaScript since ES6.

If you are a beginner, the book also briefly covers the basics of JavaScript so, unless you are a complete beginner, you should be fine.

Today you can get it at **50% off ( just 4.99)** on Leanpub at [this link](https://leanpub.com/thecompleteguidetomodernjavascript2019/c/devblackfriday2019).

If you prefer to get a paperback copy, you can find it on [amazon](http://a-fwd.to/5gUojI8).

A free to read version is also available on Github at [this link](https://github.com/AlbertoMontalesi/The-complete-guide-to-modern-JavaScript). This version does not include the chapters: Introduction to JavaScript and Introduction to TypeScript and does not include quizzes.

## Other sales worth your time

[Educative](https://www.educative.io/explore?aff=BqmB), [Scrimba](https://scrimba.com/) and [WesBos](https://wesbos.com/) have many courses on discount that you should check out. 

Do you know of any other cool Black Friday sale for programming courses/book? Leave it in the comment and share it with everybody.


---

&nbsp;

Thank you very much for reading. Follow me on [DevTo](https://dev.to/albertomontalesi) or on my blog at [inspiredwebdev](https://inspiredwebdev.com/) for more.

<div class="promotional_banner">
<a href="http://a-fwd.to/5gUojI8" target="_blank">
<img alt="book banner" src="https://raw.githubusercontent.com/AlbertoMontalesi/The-complete-guide-to-modern-JavaScript/master/assets/banner.jpg" />
</a>
<span>Get my ebook on <a href="http://a-fwd.to/5gUojI8" target="_blank">Amazon</a> and <a href="https://leanpub.com/thecompleteguidetomodernjavascript2019" target="_blank">Leanpub</a></span>
</div>