teleren/devto huggingface dataset:
A Nice Developer Joke For Today
Tags: jokes, dailydeveloperjokes
Published: 2021-08-01 12:00:26

---
title: "A Nice Developer Joke For Today"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e1258836687f.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit._

<!--
Joke text:
___Q:___ How did the developer announce their engagement?

___A:___ They `return`ed `true`!
 -->
The best free cloud platform to deploy your bots and projects? Railway.app review
Tags: deploy, bots, discord, telegram
Published: 2021-08-01 11:52:56

I've tried most popular cloud platforms. AWS, Heroku, DigitalOcean, GCloud, etc. None of them have impressed me with their ease of use or pricing.

You have probably always wanted to deploy your own application to the *cloud* but didn't, after seeing the horrifying dashboards of AWS and other platforms.

I mean look at this mess 
![13-aws-ec2-dashboard](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2w19lwkedv25sc0oiauu.png)

[Railway](https://railway.app) offers an easy one click dockerized deployment for your applications. You can link your Github repo for automatic deployments on new commits and also a CLI tool to deploy directly.

It currently offers the following plugins:
- MongoDB
- PostgreSQL
- Redis
- MySQL

They have usage based plans to better suit the developers 
![Railway Pricing](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ocp0gek77g9n3kzcembp.png)
What did you teach this week?
Tags: discuss, teaching, teachingthisweek
Published: 2021-08-01 11:45:01

So friends, this week what did you teach to others?
Please post in the comments below.
> What are the incentives of teaching?
- Contribute to the community.
- Make a positive impact.
- Be a role model.
- Share your passion.
- Learn as you teach.
- Develop patience.

Even a humble contribution in teaching goes a long way in making the entire community successful!
![bb0cc783196fa9b2119864ff90eb5702](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x1nf3bh2fwakfzefc4qh.gif)
Worth Every Penny
Tags: motivation
Published: 2021-08-01 11:43:43

---
title: Worth Every Penny
published: true
description: You are worth every penny, don’t let anyone deny your value. 
tags: motivation
canonical_url: https://jasonericdavis.dev/blog/worth-every-penny
//cover_image: https://direct_url_to_image.jpg
---
In my junior year of college, I knew I needed to prepare myself to have a job when I finished school. My goal was to try to get a job at a technology company that summer. 
The school that I went to had an annual job fair (yes like once a year) in which only a handful of companies showed up. 
Although my school was in an up-and-coming technology area we were lucky if even one technology company showed up to the job fair. 
At this point in time the Internet was somewhat commonplace but online job search wasn’t quite a thing. 
So with a stack of resumes, I hit the pavement in search of a job. In hindsight maybe my approach was a little naive, but I put forth the effort in the best way that I knew how. 
I knew where the technology companies were in my area and I would show up at the front desk dressed ready for an interview and ask about any job opportunities. I even offered to leave my resume. 
Sometimes I was able to speak to someone nice enough to not crush my hopes in front of me but never contact me again. Other times I would be told, “We are not hiring”.

There was one place in particular that I remember to this day. Dressed in my job search attire I walked into the office and did the same spill had done several times before. 
This time I was able to speak with someone responsible for hiring. “We don’t have room for anyone at this time” she explained after asking her to consider hiring me. 
At this point, I knew getting experience was more important than making money. I had heard the story about how Puff Daddy had worked at the radio station for free before getting his big break. 
With this in mind I responded, 

>I am willing to work for free

“We don’t have room for free” was her response. Devastated I walked back to my car thinking, “No room for free?”. How do you not have room for free?

That rejection hit harder than the others. I could understand that I didn't have the best resume or that I didn't come from a big school but to say they had no room for free meant they thought I would be a waste of “space”. 
I was confident that I could be an asset to the company and add value but to them, I wasn’t even worth the free potential.

What’s the point of this story? That was a pivotal moment in self-confidence. Had I not believed in my worth and abilities I could have easily been demoralized and lost all confidence. 
Instead, I used that moment to motivate me to work harder and so that nobody could deny my value. **You are worth every penny**, don’t let anyone deny your value.
Demeter Law
Published: 2021-08-01 11:25:44

Just Look at The Example Below The difference between the two if Condition  

**Do Not Do This**
```
 private final List<Carriage> carriages [...]
 private int percentReservedBarrier = 70;
 public void reserveSeats(ReservationRequest request) {
   for (Carriage carriage : carriages) {
     if (carriage.getSeats().getPercentReserved() < 
                                  percentReservedBarrier) {
     request.reserveSeatsIn(carriage);
     return;
    }
  }
 request.cannotFindSeats();
}
```

**Do This Instead**

```
public void reserveSeats(ReservationRequest request) {
 for (Carriage carriage : carriages) {
  if 
  (carriage.hasSeatsAvailableWithin(percentReservedBarrier)) 
  {
   request.reserveSeatsIn(carriage);
   return;
  }
 }
 request.cannotFindSeats();
}
```
Full Tutorial #15: Logging In Using GraphQL and Apollo Client | Microservices Chat App Using React, Node and GraphQL
Tags: react, node, webdev, javascript
Published: 2021-08-01 11:18:07

**About Me:** I've been a professional web developer for just over 10 years now. I'm currently the lead web development instructor at [Better Coding Academy](https://codebetter.com.au), and as part of what I do, I post videos on our YouTube channel at [https://www.youtube.com/c/BetterCodingAcademy](https://www.youtube.com/c/BetterCodingAcademy).

_(Subscribe for awesome web development content!)_

Part 15 of the Microservices Chat App is here! In this episode, we finish the Login interface, using a GraphQL mutation run in Apollo Client to authenticate the user:

{% youtube TIKsX5A9kzA %}

Happy coding!

Source code: [https://github.com/lucaschen/microservices-chat-demo](https://github.com/lucaschen/microservices-chat-demo)
Access the client base URL from the login template in keycloack
Published: 2021-08-01 10:46:38

## Currently we are using keycloack as an identity provider in one of our applications 


#### But have a requirement to have a custom registration single page, and I was looking around how to get the client URL or the current client URL from in the template of the login page of keycloak. 



Well the solution for this is just really simple: 
```htlm

 href="${client.baseUrl}/register"
```

You can add the href to the tag, so it redirects to the custom page that you want to handle the registration or anything else.
See how I made a Pleasing Contact Form
Tags: html, css, forms
Published: 2021-08-01 10:30:04

Hey Guys,
Its me again @theprodigyprogrammer .

I have made a Contact Form with a pleasing UI, i have made this for beginners to have more confidence in themselves in building better webpages and sites. Btw i have also used internal css for this project. 

Please Note:  This is completely made with Pure html and css.
              No backend languages are involved for now.



Hope this helps!

My Sign Up/In Forms Special Features to NOTE are:

1.Pleasing UI

Now as a beginner web dev u wont first start focussing first on the looks you will be focussing on the skeleton right?
But learning UI/UX properties (understanding them will let u make those fancy websites) So thats what i have done here!

2.The 'Required' Attribute

I have added the required attribute to make it compulsory for the user to add his/her info.

3.A Thank You Page 

I have also added a thank you page for the user to know that i=his contact form has been submitted.

If You want to check out this project,

Check it out on Github below!
https://github.com/theProdigyProgrammer/simple-contact-form.git

Thanks,
@theprodigyprogrammer
 
Subscribe to my youtube channel,will start uploading in 2 days!
https://www.youtube.com/channel/UC972D3BDec2wz0lYWqT4o_Q?sub_confirmation=1

Pls Follow me, Share this if you think this is helpful for your dev friends and Gud Luck With your Dev Life!👌👌
How can I Dockerize Protobuf ?
Published: 2021-08-01 09:37:36

First of all after lot of research i found a way how you can do this ? Unfortunately, I tried & got error which i share later.

 Structure of App:
                ---App
                   ---proto
                        ----protofile

Dockfile
FROM golang:1.16

WORKDIR /app

RUN apt-get update
RUN apt install -y protobuf-compiler

RUN GO111MODULE=on \
        go get google.golang.org/protobuf/cmd/protoc-gen-go@latest \
        google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest

RUN mkdir /api

cmd : protoc --proto_path=/api --go_out=/pb --go-grpc_out=/pb /api/x.proto
No File Directory x found
How can I solve
Windows 11 My Thoughts and Feelings :thinking:
Tags: windows11, windows, bugs, updates
Published: 2021-08-01 09:28:28

Yesterday the 31th of July, the new Windows 11 Beta update came available to my Personal Laptop. It took around an hour to download and my first thoughts were a totally redesigned experience even down to the Updater, instead of the dated update design before we have this simple looking black screen with the update percent on it.

![WINDOWS](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qunfl9uinl3lt6ruyhfw.jpg)
The Windows Login page has also been updated, we now see a sleek clean shaded black box and more clear text. This is honestly my favourite Windows by far!

![WINDOWS](https://i.gyazo.com/97d690c4c2cc2eb7ab1b60f8375828c6.png)
The new settings page is a great addition to the OS, it brings another level of simplicity! We now have all the menu shortcuts on the Left Sidebar and the new windows update system is truly a nice experience when using..

## Now for the Bugs...
Yes, you've guessed it. With any new Windows OS there will be your share of the great Microsoft bugs. The ones I've stumbled across so far is the Install Bug.
When you try to install `app.exe` for example, instead of saying Yes or No to allow admin permissions it will show Remember Me and C, it seems that the Remember Me button means Yes and C means No as when ive tried both the options they have that result.

## Should you download it?
Yes, its still a great update. But before you download note you may have to work out a couple of bugs but most features ive tried work fine and the Laptop has some great performance boosts since the update. The only issue Microsoft need to fix it the Install Admin Menu / Admin Allow Menu but im sure that will get fixed soon... You will first need to switch to the Beta Channel for Windows 11 to be available to you..
Copy text to clipboard JS
Tags: javascript, html, webdev
Published: 2021-08-01 09:26:17

Another snippet I tend to google each time I need it, copying to clipboard that is.

{% codepen https://codepen.io/keff/pen/WNjyGBv %}


> The demo does not work here, because "The Clipboard API has been blocked because of a permissions policy applied to the current document"

But you can find it, try it and use it from any of these places:
* [Codepen DEMO](https://codepen.io/keff/pen/WNjyGBv)
* In the wild over at [Pass Genny](https://pass-genny.vercel.app/)
* And in [GitHub](https://github.com/nombrekeff/my-snippets)

----

_If you found the content useful, consider supporting me! I post some stuff around here, and have some stuff over on [GitHub](https://github.com/nombrekeff) as well_
NTP,ARP
Published: 2021-08-01 09:23:19

NTP stand for Network Time Protocol
when two machines are communicating the time has to be synced.
If the time wont be in sync with each other there would be miscommunication so for this reason the time has to be updated using NTP server where the server shows the exact time .

This protocol uses it for keeping the time in sync.


ARP Address Resolution Protocol is used to find the hardware address or the MAC address of the destination machine
https://study-ccna.com/arp/
Build a predictive machine learning model quickly and easily
Tags: machinelearning, datascience, watsonstudio, ibmcloud
Published: 2021-08-01 08:56:15

Organizations are always looking forward to accelerate their Data Science pipeline, but have a major obstacle that occurs is towards the skills gap as well as the time taken to implement tasks that could be automated. 

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

With SPSS Modeler, data scientists can accelerate tasks in a way that it's following a certain pipeline in a way that their solution follows the entire data science methodology, from attaching the data set to cleaning and filtering the data and finally creating machine learning model, and the possibilities are limitless.

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

With Modeler Flows you can visually create pipelines for your data science & AI needs, and recently Anam Mahmood and I conducted a workshop on how you can easily build a predictive model that can detect loan risk for an applicant. 

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5kxtrr05i3fifleq3vb6.png)

If you're looking forward to explore more, do check out the workshop at https://www.crowdcast.io/e/build-a-predictive-2

For all the workshop resources:

- Login/Sign Up for IBM Cloud: https://ibm.biz/EasyModels

- Hands-On Guide: https://ibm.biz/EasyModels-Workshop

- Slides: https://ibm.biz/EasyModels-Slides

- Workshop Replay: https://www.crowdcast.io/e/build-a-predictive-2
Laravel Datatable Example Tutorial
Tags: laravel, datatable, jquery, php
Published: 2021-08-01 08:34:03

Today we will see laravel datatable example tutorial. as we know datatables provides users to many functionalities like search records, filter data, pagination, search button, custom button, responsive table etc yajra datatable is one of the the famous package in laravel and php.

Datatables is basically jQuery plugins that allows you to add advanced interaction controls to your HTML tables data. Datatables also provide ajax for data searching and getting.So,let's start and see  how to implement datatable in laravel.

```
Step 1: Install laravel
Step 2: Install Yajra Datatable Package
Step 3: Create Some Dummy Records Using Tinker
Step 4: Create New Route
Step 5: Create Controller For Datatable
Step 6: Create Blade File
```

---

> **_[Read More : Laravel Datatable Example Tutorial](https://www.techsolutionstuff.com/post/laravel-datatable-example-tutorial)_**

---
You May Also Like :

1. **_[Read More : Laravel AJAX CRUD Example Tutorial](https://www.techsolutionstuff.com/post/laravel-ajax-crud-example-tutorial)_**
2. **_[Read Also : Laravel 6 CRUD Tutorial with Example
](https://techsolutionstuff.com/post/laravel-6-crud-tutorial-with-example)_**

Thanks for the reading...!!
Programmers, Are You Bored or Stressed? 😒 😩
Tags: beginners, tips, motivation
Published: 2021-08-01 08:30:45

If bored when doing coding or stressed when fixing a bug? If the answer is yes, then what to do next? 💭

How do you mitigate all these complications?
Pause your work for 30 minutes to 1 hour and try to follow one of the ideas.

I share some ideas over this blog. They will help to maintain a calm mindset. Go through all the topics and find two or more that suit you best.

These ideas will help to divert the current mindset and refresh your thoughts. 😌
more...https://thavarajahpraveena.medium.com/programmers-are-you-bored-or-stressed-e8071d27a0f3
Django vs Mern Which one to choose?
Tags: django, python, node, react
Published: 2021-08-01 08:13:03

Many people take a lot of time to think about which web framework to choose for their next website. Here is a guide to help you choose the one most suitable for your next project.

## Django
If you want to create a good looking website fast and with ease go with django. In my opinion django is the best web framework you can choose for blogs, newsletters and other applications.
People often call it the web framework with batteries included batteries for user authentication, models, emails, testing and a whole lot of them. I myself have built full fledged websites in django within days. If speed is all you want nothing is better than django.

## Mern
Mern stands for MongoDB, Express, React and Node.
If you want to build a perfectionist website like a social media app, a nice community website like the one you are reading this post in mern has got you covered.
The best features of mern is that you can drop react and choose any framework like react native, flutter, angular or even build a desktop application with c++ and the backend won't even care.
You can create multiple things like a website with react and a android and ios app with react native, but it would take slightly more time.

## Final thoughts
If you have to create a website like a blog application or a e commerce app FAST django should be your choice but if you aren't hurried and want to create a big application then mern should be your choice both slow and complicated.
Microsoft Learn Azure Health Bot – LIVE – LearnTV
Tags: azure, cloud, ai, tutorial
Published: 2021-08-01 08:11:44

Azure Health Bot enables users to build a health bot by using built-in or custom scenarios. In this 4 part series we will explore different learning paths that will guide you through the creation of both a basic and enhanced health bot. You'll learn about language understanding and how to use both built-in and template scenarios.

Live on [LearnTV](https://aka.ms/learntv)
Location: Global
Format: Livestream
Topic: AI Services
[Register Now](https://developer.microsoft.com/en-us/reactor/eventseries/AzureHealthBot/?wt.mc_id=twitter_AzureHealthBot_organicsocial_reactor)

### Upcoming Events

Be part of the action live! Register for online sessions delivered by technical experts on the latest developer topics. Ask questions, gain knowledge, and improve your skills, all in real time.

#### Part 1: Introduction of Azure Health Bot and building first bot
2 August 2021 | 08:00 AM – 09:00 AM (British Time)

#### Part 2: Adding Scenarios to a Azure Health Bot
9 August 2021 | 08:00 AM – 09:00 AM (British Time)

#### Part 3: Enhancing your Azure Health Bot
16 August 2021 | 08:00 AM – 09:00 AM (British Time)

#### Part 4: Showcasing how people are using Azure Health Bot
23 August 2021 | 04:00 PM – 05:00 PM (British Time)

--------

Live on [LearnTV](https://aka.ms/learntv)
Microsoft Learn Learning Path: [Create intelligent health bots with Azure Health Bot](https://docs.microsoft.com/el-gr/learn/paths/create-bots-azure-health-bot/)

**[Register Now](https://developer.microsoft.com/en-us/reactor/eventseries/AzureHealthBot/?wt.mc_id=twitter_AzureHealthBot_organicsocial_reactor)**
Looking for an easy way to deploy your Dev build React project?
Tags: heroku, github, vscode, react
Published: 2021-08-01 07:58:15

Assuming you already have an account on Github and Heroku
1. Create a new repository on github,
2. Open your terminal and navigate to your React project,
3. The below commands will initialize  your project with github and link it to the repository you created in step 1.
==========================================================
FOR THE FIRST PUSH ONLY
git init 
git add .
git commit -m "my first commit message, can be any message"
git remote add origin https://github.com/repositoryName.git
git remote set-url origin https://github.com/yourGithubUserName/repositoryName.git
git push origin master
git push --set-upstream origin master

FOR THE SECOND PUSH ONWARDS, YOU WILL NOW USE:
git add .
git commit -m "changes made in the files being committed"
git push
==========================================================
4. On Heroku, create a new app and give it a name of your choice (NB: name will be used to create a subdomain for your app)
5. Connect the Heroku App with your Github repo created in step 1.
6. Allow auto deploy so that whenever you do a git push, those changes will now reflect on Heroku as well.
7. After build is success, use the url given or simply visit
YourHerokuAppName.herokuapp.com

Remember, you will only be using the below 3 commands onwards after this:
git add .
git commit -m "changes made in the files being committed"
git push

HAPPY CODING! 👨‍💻
Launched my first product 🔥
Tags: productivity, chromeextension, javascript
Published: 2021-08-01 07:32:05

I have created my first ever Chrome extension called **Page Pad**.

I launched it on **Product Hunt** few weeks ago and it was featured at **#4** Product of the day!
 
[**Page Pad**](https://pagepad.netlify.app) is a productivity tool for creating notes on any web page you visit. It allows you to edit and organize notes for a particular web page and also notifies if the user has already created notes for the current web page. Re-visit any web page where notes were created and all your notes will be present as it is from where it was left off!

{% youtube pDERICRJcf8%}

FEATURES:

📝 Create notes for individual web pages.
🔍 Refer to notes of all web pages of a website at once!
🌟 Rich text editor
✍🏽 Fully editable notes
💾 Autosave feature
⚡️ Works offline
♿️ Keyboard accessible
🌈 Custom themes

[Download the extension from here](https://chrome.google.com/webstore/detail/page-pad-make-quick-notes/igobdfagkcadgcfooegonbbeeggagakn?hl=en&authuser=0) and any review or feedbacks are most welcomed!
Day 7 - Some ugly problems
Published: 2021-08-01 07:24:07

###Day 7 - Some ugly problems

Problems and my solutions can be found in my GitHub repo along with all other problems I have solved till date.

####Problem 1 - Prime Arrangements (Easy)
[Leetcode](https://leetcode.com/problems/prime-arrangements)
[GitHub link to problem and solution](https://github.com/abh1navv/leet-code/tree/master/prime-arrangements)

####Problem 2 - Ugly Number (Easy)
[Leetcode](https://leetcode.com/problems/ugly-number)
[GitHub link to problem and solution](https://github.com/abh1navv/leet-code/tree/master/ugly-number)

####Problem 3 - Ugly Number II (Medium)
[Leetcode](https://leetcode.com/problems/ugly-number-ii)
[GitHub link to problem and solution](https://github.com/abh1navv/leet-code/tree/master/ugly-number-ii)


You can connect with me at &nbsp;
[LinkedIn](https://www.linkedin.com/in/abh1navv)
[Twitter/@abh1navv]
(https://www.twitter.com/abh1navv)