teleren/devto huggingface dataset:
Why Cover Letter Templates Can Help Job Seekers
Tags: interview, jobsearch, humanresources
Published: 2019-12-23 21:28:50

---
title: Why Cover Letter Templates Can Help Job Seekers
published: true
description: Why cover letter templates can help job seekers
tags: Interviews, Job Search, Human Resources
---
A cover letter is a type of business letter that professionals send along with their job applications. Cover letters are statements which employers can read which give them insight into why you feel you are the best fit for the open position, as well as give you an opportunity to present yourself.

# Are Cover Letters Necessary?
Attaching cover letters to job applications isn't always necessary. Especially if the employer isn't asking for one. In the job description or job application portal, there should be a mention of the assets which are required to submit your application. This would normally consist of a resume, cover letter, reference letters, letters of recommendation, and more.

Learn more about the debate over the necessity of cover letters. [Read more](https://www.algrim.co/876-are-cover-letters-necessary)

# How to Make a Great Cover Letter
If you can, customize your letter to the requirements, skills, and mentions in the job description or job posting. This will be the best way to try to "read through the lines" in terms of what the employer values or feels are imperative to the job function. From there, customize your personal fit for the job.

Additionally, use the templates below to give you an idea of what a great cover letter consists of. It usually contains simple bullet points that support your previous work performance.


[Read more](https://www.algrim.co/cover-letters)
Why Job Description Templates Are Important
Tags: interview
Published: 2019-12-23 21:27:26

---
title: Why Job Description Templates Are Important
published: true
description: Why job description templates are important
tags: Interviews
---

A job description is a professional brief that states the duties, requirements and desired skills of candidates who are applying to job openings that are posted online. Job descriptions provide applicants a way to understand whether or not they are a fit for the position and provide them the opportunity not to apply to positions they don't feel comfortable with.

# Why Is Salary Important?
Listing the compensation expectations on a job posting may help to target the right types of professionals you're looking for. And can help you save time by not interviewing candidates who might be too senior. Ideally, you want to find the candidate that has the skill level you require and is comfortable in the compensation range you are expecting. Having an average salary range as part of our job description samples should help your planning process.

# Can It Save Time?
Having job description templates can save HR teams significant amounts of time. From having all the data in one place to ensuring that online job postings are uniform and efficient.

[Read more](https://www.algrim.co/job-descriptions)
Headdress: Home Page by Karim coda
Tags: codepen, html, beginners, css
Published: 2019-12-23 21:15:12

<p>Headdress: Home Page by Karim coda 
I create this with HTML, CSS and some libraries as like :
-font awesome
-bootstrap
-normalize
adding nav bar smart with HTML, CSS and using some icons from font-awesome and using a beautiful font from font google.   </p>

{% codepen https://codepen.io/karim-coda/pen/ZEYKwdZ %}
?signin=true
How to Replace Oracle JRE with Amazon Coretto JRE on Windows Desktops
Tags: java, jre, oracle, windows
Published: 2019-12-23 18:46:22

---
title: How to Replace Oracle JRE with Amazon Coretto JRE on Windows Desktops
published: true
description: How To on replacing JRE on Windows 10
tags: java, jre, oracle, windows
---

# 2019 is coming to a close, and this quick guide will get your JRE cleared up for the next decade #

[Starting in 2018, Oracle began charging for Java SDK and JRE licenses for business use.](https://www.infoworld.com/article/3284164/oracle-now-requires-a-subscription-to-use-java-se.html) 

If you as a freelancer or your company, are using the Java Runtime Environment (JRE), but not the Java Development Kit(JDK), you may have been unaware of this change. Not to worry, multiple companies and projects are offering compatible versions of JRE and JDK.

The main player in this space is the [OpenJDK project](https://openjdk.java.net/projects/), but there are others including [Amazon Coronetto](https://aws.amazon.com/blogs/opensource/amazon-corretto-8-generally-available/), which we'll walk through using today.

---

To download the latest version of Amazon Coretto's JRE 8 head to this [link](https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html). 

From that page download the zip file that corresponds with your version of Windows, either x64 or x86. Most people need x64 but if you don't know which to choose, here's [how to find out](https://support.microsoft.com/en-us/help/15056/windows-32-64-bit-faq).

Going forward the instructions will be for x64, but should be very similar if you chose x86.

Extract the zip file to C:\Program Files\Java, this will extract a folder named jre8.

Now go to your Start Menu, and find Java, and then choose Configure Java.

It will open a window, and you should then choose the third tab that says Java.

![Java Configure Window showing Tabs in the Window](https://thepracticaldev.s3.amazonaws.com/i/tebpmx6yaqr4zqhbjynd.png)

Then click the View button.

On the next window under User choose Find.

![Java Runtime Environment Settings View Window with User and System Options](https://thepracticaldev.s3.amazonaws.com/i/d9crqe09isifk5ee7flk.png)

Navigate to C:\Program Files\Java\jre8\  then choose Next and it should find bin\javaw.exe, and then choose Finish.

Back on the View Window, unclick the older Oracle JRE versions.

Choose Ok.

You can then test using a Java applet or program, to see if the JRE is working.

Hopefully this document helps you out, if you have any questions feel free to find me on [Twitter @camofclay](https://twitter.com/camofclay).
Find out your Mac's average daily usage!
Tags: opensource, javascript, python
Published: 2019-12-23 20:29:17

So I got curious about how much value I've gotten from my Mac and decided to write a script that would tell me how many hours per day I've averaged since I got it, as well as how many days I've had it.

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

The final script isn't perfect but it's on npx so you can run it directly from there by just doing `npx mac-usage-stats`.

You can view the code on [Github](https://github.com/MarkLambe/mac-usage-stats).

Unfortunately there is one tiny dependency, but there's a chance you have it installed already. It's a command line tool for Mac that helps you get hard-drive info called smartctl, which you can [install very easily](http://macappstore.org/smartmontools/).

Alternatively if you prefer, I originally wrote it [in Python](https://bitbucket.org/snippets/MarkLambeDev/oA9Mq/to-get-the-average-daily-usage-of-my-mac) and you can use that too!

I find it really interesting to know how much I've used my Mac over four and a half years, and now you can too! ☺️
Project idea: Tinypost, a postman-ish command-line utility for fun and learning
Tags: javascript, beginners
Published: 2019-12-23 20:09:50

---
title: Project idea: Tinypost, a postman-ish command-line utility for fun and learning
published: true
description: just a project idea. Your not going to learn anything in here.
tags: #javascript #beginners 
---

I want to present a project idea that might be fun to implement in your favorite language or the one that you're trying to learn.

This is the idea, you write all the routes and params of your api into a json file then you use tinypost to read that file and execute one or more request with the data in it.

It would be like [newman](https://github.com/postmanlabs/newman) but simpler and not necessarily compatible with postman.

## Basic features
- Read json files.
- Being able to identify a particular collection and request.
- Have an http client to make the request.

## Nice to have
- A "form" to inspect and tweak the params before sending the request.
- Environment variables like postman.

If you want to make it more challenging make it as user friendly as you posibly can. Include validations, pretty error messages, shortcuts to common features, lots of documentation. You can also make it with extensibility and reuse in mind, imagine from the start that you want to make compatible with postman collections in the future or that you're going to make a graphical interface (see how that influence how you write your code).
How to update FormGroup values in angular with developer tools.
Tags: angular, formgroup
Published: 2019-12-23 19:55:07

# How to update FormGroup values in angular with developer tools.
```javascript
(function() {
  var el = document.querySelector('div[ng-reflect-form]'); // Form's node
  var elProbe = ng.probe(el);
  
  const NgControlClassReference = elProbe.providerTokens.find((p) => {
    return p.name === 'FormGroupDirective';
  });

  var directive = elProbe.injector.get(NgControlClassReference);

  var control = directive.control;
  
  control.setValue({
    'value1': 'test1', // FormControl
    'value2': 'test2',  // Formcontrol
  });
})();
```
Managing your projects
Tags: project, npm, rust, github
Published: 2019-12-23 19:54:26

---
title: Managing your projects
published: true
description: `gko/project` allows you to create `npm`, `cargo`, `gem` or `pip` projects as well as `github` repositories for them
tags: project, npm, rust, github
cover_image: https://thepracticaldev.s3.amazonaws.com/i/7nb6oixl9vnyoric8osf.png
---

As most of developers I have `~/projects` folder where I stock all my projects.

To jump from one project to another I normally use either a `cd` with {%github zsh-users/zsh-autosuggestions no-readme%} or {%github rupa/z no-readme%}

But sometimes I get to a wrong folder (`z` sometimes jumps to parent folder) and if I want to create a project I have to:
 - create folder
 - `cd` to it
 - do `git init`
 - do `npm init` or `cargo init`
 - do `hub create`

A lot of stuff, just to create a project.

## Enter `gko/project`

Some time ago I created a small `zsh` plugin (it works in `bash` as well):
{% github gko/project %}

It allows you to just type:
```shell 
project <project name>
```

and it will prompt you to create `npm`, `cargo`, `gem` or `pip` package

![Create package](https://thepracticaldev.s3.amazonaws.com/i/emnl4gjyupmjb5hn7j5y.png)

as well as a private or public `github` repo (you need to install and configure [hub](https://github.com/github/hub) for that) and jump into it:

![Create repository](https://thepracticaldev.s3.amazonaws.com/i/wxfrllw4fk2palwgs95w.png)

If the project exists you will just `cd` to the project folder.

## Project folder

By default project folder is `~/projects` but you can either specify another folder when running `project`:
```shell
project -f /projects_path
```

or use `PROJECTS_HOME` variable

```shell
export PROJECTS_HOME=/projects_path
```

## `ZSH` autocomplete

It supports `zsh-autocomplete`. On <kbd>Tab</kbd> will show the list of available projects.

## Alias it

You can also alias it (in `~/.zshrc` or `~/.bashrc`):
```shell
alias p='project'
```

to get:
```shell
p test-project
```
Podcast: episode 1
Tags: aws, machinelearning, podcast
Published: 2019-12-23 20:04:39

---
title: Podcast: episode 1
published: true
date: 2019-12-23 19:53:11 UTC
tags: aws,machinelearning,podcast
canonical_url: https://medium.com/@julsimon/podcastepisode-1-507855b2aaff
---

Here’s the first episode of my podcast, I hope you’ll like it. An audio version is coming soon.

In this episode, I talk about new features on Amazon Lex (chatbots), Amazon Textract (text extraction), Amazon Personalize (recommendation & personalization), and Amazon Transcribe (speech to text).

I also demo profanity filtering with Transcribe (run for cover!).

{% youtube BretMPkpipg %}

Please subscribe to my YouTube [channel](https://www.youtube.com/juliensimonfr) to be notified of future episodes.
Codecademy Launched Learn Swift
Tags: swift, beginners, news, codecademy
Published: 2019-12-23 19:07:52

Hello Dev.to, 

We're proud to announce our first-ever mobile development course — Learn Swift! Swift is a programming language developed by Apple for:

- 📱 iOS
- ⌚️ watchOS
- 🖥️ macOS
- 📺 tvOS
- 🐧 Linux 

Our new course is great for beginners or anyone interested in building an app. Check it out: ✨ [Learn Swift](https://www.codecademy.com/learn/learn-swift) ✨

The first two modules are out now, and we would love to know what you think about them. Any feedback would be much appreciated.

P.S. More advanced content coming after New Year. 🙂
30 Days Of JavaScript Challenge
Tags: javascript, react, mongodb, 30daysofjavascript
Published: 2019-12-23 19:03:02

📙 30DaysOfJavaScript Challenge, 2020

👉 Just few days ago the first round of 30DaysOfPython challenge ended and lots of developers participated and this also inspired me to do a 30 days JavaScript challenge. In case if you like to check the python challenge(https://github.com/Asabeneh/30-Days-Of-Python).
 
👉 In 2020, I will start my quest of changing everyone to a developer with JavaScript.  I believe everyone can be a developer with a strong desire, guidance and good material.
 
👉 The time is for JavaScript. It is like  microbes which you may get everywhere either in the front or in the back, so just do  it and get comfortable with it. 
Most of the machine learning libraries are also available in JS and more to come in 2020.
 
👉 In this challenge,  I would like to prove my teaching skills by helping you understand complicated concepts with simple examples.
 
👉 This challenge will teach you something which you don’t get on Youtube or Udemy. It is going to be the first in its kind.
 
👉 The 30DaysOfJavaScript challenge will help you to learn the concepts of programming, computational thinking and connecting the dots.
👉 In just 30 day,  you will have all what you need to be a programmer. It will be challenging so plan in advance, at least everyday challenge on average will take 3 hours or more. 

👥 Join the group: https://lnkd.in/er7kdTE
💻 Watch the github: https://lnkd.in/efqy_df
Follow me on linkedIn: https://www.linkedin.com/in/asabeneh/


#30DaysOfJavaScript #JS #JavaScript #webdevelopement #reactjs
Holiday madness
Published: 2019-12-23 18:51:27

I started making a low poly 3d house a long time ago, like 2 years ago, when I was fully immersed in 3ds Max. I had gotten pretty good w/ Max but eventually wanted to try Blender for a number of reasons. Then this year, I re-made the house using Blender 2.8:-D .. a lot of it was created while streaming live on Twitch having a blast chatting it up with friends during the long drawn out process of re-learning a new 3d software. 

Well, I'm excitedly finishing as many details tonight as I can, to release a playable version of my "Mom's House Quest" X-mas mini-game, using the house we made, in Unity 2019. 

Best of success to everyone with their projects and goals in the New Year! <3
https://gamejolt.com/games/Moms-House-Quest/453743
Simple inline django endpoint
Tags: django, python
Published: 2019-12-23 18:35:08

In 99% of cases, it is terrible practice to do this. I managed to find the 1% case today.

You need to add a simple endpoint to your django application. Its so simple it doesn't deserve it's controller or even it's own view class. In my case, I had a healthcheck endpoint, that should simply always return 'Success'. Normally an endpoint requires additional functions/classes etc, but since I am just returning a string I wanted to just write my string inline. Turns out you can!

In urls.py, add the following to your routes list:
<code>path('healthcheck', (lambda x:HttpResponse("Success"))),</code>

Make sure you import HttpResponse at the top of the file, if you haven't already:
<code>from django.http import HttpResponse</code>

That's it!
Adding a Volcano to Emoji Island 🌋
Tags: react, typescript, gamedev, showdev
Published: 2019-12-23 18:33:50

---
title: Adding a Volcano to Emoji Island 🌋
published: true
description: Adding a volcano that erupts to emoji island! PR and Video!
tags: react, typescript, gamedev, showdev
series: Emoji Island
---

Hey all! Here's a video and accompanying Pull Request to add volcanos to [Emoji Island](https://🏝.fm)! Enjoy, and let me know what emoji's you'd like to add to the island!

{% github http://github.com/shiftyp/emoji_island/pull/3 %}

Or...edit it yourself in CodeSandbox!

{% codesandbox ffjnh %}
Take the new Developer Economics survey and win FREE prizes
Tags: news, career, webdev, javascript
Published: 2019-12-23 18:05:25

<a target="_blank" href="https://developereconomics.net?utm_campaign=referrer&utm_source=website&utm_medium=banner&utm_content=850x315&member_id=PBCkJgZx&lang=en"><img src="https://images.prismic.io/developer-economics/e4f6d8f2-9756-4d94-85e0-c1520d30afc4_850x315.png?auto=compress,format"></a>


Developer Survey is Supported by Google, Microsoft, Samsung, Mozilla, Twitter, Digital Ocean etc. 

**Chance to win below free prizes:**
 

- Prizes: $16,000+ worth of prizes available in prize draws.
 

- General draw for everyone who completes survey: Samsung Note, Microsoft Pro 6, iPhone 11, OnePlus 6T, AWS Deep Racer, Samsung Chromebook 3, plus lots of dev swag, accessories and vouchers.
 

- Exclusive prize draw: additional draws for all those who completed sector-specific sets of questions.
 

**What developer benefits you get ?**
 

Below Questions and more will be shared to you.
 

- Are you a better coder than the rest? Test your skills and compare them with devs around the world.
 

- Will JavaScript remain the queen of programming languages in 2020? 

 
- How savvy are you on the latest dev tools and technologies?
 

- Where is the developers’ world heading in 2020 and beyond?


Developers, speak out! Shape the world’s understanding of developers: take part in the new @DevEconomics survey. Answer a few questions about tools, platforms, and technologies for a chance to win cool prizes! #DevEconomicsSurvey
 

Survey dates: November 22nd, 2019 - January 17th, 2020.
 

**Take the survey using below referral link:**
 
[TAKE THE SURVEY](https://developereconomics.net/?member_id=PBCkJgZx&lang=en)


<a target="_blank" href="https://developereconomics.net?utm_campaign=referrer&utm_source=website&utm_medium=banner&utm_content=300x250&member_id=PBCkJgZx&lang=en"><img src="https://images.prismic.io/developer-economics/867025a9-012b-4d2c-9e54-f65dcae74839_300x250.png?auto=compress,format"></a>


Hope this helps someone.
Learn how to create reusable TextArea and Checkbox components in react.
Tags: codewithghazi, react, javascript, tutorial
Published: 2019-12-23 18:05:15

Learn how to make reusable components in react.

Reusable TextArea and Checkbox component which can be used application wide with less code and is tested with all scenarios to maintain UI consistent in whole application with value and prop-types validation.

When designing interfaces, break down the common design elements (buttons, form fields, layout components, etc.) into reusable components with well-defined interfaces. That way, the next time you need to build some UI, you can write much less code. This means faster development time, fewer bugs, and fewer bytes down the wire.

TextArea Component

{% youtube cyNV3XKX2Bk %}

Checkbox Component

{% youtube YI003o3xNfU %}
How to catch OverflowExceptions when casting values in .NET
Tags: dotnet, csharp
Published: 2019-12-23 18:00:10

# Introduction

It is important to understand what happens when we cast numeric values in .NET, the result might not be what you are expecting. Here, I am showing how to use [OverflowException](https://docs.microsoft.com/en-us/dotnet/api/system.overflowexception?view=netcore-2.2) to prevent unexpected behaviors.

## The Default Behavior

When writing code in C#, if we cast a numeric value to another type that doesn't not have enough bits to represent it, the compiler will truncate the number to the maximum value supported.

For example:

```csharp
using System;

class Program
{
  static void Main(string[] args)
  {
    long longValue = long.MaxValue;
    Console.WriteLine((byte)longValue);
  }
}

// Output: 255
```

## Validate using OverFlowExceptions

In order to ensure that the cast will not silently change the value, we need to wrap the code into a check block.

```csharp
using System;

class Program
{
  static void Main(string[] args)
  {
    long longValue = long.MaxValue;
    try
    {
      checked
      {
        Console.WriteLine((byte)longValue);
      }
    }
    catch (OverflowException)
    {
      Console.WriteLine($"Unable to cast {longValue} to byte.");
    }
  }
}

// Output: Unable to cast 9223372036854775807 to byte.
```

Wrapping the code inside a `check` block will ensure that it will throw an exception if the value is too big for the target type. For more information, check out the [official documentation](https://docs.microsoft.com/en-us/dotnet/api/system.overflowexception?view=netcore-2.2).
Compile Go to WebAssembly (the browser version)
Tags: go, webassembly, compile, browser
Published: 2019-12-23 17:50:33

---
title: Compile Go to WebAssembly (the browser version)
published: true
description: Easily compile and run your Go code in the browser
tags: go, webassembly, compile, browser
cover_image: https://thepracticaldev.s3.amazonaws.com/i/42wovfagjz4wnxetwclo.jpg
canonical_url: https://fodor.org/blog/go-to-webassembly/
---

# Introduction

I don't think many people realised yet the great possibilities we were given with the advent of WebAssembly.

We are now essentially able to compile almost any ([see list](https://github.com/appcypher/awesome-wasm-langs)) language to WebAssembly. Which means that the range of applications that we can run in a browser, on the client side, has grown exponentially!

For example, I would like to show you below how you can take your Go code, compile it to WebAssembly and run it natively in the browser.

# 🍖 & 🥔

Let's to this step by step!

1. Prepare a Go application that you want to convert to WebAssembly. NOte that you can only compile `main` packages. If your code is not part of a main package then make it so.

    Here is what I am going to compile:

    ```go
    package main

    import "fmt"

    func main() {
    	fmt.Println("Hello world!")
    }
    ```
    Classic.

2. Run the go command to compile your Go code to WASM.

    ```sh
    GOOS=js GOARCH=wasm go build -o main.wasm
    ```
3. Copy the glue JS file which will let you execute the compiled WASM in the browser. This is a file located inside your `$GOROOT` directory.

    ```sh
    cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" .
    ```
4. Create a HTML file with the following contents. Note that we are including the `wasm.exec.js` file that we just copied.
    ```html
    <html>
    	<head>
    		<meta charset="utf-8"/>
    		<script src="wasm_exec.js"></script>
    		<script>
    			const go = new Go();
    			 
    WebAssembly.instantiateStreaming(fetch("main.wasm"), 
    go.importObject).then((result) => {
    				go.run(result.instance);
    			});
    		</script>
    	</head>
    	<body></body>
    </html>
    ```
5. Now you have to spin up a local web server and load the HTML file through it. If you're not sure how to do this, there is a quick way to do it with Go. Just execute the following two commands in the terminal.

    ```sh
    go get -u github.com/shurcooL/goexec
    goexec 'http.ListenAndServe(`:8080`, http.FileServer(http.Dir(`.`)))'
    ```

If everything went well you'll be able to navigate to `localhost:8080` and be presented with a blank page. Now open the developer tools and check the console!

Great success!

# Automating the process
I have also put together a little script which lets you compile and start the server in one command.

Check out the repository below.

{% github github.com/dorin131/go-to-webassembly %}

By running `compile.sh`, all the steps above are going to be executed.

# Video

{% youtube NG0eKRuOgLo %}