teleren/devto huggingface dataset:
🎬 From image to text data... to image...to movie clip.
Tags: showdev, datascience, ai
Published: 2024-06-05 23:51:02

## 📰 About

I previously wrote an article that showed, how, **for totally free of charge, and with 100% open source software,** it is possible to analyze photos and produce textual analysis:

{% embed https://dev.to/adriens/disaster-reporting-wopen-source-llavaai-for-photo-analysis-4k4c %}

👉 Today, I'll show, what can be achieved on top of these textual analysis.

## 📜 What we'll do

This time, we will enrich the previous pipeline with the following workflow:

1. **🎨 `text2img`**: inject text analysis into an image with https://ideogram.ai
2. **🎬 `img2video`** : Put resulting image into  [Gen-2 by Runway](https://research.runwayml.com/gen2) to get a movie clip with
3. 🎙️ Prepare a small **storytelling**
4. 🎶 Select a **soundtrack**
5. 🎛️ Put all the stuff into a single **short movie clip**

Enough talk, here is the resulting movie clip.

## 🎞️ Demo

{% youtube vb66lFI1U2Q %}
How to unlock the limitations of Notion
Published: 2024-06-05 23:31:02

# Notion rich_text limitations - node client

Notion has undoubtedly gained popularity as a versatile productivity and organization platform. Its ability to create documents, databases, boards, and more, all in one place, has attracted a wide range of users, from students to business professionals. However, like any tool, Notion also has its limitations, especially when it comes to its API and handling rich_text.

### What is rich_text in Notion?

Before diving into the limitations, it's essential to understand what rich_text in Notion is exactly. In simple terms, rich_text refers to the rich text formatting that can be used within Notion. This includes styles such as bold, italic, strikethrough, numbered and bulleted lists, as well as links and mentions to other pages.

### What are the principal limitation

One of the primary limitations of the Notion API is its restriction on the maximum number of characters that can be processed in a single request. Presently, the Notion API accepts a maximum of 2000 characters per request. This constraint poses a significant challenge for developers working with large bodies of text or intricate data structures within the Notion platform.

| Property value type | Inner property | Size limit |
| --- | --- | --- |
| https://developers.notion.com/reference/rich-text | text.content | 2000 characters |
| https://developers.notion.com/reference/rich-text | text.link.url | 2000 characters |
| https://developers.notion.com/reference/rich-text | equation.expression | 1000 characters |

### Solution for mitigate the notion API limits

The most effective solution for mitigating the limitations imposed by the Notion API's character restriction is to segment the content into smaller chunks of 2000 characters or less. By breaking down the text content into manageable chunks.

**Example:**

- This is the typical way a page would be added:

```jsx
const page = await notion.pages.create({

parent: { database_id: databaseId },
      properties: {
        nameOfColumn: {
          rich_text: [
            {
              type: 'text',
              text: {
                content: 'This is a long text...'
              }
            }
          ]
       },
    }
});
```

- This is the way that we need to insert the page with the long text inside

```jsx
function splitTextIntoChunks(text: string, chunkSize: number) {
  const chunks = [];
  for (let i = 0; i < text.length; i += chunkSize) {
    chunks.push(text.slice(i, i + chunkSize));
  }
  return chunks;
}

const chunks = splitTextIntoChunks('This is a long text...', 2000);

const page = await notion.pages.create({

parent: { database_id: databaseId },
      properties: {
        nameOfColumn: {
         rich_text: chunks.map(chunk => ({
            type: 'text',
            text: {
              content: chunk
            }
          }))
       },
    }
});
```

Implementing this approach ensures efficient data transmission within the constraints of the Notion API, facilitating seamless integration and manipulation of content.
The BigInteger and BigDecimal Classes
Tags: java, programming, learning, beginners
Published: 2024-06-05 22:46:26

The **BigInteger** and **BigDecimal** classes can be used to represent integers or decimal numbers of any size and precision. If you need to compute with very large integers or high-precision floating-point values, you can use the **BigInteger** and **BigDecimal** classes in the **java.math** package. Both are _immutable_. The largest integer of the long type is Long.MAX_VALUE (i.e., **9223372036854775807**). An instance of **BigInteger** can represent an integer of any size. You can use **new BigInteger(String)** and **new BigDecimal(String)** to create an instance of **BigInteger** and **BigDecimal**, use the **add**, **subtract**, **multiply**, **divide**, and **remainder** methods to perform arithmetic operations, and use the **compareTo** method to compare two big numbers. For example, the following code creates two **BigInteger** objects and multiplies them.

`BigInteger a = new BigInteger("9223372036854775807");
BigInteger b = new BigInteger("2");
BigInteger c = a.multiply(b); // 9223372036854775807 * 2
System.out.println(c);`

The output is **18446744073709551614**.

There is no limit to the precision of a **BigDecimal** object. The **divide** method may throw an **ArithmeticException** if the result cannot be terminated. However, you can use the overloaded **divide(BigDecimal d, int scale, int roundingMode)** method to specify a scale and a rounding mode to avoid this exception, where **scale** is the maximum number of digits after the decimal point. For example, the following code creates two **BigDecimal** objects and performs division with scale **20** and rounding mode **BigDecimal.ROUND_UP**.

`BigDecimal a = new BigDecimal(1.0);
BigDecimal b = new BigDecimal(3);
BigDecimal c = a.divide(b, 20, BigDecimal.ROUND_UP);
System.out.println(c);`

The output is **0.33333333333333333334**.

Note that the factorial of an integer can be very large. The program below gives a method that can return the factorial of any integer.

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

**BigInteger.ONE** (line 10) is a constant defined in the **BigInteger** class. **BigInteger.ONE** is the same as **new BigInteger("1")**.

A new result is obtained by invoking the **multiply** method (line 12).
CRYPTO CURRENCY REVERSAL; WEB BAILIFF CONTRACTOR
Published: 2024-06-05 22:39:20

The world of online finance, with its promises of quick riches and easy gains, can be a complex landscape.  For me, that landscape turned into a nightmare when I fell prey to a ruthless scam on an exchange platform.  The dizzying sum of $566,797.00,  my life's savings,  vanished into thin air,  leaving me stranded on a desolate island of financial ruin.  Desperation gnawed at me,  a constant reminder of my folly and the callous disregard of the scammers who had taken everything from me. I desperately searched for a lifeline,  a solution to my predicament.  My online searches led me to a plethora of so-called "hackers,"  each promising a quick fix, a magical solution to my woes.  But each encounter, each attempt to reclaim my stolen funds,  ended in further disappointment and loss.  It was a vicious cycle of betrayal,  a relentless barrage of empty promises that only deepened my despair. Then,  amidst the swirling vortex of online scams and charlatans,  I stumbled upon a name that resonated with a promise of hope and redemption – Web Bailiff Contractor.  Their reputation as the "best hacker on the web" was whispered in hushed tones throughout the shadowy underbelly of the digital world.  I was skeptical, and cautious,  but driven by a desperate need to reclaim what was rightfully mine. My initial contact with Web Bailiff Contractor was a revelation.  Their professionalism and expertise were instantly evident.  They understood the nuances of my situation, the intricate web of deceit that had ensnared me.  They didn't offer empty promises;  instead, they provided a clear roadmap,  explaining the challenges and the potential pitfalls of recovering my lost funds. The wait,  though agonizing,  was far less excruciating than the endless cycle of scams I had endured.  After just two days,  Web Bailiff Contractor delivered the news that I had longed for,  the news that brought a glimmer of hope back to my life.  They had recovered a substantial portion of my stolen funds,  a testament to their prowess in the digital realm, and their mastery of ethical hacking techniques. My experience with Web Bailiff Contractor was a turning point, a testament to the power of integrity and expertise in a digital world that can be challenging and fraught with deceit.  They are more than just hackers;  they are champions of justice,  digital knights fighting against the forces of darkness that lurk in the shadows of the internet. I urge anyone who has fallen victim to online scams,  anyone who has felt the sting of betrayal in the digital world,  to reach out to Web Bailiff Contractor.  They are a lifeline,  a beacon of hope,  a testament to the enduring power of human ingenuity and determination. The digital world can be a complex place,  but Web Bailiff Contractor stands as a bastion of hope, a force for good, and a reminder that even in the darkest of times,  there is always a fighting chance to reclaim what has been stolen.
Automatic Conversion between Primitive Types and Wrapper Class Types
Tags: java, programming, learning, beginners
Published: 2024-06-05 22:35:45

A primitive type value can be automatically converted to an object using a wrapper class, and vice versa, depending on the context. Converting a primitive value to a wrapper object is called _boxing_. The reverse conversion is called _unboxing_. Java allows primitive types and wrapper classes to be converted automatically. The compiler will automatically box a primitive value that appears in a context requiring an object, and will unbox an object that appears in a context requiring a primitive value. This is called _autoboxing_ and _autounboxing_. For instance, the following statement in (a) can be simplified as in (b) due to autoboxing.

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

Consider the following example:

`1 Integer[] intArray = {1, 2, 3};
2 System.out.println(intArray[0] + intArray[1] + intArray[2]);`

In line 1, the primitive values **1**, **2**, and **3** are automatically boxed into objects **new Integer(1)**, **new Integer(2)**, and **new Integer(3)**. In line 2, the objects **intArray[0]**, **intArray[1]**, and **intArray[2]** are automatically unboxed into **int** values that are added together.
Configuração de ambiente BackEnd
Tags: backend, beginners, programming
Published: 2024-06-05 22:32:44

> Este documento é para uso **público e interno**, tanto para pessoas que desejem trabalhar na Anuntech para já saberem um pouco sobre nosso ambiente, quanto para quem acabou de se juntar a Anuntech configurar seu novo ambiente de trabalho.

## Introdução

Nesse artigo veremos as configurações **especificas para o time de BackEnd**, antes de seguiir esse tutorial é necessário fazer as [configurações globais](https://dev.to/anuntech/configuracao-de-ambiente-de-desenvolvimento-1p6k).

## Sumário

- CLIs
  - Docker
- Linguagens
  - Golang
- Interfaces
  - Dbeaver

## Interfaces

Todas as interfaces que usamos são encintradas na "app store" do Ubuntu:

![Ubuntu App Store](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8tpau2g348d34b1y1nkk.png)

![Ubuntu App Store: Dbeaver](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x1xq3zdxksax3wdaajos.png)

O DBeaver é usado para se conectar ao banco de dados Postgres e conferir os dados.

## CLIs

Para as CLIs, basta seguir as instruções:
- [Docker](https://docs.docker.com/desktop/install/linux-install/)

## Linguagens

Para as linguagens, basta seguir as instruções:
- [Golang](https://go.dev/doc/install)
Configuração de ambiente Web
Tags: webdev, beginners, programming
Published: 2024-06-05 22:31:42

> Este documento é para uso **público e interno**, tanto para pessoas que desejem trabalhar na Anuntech para já saberem um pouco sobre nosso ambiente, quanto para quem acabou de se juntar a Anuntech configurar seu novo ambiente de trabalho.

## Introdução

Nesse artigo veremos as configurações **especificas para o time de Web**, antes de seguiir esse tutorial é necessário fazer as [configurações globais](https://dev.to/anuntech/configuracao-de-ambiente-de-desenvolvimento-1p6k).

## Sumário

- Linguagens
  - Node

## Linguagens

Para as linguagens, basta seguir as instruções:
- [NodeJs](https://lodejs.org/en/download/current/)
Knox Goes Away
Tags: javascript, webdev, tutorial, ai
Published: 2024-06-05 22:07:44

Starring Kris Kristofferson and Willie Nelson. Two aging gunfighters re-form their old gang to avenge the murder of one of the former member
Knox Goes Away

After a hit man (Michael Keaton) is diagnosed with dementia, he must race against the police to save his estranged son, and outrun the ticking clock of his own deteriorating mind.

208IMDb 6.91 h 54 min2024

X-RAYUHDR
**[
[Starring Kris Kristofferson and Willie Nelson. Two aging gunfighters re-form their old gang to avenge the murder of one of the 

Welcome to my Pinterest! Explore a world of creativity, inspiration, and unique ideas. From home decor and fashion to DIY projects and delicious recipes, find endless pins to spark your imagination and bring your passions to life. Follow me for daily inspiration and let's create something beautiful together!

Tags: #HomeDecor #FashionInspiration #DIYProjects #DeliciousRecipes #CreativeIdeas #DailyInspiration #Crafts #InteriorDesign #Style #Foodie #Handmade #Travel #Wellness #Art #Beauty

https://amzn.to/3KwnqdcInscription sur JVZoo : Créez un compte sur la plateforme JVZoo. L'inscription est gratuite et rapide.

Choisir un produit : Parcourez le marketplace JVZoo pour trouver des produits à promouvoir. Choisissez des produits qui correspondent à votre audience et qui ont de bonnes évaluations et taux de conversion.

Obtenir des liens d'affiliation : Une fois que vous avez sélectionné un produit, demandez l'approbation du vendeur pour obtenir votre lien d'affiliation unique. Ce lien suivra les ventes générées par vos recommandations.

Promouvoir les produits : Utilisez votre lien d'affiliation pour promouvoir le produit via divers canaux tels que les blogs, les réseaux sociaux, les vidéos YouTube, les emails marketing, et les publicités payantes. Assurez-vous de fournir des informations précises et attrayantes sur le produit pour inciter les achats.

Suivre et optimiser : Utilisez les outils d’analyse de JVZoo pour suivre vos performances. Analysez quelles stratégies fonctionnent le mieux et ajustez vos efforts de marketing en conséquence.

En suivant ces étapes, vous pouvez commencer à gagner des commissions sur les ventes des produits que vous promouvez sur JVZoo.

https://www.getresponse.com?a=6N9FqjpKCMStarring Kris Kristofferson and Willie Nelson. Two aging gunfighters re-form their old gang to avenge the murder of one of the former memberhttps://amzn.to/3V7aRdd【Comfortable & Breathable & Quick Dry】 Our hiking shorts men are made with highly breathable,Hiauspor Men's Hiking Cargo Shorts 9"/10" Quick Dry Lightweight Waterproof for Golf Tactical Fishing Casual with 6 Pocketshttps://www.jvzoo.com/newaffiliates/affiliatedashboardhttps://amzn.to/4aK9EhE
Babcock University,Ilishan-Remo 2024/2025 Session Admission forms
Tags: webdev, beginners, programming
Published: 2024-06-05 22:04:58

Babcock University,Ilishan-Remo 2024/2025 Session Admission forms is out☎️ 07065086538 Dr ANITA for purchase of the form and how to register on-line The general public is hereby informed that application forms for admission into the degree Programme 2024-2025 academic session. NURSING ADMISSION FORMS,INTER SCHOOL TRANSFER FORM,DIRECT ENTRY FORMS,MASTERS AND PHD FORMS,& PART-TIME FORMS are out and on sales in the school premises. Call the School Admin.DR.Mrs Anita on☎️ 07065086538 for more details on how to apply and register online. The School Authority 07065086538
requires all candidates applying for admission into any of its courses to possess Five (5) O' Level Credit Level Passes at not more than two (2) sittings to include English Language and Mathematics and three (3) other subjects relevant to course.
Knox Goes Away
Tags: javascript, beginners, tutorial, ai
Published: 2024-06-05 22:04:50

Starring Kris Kristofferson and Willie Nelson. Two aging gunfighters re-form their old gang to avenge the murder of one of the former member
Knox Goes Away

After a hit man (Michael Keaton) is diagnosed with dementia, he must race against the police to save his estranged son, and outrun the ticking clock of his own deteriorating mind.

208IMDb 6.91 h 54 https://amzn.to/4e7eSqH
Baze University,2024/2025 Session Admission forms is out
Tags: webdev, beginners, programming, tutorial
Published: 2024-06-05 21:54:07

Baze University,2024/2025 Session Admission forms is out☎️ 07065086538 Dr ANITA for purchase of the form and how to register on-line The general public is hereby informed that application forms for admission into the degree Programme 2024-2025 academic session. NURSING ADMISSION FORMS,INTER SCHOOL TRANSFER FORM,DIRECT ENTRY FORMS,MASTERS AND PHD FORMS,& PART-TIME FORMS are out and on sales in the school premises. Call the School Admin.DR.Mrs Anita on☎️ 07065086538 for more details on how to apply and register online. The School Authority 07065086538
requires all candidates applying for admission into any of its courses to possess Five (5) O' Level Credit Level Passes at not more than two (2) sittings to include English Language and Mathematics and three (3) other subjects relevant to course.
Bells University of Technology, Otta,2024/2025 Session Admission forms
Published: 2024-06-05 21:53:27

Bells University of Technology, Otta,2024/2025 Session Admission forms is out☎️ 07065086538 Dr ANITA for purchase of the form and how to register on-line The general public is hereby informed that application forms for admission into the degree Programme 2024-2025 academic session. NURSING ADMISSION FORMS,INTER SCHOOL TRANSFER FORM,DIRECT ENTRY FORMS,MASTERS AND PHD FORMS,& PART-TIME FORMS are out and on sales in the school premises. Call the School Admin.DR.Mrs Anita on☎️ 07065086538 for more details on how to apply and register online. The School Authority 07065086538
requires all candidates applying for admission into any of its courses to possess Five (5) O' Level Credit Level Passes at not more than two (2) sittings to include English Language and Mathematics and three (3) other subjects relevant to course.
Benson Idahosa University, Benin City,2024/2025 Session Admission forms
Tags: school, universirty
Published: 2024-06-05 21:45:12

Benson Idahosa University, Benin City,2024/2025 Session Admission forms is out☎️ 07065086538 Dr ANITA for purchase of the form and how to register on-line The general public is hereby informed that application forms for admission into the degree Programme 2024-2025 academic session. NURSING ADMISSION FORMS,INTER SCHOOL TRANSFER FORM,DIRECT ENTRY FORMS,MASTERS AND PHD FORMS,& PART-TIME FORMS are out and on sales in the school premises. Call the School Admin.DR.Mrs Anita on☎️ 07065086538 for more details on how to apply and register online. The School Authority 07065086538 
 requires all candidates applying for admission into any of its courses to possess Five (5) O' Level Credit Level Passes at not more than two (2) sittings to include English Language and Mathematics and three (3) other subjects relevant to course.
Bingham University,Karu,2024/2025 Session Admission forms i
Tags: webdev, javascript
Published: 2024-06-05 21:44:11

Bingham University,Karu,2024/2025 Session Admission forms is out☎️ 07065086538 Dr ANITA for purchase of the form and how to register on-line The general public is hereby informed that application forms for admission into the degree Programme 2024-2025 academic session. NURSING ADMISSION FORMS,INTER SCHOOL TRANSFER FORM,DIRECT ENTRY FORMS,MASTERS AND PHD FORMS,& PART-TIME FORMS are out and on sales in the school premises. Call the School Admin.DR.Mrs Anita on☎️ 07065086538 for more details on how to apply and register online. The School Authority 07065086538 
 requires all candidates applying for admission into any of its courses to possess Five (5) O' Level Credit Level Passes at not more than two (2) sittings to include English Language and Mathematics and three (3) other subjects relevant to course.
Bowen University, Iwo,2024/2025 Session Admission forms
Tags: sql, codepen, rust, git
Published: 2024-06-05 21:38:40

Bowen University, Iwo,2024/2025 Session Admission forms is out☎️ 07065086538 Dr ANITA for purchase of the form and how to register on-line The general public is hereby informed that application forms for admission into the degree Programme 2024-2025 academic session. NURSING ADMISSION FORMS,INTER SCHOOL TRANSFER FORM,DIRECT ENTRY FORMS,MASTERS AND PHD FORMS,& PART-TIME FORMS are out and on sales in the school premises. Call the School Admin.DR.Mrs Anita on☎️ 07065086538 for more details on how to apply and register online. The School Authority 07065086538 
 requires all candidates applying for admission into any of its courses to possess Five (5) O' Level Credit Level Passes at not more than two (2) sittings to include English Language and Mathematics and three (3) other subjects relevant to course.
Caleb University, Lagos,2024/2025 Session Admission forms
Tags: web3, flutter, gamedev
Published: 2024-06-05 21:37:57

Caleb University, Lagos,2024/2025 Session Admission forms is out☎️ 07065086538 Dr ANITA for purchase of the form and how to register on-line The general public is hereby informed that application forms for admission into the degree Programme 2024-2025 academic session. NURSING ADMISSION FORMS,INTER SCHOOL TRANSFER FORM,DIRECT ENTRY FORMS,MASTERS AND PHD FORMS,& PART-TIME FORMS are out and on sales in the school premises. Call the School Admin.DR.Mrs Anita on☎️ 07065086538 for more details on how to apply and register online. The School Authority 07065086538 
 requires all candidates applying for admission into any of its courses to possess Five (5) O' Level Credit Level Passes at not more than two (2) sittings to include English Language and Mathematics and three (3) other subjects relevant to course.
Caritas University, Enugu,2024/2025 Session Admission forms
Tags: web3, vue, flutter
Published: 2024-06-05 21:31:35

Caritas University, Enugu,2024/2025 Session Admission forms is out☎️ 07065086538 Dr ANITA for purchase of the form and how to register on-line The general public is hereby informed that application forms for admission into the degree Programme 2024-2025 academic session. NURSING ADMISSION FORMS,INTER SCHOOL TRANSFER FORM,DIRECT ENTRY FORMS,MASTERS AND PHD FORMS,& PART-TIME FORMS are out and on sales in the school premises. Call the School Admin.DR.Mrs Anita on☎️ 07065086538 for more details on how to apply and register online. The School Authority 07065086538 
 requires all candidates applying for admission into any of its courses to possess Five (5) O' Level Credit Level Passes at not more than two (2) sittings to include English Language and Mathematics and three (3) other subjects relevant to course.