teleren/devto huggingface dataset:
My Favorite VS Code Extensions
Tags: productivity, programming, vscode, beginners
Published: 2021-08-31 05:52:02

Hey Everyone! I wanted to show you all some of the vscode extensions I use and found really useful.

![gravity-falls](https://user-images.githubusercontent.com/51131670/131395794-348fba52-ea26-4600-9aba-36e0ca0e8730.gif)

---

## indent-rainbow by oderwat

As the name suggests this extension adds colors to the indentations in your code which can be useful to format your code .It can especially help you in writing python .This is a really useful and interesting extension.

VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow

![image](https://user-images.githubusercontent.com/51131670/131396543-774b8d2a-3a7a-4e1e-8e99-b78376293063.png)

---

## polacode by P & P
This is an amazing extension if you want to post snippets of your code on your blog or twitter. Polacode makes it really easy to get pretty code snippets of your code.
All you have to do is run polacode from your vscode command palette, paste your code and click the capture button to download the image.

VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=pnp.polacode

![image](https://user-images.githubusercontent.com/51131670/131397300-305ed717-840e-4e6e-b7c3-2fccfea10e6b.png)

---

## REST Client by Huachao Mao
This is a really convenient extension for api developers .You can use this extension as an alternative to postman. 

One can make a file with the extension .http and test out their api in vscode itself. It supports all GET,POST,UPDATE and DELETE request.

The benefit can be pushing the .http file to your GitHub repo so that other team members can contribute to the file.

VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=humao.rest-client

![image](https://user-images.githubusercontent.com/51131670/131398109-ce535c46-6352-4806-9895-b13c9e7cf682.png)

---

## Here are some other vscode extensions you might find useful

### Bracket Pair Colorizer 2
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2

### Live Server
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer

### Auto Rename Tag
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag

### Better Comments
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments

### ES7 React/Redux/GraphQL/React-Native snippets
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets

### Material Icon Theme
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme

### Live Share
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare

--- 
Would love to know What other extension do you all use in vscode ? Let me know in the comments!!
What's the difference between CSS, SASS, and SCSS?
Tags: css, beginners
Published: 2021-08-31 02:32:51

When I wrote [QWERTYBall](www.QWERTYBall.com), I was especially eager to get it working and looking how I wanted. If I wanted a certain feature, I'd read a tutorial on how to add it, and do whatever the tutorial said to do. In the process, I ended up with a lot of extra files I didn't need. 

In the interest of streamlining the app I wrote all those months ago, I recently revisited the code and found I had CSS files, SASS files, and SCSS files. The problem is that I had no idea what SASS or SCSS was, so I set out to learn. Here's what I found.

## CSS
CSS stands for Cascading Style Sheets. Before CSS, there wasn't any formal separation between the code that defined how a webpage looked and the content featured on that webpage. This lack of separation made it laborious to update the look of a webpage because you had to hunt all over to find and change the fonts, colors, margins, and anything else.

## SASS
SASS stands for Syntactically Awesome Style Sheets. In 2006, SASS was developed to solve the problem of excessive repetition in CSS by allowing for variables, nesting, and mixins (a pre-defined group of styles). SASS also added programmatic features such as arguments, loops, and conditional logic. The authors of SASS also decided to change the syntax a bit by eliminating the need for semicolons and curly braces. Instead, the syntax is "whitespace-sensitive" and must have proper indentation. SASS is a CSS "pre-processor" and outputs traditional CSS so any slightly modern browser can implement it.

## SCSS
SCSS stands for Sassy CSS, and it's a newer syntax for SASS. It's simply CSS with the same featureset as SASS but requires semicolons and curly braces just like CSS. In fact, you can convert any CSS file to SCSS by changing the doc type from `.css` to `.scss` because SCSS is an extension of the syntax of CSS.

## Examples
Here's some CSS for two buttons. Following is how you would accomplish the same goal using SASS and SCSS.

CSS
```css

.button.danger {
  border: 1px solid black;
  background: hsl(0, 100%, 50%);
}

.button.warning {
  border: 1px solid black;
  background: hsl(60, 100%, 50%);
}
```

SASS
```sass
$red: hsl(0, 100%, 50%)
$yellow: hsl(60, 100%, 50%)
$neutral: hsl(0, 0%, 0%)

=myBtn($bdr, $bg) 
  border: 1 px solid $bdr
  background: $bg

button 
  danger 
    +myBtn($neutral, $red)

  warning 
    +myBtn($neutral, $yellow)
```

SCSS
```scss
$red: hsl(0, 100%, 50%);
$yellow: hsl(60, 100%, 50%);
$neutral: hsl(0, 0%, 0%);

@mixin myBtn($bdr, $bg) {
  border: 1 px solid $bdr;
  background: $bg;
}

button {
  danger {
    @include myBtn($neutral, $red);
  }
  warning {
    @include myBtn($neutral, $yellow);
  }
}
```
The Week in Review
Tags: programming, webdev, coding, 100daysofcode
Published: 2021-08-31 05:49:15

  It was the 4th week of the **100DaysofCode** challenge and it turned out to be the most productive week in the entire challenge. I learned about REST API and defining RESTful routes. To practice defining RESTful routes, I made a project involving CRUD operations where the user could post a comment, edit the comment, view and delete comments. Though there were not any authentication and user account features, it was sufficient to get an idea about defining RESTful routes and passing data. In addition to this, I also solved 40 problems on arrays on geeksforgeeks and leetcode. Also focused on personal development and made it a habit to read at least 20 pages a day.
Videogame Text Datasets Release
Tags: datasets, videogames
Published: 2021-08-31 20:29:37

## Background

In 2016 I released [LibraryofCodexes](https://libraryofcodexes.com), a website that aimed to gather videogame text into one uniform place (think in-game notes, books, letters, audio recordings etc). This was because I found that I was too engaged in finishing a quest or killing a monster to take the time to read it, and while wikis existed they can sometimes be tedious to navigate. Ultimately the website has gone through a few iterations since 2016. Most of the original design was stripped away in favor of shifting to an eBook repository and the database that has each individual entry is now private. 

However, I've recently started reading through a few academic papers on Natural Language Processing applied to videogames (it's a rather small domain). I realized that there is a lack of easily accessible text and I’ve been sitting on a data set for the past few years that just needed to be formatted and released. 

## Datasets

I've gone ahead and released the full data set in `json` format to [github](https://github.com/Davis24/video-game-text-dataset). This repository, at the time of release, contains a slew of different game series (see full list below). Each videogame has it's own README which details what data has been collected, what kind of quirks, and the degree of sanitization. 

### Videogame Series List

* Assassin's Creed 
* Baldur's Gate
* Battlefield
* Crysis
* Dead Space
* Destiny
* Deus Ex
* Diablo
* Doom
* Dragon Age
* Dying Light
* Fable
* Fallout
* Gears of War
* Horizon Zero Dawn
* Kingdoms of Amalur
* Mass Effect 
* Metroid Prime
* Middle-Earth
* Nier
* Red Dead Redepmtion
* Resident Evil
* Star Wars: The Old Republic
* System Shock
* The Divison
* The Elder Scrolls
* The Last of Us
* The Witcher
* Tomb Raider
* Watch Dogs
* World of Warcraft

Hopefully this can help make someone's research just a little bit easier. I will continue to update the repository in the future as I update [LibraryofCodexes](https://libraryofcodexes.com) with new games.
Moms, you're carrying a lot of plates
Tags: career, moms
Published: 2021-11-30 21:02:03

---
title: Moms, you're carrying a lot of plates
published: true
date: 2021-11-30 00:00:00 UTC
tags: career, moms
canonical_url: 
---

I see you moms. You’re carrying a lot of plates. Your children. Your work. Your family. Your life. Everything. You are carrying more plates than anyone should expect to carry. I know it’s _hard_. I know it feels like you aren’t doing a good job at any of those things. But the truth is you’re amazing.

You’re carrying those plates and they are _heavy_. And you’re still pushing forward. You’re tired. I know. It’s exhausting.

You will get stronger.

But you also have to learn how to hand off some of those plates. You have to know when you’ve tried too much weight and when adding one more will be the one that will strain you too much.

As a mother, your identity shifts. You have another human or humans to care for. Your understanding of who you are will change. Your priorities will change. Your past self is a part of who you are, but it’s not _who_ you are anymore.

And you’re awesome.

And now I’m going to do my favorite thing and mix metaphors:

You have to learn how to weed your garden. The things that don’t enrich the soil? Gone. The things that strangle the fruit? Gone. The things that help the plants but only in small doses? Regulate. Protect your garden.

Protect yourself. If you give and you give and you give all day long, you are depleting yourself. There will be nothing left to give at some point. You have to find the things that enrich your life so that you can give when you need to. It is ok to take a walk by yourself. It is ok to ask for alone time. It is ok to go to the gym. It is ok to do something that you–and only you–enjoy doing.

Because that’s the thing, you have to care for yourself or eventually no one will be cared for. You can’t be empty and continue to give. When you do that, you move on the negative axis; you accumulate exhaustion, frustration, anxiety, resentment, anger.

Dear moms out there, I encourage you to find things that enrich your lives, to eliminate the things and people who deplete you, and to communicate your frustrations, your emptiness, loneliness, anxieties, to those close to you. To ask others to carry some of your plates. To find communities who can support you. To let yourself _feel_ your feelings.

I don’t know if it’s ever _not_ hard to be a mom. But I do know that when we allow _our_ needs to go unmet, we’re heading down a dangerous path. Prioritize. Minimize. Optimize. Boundaries–ok, I just wanted to make that one fit. The point is, don’t try to do everything, master the art of “no,” and let people know when they’ve asked too much of you. Don’t let them minimize your feelings or persuade you that your feelings are wrong. Let that be your red flag.

I’ve got you, moms. Make sure you’re enriching yourself too.
Python Software Bundle
Tags: python, codenewbie, aws, cloud
Published: 2021-09-01 00:13:20

![Python Software Bundle](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ad8v7t6c5il93lah9mm4.jpg)

[Python Software Bundle](https://www.humblebundle.com/software/python-2021-software?partner=indiekings)

We’ve all been there. New Year’s resolutions. A goal to learn something new. Perhaps a coding friend has recommended you learn programming. Whatever the reason, now’s the time to pick up some programming skills. And courtesy of the new Python software bundle, there’s no better time than now to master a new skill and make your computer even more useful!

Pick up the awesome programming potential of Python, with software like Mastering PyCharm (2021 Edition), Object-Oriented Programming (OOP) in Python, and PyCharm Professional Edition - 6 months free.

Plus, your purchase will support the Python Software Foundation and Women Who Code!
Logo Maker - logo creator 3d & Graphic Design

Published: 2021-09-01 07:33:29

Logo maker free is a fully loaded logo creator app for graphic design free. Now design logos for gaming, business, esports and company events with logo editor using premium shapes, symbols, icons, typography and logo templates in 3d. Start designing your logo for your gaming squad using gaming logo maker to represent your clan or gaming team with a professional yet powerful logo in esports or give your brand a unique identity using logo maker app for free.
Download:
https://play.google.com/store/apps/details?id=com.logomaker.esports_senseapplab
What to Do If You Learned Nothing from Programming Courses?
Tags: beginners
Published: 2021-09-01 09:38:53

A couple of weeks ago, I found this on Reddit:
> **Me after completing Codecademy JavaScript course:** I now know everything about JavaScript. You can ask me anything..
>
> **Another person:** Really? What are prototypes?
>
> **Me:** Um... They are...Um....
([Source](https://www.reddit.com/r/learnjavascript/comments/p1gvzz/can_we_relate/))

Does this sound familiar? Unfortunately, this is common. **You found the perfect course**, you feel you understand everything, but when you have to apply what you saw in the course, you find out that **you actually learned nothing.** And that can be very frustrating.

Why does this happen? First of all, **coding is a skill.** And like any other skill, the best way to develop it is by doing. **Practising is the best way to learn how to code.**

Also, in a tutorial, you're basically following instructions from the instructor. But when you're coding on your own, you are the one who must decide what to do. Practising helps you get better at it.

**You should practice doing tasks or projects that are slightly challenging.** It should not be too easy, and it shouldn't be too hard. If the tasks are too easy, you won't progress and it will get boring. If it's too hard, you might feel overwhelmed and you may quit.

If it's hard for you to come up with project ideas to practise, you can read this article I wrote about the topic: [How to Get Project Ideas to Practice JavaScript](https://dev.to/nicozerpa/how-to-get-project-ideas-to-practice-javascript-3ip3).

---

Learning JavaScript is tough, isn't it? My newsletter has tips and insights to level up your JS skills. [Click here to subscribe](https://nicozerpa.com)
Lebih Dekat Dengan Lambda di Kotlin
Tags: kotlin, lambda, indonesia
Published: 2021-09-01 12:08:31

Lambda disebut juga sebagai anonymous function, karena sifatnya yang tidak perlu mendeklarasikan fungsi. Perbedaan function dengan lambda adalah lambda langsung mengembalikan nilai tanpa perlu menggunakan keyword return. Contoh kode:
```kotlin
fun main () {
	val sayHello = { name: String -> "Hello, I'm $name" }
	println(sayHello("Andi")) // output : "Hello, I'm Andi"
}
```
Penulisan lambda juga bisa ditaruh di luar fungsi main. Karena lambda ini tidak perlu menggunakan return maka cara untuk membuat multilinenya adalah
```kotlin
fun main() {
	val add = { num1: Int, num2: Int ->
		val result = num1 + num2
		result
	}
	println(add(5, 2)) // output : 7
}
```
## Keyword `it`
It akan merujuk kepada parameter yang hanya berjumlah satu. Contoh :
```kotlin
fun main() {
	// val getMessage: (String) -> String = { name: String -> "Hello from $name" }
	val getMessage: (String) -> String = { "Hello from $it" }
	val message: String = getMessage("Andi")
	print(message) // output : Hello from Andi
}
```
Pada contoh diatas untuk membuat lambda `getMessage` bisa menggunakan kode :
```kotlin
val getMessage: (String) -> String = { name: String -> "Hello from $name" }
```
Tapi karena lambda ini hanya memiliki satu parameter saja yaitu `name` maka parameter bisa dihapus lalu untuk memanggil parameternya cukup menggunakan keyword `it`.
```kotlin
val getMessage: (String) -> String = { "Hello from $it" }
```
Syarat untuk menggunakan keyword it adalah
- Parameter harus ada satu dan tidak boleh lebih
- Harus mendeklarasikan tipe datanya, pada contoh tipe data pada `getMessage` adalah `(String) → String`

## Empty Parameter
Lambda bisa dibuat tanpa menggunakan parameter. Contohnya :
```kotlin
fun main() {
	val sayHi = { "Hi world !" }
	println(sayHi()) // output : Hi world !
}
```
Developers mill
Tags: devjournal
Published: 2021-09-03 09:24:13

I have wanted to write this article for a while now, and somehow it never happened.

I've been talking to other developers about the topic of a developer mill, and more people seem to acknowledge this theory.

So what exactly is this theory?

## We're all hamsters in a wheel

![Hamster in wheel](https://cdn.hashnode.com/res/hashnode/image/upload/v1629963134269/shLFoySkg.png)

That sounds a bit morbid, right, but hear me out. We get a job. We must run the fastest to spin the wheel because once we get tired or slow, another hamster will take over and run the wheel for us, spinning us off.

Now you might start to think, hmm, right, I've been part of this, and from my experience, I've been one of those.
We get a job and think we have to work ridiculous hours (often unpaid) to please the wheel.

And the moment we stop for some water, we get replaced. Because, well, quite frankly, there are enough hamsters around.

And we, as the hamsters, are part of the process because what would happen if we all stopped running the wheel?

Would the world collapse?
I don't think so.

But then, what's the goal that we should want to achieve?
For me, it's about making an impact, not being another hamster in another wheel.
Instead: being the hamster that changes the direction of the wheel, or dares to take a break.

Quite frankly, it's a very toxic environment. And we, the hamsters, should stand up for ourselves.

## The nuances hamster wheel

![Hamster flying off wheel](https://cdn.hashnode.com/res/hashnode/image/upload/v1629963178731/F3p4COzFZ.png)

Luckily there are innovative wheels as well, wheels that want to please us! Hey, it might be one of those wheels that drop treats at the end.

And those wheels should be chased.
Being in tech is not an easy job. The wheels keep upgrading, and we might not know how to operate them at one point, but that's ok. We can take a step back and relearns the basics of spinning the new wheel.

## Why is this important

I think it's vital to teach newcomers, beginners, and people making a transition in tech that it's ok not to blow themselves up spinning the wheel.

The experienced and wise hamsters should educate the young and wild ones on finding a perfect balance.

We might call these the guiding hamsters, there to guide those in need of guidance.

Today, my call is for you to evaluate which hamster you are and if that's where you want to be.

If not, let's make that change together and talk about this. 🐹

### Thank you for reading, and let's connect!

Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on [Facebook](https://www.facebook.com/DailyDevTipsBlog) or [Twitter](https://twitter.com/DailyDevTips1)
Please help me with this haskell program.
Tags: haskell, programming, help
Published: 2021-09-09 09:05:56

Define a function dropOdds :: Int -> Int with the following behaviour. For any positive number m, dropOdds m is got by dropping all the odd digits in m. (If all the digits in the number are odd, the answer should be 0.)
Test cases:
dropOdds 0 			= 0
dropOdds 8 			= 8
dropOdds 1357 	= 0
Become A Better Developer Today: Quick Wins
Tags: career, programming, beginners
Published: 2021-09-09 20:01:53

Here are some common mistakes you might be making daily that are slowing you down, holding you back and building tech debt.

🧪 **Not writing tests**. Get used to writing these sooner rather than later. You don’t need to go full Test Driven Development (TDD) but at least be comfortable. I should have started earlier!

📄 **Not documenting code**. Coming back to old code is a nightmare without good docs, I can’t remember how code I wrote last week works so after 1 year I have no chance.

🧰 **Not breaking out common code into a reusable library**. Reusable code is your toolbox, it saves you time, effort and complexity. Start building your personal toolbox or your teams toolbox now.

🍱 **Forgetting to split projects into smaller modules**. Good organisation is the best way to keep a codebase sensible and manageable, it doesn’t come for free though so you have to work at it.

🏛 **Not using external libraries**. Build on other peoples code and don’t write everything from scratch, this lets you move faster, benefit from others work and you can focus on your core business logic.

💅 **Not using an auto code formatter**. Worrying about how to format and layout your code should be the last thing on your mind, get used to auto format on save and you will love it!

🤖 **Not automating**. There is a knack in knowing when to automate, too early in a process and you risk automating the wrong thing and having to change it, too late and you'll have an overly complex process to automate that will take weeks to sort out. If you've done the same thing 3 times in a short period of time (measured in weeks) then it's time to automate it.

### Summary
None of these on their own will derail a software project but all of them can add friction to the development process and slow you down. Pick one and implement it in your current project today.

### One more win
Head over to [Career Switch To Coding](https://careerswitchtocoding.com/) and join my mailing list for regular tips and a free chapter of my book 😀
Pip installation on Windows using python
Published: 2021-09-10 00:50:54

To get started with using pip, you should [install Python](https://www.python.org/downloads/) on your system.

##What is pip?
PIP is a package management system used to install and manage software packages written in Python. It stands for “preferred installer program” or “Pip Installs Packages.”

##Check for pip in your computer
You have to check if you have a working Python with pip installed. This can be done by running the following commands
```
$ python --version
python 3.N.N
$ python -m pip --version
pip X.Y.Z from ... (python 3.N.N)
```
If that worked then you have no need to reinstall pip again. But incase otherwise, you will have to follow the instruction below.

##How to install pip on windows
pip can be downloaded and installed using command-line by going through the following steps:

1. Download the [get-pip.py](https://bootstrap.pypa.io/get-pip.py) file and store it in the same directory as python is installed.
![windows screen](https://media.geeksforgeeks.org/wp-content/uploads/20200117165504/pip-install-1.jpg)

2. Change the current path of the directory in the command line to the path of the directory where the above file exists.
![screen](https://media.geeksforgeeks.org/wp-content/uploads/20200117165502/pip-change-directory.jpg)

3. Run the command given below:
```
python get-pip.py
```
![screen](https://media.geeksforgeeks.org/wp-content/uploads/20200117165506/pip-installation.jpg)

 pip is now installed on your system.!


Thank You for reading.