teleren/devto huggingface dataset:
Online Delete support is now available in Hermes
Tags: xrpl, xrp, rippled, hermes
Published: 2023-02-08 15:12:37

TLDR: Online Delete support is now available in [Hermes v0.4.1](https://github.com/xrpscan/hermes/releases/tag/v0.4.1)

[Hermes](https://github.com/xrpscan/hermes) is a layer 2 messaging network for storing and relaying XRPL validation messages. Since its release in Aug 2022, several operators have volunteered to run Hermes nodes and participate in the P2P network.

XRPL validators  generate millions of validation messages collectively every day. The online deletion feature lets the service delete validation messages from older ledgers to keep disk usage from rapidly growing over time. The default config lets the service store all validation messages indefinitely. In order to enable online deletion, set `ONLINE_DELETE` setting in `.env` file to the number of latest validated ledgers you wish to keep.


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


To store validations from the last 10 days approx, use:
```
ONLINE_DELETE = 250000
```
or, to store validations from the last 1 month approx, use:
```
ONLINE_DELETE = 660000
```

If needed, MongoDB collection may be compacted to free up disk space and return it back to the OS.

```
$ npm run online-delete compact
[online-delete] Compact validations collection: 344 MB freed
```

The XRPScan team is committed to running a long term Hermes node and will add disk capacity if possible. As of today, we store more than 676 Million validation messages and are happy to serve anyone who wishes to peer.

However with this addition we hope the node operators would be able to have better control over their resource usage and associated costs.
How to Download YouTube Thumbnail
Tags: tutorial
Published: 2023-02-08 15:08:55

It is very easy to download YouTube thumbnail in hd using the tool i will discuss here. The tools is [MyThumbnailDownloader](mythumbnaildownloader.com). 

1. First of all copy the url of a youtube video you want to download thumbnail.
2. After you get the url, paste that url in this tool, [MyThumbnailDownlaoder](mythumbnaildownloader.com).
3. Now, click on the generate button, you will find the 3 thumbnails with different resolution. Just download and use.

[Click Here](mythumbnaildownloader.com) to go to MyThumbnailDownloader.
Asp.Net core SPA proxy wont start
Tags: csharp, react, webdev
Published: 2023-02-08 15:04:21


When I was trying to start an existing .net core 6 project that has a React SPA embedded in it, I was getting an error that the proxy server was not responding.  I spent a lot of time trying to find out where the proxy port is declared, people said its in the package.json file or in launch.settings.  I didnt find the port, but I did find out that the proxy spa feature of .net core looks for an avaialble port to forward to, so it isnt from a setting file.  

Anyway, even after finding this out, it made no difference, the SPA app wouldnt start.  I tried changing the startup.cs settings 
for the SPA.  

if (env.IsDevelopment())
                               spa.UseProxyToSpaDevelopmentServer("http://localhost:xxx")

}
I went from using spa.UseReactDevelopmentServer to spa.UseProxyToSpaDevelopmentServer("http://localhost:<your port here>"). It didnt help. 



Eventually, I tried using a cmd line in the Clientapp\ folder to get npm to start the app.  

`npm start

npm threw an error ERR_OSSL_EVP_UNSUPPORTED.`

This was related to an update made to node that moved them from OpenSSL 1.x to OpenSSL 3.x

Eventually, I added the script below to the **package**.json, and the project finally started working again. 

                
```
   "start": "rimraf ./build && react-scripts --openssl-legacy-provider start",

```
Google’s Bard AI: ChatGPT Rival or The Next Frontier in AI and NLP Technology
Tags: fossstories, fossnaijanews, opensource
Published: 2023-03-24 14:13:48

---
title: Google’s Bard AI: ChatGPT Rival or The Next Frontier in AI and NLP Technology
published: true
date: 2023-02-08 14:56:03 UTC
tags: FOSSStories,FossNaijaNews,opensource,freesoftware
canonical_url: https://fossnaija.com/google-bard-ai-chatgpt-rival/?utm_source=rss&utm_medium=rss&utm_campaign=google-bard-ai-chatgpt-rival
---

Google has recently [announced](https://blog.google/technology/ai/bard-google-ai-search-updates/) its new [Artificial Intelligence](https://fossnaija.com/open-source-teen-programmer-builds-ai-days/) (AI) language model, Bard AI, as a response to OpenAI’s ChatGPT. As the field of AI and Natural Language Processing (NLP) continues to evolve, companies are racing to develop the most advanced AI models. And now, [Google](https://fossnaija.com/?s=google+) has entered the race with its new language model, Bard AI.

Bard AI is a state-of-the-art language model that has been trained on a massive dataset of text data. This training allows the model to have a deep understanding of language and its context, enabling it to perform a wide range of language-related tasks with impressive accuracy.

One of the key strengths of Bard AI is its ability to generate human-like text. This makes it a useful tool for tasks such as language translation, text summarization, and content generation. Additionally, Bard AI has been fine-tuned for specific use cases, such as answering questions, making recommendations, and generating creative writing. This fine-tuning ensures that the model performs optimally on these specific tasks.

Another advantage of Bard AI is its integration with Google’s suite of products and services. This integration allows for seamless integration with Google’s existing offerings, making it easier for businesses and individuals to utilize the power of AI in their everyday work. Additionally, Google’s extensive cloud infrastructure makes it possible to scale Bard AI to meet the needs of even the largest enterprises.

## Competition in The NLP Land

While Bard AI is a new entrant in the field of AI language models, it has already made waves in the AI community. With its advanced capabilities and ease of use, Bard AI is poised to become a major player in the AI industry.

Finally, Google’s announcement of Bard AI is a significant step forward in the field of AI and NLP. With its advanced capabilities and ease of integration, Bard AI is poised to revolutionize the way we interact with and use AI technology. Whether you’re a business looking to [automate tasks](https://fossnaija.com/?s=cloud) or an individual looking to take advantage of the power of AI, Bard AI is definitely worth keeping an eye on.

**Happy Linux’NG!**

The post [Google’s Bard AI: ChatGPT Rival or The Next Frontier in AI and NLP Technology](https://fossnaija.com/google-bard-ai-chatgpt-rival/) appeared first on [Foss Naija](https://fossnaija.com).
nyc school whiteness 2023
Published: 2023-02-08 14:49:32

[https://multischolar.com/school-calendar-nyc/](https://multischolar.com/school-calendar-nyc/#utm_source=backlinks&utm_medium=search&utm_campaign=darry+ring+us&utm_content=Michelle)
https://plaza.rakuten.co.jp/chenlee/diary/202302080002/
https://www.provenexpert.com/nyc-school-whiteness/
https://www.producthunt.com/@nycschoolwhite
https://www.divephotoguide.com/user/nycschoolwhiteness/
https://vocal.media/authors/nycschoolwhiteness
https://www.lifeofpix.com/photographers/nycschoolwhiteness/
https://seedandspark.com/user/nycschoolwhiteness
https://rosalind.info/users/nycschoolwhiteness/
http://phillipsservices.net/UserProfile/tabid/43/userId/198107/Default.aspx
https://app.roll20.net/users/11607093/nycschoolwhiteness
https://speakerdeck.com/nycschoolwhiteness
https://social.msdn.microsoft.com/Profile/nycschoolwhiteness
https://camp-fire.jp/profile/nycschoolwhiteness
https://plazapublica.cdmx.gob.mx/profiles/nycschoolwhiteness/activity
https://www.metal-archives.com/users/nycschoolwhiteness
https://storium.com/user/nycschoolwhiteness
https://trabajo.merca20.com/author/nycschoolwhiteness/
https://www.intensedebate.com/people/nycschoolwhiten
https://www.mifare.net/support/forum/users/nycschoolwhiteness/
https://pinshape.com/users/2570458-nycschoolwhiteness
http://foxsheets.com/UserProfile/tabid/57/userId/120341/Default.aspx
https://www.kompasiana.com/nycschoolwhiteness
https://www.credly.com/users/nyc-school-whiteness/badges
https://www.myminifactory.com/users/nycschoolwhiteness
https://www.sqlservercentral.com/forums/user/nycschoolwhiteness
https://www.longisland.com/profile/nycschoolwhiteness
https://guides.co/a/nyc-school-whitene/
https://myanimelist.net/profile/nycschoolwhitene
https://www.iheart.com/podcast/269-nyc-school-whiteness-108529482/
Benefits Of PMP Certification
Tags: beginners, tutorial
Published: 2023-02-08 14:37:27

Climbing up the ladder isn't easy and requires an enormous amount of effort and perseverance. But, with the Project Management Professional (PMP) certification, the process can be somewhat easier. A PMP certification could boost your salary substantially and enhance your job. It helps improve your skills in managing projects and helps you become more proficient. Here are a few benefits of obtaining the [PMP certification](https://www.edureka.co/pmp-certification-exam-training).

**Growth In Career**

It is a PMP certification course that can be described as an internationally accredited course and is accepted by the world business community. Many large corporations look for PMP-certified Project managers. Getting this certification will surely provide you with a more lucrative job.

Everyone in the business world recognizes the value of networking. Once you're PMP certified, you'll be in contact with others pursuing certification courses and those who are PMP certified. You never know who could assist you in obtaining the best position (and PMP certification salary). The more people you contact within your industry, the more beneficial it will be to advance your career.

**Increase Your Skills**

It's not an easy task to earn a PMP certification, and you must complete strict training to obtain the same. There's also a substantial amount of education required. You are trained and educated on five phases of project management: planning, beginning, initiating, implementing control and supervision, then closing. In essence, you will master the basics of project management that you can apply to your corporate projects to improve project implementation.

**Increase Your Marketability**

A PMP certification will allow you to reach out to global organizations operating in various parts of the world. It increases your marketability significantly and validates your skills as a manager of projects. It also allows you to communicate with those who are aspiring to pursue PMP certification course as well as PMP certified professionals, as mentioned previously, through PMP discussion boards and forums that help you improve your knowledge by utilizing their advice and experience.

**Make More**

PMP-certified Project managers make more money than non-certified managers. When you earn your PMP qualification, you will be able to get a better salary and can anticipate an immediate increase. Numerous studies have proven how PMP-certified PMs have a minimum wage of 20% more than their non-certified counterparts. Additionally, PMP-certified professionals can make six figures.
Resolvendo problemas no HackerRank: Dividindo Chocolates
Tags: javascript, beginners
Published: 2023-02-08 14:37:18

Saudações. Hoje enfrentaremos mais um problema,veremos como dois irmãos dividem seu chocolate, mas com algumas regras específicas para serem seguidas. No exercício nos é passado algumas regras a serem seguidas para que sua conclusão seja correta, vejamos:


**SubArrayDivision -**

Antes de tudo, vamos passar os parâmetros exigidos pelos irmãos, para que Ron, o irmão receba de Lily a irmão os chocolates.

- s=number of choco,d= ron day,m= ron month
- encontrar o seguimento em que:
- quantidade de pedaços = m;  soma dos pedaços = d

Sabendo assim todas as regras do exercício, temos que saber agora sobre um molde. Com o que se foi passado antes, o exercício nos pede o seguinte resultado:

```
5
1 2 1 3 2
3 2
```
Com todas as exigências postas,façamos o que se pede:

```
function birthday(s, d, m) {
  const possibleSegments = s
  .reduce((acc,_,i,arr) => {
    acc.push(arr.slice(i,i+m));
    
    return acc;
  },[])
  .filter(seg => seg.length === m)
  
    const correctSegment = possibleSegments
    .filter(seg => seg.reduce((acc,cur) => acc + cur) === d)
  
  return correctSegment.length
}
```


A função `birthday` recebe três parâmetros: `s` (um array de inteiros), `d` (um número inteiro) e `m` (um número inteiro).

1. A primeira parte da função usa o método reduce para dividir o array s em segmentos consecutivos com comprimento m. Cada segmento é adicionado ao array acc, que é retornado ao final do reduce.

2. Em seguida, o método filter é usado para filtrar apenas os segmentos com comprimento igual a m.

3. Em seguida, passa a regra onde usará um reduce para filtrar a soma de pedaços do chocolate.


O resultado será:

```
5//pedaços
1 2 1 3 2 // a lista dada
3 2 // 3:dia de aniversário RON, 2:
mês RON 

2// ele deseja os comprimentos 2 que somam 3,como existem apenas duas possibilidades: [1,2] e [2,1], só existem 2. Pois ele pediu o número de vezes, onde ao final do código retornamos .length
```


Com isso finalizamos mais um episódio do HackerRank. Até a próxima!!
Getting started with WEB3 in Kotlin
Tags: web3, kotlin, android
Published: 2023-02-08 14:33:34

Kotlin is a statically-typed programming language that is specifically designed for developing Android applications and is fully compatible with Java. It offers improved code readability, more concise syntax, and increased safety compared to Java. Kotlin is also well-suited for creating web3 mobile apps due to its compatibility with the Ethereum ecosystem through libraries like Web3j.

Here is an example of how you can create a basic Android app with Kotlin that connects to an Ethereum wallet and displays the wallet address:

- Create a new Android project in Android Studio with an empty activity.

- Add the following dependencies to your app's build.gradle file:
`dependencies {
  implementation "org.web3j:core:4.8.0"
  implementation "org.web3j:crypto:0.6.1"
  implementation "org.web3j:unit-ethereum:0.7.2"
}
` 

- In MainActivity.kt, initialize Web3j and create a connection to the Ethereum network:

```
import org.web3j.protocol.Web3j
import org.web3j.protocol.http.HttpService

class MainActivity : AppCompatActivity() {

  private lateinit var web3j: Web3j

  override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.activity_main)

    web3j = Web3j.build(HttpService("https://mainnet.infura.io/v3/YOUR-PROJECT-ID"))
  }
} 
```

- Use Web3j to retrieve the Ethereum wallet address:

```
import org.web3j.protocol.core.methods.response.EthAccounts

class MainActivity : AppCompatActivity() {

  // ...

  private fun getWalletAddress() {
    web3j.ethAccounts().flowable()
      .subscribe({ result ->
        Log.d("Wallet Address", result.accounts[0])
      }, { error ->
        Log.e("Error", error.message)
      })
  }
}
```

-  Run the app on an Android emulator or device to see the Ethereum wallet address.


This is just a basic example of what you can do with Web3j in an Android app. You can explore the Web3j library further to see what else you can do with it.

_Note: Make sure to replace YOUR-PROJECT-ID in the code with your Infura project ID._
Continuous Integration and Continuous Deployment (CICD)
Tags: cicd, ops, devops
Published: 2023-02-08 14:27:56

##Continuous Integration and Continuous Deployment (CICD)

Continuous Integration and Continuous Deployment (CICD) are software development practices that aim to automate the process of building, testing, and deploying code changes.

Continuous Integration (CI) involves regularly integrating code changes from multiple developers into a shared repository, and automatically building and testing the integrated code. This helps catch and resolve integration problems early on in the development process.

Continuous Deployment (CD) extends CI by automatically deploying code changes to production once they pass all necessary tests. This reduces the lead time between writing code and releasing it to the users.

The overall process of CICD typically involves the following steps:

Code Commit: Developers commit code changes to a shared repository (such as GitHub).

Build and Test: A CI/CD tool (such as Jenkins or TravisCI) listens for code changes and triggers a build process. The tool compiles the code, runs automated tests, and checks for quality and security issues.

Deployment: If the build and tests are successful, the code is automatically deployed to the desired environment (such as a staging or production environment).

Feedback: The CD process provides immediate feedback on the success or failure of the deployment, allowing for quick resolution of any issues.

By automating these processes, CICD helps organizations to deliver code changes faster and with more confidence, and frees up developers to focus on writing code, rather than manually building and deploying it.
Git & tricks: plugins + tools
Tags: git
Published: 2023-02-08 14:16:13

```java
// TODO place a beautiful and smart introduction here
```

{%- # TOC start -%}
- [IntelliJ](#intellij)
  * [Git](#git)
  * [.ignore](#ignore)
- [Lazygit](#lazygit)
{%- # TOC end -%}

## IntelliJ
### Git
![Git plugin image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/os2nitxqpnm0mvcak27n.png)
If I had to choose only one plugin to use, my choice would fall on this. It comes bundled with intellij,
even in the Community Edition, and I haven’t found a Git client yet that’s so simple and effective to use.
It’s free, but I’d also be willing to pay just for the merge/rebase conflict manager feature.

### [.ignore](https://plugins.jetbrains.com/plugin/7495--ignore)
![Image from the official page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tk7i4dhu6t6m8iee0d6p.gif)
Create ignore files for most of the tools/platforms (git, yarn, Docker, etc.) in an easy way. 
Main features:
- lots of templates for specific languages (Java, Node, etc.) or tools (JetBrains, Visual Studio Code, etc.)
- syntax highlight
- custom templates
- etc.

## Lazygit
![Image from the original page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e0civls8ma5jrr7aiuew.gif)

If you don't want to learn git's commands (let's be honest, solving a merge conflict via command line is not so fun), and you have to work on different projects using different IDEs, maybe you'd like Lazygit. This is a Git UI for your terminal, so you don't have to work with different Git plugins each time you switch from IntelliJ to VS Code and viceversa.
Is being a programmer really for me? Anxiety for a graduate without a job. HELP
Tags: webdev, beginners
Published: 2023-02-08 14:11:41

A friend of mine once told me programming is a huge sausage fest. I ignored that and focused on my degree.

Now my lack of action with the people I wanted in college and lack of success in dating is fucking with my head.

I got the CS degree, I want to make a tech company, but I also want to get with fitness influencers on Instagram.

and the more I think of that, the more I wonder if Programming is really for me or not.

Is Programming really such an awful sausage fest as my friend described? Or is it more nuanced than that?

Nuance would REALLY help my anxiety today, friends.
Creating a Dynamic and User-Friendly Pagination System with HTML, CSS, and JavaScript
Tags: javascript, beginners, webdev, css
Published: 2023-02-08 14:09:10

Pagination is a widely used technique for dividing a large set of data into smaller and more manageable chunks, making it easier for users to navigate and view the information they need. It's a common feature on websites, especially e-commerce sites, where products are displayed in a grid format and users can navigate through multiple pages to view more items. In this blog post, we will explore the basics of pagination, why it's important, and how to implement it in your web application using HTML, CSS, and JavaScript.

To implement pagination in your web application, you will need to use HTML, CSS, and JavaScript. In the example code below, we will create a simple pagination system with five pages. The active page will be highlighted in blue, and users can navigate to the next or previous page using the arrow icons.

{% codepen https://codepen.io/NikhilBobade/pen/qByGRdy %}

In the CSS, we use flexbox to center the pagination links and add a blue background to the active page. We also use Font Awesome icons for the left and right arrows. In the JavaScript, we first get a reference to all the pagination links and set the current index to the active page. Then, we use a forEach loop to add a click event listener to each link, so that when a user clicks on a link, it becomes the active page.

Finally, we add click event listeners to the left and right arrows to navigate to the previous or next page. When a user clicks on an arrow, the active class is removed from the current page and added to the new page.
Cypress Best Practices for API Test Automation
Tags: testing, tutorial, api, cypress
Published: 2023-02-08 14:02:41

**Let's See Cypress Best Practices for API Test Automation**

For more details about the Best Practices for API Test
Automation Please follow the [link](https://qaautomationlabs.com/cypress-best-practices-for-api-test-automation/)

This blog cover 
- How to Automate API’s using Cypress
- How to Automate API’s using API plugin “cypress-plugin-api” 
- Cypress API Automation best practices
Drupal Site Building Playlist | First Trillionaire
Tags: webdev, php, beginners, tutorial
Published: 2023-02-08 14:00:51

Follow along as I build a fun Drupal site to deploy.

Daily updates

{% embed https://youtube.com/playlist?list=PLGOhKz8ZRJwDBzhMBOaRUOxl-GXpJH2g- %}

WIP
Types in Programming #1
Tags: webdev, programming, computerscience, career
Published: 2023-02-08 13:51:18

A type in programming refers to a set of values that a particular data structure or object can take. In statically typed languages, the type of a variable is predetermined and the compiler enforces constraints on its values. This means that the validity of the program is checked before execution. On the other hand, dynamically typed languages tag values with types during runtime, allowing for greater flexibility in type handling. The program checks the type tags of values as they are used to determine how they should be processed.
Staying focused in a distracted world
Tags: productivity, webdev, javascript, react
Published: 2023-02-08 13:45:58

**What happens when you stay focused on a problem for more than 10 years?**

✅ you understand the problem well enough to know there's no easy solution
✅ you come up with multiple iterations, each better than previous
✅ you see many solutions rising and almost as many failing to solve the problem
✅ you get to sharpen your tools and your abilities like none other
✅ you finally deliver the right product 🛳

This has been my experience at [infinite-table.com](https://infinite-table.com)