teleren/devto huggingface dataset:
Innovation Journal for publishing peer-reviewed scientific research
Published: 2023-12-11 20:15:44

Welcome to [Innovate Journal](https://innovatejournal.com/), your premier destination for researchers and scientists seeking to publish their scientific research. We provide an advanced and rigorous electronic platform for the reception and dissemination of the latest innovations and discoveries across various research fields.

Innovate Journal is an open forum for scientific exchange, allowing researchers to submit their original research and high-quality reviews for evaluation by specialized peer review committees. We are committed to quality and transparency, involving researchers in a fair and constructive peer-review process.

Our user-friendly and responsive interface ensures easy access to a knowledge-rich content, making the browsing experience enjoyable and effective. We strive to enhance communication and interaction among members of our research community through facilitated open discussions and constructive comments.

Join us on the scientific discovery journey, where you can share your ideas and experiences with a community of creative minds. At Innovate Journal, we believe that scientific progress begins here.
Coming back to coding after years of a break
Tags: php, webdev, beginners
Published: 2023-12-11 20:04:00

As the title states, I took a very long break from learning to code do to getting a full time job (not coding related) I'm coming back now as I realize learning to code is something I've been interested in since I first heard about it. Any tips or words of wisdom would be greatly appreciated (also any resources to help with my learning) as I get back into my learning journey.(I'm currently learning PHP)
PrimeReact DataTable custom Action Column
Tags: primaereact, datatable
Published: 2023-12-11 19:57:23

`<Column
  rowEditor
  header={t('common:actions')}
  body={(rowData: any, options: ColumnBodyOptions) => (
    <>
      {options.rowEditor?.editing ? (
        <>
          <Button
            icon="pi pi-save"
            className="p-button-rounded mr-2 p-button-outlined"
            onClick={(e) =>
              options.rowEditor?.onSaveClick &&
              options.rowEditor?.onSaveClick(e)
            }
            tooltip={t("common:save")}
            tooltipOptions={{ position: "top" }}
          />
          <Button
            icon="pi pi-times"
            className="p-button-rounded p-button-outlined"
            onClick={(e) =>
              options.rowEditor?.onCancelClick &&
              options.rowEditor?.onCancelClick(e)
            }
            tooltip={t("common:cancel")}
            tooltipOptions={{ position: "top" }}
            severity="warning"
          />
        </>
      ) : (
        <>
          <Button
            icon="pi pi-pencil"
            className="p-button-rounded mr-2 p-button-outlined"
            onClick={(e) =>
              options.rowEditor?.onInitClick &&
              options.rowEditor?.onInitClick(e)
            }
            tooltip={t("common:edit")}
            tooltipOptions={{ position: "top" }}
            severity="success"
          />
          <Button
            icon="pi pi-trash"
            className="p-button-rounded p-button-outlined"
            tooltip={t("common:delete")}
            tooltipOptions={{ position: "top" }}
            severity="danger"
            onClick={() =>
              confirmDialog({
                message: "Are you sure you want to delete?",
                header: "Confirmation",
                icon: "pi pi-exclamation-triangle",
                accept: () => handleDelete(rowData.id),
              })
            }
          />
        </>
      )}
    </>
  )}
></Column>`
A Brief Introduction to Sales Engineering
Tags: sales, solutions, beginners, softwareengineering
Published: 2023-12-11 19:51:45

Sales Engineering is the intersection of technology and sales. It's ideal for people like:

1. Extroverted engineers
2. Sales people who enjoy talking technology
3. Not your grandma that doom scrolls on Facebook

In the words of Chris White, the author of The Six Habits of Highly Effective Sales Engineers

> (Sales Engineering) is simply to show them – no, CONVINCE them – that your software, solutions, and company will meet their requirements, solve their problems, and enable them to achieve their desired outcomes.

### What do Sales Engineers sell?
Well that depends on the company you're working for and your level of expertise in their product. Knowledgable Sales Engineers (or SEs) can sell products ranging from AI productivity tools, endpoint security solutions to grid-scale power converters. They become subject matter experts (SME) in the product and become the go to resource as a vendor when companies are interested in integrating your product into their systems.

### What if I'm an experience software engineer? 
There are plenty of SaaS companies interested in your skillsets in application development, security and devops. Software engineers that like to talk can make a lucrative career in Sales Engineering. Companies like [Snyk](https://snyk.io/), [Crowdstrike](https://crowdstrike.com/) and [Automattic](https://automattic.com/) have dedicated SEs that work with customers in pre-sales (before purchase) and post-sales (after purchase) to ensure the customer journey is successful. As an engineer, if you don't want to go through yet another 2 week product sprint... if you understand software development at the application layer.. if you want to try something new... Sales Engineering might be for you!

### Software Engineer to Sales Engineer Journey
Who am I? I'll be the guinea pig for current software engineers interested in seeing how this transition is accomplished. I've dedicated 9 years to multiple SaaS startups (1 unicorn) building features still in production today and earning a title I've always wanted as Senior Ruby on Rails Developer. I'm working full time to transition to the world of tech sales and will document my journey as well as provide value like where to find the best job boards, how to structure your resume and what kind of questions will be asked in SE related interviews.

As of this date, I've landed a **six-figure Sales Engineering role for a prominent E-Commerce SaaS company... and rejected it.** I'll explain in future posts why you might've rejected it too. 

### Summary
Sales Engineering is a viable path for software engineers looking to work in more client facing roles. It'll allow you to flex the muscle of selling the value of a product to customers and leverage your existing experience as a software engineer.

I'll add to this by saying I plan to add as much value to your life as I can. I'm currently a Sales Engineering student at [PreSales Academy](https://www.presalesacademy.com/) and want to share what I can to help make this transition for you smooth and enjoyable.
API integration with C# , Csharp
Tags: csharp, api, programming, development
Published: 2023-12-11 18:56:24

## Getting started with C# and the API

### 1. Select API

Start by choosing an API that meets your project's requirements. Popular APIs include social media APIs (eg, Twitter, Facebook), payment gateways (eg, PayPal), and cloud services (eg, AWS, Azure).

### 2. Create a new C# Project

Open Visual Studio or your favorite C# development environment and create a new project. Choose the appropriate project template based on your application type (console application, ASP.NET web application, etc.).

### 3. Install the required packages

If the API requires specific libraries or NuGet packages, install them using the Package Manager Console or the NuGet Package Manager in Visual Studio. For example, you can use HttpClient to make HTTP requests or libraries provided by API providers.

```head
Setup-Package Newtonsoft.Json
```

### 4. Make HTTP requests

C# provides the HttpClient class in the System.Net.Http namespace, which allows you to make HTTP requests to the API. "GetAsync", "PostAsync", etc. to interact with the API. using methods.

```csharp
using (HttpClient client = new HttpClient())
{
    HttpResponseMessage response = await client.GetAsync("https://api.example.com/data");
    if (response.IsSuccessStatusCode)
    {
        string responseBody = await response.Content.ReadAsStringAsync();
        // Process API response data
    }
}
```

### 5. Manage API responses

API responses are usually in JSON or XML format. Use a library like Newtonsoft.Json to deserialize JSON responses into C# objects.

```csharp
Using Newtonsoft.Json;

var data = JsonConvert.DeserializeObject<MyDataModel>(responseBody);
```

## Authenticity and security

Many APIs require authentication for access. C# provides a variety of methods for identity management, including API keys, OAuth, and token-based authentication. Implement the required authentication mechanisms according to the API documentation.

```csharp
// Example of adding an API key to request headers
client.DefaultRequestHeaders.Add("Authorization", "Bearer of YourAPIKeyHere");
```

## error handling

Manage errors well by checking HTTP status codes and implementing appropriate error-handling mechanisms. This ensures that your application can avoid unexpected problems with the API.
Mindful Practices that help me get out of my own head and my way
Tags: self, habits, webdev, tutorial
Published: 2023-12-11 19:36:09

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

At times in the past, I’ve found myself feeling a bit lost, unsure of where I’m headed, what I want to achieve, or what my goals are. I wrestled with figuring out what had been bothering me and preventing me from moving forward.

If you ever feel like you’re getting in your way and hindering your progress, I’ve got five simple ways that might help you out.

1. Embrace Acceptance
2. Be Your Own Advocate
3. Ditch the Fixation
4. Spend Time with Nature
5. Connect with Others

**Read the full story:** [5 Mindful Practices that Help Me Get out of My Own Head and My Way](https://habitualhue.exblog.jp/33682985/)
These practices might seem simple, but their impact is profound. Incorporate them into your daily rhythm, and you’ll find yourself breaking free from the mental loop and flowing through life with a newfound ease. Ready to give it a try? Your journey to a more mindful and free-flowing you begins now! 🌟
Streamline Your Front-End Development with Tailwind Color Matcher for VSCode
Tags: showdev, frontend, tailwindcss, webdev
Published: 2023-12-11 19:25:03


As front-end developers, we are constantly looking for tools that not only enhance our workflow but also save precious time. That's where the "Tailwind Color Matcher" VSCode extension steps in - a game-changer for anyone working with Tailwind CSS.

- _[VSCode Marketplace download](https://marketplace.visualstudio.com/items?itemName=OmriGrossman.tailwind-color-matcher)_
- _[Github Repository](https://github.com/OmriGM/tailwind-color-matcher)_

### What is Tailwind Color Matcher?
"Tailwind Color Matcher" is an innovative extension for Visual Studio Code that makes it incredibly easy to convert HEX color values to their nearest Tailwind CSS class equivalent.

![Tailwind color matcher screenshot demo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mzgvh2yrhoxveojwgnmj.gif)

### How Does It Save Time?
Gone are the days of manually searching for color equivalents or flipping back and forth between documentation and your code editor. With this extension, you can:

**Instantly Translate Colors:** Simply input a HEX color value in VSCode's command palette, and the extension suggests the nearest Tailwind class.
**Use the Color Picker:** Not sure about the HEX value? Use the built-in color picker for real-time suggestions.


### A User Experience That Stands Out
What makes "Tailwind Color Matcher" stand out is its focus on a seamless user experience. The intuitive interface allows you to:

#### Easily navigate and use features without any learning curve.
View color previews as you select, ensuring you're always confident in your choices.
![color picker](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nn342egx314qocqkyxk9.gif)

#### Save Colors for Later Use
A unique feature of this extension is its ability to save your chosen colors. This means you can:

- Maintain a consistent color scheme throughout your project.
- Quickly access frequently used colors with a quick copy action, streamlining your workflow even further.

![color saving](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0rutls04leawmayscdu4.gif)

### In Conclusion
Whether you're a seasoned front-end developer or just starting with Tailwind CSS, "Tailwind Color Matcher" is designed to make your development process smoother, faster, and more enjoyable. Try it out today and experience a new level of efficiency in your coding journey!
Guide to Smart Bed: Revolutionizing Sleep for the Modern Era
Tags: bed, smart
Published: 2023-12-11 19:19:29

In an era dominated by technological advancements, even our sleep experience has undergone a transformation. Smart beds have emerged as a revolutionary solution, blending cutting-edge technology with the fundamental need for quality sleep. As we delve into the realm of [smart bed](https://latestposting.com/guide-to-smart-bed-revolutionizing-sleep-for-the-modern-era/), this comprehensive guide aims to shed light on the features, benefits, and considerations associated with these innovative sleep solutions.[Click here to read full article](https://latestposting.com/guide-to-smart-bed-revolutionizing-sleep-for-the-modern-era/)
Best Tech YouTube Channels
Tags: coding, programming, learning
Published: 2023-12-11 19:05:40

Some of the best coding/tech YouTube channels are:

- notJust.dev
- freeCodeCamp.org
- CodeWithHarry
- Telusko
- Jenny's Lectures CS IT
- Ishan Sharma
- Coding Ninjas
- Anuj Bhaiya
- Programming with Mosh
- Tech With Tim
- GUVI
- Code with Ania Kubów
- Giraffe Academy
- Apna College
- Love Babbar

Let us know your favourite coding YouTube channels in the comments!
The Twelve Factor App Methodology: A Beginner's Guide
Tags: tutorial, beginners, cloud, architecture
Published: 2023-12-11 19:00:00

The twelve factor app methodology is a set of best practices for building modern, cloud-native applications. It was created by Adam Wiggins and is widely regarded as a standard for building scalable, reliable, and maintainable software applications. In this article, I will introduce you to the twelve factors that are essential for building an effective cloud-native application.

## 1. Codebase
A single codebase is the first factor that a twelve-factor app should have. The idea behind this is to keep the codebase under version control and to have only one codebase per application. Multiple applications should not share the same codebase.

## 2. Dependencies
The second factor is the dependencies. The app should declare and isolate all its dependencies. This allows for better reproducibility and portability.

## 3. Config
Configuration should be stored in the environment. This makes the application easily configurable for different environments, such as development, staging, and production.

## 4. Backing services
Backing services, such as databases, queues, and caches, should be treated as attached resources. The application should not make assumptions about the location of these resources and should be able to easily replace them.

## 5. Build, release, run
Build, release, and run should be kept separate. This allows for better control over the lifecycle of the application.

## 6. Processes
The application should be designed to run as one or more stateless processes. This enables scalability and resilience.

## 7. Port binding
The application should be self-contained and should not rely on runtime injection of a web server. It should be able to run on any port.

## 8. Concurrency
Concurrency is an important aspect of scalability. The application should be able to scale horizontally by adding more instances.

## 9. Disposability
The application should be designed to be disposable. This means that it should start up fast and shut down gracefully.

## 10. Dev/prod parity
The development, staging, and production environments should be as similar as possible. This ensures that there are no surprises when deploying the application to production.

## 11. Logs
The application should generate logs as event streams. This allows for better debugging and monitoring.

## 12. Admin processes
The final factor is the ability to run administrative tasks as one-off processes. This allows for tasks such as database migrations or backups to be easily performed.

## Conclusion
The twelve factor app methodology is a set of best practices that can help you build modern, cloud-native applications that are scalable, reliable, and maintainable. By following these guidelines, you can ensure that your application is built to run on any cloud platform, and that it can be easily deployed and managed.

P.S. Like and comment if you want to know more about this topic!
Websites where you can search for developer jobs
Tags: career, coding, programming
Published: 2023-12-11 18:45:02

Some of the websites where you can search for developer jobs are:

- LinkedIn
- Indeed
- Naukri
- Monster Jobs
- Cutshort
- Smartr
- Instahyre
- Hirist

Are there any websites which I left out? Let us know in the comments!
K Closest Points to Origin
Published: 2023-12-11 18:44:57

Ссылка на leetcode: https://leetcode.com/problems/k-closest-points-to-origin/description/

Код решения при помощи QuickSelect:

```java
class Solution {
    public int[][] kClosest(int[][] points, int k) {
        int start = 0;
        int end = points.length - 1;
        while (true) {
            if (start < end) {
                swap(points, start, ThreadLocalRandom.current().nextInt(start, end));
            }
            int left = start + 1;
            int right = end;
            int pivotIndex = start;
            int pivot[] = points[pivotIndex];
            double pivotDistance = distance(pivot);
            while (left <= right) {
                if (distance(points[left]) > pivotDistance && distance(points[right]) < pivotDistance) {
                    swap(points, left, right);
                    left++;
                    right--;
                }
                if (distance(points[left]) <= pivotDistance) left++;
                if (distance(points[right]) >= pivotDistance) right--;
            }
            swap(points, pivotIndex, right);
            if (right == k - 1) break;
            if (right > k - 1) {
                end = right - 1;
            } else {
                start = right + 1;
            }
        }
        int[][] result = new int[k][2];
        for (int i = 0; i < k; i++) {
            result[i][0] = points[i][0];
            result[i][1] = points[i][1];
        }
        return result;
    }
    
    private double distance(int[] point) {
        return point[0] * point[0] + point[1] * point[1];
    }
    
    private void swap(int[][] points, int i, int j) {
        int tmpX = points[i][0];
        int tmpY = points[i][1];
        points[i][0] = points[j][0];
        points[i][1] = points[j][1];
        points[j][0] = tmpX;
        points[j][1] = tmpY;
    } 
}
```
Quick Select
Published: 2023-12-11 18:38:57

Код алгоритма:

```java
  public static int quickselect(int[] array, int k) {
    int start = 0;
    int end = array.length - 1;
    while (true) {
      if (start < end) {
          swap(array, start, ThreadLocalRandom.current().nextInt(start, end));
      }
      int pivot = array[start];
      int left = start + 1;
      int right = end;
      while (left <= right) {
        if (array[left] > pivot && array[right] < pivot) {
          swap(array, left, right);
          left++;
          right--;
        }
        if (array[left] <= pivot) {
          left++;
        }
        if (array[right] >= pivot) {
          right--;
        }
      }
      swap(array, start, right);
      if (right == k - 1) {
        return array[right];
      }
      if (right > k - 1) {
        end = right - 1;
      } else {
        start = right + 1;
      }
    }
  }

  private static void swap(int[] array, int i, int j) {
    int tmp = array[i];
    array[i] = array[j];
    array[j] = tmp;
  }

```
Pg slot
Published: 2023-12-11 18:15:25

ในภูมิทัศน์ของเกมออนไลน์ที่มีการพัฒนาอยู่ตลอดเวลา เกมสล็อต PG ได้กลายเป็นตัวเลือกที่น่าหลงใหลและน่าตื่นเต้นสำหรับผู้เล่นที่แสวงหาทั้งความบันเทิงและโอกาสที่จะชนะรางวัลใหญ่ เกมเหล่านี้พัฒนาโดย PG Soft ได้รับความนิยมจากคุณสมบัติที่เป็นนวัตกรรม กราฟิกที่น่าทึ่ง และอินเทอร์เฟซที่ใช้งานง่าย

ภาพรวมของเกมสล็อต PG:
เกมสล็อต PG เป็นส่วนหนึ่งของอุตสาหกรรมเกมสล็อตออนไลน์ในวงกว้าง แต่สิ่งที่ทำให้พวกเขาแตกต่างคือการเน้นไปที่การมอบประสบการณ์ที่ไม่เหมือนใครและดื่มด่ำ ด้วยธีมที่หลากหลายตั้งแต่อารยธรรมโบราณไปจนถึงภูมิทัศน์ล้ำยุค เกมสล็อต PG ตอบสนองผู้ชมในวงกว้างที่มีความสนใจที่แตกต่างกัน
**_[Pg slot](https://pgslot.link/)_**
กราฟิกและการออกแบบ:
หนึ่งในคุณสมบัติที่โดดเด่นของเกมสล็อต PG คือกราฟิกที่สวยงามและการออกแบบที่พิถีพิถัน นักพัฒนาที่ PG Soft ใส่ใจในรายละเอียดอย่างระมัดระวัง สร้างสรรค์เกมที่ไม่เพียงแต่มอบประสบการณ์การเล่นเกมที่น่าตื่นเต้น แต่ยังทำหน้าที่เป็นงานฉลองด้านภาพให้กับผู้เล่นอีกด้วย ตั้งแต่สีสันที่สดใสไปจนถึงแอนิเมชั่นที่สลับซับซ้อน แต่ละเกมเป็นผลงานศิลปะที่ช่วยเพิ่มความเพลิดเพลินโดยรวม

คุณสมบัติที่เป็นนวัตกรรม:
เกมสล็อต PG มีชื่อเสียงในด้านคุณสมบัติที่เป็นนวัตกรรมและการโต้ตอบที่ทำให้ผู้เล่นมีส่วนร่วม ตั้งแต่รอบโบนัสและการหมุนฟรีไปจนถึงมินิเกมที่ไม่เหมือนใครภายในสล็อต ทุก ๆ ด้านได้รับการออกแบบอย่างพิถีพิถันเพื่อเพิ่มความตื่นเต้นเป็นพิเศษ คุณสมบัติเหล่านี้ไม่เพียงแต่ทำลายความซ้ำซากจำเจของเกมสล็อตแบบเดิมๆ แต่ยังเพิ่มโอกาสในการชนะรางวัลใหญ่อีกด้วย

ส่วนต่อประสานที่ใช้งานง่าย:
การเข้าถึงเป็นกุญแจสำคัญในโลกของเกมออนไลน์ และเกมสล็อต PG ก็มีความเป็นเลิศในด้านอินเทอร์เฟซที่ใช้งานง่าย ไม่ว่าคุณจะเป็นผู้เล่นที่มีประสบการณ์หรือเป็นมือใหม่ การนำทางในเกมต่างๆ เป็นเรื่องง่าย ทำให้ประสบการณ์โดยรวมสนุกสนานสำหรับทุกคน คำแนะนำที่ชัดเจนและการควบคุมที่ใช้งานง่ายช่วยให้การเดินทางเล่นเกมราบรื่น

ธีมที่หลากหลาย:
PG Soft เข้าใจดีว่าความหลากหลายมีความสำคัญอย่างยิ่งต่อการรักษาความสนใจของผู้เล่น นั่นเป็นเหตุผลที่แฟ้มผลงานของพวกเขามีธีมที่หลากหลาย เพื่อให้แน่ใจว่ามีบางอย่างสำหรับทุกคน ไม่ว่าคุณจะเป็นแฟนเกมสล็อตในตำนาน การผจญภัย หรือเกมสล็อตผลไม้คลาสสิก เกมสล็อต PG มีตัวเลือกมากมายให้เหมาะกับความต้องการของคุณ

แจ็คพอตแบบก้าวหน้า:
สำหรับผู้ที่ไล่ตามความฝันของชัยชนะที่เปลี่ยนแปลงชีวิต เกมสล็อต PG มักจะมีแจ็คพอตแบบโปรเกรสซีฟ แจ็คพอตเหล่านี้ยังคงเติบโตอย่างต่อเนื่องเมื่อมีผู้เล่นเข้าร่วมเกมมากขึ้น มอบโอกาสอันน่าดึงดูดสำหรับผู้โชคดีที่จะได้แจ็คพอตและเดินออกไปพร้อมกับเงินรางวัลก้อนโต

บทสรุป:
ในโลกของเกมออนไลน์ที่ไม่หยุดนิ่ง เกมสล็อต PG โดดเด่นในฐานะตัวเลือกที่น่าทึ่งสำหรับผู้เล่นที่กำลังมองหาประสบการณ์ที่ดื่มด่ำและน่าตื่นเต้น ด้วยกราฟิกที่โดดเด่น คุณสมบัติที่เป็นนวัตกรรม และอินเทอร์เฟซที่ใช้งานง่าย เกมเหล่านี้ยังคงครองใจผู้ชื่นชอบเกมทั่วโลก ไม่ว่าคุณจะอยู่ในนั้นเพื่อความตื่นเต้น ความบันเทิง หรือโอกาสที่จะชนะรางวัลใหญ่ เกมสล็อต PG มอบการเดินทางอันน่าจดจำสู่อาณาจักรของสล็อตออนไลน์
Adding a chatting platform to your website using HTML
Tags: website, chatting, html, livechat
Published: 2023-12-11 18:14:20

G4U official account for posting coding tutorials

Hey everyone, I'm not really the type of person to do these, but I wanted to create a quick tutorial on how you can embed this chatting platform into your site.

The chatting software is named as Chitchatter, and below can be found the code for the HTML element. (**DO NOT USE THIS CODE, THIS IS AN EXAMPLE AND AN IFRAME FOR MY CHATTERS.**)

`<iframe src="https://chitchatter.im/public/5c638502-0822-473a-a9d8-0d0c080a98c8?embed=1" allow="camera;microphone;display-capture;fullscreen" width="800" height="800" />`

If you want to make your own, head over to chitchatter.im so you can create your own public or private chatting room.

Happy coding!

official g4u site: joshuadwclark.com
users: 67.2k
online: 27.9k
logged in: 22.4k
g4u is a gaming website full of games just for you for free