teleren/devto huggingface dataset:
Does coding become less fun when its a job?
Tags: watercooler, career, coding, development
Published: 2021-09-28 06:56:24

---
title: Does coding become less fun when its a job?
published: true
description: 
tags: watercooler, career, coding, development
cover_image: https://bookedin.com/wp-content/uploads/2019/05/BookedIN_Burnout_lrg.jpg
---
Most of us have felt the freedom to create a side-projects, experiment with new stacks, explore new concepts, etc. This is usually the case while learning a development or looking for a job. 

Once getting a job, you will most likely be tied to a particular stack, the technologies they use might not match your personal favorites, you will have to meet tight deadlines, etc. 

Also, you will have less time to devote to your side-projects.

What is your experience on this?
Does coding become less fun when its a job? 👇
Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`
Tags: reactnative, android, ios, flutter
Published: 2021-09-28 06:48:47

I encountered this when trying to build my react native app on windows, also on my Mac and the solution(Mac) is.. open your command prompt and type
```
nano ~/.zsh_profile
```
then add the following in the file and save
```
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
```
then still in the command prompt type
```
source $HOME/.zsh_profile
```
there you go.
[My twitter](https://twitter.com/CoucoSeth)
Dependence on computer
Published: 2021-09-28 06:45:46

##Two sides of a coin
As we know, every coin has two sides, the topic has two. In short, computers are a boon as well as a bane. Many industries have been aroused by computers and many have declined, that is why it is a contradictory topic. In my view, this ocean-like topic has many aspects which may not be covered in this blog but let's discuss a few of them

##Boon
Talking about the boon, computers are a huge one. A list of few is online shopping, online studies, easy communication to people sitting in different parts of the world and many other such you may be familiar with. But I want to talk about industries like web app development, data science, business analytics, artificial intelligence, automation, and many more which had provided mammoth of jobs thereby reducing unemployment. Online apps like news reading apps and social media had brought the whole world closer to us. The full entertainment industry has benefitted from development in the field of computers. In short, it may be termed as a blessing after knowing these boons.

##Bane
Reading mammoth of benefits, now why for some it seems to be a bane!!,let's talk about it briefly. Primarily bank frauds, replacement of human power, less knowledge and awareness about computers, and many more are drawbacks. Online studies have come these days as an essential component of studies but due to non-availability or we must say lack of infrastructure, children have suffered. Hackers misusing information and blackmails in many aspects are also online committed crimes. Secondarily there addiction may be also a bane for some. At last, I would recommend limited use of computers and right usage in the right direction. I must say computers have pros as well as cons depending on one's situation
Animation In Flutter: AnimationController
Tags: flutter, dart, animation, programming
Published: 2021-09-28 06:29:23

* In Flutter, we have basically two types of animation: Implicit, and Explicit.
* The Implicit animations are the pre-built animations available in the Fluter SDK.
* The Explicit animations need a controller to perform an animation.
* The previous two articles in this series we have seen AnimatedAlign and AnimationCrossFade, which are nothing but an Implicit animation as they don't require any type of controller.
* There are different Implicit animations available in the Flutter For example, AnimatedContainer, AnimatiedOpacity, AnimatedIcon, etc.
* On the other hand, In Explicit animation AnimationController is required. The AnimationController represents an interpolated range of values that define all possible frames for a particular animation. Let's take a look at the AnimationController in detail.....

Read Full Article [Here](https://dhruvnakum.xyz/animation-in-flutter-animationcontroller)
Animation In Flutter: AnimatedCrossFade
Tags: flutter, dart, animation, programming
Published: 2021-09-28 06:27:58

## AnimatedCrossFade
* Consider a scenario, where you want to replace a current widget with a new widget.
* For example, you have an app where there are different types of posts. And you want to blur/just place a widget on top of that post saying "This post is sensitive". Just Like Instagram
* Let's make something like this in our Flutter App.....

Read Full Article [Here](https://dhruvnakum.xyz/animation-in-flutter-animatedcrossfade)
Flutter and AdMob: A blog around monetizing your Flutter app with AdMob.
Tags: flutter, admob, dart, programming
Published: 2021-09-28 06:25:29

## Introduction
* Mobile applications are a great way to earn revenue from your programming skills. There are many ways to earn money apart from the app store revenue. You can add ads to your apps and monetize them.
* Google is the biggest player in the online advertisement industry. Recently, Flutter released a package called google_mobile_ads for monetizing the Flutter application.
* This plugin currently supports loading and displaying banner, interstitial (full-screen), native ads, and rewarded video ads.
This plugin can also support Google Ad Manager, if you want to load and display ads from Google Ad Manager....

Read Full Article [Here](https://dhruvnakum.xyz/flutter-and-admob-a-blog-around-monetizing-your-flutter-app-with-admob)
Slivers in Flutter - Part (1)
Tags: flutter, dart, slivers, programming
Published: 2021-09-28 06:24:15

## Sliver
* Slivers are basically a scrollable area, that can be customized. Slivers help us to make the scrolling fancier instead of a normal boring scroll.
* Slivers are useful for placing multiple scrollable widgets (ListView, GridView) inside it. It means we can handle nested scroll view.
* In-fact, scrollable widgets like ListView, GridView, SingleChildScrollView, etc are implementing slivers under the hood......

Read full article [Here](https://dhruvnakum.xyz/slivers-in-flutter-part-1)
[Slivers in Flutter - Part (2)](https://dhruvnakum.xyz/slivers-in-flutter-part-2)
[Slivers in Flutter - Part (3)](https://dhruvnakum.xyz/slivers-in-flutter-part-3)
[Slivers in Flutter - Part (4)](https://dhruvnakum.xyz/slivers-in-flutter-part-4)
Using Linter to Improve Code Quality
Tags: flutter, dart, lint, programming
Published: 2021-09-28 06:21:07

## Why Linting:
* Linting in Flutter is a linting tool that gives information regarding the quality of the code. A Lint or a Linter is a program that supports linting (verifying code quality) according to your coding rules. It will also report any issues it finds with existing code.
* Using lint tools can help you accelerate development and reduce costs by finding errors earlier.
* As a developer, we are most of the time dealing with problems like bugs, errors, etc. And even after solving it and rolling out our application, we might found out bugs that lead to application crashes.
* To reduce the occurrence of this type of error and improve the code quality and readability we can use linter.
The definition of linting according to Wikipedia -

> It is a tool that analyzes source code to flag programming errors, bugs, stylistic errors, and suspicious constructs.
* In simple terms, Linter will warn you or will give you the error if your code does not satisfy the rules specified by linter and needs to be resolved for better code quality, readability, and performance-boosting......

Read Full Article [Here](https://dhruvnakum.xyz/using-linter-to-improve-code-quality)
Flutter Bloc : A Complete Guide
Tags: flutter, bloc, dart, mobile
Published: 2021-09-28 06:19:12

## Intro
* When it comes to building an application, Flutter is the easiest and powerful framework.
* But building an application without any strong architecture is like building a house without any planning and blueprints.
* You won't understand the uses of architecture when building small applications.
* But when it comes to building a big production level application where you have many screens, animations, methods, classes, etc, without any proper architecture you will end up in a state where everything is messed up and you don't know how all the components, classes, methods are communicating and functioning.
* So it is very necessary to maintain the code make code more readable and testable, and easily trackable when designing and developing this kind of big application.
There are many different packages available, and all have their own way to handle application states.
* In this article, I am going to talk about Bloc. Bloc is not just a state management, but it's also an architectural design pattern which helps us to build production-level applications.

Read full article [Here](https://dhruvnakum.xyz/flutter-bloc-a-complete-guide)
Equatable in Flutter: A Complete Guide
Tags: flutter, dart, equatable, programming
Published: 2021-09-28 06:17:31

## Comparing Two Objects in Manual Way
* While developing the Flutter application, we often wanted to compare two objects and check whether they are equal or not.
* To do that, dart provides two methods == and hashcode.
* By overriding these methods we can compare our instances.
* Let's take an example and compare two objects by overriding these two methods.
Example: Comparing Two Car Objects Example .........

Read full article [Here](https://dhruvnakum.xyz/equatable-in-flutter-a-complete-guide)
Internationalize Your Flutter App, It's Easy!
Tags: flutter, localization, internationalization, dart
Published: 2021-09-28 06:16:21

## Why Internationalization?
* Localization is important because people do not always speak the language you expect them to. This means you must have an app with no strings attached and the ability to instantly use multiple languages.
* If your application supports some other language than English, you can make your users happy - and also support them by providing translated and localized applications. Certainly, it's not necessary for every application, but expect that eventually, you'll need it if you're going to target a diverse audience.
* In this article, I'll explain how to internationalize the flutter applications.

Read full article [Here](https://dhruvnakum.xyz/internationalize-your-flutter-app-its-easy)
Understanding Streams: Everything you need to know
Tags: flutter, dart, stream, mobile
Published: 2021-09-28 06:14:42

## Introduction
* Streams are very complex and hard to understand. In this blog, I'll try to explain this concept with some examples.
* For beginners, this concept should be clear in their mind, because most of the time our application is dealing with asynchronous data, For example: Fetch data from API, DB, etc.
* Before start coding and implementing Stream let's first understand what actually a Stream is.

Read full article [Here](https://dhruvnakum.xyz/understanding-streams-all-you-need-to-know)
Iterable & Iterator in Flutter & Dart
Tags: flutter, dart, flutteriterable, mobile
Published: 2021-09-28 06:07:22

## Iterable
* If you are familiar with Dart/Flutter you are knowingly or unknowingly using Iterable in your application or program.
* You might have come across objects like List, Map, and Set when building an application.
* These are nothing but Iterable. You can verify this by taking a look into the implementation of these collections....

Read Full Article [Here](https://dhruvnakum.xyz/iterable-and-iterator-in-flutter-and-dart)
HTML tags | tr
Tags: html, tags, tr
Published: 2021-09-28 06:07:16

It is used to **define a row of cells in a table**. This row can be made up of `<th>` and/or `<td>`.

**It has no attributes** other than global ones, so to define presentation aspects, CSS properties such as `background-color`, `text-align` or `vertical-align` will be used.

Its parent must be `<thead>`, `<tbody>`, or `<tfoot>`, or a `<table>` element as long as there is no `<tbody>` element.

Has an **implicit ARIA role** `row`.

- Type: *table-row*
- Self-closing: *No*
- Semantic value: *No*

[Definition and example](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr) | [Support](https://caniuse.com/mdn-html_elements_tr)
Master The Art of Dependency Injection
Tags: flutter, dart, dependencyinjection, programming
Published: 2021-09-28 06:04:49

## Introduction
* Dependency injection is one of the most useful design patterns that allow developers to write loosely coupled code. It also helps to keep our code testable.
* Dependency injection is a concept that keeps popping up in the tech world. However, it is also a concept people usually don’t fully understand.
* It can be hard to understand what it means or how it works across different frameworks.
* In this guide, I will break down dependency injection and talk you through some common implementations using Dart and Flutter.

Read Full Article [Here](https://dhruvnakum.xyz/master-the-art-of-dependency-injection)
How to Publish Flutter App on Play Store
Tags: flutter, dart, playstore, releasefluterapp
Published: 2021-09-28 06:02:56

## Introduction
* Every Flutter application developer wishes to create a public app that will be downloaded by the people and used by many.
* If you are one among them then you have come to the right place. * Here, I am going to share with you the best and easy way to publish your flutter application on the Play store.
* This step-by-step tutorial will take you through every step required to publish your flutter app on the play store.

Read Full Article [Here](https://dhruvnakum.xyz/how-to-publish-flutter-app-on-play-store)
Keys In Flutter - UniqueKey, ValueKey, ObjectKey, PageStorageKey, GlobalKey
Tags: flutter, dart, mobile, flutterkeys
Published: 2021-09-28 06:00:29

# Introduction
* Flutter has many widgets in its library, and if you take a look at every widget's properties you'll most probably find the key parameter in all of those widgets.
* Most of the beginners who started learning Flutter don't know about Keys. And if they do, they don't know how to use them or where to put them.
* It's because Keys has very few use cases or you can say their use is less common.
* In this blog, I will try to explain the concept of Keys, and different types of Keys, Where to use Keys, and How to use them.

Read Full Article [Here](https://dhruvnakum.xyz/keys-in-flutter-uniquekey-valuekey-objectkey-pagestoragekey-globalkey)
Flutter Widget In Detail: MaterialApp
Tags: flutter, dart, flutterdev, flutterwidget
Published: 2021-09-28 05:58:52

# Introduction:
* MaterialApp is Futter's one of the most powerful widgets. if you create a basic Flutter app then the first widget you'll see is MaterialApp
* MaterialApp wraps a number of widgets that are commonly required for material design applications.
* By wrapping your application inside the MaterialApp, you're telling your app to use Android's Material Design, which is a design system created by Google to help teams build high-quality digital experiences for Android, iOS, Flutter, and the web.

.... Read Full article [Here](https://dhruvnakum.xyz/flutter-widget-in-detail-materialapp)
Bakers in Ernakulam
Tags: bakers, bread, cakes, cookies
Published: 2021-09-28 05:56:34

One of Ernakulam's best bakeries, Rising Loaf, provides handcrafted premium made-to-order baked treats that are free of preservatives and additives. Custom cakes, delicacies, and gourmet sweets are available. Our blends are one-of-a-kind because they mix a great deal of skill and expertise with natural baking ingredients to provide you with the best sweetness and taste. We take pride in giving every one of our clients, big and small, an amazing experience.
Bakers in Ernakulam is committed to making high-quality breads devoid of artificial preservatives, colours, or flavours. All of our bread loaves, cakes, cookies, donuts and muffins, and cupcakes are lovingly created in Ernakulam's cleanest environment. The fullness of our clients' grins when they try our exquisite items and return for more is how we define success at Rising Loaf. They're the cherry on top of our cake, the driving force behind our efforts to improve our baking and customer service.
To maintain the authentic taste and fresh flavours, we are captivated by using only high-quality and fresh ingredients in our confectioneries. The fullness of our clients' grins when they try our exquisite items and return for more is how we define success at Rising Loaf. They're the cherry on top of our cake, the driving force behind our efforts to improve our baking and customer service. Rising Loaf, one of Ernakulam's best bakeries, was created by friends with a passion for baking with the purpose of making handcrafted premium baked products that are completely free of harmful food preservatives and additives and delivering them to your door.
A first update on our AI/ML/Big Data salary survey
Tags: machinelearning, bigdata, salaries, career
Published: 2021-09-28 05:55:30

🎉 We have a little update on our salary survey which we launched roughly three [months ago](https://insights.ai-jobs.net/share-your-salary-and-see-what-everyone-else-is-making-in-the-ai-ml-and-big-data-sphere/) (check out [https://salaries.ai-jobs.net/](https://salaries.ai-jobs.net/) if you haven’t yet) and needless to say we’re still pretty excited about it.

About four weeks after the launch we enabled the [download](https://salaries.ai-jobs.net/download/) feature on the site so everyone can get the latest dataset in JSON and CSV format. Furthermore there’s now a weekly sync of these results to a dedicated [github repo](https://github.com/foorilla/ai-jobs-net-salaries) as well.

As initially announced, but not yet implemented during that time, we built our own [FX data API](https://fxdata.foorilla.com/) to provide free and public currency data (yes, you can use it as well if you like!) for the Forex calculations taking place on the dataset in the salary_in_usd column. This is because we allow people to fill in their annual salary in their home or actually paid out currency and then do the work for you to translate that into its corresponding USD amount (yearly average) for better comparability/reference, with data provided by the [Bank for International Settlements](https://www.bis.org/) (🏦 the bank for the central banks, basically).

Well, it’s always fascinating how much effort can go into something seemingly simple like a salary survey (hint: way more than you anticipated). But still, it looks like it’s worth the effort.

We also put in some more descriptive information on the [download page](https://salaries.ai-jobs.net/download/) about what each column in the dataset represents or how to interpret it. Should be pretty straight forward by now, and hopefull very easy to work with.

Now the plan is to keep this site up there indefinitely for the future to collect remote work salary information year by year on an ongoing basis. With this in mind it should be a good reason now to share this with your colleagues and friends if you haven’t done so yet. 😉

It’ll be very interesting to see how much data we can gather in the long term, and also keep in mind that all this is in the [public domain](https://creativecommons.org/publicdomain/zero/1.0/) (though mentioning the data came from us would be nice and also increases the amount of data available to share). Meaning it’s free to use by anyone for anything. 🙂

Last but not least: Many thanks to all of you who filled out the survey form and shared the site with others. That’s pretty awesome! 💪

*The post [A first update on our salary survey](https://insights.ai-jobs.net/a-first-update-on-our-salary-survey/) appeared first on [ai-jobs.net Insights](https://insights.ai-jobs.net).*
Learning Python- Intermediate course: Day 33, The Menu Widget
Tags: learningpython, python, tutorial
Published: 2021-09-28 05:08:46

Today we will cover menu widget in Tkinter
---
____
In the previous part, we learnt to use menubutton. Today we will learn a very similar widget called as the menu widget.

### The menu widget
The menu widget is a type of widget which lets the users choose actions from a drop down. We see menus everywhere in any GUI application. For example, in the Python IDLE itself there is a men widget.

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/62253dleme6v337z8zzu.png)
 
 The menu widget is responsible for many important actions. Save, save as, open a file, quitting a program, undo, redo, etc are a few actions to name.

> The top-level menus are the one which is displayed just under the title bar of the parent window. 

### Making a menu widget
We can make a menu widget by using the syntax `menubar = Menu(master)` 
This creates an instance of the menu-widget. Afert that, we need ot create an instance of a menubar button by adding parameters to the `menu()` constructor. That is, `file = Menu(menubar, tearoff=0) `. This creates a button named file (we add txt later) on the top of the screen. We do that for every button we want to place on the top menu. Example here we add two buttons, file and edit.
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qqd3j6cafxrg3f0kc4nb.png)
 

 Now we need to add add various commands to it by using the `add_comand()` method. These are displayed in the dropdown. Example `file.add_command(label="New")  ` We can also use the command `file.add_separator()` to add a horizontal line for separation 

After we are done adding the commands, to the dropdown, we can use the command `menubar.add_cascade(label="File", menu=file)` to set the txt of the button and place it in the main menu.

The entire program is as follows--


____

```python
from tkinter import *
master = Tk()  
menubar = Menu(master)

file = Menu(menubar, tearoff=0)  
file.add_command(label="New")  
file.add_command(label="Open")  
file.add_command(label="Save")  
file.add_command(label="Save as")
file.add_separator()
file.add_command(label="Exit")  
menubar.add_cascade(label="File", menu=file)
                 
edit = Menu(menubar, tearoff=0)  
edit.add_command(label="Undo")  
edit.add_separator()  
edit.add_command(label="Cut")  
edit.add_command(label="Copy")  
edit.add_command(label="Paste")  
edit.add_command(label="Delete")  
edit.add_command(label="Select All")  
menubar.add_cascade(label="Edit", menu=edit)

master.config(menu=menubar)  
master.mainloop()  

```

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/msoyhg8z1r50uqlzy0hd.png)
 

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eb6lx9osbe6csxks5izm.png)

> In the above program, clicking on the buttons will not run any actions, as we have not placed any command on clicking.

____
So friends that was all for today, Stay tuned and follow me for updates.
Intro to VS Code for WEB - DEVs
Chapter 1 - Introduction
Tags: codenewbie, vscode
Published: 2021-09-28 05:08:18

# **Introduction**

It is a code - editor which is highly popular. VS Code, can be used to write code in any programming languages by downloading the respective packages of the language. But here we will be focusing on Webb - Dev only. For for Static Web pages or HTML , CSS & JS web pages nothing needs to be downloaded. Only VS Code is needed.

Some other popular Altenatives to VS Code are Atom & Sublime Text. Another one is Replit which is cloud based or online. But As far today the most Popular is VS Code as per Google trends
![Source : Google trends](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k9oa8tie7niby0cwsz5r.PNG)
###### source : Google trends

It is Made by the Company ***Microsoft***. We won't Recommend to install it from third party sites. Download it from [here](https://code.visualstudio.com/).

Wikipedia says : "Visual Studio Code is a code editor made by Microsoft for Windows, Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git."