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

---
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/5e1258febded7.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:___ Why couldn’t the user update a file on a shared server?

___A:___ They didn’t have the write permissions
 -->
[PHP curtas] — Funções empty e isset: Esse valor realmente existe?
Tags: php, braziliandevs, phpcurtas
Published: 2021-08-19 11:56:12

Como podemos definir se uma variável realmente existe ou só está vazia no PHP? Vem ver! É curta!

O PHP possui algumas funções próprias, dentre essas: empty() e isset(), ambas usadas para testar se uma variável foi inicializada, ou seja, se ela aponta para um endereço na memória. Por fim retorna um booleano baseado nessa existência.

## A função empty

No [manual](https://www.php.net/manual/pt_BR/function.empty.php) temos:

> empty(mixed $var): bool
> Determina se uma variável é considerada vazia. Uma variável é considerada vazia se não existir ou seu valor é igual false. A função empty() não gera um aviso se a variável não existir.

Ou seja, o empty() somente verifica se uma variável é considerada vazia. Ainda no manual, temos as seguintes definições de vazio:

-   "" (uma string vazia)
-   0 (0 como um inteiro)
-   0.0 (0 como um ponto flutuante)
-   "0" (0 como uma string)
-   null
-   false
-   array() (um array vazio)
-   $var; (uma variável declarada, mas sem valor)

## A função isset

> isset(mixed $var, mixed $var = ?, $... = ?): bool

Já o isset() verifica somente se existe um endereço para aquele valor na memória.

Alguns pontos importantes:

-   Você pode passar quantos parâmetros quiser para a função: isset($valor1, $valor2, ..., $valor100), porém deve-se lembrar que a função retornará true somente se todos os valores forem definidos. Se o $valor2 não for definido, por exemplo, a função retornará false!
-   Caso você utilize a função unset() para destruir um valor, logo a função isset() retornará false.

Como no exemplo da imagem do cabeçalho. A função isset() retornará true para uma string vazia (""), mas retornará false para um null. Quando setamos null, aquele valor não está/estará mais na memória.

```php
$valor = '';

if (empty($valor)) {
  echo 'Sim! Estou vazio!' . PHP_EOL;
}

if (isset($valor)) {
  echo 'Sim! Eu existo na memória!' . PHP_EOL;
}

$valor = null;

if (empty($valor)) {
  echo 'Sim! Estou vazio novamente!' . PHP_EOL;
}

if (isset($valor)) {
  echo 'Ops! Eu não vou entrar aqui!';
}


// printa:
//
// Sim! Estou vazio!
// Sim! Eu existo na memória!
// Sim! Estou vazio novamente!
```

--------------


É isso! Espero que tenha gostado! :D
Minimal Pomodoro Timer App
Tags: javascript, electron, application
Published: 2021-08-19 11:53:32

I am a High-School Student and I have trouble managing my time and getting things done. 
I came across a technique called [Pomodoro](https://en.wikipedia.org/wiki/Pomodoro_Technique). 
So, I started looking around for a good Pomodoro app but none satisfied me.

So, I developed my own Pomodoro App which is minimal and easy to use. 

It would really be appreciated if you could have a look at it

{% github iDCoded/Pomodoro-App %}
My newest advancement
Published: 2021-08-19 11:52:00

My name is salami Abubakri.
Recently, i joined the HNGi8xI4G Internship (https://internship.zuri.team), and it has been going quite awesome even much more than I initially thought.
I enrolled for back end(web),and after the 8-weeks long internship I aim to up-skill my web development skill, and become a top rated tech talent, proficient in my Data Analysis skills coupled with the web dev's.
I would love to start working on real world-class projects really really soon.



If you're new to data science, learning Python has proven to be helpful. Here's a link to a python course that really helped me -https://www.youtube.com/watch?v=rfscVS0vtbw (video).
Too busy to learn to code? Power BI is a hands on simple tool that really helps for simple data visualization.

How about the user interface and experience top notch design? learn figma for free here - https://www.udemy.com/course/learn-figma-ui-ux-design-project/

To dive into web development, mark up language(not a programming language) is a good starting point. Here's a link that helped me- https://www.sololearn.com/learning/1014

Also, here's my favorite if you are new to git and github - https://javinpaul.medium.com/top-10-free-courses-to-learn-git-and-github-best-of-lot-967aa314ea
Remove Adware.Win32
Tags: windows, adware, tech
Published: 2021-08-19 11:42:41

Imagine one day you wake up and find out your system flooded with ads. Ads everywhere on screen. The same happened with me few days back.

My window defender kept notifying me every minute of high level threat Adware.Win32. It was like a nightmare. I am a very organized person according to me.
You can imagine the situation.


On Internet you find link to this software [Adware Removal](https://www.malwarebytes.com/mwb-download) . It does identify and clean your adware but it does not find where they are located. Adwares are tricky in a way that they hides themselves among various files. It is not possible to find them manually. Adware removal software does find them but only the copies of them and the real remain intact.
So let's find the solution. After going through few YouTube videos and reading tens of article . I was able to removed the adware. Let me tell you how.

*NOTE- I only tried the free adware removal software*

So after scanning my system with software in the link above, i tried the **Offline Microsoft Defender Scan** and it worked like miracle.
The Adware was gone.
 
### Solution:

So if you are encountering same problem. This is two Step process
1. Download the software mentioned above.

![1526840192_malwarebytes35.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1629371854576/y6dOOoU39.jpeg)

2. Run the offline Microsoft Defender Scan. 

*Please Save all your work before performing this*
    
- Select Start , and then select Settings  > Update & Security  > Windows Security  > Virus & threat protection .

- On the Virus & threat protection screen, do one of the following:

1. In an up-to-date version of Windows 10: Under Current threats, select Scan options.
2. In previous versions of Windows: Under Threat history, select Run a new advanced scan.
3. Select Microsoft Defender Offline scan, and then select Scan now.

![ca22c8e5-7b8d-63c1-00cb-62ed2c80f51f.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1629371573416/KkPXtdeKu.png)

After scanning Windows will restart.

### Future Protection:

- Use only known sites to download.

- Use only trusted extensions as they mainly contains adware.
Khuyến mãi SV388 hấp dẫn
Tags: sv388, dagasv388, onangames
Published: 2021-08-19 11:40:54

Nhà cái SV388 tặng từ 300k tiền cược cho tất cả thành viên của nhà cái khi tham gia nạp tiền vào trong tháng này. 
Liên hệ Onan-Games để được cập nhật thông tin mới nhất.
>>> Xem thêm: https://www.onan-games.com/khuyen-mai-sv388/
React hooks useReducers()
Published: 2021-08-19 11:14:40

Can be used as a replacement for useState, if you need more "powerful state management".

More complex to use and requires more set up than useState.

Majority of the time useState is used.

returns an array with two values, array de structuring is good to use here.

```javascript
const [state, dispatchFn] = useReducer(reducerFn, initialState, initFn)
```

state = state snapshot used in the component.

dispatchFnc = a function that can be used to dispatch a new action e.g trigger an update of the state.

reducerFn = A function that is triggered automatically once an action is dispatch (via dispatchFn()) - it receives the latest state snapshot and should return the new updated state.

initialState = The initial state

initFn = A function to set the initial state

Example...

```javascript

// create reduction fnc stored input goes into state
const emailReducer = (state, action) => {
  if(action.type === 'USER_INPUT') {
    return { 
      value: action.val, 
      isValid: action.val.includes('@') 
    }
  }
  return {value: '', isValid: false}
}
//creating a reducer. dispatch email fnc that calls email reducer which updates the state (emailState)

const [emailState, dispatchEmail] = useReducer(emailReducer, { value: '', isValid: null })

// calling the dispatch with updated input
 const emailChangeHandler = (event) => {
    dispatchEmail({ type: 'USER_INPUT', val: event.target.value })

  };
```
Build RestFull API With Nodejs, Express and MongoDb!!
Tags: node, javascript, mongodb, babel
Published: 2021-08-19 11:03:06

This is a basic API skeleton written in JavaScript ES6+. Very useful to building a RESTful web APIs for your front-end platforms like Android, iOS or JavaScript frameworks (Angular, Reactjs, vuejs, etc).

This project will run on NodeJs using MongoDB as database. I had tried to maintain the code structure easy as any beginner can also adopt the flow and start building an API. Project is open for suggestions, Bug reports and pull requests.

Features
 * Basic Authentication (Register/Login /loginRequired with hashed password)
* JWT Tokens, make requests with a token after login with Authorization header with value Bearer yourToken where yourToken will be returned in Login response.
* Contact example with CRUD operations.
Validations added.

Read More https://github.com/dedaldinodev4/restful-api-nodejs-express-mongodb
8 Free Sites for Web Developers you may not know.
Tags: codenewbie, 100daysofcode, javascript, programming
Published: 2021-08-19 10:53:34

👉 FontJoy

Fontjoy helps designers choose the best font combinations. Mix and match different fonts for the perfect pairing.
http://fontjoy.com
👉 Ray

Turn your code into beautiful images. Choose from a range of syntax colors, hide or show the background, and toggle between a dark and light window.
http://ray.so

https://ray.so

 👉 Hidden Tools

by: @heybereket


Explore a collection of tools to use for your next project. Search, filter, and find tools from a ton of different categories.

👉 Magic Patterns

by: @d__raptis

 
Create Pro Visuals with MagicPattern. Generate SVG/CSS patterns, gradients, and organic shapes to brand your product and social media posts.

👉 Programming language convertor

A helpful tool where you can write & convert your code from one programming language into another.

https://ide.onelang.io

👉 Json Placeholder

Free fake API for testing and prototyping.

https://jsonplaceholder.typicode.com

 👉 Git Explorer

by: @SummitechNG


Find the right git commands you need without digging through the web.

https://t.co/Cdz59h8RrA?amp=1

Thanks for reading guys. 

I'm writing threads to help you to become a better Web developer.
If you found this list useful, consider follow me 
@nasratredi1 
  

Thanks for your support guys!
Why Should You Choose Hybrid Cloud Deployment Model?  
Published: 2021-08-19 10:41:47

Technology and innovation develop as we start to feel that the solution we use today have been outdated and couldn’t keep up with the current requirement. This need initiates the formation of something new. However, with time we have learned that creating something new is not always the best option, sometimes reusing the current solution can also work.   

This concept has given us the hybrid technology, that uses combine benefits of 2 or more similar technologies. [AWS managed cloud services](https://www.zehncloud.com/aws-managed-cloud-services/) also offer a hybrid cloud deployment model that allows the user to leverage the benefits of both public and on-premise cloud models.   

With the public cloud, the user can access an open cloud platform that can offer a variety of resources to use. While the on-premise or private cloud offers a self-created platform with the resources that the user added via migration services in cloud computing. Both of these deployment models have limitations that can restrict business’s workflow. But by using hybrid cloud deployment model user can easily eliminate these limitations and can work with efficiency.   

So, if you are a dynamic business that needs to scale its resources regularly, or wants to separate your database according to the privacy, choose hybrid cloud deployment for the best results.
A library for creating themable applications with Next.js
Tags: nextjs, react, javascript, typescript
Published: 2021-08-19 10:39:54

Features
 🙉 Non-flickering
 ♿ Accessible (supports prefers-color-scheme)
 🐱 Dynamic theme values
 🐄 No additional dependencies
 🧠 Agnostic to the way you style your app

Read more here: https://github.com/Blazity/nextjs-color-mode
10 Essential Peculiarities That Makes Best Taxi Dispatch Software for Business
Tags: taxiapp, software, development, taxidispatchsoftware
Published: 2021-08-19 10:23:58

![taxi dispatch software](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xbo2hf0nmnh035qcfx8r.png)

Taxi dispatch software for your new on-demand taxi booking app for the startup brings a lot of significance to the contemporary marketplace. Considering the latest market requirements, build your new app with such a source captivate users organically in real-time. 

With its top features mentioned in the blog to increase the visibility of your cab service online, you can easily develop your business online in a short period. 

Visit: https://www.spotnrides.com/taxi-dispatch-software
Fleely - Electric Vehicle Charging Station
Published: 2021-08-19 10:23:02

Don't worry about electric vehicle charging station in Jaipur. bringing you the best charging station services in Jaipur. Fleely setup their own charging station across Rajasthan without delay. Ready to buy EV car and we will charge your car. 
go and must visit our site: https://bit.ly/2W0v4qE
Developing E-wallet App Is The Future Of Online Payments
Tags: mobilewalletapp, mobilewalletdevelopment, ewalletappdevelopment, digitalwalletappdevelopment
Published: 2021-08-19 10:16:02

Cash payment upon delivery of a product or exchange of goods is pretty old-fashioned. Since plastic cards slowly replaced cash, the economy has become cashless. For people, this has been convenient because they don't have to carry cash or bags around. The introduction of digital Wallet development has made it even easier, as users can now use their devices to make payments. People can now carry unlimited funds and transfer them anytime from anywhere.

Payments made through mobile devices and P2P are driving the growth of international mobile payment services on a global scale. The number of people using this payment method worldwide in 2019 was 901 million. It is estimated that the number of users will reach 1.5 billion by 2021, an increase of 11% year-over-year.

Workflow Of Mobile Wallet

Registration
Users undergo a quick registration process by submitting their details and connect the app with their bank account.
Send/Receive funds
Upon successful registration, users can send and receive unlimited funds swiftly.
Recharging/ Bill payments
With the digital wallet app, users can recharge their mobile phones, pay utility bills, and other such necessary transactions with ease.
Push Notification
Users can instantly be notified about any activity happening in the app, like transaction updates, rewards, promotions, and many more.

On A Concluding Note,
Taking convenience and safety into account, it is sure that digital wallet development is inevitable. Get in touch with a mobile wallet development company and develop a robust e-wallet app right away and come out with flying colors.

Visit https://www.appdupe.com/mobile-wallet-development
Playwright + Angular CLI
Tags: playwright, angular
Published: 2021-08-19 10:08:13

Looking for a way to run your Playwright specs with Angular CLI?

Here's how:

Install a module to run a command after the CLI serves your project:

```
npm i -D @dot-build/serve-and-run-angular
```

In your `angular.json`, create a new entry for Playwright. This assumes your project already has another target you use for local development, which runs with `ng serve`, and that your project name is `my-project`.

```json
// ...
  "projects": {
    "my-project": {
      // ...
      "architect": {
        "playwright": {
          "builder": "@dot-build/serve-and-run-angular:run",
          "options": {
            "devServerTarget": "my-project:serve",
            "command": "npm",
            "args": ["run", "playwright"]
          },
          "configurations": {
            "production": {}
          }
        },
// ...
```

Now you go to `package.json` and create new scripts that will run Playwright specs and your project together:

```json
// ...
"scripts": {
  "e2e": "ng run my-project:playwright",

  // or whatever command you use for run Playwright here
  "playwright": "npx playwright test"
  // ...
}

```

Now, you can set up Playwright in your project following their documentation.

If you want to watch file changes and keep executing the specs, you can pass `--watch` to the Angular CLI.

Example: `ng run my-project:playwright --watch`


That's all I have for today!
Happy coding!
What I want to achieve by end of the HNG internship 8
Tags: github, node
Published: 2021-08-19 09:48:32

## Introduction
<h3> About me </h3>

I am Ismail Hudhayfah, a student of physiology University of Ibadan Nigeria. I am also a  full stack web developer.
About HNG Internship

As mentioned on their official website,
> The HNG internship is a 3-month remote internship designed to find and develop the most talented software developers.Everyone is welcome to participate (there is no entrance exam). Anyone can log into the internship using their laptop. Each week, we give tasks. Those who complete them advance forward. We pay the interns weekly.The intern coders are introduced to complex programming frameworks, and get to work on real world software. The finalists are connected to the best companies in the tech ecosystem and get full time jobs and contracts immediately.

## Goals
This internship will be a great opportunity for me to have real-world experience and put what I’ve learned into practice. And in order to accomplish that, I created a list of what I look forward to achieving at the end of this internship. It goes thus:

+ Connecting with other developers and designers.
+ Improve my coding skills and adopting best practices
+ Putting what I've learnt into practice
+ Build my resume
+ Improve my communication and problem solving skills

## Useful Resources
I know how much problem it is for self taught developers to find the right resources out there. So I gather a list of good tutorials I hope to help you in pursuing your dream of becoming a wonderful developer.

1. Learn how to create, share, test, and ship better designs from start to finish using figma
<a href="https://www.youtube.com/watch?v=jk1T0CdLxwU" > <img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nhvh1h5nsswto14js1my.png">
  </a>

2. Learn the practice of tracking and managing changes to software code using version control.
<a href="https://www.youtube.com/watch?v=RGOj5yH7evk" > <img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wgn47ad8moy7piua1f2d.png">
  </a>

3.Learn the basics of html
<a href="https://www.youtube.com/watch?v=pQN-pnXPaVg" > <img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vs3ccnll7z001cyfh8eh.png">

4.Node.js for beginners
<a href="https://youtu.be/Oe421EPjeBE" > <img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0ra2bme3fv6n15ezoksi.png">

<a href="https://internship.zuri.team/">HNG official website </a>
Why data structure algorithms are important to learn ?
Tags: algorithms, datascience, codequality, java
Published: 2021-08-19 09:46:03

I was always wondering that why big tech companies are giving more importance to solving problems and data structure algorithms.

![FAANG](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z0yjensrk5rqhidkpk6d.jpg)

I am in last year of computer engineering and till now I haven't done anything to learn data structure algorithms. I have done some freelancing work and real world projects so problem solving is an habit now.

<b>Then</b> time comes, when I have to learn the data structure algorithms to crack the interviews. 

So I have started my journey to learn the DSA and got realized that the main reason behind this is to make our logic more efficient. 

I have started the competitive coding, and because of that I have learned best and simple logic for many questions. And I realized that if I apply this logic in my projects, it will increase it's efficiency as well.

So that's why big giant tech companies focuses more on DSA algorithms and competitive coding.

I have mentioned some of the platforms below:
<ul>
<li><a href="https://codeforces.com/contests">Code Forces</a></li>

<li><a href="https://www.hackerrank.com/dashboard">Hackerrank</a></li>

<li><a href="https://leetcode.com/">LeetCode</a></li>

<li><a href="https://atcoder.jp/contests/">atcoder</a></li>

<li><a href="https://www.hackerearth.com/challenges/">Hackerearth</a></li>

<li><a href="https://www.codechef.com/">CodeChef</a></li>

</ul>

As a developer and student, I request you all to improve your logic, it will be very useful in future and the best way is to start learning data structure algorithms and doing competitive coding.