teleren/devto huggingface dataset:
Navigating the Confidence Conundrum: When to Apply for Developer Jobs
Published: 2023-09-28 19:26:00

When starting out in programming, knowing how confident you are in your code skills is often hard. People who want to become developers often wonder, "Am I ready for a developer job?" This piece gets into the details of this never-ending problem and tries to advise when and how to jump into software development as a career.

**The Fallacy of Absolute Levels of Skill**

In the tech business, which is always changing, the skills people need are always changing, just like the code they write. Trying to put yourself on a range from 1 to 10 is a mistake that doesn't consider how complex expertise is. This part examines how skill requirements can change and stresses the importance of task-specific skills that go beyond arbitrary numerical labels.

**Having the attitude "Just Apply."**

"Just Apply" is an easy phrase that can free people who have spent years learning how to code but still don't know what they want to do. Overcoming doubts and fears, this way of thinking can lead to a wide range of results. No matter what happens when you apply for a job, applying itself is a great way to grow.

**Learning from Rejection and Acceptance**

Rejection is not a hurdle; instead, it is a step toward getting better. You can learn a lot by looking at what went wrong in a rejection. On the other hand, getting a job gives you a unique chance to learn as you go and grow in the role. Surprisingly, getting paid to learn on the job is a pleasant surprise in the business world.

**Getting the right amount of confidence for the job**

To figure out how to get a job in programming, you need to know everything from entry-level to advanced roles. 

**How shyness affects the application process**
People often underestimate how much shyness can hurt a person's job. Recognizing this, this article looks at ways to overcome shyness when applying for a job. Getting more confident is a process that you have to do over and over again. You do this by gradually facing the challenges and demands of the working world.

**Getting half of it and using it again**
Taking an iterative method to skill development means using the skill, getting good at it, and then using it again. Finding the right balance between success and failure becomes a key part of this process. The real value comes from getting better at your job and using every event as a chance to learn on the job.
**In the end**
As we think about the elusive confidence level, it becomes clear that it is neither a mirage nor a real goal. Instead, it is a continuum. The advice is to accept the unknown, put yourself out there, and let the trip shape your skills. In the ever-changing field of programming, confidence is not a goal but a companion that changes with every line of code and every new challenge.
Automatio + SpreadSheet + ChatGPT = 👌
Tags: automation, webscraping, chatgpt, googlesheets
Published: 2023-09-28 19:21:53


## Automatio + SpreadSheet + ChatGPT = 👌

![](https://cdn-images-1.medium.com/max/2152/1*A9LKK5GbOoFTGMpbTwiMgw.png)

## What is up, Automators!?

Stefan here, founder of Automatio 👋.

Here’s a quick peek at what’s in this newsletter:

* Automatio + Google Sheet + ChatGPT video tutorial

* Automatio roadmap and future goals

* Annual subscription and 50% lifetime discount

## ✨ Automatio + Google Sheet + ChatGPT

I made a video tutorial on using Automatio, SpreadSheet, and ChatGPT to scrape data, clean, summarize it, and analyze sentiment inside of Google SpreadSheet. Before you dive into it, let’s quickly review those three tools.

We all know **ChatGPT** is super powerful. It makes work, both in business and everyday life, easier and faster. It’s a superhero in the AI world.

Now, to make AI work, you need data, and that’s where **Automatio** steps in — quickly, easily, and without any code.

**Google Spreadsheet** is the king of integration. Save your data there, and you can link up with tons of apps for cool tasks like CRMs, Zapier automation, and marketing tools.

Combining all three platforms together opens a lot of possibilities. Watch the video below. 👇

 https://www.youtube.com/watch?v=Xno8Cj5ZGoQ&t=5s

## 🗺 Automatio Roadmap and Future Plans

* Secure the **next round of funding** through the **community-raising** (aka crowd-funding/NFT collection).

* Release **free trials**, better **onboarding**, and more **educational content**.

* Integrate **ChatGPT** directly inside Automatio, but also our version of AI. It will be a huge improvement.

* Build and improve other features from the roadmap like **conditional logic**, **multi-thread**, **selector engine**, etc.

## 🎁 Annual Subscription with 50% Lifetime Discount

We’re thrilled to announce that we’ll soon be launching a special annual subscription for Automatio. This subscription will grant you access at a reduced price and lock in an amazing **50% lifetime discount**. Stay tuned for more details! 🚀

## 👀 Sneak Peek at Our Upcoming NFT Collection

![](https://cdn-images-1.medium.com/max/2000/1*Eg7VNuZkfA8Al8Usp_d_oA.jpeg)
My Vanilla Fresh Hacktoberfest23 Pledge
Tags: hacktoberfest23, javascript, beginners, opensource
Published: 2023-09-28 19:18:56

### Greetings 

I Greet you all with Hacktoberfest love and anticipation. 
This is my first post and its an honour that its about a most important event; Hacktoberfest.  

### Background

I am a very fresh vanilla JS enthusiast.
Im soo fresh to Hacktoberfest too. I am Hacktoberfest new born. I came to learn and improve my skills.

I have been learning Git the last month albeit not as much as I think I should have. However I am looking forward to learning how to use Git and GitHub better.
So far I have been perusing ReadMe files for the first time. 
It is very scary looking at folders and files not knowing how to approach and how to deal with all this mountain of files. 
How do I get from start to the PR end ? 
Perhaps at this Hacktoberfest end I will be able to know and that will be a useful lesson. A gift that will keep on giving symbiotically!!! 
So much excitement!!! 
This is something I could have done without waiting for Hacktoberfest but some times some lessons are better with expectations and better with the pressure!!
And the camaraderie of like minded people.

### My Pledge

I pledge that I will be welcoming, helpful contributing and adding to world and interweb love. I am looking forward to constructing and developing. I will be  Including myself and others for a better community in the learning and teaching.
I pledge to be a pillar of good, empathetic and responsible behaviour; standing for all that is moral, ethical and principled; to the best of my humanly ability.
For me; This is a greater commitment and tiny contribution towards World Peace.
5 ASP.NET Mistakes I Wish I Knew Earlier 🚀
Tags: programming, aspdotnet, csharp, beginners
Published: 2023-09-28 19:15:09

Hey Devs! 🙌
ASP.NET is a game-changer, right? But, oh boy, there are some sneaky pitfalls I've (embarrassingly) tumbled into during my journey. Here are a few, just so you can laugh (or cringe) and hopefully avoid them:

1. 😅 "Sure, I trust my users!" Aka Skipping Input Validation
Mistake: Thinking "Who would want to break this?" and letting all inputs slide.
Impact: Hello, Mr. Hacker! 👋 Open doors for vulnerabilities.
Quick Fix: Never, ever trust user input blindly. Client and server-side validation is a must!

2. 🐢 The ViewState Overload
Mistake: ViewState is like that friend who overstays their welcome. Useful but can overburden if unchecked.
Impact: Slow-performing apps. And no one likes waiting, right?
Quick Fix: Don't put everything in the ViewState. Explore alternatives like Session or Cache.

3. 🙈 Ignoring Those Pesky Exceptions
Mistake: "I'll set up exception handling... tomorrow."
Impact: Bugs everywhere and a user experience straight out of a horror movie.
Quick Fix: Always have an exception handling strategy in place. Tomorrow means NOW!

4. 🍝 The Spaghetti of Code + Content
Mistake: Mixing up UI and logic because... shortcuts.
Impact: A maintenance nightmare. Debugging sessions that last for days.
Quick Fix: Keep things tidy. Embrace separation of concerns, and use those code-behind files.

5. 🐌 Sloooooow Database Queries
Mistake: Writing SQL queries on the fly without optimizing them.
Impact: Your app's speed (or lack thereof) can make or break it.
Quick Fix: Avoid SELECT * and get friendly with your ORM. Optimize, optimize, optimize!

Alright, folks! These are my ASP.NET goof-ups. What about you? What ASP.NET blunders have caught you off guard? Drop them in the comments, and let's create a safe space for our dev confessions! 😄👩‍💻👨‍💻
Hacktoberfest 2023
Tags: hack23maintainer, hacktoberfest23, beginners, programming
Published: 2023-09-28 19:04:37

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->

### Intro
<!-- Share a bit about yourself as a maintainer. Is this your first Hacktoberfest, or have you maintained in others? Feel free to embed your GitHub account by using {% embed LINK %} -->
Hey everyone, I'm Anupam Maurya, and I'm thrilled to be part of Hacktoberfest 2023 as a maintainer. This isn't my first rodeo as a maintainer, but every year brings new excitement and opportunities to collaborate with the incredible open-source community. You can find me on GitHub -> https://github.com/anupammaurya6767.
### Project
<!-- Tell us about the repository that you hosted. What processes did you set up to review and merge pull requests? Feel free to embed your GitHub repo by using {% embed LINK %} -->
The project I'm responsible for is called "[web_scrapper](https://github.com/anupammaurya6767/web_scrapper)." It's a repository that houses a collection of web scraping scripts for various websites. These scripts are incredibly valuable for data enthusiasts, developers, and anyone interested in extracting data from the web.
Also check out [Botzy](https://github.com/anupammaurya6767/Botzy) which is a collection of various bots
Create Stats overview widgets
Tags: laravel, php, filamentphp, tutorial
Published: 2023-09-28 18:52:15

## Introduction
Filament comes with a "stats overview" widget template, which you can use to display a number of different stats in a single widget, without needing to write a custom view.

Start by creating a widget with the command:

```
php artisan make:filament-widget StatsOverview --stats-overview
```

Then return Stat instances from the getStats() method:

```
<?php
 
namespace App\Filament\Widgets;
 
use Filament\Widgets\StatsOverviewWidget as BaseWidget;
use Filament\Widgets\StatsOverviewWidget\Stat;
 
class StatsOverview extends BaseWidget
{
    protected function getStats(): array
    {
        return [
            Stat::make('Unique views', '192.1k'),
            Stat::make('Bounce rate', '21%'),
            Stat::make('Average time on page', '3:12'),
        ];
    }
}
```

Now, check out your widget in the dashboard.
Creating a new panel
Tags: laravel, php, tutorial, filamentphp
Published: 2023-09-28 18:51:41

## Run Command

To create a new panel, you can use the make:filament-panel command, passing in the unique name of the new panel:

```
php artisan make:filament-panel app
```

This command will create a new panel called "app". A configuration file will be created at `app/Providers/Filament/AppPanelProvider.php`. You can access this panel at /app, but you can customize the path if you don't want that.

Since this configuration file is also a Laravel service provider, it needs to be registered in config/app.php. Filament will attempt to do this for you, but if you get an error while trying to access your panel then this process has probably failed. You can manually register the service provider by adding it to the providers array.
Create blog resource
Tags: laravel, php, filamentphp, tutorial
Published: 2023-09-28 18:50:44

> Introduction

Resources are static classes that are used to build CRUD interfaces for your Eloquent models. They describe how administrators should be able to interact with data from your app - using tables and forms.

> Create a migration

```
php artisan make:migration create_blogs_table
```

and edit it :

```php
Schema::create('blogs', function (Blueprint $table) {
    $table->id();
    $table->string('slug');
    $table->string('title');
    $table->text('body')->nullable();
    $table->timestamps();
});
```

> Create a model

First, create laravel model for your resource.

```
php artisan make:model Blog
```

add column to `$fillable` property in `app\Models\Blog.php`

```php
protected $fillable = [
    'slug',
    'title',
    'body',
];
```


> Create a resource

To create a resource for the `App\Models\Blog` model:

```bash
php artisan make:filament-resource Blog
```

This will create several files in the `app/Filament/Resources` directory:

```
.
+-- BlogResource.php
+-- BlogResource
|   +-- Pages
|   |   +-- CreateBlog.php
|   |   +-- EditBlog.php
|   |   +-- ListBlogs.php
```


> Configure resource table

Open `app\Filament\Resources\BlogResource.php` and edit `table` method :

```php
public static function table(Table $table): Table
{
    return $table
        ->columns([
            TextColumn::make('title'),
            TextColumn::make('slug'),
        ])
        ->filters([
            //
        ])
        ->actions([
            Tables\Actions\EditAction::make(),
        ])
        ->bulkActions([
            Tables\Actions\BulkActionGroup::make([
                Tables\Actions\DeleteBulkAction::make(),
            ]),
        ])
        ->emptyStateActions([
            Tables\Actions\CreateAction::make(),
        ]);
}
```

There we add a TextColumn, filament will automatically detect it according to the column name in the database table

Read about TextColumn [here](https://filamentphp.com/docs/3.x/tables/columns/text)

> Configure resource form

Open `app\Filament\Resources\BlogResource.php` and edit `form` method :

```php
public static function form(Form $form): Form
{
    return $form
        ->schema([
            TextInput::make('title'),
            TextInput::make('slug'),
            Textarea::make('body')
                ->columnSpanFull()
                ->rows(10)
        ]);
}
```

> Run migration

```
php artisan migrate
```

and finally, you have a CRUD feature for Blog Resource. Open `admin/blogs`  in your browser
How to solve medium leetcode problem?
Published: 2023-09-28 18:43:27

> I don't know if everyone has this problem but I took a long time to solve a medium problem in leetcode sometimes.

I needed 10-15 minutes to understand and make some ideas and maybe can not had any idea how to start until I see hints but mostly passed with 70%-80% of the tests then gave up and used ChatGpt to get a solution. with easy questions took a couple of minutes and sometimes 20-25 minutes, depending on the idea

**For example** I learned about the 2-pointer technique then tried solving a problem starting with the basics and init the left and right pointers then got stuck with passing all the tests what should I do with conditions that solve the problem and pass all the tests

until now I have solved 12 easy and 6 medium problems

** What should I do to be better ?**
Install Docker on Ubuntu 18.04
Tags: ubuntu, docker, installation, tutorial
Published: 2023-09-28 18:39:20

> Introduction

Docker is a technology that is currently popular with startups. With Docker, we containerize the application that we are going to build. With container technology, our application will have portability, maximum performance and make it easier to update.

What I mean by containerization is when you create an application, you build everything your application needs, such as a Web Server, Database, etc. so that when in Production the application that you deploy on Docker will be the same as on your Local/Laptop without reconfiguring the WebServer.

> Installation

Following are the steps "How to install Docker on Ubundu 18.04

Update and upgrade the system so that we have the maximum system configuration

```bash
sudo apt update && sudo apt upgrade && sudo apt install docker.io
```

After that docker will be successfully installed
Tips using enum in filamentphp
Tags: filamentphp, php, laravel
Published: 2023-09-28 18:35:38

> Introduction

Enum has been debut on PHP 8.1, for filamentphp user who write Select `label` or table `color` in filament resource, Use Enum!.

> Problem

How to use enum for support Filamentphp Form & Table?

> Solution

# Create an Enum in PHP

```
use Filament\Support\Contracts\HasColor;
use Filament\Support\Contracts\HasLabel;

enum Status: string implements HasLabel, HasColor
{
    case Pending = 'pending';
    case Success = 'success';
    case Failed = 'failed';

    public function getLabel(): ?string {
        return match($this) {
            self::Pending => 'Pending',
            self::Success => 'Success',
            self::Failed => 'Failed'
        };
    }

    public function getColor(): ?string {
        return match($this) {
            self::Pending => 'warning',
            self::Success => 'success',
            self::Failed => 'danger'
        };
    }
}

```

# Modify laravel model

Cast column status as enum `Status`

```
protected $casts = [
    'status' => Status::class
];
```

# Use for filamentphp Table

```
TextColumn::make('status')
    ->badge()
```

# Use for filamentphp Field

```
Select::make('status')
    ->options(Status::class)
```
<=60s - Python
Tags: python, programming
Published: 2023-09-28 18:30:00

## Introduction:
Python, a versatile and beginner-friendly programming language, is a go-to choice for developers worldwide. In this brief guide, we'll introduce you to Python in under 60 seconds, making it the ideal starting point for your coding journey.

## Python Syntax:
Python's clean and readable syntax sets it apart. Here are some basic examples:

1. **Hello, World!**
```python
print("Hello, World!")
```

2. **Variables**
```python
name = "Alice"
age = 30
```

3. **Conditional Statements**
```python
if age >= 18:
    print("You are an adult.")
else:
    print("You are a minor.")
```

4. **Loops**
```python
for i in range(1, 4):
    print("Number:", i)
```

## Why Python?
1. **Readability**: Python's simplicity makes code easy to understand.
2. **Versatility**: It's used in web development, data analysis, AI, and more.
3. **Vast Community**: A large community ensures plenty of support.
4. **Abundance of Libraries**: Python offers a rich ecosystem of libraries.

## Conclusion:
In under 60 seconds, you've touched the surface of Python. Its straightforward syntax and immense versatility make it an excellent choice for both beginners and experts. Dive into Python, and you'll discover a world of coding possibilities waiting for you.
Generate Free SSL
Published: 2023-09-28 18:21:53

## Introduction
In this post, im using ubuntu with nginx as webserver.

## Installation
Make sure you have installed snapd then run the following command

```
sudo snap install certbot --classic certbot
```

## Setting up the certbot command

Run the following command in the command line on your server to ensure the certbot command can be executed

```
sudo ln -s /snap/bin/certbot /us/bin/certbot
```

## Generate SSL

With the following command you will get SSL and certbot will create an nginx configuration file, so your HTTPs can be used immediately 😄
Run Next.js 14 on docker
Tags: javascript, nextjs, tips
Published: 2023-09-28 18:17:28

> Introduction

In this post im using `next@14.3.12`, it maybe will be different method in the future.

> Creating a Next.js app

In this post, we will work with a basic next js app generated when you run the command:

```bash
npx create-next-app@latest nextjs-docker-app
```

Run the development server using the command npm run dev which should give an output that the server is running on localhost:3000. When you open your browser on the provided URL.

> Writing a Dockerfile

Docker, in a nutshell, allows developers to simply generate, distribute, and deploy images, resulting in faster development cycles and simpler application management.

With that stated, let's create a file named, `Dockerfile` in our root directory and paste the following content within it.

```Dockerfile
FROM node:18-alpine as builder
WORKDIR /my-space

COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build

FROM node:18-alpine as runner
WORKDIR /my-space
COPY --from=builder /my-space/package.json .
COPY --from=builder /my-space/package-lock.json .
COPY --from=builder /my-space/next.config.js ./
COPY --from=builder /my-space/public ./public
COPY --from=builder /my-space/.next/standalone ./
COPY --from=builder /my-space/.next/static ./.next/static
EXPOSE 3000
ENTRYPOINT ["npm", "start"]

```

> Optimize Nextjs for Production

## Edit next.config.js

Edit your `next.config.js`, it will be generate `.next/standalone`.

During `next build`, Next.js will use [@vercel/nft](https://github.com/vercel/nft) to statically analyze `import`, `require`, and `fs` usage to determine all files that a page might load.

Next.js' production server is also traced for its needed files and output at `.next/next-server.js.nft.json` which can be leveraged in production.

To leverage the `.nft.json` files emitted to the `.next` output directory, you can read the list of files in each trace that are relative to the `.nft.json` file and then copy them to your deployment location.


```js
const nextConfig = {
    output: 'standalone',
}
```


## Add `sharp` module

```
npm i sharp
```

```
yarn add sharp
```

```
pnpm add sharp
```

```
bun add sharp
```

## Update `start` script

To optimize image size, in the `standalone` directory do not install the `next` module, and we cannot run `next start`. We have to run it using `node`.

update your `package.json`

```json
{
    "scripts" : {
        "start": "node server.js",
    }
}
```

> Build Docker Images

```
docker build -t rupadana/rupadana.com ./
```

> Run app

```
docker run -d -p 3000:3000 rupadana/rupadana.com
```

Finally, it will be hosted on http://localhost:3000
Pocket Kotlin-C# Dictionary. G
Tags: kotlin, csharp
Published: 2023-09-28 18:10:17

## G

| Kotlin | C# |
| --- | --- |
| **get**<br> Property getter. The definition can be omitted for default getter | **get**<br> Property getter. The definition can be omitted for default getter  |
| **@get**<br> Annotation target, used to annotate automatically created getters (e.g. when you have a primary constructor, the compiler automatically creates a field, its getter, its setter and so on, an you want to annotate specifically a getter) [Learn more](https://kotlinlang.org/docs/annotations.html#annotation-use-site-targets) | It seems like there's no _get:_ target as of 2023. [See an example of unresolved question](https://stackoverflow.com/questions/55359569/is-there-a-get-attribute-target) |