teleren/devto huggingface dataset:
We built MERN stack book discovery platform
Tags: javascript, node, mongodb, startup
Published: 2022-12-06 09:20:50

Blipps.io was started because Daniel and I didn’t know what to do with highlights on our Kindles - sounds familiar?

For avid readers and Kindle users, we have had to deal with websites with old-school designs or build our own manual systems to catalog our reading.

We designed a new way to discover new books - rather than only reading reviews, take a look at what others are highlighting.

By getting a taste of the book, we can make a more informed decision about our next reading adventure.

Our web app provides a facelift of existing platforms, with the following features:

📲 Import highlights from Kindle, Kobo or manually add a quote

📖 Highlights are automatically organized into books

😍 Generate highlights into screen savers or post them on social media

👯 Add friends and explore their highlights

👀 Join individual books clubs to see what everyone else has highlighted and engage in book discussions

If you are a bookworm or an e-book user with tons of highlights, we are really excited for you to give us a try!
I released 100% open source feature management service
Published: 2022-12-06 09:16:42

It allows R&D, SRE and operation teams to launch new features or switch software implementations with confidence and lower risk. It have Rust sdk、python sdk、react sdk、Rust sdk、Node.js  sdk and so on.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lx6fhomaf4igry1xi8vc.png)

## Why I do this?
 
At first, I was looking for a Feature flags open source service. I found a good product called LaunchDarkly, but it is not an open source. And the unleash, it’s an open source, and it’s a little bit difficult to use. So I just thought, why not make one by myself? I started working on it right away, and have already come to the point where it supports the most of the basic language.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ujznfxxc8bswpq0oh8p5.png)

Welcome to submit an issue，also welcome to become a contributor to our project.

https://github.com/FeatureProbe/FeatureProbe
Install NVM on Mac, Windows and Linux
Published: 2022-12-06 09:12:05

**Install on macOs**

To install NVM on macOS, you can use the Homebrew package manager. If you don't already have Homebrew installed, you can install it by running the following command in a terminal:


```
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install"
```
Once Homebrew is installed, you can use it to install NVM by running the following command:


```
brew install nvm
```

 Note that you may need to add the nvm command to your shell profile to make it available in all terminal sessions. You can do this by adding the following line to your shell profile configuration file (e.g. .bash_profile or .zshrc):

```

source $(brew --prefix nvm)/nvm.sh
```

This will allow you to use the nvm command in all terminal sessions without having to re-source it each time.

**Install on Windows**

1. Visit the NVM website at https://github.com/coreybutler/nvm-windows

2. Click on the "Releases" tab, then find and click on the latest release to download the NVM installer.

3. Once the download is complete, double-click on the downloaded installer file to run it.

4. Follow the prompts in the installer to complete the installation process. This will install NVM and add it to your system path, allowing you to use it from the command line.

5. Once the installation is complete, you can verify that it was successful by opening a new command prompt and running the following command:

```
nvm --version
```
This should print the version number of NVM that is installed on your system. You can then proceed to use NVM to install and manage different versions of Node.js, as described in the previous sections.

**Install on linux**

To install NVM on Linux, you can use a package manager like apt-get or yum. For example, on Ubuntu you can use the following command to install NVM:

```

sudo apt-get install nvm
```

You can verify that it was successful by opening a new command prompt and running the following command:

```
nvm --version
```

Once NVM is installed on any of these operating systems, you can use it to install and manage different versions of Node.js, as described in the previous sections.

e.g -

To use NVM to switch to a specific version of Node.js, you can run the following command:

```

nvm use <version>
```
Replace <version> with the version of Node.js you want to use. For example, to switch to version 12.18.3, you would run:

```

nvm use 12.18.3
```
This will set the version of Node.js that is used by default for new terminal sessions.
9 Most Common Types of Password Attacks and How to Stop Them
Published: 2024-06-22 09:02:37

---
title: 9 Most Common Types of Password Attacks and How to Stop Them
published: true
date: 2022-12-06 09:11:23 UTC
tags: 
canonical_url: https://mojoauth.com/blog/password-attacks
---

Passwords are vulnerable to attack because they are often the only barrier standing between an attacker (who uses various types of password attacks) and access to a person’s sensitive information or accounts. Because of this, attackers will often try to discover or guess a person’s password to gain access to their accounts and information. Passwords are vulnerable to attack for several reasons: First, many people use weak, easily guessable passwords that can be easily cracked by an attacker.
DPS909 Blog: Release 0.4-Planning
Tags: opensource, beginners
Published: 2022-12-06 08:54:51

Hey everyone, thanks for reading my Blog post.
## Overview
In release0.4 we are asked to add a feature to an open source project.

## Planning

For Release 0.4 I have decided to use all the skills which I have learned in this course. 
And try to add new feature with those skills in an open sources project.
I have decided to add the Linter to the open source project which I worked on during Release 0.2 which is [Basic-memory-game](https://github.com/Aatmaj-Zephyr/Basic-memory-game).

I have created the new issue with the description about the new feature and my plan to implement it.
[Issue-106](https://github.com/Aatmaj-Zephyr/Basic-memory-game/issues/106).

### Adding the linter
Linters help us spot "silly" mistakes that all programmers make, or help us avoid certain code patterns that often lead to bugs. We want to make it easy for ourselves and new developers joining our project to not introduce bugs or bad code.
I will use ESlint

And i will Create a simple "one-step" solution for running your formatter and the linter on the entire project from the command line. This could be an `npm script`.


Thanks
Introduction of Web Server and HTML
Published: 2022-12-06 08:44:56

Web Server is a collection of data, web pages, and other essential information that can be accessed by users or clients.
Apache is most widely used web server over the world.
HTML,CSS and Javascript are the three most essential tools to create websites.
h1 tag is used to display the heading.
h2 tag is also used to display the heading but the font size of h2 tag will be smaller than h1 tag.
lorem tag-In order to create a website in faster and to avoid creative  typing we use lorem tag.It is generally a dummy text.
Which will show how the website will look if we have a actual text.
img tag - It has two attributes src which we can call source which contains the link of the image.
alt  which we can call alternate in case of  internet error or due to weak connection if the image is not displayed it will diplay a textual description written by the user.
We can set the set the height and width of the image by using the "height" and "width" attributes.
YOUR SOLUTION IS NVM
Tags: npm, node, nvm, webdev
Published: 2022-12-06 08:42:43

So you've cloned a javascript framework repository, but soon as you try to run,"npm install", You're running into the following errors and warnings:

-` npm ERR! gyp ERR! stack Error: Can't find Python executable "C:\Python27\python.exe", you can set the PYTHON env variable.
`
or 
`
 npm WARN deprecated`

or 
 `could not solve dependency`


**Your problem is that you're using a different node version than the cloned repository's and your solution is NVM.**

[
How to install NVM for Windows, Mac and Linux](https://dev.to/csituma/install-nvm-on-mac-windows-and-linux-1aj9)



NVM is important because it allows developers to easily switch between different versions of Node(a popular JavaScript runtime environment.)

 This is useful because different projects may require different versions of Node.js, and NVM makes it easy to switch between them without affecting other projects on the same system.

NVM solves this problem by **providing a simple and consistent way to manage multiple versions of Node.js on the same system.**


This can:
1. Save time.

2. Reduce developers' frustration by making it easier to use the version of Node.js that is best suited for each project.

[
How to install NVM for Windows, Mac and Linux](https://dev.to/csituma/install-nvm-on-mac-windows-and-linux-1aj9)
Frontend Machine Coding Interview | Video Explanation | HTML | CSS | Javascript
Tags: webdev, javascript, css, html
Published: 2022-12-06 08:26:18

In this article, I have added different frontend machine coding questions with a video explanation and created all frontend using HTML, CSS, and Javascript.

**1. Crypto Dashboard**
Video Explanation - https://youtu.be/1z_PTw_mOCw
Hosted URL - https://cryptos-dashboard.netlify.app/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f2wpwmo9diht2oadb6jp.png)

**2. Bishop on Chessboard**
Video Explanation - https://youtu.be/NAdNKhocaNg
Hosted URL - https://bishop-chessboard.netlify.app/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bg6v43pv5bif4oh4rrx2.png)

**3. C Shape with 7 Box**
Video Explanation - https://youtu.be/Auxn-UP3ai0
Hostel URL - https://cshape-seven-box.netlify.app/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bbqg4cre4nso3er22dji.png)

**4. Star Component**
Video Explanation - https://youtu.be/xEZ2tgp2FVw
Hosted URL - https://rating-component-normal.netlify.app/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qb1y9d6mxv2o3oqudnmd.png)

**5. Modal Component**
Video Explanation - https://youtu.be/TJLduK9BY8k
Hosted URL - https://modal-component-normal.netlify.app/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hum3wan7lxfr3rlab628.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o9nl26op6tph68xm64vv.png)

**6. Counter App**
Video Explanation - https://youtu.be/KIdW8X4wnQw
Hosted URL - https://counter-functionality.netlify.app/
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0gh9oh5xcwzr5xkfiiee.png)

**7. Nested Comments**
Video Explanation - https://youtu.be/a4OA7QbHEho
Hosted URL - https://nested-comments-ui.netlify.app/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c4ay1r6lfyft0gjck38e.png)

**8. Product Cards**
Video Explanation - https://youtu.be/2eNRdoYYZPk
Hosted URL - https://products-card-ui.netlify.app/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9r3p50e7dvpcpado6gk3.png)

I hope this Frontend Machine Coding list will help you to crack your next frontend interview.

So that's it for me, developers. I'll talk to you again soon with something more educational content.

FOLLOW ME for great content 🎉 on [Twitter](https://twitter.com/bhati_vijay17) and here also.
Kotlin Code Smell 6 - Boolean Variables
Tags: kotlin, codesmells, cleancode, programming
Published: 2022-12-06 12:00:38

---
title: Kotlin Code Smell 6 - Boolean Variables
published: true
date: 2022-12-06 08:00:42 UTC
tags: kotlin,codesmells,cleancode,programming
canonical_url: https://yonatankarp.com/kotlin-code-smell-6-boolean-variables
---

_Using boolean variables as flags exposes accidental implementation and pollute the code with Ifs._

> ***TL;DR:*** Avoid using boolean variables, as they lead to the use of if statements. Instead, create polymorphic states.

## Problems

* Lack of extensibility
    
* Comparison issues in some languages
    

## Solutions

* If a boolean variable maps to a real-world entity, it is acceptable. Otherwise, model it as a state to promote extensibility. This approach aligns with the [**Open/Closed Principle**](https://en.wikipedia.org/wiki/Open%E2%80%93closed_principle).
    

## Examples

* Usage of flags
    

## Exceptions

* Real-world true/false rules
    

## Sample Code

### wrong

```kotlin
fun processBatch(
    useLogin: Boolean,
    deleteEntries: Boolean,
    beforeToday: Boolean
) {
    ...
}
```

### Right

```kotlin
fun processBatch(
    useLogin: LoginStrategy,
    deleteEntries: DeletePolicy,
    beforeToday: OffsetDateTime
) {
    ...
}
```

## Conclusion

Exercise caution when using booleans. Flags make code maintenance and extension challenging. Gain a better understanding of the domain and consider migrating to the [**state design pattern**](https://en.wikipedia.org/wiki/State_pattern). Utilize polymorphism instead of if statements or when expressions (pattern matching).

---

Stay updated with my latest thoughts and ideas by registering for my [**newsletter**](https://yonatankarp.com/newsletter). Connect with me on [**LinkedIn**](https://www.linkedin.com/in/yonatankarp/) or [**Twitter**](https://twitter.com/yonatan_karp). Let's stay connected and keep the conversation going!

---

## More Info

* [FlagArgument](https://martinfowler.com/bliki/FlagArgument.html) by Martin Fowler
    

## Credits

* [Code Smell 07 - Boolean Variables](https://maximilianocontieri.com/code-smell-07-boolean-variables) by @[Maxi Contieri⭐⭐⭐](@mcsee)
Today's Daily Humor For Devs - Daily Developer Jokes
Tags: jokes, dailydeveloperjokes
Published: 2022-12-06 08:00:25

---
title: "Today's Daily Humor For Devs - Daily Developer Jokes"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e1258ed882b0.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit._

<!--
Joke text:
___Q:___ What did JavaScript call his son?

___A:___ JSON!
 -->
Getting homework done while dealing with your children: A warning for parents in school.
Tags: parentsintech
Published: 2022-12-06 07:51:10

I'm not going to lie. I made four different attempts at the title of this blog post and I still don't think it's very good. I tried to make it as clear as possible what my topic is, but I think that whenever people see "parents" and "homework" and "school" in the same sentence they're going to assume I'm talking about the children of these parents...but not today people!

In this post, I'd like to share an insight comparing my previous experiences in school to my current experience being back in school while having young children: Everything is different!!

Obviously, I knew that this time around would be a very different experience and I was prepared for that, but I don't think I quite realized how utterly useless many of previous approaches to school would be. Luckily, my kids are nine and six and in school during the days so I'm not completely screwed, but, as you may know, school only goes from Monday to Friday. 

At the end of my first week back in school, I thought "I'm going to buckle down and get a bunch of work done this weekend." I'm guessing that thought must have been some sort of relic from my experiences in college twenty years ago when, if I was behind on work going into the weekend, I'd only go to parties on Friday and Saturday night and try to get some work done during the rest of the weekend. Wow. The sacrifices I used to make. Now, if I'd been thinking logically about my current situation, I would have realized that these days the weekends are a TERRIBLE time to get work done. The weekends are always about the kids. I'm taking then to soccer games and birthday parties and playgrounds and if that isn't happening then we're playing board games or reading books or playing pretend. When is there time to do homework? 

And it's not just weekends that are different. I'm in school from September to January so there's all the holidays to deal with too. We've had Halloween and Thanksgiving and now we have both Christmas and Hanukkah celebrations this month and it's very difficult to get much work done during any of it. Also, I don't want to miss out on these experience with my kids because I know they're getting older and soon they aren't going to want to spend as much time with me. 

Now, what have I learned from these experiences? I've learned the importance of staying focused during the school day and trying to be as efficient as possible with my work. I've also learned that sometimes you just have to put your kids first... and if that results in my blog not being quite as organized as I want it to be some weeks then that's just something I'm going to have to deal with.
How I tried to revolutionize the scripting experience
Tags: devops, programming, opensource
Published: 2022-12-06 07:50:22

In this article, I will introduce the Opensource project Bashy, a tool that enhances the scripting experience by facilitating argument parsing and making it possible to share scripts as every package manager does. In another word, I made work Bash as any modern scripting framework should. This can be a boost for improving productivity and automating recurring tasks for programmers and data scientists.

I will explain why we need a tool like Bashy, and then show how it can be used with some practical examples. Finally, after we will have discovered how it can save hundreds of hours for developers, I will move into the internal components to explain how it works.

[Let’s jump into the article!](https://towardsdatascience.com/better-bash-scripts-ae542fa37bd6?sk=3ac507a5ad1ec3b9beadc4127b779930)
Insertion Sort(삽입정렬)
Tags: algorithms
Published: 2022-12-06 07:41:47

## Time Complexity
best O(n)
Worst O(n^2)
Average O(n^2)

## Space Complexity
O(1) - because only use one temp variable

## BigOh
O(n^2)

## Opinion
If the array is already sorted this algorithm just loop O(n), but the performance of this algorithm is too variable.

---

{% embed https://youtu.be/16I9Z7bS1iM %}

(I don't put the code or concept because for practice)
[https://www.programiz.com/dsa/insertion-sort](https://www.programiz.com/dsa/insertion-sort)
Flutter RepaintBoundary
Tags: repaintboundry, flutter, dart, mobile
Published: 2022-12-06 07:31:33

`RepaintBoundary`, uygulamanızın widget hiyerarşisinin bir alt ağacında yeniden boyamaya neden olan değişiklikleri izole etmek için kullanılabilen Flutter çerçevesindeki bir widget'tır. Bir değişiklik meydana geldiğinde yeniden boyanması gereken widget sayısını sınırlayarak uygulama performansını arttırmaya yardımcı olur.

`RepaintBoundary `widget'ını kullanmak için izole etmek istediğiniz widget'ı RepaintBoundary widget'ı ile sarmanız gerekir. Bu widget ağacında RepaintBoundary widget'ı ile sardığınız widget'ı izole ederek bu widget'ta meydana gelen değişikliklerin ağaçtaki diğer widgetların yeniden boyamasını önlemeye yardımcı olur.


**İşte Flutter uygulamanızda RepaintBoundary'yi nasıl kullanabileceğinize dair bir örnek:**

`debugRepaintRainbowEnabled` özelliğini `true` olarak ayarlayın.

```
void main() {
  debugRepaintRainbowEnabled = true;
  runApp(const MyApp());
}
```

Daha sonra izole etmek istediğiniz widget'ı `RepaintBoundary` widget'ı ile sarın.

```
RepaintBoundary(
  child: MyWidget(),
)
```



[Tam örnek](https://dartpad.dev/?id=446ab37078c59d8dcb688c9d5f1eb7f4)




RepaintBoundary kullanmanın uygulamanızın performansını her zaman iyileştirmeyeceğini unutmamak önemlidir.Bu nedenle, uygulamanızda RepaintBoundary'yi nerede ve ne zaman kullanacağınızı dikkatlice düşünmeniz önemlidir.

Her şeyi bir RepaintBoundry içine koymadan önce RepaintBoundry'nin küçük bir maliyeti olduğunu ve CPU ve bellek tüketimini arttırabileceğini unutmayın!









Kaynaklar :)
https://www.youtube.com/watch?v=cVAGLDuc2xE
https://api.flutter.dev/flutter/widgets/RepaintBoundary-class.html
https://dartpad.dev/?id=446ab37078c59d8dcb688c9d5f1eb7f4
https://chat.openai.com/chat
MongoDB Atlas Hackathon 2022 on DEV
Tags: atlashackathon22
Published: 2022-12-06 07:23:45

## What I built
Blog

### Category Submission:
Choose Your Own Adventure

### App Link
https://mongohackathon-fe.vercel.app/ 
( Dont forget to turn off SSL Protection in website, sorry :( backend deployed using http)

### Screenshots


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ztp4vh0ck2iliu20qce9.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/htuuxta2gtckknqqeyh7.png)


### Description
 I dont know what i want build, but i have idea to build blog.. because for the future i want become content creator to create sharing about tutorial or tips in programming and lifestyle :D

this blog you can create a post and see event like hackathon and etc

you can register to create post

### Link to Source Code
https://github.com/floxydio/mongohackathon-fe
(FrontEnd)
https://github.com/floxydio/mongohackathon-be
(BackEnd)

### Permissive License
Apache-2

## Background
 for the future i want become content create sharing about tutorial or tips in programming and lifestyle, so i create this


### How I built it
I learn many thing about MongoDB, how to query in MongoDB and how MongoDB Works


### Additional Resources/Info
This Blog i created using :
- Svelte Typescript
- ExpressJS
- MongoDB
Java Exception Handling Cheat Sheet
Tags: java, programming, career, tutorial
Published: 2022-12-06 07:18:27

Java Exception Handling Cheat Sheet

================================

Here is the Java exception handling cheat sheet. You can use it as quick reference guide to prepare for the interviews.

![Java Exception Handling Cheat Sheet](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w3vz8kaml2qskir1o8uc.png)

See more at https://javaconceptoftheday.com/java-exception-handling-cheat-sheet/
undefined VS. null - know the difference
Tags: javascript, beginners, programming, webdev
Published: 2022-12-06 06:55:19

As Software Engineers, we often see the value undefined or null, but what is the difference?
Both are primitive data types. Both are falsy values.

`typeof null;` returns an object
`typeof undefined;` returns undefined
`null == undefined;` returns true
`null === undefined;` returns false

The main difference between those two values is that I intentionally set null to a variable, and a declared variable without a value will always return undefined.

`let name = null;` returns null
`let age;` returns undefined

Sure, you can intentionally set undefined to a variable, but this is not a good way how you should code. If another developer in your team starts to work with your code and gets undefined, the developer would think that this variable has no value assigned. It would mislead him into different ways of solving this issue.
Declaring a variable and assigning a variable are two different things.