teleren/devto huggingface dataset:
Understanding the Laws for Real Estate: A Comprehensive Guide
Tags: law, lawforrealestate, realestat
Published: 2023-04-07 07:05:36

Whether you’re a real estate agent, investor, or homeowner, it’s essential to understand the rules for real estate transactions. From property rights to zoning regulations, this guide will provide you with a comprehensive overview of the legal landscape in real estate.

## Understanding the Laws for Real Estate

Real estate is a complex and confusing field, with many laws and regulations governing every aspect of buying, selling, and owning property. Understanding these laws is crucial for anyone involved in real estate transactions, whether as a buyer, seller, agent, or investor. This comprehensive guide will explore the laws governing real estate and give you the knowledge you need to navigate this complex field.

## The Basics of Real Estate Law.
Real estate law encompasses various legal issues related to property ownership, use, and transfer. Some critical areas of real estate law include property rights, contracts, zoning and land use regulations, and environmental laws. Understanding these basic concepts is essential for anyone involved in real estate transactions, whether buying or selling a property, leasing space, or developing land.

One of the most critical aspects of real estate law is property rights. This includes the right to use, sell, lease, or transfer property and exclude others from using the property. Contracts are also a crucial part of real estate law, as they govern the terms of agreements between buyers, sellers, landlords, and tenants.
Zoning and land use regulations dictate how property can be used and developed, while environmental laws protect natural resources and regulate pollution. Whether you’re a homeowner, investor, or real estate professional, understanding these basic concepts is essential for navigating the complex world of real estate law... [See More](url="https://wikiing.com/laws-for-real-estate-a-comprehensive-guide/")
Back-end Guru or Front-end Fanatic?
Tags: discuss, beginners, codenewbie
Published: 2023-04-07 07:00:00

The front-end and back-end of web development offer different challenges and opportunities. Which one do you find more compelling, and why? Let's chat about it in the comments!

---

Follow the [CodeNewbie Org](https://dev.to/codenewbieteam) and [#codenewbie](https://dev.to/t/codenewbie) for more engaging, thought-provoking, and sometimes silly discussions just like this.
Introducing "Preevy" - Instant preview environments for complex applications
Tags: opensource, webdev, devops, productivity
Published: 2023-04-07 06:54:39

## Meet Preevy - Livecycle’s Open Source CLI Tool

We are excited to announce the launch of [Preevy](https://github.com/livecycle/preevy) - Livecycle’s new Open Source offering. If you’re a Docker Compose user, Preevy can deploy your app to a public, ephemeral environment, (also known as a Preview Environment) for every code change you make.

Preview environments are a non-production version of your app, including all its services, accessible not only to you, but to the rest of your team, including designers, product people and other developers. Preview environments can be used to test, validate and review changes made in a pull request, before merging it. You can read more about Preevy at the [official docs site](https://preevy.dev/).

## How does Preevy work?

Preevy can take any Docker-Compose application definition and perform the following with a single `up` command:

* Provision and configure a new virtual machine (VM) on your cloud.
* Build and deploy your application on the VM.
* Expose each service of your application to the web with a user-friendly public HTTPS URL without any DNS/Certificate configuration.

These environments can be managed using the Preevy command-line interface (CLI) and can be easily updated or destroyed when necessary. While Preevy can be used for sharing local environments with your team, its primary goal is to implement preview environments for pull requests. Therefore, it's designed to be easily integrated into CI/CD flows.

## Why did we build Preevy?

At Livecycle, we believe that preview environments are an integral part of any development flow, in any engineering team.

These non-production, ephemeral environments, created for every Pull Request, can significantly improve PR workflows.

In recent years, preview environments have become increasingly popular, with some PaaS providers even offering deeply integrated preview environments. However, setting up preview environments can be a complex and costly task, which is why many teams have been hesitant to implement them.

Preevy is designed to simplify this task and provide a framework for provisioning and utilizing preview environments to optimize the PR flow.

## Links and resources

* **[Preevy’s GitHub repo](https://github.com/livecycle/preevy) (feel free to leave a star :-))**
* **[The Preevy docs site](https://preevy.dev/)**
How Do You do Documentation In Your Company/Project?
Published: 2023-04-07 06:51:54

Hi Guys, To give you guys context, recently I was talking with my colleague on how we don't have a proper documentation on how we have done our code/solution/infra (basically everything). I wanted fix this so planned on creating a way we could document all things related to developing a feature/solution.
So I decided on doing two things

1. Create a documentation to serve as knowledge Hub 
   * which could be used by any member in the company, and would be subjected to constant review and updates as our collective knowledge grows.
2. Create a documentation template for individual projects
   * which could be forked by any project to mcreate their on documentation.

So I planned on acheiving this using docusauraus for static site generator, and github and github pages for reviewing and deploying purposes.

But before I proceed further, I thought it's best to ask what other companies do so I could make a better decision. so here I am.

So I would like to know what you guys do interms of documenting. for instance.

1. What tools do you use for documentation (if it's free, then great)

1. Is there a template on how you create a documentation. like technical documentation would contain certain topics it should cover like what it does, To DO, limitations etc.

1. How do you document technical document and non-technical document. 

1. Do your company have a repository of shared knowledge. if so what it does and how it is done and maintained

Any advice is welcome and thanks for your replies
Hour's of LOFI SONG | LOVE MASHUP | 2023 Most popular Song (Slowed+Reverb)
Published: 2023-04-07 06:28:47

Here are the great [lofi mix](https://www.youtube.com/watch?v=G2q94sDNLG8), love mashup, latest lofi version of 2023 to feel every moment of love and pleasant time with most relaxing music.
Documenting parameters and request/response bodies. 📚
Tags: technicalwriting, apidocumentation, learningjourney, parameter
Published: 2023-04-07 06:16:56

##🚀 Day 3/31, learning consistently. ✅

I deepened my understanding of API documentation by exploring the crucial topic of Documenting parameters and request/response bodies. 

As a Technical writer 👨‍💻, it's my responsibility to provide developers with clear and concise information on how to use the API. To do this, I must accurately document the parameters required for each endpoint and the request/response bodies that users will encounter. 💻

Here are some essential tips for documenting parameters in the API documentation:

🔹 Start by explaining the purpose of the parameter and why it's needed.

🔹 Specify the data type (e.g., string, integer, boolean) and any allowed values.

🔹 Indicate whether the parameter is required or optional.

🔹 Include examples of how to use the parameter.

When it comes to documenting request/response bodies, here are some critical considerations:

🔹 Describe the format and structure of the request/response body.

🔹 Specify any constraints or limitations on the data that can be sent.

🔹 Provide examples of how to use the request/response body.

🔹 Explain any error messages that may be returned and how to troubleshoot them.

By documenting these aspects of API usage in detail, developers can quickly understand how to interact with the API and what to expect in terms of inputs and outputs. 💪

Let's connect on [LinkedIn](https://www.linkedin.com/in/ekemini-samuel-45062a1b4/) and [Twitter](https://twitter.com/realEkemini)

[Photo by Lukas](https://lnkd.in/dFWfUhyD)
How to add cookie consent in ASP.NET 6
Tags: aspnetcore, csharp
Published: 2023-04-11 10:01:54

---
title: How to add cookie consent in ASP.NET 6
published: true
date: 2023-04-07 00:00:00 UTC
tags: aspnetcore,csharp
canonical_url: http://driesdeboosere.dev/blog/how-to-add-cookie-consent-in-aspnet-6/
---

Let's configure our `Program.cs` class by add this configuration:

```
builder.Services.Configure(options =>
{
    // This lambda determines whether user consent for non-essential 
    // cookies is needed for a given request.
    options.CheckConsentNeeded = context => true;

    options.MinimumSameSitePolicy = SameSiteMode.None;
});
```

Add following code in your `Program` class:

```
app.UseCookiePolicy();
```

Example:

```
var builder = WebApplication.CreateBuilder(args);

builder.Services.AddRazorPages();
builder.Services.Configure(options =>
{
    // This lambda determines whether user consent for non-essential 
    // cookies is needed for a given request.
    options.CheckConsentNeeded = context => true;

    options.MinimumSameSitePolicy = SameSiteMode.None;
});

var app = builder.Build();

if (!app.Environment.IsDevelopment())
{
    app.UseExceptionHandler("/Error");
    app.UseHsts();
}

app.UseHttpsRedirection();
app.UseStaticFiles();
app.UseCookiePolicy();

app.UseRouting();

app.UseAuthorization();

app.MapRazorPages();

app.Run();
```

Add a new Razor page in the `Shared` folder with the name: `\_CookieConsentPartial.cshtml' and add following code in this new page:

```
@using Microsoft.AspNetCore.Http.Features

@{
    var consentFeature = Context.Features.Get();
    var showBanner = !consentFeature?.CanTrack ?? false;
    var cookieString = consentFeature?.CreateConsentCookie();
}

@if (showBanner)
{
    
        Use this space to summarize your privacy and cookie use policy. Learn More.
        
            Accept
        
    
    
        (function () {
            var button = document.querySelector("#cookieConsent button[data-cookie-string]");
            button.addEventListener("click", function (event) {
                document.cookie = button.dataset.cookieString;
            }, false);
        })();
    
}
```

Now add the `partial` tag-helper in your `\_Layout.cshtml' page:

```

  
  @RenderBody()

```

You can place this partial tag-helper anywhere you want in your HTML code.

If you run your web application you should see something like this:

![cookie consent example](http://driesdeboosere.dev/blog/how-to-add-cookie-consent-in-aspnet-6/how-to-add-cookie-consent-in-aspnet-6-01.png)

If you click **Accept** then you'll see the cookie message disappear. Refresh your page and you'll see that the message doesn't come back.
Audio Resampling in Node.js - JavaScript
Tags: javascript, node, programming, tutorial
Published: 2023-04-07 05:43:16

Sometimes we are required to save audio files in our web app. At the same time we may or may not concerned with the quality of sound or we are really concerned with space it requires. Meanwhile some audios are like too large due to their format. For example, wav files are uncompressed and thus are larger in size than mp3 files. In most of the cases we are not really concerned with the file format but only with its content and thus converting wav to mp3 is a good choice to save storage. Else than that there is another way called resampling where we alter bit depth and frequency of the audio file. There are many purposes of resampling but here we will do that to save more storage. Without any further discussion let's see how it works.
Before using the below code you must have installed `ffmpeg` tool on your system. Here is the quick guide to install `ffmpeg` on Windows.
{% embed https://medium.com/@arhamrumi/step-by-step-guide-how-to-install-ffmpeg-on-windows-and-unleash-your-multimedia-potential-2ecda8ed4cf %}
Assuming that you have successfully installed `ffmpeg` tool on your system, let's dig into the code.

- _Import required modules_

```
const path = require("path");
const ffmpeg = require("fluent-ffmpeg");
```
You have to install `fluent-ffmpeg` module using this command.
```
npm i fluent-ffmpeg
```

- _Create a function to resample audio file_

Here, the `fluent-ffmpeg` will do the main job. i.e. resampling, while in `audioFrequency()` method we will pass our desired sample rate and then finally `save()` method will save the file to the given path. This conversion operation returns a lot of information about the operation that's why we are saving it in `result` variable in case we want to perform further operations based on that information.

```
const compressAudio = async (inputFile, outputFile) => {
  const result = ffmpeg(inputFile).audioFrequency(16000).save(outputFile);
  if (result) {
    console.log("Audio compressed successfully");
  }
};
```

- _Calling the function_

Now we have to call it by giving two arguments. i.e. the first one will be the path to input file and the second one will be the path to our output file.

```
let inputFile = "path/to/source_file.wav";
let dir_name = path.dirname(inputFile);
let file_name = path.parse(inputFile).name;

let outputFile = dir_name + "\\" + file_name + ".mp3";

await compressAudio(inputFile, outputFile);
```
That's all. You will see that in your given directory a new file is created.
How zk Rollups are Revolutionizing Blockchain Technology
Tags: blockchain, cryptography, zkrollups, transactions
Published: 2023-04-07 05:37:35

Zero-knowledge (zk) Rollups are a type of Layer-2 scaling solution that are changing the way blockchain technology operates. By enabling fast and efficient transaction processing, they are improving the scalability, privacy, and security of blockchain networks.

One of the main benefits of zkRollups is their ability to process a large number of transactions off-chain, which frees up space on the main blockchain. This significantly reduces the fees associated with processing transactions on-chain, making blockchain technology more accessible to people and businesses.

In addition, zkRollups use a cryptographic technique called zero-knowledge proofs, which allows for the privacy of transactions. This means that transactions can be processed without revealing the details of the transaction to anyone other than the sender and receiver. This is a major improvement over traditional blockchain technology, where all transactions are publicly visible on the network.

Furthermore, zkRollups enhance the security of blockchain networks by ensuring that all transactions are validated before they are processed. This makes it virtually impossible for bad actors to manipulate the network and steal or alter transactions.

zkRollups are revolutionizing blockchain technology by enabling faster, more efficient, and more secure transactions on the network. As more and more blockchain projects adopt this technology, we can expect to see even greater advancements in the industry.

Also Read: [How Zkrollups & Optimistic Rollups Can Reduce Gas Fees on Ethereum
](https://www.codezeros.com/blog/how-zkrollups-&-optimistic-rollups-can-reduce-gas-fees-on-ethereum)
Apache AGE & Typecasting
Tags: apache, postgres, age, database
Published: 2023-04-07 05:23:01

Hey everyone, this post is about introduction to typecasting and its need in Apache. 

## Introduction to AGE:
The open-source graph database Apache Age is becoming more and more well-liked among programmers and data scientists. Support for typecasting is one of the characteristics that sets Apache Age distinct from other graph databases.

## Introduction to Typecasting:
The process of changing one data type into another is known as typecasting. Users can specify the data types for the characteristics of vertices and edges in Apache Age by using typecasting. This is crucial because it guarantees accurate data storage and querying.

A simple example for this can be of converting 'character' datatype to "integer" in C. This is done by simply converting a character to its equivalent ASCII Code.

## Type-casting in AGE:
Let us consider a graph that depicts a social network as an illustration. Every user is represented by a vertex, and every link between users is represented by an edge. The user's age is one of the vertex's attributes. Apache Age by default takes the age attribute to be a string. However, you must typecast the age property to an integer if you wish to run queries like "find all users over the age of 30."

You must change the schema in Apache Age in order to typecast a property. The schema specifies the data types for the attributes of the graph as well as its structure. The GSQL query language, which is unique to Apache Age, can be used to change the schema.
This can be coded as:

`CREATE VERTEX User (name STRING, age INT);`

By doing this, a vertex named User is created with the properties name, a string, and age, an integer. After making changes to the schema, you can use GSQL queries that follow the updated schema to load data into the graph.

## Importance:
Typecasting is a crucial component of Apache Age since it guarantees accurate data storing and querying. You can prevent issues when querying data that has been stored as the incorrect data type by defining the data types of the properties. Additionally, typecasting enables Apache Age to apply more effective algorithms that are particular to the data types, which enhances the performance of your queries.

## Conclusion:
Finally, Apache Age's typecasting support is a strong feature that can help you make the most of your graph data. You can ensure that your data is saved and queried appropriately and that your queries run more quickly by defining the data types of the properties. Working with graph data merits giving Apache Age serious consideration.
Devs, roll up your sleeves
Tags: idea, sideprojects, layoffs, github
Published: 2023-04-07 05:15:41

---
title: Devs, roll up your sleeves
published: true
description: Tackle layoffs by building side projects
tags: idea, sideproject, layoffs, github
# cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ozjjpowoareab7k4ldm0.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-04-07 05:12 +0000
---

As you may have heard, Github fired the entire team in India.

We all know layoffs are happening, but firing the entire team is something serious.

In times like these...

💪 The Devs who roll up their sleeves and start acting now, can still dominate this situation

🫤 But those who panic and keep waiting for the opportunity, well...

I can't offer much advice, other than to say...

🤌 Get up and roll your sleeves up and start acting

...

🤔 Asking, What should I act on?

😃 Glad you asked

...

💡 Start building your side project or any idea that excites you

🗓️ And you can do it in just 30 Days as well, If you are really good at coding, do it in 15

...

✅ Build a solid profile in the times, when everyone else is thinking about how to improve their resumes

...

💻 For more practical guidance on Why and How, check this post


https://lnkd.in/gbraEyQf
How to Reduce the Cost of Hiring Packers and Movers
Tags: packers
Published: 2023-04-07 05:09:53

Here are some tips on how to reduce the cost of hiring [packers and movers](https://www.theservicemitra.com/):

**Plan ahead:** Start planning your move well in advance so that you have enough time to compare prices and negotiate with different packers and movers.

**Declutter:** Before you start packing, declutter your belongings and get rid of things that you no longer need. This will reduce the overall volume of your belongings, which in turn can reduce the cost of transportation.

**Pack some items yourself:** Consider packing some of the items yourself, especially clothes, books, and other non-fragile items. This will reduce the amount of time and effort required by the packers and movers, and hence reduce the cost.

**Compare quotes:** Get quotes from multiple packers and movers and compare them to find the most affordable option. Don't just go for the cheapest option, but also consider factors like experience, reputation, and customer reviews.

**Move during off-season:** Moving during the off-season, such as winter or weekdays, can help you save money on packers and movers as demand is usually lower during these times.

**Opt for shared transportation:** If you don't have a lot of belongings, consider sharing transportation with other customers. This will help you save money on transportation costs.

**Negotiate:** Don't be afraid to negotiate with the packers and movers to get the best deal. You can ask for discounts, waive certain services, or negotiate on the overall cost.

By following these tips, you can reduce the cost of hiring packers and movers without compromising on the quality of the service.
About HTML CSS
Tags: webdev, beginners, programming, html
Published: 2023-04-07 05:01:40

The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It is often assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.

Web browsers receive HTML documents from a web server or from local storage and render the documents into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for its appearance.
Cangrejo mentality it’s not an exclusive LATAM phenomena
Tags: softskills, team, community, career
Published: 2023-04-07 04:45:39

Have you ever experienced or have seen "cangrejo mentality?" Yeah, people trying to pull down those who are achieving success or making progress? 

This phenomenon is well known here in Mexico and I have also heard a lot of that in LATAM but it’s not limited to us, the Latino community.

It can be observed in various parts of the world and can hinder progress and growth in all kinds of industries.

Recently something personal happened to me and I got flashbacks from something VERY similar that took place 4 years ago. 

Back in 2019 I had a misunderstanding with a woman from the Netherlands who was asking for people to collaborate on a portfolio for volunteers to level up their curriculum. I was active for 3 months but couldn't get my schedules and work hours to match theirs because of different time zones. I told her that I wouldn't be able to continue working with them and that I needed to have that experience reflected in my CV, so I was going to start something similar for myself. She blocked me and deleted my contributions, she was REALLY ANGRY but never did vocalize what she wanted to do, I think we could solve that just by talking! 

What if we could learn from each other, celebrate our achievements, and create a supportive and uplifting community?

One example of such a community is Technolatinas, a group of women in tech who are dedicated to promoting diversity, equity, and inclusion in the tech industry in LATAM

When I first joined Technolatinas, I was impressed by their genuine contributions and uplifting attitude of the members.

They REALLY encourage each other to share their skills, collaborate on projects, and support each other's career growth 

Let’s start embracing diversity, applaud others, grow and keep growing ✨🫶🏽 that’s POWER ✨🫶🏽