teleren/devto huggingface dataset:
elz inviting contributors
Tags: showdev, contributorswanted
Published: 2019-12-09 14:01:43

Hi, I'm working on a programming language called `elz`. To make features done faster I want more contributors since I only have one person now.

GitHub of the project: https://github.com/elz-lang/elz

To help you understand how can you contribute to the project, I list several skills that need by a programming language compiler:

- Programming Language Theory: You probably good at lambda calculus and already implement lambda cube and familiar with Proof Assitant such as Coq, Agda or dependent type language like Idris, Pie. With such skill, you can contribute to `semantic`, `parser` modules and provide language designing ideas.
- Garbage Collection/C API: A robust runtime is very important for any programming language. And a good GC is the core of it. And I didn't have too many experiences in this.
- LLVM: Since I don't want to have a dynamic dependency on LLVM, I choose to make MIR and convert to LLVM IR in the `codegen` module. This, of course, would have more work to be done. So people who are familiar with LLVM IR format are welcome.
- Early users: Languages are designed for use if a programming language didn't help developers in some ways, then it doesn't need to exist. Report bugs and provide experience are what I would very thanks.


And here are current issues need help:

- tool: formatter
- module system
- version management: It's a hard problem all the time, issue https://github.com/elz-lang/elz/issues/134 is for this

If you would like to contribute, feel free to do PR, create issues or asking me questions. Thanks for the read.
Is it important to have hobbies outside of coding?
Tags: discuss, coding, career
Published: 2019-12-09 14:01:25

I've always been a strong advocate of people having hobbies outside of coding. For me it's music, for others I've known it has been anything from crochet to climbing.

Personally I find it helpful to be able to switch off, unwind, and think about something different for a while. Equally it's something else to talk about outside of tech (particularly with clients), and, on one occasion, something actually came in use during a project. 

**So, is it important to have a hobby that isn't coding?**
★ Building Mailcoach: deleting unconfirmed users automatically
Tags: laravel, php, mailcoach
Published: 2020-01-02 23:45:09

---
title: ★ Building Mailcoach: deleting unconfirmed users automatically
published: true
date: 2019-12-09 13:33:38 UTC
tags: laravel, php, mailcoach
canonical_url: https://freek.dev/1523-building-mailcoach-deleting-unconfirmed-users-automatically
---

My team and I are currently building [Mailcoach](https://mailcoach.app), a self-hosted solution to easily send out newsletters and email campaigns. In this video, I live code a new small feature.

This video was created unrehearsed and I didn't make any edits. So you can see every mistake that I made along the way.

{% youtube XZSDj92UbOc %}

Together with Mailcoach, we'll release a video course on how to use Mailcoach, and how it was built. We'll also include some videos on how to write clean, maintainable code. There will be something to learn for everyone, whether you're starting with Laravel, or you already have some years of experience under your belt.

Of course, I will rehearse before recording these videos and will edit them afterward, so the pace is a bit higher than the video above.

To get notified when Mailcoach and the video course launch, sign up for the email list at [https://mailcoach.app](https://mailcoach.app).

## Why we are building Mailcoach #

You might wonder why we are building Mailcoach. Some of the well-known newsletter marketing services can cost quite a lot when your email list grows. Some charge $99 a month for a list that has a few thousand subscribers.

Mailcoach will leverage email sending services like Amazon SES, Mailgun, and SendGrid to send out emails. These services only charge a couple of dollars for tens of thousands of emails. And they do not require you to include a self-promoting image.

It's perfectly fine to use these services to send transactional emails as long as you take care of your reputation. Mailcoach does that by automatically unsubscribing hard bounces and complaints.
Video solutions in 12 programming languages - Advent Of Code 2019 Day 1
Tags: adventofcode, youtube, puzzle, challenge
Published: 2019-12-09 12:42:19

---
title: Video solutions in 12 programming languages - Advent Of Code 2019 Day 1
published: true
description: A collection of the Advent Of Code Youtube walkthroughs for day 1
tags: AdventOfCode, Youtube, Puzzle, Challenge
---

Advent of Code is a fabulous challenge that lets you solve puzzles with very little constraints. That is an opportunity for many to use their favorite language to solve the puzzles, and for some to learn new languages or even solve the problem using an lesser-known language.

I've collected all of the English-speaking Youtube video for the day 1. This gives you an opportunity to see many different ways to solve the same puzzle. It also shines light on small (or large) creators that share their passion on Youtube.

Disclaimer: I'm included my solution walkthrough too 😇


- **Lua** [Advent of Code 2019, day 1 (21*, 23**)](https://youtu.be/xFZ0k1kGknM) - joshuawise
- **JavaScript** [How to solve the first puzzle of Advent of Code 2019? Day 1](https://youtu.be/ComzawCqwJY) - thibpat
- **Haskell** [Advent of Code Day 1 in Haskell (2019)](https://youtu.be/-T_Cij_9JEs) - Michael Gilliland
- **Haskell** [[Advent of Code] 2019: day 1 (Haskell)](https://youtu.be/1DPcr5_LEas) - Alan Malloy
- **Python** [Advent of Livecoding 2019](https://youtu.be/p_QiuXMIDZo) - Joel Grus
- **Python** [#AdventOfCode - Day 1 2019](https://youtu.be/kMas5UE5fEI) - Jeremiah Simmons
- **Python** [Advent of Code 2019 - Live - Day 1 (Rocket Equation)](https://youtu.be/y5-OdbdjFc4) - Bouke Versteegh
- **Python** [Advent of Code - 2019 - Day 1 - Full](https://youtu.be/l4XXcPpjuFU) - James Trinklein
- **Python** [#1 Fuel for Modules - Advent of Code 2019](https://youtu.be/ZwN_nfqng_A) - mooxmirror
- **Python** [advent of code 2019 - day 1 (python and c++)](https://youtu.be/YU3l-0dHTjs) - anthonywritescode
- **Java** [Advent of Code 2019 - Day 1](https://youtu.be/XkY1F2iYQlE) - The Programming Turkey
- **Java** [Advent of Code - Day 1](https://youtu.be/UYBN70hVAOU) - Daniel Persson
- **Elm** [Advent of Code 2019 - Day 1](https://youtu.be/HAg5jec0TNw) - Jesse Warden
- **Elm** [Advent of Code 2019 -- Elm -- Day 01 A](https://youtu.be/ft2eKmu0Fsc) - daily bits
- **Elixir** [Stream.iterate and Advent of Code Day 1](https://youtu.be/l4Z7AxVshU8) - Alchemist Camp
- **PHP** [Chris does Advent of Code, Day 1!](https://youtu.be/khJcRjOkhTs) - Chris Forrence
- **Golang** [Advent of Code Day 1!](https://youtu.be/v_hofgb0Dr8) - Liz Fong-Jones
- **Golang** [Advent of Code 2019 in Go - Day 1](https://youtu.be/SupgfdMa9d0) - jwhite303
- **Kotlin** [Advent of Code - Advent Calendar for Devs](https://youtu.be/rcohwysX1E8) - Ben Kadel
- **Erlang** [Advent of Code 2019 - Day 01](https://youtu.be/TqzBchjZw4Q) - MononcQc
- **Dyalog APL** [Advent of Code 2019 - Dyalog APL - Day 1](https://youtu.be/wsv34FHaapM) - yernab


Let me know if I've missed anyone, and if you'd like me to collect the videos of the following days!
App Design Inspiration_ Pinterest
Tags: pinterest, appdesign, design
Published: 2019-12-09 13:10:31

**We’re all familiar with the phrase ‘Design is king’.**
And of course, there is no doubt in this phrase. As compared to app designing, app development is perceived to be more complex. But I've experienced that both of the processes have their own set of complications. As a mobile app developer and a UI/UX designer, I've always had a hard time figuring out an 'appropriate design for my mobile app', it just seems like really cumbersome task.

You have to make sure that your app's design is relevant to the type of app that you're developing.
So when I sit down to brainstorm my app design, I've developed a habit of looking for ideas and inspiration on **Pinterest**.

If you haven't used Pinterest before, let me tell you that some of the major mobile app development companies have a strong presence on Pinterest. You can come up with something really creative just by scrolling through some of the app design ideas.
It's as easy as using any other social media platforms. All you have to do is type in some keywords that are relevant to your app idea and you will come across hundreds of search results. For example, if I were to design a healthcare mobile app, I'd use search terms such as 'health app', 'health app design', 'hospital app design', etc.

*Here are some of my favorite pages:*

[Dribble](https://www.pinterest.com/dribbble/)
[UIplace](https://www.pinterest.com/uiplace/)
[seedxinc](https://www.pinterest.com/seedxinc/video_pins/)
[Combo Designs](https://www.pinterest.com/combodesigns/)

Where do you look for inspiration for designing your apps?
UI UX Design Services Company
Tags: ux, design
Published: 2019-12-09 13:00:33

Ionixx Technologies is a leading UI UX Design Services company that has created a great repute for themselves by empowering their clients with unique and creative designs for their applications. Enlisting their service will enable your customers have an enhanced experience with your product.

Reach us, @ https://www.ionixxtech.com/ui-ux-design-services-company
Bad code, dogfooding and DevOps for software engineers
Tags: todayilearned, beginners, startup, devops
Published: 2019-12-09 13:00:17

*TL;DR notes from articles I read today.*

### [What makes code bad?](http://bit.ly/2Pq1xPI)

- Remove unreachable code, code that doesn’t do anything and code that was put to set up for future features that never materialised.
- Fix hard coding by creating a dynamic interface to allow the value to be changed.
- Overuse of inheritance creates tightly coupled, non-flexible code. Focus on composition to solve this. 
- Refactor overly complex comments by extracting methods or variables.
- Refactor data clumps by creating a new parameter object or extracting the class.

*[Full post here](http://bit.ly/2Pq1xPI), 5 mins read*

---

### [Dogfooding in product development](http://bit.ly/2sc7Qi0)

- Dogfooding is the practice of using your own product. It is a great approach to test the product with real-world usage and it helps with quality control. 
- When it comes to APIs, dogfooding is excellent to ensure great UX. The more you use your own API, the more usable you make it for your customers.
- Dogfood APIs via testing because it will force you to use the API for the first time & find out first usability issues.  
- Blogging or documenting the API puts you in the position of a first time user of a specific API. Creating significant new features is another way of dogfooding. 
- It best to write APIs from the user’s point of view, and dogfooding your API is one easy way to understand this point of view. 

*[Full post here](http://bit.ly/2sc7Qi0), 8 mins read*

---

## [Learning DevOps as a software engineer](https://zln.do/2P6myjD)

- Monitoring/visibility, reliability & software delivery - focus on these three things that help in improving the quality of production. 
- Monitoring four signals - latency, request rate, saturation, and error & success rate - is helpful in catching potential problems. 
- Analyzing which components can fail and how their failure can affect the system should be an important step in building new services or refactoring current ones.
- Running end-to-end tests on staging and production is crucial. 
- Continuous delivery workflow is extremely important to reduce operational overheads and to enable faster delivery. 

*[Full post here](https://zln.do/2P6myjD), 4 mins read*

---

*[Get these directly in your inbox every weekday by signing up for my newsletter, in.snippets().](https://mailchi.mp/appsmith/insnippets?utm_source=devto&utm_medium=post08&utm_campaign=is)*
Blockchain Application Development Services Company
Tags: blockchain
Published: 2019-12-09 12:58:04

Are you on the hunt to find the perfect Blockchain Application Development Company who can deliver what you are looking for? If yes, Ionixx technologies is the right fit for all your needs. Be it DApps, Crypto wallets or any project that warrants a blockchain application, you name it, and we craft it for you.

Reach us, @ https://www.ionixxtech.com//blockchain-development-company
Solve The Cold Start Issue with Lambda Provisioned Concurrency
Tags: serverless, awslambda, concurrency, coldstart
Published: 2019-12-09 12:57:47

---
title: Solve The Cold Start Issue with Lambda Provisioned Concurrency
published: true
description: Cold Starts have been a massive issue with FaaS, AWS offers a new solution with provisioned concurrency
tags: serverless, aws-lambda, concurrency, cold-start
cover_image: https://thepracticaldev.s3.amazonaws.com/i/epglnpnp637wc525i7gf.jpg
canonical_url: https://dashbird.io/blog/aws-lambda-provisioned-concurrency/
---

> [Originally published in Dashbird Blog](https://dashbird.io/blog/aws-lambda-provisioned-concurrency/?utm_source=dev.to&utm_medium=article&utm_campaign=reinvent&utm_content=lambda-provisioned-concurrency)

[Cold Starts](https://dashbird.io/blog/cold-starts-impact/?utm_source=dev.to&utm_medium=article&utm_campaign=reinvent&utm_content=lambda-provisioned-concurrency) have been a massive issue with FaaS. In summary, it makes functions slower to startup in some cases. That's in the opposite way of every effort to improve web applications performance.

Many [efforts](https://dashbird.io/blog/can-we-solve-serverless-cold-starts/?utm_source=dev.to&utm_medium=article&utm_campaign=reinvent&utm_content=lambda-provisioned-concurrency) have been made in the recent years to [solve](https://github.com/dashbird/xlambda) AWS Lambda cold starts or [educate on handling](https://dashbird.io/blog/reducing-cold-start-impact/?utm_source=dev.to&utm_medium=article&utm_campaign=reinvent&utm_content=lambda-provisioned-concurrency) them. Many have mitigated the issue, but none really solved it.

AWS has just made a great progress on the area with the Provisioned Capacity feature announcement. As the function scales up, instead of waiting new requests to come in before provisioning resources to serve them, AWS will proactively provision new instances of the function in advance.

This behavior guarantees the performance of **every request** will stay within **double digit milliseconds**, up to the Provisioned Concurrency threshold set to the function. There are some caveats that developers should be aware though. For example: it makes your functions inelligible to the Lambda Free Tier.

### [Here is a detailed and step-by-step guide to learn everything about this feature](https://dashbird.io/knowledge-base/aws-lambda/provisioned-concurrency/?utm_source=dev.to&utm_medium=article&utm_campaign=reinvent&utm_content=lambda-provisioned-concurrency)

Lambda Provisioned Concurrency is [generally available in several regions](https://aws.amazon.com/pt/about-aws/whats-new/2019/12/aws-lambda-announces-provisioned-concurrency/) and already integrated with AWS SAM, CodeDeploy and other serverless frameworks.

_Image credits to [Denys Nevozhai](https://unsplash.com/@dnevozhai?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/traffic?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)_.
Dialy Habits to Increase Productivity 
Tags: productivity, career, motivation
Published: 2019-12-09 12:27:54

1. Know where time is going:
		a. Keep track of how to spend time.
		b. Invest your time in people or things which are really important.
		
2. Focus:
		a. Focus on starting rather than finishing them.
		b. Greatest challenge is to take first step and getting forward.
		
3. Oops time:
		a. Something unexpected can happen , count on it.
		b. Set aside some Oops time.
		c. Don’t let these emergencies disrupt your work.
		d. Plan for them, act on them & then get back to work.

4. Writing things down:
		a. Minimizes confusion & stress.
		b. Write down goals, todo list and even problems you are working on.
		
5. Categorize your todo list into A B & C priorities:
		a. "A" are critical for success
		b. "B" important but not critical.
		c. "C" would be nice to do if you get time.
		d. Begin with your "A" priorities and work your way to the nice to do items.

6. Create a talk file:
		a. For your boss, colleagues, customers
		b. Have at least 2 items before discussing.

7. Quite time for planning:
		a. Have a quite time for planning

8. Do these things Before you leave Office:
		a. Clear your desk
		b. Plan tomorrow's activities
		c. Enter your next day's todo list in your organizer.
9. Courage to say NO:
		a. Never say Yes without the time investment and effort you are committing.
		b. Courage to say No could be most effective time management tool.

10. Perfection paralysis is expensive:
		a. Sometimes it is not worth the effort to make things “perfect.” 
		b. Take a look at time costs involved and weigh these against the benefit of perfection. 
		c. Many times second best in operation is better than first best on the drawing board.

11. Listen, Clarify and make sure you understands:
		a. Good time investment for both parties
		b. Do this before starting a task.

12. Quit writing on loose papers or sticky notes:
		a. Get a spiral note book
		b. Date it & keep all notes in the book.
A beautiful vue.js homepage template, very useful
Tags: vue, javascript
Published: 2019-12-09 11:38:55

# Vue Nice HomePage     

### DEMO is [here](https://nordicgiant2.github.io/vue-nice-homepage-page/)

![img](https://github.com/nordicgiant2/vue-nice-homepage/blob/master/images/01.jpg?raw=true)

## About [`particles-bg-vue`](https://github.com/lindelof/particles-bg-vue) library
#### This project uses the react particle background component library [https://github.com/lindelof/particles-bg-vue](https://github.com/lindelof/particles-bg-vue). It's very simple. Anyone can be a Musketeer with it.

![img](https://github.com/lindelof/particles-bg-vue/raw/master/images/02.jpg?raw=true)

## Description
This project forks from [https://github.com/mtobeiyf/vuepress-homepage](https://github.com/mtobeiyf/vuepress-homepage), I made some modifications and adjustments, thanks to the [author](https://github.com/mtobeiyf).

<h2>
  <a href="https://vuepress-homepage.netlify.com/guide/" target="_blank" title="Getting Started">
    Getting Started
  </a>
</h2>

Check the full documentation here :point_right: [Guide](https://vuepress-homepage.netlify.com/guide/)

Make sure you have [Node.js](https://nodejs.org) and [yarn](https://yarnpkg.com) installed.

```bash
# Clone the repo
$ git clone https://github.com/mtobeiyf/vuepress-homepage.git
$ cd vuepress-homepage

# Install dependencies
$ yarn  # or npm install

# Run
$ yarn dev  # or npm run dev
```

Check your site at `http://127.0.0.1:8080/`

## Features

- Markdown and emoji supported :smiley:
- Elegant and minimalistic
- Customizable and mobile-friendly
- Multi-language support
- Powered by [VuePress](https://vuepress.vuejs.org/) and [Vue.js](https://vuejs.org/)

It's **static**, which means once generated, your site could be deployed anywhere, like [Netlify](https://www.netlify.com/) or [GitHub Pages]()

## License

Released under the [MIT License](https://opensource.org/licenses/MIT).
Received swags for participating in Hacktoberfest 2019
Tags: hacktoberfest, opensource
Published: 2019-12-09 11:17:32

I am ***very happy*** to share this post. Contributing to Open Source is always rewarding. Sometimes, it is the great feeling which it gives and sometimes swags and goodies along with that great feeling. I have received gift and swags for participating in **Hacktoberfest 2019** by contributing to few open source projects. *Thanks team Hacktoberfest*. I had made 5 pull requests and all of them were successfully merged. I learnt how to write a quality code and how to make them accepted by making pull requests.

My Profiles:
**Github** - https://github.com/vkgupta857
**LinkedIn** - https://linkedin.com/in/vkgupta857

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/og9r02u9a3rn4e6g6mpm.jpeg)
takeLatest Promise util function
Tags: javascript
Published: 2019-12-09 11:16:57

On frontend, you may have a piece of code that fires network requests very quickly, based on user interaction. Debouncing such actions becomes less and less a viable option because of user experience. Especially with advent of React.js [Suspense](https://reactjs.org/docs/concurrent-mode-suspense.html) which deals with this and many other things on a such fine low level. But what if you want to fix such behavior in just a few places, without being reliant on UI libraries. [redux-saga](https://redux-saga.js.org/) has it's methods to battle race conditions but it's tightly related to redux actions. Native *window.fetch* with [AbortController](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) offers network request cancellation mechanism, but is not supported by the older browsers. Maybe there is more than just network requests you want to guard from race conditions?!

In most cases, it just boils down to how your code reacts to resolved promises.

Previously we mentioned an util function that enables [cancellation of Promise's success chain](https://dev.to/lvidakovic/cancelable-promise-util-2c8h). Let's just paste that code here for reference, as we will use it to construct our `takeLatest(promise)` util function:

```javascript
const cancelable = (promise) => {
  let hasCancelled = false;

  return {
    promise: promise.then(v => {
      if (hasCancelled) {
        throw { isCancelled: true };
      }

      return v;
    }),
    cancel: () => hasCancelled = true
  }
};
```

Now, we'll want to create another util function that'll keep track of the previously passed in promise, cancel it if it hasn't finished yet and replace with the new one:

```javascript
const createTakeLatest = () => {
  let cancelablePromise = null;

  const takeLatest = promise => {
    if (cancelablePromise) {
      cancelablePromise.cancel();
      cancelablePromise = cancelable(promise);
    } else {
      cancelablePromise = cancelable(promise);
    }

    return cancelablePromise.promise;
  };

  return takeLatest;
};
```

Now we can generate ourselves a tracker of sorts that receives promises, and allows only the last one to finish(if we have multiple concurrent request):

```javascript
const takeLatest = createTakeLatest()
// imagine having fetchPage async function implemented to fetch a page from a server

for (let i = 0; i < 20; i++) {
  const request = fetch(`/api/someData?page=${i}`)
  takeLatest(request)
    .then(() => console.log('Page fetched'))
    .catch(error => {
      if (!error.isCancelled) {
        // handle only requests that haven't been cancelled
      } 
    })
} 
```

In the example above, **only** the last request's handlers will be executed, all the rest will get cancelled and caught as errors with **isCancelled** flag set.
Hello World, Meet Baby Rory
Published: 2019-12-09 11:10:27

> A month and a half ago, my wife delivered our adorable blob of a daughter into this world. It’s been a chaotic but amazing time, and now that I’m back at work I’ve had some time to reflect on my time off on paternity leave.

 — https://jaywick.xyz/blog/713/hello-world-meet-baby-rory