teleren/devto huggingface dataset:
The backdrop-filter CSS property has been unprefixed
Tags: css, webdev
Published: 2024-06-17 12:00:00

The [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter) CSS property required a prefix [^1] in Safari since forever, well 2015 to be more precise. You *had to* use `-webkit-backdrop-filter` just for Safari's sake. Starting in Safari 18 beta, you don’t need the prefix! 🤗

Mostly you don't need to pay attention to prefixes, they affect only a small portion of CSS properties nowadays. *But* occasionaly, they can trip you up! That is the case with the `backdrop-filter` property. Its adoption has been staggered. Support was added to Chrome in 2019 and Firefox in 2022, and they did not require a prefix. This is why prefixes can be easily overlooked!

Safari has also stated that it has improved the implementation of the property, and boosted its cross-browser interoperability. You should be able to use this property with no caveats going forward soon.

## Where is `backdrop-filter` used?

If you are not familiar with `backdrop-filter`, it is having a moment with the [glassmorphism](https://www.nngroup.com/articles/glassmorphism/) trend. This is maybe why it has caught the attention of Apple again!

There are even dedicated generators such as the aptly named [Glassmorphism CSS Generator](https://ui.glass/generator/) that spit out a CSS snippet with the property. If you have used that generator, you are lucky because it includes the prefixed version of the property for you, so you avoided a Safari mishap!

![Screenshot of the Glassmorphism CSS generator](https://www.roboleary.net/optimized-images/vdfxsql6Pb-1400.webp)

A beautiful example of its usage is [Aysenur Turk's redesign of the Adobe Creative Cloud app](https://codepen.io/TurkAysenur/pen/ZEpxeYm).

{% codepen https://codepen.io/TurkAysenur/pen/ZEpxeYm %}

There are other use cases for `backdrop-filter`, but that is a topic for another day!

## Final words

Trimming the technical debt of the "web platform" is progress. I think that unprefixing properties often goes unnoticed and is underappreciated. I appreciate it! Kudos to Safari for doing this work!

You should be able to use `backdrop-filter` with no caveats going forward soon! 🙏

[^1]: Browser vendors used to add prefixes to experimental or nonstandard CSS properties to enable developers to experiment with new ideas. It led to a raft of issues. Thankfully, browser vendors moved from "prefixing", favouring feature flags inside the browser settings instead. However, there are still properties that were never unprefixed!
Net Worth
Published: 2024-06-17 11:53:27

 Understanding Net Worth: A Key Measure of Financial Health

Hey everyone, let's dive into the topic of net worth—a fundamental indicator of our financial well-being! 

What is Net Worth?

Simply put, net worth is the difference between what you own (your assets) and what you owe (your liabilities). It's a snapshot of your financial health at a given moment. Calculating your net worth involves adding up the value of all your assets (like savings, investments, real estate) and subtracting your liabilities (such as loans, credit card debt, mortgages).

whay Does Net Worth Matter?

Your net worth provides a clear picture of your financial standing and progress over time. It's not just about how much money you have—it's about how effectively you manage your assets and liabilities. Tracking your net worth regularly helps you:

1. **Monitor Financial Health:** Are you accumulating wealth or losing ground?
2. **Set Goals:** Establish realistic financial milestones to work towards.
3. **Make Informed Decisions:** Understand your financial capacity for major decisions like investments or buying a home.
4. **Plan for the Future:** Build a strategy for retirement, education funds, or any other long-term goals.

How to Increase Your Net Worth

Improving your net worth involves a combination of increasing assets and reducing liabilities:

- Increase Assets: Save more, invest wisely, and grow your income streams.
- Reduce Liabilities: Pay off debts systematically and avoid accumulating unnecessary debt.

Celebrating Milestones

Every increase in your net worth, no matter how small, is a reason to celebrate! Whether you've paid off a credit card, reached a savings goal, or made a successful investment, acknowledge your achievements. It's a testament to your financial discipline and dedication.

Join the Conversation

Share your experiences with net worth calculations and milestones in the comments. What strategies have worked best for you? Let's learn from each other and inspire more financial success stories!

Remember, building wealth is a journey that requires patience, persistence, and informed decisions. Let's empower each other to achieve financial stability and prosperity. Here's to a brighter financial future for all! [visit this link](https://geeksaround.com)
The Beginning- Luxury Wedding Venue In Bangalore
Tags: luxuryweddingvenue, luxuryweddinghall, banquethall, birthdaypartyhall
Published: 2024-06-17 11:44:41

Looking for a [luxurious wedding venue in Bangalore](https://www.thebeginning.in/
)? Look no further than The Beginning – luxury wedding resort in Bangalore offer the perfect setting for your dream wedding. The Beginning ultimate destination for a spectacular celebration. Our venue is equipped to cater to any of events, be it a birthday party, a Corporate event or any other special occasion.
Muggu Skincare Pollushield Sunscreen
Published: 2024-06-17 11:34:59

[Sunscreen SPF 50:](https://www.nykaa.com/muggu-skincare-pollushield-sunscreen/p/15625128?productId=15625128&pps=15)

It deflects UVA and UVB rays, providing broad-spectrum sun protection. Additionally, it shields against pollution and prevents sunburn, redness, tanning, and pigmentation.
RR Interior Design in Gurgaon
Tags: interior, interiordesign, rrinterior, gurgaon
Published: 2024-06-17 11:34:47


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

Welcome to RR Interior design company in Gurgaon, your trusted partner in transforming spaces into exquisite havens. With over 12+ years of dedicated experience in the realm of interior design, we have Deliver more than 5672+ Projects till Now, We have emerged as a beacon of creativity, innovation, and excellence. Headquartered in the vibrant city of Gurgaon, we extend our expertise and flair across the entire expanse of India. At RR Interior, we are not just interior designers; we are storytellers. Each project is a unique narrative, and we craft bespoke designs that speak volumes about your personality and lifestyle. Our team of seasoned professionals is driven by a passion for turning dreams into reality, and we take pride in being the catalysts behind some of the most inspiring interiors.
🤯Deep vs Shallow cloning ???
Tags: javascript, deep, shallow, cloning
Published: 2024-06-17 11:21:11


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

# How to determine? 

## Shallow Copy
**Criteria:** 
* Only the top-level properties are copied. Nested objects are copied by reference.

**Indicators:**
* If modifying a nested object in the copied object also changes the original object's nested object, it is a shallow copy.
Both the original and copied objects' nested objects will have the same reference.

```
let original = {
    name: "Alice",
    address: { city: "Wonderland" }
};

let shallowCopy = { ...original }; // Shallow copy

shallowCopy.address.city = "New Wonderland";

console.log(original.address.city); // Output: "New Wonderland"
console.log(shallowCopy.address.city); // Output: "New Wonderland"
console.log(original.address === shallowCopy.address); // Output: true
```
## Deep Copy
**Criteria:** 
- All properties, including nested objects, are fully copied. No references to the original nested objects are retained.

**Indicators:**
- If modifying a nested object in the copied object does not change the original object's nested object, it is a deep copy.
- The original and copied objects' nested objects will have different references.

```
let original = {
    name: "Alice",
    address: { city: "Wonderland" }
};

let deepCopy = JSON.parse(JSON.stringify(original)); // Deep copy

deepCopy.address.city = "New Wonderland";

console.log(original.address.city); // Output: "Wonderland"
console.log(deepCopy.address.city); // Output: "New Wonderland"
console.log(original.address === deepCopy.address); // Output: false
```
## Steps to Check Copy Type

### 1. Create Original Object:
Define an object with nested properties.

```
let original = {
    name: "Alice",
    address: { city: "Wonderland" }
};
```
### 2. Make a Copy:
Create a copy using your chosen method.

```
let copy = { ...original }; // For shallow copy
// or
let copy = JSON.parse(JSON.stringify(original)); // For deep copy
```
### 3. Modify Nested Property in Copy:
Change a nested property in the copied object.

```
copy.address.city = "New Wonderland";
```
### 4. Check Original Object:
Compare the nested property in the original object.

```
console.log(original.address.city); // Check if this has changed
```
### 5. Compare References:
Check if the nested objects are the same reference.

```
console.log(original.address === copy.address); // true for shallow, false for deep
```
## Summary
**Shallow Copy:**

* Top-level properties are copied.
* Nested objects are shared (same reference).
* Modifying nested objects in the copy affects the original.

**Deep Copy:**

* All properties, including nested objects, are fully copied.
* Nested objects are not shared (different references).
* Modifying nested objects in the copy does not affect the original.

By following these steps and criteria, you can determine whether an object copy is shallow or deep.
Seeking UI/UX Designer Volunteers 🤝(Open Source)
Tags: opensource, volunteers, ui, ux
Published: 2024-06-17 11:17:57

Hi, I’m [Jackson Kasi](https://www.linkedin.com/in/jacksonkasi), a full-stack developer passionate about building open-source applications to help others. I’m currently working on an open-source Figma plugin project and am seeking UI/UX designer volunteers to join me in making this plugin even better.

### About the Plugin

Check it out on Figma: [🔗 ImagePro Plugin](https://www.figma.com/community/plugin/1379136407205425732/imagepro)  
GitHub Repository: [🔗 GitHub](https://github.com/jacksonkasi1/ImagePro-Export)

ImagePro is designed to streamline the image export process for designers and developers. Here are some of the features we offer:

- **🌟 Export Options:** Export images in PNG, JPG, WEBP, SVG, and PDF formats.
- **🖋️ Case Change Options:** Customize file names with camelCase, snake_case, kebab-case, and PascalCase.
- **🔍 Search Functionality:** Filter images by their prefix.
- **📏 Scale Options:** Export images at various scales (1x, 2x, 2.5x, 3x, 4x).
- **🌗 Light & Dark Mode Support:** Enjoy a seamless experience in any mode.
- **⚙️ Customizable Plugin Options:** Resize the plugin window and adjust settings.
- **📁 Organized Downloads:** Download images as a ZIP file, neatly organized by scale.
- **📉 Image Compression:** Compress images based on quality settings.

### Upcoming Features

- **🎨 Export as RGB, CMYK, or Greyscale**
- **🖼️ Option Image Options - AVIF**
- **🔒 User Authentication**
- **📤 Share Single/Multiple Images**
- **🌐 AI Pro: Remove Background, Upscale Image, Text to Image Generation**
- **☁️ Cloud Management:** Search uploaded images, get sharable links, and delete files or folders.
- **📉 Modify Specific Image Quality for Compression**

### Why I Need You

I’ve got a lot of features, but I need a complete redesign to make these functionalities intuitive and accessible. As a volunteer UI/UX designer, you will:

- **Redesign the Plugin UI:** Create a cohesive and user-friendly interface that showcases all current and upcoming features.
- **Improve User Experience:** Ensure the plugin is easy to use for both designers and developers.
- **Create a Better Logo:** Design a new logo that represents the plugin’s capabilities and professionalism.

### How It Helps

- **For Designers:** Simplifies the export process, provides customization options, and improves productivity.
- **For Developers:** Offers advanced features like image compression and scale options, making it a powerful tool for asset management.

### Open Source

**ImagePro** is an open-source project. Your contributions will be recognized and appreciated by the community. Check out our plugin on [🔗 Figma](https://www.figma.com/community/plugin/1379136407205425732/imagepro) and our source code on [🔗 GitHub](https://github.com/jacksonkasi1/ImagePro-Export).

**Join me in making ImagePro the best plugin for Figma! If you're interested, please reach out and let's create something amazing together.**
How to set a default selected effect for VChart pie charts?
Published: 2024-06-17 11:16:32


## Problem description

When drawing a pie chart for the first time, I hope to highlight a block. How should I configure it?

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/31396bcd4f914849994ebe3e34cb9cad~tplv-k3u1fbpfcp-jj-mark:0:0:0:0:q75.image#?w=336&h=346&s=33956&e=jpg&b=ffffff)

## Solution

  


1.  First, you need to set the graphic style in the selected state in the chart spec configuration.

```
 pie: {
    state: {
      selected: { 
        outerRadius: 0.85,
        stroke: '#000',
        lineWidth: 1
      }
    }
  },
```

2.  Set the default selected data item through setSelected API

```
const vchart = new VChart(spec, { dom });
vchart.renderSync();
vchart.setSelected({
    // one data record
})
```

## Code example

```
const spec = {
  type: 'pie',
  data: [
    {
      id: 'id0',
      values: [
        { type: 'oxygen', value: '46.60' },
        { type: 'silicon', value: '27.72' },
        { type: 'aluminum', value: '8.13' },
        { type: 'iron', value: '5' },
        { type: 'calcium', value: '3.63' },
        { type: 'sodium', value: '2.83' },
        { type: 'potassium', value: '2.59' },
        { type: 'others', value: '3.5' }
      ]
    }
  ],
  outerRadius: 0.8,
  innerRadius: 0.5,
  padAngle: 0.6,
  valueField: 'value',
  categoryField: 'type',
  pie: {
    state: {
      selected: {
        outerRadius: 0.85,
        stroke: '#000',
        lineWidth: 1
      }
    }
  },
 
};

const vchart = new VChart(spec, { dom: CONTAINER_ID });
vchart.renderSync();

vchart.setSelected({ type: 'oxygen'})

// Just for the convenience of console debugging, DO NOT COPY!
window['vchart'] = vchart;
```

  


## Results show

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/e5b84789d73b49b99863aff40baf8430~tplv-k3u1fbpfcp-jj-mark:0:0:0:0:q75.image#?w=1662&h=1044&s=61498&e=png&b=ffffff)

## Related Documents

-   github：https://github.com/VisActor/VChart
-   Related demo: https://visactor.io/vchart/demo/pie-chart/ring
10 LINUX COMMAND
Published: 2024-06-17 11:09:12


# Introduction
Linux is an open-source operating system kernel originally developed by Linus Torvalds in 1991. Linux commands form the backbone of system management and interaction in Linux-based operating systems. They are powerful tools that allow users to perform a wide range of tasks efficiently from the command line interface.

 LINUX COMMANDS
1. cal: This displays the calendar. 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u3gt29qsc3lo389rwekj.PNG)

2. export -p: This shows a list of all currently exported environment 
variables.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/onkorwvl1t72f2eky89o.PNG)

3. printenv: Displays the values of all evironment variables.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1i0klwqudvmbfv8fkbev.PNG)

4. who: This shows who is currently logged in. 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mvvuzi1krh3ulirgq4ty.PNG)

5. uname: This displays system information.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zkwfid1qlg2mvvq8kkpw.PNG)

6. last: This shows the recent login history of users.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/napkwk2bopnhd7xeji1j.PNG)

7. finger: This shows information about all the users currently logged into the system, including their usernames, login time and terminal.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h2mw42pnm2vtl7tcnp7i.PNG)

8. last reboot: This shows reboot history
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/92ms0o05eno5zhbqch1p.PNG)

9. df: This displays free disk space.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hlxj10r6sid5fyot91ym.PNG)

10. w: This shows which users are online and what they are doing.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ofs5a312ah7aymsbjvnb.PNG)

# Conclusion
Linux commands are essential tools for managing files, monitoring system resources, and administering networks efficiently. Whether you're a system administrator, developer, or everyday user, mastering these commands empowers you to navigate and control Linux environments effectively. Their versatility and durability make Linux a powerful choice for a wide range of computing tasks, ensuring reliability and efficiency in system operations.
Performance Benchmarking: gRPC+Protobuf vs. HTTP+JSON
Tags: go, grpc, performance, json
Published: 2024-06-17 11:03:42

---
title: Performance Benchmarking: gRPC+Protobuf vs. HTTP+JSON
published: true
description: A fair benchmark with Go examples to compare Protocol Buffers over gRPC vs. JSON over HTTP/1 and HTTP/2.
tags: Go, gRPC, Performance, JSON
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6gd2xfcoile0npt1oyje.jpeg
---

![vs](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6gd2xfcoile0npt1oyje.jpeg)

[Read full article on packagemain.tech](https://packagemain.tech/p/protobuf-grpc-vs-json-http)
Unveiling 0G Labs: A Deep Dive into the Fastest Modular AI Chain
Tags: webdev, ai, learning
Published: 2024-06-17 11:02:48

📚 TinTinLand's #TinTinLandWeb3LearningMonth has entered Week 3!

📅 This week (June 17 - June 21), 
@0G_labs
 will host an exciting online AMA and Zealy learning tasks.
🌠 0G Labs is the first modular AI chain, starting with an infinitely scalable, programmable Data Availability Layer (DA Layer).

🛠️ Join Discord for more details:https://discord.gg/65N69bdsKw

🚀 Participate in #TinTinLand Discord and Zealy task board for collaborative learning and tasks!
▪️ Discord: https://discord.gg/65N69bdsKw
▪️ Zealy: https://zealy.io/cw/tintinland/questboard


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

🚀 Don't miss the 15th #TinTinAMA next Friday as we unveil @0G_labs: A Deep Dive into the Fastest Modular #AI Chain！

👥 Guests: 
@TracySalanderBC | TinTinLand Community Manager 
@mheinrich | Founder & CEO of @0G_labs 

📅 June 21 (Friday) | 21:00 UTC+8 
🎧 X Space: https://twitter.com/i/spaces/1vOGwjMzzzMKB


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fiqz9jsc1ux4qwv4adkb.jpeg)
Can the VChart axis be set to avoid decimals?
Published: 2024-06-17 10:59:30


## Problem description

I am using a bar chart to describe the number of problems. There should be no decimal place in the circumstances. How to avoid the phenomenon of axis text appearing 0.5?

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/c647fa0dec8d45c8a3724cc3bd59fb0b~tplv-k3u1fbpfcp-jj-mark:0:0:0:0:q75.image#?w=2888&h=1228&s=243126&e=png&b=ffffff)

## Solution

-   You can use ` the axes.tick.noDecimals  `property to configure continuous axes without decimals

```
 axes: [
    {
      orient: 'left',
      tick:{
        noDecimals: true
      }
    }
  ],
```

## Code example

```
const spec = {
  type: 'bar',
  data: [
    {
      id: 'barData',
      values: [
        { month: 'Monday', sales: 1 },
        { month: 'Tuesday', sales: 1 },
        { month: 'Wednesday', sales: 2 },
        { month: 'Thursday', sales: 0 },
        { month: 'Friday', sales: 1 }
      ]
    }
  ],
  axes:[{orient:"left", tick:{noDecimals: true}}],
  xField: 'month',
  yField: 'sales'
};

const vchart = new VChart(spec, { dom: CONTAINER_ID });
vchart.renderSync();

// Just for the convenience of console debugging, DO NOT COPY!
window['vchart'] = vchart;
```

  


## Results show

![](https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/e7c1568fe34240d1946a60de6d97ca27~tplv-k3u1fbpfcp-jj-mark:0:0:0:0:q75.image#?w=1262&h=1044&s=37788&e=png&b=ffffff)

## Related Documents

-   github：https://github.com/VisActor/VChart
-   `noDecimals` configuration: https://visactor.io/vchart/option/barChart-axes-linear#tick.noDecimals
How to Setup and Run a Solana RPC Node
Tags: solana, blockchain, rpc, webdev
Published: 2024-06-17 10:50:31

Solana’s RPC (Remote Procedure Call) node acts as a gateway to the network, allowing developers to interact with the blockchain for [Solana blockchain development services](https://blockchain.oodles.io/solana-blockchain-development-services/?utm_source=devto). If you’re looking to build dApps or interact with the Solana ecosystem, running your own RPC node offers several advantages:

**Reduced Reliance**: Free yourself from dependence on public RPC nodes, ensuring data sovereignty and potentially faster response times.

**Customization**: Tailor the node to your specific needs, enabling features like filtering or whitelisting requests.

Solana relies on validators, which are computers that maintain the network. Each validator runs a program to track accounts and validate transactions. Without validators, Solana wouldn’t function.

Before diving into RPC, let’s clarify a key distinction. The validator software offers two deployment options: voting/consensus nodes and RPC nodes. While both leverage the same software, RPC nodes prioritize performance and refrain from voting. Unlike validator nodes focused on consensus, RPC nodes serve a distinct purpose within the cluster. They act as information providers, responding to blockchain inquiries and facilitating transaction submissions from users.

Learn how to set up and operate a Solana RPC node efficiently: [Setup and Run a Solana RPC Node](https://blockchain.oodles.io/dev-blog/how-to-setup-and-run-solana-rpc-node/?utm_source=devto).