teleren/devto huggingface dataset:
009 - 009vn.net
Tags: 009vnnet
Published: 2023-09-25 04:10:15

009 là một điểm đến thú vị dành cho cộng đồng game thủ đam mê cá cược. Tại đây, bạn sẽ được tận hưởng không chỉ sự xanh chín của các trò chơi mà còn sự hấp dẫn của các chương trình ưu đãi độc đáo mỗi ngày. 009 hiện đang thu hút một lượng lớn người chơi đăng ký tham gia!
Địa chỉ: 18 Đ. Lê Hồng Phong, Phường 1, Quận 10, Thành phố Hồ Chí Minh, Việt Nam
Email: 009vnnet@gmail.com
Website: https://009vn.net/
Điện thoại: (+84) 568 281 910
#009 #009vnnet #nhacai009




https://009vn.net/

https://009vn.net/gioi-thieu-009/

https://009vn.net/dieu-khoan-009/

https://009vn.net/chinh-sach-bao-mat/

https://009vn.net/lien-he-009/

https://009vn.net/tai-app-009/

https://009vn.net/nap-tien-009/

https://009vn.net/rut-tien-009/

https://009vn.net/khuyen-mai-009/

https://009vn.net/dang-ky-009/

https://009vn.net/tran-thanh/

https://www.facebook.com/nhacai009vnnet

https://twitter.com/009vnnet

https://www.youtube.com/channel/UCniwAcqgfUmXIrS0blKeX5g

https://www.pinterest.com/009vnnet/

https://social.msdn.microsoft.com/Profile/009vnnet

https://social.technet.microsoft.com/profile/009vnnet/

https://bbs.now.qq.com/home.php?mod=space&uid=5596500

https://www.blogger.com/profile/15551483013186537959

https://www.reddit.com/user/009vnnet

https://medium.com/@009vnnet

https://www.flickr.com/people/009vnnet/

https://www.scoop.it/u/009-link-ang-ky-nha-cai-chinh-thuc

https://009vnnet.wixsite.com/my-site

https://009vnnet.weebly.com/

https://009vnnet.livejournal.com/profile

https://009vnnet.wordpress.com/

https://sites.google.com/view/nhacai009vnnet/trang-ch%E1%BB%A7

https://linktr.ee/009vnnet

https://www.twitch.tv/009vnnet

http://tinyurl.com/009vnnet

https://ok.ru/profile/590262511548/statuses/155426770531772

https://profile.hatena.ne.jp/nhacai009vnnet/profile

https://issuu.com/009vnnet

https://www.liveinternet.ru/users/009vnnet/

https://dribbble.com/009vnnet/about

https://009vnnet.webflow.io/

https://009vnnet.thinkific.com/

https://500px.com/p/009vnnet?view=photos

https://about.me/nhacai009vnnet

https://tawk.to/009vnnet

https://www.deviantart.com/009vnnet

https://ko-fi.com/009vnnet

https://www.provenexpert.com/009vnnet/

https://hub.docker.com/u/009vnnet

https://independent.academia.edu/009vnnet

https://www.diigo.com/profile/nhacai009vnnet

https://linkhay.com/u/009vnnet
valitron 0.2.0 release
Tags: rust
Published: 2023-09-25 02:38:05

Valitron is an ergonomics, functional and configurable validator

# Major
- Support generics validate message, and the can be used with build-in rules.
- Support conversion between validators of different message types.

# Features
- add bail in Validator
- support same filed multi insert rule 
- build-in rule optimize and add documents
New Real Estate Project Plan Provident Deansgate
Tags: beginners
Published: 2023-09-25 02:13:36

With a lifestyle of unrivaled luxury and comfort, [Provident Deansgate](https://www.providentdeensgate.net.in) redefines waterfront living in IVC Bangalore. This residential community is a shining example of contemporary urban living thanks to its excellent location, exquisite design, and a variety of amenities. Experience a life where each day feels like a retreat at [Provident Deansgate IVC](https://www.providentdeensgate.net.in/blog/urgent-sale-of-property-in-bangalore.html) and discover the height of elegance. Don't pass up the chance to join this extraordinary community.
Unleashing the Power of whereHas in Laravel
Tags: laravel, tutorial, sql, api
Published: 2023-09-25 01:06:36

Hello, wonderful dev.to community! As a [senior developer](https://twitter.com/MaenHouseh) who's been working with [Laravel](https://laravel.com/) for quite some time, I've come to appreciate the nuances and powerful features it offers. Today, I want to talk about a hidden gem: the **whereHas** method. This method provides a clean, elegant way to filter results based on relationship constraints.

## What is whereHas?

In Laravel, [relationships](https://laravel.com/docs/10.x/eloquent-relationships) are a cornerstone of Eloquent ORM. However, sometimes we need to filter the results of our primary model based on the presence or properties of a related model.

In a nutshell, whereHas lets you apply conditions to your Eloquent queries based on related model data, we used that over and over building our API at [Bytebricks.ai](https://bytebricks.ai/).

## A Simple Example

Imagine we have a Post model and each Post can have many Comment models. Now, let's say we want to fetch all posts that have at least one comment. With whereHas, this is a breeze:

```
$postsWithComments = Post::whereHas('comments')->get();
```

## Diving Deeper

What if we want to fetch posts with comments from a specific user? With whereHas, you can provide a closure to add additional constraints:

```
$userId = 1;
$postsWithCommentsFromUser = Post::whereHas('comments', function ($query) use ($userId) {
    $query->where('user_id', $userId);
})->get();
```

## Counting Related Models

whereHas can also be used with the withCount method to get the number of related models:

```
$posts = Post::withCount('comments')->get();

foreach ($posts as $post) {
    echo $post->comments_count;
}
```

## Performance Tips

While whereHas is powerful, be mindful of the N+1 problem. Ensure you're using methods like with() to eager-load relationships when needed. The Laravel Debugbar is a great tool for keeping an eye on your queries.

### Conclusion

whereHas is a testament to the flexibility and power that Laravel's Eloquent offers. When used wisely, it can make your database queries clean, intuitive, and efficient.

I hope you found this deep dive helpful. Always remember to optimize your queries and use the tools at your disposal to ensure the best performance. Happy coding, and stay curious!

Dont miss the [Laravel AWS SES Tutorial](https://dev.to/bytebricks/integrating-aws-simple-email-service-ses-with-laravel-a-comprehensive-guide-1lj3)

Resources
[*Laravel Docs*](https://laravel.com/docs/10.x/eloquent-relationships#querying-relationship-existence)
[*Great video explaining usage*](https://www.youtube.com/watch?v=ZEDUihpRQMM)
Bootcamp Newbie
Tags: beginners
Published: 2023-09-25 01:46:04

I enrolled in the edX Coding Bootcamp to become better at coding. I know some HTML. But honestly, it's not enough. I have wanted to code since 2009 to advance my career in instructional design. About 1.5 years ago, I started my own company. Now I have the time and space to get it done!  This week, I'm just looking to get set up so that I can kick ass it this bootcamp!
Console.Warren(), a New Podcast
Tags: podcast, frontend
Published: 2023-09-25 01:44:44

---
title: Console.Warren(), a New Podcast
published: true
description: In today's episode we talk about Bun 1.0, career, ActivityPub, and zod-mock
tags: podcast, frontend,
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-09-25 01:20 +0000
---
I started a podcast called Console.Warren() where each week I highlight what's new and noteworthy in software engineering. The episodes are short, five to six minutes each. 

In the latest episode, #4, we talk about Bun 1.0, career, ActivityPub, and zod-mock.

Please consider subscribing and if there is anything you'd like to see featured on the podcast, let me know!

[Substack](https://consolewarren.substack.com/podcast)
[Spotify](https://open.spotify.com/episode/1l7TauFinRqyVNxQyMA2mU?si=520d85f1edb3483a)
[Apple Podcasts](https://podcasts.apple.com/us/podcast/console-warren-podcast/id1706675213?i=1000628655847)
Easy Ways to Alphabetize Posts in PHP
Tags: php, wordpress, webdev, beginners
Published: 2023-09-24 17:41:11

Alphabetizing posts using PHP is a great way to improve the user experience of your website. It allows visitors to quickly and easily find the posts that they are looking for, and it can also help to improve your website's SEO ranking.

## Two main ways to alphabetize posts using PHP

- 
**Using a WP_Query object:** This is the most common way to alphabetize posts using PHP, and it is also the `recommended method for WordPress users`. 
**To alphabetize posts using a WP_Query object, you can use the following code snippet:**
```
$query = new WP_Query(array(
    'orderby' => 'title',
    'order' => 'ASC'
));

if ($query->have_posts()) :
    while ($query->have_posts()) : $query->the_post();
        // Display the post title.
        the_title();
    endwhile;
endif;

wp_reset_query();
```
This code snippet will create a WP_Query object and set the `orderby` parameter to `title` and the `order` parameter to `ASC`. This will tell WordPress to order the posts by their titles in ascending order. The code snippet will then loop through the results and display the post titles.

- 
**Using an associative array:** This method is less common, but it can be useful if you need to more control over how the posts are alphabetized. To alphabetize posts using an associative array, you can use the following code snippet:

```
$posts = array(
    'Animation',
    'Artificial Intelligence',
    'Box Office',
    'Bollyball',
    'Zebra'
);

sort($posts);

$postsByLetter = array();

foreach ($posts as $post) {
    $firstLetter = strtoupper(substr($post, 0, 1));
    $postsByLetter[$firstLetter][] = $post;
}

foreach ($postsByLetter as $letter => $posts) {
    // Display the posts for the current letter.
}
```
This code snippet will first create an associative array to store the posts by their first letter. Then, it will loop through the posts and add each post to the associative array by its first letter. Finally, it will loop through the associative array and display the posts for each letter.
MSN Messenger Chatbot with Elixir
Tags: chatgpt, chatbot, elixir
Published: 2023-09-25 01:03:23

This was a fun experiment.

![ChatGPT in MSN Messenger](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vukf01l6g3g8hikohfod.png)


{% github ElixirCL/msn-chatbot %}
JBake + Gradle + Mastodon
Tags: jbake, fediverse, gradle
Published: 2023-09-26 05:25:56

---
title: JBake + Gradle + Mastodon
published: true
date: 2023-09-25 00:00:00 UTC
tags: jbake,fediverse,gradle
canonical_url: https://jorge.aguilera.soy/blog/2023/jbake-toot.html
---

<dl>
<dt>INFO</dt>
<dd>
<p>Para poder replicar esta funcionalidad necesitaras una cuenta en una
instancia Mastodon o Pleroma y crear un Token con ella</p>
</dd>
</dl>

Se me ha ocurrido (idea nada brillante) hacerme una tarea Gradle en el proyecto del blog para poder tootear el enlace a un post

No es nada del otro mundo. Mi blog es un static site hecho con JBake usando Gradle y Asciidoctor así que básicamente es crear una tarea nueva en el `buildSrc`

buildSrc/src/main/groovy/MastodonTask.groovy

```
import org.gradle.api.DefaultTask
import org.gradle.api.provider.Property
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.TaskAction
import groovy.xml.XmlSlurper
import groovy.json.JsonOutput
import java.net.http.*

abstract class MastodonTask extends DefaultTask{

    @Input
    abstract Property<String> getInstance()

    @Input
    abstract Property<String> getToken()

    @Input
    abstract Property<String> getPostId()

    @TaskAction
    def runTask() {
        def xml = new XmlSlurper().parse("https://jorge.aguilera.soy/feed.xml")
        def entry = xml.entry.find{ "$it.id".endsWith( postId.get()+".html")}
        if( !entry ) {
            println("Post no encontrado")
            return
        }
        def hashtags = entry.category.collect{ "#"+it."@term"}.join(' ')
        def toot = """
🗣️ Nuevo post en el blog

$entry.title

📖 ${entry.summary}

$hashtags

${entry.id}
"""
        def json = JsonOutput.toJson([status: toot])

        def client = HttpClient.newHttpClient()
        def request = HttpRequest.newBuilder()
                .header("Content-Type", "application/json; charset=UTF-8")
                .header("Authorization", "Bearer ${token.get()}")
                .uri(URI.create(instance.get()+'/api/v1/statuses'))
                .POST(HttpRequest.BodyPublishers.ofString(json))
                .build()
        client.send(request, HttpResponse.BodyHandlers.ofString())
    }
}
```

y crear una task en el `build.gradle` para llamarla en nuestro pipeline

build.gradle

```
tasks.register('tootea', MastodonTask){
    instance = "https://jvm.social"
    token = findProperty("BLOG_ACCESS_TOKEN")
    postId = findProperty("postId")
}
```

Simplemente, una vez que hemos generado y publicado el blog con el ultimo post, ejecutaremos la tarea de gradle para que tootee por nosotros

`./gradlew tootea mi-ultimo-post`
Is There a Developer Shortage?
Tags: discuss
Published: 2023-09-25 00:00:00

---
published_at : 2023-09-25 00:00 +0000
---
_Hey, hey, it's the Daily Byte! Over the next several days, we'll be talking about developer roles, success taits, and the future ahead. Today we tackle the burning question:_  

>  Why is the software industry facing a developer shortage, and how can we address this issue?


Share your insights into the ongoing debate about the scarcity of developers and follow the DEVteam for more discussions and online camaraderie!

{% embed [https://dev.to/devteam](https://dev.to/devteam) %}
join us in our journey about AI world
Tags: ai, python, datascience, machinelearning
Published: 2023-09-24 23:22:21

hi every one. I wish like to introduce our the website for my persian language friends. the website name is propezh and it works on AI and the aspects of that. 
some courses that they have is like data science course and machine learning. you can participate in that courses and learn these topics. the website link is bellow . thank you
[](url)https://propezh.ir/
💻 Mastering Data Structures: The Ultimate Nuggets 🚀
Tags: webdev, programming, tutorial, datastructures
Published: 2023-09-24 22:35:20

💻 Hey fellow programmers, get ready to dive into the world of data structures! 🚀 From basic lists to custom-made gems like linked lists, we're about to unravel the power of data organization. Let's jump into this ultimate nuggets that'll level up your programming game!



### Ordered Lists - Arrays

1️⃣ **Insertion Order**: Arrays keep data in the order it's added.
2️⃣ **Access by Index**: Easy peasy! You can access elements using indexes.
3️⃣ **Iterable**: Loop through arrays effortlessly with for-of loops.
4️⃣ **Dynamic Sizing**: Arrays grow and shrink dynamically.
5️⃣ **Duplicates Allowed**: Double trouble? No worries!
6️⃣ **Deletion & Search**: Can be a bit challenging.
7️⃣ **Mixed Types**: Arrays welcome a mix of data types.

### Unordered Lists - Sets

2️⃣ **Insertion Order**: No promises on order here!
2️⃣ **Access by Methods**: Forget indices; use methods for access.
3️⃣ **Iterable**: Looping is a breeze.
4️⃣ **Dynamic Sizing**: Sets adapt to your data.
5️⃣ **Duplicates Not Allowed**: Say goodbye to repetition.
6️⃣ **Deletion & Search**: Lightning-fast operations.
7️⃣ **Mixed Types**: Sets embrace diversity.

#### Set Methods:
- `.add()`: Add a new element.
- `.has()`: Check for existence.
- `.delete()`: Say goodbye to an element.
- `.size`: Know the size of your set.

### Unordered Key-Value Pairs - Objects

1️⃣ **Element Access**: Keys open the door to values.
2️⃣ **Key-Value Pairs**: Just like objects in the real world.
3️⃣ **Unique Keys**: Each key must be unique; values can repeat.
4️⃣ **Iterable**: Loop through them with ease.
5️⃣ **Keys Can Be Anything**: Get creative!
6️⃣ **Functions**: Objects are versatile, but functions don't play by the same rules.

### Ordered Key-Value Pairs - Maps

1️⃣ **Element Access**: Unlock data using keys.
2️⃣ **Key-Value Pairs**: Maps are all about pairs.
3️⃣ **Unique Keys**: No duplicates in the keys.
4️⃣ **Iterable**: Looping is a cinch.
5️⃣ **Keys Can Be Anything**: Flexibility at its finest.
6️⃣ **Functions in Maps**: They're just data stores, so functions here don't reference map elements.

#### Map Methods:
- `set()`: Assign a value to a key.
- `get()`: Retrieve a value by key.
- `clear()`: Start fresh.
- `delete()`: Remove an element.
- `has()`: Check if a key exists.

### 🌟 Custom Data Structures - Linked Lists

🔗 Linked lists are the stars of custom data structures. Elements are linked, knowing who's next in line. With head and tail nodes, they're the key to efficient data organization.

Whether you're navigating arrays, sets, maps, or venturing into custom structures like linked lists, each data structure has its own superpowers. Use them wisely to level up your coding game and tackle tasks with ease.

So, the next time you're sorting data, remember: the right data structure can make all the difference! Stay curious and keep coding. 🚀🔍
Hacktoberfest is coming
Tags: discuss, hacktoberfest23
Published: 2023-09-24 22:31:01

Hacktoberfest is coming and this year DEV is teaming up with Hackotoberfest founder Digital Ocean to bring new badges to DEV.

Read [DEV's HacktoberFest 2023 page.](https://dev.to/page/hacktoberfest-2023) to learn what is going on here.

Visit the [Official HacktoberFest](https://hacktoberfest.com/) page this is where you go to sign up on September 26. Sign up here then prepare for the month.

Dev's Hacktoberfest preview blog.

{% embed https://dev.to/devteam/hacktoberfest-2023-sneak-peek-at-badges-whats-to-come-4h22 %}

I've participated in Hacktoberfest for three years, last year I even maintained a project. I've had four or more pull request accepted each of the the last three years.

I've got to collaborate on some cool projects. I've earned t-shirts, stickers, holopins, and DEV badges. Although I'm missing the 2021 one. 


This year Digital Ocean is not giving out shirts or stickers. It's an expense thing, but you can earn digital pins and have a tree planted. Some companies offer incentives to earn their swag so look for them as you search for projects.  


![completed progress bar. Show 4 filled in boxes ](https://dev-to-uploads.s3.amazonaws.com/i/ekhzparqr6g09yi9pctq.jpg)


Those PRs include code, documentation, transcribing podcasts,  and even writing some templates for a repo. It's been an enjoyable time and I'm ready to do it again.

2022
{% embed https://dev.to/jarvisscript/hacktoberfest-review-38e3 %}

2021

{% embed https://dev.to/jarvisscript/hacktoberfest-review-18jh %}

2020

{% embed https://dev.to/jarvisscript/hacktoberfest-4-of-4-1aoo %}


![DEV hacktoberFest22 Badge. Wireframe sphere with a capital H](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/94wnb20mnv8a4ur85brq.jpg)

This is my pledge to participate in HacktoberFest 2023. Are you joining the fun this year?

```html
-$JarvisScript git push
```
What going light would look like, for me
Tags: macos
Published: 2023-09-24 22:08:07

Ever since macOS added dark mode I have been a user. Using dark mode in the OS, my text editor (Sublime), Github, etc.

But today I tinkered around with what using light mode might look like for me:

![Screenshot of my light desktop.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4m7hgdljai3zw8kktws7.png)

![Screenshot of Sublime Text using Tomorrow-Night Blue Theme](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/51cvc94621lv3g0srb90.png)

As you can see I would have to compromise a little with Sublime and iTerm, I just can't find a good enough color scheme that is all-white or off-white, so I went with a theme I've used in the past and enjoyed.

I've always felt a bit of nostalgia using light themes, so I often wonder if I'd ever use one. But for now back to dark mode...
A short review of “Building Evolutionary Architectures” book
Tags: books, softwaredevelopment, architecture, softwareengineering
Published: 2023-09-24 21:36:22




I’ll summarize my takeaways from this book in a 5-minute discussion

 ![Building Evolutionary Architectures](https://cdn-images-1.medium.com/max/9720/1*aoErszLm3FT13fuIuRJi4Q.jpeg)


Book Name: **Building Evolutionary Architectures**
Authors: **Neal Ford**, **Rebecca Parsons**, **Patrick Kua** 
Publisher: **O'Reilly Media**
Publication Date: **2022 November 22 (2nd Edition)**
Paperback: **262 **Pages
Language: **English
Dimensions: **7 x 0.5 x 9.25** inches
Purchase Link: [Book available on Amazon](https://www.amazon.com/Building-Evolutionary-Architectures-Neal-Ford-ebook/dp/B0BN4T1P27?ref=d6k_applink_bb_dls&amp;dplnkId=90509212-a269-49e2-9bcd-84fa51d43521&_encoding=UTF8&tag=mattghafouri-20&linkCode=ur2&linkId=d33ae5e83653a84c81ca313a8ea415b8&camp=1789&creative=9325")

### Audiences 👂🏻🔉

Software developers at all levels except for those in junior positions.

### My understanding of this book 📖🔖

The author attempts to list all the important aspects of software architecture, such as scalability, ease of maintenance, security, resilience, monitoring, etc. To help choose an architecture that matches business requirements. In essence, they aim to understand what it takes to create and maintain architectures that can adapt to constant changes.

Next, the author discusses various architectural approaches, including monolithic, modular monolithic, SOA, microservice, and serverless architectures. The author evaluates these options based on **fitness functions**, **incremental changes**, and **coupling** to determine the most suitable architecture.


 
### Should I Read this book?
I genuinely believe that even if you manage to extract just one page from a book, it’s worth the read. If you find the time, I highly recommend giving it a go. However, if you’re unable to do so, I hope the information you’ve gathered here serves as a valuable takeaway. Embrace it.  


### [This article was originally published on my personal blog](https://codeboulevard.com/2023/11/a-short-review-of-building-evolutionary-architectures-book/)

 
Cheers, **Matt Ghafouri**
UTF-8 series wrap up
Tags: unicode, utf, raku
Published: 2023-09-24 21:31:07


![WoW](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5rhqbtc9cc3lpj55zqit.png)

What a long, strange trip it's been. Idea to "quickly blog about some Unicode basics" grew into 17 posts monster series :)

Special thanks go to:

- [Unicode Consortium](https://unicode.org/consortium/consort.html). You are the hero everyone needs. Oh, if you read this - can you please explain why `ł` does not decompose? It still scratches my brain :)
- [Raku](https://www.raku.org/) language authors. Because of the excellent out-of-the-box UTF-8 support it was excessively used to illustrate many examples in this series.
- Readers, for all the comments and reactions.

SeeYa