teleren/devto huggingface dataset:
Native Instruments – Session Guitarist Electric Vintage Download
Tags: music, download
Published: 2024-01-14 08:47:52

Unleash the soulful vibes of yesteryear in your music production with the extraordinary "Native Instruments Session Guitarist Electric Vintage." This downloadable virtual instrument is a https://extraplugins.com/product/native-instruments-session-guitarist-electric-vintage/ meticulously crafted collection of vintage electric guitar sounds, designed to transport your compositions to the golden era of classic rock, blues, and soul. 
Immerse yourself in the warm, rich tones of meticulously sampled vintage guitars, expertly played by skilled session musicians. Native Instruments has spared no detail in capturing the essence of iconic instruments, ensuring that each note resonates with the unmistakable character and nuance of vintage guitars. From the gritty twang of a well-worn blues machine to the smooth sustain of a classic rock axe, this library provides an extensive palette of timeless tones at your fingertips.
Whether you're a seasoned producer or a budding artist, the intuitive interface of Session Guitarist Electric Vintage makes it easy to integrate lifelike guitar performances into your tracks. Adjust articulations, tweak dynamics, and explore various playing styles to achieve the perfect expression for your musical vision. The authenticity of the performances and the flexibility of the instrument empower you to infuse your compositions with the organic warmth and depth that only vintage guitars can deliver.
This download seamlessly integrates into your favorite digital audio workstation (DAW), allowing you to compose, arrange, and produce with ease. Elevate your music with the unparalleled sound quality and realistic articulations that Native Instruments is renowned for. Whether you're working on a soulful ballad, a gritty blues track, or a nostalgic rock anthem, Session Guitarist Electric Vintage provides the sonic authenticity that sets your productions apart.
Don't miss out on the opportunity to enhance your sonic arsenal with the timeless allure of vintage electric guitars. Download Native Instruments Session Guitarist Electric Vintage now and https://extraplugins.com/product/native-instruments-session-guitarist-electric-vintage/
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i0ekr52u6atpvuvqagy4.png)embark on a musical journey that pays homage to the classic sounds that have shaped generations of music. Imbue your compositions with the soulful essence of the past and let the vintage vibes flow through your creations.
In Next (v -14) App router, router.push does not allowing Href object rather than only string
Tags: nextjs, react, fullstack, mern
Published: 2024-01-14 08:42:04

I am working on a project where the many nested as well as dynamic routing is being used and choose the Next 14 App router (Upgraded from version 12.x). Now my requirement is sending data through router from a function and used 'Router.push()' from useRouter of next/navigation .  

But i found that, here we can send href object through the Next/Link only. Is there any workaround solution to solve the problem. 

Thank you in advance.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6fx476n9htek6gsvrk38.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p6mtu0ijypevirziqspq.png)vance
انواع ساندویچ پانل
Published: 2024-01-14 08:29:53

ساندویچ پانل‌ها از دو لایه ورق فلزی و یک لایه فوم درونی تشکیل شده‌اند و جهت پوشش سقف و دیوار انواع سازه‌های پیش ساخته مورد استفاده قرار می‌گیرند.

## انواع ساندویچ پانل 

- [ساندویچ پانل دیواری
](https://sandwich-panelmammut.com/types-of-wall-panel-sandwiches/) 
- [ساندویچ پانل سقفی
](https://sandwich-panelmammut.com/ceiling-panel-sandwich/)
شرکت ماموت
Published: 2024-01-14 08:28:03

شرکت ماموت اولین تولیدکننده و صادرکننده انواع ساندویچ پانل در ایران است.

## محصولات شرکت ماموت

- [ساندویچ پانل ](https://sandwich-panelmammut.com/what-is-a-sandwich-panel/)
- کانکس
Docker - Fundamentals
Tags: dockerfull, docker, fundamentals, ibbus
Published: 2024-01-14 08:14:40

Here’s a description of the key components of Docker and their purpose.
‌
The application we use to interact with Docker. There are mainly 2 clients.

1. Docker CLI 
2. Docker Desktop GUI. 

Honestly, if you master the CLI, I don’t see the need for any other docker client.
‌
👉 Daemon
The backend server which does all the heavy-lifting. It receives requests from clients and creates, runs & manages all Docker objects (including containers).
‌
👉 Host
The machine that runs the Docker Daemon. This machine essentially provides all resources to run containers.
This could be your laptop or a powerful server in the cloud.
‌
👉 Container
Runs your application in an isolated environment. The whole reason Docker exists.
A container is an instance of a Docker image.
‌
👉 Image
A blueprint for containers. A filesystem that contains all assets for your application to run successfully, all instructions on how to build and run your app.
‌
👉 Dockerfile
The code file in which you write the Image definition. You supply this file to Docker to create an image out of it.
‌
👉 Network
Provides connectivity between Docker containers so they can communicate with each-other. There are several types of Networks, the default one is “bridge”.
‌
👉 Volume
Provides storage for containers. This ensures that any valuable data generated inside your containers is persisted beyond the lifecycle of the container itself.
‌
👉 Registry
A place to store & distribute Docker images. You can create public or private repositories. Think of it like Git, but for container images.
By default, Docker uses DockerHub as registry. Other examples are AWS ECR, JFrog.
‌
👉 Plugins
Allow you to extend Docker’s functionality. Currently, you can develop/use plugins for authorization, volumes & network.
Use push method without push ! in react
Tags: react, javascript, webdev
Published: 2024-01-14 08:14:17

```jsx
import { Fragment, useState } from "react";

const Login = () =>{
    
    const [data,setData] = useState([]); // step 1 create useState
    // An obj to push
    const obj = { 
        name:"manojconcept",
        age:"unlimited"
    }
    // Adding HandleClick function
    const handClick = () =>{

        setData([...data,obj]) // by using spread operator
        
    }

    return(
        <>
        <button onClick={handClick}>
            click Me
        </button>
        {
            data.map((ele,ind)=>{
                return(
                    <Fragment key={ind}>
                        <p>
                            {ele.name}
                        </p>
                        <p>
                            {ele.age}
                        </p>

                    </Fragment>

                )
            })
        }
        </>
    )
}

export default Login;

```
Angular Paginator Page Size Selector Does Not Respond to Clicks
Tags: angular, paginator, material, table
Published: 2024-01-14 07:44:39

Hi, I'm new to Angular.  Clicking on the page size doesn't seem to generate a dropdown for me to choose the size options; however it does at https://material.angular.io/components/paginator/overview.  Any one have any idea what I'm missing?  I tried updating Angular and Material without success.


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

I used the exact code copied from Angular's examples which is quite basic.


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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n963gze0n6ohu6ew6xtm.png)
How to get a Spotify Refresh Token
Tags: webdev, api, spotify, json
Published: 2024-01-14 07:41:40

In this blog, I'll show you how to generate the Spotify Refresh Token and then use that to programmatically create an access token when needed.

I needed the Spotify Refresh Token to display the currently playing track in the footer section.

# The Approach
---

## Step 1: Generate your Spotify `client_id` and `client_secret`

- Go to [Spotify developers dashboard](https://developer.spotify.com/dashboard/).

- Then select or create your app.

- Note down your Client ID and Client Secret in a convenient location to use in Step 3.

<br />
<br />

## Step 2: Create URI for access code

- In the URL below, replace `$CLIENT_ID`, `$SCOPE`, and `$REDIRECT_URI` with the information you noted in Step 1. **Make sure the `$REDIRECT_URI` is [URL encoded](https://meyerweb.com/eric/tools/dencoder/).**

  ```bash
  https://accounts.spotify.com/authorize?response_type=code&client_id=$CLIENT_ID&scope=$SCOPE&redirect_uri=$REDIRECT_URI
  ```

- This is how mine looked like.

  ```bash
  https://accounts.spotify.com/authorize?response_type=code&client_id=CLIENT_ID&scope=SCOPE&redirect_uri=https%3A%2F%2Fahmedrelated.com%2Fcallback
  ```

<br />

## Step 3: Get access code from the redirect URI

- You will be redirected to your redirect URI which in my case was set to *https://ahmedrelated.com/callback*.

- In the address bar you will find a huge URL string similar to the one below. In place of `$ACCESSCODE` there will be a long string of characters. Note down that string for the next step.

  ```bash
  https://ahmedrelated.com/callback?code=$ACCESSCODE
  ```
<br />

## Step 4: Get the refresh token

- Type the following CURL command in your terminal and replaces all the variables with the information you noted in Step 1 and Step 3 : `$CILENT_ID`, `$CLIENT_SECRET`, `$CODE`, and `$REDIRECT_URI`.

  ```bash
  curl -d client_id=$CLIENT_ID -d client_secret=$CLIENT_SECRET -d grant_type=authorization_code -d code=$CODE -d redirect_uri=$REDIRECT_URI https://accounts.spotify.com/api/token
  ```

- The resulting JSON string will look something like this. Note down the `refresh_token`. This token will last for a very long time and can be used to generate a fresh `access_token` whenever it is needed.

  ```json
  {
    "access_token": "ACCESS_TOKEN",
    "token_type": "Bearer",
    "expires_in": 3600,
    "refresh_token": "REFRESH_TOKEN",
    "scope": "playlist-modify-private"
  }
  ```
#DEVResolutions2024
Tags: devresolutions2024
Published: 2024-01-14 07:10:57

<!-- ✨ Software Engineer, (Artificial Intelligent & Machine Learning)! ✨ -->

## Professional Goals:

1. **Goal:** <!-- Artificial Intelligent (AI). -->
2. **Action Steps:** <!-- Reading notes based on Artificial Intelligence (AI) and attending to AI Lab at list once per week. -->
3. **Timeline:** <!-- Minimum, 6 Moths -->

## Personal Aspirations:

1. **Aspiration:** <!-- To enable me to build and complete my projects successfully. -->
2. **Why it Matters:** <!-- I would like to be among the best, a world class in Artificial Intelligent (AI) projects making. -->
3. **Support System:** <!-- Included in Dev Community Events and participate forums, projects, etc . -->

## DEV Community Contributions:

1. **Contribution Goal:** <!-- An active member to the Dev Community. -->
2. **Collaboration Plans:** <!-- Dev Community Initiative Board member. -->
3. **Measuring Impact:** <!-- By asking community members directly, Through conducting surveys, polls, or one on one interview.. -->
How to do SSR with SvelteKit and @emotion/css
Tags: svelte, sveltekit, emotion, ssr
Published: 2024-01-14 07:01:19

I’m developing a product using svelteKit and wanted to use css-in-js, so I adopted `@emotion/css`. Unlike React, there wasn’t much information on how to use it with Sveltekit, so I wanted to write down the method I found while reading the source code. If anyone knows a smarter way, please let me know🙇‍♂️

## Flow
Use the `extractCritical` method from the `@emotion/server` package 👇 to generate static CSS and inject it into the head tag of the HTML response string generated from the server.

## Implementation
In the case of React, you can use `renderToString` from `react-dom/server` to convert jsx to an HTML string, but the concept is quite different for Svelte, so the method is very different.

However, hooks are provided in the case of Sveltekit.

“Hooks” are app-wide functions you declare that SvelteKit will call in response to specific events, giving you fine-grained control over the framework’s behaviour.

It may be similar to `entry.server.tsx` in remix.

server.hooks.ts

```ts
import type { Handle } from '@sveltejs/kit';
import { extractCritical } from '@emotion/server';

export const handle: Handle = async ({ event, resolve }) => {
 const response = await resolve(event, {
  transformPageChunk({ html, done }) {
   const { html: emotionHtml, css, ids } = extractCritical(html);
   if (done) {
    return emotionHtml.replace(
     '</head>',
     `<style data-emotion-css="${ids.join(' ')}">${css}</style></head>`
    );
   }
  }
 });
 return response;
};

```
That’s it.
Select the direct children of an element
Tags: webdev, javascript, beginners, tutorial
Published: 2024-01-14 06:54:59

When we use the [`querySelectorAll` function](https://phuoc.ng/collection/html-dom/select-an-element-or-list-of-elements/) to select all children of a given element, it fetches all the children, including the nested ones. But what if you only want to retrieve the direct children? That's where the `>` selector comes in handy.

To make things clearer, here's an example: let's say you want to select all direct children of an element with the ID of `parent`. You can simply use the following code:

```js
const parentElement = document.getElementById('parent');
const directChildren = parentElement.querySelectorAll('> *');
```

In the code above, we're using `getElementById` to select a parent element with a specific `id` attribute. Then, we use `querySelectorAll` to choose all direct children of that parent element using the `>` selector. The `*` selector matches any element, so this code selects all direct children, no matter their tag name.

If you only want to select a specific type of tag, you can use that tag name instead of the `*` selector. For example, the following code selects only the `li` tags that are direct children of a given `ul` element.

This approach excludes any nested `li` tags.

```js
const ul = document.getElementById('list');
const directItems = ul.querySelectorAll('> li');
```

---

If you found this series helpful, please consider giving the [repository](https://github.com/phuocng/frontend-tips) a star on GitHub or sharing the post on your favorite social networks 😍. Your support would mean a lot to me!

If you want more helpful content like this, feel free to follow me:

-   [DEV](https://dev.to/phuocng)
-   [GitHub](https://github.com/phuocng)
-   [Website](https://phuoc.ng)
Git vs GitHub(cake version)
Tags: webdev, programming, github
Published: 2024-01-14 06:31:40

While talking about Git and GitHub, generally people gets confused in these two and assume these two same, but what we have to do LOL
hum toh chalo cake khane !

𝐂𝐚𝐤𝐞 𝐒𝐡𝐨𝐩 𝐚𝐬 𝐚 𝐏𝐫𝐨𝐣𝐞𝐜𝐭:

Rounit's Bakery (Project): The cake shop is a project, and the cakes you bake are the different versions or stages of the project.

𝐆𝐢𝐭 as a 𝐑𝐞𝐜𝐢𝐩𝐞 𝐁𝐨𝐨𝐤:

Recipe Book (Git): The recipe book is like Git. It keeps track of all the recipes (code) and any changes made to them over time. Each chef (developer) can have their own copy of the recipe book.

𝐆𝐢𝐭𝐇𝐮𝐛 as a 𝐂𝐞𝐧𝐭𝐫𝐚𝐥𝐢𝐳𝐞𝐝 𝐁𝐚𝐤𝐞𝐫𝐲:

Bakery Headquarters (GitHub): The bakery headquarters is like GitHub. It's a central place where all the recipe books (Git repositories) are stored. Chefs (developers) can share their recipes, collaborate on new cakes, and review each other's work.

𝐁𝐫𝐚𝐧𝐜𝐡𝐞𝐬 as  𝐃𝐢𝐟𝐟𝐞𝐫𝐞𝐧𝐭 𝐂𝐚𝐤𝐞 𝐅𝐥𝐚𝐯𝐨𝐫𝐬:

Cake Flavors (Branches): Imagine you have different branches for different cake flavors. Each branch represents a different development path or feature. For example, there's a "Chocolate" branch and a "Vanilla" branch.

𝐂𝐨𝐦𝐦𝐢𝐭𝐬 a 𝐂𝐚𝐤𝐞 𝐑𝐞𝐜𝐢𝐩𝐞𝐬:

Cake Recipe (Commit):

Each commit is like a specific recipe in the recipe book. It represents a snapshot of the cake at a particular point in time. Chefs (developers) can add new recipes (commits) to the book as they make changes to the cake.

𝐏𝐮𝐥𝐥 𝐑𝐞𝐪𝐮𝐞𝐬𝐭𝐬 as  𝐂𝐚𝐤𝐞 𝐑𝐞𝐯𝐢𝐞𝐰𝐬
Cake Review (Pull Request): When a chef (developer) finishes baking a new cake layer or toppings (feature), they can submit it for review. This is like creating a pull request. Other chefs can review the cake, suggest changes, and decide whether to merge the new flavor into the main collection.

Cake khate raho, seekhte raho!

Follow #rounitsinha
Implementing a Virtual-Physical Environment Manipulation System based on ROS using Python and Three.js
Published: 2024-01-14 06:19:46



![the architecture of the Virtual-Physical Environment system](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x16touen40gcy76b2v6c.png)



Let's explore the architecture of the Virtual-Physical Environment system. On the frontend, we utilize the Vue framework and Three.js for visualizing our virtual world, encompassing a robotic arm and a 3D environment.

Moving to the middle layer, the backend employs Python to establish a connection between the frontend through WebSockets and the physical world via Rosbridge.

In the third section, which is the local side, we have the robotic arm and IP camera. The robotic arm, based on ROS, receives messages from Rosbridge, while the IP camera covers and monitors the physical environment. The captured data is then sent to the frontend for display on pages using WebRTC.



The demonstrations are presented as follows:
[![User Interface of the Virtual-Physical Environment system](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a8qpxjv60spqhei3um4d.png)](https://www.youtube.com/watch?v=XKHiDOqjk7Y "robotic arm demo")

The JavaScript code for receiving ROS messages from both the physical and virtual robotic arms is as follows:
![JavaScript code for receiving ROS messages](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cot9iv0fzgeum2wudbnk.png)



The messages are displayed on the console of the physical robotic arm.
![the console of the physical robotic arm](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ohc13goo31nifgix4to9.png)


The messages are printed on the console of the client webpages.
![the console of the client webpages](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1i3gb6lms102oyfc7sfm.png)

The entire interaction flow between the virtual (Unity and Three.js) and physical environments of the robotic arm based on ROS, facilitated by ROS TCP Connector to Unity and ROSBridge to Python, is as follows:
![interaction flow between the virtual and physical environments](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3mpjzddu3b6950aelghq.png)

The topic will be presented at the upcoming [Conf42](https://www.conf42.com/Python_2024_Ivan_Chiou_virtualphysical_ros_python_threejs).
Java Excellence: Harness the Power of Collections Framework
Tags: javascript, geekster, programming, java
Published: 2024-01-14 06:18:48

Elevate your Java programming skills with our [Java Collections Framework](https://blog.geekster.in/java-collections-framework-deep-drive/) course! From lists to maps, explore a rich set of interfaces and classes for efficient data manipulation. Ideal for developers aiming to write scalable and high-performance code. Join now and master the art of organizing and processing data in Java!
Mastery: Unlock the Power of Database Management!
Published: 2024-01-14 06:14:51

Become a database maestro with our [SQL table creation](https://blog.geekster.in/how-to-create-sql-table/) course! Delve into data types, constraints, and relationships to design databases that meet specific business needs. Perfect for database administrators, analysts, and developers. Join us to master the art of efficient data storage and retrieval.
Dive into Data Science: Uncover Insights, Master Machine Learning! 📈🔍
Tags: geekster, machinelearning, datascience, database
Published: 2024-01-14 06:13:37

Elevate your career with our [data scientist course](https://www.geekster.in/online-data-science-certification-program)! From data analysis to machine learning, learn to extract meaningful insights using Python or R. Real-world projects provide hands-on experience, making you a valuable asset to any data-driven organization. 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zcbxut6zfok6ykcxc2he.png)
Join us and become a proficient data scientist!
Master the Art of Web Development with this Comprehensive Course! 💻🚀
Tags: webdev, javascript, geekster, programming
Published: 2024-01-14 06:08:44

Explore the dynamic world of web development through this engaging [Web Development course](https://www.geekster.in/full-stack-web-development-program). From HTML to advanced frameworks like React and Angular, acquire the skills to create stunning and interactive websites. Join now to embark on a journey that blends theory with hands-on projects, ensuring you're equipped for the evolving demands of the digital era.
SOLID Nedir ? Solid Yazılım Prensipleri Nelerdir ?
Tags: programming, beginners, tutorial, python
Published: 2024-01-14 06:05:00

1. Geliştirdiğimiz yazılımın gelecekte gereksinimlere kolayca adapte olması
2. Yeni özellikleri kodda bir değişikliğe gerek kalmadan kolayca ekleyebileceğimiz
3. Yeni gereksinimlere karşın kodun üzerinde en az değişimi sağlaması
4. Kod üzerinde sürekli düzeltme hatta yeniden yazma gibi sorunların yol açtığı zaman kaybını da minimuma indirmektir.

**S - Single-responsibility principle**
Bir sınıfın (nesnenin) değiştirilme sebebi, yalnızca üzerine yüklenen belirli sorumluluğa odaklanmalıdır. Yani, bir sınıfın (veya fonksiyonun) tek bir amacı olmalı ve sadece o amacı yerine getirmelidir.
Bir sınıfın üstlendiği sorumluluk ne kadar az ise, o kadar az değişikliğe maruz kalacaktır.
**O - Open-closed principle**
Bir sınıf veya fonksiyon, mevcut özellikleri korumalı ve değişikliklere kapalı olmalıdır. Yani, mevcut davranışını değiştirmemeli, ancak gelecekteki gereksinimlere uyum sağlayabilmek için yeni özellikleri kolayca ekleyebilmelidir.
Uygulamamız, gelecek ihtiyaçlara hızlı bir şekilde adapte olabilir ve evrim geçirebilir bir modeli benimsemelidir.
**L - Liskov substitution principle**
Kodlarımızda herhangi bir değişiklik yapmadan, alt sınıfları, türedikleri (üst) sınıfların yerine kullanabilmeliyiz.
Türeyen sınıf, kendine ait yeni özellikleri içerebilmelidir, bu sayede esnek ve genişletilebilir bir tasarım elde edebilmek adına sorunsuz bir şekilde yer değiştirebilmelidir.
**I - Interface segregation principle**
Sorumlulukları tek bir arayüz altında toplamak yerine, daha spesifik ve özelleştirilmiş birden fazla arayüz oluşturmalıyız.
Bu prensip, birden fazla arayüz oluşturmayı teşvik eder ve sorumlulukların mantıklı bir şekilde ayrılmasını sağlar.
**D - Dependency Inversion Principle**
Sınıflar arasındaki bağımlılıklar mümkün olduğunca azaltılmalıdır; özellikle üst seviye sınıfların, alt seviye sınıflara bağımlı olmamalıdır.
Düşük seviye sınıflarda bir davranış değişikliği olduğunda, üst seviye sınıfların davranışında herhangi bir bozulma meydana gelmemelidir.