teleren/devto huggingface dataset:
Exploring Appwrite: A Comprehensive Guide
Tags: webdev, backend, appdevlopment, javascript
Published: 2024-04-13 09:33:52


**What is Appwrite?**
[Appwrite ](https://appwrite.io/)is an open-source **backend server** that abstracts the complexity of backend development, allowing developers to focus on building their applications. It provides a wide range of services including databases, storage, functions, and authentication, all designed to work seamlessly together. This integration simplifies the development process, reducing the need for extensive configuration and integration work.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2zymk9iqxzd4jv2yzl63.jpg)

**Key Features and Updates**
Appwrite has been continuously evolving, introducing new features and updates to enhance its capabilities. Some of the notable updates include:

**Appwrite** : Introduced new features and improvements aimed at enhancing the developer experience and application performance.
Appwrite Cloud: Now in public beta, offering a cloud-based solution for Appwrite, making it easier for developers to deploy and manage their applications.
HIPAA and GDPR Compliance: Appwrite has become HIPAA and GDPR compliant, ensuring that applications built with Appwrite can meet the stringent data protection standards required by healthcare and financial sectors.
**React Native SDK:** The introduction of Appwrite's React Native SDK in open beta allows developers to build cross-platform mobile applications using React Native, leveraging Appwrite's backend services.
**Appwrite Pro:** Announced in December 2023, Appwrite Pro offers additional features and services for enterprise-level applications, including enhanced security, scalability, and support .
**Building with Appwrite** Appwrite's versatility makes it an excellent choice for building a wide range of applications, from blogs to e-commerce platforms. For instance, it can be used to create a blog where content is stored in a database, along with metadata for displaying blog posts. This setup involves setting up a new database, creating a schema, and importing the Databases module from the Appwrite SDK.

**Authentication and Permissions**
Security is a critical aspect of any application, and Appwrite provides robust authentication options. Developers can use Appwrite's authentication services to manage user sessions and permissions, ensuring that only authorized users can create and edit posts. This feature is particularly useful for applications that require user-generated content.

**Conclusion**
Appwrite stands out as a powerful and flexible backend solution for developers, offering a wide range of services and features that simplify the development process. Its continuous updates and focus on security and compliance make it an attractive choice for building scalable and secure applications. Whether you're building a blog, an e-commerce platform, or any other type of application, Appwrite provides the tools and services needed to get your project off the ground quickly and efficiently.
Create a storybook📚 using CloudFlare AI
Tags: cloudflarechallenge, devchallenge, ai
Published: 2024-04-13 09:24:23

*This is a submission for the [Cloudflare AI Challenge](https://dev.to/devteam/join-us-for-the-cloudflare-ai-challenge-3000-in-prizes-5f99).*

## What I Built

An app to create a storybook/flipbook using LLM and stable diffusion models. You tell it a rough story and it will generate a story with illustrations.

## Demo

Try it! https://storyflare.pages.dev/

Example prompt:

- Story about photosynthesis for high school students
- Story describing renewable energy for kids

<video controls>
<source src="https://blob.kodesiana.com/kodesiana-public-assets/devto/cloudflare-hackathon-2024/storyflare.mp4" />
</video>

## My Code

{% embed https://github.com/fahminlb33/storyflare %}

Tech stack:

- CloudFlare Pages, Workers AI
- Vite
- React
- Mantine

## Journey

This is not the first time I worked with CloudFlare Workers, but this is the first time I tried the Workers AI services. I have to say the models are plenty and the inference time is quite fast too. With easy integration using Cloudflare AI SDK and easy deployment using `wrangler`, my experience with developing this app has been really fun.

The idea behind this app is to create a “benchmark” _how easy it is to use CloudFlare AI compared to other services?_ So, I created the simplest app possible I can imagine, (1) create stories using LLM and (2) create illustrations using those stories.

To achieve this, I used two AI models:

**Multiple Models**

1. **Text Generation**: `@hf/thebloke/mistral-7b-instruct-v0.1-awq` to generate the story and extracting a suitable illustration description.
2. **Text-to-Image**: `@cf/stabilityai/stable-diffusion-xl-base-1.0` to generate the illustration

I built the web app using Vite, React, and Mantine and the backend using CloudFlare Page Functions. Overall, the creation and integration process was smooth and I couldn’t appreciate enough how wrangler makes it easy to deploy the web app.

## What I Learned

The CloudFlare platform has grown into a much larger and complete ecosystem, offering developers a complete set of tools to build and scale their apps. With great developer experience offered by `wrangler`, developing apps using CloudFlare is really a bliss.

However, I also faced some limitation with the Mistral model, which are the limited number of tokens. Sometimes the generated stories are incomplete, but we can solve this by tuning the prompt to include the maximum number of sentences per story.

Another room for improvement is to implement story continuation, in case the previous response is incomplete or trying different art style to make the illustration more appealing.
insert NULL values to database and DON'T allow to create database with NULL values
Published: 2024-04-13 09:05:33

Certainly! If you want to insert some `NULL` values into your database, you can modify the `INSERT` statement to include `NULL` in place of the actual values for any column that allows `NULL` values. Here's an example based on your current `Books` table structure:

```sql
INSERT INTO Books (BookID, Title, Author, ISBN, Price, InStock)
VALUES (6, 'The Hobbit', 'J.R.R. Tolkien', NULL, 8.99, TRUE),
       (7, NULL, 'Agatha Christie', '9780007136834', 12.99, FALSE),
       (8, 'War and Peace', NULL, '9781400079988', NULL, TRUE);
```

In this example:
- For the book with `BookID` 6, the `ISBN` is set to `NULL`.
- For the book with `BookID` 7, the `Title` is set to `NULL`.
- For the book with `BookID` 8, the `Author` and `Price` are set to `NULL`.

Remember, you can only insert `NULL` values into columns that are defined to accept `NULL` values in the database schema. If a column is defined as `NOT NULL`, attempting to insert a `NULL` value will result in an error.



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


## DON'T allow to create database with NULL values 

Certainly! Based on the SQL code you've provided, which creates a `Customer` table with `customer_id` and `customer_name` columns, here's a simple practical example of how to insert data into this table:

```sql
INSERT INTO Customer (customer_id, customer_name)
VALUES (1, 'Alice Smith'),
       (2, 'Bob Johnson'),
       (3, 'Charlie Davis');
```

This SQL statement inserts three rows into the `Customer` table. Each row includes a unique `customer_id` and a `customer_name`. Remember that since both columns are marked as `NOT NULL`, you must provide a value for each column when inserting a new row.

Also, please note that in your `CREATE TABLE` statement, the `NOT NULL` constraints should be written as `NOT NULL` without spaces within the keywords. Here's the corrected `CREATE TABLE` statement:

```sql
CREATE TABLE Customer (
    customer_id INT NOT NULL,
    customer_name VARCHAR(255) NOT NULL
);
```

With this corrected table structure, the `INSERT` statement I provided above will work correctly to add new customers to your database.
Cwin | Cwin05 | Sân Chơi Cá Cược Đẳng Cấp Số #2
Published: 2024-04-13 09:03:17

CWIN05 la mot trong nhung thuong hieu co tieng tam rong rai trong linh vuc giai tri truc tuyen hien nay. CWIN05 chua bao gio lam anh em that vong.
Dia Chi: 344/516 Hem 876 Cach Mang Thang Tam, Phuong 5, Tan Binh, Thanh pho Ho Chi Minh, Viet Nam
Email: cwin05center@gmail.com
Website: https://cwin05.center
Dien Thoai: (+63)9626181162
#cwin #cwin05 #cwin05center #cwin_tang_58k #Cwin_casino
Social Links:

https://cwin05.center/

https://cwin05.center/dang-ky/

https://cwin05.center/dang-nhap/

https://cwin05.center/nap-tien/

https://cwin05.center/rut-tien/

https://cwin05.center/ban-ca/

https://cwin05.center/tai-app/

https://cwin05.center/khuyen-mai/

https://cwin05.center/author/cwin05-center

https://cwin05center.blogspot.com/

https://www.facebook.com/cwin05center/

https://twitter.com/cwin05center

https://www.linkedin.com/in/cwin05center/

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

https://glose.com/u/centercwin05

https://www.youtube.com/@cwin05cent

https://www.pearltrees.com/cwin05center

https://www.trepup.com/@cwin05center

https://soundcloud.com/cwin05center

https://www.scoop.it/u/cwin05center

https://batotoo.com/user/1935216/cwin05center

https://www.tumblr.com/cwin05center

https://www.reddit.com/user/cwin05center/

https://klotzlube.ru/forum/user/260532/

https://www.deviantart.com/cwin05center

https://gravatar.com/cwin05center

https://www.gta5-mods.com/users/cwin05center

https://www.plurk.com/cwin05center

https://www.pinterest.com/cwin05center/

https://vimeo.com/cwin05center

https://band.us/band/94411056

https://wakelet.com/@cwin05center

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

https://cwin05center.blogspot.com/

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

https://issuu.com/cwin05center

https://disqus.com/by/cwin05center/about/

https://about.me/cwin05center

https://www.mixcloud.com/cwin05center/

https://www.producthunt.com/@cwin05center

https://hub.docker.com/r/cwin05center/cwin05center

https://500px.com/p/cwin05center

https://profile.ameba.jp/ameba/cwin05center/

https://mto.to/user/1935216/cwin05center

https://www.nicovideo.jp/user/132542942

https://readthedocs.org/projects/cwin05center/

https://learn.microsoft.com/vi-vn/users/cwin05center/

https://github.com/cwin05center

https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/713638

https://talk.plesk.com/members/cwin05center.330733/#about

https://medium.com/@cwin05center/about

https://www.behance.net/cwin05center

https://www.openstreetmap.org/user/cwin05center

https://draft.blogger.com/profile/16938661899303285275

https://www.liveinternet.ru/users/cwin05center/post504305419/

https://linktr.ee/cwin05center

https://www.twitch.tv/cwin05center/about

https://tinyurl.com/cwin05center

https://ok.ru/cwin05center/statuses/156045872147876

https://dribbble.com/cwin05center/about

https://sway.cloud.microsoft/MIO5vm0U6HzfFYhO?ref=Link

https://unsplash.com/fr/@cwin05center

https://scholar.google.com/citations?user=rNgVLekAAAAJ&hl=en
Open Source Contribution in new open saas
Published: 2024-04-13 09:02:57

🚀 Exciting news! I've just launched a new GitHub repository and I'am looking for contributors to join me on this coding adventure! 🌟 Let's collaborate and build something amazing together. Check out the repository here: https://github.com/santhoshsvkmm/saas-boilerplate

👉 Are you passionate about coding and eager to contribute to open-source projects? Join me in this journey to learn, grow, and make a real impact in the tech community. Together, we can achieve great things! 🌈

Are you ready to dive into the world of open-source? 🌐

Let's code, learn, and grow together! 🌱

Your contributions can make a difference! 🚀

Join me in this exciting coding journey! 💻

💼 Business Motivation: Collaborating on open-source projects can enhance your skills, expand your network, and showcase your expertise to potential employers or clients. Don't miss this opportunity to grow professionally while making a positive impact on the tech community!

#GitHub #OpenSource #CodingCommunity #ContributorsWanted #TechCollaboration #ProgrammingJourney #CodeTogether #OpenSourceContribution #TechCommunity #GitHubCollaboration #CodingAdventure #JoinUs #TechImpact #GrowTogether #CodingPassion
３章８
Published: 2024-04-13 09:01:37

```java
public class Main {
    public static void main(String[] args) {
        // 新しいSampleオブジェクトを作成し、s1変数に代入
        Sample s1 = new Sample(10);
        // s1変数の値（Sampleオブジェクトの参照）をs2変数にコピー
        Sample s2 = s1;
        // 新しいSampleオブジェクトを作成し、s1変数に再度代入（最初のオブジェクトの参照は失われる）
        s1 = new Sample(10);
        // s1とs2が同じオブジェクトを参照しているかを確認（結果はfalse）
        System.out.println(s1 == s2);
    }
}
```

このコードでは、まず`main`メソッド内で`Sample`クラスの新しいインスタンスが作成され、`s1`変数にその参照が格納されます。その後、`s1`の参照が`s2`にコピーされますが、`s1`に新しい`Sample`オブジェクトが再割り当てされるため、`s1`と`s2`は異なるオブジェクトを指すようになります。最後の行では、`s1`と`s2`が同じオブジェクトを参照しているかどうかをチェックしていますが、この場合は`false`となります。なぜなら、`s1`には新しいオブジェクトが割り当てられ、`s2`は元のオブジェクトを参照し続けているからです。
Elevate Your Style with Stunning Braided Wigs from Express Wig Braids
Tags: expresswigbraids, shopping
Published: 2024-04-13 08:58:47

## Introduction

Are you looking to effortlessly switch up your hairstyle without committing to long hours at the salon? Look no further than Express Wig Braids, your destination for premium-quality [braided wig](https://expresswigbraids.com) that exude elegance and versatility. Whether you're aiming for a chic and sophisticated look or want to unleash your inner goddess with intricate braids, Express Wig Braids has you covered.

## Unmatched Quality

At Express Wig Braids, we pride ourselves on offering braided wigs crafted with the utmost attention to detail and using only the finest materials. Each wig is meticulously handcrafted by skilled artisans to ensure durability, comfort, and a natural appearance. Our wigs are designed to withstand daily wear and tear while maintaining their shape and beauty.

## Versatile Styles

From classic cornrows to trendy box braids, our collection features a diverse range of styles to suit every taste and occasion. Whether you prefer a sleek and polished look for the office or want to turn heads at a special event, Express Wig Braids has the perfect style for you. Plus, our wigs come in various lengths, colors, and thicknesses, allowing you to customize your look effortlessly.

## Convenience and Confidence

With Express Wig Braids, achieving your dream hairstyle has never been easier. Simply slip on one of our braided wigs, and you're ready to slay all day with minimal effort. Say goodbye to endless hours spent in the salon chair and hello to effortless beauty and confidence. So why wait? Elevate your style game today with a stunning braided wig from Express Wig Braids!

## Conclusion

Transform your look and embrace your unique style with a braided wig from Express Wig Braids. With unparalleled quality, versatile styles, and unbeatable convenience, our wigs are sure to become your new go-to accessory for every occasion. Visit our website today to explore our collection and unleash your inner beauty with [Express Wig Braids](https://expresswigbraids.com)
Magic Win official | Upto 50% Bonus | Magic Win Download..
Published: 2024-04-13 08:54:13

Experience India's premier cricket exchanges all in one convenient app - Magic Win. Enjoy exclusive features like Diamond, Lotus, and more. Plus, receive a generous 50% welcome bonus along with a 4% refill bonus. Dive into a world of sportsbooks and live casinos, all seamlessly integrated into a single platform. Download Magic Win now and elevate your cricket betting experience.
Buy Tadarise 20 - Tadalafil 20 Mg in USA
Published: 2024-04-13 08:51:00

**[Tadarise 20 mg](https://usmedilife.com/product/tadarise-20-mg)** is formulated specifically for the treatment of erectile dysfunction. This medication contains a significant amount of Tadalafil, which aids in enhancing blood circulation in the penis.

The improved blood flow enables men to achieve and maintain an erection for sexual activity. Sunrise Remedies Private Limited specializes in producing various potencies of Tadarise.
**[Tadaflo 5 Mg](https://usmedilife.com/product/tadaflo-5-mg)** | **[Tadaflo 20 Mg](https://usmedilife.com/product/tadaflo-20-mg)**
Plastic Bags: A Convenience with Considerations
Published: 2024-04-13 08:45:34


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3v9zm0mzij6xgugtzu1g.png)
**The Convenience Factor of Plastic bags**
Let's be honest, [plastic bags](https://www.consortplastics.co.za/plastic-bags) are fantastic for quick trips to the store. They're lightweight, require minimal resources to produce, and keep things contained. They also come in handy for scooping up pet waste, organizing drawers, or even packing a wet swimsuit.
The Greener Side: Reusable Bags
Thankfully, there's a shift towards **[reusable bags](https://www.consortplastics.co.za/plastic-bags)**. These come in a variety of materials, from canvas totes to sturdier insulated bags for groceries. While they require a bit more planning.
While plastic bags offer best convenience choice for groceries. Here are some reasons why plastic bags might seem advantageous, with a considering more sustainable options:

<u>Advantages:</u>
**Low Cost**: **Plastic bags** are very cheap to produce, making them an attractive option for businesses.
**Lightweight and Compact**: **Plastic bags** are easy to store and transport, taking up minimal space.
**Water-resistant**: **Plastic bags** can protect groceries from moisture, rain, or spills.
**Relatively Durable**: Plastic bags can hold a decent amount of weight without tearing.
**Multipurpose**: Plastic bags can be reused for tasks like lining trash cans or scooping pet waste.

<u>**Possible Advantages (with recycling considerations)**</u>:
Potentially Recyclable: Some **[plastic bags](https://www.consortplastics.co.za/plastic-bags)** can be recycled in special programs, although recycling rates are low.
**Reduced Landfill Space (compared to paper)**: Plastic bags take up less space in landfills than paper bags.

**Reusable bags are the most space-saving option**
**Energy Efficient Production (compared to paper)**: **[Plastic bags](https://www.consortplastics.co.za/plastic-bags)** can require less energy to produce than paper bags.

Overall, **[plastic bags](https://www.consortplastics.co.za/plastic-bags)** offer best convenience choice. They are typically stronger, last longer, and can be used for a wider variety of purposes.
pip Trends newsletter - 13-Apr-2024
Tags: beginners, programming, python, news
Published: 2024-04-13 08:33:46

This week's pip Trends newsletter is out. Interesting stuff by Amir Lavasani, Nuno Bispo, Trey Hunner, Martin Breuss, Aleksa Majkić, Serdar Gundogdu & Geir Arne Hjelle are covered this week

{% embed https://newsletter.piptrends.com/p/design-patterns-in-python-template %}
Linux is almost hacked, AWS forks Redis, DevOps in 2024, CloudFormation accelerates
Tags: devops, cloud
Published: 2024-04-13 08:29:54

---
title: Linux is almost hacked, AWS forks Redis, DevOps in 2024, CloudFormation accelerates
published: true
description: DevOps news roundup, episode 2
tags: devops, cloud
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2024-04-13 08:28 +0000
---

Here's a new episode of mknews, with most important news from AI, DevOps, Cloud, AWS and Security!

{% embed https://www.youtube.com/watch?v=4e186NRanbA %}
Mobile App Automation for an International FinTech Giant’s Account Automation Platform
Published: 2024-04-13 08:06:52


This case study is about mobile app testing. We will explore how we met the automation testing needs of an International FinTech Giant.
The Need –
Our client created a fantastic mobile app for their customers to effortlessly handle their accounts, pay bills, transfer money, and more through their network. While their in-house testing team successfully conducted manual tests on the app, they encountered numerous difficulties when attempting to automate the testing process. 

Hence, they are seeking a reliable Mobile App Testing Company that can cater to all their automation requirements and collaborate effectively with their internal team.

Overcoming the Automation Challenges –
The app had many features and functions that involved money. So, we made over 500 test cases to test it well. We ran tests on Android and iOS at the same time to find bugs early and save time. We ran all the automated tests on the client’s remote machines. We fully integrated JIRA to make issues for failed tests and to update test status with proof of test.



An Extensive POC –

Because their internal team encountered many automation challenges, the client was initially hesitant. They asked for a detailed POC exceeding 5 test cases for Android & iOS. To build trust, we showcased a comprehensive project overview, including key features like JIRA integration to update test results with solid proof of execution.

Reduced Testing Time & Enhanced 

Bug Management – Improving Efficiency in Testing Process

Reduced testing time by implementing parallel test execution on Android and iOS platforms.
Automated updates in JIRA for test case execution status and proof of execution.
Automated issue creation in JIRA for bug fixing.
Ensured no impact on execution of other test cases in case of failure.
Diverse Recharge & Payment Options
Variety of payment options available.
Test Execution on an In-House Machine –

To meet the client’s request, we scripted and conducted our automation tests on their internal systems. To address the multitude of challenges associated with automating tests on a remote machine, we crafted the scripts on a local machine using a VPN, and subsequently transferred them to the in-house machines.

Sign-Off Document –

They set up tests on their machines. Then, they just needed a sign-off to run automation. So, we created a sign-off document at the project’s end.

 It included key automation information- 

This covered the framework, modules, job description, tools, and languages. Also, it provided clear execution instructions.

Future Plans – The client loved our work and hired us for more projects. We are currently running automated tests on their web application for administrators.


**Reach out to us today! Your satisfaction is our priority.
Email – sales@stelotechnology.com
Visit Us – https://stelotechnology.com/**
سرویس اشتراک ویدیو حرفه ای و رایگان
Published: 2024-04-13 07:56:44


های بلاگ  یک **[سرویس اشتراک‌ ویدیو](https://hiblog.tv/)** است که هم گزینه‌های رایگان و هم حرفه‌ای را ارائه می‌دهد. این پلتفرم برای وبلاگ‌نویسان و تولیدکنندگان محتوا که به دنبال راهی برای به اشتراک‌گذاری ویدیوهای خود با مخاطبانشان هستند، گزینه‌ای عالی است.
Creating functions in JavaScript - Part 4
Tags: webdev, javascript, beginners, programming
Published: 2024-04-13 07:45:41

Write a function called createWrapper that takes a prefix and a suffix, and returns a new function that adds the prefix and suffix to a provided string. 

```javascript
function createWrapper (prefix, suffix) {
  return function (text) {
    return prefix + text + suffix;
  } 
}

let bracketWrapper = createWrapper(" [", "]");
console.log(bracketWrapper("Close me with brackets!"));

let bracesWrapper = createWrapper("{", "} ");
console.log(bracesWrapper("Curl me in!"));
```

```javascript
> " [Close me with brackets!]"
> "{Curl me in!} "
```