teleren/devto huggingface dataset:
C style cast vs C++ style cast in C++
Published: 2022-12-07 10:20:00


# conclusion

**USE C++ STYLE CAST**

```cpp
    ⭕️ static_cast<float>(_value) 
    ❌ (float)_value
```

# reasons

1. C++ style cast can be check in compile time.
2. C++ style cast is more spotted easily!


# reference
{% embed https://stackoverflow.com/questions/1609163/what-is-the-difference-between-static-cast-and-c-style-casting %}
ERP Software System Solution Provider Company Saudi Arabia
Tags: erp, erpsoftware, erpsystem, middleeast
Published: 2022-12-07 10:17:35

ebizframe ERP Software in Saudi Arabia has been implemented successfully across diverse industry verticals in the Middle East from Retail, FMCG, Sales and Distribution to Construction, Oil Rigs and Logistics. Worldwide, ebizframe ERP is being used by over 1,000 companies across 25 countries in 20+ diverse industry verticals. ebizframe, the latest version of ebizframe ERP is a Next Generation Enterprise Automation Solution which takes the Automation of an enterprise to a different level altogether. ebizframe ERP System in Saudi Arabia is highly configurable and can be rapidly implemented for almost any industry vertical. It is SMAC (Social, Media, Analytics and Cloud) enabled and ensures collaboration with vendors, contractors and sub-vendors using the power of social media. ebizframe is completely Device Agnostic and can be accessed anytime, anywhere and on any smart device by executives constantly on the move.

[Read More](https://www.ebizframe.com/saudi-arabia)
Stock management
Published: 2022-12-07 10:10:10

## **1. Introduction**

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

Stock management is an application that consists of selling items online to both suppliers and customers. In fact it is a kind of e-commerce site.

**Inspiration**
Personally, it is difficult and even boring to go to a supermarket to shop.
That's why I had the ingenious idea of creating an application that allows you to shop and be delivered at home without having to go anywhere.

**Team Member Roles**
Rodrigue Mbiaha - Frontend & Backend & Deployment
Dessalli Franck - Frontend,  Backend & Deployment
Nkwamo Yannick - Frontend & Backend

Rodrigue Mbiaha will be in charge of the deployment of the application
Dessalli Franck will be in charge of BackEnd
Nkwamo Yannick will be in charge of FrontEnd

## **2. Tell a story about yourself which relates to why you chose to work on this project**

As I said before, it's really difficult and even boring for us to go to a supermarket to do some shopping.
That's why we had the ingenious idea to create an application that allows you to shop and be delivered at home without having to go anywhere.

## **3. Summarize what you've accomplished with your project**
In this project, I have implemented the following features:

- Securing the application with the Spring Security module
- Creation of the database and associated tables
- Creation of the Crud
- Configurations of swagger for the documentation of the application
- Realization of the unit tests with JUnit

## **4. Write about your most difficult technical challenge in depth**

**Problem the Portfolio Project**
As a young developer, it is not easy for us to set up this project because we lack funds and grants. We don't have a specific client to whom we will propose this project, but we have chosen to set it up because of the demand in this sector.

**Portfolio Project will not solve**
Since we do not develop this project directly for a particular client, it is difficult for us to identify the fundamental and critical needs of users and clients. We hope to remedy this in the near future.
GBE Group Building Maintenance Services Australia!
Published: 2022-12-07 10:04:26

**[Building Facility Services](https://www.gbegroup.com.au/electrical-services/building-facility-maintenance/)** and Maintenance relates to a wide range of support exercises performed to keep a structure in a property operating condition, through a scheduled routine to ensure the prevention of failure and degradation. Business structures require upkeep in different aspects, such as electrical, lift maintenance and air conditioning. In large business structures, it is essential to have access to a maintenance group for your building or facility to ensure its adequate upkeep of the electrical and related service offerings. 

GBE Group provides full-time employees for complete site electrical maintenance and installation projects. Other building facility services include the compliance of electrical compliance testing and reporting, asset management support, periodic maintenance services and electrical infrastructure maintenance. 
The Building Maintenance Services at GBE Group have previously provided a service for clients such as Newcastle University, Western Suburbs Leagues Club, NSW Department of Primary Industries, and NSW Department of Public works. 

The Integrated Management System (IMS) is an asset maintenance management system that the Building Facility Services and Maintenance unit utilises for periodic maintenance scheduling. It’s a tool that suits individual client expectations and deadlines. The utilisation of this Building Maintenance service ensures a high level of quality, control and delivery of service. 

To ensure transparency between GBE Group Building Facility Maintenance and client, clients are provided access to the GBE system interface to check on job progress, OHS data and documentation, as well as to log jobs, send messages and obtain reports. 

If you want to be a part of our IMS system in the near future, then please contact the **[GBE Group](https://www.gbegroup.com.au/)** today!
How to reverse an array in JavaScript
Tags: javascript, beginners, programming
Published: 2022-12-07 06:31:31

In this article we will learn how to reverse an array in JavaScript.

There's more than one way to do this:
- Using `reverse()` method (Built In)
- Using for loop

There are two ways, the first is easy because there's a built-in function in JavaScript that does this, and the second is to create that function with ourselves.

It is better for you in the production stage to use what is in the language, but in the learning stage it is better to understand what is happening behind the scenes.

***

## Our Problem

Now what is our problem? The problem is that there's an array and we want to reverse it.

Imagine that there is a array like that:

```javascript
[1, 2, 3, 4, 5]
```

And we want to reverse it to be like this

```javascript
[5, 4, 3, 2, 1]
```

As we said earlier, we can solve the problem in two ways.

- Using `reverse()` method (Built In)
- Using for loop

***

## Using `reverse()` method (Built In)

We can use `reverse()` method to solve our problem.

**Example**

```javascript
// Array
let myArray = [1, 2, 3, 4, 5];

// Reverse the array
let reversedArr = myArray.reverse();

// Result:
console.log(reversedArr);
```

**Output**

```javascript
[ 5, 4, 3, 2, 1 ]
```

***

## Using for loop

Now, before writing the code, we must understand how we will solve this problem by for loop?

First, iteration using for iterate over every element in the array, right?

Well here it means that we **can start from the last element in the array to the first element** (the opposite)

Then we can add each element to a new array.

**Summarize the solution as follows:**

- Iterate over every element in our array
- Iteration will start from the last to the first
```
5, 4, 3, 2, 1
```
- Add each element to a new array.

**Full code**

```javascript
// Array
let myArray = [1, 2, 3, 4, 5];

// Create new array
let result = [];

// Iterate over every element in our array
for (let i = myArray.length - 1; i >= 0; i--) {
    // Add every element to new array
    result.push(myArray[i]);
}

// Result:
console.log(result);
```

**Output**

```
[ 5, 4, 3, 2, 1 ]
```

## Thank you for reading

Thank you for reading my blog, you can read more awesome articles from [my blog](https://mo-ibra.com/)
5 Addictive games to learn Web Development
Tags: webdev, beginners, javascript, css
Published: 2022-12-07 09:51:48

Are you tired of endlessly scrolling through social media or aimlessly playing games on your phone? Be honest, learning web development is hard for all of us. But why not try something productive and fun at the same time? 

In this article, we will explore five addictive games that will not only keep you entertained, but also help you learn the basics of web development. Enjoy!😊


## 1. [Code Combat](https://codecombat.com/)

After creating your account, you will need to choose a programming language. Some options are: Python, Javascript or Java.

While Code Combat focuses more on the backend side of things, it also teaches you HTML and CSS at later levels. 

Unlike some other items on this list, Code Combat is built on more of a freemium approach, where you need to pay to access some features.

> Note that you would need to pay to access some levels.
 

## 2. [Flexbox Froggy](http://flexboxfroggy.com/)

Unlike Code Combat, Flexbox Froggy is made to teach you about CSS Flexbox. A very advanced CSS concept. 

You can also check out [Flexbox Defence](http://www.flexboxdefense.com/) a very similar game, which also targets at your Flexbox knowledge. Both of these tools are completely free.

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



## 3. [CodinGame](https://www.codingame.com/start)

CodinGame is another game that is targeted at the backend side of things. You can complete levels with the choice of more than 25+ languages to choose from.

On the negative side, CodinGame is a little bit more complicated to use than some of the other options on this list. 

## 4. [Code Wars](https://www.codewars.com/)

Code Wars is unique to all the other options on this list. Unlike the others, Code Wars requires you to complete challenges(Called Kata) to increase your rank. 

You can clan up with other developers or go solo. A really interesting platform you can use to increase your logical thinking skills.

## 5. [Code Monkey](https://www.codemonkey.com/)

An interesting name for a pretty good programming game. Helps you learn Web Dev in a structured way.

On the negative side, you would also need to pay to access more advanced features. 

## Conclusion

I hope you enjoyed this guide!

>Note that this guide was first posted on my personal blog:  https://freetechnologyhelp.com/play-these-5-addictive-games-to-learn-web-development/
Answer.dev v0.5.0 is here!
Tags: programming, opensource, go, webdev
Published: 2022-12-07 09:51:41

Thanks to our contributors! Answer.dev 0.5.0 is here! Please check out our updates of new features, bug fixes, and performance improvements. 

### New Features
-   Feature: Revision compare and review[#114](https://github.com/answerdev/answer/issues/114)
-   Feature: Post logs record, such as revision and votes[#113](https://github.com/answerdev/answer/issues/113)
-   Feature: Privileges about edit content

### Bug Fixes
-   Fix: Footer link and site name error
-   Fix: Incorrect required field check[#98](https://github.com/answerdev/answer/issues/98)

### Performance Improvements
-   Fixed and improved RouteNode type error[#60](https://github.com/answerdev/answer/pull/60)
-   Improved the Github Action build stages

**Answer is still under very active development. Watch on [GitHub](https://github.com/answerdev/answer) to receive updates.**

---

Being highly scalable and modern, **Answer.dev is the best open-source Stack Overflow alternative**, with which you can efficiently build various Q&A communities, ranging from customer support to user communication. 

For more information on past and future versions of Answer.dev, please see: [https://github.com/answerdev/answer](https://github.com/answerdev/answer)
Embedded microservices and Luos: a love story
Tags: fairytale, embedded, luos
Published: 2022-12-07 09:15:15

Once upon a time, in the magical land of software development, there lived a beautiful and clever architect named Ada. Ada was known for her innovative designs and her ability to create complex systems that were both scalable and maintainable.

One day, Ada was tasked with building a new system for a client. The client wanted a system that was highly flexible and could be easily updated and extended over time. Ada knew that the best approach for this type of project was to use microservices.

Microservices are small, independent units of code that can be developed, tested, and deployed independently from each other. This makes them perfect for building flexible and scalable systems. Ada was confident that she could use microservices to create a system that would meet the client's needs.

But Ada soon realized that there was a problem. The client's system was going to be embedded in a physical device, and Ada needed a way to manage and control the microservices on the device. She needed a framework that would allow her to easily manage the microservices, communicate between them, and monitor their performance.

After much research and experimentation, Ada discovered [Luos](https://github.com/Luos-io/luos_engine). [Luos](https://github.com/Luos-io/luos_engine) is a framework for building and managing microservices on embedded devices. It provides a set of tools and libraries that make it easy to develop, deploy, and manage microservices on embedded systems. Ada was thrilled with [Luos](https://github.com/Luos-io/luos_engine) and knew that it was the perfect solution for her client's project.

With [Luos](https://github.com/Luos-io/luos_engine), Ada was able to create a system that was flexible, scalable, and maintainable. The client was delighted with the results and Ada's reputation as a software architect grew even greater.

And so, Ada and [Luos](https://github.com/Luos-io/luos_engine) lived happily ever after, creating beautiful and efficient systems for clients all over the land.

The end.
What are your best tips for getting a first developer job?
Tags: career, beginners, help, discuss
Published: 2022-12-07 09:07:16

Whether fresh out of college, as an autodidact or in a professional reconversion, getting your first job is tough. 

We all have heard that infuriating piece of feedback 

> "We like your profile but you don't have enough experience so we can't hire you so that you get the experience you need to get hired".

If you were a junior recently, how did you escape this trap?

If you have tips for juniors, what would they be?
December is finals first, Christmas later
Tags: opensource, computerscience, beginners
Published: 2022-12-07 09:06:59

## Hello everyone!

This post will be my personal goal setter for the upcoming weeks of my open-source contributions. 

## December ❄️

This month will be my fourth month in the world of open-source... It might sound like not much, but when you break it down to all the constant work that I have been doing every week, I can totally say that I am proud. When I started in September, I could not imagine that I will love it the way I do now. 

## 2023... not yet 😁

Before the year ends, my plan is to complete a few more pull requests and if possible, challenge myself on new levels. 

## Idea 💡

During [hacktoberfest month](https://dev.to/gulyapulya/my-first-hacktoberfest-14l8), I contributed to the [vscode-pets](https://github.com/tonybaloney/vscode-pets) which was a VSCode extension with cute pets to play with while coding. I really liked the general idea, plus, the founder and maintainer of the project was always helpful and quick to respond. It was such a nice contributing experience that I  continued making contributions even after the fest was done.

While working on some of the changes, I realized that I have never worked on the VSCode extension before although I am a fan who uses them regularly. So, I decided that it would be quite interesting to dig deeper into it and that in my next contributions I should definitely check out open-source extension repos. 

## Plan 📜

So, I started looking for the projects and remembered that we have one internal repo in my college that focuses on creating a VSCode extension for all programming students. We brainstormed once of what it should do and came up with some interesting ideas such as cheer-up messages, college-wide or course-wide formatters, connection to internal SSO, etc. 

I checked out the issues inside the repo and found one I might work on, but was not sure if it would be a good fit for this contribution as it might take me more than a few weeks. 

Therefore, I started to look for an alternative and my first instinct was to go back to the good-old vscode-pets. I saw some issues connected to the creation of new pets and it looked very fun to do. I use this extension now, so having a pet that I know I've helped creating would be amazing.  I checked out the top issues connected to this topic and found [this](https://github.com/tonybaloney/vscode-pets/issues/242). the guy said that he missed his favourite animal - chicken, and that he would really want to see it in the extension... My heart melted and I was hooked right away. 🥺 I have no previous knowledge in animations, so it will be personally very challenging, but I really want to help, so at least I've got the spirit. 

Thus, the plan is to complete one of these features by the end of the coming weeks and enjoy the process. 


P.s: wish me luck, as I have big final projects for each of my classes due this week as well. 🥲
Important Elements of Effective Ecommerce Hosting
Tags: webdev
Published: 2022-12-07 09:06:37

[Ecommerce website hosting](https://www.hostingseekers.com/category/web-hosting/ecommerce-hosting) is a specific service that hosting firms offer to businesses so they may sell their products and services online. The hosting firm is in charge of making sure the business it is supporting has access to everything. It has a web server, a website layout, and the ability to accept, process, and confirm sales. 

## An effective ecommerce hosting provider can provide specialised services and procedures such as:
 
- Templates for online goods catalogue  
- Online software for customized shopping application, also known as shopping carts  
- Capabilities for recording customer orders  
- Arrangement for safe purchases with credit card  
- Tools for keeping tabs on inventory 

## How e-commerce web hosting functions

A business that has opted to employ online shopping must get into some kind of agreement with the ecommerce hosting provider. You have the option of having a server dedicated to your website or sharing the hosting company's server space. This depends on your company's needs, visitor volume, sales volume, and a few other criteria.  

A very important task that the hosting providers accomplish for the company they are serving is to set up their online merchant account. This enables the companies to process credit card transactions through VISA, MasterCard and other establishments. You need to find a company that is fully adept in providing cost-effective solutions for your enterprise. Be it a small or medium-sized company with limited operations or large-scale company with revenues soaring in millions, the experienced and capable hosting providers can enable economic operations for them. 

Some of the online applications used for ecommerce include Zen Cart, cubecart, osCommerce, cPanel, MySQL, Perl and PHP scripting language. Make sure you spell out your requirements clearly to the hosting provider so that they suggest the ideal mix of these services for fulfilling your needs. You also need to find out about the free services that are available before hiring the services. Some of these can be:  

- WordPress Blogs 
- Photo albums
- Unlimited email accounts 
- Social networking


You can get a lot more of these free services but for efficient operations, you need to ensure that the provider gives you 99.99 % uptime, 24x7 technical support, and a money back guarantee if you find that the services are not up to the mark.

Having known the essentials of efficient [best ecommerce hosting](https://www.hostingseekers.com/category/web-hosting/ecommerce-hosting), you can now look to pick the most capable service provider. Make sure you do not miss out on anything important discussed here.
OpenAPI/ChatGPT as security tool
Tags: owasp, webdev, opensource, ai
Published: 2022-12-07 09:05:41

## Intro
Future is bright! Hopefully not from nuclear radiation. 

Recently the chatGPT emerged into the spotlight, everyone was trying to somehow use it. But what ChatGPT offers?

> We’ve trained a model called ChatGPT which interacts in a conversational way. The dialogue format makes it possible for ChatGPT to answer followup questions, admit its mistakes, challenge incorrect premises, and reject inappropriate requests.

There were some attempts to weaponize openai https://twitter.com/lordx64/status/1598023663328014336
But my question would be - could we use it for product security?

And answer is quick: yes, we can!

## Idea
Imagine having a simple problem, like in my previous post, Golang SQL Injection: https://go.dev/doc/database/sql-injection

Let's find out, what the ChatGPT thinks about these, two lines of code:

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

So we got interesting solution with information about security in your product. Think about it as OWASP Proactive Controls with OWASP Cheat Sheet, with Microsoft Paperclip communication skills. 

The only issue is that: proposed solution for vulnerable line of code from first question, would not fix the problem with SQL Injection. Instead of suggested solution, it should provide clear guidance, to construct db query, as in the second example.

## Outro
Yes, it's impressive and uncomfortable in the same time, especially in context of Terminator 2, that've recently watched.

But let's make one thing clear, these information was already here. Using simple google search:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fd9ae0oaip2zvu2qknfp.png). And these OWASP projects are available, for free, all the time.

## Links
https://en.wikipedia.org/wiki/Office_Assistant
https://owasp.org/www-project-proactive-controls/
https://cheatsheetseries.owasp.org/
https://chat.openai.com/chat

## Disclaimer
Background picture generated by the DALL-E.