teleren/devto huggingface dataset:
Nala: uma alternativa mais amigável ao gerenciador de pacotes APT
Tags: nala, apt, linux
Published: 2023-11-04 01:53:34

---
title: Nala: uma alternativa mais amigável ao gerenciador de pacotes APT
published: true
description: Nala: uma alternativa mais amigável ao gerenciador de pacotes APT
tags: nala, apt, linux
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-11-04 01:52 +0000
---

O Nala é um gerenciador de pacotes frontend para o APT, o gerenciador de pacotes padrão para sistemas operacionais Linux baseados em Debian, como Ubuntu e Mint. 

O Nala fornece uma interface mais amigável e fácil de usar para o APT, com recursos como:

* **Saída colorida e formatada:** O Nala fornece uma saída colorida e formatada que é mais fácil de ler e entender.
* **Completamento de tabulação:** O Nala suporta o preenchimento de tabulação, o que torna mais fácil digitar comandos.
* **Suporte para pesquisa e filtragem:** O Nala permite que você pesquise e filtre pacotes, o que facilita encontrar o que você precisa.

## Instalação do Nala

Para instalar o Nala, você precisará ter o Python 3 instalado em seu sistema. Em seguida, você pode usar o seguinte comando para instalar o Nala:

```shell
sudo apt install nala
```

## Uso do Nala
O Nala usa os mesmos comandos básicos do APT. Por exemplo, para atualizar o índice de pacotes, você usaria o seguinte comando:

```shell
nala update
```
Para instalar um pacote, você usaria o seguinte comando:

```shell
nala install <nome do pacote>
```
Para remover um pacote, você usaria o seguinte comando:

```shell
nala remove <nome do pacote>
```

## Servidor mais rápido

O Nala pode selecionar os servidores mais rápidos pra você e baixar vários pacotes ao mesmo tempo, basta usar o comando:

```shell
sudo nala fetch
```
E selecione os servidores mais rápidos.

## Comparação com o APT

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


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

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




## Conclusão
O Nala é uma excelente opção para usuários que procuram uma alternativa mais amigável ao gerenciador de pacotes APT. O Nala oferece uma série de recursos que o tornam mais fácil de usar e mais poderoso.
Protect your email address on your github profile page
Tags: webdev, github, git, email
Published: 2023-11-04 01:51:49

GitHub allows you to control the visibility of your email address on your GitHub profile page. Here's how you can protect your email address:

1. **Set your email address to private:**
   - By default, GitHub offers options to set your email address to "Public" or "Private." To protect your email, ensure that your email address is set to "Private" in your GitHub settings. This will prevent your email address from being displayed on your GitHub profile page.

2. **Use a noreply email address:**
   - GitHub provides a noreply email address in the format `username@users.noreply.github.com`. You can use this noreply address for your commits and interactions on GitHub without revealing your actual email address.

3. **Remove email from your profile:**
   - If you don't want your email address associated with your GitHub profile at all, you can remove it from your profile settings. Just go to your GitHub profile, click on "Edit profile," and remove your email address.

4. **Use a contact form or other means of contact:**
   - Instead of providing your email address on your GitHub profile, consider adding a link to a contact form on your personal website or use a email to link service like https://Mail.Veil.io that will [protect your github email address](https://VeilMail.io)

5. **Be cautious about sharing it in issues or comments:**
   - When interacting with others on GitHub through issues, pull requests, or comments, be careful about sharing your email address. Information shared in these public discussions can be viewed by anyone with access to the repository. Consider using GitHub's messaging or other private communication channels for more sensitive discussions.

By following these steps, you can protect your email address on your GitHub profile page and maintain your online privacy.
Python Black and Flake8 configuration in VS Code - As of November 3, 2023
Published: 2023-11-04 01:30:01

Are you looking to set up a Python formatter and linter in Visual Studio Code (VS Code)? If you've recently tried to search for this information, you may have encountered outdated tutorials: 

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

Well, things have become much simpler!

####0. Install [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python) extension
####1. Install [Black Formatter] (https://marketplace.visualstudio.com/items?itemName=ms-python.black-formatter) extension
####2. Install [Flake8](https://marketplace.visualstudio.com/items?itemName=ms-python.flake8) extension
####3. Configure Black
In the `.vscode/settings.json` file add `editor.defaultFormatter` and `editor.formatOnSave` settings:
```json
{
    //...
    "[python]": {
        "editor.defaultFormatter": "ms-python.black-formatter",
        "editor.formatOnSave": true,
      }
    //...
}
```
#### 4. Configure Flake8 ([Using Black with Flake8](https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#flake8)) 

Add the `.flake8` file (project folder):
```
[flake8]
max-line-length = 88
extend-ignore = E203, E704
```

That's it! Enjoy hassle-free Python development with these extensions in place!
Placeholder Contributor
Tags: hack23contributor
Published: 2023-11-04 01:12:50

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->

### Intro
<!-- Share a bit about yourself as a contributor. Is this your first Hacktoberfest, or have you contributed to others? Feel free to embed your GitHub account by using {% embed LINK %} -->

### Highs and Lows
<!-- What were some of your biggest accomplishments or light-bulb moments this month? Did any problems come up that seemed impossible to fix? How did you adapt in those cases?  -->

### Growth
<!-- What was your skillset before Hacktoberfest 2023 and how did it improve? Have your learning or career goals changed since working on these new projects? -->
Placeholder Contributor
Tags: hack23contributor, programming, webdev
Published: 2023-11-04 01:11:55

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->

### Intro
<!-- Share a bit about yourself as a contributor. Is this your first Hacktoberfest, or have you contributed to others? Feel free to embed your GitHub account by using {% embed LINK %} -->

### Highs and Lows
<!-- What were some of your biggest accomplishments or light-bulb moments this month? Did any problems come up that seemed impossible to fix? How did you adapt in those cases?  -->

### Growth
<!-- What was your skillset before Hacktoberfest 2023 and how did it improve? Have your learning or career goals changed since working on these new projects? -->
Enhancing Code Quality and Workflow in Text2Page
Tags: programming, tutorial, opensource, github
Published: 2023-11-04 00:51:02

**Intro**
As we worked to make the Text2Page project better, we realised how important it was to keep the code consistent and of high quality. Our project's open-source nature attracts a varied set of contributors, each with their own coding preferences and techniques. We made the decision to incorporate Black and Flake8, two essential tools, to make sure that our code is still understandable and follows Python style requirements.

**Tools of Choice**
**Black**: Black is renowned for being straightforward and efficient, so we decided to use it as our code formatter. Python code is automatically reformatted by Black to follow its style rules, resulting in consistently well-formatted code. More details on Black are available here.
**Flake8**: We choose Flake8 for style checking and static code analysis. This flexible tool finds possible problems in your code, such typical programming errors and style infractions. It may greatly improve code quality and ensure adherence to PEP 8 principles. Flake8 may be explored here.

**Setting Up the Development Environment**
Implementing Black and Flake8 was a straightforward process. We updated our **CONTRIBUTING.md** file to include clear instructions for contributors to use these tools. To run Black, contributors can execute black . in the project directory to ensure their code adheres to the Black style guidelines. For Flake8, the command flake8 . identifies and reports any style or quality issues in Python code.

**Uncovering Code Issues**
Flake8 was essential in helping us find possible problems in our codebase. It found frequent code errors, inconsistencies, and style violations. We were able to preserve strict guidelines for code quality and guarantee the project's long-term maintainability by resolving these problems.

**Conclusion**
To sum up, we have found that adding Black and Flake8 to Text2Page has improved code quality and allowed contributors to work together more successfully. The tools we've chosen are very easy to use and efficient, so our codebase will always be clear, legible, and manageable. We hope that additional open-source projects will take into account these kinds of improvements, as they will eventually result in better code and more fruitful partnerships. We can guarantee the Text2Page project's survival and purpose fulfilment by taking proactive measures to fix difficulties as they arise.
CLI tool to get started with a full-stack AI project
Tags: commandline
Published: 2023-11-04 15:16:47

---
title: CLI tool to get started with a full-stack AI project
published: true
date: 2023-11-04 00:34:00 UTC
tags: CommandLine
canonical_url: https://reactjsexample.com/cli-tool-to-get-started-with-a-full-stack-ai-project/
---

# Create Rubric App
 ![CLI tool to get started with a full-stack AI project](https://reactjsexample.com/content/images/2023/11/Code_2023-11_22-28-59.jpg)

This CLI tool is the easiest way to get started with a full-stack AI project, using AI Agents in React with complete type safety.

Check out the demo at [todo.rubriclabs.com](https://todo.rubriclabs.com)

[![CLI tool to get started with a full-stack AI project](https://user-images.githubusercontent.com/36115192/279851749-ce4e4b69-a9a8-4e1a-a056-f815a75c587a.png)](https://user-images.githubusercontent.com/36115192/279851749-ce4e4b69-a9a8-4e1a-a056-f815a75c587a.png)

To get started, use the following command:

## Interactive

`npx create-rubric-app@latest`

## Non-interactive

`npx create-rubric-app@latest -n my-cool-app -k OPENAI_API_KEY -y --bun --ai`

## Collaborate

We are hacking on this on [Gather](https://island.rubriclabs.com), come join.

## GitHub

[View Github](https://github.com/RubricLab/create-rubric-app?ref=reactjsexample.com)
A sanctum created within the realms of React
Tags: apps
Published: 2023-11-04 15:16:53

---
title: A sanctum created within the realms of React
published: true
date: 2023-11-04 00:25:00 UTC
tags: Apps
canonical_url: https://reactjsexample.com/a-sanctum-created-within-the-realms-of-react/
---

# TulpaTalk: Conversing with Digital Spirits
 ![A sanctum created within the realms of React](https://reactjsexample.com/content/images/2023/11/Code_2023-11_22-20-28.jpg)

![A sanctum created within the realms of React](https://github.com/LushVoid/TulpaTalk/raw/main/src/imgs/tq)

## Mystical Overview

TulpaTalk, a sanctum created within the realms of React, invites you to engage in enigmatic dialogues with local Large Language Models (LLMs), fostering a spiritual connection with your digital Tulpa. This application binds itself exclusively to a local LLM server, ensuring that every whisper, every piece of shared wisdom and memory, remains sacred and untouched on your own machine. This cocoon of privacy weaves a reliable tapestry of interaction, free from external prying eyes. Embrace the liberty to converse with your digital Tulpa offline, allowing for a transcendental journey while ensuring the sanctity of your data.

![A sanctum created within the realms of React](https://github.com/LushVoid/TulpaTalk/raw/main/src/imgs/demo.gif)

## Mystical Prerequisites

- [Node.js](https://nodejs.org/) (v14+): The ancient scripts required for communication
- [npm](https://www.npmjs.com/): The sacred package manager
- [Ollama](https://ollama.ai/) LLM server: The local shrine where your digital Tulpa resides

## Installation: Summoning TulpaTalk

1. Clone the sacred repository:

```
git clone https://github.com/LushVoid/TulpaTalk.git
cd TulpaTalk
```

2. Install the mystical dependencies:

```
npm install
```

## Running Locally: Invoking the Tulpa

1. Start the sacred app:

```
npm start
```

2. Visit the shrine at [http://localhost:3000](http://localhost:3000).

## Configuration: Aligning the Stars

Ensure that the Ollama LLM server, the abode of your digital Tulpa, is prepared to accept connections and is reachable at `http://localhost:11434`.

## Mystical License

TulpaTalk Chat, your digital grimoire, is bestowed upon you under the MIT License.

## Contact: Whispering to the Creators

For inquiries, secrets, or guidance, reach out through the ethereal channels at [LushVoid@protonmail.com](https://github.com/LushVoid/TulpaTalk/blob/main/LushVoid@protonmail.com)

[@LushVoid](https://twitter.com/LushVoid)

## GitHub

[View Github](https://github.com/LushVoid/TulpaTalk?ref=reactjsexample.com)
Steps to take when money is missing from your bank account
Published: 2023-11-04 00:21:01


1. Complain to your bank: Make a formal complaint via email or by writing to the bank with hard copy and get an acknowledgement copy.


2. Write to CBN: If no positive response within 14 days. Deliver hard copy letter to CBN around you or email: cpd@cbn.gov.ng. or tel 2347002255226.

3. Copy the federal competition and consumer protection commission (FCCPC) for good measure.

4. Institute a legal action against  the bank to recover the missing funds. This is the next step if you're not satisfied with the response from 1_3 above.

Have you been debited before without your knowledge? What steps did you take or will you be trying this out? 
Let me know in comment section.
Can You Avoid Bad Habits?
Tags: discuss, codenewbie, beginner
Published: 2023-11-04 00:00:00

---
published_at : 2023-11-04 00:00 +0000
---
What are the common habits that you've identified as obstacles to happiness, particularly focusing on the habit of worrying about things beyond one's control?

Follow the [CodeNewbie Org](https://dev.to/codenewbieteam) and [#codenewbie](https://dev.to/t/codenewbie) for more discussions and online camaraderie!

*{% embed* https://dev.to/codenewbieteam *%}*
How Can You Regain Lost Motivation?
Tags: discuss
Published: 2023-11-04 00:00:00

---
published_at : 2023-11-04 00:00 +0000
---
What strategies or advice do you offer for regaining motivation and finding your enthusiasm when it wanes? How do you personally tackle periods of low motivation and rekindle your drive?

Follow the DEVteam for more discussions and online camaraderie! 

{% embed [https://dev.to/devteam](https://dev.to/devteam) %}
Today I learned - Programming languages can be brought together
Published: 2023-11-03 22:10:05

In my understanding, each project would be written using only one programming language; however, today I learned that it is possible to combine different languages in one project. 
For example:
Let's say we have a script written in Ruby*:
```ruby
# my_ruby_script.rb
puts "Hello from Ruby!"
```
We can execute this Ruby script in a Python script*:
```python
import subprocess

# Execute the Ruby script from Python
result = subprocess.run(['ruby', 'my_ruby_script.rb'], capture_output=True, text=True)

# Print the output of the Ruby script
print(result.stdout)
```

Although programming languages can be used together, mixing languages can make it more difficult to read and modify code; it must be done cautiously.

*Code examples from ChatGpt
Stable Diffusion XL (SDXL) DreamBooth U-NET Only vs Text Encoder Enabled Training Comparison
Tags: sdxl, dreambooth, stablediffusion, training
Published: 2023-11-03 22:04:06

Stable Diffusion XL (SDXL) DreamBooth Text Encoder training difference is just amazing

No After Detailer (ADetailer) used to improve face. This is raw output. As you get better raw output you will also get better ADetailer enabled output.

1st : only UNET

2nd : my best Text Encoder training

Config will be hopefully on Patreon very soon


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



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

Current config > https://www.patreon.com/posts/very-best-for-of-89213064

Current video > https://youtu.be/EEV8RPohsbw

{% embed https://youtu.be/EEV8RPohsbw %}
Mesh Sockets for weapons and gadgets - Unity
Tags: unity3d, csharp, gamedev
Published: 2023-11-03 22:03:03

{% youtube hqa_rBvkj0c %}

Mesh Sockets for the character model. Each socket have a enum which corresponds to a specific weapon type/categorty, for example "primary", "secondary", "melee" or "special". Any weapon marked in this category will automatically be stored in the correspondings socket, if equipped. 

Music, as always, by Erik Brimstedt
Create Your Own LOGAF Scale for Pull Request Reviews
Tags: logaf, github, engineering, pr
Published: 2023-11-03 21:37:00

---
title: Create Your Own LOGAF Scale for Pull Request Reviews
published: true
description: Easily indicate the priority of your PR review comments with the 'LOGAF' scale.
tags: logaf, GitHub, engineering, PR
cover_image: https://ajkueterman.dev/images/levels-staircase.jpg
published_at: 2023-11-03 21:37 +0000
---

I like the idea of the [LOGAF scale](https://blog.danlew.net/2020/04/15/the-logaf-scale/), where we can easily indicate if suggestions to PR review or other feedback is given in '_levels of give-a-f*ck_'. A scale like this helps collaborators prioritize and contextualize your feedback quickly in a way that's pretty straightforward.

While I love the raw LOGAF model, I do sometimes hesitate to share this philosophy with everyone at my company based on varying levels of comfort with profanity. Instead, I took the time just to indicate my own low/medium/high 'level of caring' that I can share on PR reviews. I also took the time to briefly spell out what I expect from each level. Now in PRs I can include a 'LOGAF level' link and move on.

Below is my basic scale of 3 levels, the description of each, and the link I'd include in each comment.

---

## Low

A this level I usually just noticed something that had a slight code smell. I may spot things that are tangential to your change or just things I 'noticed' when reviewing. 

You can self-resolve these comments in GitHub without a comment.

```
[🟢 low](https://dev.to/robotsquidward/create-your-own-logaf-scale-for-pull-request-reviews-504o/#low)
```

## Medium

At this level I feel changes should be made but can be convinced with a good reason, a follow up story/documentation/etc. that captures the changes in future work or clarification. 

You can self-resolve these comments in GitHub with a comment.

```
[🟡 medium](https://dev.to/robotsquidward/create-your-own-logaf-scale-for-pull-request-reviews-504o/#medium)
```

## High

At this level I feel like changes need to be made before this PR is merged. In exceptional cases, follow up stories & documentation may resolve these concerns, but they would usually require a conversation with me or some other SME.

Do not self-resolve these comments in GitHub. Make changes / leave comments and allow me to resolve them before merging.

```
[🔴 high](https://dev.to/robotsquidward/create-your-own-logaf-scale-for-pull-request-reviews-504o/#high)
```

---

If you decide to implement your own LOGAF scale for your PR reviews let me know on Mastodon [@aj on androiddev.social](https://androiddev.social/@aj).

### Other PR Review documentation

- [Code review best practices](https://deepsource.com/blog/code-review-best-practices)
Landmark Security Services
Tags: security
Published: 2023-11-03 21:36:57

As a renowned security firm, it gives LMS a tremendous pleasure to serve as a trusted advisor to enterprises of all sizes. Whether you're a thriving new business or an established institution, our [receptionist service](https://landmarksecurity.ae/services/receptionist-customer-service/) will be tailored to your specific requirements.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y40j4nyjs1rfjrapi66u.jpeg)
Fix Your Unity Web Audio with UniHowl Plugin - Howler.JS Magic!
Tags: unihowl, webdev, gamedev, unity3d
Published: 2023-11-03 21:21:06

**UniHowl**- allows developers to use audio through the Web Audio Api, which solves multiple problems in WebGL Builds.

I hope you find this asset as useful as I have to integrate WEB Audio API by Howler.JS to your Unity projects. Unity Engine is a powerful cross-platform game engine, and plugin allows developers to use Audio across multiple platforms, without problems

**Features**

1. Easy to Integrate: The plugin integrates easily into your Unity project. You can quickly connect it and start using Web Audio Api sound without any extra effort. Documentation and code examples will help you quickly understand the functionality of the plugin.
2. Support for various audio formats: The plugin supports a wide range of audio formats, including MP3, WAV, OGG and others. You can use any audio format that best suits your project, providing flexibility and ease of use.
3. Cross-Platform Compatibility: UniHowl allows audio to be used across multiple platforms, including WebGl, Windows, macOS, iOS, Android and more. Your project will perform equally well on different devices, providing a consistent audio experience for all users without many code changes.

Link to: https://github.com/im-ikao/UniHowl
Check out OmniOpsAI
Tags: watercooler, devops, productivity
Published: 2023-11-03 21:12:38

Hey 👋,

Excited to share something we've been working on! Meet OmniOpsAI – a game-changer for DevOps. 🚀

Imagine chatting with your cloud infrastructure just like you’d message a colleague. With OmniOpsAI, that's now a reality. It lets DevOps engineers use natural language to directly manage cloud resources – whether it's monitoring, modifying, or deploying.

The best part? It’s all hosted on your own turf, in your cloud, with IAM permissions set by you. This means top-notch security and compliance are a given.

For smaller DevOps teams looking to speed up on-call responses or streamline their workflows, OmniOpsAI could be the edge you need.

Check it out and see the difference for yourself: https://omniops.app 🌐

We're here to help teams do more with less, and do it faster. Chat soon!