teleren/devto huggingface dataset:
WEB SERVERS FOR BEGINNERS
Tags: webdev, javascript, react, web
Published: 2023-07-07 11:51:22


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/81tly4q9qntboiu052zw.jpg)
This article is helpful for beginners who want to understand web servers. A web server is simply a computer system or a combination of software and hardware that serves websites and web pages. It works on a client-server architecture where the client requests a browser by entering a URL, which is then sent to the respective server. The server processes the HTTP request or URL, checks the files at that location, generates a copy, and sends it back to the client.

A web server comprises a hardware part and a software part. The hardware part contains the website data, such as HTML files, CSS files, JavaScript files, and assets like images and PDFs. It also includes the web server software. The software handles the HTTP request, performs all the processing, and returns the HTTP response with some data or, in case of an error or missing data, an HTTP response indicating the issue. An example of such an error is the 404 error, which many developers customize extensively as it is quite common to encounter this page.

To host files, you first need to store the website files, including HTML, and related assets like images, CSS, and JS files. While it's possible to use your computer as a web server, it is preferable to use a dedicated web server provided and managed by a third party.

Web servers deliver two types of content: static content and dynamic content. Static content refers to serving static web pages, which do not have dynamic data. In these cases, there is minimal involvement of a database, and there is no need for server-side programming languages like Python or Java to render the pages.

On the other hand, dynamic content serves web pages that continuously deal with changing data based on demand. These pages require significant interaction with a database before displaying the data to users. Server-side programming languages like Java are used to render dynamic pages. Popular platforms like Quora and Wikipedia employ dynamic servers, where predefined templates using HTML, CSS, and JS are used to present data that changes and adapts based on user demand.
Learning React
Tags: beginners, react
Published: 2023-07-11 01:39:18

It's been my first time learning about this technology. I will not lie about this. It has been super hard learning for me. One thing that was not getting into my mind its states. 
"A state represents the current condition or state of the component, which can change over time due to user interaction, data updates, or other factors". Best definition I got it when I was doing my research. 

When I got to this point I was confused but I get now:

const [recipe, setRecipe] = useState(null);

.Declaring a constant variable 

.[recipe, setRecipe] uses array destructuring syntax to declare two variables.

.It assigns the first value returned by the useState hook to the recipe variable and the second value to the setRecipe variable.
.By using setRecipe, you can later update the recipe state by invoking it with a new value. 
."null" In this case it is just the initial value as argument given.

This line of code initializes a state variable called recipe with an initial value of null and provides a function setRecipe that can be used to update the recipe state.

As a key to remember: " useState, the first element of the returned array (recipe in this case) represents the current value of the state variable, while the second element (setRecipe) is a function that allows you to update the state value"
https://skypaintinganddecorating.com.au/about-us/
Published: 2023-07-11 01:39:04

[](https://skypaintinganddecorating.com.au/about-us/)
**Commercial painters in Chatswood-House painters in Chatswood**
In the city of NSW, house painters and painting services are abundant. However, finding a team that truly provides professional service and a quality finish can be a challenge. At Sky Painting and Decorating, we prid
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j0a3zm305a8q8sg2hzv6.jpg)e ourselves on being that team.
We work with top-notch interior designers, real estate agents, decorators, and homeowners who appreciate the beauty and precision we bring to every project. Contact us at- **0418 989 792.**
Pressure washing in castle hills-Commercial painters in Chatswood
Published: 2023-07-11 01:38:01

[](https://skypaintinganddecorating.com.au/)
**Pressure washing in castle hills-Commercial painters in Chatswood**
At **Sky Painting and Decorating**, we approach every painting project with a commitment to delivering astonishing results to every surface we touch. With our vast knowledge and expertise, we strive to provide our customers with the best painting experience possible. Whether it's a residential or commercial project, our team of talented and experienced painters has an eye for perfection. Contact us at- 0418 989 792.
Reading and Writing Files In Node.Js Using Modules.
Tags: webdev, javascript, programming, node
Published: 2023-07-11 01:21:30

**PREREQUISITE: Node.js, Javascript basics**

 **M**odules in node.JS are used to carry out various functions because they contain various functionalities that can be used to carry out various functions.The "fs"-file system module contains the functionality needed to complete the above task.


## Reading Files
 

<u>STEP 1</u>

The first step which applies for the both reading and writing the files is to require the module “fs” module that contains the functionality necessary, then assigning it to a variable as seen below.



![Assignig the module to a variable](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9gm722x1a1yb490y9c0i.png)


<u>STEP 2</u>
The variable is then used to access the readFileSync method. readFileSync takes two parameters, the **path** to the content to be read and "encoding(utf-8)".

`readFileSync("path","encoding")`

The string content of the path can then be seen through the console.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/03kni4doj08mz3s7xg34.png)






**WRITING FILES**

**STEP 1**

The first step which applies for the both reading and writing the files is to require the module “fs” module that contains the functionality necessary, then assigning it to a variable.


STEP 2: The variable is then accessed in order to call the writeFileSync function, which has two parameters: the path to the file we're writing to, and the string that will be written there.

`writeFileSync(path,”string”).`


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

`const readWrite = require("fs");`

`const write = readWrite.writeFileSync("path", "string to be written");`



This process  doesn't need to be saved to a variable because it only writes the given string to the specified directory and doesn't return anything. _writeFileSync()_ creates the required file even if the path specified hasn't been created yet.
Starting a new road
Tags: webdev, beginners, career
Published: 2023-07-11 00:12:33

### The story bits:

After 16 years in sales I left the profession. I'd learned a ton about communication, teamwork, problem-solving especially with solutions-focused processes, and learning quickly. 
I decided to use those skills to pursue more passionate interests. That's where web development comes in. 

From a young age I loved playing video games, then as a teen I learned how to make websites with simple html, and later css, followed by javascript. Then I went into the sales profession seeking the highest pay for the lowest barrier of entry. I certainly found what I sought. However, I never completely gave up on websites. A couple businesses I started began as website ideas. Over time with every business becoming a technology company, I slowly learned this and that. 

Then after 16+ years as a sales professional in real estate and franchise investments, I began learning fast the ways of programming in Python, Javascript in depth, NodeJS, and learning libraries like React and other tools such as Bootstrap and Tailwind. Now I'm ready for a career move after 3 years of study and practice. 

---

### The step-by-step bits:

My career change has followed this intentional process: 
- make a list of criteria important to me in my next career (ex. personal passion, indoors, work-life balance for my family, etc)
- identify possible jobs/roles fitting most of the criteria
- identify skills to develop to meet minimum viable skillset for getting hired
- learn the skills
- build portfolio and profiles (ex. blog posts on dev.to, profile build-out on GitHub, etc)
- get job....
....i'm building my github and working on getting a job. 

I hope this helps you if you're considering or at some stage in changing careers. Cheers!
How to Hire an AI Developer in 2023
Tags: managedit, nearshoreoutsourcing, recruitinginsights, howtohire
Published: 2024-06-28 15:46:08

---
title: How to Hire an AI Developer in 2023
published: true
date: 2023-07-11 00:06:37 UTC
tags: ManagedIT,NearshoreOutsourcing,RecruitingInsights,Howtohire
canonical_url: 
---

If you're looking to hire an AI developer for your team or company but aren't sure where to begin, our guide is here to help! In this guide we'll cover everything you need to know about AI; from the job market to the developer skills to look out for so that you can find the best AI candidates for your organization.

The post [How to Hire an AI Developer in 2023](https://blog.nextideatech.com/how-to-hire-an-ai-developer-in-2023/) appeared first on [Next Idea Tech Blog](https://blog.nextideatech.com).
Snowpark Python: Extract PDF Text Use Case
Tags: snowpark, data, technology, snowflake
Published: 2023-08-31 17:46:49

---
title: Snowpark Python: Extract PDF Text Use Case
published: true
date: 2023-07-11 00:00:12 UTC
tags: snowpark,data,technology,snowflake
canonical_url: 
---

[![](https://cdn-images-1.medium.com/max/2600/0*XnPiogfrKALHVvYD)](https://blog.infostrux.com/snowpark-python-extract-pdf-text-use-case-9568ee77d20c?source=rss-fab031e08990------2)

Using Newly Public Preview Feature that allows Python to Read Files and Building a New Snowflake Lab

[Continue reading on Infostrux Engineering Blog »](https://blog.infostrux.com/snowpark-python-extract-pdf-text-use-case-9568ee77d20c?source=rss-fab031e08990------2)
We're a part of AI Infrastructure Alliance!
Tags: ai, education, opensource
Published: 2023-07-11 16:26:30

---
title: We're a part of AI Infrastructure Alliance!
published: true
date: 2023-07-11 00:00:00 UTC
tags: ai, education, opensource
canonical_url: https://blog.brainstory.ai/aiia/
---

# What is AI Infrastructure Alliance?

[AI Infrastructure Alliance (AIIA)](https://ai-infrastructure.org/) is a non-profit organization that brings together the best AI/ML infrastructure companies to define the Canonical Stack of machine learning software. AIIA favors open sourced, open core software since all major tooling driving AI/ML revolution has been open source (think PyTorch and Tensorflow). AIIA publishes high quality technical content, hosts events, and defines practical AI ethics frameworks for its members. Its members include the founder of Pachyderm, VP of AI/ML at Bank of America, and Chief Product Officer of Hewlett Packard Enterprise.

## Why does Contenda care about it?

1. Open Source 
We believe building openly goes hand in hand with building ethically, especially regarding AI/ML. As a company, we’ve open sourced our prompts because they are the primary interface with LLM’s. We look forward to continually being transparent about how we use AI.

2. Technical Education 
Accessible, high quality technical education is how we uplevel each other. The fact that this content is often free makes it easier for people around the world to learn, increasing the global diversity of AI knowledge.

3. AI Ethics 
We have a responsibility to future people to create technologies that do not cause harm. This needs to happen through organizations like AIIA, in order for collective action to be effective.

## Where can I learn more?

Keep an eye out for us! We’ll be featured on:

- [YouTube Channel](https://www.youtube.com/@ai-infrastructure-alliance)
- [Twitter](https://twitter.com/AiInfra)
- [LinkedIn](https://www.linkedin.com/company/ai-infrastructure-alliance/)
How does the function toFloatList works
Tags: apacheage, intern, postgres
Published: 2023-07-10 23:51:04

## Introduction

In this short blog, we will dive into the details of the **toFloatList()** function in **Apache AGE**. The **toFloatList()** function is a powerful feature in Apache AGE that allows users to convert a list of values into a list of floating-point numbers. This function is particularly useful when dealing with datasets that contain numerical values in string format and need to be transformed into a format suitable for numerical computations.

## toFloatList()

The **toFloatList()** function handles the conversion process effectively, even when dealing with diverse input values. If all the values in the input list can be successfully converted to floating-point numbers, the returned list will contain the converted values accordingly. However, if any of the input values cannot be converted, the corresponding element in the returned list will be null.

## Conclusion

This feature enhances the flexibility and usability of Apache AGE, enabling users to seamlessly process and analyze data with ease. By leveraging the **toFloatList()** function, users can overcome the challenge of converting diverse data types and efficiently work with numerical values for a wide range of data-driven tasks. Currently, the **toFloatList()** function has an ongoing Pull Request in Apache AGE, awaiting to be **merged**.

You can reach it at: [Added the toFloatList() function](https://github.com/apache/age/pull/1016/)
What Type of Talent can a Nearshore Company Deliver?
Tags: howtohire, nearshoreoutsourcing, latinamerica
Published: 2024-06-28 15:44:35

---
title: What Type of Talent can a Nearshore Company Deliver?
published: true
date: 2023-07-10 23:48:05 UTC
tags: HowtoHire,NearshoreOutsourcing,LatinAmerica,nearshoreoutsourcing
canonical_url: 
---

As an entrepreneur, you’ll come to realize that certain business processes are better handled by someone else. There’s nothing wrong with admitting that and fortunately, there are numerous third parties out there that can assist you with your needs. Giving these responsibilities to a nearshoring company is a viable approach to getting the help you need.

The post [What Type of Talent can a Nearshore Company Deliver?](https://blog.nextideatech.com/what-type-of-talent-can-a-nearshore-company-deliver/) appeared first on [Next Idea Tech Blog](https://blog.nextideatech.com).
Understanding AWS SAM(Serverless Application Model)
Tags: aws, devops, serverless, beginners
Published: 2023-07-10 23:37:26

The AWS Serverless Application Model (SAM) is an open-source framework designed to facilitate the development of serverless applications. It offers a concise syntax for expressing functions, APIs, databases, and event source mappings. By using just a few lines of code for each resource, you can define your desired application and represent it using YAML. During the deployment process, SAM transforms and expands the SAM syntax into AWS CloudFormation syntax, enabling you to build serverless applications more efficiently.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y5atraqvhi7f387szf3j.jpg)

To begin building SAM-based applications, you can utilize the AWS SAM CLI. This CLI provides an environment similar to Lambda, allowing you to locally build, test, and debug applications defined using SAM templates or the AWS Cloud Development Kit (CDK). Additionally, the SAM CLI offers the capability to deploy your applications to AWS. It also supports the creation of secure continuous integration and deployment (CI/CD) pipelines that adhere to best practices and integrate seamlessly with both AWS' native tools and third-party CI/CD systems.

**Benefits of SAM:**

**Single Deployment Configuration**
Use SAM to organize related components, share configuration such as memory and timeouts between resources, and deploy all related resources together as a single, versioned entity.

**Built on AWS CloudFormation**
AWS SAM is an extension of AWS CloudFormation, so you get the reliable deployment capabilities of CloudFormation. You can also define resources using CloudFormation in your SAM template and use the full suite of resources, intrinsic functions, and other template features that are available in AWS CloudFormation.

**Local Testing and Debugging**
Use SAM CLI to step-through and debug your code. It provides a Lambda-like execution environment locally and helps you catch issues upfront. 

**Built-In Best Practices**
Deploy your infrastructure as config to leverage best practices such as code reviews. Enable gradual deployments through AWS CodeDeploy and tracing using AWS X-Ray with just a few lines of SAM config.

**Integration with Development Tools**
SAM integrates with a suite of AWS serverless tools. Find new applications in the AWS Serverless Application Repository, use AWS Cloud9 IDE to author, test, and debug SAM-based serverless applications, and AWS CodeBuild, AWS CodeDeploy, and AWS CodePipeline to build a deployment pipeline. To start with a project structure, code repository, and CI/CD pipeline configured for you, try AWS CodeStar.

if you find this piece of article helpful, don't forget to drop your reactions and feedback
thanks.
Day 779 : Off the Rip
Tags: hiphop, code, coding, lifelongdev
Published: 2023-07-10 23:01:01

_liner notes_:
- Saturday : So, I found out that the wall adapter for the portable battery I use in my van to power stuff went bad. Placed an order on line for 2 more just in case. Will hopefully arrive soon. I have another set of solar panels and they seem to be doing the job keeping the battery charged pretty well. Thought I could maybe pick up the part at a local store. Nope. Did some more errands and made it in time for the station to do the show with plenty of time. Had a great time doing the show. The recording of this week's show is at https://kNOwBETTERHIPHOP.com

![Radio show episode image of an AI generated image of a building similar to the White House with cocaine coming out the front onto the lawn with the words July 8th 2023 Thread(t)s](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lg1bnqhh5m7dr3v7baic.jpg)

- Sunday : Had a pretty productive Sunday. Did my https://untilit.works sessions. Packed up some vinyl that I'll be shipping. Did a little work on my side project. Not bad. Also watched the new "Bleach" episode.

- Professional : Got some more clarity to some questions I had about a thing I'm working on, but more questions on other things. haha It's kind of like herding cats. Making progress... slowly. Helped out with a couple of community questions. Had a couple of meetings. Good way to start the week.

- Personal : Going to work on adding images from some data to my projects HTML canvas. Once I get that done, I think I'm pretty good with everything needed to create a session. Then I just need to save it to GitHub and then add the ability to edit a session and re-save it. Then I'll work on the front-end pulling in the data to display.

![Brown mountain-scape with so cloud cover in Mt. Bromo, Indonesia as sunset](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9d5c6092grw3auesbjfe.jpg)

Off the rip, I've been kind out taking it easy after work. Not really as far as I am normally around this time. Kind of tired. It's been rainy. Going to get back on it and go through tracks for the radio show and work on my side project.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube 0R-QvaYQXW8 %}
JavaScript (História)
Published: 2023-07-10 23:00:19

JavaScript será o nosso próximo assunto, vou trazer uma introdução aqui e contar um pouco sobre ele (fazendo algumas pesquisas) e depois iremos abordando assuntos específicos ao passar dos dias.

JavaScript foi criado por Brendan Eich na década de 90, enquanto ele trabalhava na Netscape Communications Corporation. A linguagem foi originalmente chamada de LiveScript, mas foi renomeada para JavaScript para capitalizar a popularidade da linguagem Java na época. A intenção era tornar o JavaScript uma linguagem de programação para desenvolvimento web.

JavaScript foi projetado como uma linguagem de script leve e interpretada, inicialmente para uso no navegador Netscape Navigator. No entanto, com o tempo, sua popularidade cresceu rapidamente e se tornou uma das principais linguagens de programação para o desenvolvimento web.

O JavaScript é usado principalmente para adicionar interatividade e dinamismo a páginas da web. Com ele, é possível manipular o conteúdo HTML, estilizar páginas com CSS, responder a eventos do usuário e interagir com servidores para buscar e enviar dados. Ele permite que os desenvolvedores criem aplicações web completas, desde pequenos scripts até aplicações web complexas.

Além disso, o JavaScript também é usado em outros contextos fora dos navegadores. Com a introdução do Node.js, que é um ambiente de execução JavaScript do lado do servidor, o JavaScript começou a ser utilizado para desenvolvimento de aplicativos em tempo real, APIs, servidores web e até mesmo para construção de aplicativos desktop e mobile.

Com o passar dos anos, o JavaScript evoluiu significativamente, com a introdução de novos recursos e melhorias na linguagem. Hoje em dia, frameworks e bibliotecas populares como React, Angular e Vue.js foram criados em JavaScript, facilitando o desenvolvimento de aplicações web modernas e escaláveis.

Em resumo, JavaScript é uma linguagem de programação versátil que desempenha um papel fundamental no desenvolvimento web, permitindo a criação de sites interativos, aplicações web e muito mais. Sua popularidade e uso generalizado o tornaram uma habilidade essencial para os desenvolvedores web.
Postman Fundamentals
Tags: postman, api, testing, development
Published: 2023-07-10 22:41:46

Hi DEV!

Did you know that 1.29 billion requests were created on Postman in the past year. Thats a lot of requests.

I remember using Postman when it was just as small developer tools company and now enterprises and API-first organizations are adopting Postman to build and test APIs.

So I wrote a blog post about the fundamentals on documenting and testing with Postman.

Check it out here! https://konfigthis.com/blog/postman-fundamentals