teleren/devto huggingface dataset:
#DEVResolutions2024
Tags: devresolutions2024
Published: 2024-01-07 15:07:02

### **Professional Goals:**

1. **Goal:** I have been thinking, planning and visualizing for a while. I intend to keep doing more research and to get an action plan written down before this month is over to take it to the next level. I have encountered some setbacks already which felt big at the time but now, I think they are rather small, insignificant really, if I carry out my plans the right way that is. I am not fond of charing my goals to people so you will just have to wait and see. 

### **Personal Aspirations:**

1. **Aspiration:** Work on my communication, marketing and leader skills. I have an inner drive which keeps me going unless I start overthinking things. I am reading a book a month to gain more knowledge and to widen my horizons.

### **DEV Community Contributions:**

1. **Contribution Goal:** 
I intend to keep moderating, welcoming newcomers to DEV, write posts on here and make some comments on other people's posts as well. I truly enjoy being here!
Why JavaScript is not a great gateway language
Tags: javascriptsucks, beginners, pythonisbetter, learnc
Published: 2024-01-07 15:03:09

Marijuana done did a 180 in the last 50 years in terms of public opinion from being cited in Reagan's "War on drugs" speech as a dangerous drug to it being legalized in Colorado and Washington in 2012, for those who know about this plant's previous reputation know it was largely considered a gateway drug (as in the first drug  try before getting into more serious drugs) and JavaScript is just* about the same.
Learning JavaScript is not going to give you an understanding on the broader realm of programming languages and computer science, it's just gonna make you highly qualified in googling for errors and remembering popular library API's, at least this is the case for me personally. JavaScript has failed and I know I am not alone because `npm` packages still getting published and the wheel of faith continues along it's path.

Nevertheless I shall turn the other cheek and thank this language for making me understand how hard it is to actually build software and how exhilarating it can be when you finally crack it. Given that, I would like to emphasize the utter fuckery of prototypal inheritance, the `this` keyword, `undefined`, stupid syntax errors and all the Es's, no matter how cute (`ES6`) or who their daddy is (`Typescript`), when a programming language has this much to learn about and practice  it detaches itself from it's true objective, being efficient and understandable, it's not novelty when it's too much for so little. It's just some other bullshit one needs to do to keep their job، well I might not actually know what I am talking about only 3 years in,  but every time I look at `Eslint` warning I feel my stomach turning so I will just use ReScript or Elm, and fuck SEO or I'll even switch to PHP, who knows what I will do, just a noob JS developer trying to figure out what lies beyond the wall.
I encourage others to do the same because life is too short to spend any of it using and relying only on JavaScript or it's little succubus frameworks and tools.

But I still recommend it for back end.
What is Semantic Versioning and why you should use it for your software ?
Tags: version, softwareengineering, programming, semver
Published: 2024-01-07 14:56:00

---
title: What is Semantic Versioning and why you should use it for your software ? 
published: true
description: 
tags: #version #softwareengineering #programming #semver
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rgyh90856tb5fim77kpv.png
# ratio: 100:42
# published_at: 2024-01-07 14:31 +0000
---
### Introduction
Have you ever wonder why software have those strange numbers attached to them like **1.0.0** ? Well, that's how we use versioning.

### Let's break these numbers down:

🎉 **Major version** (left side number): When you have a version changed from **1.0.0** to **2.0.0**, this means there is an incompatible change or breaking change.
🔧 **Minor version** (middle number): When you have a version changed from **1.0.0** to **1.1.0**, this means there is a new feature backward compatible.
🩹 **Patch version** (right side number): When you have a version changed from **1.0.0** to **1.0.1**, this means there is a fix to a tiny bug or issue.

### Why it's essential:

🌪️ It helps avoid chaos by giving you a clear way to track changes and upgrade
🤝 It helps everyone on the team be on the same page
🐛 It helps teams fix issues and glitches without creating a whole new app
🌟 It helps showing new cool features
⏰ It helps going back to older versions if something goes wrong with last change

In conclusion, versioning is a crucial aspect of software development, ensuring order, collaboration and efficient management of code evolution.

For a more detailed and comprehensive guide on semantic versioning, visit https://semver.org
Hire A Hacker For Cell Phone Mobile
Published: 2024-01-07 14:50:42

Welcome to the world of Digital Web Recovery, they understand the complexities and challenges that can arise within relationships. In an age where technology plays a significant role in our daily lives, it is not uncommon for spouses to have concerns or suspicions regarding their partner's activities on their phone. Digital Web Recovery is a dedicated team that specializes in providing access to a spouse's phone, offering a potential solution for those seeking transparency and open communication. Trust is the foundation of any relationship, but sometimes doubts and suspicions can creep in. In an age where our lives are intertwined with technology, accessing a spouse's phone may seem like a way to alleviate those concerns and restore trust. That's where Digital Web Recovery comes in, offering a solution for those seeking access to their spouse's phone to address trust issues head-on. Digital Web Recovery is a team of experts who recognize that trust is essential and understand the delicate nature of gaining access to a spouse's phone. Their aim is to help individuals navigate through trust issues and find peace of mind. By providing a secure and confidential process, Digital Web Recovery ensures that individuals can take steps towards rebuilding trust in their relationships. Communication is a fundamental aspect of any relationship. Accessing a spouse's phone can offer valuable insights into their communication patterns, helping individuals understand their partner better. By examining text messages, emails, and call logs, Digital Web Recovery allows users to gain a more comprehensive understanding of their partner's interactions and potentially bridge any communication gaps. Their Telegram User; @digitalwebrecovery Digital Web Recovery specializes in uncovering any wrongdoing discreetly. By examining chat apps, social media accounts, and browsing history, their team can assist individuals in identifying any red flags that may require further discussion or investigation. As I was also a victim of infidelity until Digital web recovery helped save me. Contact them for assistance via; digitalwebrecovery(@)mail-me.com
Counting Duplicates
Tags: java, kata
Published: 2024-01-07 14:17:40

Count the number of Duplicates

Write a function that will return the count of distinct case-insensitive alphabetic characters and numeric digits that occur more than once in the input string. The input string can be assumed to contain only alphabets (both uppercase and lowercase) and numeric digits.
Example

"abcde" -> 0 # no characters repeats more than once
"aabbcde" -> 2 # 'a' and 'b'
"aabBcde" -> 2 # 'a' occurs twice and 'b' twice (`b` and `B`)
"indivisibility" -> 1 # 'i' occurs six times
"Indivisibilities" -> 2 # 'i' occurs seven times and 's' occurs twice
"aA11" -> 2 # 'a' and '1'
"ABBA" -> 2 # 'A' and 'B' each occur twice

Solution in java
```java
    public static int duplicateCount(String text) {
        char[] arr = text.toLowerCase().toCharArray();
        Map<Character, Long> result = IntStream
                .range(0, arr.length)
                .mapToObj(i -> arr[i])
                .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));

        return Math.toIntExact(result.values().stream().filter(i -> i > 1).count());
    }
```
Reference: https://www.codewars.com/kata/54bf1c2cd5b56cc47f0007a1/java
How to write code fast and efficiently ❓
Tags: coding, tips, productivity, beginners
Published: 2024-01-07 14:14:48

_Strategies for Maximum Efficiency in Software Development_


Hey Guys,

Writing code fast, building applications that are scalable and maintaining software are crucial for any software development venture.

I was able to write code well and establish the habit of coding quickly while completing the 365-day streak on Leetcode also did many opensource contributions.

{% embed https://twitter.com/Dhanush_Nehru/status/1741475660978397453 %}

Writing code quickly isn't the only aspect of efficient coding; it's a whole process that includes productivity-focused tools, methods, and mentality. You'll write code more quickly and more effectively if you apply these points to your regular coding habit.

This video will teach you how to code quickly and effectively, helping you advance to the next level of development success.

{% embed https://youtu.be/X3Z_-lu4TVY %}

Thanks for your time.

I will surely try to make videos on consistent leetcode, opensource, building scalable applications and much more so subscribe to my channel and show support. 

If you love this post, please give a like as a sort of encouragement and also share this post in social media which would benefit others.

Connect ⬇️
[Twitter](https://twitter.com/home) / [Instagram](https://www.instagram.com/dhanush_nehru/) /  [Github](https://github.com/DhanushNehru/)/ [Youtube](https://www.youtube.com/@dhanushnehru?sub_confirmation=1) / [Newsletter](https://dhanushn.substack.com/)
Have you ever used AWS CDK Explorer for VS Code?
Tags: aws, cdk, awstoolkit, vscode
Published: 2024-01-07 13:43:42

Do you know that the AWS Toolkit for Visual Studio Code includes CDK Explorer? This feature will be great functionality, especially when you want to maintain an overwhelmed infrastructure managed by AWS CDK. However, if you haven't used AWS Toolkit for Visual Studio Code, please install the extension by searching AWS Toolkit in the search box of the extension marketplace.

![search toolkit](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6lx4im9xsxntomaccp6i.png)

For the complete guide, you may check the documentation [here](https://docs.aws.amazon.com/toolkit-for-vscode/latest/userguide/downloads.html).

## My Previous Repositories Which Used AWS CDK

I have some repositories that use AWS CDK. I'm often using AWS CDK for managing my infrastructure to complement Terraform. If you want to learn AWS CDK, please visit this [documentation](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html).

* [my-personal-web-api-infra](https://github.com/bervProject/my-personal-web-api-infra)
* [SimplePasswordManagerService](https://github.com/bervProject/SimplePasswordManagerService)
* [tell-me-everything-api](https://github.com/bervProject/tell-me-everything-api)
* [simple-image-watermarking-web](https://github.com/bervProject/simple-image-watermarking-web)

You may use one of those repositories for hands-on AWS CDK Explorer.

## Let's try AWS CDK Explorer

For example, for the my-personal-web-api-infra, I provision a simple application and use AppSync and DynamoDB to support the application. As you can see, the AWS CDK Explorer will show the infrastructure tree.

![CDK Explorer](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/znsvry53vvhmqt9xeres.png)

{% embed https://youtu.be/eW1ePkpxKUQ %}

## Additional Topic

Do you know that Amazon Q is also in preview released within the AWS Toolkit for Visual Studio Code? Please visit [this page](https://aws.amazon.com/q/) to learn more about Amazon Q. Amazon Q is a new feature announced at re:Invent 2023.

I also try the Amazon Q in the AWS Toolkit for Visual Studio Code. I believe this is also a cool feature! Please check this video.

{% embed https://youtu.be/1Suviajuyi8 %}

## So, What Do You Think?

What do you think about that feature? In my opinion, the AWS CDK Explorer might need a filter/search feature so we can check the specific ID or resource. So, what feature do you want to add to AWS CDK Explorer? Let's share it here. Thank you for reading.

![Thank you GIF](https://media.giphy.com/media/O5kdjqMHdj0yp4chyT/giphy.gif)
Handle component state using local storage: useLocalStorage with Typescript
Tags: react, hook, typescript, webdev
Published: 2024-01-07 13:35:12

This hook can be used to handle any component state with all JSON compatible values.

💻💻
```javascript
import { useEffect, useRef, useState } from "react";

/**
 * Handle component state using local storage
 *
 * @param key The name of the key. If the passed key is updated, the local storage item with the old key will be removed.
 * @param defaultValue The initial value to be used if no local storage item is found.
 * Values that are not JSON compatible such as undefined, Function and Symbol, cannot be used.
 * If any of these values are found during conversion, they will be omitted (when found in an object)
 * Or changed to null (when found in an array)
 * @param [overWrite = false] Use the default value to overwrite a pre-existing local storage value.
 * @return Returns two values: the current value stored in local storage and a function to set/update value in the local storage.
 */

export const useLocalStorage = <T,>(
  key: string,
  defaultValue: T,
  overWrite = false
) => {
  const [value, setValue] = useState<T>(() => {
    if (typeof window === "undefined")
      throw new Error("localStorage can be used only in client side");
    if (overWrite) return defaultValue;
    else {
      try {
        const currentValue = window.localStorage.getItem(key);
        if (currentValue) return JSON.parse(currentValue) as T;
      } catch (error) {
        console.error(
          `Error while reading localStorage item with key=${key}:`,
          error
        );
        return defaultValue;
      }
      return defaultValue;
    }
  });

  const previousKeyRef = useRef<string>("");

  useEffect(() => {
    const previousKey = previousKeyRef.current;

    if (previousKey !== key && previousKey) {
      try {
        window.localStorage.removeItem(previousKey);
      } catch (error) {
        console.error(
          `Error while removing localStorage item with key=${previousKey}:`,
          error
        );
      }
    }
    previousKeyRef.current = key;
    try {
      window.localStorage.setItem(key, JSON.stringify(value));
    } catch (error) {
      console.error(
        `Error while setting localStorage item with key=${key}:`,
        error
      );
    }
  }, [value, key, defaultValue]);

  return [value, setValue] as const;
};
```
Level Up Your Dev Career: Top 7 AI Resume Builders You Need to Try!
Tags: career, careerdevelopment, ai
Published: 2024-01-07 12:57:14

Hey Dev.to fam! 🚀

We all know the grind: You're pushing commits, squashing bugs, and deploying features when suddenly, it hits you — it's time to level up your career! But first, you need to get your resume past those pesky ATS bots and into the hands of a real person. Fear not, 'cause AI's got your back!

I've rounded up the 7 best AI Resume Builders that every dev needs to know about. Whether you're a front-end wizard, a back-end guru, or a full-stack warrior, these builders will help tailor your resume to say "Hello, World!" in the job market. Let each tool be the PR to your job search repo!

1. **EchoTalent**: The Full-Stack Developer's Dream
[EchoTalent](https://echotalent.net) isn't just a resume builder; it's a career GPS! From front-end to back-end, let AI guide your next tech role adventure.

2. **Zety**: The Syntax Highlighter for Resumes
Catchy templates and user-friendly AI make Zety your go-to function for resume-building efficiency. Plus, their AI input for content? Chef's kiss. 🤌

3. **Rezi**: The Master of ATS Algorithms
Got an eye for optimization? Rezi fine-tunes your resume with the right keywords that’ll pass any recruiter’s CI/CD pipeline.

4. **Kickresume**: The Semantic UI of Resumes
If creativity is your code, Kickresume offers that plus points for extensive customization all while keeping the AI in the loop.

5. **Teal**: The Debugger for Career Tracking
Track your job apps like you track your issues in Jira. Teal's AI resume analysis is like having a second pair of eyes on your PRs!

6. **Enhancv**: The Personal Brand `Commit`
Brand yourself like you're commenting your code — clear, concise, and unique. Enhancv is the personal branding tool you never knew you needed.

7. **Resume Genius**: The Quick Deploy
Need a quick resume deployment? Resume Genius is your quick script to a strong resume, minus the lengthy build time.

Alright, devs, let's talk shop in the comments! What's your go-to tool for resume building? Have any of these AI builders helped you commit to a new career path? Drop your stories, and let's share some knowledge.

P.S. Don't forget to fork this post and share it with your network. Let's help everyone in our dev community get their dream job!
OneTrainer Stable Diffusion XL (SDXL) Fine Tuning Best Presets
Tags: onetrainer, finetuning, stablediffusion, sdxl
Published: 2024-01-07 12:42:33

I have been experimenting with Nerogar OneTrainer for days right now.

Recently I have obtained decent results. Better results could be obtained but I am doing still research and it is taking huge time and resources.

Your support therefore extremely important for me so thank you so much.

**Download presets > https://www.patreon.com/posts/96028218**

Some non cherry pick screenshots

Prompt :

`photo of ohwx man wearing an expensive suit in a news studio, 2k, 4k, hdr, uhd, canon`


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


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


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


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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ntqm8p5iya25vhqlv7bu.png)
Learning Mindset As a Developer 👨‍💻
Published: 2024-01-07 12:39:36

#EXPLORE14 How to Learn Code✨

How to learn code and develope a learning mindset as a developer! 👨‍💻


We discussed 👇

- What is COSS DevRel?
- What is Emux Studio? 
- How does business strategy work in startups?
- How Opensource products and Coss is different? 
- How to develop a learning mindset? 


Subscribe🎯
{% youtube https://youtu.be/LMdU2Itrqk8?si=35chWEnPgXGQGwJk %}
Tired of copying text in terminal?
Tags: bash, terminal, wezterm, productivity
Published: 2024-01-07 12:10:26


## Paint point

As an engineer, it has been my pain point to copy text in terminal.
The situation occurs frequently while navigating files in remote data storage such as S3 and HDFS which does not support `cd` .

## Solution

A solution I found is quick select feature of Wezterm, which assigns keyboard shortcut (1-2 characters) to copy quickly in the terminal.

In default, however, the selection does not work as expected.

Here is my config.

- Ctrl + Shift + y >> copy a text separated by whitespace characters
- Ctrl + Shift + l >> copy a line (useful to copy and paste error message into Google search or LLM)
- Ctrl + Shift + p >> copy a text separated by whitespace/slash/quotation/bracket characters (useful to copy only file names, values in JSON, etc.)


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

## How to set up

1. Install Wezterm following https://wezfurlong.org/wezterm/installation.html
2. Create `~/.wezterm.lua` file including the following content:


```
-- Pull in the wezterm API
local wezterm = require 'wezterm'

-- This table will hold the configuration.
local config = {}

-- In newer versions of wezterm, use the config_builder which will
-- help provide clearer error messages
if wezterm.config_builder then
    config = wezterm.config_builder()
end

-- This is where you actually apply your config choices


config.quick_select_patterns = {
    -- match things that look like sha1 hashes
    -- (this is actually one of the default patterns)
    '\\S{6,}',
}

config.keys = {
    {
        key = 'Y',
        mods = 'CTRL',
        action = wezterm.action.QuickSelectArgs {
            patterns = {
                '\\S{6,}',
            },
            scope_lines = 0,
            label = 'copy a text separated by whitespace characters',
        },
    },
    {
        key = 'L',
        mods = 'CTRL',
        action = wezterm.action.QuickSelectArgs {
            patterns = {
                '.{6,}',
            },
            scope_lines = 0,
            label = 'copy a line',
        },
    },
    {
        key = 'P',
        mods = 'CTRL',
        action = wezterm.action.QuickSelectArgs {
            patterns = {
                '[^\\s\\/\'\"\\<\\>\\{\\}\\(\\)\\[\\]]{6,}',
            },
            scope_lines = 0,
            label = 'copy a text separated by whitespace/slash/quotation/bracket characters',
        },
    },
}

config.disable_default_quick_select_patterns = true

config.colors = {
    quick_select_label_fg = { Color = '#ff0000' },
    quick_select_match_fg = { Color = '#aaaaaa' },
    scrollbar_thumb = '#aaaaaa',
}

config.enable_scroll_bar = true

-- and finally, return the configuration to wezterm
return config
```

## Reference

https://github.com/wez/wezterm/issues/4219#issuecomment-1697977950
New blog
Published: 2024-01-07 12:01:35

---
title: New blog
published: true
description: 
tags: 
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2024-01-07 11:57 +0000
---

I am moving to a low maintenance version of my portfolio website by using Github pages and Dev.to. This quick little blog post is a test to see how everything can integrate.