teleren/devto huggingface dataset:
Authentic Indonesian Cuisine: Exploring Delicious Recipes from the Archipelago
Tags: culture, recipe, indonesian
Published: 2024-04-14 05:40:34

Indonesia, a land of diverse cultures and flavors, boasts a rich culinary heritage that reflects its vibrant history and geographical diversity. From the fiery spices of Padang cuisine to the fragrant herbs of Javanese dishes, Indonesian food offers a delightful journey for the palate. In this article, we'll delve into the heart of Indonesian cooking and explore some authentic recipes that capture the essence of this culinary treasure.

1. [Nasi Goreng](https://www.foodku.biz.id/) (Indonesian Fried Rice):
Nasi Goreng, or Indonesian fried rice, is a staple dish enjoyed across the archipelago. Made with leftover rice stir-fried with garlic, shallots, sweet soy sauce, and a variety of ingredients such as shrimp, chicken, or vegetables, Nasi Goreng is a flavorful and satisfying meal. It's often served with a fried egg on top and accompanied by pickles or krupuk (shrimp crackers) for added texture.

2. Rendang (Sumatran Beef Stew):
Hailing from the Minangkabau region of West Sumatra, Rendang is a slow-cooked beef stew simmered in coconut milk and a medley of spices until tender and infused with rich flavors. The key to a perfect Rendang lies in the slow cooking process, allowing the meat to absorb the aromatic spices, resulting in a melt-in-your-mouth texture and a depth of flavor that is simply irresistible.

3. Sate Ayam (Chicken Satay):
Sate Ayam, or chicken satay, is a popular street food in Indonesia loved for its smoky, grilled flavor and savory peanut sauce. Marinated in a blend of spices such as turmeric, lemongrass, and garlic, the skewered chicken is grilled to perfection and served with a side of peanut sauce, sliced cucumbers, and rice cakes (lontong). The combination of tender chicken and creamy peanut sauce makes Sate Ayam a crowd-pleaser at any gathering.

4. Gado-Gado (Indonesian Salad with Peanut Dressing):
For a refreshing and healthy option, Gado-Gado is a must-try Indonesian salad that features an assortment of blanched vegetables such as cabbage, spinach, bean sprouts, and boiled eggs, drizzled with a luscious peanut dressing. The creamy peanut sauce, made with ground peanuts, palm sugar, tamarind, and lime juice, adds a burst of flavor to the crisp vegetables, creating a harmonious blend of textures and tastes.

Conclusion:
Indonesian cuisine offers a tantalizing array of flavors, from the bold and spicy to the fragrant and aromatic. Whether you're savoring the iconic Nasi Goreng, indulging in the rich flavors of Rendang, enjoying the smoky goodness of Sate Ayam, or relishing the freshness of Gado-Gado, each dish reflects the diverse cultural heritage and culinary expertise of Indonesia. So, why not embark on a culinary adventure and experience the magic of Indonesian cuisine in your own kitchen?

Source: https://www.foodku.biz.id/
Experiment with Linux USBs
Tags: linux, learning, tutorial
Published: 2024-04-14 05:32:36

Hello Readers, recently I thought about installing Linux on a portable USB flash drive.

To carry out this experiment I chose 2 different devices: 
1. External SSD with USB 3.0 interface
2. Sandisk Flash drive with USB 3.2 gen 1 Interface.


when I performed my experiment with SSD it worked great, but a bit sluggish when it came to running the browser.

So I thought to try this experiment with faster USB storage.
I thought USB 3.0 Speed was becoming a bottleneck for this OS.

So I bought a new flash drive with a fast usb3.2 gen 1 interface.

But, there was a catch. after this experiment, I realized that
Every USB Flash storage has limited read/write cycles.
which was not optimal to run a Full OS from a USB drive.


So, what's the solution? 
well External SSDs, have more read/write cycles per second as compared to the USB flash Drives. so I'll try this same experiment with a faster and better SSD. and update this blog.


Q/A time!!
which Linux system I tried?
Rocky Linux 9.3

See yaa ✌️✌️✌️!
Zonatoto Slot Online Terbaik Dan Terpercaya 2024
Tags: zonatotologin, judionline, situsjudionline, slotterpercaya
Published: 2024-04-14 05:21:27

ZONATOTO : Situs Slot Gampang Menang Hari Ini
link daftar : https://hypertogel.com/


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1a71043frxa4bx9lypv9.jpg)
Apakah kamu suka dengan permainan slot online? Jika demikian maka kamu sudah menuju situs slot gacor yang tepat! Di ZONATOTO, kami merupakan salah satu pengembang situs slot yang memiliki afiliasi dengan semua provider tergacor, dan juga kami merupakan salah satu pemegang lisensi dari pengembang game terbaik di Indonesia. Hanya dengan klik tab pada menu slot kami, Kamu akan menemukan lebih dari 30 provider games slot gacor favorit seperti Pragmatic Play, PG SOFT, HABANERO, IDN PLAY, dan masih banyak yang lainnya.

ZONATOTO merupakan agen slot resmi yang memiliki visi dan misi selalu memberikan layanan permainan yang terbaik. Jadi para pengguna kami merupakan prioritas utama. Di sini pemain akan mendapatkan pilihan game yang beragam yang sangat menarik untuk diakses. ZONATOTO telah menyediakan beragam layanan yang maksimal dan juga permainan slot gacor dengan server luar negeri terbaik secara online. Dengan melakukan deposit yang sangat murah yaitu 10.000 tentu membuat anda bisa terhubung dengan segala jenis permainan yang menyenangkan. Sehingga dengan menggunakan modal kecil semua kalangan bisa mengakses berbagai permainannya. Buat Anda yang tidak ingin melewatkan kesempatan terbaik ini segera daftarkan secara gratis hanya di situs slot online ZONATOTO. Mainkan segala permainan menariknya sekarang juga dengan mudah.

keywords terkait :

zonatotologin
judionline
situsjudionline
slotgacor
slotgampang
slotterpercaya
slottergacor
slotpalinggacor
Zonatoto Slot Online Terbaik Dan Terpercaya 2024
Tags: zonatotologin, slotgacor, slotterpercaya, slottergacor
Published: 2024-04-14 05:19:24

ZONATOTO : Situs Slot Gampang Menang Hari Ini
link daftar : https://hypertogel.com/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p7vjie85onoevx07u0mv.jpg)
Apakah kamu suka dengan permainan slot online? Jika demikian maka kamu sudah menuju situs slot gacor yang tepat! Di ZONATOTO, kami merupakan salah satu pengembang situs slot yang memiliki afiliasi dengan semua provider tergacor, dan juga kami merupakan salah satu pemegang lisensi dari pengembang game terbaik di Indonesia. Hanya dengan klik tab pada menu slot kami, Kamu akan menemukan lebih dari 30 provider games slot gacor favorit seperti Pragmatic Play, PG SOFT, HABANERO, IDN PLAY, dan masih banyak yang lainnya.

[ZONATOTO](https://hypertogel.com/) merupakan agen slot resmi yang memiliki visi dan misi selalu memberikan layanan permainan yang terbaik. Jadi para pengguna kami merupakan prioritas utama. Di sini pemain akan mendapatkan pilihan game yang beragam yang sangat menarik untuk diakses. ZONATOTO telah menyediakan beragam layanan yang maksimal dan juga permainan slot gacor dengan server luar negeri terbaik secara online. Dengan melakukan deposit yang sangat murah yaitu 10.000 tentu membuat anda bisa terhubung dengan segala jenis permainan yang menyenangkan. Sehingga dengan menggunakan modal kecil semua kalangan bisa mengakses berbagai permainannya. Buat Anda yang tidak ingin melewatkan kesempatan terbaik ini segera daftarkan secara gratis hanya di situs slot online ZONATOTO. Mainkan segala permainan menariknya sekarang juga dengan mudah.

keywords terkait : 

zonatotologin
judionline
situsjudionline
slotgacor
slotgampang
slotterpercaya
slottergacor
slotpalinggacor
Remember to use break in switch
Tags: java, switchcase, bugfix, switch
Published: 2024-04-14 04:59:54

Recently, I introduced a bug because I forget to add `break` after `case` in `switch`. So, I wrote this blog to remind myself and hope that it can help the others not to make same mistake again.

## Misunderstanding about `switch`

First, we look at following:

```java
public static void main(String[] args) throws Exception {
  String input = "B";
  switch(input)
  {
    case "A":
      System.out.println("This is A!");
    case "B":
      System.out.println("This is B!");
    case "C":
      System.out.println("This is C!");
    case "D":
      System.out.println("This is D!");
  }
}
```
At first, I thought the execution order as below:
1. Since input is `"B"`, it falls into condition `case "B"` and then print `"This is B!"`.
2. Since `"B"` does not match `"C"` and `"D"`, nothing should be printed out afterward.

![image](https://cdn.hashnode.com/res/hashnode/image/upload/v1713056662499/237ae10b-1916-4d8b-94cb-d0e572639a07.png)

## Test result not matched

However, the test result does not match my expectation:
```console
This is B!
This is C!
This is D!
```

According to [geeks for geeks explanation for fall through condition in switch](https://www.geeksforgeeks.org/fall-through-condition-in-java/),

> Fall through condition: This condition occurs in the switch control statement when there is <u>**no break keyword mention for the particular case**</u> in the switch statement and cause execution of the cases <u>**till no break statement occurs or exit from the switch statement**</u>.

i.e. When a `case` is matched, it continues to execute below `case` statements until:

- There is a `break` OR
- Exit from the switch statement

Actual execution:
![image](https://cdn.hashnode.com/res/hashnode/image/upload/v1713057621080/cc8af85a-7096-4721-b451-c6beb16afd78.png)

## Correction

Add `break` for each `case`, and the problem is resolved.

![image](https://cdn.hashnode.com/res/hashnode/image/upload/v1713057820554/b07052bb-7bb4-48d1-aacc-ef9e114cbaa8.png)

Output:

```console
This is B!
```
Cognita : A Truly Unified RAG Framework : Part 1
Tags: machinelearning, ai, llm, systemdesign
Published: 2024-04-14 03:46:35

Seamlessly Parse, Precisely Retrieve, Intelligently Generate & Effortlessly Deploy, let’s go…


[Full Article](https://medium.com/@learn-simplified/cognita-a-truly-unified-rag-framework-part-1-08eb410eec51)


Credit : https://github.com/truefoundry/cognita

Why care, when there’s so many out there?
🤔 RAG (Retrieval Augmented Generation) systems are powerful, but building and deploying them can be tricky.
🚀 Cognita aims to be a user-friendly and modular solution that addresses common RAG challenges.

In Search of a True Production-Grade Complete RAG framework

Issues with current frameworks:
⚙️ Chunking & embedding jobs often need separate setup, but not built-in in current frameworks known to Author as of now.
💻 Deploying query services for production can be complex
🤖 Handling model deployment (language models, embedding models) lacks built-in support.
🗄 Vector databases can be tricky to deploy for scalability.
🧩 No single, ready-to-use template for easy adoption

⚠️ Disclaimer: These issues may have been addressed by other frameworks, not known to Author as of this writing.

How Cognita Solves These Issues
🎯 Cognita balances customization with ease of use.
🧠 Scalable design to integrate breakthroughs as they happen.

Cognita — A Library for building modular, open source RAG applications for production
🧱 Modular Design: Break down RAG into steps for easier management and updates.
♻️ Reusable components: Parsers, loaders, etc., to save time across projects.
🚀 Streamlined Deployment: Cognita handles the nitty-gritty of production systems.
⚖️ Scalability: Components scale independently to handle increased traffic.
✨ User-friendly Interface: Even non-technical users can play with RAG setups.
🔌 API-Driven: Cognita works well with other systems.

Cognita Components

Indexing Job
1. Data Loaders 🚚
What: Fetch data from various places (folders, databases, etc.).
Why: RAG needs data to work with!
2. Parsers 🗂️
What: Turn different file types into a common format.
Why: Makes it easier for the RAG system to process everything.
3. Embedders 🔎
What: Create code-like representations of text for fast comparison
Why: Helps find the most relevant info for your question.

Metadata Store 🧠
What: The 'brain' of the system, storing configuration details
Why: Keeps your RAG organized and easy to manage.

LLM Gateway 💬
What: A 'translator' for different language models.
Why: Lets you switch between models without re-coding everything.

Vector DB 🗄️
What: Stores embeddings for super-fast data searches.
Why: Efficient searches are key for large datasets.

API Server ⚙️
What: The coordinator that handles user questions and generates answers.
Why: It connects all the pieces of the RAG system together.

Excited for Part 2: Coding with Cognita! 💻🚀
How to Make Money from Unused Internet
Tags: income, cryptocurrency, news, discuss
Published: 2024-04-14 03:38:33

Earn A Stake In The AI Revolution. Get paid for your unused internet.

## What is Grass and How Does it Work?
Grass is the underlying infrastructure that powers AI models. By installing the Grass web extension, the application will automatically sell your unused internet to AI companies, who use it to scrape the internet and train their models. The result? You share in the growth of AI, earning a stake in the network for selling a resource you didn’t even know you had.

[Grass.io](https://www.getgrass.io/)


### Requires a referral link to Sign Up
> https://app.getgrass.io/register/?referralCode=7K9nZpazTAns5Yd

> Referral Code: 7K9nZpazTAns5Yd

### Boost Your Rewards with Our Referral Program
Invite friends to join Grass & grow your Earnings.

### Start earning in 3 steps
**1. Download**
[Download the Grass Web Extension
](https://chromewebstore.google.com/detail/grass-extension/ilehaonighjijnmpnagapkhpcdbhclfg?hl=en&authuser=0)

**2. Create Account**
Log into your Grass Account on the [Extension](https://chromewebstore.google.com/detail/grass-extension/ilehaonighjijnmpnagapkhpcdbhclfg?hl=en&authuser=0)

**3. Earn**
Keep Grass Running on the Background to Earn

### What does Grass do? Is it safe?
Grass lets you earn passive income by selling your unused bandwidth without compromising your privacy. It allows verified companies to use your idle bandwidth without accessing your personal information.

### What rewards can I expect?
As an early adopter, you'll benefit from selling unused bandwidth and gaining a stake in an innovative network poised to index the web. It's not just income; it's an investment in the future of the internet.

### How will I receive my rewards?
Your rewards from Grass will be credited to your account. The Grass team is currently considering diverse payment options including cryptocurrencies, gift cards, and PayPal.


## Requires a referral link to Sign Up
> https://app.getgrass.io/register/?referralCode=7K9nZpazTAns5Yd

> Referral Code: 7K9nZpazTAns5Yd
Simplifying Solidity with Assembly: A Beginner's Guide -(Part 1)
Tags: smartcontracts, solidity, ethereum, blockchain
Published: 2024-04-14 03:02:07


Solidity is a popular language for developing smart contracts on the Ethereum blockchain due to its straightforward syntax and ease of use. However, combining Solidity with low-level assembly can be daunting for newcomers. In this guide, we'll break down the essentials and guide you through working with assembly to maximize your contract's performance.

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

when you see the bytecode of the above code it would look something like below :


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


Global variables in Solidity are stored as part of the contract's bytecode. This bytecode serves as a blueprint for the Ethereum Virtual Machine (EVM) when executing your smart contract. When you send a transaction to your smart contract, the EVM accesses the bytecode to determine the value of the global variables and how to interact with them. In Solidity, managing global variables is straightforward due to the language's built-in getter and setter functions, simplifying the process of retrieving and updating data and making smart contract development more accessible.

However, let's dive deeper and explore how to achieve the same functionality using low-level **_Assembly_** code within Solidity. By working directly with the EVM in Assembly, you can access storage slots and manipulate data at a granular level, gaining more control over your smart contracts and optimizing their performance.

> sload : intakes any slot value, returns value stored at slot given
.slot : gives the slot of global variable.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r1f90of9ft7uvfozky1r.png)
warning : **_state mutability can be restricted to pure_**
The warning recommends changing the function to pure, as it is currently accessing the storage slot of val1 but not the value. By using sload to return the value stored at the val1.slot, the function correctly accesses the storage location and returns the intended data, resolving the warning.

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

Thank you for reading! For more insightful explanations and to follow my journey as a security researcher in the Web3 space, connect with me on Twitter. Stay tuned for Part 2, where we'll dive deeper into advanced concepts. Your engagement and interest are greatly appreciated.
How to define your own custom sub-command to gcloud command
Tags: gcloud, googlecloud, bashrc, dotfiles
Published: 2024-04-14 02:56:13

## Introduction

I want to run `gcloud compute instances list` command like this:

```
gcloud list
```

I couldn't find how to extend `gcloud` command offisialiy, so I extend `gcloud` command by to define alias to .bashrc file.

## Define wrapper and alias

Define below in your .bashrc file

```
gcloud-wrapper () {
    if [ "$1" = "switch" ]; then
        gcloud config set project "$2"
    elif [ "$1" = "list" ]; then
        if [ "$2" = "instances" ]; then
            gcloud compute instances list
        elif [ "$2" = "ip" ]; then
            gcloud compute instances list --format="table(NAME,EXTERNAL_IP)" --filter="EXTERNAL_IP:*"
        fi
    elif [ "$1" = "start" -o "$1" = "up" ]; then
        gcloud compute instances start $2
    elif [ "$1" = "stop" ]; then
        gcloud comupte instances stop $2
    else
        gcloud "$@"
    fi
}

alias gcloud="gcloud-wrapper"
```

You can extend more to add `elif [ "$1" = "list" ]; then` line.

If sub command not defined, wrapper run original `gcloud` command, and you also can use original `gcloud` command.

## How to use in dotfiles

Here is my dotfiles.

You can use solution in your dotfiles.

https://github.com/tarohida/dotfiles/blob/develop/bashrc.d/96-gcloud.sh

## My Original Article (in Japanese)

https://qiita.com/taro-hida/items/97c765cf8bfaf967830a

Thank you for your reading.
How to Adjust Shopify Store Product Image Resolution
Published: 2024-04-14 02:55:10

**How to Adjust Shopify Store Product Image Resolution**

When you find that the product image resolution in your Shopify store's initial setup is not suitable, you can quickly adjust it to the ideal 1600 x 1600 resolution without any technical knowledge. We will use the [LitaCat - Image Precision AI](https://apps.shopify.com/image-precision-ai) app to accomplish this.

### Installation

1. First, install [LitaCat - Image Precision AI](https://apps.shopify.com/image-precision-ai), and you'll receive a $1 credit.

### Finding Images with Resolution Less Than 1600

You have two methods to find images that need resolution adjustment:

1. Click on the corresponding entry on the app's homepage to enter the search page.

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


2. Use the "Optimization Filter" on the "Product Image Repair" page to search for images that meet the criteria.
   ![Search Images](https://vip.helloimg.com/i/2024/04/01/660a7ac23e03f.png)

### Selecting Images and Starting the Task

1. Choose the images that need resolution adjustment and then click the "Confirm" button.
   ![Confirm Images](https://vip.helloimg.com/i/2024/04/01/660a7abe465f1.png)

2. In the secondary confirmation box, you can use the default parameters, but be sure to click "Download Selected Images" to download backups in case the old images are deleted by Shopify after replacement.

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



3. After confirming, click the "Submit" button. Then, in the pop-up window, select "View."

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



4. Wait for the task to be completed.
   ![image](https://github.com/huangcong12/image_precision_ai_document/assets/2867782/07da1c13-a2f6-4978-acbe-937ec9ea78bf)

### Checking the Results

You have several ways to check the results:

1. Directly click on the image on the task details page to confirm that the resolution has been changed to 1600.
   ![image](https://github.com/huangcong12/image_precision_ai_document/assets/2867782/cb88124f-76e2-4ac1-ba4d-0d5110a1ca82)

2. Go back to the "Product Image Repair" page and check the resolution of the images.

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


3. Visit the product details page in your store to view the images.
   ![image](https://github.com/huangcong12/image_precision_ai_document/assets/2867782/2b810574-f700-44be-9525-f5e690713826)

### Conclusion

With this app, you can quickly and easily adjust the image resolution to the ideal 1600 x 1600. If you need to perform batch operations, you can select multiple images, and the background tasks will handle them one by one, saving you time and effort, making it a valuable tool for merchants.
Generate my Pet
Tags: cloudflarechallenge, devchallenge, ai
Published: 2024-04-14 01:57:19

*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

This is a fun pet generation app. You generate a seed which contains the essence of your pet. Then you feed it words. Whatever you say to it will affect how it grows. You can tell it to become a princess or a warrior. Try out different words to get different outcomes!

## Demo

https://generate-my-pet.pages.dev/

## My Code

https://github.com/Habib-Ahmad/generate-my-pet

## Journey

I actually learned about this hackathon fairly late. After reading through the requirements I realized that, in essence, it was a creativity competition which is an area I've never really been confident in. So even with limited time left I decided to challenge myself and make a submission.

I used NextJS for this project which means I had to learn how to use the NextJS api which I had been procrastinating for a long time. Creating the apis was a real challenge especially with models that expected data binaries. I had to learn about buffers and streams (which are still a bit confusing) but I'm happy with what I've been able to submit.

Moving forward I'd like to significantly improve the UI as well as make it responsive. I'd also like to include the model for sentiment analysis to be able to get more details from the words form the user.

The models I used are:

1. uform-gen2-qwen-500m
2. stable-diffusion-xl-lightning
3. whisper


**Multiple Models and/or Triple Task Types**

1. uform-gen2-qwen-500m
2. stable-diffusion-xl-lightning
3. whisper
Code And Clips 🎬
Tags: webdev, programming, beginners
Published: 2024-04-14 01:49:43

this is a repository for simple code and short clips, support me on youtube and tiktok to get the latest clip updates.

Source Code:
- [GITHUB](https://github.com/AnwarAchilles/code-and-clips)

Short video:
- [TIKTOK](https://www.tiktok.com/@anwar_achilles)
- [YOUTUBE](https://www.youtube.com/channel/UCpz7aWbNJ9roQmK6HgDwBjw)

## Support me on:
- [KO-FI](https://ko-fi.com/anwarachilles)
- [TRAKTEER](https://trakteer.id/anwarachilles/link)