teleren/devto huggingface dataset:
Request parser for Express routes.
Tags: node, javascript, parser, express
Published: 2022-02-14 17:29:47

Hello Everyone,

I always had a difficulty to handle both form data(for file uploads) and JSON within the express routes. So I decided to write a parser, Which will parse the file/JSON inputs from the user and pass it to the Express routes.

Here's the npm [link](https://www.npmjs.com/package/@naren_codes/request-parser) for installation and [repo](https://github.com/narcotic1998/request-parser)

Feel free to try this parser. Any enhancement to this parser or changes to this code is highly appreciated.
Amazon Timestream
Tags: aws, nosql
Published: 2022-02-14 16:57:05

I recently took a look at the [Amazon Timestream](https://aws.amazon.com/timestream) NoSQL time series serverless database service.  

tl;dr - I found the getting started process to be quick and easy.  Timestream presents in the AWS console as a purpose-built table-as-a-service.  

Amazon includes two small sample datasets, one for IoT and one for DevOps.  Also they include two versions of each sample - single-record or multi-record.  Additionally they supply example queries for each of the 4 types of sample data presented via the console.  Shown below (from the Amazon documentation) is a summary of the modeling approach types.


![Timestream record types](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r43u5r2x7px90b9shafg.png)

Of note are a set of time-series functions, available via extensions to the SQL query language which is supported for Timestream.

For a summary - see the notes page in my [`Hello-AWS-Data-Services` Github repo for Timestream](https://github.com/lynnlangit/Hello-AWS-Data-Services/tree/master/3_streams-and-iot/3_Timestream).
Mein Tutor LMS Review (German)
Tags: lms
Published: 2022-02-14 16:44:04

Wir haben viele Produkte getestet und festgestellt, dass [Tutor LMS](https://kursprofi.com/review/tutorlms/) eines der besten ist. Dies ist unsere neue Meinung und wir haben unsere liebenswerte Bewertung nicht geändert. Hier werden wir nicht über die Funktionen und auch nicht über die Probleme sprechen. Unsere Bewertung von Tutor LMS ist frisch und wir werden weiterhin Bewertungen zu dieser Plattform schreiben.

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

Der Kurs Profi ist ein Blog, der sich zum Ziel gesetzt hat, einen umfassenden Überblick über Software und Online-Tutoring-Plattformen zu geben. Er dient als Bibliothek mit Bewertungen von kostenlosen und kostenpflichtigen Online-Nachhilfeplattformen, Online-Kursen, Online-Universitäten, Online-Bildungsplattformen, Online-Hausaufgabenverwaltungsplattformen, Online-Klassenraumverwaltungsplattformen, Online-Plattformen zur Erstellung von Inhalten, Online-Plattformen zur Planung und Terminierung, Online-Plattformen zur akademischen Bewertung, Online-Plattformen zur Erstellung von Kursen und anderen Online-Nachhilfe- und Lernplattformen.

Tutor LMS ist eine Online-Lernplattform, die dir hilft, Online-Kurse zu erstellen und zu verwalten. Tutor LMS ist eine Plattform, die dir bei der Erstellung und Verwaltung von Online-Kursen helfen soll. Es ist eine Online-Plattform, mit der du Online-Kurse erstellen und verwalten kannst. Der Kurs kann ein Text, ein Video, ein Audio oder andere Arten von Inhalten sein. Es ist eine Plattform, mit der du deinen eigenen Online-Kurs erstellen kannst, um dir Wissen zu einem bestimmten Thema anzueignen. Die Tutor LMS-Plattform kann von Schülern und Lehrern zur Erstellung von Online-Kursen und zur Verwaltung von Online-Kursen genutzt werden. Die Tutor LMS-Plattform kann von Schülern und Lehrern genutzt werden, um Online-Kurse für Schüler zu erstellen.
Heroku Deploy
Published: 2022-02-14 16:38:46

**heroku login**
**git init**
**heroku git:remote -a appname**
**git add .**
**git commit -am "make it better"**
**git push heroku master**

**rm -rf .git**


 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'https://git.heroku.com/appname.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

**git push heroku HEAD:master --force**



Precautions 
https://velog.io/@han0707/django-heroku-error
Why You Should Not Trust the train_test_split() Function
Tags: machinelearning, datascience, python, scikitlearn
Published: 2022-02-14 16:29:59

Surely almost all data scientists have tried to use the `train_test_split()` function at least once in their life. The `train_test_split()` function is provided by the scikit-learn Python package. Usually, we do not care much about the effects of using this function, because with a single line of code we obtain the division of the dataset into two parts, train and test set.

Indeed, using this function could be dangerous. And in this article, I will try to explain why.

The article is organized as follows:
* Overview of the train_test_split() function
* Potential risks
* Possible countermeasures.

## 1 Overview of the train_test_split() function
The `train_test_split()` function is provided by the model_selection subpackage available under the sklearn package. The function receives as input the following parameters:
* arrays — the dataset to be split;
* test_size — the size of the test set. It could be either a float or an integer number. If it is a float, it should be a number between 0.0 and 1.0 and represents the proportion of the dataset to include in the test set. If it is an integer, it is the total number of samples to include in the test set. If the test_size is not set, the value is set automatically to the complement of the train size;
* train_size — the size of the train set. Its behavior is complementary to the test_size variable;
* random_state — before applying to split, the dataset is shuffled. The random_state variable is an integer that initializes the seed used for shuffling. It is used to make the experiment reproducible;
* shuffle — it specifies whether to shuffle data before splitting or not. The default value is True;
* stratify — if not None, it specifies an array of frequencies for class labels. This permits the splitting phase the preserve the frequency of class labels as specified.

Usually, we copy the example of how to use the `train_test_split()` from the scikit-learn documentation and we use it as follows:

`from sklearn.model_selection import train_test_split
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.33, random_state=42)`

We don’t care much about the effects of this feature. Let’s just go ahead with the code.
But there are potential risks, which I will show you in the next section.

## 2 Potential Risks
Internally, the `train_test_split()` function uses a seed that allows you to pseudorandomly separate the data into two groups: training and test set.

The number is pseudorandom because the same data subdivision corresponds to the same seed value. This aspect is very useful to ensure the reproducibility of the experiments.
Unfortunately, the use of one seed rather than another could lead to totally different datasets, and even modify the performance of the chosen Machine Learning model that receives the training set as input.

To understand the problem, let's take an example. 

Continue reading on [Towards Data Science](https://towardsdatascience.com/why-you-should-not-trust-the-train-test-split-function-47cb9d353ad2)
An Open Letter to Newbies
Tags: beginners, mentalhealth
Published: 2022-02-14 16:27:59

Dear Newbie Developer,

### This sh*t is hard.

You're not going to like it at first, and by "it" I mean **you will not like your first roadblock**. In fact, you might not like **any** blockers, but you will encounter them regardless of experience level.

Honestly, **it's okay to cry**. It's okay to have a bit of an identity crisis when you encounter these difficulties. 

Identity crises are normal, but **do not dwell on them for long.**


As the lovely Kelly Clarkson sings: 


> What doesn't kill you makes you stronger

> Stand a little taller

...

> What doesn't kill you makes a fighter

> Footsteps even lighter


Seriously, and I mean this literally:

### just walk away.

Get up and out of your coding space. 

Give yourself a 10-15 minute breather if you're on a deadline.

Literally **leave the room.** You don't need to go outside. Heck, I just walk to the kitchen and get more water or a nice snacko to reward myself with for even just the attempt.

Forreal though, solutions usually come to me during breaks, especially after a good night's sleep or a nap.

If there is one thing you need to remember throughout your dev journey in its entirety, it's really to just **be kind to yourself.**

Sure, there are prodigies that can regurgitate a translation from binary in 0.2 seconds-- but that's them and *not you*, and  [that is a good thing](https://getpocket.com/explore/item/in-defense-of-being-average) . 

What you bring to the table is valid and will always matter. There are ~7 billion people in the world, and maybe one of those 7 billion will find your way of writing or coding or whatever you do helpful/useful. Maybe what you say and how you convey it will resonate with someone, thereby making their journey a lot easier.

Do you know how many tutorials, StackOverflow posts, and pages of our choice search engine we go through just to find a solution that makes sense to us?

Do you know how many of those sources we have to  [cut and piece together](https://dev.to/catcarbn/franken-code-till-you-make-it-1j41)  just for our code to *do the thing we want it to do*?

Newbie, I hear you. I was there before: tired, frustrated, ever-wondering what *this* means. Do not give up, but also, do not strive for excellence-- especially at this stage.

Right now, you're wondering why it's not working, even though you followed the instructions to the T. 
The best path to go at that point is to **figure out a way to get it to work**. If that means writing 50 lines of 'if else' and 'else if', so be it. But as long as you're learning, as long as you know what it does **you are making progress**.

...and after you understand that, THEN you can work on refinement and optimization.

But for now, please, just remember to **be kind to yourself** and get yourself a little snacko.


![Pikachu eating a whole apple](https://cdn.hashnode.com/res/hashnode/image/upload/v1605293969128/2AgmOykXx.gif)

---

## Thanks for reading!
Let's keep in touch on  [Twitter](https://twitter.com/catballar) !
Day-23 Training at Ryaz
Tags: javascript, beginners, node, mongodb
Published: 2022-02-14 16:20:38

- Date:14/02/2022
- Day:Monday

Today, I started at about 11:00 am it was bit late than usual time as I was to assign a new task but before it as
I had created different kinds of cards but I found that it was difficult to see each and every card individually so I thought of making one home page and accessing different types of cards from on page itself so, I created that and after completion of this I deployed it on git pages so, that it can be easily viewed. At ,latter half of day I was assigned a new task of making CRUD app by using node js framework node express and using mongo db and mongoose which help in easy retrieval of data from the data base so, I was assigned different attributes of the task so, In order to complete task first of all I installed all necessary libraries and then set up mongo db cloud data base and then created various controllers, modules,routes then I found various changes are shown in git so I added one .gitignore file to ignore node modules
so, further I would test by adding data and check it using post man it would be completed by tomorrow.
Generate a dynamic Stackoverflow profile for your README
Tags: javascript, opensource, react, svelte
Published: 2022-02-14 16:19:14

I'm really happy to share with you that the official website for [stackoverflow-readme-profile](https://github.com/johannchopin/stackoverflow-readme-profile) is ready. This project allows you to generate dynamic svgs for your README like the following:

[![johannchopin's SO profile](https://stackoverflow-readme-profile.johannchopin.fr/profile/8583669?theme=dark)](https://johannchopin.github.io/stackoverflow-readme-profile/)

...and that only thanks to this simple Markdown:

```md
[![johannchopin's SO profile](https://stackoverflow-readme-profile.johannchopin.fr/profile/8583669?theme=dark)](https://stackoverflow.com/users/8583669/johannchopin)
```

You want one too? Just go to the website https://johannchopin.github.io/stackoverflow-readme-profile and get the corresponding md or HTML snippet.
Converting to Vite (Part 4)
Tags: cloud, javascript, webdev, git
Published: 2022-02-14 16:18:49

In Part 4 of this series, I'll be talking about some of ways the scope of [PR #1322](https://github.com/open-sauced/open-sauced/pull/1322) grew to include cloud-based IDEs! As alluded to in [Part 1](https://dev.to/opensauced/converting-to-vite-part-1-4ff4), our conversion from [Webpack](https://webpack.js.org/) to [Vite](https://vitejs.dev) all started because of a discussion about opportunities for dependency updates in our project. Between this and us greatly reducing our build script footprint, we saw in this endeavor an additional opportunity for reduced friction in getting setup for Cloud IDE support. To us, Cloud IDE support presents an arguably easier path for prospective contributors, because it allows them to skip the hard parts of preparing their local environment for development.  

Based on some back-and-forth in our [Discord](https://discord.gg/U2peSNf23P), we decided to try out a handful of Cloud IDEs.  Ultimately, this PR (and some ground-clearing ones that preceded it) introduced support for [Gitpod](https://www.gitpod.io/), [Replit](https://replit.com/), [Stackblitz](https://stackblitz.com/), and [Glitch](https://glitch.com). 

Exploring and implementing the various implementation details of these was a truly significant lift by @0vortex, and it shows in how he listed out the pros and cons of each Cloud IDE in our [README](https://github.com/open-sauced/open-sauced#-prerequisites).

One might argue that support for each Cloud IDE should have been its own PR, but I would point out that sometimes it's better to let the technical details agglomerate so that the ancillary benefits of a major change follow directly on the heels of the core benefits. I was personally very affirmed when a contributor was able to move forward with a contribution shortly after this PR landed!

Based on our experience at present, Stackblitz, Replit, Codesandbox, and Glitch are not reliable enough to test significant feature contributions to an application at the scale of Open Sauced. From what we see, the reliability challenges deal with the virtual filesystems in use - Open Sauced is a five year old project, and the codebase has grown. In fact, we feel that the performance benefits of Vite (especially its use of [esbuild](https://esbuild.github.io/)) made it possible for us to get the Cloud IDE support to the level that it is today.  

Let us know in the comments if you'd to see more technical detail about our experiences with the Cloud IDEs!

<small><em>Photo by <a href="https://unsplash.com/@ismailenesayhan?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">İsmail Enes Ayhan</a> on <a href="https://unsplash.com/s/photos/server-rack?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a></em></small>
Programatically Starting a Chromium page in Full Screen - .NET
Tags: programming, powershell, automation, net
Published: 2022-02-14 16:01:34

Using the "System.Diagnostics" namespace in .NET, you can Automate launching a page in full-screen using a Chromium browser. 

Here's an example written in PowerShell.

```
$_processInfo = New-Object System.Diagnostics.ProcessStartInfo 

# use this if you want maximized instead of full-screen for any application. 
$_processInfo.WindowStyle = [System.Diagnostics.ProcessWindowStyle]::Maximized 

# Provide the path to the browsers executable
$_processInfo.FileName = "C:\Program Files\Google\Chrome\Application\chrome.exe"

# Launch in full screen using the flag '--start-fullscreen'
$_processInfo.Arguments = "--start-fulscreen", "-app $($URL)"

# add the process info and start
$_process = New-Object System.Diagnostics.Process
$_process.StartInfo = $_processInfo 
$_process.Start()
```
Better Comments (VScode Extension)
Tags: webdev, css, html, vscode
Published: 2022-02-14 15:59:54

Not too long ago, I found out about this *VSCode Extension* called [Better Comments](https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments) when I was watching a youtube video. I've been using it ever since. What it does is spice up your code commenting game by allowing different colored comments which would make them stand out rather than the boring grey default.
##How to use it
Using the extension is very straightforward. Some special characters are just needed to be prepended after the comment symbol (*ex: `//` for javascript*) and before the actual comment itself.
####Examples:
![Better Comments Examples](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g35z9cxf69xk825ovl6q.png) These are the default font configurations for every comment type like red for *alert* but it's completely up to you what configurations you use (*ex: different font colors, weight, style, etc*). They can be easily changed in the *settings.json* file. See [Extension Page](https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments) for the exact steps.
##Closing Thoughts
I think this is a must-have extension for every developer because it just improves the quality of life and makes important comments stand out which would save you the headache of finding them. It sucks having to break your concentration when you're on a roll.
Hire Dedicated Virtual Node.js Developers Within 48 Hours | Optymize 
Published: 2022-02-14 15:57:57

Optymize offers to hire top 5% remote engineers within 48 hours to scale startups or product development teams
[Hire vetted quality Node.js developers within 48 Hours](https://optymize.io/hire-node-js-developers/)
Fortune 500 companies and funded startups pick Optymize’s Node.js developers to scale up their teams quickly and to achieve their project deadlines. Extend your technology team and select the top 5% Node.js developers on a contract basis. Optymize is a marketplace for top Node.js developers, programmers, consultants pre-vetted by our experts and our Talent Cloud Solution.
contact us at: [https://optymize.io/hire-node-js-developers/](https://optymize.io/hire-node-js-developers/)


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

Optymize is a marketplace that aims to fill the supply-demand gap in hiring. They provide top-quality vetted freelancers to innovative startups and small businesses looking to augment their tech teams within 48 hours. This comes at a time when companies are suffering from talent gaps and talented professionals are out of jobs due to travel restrictions. Optymize has supported companies such as Sidewalk Labs, RD&X, Yellow, and Planoly.
[Optymize](https://optymize.io/hire-node-js-developers/) finds skilled and experienced engineers who are well-equipped with trending technologies, have good communication skills and are experienced with remote working. Their vetting process consists of measuring technical skills, communication skills, and psychometric analysis to figure out their behavioral traits. Technical assessment involves conceptual questions and coding challenges. Engineers submit their video resumes and also have to explain coding challenges during the interview process. The last stage involves a psychometric analysis that measures personal traits and behavioral styles. These assessments enable Optymize to get a holistic understanding of the candidate.
Join us at: [https://optymize.io/hire-node-js-developers/](https://optymize.io/)
Hire PHP Developers from Most Trusted Software Development Company | Optymize
Tags: javascript, php, webdev, programming
Published: 2022-02-14 15:56:27

Hire top 5% freelance PHP developers
How to hire PHP Developers through Optymize
1. Quick Call: Optymize Director of Engineering will have a quick call with you to better understand your business goals and technical needs.
2. 48 Hour Sourcing: Get matched with experience-driven pre-vetted talent within 48 hours of the call.
3. Review and onboard: Interview shortlisted candidates and onboard your optimal hire under 2 weeks with a risk-free trial. Pay only if you are satisfied.
visit on:[ https://optymize.io/hire-php-developers/](https://optymize.io/hire-php-developers/)


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

Optymize refrains its clients from complicated and longer onboarding processes by providing a client-friendly environment as well as being quick. They onboard clients through a three-step process. Firstly, an introductory call where they understand the specific hiring needs, followed by sourcing profiles according to the client’s need within 48 hours. The last step involves the client reviewing, interviewing, and onboarding their optimal hire. 
For [Optymize](https://optymize.io/hire-php-developers/), their process doesn’t end with providing an optimal hire. They provide constant support such as holding regular check-ins and monitoring freelancer performance. Their primary indicator of success is being their clients’ long-term partner for remote hiring. Moreover, they provide engineers who are good communicators, and willing to work during the client’s working hours. 
Join us at: [https://optymize.io/hire-php-developers/](https://optymize.io/)
Hire the top 1% of 1 million + Java developers using Optymize’s Intelligent Talent Cloud
Published: 2022-02-14 15:54:53

How are Optymize Java developers different?
At[ Optymize](https://optymize.io/hire-java-developers/), our specialized team of technical experts assesses Java developers through a rigorous vetting process including customized coding tests designed specifically based on your requirements to make sure you get only the right talent. Potential candidates are then tested for communication skills and team dynamics to ensure we only match you with the talent of the highest calibre.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dj4ca1ha6j7s30w0315j.jpg) Adding a top Java developer with excellent communication skills and who is also a team player will increase team output substantially. We believe in providing top-quality Java developers only.
Join us at: [https://optymize.io/hire-java-developers/](https://optymize.io/hire-java-developers/)
Optymize is a worldwide technical talent marketplace that connects companies with verified, remote engineers who have robust technical & communication skills and work in their time zone. A number of leading companies like Sidewalk Labs, RD&X, Yello, and Planoly leverage Optymize to scale their engineering teams quickly and cost-effectively.
Optymize verifies 3 essential qualities: technical ability, communication skills, and remote working capabilities. Companies can, with Optymize, [hire developers](https://optymize.io/hire-java-developers/) of the best possible quality at affordable prices in under a week. They can screen and hire verified software developers across 100+ skills like React, Node, Python, Golang, Angular, Swift, Java, and many more. 
A distributed organization spanning three continents, Optymize is managed by ex-Goldman Sachs VP and leadership team with 15+ years of average technology experience.
Join us at: [https://optymize.io/hire-java-developers/](https://optymize.io/)