teleren/devto huggingface dataset:
How to pass AWS Solution Architect associate in First attempt
Tags: aws, awscommunity, communitybuilder, solutionarchitect
Published: 2022-05-09 09:18:26

Hello Everyone,

Hope everyone is doing well and keeping safe.

Recently I have appeared for AWS SAA C02 exam and cleared in my first attempt. So I will be sharing few study tips here to achieve the same.

First of all, This is associate level exam and there is no pre-requisite for this. I strongly recommend to refer the below study resources to start preparing for this course.

Free study resources:
1. [Skill builder AWS](https://explore.skillbuilder.aws/learn/course/external/view/elearning/125/exam-readiness-aws-certified-solutions-architect-associate-digital?saa=sec&sec=prep) Official AWS Training
2. [Pythoholic Youtube channel](https://www.youtube.com/watch?v=2tAN9FUzCmw&list=PLiH9_MU-6RjI9gdFqmvUfKRfw_zRxIb6o) 

Paid Resources:
1. [Adrian cantrill AWS Course](https://learn.cantrill.io/) One of the best AWS course to start from foundational level
2. [Cloud Academy](https://cloudacademy.com/learning-paths/aws-solutions-architect-associate-certification-preparation-for-aws-2021-1-2977/) I recommend this course if you are visual learner
3. [Tutorials DOJO for Practice tests](https://portal.tutorialsdojo.com/courses/aws-certified-solutions-architect-associate-practice-exams/)

Please reach to me on [Linkedin](https://www.linkedin.com/in/logeswarangv/) in case of you need any further help.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a7rz3y74x4a3p8eeweti.PNG)

**PS : The AWS Certified Solutions Architect - Associate certification exam is changing August 30, 2022. The last date to take the current exam is August 29, 2022**
Calling all Web3 devs, Analog's grant programs awaits.
Tags: web3, blockchain, grantprogram, dapp
Published: 2022-05-09 09:16:06

Hey guys! 👋  I'm a PM @ Analog; we're building out a trustless, omnichain interoperable platform that will allow devs to build their dApps via a universal protocol and API. 

We are calling all web3 devs, we need your help -- we're structuring our developer's grant program and in order to do so we want to understand your current challenges with building in web3.

We're excited to hear what you have to say and in return you get early access to the program! 🥳 

Here is the link: https://forms.gle/dJU1GxRpLRME5erq5
Chevron Anti-pattern
Tags: architecture
Published: 2022-05-09 08:57:50

I will talk about an anti-pattern I've encountered a few time but I didn't found it in literature, so I called it the "Chevron anti-pattern". Let-me know if you recognize it and if it has a true name 😉

## Class Diagram

Lets start by an example. Assume you develop an application that should support 2 render engines. One based on Unity, the other based on Unreal. You render area is embedded in a Window. You define a Widget abstraction layer to handle event, and a Render abstraction layer to handle rendering. You end up with this class diagram:

![Chevron anti-pattern](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9vh97mlpera7xkb69nu3.png)

You have your Windows that has a **WidgetInterface** which can be either a Unity based widget or an Ureal based widget. Nice, isn't it ?

I called it "Chevron" pattern because one can see 2 chevrons pointing to the top. 

![Chevron anti-pattern](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qfndu4kvhtajhqt4zzpo.png)
 
And this can continue on several layers.

## Why is it an Anti-Pattern ?

The anti-pattern part comes from the **RendererInterface**. An interface defines a set of services that should be implemented by concrete implementation, so that client of this interface don't care of the underlying implementation.

In this case, **RendererInterface** is not used by any client.

![RendererInterface client](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gwxy4vqm54s23v5babvu.png)

Even if it is not owned by anyone, it may still be used as function parameter, but when I encountered this pattern, those usage could easily be removed with small refactoring.

You end up having very strong constraints on how concrete Unity and Unreal Renderers have to be implemented, without real reasons. Maybe UnityWidget is just a pass-through UnitRenderer, but this design forced you to have such a layer ?

## How to Fix This ?

This anti-pattern is very easy to fix if discovered soon enough. If **RendererInterface** is useless, just remove it:

![Removing useless interface](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rc6ovred8acdjy28jgl5.png)

Now it decouple UnityRender and UnrealRender implementations. You can implement those classes as you want, even merge them into Widget layer if it makes sense. Keep in mind that the important part here is the **WidgetInterface**. It is this interface that let you change render engine without impacting Windows layer. **RendereInterface** was initially added probably to keep a symmetry in the design and have a beautiful class diagram, which are not good reason to define an interface.
Empowering patients and healthcare organizations through Azure AI Services – LIVE – May 11
Tags: azure, ai, healthcare, cloud
Published: 2022-05-09 08:50:07

Join me on **May 11, 19.00-19.30 (UTC+3)** at Boston Healthcare Technology User Group to explore the Azure AI Services for healthcare and the Azure Health Bot.

Date: **May 11, 2022**
Time: **19:00 UTC+3 | 12:00 EST**
Location: Global
Topic: AI, Machine Learning, Health technology and more...
Registration: [Meetup](https://www.meetup.com/healthcare-tech-community/events/285726686/)

![Session Poster](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3i5ckhchknn7o8pwcu3g.jpg)


## Session description
In this session, we will explore the Azure AI services and discuss possible ways that organizations can use Azure Cognitive Services and Machine Learning to build apps that improve patients’ experiences and health outcomes. We will then show how to build a bot for COVID-19 triage and mental health screening with the Azure Health Bot.

**What you will learn in this session:**
* Understand the different available services of the Azure AI Platform: Azure Cognitive Services, Azure Applied AI, and Azure Machine Learning
* Build a digital health assistant for COVID-19 triage and mental health screening with Azure Health Bot.

Join us at: [YouTube](https://www.youtube.com/watch?v=FkOHZBz4TNw)

### Self-Paced Learning from Microsoft Learn
* [Create intelligent health bots with Azure Health Bot](https://docs.microsoft.com/en-us/learn/paths/create-bots-azure-health-bot/)
* [AI business school for healthcare](https://docs.microsoft.com/en-us/learn/paths/ai-business-school-healthcare/)

### Learning Resources
* [Predict the risk of chronic kidney disease with Azure Machine Learning](https://foteinisavvidou.azurewebsites.net/predict-the-risk-of-chronic-kidney-disease-with-azure-machine-learning/)
* [Create AI-powered medical chatbots with Azure Health Bot](https://foteinisavvidou.azurewebsites.net/create-ai-powered-medical-chatbots-with-azure-health-bot/)
* [Create a mental health screener with Azure Health Bot](https://foteinisavvidou.azurewebsites.net/create-a-mental-health-screener-with-azure-health-bot/)
HTML Table Sorting using Vanila JavaScript
Tags: javascript, tutorial, html, webdev
Published: 2022-05-09 08:42:38

In this tutorial you will learn how to make a HTML table with custom sorting functionality using Vanila JavaScript. No third party plug-in used for the sorting functionality

{% youtube xTKGOB21O4s %}

[HTML Tamizhan](https://www.youtube.com/HTMLTamizhan) - YouTube channel about web-development and high technologies. Learn the fundamentals of HTML and CSS while watching the videos of our channel.
👨🏻‍💻 Γνήσιες άδειες χρήσης , Γιατί ?
Published: 2022-05-09 08:42:23



Γειά σου , σήμερα θα αναλύσουμε τους κυριότερους λόγους που πρέπει κανείς να αγοράζει γνήσιες άδειες για την χρήση των προγραμμάτων που χρησιμοποιεί. Κάθε εφαρμογή έχει αναπτυχθεί με σκοπό να παρέχει ένα χέρι βοηθείας στα άτομα που την χρησιμοποιούν , άλλες ενσωματώνουν πολύπλοκα συστήματα που πήραν μήνες η και χρόνια από την ομάδα σχεδίασης και ανάπτυξης για να ολοκληρωθούν ,άλλες πάλι είναι απλούστερες και κατάφεραν να αναπτυχθούν γρηγορότερα. Αυτό δεν παύει να σημαίνει ότι πρέπει να πληρωθούν για την δουλειά τους.

Το να προμηθευτεί κάποιος σπασμένο λογισμικό είναι παράνομο και μόνο μπελάδες μπορεί να σου φέρει, αλλα ας μιλήσουμε για το ηθικό μέρος.

Κύριος στόχος των εταιρειών που αναπτύσουν λογισμικό δεν είναι άλλος περα απο το βγάλουν χρήματα και να βοηθήσουν τους πελάτες τους. Μια άδεια χρήσης οταν την αγοράζουμε στηρίζουμε τόσο την ιδια την εταιρια , αλλα και τους υπαλλήλους της.

😏 Παμε ομως να δούμε τους τα βασικά μειονεκτήματα που έχουν οι σπασμένες εφαρμογές.**

    Δεν είναι προιόν πιστοποιημένο από την εταιρία που το αναπτύσει, υστερεί σε θέματα ασφαλείας αρα συνεπώς μπορεί να τρέξει κακόβουλο λογισμικό και να έχουμε απώλεια δεδομένων η και χειρότερα σενάρια.

    Δεν είναι σίγουρο ότι θα δουλεύει πάντα σωστά , και οταν την χρειαστείς δεν θα μπορείς να δουλέψεις.

    Δεν έχεις τεχνική υποστήριξη απο την εταιρία συνεπώς αν κατι δεν πάει καλά , θα μείνεις ξεκρέμαστος.

Αν είσαι επαγγελματίας και χρειάζεσαι εφαρμογές για να κάνεις την δουλειά σου ευκολότερα , δώσε ένα ποσό ανα μηνα η ανα ετος για να εχεις το κεφάλι σου ήσυχο.

Οι περισσότερες εφαρμογές διαθέτουν μια δωρεαν περίοδο δοκιμαστικής λειτουργίας για να δεις αν σε καλύπτει πριν την αγορά τους.

Αυτά για σήμερα ελπίζω να μην κούρασα. Τα λέμε σε επόμενο άρθρο 😀
I'm looking for a tech partner
Published: 2022-05-09 08:30:16

Hello,

I'm a student doing a master in business at the moment but I have few different big ideas that would require someone with the capabilities to develop website 2.0 as well as Web 3.0 and solidity, python would be a ++.

I'm looking for a partner meaning people who would join me and create and develop ideas in exchange of equity in a possible success of those ideas. Someone young or still at university would be preferred.

Thanks for reading,
Don't hesitate to dm me
What if your apps get rebuilt, only from reading the commit messages?
Tags: watercooler
Published: 2022-05-09 08:25:03

Just imagine a highly trained AI with super coding powers is trained to write an app just from reading your commit messages. How would your apps look like?

Would it be

- a stable running app, running according to the specs
- empty page (with thousand times `updated` output to the console)
- a complete mess of unrelated files that won't even compile?
- core parts are working and milestone-critical features are either blank (`added` or `updated`) or just don't work (`got it done in time`)
- what else?
CKS Challenges
Tags: kubernetes, devops
Published: 2022-05-09 08:13:12


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

We have launched a special series to help you prepare for the Kubernetes CKS certifications. Check out the **Certified Kubernetes Security Specialist Challenge Series**, where you can put all your hardcore Kubernetes skills to the test.

This series consists of a set of complex challenges that will assist you in mastering Kubernetes Security concepts and getting ready for the coveted Certified Kubernetes Security Specialist Certification.

These challenges will test you on Kubernetes security concepts such as network policies, RBAC, seccomp, AppArmor, etc. To solve some of the tasks, you will also need to make use of third party security tools such as Aquasec Trivy, Kubesec, CIS Benchmarks and Falco from Sysdig open source. 

The interface of these challenges is divided into two parts:

1. The top half contains the Quiz portal where the details related to the challenge is displayed and an interactive Architecture diagram.

Click on the icons and the arrow connectors in the architecture diagram and an associated task (if available) will be displayed on the quiz portal.


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

2.The bottom half of the interface contains the terminal to the Kubernetes controlplane which you would use to complete the tasks.


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

To validate if a task is complete, you can click on the “Check” button. If complete, the icons in the architecture diagram will be highlighted in green. If something is yet to be completed, it will be highlighted in red.

To complete the challenge, you must complete all the tasks.

**How to submit your solution**

Record your solutions and share on social media on your blog/video on YouTube.
And these are absolutely free for anyone to attempt.

Just follow the steps below to submit your solution and win exciting prizes.

1. Document your solution with a good explanation on your blog or GitHub
2. Or even better record a demo and upload on YouTube
3. Add a link to the CKS challenges on KodeKloud in your reference [https://kodekloud.com/courses/cks-challenges/](https://bit.ly/3spNmyj)
4. Submit the details through the form: https://g0u7lypetlq.typeform.com/cks-challenge

**Prices**

The best solution with the best explanation wins the content.

We give away 2 **Exam vouchers** each month for top submissions.

_So what are you waiting for? Get started right now._
Compile-time type checking in Common Lisp: a small experiment
Tags: commonlisp, type
Published: 2022-05-09 08:04:22

---
title: Compile-time type checking in Common Lisp: a small experiment
published: true
description: 
tags: commonlisp,type
//cover_image: https://direct_url_to_image.jpg
---

In static1.lisp:

```Lisp
(defpackage static1 
 (:use #:cl)) 
(in-package :static1) 

(declaim (ftype (function (string string) string) concat-strings)) 
(defun concat-strings (a b)
  (format nil "~A --- ~A" a b)) 

(declaim (ftype (function (fixnum fixnum) string) concat-nums)) 
(defun concat-nums (a b)
  (concat-strings a b))
```

Then I ran this command:


```
sbcl --noinform --eval '(compile-file "static1.lisp")' --quit
```

SBCL showed this warning:


```
; caught WARNING: 
;  Derived type of STATIC1::A is 
;    (VALUES FIXNUM &OPTIONAL), 
;  conflicting with its asserted type 
;    STRING. 
;  See also: 
;    The SBCL Manual, Node "Handling of Types"
```

So SBCL - a Common Lisp implementation, can check type in compile-time. Anyway, a programmer needs to read warnings.
Dynamic Feature modules template
Tags: android, kotlin, mobile, programming
Published: 2022-05-09 07:51:02


An Android template project following a multi module approach with clean architecture. It has been built following Clean Architecture Principle, Dynamic Feature modules, Repository Pattern, MVVM Architecture in the presentation layer as well as jetpack components.

I created this repository to demonstrate best development practices by utilizing up to date tech-stack.

Dynamic Feature Modules and Dynamic Delivery?
Dynamic feature modules allow separation of certain features and resources from the base module of the app and include them in the app bundle. User can then download and install these modules later when they are required(on demand) even after the app has already been installed.

Dynamic Delivery is Google Play's app serving model that uses Android App Bundles to generate and server optimized APKs for each user's device configuration so that users download only the feature and resources the need to run the app.

Play Feature Delivery allow certain features of the app to be delivered conditionally (depending on user's language, location/country, paying or free user etc.) or downloaded on demand.

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

[Github Repository](https://github.com/mbobiosio/ModularDynamicFeatureHilt)
Temporarily Suspend BitLocker for firmware updates with reboot
Tags: uefi, bitlocker, secureboot, tpm
Published: 2022-05-09 06:04:09

## Intel ME / Firmware on my Razer Blade Advanced

I recently discovered I was out of date with my Razer Blade Advanced Intel ME firmware.

However, the Razer Updater complains that I must "temporarily disable Bitlocker". However, suspending BitLocker from the Manage BitLocker Control Panel does not quell the warning.

That's because you need to _boot the computer with BitLocker suspended_ and the GUI control panel does not allow you to do this:

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

## PowerShell to the rescue!

In an Administrative PowerShell console, run the [`Suspend-BitLocker`](https://docs.microsoft.com/en-us/powershell/module/bitlocker/suspend-bitlocker?view=windowsserver2022-ps) commandlet specifying that you want to automatically re-enable BitLocker after the _second_ reboot:

```powershell
Suspend-BitLocker -RebootCount 2 -MountPoint C
```

Which, if successful, will show you something like this:

```powershell
C:\Windows\System32> Suspend-BitLocker -RebootCount 2 -MountPoint C

   ComputerName: BLADE

VolumeType      Mount CapacityGB VolumeStatus           Encryption KeyProtector              AutoUnlock Protection
                Point                                   Percentage                           Enabled    Status
----------      ----- ---------- ------------           ---------- ------------              ---------- ----------
OperatingSystem C:        460.71 FullyEncrypted         100        {Tpm, RecoveryPassword}              Off
```

## Next Steps

Reboot your machine.

Run your firmware updater.

Reboot (firmware updater will probably do this for you).

Voilà - updated Intel ME and BitLocker is automatically re-enabled.
ModularAppTemplate
Tags: android, kotlin, mobile, programming
Published: 2022-05-09 07:32:07

An Android template project following a multi module approach with clean architecture. It has been built following Clean Architecture Principle, Repository Pattern, MVVM Architecture in the presentation layer as well as jetpack components.

I created this repository to demonstrate best development practices by utilizing up to date tech-stack.

Details
Operating System : Android
Programming Language: Kotlin
Architecture : MVVM
Dependency Injection : Hilt
Fragment Management : Navigation Component
Design : Material Design 3

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

[Github Repository](https://github.com/mbobiosio/ModularAppTemplate)
TIL how to mass-unsubscribe from Github notifications
Tags: todayilearned, cli, github
Published: 2023-05-19 20:37:44

---
title: TIL how to mass-unsubscribe from Github notifications
published: true
date: 2022-05-09 07:20:00 UTC
tags: TIL,cli,github
canonical_url: https://www.zufallsheld.de/2022/05/09/til-how-to-mass-unsubscribe-from-github-notifactions/
---

As part of my job I routinely create new Github repositories for my colleagues. One unfortunate side-effect is that I am automatically subscribed to all those repositories and get mails for any new issues, pull requests and so on.

This culminated in hundreds of mails over the weekend when we activated [renovate](https://github.com/renovatebot/renovate/) for all repositories. But since I don’t work on these repositories, I don’t need any notifications.

Now Github offers me two ways on its website to unsubscribe:

1. Via this webpage: https://github.com/watching. There I can either unsubscribe from all (which I don’t want) or unsubscribe from each repository by hand, which is too time-consuming.
2. Via the repositories by clicking the unwatch-button on each of these. Also too time-consuming.

Thankfully Github has a nice API where I can unsubscribe from notifications. This is the command to do it for one single repository:

```
gh api --method DELETE repos/T-Systems-MMS/terraform-azurerm-kubernetes-cluster/subscription

```

Now I only need to get all repositories I want to unsubscribe from. Thankfully they all have a topic, so I can get them with this command:

```
gh repo list T-Systems-MMS --topic terraform-module --json name -q .[].name

```

Now I only need to combine these two commands into one loop:

```
for NAME in $(gh repo list T-Systems-MMS --topic terraform-module --json name -q .[].name); do gh api --method DELETE repos/T-Systems-MMS/$NAME/subscription; done

```
Which functions/methods do you...
Tags: javascript, react, node, discuss
Published: 2022-05-09 07:06:19

## Which functions/methods do you copy from a project to another or re-code just to have them in some utils.js or utils.ts?

<img src="https://c.tenor.com/c4KyoQ7BQPAAAAAC/comment-down-below-dane-manalad.gif" />
Motivation-App using Appwrite
Tags: appwritehack, flutter
Published: 2022-05-09 06:37:49



### Overview of My Submission
I made an application called Motivation Apps. This application was created with the aim of motivating people who use this application based on the categories they want. I don't really have the inspiration behind this idea. But, this is my idea come from my life, Sometimes I really need support or words of motivation to give me encouragement to do something.


### Submission Category: 

Mobile Moguls


### Link to Code
{% embed https://github.com/holivin21/MotivationApp-AppWrite.git %} 


### Additional Resources / Info

The Screenshots of my application

![Splash Screen](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1f8ldml9kjnmpj13auw2.png)
![Home Screen](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m3vad6hkgee6s5w1xve2.png)
![Category Screen](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tlkkqngn3mcgbx3awfce.png)
![List Screen](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fh5cmidvxpi9bpfq0cm9.png)
![Detail Screen](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/09tl1y3k8j05tljlhpcu.png)
![Notification](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/za0ranwewtds1p6iqmyd.png)
Conditional statements in Javascript
Tags: javascript, codenewbie, wecoded, beginners
Published: 2022-05-09 06:27:21

Any set of code which can help us achieve a result can be referred to as algorithm. Here the conditional statements are our first introduction or building block to solving algorithms. We have already discussed about [data types](https://dev.to/aryakris/digging-more-into-variables-in-javascript-2ega) and [storing data in a variable](https://dev.to/aryakris/javascript-basics-part-2-1ae7). We will gradually understand that in programming everything comes back to basic datatypes. 

An if statement is comprised of the `if` keyword followed by a set of `parentheses` and inside of those parentheses is where we put our expressions that is the true or false check. After the parentheses we have `the opening and closing of the curly braces` which is called the body of if statement. Anything inside the body runs only if the conditions mentioned by the if statement is true. 

```
if (condition) {
  //  block of code to be executed if the condition is true
}
```
Getting Started with the Angular Calendar Component
Tags: webdev, blazor, dotnet, csharp
Published: 2022-05-09 06:19:28

Learn how easily you can create and configure the Syncfusion Angular Calendar using the Angular CLI command. This video also explains how to configure a few of the control’s basic features like setting specific date range values, multidate selection, and navigation between different calendar views. 

**Product Overview**: https://www.syncfusion.com/angular-ui-components/angular-calendar

**Download an example from GitHub**: https://github.com/SyncfusionExamples/getting-started-with-the-angular-calendar

**Refer to the following documentation**: https://ej2.syncfusion.com/angular/documentation/calendar/getting-started/

**Check out this online example** : https://ej2.syncfusion.com/angular/demos/#/bootstrap5/calendar/default

{% youtube I_A5xksToN0 %}