teleren/devto huggingface dataset:
JS - FAQ
Tags: javascript, webdev, web, programming
Published: 2023-06-26 12:17:06

## What is javascript.?
JavaScript is scripting language that is usually using to dynamically updating the content.

## Explain about the history of JavaScript.
LiveScript(Mocha) is created by Brendan Eich in 10 days, which is later renamed to JavaScript.

## Whatis ECMA Script.?
ECMA specification is defining the syntax to how it should work, ensuring consistnce of the script

## What are the methods of creating valid identifiers in JS.?
Valid Methods
`var firstName;
var _privateVariable;
var $element;
var counter;
var camelCaseVariable;
`

Invalid methods
`var 123abc; // Cannot start with a digit
var my-variable; // Hyphens are not allowed
var if; // Reserved word as an identifier
var first name; // Spaces are not allowed
`
 

## How JS Works

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

##  What is bigint.?
The numbers greater than 2^53 - 1 

##  What is the difference between null and undefined?
Undefined mean variable declared, but value is not assigned. Null mean there is no value in it(Empty value). 

## What is a DOM.? Explain.
Document Object Modal. Programming interface for web document. We can use the JS to manupulate this.


## Difference of the For In and For Of
`{
a : 1,
b : 2
}`

For in will return the attributes - {a, b}
For of will return the actual values - {1, 2}


## What are literals.? and what is a literal base object.?

## What are the two types of functions in JS. Explain with examples.

1. Named functions - `function name(){}`
2. Unnamed(Anonymous) functions - `()=>{}`

## What is a event object
Event is object that is keep track of the events that is happening in the web page, it contains target...etc.For each event JS is creating E object which is can be passed to a handler function

## What is jQuery.?
jQuery is a third party library that make an abstraction layer on the js. It makes write common js function easier. Fast and simple

## What are the benefits of using jQuery?
Simplified DOM Manipulation, Increased productivity, Documentation and Community Support

## What are the traversing methods that you have used in jQuery and when do we need them.?

`.find()`: This method selects all descendant elements that match a specified selector. 
`.parent()`: This method selects the direct parent element of the selected element(s). 
`.children()`: This method selects all direct child elements of the selected element(s).
`.siblings()`: This method selects all sibling elements of the selected element(s).
`.prev()`: This method selects the immediately preceding sibling of the selected element(s).
`.next()`: This method selects the immediately following sibling of the selected element(s).
`.closest()`: This method selects the closest ancestor element that matches a specified selector. 

## Why JS is introduced to have first class functions.?
In JavaScript, functions are first-class objects, because they can have properties and methods just like any other object. What distinguishes them from other objects is that functions can be called. In brief, they are Function objects.
Cultura da Empresa Alinhada com Seu Momento Profissional
Published: 2023-06-26 11:51:53

A cultura da empresa desempenha um papel crucial na forma como uma organização opera, e pode ter um grande impacto na satisfação e no sucesso dos funcionários. Para aqueles em um determinado momento de sua carreira profissional, encontrar uma empresa com uma cultura que se alinhe com suas necessidades e objetivos pode ser essencial.

## 1. Entendendo a Cultura da Empresa

A cultura de uma empresa é a soma de suas normas, valores, comportamentos e interações. Pode ser percebida na forma como as pessoas trabalham, se comunicam e colaboram, bem como nas políticas e práticas da empresa.

Como tal, é importante pesquisar e entender a cultura de uma empresa ao considerar um novo emprego ou mudança de carreira. Isso pode envolver a leitura de avaliações de funcionários, a conversa com funcionários atuais ou antigos, e a observação da interação e comunicação durante as entrevistas.

## 2. Alinhando a Cultura da Empresa com Seu Momento Profissional

Dependendo de onde você se encontra em sua carreira, diferentes aspectos da cultura da empresa podem ser mais ou menos importantes. Por exemplo:

No início de sua carreira, você pode valorizar uma cultura que enfatize o aprendizado e o desenvolvimento, ofereça mentorias e oportunidades de crescimento, e permita cometer erros e aprender com eles.

Em meio de carreira, você pode procurar uma cultura que valorize o equilíbrio entre trabalho e vida pessoal, ofereça oportunidades para liderança e tomada de decisão, e apóie a estabilidade e segurança no emprego.

No final da carreira, você pode apreciar uma cultura que reconheça e recompense a experiência e a sabedoria, apoie a transição para funções menos exigentes ou de meio período, e valorize a transferência de conhecimento e mentorias.

## 3. Encontrando a Melhor Correspondência

A busca pela empresa certa - uma cuja cultura corresponda ao seu momento profissional - pode levar tempo e requerer uma avaliação cuidadosa. No entanto, encontrar esse alinhamento pode resultar em maior satisfação no trabalho, melhor desempenho e um maior sentido de pertencimento e engajamento.

Lembre-se, nenhuma cultura empresarial é perfeita, e o que funciona para uma pessoa pode não funcionar para outra. O importante é encontrar uma cultura que se alinhe com suas necessidades e objetivos profissionais, e que lhe permita prosperar e crescer em sua carreira.
Raku Blog Posts 2023.26
Tags: programming, rakulang, summary
Published: 2023-06-26 11:36:21

- [Raku is pretty damn Cool](https://felix-knorr.net/posts/2023-06-24-raku-is-awesome.html)

*Felix Knorr* surprises the Raku community with a very nice blog post about the Raku Programming Language, describing it as a scripting language that mixes Bash and Python.

- [Metamodel: Archetypes](https://vrurg.github.io/arfb-publication/08-metamodel-archetypes/)

Raku core member *Vadim Belman* updated their description of the Raku Programming Language (gradual) type system, and its underlying meta-model.

- [dBASE: Parsing a Binary File Format With Raku](https://dev.to/uzluisf/dbase-parsing-a-binary-file-format-with-raku-2fm6)

*Luis F. Uceta* kicks off their first blog post on dev.to with their experience getting data out of an old dBASE file, with some background information about the differences between text and data for people that are not that deep into that (yet).

- [Rakudo Weekly News 2023.26](https://rakudoweekly.blog/2023/06/26/2023-26-pretty-damn-cool/)

with all recent developments around Rakudo, an implementation of the Raku Programming Language.
Creating a Gem
Tags: ruby, rails, gems
Published: 2023-06-26 11:33:08

### Creating a Gem

After compiling and testing our `C Extension` for `Ruby`, we can now create a Gem!
First, we should create some folders to organize the project.

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

Second, create the file `lib/foo.rb`:

```ruby
require 'foo/foo'
```

(You can create other classes inside this file if you desire.)

And finally, create the file `foo.gemspec` inside the root of the project:

```ruby
Gem::Specification.new "foo", "0.0.0" do |s|
  s.summary     = "A SUMMARY"
  s.description = "A DESCRIPTION"
  s.authors     = ["author"]
  s.email       = "email@example.com"
  s.files       = %w[lib/foo.rb lib/foo/foo.so]
  s.homepage    = "http://anylink.com"
  s.license     = "MIT"
  s.extensions  = %w[ext/foo/extconf.rb]
end
```

Now you can run on the root project:

```sh
gem build foo.gemspec
gem install foo
```

To test the gem you can open the `irb` and past this code:

```ruby
require 'foo'

Greeting.hello
# hello!
```

:tada: Yeahhhh!!! We have a Gem!!! :tada:
How to improve the hiring process with DX
Tags: devex, dx, technicalinterview
Published: 2023-06-26 11:30:00


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

Hey, guys! Are you all right?

In my first article, I talked about what Developer Experience (DX) is and why it is important for organizations that want to develop quality software with agility and satisfaction.
I was a little unsure where to start after that, and I remembered the story of Alice in Wonderland, when the king said, “Start at the beginning”.
And what is the beginning of the relationship between a person involved with the development and the company where he works? The hiring processes! So today, I want to share with you some ways to apply DX principles to improve your hiring process.
We know that hiring good developers is not an easy task. In addition to evaluating the candidates’ technical skills, we also need to check if they fit the company’s culture, if they have excellent communication skills, and if they are aligned with the project’s objectives and with the company’s culture. But how to do this efficiently and attractively?
One way is to use DX techniques to create a hiring process that is simple, intuitive, and fun for candidates. Thus, you can show that your company cares about the experience of developers and that it offers a favorable environment for their professional growth.
Some tips for creating a hiring process with DX are:

- Use modern and popular tools among developers like Draw.io, Slack, Google Meeting, Discord, Google Jamboard etc.
- Create challenges that are practical and relevant to the project, but not too long or complex.
- Use whiteboards to discuss possible architectural solutions but make it clear that the person isn’t solving a problem for free for you. 😉
- Avoid asking test questions, for example: Explain OOP concepts to me. Here at Sinqia we use the S.T.A.R.
- Give constructive and quick feedback to candidates, showing the strengths and weaknesses of your solution.
- Provide opportunities for candidates to interact with the team and learn more about the company’s product and culture.
- Be transparent about the process steps, evaluation criteria and job expectations.
- Put your champions, specialists, or whatever their name is, to participate in this process of assembling the technical interview and the interview itself. If you need to give them a face-lift so they can be interviewers, DO it. Technical people LOVE talking to technical people!

By following these tips, you can create a hiring process that is more effective and enjoyable for both you and candidates. In addition, you can increase the chances of finding talented and engaged developers who will add value to your project.
Hope you enjoyed this article! If you have any questions or suggestions about DX or the hiring process, please leave a comment below.

Thank you for your attention and see you later! 

[Armando Guimarães Junior](https://www.linkedin.com/in/armandojr/) 🥑
Build No-Code Platform with Next.js Template
Tags: nextjs, opensource, webdev, nocode
Published: 2023-06-26 11:27:37

I am presenting a new template for Next.js that enables the creation of a no-code platform. This template is essentially a web application that empowers users to generate REST endpoints without the need for coding. You have the flexibility to customize and adapt this template according to your specific requirements. Liberating your business from relying on proprietary platforms, you can even add any missing features yourself.

![NoCode Next.js Platform Template](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cyap21thdov7hb5jhon9.gif)

The template utilizes MongoDB to store designed workflows and leverages Tailwindcss to simplify the process of creating the web app's interface.

⏩ To initiate your project, you can clone this repository: https://github.com/nocode-js/nocode-platform-boilerplate (Don't forget to add ⭐)

Even if you're not a developer, you can deploy the template on a cloud provider such as Vercel for testing purposes. Refer to the "Deployment" section in the readme file for instructions.

The template is made by [NoCode JS](https://nocode-js.com/).
System administration, website administration and content administration
Published: 2023-06-26 11:10:44

Website administrators, system administrators, and content administrators are all important roles in managing a website, but they have different areas of responsibility.

Website administrators are responsible for managing the technical aspects of a website, such as ensuring the website is accessible, updating software and security patches, managing server resources, and troubleshooting technical issues. They may also be responsible for managing user accounts and permissions on the website.

System administrators are responsible for managing the overall IT infrastructure of an organization, which includes servers, networks, and other hardware and software systems. Their duties may include configuring and maintaining servers, managing network security, ensuring data backups are performed regularly, and troubleshooting any technical issues that arise.

Content administrators, on the other hand, are responsible for managing the content on a website. This may include creating and editing text, images, and videos, managing user-generated content, ensuring that content is up-to-date and accurate, and optimizing content for search engines. Content administrators may also be responsible for developing content strategies and managing content calendars.

In summary, website administrators focus on the technical aspects of a website, system administrators manage the overall IT infrastructure, and content administrators manage the content on a website. In some cases, there may be overlap between these roles, and some individuals may perform multiple roles.
IEEE ICRA 2024 Robotic Conference Deadline and Venue
Tags: ieee, robotics, techtalks
Published: 2023-06-26 10:55:40

Yokohama(Country: Japan) to Host 2024 IEEE International Conference on Robotics and Automation between 13 May to 18 May 2024.

Yokohama, Japan’s second-largest city, has been selected as the host for the prestigious 2024 IEEE International Conference on Robotics and Automation (IEEE ICRA 2024).
Click on link https://techbiztips.com/icra-2024/
story of my life
Published: 2023-06-26 10:54:33

my name is MASENGESHO CADEAU
I was born on April 05,1999.
and ever since then ,I was
raised on this part of HUYE
and now I begin my story
It all started when my parents 
Met in HUYE district 
Around the year 1999 and feel
in  Love with each other and the rest 
was history but sadly ,after few months of marriage
my Dad had to go abroad to seek better
opportunities for him and my mom and for AFAMILY planning
MY Dad moved to HUYE around the year 1999 and worked at tea CAMPANY.
My dad wanted him and  my mom to be together.
 after 3years on FEBRUARY 20,2002 an angel (ME)was born 
on JANUARY 14,2007
I started  primary school in G.s.paysannat.L so on the year 2007 we had unexpected news
my mom was pregnant with a 3rd child
during the pregnant my parents had a motor accident but my parents were not died 
on FEBRUARY 10,2010 OUR BABY Sister(miracle)was born
after 3year I transferred to an other school in ordinary level in N.S.S(NYAMYUMBA SECONDARY SCHOOL) in that school IHAD
Anew friend that turned into my family
but then after 3 wonderful years
it was time to leave
after finishing my ordinary level 
in N.S.S(NYAMYUMBA SECONDARY SCHOOL)
I decided to study in G.S.MARRIE MERCI KIBEHO 
In MCE(Mathematics, computer science and Economics)
because I wished to have a good marks on my diploma
in order to have opportunities to continue my lessons 
In university
but at the end of 1st term in S6 I met with sickness  of 5months 
that  led me to have bad marks on my diploma even if I had 
A few marks  now I gracias Lord  Even if I did got to my dreams 
still now I am learning coding in MAHAMA coding school 
as my university.
📣 Exciting Update for @drantaz/f-log! 🚀
Tags: development, node, debugging, logging
Published: 2023-06-26 10:54:18

Since my last post, I'm thrilled to share that @drantaz/f-log has reached an incredible milestone of 850+ downloads! 🎉 But that's not all — I've been hard at work adding new features and enhancements to make logging even more powerful and customizable. Let me give you a quick rundown:

**1️⃣ Override Default Configurations**: Now you have the flexibility to override the default configurations of @drantaz/f-log. Customize where you want to save your logs, change the filename, and even modify the log file extension. It's all in your hands!

**2️⃣ Enhanced Status Logs**: With the latest version, you can now define your own status log themes. Personalize the colors and formatting to match your preferences. Plus, I've introduced new statuses like "verbose," "http," "debug," and "silly" for even more granular logging.

**3️⃣ Flexible Log Formats**: Choose the format that suits you best. Whether you prefer JSON or plain text, @drantaz/f-log lets you specify how your logs should be saved. It's all about providing the options you need.

**4️⃣ Turn Off Console Logs**: Want to keep your logs solely in the file? No problem! Now you can easily disable console logs and focus solely on capturing and managing your logs in the designated file.

I'm incredibly proud of the progress we've made, and I'm grateful to the amazing community that has supported and contributed to @drantaz/f-log's growth. 🙌

If you haven't checked it out yet, give it a try and see how @drantaz/f-log simplifies file logging in your Node.js applications. Let's level up your debugging and monitoring game!

[https://www.npmjs.com/package/@drantaz/f-log](https://www.npmjs.com/package/@drantaz/f-log)
A funny or embarrassing moment
Published: 2023-06-26 10:53:59

I am Leilla Carmene, my embarrassing moment, I remember when I was studying at an ordinary level  my friend brought popcorn into class and it was prohibited to eat while studying,
So our teacher came and asked," Why is smelling like this in this classroom ?" Everyone was quiet and then the teacher decided to search every desk, then we were very terrified so we decided to eat all of it so that we won't get caught and at the same time teacher was already to my desk and as we know popcorn smells too much so I got caught and called the girl who likes eating anywhere.
Angular, Tailwind CSS, and SCSS Boilerplate.
Tags: angular, tailwindcss, scss, boilerplate
Published: 2023-06-26 10:52:04

I have to write a lot of CSS as a frontend engineer. As a result, I routinely employ Tailwind CSS and SCSS in my angular project. I have to install Angular with SCSS and then Tailwind CSS every time I begin a new project. then setting it up is my common responsibility. So I created a simple boilerplate.  

Thrilled to introduce open-source Angular, Tailwind CSS, and SCSS boilerplate. Designed to streamline frontend development process and enhance productivity. It can be extend easily. 

Anyone who wants to utilize may do so. Please let me know if you have any suggestions for improvements. I'll make an effort to do that and you'll be appreciated.

**GitHub**: https://github.com/akib1997/angular-tailwindcss-scss-boilerplate

Happy coding!
a framework scaffolding tool for golang
Tags: dandelion, microservices
Published: 2023-06-26 10:40:58

# Introduction

[go-dandelion](https://github.com/gly-hub/go-dandelion) is a framework scaffolding tool that integrates multiple popular components
and technologies, including rpcx, fasthttp, gorm, redigo, swagger, and opentracing, among
others. Its goal is to provide developers with a solution for quickly building microservice
projects, offering rich functionality and scalability.

## go-dandelion-cli Usage

1. Installation
```
go get github.com/gly-hub/go-dandelion/go-dandelion-cli@latest
go install github.com/gly-hub/go-dandelion/go-dandelion-cli@latest
```

## 2. Create a Project
Create a local project directory and create the corresponding project based on the prompts.
```shell
# Create an application
go-dandelion-cli app -n go-admin-example
# Enter the application directory
cd go-admin-example
# Build the service
go-dandelion-cli build -n go-admin-example
Enter the type of service to create, enter a number (1 for rpc, 2 for http): 1
RPC service name: example-server
Initialize MySQL (y/n): y
Initialize Redis (y/n): y
Initialize logger (y/n): y
Initialize trace links (y/n): y
```

## 3. Run the Project
```shell
cd example-server
# Enter the service directory
go build -o example-server
# Run the service
./example-server server
```

{% embed https://github.com/gly-hub/go-dandelion %}
Getting started with Pact and Consumer Driven Contract Testing
Tags: testing, architecture, react, learning
Published: 2023-06-26 10:27:09

## Table of Contents
- [What is Pact?](#what-is-pact)
- [What are Consumer Driven Contracts?](#what-are-consumer-driven-contracts)
- [Setting Up](#setting-up)
- [Summary](#summary)

## What is Pact? 

Pact is a family of frameworks that support various languages and offer an easy way to set up Consumer Driven Contract Testing (more on this later). Their website can be found [here](https://docs.pact.io/), which provides comprehensive documentation if you prefer a different writing style.

## What are Consumer Driven Contracts?

Let's break it down:

### What's a consumer? 

A consumer is typically a web app or anything that consumes the provider, which can also be another API.

### What's a provider? 

Usually, a provider refers to an API.

### What's a contract (or pact)?

A contract is a file created by a test to expect a specific content type and body that should be sent to the consumer. For example, if you have a button on a form, clicking it may require passing a body and receiving a "complete" message in response.

### How does the testing theory work?

First, we create a test on the consumer side, which generates our contract file. This contract should then be passed to the team handling the provider.

Manually sending contracts to the provider team would be a pain, but that's where a Pact Broker like [PactFlow](https://pactflow.io/?utm_source=ossdocs&utm_campaign=pact_broker) comes in. A Pact Broker easily integrates with your CI/CD system, and other teams can access contracts published on successful builds if desired.

With some CI/CD setup, you can ensure that providers must satisfy the contracts to deploy, eliminating the chance of broken builds for all consumers.

## Setting Up 

For setting up Pact, I recommend the following resources:

- [Pact Repo](https://github.com/pact-foundation/pact-js): This repo provides several helpful examples of writing Consumer Driven Contract testing.
- [React Pact Consumer Contract Example](https://github.com/paucls/pact-consumer-contract-react-example): React developers can check out this repository to learn how to get up and running.

## Summary 

In summary, Pact is a family of frameworks that enable Consumer Driven Contract Testing. The process involves creating contracts on the consumer side and somehow passing them to the provider for validation. By using Pact, you can ensure reliable and smooth interactions between consumers and providers.

Feel free to reach out if you have any questions or thoughts. Happy coding!
An Important Lesson I learned
Published: 2023-06-26 10:21:59

I studied Computer application in my senior secondary school, where I got a chance of learning the lessons called Video operating and editing and video pre-production. when I started to study those subjects I started to understand that my dreams will be confirmed because my childhood dreams was to be producer.
 
all lessons learned in Computer application and multimedia I focused on this two lessons and I was never failed in that lesson  and also in all exams we did, always I got good marks in that two lessons more than other even in national examination I got Grade A.

And also that lessons help me to become good camera photographer and good special editor video until now I ma able to get the basic need in my life from photographic and editing 
that why they are my an important lessons.
Thank you!!