teleren/devto huggingface dataset:
Covenant University Ota,2024/2025 Session Admission forms
Tags: webdev, beginners
Published: 2024-06-05 21:29:57

Covenant University Ota,2024/2025 Session Admission forms are on sales.Contact the admin of the school ☎️ 07065086538 Dr ANITA for purchase of the form and how to register on-line. The general public is hereby informed that application forms for admission into the degree Programme 2024-2025 academic session. NURSING ADMISSION FORMS,INTER SCHOOL TRANSFER FORM,DIRECT ENTRY FORMS,MASTERS AND PHD FORMS,& PART-TIME FORMS are out and on sales in the school premises. Call the School Admin.DR.Mrs Anita on☎️ 07065086538 for more details on how to apply and register online. The School Authority requires all candidates applying for admission into any of its courses to possess Five (5) O' Level Credit Level Passes at not more than two (2) sittings to include English Language and Mathematics and three (3) other subjects relevant to course.
Crawford University Igbesa,2024/2025 Session Admission form
Tags: webdev, beginners
Published: 2024-06-05 21:26:18

Crawford University Igbesa,2024/2025 Session Admission forms are on sales.Contact the admin of the school ☎️ 07065086538 Dr ANITA for purchase of the form and how to register on-line. The general public is hereby informed that application forms for admission into the degree Programme 2024-2025 academic session. NURSING ADMISSION FORMS,INTER SCHOOL TRANSFER FORM,DIRECT ENTRY FORMS,MASTERS AND PHD FORMS,& PART-TIME FORMS are out and on sales in the school premises. Call the School Admin.DR.Mrs Anita on☎️ 07065086538 for more details on how to apply and register online. The School Authority requires all candidates applying for admission into any of its courses to possess Five (5) O' Level Credit Level Passes at not more than two (2) sittings to include English Language and Mathematics and three (3) other subjects relevant to course.
Covenant University Ota,2024/2025 Session Admission forms
Tags: scrum, javascript
Published: 2024-06-05 21:23:20

Covenant University Ota,2024/2025 Session Admission forms are on sales.Contact the admin of the school ☎️ 07065086538 Dr ANITA for purchase of the form and how to register on-line. The general public is hereby informed that application forms for admission into the degree Programme 2024-2025 academic session. NURSING ADMISSION FORMS,INTER SCHOOL TRANSFER FORM,DIRECT ENTRY FORMS,MASTERS AND PHD FORMS,& PART-TIME FORMS are out and on sales in the school premises. Call the School Admin.DR.Mrs Anita on☎️ 07065086538 for more details on how to apply and register online. The School Authority requires all candidates applying for admission into any of its courses to possess Five (5) O' Level Credit Level Passes at not more than two (2) sittings to include English Language and Mathematics and three (3) other subjects relevant to course.
Kubernetes Worker Node Components
Published: 2024-06-05 21:19:50

Our article provides an overview of these components and their roles in supporting containerized applications in a Kubernetes cluster. To properly understand this article, you should have an understanding of the Kubernetes control plane.

Container runtime is responsible for tasks like pulling images from a repository and isolating resources for containers.

Kubelet acts as the primary node agent, ensuring that containers for the pods assigned to its node are running. It interacts with the container runtime using the Container Runtime Interface (CRI) to manage containerized workloads.

Kube-proxy do handles networking by maintaining network rules for pod communication. It watches Service and Endpoint resources and updates iptables rules for packet routing within the Linux kernel.

Service Resources provide stable IP addresses for connecting to pods, facilitating communication within or outside the clusters. Services work with Endpoints resources to route client requests to the appropriate pods.

Learn more: https://everythingdevops.dev/kubernetes-architecture-explained-worker-nodes-in-a-cluster/
Babylon.js Browser MMO - DevLog- Update #6 - Character UI
Tags: babylonjs, gamedev, indie, mmo
Published: 2024-06-05 21:12:42

Hi!
Today I was working on the UI. I fixed player name text (it's not mirror reflected anymore). I added tooltip with name and class while hoovering over players. And added ability Panel for skills and some actions like character stats, inventory etc.

Hope You like it!

{% youtube 3vzId1DzR5g %}
My Programming Journey
Published: 2024-06-05 20:49:50

Hi😍 I am excited to share my first post here. I am writing to document my first experience as I  become a techie.

Web development has always been an area of great interest to young tech beginners and it involves the design and creation of websites and webpages. It involves the use of the languages such as HTML,CSS, JavaScript etc. It cut across various disciplines such as web design, web programming, and database management. From simple static web pages to complex dynamic web applications, web development covers a broad spectrum of activities aimed at creating engaging and functional online experiences. 
 
My Programming journey has been impactful in this early stage and I know it would be an amazing experience because I am beginning my tech journey  as a starter in the right Tech Firm, thanks to White Creativity for acceptance.

Technical skills are now top notch in the society today, and here I am to get one for myself. Since the beginning of my learning as an intern web developer, I would say this had been my best phase since learning began in respect to my course of study. I do not just hear what it's like but I have been given the chance to learn, test and practice the theory I have been taught.  

I chose web development as a specialty for starter and it has been amazing creating those lovely web pages and designs, it's really amazing. I started few days ago and I'm glad to have just completed my First HTML and CSS coding Class with the examples attached to it and it was really awesome. I am enthusiastic about classes ahead and practicing higher examples which would equip me to easily solve real life problems. I believe this team through their unique way of teaching and impacting would help me advance and have more reason to love web development.

I do not have much technical exposure on this article because I'm a starter but I hope to have more write-ups on hands-on labs, experiences and exercises as I journey on this path and I trust  White Creativity would be a catalyst for me to have more reasons to venture into other tech skills. 

I am glad I joined the best team and ready to learn, practice and Explore with #WhiteCreativity.


By Onyechere, Goodness Chimuanya
5th June,2024.
Heuristics for identifying legal (documentation) risks as a QA
Tags: testing
Published: 2024-06-05 20:46:55

[This article is not a substitute for professional legal advice. This article does not create an attorney-client relationship, nor is it a solicitation to offer legal advice.]

Companies generally have to follow certain requirements for legal documentation. These are that legal documentation such as Terms and Conditions and the Privacy Policy, amongst other documents, must be
- PRESENT
- UP-TO-DATE
- NOT SKIPPABLE
- EASY TO LOCATE AND ACCESS

So if they are BOHNN, you might have an issue.

## BYPASS
Find paths that allow users to BYPASS/SKIP the terms and conditions or the privacy policy page/{other relevant documentation check with your company's lawyer/legal team) when signing up for the product, signing into the platform or buying a new service. 

## OUTDATED
Find links to OUTDATED legal copy documents. 

Is the copy on the page - if it's directly on the screen - up-to-date?

Do the links to the documentation page or document go to the correct one? 

Is the outdated legal documentation still viewable if/when it's not supposed to be?

When all the legal links/documents/copy were updated on the website, were they really ALL updated? Does it match the rest of the links (if it is supposed to match)?

## HIDDEN
Find HIDDEN (links to) legal copy. 

A link might be hidden if it blends in with the background colour of the page. 

It might also be hidden if it's not accessible from every screen. 

## MISSING
Find MISSING (links to) legal copy. 

A page might be missing references to the relevant legal copy for that page. 
A citation might be incorrect. 
The footer might be missing references to the legal pages.

## NOT AGREE
Find paths that allow users to NOT AGREE to the terms and conditions or the privacy policy (for example) when signing up for the product, or signing into the platform, or buying a new service. 

If the site is using checkboxes, is it possible to go to the next screen without ticking the relevant checkbox?

If the site is saying, "if you click accept, you accept these terms", can you go to the next screen without accepting? Or maybe if you go backward and forward you can remove the acceptance and continue on?
How-to: Use dictionary in TypeScript
Tags: typescript, javascript, webdev
Published: 2024-06-05 20:42:11

Here is the scenario, I want to create a function `getLegsNumber` that use this structure as dictionary

```Javascript
const mappingAnimalLegs = {
    'CAT' : 4,
    'DOG' : 4,
    'DUCK' : 2
}
```

If I write something like this

```Javascript
function getLegsNumber(animal) {
    return mappingAnimalLegs[animal] | 0
}
```

Typescript is not happy and tell us:

`
Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ CAT: number; DOG: number; DUCK: number; }'.(7053)
`

So... how I can solve this without adding too much noise ?

Here is my solution:

```Javascript
function getLegsNumber(animal: string): number {
  if (animal in mappingAnimalLegs) {
    return mappingAnimalLegs[animal as keyof typeof mappingAnimalLegs];
  }
  return 0
}
```

I can also simplify a bit more with 

```Javascript
function getLegsNumber(animal: string): number {
    return mappingAnimalLegs[animal as keyof typeof mappingAnimalLegs] | 0
}
```

What do you think?

[Typescript playground as reference](https://www.typescriptlang.org/play/?#code/MYewdgzgLgBAtgQwA5IJZgOYEEysQGwBkBTDCGAXhgG8AoGBmAcgGEsAVJmALhgBYANPUZMAIgHkA4l16DhDMQFUWAaRkwATLQC+tWgDMArmGBRU4GBmJQSZAHII4AI2IAnABQJcBXtFfoMAEpeMENnNxp5GFdrQ1cweGQ0TBw8BCJSCABtLzT8GARyAGtiAE8QfRgoUqRiCsSUANSCWwgAXRgAHxgABh0gA)
[WIP] Test UI?
Tags: webdev, javascript, programming
Published: 2024-06-05 20:31:14

There are different solutions on test UI 

- Jest unit testing
- Jest Snapshots
- Integration testing
- Image comparison testing
- Accessibility reports
- Manual testing

When to us what? In my experience a big project will end up using all of them.

Let start with the first 

## Jest unit testing

> Unit testing is a type of software testing that focuses on individual units or components of a software system.

Nice... but let also mention that:

> we want to test behavior and not implementation

The goal is I can change 100% the implementation and the test will still pass

How? the style is called "Black box testing" and it focus on behavior not on testing each function input output

## Jest Snapshots

As the official docs tell 
> Snapshot tests are a very useful tool whenever you want to make sure your UI does not change unexpectedly

The idea is, I take a copy of the rendered component ( only the generated HTML) in a scenario X and I will compare each time I run the test. If it's different... Well, we know something has changed


... to be continued
Millisecond Scale-to-Zero with Unikernels
Tags: unikraft, unikernels, cloud
Published: 2024-06-05 20:24:03

---
title: Millisecond Scale-to-Zero with Unikernels
published: true
description: A solution to intermittent and unpredictable traffic.
tags: Unikraft, unikernels, cloud
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gr62ywypmo19s8s0dzbm.png
---

[Read the full article here](https://packagemain.tech/p/millisecond-scale-to-zero-with-unikernels)
Transforming Internet Browsing Experience on Desktop: A Proof of Concept
Tags: ux, webbrowser
Published: 2024-06-05 20:23:56

Over time, desktop internet browsing can become clumsy due to the accumulation of numerous open tabs. You may become attached to tabs you've opened or you forget to close them, and you end up carrying them over to each new browsing session. This issue has been recognized in recent years, and some solutions have been developed to enhance the browsing experience.

The most valuable solution for me was the introduction of [tab grouping in Chrome](https://blog.google/products/chrome/manage-tabs-with-google-chrome/). It helped keep my tabs organized. Before this, there were similar tools to tackle this problem, such as Session Buddy, a Chrome extension that allows you to store and manage sessions effortlessly.

However, both solutions share a common drawback: web browsing now requires time for tab management. While the time involved isn't substantial, it disrupts the browsing flow, requiring a cleanup after each session or cleaning opened tabs during browsing, and that is not fun.

After my last browsing session cleanup, I reflected on how having so many tabs open had become normal. I realized that the web browsing experience hasn't fundamentally changed since [the introduction of tabs](https://en.wikipedia.org/wiki/NetCaptor). When opening a link, you either **replace the current page** or **open in a new tab**.

**What if** there was a way to open a link in the same position as the link itself, without replacing the current page?

This approach should lead to fewer open tabs per session and provide a smoother browsing experience, as your eyes wouldn't need to readjust to a new position.

To test this browsing experience, I built a simple Chrome extension ([source](https://github.com/maleta/link-in-same-page)).

Here's a preview of how it works:
![demo](https://github.com/maleta/link-in-same-page/blob/master/demo1-short.webp?raw=true)




The extension works partially due to [multiple security concerns](https://github.com/maleta/link-in-same-page?tab=readme-ov-file#security-concerns) and the fact that it utilizes the `iframe` HTML element. If this browsing experience is properly integrated, users should have an isolated and safe browsing experience.

Feel free to share your thoughts or suggestions.
Greengrass - TES responded with status code: 403
Tags: greengrass, raspberrypi, aws, iot
Published: 2024-06-05 20:20:10

Deploying a custom greengrass component with docker artifacts to a docker containerized greengrass system resulted in this message. Has there been a similar experience by any users?

```
2024-06-05T19:37:27.868Z [ERROR] (pool-3-thread-24) com.aws.greengrass.tes.CredentialRequestHandler: TES responded with status code: 403. Caching response. {"message":"Access Denied"}. {iotCredentialsPath=/role-aliases/GreengrassCoreJitpTokenExchangeRoleAlias/credentials}
2024-06-05T19:37:27.870Z [ERROR] (pool-3-thread-24) com.aws.greengrass.tes.CredentialRequestHandler: Error in retrieving AwsCredentials from TES. {iotCredentialsPath=/role-aliases/GreengrassCoreJitpTokenExchangeRoleAlias/credentials, credentialData=TES responded with status code: 403. Caching response. {"message":"Access Denied"}}
```

The policy associated with the GreengrassCoreJitpTokenExchangeRoleAlias has been verified, included here for reference.


### 1st Permission Policy
```
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "ecr:GetAuthorizationToken",
                "ecr:BatchCheckLayerAvailability",
                "ecr:GetDownloadUrlForLayer",
                "ecr:GetRepositoryPolicy",
                "ecr:DescribeRepositories",
                "ecr:ListImages",
                "ecr:DescribeImages",
                "ecr:BatchGetImage",
                "ecr:GetLifecyclePolicy",
                "ecr:GetLifecyclePolicyPreview",
                "ecr:ListTagsForResource",
                "ecr:DescribeImageScanFindings"
            ],
            "Resource": "*"
        }
    ]
}
```

### 2nd Permission Policy
```
{
	"Version": "2012-10-17",
	"Statement": [
		{
			"Effect": "Allow",
			"Action": [
				"logs:CreateLogGroup",
				"logs:CreateLogStream",
				"logs:PutLogEvents",
				"logs:DescribeLogStreams",
				"s3:GetBucketLocation",
				"ecr:*"
			],
			"Resource": "*"
		}
	]
}
```

### Trust Relationships
```
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": {
                "Service": "credentials.iot.amazonaws.com"
            },
            "Action": "sts:AssumeRole"
        }
    ]
}
```
Test if a promise throw an Error
Tags: webdev, javascript, programming, jest
Published: 2024-06-05 20:19:36

Hi, few weeks ago I had to solve this problem,

If the API return 404 I want my code to Throw and error, in general fetch will not throw an error on API failure with exception of a time out so I had to force that behavior:

Here is my base code

```Javascript
const response = await fetch(url);
 if (!response.ok) {
    if(response.status !== 404){
        throw new Error(`Error on details API ${response.status}`)
      }
  }
```

Ok... here the solution I end up with:

```Javascript
    await expect(
                api.fetchEvent(body)
    ).rejects.toThrow('Error on details API 404');
```

It can be improved but I thought sharing the solution may help somebody else
Frontend Challenge v24.04.17 Submission
Tags: frontendchallenge, devchallenge, css, react
Published: 2024-06-05 20:08:47

_This is a submission for [Frontend Challenge v24.04.17](https://dev.to/challenges/frontend-2024-05-29), CSS Art: June._

## Inspiration
It's a weather app inspired by June

## Live site 

{% embed https://davedude1011-dump.github.io/css-art-june/ %}

## Code
{% embed https://github.com/Davedude1011-dump/css-art-june-react %}

<!-- Team Submissions: Please pick one member to publish the submission and credit teammates by listing their DEV usernames directly in the body of the post. -->

<!-- We encourage you to consider adding a license for your code. -->

<!-- Don't forget to add a cover image to your post (if you want). -->

<!-- Thanks for participating! -->
1002. Find Common Characters
Tags: php, leetcode, algorithms, programming
Published: 2024-06-05 20:06:38

1002\. Find Common Characters

Easy

Given a string array `words`, return _an array of all characters that show up in all strings within the `words` (including duplicates). You may return the answer in **any order**_.

**Example 1:**

- **Input:** words = ["bella","label","roller"]
- **Output:** ["e","l","l"]

**Example 2:**

- **Input:** words = ["cool","lock","cook"]
- **Output:** ["c","o"]

**Constraints:**

- <code>1 <= words.length <= 100</code>
- <code>1 <= words[i].length <= 100</code>
- <code>words[i]</code> consists of lowercase English letters.


**Solution:**

```
class Solution {

    /**
     * @param String[] $words
     * @return String[]
     */
    function commonChars($words) {
        $letterCount = array_fill(0, 26, PHP_INT_MAX);
        foreach ($words as $word) {
            $wordLetterCount = array_fill(0, 26, 0);
            foreach (str_split($word) as $letter) {
                ++$wordLetterCount[ord($letter) - ord('a')];
            }
            for ($i = 0; $i < 26; ++$i) {
                $letterCount[$i] = min($letterCount[$i], $wordLetterCount[$i]);
            }
        }
        $result = [];
        for ($i = 0; $i < 26; ++$i) {
            while ($letterCount[$i] > 0) {
                $result[] = chr($i + ord('a'));
                --$letterCount[$i];
            }
        }
        return $result;
    }
}
```

**Contact Links**

- **[LinkedIn](https://www.linkedin.com/in/arifulhaque/)**
- **[GitHub](https://github.com/mah-shamim)**
Seeking Frontend and Backend Developers for User Account Management Web App Project.
Tags: python, javascript, css
Published: 2024-06-05 20:01:11

Hi everyone,

I am Akib, a DevOps with expertise in AWS, Linux, Terraform, and other DevOps tools. I am currently working on an exciting web application project and am looking for collaborators to join me.

Project Description:
The project is a user account management system where users can **create accounts, verify their email, solve a CAPTCHA, and download personalized PDFs**. The infrastructure is being developed using AWS, Linux, and Terraform. I need collaborators for both front-end and backend development.

Roles and Responsibilities:

**Frontend Developers:**

- Designing and implementing the user interface using HTML, CSS, and JavaScript.
- Creating responsive web pages.
- Collaborating with backend developers to integrate the front end with APIs.

**Backend Developers:**

- Developing the application logic using Python (Flask/Django).
- Handling database interactions and ensuring data security.
- Creating and managing APIs for the front end to consume.
- Collaborating with me to deploy and manage the application on AWS using Terraform.

**Benefits:**

- Gain practical experience by working on a real-world project.
- Enhance your portfolio with a comprehensive project.
- Learn about cloud infrastructure and deployment practices.
- Potential for long-term collaboration on future projects.

If you are interested or have any questions, please feel free to reach out to me via LinkedIn: https://www.linkedin.com/in/ahussain119/

Looking forward to collaborating with you!

Best regards,
Aqib
AWS Summit Stockholm
Tags: 100daystooffload, aws, awssummit, event
Published: 2024-06-05 19:49:31

Yesterday, June 4th, I attended the free event, [AWS Summit Stockholm 2024](https://aws.amazon.com/events/summits/emea/stockholm/).

It was a nice experience filled with insights, innovations, and networking opportunities. The event, held at Stockholmsmässan, brought together thousands of tech enthusiasts, industry experts, and AWS partners, all eager to explore the latest advancements in the cloud technology from AWS.

There were more than 50 sessions and the main theme during the day was generative AI, I hope that the sessions I missed will be available on youtube soon. These were the sessions I attended:

* Keynote
* Zero Trust at Scale with Amazon Verified Permissions
* Model choice in Amazon Bedrock
* Enhance observability with insights from Amazon Bedrock
* Modernize your data lake using Open Table Formats
* Training GenAI Models on Amazon Sagemaker

Attending to these sessions was an enriching experience that left me inspired and equipped with new things to tinker with, I really hope that I will have time to explore some of the topics that were presented during the day.

If you have the opportunity to attend an AWS Summit in the future, I highly recommend it. 

Until next time!
New domain OSINT tool. Your thoughts and feedback?
Tags: programming, opensource, security, showdev
Published: 2024-06-05 19:47:06



Hello everyone! So I've been developing this OSINT software for quite a long time (mostly it was in beta stage) as my first significant project, but now I feel that it is completed in most parts, so I've released that. Nevertheless, since I expect the community to use this tool (and I intended to make tool that will be appreciated and used by community), I want to hear community voice about it. So I'm asking about your feedback on some things in my project:

1. Production/Code/Design/User Interaction quality

2. Practical necessity of implemented OSINT algorithms (do you really need them in practise?)

3. Maybe some ideas on futue updates (new OSINT approaches/algorithms, QoL updates and so on)

Your opinion and feedback will be hugely appreciated!

Project link: https://github.com/OSINT-TECHNOLOGIES/dpulse