teleren/devto huggingface dataset:
NASA’s Successful Landing on Mars : Ali Sami Farooq
Tags: alisamifarooq, alisamifarooqlondon
Published: 2021-02-19 06:27:10

Its most ambitious effort in decades to directly study whether there was ever life on the red planet.

While the agency has landed other missions on Mars, the $2.7 billion robotic explorer named Perseverance carries a sophisticated set of scientific tools that will bring advanced capabilities to the search for life beyond our planet.

Perseverance was the third robotic visitor from Earth to arrive at the red planet this month. Last week, two other spacecraft, Hope from the United Arab Emirates and Tianwen-1 from China, entered orbit around Mars.
For More details visit :  https://www.nytimes.com/live/2021/02/18/science/nasa-mars-landing
We can use the dataset property with the `data-` attribute
Tags: javascript, html, dataset, webdev
Published: 2021-02-19 06:25:48

An example first, and then we can go into some details.  Example:

https://jsfiddle.net/KennethKinLum/o70ayk19/

```html
<div id="foo" data-region="San Francisco">Hello</div>

<ul id="my-list">
  <li data-crypto-value="1.23">$51234</li>
  <li data-crypto-value="2.46">$102468</li>
</ul>

<div id="bar" data-a="one item" data-b="another item">Hello</div>
```

```js
console.log(document.querySelector("#foo").dataset);

console.log(document.querySelector("#foo").dataset.region);

document.querySelectorAll("#my-list li")
  .forEach(e => console.log(e.dataset.cryptoValue));

console.log(document.querySelector("#bar").dataset.a);
console.log(document.querySelector("#bar").dataset.b);

```

The output:
```text
DOMStringMap {region: "San Francisco"}
San Francisco
1.23
2.46
one item
another item
```


1. It is to attach additional data to HTML elements.
2. Will not affect how the element is displayed.
3. This is a standard way to attach additional information to the DOM element.
2. It begins with `data-` in the HTML
3. In JavaScript, when we have the DOM element, we can use the `dataset` property to get to the data
4. if it is `data-a` in the HTML, then it is `el.dataset.a` in JavaScript, where `el` is the element
5. Hyphenated case (kebab case) becomes camel case. For example, `data-hello-world` becomes `dataset.helloWorld`
6. It is [supported in all modern browsers](https://caniuse.com/dataset)
7. Some docs on [MDN](https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes) and [JavaScript: The Definitive Guide, 7th Ed](https://www.amazon.com/JavaScript-Definitive-Most-Used-Programming-Language/dp/1491952024).
Laravel Breeze , Authentication, Login, Registration, Password reset, Verification Form
Tags: authentication
Published: 2021-02-19 06:13:36

Laravel Breeze , Authentication, Login, Registration, Password reset, Verification
Laravel Breeze is a minimal, simple implementation of all of Laravel's authentication features, including login, registration, password reset, email verification, and password confirmation. Laravel Breeze's default view layer is made up of simple Blade templates styled with Tailwind CSS. Breeze provides a wonderful starting point for beginning a fresh Laravel application.
#Installation  #Authentication #Laravel #Login #Registration  #Verification
curl -s https://laravel.build/example-app | bash
cd example-app
php artisan migrate
Once you have created a new Laravel application, you may install Laravel Breeze using Composer:
composer require laravel/breeze --devphp artisan breeze:install
npm install
npm run dev
<a href="https://www.youtube.com/watch?v=dLXvV7m1-9o" target="_blank"><img src='https://i9.ytimg.com/vi_webp/dLXvV7m1-9o/mqdefault.webp?time=1613714700000&sqp=CIyqvYEG&rs=AOn4CLBG1u5ca0HckrKiKUPbuCWN5sp4Tg' /></a>

In this video can help you.Please click this link <a href="https://www.youtube.com/watch?v=dLXvV7m1-9o" target="_blank">Video</a>  .

Here is the code on my Github or My <a href="https://www.youtube.com/channel/UC80IlhuAl36zQdMSOyb3qgA" target="_blank">Youtube Channel</a>  . 
You can leave a comment, suggestion for improvement or corrections, don’t forget to follow me.
I build a SaaS, looking for co-founder
Tags: showdev, startup, webdev, react
Published: 2021-02-19 06:08:02

Hey guys, I build this SaaS called [99 Coupons](https://www.99coupons.ml/) (currently) for YouTubers and other such creators, who create content over the internet.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y0snao72rbbnz728uipf.png)

---

<center><h1> THE IDEA </h1></center>

The basic idea is to conduct **Giveaway** and grab audience's attention. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5f0kmiwlz66u7e271bzk.png)

---

<center><h1> PRICING </h1></center>

Currently payments are only accepted in **Indian Rupee (INR)**. But, for our Dev Community, I am providing some coupons which will provide you **100% discount** in the `basic plan`.


<center> **COUPON:** `DEVCOMMUNITY` </center>


![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fec4werrmdz4q8jyi6kq.png)

---

<center><h1> **Searching for co-founder** 😀 </h1></center>

I am looking for a co-founder who can handle CEO part. I am focused into the CTO side.

**INTERESTED ?**
<small> E-mail at `joshirajesh448@gmail.com`</small>


---

<center><h1> **Suggestions Are Welcomed** 😀 </h1></center>

---

<small> **NOTE:** Report at `joshirajesh448@gmail.com`, if you find any bug. </small>

Please have a look at the [application](http://99coupons.ml/) and share your feedback in the comments, it means a lot to me.

*Any promotions from your side will be highly appreciated.*

Thank you guys 😇
Cheers!
Why are we making these expensive mistakes?
Tags: programming, testing, devops
Published: 2021-02-19 05:59:41

Source code getting leaked because no one bothered to remove the default credentials in git repo, bank losing millions because of a bad UI, tier 1 companies loosing almost a Trillion dollars due to digital transformation going wrong.

There is so much for software professionals to introspect about.

- https://www.blog.finotes.com/post/how-not-to-be-a-stupid-software-engineer?fbclid=IwAR37YZMbwAyBJnR83MD1WqbfxC2ZBsm-wwfPZj1rYR1DwgqbGNvMhgjDY4A
Guru Milenial
Tags: gurumilenial
Published: 2021-02-19 05:51:05

Era milenial, seperti yang udah dipaparkan pada mulanya memberi penjelasan bahwa era milenial itu merupakan era dimana teknologi itu berkembang pesat, dimana akses teknologi begitu gampang untuk digapai. Keadaan semacam ini, pasti melahirkan nilai tersendiri didalam mata manusia, khususnya terhadap pandangan masyarakat. Terdapat bermacam nilai positif dan negatif didalam hal ini. Terlepas berasal dari nilai negatif dan positifnya era milenial ini, selayaknyalah pendidikan siap sedia untuk menyikapi bermacam asumsi yang dapat terjadi terhadap era milenial ini.

Guru merupakan person inti didalam hal ini. Guru merupakan kunci berasal dari peradaban manusia. Baik buruknya kualitas anak bangsa benar-benar terkait terhadap baik buruknya kualitas guru itu sendiri. Sebab, yang menajadikan manusia itu jadi baik, keliru satunya yakni bersama peranan guru yang besar. Oleh dikarenakan itu, guru itu harus untuk diberikan asumsi positif perihal era milenial ini. Guru itu harus untuk sesuaikan situasi di era milenial ini, demi mencapai permintaan yang dicita-citakan bangsa.

Sebuah pertanyaan yang keluar di benak kita adalah perihal bagaimana peran guru di era milenial ini? Pertanyaan itu dinilai memadai pantas untuk di tanyakan, khususnya bahwa guru itu adalah sektor kunci didalam suatu keberlangsungan pendidikan. Berikut ini dapat dijelaskan poin perihal peran guru di Era Milenial.
Sumber: https://pendidikmilenial.blogspot.com/
How to Become an SEO Expert in 2021
Tags: digitalmarketing, seo, webdeveloper, googleanalytics
Published: 2021-02-19 05:45:32

Looking for how to become an SEO expert or specialist? Yeah we understand and that’s the reason you are here! Right?

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fm5a0vta95x0gxfex8qh.jpeg)

In order to become a professional and master in any field require a full dedication, commitment, eager to gain knowledge, keep updated with new updates, timely skills enhancement with new trends and technology.

For example, if a person love poems and memorised few of them by reading books and online that does not make him/her a pundit of poems. So first research, read, learn, understand, practice and then execute.

So, are you ready to go…….?

Here are 10 tips to help you to become an SEO Expert in 2021

Only focus on key points and then deeply learn about it to get better experience.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k5clxsogapx9hwysagkg.jpeg)

1) Learn Basic Fundamentals of SEO

2) Create your own Website

3) Create your website with Popular CMS like WordPress

4) Learn How Search Engines Work

5) Understand Google Analytics and Search Console

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sxlrgrvbxku5mhaw6iu8.jpeg)

-->Google Analytics: let you know to measure website performances and reporting.

-->Google Search Console: help you to check your website health and key messages from the Search Engines.

6) What is EAT in SEO and why you need to understand it?

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/95abwlvqlculg99g8zgu.jpeg)

-->EAT stands for Expertise, Authority and Trust search quality metrics created by Google in order to give its searchers and customers most authoritativeness & trustworthiness brands or companies in the search results.

--> Expertise: You can say like having depth knowledge and skills in a particular field. Let say you are talking about SEO and you’ve described on your site, what is SEO, how it works, who requires SEO services, and many more, in a way Google find your website demonstrated with higher level of expertise.

--> Authoritativeness: Here you can describe about yourself, what actually you are! You can use to show your professional title, short bio, photo, etc. these leads to gain the trust of your site visitors.

--> Trustworthiness: It is the moment where people start trusting on your contents provided online. You can show trust on your site by having contact information, business page, about-us, team member pictures, terms & condition page, HTTPS on your site, etc.

7) Build your personal connections

8) Add new skill sets in your expertise

9) Join Digital Marketing Groups on Social Platforms

10) Do not lose patience
Making a mockery of mocking
Tags: testing
Published: 2021-02-19 14:41:39

---
title: Making a mockery of mocking
published: true
date: 2021-02-19 00:00:00 UTC
tags: testing
canonical_url: https://jhall.io/archive/2021/02/19/making-a-mockery-of-mocking/
---

Unit testing and TDD are all the rage. This is a good thing! Not long ago, most conversations I had about testing turned into a battle of philosophy about whether testing should happen.

Nowadays, it seems that battle has been largely won. But as soon as you solve the big problem, the smaller problems start to show up. And that brings me to today’s “small problem”: The mockery that is “mocking”.

I’m not going to tell you not to use mocks, although [there is a strong case to be made](https://testing.googleblog.com/2013/05/testing-on-toilet-dont-overuse-mocks.html), and I may weigh in on that later.

Today I’m only concerned with the confusion surrounding the term itself. I see this all the time on StackOverflow, with questions like:

“How do I mock this function?” or “How do I mock this object?”

These are (usually) confused questions. They are (usually) asked by people who are under the false impression that any sort of stand-in implementation used during testing is a mock. This is, well, a mockery!

A better term for this use of the word “mock” is simply “test double.” A test double “is a generic term for any case where you replace a production object for testing purposes,” according to Martin Fowler, who [goes on to explain](https://martinfowler.com/bliki/TestDouble.html) several common types of test doubles:

> - **Dummy** objects are passed around but never actually used. Usually they are just used to fill parameter lists.
> - **Fake** objects actually have working implementations, but usually take some shortcut which makes them not suitable for production (an InMemoryTestDatabase is a good example).
> - **Stubs** provide canned answers to calls made during the test, usually not responding at all to anything outside what’s programmed in for the test.
> - **Spies** are stubs that also record some information based on how they were called. One form of this might be an email service that records how many messages it was sent.
> - **Mocks** are pre-programmed with expectations which form a specification of the calls they are expected to receive. They can throw an exception if they receive a call they don’t expect and are checked during verification to ensure they got all the calls they were expecting.
How to Indent Your Text Using Tailwind . Ultimate Guide
Published: 2021-02-19 05:35:39

##You can use one of these two plugins:

https://www.npmjs.com/package/tailwindcss-typography

or

#Use this plugin:

https://www.npmjs.com/package/tailwindcss-text-indent


...and configure it like this:

// tailwind.config.js
```module.exports = 
theme: {
textIndent: theme => theme('spacing'),
// ...
},
// ...
}```
Speedbumps
Published: 2021-02-19 05:14:37

Ran into a couple minor health issues in the past week that have temporarily interrupted my momentum, but I have accomplished a few things:

- I have started playing with serverless services on AWS. So far, I've played around Lambda functions and hosting a serverless website using Lambda, S3, and API Gateway. My resume uses these services, but in a managed way. (Which reminds me, I need to keep working on my resume's content....)
- There's a whole lot of Flask, WTForms, and Bootstrap bouncing around in my skull right now, thanks to the past week of the Python bootcamp. Next up: SQLite and databases.
Book Kedarnath Tour | Kedarnath Trip | Flat 20% Off
Tags: kedarnathtour
Published: 2021-02-19 05:08:33


Kedarnath yatra. Book <a href="https://moustachescapes.com/experience/Tour/kedarnath-tour"> Kedarnath Tour </a>, Kedarnath Trip, Kedarnath package, Kedarnath temple tour Online at Moustache Escapes @ affordable price. Affordable Kedarnath tour package. Book Now!!
If programmers were writers...
Tags: discuss, codequality
Published: 2021-02-19 02:48:39

We as programmers can learn a lot from writers.

## 1. The first draft has a high chance to suck

It doesn't matter if you are an expert in Django or Express or React or whatever. The first version of your code will suck. But don't worry, it's perfectly normal. And you will be refactoring that code later, won't you?

## 2. You have to proofread your own work

Other people proofread your work via pull requests. But you need to also proofread your code before doing that pull request! This is what I *normally* do. Start creating a pull request, but don't create it. Just look at the changes on those *beautiful* UIs in GitHub, Bitbucket or GitLab. Did you accidentally include a `console.log`? Don't worry, just remove it and start proofreading your work again. Start asking yourself questions. Should I move this variable to a constant? Should I move this piece of code to its own method? After you think your code is perfect, create that pull request!

## 3. Let others proofread your work

Ok, this one is pretty obvious. Your code needs to be reviewed before going to production right? Well, I just want to add something else here: **never, ever, take a pull request personally**. Pull requests are there for you to be better, not to harm your ego.

## 4. There will be a second or third draft

This is related to point 1. Remember I told you to refactor your code? Well, as Nike says: *just do it*. And if you are touching someone else's code, be that guy in the team to leave the house clean. That means, refactor other people code if necessary!

## 5. A finished piece is better than a perfect WIP

Again, *just do it*. If you are seeking perfection and never deploying code, then why are you writing code? Code will never be perfect. Just push that damn code to production already.

## 6. Keep a cohesive narrative

Write code as if you were writing a predictable yet exciting tale. In software development, predictable is in some sense good. You are writing your React app with class based components? That's fine. But please, don't start mixing functional components and class based components because YOLO. 

Just wanted to share this with you. Bye, bye! And also, don't forget to subscribe to my channel: [YouTube Channel](https://www.youtube.com/channel/UC4jmaY21ri9n3DteRwuoJaA)
JavaScript 101 Series|| What is Javascript?
Tags: javascript, 100daysofcode, webdev, codenewbie
Published: 2021-02-19 04:52:07

Today I am gonna start a series where you can learn javascript from the beginning. This series is for those who are starting with javascript as well as the experienced person also.

####Prerequisites
>Basic computer education, a basic understanding of HTML and CSS.

##What is Javascript?
If you search about on the internet what is javascript is you will get many definitions but here is a high-level definition of javascript.

JavaScript is a scripting or programming language that allows you to implement complex features on web pages — every time a web page does more than just sit there and display static information for you to look at — displaying timely content updates, interactive maps, animated 2D/3D graphics, scrolling video jukeboxes, etc. — you can bet that JavaScript is probably involved. It is the third layer of the layer cake of standard web technologies, two of which (HTML and CSS) 
There is also a common definition of javascript.
JavaScript is a scripting language that enables you to create dynamically updating content, control multimedia, animate images, and pretty much everything else. (Okay, not everything, but it is amazing what you can achieve with a few lines of JavaScript code.)

##What you can do by using javascript?
The core client-side JavaScript language consists of some common programming features that allow you to do things like:

*Store useful values inside variables. In the above example, for instance, we ask for a new name to be entered then store that name in a variable called name.
*Running code in response to certain events occurring on a web page. We used a click event in our example above to detect when the button is clicked and then run the code that updates the text label.
*And much more.

##Conclusion
This is a quick introduction to javascript and what we can do with javascript. I hope you find this article helpful.

See you in the Next Article ✋
Simplifying Spring Security
Tags: spring, springboot, java
Published: 2021-02-19 04:51:29

Finally, the book is here. [Simplifying Spring Security](https://gum.co/VgSdH).

## Why I wrote this book?

As part of writing this blog, I also follow few communities on Facebook. Most of these communities are related to Spring Framework and Spring Boot. The number of users asks questions related to Spring Security. Hence, I wondered why not write a book about it.

Also as a developer, when I’m writing a Spring Boot application, I often use Spring Security. Accordingly, I always felt like I was using this mysterious library that solves my authentication problems.  I wanted to understand the fundamentals and how Spring Security dealt with authentication and authorization.

## What do I cover?

In the book, I cover from fundamentals of authentication, authorization, and how to use Spring Security for different authentication flows. Also, I show these flows with examples. As part of the book, you will also get access to a source code repository that you can play with.

In short, I cover the following topics in the book:
* Introduction
   1. What is Spring Security?
   2. How Spring Security fits in with Spring Boot Application?
   3. Why you need Spring Security?
* Authentication
   1. What is authentication?
   2. Authentication Architecture
   3. Types of Authentication
   4. Implementation of Different Flows
* Authorization
   1. What is authorization?
   2. How does Spring Security handle authorization?
   3. What are GrantedAuthorities?
   4. Implementation of Authorization in an application
* Protection against common exploits
   1. Introduction
   2. Transport Layer Security
   3. Security HTTP Response Headers
   4. Clickjacking Attack
   5. Cross-site Request Forgery Attack (CSRF)
* Miscellaneous

![Simplifying Spring Security](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2m7ix3i6of3u51vhzeqj.png) 
[Simplifying Spring Security](https://gum.co/VgSdH)

## Why should you buy this book?

First, it is a technical book and if you are a developer, it will easily help you improve your career. You’ll learn a lot about authentication and can solve some crucial security problems that many applications face.

Most importantly, you can also build your own application and use any of these authentication mechanisms for the application.

Subsequently, if you are getting started for a job in Spring Boot or Spring Framework, the book will also help you in preparing for Spring Security interviews.
How To get Internship or Training After Graduation?
Tags: beginners, fresher, trainee, webdev
Published: 2021-02-19 04:38:50

Hi,
friends i just complete my graduation in computer science and i'm unable to find any job or training please give me some suggestions to get a job.
i have done Bachelors of Computers Applications(BCA) and i have a hands on experience on working programming C,C++,JAVA,Python,Javascript and web technologies like html,css etc. 
i want to chance to increase my ability and skills so kindly help me to start my career.
홀덤사이트
Published: 2021-02-19 04:29:38

#홀덤사이트 #온라인홀덤 #모바일홀덤 #홀덤 #텍사스홀덤 #토토사이트 #스포츠토토 #바카라사이트 #온라인바카라 #모바일바카라
<a href="https://www.cwurt001.com/">홀덤사이트</a>
<a href="https://www.cwurt001.com/">온라인홀덤</a>
<a href="https://www.cwurt001.com">홀덤</a>
<a href="https://www.fish119.org">홀덤사이트</a>
<a href="https://www.fish119.org/">온라인홀덤</a>