teleren/devto huggingface dataset:
Visual Studio: .pdb File
Tags: dotnet, visualstudio, debug, devops
Published: 2023-03-12 17:48:12

---
title: Visual Studio: .pdb File
published: true
description: 
tags: dotnet, visualstudio, debug, devops
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-03-12 17:33 +0000
---
![Visual Studio Logo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m01tyeweng9vkh784lmu.png)

A file with the **.pdb** file extension is a program database file that's used to hold debugging information about a program, like a *(dll or .exe)* file. These are also called symbol files.

When we compile our code in **Visual Studio**, it creates a *.pdb* file alongside the executable file, which contains information about the location of each function and variable in the source code, as well as information about the compiled code, such as instructions and memory layout.

*During debugging, the debugger uses the .pdb file to map the compiled code to the original source code, enabling us to step through code, set breakpoints, inspect variables, and view call stacks. Without a .pdb file, the debugger cannot provide detailed information about our code during debugging.*

![Debug Image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7ndojecdmn26zzr5k5oy.png)

Remember, **.pdb files are as important as source code**. Because a build we do on our development machine is a private build. A build done on a build machine is a public build. And without the correct PDB files debugging is nearly impossible as debugger will not find the information to look for.

*For more information:* [Specify symbol (.pdb) and source files in the Visual Studio debugger (C#, C++, Visual Basic, F#)](https://learn.microsoft.com/en-us/visualstudio/debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger?view=vs-2022)
Sharing My Flutter Portfolio Website Source Code: Empowering Developers to Build Their Own
Tags: flutter, dart, webdev, beginners
Published: 2023-03-12 17:36:09

Great news everyone! I recently developed my portfolio website in Flutter, and it has received a lot of appreciation from my peers. Therefore, I decided to make the source code available to the public, so that other people can also create their portfolio website easily in Flutter.

By making the source code of my portfolio website public, I hope to help aspiring developers to learn more about Flutter and inspire them to build their own portfolio website. The code can be used as a reference or cloned to create a new project.

I encourage you to take a look at my portfolio website's source code and use it as a learning resource to create your own amazing portfolio website in Flutter.

Thank you for reading, and happy coding!

Website: https://mdsarfaraj.com
GitHub: https://github.com/socialmad/mdsarfaraj
Set or Update Vertex Properties in Apache AGE
Tags: apacheage, graphdatabase, database, updatevertex
Published: 2023-03-12 17:24:07

In Apache AGE, data is stored in edges and vertices. In this blog, I will tell you how you can set or update the properties of a vertex. The property of a vertex contains the data that is related to that vertex. The data is stored in key value pair.

**Gerneral Form**
Here is the general form of the query to add new Data in the Property of the Vertex.
`SELECT * FROM cypher('graph_name', $$
MATCH (v{propertyName:'Anything'})
SET v.newDetail = 'New Details'
$$) as (v agtype);`

**Explanation**
We get the vertex for which we want to add data by `MATCH (v{propertyName:'Anything'})` and then we add the data by using `SET v.newDetail = 'New Details'`.


**Gerneral Form**
Here is the general form of the query to update Data in the Property of the Vertex.
`SELECT * FROM cypher('graph_name', $$
MATCH (v{propertyName:'Anything'})
SET v.propertyName = 'Updated Details'
$$) as (v agtype);`

**Explanation**
We get the vertex for which we want to update data by `MATCH (v{propertyName:'Anything'})` and then we update the data by using `SET v.propertyName = 'Updated Details'`.


For more details visit: https://age.apache.org/overview/

**AGE Github Link:** https://github.com/apache/age

**AGE Viewer Github Link:** https://github.com/apache/age-viewer
ShutNet v3.6.2 - New open source project to make things faster
Tags: opensource
Published: 2023-03-12 17:14:50

I released some days ago ShutDown, a new open source project where just by running the script, it shuts down every device connected to your wifi. I have always had a lot of pcs and turning them off one by one was annoying, so i created ShutNet.
You can download the whole pack here: https://github.com/INeddHelp/ShutNet

If you want to contribute to the project, feel free to pull requests. If you have any Issue using the scripts, please create a ticket in the "Issues" section.
VsCode without Microsoft's data collection.
Tags: opensource, privacy, webdev
Published: 2023-03-12 16:58:31

1. Most of us use VsCode throughout our dragging days of standard work. Great. However, a glaring issue with VsCode or Vs is that it markets as open source. While VsCode is open source in a sense it still comes loaded with Microsoft's proprietary spyware (in true Microsoft fashion). 

2. VsCode is open core, but not totally open source. I personally don't like this. If you want to continue letting Microsoft spy on you - feel free to stop reading. 

3. So wheres the alternative? VsCodium is the way. VsCodium provides literally everything VsCode offers - without the spyware. Most of the same extensions - sans some proprietary  Microsoft stuff that is only really useful if you work there. 

4. VsCodium is a totally FOSS (free and open source) libre version of VsCode. Absolutely **based**. 

5. Maybe you aren't as in to FOSS as I am, however I would strongly advise you to really look into the programs you are using and the data they are harvesting from you. ([Facebook Cambridge Analytica Scandal])(https://en.wikipedia.org/wiki/Facebook%E2%80%93Cambridge_Analytica_data_scandal)

6. Download VsCodium [here](https://vscodium.com/)

7. If you are addicted to closed source and letting companies make billions off of your data - more power to you. I would suggest you take the FOSS pill and become enlightened.
Here's a general guide for developers who are facing challenges
Tags: programming, computerscience, career, codenewbie
Published: 2023-03-12 16:53:54

- Take a break: If you're feeling frustrated or stuck, it can be helpful to take a break and step away from your code. Go for a walk, grab a snack, or do something else to clear your mind and come back with fresh perspective.


- Use available resources: There are many resources available to help developers who are struggling with a problem. Online forums, documentation, and video tutorials are just a few examples. Don't be afraid to reach out to the developer community for help.


- Break down the problem: Sometimes a problem can seem insurmountable when looked at as a whole. Try to break the problem down into smaller, more manageable tasks. This can make the problem more approachable and easier to solve.


- Check your assumptions: When you encounter a problem, it's easy to assume that you know what's causing it. However, assumptions can often be incorrect. Take a step back and double-check your assumptions before proceeding.


- Debug your code: Debugging is an important skill for developers. Use a debugger or print statements to identify where your code is going wrong. Sometimes simply seeing what's happening under the hood can help you identify the problem.


- Learn from your mistakes: Don't be discouraged if you make mistakes or encounter challenges. Mistakes are an opportunity to learn and grow as a developer. Take note of what went wrong and what you can do differently next time.


- Collaborate with others: Sometimes two heads are better than one. Collaborate with other developers to solve problems and learn from each other.


- Practice, practice, practice: The more you practice programming, the better you will become. Don't be afraid to take on new challenges and try new things. Practice makes perfect.


Remember, programming can be challenging, but it's also rewarding. Keep a positive attitude, take breaks when needed, and don't be afraid to ask for help. With persistence and dedication, you can overcome any challenge.
Subscribe to events with Supabase
Tags: webdev, javascript, beginners, programming
Published: 2023-03-12 16:51:15

{% embed https://www.youtube.com/watch?v=vUBYq-99TsE&ab_channel=CodewithGuillaume %}

Supabase is an open-source database development platform that offers a flexible and affordable alternative to traditional data management solutions. With Supabase, developers can create highly scalable and performant web and mobile applications without having to worry about the complexity of setting up and managing a database.

One of the many advantages of Supabase is its database event subscription feature. This feature allows developers to monitor changes to their database in a reliable and efficient real-time manner. By subscribing to these events, developers can be informed in real-time of changes to their database, making it easier to manage and maintain their applications.

```
const channel = supabase
  .channel('my_new_channel_for_order')
  .on(
    'postgres_changes',
    {
      event: '*',
      schema: 'public',
      table: 'orders'
    },
    (event) => {
      const { new: newOrder } = event;
      orders.value = orders.value.map(order => {
        if (order.id === newOrder.id) {
          return {
            ...order,
            ...newOrder
          }
        }
        return order
      })
    }
  )
  .subscribe()
```

Database event subscription is particularly useful for real-time applications such as online chats, multiplayer games, and live trading applications. Developers can easily track data changes in real-time and quickly respond to events such as new transactions or new user requests.

Supabase also offers great flexibility in database event subscription, allowing developers to choose which events they want to monitor. Developers can choose to monitor all events in their database or focus on specific events such as additions, deletions, or updates.

Finally, Supabase makes setting up database event subscription easy. The platform provides clear and detailed instructions for configuring subscription, as well as comprehensive documentation to help developers get the most out of this feature.

In conclusion, database event subscription is a powerful and useful feature for developers looking to create real-time web and mobile applications. With Supabase, developers can easily monitor changes to their database in real-time and quickly respond to events, making it easier to manage and maintain their applications.

Guillaume Duhan
The best CMS for SEO (Or can CMS improve your SEO?)
Tags: webdev, javascript, jamstack, serverless
Published: 2023-03-12 16:45:00

Why do we stubbornly believe #HeadlessCMS is the best #CMS for #SEO?
CMS is a system that allows people who don't have the technical background to create and manage a website. First of all, most headless CMSs are content first, so everything else that happens and builds in the CMS benefits the content. The idea of headless CMS is not to predefine anything but to do everything you need.

Technical ranking factors that Headless CMS slays
Technical elements are the back-end building blocks that make up your website. Besides content quality and uniqueness, some major technical elements must work flawlessly. Search engines work by crawling and indexing your website's featured information.
- Page speed
- Mobile Optimization
- Core Web Vitals parameters

Must-Have SEO Features in a CMS

Besides technical ranking factors, some On-Off page SEO factors are relevant too. Let’s go further and see what you need to do to achieve the #1 position.

- itemizable Page Elements
- URL Settings
- Navigation Menu [https://thebcms.com/blog/the-best-cms-for-seo]
Due to user experience errors in website speed optimization, I have lost a significant amount of traffic.
Published: 2023-03-12 16:40:25

Good day, Dev community. I have a website, but I lost a lot of traffic because of user experience issues with website performance optimization Of [natural remedies for periods](https://naturawellnessfoods.com/collections/product-offers). Can someone advise me on how to speed up the website and manage java script code loading time?
ReactJS + TailwindCSS + http://hypercolor.dev = Sweet components with sexy gradients! 😁💖
Tags: webdev, javascript, beginners, tutorial
Published: 2023-03-12 16:38:09

Convert a simple ReactJS Card into a beautifully designed component with random gradients.

You can also view the results at https://directdiary.com homepage.

{% embed https://youtu.be/HbmGdDarkYc %}
Install jupyter notebook
Tags: python, programming, tutorial, beginners
Published: 2023-03-12 16:36:47

Jupyter Notebook is an open-source web application which runs on python that allows you to create and share documents. It contains code, equations, graph visualizations, markdown text. It is a very popular tool among programmers, data scientists, researchers as it provides an interactive environment for data analysis and visualization. 

Steps mentoned here will work in Linux, Max and Windows systems.

Jupyter Notebook allows you to share your code, data, and analysis with others. You can easily export your notebooks to HTML, PDF, and other formats, and even GitHub supports this ipybn format.

To install Jupyter Notebook 
```py
pip install jupyter
```

## Jupyter Notebook Extensions
You can add additional features to jupyter notebook by using [Jupyter Notebook extensions](https://github.com/ipython-contrib/jupyter_contrib_nbextensions). Features like Autopep8, ExecuteTime, Code Wrap, etc are avaiable.

To install Jupyter Notebook Extensions run below command one by one
```py
pip install jupyter_contrib_nbextensions
```
This command will move the javascript and css files to jupyter server search directory.
```py
jupyter contrib nbextension install 
```
In the screenshot you can see the list of available extensions.
![Jupyter Notebook Extensions](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2372qa1ll52mrog5d0oj.jpg)


## How to run the Jupyter Notebook?
Open terminal or command prompt, go to the directory where you want to work on, then type this command, it trigger jupyter server and will open in a browser tab.
```py
jupyter notebook
```

[python tutorials](https://www.programdoc.com/python) 

### Explore Other Related Articles
[Python Create Virtual Environment](https://dev.to/max24816/python-create-virtual-environment-3iai/edit)
[Read and Write JSON in Python Requests from API](https://dev.to/max24816/read-and-write-json-in-python-requests-from-api-52ga)
[Read and Write Python Json](https://dev.to/max24816/read-and-write-python-json-h6i)
[How to combine two dictionaries in python using different methods](https://dev.to/max24816/how-to-combine-two-dictionaries-in-python-using-different-methods-3hcc)
[How to check if a key exists in a dictionary python](https://dev.to/max24816/how-to-check-if-a-key-exists-in-a-dictionary-python-132i)
[Python try exception tutorial](https://dev.to/max24816/python-try-exception-tutorial-2nlp)
Part -2 Become a better you with these 10 visuals
Tags: webdev, beginners, productivity, javascript
Published: 2023-03-12 16:27:32

You may become the best version of yourself with the help of these graphics.

---

## 1.


![Visual First](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/412v4jkfdzi4nga4j3no.png)

---

## 2.


![Visual Second](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gw6obiyblcxryxj14a4e.png)

---

## 3. 


![Become a better you with these 10 visuals](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lt1ycs1r4i0ojldkcpj6.png)

---

## 4. 

![Become a better you with these 10 visuals](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6qkkv7yrlhiloetma7jh.png)

---

## 5. 

![Become a better you with these 10 visuals](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6x57e6x1l4977bldl06j.png)

---

--- 
## Support us 
Don't miss the amazing video we've embedded in this post! Click the play button to be inspired

{% youtube 51tRLhi0JkI %}

---
---


## 6. 

![Become a better you with these 10 visuals](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xrpoe6mngp999e6qr9b1.png)

---

## 7. 

![Become a better you with these 10 visuals](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ekbxqqa41qvlzhp1mp1g.png)

---

## 8. 

![Become a better you with these 10 visuals](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9qk3qc03uc9ox8nchw5e.png)

---

## 9. 

![Become a better you with these 10 visuals](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xpqz8enoc3ydwdvekjv0.png)

---

## 10.

![Become a better you with these 10 visuals](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9f57c1yns8yuoac8wmo7.png)





Source - [Linkedin](https://www.linkedin.com/posts/amewborn_10-visuals-that-will-transform-your-mind-activity-7039948246944808960-FM1H?utm_source=share&utm_medium=member_desktop)


---
## For more information

1. Check my GitHub profile
[https://github.com/amitSharma7741](https://github.com/amitSharma7741)

2. Check out my youtube channel 
[https://www.youtube.com/channel/UCTBG1pUL9HtP4ntbj63Fngw](https://www.youtube.com/channel/UCTBG1pUL9HtP4ntbj63Fngw)

3. Check out my Fiver profile if you need any freelancing work
[https://www.fiverr.com/amit_sharma77](https://www.fiverr.com/amit_sharma77)

4. Check out my Instagram
[https://www.instagram.com/fromgoodthings/](https://www.instagram.com/fromgoodthings/)

5. Linktree
[https://linktr.ee/jonSnow77](https://linktr.ee/jonSnow77)

6. Check my project

- EVSTART: Electric Vehicle is the Future
[https://evstart.netlify.app/](https://evstart.netlify.app/)
-  News Website in react
 [https://newsmon.netlify.app/](https://newsmon.netlify.app/)
-  Hindi jokes API
 [https://hindi-jokes-api.onrender.com/](https://hindi-jokes-api.onrender.com/)
- Sudoku Game And API
[https://sudoku-game-and-api.netlify.app/](https://sudoku-game-and-api.netlify.app/)

---
---
 
--- 
## Support us 
Don't miss the amazing video we've embedded in this post! Click the play button to be inspired

{% youtube  p6t7Iprd-38 %}

---
Java Script Rendering Issue in Website speed?
Published: 2023-03-12 16:26:20

Good day, developer community, I have a website, and as a result of user experience errors in website speed optimization, I have lost a significant amount of traffic. I would appreciate it if someone could direct me towards ways to [increase sales and performance](https://oreed.org/en) increase website performance and regulate the loading time of java script code in order to boost the speed.
Brief RSC (react server component) explanation
Tags: react, javascript
Published: 2023-03-12 16:15:33


### Everybody is talking about RSC these days so I thought I'd make a brief introduction explaining what react server components are.

#### **Server components**
They don’t need client side state and interactions. Essentially the server uses data to generate the relevant HTML and returns it to the browser. Inside the server components you can use interactive client components. The server components HTML may be generated from data already on the server. For example, from an API call to your database.

#### **Client components**
These are interactive JSX components (I.e. clicking on buttons and interacting with the state data). Basically HTML created at runtime in the browser from JavaScript.

#### **What RSC does?**
RSC incrementally streams the content of the web app from server to the browser. When the user loads the website, the browser sends a request to the server, the server fetches data from the backend and whatever data it gets it starts to paint the browser window with it. What I mean by this is that unlike SSR, RSC does not wait till we get all the data from the backend, it renders parts of the page such as the NavBar, Footer or some text, this streaming is achieved by serialising the react component into JSON data on server side and then reconstructing it the browser. 
The server components also have automatic bundle splitting meaning that you would not require dynamic imports and if a page does not use a component it will not be sent to it.  


#### **Problems and how RSC solves them**
There are many problems that RSC solves but two of them are important and worth knowing.

1) Waterfalls in fetching data
Waterfalls occur when data takes a long time to load, slowing down your applications. There can be many potential areas for waterfalls to occur, but one of the most common ones is on requests from the client to the server (and the server sending its response to the client). This back and forth communication between the server and client can cause significant latency and noticeably slow down your app, particularly if you have sequential requests coming from parent and child components. React server components solves this problem by fetching data on the server, eliminating that latency.


2) Large bundle sizes
When the browser is downloading huge amounts data in large web apps especially in SSR apps, it can take a while to load the page, especially over slower connections. React server components help solve this problem by sending only required code to the browser.



#### **Resources to learn more about RSCs**
- Here's a demo code link from the react team:
 {% embed https://github.com/reactjs/server-components-demo %}
- [Data fetching with RSC](https://www.youtube.com/watch?v=TQQPAU21ZUw)
🚀 Check out useReducer!
Tags: react, codequality, frontend, javascript
Published: 2023-03-12 16:10:16

Are you tired of using multiple useState hooks to manage your state in React?

🚀 Check out useReducer!

🙌 With useReducer, you can manage multiple states in your components without creating a bunch of useState hooks. By passing a reducer function and an initial state to the hook, you can easily update your state with the dispatch function.

👀 And the best part? useReducer is a lightweight solution that doesn't require any additional libraries or complex configurations.

💡 So, next time you find yourself creating multiple useState hooks to manage your state, try out useReducer instead. It's a simple and effective way to streamline your state management in React.


![Code Snippit](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ugsbs4csb193wkj9w5b7.png)