teleren/devto huggingface dataset:
OpenID Connect
Tags: systems, distributedsystems, beginners, tutorial
Published: 2023-04-07 11:32:50

Previously, we talked about [Open Authorization (OAuth 2.0)](https://dev.to/pragyasapkota/open-authorization-oauth-20-13c0).

While the Open Authorization was designed to provide access to data and features between applications, OpenID Connect adds login and profile details about the client who logs in. To note, OpenID Connect lies at the top of [OAuth 2.0](https://dev.to/pragyasapkota/open-authorization-oauth-20-13c0).

The Authorization Server is responsible for the OpenID Connect (OIDC) and hence is also known as Identity Provider (IdP). It also relays the information about the Resource Owner to the client and not only one way around. The best thing about OpenID Connect is that it leads us to lower adoption and industry implementation of best practices compared to OAuth.

## Concepts of OpenID Connect

- **Relying Party** — The current application.
- **OpenID Provider** — Service that gives a one-time code to the relying party.
- **Token Endpoint** — Web Server that accepts OTC — One Time Code and provides an Access Code with an hour of the time limit. In OpenID Connect, the token is granted by JWT — JSON Web Token.
- **UserInfo Endpoint** — The Relying Party interacts with User Info Endpoint with a secure Token that helps receive information about the end user.

## Conclusion

OpenID Connect and OAuth 2.0 are both very easy to implement. Both are JSON-based and supported in most web and mobile applications. While comparing, OpenID Connect has more strict configurations and specifications than [OAuth 2.0](https://dev.to/pragyasapkota/open-authorization-oauth-20-13c0).

**_I hope this article was helpful to you._**

**_Please don’t forget to follow me!!!_**

**_Any kind of feedback or comment is welcome!!!_**

**_Thank you for your time and support!!!!_**

**_Keep Reading!! Keep Learning!!!_**
Typescript, neden lazım?
Tags: typescript, javascript, discuss, tutorial
Published: 2023-04-07 11:27:44

Javascript ile web (front-end) ve sunucu (back-end) tarafında uygulamalar geliştirirken standartlara uygun, doğru ve hatasız kod yazmaya çalışıyoruz.

Uygulamamız büyümeye, çok fazla fonksiyon ve bileşen içermeye başladıkça hangi fonksiyon hangi tipte değerler alıyor, hangi tipte değerler döndürüyor hatırlamamız zorlaşıyor.

Mesela bir fonksiyon, **object** tipinde giren bir değere bazı işlemler uyguluyor ve sonucunda **string** tipinde bir değer döndürüyor.

Uygulamayı geliştirirken, **object** tipinde değer girmesi gereken fonksiyona, farketmeden **array** tipinde bir değer gönderebiliriz.

Bu muhtemel bir hataya sebep olabilir.

Can alıcı nokta, yanlış tipte değer gönderdiğimiz fonksiyonu o an çalıştırmadıysak veya test etmediyek bu hatayı farketmeyebiliyoruz.

## Sonra

Uygulamamızı canlıya aldık diyelim, yani internet sitemizde yayına koyduk.

Bir kullanıcı bizim farketmediğimiz, yanlış tipte değer giren fonksiyonu çalıştıracak işlem yaptı. Crash!

Kullanıcı, hatalı fonksiyonu çalıştıracak işlem yapınca, ekran beyaz oldu ve uygulama çöktü, yani crash oldu. Kullanıcı sayfayı yenileyip tekrar denediğinde, yine crash olacak.

## Neden

Fonksiyonda gelmesi gereken tipteki değere yapılan işlem, yanlış gönderilen tipteki değere yapılamıyor. Mesela, bir **string**'in yani yazının uzunluğu varken, bir **object**'in uzunluğu yoktur. `adSoyad.length` dediğimizde yazının karakter uzunluğu dönerken, `birObject.length` dediğimizde hata verir.

Dolayısıyla, fonksiyon "istenen işi bu değere yapamıyorum" diyerek hata verir ve işlemi tamamlayamaz. Elbette bu hata, canlı ortamda kullanıcıya beyaz sayfa olarak görünür. Eğer biz geliştirme ortamında kullanıcını yaptığı işlemi yapmış olsaydık, hata mesajını görecek ve sorunu çözecektik.

## Dahası

Yanlış tipteki değerleri yanlış işlemenin birçok yolu var elbette. Uygulama büyüdükçe, yapı kompleks hale geliyor ve hata yapma olasılığı artıyor.

Başka programalama dillerinde değerlerin tiplerini baştan belirtebiliyor ve o değerlerle işlem yaparken yanlış bir şey yaparsak, daha kodu çalıştırmadan bu hatadan haberdar olabiliyoruz.

Bu özellik, uygulama geliştirirken hatalı işlemler yapmamızı önlerken, fonksiyona giren-çıkan değerleri ve tipleri de auto-complete şeklinde bize sunarak konforumuzu ve hızımızı artırıyor.

Ne yazık ki, Javascript'de değerlere tip tanımlayabileciğimiz bir özellik yok.

## Sonuç

Biz yine de Javascript'de değerlere tip tanımlayalım.

Bir de kütüphane geliştirelim. Biz kod yazarken tiplerle ilgili hatalar yaptığımızda bizi uyarsın. Böylelikle kodu çalıştırmaya bile gerek kalmadan, bir tip hatası yaptığımızda atlamayalım ve olası sorunları baştan giderelim.

Uygulamayı canlıya alacağımız zaman da bir derleyici program ile yazdığımız tip tanımlamalarını sildirir, normal Javascript koduna çeviririz. Uygulamamızı, tarayıcılarda da çalışacak normal javascript olarak yayınlarız.

Adında da **Javascript** (.js) değil **Typescript** (.ts) deriz.
youtube
Tags: programming
Published: 2023-04-07 11:18:43

Programming is a creative task: there is no right or wrong way to solve a problem, in the same way, that there is no right or wrong way to paint a picture.

There are choices to be made, and one way may seem better than another, but that doesn’t mean the other is wrong! With the right skills and experience, a programmer can craft software to solve an unlimited number of problems – from telling you when your next train will arrive at playing your favourite music.

The possibilities are constrained only by your imagination. That’s why I love programming.
Computer Vision Use Cases and Examples
Tags: computervision, ai
Published: 2023-04-07 11:15:19

Computer vision technology is a rapidly evolving field of computer science that enables machines to interpret and understand the visual world around them. With the help of advanced algorithms and deep learning techniques, computer vision technology has made it possible for machines to recognize patterns, objects, and even emotions in images and videos. This technology has many practical applications across industries, from enhancing security systems to improving medical diagnoses. Here are some of the examples of computer vision use cases across industries.

## **Computer Vision in Healthcare**

Sophisticated algorithms of machine learning and deep neural networks enable computer vision to analyze medical images and videos with exceptional speed and precision in healthcare. This helps doctors identify illnesses and irregularities at an earlier stage and devise more effective treatments. For instance, computer vision is capable of analyzing MRI scans to detect tumors or abnormalities, as well as tracking patients' vital signs to detect any variations that may signal a potential health issue.

## **Computer Vision in Transportation**

Through computer vision systems, cameras and sensors installed in vehicles, roads, and infrastructure can gather massive amounts of data. This data can be analyzed to enable vehicles to operate autonomously, making use of computer vision algorithms to identify and react to their environment. Self-driving cars are an excellent example of this, as they use computer vision technology to detect and avoid obstacles, recognize traffic signs and signals, and navigate complex road networks.

## **Computer Vision in Retail**

Computer vision in retail presents novel approaches to improve customer experiences, simplify operations, and boost sales. Retailers can scrutinize vast amounts of visual data from cameras and sensors deployed in their stores, warehouses, and distribution centers, utilizing advanced algorithms and machine learning. For instance, computer vision can assist in analyzing customer behavior, detecting popular products and trends, and optimizing store designs and product placements

## **Artificial Intelligence Webinar on Computer Vision Technology**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m6hxqh1zfq6sjqos4d7g.png)
These are just a few examples of the many computer vision use cases across industries. As the technology continues to evolve, we can expect to see even more innovative applications of computer vision in areas such as sports, education, entertainment, agriculture, construction, manufacturing, automotive

If you're interested in learning more about computer vision use cases and how it can enhance your business processes, consider attending [this artificial intelligence webinar](https://cutt.ly/w7t7QHC). It should explore computer vision diverse domains and potential use cases, discuss computer vision challenges, opportunities, and computer vision trends and provide successful project examples across various industries.
What Is ITIL® v4
Tags: education, courses, certification
Published: 2023-04-07 10:59:12

The **[information technology infrastructure](https://youtu.be/uQ81h99Dnz4)** library's most recent edition, ITIL 4, was launched in 2019 and is now the most adaptable, versatile, and adjustable. With more stable IT environments, lower costs, improved risk awareness, and improved customer support, ITIL 4 offers a methodical approach to ITSM. The approaches place a greater emphasis on automated procedures, the extension and integration of service management outside of IT, and the enhancement of teamwork and communication throughout the entire organization.
Why should you join letsremotify?
Tags: remotework, developer, remotelife, remoteworking
Published: 2023-04-07 11:14:15

As a software engineer, I have used many job search platforms, but none have been as impressive as letsremotify. This platform offers distinct advantages that set it apart from others in the job search industry. Firstly, letsremotify ensures secure job listings from top US companies, giving you the assurance that the jobs listed are legitimate and safe to apply for. Additionally, letsremotify focuses on providing market-competitive salaries, ensuring that you earn a competitive salary in the industry. Another key advantage of letsremotify is the opportunity for career growth with challenging problem-solving tasks that help you develop your skills and grow rapidly in the industry. The talent success support team at letsremotify is also dedicated to ensuring a smooth onboarding process and success in your role. In summary, letsremotify provides a secure job search experience with a focus on career growth, talent success support, market-competitive salaries, work-life balance, and cost savings, making it an excellent platform for software engineers and anyone else looking for remote work.[](https://letsremotify.com/talent/sign_up)
Short Term Failure
Tags: leadership
Published: 2023-04-07 11:09:37

In his podcast Herding Tigers, Todd Henry says: 

> Many leaders prefer to control their team because it eliminates uncomfortable conversations about the potential for short term failure.  It is easier to dictate the terms and get exactly what you want here and now.  However, you are also unknowingly robbing future value in order to claim a little present value.  Your team will not grow and you won’t attract great people.

I love this idea of being more ok with “short term failure”.  In software development, it is incredibly challenging to get a feature perfect the first time.  I might try to tell to the team exactly how it should work as a way to reduce the risk of failure.  Or, I can let them create something that might not be perfect but is good enough to ship.  Then I can clarify the vision, articulate new goals, and allow them to improve the feature.  This way they will learn more about the criteria I use to make something great and I can start to depend on my team to make great software.  

 [Your Leadership Philosophy Herding Tigers podcast](https://player.fm/series/herding-tigers/your-leadership-philosophy)
This is The Fastest and Simplest Chrome Extension on the Chrome Web Store!
Tags: webdev, javascript, productivity
Published: 2023-04-07 11:06:52

Building a Chrome extension for the first time is an exciting experience. 

It's a feeling of accomplishment to see your idea come to life and be available to the public. That's what happened to me when I built my first-ever chrome extension, and 

I'm proud to say it's now [live on the Chrome Web Store](share.anasdew.tech/0w76Yo).

The extension I built is a productivity tool that can help anyone who wants to get more done in less time. It's fast, simple, and easy to use. The reason for its simplicity is that it follows the principle of the VIM text editor. It means that the extension is entirely keyboard-based, so you can do everything using your keyboard.


![chrome extention](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x4ax8syqg14o7hiwztj8.png)

**The best part is that the extension doesn't require any personal data from the user.** It's completely offline and secure, so you don't have to worry about any data breaches. The extension is built to help people get things done, not to steal their information.

One of the most significant features of the extension is its ability to send notifications for pending tasks. If you have a to-do list, this feature will help you stay on track and make sure that you're completing your tasks on time.


![chrome extension](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z9zcw9v6vz2prfs6sx1p.png)

The extension is called TodoStack, and it's available for free on the Chrome Web Store. It's the perfect tool for anyone who wants to be more productive and get things done quickly. TodoStack is my brainchild, and I'm happy to see it help others in their daily lives.

If you're interested in trying out TodoStack, head over to [todostack.vercel.app](todostack.vercel.app) to get started. It's a great way to start your day on the right foot and be more productive. 

With TodoStack, you'll be able to accomplish more in less time and make the most out of your day.

## In conclusion, 

building a chrome extension is a great way to share your ideas with the world. My experience building TodoStack has been fantastic, and I'm proud to see it finally live on the Chrome Web Store. 

If you're looking for a productivity chrome extension or a todo app, give TodoStack a try. It's fast, simple, and keyboard-based, making it the perfect tool for anyone looking to get things done.
Leadership Philosophy - Todd Henry
Tags: leadership, management, career
Published: 2023-04-07 10:59:03

This episode of the Herding Tigers podcast on Leadership Philosophy by Todd Henry is one of my favorite.  It is a dense one that clearly outlines how to lead a diverse creative team well.  This episode is worth 11 minutes of your time:  [Your Leadership Philosophy Herding Tigers podcast](https://player.fm/series/herding-tigers/your-leadership-philosophy)

Some leaders never successfully make the transition from control to influence.   As a result… 

> the team is essentially cursing they’re over controlling nature behind their back because they don’t feel like they have the freedom they need to be able to deliver ideas on their own.   So, the capacity of the team never expands beyond the capacity of the leader.

One of the “transitions we have to make when we move from maker to manager is we have to transition from control to influence. It is no longer our job to do the work, per se, but it is our job to lead the work.”

Henry goes on to quote Brian Koppelman: 

> The only way to lead such a diverse team of creative people is ensuring that the driving vision is clear then letting people do what they were hired to do.
 

### How do you set a leadership philosophy?
1. How do you define what quality work looks like?  What is the criteria you are using to determine if something is good enough?  Clearly articulate to your team what works, what doesn’t work, what good is, what good isn’t.
	1. “It’s really important for your team to have target to shoot for, if they don’t have a target, or the target is constantly moving, they’re going to struggle to bring their best effort because they’re not going to bring their best effort if they feel the target is going to move tomorrow.“
2. Risk and failure.  Have a serious conversation with your team about what kind of risks are acceptable what happens when someone takes a risk and fails?  Are you going to protect them?  Is it ok that they fail? Is it ever ok that they don’t fail?  What are the circumstances?  
3. How do you determine the right idea?  Any criteria you use?
4. Credit.  Articulate who is given credit for the work.  Is it the team, is it the individual, how does it work?
5. Conflict.  What should team members do when there is conflict?  Ignore it? Bring serious conflicts to me so that I can make sure everyone gets an equal hearing?
6. Opportunity.  Who gets opportunity on your team?  How is it that people get promoted?

If you have not articulated this clearly to your team, you might start by asking a team member some of these questions.  “How do you think I determine what quality work looks like?  How do you think I give credit?”

**How do we establish a bounded autonomy?  Determine and communicate a leadership philosophy.**
Name your problems
Tags: code, development, programming, software
Published: 2023-04-07 11:04:10

---
title: Name your problems
published: true
date: 2023-04-07 10:52:00 UTC
tags: code,development,programming,software
canonical_url: https://craignicol.wordpress.com/2023/04/07/name-your-problems/
cover_image: https://craignicol.files.wordpress.com/2021/04/wp-1617831687283.jpg?w=1200
---

_A rose by any other name would smell as sweet._

Names matter. Names are a container for all we know about a person or a thing. Names give us a reference that allows us to abstract the detail to whatever level makes sense today.

And big hairy problems will be referenced a lot. Big hairy problems will turn up at retrospectives where you can look at the detail and stand-ups where you can’t. They’ll manifest as bugs in some parts of the system, workarounds in others, and sometimes features in other places. They’re problems that aren’t one fix, they’re code and infrastructure and process changes.

Sometimes the problem has an optimistic name: “Project Nightingale – to make data sing” because it’s much nicer to work on that than the “our charts are fundamentally broken and everyone hates working on them” problem. Sometimes it’s a description that helps visualise the issue: “the pinball routing problem” when the redirects in your webapp fill up your network, and it’s hard to see which page to show for the current state “Am I adding strawberries to my shopping cart, or am I paying for them separately?”

A good name helps keep everyone focused and provides a focal point that everyone understands.

I know naming things is hard, but naming hard things makes them easier to work with. And it doesn’t have to be a descriptive name. If you’re struggling, name them after hurricanes, or characters from Glee, or Tour De France winners, so long as they’re unique enough that you won’t get 2 of them confused.

_Name your problems. And conquer them._
Im new can someone helpe me
Tags: css
Published: 2023-04-07 10:48:05

So I want to display an arrow up and down when I click the first li
im gonna let the link to my jsfiddle [here](https://jsfiddle.net/dragon4win/ju861zb4/108/) 
So far what I made was ther first arrow in right place li.aver but the second hover and before show up in seccond li, it looks very confused but I can explain better my english is poor. 
I hope you can set the second arrow in first li.aver.
How to Maintain the state of BottomNavigationBar across tabs in Flutter
Tags: flutter, mobile, beginners, programming
Published: 2023-04-07 10:42:36

How to design your app that maintains its state when switching between tabs in Flutter.

A `BottomNavigationBar` is a common navigation widget used in Flutter mobile applications to provide users with quick access to multiple screens or tabs.

However, one common issue with this widget is that the state of the navigation bar is not maintained across tabs. for example, you might have entered some text in a form on one tab, but when you switch to another tab and come back, the form is reset and your text is gone.

This is because by default, when you switch between tabs in a bottom navigation bar, **Flutter destroys and rebuilds the widget tree for the new tab, which results in the loss of state.**

Unlike other frameworks, Fluter doesn’t make any assumptions about how you want to handle the display of the screens. however, this can lead to poor user experience and make the app less responsive. Right?

In this article, we will explore different methods that keep the state intact while navigating through the bottom navigation tabs. So let’s dive in!

Final output will look like this:


![Data and scroll position preserved](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e0cqor6cn66mmxtt76s4.gif)

For implementation with examples, check out [Canopas Blog](https://blog.canopas.com/how-to-maintain-the-state-of-bottomnavigationbar-across-tabs-528b3699f78b).
Join the SWForum.eu Webinar: DevOps Innovation in Practice
Tags: devops, software, opensource
Published: 2023-04-07 10:28:07

On **20 April 2023, at 11:00–12:30 CEST**, [SWForum.eu](https://swforum.eu/) is organising its third webinar series, entitled "**[DevOps Innovation in Practice: New lifecycle processes, new applications](https://bit.ly/3KEP8p1)**", focusing on exploring the latest innovations and best practices in DevOps for software development lifecycle management. This webinar will showcase some of the exciting new results coming out of R&D projects dedicated to advancing the state of the art in DevOps for advanced software systems.

Reserve your spot and join the discussion with the EU-funded projects that are working in the field, namely COSMOS, VeriDevOps, DESTINI, and PIACERE, key actors from industry and academia interested in software development (dev) and operations (ops).

Registration is free. Check out the official webinar page now to register and discover the thrilling agenda for this webinar series! [Register here!](http://bit.ly/3mfpuh5)

Help us spread the word about this event and share it with your network and anyone interested in the field of DevOps!
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
Published: 2023-04-07 10:21:58

	Hi All,
I'm getting below error sometimes in my springboot application. It is not happening every time but only sometime. Please help me why this error comes?
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.63.jar!/:na]
Explore the best strategies to migrate to the AWS cloud
Tags: aws, news, cloud, cloudmigration
Published: 2023-04-07 10:00:04

AWS migration involves moving an organization's IT infrastructure, applications, and data to the cloud-based services provided by Amazon Web Services (AWS). Our proven methods can help you make the most of the AWS Cloud while ensuring a secure and efficient data migration process.  

You can be part of the many satisfied clients who have already migrated to AWS Cloud.  

For more information on the different migration strategies and best practices, you can access our whitepaper by downloading "**BEST STRATEGIES TO MIGRATE TO THE AWS CLOUD**" at [https://bit.ly/3ZC9cxa](https://bit.ly/3ZC9cxa)

#AWS #datasecurity #AWScloud #cloudmigration #datamigration #AWSservices #AWSMigration #CostOptimization #strategy #technology #management #help #business
How to display events from start to end date in a calendar view in JavaScript
Tags: javascript, webdev, react, help
Published: 2023-04-07 09:46:05

Hello Dev's i need your help.

When displaying events in a calendar view, it is important to show the events from their start to end date. However, in JavaScript, it can be tricky to loop through the dates in between the start and end date of an event. 

Can u help how to display events from start to end date in a calendar view in JavaScript.

**here is the code.**

[CODE-SANDBOX](https://codesandbox.io/embed/summer-forest-nfnkbu?fontsize=14&hidenavigation=1&theme=dark)

I try to make output Of Calendar needs to look like this.
[![enter image description here][1]][1]


  [1]: https://i.stack.imgur.com/ofsSx.png