teleren/devto huggingface dataset:
The Easiest Way to Get 20 Testers for Free
Tags: android, closedtest, developer, google
Published: 2024-03-16 14:12:57

## How do I get testers?
You can easily pass Google's closed test.

Try this app.

<a href='https://play.google.com/store/apps/details?id=com.andro.zm.tools.androidtesterspayforward&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png'/></a>

It's free and easy to gather testers.
All you have to do is join as a tester yourself.

## Why is it so easy and free?
This app helps developers collaborate with each other. By accumulating test results, you can register your app. This system guarantees you a reward for your deeds.

|Help each other|No need recruiting|
|-|-|
|![Help each other](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/skrlqaz8pdvpbgt913xx.png)|![No need recruiting](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ump2lkgta7q7oeco4aoq.png)|

~~## Service only for now
Currently, in order to have more developers use this service, you can register your app right away before you accumulate results as a tester. The service period will end as soon as more people register, so please register as soon as possible.~~


## Multilingual Support
Multilingual supported to make it accessible to many developers. 
Currently supported

* English
* Japanese
* German
* French
* Spanish
* Chinese (Simplified)
* Chinese (Traditional)
* Portuguese
* Hindi
* Ukraine
* Arabic
* Vietnamese
* Indonesian
* Turkish

For more information about the app and how it was developed, please check the link.

https://zmsoft.org/apps-info/androiddeveloperspayforward/


[Click here for post-development notes](https://dev.to/zmsoft/the-dark-side-of-app-development-that-individual-developers-absolutely-need-to-know-dont-lose-to-fraud--421l)
Navigating your way as an outreachy internship applicant
Tags: opensource, writing, fedora, productivity
Published: 2024-03-16 14:08:35

Embarking on the Outreachy journey can feel like diving into the deep end. The water looks inviting, but once you're in, the realization hits, the depth, the vastness, it's all a bit overwhelming. But here's the thing, every expert swimmer once treaded water at the shallow end. With time, patience, and a little guidance, the vast ocean of open-source contribution through Outreachy becomes less intimidating and more like a familiar pond. Let's dive into how this journey unfolds, transforming from a daunting endeavor into an empowering voyage of growth and discovery.

**Understand the Outreachy Mission**

[Outreachy](https://www.outreachy.org/) aims to support underrepresented groups in technology to contribute to open source projects. Familiarize yourself with their mission and ensure that your goals align with the program's ethos of promoting diversity.

**Explore Available Projects**

Outreachy offers a plethora of projects from various organizations. Spend time exploring these projects to find one that resonates with your interests and skills. Look for projects and select a project that resonates best with you [here](https://www.outreachy.org/apply/project-selection/).

**Engage with the Community**

When you first decide to contribute to an Outreachy project, it's natural to feel overwhelmed. The world of open-source is vast, with its own culture, rules, and an incredible array of projects needing help. This initial stage is akin to standing at the edge of a cliff, preparing to dive into unknown waters below. It's thrilling and terrifying in equal measure. Interaction with project mentors and community members is crucial. Join mailing lists, forums, or chat channels related to your project of interest. Engagement demonstrates your initiative and helps you gather insights about the project's needs and culture.

**Contribute Early**

Many projects require initial contributions as part of the application process. Start early to familiarize yourself with the project's contribution guidelines and make meaningful contributions. This not only strengthens your application but also enhances your understanding of the project.  


**Embrace the Learning Curve**

The Outreachy internship is a learning journey. Be open to new experiences, ask questions, and seek help when needed. Remember, the goal is to learn and grow within the open-source community.  
  
Eventually, contributing to Outreachy projects becomes a source of joy and pride. You're no longer the newbie cautiously dipping your toes in the water; you're diving in with enthusiasm, eager to see what challenges you can tackle next. The community becomes a second home, a place where you're valued, where your work has an impact, and where you continue to grow and learn. At this point,  You've discovered the joy of swimming in the vast, open-source sea, and it's exhilarating, Congralutations!!
Default values for UserDefaults
Tags: swift, userdefaults
Published: 2024-04-11 08:37:45

---
title: Default values for UserDefaults
published: true
date: 2024-03-16 13:51:13 UTC
tags: Swift,UserDefaults
canonical_url: https://wesleydegroot.nl/blog/Default-values-for-UserDefaults
---

UserDefaults (`NSUserDefaults`) is a go-to database for saving users' preferences over application behavior.

## What is `UserDefaults`?

`UserDefaults` is a simple key-value store that allows you to save small amounts of data such as user preferences, settings, and other application state information. It is commonly used to store user settings, such as the user's preferred language, theme, or notification preferences.

## Use Case: `UserDefaults.register`

```swift
let userDefaults = UserDefaults.standard
userDefaults.register(
    defaults: [
        "selectedPokemon": "Pikachu",
        "pokemonCanEvolve": true
    ]
)

userDefaults.bool(forKey: "pokemonCanEvolve") // true.
```

> **Warning** : The `register(defaults:)` method only sets the default values if the key does not exist in the user defaults, it will not save the default values to the user defaults. Therefore, you should call this method each time your app launches to ensure that the default values are set.

## Caveats

- UserDefaults saves data in a local plist file on disk.  
This means that the user can access and modify the data if they have access to the device, therefore it is not suitable for storing sensitive information such as passwords or tokens.
- Registering default values will not save the default values to disk, therefore you should call this method each time your app launches to ensure that the default values are set.
- UserDefaults is not suitable for large data storage; consider using Core Data for that purpose.
- `NSUbiquitousKeyValueStore` which is the cloud-enabled `UserDefaults` that can be used to synchronize data between devices using iCloud, has a limit of 1MB for the total size of the data, and a limit of 1024 keys.

## Wrap up

UserDefaults is a simple way to store small amounts of data such as user preferences, settings, and other application state information. It is not suitable for storing sensitive information or large amounts of data.

Resources:  
[https://developer.apple.com/documentation/foundation/userdefaults](https://developer.apple.com/documentation/foundation/userdefaults)
Mastering the Crontab: A Guide to Automated Tasks in Unix-like Systems
Tags: linux, crontab
Published: 2024-03-16 13:49:08

## Introduction:
Have you ever wished you could automate repetitive tasks on your computer, freeing up your time for more important things? Enter crontab, your personal timekeeper in the world of Unix-like systems. In this human-friendly guide, we'll explore crontab together, demystifying its workings and showing you how to leverage its power to simplify your life.

## Understanding the Basics:
At its core, crontab operates on the principle of scheduling tasks to run at specific times or intervals. Each user on a Unix-like system can have their own crontab file, which contains a list of commands along with the schedule for when those commands should be executed. These schedules are defined using a syntax that consists of five fields:  

1. Minute (0-59)
2. Hour (0-23)
3. Day of the month (1-31)
4. Month (1-12)
5. Day of the week (0-7, where both 0 and 7 represent Sunday)

Additionally, there are special characters that can be used in these fields to denote specific intervals or wildcard values. For example, an asterisk (*) represents all possible values for a field, while a hyphen (-) denotes a range, and a comma (,) separates multiple values.

## Creating and Managing Crontab Entries:
To create or edit your crontab file, you can use the `crontab -e` command, which opens the default text editor specified in your environment. Each line in the crontab file represents a separate job entry, with the schedule followed by the command to be executed. For example:
`
###### Send out a weekly report every Monday at 8:00 AM
0 8 * * 1 /path/to/weekly_report.sh

###### Run a Script Every Sunday at Midnight:
0 0 * * 0 /path/to/weekly_script.sh

###### Run a Script Every Weekday at 8:30 AM:
30 8 * * 1-5 /path/to/script.sh
`


## Best Practices for Success:
To make the most of crontab, it's essential to follow a few best practices:

1. Keep It Organized: Use comments to document your crontab entries, making it easier to understand and manage your schedule.
2. Test Before Deploying: Always test your commands or scripts manually before adding them to crontab to ensure they work as expected.
3. Monitor and Log: Redirect the output of your cron jobs to log files to track their execution and troubleshoot any issues.
4. Stay Secure: Be cautious when running automated tasks as root, and ensure your commands and scripts are secure to prevent any unintended consequences.

## Conclusion:
With crontab as your trusty timekeeper, you can automate away the mundane tasks that eat up your precious time. By understanding its basics, setting up your schedule, and following best practices, you'll be well on your way to mastering the art of automation. So go ahead, seize control of your time with crontab, and let it work its magic in the background while you focus on what truly matters.
Get_cli Unhandled exception on flutter project.
Tags: flutter, dart, getx, getcli
Published: 2024-03-16 13:48:19


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aypqxg3csdd9wawvt2l0.png)In this blog post, we will explore how to create a Flutter project using get_cli and discuss a temporary solution for a specific issue that you might encounter during the process.

**Introducing `get_cli`**
get_cli is a powerful command-line interface (CLI) tool for Flutter that enhances your development workflow by automating repetitive tasks. With `get_cli`, you can quickly generate code and project structures, saving you valuable time and effort.


Creating a Flutter Project with `get_cli`

`To create a Flutter project using **get_cli**, follow these simple steps:`


## Step 1:
Ensure that you have Flutter and Dart installed on your system. If not, you can install them by referring to the official Flutter installation guide.
## Step 2:
Open your terminal or command prompt.
## Step 3:
Activate `get_cli` by running the following command:
 

```
flutter pub global activate get_cli
```
## Step 4:
Generate a new Flutter project by running the following command:
 

```
get create project
```
By default, this command will create a project in the current directory with a name matching the folder's name. If you prefer a different project name, you can use the following command:

```
get create project:my_project
```
Replace `my_project` with your desired project name.
## Step 5:
Wait for the project creation process to complete. Once finished, you will have a new Flutter project set up with the chosen structure.

Now that you have created a Flutter project using `get_cli`, you can dive right into developing your app using the generated code and project structure.


Temporary Solution for a Specific Issue

While creating your Flutter project, you may encounter a situation where the `--enable_deprecated_wait_for` flag does not work on your OS installation. This flag is typically used to enable the deprecated wait For function in the `dart:cli` library.


As a temporary solution, you can attempt the following command to activate `get_cli` from a specific GitHub source:

```
flutter pub global activate --source=git https://github.com/inyong1/get_cli.git
```

By executing this command, you can activate `get_cli` from the specified GitHub source, allowing you to utilize it with the deprecated wait For function. However, it's important to note that this solution is temporary and may not be applicable in all scenarios.


Keep in mind that both the `--enable_deprecated_wait_for` flag and the temporary solution mentioned above should be used cautiously since the wait For function is deprecated and will eventually be completely removed.
Resize the image
Published: 2024-03-16 13:41:09

Görüntü işleme ve derin öğrenme uygulamalarında genellikle görüntülerin boyutlarını yeniden boyutlandırmak önemlidir. İşte bazı nedenler:

Boyut Uyumu: Birçok derin öğrenme modeli, giriş olarak sabit boyutlarda görüntüler gerektirir. Bu nedenle, veri kümenizdeki tüm görüntülerin aynı boyutta olması önemlidir. Yeniden boyutlandırma, farklı boyutlardaki görüntüleri istenen sabit boyuta getirmek için kullanılır.

Hesaplama Verimliliği: Büyük boyutlardaki görüntülerin işlenmesi, daha fazla hesaplama gücü ve bellek gerektirir. Görüntüleri daha küçük boyutlara yeniden boyutlandırmak, hesaplama verimliliğini artırabilir ve modelin daha hızlı çalışmasını sağlayabilir.

Overfitting Önleme: Büyük boyutlardaki görüntüler, modelin ezberlemesine (overfitting) yol açabilir, özellikle de veri setiniz sınırlıysa. Yeniden boyutlandırma, gereksiz ayrıntıları azaltarak ve verinin genelleştirilebilirliğini artırarak overfitting'i azaltabilir.

Görüntü Kalitesi: Bazı durumlarda, orijinal görüntüler yüksek çözünürlüklü olabilir ve bu da gereksiz detaylarla dolu olabilir. Yeniden boyutlandırma, gereksiz detayları azaltarak ve görüntüyü daha işlenebilir hale getirerek işleme sürecini kolaylaştırabilir.

Veri Ön İşleme: Görüntü işleme uygulamalarında, veri önceden işlenir ve modele sunulur. Yeniden boyutlandırma, veri ön işleme adımının önemli bir parçasıdır ve genellikle görüntülerin modelin işlemesi için uygun hale getirilmesini sağlar.

Bu nedenlerle, görüntü boyutlarının yeniden boyutlandırılması, veri hazırlığı sürecinin önemli bir parçasıdır ve modelin verimli ve etkili bir şekilde çalışmasını sağlar.
What to do in tech after 20 years?
Tags: discuss, career, watercooler, help
Published: 2024-03-16 13:36:10

I started working with IT in 2001, but long before that, I was passionate about the possibilities, using an old MSX connected to a TV to code stupid things, and later helping my sister with her college degree, writing and debugging Delphi programs.

As anyone who started low at the beginning of the century, it was just trivial work: fix the printer, can't access the network, where's the "any" key, can you replace my mouse, etc. But again, I was passionate about tech. Every spare time I got was spent studying Linux and Open Source and applying it to my work. Later on, most of the IT department processes were running via **bash** and **cron**.

But I was still loved everything about tech and the future. In 2006 Social Media started blooming, and CMSs were the new thing. So I mastered WordPress, and in a few months, I got hired by a media agency and moved to a new city. 

And, oh boy, I **did** things since then:

- worked for a bunch of big companies, directly or indirectly;
- lectured on huge events like Campus Parties;
- wrote for respected tech blogs in Brazil;
- which led me to interview Linus Torvalds (actually, let me rephrase it: I cried in front of Linus Torvalds);

This is the abridged version, as I don't plan to paste a resume here - And I was **always** passionate about the future and how tech was changing it. I felt like being part of it, creating things with it. 

Until 2018, when a series of unfortunate events led me to a _little_ mental breakdown.

It took time to recover. Burnout, depression, anxiety. The pandemic hit and I'm not saying it was something good, but at least I could work from home, which helped me a lot. And I had time to do things for me, not for others. Learn/advance in new languages, create my projects, etc.

But the passion is... gone. Even with AI and the world of possibilities it offers, I just look at it and... meh? "Do I still want to do it? For whom? For what reason? Is money the only reason I code?"

My first post here may look like a huge rant and in fact, it is 🤷🏽‍♂️ - but after more than 20 years solving problems in tech, the feel of "OK, what now?" just can't pass. 

So, I'm asking thousands of other people who love tech: what now? :P
Payload CMS: A Developer's Friend, with Room to Grow
Tags: webdev, payload, nextjs, javascript
Published: 2024-03-16 13:31:19

Payload CMS has carved a niche for itself as a developer-first headless CMS. Its focus on clean code, extensibility, and a familiar developer workflow has made it a popular choice for building modern web applications. But even the best tools can improve, so let's explore Payload's strengths and potential areas for enhancing the developer experience.

**Strengths:**
**Code-first approach:** Payload thrives on developer control. The configuration files are written in TypeScript, allowing for strong typing and a structured approach to building the CMS.
**Flexibility:** Payload caters to diverse projects. Whether you're building a simple website or a complex e-commerce platform, Payload's extensibility allows you to tailor the CMS to your specific needs.
**Developer-friendly features:** Built-in features like live preview, field-level conditional logic, and user roles empower developers to create a powerful and flexible content editing experience.

**Areas for improvement:**
**Improved documentation:** While the documentation is generally good, some areas could benefit from more in-depth explanations and code examples.
**Enhanced error handling:** Providing more informative error messages during development can significantly improve the debugging experience.
**Community building:**
Fostering a stronger developer community through forums, tutorials, and active participation in developer platforms could provide valuable learning opportunities and support.

Overall, _Payload CMS_ offers a compelling development experience. By focusing on continued improvements in documentation, error handling, and community engagement, Payload can further solidify its position as a _developer-favorite_ headless CMS.
Acer Customer Support in India
Published: 2024-03-16 13:12:06


![Acer Customer Support in India](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fq2lumm3kgn4fbc61x0f.jpg)

Get expert support for your Acer laptop in India from an authorized service centre in Dhantoli Nagpur. Trust Acer Customer Support for all your technical needs. Call Us: +91-9511692583.
Enjoy the Advantages of a Fresh and Clean Space with Carpet Cleaning Services
Tags: janitorialservice, janitorialcompany, carpetcleaningcompany, carpetcleaning
Published: 2024-03-16 13:10:06

**Introduction**
Struggling to eliminate stubborn stains from your carpet? Have you exhausted all attempts with retail cleaning products? If so, consider reaching out to On The Spot Cleaning or another professional carpet cleaning service. Carpet cleaning services offer one of the most effective ways to rejuvenate your home. Using specialized tools and techniques, they can leave your carpets smelling fresh and looking as good as new by tackling odors, stains, and embedded dirt.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eiuobgibg81mrklf9g0z.png)
Why You Should Hire a Professional Carpet Cleaning Company
One of the primary benefits of using a professional carpet cleaning service in Farmington, NM is the time and effort you'll save. Instead of toiling away on your hands and knees, you can relax while experts handle the task efficiently and thoroughly. Equipped with superior cleaning tools and supplies, these professionals can tackle even the most stubborn stains and odors, giving your carpets a revitalized appearance and scent.

Moreover, professional carpet cleaning doesn't just enhance the aesthetics of your home; it also improves its overall health. Carpets can trap allergens, bacteria, and other contaminants, compromising indoor air quality. By opting for professional cleaning, you can eliminate these harmful pollutants and create a healthier living environment for you and your family.

When selecting a carpet cleaning service in Farmington, NM, it's essential to choose a reputable company that utilizes safe, eco-friendly cleaning products. Additionally, inquire about their equipment, pricing, and procedures to ensure they align with your needs.

**Conclusion**
For a thorough cleaning that your carpets deserve, consider hiring a trusted carpet cleaning company like On The Spot Cleaning. Not only will your carpets look and smell better, but it will also contribute to the overall health of your home while saving you time and effort. Investing in professional carpet cleaning can help maintain the beauty, longevity, and cleanliness of your carpets, whether you require routine maintenance or a deep clean.
Tổng hợp đánh giá chi tiết về thương hiệu Fun88
Published: 2024-03-16 13:04:59

https://1gom.info/fun88/ Fun88 hiện đang đơn vị nhà cái nhận được sự ủng hộ từ đông đảo cược thủ tại Việt Nam nói riêng và châu Á nói chung✔️ Với hàng ngàn trò chơi trực tuyến được cập nhật và cải tiến theo xu hướng thị trường✔️ thương hiệu cam kết mang đến trải nghiệm tuyệt vời cho người chơi✔️✔️✔️
https://nhacaifun8820.webflow.io/
https://nhacaifun8820.hashnode.dev/
https://hackmd.io/@nhacaifun8820
What are you learning about this weekend? 🧠
Tags: learning, beginners, discuss
Published: 2024-03-16 13:00:00

Hey peeps! 👋

Having a nice weekend? Hope so!

Whether you're sharpening your [JS](https://dev.to/t/javascript) skills, making PRs to [your OSS repo of choice](https://github.com/forem/forem) 😉, sprucing up your portfolio, or [writing a new post](https://dev.to/new) here on DEV, we'd like to hear about it.

Hope your studies goes well and that ya find plenty of time to chill too! 😌

![A cat in glasses and a bowtie is looking at a laptop and hissing](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8uiql1m4c5xbtkqfpeqp.gif)