teleren/devto huggingface dataset:
3 Phrases to Keep Your Current Salary a SECRET from Recruiters (video)
Tags: salary, tips, career, adivce
Published: 2020-01-17 22:18:09

You know what sucks? Applying to a job because you're underpaid, and then being asked by the recruiter, "What's your current salary?" as if they're not going to use that information to give you a lowball offer.

I want to tell you the secret to not giving away your current salary.

SHOW NOTES
☆ Compensation history laws by state: https://www.hrdive.com/news/salary-history-ban-states-list/516662/
☆ More info on "Pay Secrecy"

* National Labor Relations Act of 1935: https://www.nlrb.gov/how-we-work/national-labor-relations-act
* Executive Order in 2014: Non-Retaliation for Disclosure of Compensation https://obamawhitehouse.archives.gov/the-press-office/2014/04/08/executive-order-non-retaliation-disclosure-compensation-information

HAVE A CANDIDATE QUESTION YOU WANT US TO ANSWER?
☆ candidateplanet@gmail.com

OTHER WAYS TO CONSUME THIS CONTENT:
☆ Youtube ☆ https://www.youtube.com/channel/UCdvny6qs8e4VUJIG01puw2Q
☆ Email ☆ https://www.dangoormendel.com/blog (sign up for newsletter at top of blog)
☆ Dev.to ☆ https://dev.to/candidateplanet

☆ Podcast: Apple ☆ https://podcasts.apple.com/us/podcast/candidate-planet/id1491282741
☆ Podcast: Spotify ☆ https://open.spotify.com/show/39mwa4oOlKC7dMaNbLNFYE
☆ Podcast: Google ☆ https://podcasts.google.com/?feed=aHR0cHM6Ly9mZWVkcy5zaW1wbGVjYXN0LmNvbS8ySUJpMEw2bA%3D%3D
☆ Podcast: Simplecast ☆ https://candidate-planet.simplecast.com/

MORE ABOUT DANGOORMENDEL:
☆ Website ☆ https://www.dangoormendel.com
☆ Speaking Inquiries (conferences, meetups, private events) ☆ hello@dangoormendel.com
☆ Potential Clients ☆ hello@dangoormendel.com
☆ Lusen on LinkedIn  https://www.linkedin.com/in/lus
☆ Lusen on Twitter ☆ https://twitter.com/staycalmcomic
☆ Adam on LinkedIn ☆ https://www.linkedin.com/in/adamdangoor
☆ Adam on Twitter ☆ https://twitter.com/adamdangoor
A Few Things I Do Every Time I Start A New Gatsby Site
Tags: gatsby, javascript, react, npm
Published: 2020-01-17 21:58:10

I'm a big fan of Gatsby.js. It powers [my blog](https://joshpress.net) and a [my other random sites](). I've been trying our some starters recently -- trying out [TinaCMS](https://tinacms.org/) and [to display my dev.to posts on my own domain](https://github.com/geocine/gatsby-starter-devto).

I started keeping a list of what I do every time I start a Gatsby site, so I'll remember next time, and thought I would share.

## Upgrade All Of The Dependencies

There are so many cool Gatsby starters out there. It makes starting up a site fairly painless and saves a ton of time. Before I start working with a starter, I like to set all of the dependencies to the latest versions. I use [my favorite yarn command](https://yarnpkg.com/lang/en/docs/cli/upgrade-interactive/) for this:

```bash
yarn upgrade-interactive --latest
```

This might break everything. I'd like to know early on if using a starter is going to force me to stick with an out of date version of Gatsby, React, etc or take work to update.

## Use Yarn

I prefer yarn to npm. I run a find and replace in package.json for "npm run" and replace it with "yarn". I also delete package.lock.

## Add A Language Attribute

When I look at a demo of a Gatsby starter, I always use the [aXe accessibility tester Chrome extension](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US) to make sure I'm not going to end up with a ton of bugs to fix in the generated HTML. **Almost** all the time, I see this violation:

```bash
<html> element must have a lang attribute
```

This issue is considered serious and is [explained in depth here](https://dequeuniversity.com/rules/axe/3.4/html-has-lang?application=AxeChrome). It has a simple fix in most Gatsby starters and themes.

Presuming that [Helmet](https://github.com/nfl/react-helmet/) is being used, you can use an `htmlAttributes` prop to set an attribute on the `<html>` element:

```jsx
<Helmet title={config.siteMetadata.title} htmlAttributes={{ lang: 'en' }} />
```

## Add Some Plugins

Gatsby plugins are super helpful. I always want to try and get the benefits of offline caching of a PWA and the security of implimenting CSP headers, so I add these two plugins:

* [Content Security Policy](https://www.gatsbyjs.org/packages/gatsby-plugin-csp/)
* [Offline](https://www.gatsbyjs.org/packages/gatsby-plugin-offline/?=offline)

Here is [a good article](https://alligator.io/gatsbyjs/gatsby-pwa/) on PWAs and Gatsby.


## What Else Do You Do?

That's my list, for now. 


> What did I miss? [Let me know on Twitter @Josh412](https://twitter.com/josh412) or leave a comment 👇
Project Euler: Problem 1 Walkthrough
Tags: projecteuler, projecteuler100
Published: 2020-01-18 03:38:30

---
title: Project Euler: Problem 1 Walkthrough
published: true
date: 2020-01-17 21:24:05 UTC
tags: ProjectEuler, projecteuler100
canonical_url: 
---

I recently started working on the #projecteuler100 challenge, and I thought I would share how I solved the problems on here. Here’s a complete walkthrough...

The post [Project Euler: Problem 1 Walkthrough](https://jaeheonshim.com/project-euler-problem-1-walkthrough/) appeared first on [Coding with Jaeheon Shim](https://jaeheonshim.com).
Why Quasar? Why Nuxt? Why Vue?
Tags: vue, javascript, discuss
Published: 2020-01-17 21:37:55

I'm fresh from learning how Vue works and building some small and moderate-sized things with Vue. Do I want to use Nuxt or Quasar on new projects? Do I want to stick with 'just' Vue? Why should I use one or the other? Obviously 'should' is subjective and which framework likely depends on the project. What are the project considerations that influence you toward one of these?
print or extend Python output to an HTML file
Tags: help, python, codenewbie
Published: 2020-01-17 21:29:59

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

Typically, writing out my problem ends with more clarity and I solve it on my own. That doesn't seem to be the case this time. So, would you be able to assist? 

## Background

I am working on my [personal portfolio](vickilanger.com) and it's in the form of a code snippet. I have one step left before I'm done. I would like to remove the currently redundant python snippet.

{% github https://github.com/VickiLanger/vickilanger.com no-readme %}

Right now, I have a [Python file](https://github.com/VickiLanger/vickilanger.com/blob/master/portfolio.py) with my portfolio contents and I have an [HTML file](https://github.com/VickiLanger/vickilanger.com/blob/master/index.html) with the Python stuff manually pasted into a a `code` block.

I figure there must be a way to extend or print the output and have it show up in my `code` block. I feel like this should be able to be done with something like Jinga2. 

I have tried tons of searching, but I must be using the wrong search terms. Being honest, I don't know what I don't know.

## Problem

Thing is, I don't desire to write a brand new file. I just want my python stuff in the `code` block of the HTML file.
Mystery Sticker Pack 2019
Tags: stickers, gratitude
Published: 2020-01-17 21:04:53

Quick shout out to the fantastic Dev.to team!! 

**Note:** This post is a bit late, I received the package a couple of weeks ago.

I like to collect stickers from only those technologies I have gained experience from & services/websites that are meaningful to my career. So happy to get the Special gift stickers for DEV open-source contributors. 

Thank you so much for the awesome Dev.to Team for the excellent platform for the developers & continue to keep engagement through the new features.

P.S: The commit history is hilarious!! 

![Commit History](https://thepracticaldev.s3.amazonaws.com/i/0n2p1l1v24lw366ydz3n.png)
CASTAÑA, por Xavier Mitjavila
Tags: xaviermitjavila, xaviermitjavilamoix, cuestadeenero, blackfriday
Published: 2020-01-17 20:38:47

---
title: CASTAÑA, por Xavier Mitjavila
published: true 
description: Xavier Mitjavila Moix: Podríamos llamarla la “castaña” e incluso la “hostia”, aunque a menudo la llamamos coloquialmente  “cuesta de Enero”. 
tags: xavier mitjavila, xavier mitjavila moix, cuesta de enero, blackfriday
cover_image: https://thepracticaldev.s3.amazonaws.com/i/a2fhz10od2hjpfii1aqt.jpg
---

Personalmente, la he vivido primero como manager de multinacional y luego, una vez llegada la paternidad, también como cabeza de familia. Estos días, es el tema de conversación por definición. Podríamos llamarla la “castaña” e incluso la “hostia”, aunque a menudo la llamamos coloquialmente  “cuesta de Enero”. 

Sobre este tema, no seré políticamente correcto y diré que la mayoría, sufre esta cuesta porque quiere. Porque no nos gusta planificar. Porque esperamos hasta el último minuto para comprar. !Porque somos latinos!

A punto de llegar a los cincuenta, me doy cuenta que he trabajado 25 años en dos conocidas multinacionales, primero en Marketing y luego en la Dirección General, en cuatro países europeos. Pues bien, una cosa ha estado siempre clara en las diferentes posiciones de responsabilidad ocupadas: en las empresas, ¡el año siempre tiene que empezar bien!

Si venimos de “no hacer el año”, ¿cómo empezaremos en Enero? !Pues con el turbo! Publicidad y promociones de precio. Los famosos 3x2 y las segundas unidades a mitad de precio... Porque ya se sabe que si hacemos un buen Enero, tendremos un mes en el bolsillo y así, sólo quedaran once para hacer el presupuesto anual. 

Y si en cambio, venimos de “hacer el año”, ¿qué haremos en Enero? Pues lo mismo. No querremos perder “velocidad de crucero”. Publicidad y promociones. Enero debe empezar bien. ¡Turbo!

¿Dónde está pues la cuesta de Enero si tenemos tantos descuentos disponibles? ¡Quizás ni los vemos!

Gastamos por Navidad y Reyes lo que luego no tenemos para gastar en Enero. No planificamos y a menudo, vemos a los Reyes comprando la Playstation el día antes de la Cabalgata. ¡Os podéis imaginar la “castaña”! ¡Los mismos Reyes que quizás ni han mirado las ofertas del Black Friday!

![Xavier Mitjavila sobre la cuesta de Enero](https://thepracticaldev.s3.amazonaws.com/i/n5ebn0zdk0n4sh8kk3bh.jpg)

Pues eso, con la doble visión de manager y de padre de familia, os animo a planificar ahora el mes de Enero de 2021. Aprovechad el mes de Noviembre  y comprad las “Playstations” durante el Black Friday. En Diciembre reposad. Y, a partir del 7 de Enero, aprovechad que las empresas tienen que hacer su año y atacad en búsqueda de los 3x2...

¡Y que la “castaña” se la lleve otro!
is oracle gnu/linux 8.1 really a 20G download ?
Tags: devop, sysadmin, gnulinux, distro
Published: 2020-01-17 20:21:29

is oracle gnu/linux 8.1 really a 19.8G download ?

https://www.oracle.com/linux/


https://edelivery.oracle.com/osdc/faces/SoftwareDelivery
Week 2 Project
Published: 2020-01-17 20:00:40

<!DOCTYPE html5>
<html>
  <head><h1>Welcome to Southwest University!!!</h1>
  <title>Southwest</title>
  </head>
  <body>
    <p><br>Many aspects of your Southwest University El Paso experience will be very similar to what you would expect at any college.</br>
<br>You will attend classes, study, complete assignments, and take tests. When you become a Southwest University student, the faculty and staff immediately focus on helping you. Before you even start, you will attend an orientation to get you involved in everything our institution has to offer.</br>
<br>Now you know what you can expect from us... quality learning and a strong support system to help you get and stay on track. But we can not do it alone.</br>
<br>That is why we ask for your commitment in return. A commitment to work hard, to stay focused and to ask for help when you need it. Certainly attending school is not easy. But with your commitment Southwest University El Paso makes it possible.</br>
<br></br><br></br>
<h2>Options:</h2>
<ol>
  <li><a href="https://southwestuniversity.edu/">Home</li></a>
<li><a href="#academics-header">Academics</a></li>
<li><a href=" https://southwestuniversity.edu/admissions/">Admissions</a></li>
<li><a href="https://southwestuniversity.edu/student-life/">Student life</a></li>
<li><a href="https://southwestuniversity.edu/social-media/">Social media</a></li>
<li><a href="https://southwestuniversity.edu/high-school/">Highschool</a></li>
</ol>
  <a target="blank"href="https://southwestuniversity.edu/"><img src="https://www.nicepng.com/png/detail/242-2426948_2018-corporate-partners-southwest-university-clinical-paso-tx.png" alt=”SUbanner></a>

<h3 id="academics-header">Academic Programs</h3>
<form action="/url-where-you-want-to-submit-form-data">
  
<br><label for="software">
  
  <input id="software"type="radio"name="App Dev Program"checked>App Dev Program
</label></br>

<br><label>
  <input id="software"type="radio"name="software">Technology Programs
</label></br>

<br><label>
  <input id="software"type="radio"name="software">Ophtalmology Technician Program
</label></br>

<br><label>
  <input id="software"type="radio"name="software">College of Business
</label></br>

<br><label>
  <input id="software"type="radio"name="software">College of Nursing
</label></br>

<br><label>
  <input id="software"type="radio"name="software">College of Allied Health
</label></br>

<br><label>
  <input id="software"type="radio"name="software">College of Imaging
</label></br>

<br><input type="text" placeholder="Type your name here">

<button type="submit">Submit</button>
</form> 

  </body>
</html>
How to become a more valuable developer?
Tags: discuss, career, productivity
Published: 2020-01-17 19:50:18

---
title: How to become a more valuable developer?
published: true
tags: discuss, career, productivity
---

I've been rethinking about my career path, I'm setting goals for this year and `becoming a great software engineer` doesn't seem like a well-defined goal.
So I thought that I would need to start investigating what are the skills that are most valuable for my employer (startups or big companies). So I can get a plan for reaching those skills.

What do you think?
# what are the best actions that a Software Engineer can do in order to provide great value to its project?
Understanding the ref keyword in C#
Tags: csharp, oop, dotnet, codenewbie
Published: 2020-01-17 19:43:35

I have seen many newbies getting confused with the meaning and significance of the ref keyword in C#. 
Instead of talking I would like to show the use of ref keyword in some simple examples.

  {% gist https://gist.github.com/siddhant5269/d470124158fb90f142130a7af4929c30 %}
BIRTHDAY CAKE DESIGN
Tags: html
Published: 2020-01-17 19:41:46

<DOCTYPE HTML>
 <html>
 <head>
   <title>CSS My Fondant Birthday Cake></Title>
 <meta Charset= "UTF-8">
 <meta name= "viewport"content="width=device-width, initial sclae-1" 
       <link rel="stylesheet"  href= "https://cdnjs.cloudfare.com/ajax/libs/normalize/5.0.0/normalize/min.css"
   
<script src= href="https://cdnjs.cloudfare.com/ajax/libs/prefix/0.7/prefixfree/min.js
                   
</head>             

 <body style="color:#fff;"></body>
                          
<div class ="cake">
<div class ="plate"></div> 
<div class ="layer-layer-bottom"></div>
<div class ="layer-layer-middle"></div> 
<div class ="layer-layer-top"></div> 
<div class ="layer-layer-center"></div>
<div class ="drip- drip1"></div>   
<div class ="drip-drip2"></div>
<div class ="drip-drip3"></div>
<div class = "drip-drip4"></div>
<div class = "candle" 
<div class ="flame"></div>
 </div>
</div>  
</link href ="https://fonts.googleapis.com/CSS? family= dele+one "rel"= "stylesheet" type= "text/css">
<div class ="container">
<div class ="balloon">
<div><span>A</span>
<div><span>B</span>
<div><span>D</span>
<div><span>C</span>
<div><span>Y</span>
<div><span>!</span>
 </div>
</div>
 <hi>sweety></hi>
  
</div>
  
  <sript> src= "https://code.jquery.com/jquery-2.2.4.js'></script>
 </center
   </body>
   </html>
did oracle copy amazons api ?
Tags: discuss, watercooler, copyleft, api
Published: 2020-01-17 19:39:04

did oracle copy amazons api ?

https://arstechnica.com/tech-policy/2020/01/oracle-copied-amazons-api-was-that-copyright-infringement/?utm_medium=social&utm_brand=ars&utm_social-type=owned&utm_source=twitter

who should have won this case ?
twitter to devto smn crosspost
Tags: devto, twitter, smn, crosspost
Published: 2020-01-17 18:56:06

just done my first ever twitter to devto SMN crosspost and loving the auto screenshot ! and i didnt even upload an image to DEVTO 

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/jwf6ia9fvrv8igiuciw0.png)
Go vs PHP, JSON and Earthquakes - part 2
Tags: go, json, tutorial, refactorit
Published: 2020-01-17 18:46:10

So here is the web-service providing JSON data about earthquakes for the last day.

And in the [previous post](https://dev.to/rodiongork/go-vs-php-for-short-json-retrieving-code-48pk) we tried rewriting Go code in PHP to fetch this JSON and print places and magnitudes of earthquakes.

**Now we want the same with Go - parse JSON without explicit structs**

I found it is not hard, but honestly I'm not quite happy with result. Perhaps you'll be able to hint further improvements.

Before going to details - here are full sources at github [PHP Source](https://github.com/RodionGork/go-first-tools/blob/master/quakes-json/quakes.php) and [Go Source](https://github.com/RodionGork/go-first-tools/blob/master/quakes-json/quakes.go).

### Now to details

First part - creating URL and loading JSON are similar to those in original post (by @cskonopka) - let's skip it (the full code is in github by link above).

We come to point when we have `body` with json data as string. We can Unmarshall data to base type `interface{}` and then cast everything to suitable type dynamically:

```go
    var data interface{}
    json.Unmarshal(body, &data)

    features := data.(map[string]interface{})["features"]
    for _, feature := range features.([]interface{}) {
        propsObj := feature.(map[string]interface{})["properties"]
        props := propsObj.(map[string]interface{})
        fmt.Println(props["place"], props["mag"])
    }
```

This works, but doesn't look very sexy. Obviously we can hide the typecasts to dedicated functions. Let's call them `obj` (returns `map` for json object) and `arr` (returns array for json list):

```go
func obj(val interface{}) (map[string]interface{}) {
    return val.(map[string]interface{})
}

func arr(val interface{}) ([]interface{}) {
    return val.([]interface{})
}
```

and now we can rewrite our loop laconically:

```go
    for _, feature := range arr(obj(data)["features"]) {
        props := obj(obj(feature)["properties"])
        fmt.Println(props["place"], props["mag"])
    }
```

It works all right. We can create general functions also to retrieve `int`, `string` etc.

Why I'm not very pleased is that I'd prefer to have `object-oriented` style here, e.g.

```go
    // instead of
    range arr(obj(data)["features"])

    // I'd like
    range data.obj()["features"].arr()
```

this would be better for readability. Regretfully `Unmarshall won't create
custom "general" type for me (instead of `interface{}`).

Perhaps there is a way to amend unmarshaller's behavior. I'll study this. If you know - please hint!
1917 - or is it Apocalypse 1917 🍅 🍅 🍅 🍅 🍅
Tags: discuss, watercooler
Published: 2020-01-17 18:45:51

9++ OSCARS 9++ BAFTAs and 🍅 🍅 🍅 🍅 🍅 from me ! or am i wrong ?

https://twitter.com/1917FilmUK

geek notes : ITS ONE SHOT (sic) !

SPOILER ALERT DO NOT READ BEYOND THIS POINT

this is how they did it (double spoiler it wasnt one shot it actually took 65 days)

https://twitter.com/IMDb/status/1217945000950075393
Kubernetes vs Azure Service Fabric for .NET Core Micro-service Applications
Tags: discuss, kubernetes, azure, dotnet
Published: 2020-01-17 18:43:13

Hi all :blush:, I recently heard that to deploy `.NET Core` Micro-service Applications `Azure Service Fabric` is good choice than `Kubernetes`, So Is this statement true ?

Lets discuss below points: :point_down:

:point_right: Which is best `Kubernetes vs Azure Service Fabric` :question:

:point_right: Which can cut cost and give value to us :question:

:point_right:Have anyone used `Kubernetes or Azure Service Fabric` for .NET Core Applications :question:

:point_right: Is it worth to learn `Kubernetes` for .NET developers :question:

What do you think :question: :+1:
Do I have to know git to use the JAMstack?
Tags: jamstack, jamuary
Published: 2020-01-17 18:37:43

Atomic deploys is a key component of the JAMstack. With atomic deploys, static assets are delivered as entirely self contained entities with neither dependencies nor associations with what came before it; Every deploy is independent from the another. As a result of this, changes to a site are trackable and rolling back to a previous version of a site becomes trivial. The immutability of deploys is made possible with the power of version control tools like Git. In addition to keeping track of changes, version control doubly eases onboarding since ramping up on a project is a matter of pulling down a GitHub repository and running a few set up commands. 

It’s undeniable that the agility of the JAMstack is deeply rooted in Git. Knowing Git and understanding just a bit of code will give you full access and freedom to configure your site to your heart’s content. Regardless, there are ways to take advantage of the JAMstack without knowing much Git or any code at all. This is largely due to the maturation of the JAMstack ecosystem, which has brought with it a rise in site builders that support the JAMstack. Site builders like [Stackbit](https://www.stackbit.com/) offer those unfamiliar with Git and/or code the ability to pick and bundle their sites with modern SSGs and a headless CMS of their choice. Theming libraries like [JAMstack themes](https://jamstackthemes.dev/) and [JAM templates](https://jamtemplates.com/) moreover provide options for styling the frontend at the click of a button. If you’re intrigued by this, [the Snipcart team wrote about how they got their marketing team to successfully build their own JAMstack sites with little to no code](https://snipcart.com/blog/jamstack-templates-example). With the gaining momentum of JAMstack, there are now more opportunities than ever before for non technical users to access the JAMstack. The accessibility of the JAMstack to both technical and non technical users is the key to the eventual triumph of the JAMstack in the years to come.
JavaScript Series – JavaScript Types Cont. – Part 3
Tags: javascript, codenewbie, tutorial, webdev
Published: 2020-01-17 17:57:47

Today we’re going to learn about a type of JavaScript, which you are going to use widely! This is call “string”

String is simple text type. We need a ” for working with the string

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

We can use single ‘ too.

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

We can add strings using + between two strings

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

When we add number + string. Java script made it to string

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

But when we delete string from a number. It assume that string is a number.

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

When we try to delete string from string it give us NaN

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


We normally don’t do this, When we do any arithmetic operation, we don’t contain any string in there. So that we’re not facing any issue.

Do you learned something about string today?

You can see the graphical version here
{% instagram B7bYk_jAUCn %}

Source Codes - { Check commits }
{% github nerdjfpb/javaScript-Series %}


Originally it published on [nerdjfpbblog](https://blog.nerdjfpb.com/javascript-part-3/). You can connect with me in [twitter](https://twitter.com/nerdjfpb) or [linkedin](https://www.linkedin.com/in/nerdjfpb/) !