teleren/devto huggingface dataset:
A Quick 10-Second Programming Joke For Today
Tags: jokes, dailydeveloperjokes
Published: 2022-11-21 08:00:06

---
title: "A Quick 10-Second Programming 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/5e12597fe0374.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:___ Where do developers drink?

___A:___ The Foo bar
 -->
Release 0.3 Code Reviews
Tags: beginners, opensource, javascript, vscode
Published: 2022-11-21 05:19:03


As a part of my release 0.3 for OSD600, I had to create 2 code reviews for internal Seneca College open-source projects. Both of my  code reviews were for [vscode-seneca-college](https://github.com/Seneca-CDOT/vscode-seneca-college). 

## My Reviews
[The first review](https://github.com/Seneca-CDOT/vscode-seneca-college/pull/13#pullrequestreview-1186590432) I made was for a pull request for creating a readme and contributing documents. My review comments were concerned mostly more on grammar and formatting. With documentation, some things may be unclear especially instructions for setup. This can cause a lot of confusion, especially when many people will be reading that documentation. That's why it's very important for documentation not only to be accurate but clear to the reader as well as to avoid confusion. 

[The second review](https://github.com/Seneca-CDOT/vscode-seneca-college/pull/14#pullrequestreview-1187332031) I did was for a pull request adding a snippet for a Visual Studio Code extension. I was not really familiar with how snippets worked initially, so I had to do some reading on them before doing this review. The code in the pull request looked similar to the documentation example, and testing it seemed to function properly. My issue with the the pull request was with the terminology used in it. The term "course" seemed more appropriate to me than "Class" in that context, and the change I suggested was made. 

## What I learned
I learned what is possible for code reviews, they are not always purely technical or even coding related. I can help by proofreading and improving the readability of not just code contributions but documentation contributions as well. I can learn from code reviews as well. By testing code contributions and reading their related documentation, I can learn things I didn't know before. I learned what it is like on the other side of a pull request as well. Having to read other's code and provide suggestions if necessary was a much different experience than actually contributing to another's code.
10 FREE SVG Icon Libraries For Front-End Developers
Tags: frontend, webdev, css, svgicon
Published: 2022-11-21 07:57:57

1. [**Ionicons:**](https://ionic.io/ionicons) The premium icon pack for Ionic Framework. Ionicons is an open-sourced and MIT-licensed icon pack.

2. [**700+ CSS Icons:**](https://css.gg/) Pure CSS icons library, Customizable & Retina-Ready built 100% in pure CSS, SVG, SVG Sprite, styled components, Figma, and Adobe XD. Easy integration: Embed, NPM & API.

3. [**SVG Repo:**](https://www.svgrepo.com/) Free Vectors and Icons in SVG format.  Download free mono or multi-color vectors for commercial use. Search in 300.000+ Free SVG Vectors and Icons.

4. [**Feather:**](https://feathericons.com/) Feather is a collection of simply beautiful open source icons. Each icon is designed on a 24x24 grid with an emphasis on simplicity, consistency, and readability.

5. [**Eva Icons:**](https://akveo.github.io/eva-icons/) Eva Icons is a pack of 480 delightful icons available for free. Download Eva Icons to use them in your products for mobile and web apps. Available as SVG, PNG, Web Font, and Sketch.

6. [**Heroicons:**](https://heroicons.dev/) New MIT Free open source SVG icon library designed by Steve Schoger. Solid and stroke variants, one-click copy-paste, and Figma file. Built with Tailwind CSS.

7. [**Font Awesome:**](https://fontawesome.com/) The world’s most popular and easiest to use icon set just got an upgrade. More icons. More styles. More Options.

8. [**Bootstrap Icons:**](https://icons.getbootstrap.com/)  Official open source SVG icon library for Bootstrap.

9. [**Iconscout:**](https://iconscout.com/unicons/explore/line) 4500+ free vector icons - Unicons in Line, Monochrome, Solid, and Thin Line style by Iconscout.

10. [**Remix Icon:**](https://remixicon.com/) Remix Icon is a set of open-source neutral-style system symbols elaborately crafted for designers and developers. All of the icons are free to use for both personal and commercial.
Producthunt launch
Tags: producthunt, saas, webdev, productlaunc
Published: 2022-11-21 07:51:26

Super excited to share Black Friday update of Vadoo 3.0 with you. We've been working on our new update for close to 4 months to level-up our product.


❓ 

## The problem

Creators and brands need to host content online and
building scalable online video solutions is hard and expensive and platforms like YouTube push your users away to your competition with Ads and suggestions.

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



✅ 

## Our solution

1. All in one solution ad-free solution for your video needs
2. We allow your record or upload existing videos
3. We encode and optimize videos to distributed across different locations and devices
4. We provide marketing tools to market and build a deeper relationship with your users


👻 

## How it works

You can build your video solution in just 3 steps 👇

☝️ Upload your videos or podcasts using our dashboard

✌️ Get your embed code or link

🙌 Integrate it on your blog, website, notion, webflow email or our landing page 🚀


⚙️ Integrations

We allow you to integrate with video platforms to import your videos, push marketing leads and publish videos.

- Link or import videos from YouTube, Gdrive, Vimeo, AWS S3
- Connect with other apps using Webhooks, APIs and platforms like Zapier & Integrately
- Publish videos on Notion, Facebook, twitter, Linkedin and other social media platforms

Vadootv is for?

- Online Courses: Easily start an online class. Record yourself or your screen and share
- Marketing: Record quick product demos & onboarding videos and spread your word
- Support: Support your users better with tutorials and help videos
- Sales: Send personalized video pitches. Ditch those emails, send across quick videos
- Remote Communication: Skip long chats, accelerate team communication with videos


[VadooTv Producthunt Launch](https://www.producthunt.com/posts/vadoo-3-0)
B2B data services
Tags: beginners
Published: 2022-11-21 07:42:27

Put Smart to work with our enriched and highly targeted B2B data services Target your niche audience with our email marketing, lead-gen, list building, and overall data experience and make it versatile  Be seasoned executives, professionals, strategists or lead gen marketers, B2B data services is meant to get you the best results  Stay aligned with the latest marketing trends and figure out thea preferences of your target group   https://www.b2bdatapartners.com/
https://www.b2bdatapartners.com/technology-lists/
https://www.b2bdatapartners.com/b2b-executives-lists/
https://www.b2bdatapartners.com/healthcare-lists/
https://www.b2bdatapartners.com/european-lists/
https://www.b2bdatapartners.com/professional-lists/
https://www.b2bdatapartners.com/international-lists/
https://www.b2bdatapartners.com/women-executive-lists/
https://www.b2bdatapartners.com/industry-wise-lists/
https://www.b2bdatapartners.com/information-technology/
https://www.b2bdatapartners.com/healthcare/
https://www.b2bdatapartners.com/industry-wise-lists/
https://www.b2bdatapartners.com/data-appending/
https://www.b2bdatapartners.com/contact-appending/
https://www.b2bdatapartners.com/list-management/
B2B Data Marketing 
B2B Data Partners 
Data Solutions  
B2B Data Solutions 
Reliable B2B Data Bulk Data Verification 
Business Contact Verification ServicesData Management ServicesB2B Mailing DatabaseData Search 
Customized Leads Search 
Custom Data SearchIT Lead Search 
Technology Lead Search 
B2BdataprtnersLead Management Services 
Email list for B2B Lead generation ServiceBanking and Finance Industry 
 US Finance and Banking mailing list
Ignore RuboCop Changes in git blame
Tags: programming, git
Published: 2022-12-20 20:40:34

---
title: Ignore RuboCop Changes in git blame
published: true
date: 2022-11-21 00:00:00 UTC
tags: programming,git
canonical_url: http://calebhearth.com/rubocop-git-blame
---

Have you ever run `git blame`, looked at the commit for a line, and seen some big refactoring or formatting commit? It’s so frustrating not to be able to find the useful context on changes when this happens. When adding StandardRB or RuboCop, or when making changes to your `.rubocop.yml` configuration, you’ll probably end up with a large commit like this that doesn’t include valuable context when spelunking history.

Enter `.git-blame-ignore-revs`. The format of the file is just a list of commit SHAs. The file will automatically cause GitHub to ignore the corresponding commit when in their blame view. You can also configure Git to ignore these commits by setting `blame.ignoreRevsFile`.

```
git config blame.ignoreRevsFile .git-blame-ignore-revs

```

One catch is that because git config is not part of the repository, each person using the repo will need to set this config on their own. Also note that `git blame` will error if the file isn’t present, so this is not a good candidate for global configuration.

Now, `git blame` and GitHub will ignore these big formatting commits. Never worry about mass reformatting again!
Bóng đá - Tin tức, lịch thi đấu, BXH mới nhất 2022
Published: 2022-11-21 07:35:01

https://thethao247.vn/bong-da Tin bóng đá 24h mới nhất - Cập nhật lịch thi đấu✔️ link trực tiếp bóng đá✔️ kết quả✔️ bảng xếp hạng các giải đấu bóng đá hàng đầu thế giới✔️✔️✔️
https://matters.news/@bongdathethao24
https://penzu.com/public/6adc8fe7
https://bongdathethao247.amebaownd.com/
https://peatix.com/user/14590108/view
Adapt Hybrid Working With Guaranteed Employee Productivity!!!!!!
Tags: employee, monitoring, productivity, tracking
Published: 2022-11-21 07:26:00

According to a survey, 44% of employees choose hybrid working, but the main task with hybrid working is to keep your employees productive. **Employees enjoy hybrid working better than office or remote working**. Because it is a proper blend of remote working and office working, it makes working very flexible for employees, as they apply for WFH whenever they cannot attend physical office. But, as much as the employees enjoy it, managers and employees find it very difficult to manage their employees in a hybrid model. Because that way, they have to monitor their employees working at the office and the employees working from home. And that is quite a difficult task for an employer.

[](https://we360.ai/blog/adapt-hybrid-working-with-guaranteed-employee-productivity)
Monty Hall didn't make sense so I made my own simulator
Tags: webdev, beginners, programming
Published: 2022-11-21 07:17:50

If you're not familiar with the Monty Hall problem, here's a short [introduction](https://www.enricodelarosa.tech/montyvid.html).

Check this [link](https://www.enricodelarosa.tech/play/montyhallgame/) out if you want to try playing the game first.

If you google the solution to the monty hall problem it will say that the best strategy is to switch every time. If you switch, there's a 66% chance that the car is behind the door you switch to. If you don't switch and stay on the door you chose, then you only have 33% chance of winning.

THIS DID NOT MAKE SENSE TO ME AT ALL. Why would switching give me a higher chance of winning? Is it irrelevant because I'm only playing one game? How can the answer be true?

You can try looking up the binomial distribution function for this but I didn't think that would convince me either. So I embarked on a quest to see the probabilities for myself. I started by making a monty hall game then I added a [simulator](https://www.enricodelarosa.tech/montyhallsimulator) that would play the game multiple times with the two strategies. I played each strategy 2,000 times and the graph said it all.

![Switch vs Stay Graph](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p9ot36gw7c6uef3aic2s.PNG)

At first it seems irrelevant if you switch or not but the truth is that switching or staying has a significant impact on the outcome. This makes me wonder how often this phenomenon happens in real life where our choices are seemingly irrelevant but in fact have significant impact on the outcomes.

Building the game was pretty straightforward except for the fact that I had to make my own svg images for faster loading. Adding the simulator was also straightforward except that I had to slowdown the clicks in the loop so that they would be seen by the user otherwise, it would just do it really really fast without showing that the game was played.
What Is Revive Daily?
Published: 2022-11-21 07:11:46

The truth is that doing this is one of the oldest forms of that in existence. I had brainstormed that I would like to cease talking about it. In these posts, I'll walk you through the entire Revive Daily process. That did not work for me previously. The formula will not fail to astonish everybody. By what means do people procure sloppy Revive Daily Reviews directions? That is a legitimate source of this cause. They're really an unsung hero. Anyhoo, what does some duty do for you? This was the most recent fad. Perhaps I am. 

https://www.tribuneindia.com/news/brand-connect/revive-daily-deep-sleep-supplement-worth-buying-real-results-and-ingredients-exposed-450912

https://revivedailybenefits.tumblr.com/
https://healthylifethought.blogspot.com/2022/11/revive-daily-reviews-shocking-results.html
https://revivedailybenefit.wordpress.com/
https://revivedaily.zohosites.com/
https://revive-daily-ingredients.jimdosite.com/
https://revivedailybenefits.mystrikingly.com/
https://sites.google.com/view/revivedailybenefit/
https://groups.google.com/g/revive-daily-benefits/c/6zhiv2VPRpU
https://colab.research.google.com/drive/1sqrti9XvZqoVIe5iPf5in9EMniC8Yka1
https://datastudio.google.com/reporting/766ebc7e-2141-4b8e-9906-42edfaf5abc1/page/iqM8C
https://www.crunchbase.com/organization/revive-daily-results
https://techplanet.today/post/revive-daily-reviews-2022-us-why-should-you-buy-this-product-know-everything-here
https://twitter.com/revivedailyinfo
https://www.facebook.com/profile.php?id=100087921437126
https://www.pinterest.com/pin/966162926285662626/
https://issuetracker.google.com/issues/259835915
CSS selector
Tags: leaning
Published: 2022-11-21 06:55:12

Selectors in CSS:
selector in css is very important to make web page good in term of look. it's make easy to target which part we want to style or change. 
**Type of selector**
Universal selector
Individual selector 
Class and I'd selector 
Combined selector
Inside an element 
Direct child 
Sibling ~ or +

**Universal selector**: It's select every thing on canvas. 
`*{
    background-color:black;
    color: white;
`
it will change our background in black and fonts will be white.
use of this selector is change web page background color and if we want same fonts on page than we use universal selector.
Individual selector : This selector  is use when we want change in tag like <p>, <div> etc. but it will change in all tag's like we use 5 "p" tag or 5 "div" than all 5 will b change 


**Class and I'd selector**:
This selector use for id attribute in html,

```
<style>
#my1 {
        background-color: #ef9323;
        color: #FFFFFF;
        }
</style>
<html>
<body>
<div id="my1">Hello</div>
</body>
</html>
```
only "Hello" will be change but if we use multiple <div id="my1"> than all <div id="my1"> will change.


**Combined selector**: When we want to select multiple tag by use just one CSS we use combined selector. syntax.

```
<style>
span, li {
        background-color: burlywood;
      }

 </style>
<html>
<body>
<span>Span is just a span, nothing more</span>
<ul>
      <li >item1</li>
      <li >item2</li>
      <li >item3</li>
      <li >item4</li>
      <li>item5</li>
    </ul>
</body>
</html>
```
Only "Span is just a span, nothing more" and "item" will change.
**Inside an element **

```
div ul li {
        background-color: #yellow;
      }
<html>
 <div>
      <p>lorem</p>
      <li>awesome</li>
      <ul>
        <li>highlight me 1</li>
        <li>highlight me 2</li>
      </ul>
    </div>
```
in this selector only highlight me 1 and highlight me 2 change
Data types in JavaScript
Tags: javascript, datatypes
Published: 2022-11-21 06:36:26

### Primitive Data Types :

Primitive data types in JavaScript include:

1. Numbers - Integers, floats
2. Strings - Any data under single quote, double quote or backtick quote
3. Booleans - true or false value
4. Null - empty value or no value
5. Undefined - a declared variable without a value
6. Symbol - A unique value that can be generated by Symbol constructor

Examples :

```jsx
//numbers
let number = 10;

//strings
let name = "Manthan";

//boolean
let value = true/false;

//null
let value = null;

//undefined
let name;

//symbol
let a = Symbol();

```

### Non Primitive Data Types

Non-primitive data types in JavaScript includes:

1. Objects
2. Arrays

Examples :

```jsx
//object
let name = {firstName:"Manthan", lastName:"Ank"};

//array
let array = ["value1", "value2"]

//regExp
let pattern = /w3schools/i;
```
Plotting 100k+ records in JavaScript
Tags: javascript, python, webdev, graph
Published: 2022-11-21 06:22:36

Unlike matplot library in python where you can easily plot records of **100k+** 

> **Many JavaScript Library Fails to do the same**

## Popular JS Library

- [Chart.js](https://www.chartjs.org/)

- [ApexChart.js](https://apexcharts.com/)

> - They are good and easy to use but when it comes to plotting data over 30k+ or 50k+ they suffer performance issue and can even crash.

> - Both have configuration to speedup the performance and plot larger dataset but they still suffer.

##  Apache ECharts
 

> JavaScript library can easily plot data over 100k+

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


Reference Link: [Apache ECharts](https://echarts.apache.org/handbook/en/get-started/)

## Examples
Reference Link: [link](https://echarts.apache.org/examples/en/editor.html?c=area-simple)
The Ultimate Comparison Between Android and iOS App Development
Tags: ios, android
Published: 2022-11-21 06:22:28

As your application can be designed and developed on both Android and iOS, you still need to research and measure the pros and cons of each in the industry.

Source: https://mrmmbsvision.medium.com/the-ultimate-comparison-between-android-and-ios-app-development-61519634adf6
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xhwupcaflgm27gmfbjfy.png)
1926. Leetcode Solution in cpp
Tags: cpp
Published: 2022-11-21 06:21:44

```cpp
class Solution {
 public:
  int nearestExit(vector<vector<char>>& maze, vector<int>& entrance) {
    const int m = maze.size();
    const int n = maze[0].size();
    const vector<int> dirs{0, 1, 0, -1, 0};
    int ans = 0;
    queue<pair<int, int>> q{{{entrance[0], entrance[1]}}};
    vector<vector<bool>> seen(m, vector<bool>(n));
    seen[entrance[0]][entrance[1]] = true;

    while (!q.empty()) {
      ++ans;
      for (int sz = q.size(); sz > 0; --sz) {
        const auto [i, j] = q.front();
        q.pop();
        for (int k = 0; k < 4; ++k) {
          const int x = i + dirs[k];
          const int y = j + dirs[k + 1];
          if (x < 0 || x == m || y < 0 || y == n)
            continue;
          if (seen[x][y] || maze[x][y] == '+')
            continue;
          if (x == 0 || x == m - 1 || y == 0 || y == n - 1)
            return ans;
          q.emplace(x, y);
          seen[x][y] = true;
        }
      }
    }

    return -1;
  }
};
```
#leetcode
#challenge
https://leetcode.com/problems/nearest-exit-from-entrance-in-maze/
My Photohub
Tags: opensource, react, programming, beginners
Published: 2022-11-21 06:11:24

## My Photohub

The idea for my photohub is a very cool one, essentially a UI for uploading images to a github repository.

The project is in its very first stages now and just finding its legs and it's great to be a part of that start. I noticed that there was no linter config file on the root of the project and so I decided to add linting with eslint and a .eslintrc.js config file.

## Things I learned

I don't think I have linted a react project before so I did not realize that the regular es lint would not cut it, it was giving me linting errors for the use of certain characters I knew were properly being utilized within the context of a React page such as JSX. I went online and found that there is in fact a plugin that has a lot of the recommended alterations ready to go, plug and play style called *eslint-plugin-react* which you can specify in the .eslintrc.js file along with a few other alterations like detecting the react version and adding jsx to parserOptions.ecmaFeatures. Which once I did I was still getting errors but ones that were more apropos our React syntax.

From the linter I learned that it's apparently good form to always validate your props types in React. We had a few functional components in the project that were being exported in the same line they were being defined, separating the export and the function definition gives us the space we need to bring in prop-types and start validating we are using what we expect to be using in our component. 

So I got to work separating the exports from the functions and adding a .propTypes check for each of them. After that and adding React to some import statements (not sure why the linter was complaining about this), there were no more errors and I was ready to push.

## Revisions

Taimoor Dawami suggested that I add prettier formatting and some instructions on how to use the linting script and the formatter in CONTRIBUTING.md and so I did both of those things in subsequent commits.
Release 0.3 Internal Pull Request
Tags: beginners, opensource, javascript
Published: 2022-11-21 05:47:47

For my release 0.3 for OSD600, I have to create a pull request for an internal Seneca College open-source project. The repo I contributed to was [my-photohub](https://github.com/humphd/my-photohub). 

## My pull request
[My pull request](https://github.com/humphd/my-photohub/issues/12#event-7847417336) involved moving some auto-generated documentation from the top of a file into the contributing document. After submitting my pull request, I was asked to make some changes by a contributor. This involved making some script arguments more generic. After this, more contributors reviewed my pull request before it was merged into the project. 

## What I learned
From this pull request, along with actually making code reviews, I learned more about how the code review process worked. Previously, I had only worked on repos that were managed by a single author. However, this is the first time I have created a pull request reviewed by multiple people. This is also the first time I had changes requested for my pull request. I feel like integrating requested changes was quite simple as those who are requesting changes will often provide good guidance on how to make those changes.