teleren/devto huggingface dataset:
Full Ethereum Dapp Tutorial - 5h Course For Beginners
Tags: ethereum, solidity, dapp, blockchain
Published: 2019-10-07 17:13:15

---
title: Full Ethereum Dapp Tutorial - 5h Course For Beginners
published: true
description: 
canonical_url: https://youtu.be/8wMKq7HvbKw
tags: Ethereum, Solidity, Dapp, Blockchain
---

I have just released a MONSTER FREE tutorial for building Ethereum Dapps on the FreeCodeCamp channel. We build 5 Dapps together.

It covers Solidity smart contracts, Solidity testings with Truffle, and frontend integration with Web3.

This is an extract of [Dapp 30](https://eattheblocks-pro.teachable.com/p/dapp-30), my full Ethereum course where we build 30 Dapps.

{% youtube 8wMKq7HvbKw %}
Coding challenges in interviews
Tags: discuss, interview, career
Published: 2019-10-07 16:53:01

---
title: Coding challenges in interviews
published: true
description: How to evaluate candidates' skills in a considerate and fair manner?
tags: discuss, interviews, career
---



I'm interested in hearing people's thoughts about **coding challenges** in the interview process. After years of iteration as a hiring manager, I have had the most success with take-home challenges. Here's an abbreviated example prompt:

> Using the frontend technology of your choice, build an application that lets users search through an image API (such as Unsplash or Pixabay) and save the images they like locally.

> Please send us your code when you are satisfied with your work. Note that we value clear, readable, and maintainable code. We expect this exercise to take a maximum of 4 hours. Please email us if you need any clarification.

The point of not having a deadline for submission is to be cognizant of people's busy lives and schedules - looking for a job is a time-consuming process. The open-ended requirements allow people to use the technology they're the most comfortable with because I want to see people's best work.

However, I've received feedback saying that some candidates prefer alternatives to take-home challenges:
* whiteboarding solutions with someone in real life
* live-coding a small app or algorithm (remotely or on-site)

But to me, the most surprising piece of feedback was that some people don't want to be tested: they expect their title and experience to speak for itself. My opinion is that code challenges aren't about proving or disproving one's experience: they're about understanding how one thinks, collaborates, and problem-solves, and there's no way to glean that from a resume.

## Discuss 🔉

So, in order to improve the lives and chances of everyone involved, I turn to you, friendly dev.to folks:
* what do you think about coding challenges and take-home tests?
* if you could pick, how would you demonstrate your coding and problem-solving skills to an interviewer?
* are there some biases or problems you'd like to call out with any of the methods you've experienced?
How to Reach Out to Strangers on the Internet
Tags: career, productivity, networking, twitter
Published: 2019-10-07 16:51:22

---
title: How to Reach Out to Strangers on the Internet
published: true
description: Providing insight into how to have a better experience reaching out to strangers on the internet. This post was inspired by some of your favorite online developer personalities, with addition to my own experience. PS) We don't hate you, promise.
cover_image: https://thepracticaldev.s3.amazonaws.com/i/ymsu35xt3h8kjpq95j0v.jpg
tags: career, productivity, networking, twitter
---

This post was inspired by some of your favorite online developer personalities, with addition to my own experience. PS) We don't hate you, promise. Adding a timely tweet I saw directly after drafting this blog post:
{% twitter 1181240987747667969 %}

Reaching out to strangers on the internet doesn't seem like a big deal, after all what problems can a simple "hello" cause. Let me stop you right there, and let's back up.  I LOVE our online community, and I do my best to help people (without making it my full time job). But, a simple "hello" message will not get a response from me, or most others, but I'll say me for the simplicity of this post.

It's not because I'm rude, or introverted, or hate everyone. Nope, my DM's would not be open if that was the case. If I responded to every "hello", "hi" or "how are you doing", I would never get anything done. Ever... and I really don't have that many followers compared to your favorite online devs. So, if you really want to reach out to someone.. how should you do it?

##Respect Their Time

That's it! Don't ask a question that can easily be Googled, or Stack Overflowed (we don't have time to debug your app anyway). Get right to the point. I'm 95% more likely to respond to a message along the lines of "Hey, love your work, I was wondering how you got to where you're at?" or "Hi, do you have advice around not rage quitting your job?" or "Hey, could I bounce some ideas off of you about (problem)?". By opening the message and responding, I know what we're going to be talking about. Otherwise, it's almost too scary to respond. Really.

One more thing to keep in mind - you may have been following me for a while, and you may feel like you know me pretty well.. but keep in mind, we are still strangers. Doesn't mean we can't be "online friends" eventually, but just that no relationship has been built yet. Yet. Thank you for reading this, I hope this post will help you in your journey to network, as it's helped me be apart of a great and safe community.
We're accepting story submissions 📝
Tags: webdev, discuss, career
Published: 2019-10-07 15:58:23

We'd love to publish your work on the [Bytesized Code](https://www.bytesized.xyz) dev.to organization (and on our [self-hosted blog](https://www.bytesized.xyz/blog))! We're always seeking out new stories about things that you're learning, new frameworks, development methodologies, or whatever else you think our audience would enjoy.

![](https://blog.bytesized.xyz/content/images/2018/11/tenor.gif)

We try to publish a few times a week. That means that if you submit a draft and we accept it, it often gets published within the next week. We're pretty quick!

We also don't hold any copyright or make you sign away any of your work. Bytesized is built on the back of open-source: we have that same ethos when it comes to writing. Link to your own site, or your Twitter, or whatever seems right for the story–we're happy to work with you and keep your writing, your voice, and your content as you'd like it to look!

We don't have a ton of requirements, or "rules" around publishing, but here's what we ask our contributors to think about before submitting a draft:

- If your piece has been previously published with another publication, please confirm that you're allowed to post on other publications. If you published on your own website, blog, or Medium account, you're welcome to link back to your own work.
- We're OK with profanity, humor, etc – that being said, we won't publish things that are discriminatory, or are unnecessarily rude against other people, programming languages, or communities. It should be pretty common sense - that being said, you may want to double-check out our [Code of Conduct on GitHub](https://github.com/byteconf/conferences).

If you have an idea for a draft, reach out to us at blog AT bytesized DOT xyz. We'll make sure to add you as a contributor on dev.to, and on our self-hosted blog (running on Ghost), so you can put in your draft. Once it goes through some review, we'll let you know when we're planning on publishing. Don't worry – we'll give you a specific publish date, and make sure that you know when it goes live.

The publication process involves the following:

- Posting on dev.to
- Cross-posting on [our self-hosted blog](https://www.bytesized.xyz/blog)
- Tweeting about the post, as well as sharing on [our newsletter](https://bytesized.xyz/newsletter)
- Sharing the post in any additional places that we think it would be a good fit, such as Hacker News, or a subreddit for a particular language (like /r/reactjs)

The details around how to post will probably update frequently, but instead of getting bogged down in the details, you should just submit a post! We'd love to learn from you alongside the rest of our community. If you have any questions, reach out on Twitter to [@bytesizedcode](https://twitter.com/bytesizedcode) or to [me](https://twitter.com/signalnerve) personally via DMs, or via email: blog AT bytesized DOT xyz.

Happy writing!
How to use TypeScript 3.7 to generate declarations from JSDoc
Tags: typescript, jsdoc, javascript, tutorial
Published: 2019-10-07 15:52:31

---
title: How to use TypeScript 3.7 to generate declarations from JSDoc
published: true
date: 2019-10-07 15:42:27 UTC
tags: typescript, jsdoc, javascript, tutorial
canonical_url: https://voxpelli.com/2019/10/use-type-script-3-7-to-generate/
---

## Background

While TypeScript for long has supported validating the types in ones javascript files, even reading ones JSDoc-comments, it hasn’t really worked that well for those who in turn wanted to use ones code.

By default TypeScript doesn’t read the JSDoc of any dependencies. One have had to set `maxNodeModuleJsDepth` to a higher value, which hasn’t been without some issues.

Issues range from having the required depth change over time due to nested modules in `node\_modules`, making it hard to guarantee that types has been read, and picking up weird JSDoc comments from other packages – JSDoc comments that has never been tested for correctness.

So, what about [TypeScript 3.7](https://devblogs.microsoft.com/typescript/announcing-typescript-3-7-beta/)? It [introduces a way](https://github.com/microsoft/TypeScript/pull/32372) to create a type definition file from your JSDoc definitions. I decided to try it out on a project.

## How-to

This is how I added it to a project which publishes a single `index.js` file, [bunyan-adaptor](https://github.com/voxpelli/node-bunyan-adaptor):

### 1. Create a new tsconfig file

Add a new `tsconfig.json` with the sole purpose of generating your declaration. This way you can avoid getting declarations generated for tests and such.

I added a `declaration.tsconfig.json` containing:

```
{
  "extends": "./tsconfig",
  "exclude": [
    "test/**/*.js"
  ],
  "compilerOptions": {
    "declaration": true,
    "noEmit": false,
    "emitDeclarationOnly": true
  }
}
```

### 2. Add a npm script for generating the declaration

```
"declaration:build": "rm -f index.d.ts && tsc -p declaration.tsconfig.json",
```

### 3. (optional) Add a npm script for ensuring your declaration has been committed

```
"declaration:check": "git diff --exit-code -- index.d.ts",
```

### 4. (optional) Add a prepublishOnly npm script

```
"prepublishOnly": "npm run --silent declaration:build && npm run --silent declaration:check",
```

Or simpler, with the use of [npm-run-all](https://github.com/mysticatea/npm-run-all):

```
"prepublishOnly": "run-s declaration:*",
```

### 5. Profit / Party / 🦄 / 🤳

However you want to celebrate: This is the moment.

Run `npm run declaration:build`, commit the resulting `index.d.ts` and publish your module!

**Note:** Visual Studio Code could/will complain about your generated type declaration unless you tell it to use TypeScript 3.7.

Tell it by running the `TypeScript: Select TypeScript Version...` command when in eg. the type declaration file.
Why I ❤️ Hacktoberfest
Tags: hacktoberfest, showdev
Published: 2019-10-07 15:22:50

I have been participating in hacktoberfest for 3 years now and I just want to share a super short explanation of why I get so excited every year for this event. In one word it's:

## Community

The first year I was trying to get into open source. So I joined hacktoberfest and started rifling thought `#hacktoberfest` tagged issues. To my surprise it felt way more fulfilling to know that what I was doing was adding value to so many other peoples lives. The code that I was writing wasn't for me, it was for everyone and that was so empowering!

The second year I was now running a React Meetup and we had the chance to host an event. It was inspiring to see all the people who were interested in similar things in one room - coding!

I also started my own repo last year to play around with the text-to-speech api in browsers https://github.com/ericadamski/alphabet-keys. It led me to write something I thought my kids would have fun with. Now it excites me every time I see a new comment on an issue or a new pull request. Just knowing that someone gets to leave a part of who they are in this code - it makes me giddy!

Also free T-Shirt! 🤤 I cannot leave this out! The shirts are amazing.

Hacktoberfest is such an amazing event that makes the global coding community feel like a tight group of like minded individuals trying to make the world a better place. I ❤️ Hacktoberfest!
Let’s Compare: Websites and Web Applications
Tags: webdev, website, webapp
Published: 2019-10-16 03:39:37

---
title: Let’s Compare: Websites and Web Applications
published: true
date: 2019-10-07 15:04:34 UTC
tags: Web Development,website,web app
cover_image: https://i0.wp.com/geekyminds.co.in/wp-content/uploads/2018/12/webapp-e1545734373878.jpg
canonical_url: https://geekyminds.co.in/lets-compare-websites-and-web-applications/
---

Hey guys! In this article, we are going to compare websites and web applications. Say you have built a simple portfolio site using HTML, CSS and some JavaScript. Does that make your portfolio a website, a web application or both? Let’s find out! 

What Are Applications? ...

[Continue reading "Let’s Compare: Websites and Web Applications"](https://geekyminds.co.in/lets-compare-websites-and-web-applications/)

The post [Let’s Compare: Websites and Web Applications](https://geekyminds.co.in/lets-compare-websites-and-web-applications/) appeared first on [GeekyMinds](https://geekyminds.co.in).
Developing for Android on Android.


Published: 2019-10-07 15:02:32

Woth tools such as termux installing python and code editors got easy and even running programs from github is as easy as ". /program. Py" with this in mind do you see any future for development on mobile devices, will there be any libraries to access for example the default texting app to send infinite messages to someone as means to joke around or whatever? Of course there might be more useful ways to use such great technology, what do you think of this?
Adding a /now page
Tags: now, development, personalbranding
Published: 2019-10-04 20:13:28

---
title: Adding a /now page
published: true
date: 2019-10-03 18:50:37 UTC
tags: now,development,personal-branding
canonical_url: https://pavsaund.com/post/2019-10-03-adding-a-now-page/
---

TL;DR: I’ve written and published a [/now page](https://pavsaund.com/now).

For more of the back story and understanding what it is, read on.

I can’t remember when I first stumbled over Derek Sivers. It could have been one of his posts on [giving away all his money](https://sivers.org/trust), or perhaps his [TED talk](https://www.ted.com/talks/derek_sivers_how_to_start_a_movement) on [leadership lessons from a dancing guy](https://sivers.org/ff). Regardless, at one point in time I remember reading about [the concept of a now page](https://sivers.org/nowff). I found it intriguing, but never really got around to it.

**What is a Now Page?**

The concept is quite straight forward. It’s not an “about page”, nor is it a “contact page”. It’s a page describing what’s going on in your life right now.

> Think of what you’d tell a friend you hadn’t seen in a year.

**But why even have a Now page?**

This sums it up well:

> It’s useful for the same reason an “about” page is useful on your site: because people on your site want to know more about you.

> Besides answering the common question, “What are you up to these days?”, those who have a now page say it’s a good reminder of their priorities. By publicly showing what you are focused on now, it helps you say no to other requests.

### The time is Now

For some reason, the story of the first follower has stuck with me. It’s powerful when another person echoes your voice, or if you choose to echo another’s. It seems the effects of being that first follower can have long-tail impact. I realised while re-reading Derek’s original now-post that his first follower was [Gregory Brown](https://practicingdeveloper.com/now/), a person who [has been influential](https://codingwithempathy.com/2016/12/27/reflecting-on-2016/) on my journey.

It’s taken me a few years, but the time has finally come to put up my [Now-page](https://pavsaund.com/now). Perhaps a little too much overlap to an about page — but I suppose it will evolve.

To get more info about Now-pages, check out: [nownownow.com/about](https://nownownow.com/about). Also, check out [my profile on nownownow.com](https://nownownow.com/p/00tQ)

_Originally published at_ [_https://pavsaund.com_](https://pavsaund.com/post/2019-10-03-adding-a-now-page/) _on October 3, 2019._
ES6 Block Scope is The New IIFE
Tags: javascript, react
Published: 2019-10-07 14:49:54

I will be summarizing how we don't really need IIFE anymore when using ES6 Block Scope. Specifically, we will learn how let and const are going to be super useful! Basically, let and const is beneficial if you need to scope something to a block, or if you want to make a variable that cannot be changed by accident or on purpose. 

**Background on IIFE (skip if you already know):**

An IIFE function runs itself immediately, and it creates a scope where nothing is going to leak into the parent scope. In our case, nothing is going to leak into the global scope of the window.

Creating a named function pollutes the global name space. It also means the named function is hanging around. With the function hanging out, oh-so readily available, it could accidentally be invoked again. IIFE isn’t named and therefore can’t accidentally be called later — avoiding any potential security implications.
{% jsfiddle https://jsfiddle.net/Tapesh/6sxezwv5/20/ js,result %}

If you try to call name in the console now, it’s not undefined, it’s blank because, like I mentioned, it’s just blank because that is a property that lives on the window in JavaScript.

**HERE COMES LET AND CONST TO THE RESCUE!**

With let and const variables, we don’t need a function for our variables to be scoped to that.

Why? Because let and const use block scope.

Let’s start over with a const instead of a var

{% jsfiddle https://jsfiddle.net/Tapesh/6sxezwv5/25/ js,result %}

If we call this in the console, we’ll see 'Awesomeness', but if we wrap it in curly brackets ( see first lines of code below )

{% jsfiddle https://jsfiddle.net/Tapesh/6sxezwv5/28/ js,result %}

Our const is going to be scoped to that block. If you try to call name in the console, we’ll get the window’s name equal to "result", whatever that means(you can explain it in the discussion section!). But if we add a console.log to our block ( see last lines of code above )

You don’t the IIFE stuff anymore. You’re using let and const because they are going to be scoped to that block. Let me know what other examples you guys can think of in the discussion section below!
Outreachy what?
Tags: career, javascript, react
Published: 2019-10-07 12:13:26

Good day folks,
Since I made my mission to post every Monday, here I am again.
But this time I didn't really came prepare because this one thing has been occupying lots of space in my mind since last Tuesday: My Outreachy projects.

Now, you probably are curious about what the heck is it, so let me explain.
[Outreachy](https://www.outreachy.org/) is is really cool Open Source program that is out there to give minorities a chance to get their first professional tech internship with some really cool groups like: Mozilla, Tor, Linux, Apache, Debian and the list goes on.

Another really cool thing is that you can be from ANYWHERE around the globe because the internship is remote. If you face any discrimination, is under-represented or has bias going on against you in tech and your country, you are welcome to apply. So, as a Latina in the USA I am a good candidate.

##How is works, you ask?##
They open the program 2 times a year (January and August) and you have a little over a month to apply. If you are approved, the next step is the contribution period. You choose one or two projects that match your skills and you thing would be cool to work with, and you have a month to make a contribution.
If in the end of the process the Mentor of your project chooses you as their Pokemon (or intern) you get 3 months of paid internship working from home with the super cool project you choose to contribute. Isn't it amazing?

SO yes, that is what has been all over my mind. The contribution period started last week, and DUDE there are tons of good projects. But honest only a few that are good for me. My skills being HTML/CSS/JavaScript some React and some UX/UI. I am currently working on a bug for one project and thinking about how I will contribute for a second one, and let me tell you it is NOT easy. But I am learning a lot in the process, and that is the main goal of the program.
I REALLY want this internship so you guys, wish me luck!

Also, the next round application starts in January2020 so if you think it is a good fit for you, follow them on twitter [@outreachy](https://twitter.com/outreachy) and check out the [Applicants Guide](https://www.outreachy.org/docs/applicant/) for more info. 


Before I leave I just want to thank everyone who follows me, dude I have 1k followers here and to me that is nuts, to GRATITUDE!

If you have any questions about Outreachy of ir you want to wish me good Luck, you are more than welcome.

Happy Monday,
XOXO
About Chad Tackett of Committed 100
Tags: chadtackett, fitness, health, weightloss
Published: 2019-10-07 14:38:49

Chad Tackett is the creator of the Committed 100 program. He originally created the world's very first online weight loss program almost 25 years ago and is responsible for success stories in more than 100 countries around the world. Women and men of all ages, sizes, and backgrounds have called on Chad Tackett to show them how to get to their ideal weight, improve their health, and look and feel their very best - WITHOUT giving up their favorite foods, suffering through boring workouts, or any of the typical diet stuff that does not work and never will. 
In 1994, Chad Tackett graduated from Oregon State University with a degree in Exercise Science & Nutrition and in 2008 was awarded Alumni of the Year for his innovations in weight loss on the internet. Today, Chad Tackett works with a small, select group of clients that not only want a custom-tailored weight loss plan, but also 24/7 expert guidance, support, motivation, and accountability. As a result, he has a client success rate of an unprecedented 87%!
How much time do you spend on your career out-of-hours?
Tags: time, career, learning, practice
Published: 2019-10-07 14:11:53

---
title: How much time do you spend on your career out-of-hours?
published: true
description: Are you a weekend warrior or a night owl or a brown bagger? Or do you prefer to rest up when you’re off the clock?
tags: time, career, learning, practice
---

I’m curious about how much time people spend on their career outside of work hours.

This might include: job interviews, technical exercises, side projects, side hustles, open source contributions, answering dev-related questions online, reading, courses, coding ‘katas’ or anything similar to the above.

Do you devote a consistent amount of time/effort or do you have ups and downs?

Have you needed to spend any extra time out of work hours at all or have you found it possible to do well in your career without doing so?

Do you feel happy with how much time you spent in the past or do you have some regrets (either due to spending too much time or too little time)?

I’m interested to see people’s responses to this. I’ll also add my own comment to give you my experience with this.

Thanks for reading!