teleren/devto huggingface dataset:
Dose nestjs support auto instrumentation with Opentelementry
Tags: nestjs, opentelementry, autoinstrumentation, node
Published: 2024-04-23 07:00:43

We are trying the Kubernetes operator for auto instrumentation using opentelemetry.
followed this document https://opentelemetry.io/docs/kubernetes/operator/automatic/

We added the below annotation in our Nestjs application deployment manifest. 
instrumentation.opentelemetry.io/inject-nodejs: "true"

The same configurations worked for Nodejs applications and others, but for the NestJs application, it does not generate traces and spans.

I didn't find any documentation for NestJs auto instrumentation

Does NestJs support Auto-instrumentation or not?
Creating my own homelab
Tags: programming, homelab, postgres, odoo
Published: 2024-04-23 02:43:02

As the title say in this series of post I will share with you the creation of my own homelab, where I will use for learning (at least for the moment) an erp system, and more system related things (like having a file manager, database systems with docker, etc)

## Hardware that I will use for this homelab

For the moment I have the next things

- Laptop with an Intel Celeron (8gb ram and SSD)
- Raspberry pi 4 (4gb ram)
- Laptop with an i5 (8gb ram and SSD)

From here on out we're going to called them like S1(laptop with Celeron), R1 and D1(Laptop i5).

## Diagram of the Homelab

![Main diagram of the homelab](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ayxeedt7iex3jg0del6b.png)

### S1 section

Our “server” will have the main tools that we will use. For example docker, the odoo system and the apps that we're going to build.

![The diagram for our server](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/08u1kw26lhlelzqv80b0.png)

### D1 section

We will use this as our development machine for our apps. To connect to S1 and R1 for the deploy of the apps.

![Diagram of the development laptop that we will use](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/98tjxw495ackl4960gey.png)

## R1 Section

For having small applications like it where a kiosk.

## Stack of the homelab

The technologies that I will be using in the homelab are the next one:

- PostgreSQL
- Docker
- Odoo (ERP)
- NextCloud

## OS of the devices

The OS for the devices will be as follow:

- Ubuntu server (S1)
- Windows 11 (D1)
- Raspberry OS (R1)

## In the next post

The next time we will see the installation of Ubuntu and Raspberry OS, and setup the ssh connection with both of them.
Tận hưởng sòng bạc trực tuyến đầy thú vị tại LegaBet
Tags: legabet, casinolegabet, legabetvietnam, cacuoclegabet
Published: 2024-04-23 06:58:25

LegaBet đã khẳng định vị thế của mình trong làng casino trực tuyến với dịch vụ uy tín và chất lượng. Với một loạt các trò chơi casino phong phú như Baccarat, Blackjack, Roulette, và trò slot độc đáo, LegaBet không ngừng thu hút hàng ngàn người chơi mỗi ngày. Đồng thời, với các chính sách bảo mật và thanh toán linh hoạt, LegaBet đảm bảo môi trường chơi game an toàn và minh bạch nhất cho người chơi. Hãy đến với LegaBet và trở thành một phần của cộng đồng casino trực tuyến đẳng cấp.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/21mde2o5cozda7iyzmw4.png)
Task 13
Tags: testing, automation, webdev, javascript
Published: 2024-04-23 06:49:11

https://github.com/Subashk129/Task13

ReadExcel - ScreenShot 
https://docs.google.com/document/d/1LI2z4EQ3GM0bx6_EwN33uuDcPqFlyQ58u11mHQteet0/edit?usp=sharing
React - Functional Component V/S Class Components
Published: 2024-04-23 06:48:48

```
class ClassComponent extends React.Component {
 constructor(props) {
   super(props);
   this.state = {
     count: 0
   };
 }

 render() {
   return (
     <div>
       <p>count: {this.state.count} times</p>
       <button onClick={() => this.setState({ count: this.state.count + 1 })}>
         Click
       </button>
     </div>
   );
 }
}
```
**_Important_**
“The constructor for a React component is called before it is mounted. When implementing the constructor for a React.Component subclass, you should call super(props) before any other statement. Otherwise, **this.props will be undefined** in the constructor, which can lead to bugs.”
The Ultimate Guide to House Painting
Published: 2024-04-23 06:39:55

Preparation is Key
Properly prepare the surface by cleaning it thoroughly, filling in any cracks or holes, and sanding rough areas. This ensures a smooth and long-lasting finish.

Choose the Right Paint-
Consider factors like the type of surface (interior or exterior), the room’s purpose, and the desired finish (matte, satin, glossy). Use high-quality house paint for better coverage and durability.

Use Primer-
Apply a primer before painting, especially on bare surfaces or when switching between paint types (e.g., oil-based to water-based). Primer improves adhesion and helps the topcoat last longer.

Protect Surrounding Areas-
Cover floors, furniture, and fixtures with drop cloths or plastic sheets to prevent paint splatters and spills. Use painter’s tape to mask edges and achieve clean lines.

Proper Application Techniques-
Use brushes, rollers, or sprayers as appropriate for the surface and area to be painted. Start with a small section to get the hang of the technique before tackling larger areas.

Work in Sections-
Divide the area into manageable sections to maintain a consistent look and avoid visible seams or drying lines. Finish one section before moving on to the next.

Allow Adequate Drying Time-
Follow the paint manufacturer’s instructions regarding drying times between coats. Rushing this step can lead to uneven coverage or paint damage.

Ventilation-
Ensure good airflow while painting, especially when using paint with strong fumes. Open windows and doors or use fans to improve ventilation and aid in drying.

Cleanup and Storage-
Clean brushes, rollers, and other tools promptly after use to prolong their life span. Store leftover paint properly in a cool, dry place for future touch-ups.

Safety First-
When handling paint and chemicals, wear appropriate protective gear such as gloves, goggles, and a mask. Follow safety guidelines to avoid accidents or health risks.

Ghar Banwao is a Construction company in Lucknow, providing one one-stop Solution in Architect, Construction with Material, and Interior design.

Final Word

I hope this article contains all the answers to The Ultimate Guide to House Painting, answered in simple words, step by step. If you liked the article, check out our site for more such content.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g1sw6s4f1tv0vz8bnh3f.png)
Oman Oasis: Where Sand Dunes Meet Turquoise Pools
Tags: travel, tourism, desert, oman
Published: 2024-04-23 06:39:02


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m0ga95fx1rigmikf9mpq.jpg)
Desert vacations might conjure images of luxurious glamping, but trust me, my recent trip to Oman was a far cry from Instagram perfection.  It was hot, dusty, and definitely not for the faint of heart – but that's exactly what made it so unforgettable.

I signed up for a day trip through Go Oman [[Full Day Desert Experience: Wahiba Sands & Wadi Bani Khalid Tour](https://go-oman.com/tour-package/desert-experience-wahiba-sands-wadi-bani-khalid-full-day-tour)] that promised a taste of both the dramatic Wahiba Sands desert and the cool, refreshing Wadi Bani Khalid oasis.

The reality?  Well, let's just say the air conditioning in our 4x4 went kaput about halfway through the desert, turning the inside into a furnace.  The bumpy ride over the sand dunes wasn't exactly smooth sailing, and forget about that flowing desert caftan I envisioned –  jeans and a headscarf became my new best friends.

But here's the thing: despite the discomfort, the experience was incredible.  Conquering those dunes in a sputtering vehicle was an adventure in itself, and the wide-open spaces were breathtaking.  We stopped by a Bedouin camp, where we were welcomed by surprisingly gracious hosts who offered us tea and dates.  It was a humbling glimpse into a way of life that's both incredibly tough and deeply respectful of the environment.

Sandboarding was definitely a highlight – though mastering it was a different story.  Let's just say I spent more time sprawled out in the sand than gracefully carving down the dunes.  But hey, that's part of the fun, right?

Finally, reaching Wadi Bani Khalid was pure bliss.  The crystal-clear pools were a welcome relief from the relentless sun, and the surrounding palm groves offered a bit of shade.  Taking a dip and washing away the desert grit was pure magic.

This trip to Oman wasn't about luxury or flawless execution.  It was about embracing the unexpected, experiencing a different culture, and appreciating the raw beauty of the desert. And let me tell you,  it left a mark far deeper than any perfectly curated Instagram post ever could.
Real-time Cloud Security Services In The USA | Cloud Optimization
Tags: cloud, cloudsecurity, cloudcomputing, security
Published: 2024-04-23 06:34:38

Protecting your data in real-time with FYI Solutions' [Cloud Security Services](https://fyisolutions.com/services/cloud-security-services/) in the USA to optimize and stay secure. Visit: https://fyisolutions.com/


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lxcavemd28r9ycqbe4re.jpg)
Ready To Cook
Tags: food, readytocookfood, readytocook
Published: 2024-04-23 06:14:06

[Ready To Cook Food](https://regalkitchenfoods.in/)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/23lfep4tg99wey8iy1zl.png)[](url)-For over 15+ years, Regal Kitchen has been on a mission to solve your problem of long prep times through instant-prepared meals.
Egiz Solution offers the best web design and development services for IT solutions.
Tags: mobile, application, ios, android
Published: 2024-04-23 06:06:15

With a focus on web design and development, Egiz Solution provides all-inclusive IT solution services. Our team is committed to providing innovative solutions that are suited to your company's requirements. Our services range from developing stunning web applications to designing adaptable websites. We guarantee intuitive user interfaces and excellent performance. Egiz Solution is your reliable partner whether you need digital marketing solutions, specialized software development, or a new website. Our mission is to provide your company with cutting-edge technological solutions that support expansion and success in the world of technology. Elevate your online presence today by partnering with us for the [best IT solution services](https://egizsolution.com/****).
Php features: first-class callable syntax
Tags: php
Published: 2024-04-23 06:03:17

As I mentioned in my [previous post](https://dev.to/xwero/php-features-attributes-32p6) this is going to be a series.

This post is going to be a short one. But it made php code easier to read for me.

## Theory

Php 8.1 introduced this [syntax](https://www.php.net/manual/en/functions.first_class_callable_syntax.php).

Before you wrote `[$this, 'foo']` and from php 8.1 you can write `$this->foo(...)`. 

Routers in frameworks like [Laravel](https://laravel.com/docs/11.x/routing#the-default-route-files) and [Symfony](https://symfony.com/doc/current/routing.html#creating-routes-in-yaml-xml-or-php-files) use the old way in their documentation. That is why I think a lot  of people are still unaware of the new syntax.

## Code

The syntax not only works on class methods, but also on functions. This means you can write `$uppers = array_map('strtoupper', ['a', 'b', 'c']);` now as `$uppers = array_map(strtoupper(...), ['a', 'b', 'c']);`. 
You might complain about the three extra characters you need to type. For me it feels like you really calling a function instead of some magical string.

Another benefit for the class methods is that you can see if the method is static or not, because you can write `My\Class::method(...)` when your method is static. Which means you documented your code better without adding comments.

## Conclusion

It is a little addition to the PHP syntax. But it makes the code more expressive for me. 

For people who didn't know this, is it an improvement or do you feel indifferent about the change?
What is Kubectl?
Tags: kubectl, kubernetes, k8s
Published: 2024-04-23 06:00:00

## kubectl is the main way in which you will interact with your Kubernetes cluster

Kubectl is a command line tool used to run commands against Kubernetes clusters. It does this by authenticating with the Master Node of your cluster and making API calls to do a variety of management actions. If you’re just getting started with Kubernetes, prepare to spend a lot of time with kubectl!

## Key Capabilities of kubectl

**Application Deployment and Scaling:** Kubectl simplifies deploying and scaling applications. It provides a streamlined process for adjusting the scale of your applications based on demand, directly from the command line.

**Resource Management:** Dive deep into managing Kubernetes resources such as pods, deployments, and services. Kubectl enables precise interaction, offering a detailed view of application architecture and operation within clusters.
Optimization and Decision Making: Armed with comprehensive insights into application performance, engineers can make informed decisions to enhance efficiency and ensure high availability.

## Troubleshooting with kubectl

When applications falter, kubectl is an invaluable asset for diagnosis and remediation. It facilitates quick identification of issues and offers solutions, aiming to minimize downtime and maintain continuous service delivery.

## Cluster Configuration Management

Kubectl does more than just handle applications; it’s also instrumental in managing cluster configurations. This capability ensures that clusters are optimized for performance, security, and compliance with organizational standards.

## How to Use kubectl

The format of a kubectl command looks like this:

```

kubectl[command][type][name][flags]

[command]: specifies the action you want to perform like create, delete, get, apply
[type]: any Kubernetes resource, whether automatically provided by Kubernetes (like a service or a pod) or created by you with a Custom Resource Definition
[name]: the name you have given the resource — if you omit the name, kubectl will return every resource specified by the type
[flags]: specify any additional global or command specific options such as the output format
An example of a command using the full command format is

kubectl get pods hello-world -o yaml
```

which will make a call to the kubernetes api and output the configuration of a pod named hello-world in yaml format.

Since the name is optional, some commands you will commonly execute will completely omit it such as

`kubectl apply -f hello-world.yaml
`
which will apply a configuration defined in the `hello-world.yaml `file.

## Learn More

https://kubernetes.io/docs/reference/kubectl/overview/
https://kubernetes.io/docs/reference/kubectl/cheatsheet/
https://kubectl.docs.kubernetes.io

## Other useful tools:

[kubectx & kubens
](https://github.com/ahmetb/kubectx)kube-ps1
[autocomplete](https://kubernetes.io/docs/reference/kubectl/cheatsheet/#kubectl-autocomplete)
[aliases](https://github.com/ahmetb/kubectl-aliases)
[stern](https://github.com/wercker/stern)
Cal.et – Free Alternative to AddEvent
Tags: calendar, marketing
Published: 2024-04-23 05:34:35

![Cal.et](https://i.ibb.co/Y3wshcr/new-Screenshot-1.png "SS")

In our social and professional lives, sharing events has become a critical component. Whether it’s a community gathering, a business conference, or an online webinar, efficiently getting the word out can make a significant difference.

Introducing Cal.et – A Robust and Free Alternative to AddEvent
[Cal.et](https://cal.et) steps in as a robust and free alternative to AddEvent, offering a seamless experience in creating “Add to Calendar” links.

What is [Cal.et](https://cal.et)?

[Cal.et](https://cal.et) is a straightforward, no-cost solution designed to simplify the process of event sharing across various platforms. Unlike its competitors, Cal.et provides a user-friendly interface that allows you to generate links that can be easily integrated into social media, newsletters, websites, emails, and much more.
Top 10 Dental Clinics in Vasant Vihar
Tags: dental
Published: 2024-04-23 05:54:17

## Foremost Dentist in Vasant Vihar: Pioneering Dental Excellence:

Recognized as the preeminent and **_[Best Dentist in Vasant Vihar](https://www.tooth-town.com/)_**, our commitment lies in deploying avant-garde tools and cutting-edge technology, all while upholding the zenith of sanitary standards. Entrust us with your dental emergencies; we pledge to safeguard your invaluable time, ensuring swift and efficient treatment when exigency strikes.

Distinguished from myriad **_[Dental Clinics in Vasant Vihar](https://www.tooth-town.com/)_**, our practitioners are bound by a covenant of assurances. Each time you grace our establishment, we strive to eliminate any inconveniences associated with your dental requisites.


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

Moreover, we proffer routine dental evaluations and an array of treatments encompassing teeth brightening and aesthetic dentistry. Elevate your smile with our offerings in Invisalign, metallic braces, ceramic braces, dentures, dental implants, and RCT (Root Canal Therapy). Join us to sculpt a radiant smile and impeccable oral health.
Shaderpen™
Tags: codepen
Published: 2024-04-23 05:54:15

Just a very basic GLSL editor without any features. Simple, bare, minimal - just like the language.
 
 * Updates the shader code on every edit with a debounce time of 1 second.
 * Supports high DPI displays.
 * Shader errors are displayed in the editor and the line is highlighted.
 * Supports tab indentation (for single line only and not with selections).
 * Strores the shader code in local storage.
 * Revert to the default shader code with the reset button in the top right corner (most right).
 * Change the resolution with the button in the top right corner. 1 = 1x, 2 = 1/2x. 
 * Toggle the code editor with the button in the top right corner.
 * Default shader code is in the HTML.

{% codepen https://codepen.io/harunpehlivan/pen/ZEZVMmd %}
Python training
Tags: python
Published: 2024-04-23 05:50:30

## Python Training in bangalore
[](https://nearlearn.com/python-online-training)
Im nanditha seo analyst @nearlearn. NearLearn is Top Python Training Institute in Bangalore India. The Institute offers the Classroom & Online Training on Python in Various areas like BTM Layout, Indiranagar, Marathahalli, Koramangala, Jayanagar, JP Nagar.
Lightning Locker vs. Lightning Web Security, No Support for Workflow & Process Builder, Quick Action via LWC
Tags: salesforce, salesforcedevelopment, salesforceadministration, salesforceadmin
Published: 2024-04-23 05:44:30

#  This is a weekly newsletter of interesting Salesforce content

See the most interesting #Salesforce content of the last days 👇

✅ **[Lightning Locker vs. Lightning Web Security](https://www.salesforceben.com/lightning-locker-vs-lightning-web-security/)**
As the Lightning platform continues to evolve, empowering critical business processes and applications, one aspect takes center stage like never before: security. Salesforce achieves this through the use of one of two security architectures, acting as a hidden guardian, ensuring a safe and secure environment. These two architectures are the new Lightning Web Security, which is intended to replace the older Lightning Locker.  

✅ **[Salesforce Announces End of Support for Workflow Rules & Process Builder](https://www.salesforceben.com/salesforce-announces-end-of-support-for-workflow-rules-process-builder/)**
In a recent announcement, Salesforce has revealed that Workflow Rules and Process Builder will no longer be supported after December 31, 2025. Salesforce is urging users to migrate their automation processes to Flow Builder before the deadline to ensure uninterrupted support and access to bug fixes. This move comes as Salesforce aims to shift its focus towards a more modern, extensible, low-code automation solution: Flow Builder. 

✅ **[Send Email as a Quick Action Using Lightning Web Component](https://automationchampion.com/2024/03/19/send-email-as-a-quick-action-using-lightning-web-component-2/)**
To set up Send Email as a Quick Action in Salesforce Lightning Experience, one must understand the need for using Lightning Web Components to create the action. Learning about encodeDefaultFieldValues and invoke functions is essential, along with gaining insights into NavigationMixin from a developer's perspective.

✅ **[Top 10 LWC JavaScript Best Practices with Code Samples](https://sfdclesson.com/2023/07/27/top-10-lwc-javascript-best-practices-with-code-samples/)**
Following best practices ensures code quality, maintainability, and performance. This blog covers essential LWC JavaScript best practices with examples for efficient, reusable, and maintainable components.

✅ **[A Day in the Life of a Slack User: 10 Slack Features to Use](https://www.salesforceben.com/day-in-the-life-of-a-slack-user/)**
Slack is now one of the most popular messaging platforms for businesses to use, with an estimated 20 million users worldwide.  This article outlines a day in the life of a potential Slack user, and how they can best utilize the many features Slack has to offer. 



Check these and other manually selected links at https://news.skaruz.com

Click a Like button if you find it useful. 
Thanks.
Testimony of my life
Published: 2024-04-23 05:43:09

Hello,

My name is Jana Hrozkova  and I'm willing to talk about my experience investing in bitcoin. You can, however, get your stolen bitcoins back. I was taught that recovering bitcoin was impossible, therefore I never thought it was conceivable. I recently lost close to $85,000.00 after falling for a forex scam and so called donation donor that promised absurdly large returns. I looked everywhere for assistance before finding a Hannelore Sauer cyber wizard Recovery article online. When I WhatsApp them, my excitement was once more total. Get in touch with Hannelore Sauer cyber wizard Recovery as soon as possible if you are one victim of a scam. They are a registered hacking group that can help with a quick and efficient bitcoin recovery or any internet fraud via: Sauer@cyber-wizard.com   https://www.hanneloresauer.com

Warm Regard
Jana Hrozkova
１２章17
Published: 2024-04-23 00:43:49

インナークラス（内部クラス）は、別のクラスの内部で定義されたクラスのことを指します。インナークラスは、外部クラスのメンバーとして扱われ、外部クラスの private メンバーにもアクセスできます。

インナークラスには、以下の4種類があります：

1. メンバークラス（Member Class）
   - 外部クラスのメンバーとして定義されるクラス
   - static修飾子を付けることで、静的メンバークラスになる
   - 非静的メンバークラスは、外部クラスのインスタンスに関連付けられる

2. ローカルクラス（Local Class）
   - メソッド内で定義されるクラス
   - メソッドのローカル変数のスコープ内でのみ有効
   - 外部クラスの private メンバーにアクセス可能

3. 匿名クラス（Anonymous Class）
   - 名前を持たないクラス
   - クラス宣言と同時にインスタンスを生成
   - 一度しか使用されない場合に便利

4. 静的ネストクラス（Static Nested Class）
   - static修飾子が付けられたメンバークラス
   - 外部クラスのインスタンスに関連付けられない
   - 外部クラスの static メンバーにのみアクセス可能

以下は、インナークラスの例です：

```java
public class OuterClass {
    private int outerField = 10;

    // メンバークラス
    public class MemberClass {
        public void accessOuterField() {
            System.out.println("Accessing outer field: " + outerField);
        }
    }

    // 静的ネストクラス
    public static class StaticNestedClass {
        public void doSomething() {
            System.out.println("Doing something in static nested class.");
        }
    }

    public void someMethod() {
        // ローカルクラス
        class LocalClass {
            public void doSomething() {
                System.out.println("Doing something in local class.");
            }
        }
        LocalClass localObj = new LocalClass();
        localObj.doSomething();
    }

    public void createAnonymousClass() {
        // 匿名クラス
        Runnable anonymousObj = new Runnable() {
            @Override
            public void run() {
                System.out.println("Running in anonymous class.");
            }
        };
        anonymousObj.run();
    }
}
```

インナークラスは、外部クラスとの密接な関係を表現するために使用されます。また、コードの可読性や管理性を向上させるために役立ちます。ただし、インナークラスの乱用は避け、必要な場合にのみ使用するようにしましょう。