teleren/devto huggingface dataset:
Daily Developer Jokes - Wednesday, Jul 14, 2021
Tags: jokes, dailydeveloperjokes
Published: 2021-07-14 12:00:29

---
title: "Daily Developer Jokes - Wednesday, Jul 14, 2021"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Wednesday%2C%20Jul%2014%2C%202021"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e1259ab8700f.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*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___: Why was nobody given food at the developer conference?

___A___: It was a serverless function!
 -->
Wednesday Links - Edition 2021-07-14
Tags: java, kotlin, jpa, microservices
Published: 2021-07-14 11:59:13

Moduliths 1.1 released (4 min read) 🗿
http://www.odrotbohm.de/2021/07/moduliths-1.1-released/

4 ready-to-try Java tools your team may not know about (4 min read) 🧰
https://blogs.oracle.com/javamagazine/java-tools-jdeprscan-jlink-jpackage-jfr

Express JPA Queries as Java Streams (5 min read) 🚿
https://piotrminkowski.com/2021/07/13/express-jpa-queries-as-java-streams

Blaze Persistence – the best way to write JPA Criteria queries (3 min read) 🔪
https://vladmihalcea.com/blaze-persistence-jpa-criteria-queries

Kotlin’s “internal” Visibility Modifier and Java Interoperability (2 min read) 🛂
https://4comprehension.com/kotlins-internal-visibility-modifier-and-java-interoperability

Kotlin flow: Nesting vs Chaining (5 min read) 🔗
https://krossovochkin.com/posts/2021_07_08_kotlin_flow_nesting_vs_chaining/

Visitor Pattern Considered Pointless - Use Pattern Switches Instead (7 min read) 🔀
https://nipafx.dev/java-visitor-pattern-pointless/
🌞 Java I/O with java.io Package
Tags: java, tutorial
Published: 2021-07-14 10:30:10

In this video, we'll look at the java.io package. This package implements input and output through streams of data.

I'll go over various classes in the java.io package that allows us to perform operations on data streams. I'll explain the hierarchy of these classes and show how to use them together in a program to perform IO.

{% youtube f7PrLM2d6HQ %}


[Oracle java.io Documentation](https://docs.oracle.com/javase/8/docs/api/java/io/package-summary.html)

----
And that is it, folks. Let me know your takeaways from the video. If you have any other video or article ideas, comment on them too. Oh, BTW, do you want to learn Bash? Here's my crash-course post on Shell Scripting:

{% link https://dev.to/godcrampy/the-missing-shell-scripting-crash-course-37mk %}

----
🌟 I made some [Cheat-Sheets](https://github.com/godcrampy/cheat-sheets)
🚀 Stalk me on [Youtube](https://www.youtube.com/c/SahilBondre) | [Github](github.com/godcrampy) | [Twitter](twitter.com/godcrampy) | [Website](sahil.surge.sh)
😄 Have a wonderful day!
Login failed for user
Tags: springboot, java, sqlserver
Published: 2021-07-14 11:38:36

iam facing error like Could not get JDBC Connection; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user ''. ClientConnectionId:33d60d81-bee7-44b9-94ef-45d9abe8ff20



iam uploading here the image of application.properties for reference if anyone within community want some more information kindly ping me
Teams are not a constant, but a living and changing being
Tags: leadership, management
Published: 2021-07-15 12:48:01

---
title: Teams are not a constant, but a living and changing being
published: true
date: 2021-07-14 11:31:28 UTC
tags: leadership, management
canonical_url: https://kennethlarsen.org/teams-are-not-a-constant
---

Dealing with team changes can be very frustrating. Sometimes, it leads to a lack of delivery, decreased team mood, or even people quitting. There are a few things to be especially aware of when your team is going through change. Being open-minded to these frameworks can make a difference.

A widespread mistake is to assume that your work is done once your team is delivering features. Teams are never in a finished or constant state but rather something living and ever-changing. Many events can cause a change in the team dynamics, productivity or mood:

- New people joining the team
- People leaving the team or the company
- Changing priorities
- Real-world events such as the Corona pandemic

Thankfully, there are also great frameworks to help you understand where your team currently is and how to help them move towards becoming a healthy and productive team:

- [Tuckman's stages of group development](https://en.wikipedia.org/wiki/Tuckman%27s_stages_of_group_development#Group_development)
- [Four stages of a team](https://lethain.com/durably-excellent-teams/)

To set up your team for success, you need to match the team changes with a change in expectations. Whether it is about changing the scope or team members, changes to a team should change expectations equal to the team change. This provides the much-needed space to get back on track to becoming a productive team.

* * *

## References

Hogan, Lara; Resilient Management

Larson, Will; An Elegant Puzzle: Systems of Engineering
Document your applications with Docusaurus
Published: 2021-07-14 11:25:32

Docusaurus will help you ship a beautiful documentation site in no time. Building a custom tech stack is expensive. Instead, focus on your content and just write Markdown files. Use advanced features like versioning, i18n, search and theme customizations.

Docusaurus is a static-site generator. It builds a single-page application with a fast client-side navigation, leveraging the full power of React to make your site interactive. It provides out-of-the-box documentation features, but can be used to create any kind of site (personal website, product, blog, marketing landing pages, etc).

https://docusaurus.io/docs
Possible solution for error - Bootstrap modal: is not a function
Published: 2021-07-14 11:22:22

Run
```
npm i @types/jquery
npm install -D @types/bootstrap
```
in the project to add the jquery types

```
import * as $ from "jquery";
import * as bootstrap from "bootstrap";
```

and import this too

```html
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
```
Vue: Using localStorage with Vuex store
Tags: vue, javascript
Published: 2021-07-14 11:08:42

If you work with vue it is likely that already have used vuex. The unique problem is when do you need make a refresh on page. Because this looked for solutions to solve this problem.

I found this article, its solved my problem, i expect tha serves for you too.

https://www.mikestreety.co.uk/blog/vue-js-using-localstorage-with-the-vuex-store
Nest JS Microservice || 12 Factor App
Tags: nestjs, node, javascript
Published: 2021-07-14 10:51:59

![nestjs microservices ](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/la9wbphkovb5z78zz3k4.jpg)

### Apply 12 Factor App principles on NestJS Microservice
Playlist Link : https://www.youtube.com/watch?v=kROllv22WHw&list=PLIGDNOJWiL18srI6BmFLfwDPvorTmyQ_c

In this playlist we will talking about microservices development with 12 factor app 
https://github.com/tkssharma/12-facto...
We are using nestjs 
- we will build nestjs app from zero
- we will make nestjs app having everything setup 
- docker with nestjs and test setup with jest
- linting using eslint
- migration with typeorm 
- postgres database with nestjs/typeorm
- security of apis
- health check of apis
- monitoring and log trace for apis
- managing env configurations 
- managing deployment with graceful shutdown
- managing CI pipeline for application

Once we are done with basic setup with all above 
we will 12 factor principles to this application 
I. Codebase
II. Dependencies
III. Config
IV. Backing services
V. Build, release, run
VI. Processes
VII. Port binding
VIII. Concurrency

We are writing test cases unit and integration and wil setup CI/CD 
to deploy application to heroku with postgres
Object Oriented Programming with a Real-World Scenario - Part 1
Tags: oop, programming, csharp, beginners
Published: 2021-07-14 10:45:38

In interviews, young programmer are asked for a real world scenario explaining OOP and many fail to answer. This is the reason I am writing this article. This article is mainly intended for the audience who knows the Object Oriented Programming (OOP) concept theoretically but are unable to link it with real world & programming world.

We write programs to solve our problems and get our work done.
 
Object Oriented Programming is considered as a design methodology for building non-rigid software. In OOPS, every logic is written to get our work done, but represented in form of Objects. OOP allows us to break our problems into small unit of work that is represented via objects and their functions. We build functions around  objects.
 
There are mainly four pillars (features) of OOP. If all of these four features are presented in programming, the programming is called  perfect Object Oriented Programming.
* Abstraction
* Encapsulation
* Inheritance
* Polymorphism

Let's consider an example explaining each of these pillars so you can better understand Object Oriented Programming.
 
Before that, we need to know something. 
 
When we think of a mobile phone as an object, its basic functionality for which it was invented were Calling & Receiving a call & Messaging. But now a days thousands of new features and models were added and the features and number of models are still growing.

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

In above diagram, each brand (Samsung, Nokia, IPhone) have their own list of features along with basic functionality of dialing, receiving a call and messaging.
Remote onboarding with the buddy system
Tags: career, productivity, beginners, learning
Published: 2021-07-14 10:45:34

You can determine how good your documentation is by how fast a new developer is up to speed with your projects. Making sure a new developer feels at home and gets brought up to speed requires time and effort. This can be especially hard in remote times. How can you make sure a new hire does not get lost in the remote onboarding? Simple! Use the buddy system.

### What is an onboarding buddy?

An onboarding buddy is a person that is the first point of contact for the new hire. Their primary goal is to make sure the new hire gets all the information they need.

One of the most important parts of the buddy is being the first point of contact. As a new hire, you have no idea who to contact for what. If you are at the office you can take a walk through the office and meet people. This is more difficult in a remote setting. The buddies goal is to help the new hire with this struggle. Point them to the right people.

The next part of the duties of a buddy extends from being the point of contact. Making introductions is the next step here. If you have not met any coworkers it can be quite challenging to schedule a meeting with them. As a buddy introduce the new hire to all coworkers they will collaborate with.

![Introductions being made](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/boddrtj6nq3l1wfg2vaj.jpg)
Introductions being made

Every business has its own context. For an outsider, some decisions that were made will make no sense. At my current company, we have some terminology that can be quite confusing. New hires usually struggle with this if someone did not explain it properly. Luckily as a buddy, you can provide the business context on why things are the way they are.

Even if you have the best documentation, new hires will still have questions. Make sure you can explain how the project works. Help them set up their local environments. And guide them towards a beginner-friendly bug ticket to pick up.

### In conclusion

Onboarding during a pandemic is more challenging than usual. An onboarding buddy is a great way to make sure a new hire gets all the help and support they need. Or as we say in the Netherlands "A good start is half the work". With an onboarding buddy, you make sure your new hire is set up for success at your company!

If you are interested in more of my blog posts, check out the [5 stages of conflict and how to resolve them](https://blog.jellesmeets.nl/articles/the-5-stages-of-conflict-and-how-to-successfully-resolve-them/) blog post.
How to Find the Best Billing and Invoicing Software For You?
Tags: billing, software, invoice
Published: 2021-07-14 10:03:32

How to Find the Best Billing and Invoicing Software For You

Choosing the best billing software amongst the plethora of software available is a difficult decision. After all, the billing represents the virtual image of your professional work. Bills softly speak volumes as they represent the line of businesses and their operation. Also, various other reasons can help you evaluate the basic tuning of choosing the most beneficial Billing and invoicing software.
Here is a list of factors that may play a crucial role in deciding the best-suited software-
1.	Clients and Work
The basic and the foremost factor affecting your choice is the Work and clients you deal with. If you are in a business that requires a more frequent need of issuing the bills, you may have to make a choice wisely. Some software being paid, dupe you with certain plans and payments that restrict you to issue only a certain number of invoices. Alternatively, Choose Catsbill, a lifetime [free Gst invoice generator](https://www.catsbill.com/online-gst-invoice-generator-india.html) that doesn’t limit you to issue bills.
 
2.	Efficiency and Automation
As we are so much busy in our daily routines and handling clients for smooth functioning, there is a need for the most efficient and automated software. Automation can help you save the time of filling in the important details of clients every time you need to issue a bill. Recurring bills must be processed efficiently without providing a hindrance.
 
3.	Inventory tracking
Every time you issue a bill, you get the exact figure as to what amount of your inventory is left. Isn’t it sound that half the battle is won. Getting automated inventory status from billing software sounds quite interesting. Inventory tracking makes you updated with the stock available so as to remind you of making a fresh order timely.
 
4.	GST Compliant Accounting
After adding in the details of quantity and price, the billing software provides you the bills that are compliant with GST. A bill is treated with IGST, SGCT, and IGST when applicable. Hence, providing the users with the exact value of the bill and taxation charged upon it. Such Softwares help you save on time, working with the figures and struggling to get on the exact amount of Taxation.
 
Conclusion
So, which is the best billing and invoicing software available in the market today?
 
Undoubtedly, it is [Catsbill](https://www.catsbill.com/lifetime-free-gst-billing-software.html).  An open [Invoicing](https://www.123articleonline.com/articles/1197735/checklist-gst-invoice-20201) and billing software that is lifetime free, efficient, and easy to operate. With no plans to charge you in any way and lots of features at your disposal, Catsbill offers you the most comprehensive virtual assistant. It can accommodate different business sizes backed with efficiency and accuracy.
5 best Frontend and Backend frameworks in 2021

Tags: react, angular, reactnative, webdev
Published: 2021-07-14 09:50:49


Web development- A necessity

The necessity list for the business has got one more addition to its list and that is web development. With the Covid 19 pandemics, it became inevitable for businesses to maintain and operate without the online presence. Only the Brands that we're able to make up to this change, strived to handle this change, while others faced the consequences.
With abundant web development frameworks to choose from, there is always a difficult decision to choose the one best suited for the brand and website needs. From building an outperforming website with React to developing a simple static website, one needs to dig into the most suited framework for your project in hand.

1.	React js
React js is a wonder product of Facebook that got revealed to the web world in 2013. Since its introduction, it has been welcomed with open hands and now is the current favorite of all [React js developers](https://www.sifars.com/services/react-js-developer). Further, as it provided cross-platform mobile development with React Native, it made its established position as the best development framework for making websites and mobile apps.
 
2.	Angular
Google in 2010 introduced the most beautiful framework. Thereafter Google has been consistent in adding further more updates to the basic framework. Angular provides the most comprehensive set of features and functions that make it favorable for [Angular web developers](https://www.sifars.com/services/angular-development-company) to opt for it as the most convenient yet performing website development framework.
 
 
3.	Vue Js
Necessity is the mother of invention. As Angular accompanied varied complexities in its application, Vue js as a javascript library was introduced by one of Google's employees.
Vue Js represented the most simple and [versatile web development](https://catsbill.livejournal.com/961.html) framework due to its compatibility feature and simple syntax and Integration.
 
4.	Ember Js
Ember js is one of the most performing javascript frameworks that contain both HTML and CSS in its development model. It was first launched in 2011 as a productive framework, later With further revision and updates Ember Js in 2015 offered more stabilization. It actually made possible to develop, maintain and reuse Javascript web apps with prudent web standard.
 
5.	Backbone js
If one wishes to use the lightest yet performing javascript framework it would be Backbone js for sure. It is based on Model View Presenter (MVP) and helps in automatically updating the HTML code. Backbone Js delivers impactful web applications using jQuery while omitting the tedious coding.
 
 
Now, needless to say, one always needs a professional insight into choosing the best framework for the website. We have the best team of technological experts at [Sifars](https://www.sifars.com/services/web-design-development-service) who can always help you make the decision of choosing the best-suited framework for your needs.
CRUD Operation with Array in JavaScript
Tags: javascript, array, crud
Published: 2021-07-14 09:37:48

## Create
Create an array. It will contain programming languages.

```
const programmingLanguages = ["JavaScript", "Python"];
```

## Read
We have a lot of options to read it.

**Print the entire array in a referenced way.**

```
console.log(programmingLanguges); // (2) ["JavaScript", "Python"]
```

**Print the first item by using `index`**

```
console.log(programmingLanguages[0]); // JavaScript
```
**Print all items by using `for` loop**

```
for(var i = 0; i<programmingLanguages.length; i++) {
    console.log(programmingLanguages[i]);
    // JavaScript
    // Python
}
```
> The above snippet will print all items of the array individually.

**Print all items by using `forEach()`**
Cleaner way to print all items.
```
programmingLanguages.forEach((item, index) => {
     console.log(`${index}. ${item}`);
     // 0. JavaScript
     // 1. Python
});
```
### Add New
Let’s add a new language to the array using push().
```
programmingLanguages.push("Java");
// ["JavaScript", "Python", "Java"]
```
## Update
Let’s update java with C# using `splice()`

```
programmingLanguages.splice(2, 1, "C#")
// (3) ["JavaScript", "Python", "C#"]
```
> `splice()` is used to add, update or delete an item from the array.
- The first parameter selects the item by index
- 2nd parameter selects the number of items
- 3rd parameter add a new item of the selected item

[splice](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice)

## Delete
Let’s delete the C# from the language array.
We will use `splice()` again but this time we will pass only 2 parameters.

```
programmingLanguages.splice(2, 1);
// (2) ["JavaScript", "Python"]
```

> ${HappyCode}
RenderToNodeStream and http status codes
Tags: react
Published: 2021-07-14 09:14:31

Hi,

I would like to implement streaming rendering to our app.
However, as far I know it is not possible to change http status code during rendering and streaming.

It means if I start streaming, it sends 200 to the browser, and even if during rendering something will happen, we cannot change status to 500 or 404. 

How are people dealing with this in the case of streaming rendering?
Streaming rendering is highly recommended by the google team for improving core web vitals, but on the other hand, it's not SEO friendly at all.  

Here is example code:

```
res.write(htmlHeader);

const renderingStream = renderToNodeStream(<App />);

renderingStream.pipe(res);

renderingStream.on('end', () => {
 res.end();
});

// I am tracking error a bit differently, it is just example
renderingStream.on('error', () => {
  res.status(500);
});
```
NPM - Meet my friend paul 👨‍🦰 👨‍🦰
Tags: showdev, opensource, javascript, news
Published: 2021-07-14 09:13:35

*Make Paul appear on your page when you click*

- **Repo** - [https://github.com/luctst/paul](https://github.com/luctst/paul)
- **Package** - [https://www.npmjs.com/package/@luctst/paul](https://www.npmjs.com/package/@luctst/paul)

---

## Why ?

I have a friend called Paul, he loves beer and he works hard everyday, so I decided to honor him with this little package each time you'll click on a DOM element my friend Paul will appear randomly on your web page :) Enjoy !!

it is him 👇
![My friend paul](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/73z2h4bv9exo87g0spgn.jpg)

## Install 🚀

Use Paul via a CDN by including this script:

Add this script just before your `</body>` closing tag:

```jsx
<script crossorigin src="https://unpkg.com/@luctst/paul/umd/paul.client.min.js"></script>
```

You now have access to the Paul() function to see how to use it check the api section below.

## Example 🖍

```html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Hi Paul 👨‍🦰</title>
</head>
<body>
    <script crossorigin src="https://unpkg.com/@luctst/paul/umd/paul.client.min.js"></script> 
    <script>
        Paul();
    </script> 
</body>
</html>
```

## API 🧑
### Paul([DOMElement], [friends])

The `Paul` function create an img with my friend Paul.

- `DOMElement` {HTMLElement, optional} - If this argument is specified the `click` event will be attached on this DOM Element.
- `friends` {Array, optional} - If this argument is specified the function will display randomly an img from the `friends` array.

## Contribute 🍰
If you want to add other pictures, please do not hesitate to PR some pictures in this folder [https://github.com/luctst/paul/tree/master/static](https://github.com/luctst/paul/tree/master/static)

---

Happy coding ✨ 🦄