teleren/devto huggingface dataset:
The WebXGuild Chronicles - #00C05: The Dance of Event Creation and Link Sharing
Tags: webdev, devjournal, github, opensource
Published: 2023-07-14 06:30:00

![The Dance of Event Creation and Link Sharing](https://cdn.leonardo.ai/users/a6387757-01eb-40c5-834b-471fa435fba2/generations/d2bcef17-96c9-4f31-9ffd-1daf5bd45308/Absolute_Reality_v16_Picture_a_bustling_marketplace_in_a_vibra_0.jpg)

Behold, the magic of "Event Creation and Link Sharing!" Vincent's fingertips dance across his keyboard, conjuring events out of thin air. With a specific link, [webxguild](https://github.com/WebXDAO/WebXGuild).io/gdsc-india/geekmeet2023, he draws curious minds into a world of coding camaraderie. As the link spreads like wildfire, attendees flock to the gathering, eagerly awaiting the moment when knowledge shall be imparted and connections forged.

---
> DISCLAIMER: This content was made via Google Translate (an AI tool used to translate languages, you may have forgotten so I reminded it). Why should there be this disclaimer? Because I always considered ChatGPT!!!
Paying for parking with Digital Tenge in Kazakhstan
Tags: news, blockchain, web3, cryptocurrency
Published: 2023-07-14 06:25:04

The National Bank of Kazakhstan is implementing a pilot project to introduce their own central bank digital currency(CBDC), called the digital currency Digital Tenge ([DT](https://nationalbank.kz/en/page/cifrovoy-tenge-pilotnyy-proekt)). As part of this program, a number of studies have been conducted, including the use of DT in the payment and settlement infrastructure. One of the most promising projects was the development of a car parking payment system using IoT and the Digital Tenge. In order to implement the project, the National Bank selected [ilink](https://ilink.dev/), a software development company that specializes in digital technologies.

Currently, there are two ways to pay for parking: cash and cashless. In both cases, an intermediary is required between the parking user and the service company, and it is not possible to conduct a full analysis of the data on the use of parking spaces. The use of IoT and digital token technologies improves the interaction between customers and parking lot owners, while also and offerings certain advantages. By eliminating the intermediary, the price of parking is reduced, and the analysis of public data on vacant spaces helps spacesvacancies helps to track availability in advance and set up actions to be automatically triggered when certain conditions are met, such as giving the user a discount on parking in a certain area.set up automatic fulfillment of certain conditions of payment (for example, discounts).
Personal Space Invaders
Tags: gamedev, tutorial, beginners, programming
Published: 2023-07-13 09:44:29

Here we go, gang. Here's my first project in my recreate-retro-games-plan. I was juggling a few ideas on which game to start with, but after the title "Personal Space Invaders" popped up in my mind I could not _not_ choose it! 

My plan is to recreate the classic game "Space Invaders", but adding on my own silly take on it. I aim to make the game about a person who is VERY keen on keeping people away from their personal space, and I think the creative process (and hopefully the end result) could be very fun!

It's my first time documenting my progress on a site like this one, so please keep in mind that I might forget to mention a few things. I anyone is following this guide/tutorial/chaos and you feel as if I've confused you, please feel free to reach out to me and I'll do my best to clear things up!

Now that that's over with - let's go!

I'm using Unity for creating this game, and I've chosen to go with the "2D URP" setting when I set up the game . I have also moved around the UI for the Unity Editor a bit. So far, this is all I have: 


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

I have also made a quick and simple sketch of how the game should look like: 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/98bdt2l164pqzyt5owm4.PNG)

I'm going to try and keep my posts somewhat structured in order to make them more readable, so the process will be divided up into different posts. If you want to follow my process I'd suggest you keep an eye out for more posts, and I welcome constructive criticism, tips and discussions. 

Have a lovely day and take care, 

Alex
First smart contract based on NFT signed in Kazakhstan
Tags: smartcontract, news, blockchain, coding
Published: 2023-07-14 06:23:44

[ilink's](https://ilink.dev/) software developers and the Association of the Blockchain Industry and Data Centers in Kazakhstan have signed an agreement, a part of which was made into a smart contract by minting part of the contract as a non-fungible token(NFT) and connecting it with a smart contract. The main purpose of this agreement and contract is to establish an educational program focused on the blockchain sphere.

A smart contract is a digital contract that ensures the automatic fulfillment of predetermined conditions and obligations in an online environment. The significance of this smart contract lies in its status as the first NFT-based contract in Kazakhstan, showcasing the potential of conducting transactions using modern technologies.

The developers emphasize the importance of education in the blockchain field, given the increasing prominence of digital assets in Kazakhstan and globally. To avoid a shortage of skilled personnel when smart contracts become the new norm for transactions in the near future, it is crucial to start training specialists in blockchain development now.
Writing Resilient Unit Tests
Tags: testing, beginners, programming, development
Published: 2023-07-14 06:15:44

In the world of software development, unit testing is a critical aspect that ensures the correct behavior of our applications. However, a common pitfall that many developers fall into is creating brittle tests - tests that fail due to unrelated changes in the implementation. This can lead to a lot of unnecessary debugging and frustration. But what if there was a way to design our tests to be resilient to these changes? 

In a recent YouTube video, Zoran Horvat, an experienced software developer and educator, sheds light on this very issue. The video, titled "Write Unit Tests Against the Interface, Not Implementation," is a must-watch for any developer looking to improve their unit testing skills.

## The Problem with Brittle Tests

Zoran begins by explaining the concept of brittleness in unit tests. A brittle test is one that fails either to compile or run when an unrelated detail in the underlying implementation changes. This is often due to the test being overly reliant on specific implementation details, resulting in a test that is tightly bound to the implementation.

## The Resilient Test Approach

The video then transitions into a demonstration of a resilient test. Unlike brittle tests, resilient tests are not bound to the implementation but only to the interface. This approach allows the test to remain valid even when the implementation changes, thus making it resilient to changes in the underlying implementation.

## A Real-World Scenario

To illustrate this concept, Zoran uses a real-world scenario from a monetary application. He shows how a brittle test can fail with the slightest shift in implementation, and then contrasts this with a resilient test that remains valid despite significant changes in the implementation.

## The Takeaway

The main takeaway from Zoran's video is the importance of designing our tests against the interface and not the implementation. If we do so, we can create tests that are resilient to changes in the underlying implementation, saving us time and frustration in the long run.

## Engage with the Video

I highly recommend watching Zoran's video to gain a deeper understanding of this concept. Not only does he explain the theory behind resilient tests, but he also provides a practical demonstration that clearly illustrates the difference between brittle and resilient tests.

So, why not take a moment to watch the video? And while you're at it, don't forget to like, comment, and share the video. Engaging with the video not only helps Zoran but also helps you by increasing the visibility of this valuable content. 

Remember, the more we engage, the more we learn. So, let's start a conversation about resilient tests and help each other become better developers.

[Watch the video here](https://youtu.be/po9ziMcnAWg)

Happy testing!
The WebXGuild Chronicles - #00C04: The Social Media Soiree
Tags: webdev, devjournal, github, opensource
Published: 2023-07-14 06:15:00

Come, let us immerse ourselves in the world of "Social Media Sharing." Ah, the power of a single click to spread the word far and wide! Vincent, armed with his contagious enthusiasm, embraces this feature wholeheartedly. Facebook, LinkedIn, Twitter—the virtual battlegrounds where events are shared, connections are made, and the digital realm comes alive with the chatter of developers united.

![The Social Media Soiree](https://cdn.leonardo.ai/users/a6387757-01eb-40c5-834b-471fa435fba2/generations/24e25f8d-e646-460e-857c-770b5c328f14/Absolute_Reality_v16_In_a_whimsical_garden_of_virtual_reality_3.jpg)

---
> DISCLAIMER: This content was made via Google Translate (an AI tool used to translate languages, you may have forgotten so I reminded it). Why should there be this disclaimer? Because I always considered ChatGPT!!!
Hi I am new in here 😀😀😀
Published: 2023-07-14 06:08:39


Hello everyone I am new in here and so excited to be the part of this dev world. i am atrected here because the good coding stuff, friendly community, healping each others in coding, learn somthings new.
I am a Flutter Developer and created a lots of apps and placed in playstore now i am work in my Personal Project so all the community member please  help me if i am stuck in some conditions and i am also available for your help also.

please check out my website and if you give some feedback so i am so happy -->>[Dosomthings.com](http://dosomthings.com/).

Thank's and please connected ❤️❤️❤️
Using S3 Lifecyle Rules with Spatie Laravel Backups
Tags: s3, laravel, php
Published: 2023-07-14 05:41:12

---
title: Using S3 Lifecyle Rules with Spatie Laravel Backups
published: true
description: Automatically expire old backups with S3 rules
tags: s3,laravel,php
canonical_url: https://www.mikehealy.com.au/using-s3-lifecycle-rules-with-spatie-laravel-backups/
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-07-14 05:22 +0000
---

AWS S3 has a feature called Lifestyle Rules that let you define rules to run a range of transitions on your objects, such as changing their storage class or expiring (deleting) them.

This can be useful to save costs and clean up your object list by removing objects you don't need to keep forever.
You can lean on AWS for the expiry logic without having to program scheduled events to cleanup for you.

Lifecyle rules can be targeted to an entire bucket, to objects with a path prefix, or to objects with a particular Tags.

[Spatie Laravel Backup](https://spatie.be/docs/laravel-backup/v8/introduction) is a popular Laravel package for taking site/database backups.

It can be configured to write to various 'disks'. If you're using the S3 disk it is possible to Tag those backups for targeting by the Lifecycle rule.

## Creating the rules in S3 and targeting a tag
![S3 Console screenshot showing Management lifecycle rules](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n6raps0vtkw730hp39h1.png)
From your bucket, go to **Management** and create a Lifecyle rule.

In my case I will be targeting a tag called `fadeout` with a value of `true`.

This rule will transition objects to the Standard Infrequent Access storage class after 30 days, and then delete them after 60 days. It also only applies to objects over 150kB.

## Tagging backups that Laravel Backup uploads
To have your backup objects tagged in order for the lifecycle rule to take effect you'll need to an an option to your Laravel `fileysystems.php` config file.

Assuming you are using the `s3` disk, you'll need to add a backup_options value to your S3 config array like so:

```
's3' => [
  'driver' => 's3',
  'key' => env('AWS_ACCESS_KEY_ID'),
  'secret' => env('AWS_SECRET_ACCESS_KEY'),
  'region' => env('AWS_DEFAULT_REGION'),
  'bucket' => env('AWS_BUCKET'),
  'url' => env('AWS_URL'),
  'backup_options' =>
     ['Tagging' => 'fadeout=true', 'visibility'=>'private'],
],

```
Backups are private by default, but because we're overriding the options array we need to specify it again.
The format of the `Tagging` key is url encoded as shown.
The `Tagging` and `visibility` keys are case sensitive as shown.

With that in place you can keep your recent backups without cluttering your bucket :)
Beginners could benefit a lot from working on open source
Tags: beginners, programming
Published: 2023-07-14 05:35:54

---
title: Beginners could benefit a lot from working on open source
published: true
description: 
tags: beginners, programming
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-07-14 05:33 +0000
series: opensource
---

People often ask if they can rely on open source software. Who tests it? Who does the quality assurance.


In open source projects it is the job of the developers to ensure that quality of their code. Some invest a lot of energy in it and write lots of automated tests.


If you look at test coverage - a reasonable even though not perfect way to measure it - you will see that in corporations it is 20-30%. In many open source projects it is 80-90% test coverage.


So I say there is a lot corporations could learn from open source projects in terms of test automation.


You as an individual could learn a lot from participating in open source development, but it is not always clear how and where to start it.


That's why I started to build a community where I and others will help you get started with contribution to an open source project.

[Read more](https://osdc.code-maven.com/community) about our community!

[Join](https://osdc.zulipchat.com/) our community.

Let me know if you are interested!
Do you need a patent for app - An Overview
Tags: flutter, api, ai, programming
Published: 2023-07-14 04:55:01

**The decision of whether to patent an app depends on various factors**, such as the novelty and inventiveness of the app's features and functionalities. Patents are typically granted for inventions that are new, non-obvious, and have industrial applicability. If your app incorporates a unique and innovative technology, process, or solution that meets these criteria, you may consider seeking patent protection.

**Patents can provide legal protection and exclusive** rights over your invention, preventing others from making, using, selling, or importing your app without your permission. This can be particularly valuable in highly competitive markets where intellectual property is a significant asset.

However, it's important to note that not all apps are eligible for patent protection. Patents are generally granted for technical inventions rather than abstract ideas or business methods. Additionally, obtaining a patent can be a complex and time-consuming process, often requiring the assistance of a patent attorney or agent.

**Also Read-** [Optimal solution for flutter state management](https://flutterdesk.com/flutter-state-management-provider-vs-getx/)

Before pursuing a patent, it is advisable to consult with a qualified intellectual property attorney or specialist who can evaluate the patentability of your app and guide you through the application process. They can assess the specific circumstances and provide advice tailored to your situation.
Top 3 Competitive Programming Websites!
Tags: programming, productivity, cpp, algorithms
Published: 2023-07-14 04:48:36

Are you ready to enhance your coding skills and embark on exhilarating programming challenges? Look no further! I've curated a list of the top three competitive programming websites that will push your abilities to new heights. Whether you're a seasoned coder or a beginner eager to dive into the world of algorithms.

1. Codeforces:
Codeforces stands tall as one of the leading competitive programming websites, attracting thousands of talented programmers from around the globe. This platform hosts regular contests, ranging from beginner-friendly to advanced levels, allowing participants to tackle a diverse range of algorithmic problems.

2. CodeChef:
CodeChef is a renowned competitive programming website that offers a diverse range of coding challenges and contests. With a focus on algorithmic problem-solving, CodeChef provides a platform for programmers of all skill levels to showcase their talents. The website hosts monthly long contests, which allow participants to delve deep into problem-solving while improving their coding techniques. CodeChef's interactive community offers insightful discussions, editorials, and tutorials to guide and inspire learners on their coding journey.

3. Topcoder:
With a history spanning over two decades, Topcoder remains an industry favorite for competitive programming. This platform offers a plethora of exciting challenges, from algorithm competitions to design and development projects. Topcoder's unique feature, known as "Single Round Matches" (SRMs), allows participants to compete head-to-head in a timed environment.

💻💡💪Whether you're seeking to refine your programming prowess, compete against the best, or simply enjoy the thrill of coding challenges, these top three competitive programming websites are your gateway to an incredible learning and growth experience. So, roll up your sleeves, sharpen your coding skills, and embark on an exhilarating journey towards becoming a coding champion! Happy coding!


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7h9h8oz3sr89spta1ixd.png)
I need Guidance
Tags: webdev, javascript, beginners, programming
Published: 2023-07-14 04:44:51

Hi from a beginner,
Few months back, My friend introduce me to the Front end Development and I find it very interesting and good for finding Jobs in the future. After that I started learning HTML, CSS & JavaScript, Bootstrap, but now when I am building a Clone project for my Portfolio I can't able to do it. 
So, I need help to complete my Clone website and It would be great if anyone of you can Guide me, even a small help would also be appreciated.
Thanks
Free LLM Course — Large Language Model Course
Tags: llm, nlp, machinelearning, openapi
Published: 2023-07-14 04:30:54

Stepping back into the world of blogging after a long hiatus is an experience filled with a whirlwind of emotions. As I sit here, fingers poised over the keyboard, I can’t help but feel a mix of excitement, nervousness, and a tinge of self-doubt.

But amidst it all, there’s a flicker of something familiar — a deep-seated passion for sharing my thoughts and stories with the world. I am planning to write atleast one blog psot either weekly or fortnightly, lets start the week with LLMs course.

Large language models have emerged as powerful tools in natural language processing, transforming the way we interact with technology. Their ability to understand and generate human-like text opens up countless possibilities across industries, from customer support to content generation and data analysis.

As the field continues to evolve, it is crucial to strike a balance between harnessing the capabilities of large language models and addressing the ethical considerations to build a more inclusive and responsible AI-powered future.

Below are some of the sources where you can learn more about Large Language Models, these are some of the free courses offered by various companies, in the coming blogs I will write about universities and vendors on fee-based courses.

-------------------------------------------------------------
> Free Large Language Model Course
-------------------------------------------------------------

![Free LLM Course](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6t11nk0tndw70thx2dnw.png)

-------------------------------------------------------------
> Deeplearning.ai
-------------------------------------------------------------

![Deeplearning.ai](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2jemp1rhmcmflwlq1hfa.png)

-------------------------------------------------------------
> cohere
-------------------------------------------------------------

![cohere](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kt7mygebcetgcblemzvv.png)

-------------------------------------------------------------
> Databricks
-------------------------------------------------------------

![databricks](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4rids630tzdln6cp6nqd.png)

-------------------------------------------------------------
> Google Cloud
-------------------------------------------------------------

![googlecloud](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/32wed1yv938yb1ksuqwb.png)

-------------------------------------------------------------
>Weights & Biases
-------------------------------------------------------------

![w&b](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6q6kkinc1abkspn1uagg.png)




#llms #largelanguagemodels #nlp #machinelearning #ml
Debugging skills
Published: 2023-07-14 04:11:53

Today I learned debugging skills while doing the “Hello world” assignment. While working on Codespace in VSCode pane at the bash prompt I ran the command: “rake grade”.  The rake grade command gave me a sign-in error so I took help from Teaching assistant Dustin Doyle
 To fix the problem, I closed all the browsers and signed in to each account followed each instruction from the https://learn.firstdraft.com/lessons/106 and it work fine with no errors.