teleren/devto huggingface dataset:
Download windows.h header file for Turbo-C
Tags: cpp, oop
Published: 2020-11-23 20:40:05

Back in the days, people have to make a choice of 32-bit or 64-bit in choosing computers. Even now when we go to any website to download any game or program, we are asked to choose between 32-bit or 64-bit. And the only difference in them is, computers with 64-bit processors are more capable since it can handle more data at once. A 64-bit processor is capable of accessing over four billion times the physical memory of a 32-bit processor.
After giving a small lecture on 64-bit, let’s jump to the topic of this post, which is using windows.h header file in Turbo-C.

**What does header files do?**

The head task of header files for Windows API is to enable us to create 32-bit and 64-bit applications. They include declarations for both Unicode and ANSI versions of the API. 

 

**<windows.h> header file**

Windows.h is a particular header file for C and C++ languages which contains (as I told before) declarations for all the functions in the Windows API, common macros, and all the data types. 
Windows API, also called WinAPI, is the core set of API(application programming interfaces) which is available in windows operating systems. For example, Win32 API, and that can be added to a project by including <windows.h> header file.

for more you can check this link given below

https://www.kodlogs.com/blog/2265/download-windows-h-header-file-for-turbo-c
std::transform in STL
Tags: cpp, oop
Published: 2020-11-23 20:28:16


We use numerous functions in C++ to simplify our process and some of them are built-in C++ itself. The one we are talking about is the transform present in STL. To use this function we have to include header file <algorithm>.

What is the use of this function?

Use of this function is kind of cool, it makes our process or tasks easy to perform in a specific way. This function is used to perform an operation on all elements. According to some people it is also defined as For example: adding two arrays or squares of each element of an array and store the result in another array.
Transform function works in two different modes.

#Unary operation mode

In unary operation mode, it applies the operation to the elements in the range and stores the value returned by each operation in the range that begins at the result.

 

##Binary operation mode

In binary operation mode uses each of the elements in the range as the first argument and the specific argument in the range that begins at the second argument. The value returned by each call is stored in the range that begins at the result.

 you can read more at

 %https://www.kodlogs.com/blog/2641/std-transform-in-stl%
Desestructuración en javascript
Tags: spanish, javascript, tutorial, beginners
Published: 2020-11-23 20:27:52

Para aquellos como yo, cuyo primer lenguage no tuvo la suerte (o desgracia) de ser javascript, la desestructuración puede llegar a tener tintes esotéricos. En esta entrada voy a tratar de explicar de una manera sencilla la desestructuración de objetos en javascript. La destructuración es un proceso que, a diferencia de lo que se cree, es bastante simple en realidad y, además, puede mejorar bastante la legibilidad del código. Si quieres empezar a aprender Javascript desde cero te recomiendo que leas [esta entrada](https://coffeebytes.dev/el-mejor-libro-para-aprender-javascript-moderno/), aquí recomiendo el que yo considero el mejor libro para empezar.

Desestructurar un objeto significaría convertir las propiedades de un objeto o lista de javascript en variables o constantes para poder acceder más fácilmente a ellas. Partamos de un objeto bastante sencillo. No, no voy a usar el clásico ejemplo de persona, libro o perro; usemos el ejemplo de características de los datos de una cuenta.

Supongamos que tenemos almacenado un objeto que representa los datos de una cuenta de usuario:

```javascript
const userData = {isLoggedIn: True, profile: "Admin", email: "email@example.org"}
```

El objeto anterior tiene las propiedades isLoggedIn, profile y email. Si nosotros quisieramos acceder a los valores, ya sea para mostrar algún contenido condicionalmente tendríamos que hacer lo siguiente:

```javascript

if(userData.isLoggedIn && userData.profile==='Admin'){
  redirectToDashboard()
}else{
  redirectToUserAccount()
}
```

En el trozo de código anterior, cada vez que accedamos a alguna propiedad del objeto tendremos que escribir el nombre del objeto _userData_. Pero, ¿y si asignamos las propiedades del objeto a otras constantes?

```javascript

const isLoggedIn = userData.isLoggedIn
const profile = userData.profile
const email = userData.email
```

Ahora ya podemos acceder a las constantes individualmente sin hacer referencia al objeto. Pero, ¿no estamos repitiendo userData en cada asignación?

## Desestructuración de un objeto en javascript

Para desestructurar el objeto del ejemplo anterior, podemos usar la siguiente sintaxis:

```javascript
const userData = {isLoggedIn: True, profile: "Admin", email: "email@example.org"}
const {isLoggedIn, profile, email} = userData
```

Ahora en lugar de obtener los valores directamente del objeto podemos obtenerlos de las constantes y el código se vuelve más sencillo de leer.

```javascript

if(isLoggedIn && profile==='Admin'){
  redirectToDashboard()
}else{
  redirectToUserAccount()
}
```

Además de destructurar objetos, Javascript también permite desestructurar listas. En la **[siguiente entrada](https://coffeebytes.dev/desestructuracion-de-listas-en-javascript/)** hablaré un poco sobre ello.
A new deep learning recommender framework by Nvidia
Tags: news, machinelearning
Published: 2020-11-23 20:25:06

Nvidia released the open beta of its deep learning recommender building framework **Nvidia Merlin**. A recommender system is a machine learning model which recommends users about the things to purchase or movies to watch based on previous data or based on choices of similar users. Recommender systems are the reason for meteorical rise of companies like Netflix and Amazon. They use either collaborative filtering or content based filtering or a combination of both. Building large scale recommenders is a challenge in itself. 

Merlin empowers data scientists, machine learning engineers, and researchers to build high-performing recommenders at scale. Merlin includes tools that democratize building deep learning recommenders that provide better predictions than traditional methods and increase click-through rates. Each stage of the Merlin pipeline is optimized to support hundreds of terabytes of data, all accessible through easy-to-use APIs.


It has two parts
* NVTabular
* HugeCTR 

NVTabular reduces data preparation time by GPU-accelerating feature transformations and preprocessing.

HugeCTR is a deep neural network training framework that is capable of distributed training across multiple GPUs and nodes for maximum performance.


## NVTabular
NVTabular is a feature engineering and preprocessing library designed to quickly and easily manipulate terabytes of recommender system datasets. It provides a high level abstraction and accelerates computation on GPUs using the RAPIDS cuDF library.

## HugeCTR 

 HugeCTR is a highly efficient C++ framework designed for distributed training with model-parallel embedding tables and data-parallel neural networks. HugeCTR covers common and recent architectures such as Deep Learning Recommendation Model (DLRM), Wide and Deep, Deep Cross Network, and DeepFM
First Year as a Software Engineer
Tags: career
Published: 2020-11-23 20:24:33

I originally wrote an article here about my first year as a Software Engineer! {% link https://dev.to/willparr/advice-to-my-past-self-first-year-as-a-software-engineer-2jeo %}

However, I also decided to do this in video format as well! {% youtube XWBQxhTvcfY %} 

As always, if you have feedback about this content or what you would like to see in the future let me know!
New to the coding world.
Tags: beginners, gamedev
Published: 2020-11-23 20:24:19

Hey, my name is Mini.
I don't know how to start this post off properly since this is my first post here, but I shall start it anyway.

I am 15 (turning 16 in a couple of months) and recently started to get into coding. A big influence of mine is my big Brother :D He is 6 years older than me and also has about 5 - 6 more years of experience than me, so I'm sure he will help me along this journey of learning to code. He wants to become a game dev in the future and I think that I would like to also become a game developer or software engineer in the future. I decided to start learning the basics of web development last week with things like HTML, CSS and I hope to soon start learning JavaScript. I already know a basic amount about coding/programming and game development stuff through my big Bro and because my whole life I have been interested in technology and gaming. 

Anyway, sorry for that jumbled introduction that probably didn't even explain why I am writing this.
I am writing this post because I don't know where to really start, or what to look forward to in the coming months of learning code. What languages do you think I should be learning primarily? Are there any great sources to help me and increase my learning? (Especially now I have more time because of COVID.)

I am currently learning HTML & CSS through YT tutorials, and I am also going to continue learning the latter via Codecademy. Also, my Brother has said that it would be good for me to start learning JS on Codecademy as well. I have heard that freeCodeCamp() is also a really good source of learning, however, it looks to be way more complex and detailed, meaning that there would be a lot more stuff for me to learn. I have also started to learn GitHub because I know that it will be extremely useful in the future.

Coding or Game Developing isn't even my only dream though.
I want to become a comedian and maybe an actor, but another one of my dreams is that I love games, and coding. And because I have time to start learning to code now, I thought this would be a great place for me to come for any pointers or suggestions to help me.

I think I know that Java and C++, for example, are some of the best and most complex languages for game developing. I know that it would take me time to learn them, and I don't know if there are any special things that I need to get to use them. 

Sorry for this very jumbled post, basically in conclusion:
I want to get into coding/maybe web development but really more into game development. Are there any key things that I should stick to and know? If so, it would be awesome if anyone could help me and point me in the right direction :D

P.S I also have recently installed Sublime for my HTML & CSS stuff, but I also got VS Code because I heard that it is very good. But I have also heard that Visual Studio is great as well, so I don't know whether to have VS Code or Visual Studio or both?
Anyway, thank you for taking your time to read this :)
Infix to postfix conversion using stack in C++
Tags: cpp
Published: 2020-11-23 20:17:42

This article discusses the method of converting infix to postfix using stack data structure.

**Infix**: infix is an expression in which the operator used to appear in the middle of operands in the expression. It looks something like this [operand operator operand]. For example → (A+B)*(C-D)

**Postfix**: postfix is also an expression but the difference is that the operator in this expression is present after two operands, something like [B D +].

#Approach
First of all search for the infix in the expression from left to right. Initialize a vacant stack. Check if the scanned character is an operand then add it to the postfix string. And if the scanned character is an operator and the stack is empty push the character to the stack. If the stack is not empty then compare the precedence of the character with the element on top of stack.
When top Stack has higher precedence over the scanned character pop the stack else push the scanned character to stack. Repeat this procedure till the stack is not empty and top Stack has precedence over the character. Then repeat the process till all characters are scanned. When all characters are scanned, add any character that stack may have to the postfix string. When stack is not empty add top Stack to Postfix string and Pop the stack.Repeat the process as long as stack is not vacant.

For example check out this example :

https://www.kodlogs.com/blog/2240/infix-to-postfix-conversion-using-stack-in-c
Can you please suggest professional CV writers/reviewers at a reasonable cost?
Tags: anonymous, help, career
Published: 2020-11-23 20:07:02

---
title: Can you please suggest professional CV writers/reviewers at a reasonable cost?
published: true
description: Can you please suggest professional CV writers/reviewers at a reasonable cost?
tags: anonymous, help, career
//cover_image: https://direct_url_to_image.jpg
---
_This is an anonymous post sent in by a member who does not want their name disclosed. Please be thoughtful with your responses, as these are usually tough posts to write. Email sloan@dev.to if you'd like to leave an anonymous comment._

I am looking to change jobs, and I think as I am getting more experienced my CV is getting more packed. I would appreciate the help of a professional CV writer/reviewer, ideally with experience on software engineering CVs, to make it better than I can.
How to create executables (.exe file for windows and package file for mac) for your express.js application in 3 simple steps?
Tags: node, express, executables, beginners
Published: 2020-11-23 20:04:17


A .exe file which is generally called a binary executable file can be created for your node application just by using one npm package. Hard to digest in the beginning but yet that is the actual effort needed to create an exe file.

I saw many blog posts that are too lengthy but didn't convey what is actually needed to create an exe file for windows (and package for mac ). So I thought why cant I write one for this. In this article I am planning to explain the same.

Lets begin

First you need to have your express js application up and running. This post is not to explain how to start the express server and I believe you have some basic knowledge on how to start one by yourself. Lets dive into how to create an exe file (or a package for your mac).

Continue reading in the below LinkedIn page.

https://www.linkedin.com/pulse/how-create-executable-exepackage-file-your-express-js-srinivasan
An SEO Guide to using Website Redirects
Tags: html
Published: 2020-11-23 19:58:52

Website Redirects are very important for both visitors interacting with the website and search engines. Redirects are crucial to preserving the SEO of websites. Top ranking websites in terms of SEO require the user experience to be faster, more comfortable, and more secure. In this blog, we will discuss the nuts and bolts of website redirects.

Website redirects are web code commands. A redirect happens when a web page is visited at an old URL and it later changes into a new URL. Consider this example: a user opens website.com/home in their browser and is then redirected to website.com/about-us.

[Read the full story here](https://www.seoly.app/blog/search-engine-optimizations/website-redirects).
Most easy way to understand difference between Git and Github

Tags: git, github, opensource
Published: 2020-11-23 19:56:15

Have you ever wonder, What is Git? what is Github? Are they Brothers?
wait! Your all doubts will be cleared in the Most easiest way.

<strong>You can also read my all blogs at </strong>[codewithgauri](www.blogs.codewith.gauri.tech)

![image](https://dev-to-uploads.s3.amazonaws.com/i/0qgf4i3o2srjhi62v3wv.png)

<h1>What is Git?</h1>
![image](https://dev-to-uploads.s3.amazonaws.com/i/hnkjunhc73tbh4tfouww.png)

  Git is an open-source distributed version control system, Basically the version control allows you to track and work together with your team member at the same work-space to contribute code to the same project in an asynchronous way.

<h1>Version Control</h1>

Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later.

![image](https://dev-to-uploads.s3.amazonaws.com/i/40rajgrtbvuyyk8bxnll.png)

<h2>Lets understand this with an example:</h2>

Suppose Gaurav and Milan ( two friends), writes code for a project where Milan is working on Header and Gaurav is working on footer, So obviously there is a chance that they will write more things for it as progress. To keep a track of all the different things they have added, they need to use a Version control system.

This is even more important in bigger companies where you have 1000s of developers working on the same piece of software. You need to keep a track of who added what and when. You also need to track the different versions of the software incase you want to go back to an older version as it is more stable than the new one.

<h1>What is Github?</h1>

![image](https://dev-to-uploads.s3.amazonaws.com/i/pyminskhpn95spddj0gr.png)
Which provides a web-based graphical interface. It helps every team member to work together on the project from anywhere and makes it easy for them to collaborate.

There are lots of advantages of github like, cloud environments are fast, reliable and simple to access from anywhere as long as you have an internet connection. It also means you don’t have to worry about losing everything in an unfortunate event of hardware failure ever again. Sound live saving na? Here Git vs. GitHub duel comes in picture.  

<h1>Git vs. GitHub- Difference between Git and Github</h1>

![image](https://dev-to-uploads.s3.amazonaws.com/i/qyemsquxdtsjbfvjbt79.png)

![image](https://dev-to-uploads.s3.amazonaws.com/i/9mpb944jx76cy01gusw2.png)

So you can see, there is nothing point of confusion is left between Git and Github, You don’t need to stick to anyone of it. Learn to use both Git and GitHub, use their super powers to amplify your production.  

<strong> you can also read my all blogs at [codewithgauri](www.blogs.codewith.gauri.tech)</strong>
How do you keep track of notes in code?
Tags: watercooler, productivity, coding
Published: 2020-11-23 19:24:22

---
title: How do you keep track of notes in code?
published: true
description: 
tags: watercooler, productivity, coding
cover_image: https://miro.medium.com/max/1704/1*RkAV56DHg7Ah3Fg7q9CwtA.png
---
Keeping track of notes while coding is essential, so you have all the ideas for development once you re-visit. Thanks to code commenting and various extensions, you don't need to leave your code editor / IDE for that.

Some of the methods I am aware of include:
* Making comments on top of the file, adding them in the list once an idea strikes. (Ctrl + /) is a useful shortcut for that in VS Code.
* Using extensions like [Better Comments](https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments) and [TODO Highlight](TODO Highlight) to make comments in different colors, so it's easy to distinguish between to-dos, warnings, highlights, questions, etc.
* Using [Todo Tree](https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree) to create a tree of todos across multiple files, displaying them in the side panel for a great overview and easy management. 

How do you normally approach this?
if you think a BUTTON COUNTER is a example of web design, YOU SHOULD BE FIRED!
Tags: html, css, react, vue
Published: 2020-11-23 19:20:36

I’m trying to get better at Hooks, and all these examples of hooks are the cheesy/cheap excuse of a example of a button counter.

I’m trying to simply learn how to toggle visibility, as in you add the {px} or {color}??? Is {} right? Is pathetic with how many people default to “button counter” or a “to do app”
Ask Octopus - Can I turn off health checks?
Tags: octopus, devops
Published: 2020-11-23 19:20:15

---
title: Ask Octopus - Can I turn off health checks?
published: true
description: You don't need health checks to run very often or at all. Can you disable them completely? Find out in this Ask Octopus!
tags: octopus,devops
series: Ask Octopus
---

You don't need health checks to run very often or at all. Can you disable them completely? Find out in this Ask Octopus!

{% youtube OT2vfS-1qC4 %}

Other resources:
 - https://help.octopus.com/t/can-i-turn-off-health-checks/25996
 - https://octopus.com/docs/infrastructure/deployment-targets/machine-policies

Do you have a question about how to use Octopus? Email advice@octopus.com and someone from our team will get you an answer. You might even see it in a future episode.

Join our community slack at https://octopus.com/slack
How to run migrations in remotely database (Heroku Postgres)
Tags: javascript, node, postgres, heroku
Published: 2020-11-23 18:50:08

Hi everyone,

In this post I will talk about how to run migrations in remotely database with knexjs in Heroku Postgres. Is required to be installed nodejs and heroku CLI.


1. First of all you have to set the target environment database and install the appropriate database library. For this example I'm using Postgres.

    *npm install pg* 

2. The migration CLI is bundled with the knex install, than you have to run knex to execute knexfile.js . After execute knefile.js, open that file configures migrations directory and database connection.

    *npx knex init*


3. I'm creating two migrations for this example:

     *npx knex migrate:make 01_users*


    *npx knex migrate:make 01_task*

4. Save the project and create a repository in GitHub
Link of repository example: [exampleDB](https://github.com/MarioBatalha/exemploDB). In heroku dashboard create a app and connect to github repository after that add node buildpack and heroku postgres in add-ons.

5. Open config vars and copy the database URL. Now in your project folder set env variable including database URL.

6. Connect to remote database in Heroku
heroku pg:psql heroku_database_name --app app_name

      *heroku pg:psql postgresql-shallow-30966 --app exemplodb*

7. execute:
heroku run knex migrate:latest --app heroku_database_name

   *heroku run knex migrate:latest --app exempledb
 

Link to api: [exampleDB](https://exemplodb.herokuapp.com/user)

Thanks for reading! I'd love to hear if it works for you, I really hope be help with this article.