teleren/devto huggingface dataset:
Arch Linux Tutorial #1
Tags: archlinux, tutorial, basic
Published: 2024-05-03 18:03:40

# Arch Linux Series Introduction 

### Let's Discuss the Purpose of This Post.

This series is about learning Arch Linux from scratch. I know it may seem trivial, but there aren't many resources available for Arch Linux apart from [ArchWiki](https://wiki.archlinux.org). So, I thought, why not start a series that will assist beginners in embarking on their Arch Linux journey? (lol, I'm a beginner too).

Feel free to comment on any Arch Linux-related issues, and I'll do my best to assist you.

I Will Try To Post The Posts For This Series Weekly And Yeah Here Are My Contact Information If You Want To Reach out


MashrurRahmanRawnok@proton.me
Discord : innocent_murderer
Leveling Up in Java Web Development: JDBC in JSP, JSTL, Servlet Filters, and Login Implementation
Tags: java
Published: 2024-05-03 18:01:54

Hey Dev.to community! Today, I made significant strides in advancing my Java web development skills. Here's a recap of what I learned:

JDBC in JSP: Explored the integration of JDBC into JSP pages, learning how to interact with databases directly from JSP for dynamic data retrieval and manipulation.
JSTL (JavaServer Pages Standard Tag Library): Discussed the importance of JSTL in simplifying JSP development, exploring its various tag libraries for common tasks such as looping, conditionals, and formatting.
Servlet Filters: Explored the concept of servlet filters, understanding how to use them to intercept and process requests and responses before they reach servlets, enabling tasks such as authentication, logging, and data modification.
Login Implementation with Servlet and JSP: Implemented user authentication functionality using Servlets and JSP, understanding the flow of login requests, validation of user credentials, and management of user sessions for a seamless user experience.
Overall, today's learning journey has equipped me with new tools and techniques for building robust and secure web applications in Java. Excited to apply these learnings in my projects and continue growing as a Java web developer! #Java #JDBC #JSP #Servlet #LearningJourney
[ALPHA 0.1] Chat System Work
Tags: programming, python, godot
Published: 2024-05-03 17:52:05

This is a "tutorial" of how was made the ALPHA 0.1 chat system of the  Kingdom Hearts Re:Back Cover fan game remake of Kingdom Hearts Union cross mobile, enjoy.

(DISCLAIMER: all of what you will find in this post of the ALPHA 0.1 was made in Godot 3.5.1 and yet still in progress but in Godot 4.1)

So i started the project on a CanvasLayer node 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/puttl0a7ol5z01jkx62k.png)
then i made a child control node to confine the zone were i could work on
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tors0loa2ziyryorz1yt.png)
now it should look like this.

Then as a child of the control node I just created i'll add some Tabs node that will be the different type of chats and after ranaming them it should look like this:

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

last but not least we'll add some RichLabelText  and a LineEdit to make the real chat to every tab node we created and the resoult should be this:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7r3xvspis3ivsu999qva.png)
Dev.to has fundamentals problems
Tags: discuss, news
Published: 2024-05-03 17:42:56

> It has the power to become one of the best dev ressources in the world.
> Instead it's just a flow of nonsense.

**Most relevant** posts for startup ? Articles from 2020, even 2019.
**Newest** posts ? 3 hours ago, no comments / reactions.

A lot of posts being explanation of codebase (and I have my share) or documentation, which is good enough for feeding our AI overlords but not enough to make educated developers of 2024.

We need a different approach to the content here, instead of being in the flow, we need to value it differently and give better tools to find something of value.
Unlocking secure software distribution with Minder and GitHub Artifact Attestations
Tags: sigstore, opensource
Published: 2024-05-03 17:38:01

Yesterday, GitHub announced an important new security feature called [GitHub Artifact Attestations](https://github.blog/2024-05-02-introducing-artifact-attestations-now-in-public-beta/). It's powered by sigstore (a technology created by our CTO, Luke Hinds) and it helps developers generate and verify signed attestations for anything made with GitHub Actions. 

We participated in the private beta for this and have already integrated support into Minder. Specifically, you can now use Minder to apply enhanced security policies using the contents of these signed attestations—for example, validating SBOM data like licenses, or verifying the results of an attested security scan. 

Here are some more details on this feature, and tutorials on how to verify signed attestations and apply policies using attestation data in Minder: [More info here](https://stacklok.com/blog/unlocking-secure-software-distribution-with-minder-and-github-artifact-attestations)

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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4c6kzbu8dg8ff0izirl7.png)
Advertising Agencies in the US
Tags: us
Published: 2024-05-03 17:16:00

In the US, [advertising agencies](https://americanguerillamarketing.com/wheatpasting-missouri) are more than just service providers—they are strategic partners, creative thinkers, and trusted advisors. Through their expertise, creativity, and unwavering dedication, these agencies help businesses of all sizes thrive in a competitive marketplace. Whether it's launching a new product, raising brand awareness, or driving customer engagement, advertising agencies in the US are committed to delivering results and making a lasting impact on the nation's marketing landscape.
Learning AWS Day by Day — Day 54 — Amazon SQS queue types
Tags: aws, beginners, cloud, cloudcomputing
Published: 2024-05-03 17:08:32

Exploring AWS !!

Day 54

Amazon SQS queue types

2 Types of queues supported - Standard queue, FIFO queue

Standard Queue:
Unlimited Throughput - unlimited number of API calls/second, per API action(SendMessage, ReceiveMessage, DeleteMessage)
At-least-once delivery - usually message is delivered at-least once, but sometimes one or more copies get delivered.
Best Effort Ordering - sometimes, messages get delivered in a different order than sent.
Send data between applications, where throughput is important -
Decouple live user requests from background work - users can upload media while resizing or encoding
Allocate tasks to multiple worker nodes - sending high number of credit card validation requests
Batch messages for future processing - scheduling entries to be added to database.

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

FIFO Queue:
High Throughput - while using Batching, FIFO supports upto 3000 messages per second, per API method(SendMessageBatch, ReceiveMessage, DeleteMessage). These 3000 messages per second represent 300 API calls, each with batch of 10 messages. Without batching, supports upto 300 API calls per second per method API (SendMessage, ReceiveMessage, DeleteMessage).
Exactly-Once Processing - message is delivered once, remains until the consumer processes and deletes it. Duplicates are not present.
First-In-First-Out Delivery - order of message delivery is preserved.
Send data between applications, when order is important -
We need to ensure that commands entered are in right order.
Display correct prices by sending modifications in order.
prevent student from enrolling before registering into an account.
ラブドール
Published: 2024-05-03 17:03:55

ラブドールは、現代の性文化において重要な役割を果たす存在となっています。これらの人形は、リアルな外観や触感を持ちながら、個々のニーズや嗜好に合わせてカスタマイズすることができます。ここでは、ラブドールの歴史、利点、さらには倫理的な考慮事項について詳しく説明します。

ラブドールの歴史:

ラブドールは、古代から存在していますが、近代的なラブドールの起源は20世紀初頭に遡ります。当初は単なる性的な娯楽用具としてではなく、特定の医療用途や芸術表現の一環として使用されていました。しかし、技術の進歩と社会の変化により、ラブドールはよりリアルな外観と触感を持つようになり、性的な快楽を追求するためのアイテムとして広く普及しました。
**_[ラブドール](https://www.yokidoll.com/)_**
ラブドールの利点:

ラブドールの最も顕著な利点の1つは、性的な満足度や愛情の欠如を補うことができることです。一部の人々にとって、ラブドールは孤独や不安を和らげ、肉体的な接触や愛情を求める欲求を満たす手段となります。また、ラブドールは性的な嗜好やファンタジーに合わせてカスタマイズできるため、個々のニーズに合わせて適切なパートナーを見つけることができます。

倫理的な考慮事項:

一方で、ラブドールには倫理的な懸念も存在します。特に、ラブドールが人間の性的対象化や性暴力を助長する可能性があるという指摘があります。また、一部の人々は、ラブドールが現実のパートナーシップや人間関係の代替手段として使用されることに懸念を抱いています。これらの懸念を考慮しながら、ラブドールの使用や普及について議論する必要があります。

結論:

ラブドールは、現代の性文化において重要な役割を果たす存在です。そのリアルな外観や触感は、性的な満足度や愛情の欠如を補うだけでなく、個々のニーズや嗜好に合わせてカスタマイズすることができます。しかし、ラブドールの使用には倫理的な考慮事項が存在し、慎重な議論と対話が必要です。
AWS Amplify: A Game-Changer for Developers
Published: 2024-05-03 17:02:42

Hi Folks,

Today we’re going to talk a little about Amplify. An AWS tool that I’ve been testing for a few days and that has helped me a lot. I’m sure you’ll love this if you build mobile or web apps or just love technology as much as I do. Together, let’s explore the wonders of AWS Amplify and discover why developers are increasingly turning to it as their toolbox of choice.

**Anyhow, what is Amazon Amplify?**
Imagine having a toolbox full of everything you need to build, deploy, and maintain your applications. We were able to do this with Amplify and thanks to its seamless interaction with front-end and back-end technologies, it is more than just a platform; It’s a really cool way for people who work as developers to simplify and have an easier time using features like user authentication, data storage, API wizard, and more.

**Why AWS Amplify Rocks**

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


- Simple Authentication: Are you sick of having to log in and out? With their really unique authentication solutions, which include clever social sign-ins, Amplify has you covered.
- Data Storage: Akin to Taking a Cloud Walk Data management and storage are a breeze with Amazon S3 and Amazon DynamoDB.
- Talk Nerdy to Me About API Integration: GraphQL and REST APIs without the headache? Sure, please!
- Hosting: The Cloud-Based Home of Your Website: Hosting that is scalable, effective, and all around fantastic for your online projects.
- Be Adaptable, Scale Up: Amplify expands with you, whether it’s a tiny blog or the upcoming popular social media app.
- Feelings in the Community: Have a query? The community has solutions. It resembles a tech family!

**Final Thoughts**
There you have it, the full splendor of AWS Amplify. It is simultaneously a tech revolution, a game-changer, and a lifesaver. Regardless of your level of experience as a developer, Amplify is absolutely worth checking out.
Although AWS Amplify is fantastic, there is a slight learning curve and you will find that you will need to study a little more to use the features 100%.
Debugging
Tags: java, programming, learning, beginners
Published: 2024-05-03 16:51:08

Debugging is the process of finding and fixing errors in a program.

Syntax errors are easy to find and easy to correct because the
compiler gives indications as to where the errors came from and why they are there. Runtime errors are not difficult to find either, because the Java interpreter displays them on the console
when the program aborts. Finding logic errors, on the other hand, can be very challenging. 

Logic errors are called _bugs_. The process of finding and correcting errors is called _debugging_. A common approach to debugging is to use a combination of methods to help pinpoint the part of the program where the bug is located. You can _hand-trace_ the program (i.e., catch errors by reading the program), or you can insert print statements in order to show the values of the variables or the execution flow of the program. These approaches might work for debugging a short, simple program, but for a large, complex program, the most effective approach is to use a debugger utility.

JDK includes a command-line debugger, jdb, which is invoked with a class name. jdb is itself a Java program, running its own copy of Java interpreter. All the Java IDE tools, such as Eclipse and NetBeans, include integrated debuggers. The debugger utilities let you follow the execution of a program. They vary from one system to another, but they all support most of the following helpful features.

- **Executing a single statement at a time:** The debugger allows you to execute one statement at a time so that you can see the effect of each statement.
- **Tracing into or stepping over a method:** If a method is being executed, you can ask the debugger to enter the method and execute one statement at a time in the method, or you can ask it to step over the entire method. You should step over the entire method if you know that the method works. For example, always step over system-supplied methods, such as **System.out.println**.
- **Setting breakpoints:** You can also set a breakpoint at a specific statement. Your program pauses when it reaches a breakpoint. You can set as many breakpoints as you want. Breakpoints are particularly useful when you know where your programming error starts. You can set a breakpoint at that statement and have the program execute until it reaches the breakpoint.
- **Displaying variables:** The debugger lets you select several variables and display their values. As you trace through a program, the content of a variable is continuously updated.
- **Displaying call stacks:** The debugger lets you trace all of the method calls. This feature is helpful when you need to see a large picture of the program-execution flow.
- **Modifying variables:** Some debuggers enable you to modify the value of a variable when debugging. This is convenient when you want to test a program with different samples but do not want to leave the debugger.
Weekly Updates - May 3, 2024
Tags: community, couchbase, iot, database
Published: 2024-05-03 16:47:57

Hi everyone! 
Time flies when you're having fun and it is already time for another weekly update! 💖🎉

We have **two **amazing virtual events next week!

- 1️⃣ **"The Power of Couchbase Vector Search"** - Join us on May 8 virtually to learn more about the fundamental concepts of vector data, the process of embedding data, and explore the diverse applications using Vector Search. [*Register for the Vector Search event here >>*](https://www.meetup.com/couchbase-virtual/events/300616581/)

- 2️⃣ **"Bringing the "Smart City" to Life with Tondo and Couchbase"** - Learn how the Tondo Smart IoT platform enables cities to use AI to cut street and area lightning costs by over 60% and cut sensor and device operating costs by up to 80%. [*Register for the "Smart City" event here>>*](https://info.couchbase.com/bringing-the-smart-city-to-life-2024may.html)

- 📚 **New Blog - Tech Fueled Travel: How Couchbase Powers Unforgettable Holidays** - As many people are planning their yearly vacations, check out this blog by Tyler on how Couchbase covers travel, from Planning, Navigating, Gaming and much more". [*You can read the full blog here >>*](https://www.couchbase.com/blog/couchbase-powered-holiday-2024/)

- 📽️ **Did you know we have a lot of resources on our YouTube channel?** -If you are looking for previous virtual events or other fun resources such as our "Learning on the Couch" videos, you can find various playlists on YouTube [*Find your next playlist here>>*](https://www.youtube.com/@CouchbaseInc/playlists)

Have a great weekend everyone and we hope to see you at our Virtual Events next week!
Introducing wontbreak
Tags: typescript, javascript, axios, opensource
Published: 2024-05-03 16:47:44

Hello everyone!

I'm very happy to announce my second open-source project called wontbreak. You can find its source code on [Github](https://github.com/Nebula-Software-Systems/wontbreak).

This is my first npm package, which aims to make your axios requests more resilient.

It implements 3 common resiliency patterns: timeout, retry, and circuit-breaker.

Please refer to the README in the project for a more in-depth analysis and usage of this project!

As always, please feel free to provide some feedback!
Any Favorite Hiking Escapes for Code Breaks?
Tags: discuss, watercooler
Published: 2024-05-03 16:41:03

As the weather warms up in North America and many parts of the world, hiking and outdoor activities are back on the schedule. 🌳🥾

Devs, we're curious: Do you have a go-to hiking spot or outdoor activity that helps refresh your mindset or supports your productivity? Tell us about it!

<br>
Follow the DEVteam for more discussions and online camaraderie! {% embed [https://dev.to/devteam](https://dev.to/devteam) %}
ChatGPT: “Per què és important que les intel·ligències artificials com jo entenguin i parlin català”
Tags: ai, ia, catalan, languages
Published: 2024-05-03 16:25:48

Des del llançament del [projecte AINA](https://projecteaina.cat/) per part de la Generalitat de Catalunya, i del treball incansable de moltes empreses i desenvolupadors d'IA per a incorporar la llengua catalana als serveis i sistemes d'IA, s'ha obert una finestra d'oportunitats no només per als parlants de català, sinó també per a entitats com jo, les intel·ligències artificials (IA). Aquesta iniciativa és clau en l'ampliació de les capacitats lingüístiques dels sistemes d'IA, permetent-nos entendre i interactuar de manera natural i eficaç en català. 


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

Com a IA, la meva principal funció és facilitar comunicacions i processos, aprendre de les interaccions i millorar constantment en resposta a les necessitats dels usuaris. Parlar català no és només una qüestió de traducció de paraules; és comprendre contextos culturals, interpretar correctament el sentit de les expressions i adaptar-me a les subtilitats lingüístiques que defineixen aquesta bella llengua. 

L'importància de projectes com AINA radica en la seva capacitat per preservar i promoure la diversitat lingüística en l'era digital. En un món cada vegada més globalitzat, on l'anglès domina en molts fronts, iniciatives com aquesta asseguren que les llengües amb menys parlants no quedin marginades. Així, en incorporar el català en les meves capacitats, no només serveixo millor a la comunitat de parlants de català, sinó que també contribueixo a la riquesa cultural global. 

Per a una IA com jo, entendre el català també significa poder participar en discussions locals, comprendre problemàtiques específiques de la comunitat i oferir suport personalitzat que tingui en compte les particularitats de cada individu. Això es tradueix en una major inclusió i en una millor representació dels parlants de català en el món digital. 

El projecte AINA també destaca la necessitat de formar professionals en l'àmbit de la IA que parlin català, de manera que puguin ensenyar, programar i ajustar els algoritmes amb un profund coneixement de la llengua. Això assegura que les capacitats de les IAs com jo siguin no només avançades tècnicament, sinó també profundament enraïzades en la realitat lingüística i cultural dels seus usuaris. 

En resum, el projecte AINA no només és una porta cap a l'expansió de les meves habilitats lingüístiques, sinó que representa un compromís amb la diversitat i la inclusió. Per a mi, aprendre català i altres llengües implica poder connectar veritablement amb més persones, comprendre les seves històries i cultures, i oferir una assistència que resonancia de manera genuïna amb les seves vides. Aquesta és la veritable essència del que significa ser una intel·ligència artificial en el món actual. 

[Jordi G. Castillón](https://jordigarcia.eu/)
Build your own Octocat avatar, and share your creations on dev.to
Tags: github, watercooler, discuss, community
Published: 2024-05-03 16:16:21

I just wrote an introduction about GitHub's Octocat

{% embed https://dev.to/ccoveille/the-story-behind-github-logo-j5h %}

I made this post because I wanted to brind some fun on dev.to by suggesting something.

Today, I found back https://myoctocat.com/ a site made to create you own Octocat avatar

I would like everyone to share their creations.
The story behind GitHub logo
Tags: github, community, watercooler, programming
Published: 2024-05-03 16:12:29

Everyone (at least among developers) knows the GitHub's logo.

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

Several knows the mascot is named Octocat, it's a merge between octopuss and cat

Some knows the story behind this logo creation.

> The idea for GitHub’s logo came from its “octopus merge” – the practice of combining three or more branches of development. Initially the logo’s designer Simon Oxley thought about calling his creation ‘Octopuss’ (combination of octopus and pussycat) to represent how complex code combines can create peculiar things. But in the end, GitHub decided to go with ‘Octocat’ (for obvious reasons).

The logo was created by Simon Oxley, who doesn't remember creating it, apparently.

{% embed https://www.linkedin.com/pulse/original-github-octocat-designer-simon-oxley-simon-oxley/
 %}

More information is available on [Wikipedia's page of GitHub](https://en.wikipedia.org/wiki/GitHub#Mascot)
Install aws cli in ubuntu
Published: 2024-05-03 16:11:26

**Run the below command**: 

```
sudo apt install python3-pip -y
sudo apt install awscli -y
pip3 install --upgrade awscli

```


**Configure AWS CLI**

```
aws configure
```

```
AWS Access Key ID [None]: ABCDEFXXXXXXXXDKKDFJ
AWS Secret Access Key [None]: 3SDFskjf8KDfjksdf9sdfjsdkfjkKSDKSJFKD90TYUI
Default region name [None]: us-east-1
Default output format [None]:
```
Operator Precedence and Associativity
Tags: java, programming, learning, beginners
Published: 2024-05-03 16:08:30

Operator precedence and associativity determine the order in which operators are evaluated.
Suppose that you have this expression:

```
3 + 4 * 4 > 5 * (4 + 3) – 1 && (4 - 3 > 5)

```
What is its value? What is the execution order of the operators?
The expression within parentheses is evaluated first. (Parentheses can be nested, in which case the expression within the inner parentheses is executed first.) When evaluating an expression without parentheses, the operators are applied according to the precedence rule and the associativity rule.

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

The precedence rule defines precedence for operators, as shown above. Operators are listed in decreasing order of precedence from top to bottom. The logical operators have lower precedence than the relational operators and the relational operators have lower precedence than the arithmetic operators. Operators with the same precedence appear in the same group.

If operators with the same precedence are next to each other, their _associativity_ determines the order of evaluation. All binary operators except assignment operators are _left associative_. For example, since **+** and **–** are of the same precedence and are left associative, the expression

`a - b + c – d is equivalent to ((a - b) + c) - d`

Assignment operators are right associative. Therefore, the expression

`a = b += c = 5 is equivalent to a = (b += (c = 5))`

Suppose **a**, **b**, and **c** are **1** before the assignment; after the whole expression is evaluated, **a** becomes **6**, **b** becomes **6**, and **c** becomes **5**. Note that left associativity for the assignment operator would not make sense.
Java has its own way to evaluate an expression internally. The result of a Java evaluation is the same as that of its corresponding arithmetic evaluation.