teleren/devto huggingface dataset:
What Makes a Great Developer Onboarding Process?
Tags: discuss, development, career, onboarding
Published: 2024-06-08 19:34:11

Hey Devs!

A bad onboarding process can be costly and lead to high turnover, with the biggest consequence being that people quit. Let’s discuss how to make onboarding effective and enjoyable. Here are some questions to get the conversation started:

🌟 What was the best onboarding experience you’ve had?
📋 Which onboarding practices do you find most helpful?
🛠️ What essential tools or resources should be provided to new developers?
💻 How can remote onboarding be improved?
🧑‍🤝‍🧑 What role does mentorship play in successful onboarding?
📚 How important is documentation in the onboarding process?
🚧 What challenges have you faced during onboarding, and how were they addressed?

Anything I missed or you want to add? Looking forward to your insights!
Help! my husband is Spying on My iPhone from his Computer - What should I do?
Published: 2024-06-08 19:22:50

Yesterday, after work, I made a shocking discovery that left me feeling completely violated and betrayed. I found out that my husband has been remotely spying on my iPhone from his Mac computer.

I never imagined that my own spouse would be invading my privacy in such a blatant manner. It has left me feeling confused and unsure of how to handle the situation. I'm from Perth in Australia. Should I confront him about it? Seek counseling? Or perhaps even consider legal action? what are the implications?

I stumbled upon an article (Full Cryptoleet Mag Article Here - https://cryptoleet.pro/2024/06/01/are-you-safe-on-your-iphone/) that suggests this type of behavior is becoming a concerning trend in Australia. I was intrigued by the article because the description looks and matches exactly like the software I saw him using. Should I spy on him to gather evidence too? or maybe i am too paranoid?


I'm reaching out to the community for advice and support. Has anyone else experienced a similar breach of trust? How did you handle it? What do you think I should do in this situation? Any guidance or insight would be greatly appreciated.
pyaction 4.31.0 Released
Tags: github, docker, python, showdev
Published: 2024-06-08 19:13:49

## TL;DR

I just released [pyaction](https://github.com/cicirello/pyaction) 4.31.0, a [Docker container with Python, git, and the GitHub CLI](https://dev.to/cicirello/pyaction-a-docker-container-with-python-git-and-the-github-cli-930). You can pull pyaction from either the [GitHub Container Registry](https://github.com/cicirello/pyaction/pkgs/container/pyaction) or from [Docker Hub](https://hub.docker.com/r/cicirello/pyaction).

This release updates the GitHub CLI included in the container to 2.50.0.


## Changelog 4.31.0 - 2024-06-08

### Changed
* Bumped GitHub CLI to 2.50.0.


## Current Version List

This latest release of pyaction includes the following:
* Python 3.12.3
* [GitHub CLI 2.50.0](https://github.com/cli/cli/releases/tag/v2.50.0)
* git 2.39.2
* curl 7.88.1
* gpg 2.2.40



## More Information

Please consider starring pyaction's GitHub repository:

{% github cicirello/pyaction %}

For more information, see pyaction's webpage:

{% embed https://actions.cicirello.org/pyaction/ %}



## Where You Can Find Me

Follow me [here on DEV](https://dev.to/cicirello) and on [GitHub](https://github.com/cicirello):

{% user cicirello %}
Willkommen bei Donelli: Entdecken Sie Luxus-Schuhe für die ganze Familie!
Tags: career, news, design
Published: 2024-06-08 18:57:45

[Donelli](https://donelli.com/) bietet eine sorgfältig kuratierte Auswahl exklusiver Luxus-Schuhe für Damen, Herren und Kinder. Von eleganten Pumps über zeitlose Stiefel bis hin zu lässigen Sneakern bieten wir für jeden Geschmack und Anlass das Passende. Unsere Kollektion umfasst führende Marken wie ViaVai, Paul Green und Gabor, die für erstklassige Qualität und herausragenden Komfort bekannt sind. Besuchen Sie uns online auf [Donelli.com](https://donelli.com/) oder in unserem Geschäft in Bilthoven und erleben Sie den Luxus, den wir Ihnen bieten können.
generate-sitemap 1.10.1 Released
Tags: github, webdev, showdev, python
Published: 2024-06-08 18:52:44

## TL;DR

I just released [generate-sitemap](https://github.com/cicirello/generate-sitemap) 1.10.1, a [GitHub Action for generating XML sitemaps for static websites](https://dev.to/cicirello/generate-an-xml-sitemap-for-a-static-website-in-github-actions-20do). The generate-sitemap GitHub Action is implemented in Python, and generates an XML sitemap by crawling the GitHub repository containing the html of the site, using commit dates to generate `<lastmod>` tags in the sitemap.


## Changelog 1.10.1 - 2024-06-08

### Fixed
* Escape characters that must be escaped in XML.

### Dependencies
* Bump [cicirello/pyaction](https://github.com/cicirello/pyaction) from 4.26.0 to 4.30.0


## More Information

Please consider starring generate-sitemap's GitHub repository:

{% github cicirello/generate-sitemap %}

For more information, see my earlier post about generate-sitemap here on DEV, as well as its webpage.

{% link https://dev.to/cicirello/generate-an-xml-sitemap-for-a-static-website-in-github-actions-20do %}

{% embed https://actions.cicirello.org/generate-sitemap/ %}


## Where You Can Find Me

Follow me [here on DEV](https://dev.to/cicirello) and on [GitHub](https://github.com/cicirello):

{% user cicirello %}
June Frontend Challenge: Birthday Month
Tags: frontendchallenge, devchallenge, css
Published: 2024-06-08 18:19:39

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

## Inspiration
June brings memories of my baby brother’s birthday; he turns 25 this year, no longer the little one he used to be.

## Demo 
{% codepen https://codepen.io/tabassum2507/pen/qBGXXBM %}

## Journey 
Creating this CSS animation was a rewarding challenge that required a detailed understanding of various CSS properties and techniques. The process involved layering multiple elements to simulate a birthday cake with intricate shadow effects and a gift box animation.

### Process:

Setup and Layout:

- Used flex for centering the main elements on the screen.
- Defined the base structure for the cake and the gift using basic CSS properties.

Cake Design:

- Utilized the box-shadow property creatively to add multiple layers to the cake.
- Applied pseudo-elements (::before and ::after) to add decorative parts like the white shadow and the number on the cake.

Gift Box Animation:

- Implemented a checkbox hack to control the animation state.
- Positioned the gift box and designed the ribbon using ::before and ::after.
- Used transition and transform properties to animate the gift opening effect.

Sparkles Animation:

- Created sparkles using small, circular elements with animated @keyframes to simulate a burst effect.
- Combined opacity, transform, and color animations for dynamic visual effects.
100 Days To Offload - completed
Tags: 100daystooffload, blog, writing, challenge
Published: 2024-06-08 18:19:30

This is the 100th blog post since June 10th 2023, which means that the [100 Days To Offload](https://100daystooffload.com/) challenge has been completed.

> The whole point of #100DaysToOffload is to challenge you to publish 100 posts on your personal blog in a year.

It has been a long road but it really feels nice to be done with the challenge now, and hopefully I will be able to keep writing blog posts pretty regular in the future too.

However now it's time for summer here in Sweden!

Until next time!
Unlocked a new GPT functionality: performance calculations
Tags: programming, webdev, performance, ai
Published: 2024-06-08 18:11:26

So I was curious if using a super long hash would impact my apps performance. 

Asked ChatGPT 4o:

### 1. What's the performance comparison between x and y?

In this example, x and y were:
```javascript
const hash = crypto.createHash('sha256').update(message + code + (files ? files.map(f => f.buffer.toString('hex')).join('') : '') + uniqueValue).digest('hex');
```

```javascript
const hash = crypto.createHash('sha256').update(uniqueValue).digest('hex');
```

Okay. It blabed a little bit. It even wrote the code so I could verify it. But I wanted an answer. So second and last iteration:

### 2. Can you run and let me know? Use fake data as input

And bum! Got my answer in a few seconds.

> The performance comparison between the two methods is as follows:
> 
> Long Input Hash: 
> 0.1235 seconds for 100,000 iterations
> 
> Short Input Hash: 
> 0.1061 seconds for 100,000 iterations
> 
> As expected, the short input hash is slightly faster. The difference, while measurable, is relatively small. This indicates that if you are hashing a relatively small number of times, the performance impact will be minimal. However, if you need to optimize for the fastest possible hashing in a high-frequency context, using a short input value like a unique counter or timestamp is the better option. ​

Hope it helps!
Happy coding.
Explore 3m car tinting in Dubai!
Published: 2024-06-08 17:59:41

Get the best protection for your car in Dubai with AutoCare's expert 3M **[tinting deals Dubai](https://autocare.ae/)** services! Say goodbye to harsh heat and UV rays with our high-quality 3M tints that reject up to 97% of infrared rays and block out 99% of harmful UV rays. Enjoy enhanced privacy, reduced glare, and a sleek, stylish look that will make your car stand out. At AutoCare, our experienced technicians use genuine 3M products and state-of-the-art facilities to ensure a flawless finish that lasts up to 10 years. Don't settle for less - choose AutoCare for top-notch 3M tinting that provides unparalleled protection and style. Contact us today to schedule your appointment and experience the difference for yourself! Call/WhatsApp +971 50 821 4093 or visit our website AutoCare.ae to learn more!
Dynamic Testimonial Showcase Slider
Tags: codepen
Published: 2024-06-08 17:52:29

Explore this dynamic testimonial showcase, crafted with Swiper Slider. Engage visitors with compelling client testimonials, accompanied by company logos and names. Seamless navigation and responsiveness ensure a delightful user experience across devices. Elevate your website's credibility and user engagement with this sleek slider!

{% codepen https://codepen.io/CreativeSalahu/pen/xxNLXVK %}
523. Continuous Subarray Sum
Tags: php, leetcode, algorithms, programming
Published: 2024-06-08 17:50:39

523\. Continuous Subarray Sum

Medium

Given an integer array nums and an integer k, return `true` _if `nums` has a **good subarray** or false otherwise_.

A **good subarray** is a subarray where:

- its length is **at least two**, and
- the sum of the elements of the subarray is a multiple of `k`.

Note that:

- A **subarray** is a contiguous part of the array.
- An integer `x` is a multiple of `k` if there exists an integer `n` such that `x = n * k`. `0` is **always** a multiple of `k`.


**Example 1:**

- **Input:** nums = [23,<u>2,4</u>,6,7], k = 6
- **Output:** true
- **Explanation:** [2, 4] is a continuous subarray of size 2 whose elements sum up to 6.

**Example 2:**

- **Input:** nums = [<u>23,2,6,4,7</u>], k = 6
- **Output:** true
- **Explanation:** [23, 2, 6, 4, 7] is an continuous subarray of size 5 whose elements sum up to 42.

  42 is a multiple of 6 because 42 = 7 * 6 and 7 is an integer.

**Example 3:**

- **Input:** nums = [23,2,6,4,7], k = 13
- **Output:** false 

**Constraints:**

- <code>1 <= nums.length <= 10<sup>5</sup></code>
- <code>0 <= nums[i] <= 10<sup>9</sup></code>
- <code>0 <= sum(nums[i]) <= 2<sup>31</sup> - 1</code>
- <code>1 <= k <= 2<sup>31</sup> - 1</code>


**Solution:**

```
class Solution {

    /**
     * @param Integer[] $nums
     * @param Integer $k
     * @return Boolean
     */
    function checkSubarraySum($nums, $k) {
        $prefixMod = 0;
        $modSeen = array();
        $modSeen[0] = -1;
        for ($i = 0; $i < count($nums); $i++) {
            $prefixMod = ($prefixMod + $nums[$i]) % $k;
            if (array_key_exists($prefixMod, $modSeen)) {
                if ($i - $modSeen[$prefixMod] > 1) return 1;
            } else {
                $modSeen[$prefixMod] = $i;
            }
        }
        return 0;
    }
}
```



**Contact Links**

- **[LinkedIn](https://www.linkedin.com/in/arifulhaque/)**
- **[GitHub](https://github.com/mah-shamim)**
I tried Frontend Challenge: June Edition
Tags: frontendchallenge, devchallenge, css
Published: 2024-06-08 17:12:56

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

Inspiration
I'm highlighting simple, clean geometric shapes. I wanted to create something that looks both simple and beautiful.

## Demo
Here is my CSS Art:


You can see the full code on [GitHub](https://github.com/Nextjswebdev/dev_challenege) and [live demo](https://devchallenege1.netlify.app/) here.

## Journey
I am from India and was curious to participate in this dev challenge. My designing is not the best, but I always try to make it better.

I started by drawing some ideas on paper. Then I used CSS to make it real. I played around with properties like clip-path, transform, and animation.

I learned a lot about how powerful CSS can be. I'm proud of the animations I added. Next, I want to learn more about CSS Grid and Flexbox for more complex designs.

## What I Feel After Participating in This Challenge
This is the first time I completed a challenge, and it’s really an amazing feeling to submit this. I learned a lot. Thanks, DEV, for these types of challenges!
Space Tech: The New Frontier of Private Companies in Space Exploration
Tags: webdev, javascript, devops, ai
Published: 2024-06-08 17:04:30

- **Commercial Space Flights**: Companies like SpaceX and Blue Origin are developing spacecraft to carry civilians into space, making space tourism a reality.

- **Satellite Deployment**: Private firms such as OneWeb and SpaceX (Starlink) are launching constellations of satellites to provide global internet coverage and improve communications infrastructure.

- **Space Stations**: Axiom Space and Bigelow Aerospace are working on building commercial space stations, which could serve as research hubs, hotels, or manufacturing facilities in orbit.

- **Mars Colonization**: SpaceX's ambitious plans to colonize Mars involve developing the Starship spacecraft, which aims to transport humans and cargo to the Red Planet.

- **Lunar Missions**: Companies like Astrobotic and Intuitive Machines are contracted by NASA under the Artemis program to deliver payloads to the Moon, paving the way for sustainable lunar exploration.

- **Space Mining**: Firms like Planetary Resources and Deep Space Industries are exploring the feasibility of mining asteroids for precious metals and water, potentially revolutionizing resource availability.

- **Reusable Rockets**: Innovations by SpaceX with the Falcon 9 and Blue Origin with the New Shepard have made rockets reusable, significantly reducing the cost of access to space.

- **Space Manufacturing**: Made In Space is developing technology to manufacture products in space, which can take advantage of microgravity to create materials that are difficult or impossible to produce on Earth.

- **Earth Observation**: Companies like Planet Labs and Maxar Technologies provide high-resolution satellite imagery for a range of applications, including environmental monitoring, disaster response, and urban planning.

- **Regulation and Policy**: As private companies expand their presence in space, there is an increasing need for international cooperation and regulation to ensure space is used sustainably and safely for all.

Happy Learning 🎉
Are you new to c# Dev?
Tags: webdev, csharp, tutorial, beginners
Published: 2024-06-08 16:41:47

Are you new to c# development and looking for tutorials, guides or just help?

I’m on the lookout for aspiring students who want to learn your craft to review early and pre-release tutorials, games, tools and tips. 

Follow and message me to get early access to all of the above.
🌐 Speed Up Your React Apps With Code Splitting
Tags: webdev, javascript, react, programming
Published: 2024-06-08 16:38:42

Today, we're going to explore **how to speed up your React apps with code splitting**. This will help improve your app's performance.

**Code splitting is crucial. It reduces the initial load time of your application.**

Many developers fail because they complicate the setup. In this article, we will explore a simple approach.

**

##  What is Code Splitting in Routing?

**
Code splitting in routing is a powerful technique to optimize your React applications.

**It's breaking down your app’s routes into smaller chunks and loading them only when required.**

Your initial bundle size is smaller. You improve the performance of your application.

## Using lazy, Suspense, and react-router-dom

You can handle dynamic imports with lazy and Suspense. Using react-router-dom, you manage routing in your React application.

## lazy and Suspense

lazy lets you dynamically import a component.

Suspense allows you to show a fallback UI while the component is being loaded.

## react-router-dom

react-router-dom is a library for routing in React. It enables navigation between different components in a React application.

**

## Step-by-Step Example

**
 **Install React Router DOM (if you haven't already)**:


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

 **Create Route Components**:

Create files for your route or page components, e.g., home.js and about.js:

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

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4h6n49rtqtlydkzqptsg.png)
**You have to import by default the components.** Code splitting will work properly that way.

**Update the App Component**:

Modify app.js to use lazy, Suspense, and react-router-dom:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tzqd43t3lnhp78070w3z.png)
When you access the Home page, you only load the code of the Home page. The same way, when you access the About page.

If you have big pages, you will speed up the initial load of your app. You will only be loading the JavaScript of the initial page. You will only load the JavaScript of the other pages when you access them.

**

## Conclusion
**
Code splitting is an efficient way to optimize your application's performance.

By dynamically loading route components, you can ensure faster initial load times.

By mastering code splitting in React, you provide a better user experience.

**If you are building a big React app with multiple routes, implement this technique now! Your app will level up to the next level.**
What Has Tech Done For You
Tags: webdev, beginners, programming, python
Published: 2024-06-08 16:29:54

I wanted to be a philosopher, I loved the mystical lifestyle of Aristotle and Plato and how they questioned everything.  

Imagine how innovative and powerful their minds were. 

I wanted to create logical thoughts.  

But during one of my lectures at college, I got an eureka moment. 

I felt the need to not just think through problems but create solutions. 

I looked around what problem could I solve and the problem of finding easy rentals for students came up. 

I figured if students could rent houses in time and with little budget it would save them a lot. 

Building the solution entails, getting the required coding skills. 

That was my first dip into the waters of tech and it's been 9years. 

That's my story, what's yours?
Open Source Software Explained like it is Pasta
Tags: opensource, proprietary, hotosm, internship
Published: 2024-06-08 16:19:46

Open source, open source. What is open-source software?

My dear mentor at [HOTOSM](https://dev.to/nifedara/oluwanifemis-day-1-of-forever-536l), Kshitij explained this to me using a food I like, which is pasta and I would like to share it.

Open-source software is any software whose make-up(source code) is available for anyone to see and contribute. Like pasta, anyone can make it. You can make it however you like. You can add different ingredients to it which can be likened to adding features to open source software.

Being open-source doesn’t mean free. Open-source software is not synonymous with free software. Let’s hit it home with pasta. That anyone can make pasta doesn’t mean that pasta will be free. Cooking pasta costs me effort and resources, and I could charge for that. Likewise, it is the same for software, it could be open-source but not free.

If however, I have a restaurant where anyone can come in to help cook pasta to distribute freely to people, that is what you will call Free and Open-source pasta. This is mostly the case with most open-source projects. 
Do a quick check. Check if your favourite applications are open-source and appreciate the community behind them.

How about proprietary software? Think about your favourite restaurant to eat pasta. I assume you don’t know how to make it taste like theirs, as you don’t have their recipe. You can’t walk in there to add ingredients to it while they cook because you are not a chef at the restaurant. That is the opposite of open-source. You can’t access the make-up(source code) and you can not add to it. Proprietary software can either be paid or free. Just as your favourite restaurant can either charge you for their pasta or give it to you for free (*winks*).

> I hope this short explanation was worth your read. Let me know.


_Cover image <a href="http://www.freepik.com">Designed by slidesgo / Freepik</a>_
Day 12 of my progress as a vue dev
Tags: webdev, vue, typescript, tailwindcss
Published: 2024-06-08 16:16:24

**About today**
Today was one of the most productive day I had in a while, I followed my routine and ended up saving a lot of time which I spent developing. Also, today I ended up deciding on the visual approach that I want to take for my DSA visualizer and the direction I want it to go, so it is starting to take shape gradually which I'm happy about.

**What's next?**
I will be wrapping up this project with few more improvements in the coming days, then I have some ideas for other so I might work on those or just dive into laravel and implement it on my existing projects that are using local storage, and there are high chances that I will be going down this route.

**Improvements required**
Routine wise I feel like I still need work, also I really need to start getting freelance projects as they will help me grow and work on problems I think on my own. Other than that, my project is headed in the right direction, but there is always more room for improvement so I'll look for ways to make it better before finalizing it and moving on. 

Wish me luck!