teleren/devto huggingface dataset:
GTC - 1400 Free Sessions
Published: 2021-04-05 17:43:51

This is a great resource happening now until I believe the 14th of April. All sessions are completely free with registrations [here](https://www.nvidia.com/en-us/gtc/). 

Some of the topics being covered in the more than 1400 live sessions talking with some of the most well respected individuals of the tech industry are: Artificial Intelligence, Accelerated Computing, Healthcare, Game Development and more. 

Hope to see some of you also attending, but thought this would be a great resource to share with everyone!
AWS CDK Video - Next-Gen IaC
Tags: aws, cloud, devops, unemployeddevops
Published: 2021-04-05 17:24:24

New talk of mine about AWS Cloud Development Kit - a new more convenient way to write infrastructure as code.
If you're using AWS, throw your Terraform or CloudFormation templates in the trash and use CDK instead.

{% youtube ikTqfkWBf1Y %}
Why we should consider 1 Week Sprints.
Tags: agile, productivity, watercooler, healthydebate
Published: 2021-04-05 17:22:00

You know how 2 week sprints are the de-facto go-to pattern for many teams? I don’t believe they are the best for teams and we should all consider 1 week sprints instead, and I’ll tell you why I think so.

# The Downfalls of 2 Weeks Sprints
* Longer meetings to plan for 2 weeks
* Need more Context
* Hard to estimate how much work can be accomplished
* Over commitment is easy
* Doesn’t accommodate... [Continue Reading](https://blog.jstassen.com/2021/03/why-we-should-consider-1-weeks-sprints/)

# The Upsides of 1 Week Sprints
* Tighter feedback loops
* Shorter meetings
* Allows team to be more precise in their commitments
* Forces team to think about... [Continue Reading](https://blog.jstassen.com/2021/03/why-we-should-consider-1-weeks-sprints/)

See what a [sample 1 Week Sprint Schedule](https://blog.jstassen.com/2021/03/why-we-should-consider-1-weeks-sprints/) could look like.
How I calculated the 1,000,000th Fibonacci number with Python
Tags: python, computerscience, mathematics
Published: 2021-04-05 17:12:46

Hi there, I just wanted to tell you about interesting journey while trying to calculate huge numbers of the Fibonacci series, and all the roadblocks I faced along the way. You can read about it all on my medium page here [here](https://kushm.medium.com/how-i-calculated-the-1-000-000th-fibonacci-number-with-python-e921d3642dbf)! If you had any questions then feel free to ask me! 

3 Facts about the millionth number in the sequence:
1. The number is 208,988 digits long
2. The number takes 209KB of storage to store in a text file
3. This is what the number looks like {% gist https://gist.github.com/1Blademaster/3560093050fff94597dc93645b6bfa4c %}

Thank you for reading! 💖
HTMLInputElement.valueAsNumber
Tags: javascript, webdev
Published: 2021-04-05 16:56:07

By default, `<input>` value's are a string type:
```html
<input type="number" id="my-num">
```
```js
const inputEl = document.querySelector('#my-num');

inputEl.addEventListener('blur', e => {
  const val = e.target.value;
  console.log(typeof val); // "string"
});
```

But if the expected input is a number or date that we'll later have to do math with, we can easily capture the value as a number type with `valueAsNumber`:
```js
const inputEl = document.querySelector('#my-num');

inputEl.addEventListener('blur', e => {
  const val = e.target.valueAsNumber;
  console.log(typeof val); // "number"
});
```

Note that this only works with `<input type="number">` and not `type="text"`. No conversion necessary!⚡

----------
Check out more #JSBits at my blog, [jsbits-yo.com](http://jsbits-yo.com/). Or follow me on [Twitter](https://twitter.com/JS_Bits_Bill)!
Introduction to Java 8 in Layman's terms - Lambda expression & Functional interfaces basics
Tags: lambda, functional, java, webdev
Published: 2021-04-05 16:52:25


Here is my blog post on some basic knowledge of Lambda expression & Functional interfaces.

It's totally from a beginner's perspective. Kindly have a look. Hope you guys like it .....

Let me know if I have got something wrong ... Happy to correct it ....

[introduction-to-java-8-in-laymans-terms.html](https://praveen075.blogspot.com/2021/04/introduction-to-java-8-in-laymans-terms.html)
How to Write a Proper Changelog
Tags: changelog, opensource, markdown
Published: 2021-04-05 16:44:49

A few days ago, I updated the changelog for Chakra UI and learnt a couple of things about documenting a changelog. 

I decided to share them below:

**Not sure of what a changelog is?**
A `changelog` is a curated record of all notable changes for each version of a project. These changes could be bug fixes, updates, new features, etc.

**Why is it important to have a changelog?**

- It makes it easy for contributors and users to see at a glance the updates made between each release of the project.
- In a situation where there’s a break in the project, the changelog helps you to easily track down the point where this break occurred. 
- Changelog also serves as a means to keep users excited about bug fixes and new features of your project. 

**How to write a good changelog**

- Put the latest changes first: While it is good to keep a record of all changes, it is important to place the newest changes and updates first. That is, use a reverse chronology when documenting the changelog. Why? Most people are truly interested in the latest changes so show it first. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xirzkrsjfyylhj49myi2.png)

- Group changes based on release dates: All changes and updates made per release date should be grouped together. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t259w2ec5wlvfxfk5vfc.png)

- Keep it simple and short: Since the goal of the changelog is to make changes easy for users to track, it makes sense to write in plain English and avoid unnecessary technical jargon.

--

- Format properly: The changelog should be easy to read and skim through. Utilize the use of headings and bullet points when writing your changelog.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/18vzv7w8wrkpdt1lqbv4.png)


- Categorise the kind of changes made and add it as a prefix before the summary of the change. For example, was it a bug fix or a new feature that was added? The use of `legends` can be very useful here. 


![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nwdubrfad0h26ibk3sos.png)

[Click here to view the changelog from Chakra UI] (https://chakra-ui.com/changelog)
A month spent moving partials into components
Tags: rails, ruby, programming
Published: 2021-04-05 16:16:48

Today, I have finally finished converting all of the many partials in my app (TeamHQ) into components. Over the last few months before this process, I have come to experience the pain of too many partials. I have learnt how partials work and how they can slow down your application's views. 

The solution was simple, ViewComponents. It had decreased loading times, made my view directory smaller and enforced better system architecture practices. 

Components from [ViewComponents](https://viewcomponent.org/) are the way of the future of Rails application development.  Check it out. 

If you're interested in learning more about why partials had made my application slow, check out my blog post on that - [How rendering partials can slow your Rails app to a crawl](https://teamhq.app/blog/tech/17-how-rendering-partials-can-slow-your-rails-app-to-a-crawl)
Who is learning DSA?
Published: 2021-04-05 15:58:10

Hey guys! I just started learning Data Structure & Algorithms, Who else is learning? 
Please tell me so we could learn it together. Studies show that group study is better than solo. I have never experienced group study in my programming field for the last 1 year, started. I'm facing many problems like solving and finding puzzles. 
Let's grow together.  
PS: if you are good at DSA, it would be highly appreciated, if you spare some time with me, I promise you won't regret it. 
Thank you
Day 97 Of 100DaysOfCode: Introduction To Supervised Learning Problem(Regression)
Tags: 100daysofcode, codenewbie, beginners, womenintech
Published: 2021-04-05 15:51:49

This is my 97th day of #100daysofcode and #python learning journey.  Like yesterday, today I also learned about [Streamlit](https://docs.streamlit.io/en/stable/getting_started.html#create-your-first-streamlit-app). Like usual, I kept learning from DataCamp about the topic Supervised Learning Problem(regression) and did some assignments.

<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Day 97 of <a href="https://twitter.com/hashtag/100daysofcode?src=hash&amp;ref_src=twsrc%5Etfw">#100daysofcode</a> and <a href="https://twitter.com/hashtag/Python?src=hash&amp;ref_src=twsrc%5Etfw">#Python</a> <br>Supervised learning problem( Regression) from DataCamp<a href="https://twitter.com/hashtag/100DaysOfCode?src=hash&amp;ref_src=twsrc%5Etfw">#100DaysOfCode</a> <a href="https://twitter.com/hashtag/CodeNewbie?src=hash&amp;ref_src=twsrc%5Etfw">#CodeNewbie</a> <a href="https://twitter.com/hashtag/WomenWhoCode?src=hash&amp;ref_src=twsrc%5Etfw">#WomenWhoCode</a> <a href="https://twitter.com/hashtag/DEVCommunity?src=hash&amp;ref_src=twsrc%5Etfw">#DEVCommunity</a> <a href="https://t.co/2brdiC2zd1">pic.twitter.com/2brdiC2zd1</a></p>&mdash; Durga Pokharel (@durgacodes) <a href="https://twitter.com/durgacodes/status/1379097034939006982?ref_src=twsrc%5Etfw">April 5, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
Top 5 GAN(Generative Adversarial Networks) Projects for Final Year Computer Science Students in 2021
Tags: machinelearning, computerscience, datascience, python
Published: 2021-04-05 15:46:23

###Last year in November of 2020 I wrote an article on the Top five Generative Adversarial Networks projects for computer science students and aspirants.


##Thankfully you peeps loved it a lot and showed huge respect. Here is the link to that article in case you missed it: [Top 5 GAN(Generative Adversarial Networks) Projects for Final Year Computer Science Students](https://medium.com/analytics-vidhya/top-5-gan-generative-adversarial-networks-projects-for-final-year-computer-science-students-ff35eab94e4f)



###In today's article, we are going to review some really good Generative Adveresial Projects who are still in deployment in 2021. In this post, you will discover about five of the open-source GAN projects which can be found useful in many ways.

#[Top 5 GAN(Generative Adversarial Networks) Projects for Final Year Computer Science Students in 2021](https://waliamrinal.medium.com/top-5-gan-generative-adversarial-networks-projects-for-final-year-computer-science-students-in-6462b66aad61)
Introduction to Virtualization
Tags: cloud, virtualization, computerscience, programming
Published: 2021-04-04 11:46:56

Virtualization allows you to separate the Operating System from the underlying hardware
Virtualization is NOT the same as Cloud Computing.  Virtualization is a Type of Cloud Computing.
Hypervisors are the software that Operating System "Instances" run on.
Virtualization allows you to easily migrate servers between pieces of physical hardware
Virtualization allows you to consolidate multiple cheap physical servers into one server
An "Instance" is a "Virtual Computer" installed on a Hypervisor.
1.###**Type 1 Hypervisors**
Called Bare Metal Hypervisor
Installs directly on to hardware
You use Management Software installed on a different computer to manage a Type 1 Hypervisor box.
Based on XEN.
Generally the Hypervisor is free, but you pay for the Management software
Over Allocation allows you to allocate more total resources to the Instances of the operating systems then the physical server has.  At any one time all Instances CANNOT use more resources then the total amout that the server has.
2.###**Type 2 Hypervisors**
Called Hosted Hypervisor
Type 2 Hypervisors are installed onto an Operating System such as Windows 7, OSX or Linux. (VirtualBox, Virtual PC)
Be careful allocating resources to virtual machines.  You have the ability to allocate so many resources to the virtual machines that you crash the host machine.
Networking can start acting "weird" on the host machine when Virtual Machines are running
Converting to Virtualization
Vendors of Virtualization software have "conversion" software that will convert an Operating System that installed on a Physical Computer into a Virtual Machine
Many pieces of Backup Software no backup servers directly into a Virtual Machine.
**Note:**
Be careful of licensing!!! Per Server/ Per Socket/ Per Core
Virtualization software is stable, and not "cutting" or "bleeding" edge technology.
**Resources:**
*Xen
*Citrix
*VMWare
*VirtualBox
*Virtual PC
Creating a modern JS library: Introduction
Tags: npm, node, javascript
Published: 2021-04-05 15:19:14

Using the modern JavaScript ecosystem is, for the most part, a pretty good experience. Sure, there may be too many frameworks to count, but if you've been using JS for long enough, you already know exactly which packages you'll be using in each new project, and at worst you'll be using something like Create React App to get off the ground.

```js
// Magic! React now works
import React from 'react';
```

Although using libraries is simple, creating and maintaining one can be an absolute nightmare.

## The problem

You need to support as many versions of as many different platforms as possible to satisfy your users. Even if you're making a package for only Node.js or only browsers, getting exports to work properly can be tricky.

```js
// ES Modules
import myPackage from 'my-package';

// CommonJS
const myPackage = require('my-package');

// UMD
document.write('<script src="//unpkg.com/my-package"></script>');
```

You want to minimize bundle size for browser users, but there are very few resources that describe the best way to go about doing so. If your library is anything more than a hundred kilobytes, your users will complain that it now takes an extra second or two to load their website on a cheap mobile device.

You may want to support TypeScript and Flow users by adding typings for your package, but it's unclear whether you should add them to DefinitelyTyped/flow-typed or include them within your package. If you aren't familiar with TypeScript or Flow, managing types as your library evolves can become incredibly difficult.

There are a plethora of other concerns too. How do you write good documentation? How do you fix bugs quickly and manage issues when they start to pile up? How do you encourage community contributions? How do you make your library easy to understand for novices?

## Why listen to my suggestions?

To keep it short: I've worked on [Parcel](https://github.com/parcel-bundler/parcel) for a few months and therefore have investigated in great depth the fine details of making a package bundler-friendly. I've also published and maintained various successful packages, the most popular of which is is a [high-performance compression library](https://github.com/101arrowz/fflate) that reached over 4 million downloads in 6 months and is currently depended on by large projects such as SheetJS and Three.js. I've dealt with many of the problems new library authors face multiple times, so I'm familiar with the workarounds.

## The solution

This series will describe the do's and don'ts of creating a JavaScript library that your users will love to use and you will love to maintain. Even if you aren't planning on creating a library any time soon, these articles will help you learn more about the JavaScript ecosystem and its many quirks. Don't worry about following any particular order; you won't need to read any entry in the series to understand the next. I hope this information will help you design your next awesome addition to the JS ecosystem!
Using Ansible unarchive module with Alpine Linux
Published: 2021-04-05 15:18:55

---
title: Using Ansible unarchive module with Alpine Linux
published: true
date: 2021-04-05 15:18:00 UTC
tags: 
canonical_url: https://iliascreates.com/ansible-unarchive-apline/
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kb0lwao0av5xztlsulim.jpeg
---

If you are running [Ansible](https://www.ansible.com/) on [Alpine Linux](https://alpinelinux.org/) and you use the [`unarchive` builtin module](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/unarchive_module.html) you might have faced the following error message:

```
[Errno 2] No such file or directory: b'-T'
```

The reason for this is that the `unzip` tool in Alpine does not have a `-T` option. To be able to use the `unarchive` Ansible module with Alpine Linux, you need to install `unzip`:

```
apk add unzip
```

See the [related GitHub issue](https://github.com/ansible/ansible/issues/39029).

Photo by <a href="https://unsplash.com/@simonfitall?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Simon Fitall</a> on <a href="https://unsplash.com/s/photos/apls?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
Jump Start with Nimbella
Published: 2021-04-05 15:12:07

I am starting a series of posts, that is going to cover [Nimbella](https://www.nimbella.com), an open-source serverless platform.

We start learning how to do the signup in Nimbella, which offers a free account for development. We are going to install the `nim` tool, the command-line interface to interact with Nimbella. Nimbella is also available on-premises in private clouds.

Then we go through *actions*, which are the building blocks of Nimbella applications. We will see how to create and update actions. Furthermore, actions can be invoked. Each invocation leaves a track as an *activation*. We are going to see how to check those activations, inspecting logs and results.

Nimbella also includes event handling, in the form of *trigger* and *rule*. We complete the chapter going into the details, with an example using slack, and another using timed execution.

[Nimbella in a Nutshell](https://dev.to/sciabarracom/nimbella-in-a-nutshell-21k8)
Is Golang going to overpower Python? 
Tags: go
Published: 2021-04-05 15:05:51

As Go ([golang](https://golang.org/)) continues to grow in popularity and mind-space, the question is being asked more frequently- Is Golang going to be the next [Python](https://python.org)?

I know that if this were said a few years ago, you would laugh at me, but it's becoming a more valid question. And with so many companies jumping on the Go train, you have to wonder how far it can go.

## Go vs Python

### Golang

Go's code is compiled to native code for Intel x86 and ARM architectures.

What Golang essentially does is ensure code safety, reliability and high performance in a relatively short time. It can be used to build the following:

* Network applications that demand high performance (e.g., web servers, proxies)
* Software development for L10-scale systems (e.g., Docker, Kubernetes, etc.)
* Embedded applications (e.g., drones, robots, etc.)

It is "easy" to [learn](https://golangr.com/) but so is Python and many other languages.

### Python

Python is an interpreted language, not a compiled one. Python code can be executed on any system that has a Python interpreter.

Python is surely not going anywhere anytime soon. Python has been the language that has defined the way we build web applications for a long time, it's easy to [deploy Python apps](https://www.pythonanywhere.com/?affiliate_id=00535ced) online.

Like Go, Python can be used for a variety of purposes including [web development](https://pythonprogramminglanguage.com/python-flask-tutorial/), [desktop apps](https://pythonspot.com/gui/), [databases](https://python-commandments.org/python-mysql-tutorial/) and a lot more.

![golang vs python](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2j7maoid4tjlxrp4az6d.jpg)

## Who will win?

Both will stay, in the same way that Formula 1 does not replace buses for transportation. Because Go is a compiled language, it has lower execution time. But it does not provide OOP concepts and all the available Python modules like pandas or numpy.

Both will stay around, because there are lots of Python programmers, there's a lot of existing Python code bases and a variety of other reasons.
Let's build the best REST API mocker tool together💪
Tags: javascript, opensource, contributorswanted, webdev
Published: 2021-04-05 15:04:23

Several months ago I released the first version of the open source project [Restapify](http://restapify.vercel.app/).

In simple terms, it is a CLI that enables you to serve a mocked REST API by using an intuitive and developer friendly JSON file structure (like you will see for Nextjs). For example you could create an API with `users` and `posts` like that...

```
📂 api
┣ 📂 users
┃ ┣ 📜 _.json
┃ ┣ 📂 [userid]
┃ ┃ ┗ 📜 _.json
┃ ┃ ┗ 📜 _.404.{NOT_FOUND}.json
┃ ┃ ┗ 📜 _.DELETE.json
┃ ┃ ┗ 📜 _.POST.201.json
┣ 📂 posts
┃ ┗ 📜 [postid].json
┃ ┗ 📜 my-post.PUT.json
┣ 📜 posts.json
```

...and then deploy it locally using `restapify serve api/`. Checkout the [initial post](https://dev.to/johannchopin/quickly-and-easily-mock-a-rest-api-with-restapify-16om) to learn more about it.

This project helps me a lot when developing my apps and I think it could help many other developers by its ease of use and the fact that it is free. So if you want to see it develop further, it would be great if you could test it and give feedback on what could be improved😉

If you always wanted to participate in a project but didn't dare, don't hesitate. We all started without experience and Restapify is open to young collaborators who want to take their first steps in the world of open-source.

If you are interested or curious take the time to visit the [official website](https://restapify.vercel.app/) or the repo directly:

{% github johannchopin/restapify no-readme %}

Thanks for all the feedbacks👍
Ionic and Apple Login tips
Tags: apple, ionic, cordova, capacitor
Published: 2021-04-05 15:03:00

Setting up Apple Login is a new requirement for iOS apps being submitted to Apple that include any other social login.  Here are some tips I learned along the way:

[Apple Developer docs for Sign in With Apple](https://developer.apple.com/documentation/sign_in_with_apple)

[Apple provides the graphics for the button!](https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_js/displaying_sign_in_with_apple_buttons)

[Apple Login Human Interface Guidelines (Apple telling us how to make this a good user experience)](https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple/overview/introduction/#sign-in-with-apple-buttons)

[Ionic and Cordova plugin](https://ionicframework.com/docs/native/sign-in-with-apple)

[Ionic and Capacitor plugin](https://github.com/capacitor-community/apple-sign-in) - the nice thing about this one is that it includes the Web fallback so that you can test in and deploy to Web.